Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
select ... fields from table a, b where ... conditions and a.timeload between b.timestop(+) and b.timego(+)
我确实了解运算符之间的工作原理,并且我知道这里的+运算符代表左连接。如何使用 ANSI 连接标准重写它?
使用LEFT OUTER JOIN而不是+运算符。
LEFT OUTER JOIN
+
对于您的查询,它是a LEFT OUTER JOIN b:
a LEFT OUTER JOIN b
select ... fields from table a LEFT OUTER JOIN b ON a.timeload between b.timestop and b.timego where ... conditions