MySQL与Oracle 按年龄段分组查询:select nnd, count(*) from(
select
case
when em_age>=1 and em_age<=10 then "1-10"
when em_age>=11 and em_age<=20 then "11-20"
when em_age>=21 and em_age<=30 then "21-30"
when em_age>=31 and em_age<=40 then "31-40" else "other"
end
as nnd,em_sex from hr_employee
) hr_employee group by nndLinux下Oracle 10g无法启动监听解决方法Oracle 中的部分函数相关资讯 oracle
- [INS-32052] Oracle基目录和Oracle (07/22/2014 07:41:41)
- Oracle 4个大对象(lobs)数据类型 (02/03/2013 12:33:05)
- Oracle按时间段分组统计 (07/26/2012 10:36:48)
| - [Oracle] dbms_metadata.get_ddl的 (07/12/2013 07:37:30)
- Liferay Portal 配置使用Oracle和 (07/31/2012 20:07:18)
- Concurrent Request:Inactive (07/20/2012 07:44:05)
|
本文评论 查看全部评论 (0)