SELECT ques_id FROM questions q, categories c WHERE q.category_id = c.category_id AND category = 'Mathematics' AND subject in ('Calculus', 'Geometry', 'Algebra') ORDER BY RAND() LIMIT 1
In reply to Re: Re: Re: Is there a good way of retrieving entries randomly from a database (MySQL perhaps)?
by Anonymous Monk
in thread Is there a good way of retrieving entries randomly from a database (MySQL perhaps)?
by soon_j
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |