Question: what is 1 in sql?
Answer: SQL Injection Based on 1=1 is Always True The original purpose of the code was to create an SQL statement to select a user, with a given user id. ... The SQL above is valid and will return ALL rows from the "Users" table, since OR 1=1 is always TRUE.