$ 0 0 Outra forma é usar a função RAND() ex: SELECT id FROM tabela ORDER BY RAND() Não é a solução mais eficiente mas é a mais rápida !