[eluser]codex[/eluser]
[quote author="Doosje" date="1218654243"]i think you can do it with distinct !
Code:
SELECT distinct object_id
FROM objects
ORDER BY RAND()
LIMIT 0, 12
[/quote]
I know, and I was under the impression that I tried that and it failed. But I guess I was somewhere else with my thoughts, because DISTINCT does the trick. So thanks :-)