[此贴子已经被作者于2006-3-2 11:44:52编辑过]
用left join 或者就是select table1.key1,table2.key2 from table1,table2 where table1.key=table2.keyleft joinselect table1.key1,table2.key2 from table1 left join table2 on table1.key=table2.key where 其他条件
[此贴子已经被作者于2006-3-2 12:57:38编辑过]