我想知道 INTERSECT 和 AND 语句以及 UNION 语句和 OR 语句之间的区别是什么。是否存在建议使用其中之一的特定场景,并且我可以始终使用 OR/AND 而不是 UNION/INTERSECT 吗?
sql union intersect
intersect ×1
sql ×1
union ×1