SQL: World Bank Loans

This Dataset is from the International Development Association, part of the World Bank Group. The data analyzed in this project was last updated at the end of November 2024. You can find the original data and helpful information from the IDA here.

1) To help me explore and make sense of the data I returned the entire table to see all column names and used this query as a reference for what kind of queries I wanted to write next.

SQL World Bank Result Set 1

End of Period Credit Number Region Country / Economy Code Country / Economy Borrower Credit Status Service Charge Rate Currency of Commitment Project ID Project Name Original Principal Amount (US$) Cancelled Amount (US$) Undisbursed Amount (US$) Disbursed Amount (US$) Repaid to IDA (US$) Due to IDA (US$) Exchange Adjustment (US$) Borrower Obligation (US$) Sold 3rd Party (US$) Repaid 3rd Party (US$) Due 3rd Party (US$) Credits Held (US$) First Repayment Date Last Repayment Date Agreement Signing Date Board Approval Date Effective Date (Most Recent) Closed Date (Most Recent) Last Disbursement Date End of Period Date
06/30/2024 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Fully Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2024-11-30
11/30/2024 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Fully Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2024-10-31
10/31/2024 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Fully Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2024-09-30
09/30/2024 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Fully Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2024-08-31
08/31/2024 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Fully Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2024-07-31
07/31/2024 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Fully Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2022-06-30
06/30/2022 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Fully Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2022-08-31
08/31/2022 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Fully Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2013-09-30
09/30/2013 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2013-10-31
10/31/2013 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2013-11-30
11/30/2013 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2013-12-31
12/31/2013 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2014-01-31
01/31/2014 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2014-02-28
02/28/2014 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2014-03-31
03/31/2014 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2014-04-30
04/30/2014 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2014-05-31
05/31/2014 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2014-06-30
06/30/2014 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2014-07-31
07/31/2014 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2014-08-31
08/31/2014 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2014-09-30
09/30/2014 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2014-10-31
10/31/2014 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2014-11-30
11/30/2014 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2014-12-31
12/31/2014 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2015-01-31
01/31/2015 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2015-02-28
02/28/2015 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2015-03-31
03/31/2015 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2015-04-30
04/30/2015 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2015-05-31
05/31/2015 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967 2015-06-30
06/30/2015 IDA00010 LATIN AMERICA AND CARIBBEAN HN Honduras MINISTERIO DE HACIENDA Y CREDITO PUBLICO Repaid 0.75 USD P007335 WESTERN HIGHWAY 9000000 572026.03 0 8427973.97 8427973.97 0 0 0 0 0 0 0 09/01/1971 03/01/2011 05/12/1961 05/11/1961 06/29/1961 07/31/1967

2) After looking through the columns I was curious to see how big this table was so I returned the count of all rows and found out that the table was about 1.3 million rows.

SQL World Bank Result Set 2

Rows
1,368,365

3) I figured it would be useful to have a very brief snapshot of what a single country still owed the IDA so I wrote a query that will return the number of transactions still owed as well as the total dollar amount still owed by a particular country, in this case Nicaragua. If I, or someone else looking through my queries, wanted to know this information for another country the only thing that would need to change is the last word of the query to a different country.

SQL World Bank Result Set 3

Country / Economy Projects Total Due to IDA
Nicaragua 109 976,249,279.56

4) Then I got curious. What was the largest single loan still owed to the World Bank?

SQL World Bank Result Set 4

Country / Economy Project Name Project ID Due to IDA
Ukraine PEACE in Ukraine Project P178946 4,800,000,000

5) Of course that begs the question how much money has the World Bank loaned to countries that is currently outstanding?

SQL World Bank Result Set 5

Total Due to IDA
209,309,928,171.90

6) To get a better idea of how all countries compare to each other based on their outstanding balances due to the World Bank I grouped the country, number of transactions, and total amount of money still owed to the IDA.

SQL World Bank Result Set 6

Country / Economy Projects Total Due to IDA End of Period Date
Afghanistan 131 284,129,250.71 2024-11-30
Albania 68 342,010,746.48 2024-11-30
Angola 24 286,037,994.93 2024-11-30
Armenia 66 659,775,378.98 2024-11-30
Azerbaijan 45 139,655,118.07 2024-11-30
Bangladesh 373 20,388,409,149.89 2024-11-30
Benin 186 2,203,785,403.47 2024-11-30
Bhutan 39 423,642,664.11 2024-11-30
Bolivia 133 705,697,075.33 2024-11-30
Bosnia and Herzegovina 73 521,836,337.65 2024-11-30
Botswana 6 0 2024-11-30
Burkina Faso 219 2,565,504,476.61 2024-11-30
Burundi 129 110,288,934.96 2024-11-30
Cabo Verde 69 561,866,853.85 2024-11-30
Cambodia 81 1,659,822,911.52 2024-11-30
Cameroon 132 2,331,628,949.87 2024-11-30
Caribbean 10 6,682,902.07 2024-11-30
Central Africa 5 47,349,228.27 2024-11-30
Central African Republic 94 118,947,560.64 2024-11-30
Central America 1 0 2024-11-30
Central Asia 4 0 2024-11-30
Chad 122 142,020,149.93 2024-11-30
Chile 1 0 2024-11-30
China 134 1,897,019.35 2024-11-30
Colombia 1 0 2024-11-30
Comoros 67 55,797,377.17 2024-11-30
Congo, Democratic Republic of 188 3,444,581,537.66 2024-11-30
Congo, Republic of 69 533,938,062.03 2024-11-30
Costa Rica 1 0 2024-11-30
Cote d'Ivoire 134 4,417,891,139.69 2024-11-30
Djibouti 77 294,038,528.39 2024-11-30
Dominica 32 158,622,750.11 2024-11-30
Dominican Republic 3 0 2024-11-30
East Asia and Pacific 1 0 2024-11-30
Eastern and Southern Africa 63 87,078,415.21 2024-11-30
Ecuador 6 0 2024-11-30
Egypt, Arab Republic of 52 103,843,199.30 2024-11-30
El Salvador 4 360,000 2024-11-30
Equatorial Guinea 10 12,584,550.58 2024-11-30
Eritrea 18 410,453,158.68 2024-11-30
Eswatini 2 0 2024-11-30
Ethiopia 265 12,736,803,394.02 2024-11-30
Fiji 13 392,662,767.36 2024-11-30
Gambia, The 94 124,498,397.98 2024-11-30
Georgia 68 487,347,506.06 2024-11-30
Ghana 265 6,333,854,967.64 2024-11-30
Grenada 42 258,445,954.41 2024-11-30
Guinea 150 697,840,784.79 2024-11-30
Guinea-Bissau 71 217,038,532.14 2024-11-30
Guyana 55 188,691,472.78 2024-11-30
Haiti 115 0.06 2024-11-30
Honduras 115 949,707,014.78 2024-11-30
India 442 15,038,961,857.47 2024-11-30
Indonesia 80 87,258,922.26 2024-11-30
Iraq 5 204,576,618.63 2024-11-30
Jordan 17 194,092,467.66 2024-11-30
Kenya 244 11,883,536,418.07 2024-11-30
Kiribati 25 0 2024-11-30
Korea, Republic of 9 0 2024-11-30
Kosovo 40 276,270,281.17 2024-11-30
Kyrgyz Republic 172 734,533,567.43 2024-11-30
Lao People's Democratic Republic 127 886,732,862.39 2024-11-30
Lebanon 1 88,442,566.87 2024-11-30
Lesotho 79 503,262,480.98 2024-11-30
Liberia 114 884,309,981.06 2024-11-30
Madagascar 217 2,626,384,664.96 2024-11-30
Malawi 219 1,707,802,790.80 2024-11-30
Maldives 48 93,984,824.29 2024-11-30
Mali 205 2,195,259,172.15 2024-11-30
Marshall Islands 21 0 2024-11-30
Mauritania 142 450,429,581.21 2024-11-30
Mauritius 5 0 2024-11-30
Mekong 1 0 2024-11-30
Micronesia, Federated States of 14 0 2024-11-30
Middle East and North Africa 1 0 2024-11-30
Moldova 77 797,914,466.29 2024-11-30
Mongolia 61 763,708,522.43 2024-11-30
Montenegro 11 3,877,745.36 2024-11-30
Morocco 5 98,192.22 2024-11-30
Mozambique 206 2,946,082,272.93 2024-11-30
Myanmar 51 1,462,920,389.42 2024-11-30
Nepal 199 4,531,810,174.65 2024-11-30
Nicaragua 109 976,249,279.56 2024-11-30
Niger 208 2,448,358,891.35 2024-11-30
Nigeria 150 16,614,101,717.45 2024-11-30
North Macedonia 20 123,477,813.38 2024-11-30
OECS Countries 3 0 2024-11-30
Pacific Islands 10 0 2024-11-30
Pakistan 321 17,715,656,898.94 2024-11-30
Papua New Guinea 42 578,961,088.82 2024-11-30
Paraguay 8 300,000 2024-11-30
Philippines 9 9,687,415.22 2024-11-30
Rwanda 187 3,387,841,403.52 2024-11-30
Samoa 49 90,928,740.63 2024-11-30
Sao Tome and Principe 50 9,034,256.40 2024-11-30
Senegal 247 4,470,344,709.91 2024-11-30
Serbia 21 10,047,533.78 2024-11-30
Sierra Leone 133 467,024,245.85 2024-11-30
Solomon Islands 60 115,252,504.10 2024-11-30
Somalia 82 0 2024-11-30
South Asia 4 0 2024-11-30
South East Asia 1 0 2024-11-30
South Sudan 38 72,270,522.68 2024-11-30
Sri Lanka 153 3,550,634,404.65 2024-11-30
St. Kitts and Nevis 1 108,397.57 2024-11-30
St. Lucia 42 221,466,103.77 2024-11-30
St. Vincent and the Grenadines 35 242,118,546.06 2024-11-30
Sudan 56 208,419,880.48 2024-11-30
Syrian Arab Republic 4 14,051,660.92 2024-11-30
Taiwan, China 4 0 2024-11-30
Tajikistan 123 368,031,240.17 2024-11-30
Tanzania 293 12,149,952,965.44 2024-11-30
Thailand 6 0 2024-11-30
Timor-Leste 18 44,143,029.87 2024-11-30
Togo 129 614,811,843.18 2024-11-30
Tonga 50 40,508,901.79 2024-11-30
Tunisia 10 0 2024-11-30
Turkiye 14 0 2024-11-30
Tuvalu 28 0 2024-11-30
Uganda 213 4,929,646,987.06 2024-11-30
Ukraine 5 5,800,922,958.30 2024-11-30
Uzbekistan 65 4,277,428,682.20 2024-11-30
Vanuatu 26 96,230,523.69 2024-11-30
Viet Nam 186 11,646,137,441.58 2024-11-30
Western and Central Africa 60 247,017,724.16 2024-11-30
Yemen, Republic of 227 1,056,791,478.50 2024-11-30
Zambia 152 2,509,256,640.53 2024-11-30
Zimbabwe 15 433,393,302.16 2024-11-30

7) Then I ordered the query above by money owed to the IDA to show which countries owe the most money to the World Bank.

SQL World Bank Result Set 7

