zoukankan      html  css  js  c++  java
  • except 和 intersect 的用法

    --查询排除 factory = 'A' 的结果集
    select * from production where department = '1组'
    except
    select * from production where factory = 'A'
    
    --查询排除 factory = 'A' and department = '1组' 的结果集
    select * from production where department = '1组'
    intersect
    select * from production where factory = 'A'
     
  • 相关阅读:
    wc
    1.11考试
    diff
    C++11新利器
    vimdiff
    [学习笔记]多项式
    rev
    [AH2017/HNOI2017]礼物
    tr
    bzoj2555: SubString
  • 原文地址:https://www.cnblogs.com/LittleBai/p/13558348.html
Copyright © 2011-2022 走看看