Thread
:
MySql Help
View Single Post
07-22-2012, 03:04 PM
seeme
Stephen
Industry Role:
Join Date: Jun 2011
Location: Europe
Posts: 840
Quote:
Originally Posted by
kazymjir
Ahhhh, true.
Try this:
Code:
SELECT * FROM (SELECT * FROM `items` ORDER BY RAND()) x GROUP BY x.group ORDER BY RAND();
Thanks thats what I needed
seeme
View Public Profile
Visit seeme's homepage!
Find More Posts by seeme