Country / Economy Country / Economy Code Projects Total Due to IDA End of Period Date
Bangladesh BD 373 20,388,409,149.89 2024-11-30
Pakistan PK 321 17,715,656,898.94 2024-11-30
Nigeria NG 150 16,614,101,717.45 2024-11-30
India IN 442 15,038,961,857.47 2024-11-30
Ethiopia ET 265 12,736,803,394.02 2024-11-30
Tanzania TZ 293 12,149,952,965.44 2024-11-30
Kenya KE 244 11,883,536,418.07 2024-11-30
Viet Nam VN 186 11,646,137,441.58 2024-11-30
Ghana GH 265 6,333,854,967.64 2024-11-30
Ukraine UA 5 5,800,922,958.30 2024-11-30
Uganda UG 213 4,929,646,987.06 2024-11-30
Nepal NP 199 4,531,810,174.65 2024-11-30
Senegal SN 247 4,470,344,709.91 2024-11-30
Cote d'Ivoire CI 134 4,417,891,139.69 2024-11-30
Uzbekistan UZ 65 4,277,428,682.20 2024-11-30
Sri Lanka LK 153 3,550,634,404.65 2024-11-30
Congo, Democratic Republic of ZR 188 3,444,581,537.66 2024-11-30
Rwanda RW 187 3,387,841,403.52 2024-11-30
Mozambique MZ 206 2,946,082,272.93 2024-11-30
Madagascar MG 217 2,626,384,664.96 2024-11-30
Burkina Faso BF 219 2,565,504,476.61 2024-11-30
Zambia ZM 152 2,509,256,640.53 2024-11-30
Niger NE 208 2,448,358,891.35 2024-11-30
Cameroon CM 132 2,331,628,949.87 2024-11-30
Benin BJ 186 2,203,785,403.47 2024-11-30
Mali ML 205 2,195,259,172.15 2024-11-30
Malawi MW 219 1,707,802,790.80 2024-11-30
Cambodia KH 81 1,659,822,911.52 2024-11-30
Myanmar MM 51 1,462,920,389.42 2024-11-30
Yemen, Republic of RY 227 1,056,791,478.50 2024-11-30
Nicaragua NI 109 976,249,279.56 2024-11-30
Honduras HN 115 949,707,014.78 2024-11-30
Lao People's Democratic Republic LA 127 886,732,862.39 2024-11-30
Liberia LR 114 884,309,981.06 2024-11-30
Moldova MD 77 797,914,466.29 2024-11-30
Mongolia MN 61 763,708,522.43 2024-11-30
Kyrgyz Republic KG 172 734,533,567.43 2024-11-30
Bolivia BO 133 705,697,075.33 2024-11-30
Guinea GN 150 697,840,784.79 2024-11-30
Armenia AM 66 659,775,378.98 2024-11-30
Togo TG 129 614,811,843.18 2024-11-30
Papua New Guinea PG 42 578,961,088.82 2024-11-30
Cabo Verde CV 69 561,866,853.85 2024-11-30
Congo, Republic of CG 69 533,938,062.03 2024-11-30
Bosnia and Herzegovina BA 73 521,836,337.65 2024-11-30
Lesotho LS 79 503,262,480.98 2024-11-30
Georgia GE 68 487,347,506.06 2024-11-30
Sierra Leone SL 133 467,024,245.85 2024-11-30
Mauritania MR 142 450,429,581.21 2024-11-30
Zimbabwe ZW 15 433,393,302.16 2024-11-30
Bhutan BT 39 423,642,664.11 2024-11-30
Eritrea ER 18 410,453,158.68 2024-11-30
Fiji FJ 13 392,662,767.36 2024-11-30
Tajikistan TJ 123 368,031,240.17 2024-11-30
Albania AL 68 342,010,746.48 2024-11-30
Djibouti DJ 77 294,038,528.39 2024-11-30
Angola AO 24 286,037,994.93 2024-11-30
Afghanistan AF 131 284,129,250.71 2024-11-30
Kosovo XK 40 276,270,281.17 2024-11-30
Grenada GD 42 258,445,954.41 2024-11-30
Western and Central Africa 3W 60 247,017,724.16 2024-11-30
St. Vincent and the Grenadines VC 35 242,118,546.06 2024-11-30
St. Lucia LC 42 221,466,103.77 2024-11-30
Guinea-Bissau GW 71 217,038,532.14 2024-11-30
Sudan SD 56 208,419,880.48 2024-11-30
Iraq IQ 5 204,576,618.63 2024-11-30
Jordan JO 17 194,092,467.66 2024-11-30
Guyana GY 55 188,691,472.78 2024-11-30
Dominica DM 32 158,622,750.11 2024-11-30
Chad TD 122 142,020,149.93 2024-11-30
Azerbaijan AZ 45 139,655,118.07 2024-11-30
Gambia, The GM 94 124,498,397.98 2024-11-30
North Macedonia MK 20 123,477,813.38 2024-11-30
Central African Republic CF 94 118,947,560.64 2024-11-30
Solomon Islands SB 60 115,252,504.10 2024-11-30
Burundi BI 129 110,288,934.96 2024-11-30
Egypt, Arab Republic of EG 52 103,843,199.30 2024-11-30
Vanuatu VU 26 96,230,523.69 2024-11-30
Maldives MV 48 93,984,824.29 2024-11-30
Samoa WS 49 90,928,740.63 2024-11-30
Lebanon LB 1 88,442,566.87 2024-11-30
Indonesia ID 80 87,258,922.26 2024-11-30
Eastern and Southern Africa 3E 63 87,078,415.21 2024-11-30
South Sudan SS 38 72,270,522.68 2024-11-30
Comoros KM 67 55,797,377.17 2024-11-30
Central Africa 3T 5 47,349,228.27 2024-11-30
Timor-Leste TP 18 44,143,029.87 2024-11-30
Tonga TO 50 40,508,901.79 2024-11-30
Syrian Arab Republic SY 4 14,051,660.92 2024-11-30
Equatorial Guinea GQ 10 12,584,550.58 2024-11-30
Serbia YF 21 10,047,533.78 2024-11-30
Philippines PH 9 9,687,415.22 2024-11-30
Sao Tome and Principe ST 50 9,034,256.40 2024-11-30
Caribbean 6R 10 6,682,902.07 2024-11-30
Montenegro ME 11 3,877,745.36 2024-11-30
China CN 134 1,897,019.35 2024-11-30
El Salvador SV 4 360,000 2024-11-30
Paraguay PY 8 300,000 2024-11-30
St. Kitts and Nevis KN 1 108,397.57 2024-11-30
Morocco MA 5 98,192.22 2024-11-30
Haiti HT 115 0.06 2024-11-30
Tuvalu TV 28 0 2024-11-30
Turkiye TR 14 0 2024-11-30
Tunisia TN 10 0 2024-11-30
Thailand TH 6 0 2024-11-30
Taiwan, China TW 4 0 2024-11-30
South East Asia 4S 1 0 2024-11-30
South Asia 8S 4 0 2024-11-30
Somalia SO 82 0 2024-11-30
Pacific Islands 4P 10 0 2024-11-30
OECS Countries 6O 3 0 2024-11-30
Middle East and North Africa 5M 1 0 2024-11-30
Micronesia, Federated States of FM 14 0 2024-11-30
Mekong 4M 1 0 2024-11-30
Mauritius MU 5 0 2024-11-30
Marshall Islands MH 21 0 2024-11-30
Korea, Republic of KR 9 0 2024-11-30
Kiribati KI 25 0 2024-11-30
Eswatini SZ 2 0 2024-11-30
Ecuador EC 6 0 2024-11-30
East Asia and Pacific 4E 1 0 2024-11-30
Dominican Republic DO 3 0 2024-11-30
Costa Rica CR 1 0 2024-11-30
Colombia CO 1 0 2024-11-30
Chile CL 1 0 2024-11-30
Central Asia 7C 4 0 2024-11-30
Central America 6C 1 0 2024-11-30
Botswana BW 6 0 2024-11-30

8) I wanted to keep following this trend of how much countries still owe to the IDA. Initially I tried to select the Country, Project Name, Project ID, and Amount Due to IDA and just order the return in desc order by Amount Due to IDA to show the 100 most expensive projects the World Bank is funding through the IDA. The result from this query showed 2 things I didn’t like.

One thing I didn’t want to see was the two projects with null values in the Due to IDA column. The second thing I didn’t like in this return was that it did not show me the 100 most expensive projects, it showed me only a couple projects several times, you can tell because many of the Project IDs are the same.

SQL World Bank Result Set 8

Country / Economy Project Name Project ID Due to IDA (US$)
Pakistan Sindh Resilience Project (SRP) P155350
Tanzania TZ-Rural Electrificatn Expansn Progr-SUF P153781
Ukraine PEACE in Ukraine Project P178946 4,800,000,000.00
Ukraine PEACE in Ukraine Project P178946 1,058,346,776.80
Ukraine PEACE in Ukraine Project P178946 1,047,848,899.79
Ukraine PEACE in Ukraine Project P178946 1,047,501,691.07
Ukraine PEACE in Ukraine Project P178946 1,043,624,506.91
Ukraine PEACE in Ukraine Project P178946 1,032,276,650.90
Ukraine PEACE in Ukraine Project P178946 1,028,210,335.70
Ukraine PEACE in Ukraine Project P178946 1,027,798,900.53
Ukraine PEACE in Ukraine Project P178946 1,026,319,026.23
Ukraine PEACE in Ukraine Project P178946 1,026,143,829.87
Ukraine PEACE in Ukraine Project P178946 1,024,995,109.66
Ukraine PEACE in Ukraine Project P178946 1,024,630,622.38
Ukraine PEACE in Ukraine Project P178946 1,024,583,334.65
Ukraine PEACE in Ukraine Project P178946 1,019,996,425
Ukraine PEACE in Ukraine Project P178946 1,014,605,622.76
Ukraine PEACE in Ukraine Project P178946 1,012,808,689.00
Ukraine PEACE in Ukraine Project P178946 1,008,493,435.74
Ukraine PEACE in Ukraine Project P178946 1,003,245,052.01
Ukraine PEACE in Ukraine Project P178946 999,047,958.30
Ukraine PEACE in Ukraine Project P178946 942,322,138.60
India IN: SSA III P144447 793,256,127.64
India IN: SSA III P144447 791,481,384.50
India IN: SSA III P144447 787,142,516.42
India IN: SSA III P144447 782,879,864.56
Kenya Inclusive Growth and Fiscal DPO P168204 780,555,197.55
Kenya Inclusive Growth and Fiscal DPO P168204 778,464,236.56
Kenya Inclusive Growth and Fiscal DPO P168204 778,177,877.56
Kenya Inclusive Growth and Fiscal DPO P168204 777,637,577.56
Kenya Inclusive Growth and Fiscal DPO P168204 775,865,393.57
India IN: SSA III P144447 775,296,372.74
Kenya Inclusive Growth and Fiscal DPO P168204 772,677,623.58
Kenya Inclusive Growth and Fiscal DPO P168204 771,964,427.59
India IN: SSA III P144447 771,224,261
Kenya Inclusive Growth and Fiscal DPO P168204 770,694,722.59
India IN: SSA III P144447 770,554,648
Kenya Inclusive Growth and Fiscal DPO P168204 769,527,675
India IN: SSA III P144447 769,449,516.00
India IN: SSA III P144447 769,400,520
Kenya Inclusive Growth and Fiscal DPO P168204 766,637,069.61
India IN: SSA III P144447 766,379,100.00
India IN: SSA III P144447 765,736,709
Kenya Inclusive Growth and Fiscal DPO P168204 765,718,559.61
India IN: Elementary Education (SSA II) P102547 765,355,340.00
India IN: SSA III P144447 764,811,229
Kenya Inclusive Growth and Fiscal DPO P168204 764,729,810.62
India IN: SSA III P144447 764,713,236.00
Kenya Inclusive Growth and Fiscal DPO P168204 763,481,717.62
India IN: SSA III P144447 762,916,716.73
Kenya Inclusive Growth and Fiscal DPO P168204 762,709,088.63
India IN: SSA III P144447 762,541,080.40
Ukraine PEACE in Ukraine Project P178946 761,489,481
Kenya Inclusive Growth and Fiscal DPO P168204 761,212,457.63
India IN: SSA III P144447 761,060,312.00
Kenya Inclusive Growth and Fiscal DPO P168204 760,510,068
India IN: SSA III P144447 759,574,101.16
India IN: SSA III P144447 757,472,716.00
India IN: SSA III P144447 757,146,076.69
Kenya Inclusive Growth and Fiscal DPO P168204 756,852,236.65
India IN: SSA III P144447 756,830,324.62
Kenya Inclusive Growth and Fiscal DPO P168204 756,198,473.65
India IN: SSA III P144447 755,763,301.28
India IN: SSA III P144447 754,407,744.30
Kenya Inclusive Growth and Fiscal DPO P168204 753,642,854.67
Ukraine PEACE in Ukraine Project P178946 753,620,132.53
India IN: SSA III P144447 753,030,412.71
India IN: SSA III P144447 752,431,572.41
Kenya Inclusive Growth and Fiscal DPO P168204 751,978,730.67
Kenya Inclusive Growth and Fiscal DPO P168204 751,130,460
India IN: SSA III P144447 750,939,917
India IN: Elementary Education (SSA II) P102547 750,935,252
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000

9) At this point in my data career I’m still a novice at cleaning data so I just filtered out these projects with a WHERE NOT filter.

SQL World Bank Result Set 9

