Guest User

Untitled

a guest
Jun 21st, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. 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