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

query processing

2177


what is a schema in sql server 2005? : Sql server database administration

1035


how to avoid cursors? : Sql server database administration

977


What is sub-query in sql server? Explain its properties.

1098


What is sql server management studio? : sql server management studio

1084


what is create database syntax? : Sql server database administration

1113


What is sql stored procedure?

1100


How to rename databases in ms sql server?

1210


Can you tell me some of the common replication dmv's and their use? : sql server replication

931


What is Dependency Injection and provide example?

1126


What is rs.exe utility?

157


How to end a stored procedure properly in ms sql server?

1095


What according to you is the difference between mysql and sql server performance?

1093


Explain view in sql server?

1059


Do you know what is raid and what are different types of raid configurations? : SQL Server Architecture

1070