Country / Economy Project Name Project ID Due to IDA (US$)
Ukraine PEACE in Ukraine Project P178946 4,800,000,000
Ukraine PEACE in Ukraine Project P178946 1,058,346,776.80
Ukraine PEACE in Ukraine Project P178946 1,047,848,899.79
Ukraine PEACE in Ukraine Project P178946 1,047,501,691.07
Ukraine PEACE in Ukraine Project P178946 1,043,624,506.91
Ukraine PEACE in Ukraine Project P178946 1,032,276,650.90
Ukraine PEACE in Ukraine Project P178946 1,028,210,335.70
Ukraine PEACE in Ukraine Project P178946 1,027,798,900.53
Ukraine PEACE in Ukraine Project P178946 1,026,319,026.23
Ukraine PEACE in Ukraine Project P178946 1,026,143,829.87
Ukraine PEACE in Ukraine Project P178946 1,024,995,109.66
Ukraine PEACE in Ukraine Project P178946 1,024,630,622.38
Ukraine PEACE in Ukraine Project P178946 1,024,583,334.65
Ukraine PEACE in Ukraine Project P178946 1,019,996,424.52
Ukraine PEACE in Ukraine Project P178946 1,014,605,622.76
Ukraine PEACE in Ukraine Project P178946 1,012,808,689
Ukraine PEACE in Ukraine Project P178946 1,008,493,435.74
Ukraine PEACE in Ukraine Project P178946 1,003,245,052.01
Ukraine PEACE in Ukraine Project P178946 999,047,958.30
Ukraine PEACE in Ukraine Project P178946 942,322,138.60
India IN: SSA III P144447 793,256,127.64
India IN: SSA III P144447 791,481,384.50
India IN: SSA III P144447 787,142,516.42
India IN: SSA III P144447 782,879,864.56
Kenya Inclusive Growth and Fiscal DPO P168204 780,555,197.55
Kenya Inclusive Growth and Fiscal DPO P168204 778,464,236.56
Kenya Inclusive Growth and Fiscal DPO P168204 778,177,877.56
Kenya Inclusive Growth and Fiscal DPO P168204 777,637,577.56
Kenya Inclusive Growth and Fiscal DPO P168204 775,865,393.57
India IN: SSA III P144447 775,296,372.74
Kenya Inclusive Growth and Fiscal DPO P168204 772,677,623.58
Kenya Inclusive Growth and Fiscal DPO P168204 771,964,427.59
India IN: SSA III P144447 771,224,261.10
Kenya Inclusive Growth and Fiscal DPO P168204 770,694,722.59
India IN: SSA III P144447 770,554,648
Kenya Inclusive Growth and Fiscal DPO P168204 769,527,674.60
India IN: SSA III P144447 769,449,516
India IN: SSA III P144447 769,400,520
Kenya Inclusive Growth and Fiscal DPO P168204 766,637,069.61
India IN: SSA III P144447 766,379,100
India IN: SSA III P144447 765,736,708.83
Kenya Inclusive Growth and Fiscal DPO P168204 765,718,559.61
India IN: Elementary Education (SSA II) P102547 765,355,340
India IN: SSA III P144447 764,811,228.57
Kenya Inclusive Growth and Fiscal DPO P168204 764,729,810.62
India IN: SSA III P144447 764,713,236
Kenya Inclusive Growth and Fiscal DPO P168204 763,481,717.62
India IN: SSA III P144447 762,916,716.73
Kenya Inclusive Growth and Fiscal DPO P168204 762,709,088.63
India IN: SSA III P144447 762,541,080.40
Ukraine PEACE in Ukraine Project P178946 761,489,481.13
Kenya Inclusive Growth and Fiscal DPO P168204 761,212,457.63
India IN: SSA III P144447 761,060,312
Kenya Inclusive Growth and Fiscal DPO P168204 760,510,067.60
India IN: SSA III P144447 759,574,101.16
India IN: SSA III P144447 757,472,716
India IN: SSA III P144447 757,146,076.69
Kenya Inclusive Growth and Fiscal DPO P168204 756,852,236.65
India IN: SSA III P144447 756,830,324.62
Kenya Inclusive Growth and Fiscal DPO P168204 756,198,473.65
India IN: SSA III P144447 755,763,301.28
India IN: SSA III P144447 754,407,744.30
Kenya Inclusive Growth and Fiscal DPO P168204 753,642,854.67
Ukraine PEACE in Ukraine Project P178946 753,620,132.53
India IN: SSA III P144447 753,030,412.71
India IN: SSA III P144447 752,431,572.41
Kenya Inclusive Growth and Fiscal DPO P168204 751,978,730.67
Kenya Inclusive Growth and Fiscal DPO P168204 751,130,459.68
India IN: SSA III P144447 750,939,916.73
India IN: Elementary Education (SSA II) P102547 750,935,252
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000

10) The second issue was a little bit tougher to fix. I’m embarrassed to say that this problem stumped me for a while. Eventually I figured out that this issue was caused by the End of Period column, or more accurately, my poor understanding of the End of Period column. I wrote all of my queries with the DBeaver application in SQLite and, apparently, DBeaver labeled the End of Period column as a string (text) data type instead of a date data type.

In this query below I added the End of Period column to better illustrate the problem. You can see that many of the rows are the same project, but these projects have been assessed several times through 2011 – 2024.

SQL World Bank Result Set 10

Country / Economy Project Name Project ID Due to IDA (US$) End of Period
Ukraine PEACE in Ukraine Project P178946 4,800,000,000 11/30/2024
Ukraine PEACE in Ukraine Project P178946 1,058,346,776.80 09/30/2024
Ukraine PEACE in Ukraine Project P178946 1,047,848,899.79 08/31/2024
Ukraine PEACE in Ukraine Project P178946 1,047,501,691.07 12/31/2023
Ukraine PEACE in Ukraine Project P178946 1,043,624,506.91 07/31/2023
Ukraine PEACE in Ukraine Project P178946 1,032,276,650.90 11/30/2023
Ukraine PEACE in Ukraine Project P178946 1,028,210,335.70 08/31/2023
Ukraine PEACE in Ukraine Project P178946 1,027,798,900.53 10/31/2024
Ukraine PEACE in Ukraine Project P178946 1,026,319,026.23 06/30/2023
Ukraine PEACE in Ukraine Project P178946 1,026,143,829.87 05/31/2024
Ukraine PEACE in Ukraine Project P178946 1,024,995,109.66 01/31/2024
Ukraine PEACE in Ukraine Project P178946 1,024,630,622.38 02/29/2024
Ukraine PEACE in Ukraine Project P178946 1,024,583,334.65 07/31/2024
Ukraine PEACE in Ukraine Project P178946 1,019,996,424.52 03/31/2024
Ukraine PEACE in Ukraine Project P178946 1,014,605,622.76 04/30/2024
Ukraine PEACE in Ukraine Project P178946 1,012,808,689 06/30/2024
Ukraine PEACE in Ukraine Project P178946 1,008,493,435.74 10/31/2023
Ukraine PEACE in Ukraine Project P178946 1,003,245,052.01 09/30/2023
Ukraine PEACE in Ukraine Project P178946 999,047,958.30 11/30/2024
Ukraine PEACE in Ukraine Project P178946 942,322,138.60 05/31/2023
India IN: SSA III P144447 793,256,127.64 01/31/2018
India IN: SSA III P144447 791,481,384.50 03/31/2018
India IN: SSA III P144447 787,142,516.42 02/28/2018
India IN: SSA III P144447 782,879,864.56 04/30/2018
Kenya Inclusive Growth and Fiscal DPO P168204 780,555,197.55 05/31/2021
Kenya Inclusive Growth and Fiscal DPO P168204 778,464,236.56 01/31/2021
Kenya Inclusive Growth and Fiscal DPO P168204 778,177,877.56 12/31/2020
Kenya Inclusive Growth and Fiscal DPO P168204 777,637,577.56 02/28/2021
Kenya Inclusive Growth and Fiscal DPO P168204 775,865,393.57 04/30/2021
India IN: SSA III P144447 775,296,372.74 12/31/2017
Kenya Inclusive Growth and Fiscal DPO P168204 772,677,623.58 11/30/2020
Kenya Inclusive Growth and Fiscal DPO P168204 771,964,427.59 07/31/2021
India IN: SSA III P144447 771,224,261.10 05/31/2018
Kenya Inclusive Growth and Fiscal DPO P168204 770,694,722.59 06/30/2021
India IN: SSA III P144447 770,554,648 11/30/2017
Kenya Inclusive Growth and Fiscal DPO P168204 769,527,674.60 08/31/2021
India IN: SSA III P144447 769,449,516 08/31/2017
India IN: SSA III P144447 769,400,520 09/30/2017
Kenya Inclusive Growth and Fiscal DPO P168204 766,637,069.61 08/31/2020
India IN: SSA III P144447 766,379,100 07/31/2017
India IN: SSA III P144447 765,736,708.83 06/30/2018
Kenya Inclusive Growth and Fiscal DPO P168204 765,718,559.61 03/31/2021
India IN: Elementary Education (SSA II) P102547 765,355,340 10/31/2011
India IN: SSA III P144447 764,811,228.57 07/31/2018
Kenya Inclusive Growth and Fiscal DPO P168204 764,729,810.62 10/31/2021
India IN: SSA III P144447 764,713,236 10/31/2017
Kenya Inclusive Growth and Fiscal DPO P168204 763,481,717.62 07/31/2020
India IN: SSA III P144447 762,916,716.73 08/31/2018
Kenya Inclusive Growth and Fiscal DPO P168204 762,709,088.63 10/31/2020
India IN: SSA III P144447 762,541,080.40 01/31/2019
Ukraine PEACE in Ukraine Project P178946 761,489,481.13 04/30/2023
Kenya Inclusive Growth and Fiscal DPO P168204 761,212,457.63 09/30/2021
India IN: SSA III P144447 761,060,312 02/28/2019
Kenya Inclusive Growth and Fiscal DPO P168204 760,510,067.60 09/30/2020
India IN: SSA III P144447 759,574,101.16 09/30/2018
India IN: SSA III P144447 757,472,716 06/30/2017
India IN: SSA III P144447 757,146,076.69 12/31/2018
Kenya Inclusive Growth and Fiscal DPO P168204 756,852,236.65 11/30/2021
India IN: SSA III P144447 756,830,324.62 06/30/2019
Kenya Inclusive Growth and Fiscal DPO P168204 756,198,473.65 12/31/2021
India IN: SSA III P144447 755,763,301.28 03/31/2019
India IN: SSA III P144447 754,407,744.30 04/30/2019
Kenya Inclusive Growth and Fiscal DPO P168204 753,642,854.67 02/28/2022
Ukraine PEACE in Ukraine Project P178946 753,620,132.53 03/31/2023
India IN: SSA III P144447 753,030,412.71 11/30/2018
India IN: SSA III P144447 752,431,572.41 10/31/2018
Kenya Inclusive Growth and Fiscal DPO P168204 751,978,730.67 01/31/2022
Kenya Inclusive Growth and Fiscal DPO P168204 751,130,459.68 06/30/2019
India IN: SSA III P144447 750,939,916.73 10/31/2019
India IN: Elementary Education (SSA II) P102547 750,935,252 02/29/2012
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 06/30/2024
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 11/30/2024
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 06/30/2022
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 05/31/2020
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 06/30/2020
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 09/30/2020
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 02/28/2021
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 03/31/2021
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 07/31/2020
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 08/31/2020
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 10/31/2020
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 11/30/2020
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 12/31/2020
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 01/31/2021
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 04/30/2021
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 05/31/2021
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 06/30/2021
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 07/31/2021
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 08/31/2021
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 09/30/2021
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 10/31/2021
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 11/30/2021
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 12/31/2021
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 01/31/2022
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 03/31/2022
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 02/28/2022
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 04/30/2022
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 05/31/2022
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 07/31/2022
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 08/31/2022

11) Unbeknownst to me at the time, the type of data in a column is very consequential for your queries. However, my new nemesis (the End of Period column) was no match for my secret weapon: furious and frantic googling. I added a new column to my banking_data table called End of Period Date which converts all the information from the End of Period column and puts it into a Date format that SQLite could recognize. Of course after I corrected my mistake I had to update all of my previous queries which is why you see the End of Period Date column in those.

12) Verifying that the End of Period Date Column was added to the banking_data table successfully.

SQL World Bank Result Set 12

End of Period End of Period Date
06/30/2024 2024-06-30
11/30/2024 2024-11-30
10/31/2024 2024-10-31
09/30/2024 2024-09-30
08/31/2024 2024-08-31
07/31/2024 2024-07-31
06/30/2022 2022-06-30
08/31/2022 2022-08-31
09/30/2013 2013-09-30
10/31/2013 2013-10-31
11/30/2013 2013-11-30
12/31/2013 2013-12-31
01/31/2014 2014-01-31
02/28/2014 2014-02-28
03/31/2014 2014-03-31
04/30/2014 2014-04-30
05/31/2014 2014-05-31
06/30/2014 2014-06-30
07/31/2014 2014-07-31
08/31/2014 2014-08-31

