SELECT a.option_id as answer,q.`question`,q.`question_type`,q.`temp_question_id` FROM `question_uploaded` q LEFT JOIN answer_uploaded a ON q.`temp_question_id`=a.temp_question_id where q.`delete_status`='0' and q.`temp_question_id`='q-19'[]