MySQL Seleccione ID aleatorio de la tabla

-- randomly order, select first 5 rows
select * from `table_name` order by rand() limit 5
inibir