Hamid Khan

Hamid Khan

  • 380
  • 5.6k
  • 658k

how to get random 5 record in sql

Jan 17 2018 4:54 AM
how to get random 5 record in sql
 
SELECT top 5 * from table1 order by NEWID() 

Answers (1)