Skip to content

Data Analysis project to analyze modern Olympic Games, including all the Games from Athens 1896 to Rio 2016 which helps to ask questions about how the Olympics have evolved over time, including questions about the participation and performance of women, different nations, and different sports and events.

Notifications You must be signed in to change notification settings

Shantanu-Pandit/SQL-Analysis-120-years-mordern-Olympic-history

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

120 years of Olympic history - SQL data analysis

Data Analysis project to analyze modern Olympic Games, including all the Games from Athens 1896 to Rio 2016 which helps to ask questions about how the Olympics have evolved over time, including questions about the participation and performance of women, different nations, and different sports and events.

About Dataset

Dataset can be downloaded from https://www.kaggle.com/datasets/heesoo37/120-years-of-olympic-history-athletes-and-results?resource=download

Database and Tools

PostgreSQL
pgAdmin4

Description

List of SQL Queries:

We shall write 20 SQL Queries using this data. For each of these queries, you would find the problem statement and then the screen shot of the expected output.

List of all these 20 queries mentioned below:

1.How many olympics games have been held?

1

2.List down all Olympics games held so far.

2

3.Mention the total no of nations who participated in each olympics game?

3

4.Which year saw the highest and lowest no of countries participating in olympics?

4

5.Which nation has participated in all of the olympic games?

5

6.Identify the sport which was played in all summer olympics.

6

7.Which Sports were just played only once in the olympics?

7

8.Fetch the total no of sports played in each olympic games.

8

9.Fetch details of the oldest athletes to win a gold medal.

9

10.Find the Ratio of male and female athletes participated in all olympic games.

10

11.Fetch the top 5 athletes who have won the most gold medals.

11

12.Fetch the top 5 athletes who have won the most medals (gold/silver/bronze).

12

13.Fetch the top 5 most successful countries in olympics. Success is defined by no of medals won.

13

14.List down total gold, silver and broze medals won by each country.

14

15.List down total gold, silver and broze medals won by each country corresponding to each olympic games.

15

16.Identify which country won the most gold, most silver and most bronze medals in each olympic games.

16

17.Identify which country won the most gold, most silver, most bronze medals and the most medals in each olympic games.

17

18.Which countries have never won gold medal but have won silver/bronze medals?

18

19.In which Sport/event, India has won highest medals.

19

20.Break down all olympic games where india won medal for Hockey and how many medals in each olympic games.

20

About

Data Analysis project to analyze modern Olympic Games, including all the Games from Athens 1896 to Rio 2016 which helps to ask questions about how the Olympics have evolved over time, including questions about the participation and performance of women, different nations, and different sports and events.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published