内连接就不说了就是一般sql语句。外联接使用时要注意
select a.mtid,b.mtname from storinfo a,mtinfot b where a.mtid=b.mtid(+) and b.mtid>1200
语句的意思是去处了select a.mtid,b.mtname from storinfo a,mtinfot b where a.mtid=b.mtid(+) 数据集中b.mtid>1200的记录
本文介绍了一种使用外连接的方法,特别关注于如何通过添加条件来筛选特定的数据记录。具体示例展示了如何结合使用外连接和条件过滤,以实现从两个表中获取所需数据的同时排除不满足条件的记录。
内连接就不说了就是一般sql语句。外联接使用时要注意
select a.mtid,b.mtname from storinfo a,mtinfot b where a.mtid=b.mtid(+) and b.mtid>1200
语句的意思是去处了select a.mtid,b.mtname from storinfo a,mtinfot b where a.mtid=b.mtid(+) 数据集中b.mtid>1200的记录
2689
2258

被折叠的 条评论
为什么被折叠?