Hamid Khan

Hamid Khan

  • 256
  • 7.5k
  • 2.2m

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)