sql conditional join
问题 I have 3 tables: table1:table1_col1, table1_col2,table1_col3 table2 : table1_col1, table2_col2,table2_col3 table3 : table1_col1, table3_col2,table3_col3 As I tried to explain by the naming, table1:table1_col1 is a unique key that can reference either table2 : table1_col1 or table3 : table1_col1 but never both. I need to make a join between table1, table2,table3 such that: join table1 with table2 if table1:table1_col1 = table2 : table1_col1 join table1 with table3 if table1:table1_col1 =