13) Eventually I prevailed and found the 100 most expensive projects the World Bank has funded through the IDA.

SQL World Bank Result Set 13

Country / Economy Project Name Project ID Due to IDA (US$) Original Principal Amount (US$) End of Period Date Agreement Signing Date
Ukraine PEACE in Ukraine Project P178946 4,800,000,000 4,800,000,000 2024-11-30 11/22/2024
Ukraine PEACE in Ukraine Project P178946 999,047,958.30 1,000,000,000 2024-11-30 06/09/2022
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 750,000,000 2024-11-30 05/20/2020
Kenya KE: ACCELERATING REFORMS DPF P175251 750,000,000 750,000,000 2024-11-30 06/14/2021
Nigeria RESET P501661 750,000,000 750,000,000 2024-11-30 06/19/2024
Nigeria Power Sector Recovery Performance Loan P164001 698,655,632.10 750,000,000 2024-11-30 09/30/2020
Kenya Inclusive Growth and Fiscal DPO P168204 698,192,127.96 750,000,000 2024-11-30 06/19/2019
Nigeria NG: States Fiscal TAS PforR P162009 698,080,383 750,000,000 2024-11-30 07/10/2021
Nigeria NG: States Fiscal TAS PforR P162009 651,059,542.27 750,000,000 2024-11-30 02/12/2019
Nigeria NIGERIA CARES P174114 647,375,300.23 750,000,000 2024-11-30 06/03/2021
Ethiopia Ethiopia Growth and Competitiveness P168566 565,112,691 600,000,000 2024-11-30 11/02/2018
Pakistan PK Crisis-Resilient Social Protection P174484 544,840,872.29 600,000,000 2024-11-30 03/26/2021
Ethiopia Ethiopia Enhancing Shared Prosperity P151432 539,750,122.03 600,000,000 2024-11-30 09/29/2017
Kenya KE: ACCELERATING REFORMS DPF2 P176903 520,000,000 520,000,000 2024-11-30 03/18/2022
Bangladesh QLEAP P162619 512,625,717.24 700,000,000 2024-11-30 06/28/2018
Ethiopia Ethiopia Enhancing Shared Prosperity P151432 508,178,121.30 600,000,000 2024-11-30 10/22/2015
Nigeria Better Education Service Delivery for Al P160430 505,469,399.34 578,000,000 2024-11-30 09/29/2017
India IN: SSA III P144447 502,850,700.61 841,400,000 2024-11-30 05/29/2014
Congo, Democratic Republic of DRC Foundational Reforms DPF P179141 500,000,000 500,000,000 2024-11-30 03/30/2023
Tanzania Tanzania 2nd inclusive & resilient DPF P180504 500,000,000 500,000,000 2024-11-30 12/21/2023
Ethiopia Ethiopia DPO-1 P181591 499,548,582 500,000,000 2024-11-30 07/30/2024
Ethiopia ET-Promoting Basic Services Phase III P128891 492,406,609.03 600,000,000 2024-11-30 10/18/2012
Sri Lanka Sri Lanka RESET DPO P179808 487,723,392 500,000,000 2024-11-30 06/28/2023
Pakistan Pakistan Human Capital DPF Series P170568 481,416,622.11 500,000,000 2024-11-30 06/19/2020
Bangladesh BD: Rural Electricity T and Distribution P129920 479,902,257.12 600,000,000 2024-11-30 06/19/2014
Uzbekistan Uzbekistan Reforms for Transition DPO P166019 475,250,000 500,000,000 2024-11-30 07/12/2018
Bangladesh Transforming Secondary Edu for Results P160943 445,757,279.96 510,000,000 2024-11-30 08/13/2018
Pakistan Sindh Flood Emergency Project P179981 445,605,662.40 500,000,000 2024-11-30 01/06/2023
Bangladesh HSSP P160846 445,043,299.97 500,000,000 2024-11-30 08/28/2017
Ethiopia ET Productive Safety Nets Project 4 P146883 442,510,517.11 600,000,000 2024-11-30 10/31/2014
Tanzania Secondary Education Quality Improvement P170480 431,387,918.22 500,000,000 2024-11-30 05/21/2020
Bangladesh COVID-19 ERPP Project P173757 427,664,656.76 500,000,000 2024-11-30 04/11/2021
Tanzania TZ-PSSN II P169165 424,256,045.87 450,000,000 2024-11-30 10/07/2019
Bangladesh Safety Net Systems for the Poorest P132634 421,683,252.88 500,000,000 2024-11-30 10/04/2013
Pakistan PK: Power Sector Reform DPC P128258 417,053,822.91 600,000,000 2024-11-30 05/02/2014
Nigeria National Social Safety Nets Project P151488 411,108,300.71 500,000,000 2024-11-30 01/27/2017
Kenya EA Reg.Transp.Trade Dev. Facil. Ph-2 P148853 410,920,464.92 500,000,000 2024-11-30 07/20/2015
Pakistan Pakistan: Power Sector Reform DPC 2 P152021 406,236,796.06 500,000,000 2024-11-30 11/20/2015
Nigeria Erosion & Watershed Mgt Project P124905 401,176,140.30 500,000,000 2024-11-30 04/16/2013
Pakistan PK: Growth DPC-II P151620 397,843,276.19 500,000,000 2024-11-30 06/18/2015
Pakistan PK Flood Housing Reconstruction Project P180008 396,248,976.05 500,000,000 2024-11-30 01/06/2023
Nigeria Fin Sec + Pub Fin Mgmt DPC P117088 377,709,707.70 500,000,000 2024-11-30 09/24/2009
Nigeria NG Child Health for Human Capital MPA P167156 369,728,144.90 650,000,000 2024-11-30 09/18/2020
Pakistan SHIFT DPCII P172628 366,055,326 400,000,000 2024-11-30 06/29/2021
India IN: Elementary Education (SSA II) P102547 364,603,455.45 750,000,000 2024-11-30 05/07/2010
Pakistan Poverty Reduction & Econ. Support Oper. P113372 364,112,381.59 500,000,000 2024-11-30 03/26/2009
Pakistan PFM/accountability to supp. service deli P157507 354,919,571.43 400,000,000 2024-11-30 12/29/2017
Cote d'Ivoire CDI DPF1 FY23 P178064 349,968,755 329,000,000 2024-11-30 12/09/2022
Myanmar Reengagement and Reform Support Program P133706 348,132,012.96 440,000,000 2024-11-30 01/22/2013
Congo, Democratic Republic of EESSE P172341 343,493,172.07 444,000,000 2024-11-30 06/24/2020
Pakistan SAC II P074968 337,517,200.80 500,000,000 2024-11-30 06/11/2002
Bangladesh Municipal Governance and Services Proje P133653 335,467,737.52 410,000,000 2024-11-30 02/10/2014
Bangladesh BD 1st Green & Climate Resilient Credit P179079 332,222,143.50 335,984,551 2024-11-30 04/28/2023
India IN: PMGSY Rural Roads Project P124639 330,775,200.11 620,600,000 2024-11-30 01/14/2011
Tanzania Dar es Salaam Maritime Gateway Project P150496 326,662,800.73 345,000,000 2024-11-30 10/02/2017
Pakistan Pakistan Competitiveness and Growth DPC P157207 320,057,044.98 390,300,000 2024-11-30 06/23/2016
Ethiopia ET-Local Govt Dev Project II P133592 319,469,333.04 380,000,000 2024-11-30 05/06/2014
Nigeria Nigeria COVID-19 Response Project P173980 317,863,419.94 400,000,000 2024-11-30 01/28/2022
Pakistan HEDP P161386 316,863,800.25 400,000,000 2024-11-30 06/17/2019
Kenya Fiscal Inclusive Green Growth (FIGG) DPO P180339 315,000,000 315,000,000 2024-11-30 05/29/2023
Nigeria NASSP-SU P176935 314,917,301.86 800,000,000 2024-11-30 08/16/2022
Bangladesh Second Recovery and Resilience DPC P178481 313,775,868.82 300,000,000 2024-11-30 06/22/2024
Tanzania TZ Sustainable RWSS P163732 309,619,583.84 350,000,000 2024-11-30 09/07/2018
Pakistan Pakistan Raises Revenue P165982 308,359,922.90 400,000,000 2024-11-30 06/17/2019
Tanzania BOOST P169380 307,635,872 500,000,000 2024-11-30 02/21/2022
Tanzania TZ-Rural Electrificatn Expansn Progr-SUF P153781 302,521,088.75 335,000,000 2024-11-30 11/21/2022
Nigeria NG-Saving One Million Lives P146583 300,277,373.97 500,000,000 2024-11-30 05/22/2015
Ghana First Resilient Recovery DPF P180718 300,000,000 300,000,000 2024-11-30 03/11/2024
Uganda UG-Support to Municipal Infra Dev P117876 299,676,180.65 335,000,000 2024-11-30 02/25/2019
India India COVID19 Response Social Protection P173943 297,994,788 309,530,000 2024-11-30 05/15/2020
Ethiopia ET Productive Safety Nets (APL III) P113220 297,641,900.92 370,000,000 2024-11-30 05/04/2012
Cote d'Ivoire CDI DPO2 FY24 P179006 297,256,890 300,000,000 2024-11-30 12/12/2023
Kenya FSRG P500912 293,876,570 300,000,000 2024-11-30 06/04/2024
India Social Protection for COVID response 2 P174027 291,400,000 291,400,000 2024-11-30 12/16/2020
Nigeria NG-Elec. Transmission Project - SUF P146330 288,387,777.01 364,000,000 2024-11-30 05/07/2018
Uganda UG COVID-19 Economic Crisis & Recovery P173906 287,352,117 300,000,000 2024-11-30 07/05/2020
Pakistan PK: Pakistan Earthquake ERC P099110 286,951,374.45 400,000,000 2024-11-30 12/22/2005
Nigeria ACReSAL P175237 286,642,514.60 700,000,000 2024-11-30 02/24/2022
Nigeria TRIMING P123112 285,667,329.15 495,300,000 2024-11-30 11/07/2014
Congo, Democratic Republic of DRC-Emerg MS Rehab & Recovery ERL (FY03) P057296 285,010,181.72 410,000,000 2024-11-30 08/14/2002
Bangladesh BD: Primary Education Dev. Program III P113435 284,332,861.72 400,000,000 2024-11-30 01/25/2015
Ethiopia Second Agricultural Growth Project P148591 283,604,262.29 350,000,000 2024-11-30 05/07/2015
Senegal Senegal Equity DPO1 P172723 282,996,165 300,000,000 2024-11-30 06/03/2022
Pakistan PK: Dasu Hydropower Stage I Project P121507 281,848,547.99 398,100,000 2024-11-30 08/25/2014
Bangladesh BD: Coastal Embankment Improvement Proj P128276 280,949,408.40 375,000,000 2024-11-30 10/01/2013
Pakistan Fiscally Sustainable & Inclusive Growth P147557 278,000,034.10 400,000,000 2024-11-30 05/02/2014
Bangladesh Multipurpose Disaster Shelter Project P146464 276,962,018.22 375,000,000 2024-11-30 01/26/2015
Bangladesh BD: Health Sector Development Program P118708 275,914,785.09 358,900,000 2024-11-30 09/12/2011
Nigeria AGILE P170664 275,736,310.08 500,000,000 2024-11-30 12/29/2020
Myanmar Myanmar NCCDP P132500 275,678,945.64 400,000,000 2024-11-30 09/21/2015
Viet Nam Local Road Asset Management Program P155086 275,611,178.81 385,000,000 2024-11-30 07/04/2016
Zambia ZM - Macro Stability and Growth DPF1 P174911 275,000,000 275,000,000 2024-11-30 10/27/2022
Nepal Earthquake Housing Reconst Project P155969 274,630,669 300,000,000 2024-11-30 01/21/2018
Cambodia Cambodia DPF P179019 274,000,000 274,000,000 2024-11-30 01/23/2023
Bangladesh Livestock Development Project P161246 273,610,918.36 500,000,000 2024-11-30 12/19/2018
Senegal Senegal: DPF2 Equit & Res Recovery P175293 272,221,395 280,000,000 2024-11-30 06/15/2023
Cote d'Ivoire Cote D'Ivoire COVID-19 Emergency DPO P174110 267,467,820 300,000,000 2024-11-30 02/19/2021
Tanzania TZ Sustainable RWSS P163732 267,048,890.25 300,000,000 2024-11-30 02/28/2023
Cote d'Ivoire CI-Electricity Transmissn and Access-SUF P157055 266,841,431.49 325,000,000 2024-11-30 04/21/2017
Bangladesh LGSP-3 P159683 266,653,721.82 300,000,000 2024-11-30 03/06/2017

