aboutsummaryrefslogtreecommitdiff
path: root/README.org
blob: cf51899253f124a4c631746f2c41c09afc74f519 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#+title: Database design and implementation
#+subtitle: Domain: Accounting for the submission of laboratory work
#+date: 2024H1

* Task
Design, implement, and analyze a complete relational database
management system for a domain of your choosing.  The project must
fulfill the following mandatory requirements:
1. Domain Analysis & Conceptual Modeling
   - Describe the domain in plain paragraphs of text.
   - Define all primary domain entities and their attributes.
   - Design formal ER-diagrams and object diagrams.
2. Database Design & Population
   - Architect a normalized relational schema , utilizing appropriate
     data types and foreign key constraints.
   - Build a custom data generation program to programmatically
     populate the database schema.
3. SQL Implementation & Performance Analysis
   - Formulate 8 complex analytical SQL queries covering multi-table
     joins, aggregations, groupings, filtering, subqueries, and set
     operations.
   - Evaluate and document the execution plans generated by the query
     planner for each implemented query to analyze performance metrics
     and operational efficiency.

* Documentation
The exported report can be found at [[https://git.michalec.dev/uni/term-04/databases/coursework/report.pdf][this link]].

* Showcase
#+caption: Object diagram
#+attr_html: :width 400em
[[https://git.michalec.dev/uni/term-04/graph-theory/coursework/decision-tree.png][https://git.michalec.dev/uni/term-04/databases/coursework/od.png]]

#+caption: Entity-relation diagram
#+attr_html: :width 700em
[[https://git.michalec.dev/uni/term-04/graph-theory/coursework/decision-tree.png][https://git.michalec.dev/uni/term-04/databases/coursework/erd.png]]

#+caption: Database schema (ru)
#+attr_html: :width 1000em
[[https://git.michalec.dev/uni/term-04/graph-theory/coursework/decision-tree.png][https://git.michalec.dev/uni/term-04/databases/coursework/dbs_ru.png]]

#+caption: Database schema (en)
#+attr_html: :width 1000em
[[https://git.michalec.dev/uni/term-04/graph-theory/coursework/decision-tree.png][https://git.michalec.dev/uni/term-04/databases/coursework/dbs_en.png]]

* Unlicense
#+include: UNLICENSE verse