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

Answer Posted / anee desai

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;.if 2=2 will also provide the same
result.it makes no sense in writing 1=1;

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is oracle and what are its different editions?

666


What is oracle rownum?

593


How do I manually create a database in oracle?

616


What is the oracle implicit cursor?

678


What is a sub query? What are its various types?

662






How to manage transaction isolation level?

648


How to connect ms access to oracle servers?

624


What is oracle server autotrace in oracle?

707


What is sequence?

704


What is bulk load in oracle?

685


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

621


Respected sir, Please send me technical questions related to oracle apps..

1458


What is a trigger and what are its types?

687


What is a system tablespace?

682


How do you find current date and time in oracle?

673