Question: Consider an SOL statement: SELECT id, forename, surname FROM authors WHERE forename = 'david' AND id 939 a. What is this statement trying to search

 Consider an SOL statement: SELECT id, forename, surname FROM authors WHERE

Consider an SOL statement: SELECT id, forename, surname FROM authors WHERE forename = 'david' AND id 939 a. What is this statement trying to search from the database? b. Assume that the firstname and id fields are being gathered from user-supplied input, and suppose the user responds with: Firstname: david'; drop table employees -- id: 939: What will be the effect? c. Now suppose the user responds with: firstname: 'OR 9 = 9 -- id: 939 What will be the effect

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!