Fos*_*sco 10
例:
select a.column1, a.column2, b.whatever, c.hello
from table1 a
join table2 b on a.keyfield = b.keyfield
join table3 c on a.keyfield = c.keyfield
Run Code Online (Sandbox Code Playgroud)
如果你想要table1中的所有记录,即使在另一个表中没有匹配的记录,那么连接应该是"左连接".
| 归档时间: |
|
| 查看次数: |
21761 次 |
| 最近记录: |