Hi, I have a table with a list of questions and answers. The questions and answers are split into different subjects.
ID, Subject, Question, Answer
I can generate a random number of questions using the code below:
SELECT TOP 25 ID, Question, Answer
FROM RefresherQuestions
ORDER BY RND(ID);
How can I choose to generate a random number of questions on a specific subject? i.e. Select 25 random questions and answers on Animals
Thanks
If you can help, GREAT
If I can help, EVEN BETTER
ID, Subject, Question, Answer
I can generate a random number of questions using the code below:
SELECT TOP 25 ID, Question, Answer
FROM RefresherQuestions
ORDER BY RND(ID);
How can I choose to generate a random number of questions on a specific subject? i.e. Select 25 random questions and answers on Animals
Thanks
If you can help, GREAT
If I can help, EVEN BETTER