通過出生年月,分組查詢人口年齡段人數

「` select sum( case when (0<=age and age <6 )then psum else 0 end) psum1 , sum( case when (6<=age and age <18) then psum else 0 end) psum2, sum( case when (18<=age and age <30) then psum else 0 end) p
相關文章
相關標籤/搜索