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 the differences between local and global temporary tables?

1135


Explain about local stored procedure?

1031


What happens if null values are involved in bitwise operations?

1081


Name the different type of indexes in sql?

1013


What is the use of sign function?

1199


Is it possible to replicate data from sql server to oracle? : sql server replication

1140


How can you start sql server in different modes?

1021


When would you use an insert into .. Select option versus an insert into .. Values option? Give an example of each?

1167


What type of Index will get created after executing the above statement?

1146


What are various aggregate functions that are available?

1044


What’s the distinction between dropping a info and taking a info offline?

1092


What is sql collation?

1271


What is attribute relationships, why we need it? : sql server analysis services, ssas

1031


What are the differences between stored procedure and view in sql server?

1319


What is buffer cash and log cache in sql server?

1191