← ALL CHALLENGES
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

ONE TO MANY RELATIONSHIP
country_geographycountry_iso_alpha3Key fieldun_m49_subregion_name
worldbank_gdp_per_capitacountry_iso_alpha3Join fieldyeargdp_per_capita_current_usd

country_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;