what is the output of select * from emp where null=null &
select * from emp where 1=1

Answer Posted / shree

first command will give no records whereas 2nd command will
provide all records as 1 is equal to one.it is similar to
select * from emp;.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

20. Using a set operator, display the client number of all clients who have never placed an order.

1793


what is reindexing?

1173


What is sharded cluster?

518


How to count groups returned with the group by clause in oracle?

570


Are truncate and delete commands same? If so why?

646






Explain database link?

660


What is the disadvantage of User defind function?

1833


How to drop an existing view in oracle?

562


How do I uninstall oracle 11g?

553


Differentiate between post-database commit and post-form commit?

539


How to pass a cursor variable to a procedure?

554


How data locks are respected in oracle?

568


How is it different from a normal table?

577


Whats the benefit of dbms_stats over analyze?

1489


What is partitioned table in Oracle?

628