14) After thinking about this roadblock for a while I wondered if I could arrive at the same result using a WHERE filter instead of just ordering the End of Period column first. You can see the query below returns the same result, although I think using the WHERE filter is a little more foolproof method of finding the most expensive projects the IDA has funded.

SQL World Bank Result Set 14

Country / Economy Project Name Project ID Due to IDA (US$) Original Principal Amount (US$) End of Period Date Agreement Signing Date
Ukraine PEACE in Ukraine Project P178946 4,800,000,000 4,800,000,000 2024-11-30 11/22/2024
Ukraine PEACE in Ukraine Project P178946 999,047,958.30 1,000,000,000 2024-11-30 06/09/2022
Kenya Kenya Growth and Fiscal DPO2 P172321 750,000,000 750,000,000 2024-11-30 05/20/2020
Kenya KE: ACCELERATING REFORMS DPF P175251 750,000,000 750,000,000 2024-11-30 06/14/2021
Nigeria RESET P501661 750,000,000 750,000,000 2024-11-30 06/19/2024
Nigeria Power Sector Recovery Performance Loan P164001 698,655,632.10 750,000,000 2024-11-30 09/30/2020
Kenya Inclusive Growth and Fiscal DPO P168204 698,192,127.96 750,000,000 2024-11-30 06/19/2019
Nigeria NG: States Fiscal TAS PforR P162009 698,080,383 750,000,000 2024-11-30 07/10/2021
Nigeria NG: States Fiscal TAS PforR P162009 651,059,542.27 750,000,000 2024-11-30 02/12/2019
Nigeria NIGERIA CARES P174114 647,375,300.23 750,000,000 2024-11-30 06/03/2021
Ethiopia Ethiopia Growth and Competitiveness P168566 565,112,691 600,000,000 2024-11-30 11/02/2018
Pakistan PK Crisis-Resilient Social Protection P174484 544,840,872.29 600,000,000 2024-11-30 03/26/2021
Ethiopia Ethiopia Enhancing Shared Prosperity P151432 539,750,122.03 600,000,000 2024-11-30 09/29/2017
Kenya KE: ACCELERATING REFORMS DPF2 P176903 520,000,000 520,000,000 2024-11-30 03/18/2022
Bangladesh QLEAP P162619 512,625,717.24 700,000,000 2024-11-30 06/28/2018
Ethiopia Ethiopia Enhancing Shared Prosperity P151432 508,178,121.30 600,000,000 2024-11-30 10/22/2015
Nigeria Better Education Service Delivery for Al P160430 505,469,399.34 578,000,000 2024-11-30 09/29/2017
India IN: SSA III P144447 502,850,700.61 841,400,000 2024-11-30 05/29/2014
Congo, Democratic Republic of DRC Foundational Reforms DPF P179141 500,000,000 500,000,000 2024-11-30 03/30/2023
Tanzania Tanzania 2nd inclusive & resilient DPF P180504 500,000,000 500,000,000 2024-11-30 12/21/2023
Ethiopia Ethiopia DPO-1 P181591 499,548,582 500,000,000 2024-11-30 07/30/2024
Ethiopia ET-Promoting Basic Services Phase III P128891 492,406,609.03 600,000,000 2024-11-30 10/18/2012
Sri Lanka Sri Lanka RESET DPO P179808 487,723,392 500,000,000 2024-11-30 06/28/2023
Pakistan Pakistan Human Capital DPF Series P170568 481,416,622.11 500,000,000 2024-11-30 06/19/2020
Bangladesh BD: Rural Electricity T and Distribution P129920 479,902,257.12 600,000,000 2024-11-30 06/19/2014
Uzbekistan Uzbekistan Reforms for Transition DPO P166019 475,250,000 500,000,000 2024-11-30 07/12/2018
Bangladesh Transforming Secondary Edu for Results P160943 445,757,279.96 510,000,000 2024-11-30 08/13/2018
Pakistan Sindh Flood Emergency Project P179981 445,605,662.40 500,000,000 2024-11-30 01/06/2023
Bangladesh HSSP P160846 445,043,299.97 500,000,000 2024-11-30 08/28/2017
Ethiopia ET Productive Safety Nets Project 4 P146883 442,510,517.11 600,000,000 2024-11-30 10/31/2014
Tanzania Secondary Education Quality Improvement P170480 431,387,918.22 500,000,000 2024-11-30 05/21/2020
Bangladesh COVID-19 ERPP Project P173757 427,664,656.76 500,000,000 2024-11-30 04/11/2021
Tanzania TZ-PSSN II P169165 424,256,045.87 450,000,000 2024-11-30 10/07/2019
Bangladesh Safety Net Systems for the Poorest P132634 421,683,252.88 500,000,000 2024-11-30 10/04/2013
Pakistan PK: Power Sector Reform DPC P128258 417,053,822.91 600,000,000 2024-11-30 05/02/2014
Nigeria National Social Safety Nets Project P151488 411,108,300.71 500,000,000 2024-11-30 01/27/2017
Kenya EA Reg.Transp.Trade Dev. Facil. Ph-2 P148853 410,920,464.92 500,000,000 2024-11-30 07/20/2015
Pakistan Pakistan: Power Sector Reform DPC 2 P152021 406,236,796.06 500,000,000 2024-11-30 11/20/2015
Nigeria Erosion & Watershed Mgt Project P124905 401,176,140.30 500,000,000 2024-11-30 04/16/2013
Pakistan PK: Growth DPC-II P151620 397,843,276.19 500,000,000 2024-11-30 06/18/2015
Pakistan PK Flood Housing Reconstruction Project P180008 396,248,976.05 500,000,000 2024-11-30 01/06/2023
Nigeria Fin Sec + Pub Fin Mgmt DPC P117088 377,709,707.70 500,000,000 2024-11-30 09/24/2009
Nigeria NG Child Health for Human Capital MPA P167156 369,728,144.90 650,000,000 2024-11-30 09/18/2020
Pakistan SHIFT DPCII P172628 366,055,326 400,000,000 2024-11-30 06/29/2021
India IN: Elementary Education (SSA II) P102547 364,603,455.45 750,000,000 2024-11-30 05/07/2010
Pakistan Poverty Reduction & Econ. Support Oper. P113372 364,112,381.59 500,000,000 2024-11-30 03/26/2009
Pakistan PFM/accountability to supp. service deli P157507 354,919,571.43 400,000,000 2024-11-30 12/29/2017
Cote d'Ivoire CDI DPF1 FY23 P178064 349,968,755 329,000,000 2024-11-30 12/09/2022
Myanmar Reengagement and Reform Support Program P133706 348,132,012.96 440,000,000 2024-11-30 01/22/2013
Congo, Democratic Republic of EESSE P172341 343,493,172.07 444,000,000 2024-11-30 06/24/2020
Pakistan SAC II P074968 337,517,200.80 500,000,000 2024-11-30 06/11/2002
Bangladesh Municipal Governance and Services Proje P133653 335,467,737.52 410,000,000 2024-11-30 02/10/2014
Bangladesh BD 1st Green & Climate Resilient Credit P179079 332,222,143.50 335,984,551 2024-11-30 04/28/2023
India IN: PMGSY Rural Roads Project P124639 330,775,200.11 620,600,000 2024-11-30 01/14/2011
Tanzania Dar es Salaam Maritime Gateway Project P150496 326,662,800.73 345,000,000 2024-11-30 10/02/2017
Pakistan Pakistan Competitiveness and Growth DPC P157207 320,057,044.98 390,300,000 2024-11-30 06/23/2016
Ethiopia ET-Local Govt Dev Project II P133592 319,469,333.04 380,000,000 2024-11-30 05/06/2014
Nigeria Nigeria COVID-19 Response Project P173980 317,863,419.94 400,000,000 2024-11-30 01/28/2022
Pakistan HEDP P161386 316,863,800.25 400,000,000 2024-11-30 06/17/2019
Kenya Fiscal Inclusive Green Growth (FIGG) DPO P180339 315,000,000 315,000,000 2024-11-30 05/29/2023
Nigeria NASSP-SU P176935 314,917,301.86 800,000,000 2024-11-30 08/16/2022
Bangladesh Second Recovery and Resilience DPC P178481 313,775,868.82 300,000,000 2024-11-30 06/22/2024
Tanzania TZ Sustainable RWSS P163732 309,619,583.84 350,000,000 2024-11-30 09/07/2018
Pakistan Pakistan Raises Revenue P165982 308,359,922.90 400,000,000 2024-11-30 06/17/2019
Tanzania BOOST P169380 307,635,872 500,000,000 2024-11-30 02/21/2022
Tanzania TZ-Rural Electrificatn Expansn Progr-SUF P153781 302,521,088.75 335,000,000 2024-11-30 11/21/2022
Nigeria NG-Saving One Million Lives P146583 300,277,373.97 500,000,000 2024-11-30 05/22/2015
Ghana First Resilient Recovery DPF P180718 300,000,000 300,000,000 2024-11-30 03/11/2024
Uganda UG-Support to Municipal Infra Dev P117876 299,676,180.65 335,000,000 2024-11-30 02/25/2019
India India COVID19 Response Social Protection P173943 297,994,788 309,530,000 2024-11-30 05/15/2020
Ethiopia ET Productive Safety Nets (APL III) P113220 297,641,900.92 370,000,000 2024-11-30 05/04/2012
Cote d'Ivoire CDI DPO2 FY24 P179006 297,256,890 300,000,000 2024-11-30 12/12/2023
Kenya FSRG P500912 293,876,570 300,000,000 2024-11-30 06/04/2024
India Social Protection for COVID response 2 P174027 291,400,000 291,400,000 2024-11-30 12/16/2020
Nigeria NG-Elec. Transmission Project - SUF P146330 288,387,777.01 364,000,000 2024-11-30 05/07/2018
Uganda UG COVID-19 Economic Crisis & Recovery P173906 287,352,117 300,000,000 2024-11-30 07/05/2020
Pakistan PK: Pakistan Earthquake ERC P099110 286,951,374.45 400,000,000 2024-11-30 12/22/2005
Nigeria ACReSAL P175237 286,642,514.60 700,000,000 2024-11-30 02/24/2022
Nigeria TRIMING P123112 285,667,329.15 495,300,000 2024-11-30 11/07/2014
Congo, Democratic Republic of DRC-Emerg MS Rehab & Recovery ERL (FY03) P057296 285,010,181.72 410,000,000 2024-11-30 08/14/2002
Bangladesh BD: Primary Education Dev. Program III P113435 284,332,861.72 400,000,000 2024-11-30 01/25/2015
Ethiopia Second Agricultural Growth Project P148591 283,604,262.29 350,000,000 2024-11-30 05/07/2015
Senegal Senegal Equity DPO1 P172723 282,996,165 300,000,000 2024-11-30 06/03/2022
Pakistan PK: Dasu Hydropower Stage I Project P121507 281,848,547.99 398,100,000 2024-11-30 08/25/2014
Bangladesh BD: Coastal Embankment Improvement Proj P128276 280,949,408.40 375,000,000 2024-11-30 10/01/2013
Pakistan Fiscally Sustainable & Inclusive Growth P147557 278,000,034.10 400,000,000 2024-11-30 05/02/2014
Bangladesh Multipurpose Disaster Shelter Project P146464 276,962,018.22 375,000,000 2024-11-30 01/26/2015
Bangladesh BD: Health Sector Development Program P118708 275,914,785.09 358,900,000 2024-11-30 09/12/2011
Nigeria AGILE P170664 275,736,310.08 500,000,000 2024-11-30 12/29/2020
Myanmar Myanmar NCCDP P132500 275,678,945.64 400,000,000 2024-11-30 09/21/2015
Viet Nam Local Road Asset Management Program P155086 275,611,178.81 385,000,000 2024-11-30 07/04/2016
Zambia ZM - Macro Stability and Growth DPF1 P174911 275,000,000 275,000,000 2024-11-30 10/27/2022
Nepal Earthquake Housing Reconst Project P155969 274,630,669 300,000,000 2024-11-30 01/21/2018
Cambodia Cambodia DPF P179019 274,000,000 274,000,000 2024-11-30 01/23/2023
Bangladesh Livestock Development Project P161246 273,610,918.36 500,000,000 2024-11-30 12/19/2018
Senegal Senegal: DPF2 Equit & Res Recovery P175293 272,221,395 280,000,000 2024-11-30 06/15/2023
Cote d'Ivoire Cote D'Ivoire COVID-19 Emergency DPO P174110 267,467,820 300,000,000 2024-11-30 02/19/2021
Tanzania TZ Sustainable RWSS P163732 267,048,890.25 300,000,000 2024-11-30 02/28/2023
Cote d'Ivoire CI-Electricity Transmissn and Access-SUF P157055 266,841,431.49 325,000,000 2024-11-30 04/21/2017
Bangladesh LGSP-3 P159683 266,653,721.82 300,000,000 2024-11-30 03/06/2017

15) Next I wanted to explore the service charge rate for different projects as well as the credit statuses of projects funded by the IDA. The query below just returns the average service charge rate for all projects in this dataset, which would include assessments of projects from 2011 – 2024.

SQL World Bank Result Set 15

AVG("Service Charge Rate")
0.7080854304

16) And this query returns the average service charge rate for all projects assessed at the end of Nov 2024.

SQL World Bank Result Set 16

AVG(bd."Service Charge Rate" )
0.7165901609

17) I thought it also might be helpful to know how the service charge rate has changed over time. The query below groups the average service charge rate by the date of project assessment, which is the End of Period column.

SQL World Bank Result Set 17

Projects AVG Service Charge Rate % Assessment Date
10,631 0.7165901609 2024-11-30
10,629 0.7158236899 2024-10-31
10,611 0.7168080294 2024-09-30
10,587 0.7179182016 2024-08-31
10,573 0.7179703017 2024-07-31
10,556 0.7178751421 2024-06-30
10,498 0.7194208421 2024-05-31
10,465 0.7205054945 2024-04-30
10,445 0.7208224031 2024-03-31
10,415 0.7212155545 2024-02-29
10,401 0.7210720123 2024-01-31
10,384 0.7217112866 2023-12-31
10,334 0.7189249081 2023-11-30
10,293 0.7205304576 2023-10-31
10,288 0.7199290435 2023-09-30
10,245 0.7220390434 2023-08-31
10,239 0.7208653189 2023-07-31
10,226 0.7202082926 2023-06-30
10,160 0.7223759843 2023-05-31
10,107 0.7239141189 2023-04-30
10,098 0.7222321252 2023-03-31
10,068 0.7240276122 2023-02-28
10,065 0.7239801292 2023-01-31
10,063 0.7214478784 2022-12-31
9,998 0.7207011402 2022-11-30
9,991 0.7236372735 2022-10-31
9,989 0.7208669536 2022-09-30
9,969 0.7186799077 2022-08-31
9,966 0.711691752 2022-07-31
9,947 0.709142455 2022-06-30
9,809 0.7121786115 2022-05-31
9,750 0.7141046154 2022-04-30
9,726 0.7132798684 2022-03-31
9,664 0.7163069123 2022-02-28
9,652 0.7162339412 2022-01-31
9,647 0.7156732663 2021-12-31
9,580 0.7165939457 2021-11-30
9,560 0.7151464435 2021-10-31
9,559 0.7116602155 2021-09-30
9,537 0.710352312 2021-08-31
9,527 0.7070221476 2021-07-31
9,516 0.7032366541 2021-06-30
9,373 0.7095070948 2021-05-31
9,349 0.7099497272 2021-04-30
9,331 0.7088854356 2021-03-31
9,281 0.7091768128 2021-02-28
9,267 0.7093784396 2021-01-31
9,256 0.7086084702 2020-12-31
9,208 0.7133622937 2020-11-30
9,201 0.7150929247 2020-10-31
9,189 0.7180814017 2020-09-30
9,159 0.7195567202 2020-08-31
9,140 0.7206017505 2020-07-31
9,103 0.7231253433 2020-06-30
8,999 0.729947772 2020-05-31
8,938 0.7317666145 2020-04-30
8,857 0.7328023033 2020-03-31
8,793 0.7368395314 2020-02-29
8,770 0.7374116306 2020-01-31
8,762 0.7365647113 2019-12-31
8,732 0.7377714155 2019-11-30
8,716 0.7377661771 2019-10-31
8,706 0.7359039743 2019-09-30
8,694 0.7354761905 2019-08-31
8,682 0.7338078784 2019-07-31
8,658 0.7342457842 2019-06-30
8,609 0.7354013242 2019-05-31
8,556 0.7375525947 2019-04-30
8,541 0.7404390587 2019-03-31
8,505 0.741888301 2019-02-28
8,493 0.740631108 2019-01-31
8,485 0.7389723041 2018-12-31
8,455 0.7397788291 2018-11-30
8,440 0.7387203791 2018-10-31
8,410 0.7400760999 2018-09-30
8,381 0.7411096528 2018-08-31
8,368 0.7403381931 2018-07-31
8,330 0.7394417767 2018-06-30
8,278 0.739545784 2018-05-31
8,233 0.7407275598 2018-04-30
8,202 0.7412631066 2018-03-31
8,172 0.7420839452 2018-02-28
8,163 0.7398186941 2018-01-31
8,154 0.7372283542 2017-12-31
8,116 0.6230285855 2017-11-30
8,101 0.6232563881 2017-10-31
8,096 0.6219738142 2017-09-30
8,081 0.6225714639 2017-08-31
8,074 0.6205102799 2017-07-31
8,055 0.7211198014 2017-06-30
7,980 0.7234987469 2017-05-31
7,923 0.7259346207 2017-04-30
7,893 0.7253249715 2017-03-31
7,849 0.726176583 2017-02-28
7,835 0.7237102744 2017-01-31
7,817 0.7228617117 2016-12-31
7,788 0.7223793015 2016-11-30
7,774 0.7217121173 2016-10-31
7,769 0.7210593384 2016-09-30
7,757 0.7188732758 2016-08-31
7,750 0.7165316129 2016-07-31
7,738 0.7167536831 2016-06-30
7,679 0.7184633416 2016-05-31
7,633 0.7212445958 2016-04-30
7,620 0.720660105 2016-03-31
7,596 0.7209570827 2016-02-29
7,591 0.7194058754 2016-01-31
7,589 0.7179430755 2015-12-31
7,569 0.7153190646 2015-11-30
7,556 0.7131021705 2015-10-31
7,551 0.7059276917 2015-09-30
7,532 0.7037865109 2015-08-31
7,526 0.6996319426 2015-07-31
7,512 0.6955617678 2015-06-30
7,447 0.6979736807 2015-05-31
7,405 0.6997002026 2015-04-30
7,380 0.7000718157 2015-03-31
7,355 0.7002991162 2015-02-28
7,343 0.6998774343 2015-01-31
7,336 0.6987731734 2014-12-31
7,296 0.6951809211 2014-11-30
7,278 0.6928840341 2014-10-31
7,270 0.6892833563 2014-09-30
7,258 0.6851212455 2014-08-31
7,255 0.6779724328 2014-07-31
7,237 0.67275114 2014-06-30
7,168 0.6755998884 2014-05-31
7,118 0.6756532734 2014-04-30
7,084 0.6761928289 2014-03-31
7,030 0.6797652916 2014-02-28
7,014 0.6797120046 2014-01-31
7,007 0.6785000714 2013-12-31
6,963 0.6787562832 2013-11-30
6,948 0.6785276339 2013-10-31
6,940 0.6762507205 2013-09-30
6,930 0.6760692641 2013-08-31
6,918 0.6732480486 2013-07-31
6,908 0.6698639259 2013-06-30
6,869 0.6714470811 2013-05-31
6,832 0.6721194379 2013-04-30
6,819 0.6717876521 2013-03-31
6,788 0.6737139069 2013-02-28
6,778 0.6730112127 2013-01-31
6,771 0.6730054645 2012-12-31
6,760 0.6711789941 2012-11-30
6,745 0.670966642 2012-10-31
6,728 0.6702838882 2012-09-30
6,701 0.6710073123 2012-08-31
6,700 0.6704358209 2012-07-31
6,681 0.6696856758 2012-06-30
6,644 0.6685535822 2012-05-31
6,605 0.6692460257 2012-04-30
6,599 0.6671647219 2012-03-31
6,560 0.6699878049 2012-02-29
6,550 0.6698656489 2012-01-31
6,541 0.668234215 2011-12-31
6,514 0.6685477433 2011-11-30
6,506 0.6683323086 2011-10-31
6,502 0.6675899723 2011-09-30
6,498 0.664430594 2011-08-31
6,492 0.6622720271 2011-07-31
6,479 0.6612856922 2011-06-30
6,397 0.6660966078 2011-05-31
6,361 0.6673903474 2011-04-30

18) And this query shows the average service charge rate of all projects belonging to a single country.

SQL World Bank Result Set 18

Projects Country / Economy Average Service Charge Rate Assessment Date
442 India 1.094253394 2024-11-30

19) I also wrote a query to return all projects from a single country that have a service charge rate higher than the average service charge rate across projects from all countries.

SQL World Bank Result Set 19

