Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

how can you create an empty table from an existing table? : Sql dba

1195


How do you delete duplicates in sql query using rowid?

989


what is timestamp in mysql? : Sql dba

1133


What is the difference between a database and a relational database?

1158


What is the use of %rowtype?

1087


What is mutating error in pl sql?

1066


Why do we use triggers?

1020


Is a foreign key always unique?

984


Why use triggers in sql?

1013


How do I clear the screen in sql plus?

1087


What is sql mysql pl sql oracle?

1129


How do I tune a sql query?

1043


Is left join inner or outer by default?

1074


What is the difference between local and global temporary table?

1089


What is a primary key sql?

1093