heuu moi j'aurais ...
Je pensse que sa fonctionne ...
Code :
SELECT `X`, `Y`, MAX(`X`) as X_Max, MAX(`Y`) as Y_Max, CAST(RAND() * X_Max AS UNSIGNED) as X_Rand, CAST(RAND() * Y_Max AS UNSIGNED) as Y_Rand FROM la_table WHERE 1 HAVING X <> X_Rand AND Y <> Y_Rand LIMIT 10;
Je pensse que sa fonctionne ...