摘要: 1、并集(UNION/UNION ALL)Oracle&SQLServer中用法一致UNION去重UNION ALL不去重-- 去重select * from tableaunionselect * from tableb-- 不去重select * from tableaunion allselect * from tableb2、交集(INTERSECT/EXISTS)Oracle&SQLServer中用法一致INTERSECT去重EXISTS不去重-- 去重select * from tableaintersectselect * from tableb-- 不去重sel 阅读全文
posted @ 2013-08-09 09:31 编程的厨子 阅读(4756) 评论(0) 推荐(0) 编辑