Question: A programmer wrote code with the underlying SQL to check if a user can access / log into a system. SELECT FROM userstable WHERE login

A programmer wrote code with the underlying SQL to check if a user can access / log into a system. SELECT FROM userstable WHERE login = 'X' AND password = 'Y' What is the result of the evaluation of the query when X is John' OR true - and Y is 1234 ? -- is a comment in SQL. (d) How do we call this issue in databases?

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!