mysql根据身份证号码查询出几零后分布

select name,count(1)from ( select birthday,(case when birthday  between '1940' and '1949' then '40后'  when birthday  between '1950' and '1959' then '50后'  when birthday  between '1960' and '1969' then
相关文章
相关标签/搜索