Pada Database MySQL :
SELECT * FROM nama_tabel ORDER BY RAND() LIMIT jml_diinginkan
misal :
SELECT * FROM pertanyaan ORDER BY RAND() LIMIT 10
Pada Database SQL Server :
Tutorial Pemrograman dan Source Code, Android, Web, Mobile, Desktop, Database dan Software. Tutorial Pemrograman Android, Web, PHP, Javascript, VB.NET, C#, ASP.NET dan Java
SELECT * FROM nama_tabel ORDER BY RAND() LIMIT jml_diinginkan
SELECT * FROM pertanyaan ORDER BY RAND() LIMIT 10