There is a query like:
$query = mysql_query("SELECT name FROM my_table JOIN ( SELECT CEIL(RAND() * ( SELECT MAX(id) FROM my_table )) AS randomID ) AS random_table ON random_table.randomID= my_table.ID ");
He selects only one record (as it should be random), and LIMIT 10 I need, does not work anywhere, wherever I insert it into this query. Request the wrong kind of what?