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

Explain about achiever in sql?

584


How to define an anonymous procedure with variables?

545


How to recover a dropped table in oracle?

605


What is a static data dictionary in oracle?

570


How to drop an index in oracle?

609






What is an oracle database?

612


Explain the use of inctype option in exp command.

594


How would you edit your CRONTAB to schedule the running of /test/test.sh to run every other day at 2PM?

1440


How to download oracle database 10g xe?

598


How to run the anonymous block again?

595


How to get a create statement for an existing table?

572


How view is different from a table?

557


How do I reset a sequence in oracle?

596


What is logical backup in oracle?

579


What is the difference between primary key and unique key and foreign key in oracle?

552