Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

rabby's avatar

Laravel Join

I have user table like this

id name email password

and a quiz table like -

id lesson_id ques opt_a opt_b opt_c opt_d cor_ans

and a answers table

id user_id quiz_id user_answered

how do i write a query for a single quiz that a specific user didn't answer?

0 likes
0 replies

Please or to participate in this conversation.