oracle 中 inner内连接、 left左连接、right 右连接用法

左右连接实际说是我们联合查询的结果以哪个表为准~   1. 内连接很简单 select A.*, B.* from A,B where A.id = B.id select A.*, B.* from A inner join B on A.id = B.id 以上两句是完全等价的 2. 左外连接 select distinct(p.person_id) from t_pbase_info p,
相关文章
相关标签/搜索