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 out put of below queries?
a. select * from Emp where null = null;
b. select * from Emp where 1=1;

Answer Posted / m@ngesh

in the first query There is no records to show in output
box only show the column name Like empname, city, address
etc..
and the second query say that there is all records are to
be show.when query (1=1) will be satisfied on the table

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between left and right outer join?

1115


What is the difference between local and global temporary tables?

1196


Do you know what is sql service broker?

1163


What is an execution plan?

1238


How do I start sql server 2017?

986


How to disable a login name in ms sql server?

1176


Which language is supported by sql server?

1066


What is the difference between upgrade and migration in sql server?

1150


What is the difference between locking and multi-versioning?

1040


What is tabulation?

1012


How much memory that we are using in Logshipping Concept?

1844


Why do we need normalization?

977


What are the types of table?

1031


What happens if strings are casted into wrong code pages in ms sql server?

1167


When would you use sql joins?

1029