Mega Code Archive

 
Categories / Oracle PLSQL / Select Query
 

1=1 or 1=0 and 0=1 (no parentheses)

SQL> SQL> SQL> SQL> select 'is true  ' as condition   2  from   dual   3  where  1=1 or 1=0 and 0=1; CONDITION --------- is true SQL> SQL> SQL>