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

Answer Posted / anitha

select * from emp where null=null: will not return any rows
in the table since two null values are not always same.

select * from emp where 1=1 : will return all the rows in
the table because 1 is always equal to 1.

Is This Answer Correct ?    36 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is partitioned table in Oracle?

628


How do you store pictures in a database?

554


What do you mean by cdb and pdb in oracle 12c?

633


What are the attributes of cursor?

585


How to write an inner join with the where clause in oracle?

581






How to upsert (update or insert into a table)?

537


Explain a segment?

613


How to pass parameters to procedures in oracle?

566


How to delete a column in an existing table?

589


What are the differences between blob and clob in oracle?

580


Describe varray?

584


In XIR2 if we lost the administration password .How can we regain the password?thanks in advance.

1470


What is primefaces used for?

557


What is backup in Oracle?

567


What is rowid and rownum in oracle?

539