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 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
Get step-by-step solutions from verified subject matter experts
