SQL中有集合除法吗?
时间:2020-03-06 14:29:57 来源:igfitidea点击:
我完全知道可以通过一系列其他操作来完成集合除法,所以我的问题是:
在SQL中有用于集合除法的命令吗?
解决方案
http://vadimtropashko.files.wordpress.com/2007/02/ch3.pdf
从第32页:
Relational Division is not a fundamental operator. It can be expressed in terms of projection, Cartesian product, and set difference.
所以不行。 :)
相关问题:用于标记的数据库设计
答案的相关部分是本文
简而言之,不,SQL中没有集合除法。