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 / poonam

First Query : will return all columns name without any data.
Second Query :will display all the records which are available in the table.bez Select* from emp where 1=1; the condition is true.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of inner join?

1068


If no size is defined while creating the database, what size will the database have?

987


What are the requirements for sql server 2016?

882


What is sql injection? How to protect against sql injection attack?

993


What does sql server mean?

1056


What is use of attribute hierarchy optimized state? : sql server analysis services, ssas

1059


How to use group functions in the select clause in ms sql server?

1052


Why do we backup Active Directory ?

1039


What is database replication? What are the different types of replication you can set up in sql server?

958


What is a matrix in ssrs?

151


What is a trace frag?

1083


What have included columns when we talk about sql server indexing?

1037


what happens on checkpoint? : Sql server database administration

1094


What protocol does sql server use?

941


What is instead of dml trigger?

998