Database/MS-SQL
[MS-SQL] 랜덤 조회 select random
비니미니파파
2013. 12. 4. 15:46
MS-SQL 에서
랜덤 하게 5개만 뽑아 올려면
select top (5) *
from TABLE_NAME
order by newid();