hno Posted January 4, 2010 Share Posted January 4, 2010 HI, I want to select three rows by random from a table.How can do so? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/187115-need-a-random-query/ Share on other sites More sharing options...
ignace Posted January 4, 2010 Share Posted January 4, 2010 ORDER BY rand() LIMIT 3 Quote Link to comment https://forums.phpfreaks.com/topic/187115-need-a-random-query/#findComment-988150 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.