← ALL CHALLENGESONE TO MANY RELATIONSHIP
CHALLENGE / BEGINNER / READY TO QUERY
GDP ต่อหัวในเอเชียตะวันออกเฉียงใต้เปลี่ยนอย่างไร?
ฝึก JOIN ข้อมูล GDP ต่อหัวกับภูมิภาค UN M49 แล้วเปรียบเทียบแนวโน้มรายปีของเอเชียตะวันออกเฉียงใต้
01 / THE QUESTION
Question
GDP ต่อหัวรายปีของประเทศและดินแดนที่มีรหัส ISO ในอนุภูมิภาค South-eastern Asia เปลี่ยนไปอย่างไร? ประเทศใดเพิ่มขึ้นหรือลดลงในช่วงปีที่เลือก?
02 / SOURCE TABLES
Tables to use
03 / RELATIONSHIP
ER diagram
country_geography
country_iso_alpha3un_m49_subregion_name1 : MANY
worldbank_gdp_per_capita
country_iso_alpha3yeargdp_per_capita_current_usdcountry_geography.country_iso_alpha3 = worldbank_gdp_per_capita.country_iso_alpha3 · one geography row to many annual GDP rows
04 / ANALYST GUIDE
Guide
Analysis requirements
- เชื่อมตารางด้วย
country_iso_alpha3 - กรอง
un_m49_subregion_nameเป็นSouth-eastern Asiaข้อมูลภูมิภาคนี้เป็นการจัดกลุ่มในปัจจุบัน ไม่ใช่พรมแดนในอดีต - เลือกช่วงปี และแสดงแถวที่ค่า GDP เป็น null ไว้ หรือระบุให้ชัดว่าตัดออกอย่างไร
- แสดง
country_iso_alpha3ชื่อประเทศyearและgdp_per_capita_current_usdแล้วใช้กราฟเส้นเปรียบเทียบ - เมื่ออธิบายผล อย่าตีความว่าค่าดอลลาร์สหรัฐ ณ ราคาปัจจุบันคือการเติบโตที่แท้จริง เพราะยังไม่ได้ขจัดผลของเงินเฟ้อ
Suggested query
Expand suggested query
SQL / STARTER QUERY
SELECT g.country_iso_alpha3, g.country_name_un, w.year,
w.gdp_per_capita_current_usd
FROM country_geography AS g
JOIN worldbank_gdp_per_capita AS w
ON g.country_iso_alpha3 = w.country_iso_alpha3
WHERE g.un_m49_subregion_name = 'South-eastern Asia'
ORDER BY g.country_iso_alpha3, w.year;