Student: Arshia Kahani, Herman Kaufman
Course: Data Management (KulhΓ‘nek Rastislav)
Assignment: Final Database System Project
This repository contains the source code and documentation for a complete SQL Server database system designed to manage Inventory, Supply Chain, and Purchase Orders.
The system enables the tracking of products, management of supplier relationships, and processing of purchase orders by employees. It is fully normalized to 3rd Normal Form (3NF) and includes a suite of 10 business processes to demonstrate data integrity and operational logic.
(Guide for the assessment)
| Requirement | Status | Implementation Details |
|---|---|---|
| Entities & Tables | β | System contains 5 base tables representing 4 key entities: Suppliers, Employees, Products, and Orders. |
| Primary Keys | β | All tables (tblSuppliers, tblProducts, etc.) use IDENTITY columns as Primary Keys. |
| Foreign Keys | β | Referential integrity enforced on all relationships (e.g., tblPurchaseOrders links to tblSuppliers & tblEmployees). |
| 3NF Normalization | β | All attributes depend on the key, the whole key, and nothing but the key. |
| 10+ Processes | β | Includes 10 distinct business processes including CRUD, complex reporting, and stock management logic. |
| Test Data | β | Scripts populate the database with 12+ suppliers, 15+ products, and 12+ orders. |
/sql: Contains the source.sqlfiles.01-tables.sql: Table definitions.02-populate-data.sql: Test data insertion.03-processes.sql: The 10 implemented business processes.
/docs: Detailed documentation.
- Create the Database: Run
01-tables.sqlto build the schema. - Load Data: Run
02-populate-data.sqlto insert the test records. - Test Logic: Run
03-processes.sqlto execute the 10 business scenarios.