{"id":23511081,"url":"https://github.com/iankitnegi/sql_population_analysis","last_synced_at":"2025-10-31T11:30:44.476Z","repository":{"id":245489806,"uuid":"818388274","full_name":"iankitnegi/SQL_Population_Analysis","owner":"iankitnegi","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-28T18:05:57.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-25T12:13:10.490Z","etag":null,"topics":["mysql","sql"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iankitnegi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-21T18:33:28.000Z","updated_at":"2024-10-28T18:06:02.000Z","dependencies_parsed_at":"2024-10-26T20:29:10.461Z","dependency_job_id":"69e2247c-148a-479a-bfa1-dc5f4046c17c","html_url":"https://github.com/iankitnegi/SQL_Population_Analysis","commit_stats":null,"previous_names":["iankitnegi/sql_population_analysis_project","iankitnegi/sql_population_analysis"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iankitnegi%2FSQL_Population_Analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iankitnegi%2FSQL_Population_Analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iankitnegi%2FSQL_Population_Analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iankitnegi%2FSQL_Population_Analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iankitnegi","download_url":"https://codeload.github.com/iankitnegi/SQL_Population_Analysis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239192720,"owners_count":19597749,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mysql","sql"],"created_at":"2024-12-25T12:13:15.351Z","updated_at":"2025-10-31T11:30:44.419Z","avatar_url":"https://github.com/iankitnegi.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Problem Statement\nAnalyze the World Population Dataset to uncover trends in population growth, regional distributions, and demographic changes across different countries, enabling insights into global population dynamics for informed decision-making and policy development.  \n\n## 1. ASK  \nStakeholder: XYZ\n\n### Questions:  \n- Top 3 Countries with the Highest Population  \n  Identify the top three countries with the largest population in the years 1980, 2000, 2010, and 2022. How have the rankings changed over time?\n  \n- Population Estimates of the 3 Most Populous Countries  \n  Provide the estimated population numbers for the three countries with the highest populations, specifically China, India, and the United States, over the years.\n  \n- World Population Growth Rate in Each Census Year  \n  Analyze the growth rate of the world population across different census years (1980, 2000, 2010, and 2022). How fast is the global population growing?\n  \n- Percentage Increase in Population Across Census Years  \n  Calculate the percentage increase in the global population between each census year. What is the difference in growth from one census to the next?\n  \n- World Population Figures Across All Census Years  \n  Present the total world population for all available census years (1980, 2000, 2010, and 2022). What trends do these numbers reveal?\n\n- Predicted Population Growth Rate for 2030 and 2050    \n  Based on current trends, predict the global population growth rate for the years 2030 and 2050. How might the growth trend change in the future\n  \n- Countries with Rapid Population Growth (1980–2022)  \n  Identify countries that have experienced the most rapid population growth from 1980 to 2022. Which nations are growing the fastest and why?\n  \n- Countries with Population Decline (1980–2022)  \n  Analyze which countries have seen a decline in population between 1980 and 2022. What factors might contribute to these decreases?\n\n- Top 10 Countries Expected to Grow Rapidly by 2050    \n  Predict which 10 countries are expected to see the most rapid population growth by 2050. Which nations will lead this future expansion?\n\n- Top 10 Countries Expected to Decline Rapidly by 2050    \n  Identify the 10 countries that are predicted to experience the fastest population decline by 2050. What might be causing this projected decrease?\n\n- Top 5 Most Populous Countries by 2050    \n  Forecast the five countries that will have the largest populations by 2050. How do current growth trends suggest these rankings will change?\n\n- Predicted World Population in 2030 and 2050    \n  Provide predictions for the total world population in 2030 and 2050. How large will the global population be in these future years?\n\n- Top 10 Most Populous Countries in 2022    \n  List the 10 countries with the highest populations in 2022. What are the key characteristics of these highly populated nations?\n\n- Population Density of All Countries Across Census Years    \n  Analyze the population density of every country over all available census years. How densely populated are different regions of the world?\n\n  \n## 2. PREPARE\n## 3. PROCESS\n## 4. ANALYZE  \nData Analyzing\nMySQL was used to analyze data.\n\n-- KPI’s REQUIREMENT --  \n#Q1  \nWITH cte22 AS(SELECT '2022' AS year,  \ncountry_territory AS country, population_2022 AS population  \nFROM world_population  \nORDER BY population_2022 DESC LIMIT 3),  \ncte10 AS(  \nSELECT '2010' AS year, country_territory AS country, population_2010 AS population  \nFROM world_population  \nORDER BY population_2010 DESC LIMIT 3),  \ncte00 AS(  \nSELECT '2000' AS year, country_territory AS country, population_2000 AS population  \nFROM world_population  \nORDER BY population_2000 DESC LIMIT 3),  \ncte80 AS(  \nSELECT '1980' AS year, country_territory AS country, population_1980 AS population  \nFROM world_population  \nORDER BY population_1980 DESC LIMIT 3)  \n\nSELECT * FROM cte80 UNION  \nSELECT * FROM cte00 UNION  \nSELECT * FROM cte10 UNION  \nSELECT * FROM cte22  \n## 5. SHARE\n## 6. ACT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiankitnegi%2Fsql_population_analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiankitnegi%2Fsql_population_analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiankitnegi%2Fsql_population_analysis/lists"}