右外连接

select * from dt_function_node n,dt_function_point p where n.NODE_FUNCTION = p.oid (+) and n.node_code='123';

在这里面,可以选出n.NODE_FUNCTION=NULL的字段

如果没有(+),那么n.NODE_FUNCTION子段必须不为空。

Published At
Categories with 数据库类
comments powered by Disqus