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
Explain the commit statement.
how to extract a unit value from a date and time? : Sql dba
What does := mean in pl sql?
What is a schema sql?
How can we store rows in PL/SQL using array?
What is having clause in sql?
What is clustered index in sql?
Is sql a dbms?
Explain locks? : Transact sql
Can we delete column in sql?
What is left inner join in sql?
How to assign sql query results to pl sql variables?
what are the authentication modes in sql server? How can it be changed? : Sql dba
what are the different type of sql's statements ? : Sql dba
What is a function in oracle pl sql?