Country / Economy Project Name Project ID Service Charge Rate End of Period Date
Honduras Honduras COVID-19 Response Project P173861 3.09 2024-11-30
Honduras Honduras COMRURAL III P174328 3.09 2024-11-30
Honduras HN SP Integration P152057 3.09 2024-11-30
Honduras HN SP Integration P152057 2.92 2024-11-30
Honduras COMRURAL II P168385 2.92 2024-11-30
Honduras TEGUCIGALPA: WATER SUPPLY STRENGTHENING P170469 2.92 2024-11-30
Honduras HN Rural Competitiveness Project P101209 2.85 2024-11-30
Honduras Honduras ECE Improvement Project P169161 2.82 2024-11-30
Honduras HN Fiscal Sustainability DPC P151803 2.8 2024-11-30
Honduras HN Social Protection P115592 2.78 2024-11-30
Honduras Honduras First Fiscal Sustainability DPF P155920 2.78 2024-11-30
Honduras RESHAPE P176532 2.66 2024-11-30
Honduras Honduras Second Cat DDO P177001 2.66 2024-11-30
Honduras Strengthening Identification Ecosystem P181324 2.65 2024-11-30
Honduras Honduras Cat DDO P172567 2.64 2024-11-30
Honduras Honduras COVID-19 Response Project P173861 2.64 2024-11-30
Honduras DRY CORRIDOR HONDURAS P169901 2.64 2024-11-30
Honduras Urban Water Supply Strengthening Project P173125 2.64 2024-11-30
Honduras Honduras Tropical Cyclones Eta&Iota ERL P175977 2.6 2024-11-30
Honduras HN Improving Public Sector Performance P110050 2 2024-11-30
Honduras HN 1st Progr. Reduc. Vulner. Growth DPC P127331 2 2024-11-30
Honduras HN Disaster Risk Management Project P131094 2 2024-11-30
Honduras HN Safer Municipalities P130819 2 2024-11-30
Honduras HN WATER AND SANITATION PROGRAM P103881 2 2024-11-30
Honduras HN (CRL1) Rural Infrastructure Project P086775 2 2024-11-30
Honduras HN Social Protection P115592 2 2024-11-30
Honduras WESTERN HIGHWAY P007335 0.75 2024-11-30
Honduras NORTH ROAD PROJECT P007336 0.75 2024-11-30
Honduras RIO LINDO HYDRO POWE P007339 0.75 2024-11-30
Honduras LIVESTOCK CREDIT P007340 0.75 2024-11-30
Honduras POWER DISTRIBUTION P007341 0.75 2024-11-30
Honduras LIVESTOCK II P007345 0.75 2024-11-30
Honduras EDUCATION P007346 0.75 2024-11-30
Honduras AGRICULTURAL CREDIT P007348 0.75 2024-11-30
Honduras PORT III P007351 0.75 2024-11-30
Honduras EDUCATION II P007353 0.75 2024-11-30
Honduras PWR VII EL CAJON HYD P007359 0.75 2024-11-30
Honduras AGRIC CREDIT II P007357 0.75 2024-11-30
Honduras SAC P007390 0.75 2024-11-30
Honduras SOCIAL FUND P007389 0.75 2024-11-30
Honduras ENERGY SCTR P007384 0.75 2024-11-30
Honduras ENERGY SCTR P007384 0.75 2024-11-30
Honduras ENERGY SCTR P007384 0.75 2024-11-30
Honduras SOC INV FUND II P007394 0.75 2024-11-30
Honduras MORAZAN DAM EMERGENC P007374 0.75 2024-11-30
Honduras HN/NUTRITION/HEALTH P007392 0.75 2024-11-30
Honduras HN/NUTRITION/HEALTH P007392 0.75 2024-11-30
Honduras TRNSPRT SCTR RHB P007388 0.75 2024-11-30
Honduras TRNSPRT SCTR RHB P007388 0.75 2024-11-30
Honduras AGR SCTR CREDIT P007377 0.75 2024-11-30
Honduras AGR SCTR CREDIT P007377 0.75 2024-11-30
Honduras AGR SCTR CREDIT P007377 0.75 2024-11-30
Honduras ENVIRON. DEVELOPMENT P007396 0.75 2024-11-30
Honduras HN- BASIC EDUCATION P007399 0.75 2024-11-30
Honduras HN/SOC INV FUND III P037709 0.75 2024-11-30
Honduras HN PUB SEC MOD TAC P034607 0.75 2024-11-30
Honduras HN PUB SEC MOD SAC P007387 0.75 2024-11-30
Honduras HN PUB SEC MOD SAC P007387 0.75 2024-11-30
Honduras HN PUB SEC MOD SAC P007387 0.75 2024-11-30
Honduras HN PUB SEC MOD SAC P007387 0.75 2024-11-30
Honduras HN PUB SEC MOD SAC P007387 0.75 2024-11-30
Honduras HN Rural Land Mgmt (+ JSDF Coffee Mkts) P007398 0.75 2024-11-30
Honduras HN Rural Land Mgmt (+ JSDF Coffee Mkts) P007398 0.75 2024-11-30
Honduras HN Fourth Social Investment Fund P048651 0.75 2024-11-30
Honduras HN Fourth Social Investment Fund P048651 0.75 2024-11-30
Honduras HO HURRICANE EMERGENCY P064083 0.75 2024-11-30
Honduras HN PROFUTURO P057350 0.75 2024-11-30
Honduras HN PROFUTURO P057350 0.75 2024-11-30
Honduras HN PROFUTURO P057350 0.75 2024-11-30
Honduras HN EMERG DISASTER MGMT (TAL) P064913 0.75 2024-11-30
Honduras HN EMERG DISASTER MGMT (TAL) P064913 0.75 2024-11-30
Honduras HN EMERG DISASTER MGMT (TAL) P064913 0.75 2024-11-30
Honduras HN ECONOMIC & FIN.MANAGEMENT PROJECT P060785 0.75 2024-11-30
Honduras HN ECONOMIC & FIN.MANAGEMENT PROJECT P060785 0.75 2024-11-30
Honduras HN ROAD RECONSTRUCTION AND IMPROVEMENT P057538 0.75 2024-11-30
Honduras HN ROAD RECONSTRUCTION AND IMPROVEMENT P057538 0.75 2024-11-30
Honduras HN Access to Land Pilot (PACTA) P073035 0.75 2024-11-30
Honduras HN Access to Land Pilot (PACTA) P073035 0.75 2024-11-30
Honduras HN FIFTH SOCIAL INVESTMENT FUND PROJECT P064895 0.75 2024-11-30
Honduras HN FIFTH SOCIAL INVESTMENT FUND PROJECT P064895 0.75 2024-11-30
Honduras HN COMMUNITY-BASED EDUCATION PROJECT P007397 0.75 2024-11-30
Honduras HN COMMUNITY-BASED EDUCATION PROJECT P007397 0.75 2024-11-30
Honduras HN SUST COASTAL TOURISM PROJECT (LIL) P057859 0.75 2024-11-30
Honduras HN SUST COASTAL TOURISM PROJECT (LIL) P057859 0.75 2024-11-30
Honduras HN- HEALTH SYSTEM REFORM PROJECT P053575 0.75 2024-11-30
Honduras HN- HEALTH SYSTEM REFORM PROJECT P053575 0.75 2024-11-30
Honduras HN Regional Dev in the Copan Valley P081172 0.75 2024-11-30
Honduras HN Regional Dev in the Copan Valley P081172 0.75 2024-11-30
Honduras HN Financial Sector Technical Assistance P040177 0.75 2024-11-30
Honduras HN Trade Facilitatio & Productivity Enha P070038 0.75 2024-11-30
Honduras HN LAND ADMINISTRATION PROGRAM P055991 0.75 2024-11-30
Honduras HN Nuestras Raices Program P083244 0.75 2024-11-30
Honduras HN PRS TAC P083851 0.75 2024-11-30
Honduras HN FORESTS & RURAL PRODUCTIVITY P064914 0.75 2024-11-30
Honduras HN PRSC P074758 0.75 2024-11-30
Honduras HN PRSC P074758 0.75 2024-11-30
Honduras HN First Prog Fin Sec Dev Pol Credit P083311 0.75 2024-11-30
Honduras HN Debt Relief Credit P094450 0.75 2024-11-30
Honduras HN (CRL) Barrio-Ciudad Project P088319 0.75 2024-11-30
Honduras HN Nutrition and Social Protection P082242 0.75 2024-11-30
Honduras HN JUDICIAL BRANCH MODERNIZATION P081516 0.75 2024-11-30
Honduras HN (CRL1) Rural Infrastructure Project P086775 0.75 2024-11-30
Honduras HN WATER AND SANITATION PROGRAM P103881 0.75 2024-11-30
Honduras HN Education Quality, Governance & Insti P101218 0.75 2024-11-30
Honduras HN Rural Competitiveness Project P101209 0.75 2024-11-30
Honduras HN Road Rehabilitation & Improvement II P109058 0.75 2024-11-30
Honduras HN First Prog Fin Sec Dev Pol Credit P083311 0.75 2024-11-30
Honduras HN Power Sector Efficiency Enhancement P104034 0.75 2024-11-30
Honduras HN Road Rehabilitation & Improvement II P109058 0.75 2024-11-30
Honduras HN (APL2) Land Administration P106680 0.75 2024-11-30
Honduras HN Social Protection P115592 0.75 2024-11-30
Honduras HN Emergency Recovery Dev Policy Credit P121220 0.75 2024-11-30
Honduras HN Nutrition and Social Protection P082242 0.75 2024-11-30

20) The last query I wrote related to the service charge rate is below, this one shows the countries with the highest average service charge rate for all their projects with the World Bank.

SQL World Bank Result Set 20

Projects Country / Economy Average Service Charge Rate Assessment Date
1 St. Kitts and Nevis 4.55 2024-11-30
20 North Macedonia 2.965 2024-11-30
68 Albania 2.785294118 2024-11-30
66 Armenia 2.272727273 2024-11-30
65 Uzbekistan 1.875692308 2024-11-30
133 Bolivia 1.267894737 2024-11-30
42 Papua New Guinea 1.25 2024-11-30
186 Viet Nam 1.201236559 2024-11-30
150 Nigeria 1.190866667 2024-11-30
115 Honduras 1.151652174 2024-11-30
24 Angola 1.141666667 2024-11-30
321 Pakistan 1.135420561 2024-11-30
442 India 1.094253394 2024-11-30
61 Mongolia 1.08 2024-11-30
77 Moldova 1.046233766 2024-11-30
42 Grenada 1.021904762 2024-11-30
265 Ghana 1.004603774 2024-11-30
35 St. Vincent and the Grenadines 0.9931428571 2024-11-30
69 Congo, Republic of 0.9676811594 2024-11-30
79 Lesotho 0.9669620253 2024-11-30
42 St. Lucia 0.9561904762 2024-11-30
153 Sri Lanka 0.9394117647 2024-11-30
152 Zambia 0.9047368421 2024-11-30
109 Nicaragua 0.8906422018 2024-11-30
51 Myanmar 0.8823529412 2024-11-30
68 Georgia 0.8808823529 2024-11-30
73 Bosnia and Herzegovina 0.8547945205 2024-11-30
132 Cameroon 0.8321212121 2024-11-30
17 Jordan 0.8247058824 2024-11-30
373 Bangladesh 0.8215817694 2024-11-30
45 Azerbaijan 0.8166666667 2024-11-30
244 Kenya 0.8161065574 2024-11-30
55 Guyana 0.8090909091 2024-11-30
127 Lao People's Democratic Republic 0.8070866142 2024-11-30
32 Dominica 0.7603125 2024-11-30
81 Cambodia 0.7532098765 2024-11-30
14 Turkiye 0.75 2024-11-30
10 Tunisia 0.75 2024-11-30
6 Thailand 0.75 2024-11-30
4 Taiwan, China 0.75 2024-11-30
4 Syrian Arab Republic 0.75 2024-11-30
9 Philippines 0.75 2024-11-30
8 Paraguay 0.75 2024-11-30
5 Morocco 0.75 2024-11-30
11 Montenegro 0.75 2024-11-30
5 Mauritius 0.75 2024-11-30
1 Lebanon 0.75 2024-11-30
9 Korea, Republic of 0.75 2024-11-30
5 Iraq 0.75 2024-11-30
80 Indonesia 0.75 2024-11-30
2 Eswatini 0.75 2024-11-30
10 Equatorial Guinea 0.75 2024-11-30
4 El Salvador 0.75 2024-11-30
52 Egypt, Arab Republic of 0.75 2024-11-30
6 Ecuador 0.75 2024-11-30
3 Dominican Republic 0.75 2024-11-30
1 Costa Rica 0.75 2024-11-30
1 Colombia 0.75 2024-11-30
134 China 0.75 2024-11-30
1 Chile 0.75 2024-11-30
6 Botswana 0.75 2024-11-30
134 Cote d'Ivoire 0.7389552239 2024-11-30
39 Bhutan 0.7371794872 2024-11-30
40 Kosovo 0.7355 2024-11-30
293 Tanzania 0.7345392491 2024-11-30
247 Senegal 0.733562753 2024-11-30
69 Cabo Verde 0.7173913043 2024-11-30
21 Serbia 0.7142857143 2024-11-30
15 Zimbabwe 0.7 2024-11-30
77 Djibouti 0.6883116883 2024-11-30
56 Sudan 0.6830357143 2024-11-30
142 Mauritania 0.6633802817 2024-11-30
213 Uganda 0.6514084507 2024-11-30
13 Fiji 0.6346153846 2024-11-30
217 Madagascar 0.6221198157 2024-11-30
186 Benin 0.6 2024-11-30
199 Nepal 0.5804020101 2024-11-30
265 Ethiopia 0.5764150943 2024-11-30
205 Mali 0.556097561 2024-11-30
18 Eritrea 0.5416666667 2024-11-30
187 Rwanda 0.5205882353 2024-11-30
219 Malawi 0.520456621 2024-11-30
208 Niger 0.4903846154 2024-11-30
150 Guinea 0.4898666667 2024-11-30
219 Burkina Faso 0.4863013699 2024-11-30
227 Yemen, Republic of 0.4823788546 2024-11-30
206 Mozambique 0.4587378641 2024-11-30
114 Liberia 0.4555263158 2024-11-30
129 Togo 0.4534883721 2024-11-30
5 Central Africa 0.45 2024-11-30
188 Congo, Democratic Republic of 0.447712766 2024-11-30
71 Guinea-Bissau 0.4436619718 2024-11-30
18 Timor-Leste 0.4277777778 2024-11-30
133 Sierra Leone 0.3978195489 2024-11-30
122 Chad 0.393442623 2024-11-30
48 Maldives 0.390625 2024-11-30
26 Vanuatu 0.375 2024-11-30
172 Kyrgyz Republic 0.375 2024-11-30
10 Caribbean 0.375 2024-11-30
94 Gambia, The 0.3670212766 2024-11-30
129 Burundi 0.3662790698 2024-11-30
82 Somalia 0.3658536585 2024-11-30
67 Comoros 0.3582089552 2024-11-30
49 Samoa 0.3520408163 2024-11-30
60 Solomon Islands 0.3401666667 2024-11-30
94 Central African Republic 0.295212766 2024-11-30
123 Tajikistan 0.2806504065 2024-11-30
115 Haiti 0.2413043478 2024-11-30
50 Sao Tome and Principe 0.225 2024-11-30
50 Tonga 0.195 2024-11-30
131 Afghanistan 0.1832061069 2024-11-30
38 South Sudan 0.0986842105 2024-11-30
63 Eastern and Southern Africa 0.0646031746 2024-11-30
60 Western and Central Africa 0.0625 2024-11-30
5 Ukraine 0 2024-11-30
28 Tuvalu 0 2024-11-30
1 South East Asia 0 2024-11-30
4 South Asia 0 2024-11-30
10 Pacific Islands 0 2024-11-30
3 OECS Countries 0 2024-11-30
1 Middle East and North Africa 0 2024-11-30
14 Micronesia, Federated States of 0 2024-11-30
1 Mekong 0 2024-11-30
21 Marshall Islands 0 2024-11-30
25 Kiribati 0 2024-11-30
1 East Asia and Pacific 0 2024-11-30
4 Central Asia 0 2024-11-30
1 Central America 0 2024-11-30

