what is the output of select * from emp where null=null &
select * from emp where 1=1
Answer Posted / chandana
NULL = NULL ...NOT TRUE
NO ROWS RETURNED
1=1 ...TRUE
ALL ROWS RETURNED
1=2....NOT TRUE
NO ROWS RETURNED
2=2,3==3 AND SO ON WILL RETURN ALL ROWS FROM A TABLE
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to display row numbers with the records?
How to bring a tablespace online?
What are the different types of failures that occur in Oracle database?
What is an oracle?
What are the different editions of oracle?
How to retrieve data from an cursor to a record?
How many categories of data types in oracle?
What is a synonym? What are its various types?
What are the built-in functions used for sending Parameters to forms ?
src name sex a,male b,female c,male d,female Required output : male female a,b c,d tried pivot but was not successfull select * from src pivot (max(name) for sex in ('MALE','FEMALE'));
What is oracle rownum?
If any one has information regarding interview of NIC (National Informatics Centre),it would be of great help...
What are the execution control statements in oracle?
How to drop an index in oracle?
How to write text literals in oracle?