select ‘小于60岁‘ idCard,COUNT(je.AGE) bedId from jly_elderly je where je.AGE <![CDATA[ < ]]> 60
union
select ‘大于60小于65‘ idCard,COUNT(*) bedId from jly_elderly je where je.AGE BETWEEN 60 AND 65
union
select ‘大于65小于70‘ idCard,COUNT(je.AGE>60) bedId from jly_elderly je where je.AGE BETWEEN 65 AND 70
union
select ‘大于70小于75‘ idCard,COUNT(je.AGE>60) bedId from jly_elderly je where je.AGE BETWEEN 75 AND 80
union
select ‘大于75小于80‘ idCard,COUNT(je.AGE) bedId from jly_elderly je where je.AGE <![CDATA[ >= ]]> 80