An open API service indexing awesome lists of open source software.

https://github.com/panoschatzi/paris_olympics_2024_database

A postgreSQL database of 2024 Paris Olympics.
https://github.com/panoschatzi/paris_olympics_2024_database

cs50sql-final-project database docker postgresql sql

Last synced: 2 months ago
JSON representation

A postgreSQL database of 2024 Paris Olympics.

Awesome Lists containing this project

README

          

# Paris_Olympics_2024_database
Welcome to the repository for the final project of CS50's Introduction to Databases with SQL course.

This repository contains the code to create the Paris Olympics database in PostgreSQL, insert the data in tables, optimize searches using indexes, and queries to retrieve individual athlete and teams information, the distribution of participants and medallists, and the top performing countries.

### Repository Structure
- [DESIGN.md](DESIGN.md): Database design information
- [schema.sql](schema.sql): code to create the database schema
- [queries.sql](queries.sql): sample queries to retrieve athlete and medal information
- [login.sql](login.sql): information to login to PostgreSQL in Docker

### Technologies
- postgreSQL
- codespaces
- docker
- mermaid.js

### Database schema
![ER Diagram](diagram.svg)

### Sources
- [CS50-SQL](https://cs50.harvard.edu/sql/2024/)
- [Kaggle dataset](https://www.kaggle.com/datasets/piterfm/paris-2024-olympic-summer-games)

### License
This repository is for educational purposes only.