Skip to content

Bash Script and SQL queries for creating and querying a World Cup database.

Notifications You must be signed in to change notification settings

aadhitemp/worldcup_database_using_bash_n_psql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

worldcup_database_using_bash_n_psql

This project has the SQL commands for creating the Worldcup database based on FreeCodeCamp's relational database project. It also contains a bash script for inserting data from the CSV file into the database.

---
title: WorldCup Database
---
erDiagram
games }|--|{ teams : contains
games{
  SERIAL game_id PK
  VARCHAR(100) round 
  INT YEAR
  INT winner_id FK
  INT opponent_id FK
  INT winner_goals 
  INT opponent_goals
}
teams{
SERIAL team_id PK
VARCHAR(100) name
}

About

Bash Script and SQL queries for creating and querying a World Cup database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages