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


Please Help Members By Posting Answers For Below Questions

What are transaction isolation levels supported by oracle?

572


hello friends Im doing my final year engineering in B.Tech.. one of uncle said he can provide job in his company if im good in database management. but i have only basic knowledge about database, so like to join database management course in good intuition. so friends kindly help me to get good intuition because its my future.

1752


What is dynamic proxy?

547


what is difference between sql plus and sql*plus? (not sql and sql plus).

3342


How to fetch the row which has the max value for a column?

538






how to code performance tuning of oracle PL/SQL? can any body send me the perfect answer?

4664


Explain implicit cursor.

553


What are the various oracle database objects?

674


What is an oracle transaction?

582


is there a tool to trace queries, like profiler for sql server?

595


How to bring a tablespace online?

518


How to increment dates by 1 in oracle?

557


Explain table?

645


How to connect the oracle server as sysdba?

625


11. Display the client number and name and the client number and name of the person who referred that client.

1918