2012-01-30 64 views

回答

2

呀,甚至在三個表:

select distinct t1.id, t2.col1, t3.col1 
from table1 t1 
full outer join 
     table2 t2 
on  t1.id = t2.t1_id 
full outer join 
     table3 t3 
on  t1.id = t3.t1_id 
相關問題