I am using the following query to select 1 random entry -
SELECT name FROM table WHERE id >= (SELECT FLOOR( MAX(id) * RAND()) FROM table ) ORDER BY id LIMIT 1
but it gives me the same recordset every time I call it. How can I improve random recording?
a source
to share