This repository encompasses the report and code developed for the "Basi di Dati" (Database Systems) project as part of the Bachelor's Degree program at the University of Padua during the academic year A.A. 2015/2016.
The project must meet the following requirements:
- Utilization of more than five tables;
- Incorporation of at least one hierarchical dataset.;
- Inclusion of all three types of relationships: one-to-one (1:1), one-to-many (1:N) or many-to-many (M:N);
- Implementation of at least six relevant queries and/or procedures;
- Integration of at least two functions;
- Introduction of at least two triggers.
Given Padua's rich history and cultural heritage, abundant with artifacts dating back to ancient times, a museum management system was simulated for this project. The system managed a museum, its employees and artifacts. The architecture and relationships are visualized in the ER diagram:
The project is organized as follows:
- the
imgdirectory contains ER diagrams in PNG format, along with the original DIA file; - the
sqldirectory houses all SQL scripts, segmented into files arranged in logical groups; - the
report.pdffile represents the Italian project report submitted.
git clone https://github.com/Giglium/Project-Museum.git
cd Project-Museum/sql
mysql -u <username> -p
source createDatabase.sql;
source function.sql;
source procedure.sql;
source query.sql;
source triggers.sql; docker run --rm -p 3306:3306 ghcr.io/giglium/project-museum:latestThis project is licensed under the MIT License - see the LICENSE file for details.
