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...

select top 5 * from emp order by newid()

my question is , how this query get executed?

Answer Posted / ankita bosamiya

first of all order by clause will be executed that is first
it will be arranged as ascending or descending order and
than first 5 records will be fatched.....

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are policy management terms?

931


Explain indexing and what are the advantages of it?

962


What are the benefits and tasks of object explorer? : sql server management studio

1114


What is nested transaction?

1042


What are database states in ms sql server?

1114


Explain Capacity planning to create a database? and how to monitor it?

4141


what are the important architecture components of SSRS?

124


Tell me what do we need queues in sql service broker?

926


Explain about local stored procedure?

901


What is difference between rownum and rowid?

856


What is update_statistics command?

1018


How to create a simple table to test triggers in ms sql server?

913


How to add the custom code in Report?

117


How do you delete duplicate rows in sql server?

899


How display code or Text of Stored Procedure using Sql query in Sql Server ?

1068