Ok guys, im not very good in MySQL, but I can do basics... So now I need some help. I have two tables - questions(where some questions and avaliable answers are stored) and log(where log from the previus answered question is stored)
questions-
questionId, question, answer1...balbalba
1 'question balba' 'Avaliable answer1'
2 'question2 blaba' 'Other answer'
log-
id, questionId, userId
1 1 123456
Here is stored that userId
is answered on questionId
1
So I need a query that finds random question from 'questions' that user '123456' isn't answered. I hope you help me...