China
600
America 100
Canada 100
England 200
France 300
Janpan 250
Germany 200
Mexico 50
America 100
Canada 100
England 200
France 300
Janpan 250
Germany 200
Mexico 50
Indeia 250
SELECT CASE country
WHEN 'China'THEN '亚洲'
WHEN 'Indiea'THEN '亚洲'
WHEN 'Janpan'THEN '亚洲'
WHEN 'America'THEN '北美洲'
WHEN 'Canada'THEN '北美洲'
WHEN 'Mexico'THEN '北美洲'
ELSE '其他' END AS country,SUM(population)FROM table_a GROUP BY
CASE country
WHEN 'China'THEN '亚洲'
WHEN 'Indiea'THEN '亚洲'
WHEN 'Janpan'THEN '亚洲'
WHEN 'America'THEN '北美洲'
WHEN 'Canada'THEN '北美洲'
WHEN 'Mexico'THEN '北美洲'
ELSE '其他' END