21) Next I wanted to explore the credit statuses of these projects, the query below returns the number of projects currently in different credit statuses.

SQL World Bank Result Set 21

Projects Credit Status Assessment Date
39 Approved 2024-11-30
1,725 Disbursing 2024-11-30
354 Disbursing & Repaying 2024-11-30
224 Effective 2024-11-30
127 Fully Cancelled 2024-11-30
1,486 Fully Disbursed 2024-11-30
2,471 Fully Repaid 2024-11-30
4,093 Repaying 2024-11-30
71 Signed 2024-11-30
41 Terminated 2024-11-30

22) And this query groups those projects by country.

SQL World Bank Result Set 22

Projects Country / Economy Credit Status Assessment Date
28 Afghanistan Disbursing 2024-11-30
1 Afghanistan Effective 2024-11-30
7 Afghanistan Fully Cancelled 2024-11-30
65 Afghanistan Fully Disbursed 2024-11-30
18 Afghanistan Fully Repaid 2024-11-30
9 Afghanistan Repaying 2024-11-30
3 Afghanistan Terminated 2024-11-30
3 Albania Fully Repaid 2024-11-30
65 Albania Repaying 2024-11-30
3 Angola Fully Disbursed 2024-11-30
21 Angola Repaying 2024-11-30
1 Armenia Disbursing&Repaying 2024-11-30
65 Armenia Repaying 2024-11-30
25 Azerbaijan Fully Repaid 2024-11-30
20 Azerbaijan Repaying 2024-11-30
5 Bangladesh Approved 2024-11-30
32 Bangladesh Disbursing 2024-11-30
36 Bangladesh Disbursing&Repaying 2024-11-30
6 Bangladesh Effective 2024-11-30
5 Bangladesh Fully Cancelled 2024-11-30
15 Bangladesh Fully Disbursed 2024-11-30
5 Bangladesh Fully Repaid 2024-11-30
267 Bangladesh Repaying 2024-11-30
2 Bangladesh Terminated 2024-11-30
1 Benin Approved 2024-11-30
40 Benin Disbursing 2024-11-30
5 Benin Disbursing&Repaying 2024-11-30
6 Benin Effective 2024-11-30
1 Benin Fully Cancelled 2024-11-30
29 Benin Fully Disbursed 2024-11-30
62 Benin Fully Repaid 2024-11-30
41 Benin Repaying 2024-11-30
1 Benin Signed 2024-11-30
3 Bhutan Disbursing 2024-11-30
1 Bhutan Disbursing&Repaying 2024-11-30
16 Bhutan Fully Disbursed 2024-11-30
19 Bhutan Repaying 2024-11-30
3 Bolivia Disbursing 2024-11-30
3 Bolivia Disbursing&Repaying 2024-11-30
2 Bolivia Fully Disbursed 2024-11-30
83 Bolivia Fully Repaid 2024-11-30
42 Bolivia Repaying 2024-11-30
3 Bosnia and Herzegovina Fully Cancelled 2024-11-30
70 Bosnia and Herzegovina Repaying 2024-11-30
6 Botswana Fully Repaid 2024-11-30
43 Burkina Faso Disbursing 2024-11-30
2 Burkina Faso Disbursing&Repaying 2024-11-30
4 Burkina Faso Effective 2024-11-30
1 Burkina Faso Fully Cancelled 2024-11-30
49 Burkina Faso Fully Disbursed 2024-11-30
63 Burkina Faso Fully Repaid 2024-11-30
54 Burkina Faso Repaying 2024-11-30
3 Burkina Faso Signed 2024-11-30
20 Burundi Disbursing 2024-11-30
3 Burundi Effective 2024-11-30
41 Burundi Fully Disbursed 2024-11-30
54 Burundi Fully Repaid 2024-11-30
9 Burundi Repaying 2024-11-30
2 Burundi Signed 2024-11-30
14 Cabo Verde Disbursing 2024-11-30
2 Cabo Verde Effective 2024-11-30
16 Cabo Verde Fully Disbursed 2024-11-30
37 Cabo Verde Repaying 2024-11-30
16 Cambodia Disbursing 2024-11-30
3 Cambodia Disbursing&Repaying 2024-11-30
4 Cambodia Effective 2024-11-30
1 Cambodia Fully Cancelled 2024-11-30
17 Cambodia Fully Disbursed 2024-11-30
39 Cambodia Repaying 2024-11-30
1 Cambodia Signed 2024-11-30
3 Cameroon Approved 2024-11-30
17 Cameroon Disbursing 2024-11-30
12 Cameroon Disbursing&Repaying 2024-11-30
3 Cameroon Effective 2024-11-30
4 Cameroon Fully Cancelled 2024-11-30
8 Cameroon Fully Disbursed 2024-11-30
49 Cameroon Fully Repaid 2024-11-30
36 Cameroon Repaying 2024-11-30
3 Caribbean Disbursing 2024-11-30
1 Caribbean Fully Cancelled 2024-11-30
2 Caribbean Fully Disbursed 2024-11-30
4 Caribbean Repaying 2024-11-30
1 Central Africa Disbursing 2024-11-30
1 Central Africa Disbursing&Repaying 2024-11-30
1 Central Africa Fully Disbursed 2024-11-30
2 Central Africa Repaying 2024-11-30
22 Central African Republic Disbursing 2024-11-30
1 Central African Republic Effective 2024-11-30
2 Central African Republic Fully Cancelled 2024-11-30
31 Central African Republic Fully Disbursed 2024-11-30
29 Central African Republic Fully Repaid 2024-11-30
7 Central African Republic Repaying 2024-11-30
2 Central African Republic Signed 2024-11-30
1 Central America Fully Disbursed 2024-11-30
4 Central Asia Fully Disbursed 2024-11-30
29 Chad Disbursing 2024-11-30
3 Chad Effective 2024-11-30
4 Chad Fully Cancelled 2024-11-30
25 Chad Fully Disbursed 2024-11-30
49 Chad Fully Repaid 2024-11-30
12 Chad Repaying 2024-11-30
1 Chile Fully Repaid 2024-11-30
72 China Fully Repaid 2024-11-30
62 China Repaying 2024-11-30
1 Colombia Fully Repaid 2024-11-30
19 Comoros Disbursing 2024-11-30
7 Comoros Effective 2024-11-30
2 Comoros Fully Cancelled 2024-11-30
18 Comoros Fully Disbursed 2024-11-30
18 Comoros Fully Repaid 2024-11-30
3 Comoros Repaying 2024-11-30
1 Congo, Democratic Republic of Approved 2024-11-30
46 Congo, Democratic Republic of Disbursing 2024-11-30
7 Congo, Democratic Republic of Disbursing&Repaying 2024-11-30
1 Congo, Democratic Republic of Fully Cancelled 2024-11-30
55 Congo, Democratic Republic of Fully Disbursed 2024-11-30
68 Congo, Democratic Republic of Fully Repaid 2024-11-30
9 Congo, Democratic Republic of Repaying 2024-11-30
1 Congo, Democratic Republic of Signed 2024-11-30
14 Congo, Republic of Disbursing 2024-11-30
3 Congo, Republic of Disbursing&Repaying 2024-11-30
11 Congo, Republic of Fully Disbursed 2024-11-30
18 Congo, Republic of Fully Repaid 2024-11-30
19 Congo, Republic of Repaying 2024-11-30
4 Congo, Republic of Signed 2024-11-30
1 Costa Rica Fully Repaid 2024-11-30
28 Cote d'Ivoire Disbursing 2024-11-30
12 Cote d'Ivoire Disbursing&Repaying 2024-11-30
2 Cote d'Ivoire Effective 2024-11-30
2 Cote d'Ivoire Fully Cancelled 2024-11-30
25 Cote d'Ivoire Fully Disbursed 2024-11-30
39 Cote d'Ivoire Fully Repaid 2024-11-30
26 Cote d'Ivoire Repaying 2024-11-30
1 Djibouti Approved 2024-11-30
30 Djibouti Disbursing 2024-11-30
2 Djibouti Disbursing&Repaying 2024-11-30
1 Djibouti Effective 2024-11-30
14 Djibouti Fully Disbursed 2024-11-30
28 Djibouti Repaying 2024-11-30
1 Djibouti Terminated 2024-11-30
12 Dominica Disbursing 2024-11-30
1 Dominica Disbursing&Repaying 2024-11-30
2 Dominica Effective 2024-11-30
1 Dominica Fully Cancelled 2024-11-30
2 Dominica Fully Disbursed 2024-11-30
13 Dominica Repaying 2024-11-30
1 Dominica Signed 2024-11-30
3 Dominican Republic Fully Repaid 2024-11-30
1 East Asia and Pacific Effective 2024-11-30
38 Eastern and Southern Africa Disbursing 2024-11-30
5 Eastern and Southern Africa Effective 2024-11-30
18 Eastern and Southern Africa Fully Disbursed 2024-11-30
2 Eastern and Southern Africa Repaying 2024-11-30
6 Ecuador Fully Repaid 2024-11-30
5 Egypt, Arab Republic of Fully Cancelled 2024-11-30
9 Egypt, Arab Republic of Fully Repaid 2024-11-30
38 Egypt, Arab Republic of Repaying 2024-11-30
3 El Salvador Fully Repaid 2024-11-30
1 El Salvador Repaying 2024-11-30
1 Equatorial Guinea Fully Cancelled 2024-11-30
9 Equatorial Guinea Repaying 2024-11-30
3 Eritrea Fully Disbursed 2024-11-30
13 Eritrea Repaying 2024-11-30
2 Eritrea Terminated 2024-11-30
1 Eswatini Fully Repaid 2024-11-30
1 Eswatini Repaying 2024-11-30
1 Ethiopia Approved 2024-11-30
55 Ethiopia Disbursing 2024-11-30
15 Ethiopia Disbursing&Repaying 2024-11-30
6 Ethiopia Effective 2024-11-30
3 Ethiopia Fully Cancelled 2024-11-30
30 Ethiopia Fully Disbursed 2024-11-30
77 Ethiopia Fully Repaid 2024-11-30
77 Ethiopia Repaying 2024-11-30
1 Ethiopia Signed 2024-11-30
6 Fiji Disbursing 2024-11-30
2 Fiji Effective 2024-11-30
4 Fiji Fully Disbursed 2024-11-30
1 Fiji Signed 2024-11-30
1 Gambia, The Approved 2024-11-30
19 Gambia, The Disbursing 2024-11-30
1 Gambia, The Disbursing&Repaying 2024-11-30
4 Gambia, The Effective 2024-11-30
24 Gambia, The Fully Disbursed 2024-11-30
30 Gambia, The Fully Repaid 2024-11-30
15 Gambia, The Repaying 2024-11-30
5 Georgia Fully Disbursed 2024-11-30
1 Georgia Fully Repaid 2024-11-30
62 Georgia Repaying 2024-11-30
2 Ghana Approved 2024-11-30
25 Ghana Disbursing 2024-11-30
9 Ghana Disbursing&Repaying 2024-11-30
3 Ghana Effective 2024-11-30
1 Ghana Fully Cancelled 2024-11-30
11 Ghana Fully Disbursed 2024-11-30
126 Ghana Fully Repaid 2024-11-30
82 Ghana Repaying 2024-11-30
3 Ghana Signed 2024-11-30
3 Ghana Terminated 2024-11-30
10 Grenada Disbursing 2024-11-30

23) And in this query I made the WHERE filter a little tighter to identify the credit statuses of projects from just one country.

SQL World Bank Result Set 23

Projects Country / Economy Credit Status Assessment Date
1 Ethiopia Approved 2024-11-30
55 Ethiopia Disbursing 2024-11-30
15 Ethiopia Disbursing & Repaying 2024-11-30
6 Ethiopia Effective 2024-11-30
3 Ethiopia Fully Cancelled 2024-11-30
30 Ethiopia Fully Disbursed 2024-11-30
77 Ethiopia Fully Repaid 2024-11-30
77 Ethiopia Repaying 2024-11-30
1 Ethiopia Signed 2024-11-30

Thank you for making it to the end of my World Bank analysis using SQL! If you haven’t already, connect with me on LinkedIn.

Scroll to Top