这个sql语句该怎样写? select a from table where a>b union all select b from table where b>a; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select a from table where a>b union all select b from table where b>a; select (CASE WHEN a-b>0 THEN a when a-b<0 then b END ) as col from table sql代码转换oracle的问题 有什么工具可以把mysql的数据结构包括数据全部导入到oracle中? 查询问题 请教高手,这个语句怎么写? oracle 生僻字如何解决 SQL 语句在Oracle中分离字符串 在oracle中,如何只进行索引扫描,而不是全表扫描 我在发!!!在sqlplus下写了个触发器,既不抱错,又没说成功,为什么啊? 如何判断当前时间是否大于一个具体的时间,如2004年5月14日15:30:00。 哪有较好的oracle技术论坛? 如何实现这样的分组统计 谁能帮我解决一下这个问题
union all
select b from table where b>a;
when a-b<0 then b
END ) as col from table