Posted by alpha.beta0 on 06/07/07 01:30
On May 29, 12:55 pm, Alexey Kulentsov <criman...@crimaniak.com> wrote: > SELECT *, weight*RAND() as result FROM Servers ORDER BY result LIMIT 1 SELECT *, Server_Weight*RAND() as result FROM Servers ORDER BY result DESC LIMIT 1 Thanks, that works nice.
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming