摘要:
一、内连接和外连接 内连接用于返回满足连接条件的记录;而外连接则是内连接的扩展,它不仅会满足连接条件的记录,而且还会返回不满足连接条件的记录,语法如下: Oracle代码 收藏代码 select table1.column,table2.column from table1 [inner|left|right|full]join table2 on table1.column=table2.column; inner join表示内连接、left join表示左外连接、right join表示右外连接、full join表示全连接;on用于指定连接条件。注意:如果使用form内、外连接,则必须
阅读全文