I have two tables, answerstbl and questionstbl. All questions are inserted in questionstbl and so as answeres in the answerstbl. Now, I want to get questions that are NOT YET answered by anybody by referring to the answerstbl. This is my query:
"SELECT * FROM questionstbl LEFT JOIN answerstbl ON answerstbl.qu_id=questionstbl.qu_id
GROUP BY ans_id"
However, the result is the question with answers.
Does anybody know?