select 补集 not in

类别:数据库 点击:0 评论:0 推荐:
    SELECT * FROM DT_ROLES l WHERE l.OID NOT IN ( SELECT r.DT_ROLES_OID FROM DT_MEMBER_TYPE_ROLES_CONTRAST r,DT_ROLES l WHERE r.DT_ROLES_OID = l.OID AND r.OID=65127)

本文地址:http://com.8s8s.com/it/it20197.htm