SELECT array[id] FROM questions ORDER BY random() ...
# sql
g
SELECT array[id] FROM questions ORDER BY random() LIMIT 10; this returns 10 id's as single elements of 10 arrays, but i need 1 array with 10ids