SELECT * FROM tabella ORDER BY RAND() LIMIT 10;