MySQL与Oracle 按年龄段分组查询:
select nnd, count(*) from(
select
case
when em_age>=1 and em_age=11 and em_age=21 and em_age=31 and em_age
MySQL与Oracle 按年龄段分组查询
本文导语: MySQL与Oracle 按年龄段分组查询: select nnd, count(*) from(selectcasewhen em_age>=1 and em_age=11 and em_age=21 and em_age=31 and em_age
MySQL与Oracle 按年龄段分组查询:
select nnd, count(*) from(
select
case
when em_age>=1 and em_age=11 and em_age=21 and em_age=31 and em_age