Analyze International Debt Statistics (DataCamp Project)
Write SQL queries to answer interesting questions about international debt using data from The World Bank.
It's not that we humans only take debts to manage our necessities. A country may also take debt to manage its economy. For example, infrastructure spending is one costly ingredient required for a country's citizens to lead comfortable lives. The World Bank is the organization that provides debt to countries.
In this project, you are going to analyze international debt data collected by The World Bank. The dataset contains information about the amount of debt (in USD) owed by developing countries across several categories. You are going to find the answers to questions like:
- What is the total amount of debt that is owed by the countries listed in the dataset?
- Which country owns the maximum amount of debt and what does that amount look like?
- What is the average amount of debt owed by countries across different debt indicators?
The data used in this project is provided by The World Bank. It contains both national and regional debt statistics for several countries across the globe as recorded from 1970 to 2015.
- SQL
- Using aggregate functions such as
SUM()
,AVG()
,MAX()
,COUNT()
,ROUND()
- Filter techniques such as
WHERE
,GROUP BY
andDISTINCT
- Sorting using
ORDER BY
,DESC
- Joining two tables using Subqueries
- The World Bank's international debt data
- Finding the number of distinct countries
- Finding out the distinct debt indicators
- Totaling the amount of debt owed by the countries
- Country with the highest debt
- Average amount of debt across indicators
- The highest amount of principal repayments
- The most common debt indicator
- Other viable debt issues and conclusion