Table A
Table B
Tabls C1, C2 .... Cn : title field
relationship C INNER JOIN B LEFT JOIN A
query
SELECT C1.title FORM C1
INNER JOIN B on C1.c_id = B.c_id
LEFT JOIN A on B.b_id = A.b_id
Can it be merged into one query ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m not sure I fully understand your question, but if
C1,C2, …,Cnare all “parallel” tables, then perhaps a UNION does the trick: