--查询排除 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'

 

 

相关文章:

  • 2022-12-23
  • 2022-01-28
  • 2021-10-07
  • 2022-12-23
  • 2021-12-01
  • 2022-12-23
猜你喜欢
  • 2021-10-05
  • 2022-12-23
  • 2018-03-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-14
相关资源
相似解决方案