Skip to content

rayhaanrakib/database-queries-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Football Ticket Booking System β€” Database Design & SQL Queries

Overview

A simplified database system for managing football ticket bookings built with SQL.

ERD Diagram

ERD Diagram

πŸ”— ERD Link: Click to View ERD

Database Schema

Three tables: Users, Matches, and Bookings

  • Users β€” stores fan and staff account information
  • Matches β€” stores football fixtures and ticket availability
  • Bookings β€” records individual ticket purchases

Files

File Description
QUERY.sql Schema creation, data seeding, and SQL queries
erd-diagram.png ERD diagram image

Tools Used

  • PostgreSQL
  • Beekeeper Studio
  • DrawSQL

How to Run

  1. Open PostgreSQL or Beekeeper Studio
  2. Run QUERY.sql top to bottom

Contributors