select * from tablewhere id in ( select id from tableorder by random()limit ((select count(*) from table)*55/100))// to select 55 percent of rows randomly
↧
Answer by Santosh Karanam for Select n random rows from SQL Server table
↧