The main concept of this project was to create a manager for an ecommerce company with a basic domain.
The initial goal was to develop a full schema, in an Entity-Association model while specifying the appropriate Integrity Constraints.
After that, we had to develop a Relational model for the Entity-Association model, translate
everything into PostgreSQL
, populate the tables with synthetic test data and develop a bunch of relational algebra queries in the report and in sql.
Finally we had to implement the Integrity Constraints in sql with Stored Procedures/Triggers, develop advanced queries, implement a view for the products sales of the company, develop a prototype web app that presents useful information about the tables and lets users interact with the database backend, develop OLAP queries and speed up queries by creating indexes on certain columns.