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

How can delete duplicate records in cte in sql server?

1016


What is order of B+tree?

1153


Difference between group by clause and having clause in SQL?

1028


How to see the event list of an existing trigger using sys.trigger_events?

1135


what is bit datatype? : Sql server database administration

963


Explain the third normal form(3nf)?

982


Explain iaas, paas and saas?

92


What is transaction server explicit transaction?

1089


What is the use of tempdb? What values does it hold?

1120


What is precedence constraint?

1037


Explain indexing and what are the advantages of it?

1070


what does the automatic recovery do? : Sql server administration

1081


What is difference between order by and group by?

1054


What happens if you delete a table that is used by a view?

1061


Write a query for primary key constraint with identity key word?

1082