Hamid Khan

Hamid Khan

  • 597
  • 2.7k
  • 280.7k

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)