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

Answer Posted / chandana

NULL = NULL ...NOT TRUE
NO ROWS RETURNED

1=1 ...TRUE
ALL ROWS RETURNED

1=2....NOT TRUE
NO ROWS RETURNED

2=2,3==3 AND SO ON WILL RETURN ALL ROWS FROM A TABLE

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the parameters that we can pass through a stored procedure?

648


What is the max number of columns in an oracle table?

604


What is a procedure in oracle?

691


What is the usage of synonyms?

684


How can we view last record added to a table?

692






How to end the current transaction in oracle?

638


Write a trigger example in oracle?

677


6. Display the client name and order date for all orders using the traditional method.

1879


How to do clean up if create database failed?

667


What is the difference between online and offline backups?

637


Explain do view contain data?

671


Which dictionary tables and/or views would you look at to diagnose a locking issue?

1562


What is difference between sid and service name in oracle?

591


what is the scenario where you take the database to NoArchivelog mode?

1943


How to empty your oracle recycle bin?

643