两个sql语句一样只有条件不一样,如何取并集? select a,b,c,... from t_x where date>2000 or date>2000;用or连接两个条件 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select a,b,c,... from t_x where date>2000 or date>2000或select a,b,c... from t_xwhere date>2000unionselect a,b,c... from t_xwhere date>2002 也可这样:select a,b,c,... from t_x where date between n and m; 我觉得也是,只要date>2000这个条件不就可以了吗??? 只用where date>2000就行了 select a.*,b,* from (select a,b,c... from t_x where date>2000) a,(select a,b,c... from t_x where date>2002) b where a.id=b.id; 用swingbench压oracle DB时报ORA-01013错 如何将一个列宽为10个字符的列增加到16个字符 新手问个 数据统计的问题 sum oracle 数据库查询 来个人帮帮 oracle XE 插入记录慢的问题 oracle中行转列的问题 大家oracle 中表,和字段的单词直接都是用下划线间隔么? 这条SQL语句该怎么写? 高级复制配置完成后在主站点启动复制时报错,高手支援下 ~~ Oracle表空间问题 你不一定会的sql 如何控制SQL PLUS的查询输出?
或
select a,b,c... from t_x
where date>2000
union
select a,b,c... from t_x
where date>2002