what is the output of this query selet * from employee
where 1=2 ??

Answer Posted / selvaraj v, anna university

In Oracle 10g :
---------------

no rows selected.


E.g:
----

SQL> SELECT * FROM job;

EMPNO JOBTITLE
--------- --------------------
1 Tester
2 Accountant
3 Developer
4 COder
5 Director
6 Mediator
7 Proffessor
8 Programmer
9 Developer

9 rows selected.

SQL> SELECT * FROM job WHERE 1=2;

no rows selected.

Is This Answer Correct ?    19 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of database management systems?

519


Why schema is used in sql?

507


Is a view faster than a stored procedure?

538


What is a ddl command?

527


Is it possible to read/write files to-and-from PL/SQL?

648






What is the difference between database trigger and stored procedure?

546


How do you determine the current isolation level? : Transact sql

570


How do I truncate a sql log file?

525


What is a Mapplet?

638


what are the join types in tsql? : Transact sql

568


how to delete an existing column in a table? : Sql dba

546


State few characteristics of pl/sql?

555


Why is theta join required?

653


What plvcmt and plvrb does in pl/sql?

865


What is a primary key example?

507