select top 5 * from emp order by newid()
my question is , how this query get executed?
Answer Posted / kb
Random 5 rows are selected when newid() is used.
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
Explain the difference between delete,drop and truncate in SQL Server?
How real and float literal values are rounded?
What is a trigger what are the advantages of trigger?
What is mean by dml?
Explain different types of index?
what are candidate key, alternate key and composite key? : Sql server database administration
What are the properties of the transactions?
What is a data collection table?
How would you add a section to a table?
How can you start sql server in different modes?
How do you test your database? : sql server database administration
What protocol does sql server use?
Does windows server 2016 come with sql server?
How to use go command in "sqlcmd"?
Tell me extended events in sql server 2008?