``` SELECT array_agg(id) FROM questions ORDER BY...
# sql
g
Copy code
SELECT array_agg(id) FROM questions ORDER BY random() LIMIT 10;
did the trick, thanks!