请问这个SQL怎样写?表一
aaa bbb ccc
11 22 null
123 542 1
22 11 2
表二
ccc ddd eee
1 224 323
2 443 523求表三
aaa bbb ddd
11 22 null
123 542 224
22 11 443
aaa bbb ccc
11 22 null
123 542 1
22 11 2
表二
ccc ddd eee
1 224 323
2 443 523求表三
aaa bbb ddd
11 22 null
123 542 224
22 11 443
from
(
select aaa,bbb,ccc from 表一
)table1
left outer join
(
select ccc,ddd from 表二
)table2 on table1.ccc=table2.ccc