HackerRank: Japanese Cities' Attributes
Question and Answer:

Key Points:
What the Query Does
- Retrieves all columns for every city located in Japan
Key Conditions Used
COUNTRYCODE = 'JPN'filters only Japanese cities
Why It Works
SELECT *returns the complete details of each matching cityCOUNTRYCODE correctly represents each country's unique ISO code
Output
Multiple rows (one per city in Japan)
Each row includes ID, NAME, COUNTRYCODE, DISTRICT, POPULATION