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

What makes a good primary key?

975


Can we write ddl statements in functions?

1047


What is the size of partition table?

987


Is drop table faster than truncate?

936


How many indexes can be created on a table in sql?

983


How do I count rows in sql?

946


how to calculate expressions with sql statements? : Sql dba

979


How many types of normalization are there?

894


What are the types of optimization?

886


Can we edit a view in sql?

924


What is a null value?

1079


How to check if a column is nullable before setting to nullable?

1052


What are the types of sql commands?

1016


What are sql injection vulnerabilities?

908


How do you create a db file?

953