This was built for my Data Modelling and Database Design Module (QAC020C123A).
This is meant to represent that database model that a MOT garage might have.
This a dummy database, with dummy tables and dummy data.
- sqlite3
Note
If this errors, you need to install sqlite3.
sqlite3 -version
git clone https://github.com/gabrielg2020/mot-garage-database.git && cd mot-garage-database
Caution
Before running this command please make sure that you are in the correct directory.
find . -type f -name "*.sh" -exec chmod +x {} \;
touch database/mot_garage_db.sqlite
./rebuild_database.sh
./display_table.sh <table_name>
./list_tables.sh <table_name>
./list_tables.sh -f <table_name>
./run_query.sh <1|2|3|4|5>