PrepAway - Latest Free Exam Questions & Answers

What will the following command produce on a website’s login page if executed successfully?

What will the following command produce on a website’s login page if executed successfully?
SELECT email, passwd, login_id, full_name FROM members WHERE email =
‘someone@somewhere.com’; DROP TABLE members; –‘

PrepAway - Latest Free Exam Questions & Answers

A.
This code will insert the someone@somewhere.com email address into the members table.

B.
This command will delete the entire members table.

C.
It retrieves the password for the first user in the members table.

D.
This command will not produce anything since the syntax is incorrect.


Leave a Reply