Hamid Khan

Hamid Khan

  • 585
  • 3.1k
  • 414.1k

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() 

Brought to you by: JavaScript SDK for Bold BI dashboard and analytics embedding. Free trial.

Answers (1)