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

Please explain oracle data types with examples?

590


Explain how are indexes update?

623


Define the SGA and: How you would configure SGA for a mid-sized OLTP environment? What is involved in tuning the SGA?

1859


What is the usage of control file in oracle?

610


How to retrieve data from an explicit cursor?

559






How to create a stored function in oracle?

589


What is a cursor in oracle?

651


What is the oracle implicit cursor?

596


what is the need of indexing topic in oracle? where do we use in a Java project? any other option other than using this to get the same result where we use indexing ?

2047


What are oracle functions?

553


How to define a variable to match a table column data type?

580


What is query image?

585


Explain oracle data types with examples?

577


How i can handle exception in large code like 1000 line without distrubing the code or without exception handler sction?

2730


What is the difference between PFILE and SPFILE in Oracle?

579