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

相关文章:

  • 2021-07-15
  • 2021-05-13
  • 2022-02-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-15
  • 2021-12-25
  • 2021-07-10
  • 2022-01-07
  • 2021-11-30
相关资源
相似解决方案