this will always get the data from 1st row to bottom row.
how can i get random data?
SELECT * FROM item ORDER BY RAND()
or
SELECT * FROM item ORDER BY NEWID()
i want the best way to get random data.
2
Contributors
1
Reply
1 Hour
Discussion Span
5 Months Ago
Last Updated
3
Views
Question Answered
Related Article:SQL QUERY PUZZLES
is a Databases discussion thread by mrar85 that has 1 reply, was last updated 7 months ago and has been tagged with the keywords: sql, query, puzzles, progamming.