Skip to content

Filippo-Dimarzio/F1SQLDatabase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🏎️ F1 Racing Database

This project contains a relational database schema for managing Formula 1 racing data. The database includes key entities such as Drivers, Teams, Circuits, Races, Results, and Pit Stops, along with sample data and SQL queries for retrieving insights.

πŸ“Œ Features

  • πŸ“‚ Structured Database: Tables for Drivers, Teams, Circuits, Races, Results, and Pit Stops with appropriate relationships.
  • πŸ“Š Preloaded Data: Includes real-world F1 teams, drivers, and circuits.
  • πŸ”Ž Query Examples: SQL queries for race statistics, driver performance, fastest laps, team standings, and pit stop analysis.

πŸ“ Tables Overview

Table Description
Driver Stores driver details like name, nationality, car number, and achievements.
Team Represents F1 teams with headquarters and sponsors.
Circuits Information on racing circuits, including length, lap records, and amenities.
Race Details of individual races, including date, weather, and circuit.
Result Stores race results, including driver positions, lap times, and points.
PitStops Records pit stop details, including duration and tire choices.

πŸ”₯ SQL Queries Highlights

  • πŸ† Top drivers by points
  • ⚑ Fastest lap times per race
  • 🏁 Circuits with the most races held
  • ⏱️ Average lap times per circuit
  • 🏎️ Top teams based on total wins

πŸš€ How to Use

  1. Create the Database:
    CREATE DATABASE F1_Racing;
    USE F1_Racing;

About

This is my Formula 1 Database

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors