内连接就不说了就是一般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的记录