https://github.com/davide64-dev/feup_bd_championsleague
https://github.com/davide64-dev/feup_bd_championsleague
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/davide64-dev/feup_bd_championsleague
- Owner: Davide64-dev
- Created: 2022-12-21T21:42:16.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-01-27T19:19:06.000Z (over 2 years ago)
- Last Synced: 2024-01-27T20:29:15.888Z (over 2 years ago)
- Size: 441 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A Database for the UEFA Champions League
## Overview
This repository contains a database project focused on the **UEFA Champions League**. The project is part of the coursework for the [Databases](https://sigarra.up.pt/feup/en/UCURR_GERAL.FICHA_UC_VIEW?pv_ocorrencia_id=501674) unit.
## Project Structure
The project is organized into the following components:
### Create & Populate
Two SQL scripts are provided for [creating](/src/create.sql) the database structure and [populating](/src/populate.sql) it with initial data.
The database is designed with the following UML structure:

### Queries
A directory containing 10 example [queries](/src/queries/) is provided to facilitate testing and exploring the database.
### Triggers
The `triggers` directory includes a set of 3 [triggers](/src/triggers/),, each consisting of three files:
* `triggerX_add.sql`: Creates the trigger.
* `triggerX_remove.sql`: Removes the trigger.
* `triggerX_verify.sql`: Tests the trigger.
## Usage
To set up the database, execute the `create.sql` script followed by the `populate.sql` script. The provided queries and triggers can be used to interact with and test the database.
## Other Information
For detailed insights into the project, please refer to the [Report](/Report.pdf).