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
相關文章
相關標籤/搜索