Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT q.custom_questions_id,q.qid,q.url_id, q.id, q.question, q.pci_version, q.a, q.b, q.c, q.d, q.requirement, q.saq_cat, q.level, q.show_answer, a.id answer_id, a.answer, a.reason from saq_question q left join saq_answer a on q.id=a.question_id and (a.profile_id=? or a.profile_id is null) where q.requirement=? and q.pci_version=? and q.saq_cat like ? and (q.custom_questions_id=? or q.custom_questions_id is null) GROUP BY q.qid order by q.url_id
Add Comment
Please, Sign In to add comment