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

Answer Posted / samir kumar sahoo

select*from emp where null=null;

this command will not return any record bcoz the
condition null=null false as two null values are not equal.


select*from emp where 1=1;

will return all the records present in the table emp as
the condition 1=1 is always true.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is parameterized cursor in oracle?

578


How to drop a stored function?

676


What is a nested table and how is it different from a normal table?

578


How to get maxsal , minsal, ename department wise in single query

1020


What do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?

4020






Explain what are the type of synonyms?

582


Hi friends can u send the oracle 9i full version download link?????????????? please reply ?

1442


Explain oracle 12c new features for developers?

540


How to revoke create session privilege from a user in oracle?

559


why should i declare foreign key constraint as self relation instead of binary relation in tables ?

1565


What is the difference between formal parameters and actual parameters?

546


How does one get the view definition of fixed views/tables?

605


How to define an anonymous block?

618


How to define default values for formal parameters?

596


Explain the use of Merge statement in oracle 11g

596