How Do join the same tables on multiple values like
select * from table tt1 join table tt2 on tt1.value1=tt2.value2 and on tt1.value5=tt2.value6
How do I do this?
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.
Eliminate the second “on”, specify the type of join