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
How to use "out" parameter properly?
interview questions with answer for cts
Explain the use of log option in exp command.
Compare and contrast between sql and sql server and explain its various functions?
What is sharded cluster?
How index is implemented in oracle database?
how to code performance tuning of oracle PL/SQL? can any body send me the perfect answer?
Explain an exception and its types?
How can we force the database to use the user specified rollback segment?
What is the difference between sharding and partitioning?
What is meant by recursive hints in oracle?
Can a parameter be passed to a cursor?
How do I escape a reserved word in oracle?
How to assign a tablespace to a users in oracle?
Whats the benefit of dbms_stats over analyze?