IT125 – Database Fundamentals
Author: Moe Jabbie
This project is a complete relational database system designed for a Junk Removal business.
It includes:
- Customer management
- Employee tracking
- Job scheduling
- Junk item tracking
- Payments
- Views and sample queries
- ERD (Entity-Relationship Diagram)
- SQL scripts for easy setup
This project demonstrates database design, normalization, SQL querying, and documentation.
| File | Purpose |
|---|---|
| 01_schema.sql | Creates the database and all tables |
| 02_sample_data.sql | Inserts sample customers, employees, jobs, payments |
| 03_queries.sql | SQL queries |
| 04_views.sql | Contains all SQL VIEW definitions |
Creates all tables.
Inserts sample data.
Runs analytic queries.
Creates views such as:
v_customer_job_historyv_employee_job_summaryv_payments_report
Below is the ERD for the Junk Removal Database:
Shows every customer and their completed jobs.
Shows each employee and the jobs they worked.
Monthly revenue and total payments per job.
- How to design normalized tables
- How to use foreign keys
- How to create SQL views
- How to join tables for reporting
- How to structure a full database project professionally
- How to document a technical project
- 1-to-many relationships (Customers → Jobs)
- Many-to-many simulated via Jobs + Items
- Payment tracking per job
- Database indexing for performance
- Views to simplify reporting
