I have 3 tables:
- A list of "users" (uID)
- A list of "questions" (qID)
- A "questionsanswered" table which stores which questions have been sent to which users (qaUID and qaQID)
I need to do a randomised query where I select one random question and one random user, BUT not allowed to select previously asked questions so it needs to validate against the questionsanswered table.
Can you help please?
Aucun commentaire:
Enregistrer un commentaire