Consider The Following Statements And Tell Which Of Them Can Be #433
Consider the following statements and tell which of them can be used for SQL injection?
This multiple choice question (MCQ) is related to the book/course gs gs115 Structured Query Language. It can also be found in gs gs115 SQL Data Types, Views and Injection - SQL Injection - Quiz No.1.
Consider the following statements and tell which of them can be used for SQL injection?
SELECT * FROM Students WHERE Id =”” and “”=”” AND Password =”” and “”=””;
SELECT * FROM Students WHERE Id =”” or “”=”” AND Password =”” or “”=””;
SELECT * FROM Students WHERE Id =”” not “”=”” AND Password =”” not “”=””;
SELECT * FROM Students WHERE Id =”” or “”=”” AND Password =””;