You are the Senior Consultant at Abacus Consulting, tasked with the database project for Amadeus Real Estate client.
The company employs real estate agents who work with customers to buy and sell properties (both residential and commercial).
As part of your lead role, you are initially responsible for meeting with the client team and gathering requirements. You are then scheduled to design the data model and implement a working prototype to demonstrate the validity of the data model. Your specific tasks are broken down as below
Phase 1 - Requirements Gathering
As part of the requirements phase, develop a minimum of 10 business rules that apply to the client's business. Each business rule must be related to a data model feature and must be clearly demonstrated in the data model (developed in phase-2).
[Deliverable: Word doc containing business rules]
Phase 2 - Database Design
Develop a database model (ERD) based on the business rules developed in Phase-1. Use the Crow's Foot notation, indicate all attributes, primary/foreign key relationships, cardinalities and relationship strengths.
[Deliverable: ERD]
Phase 3 - Implementation
Implement the table structure based on the ERD developed in phase-2. Assume property details (type, area, list price, sale price ...etc). Assume 3% commission on all transactions.
Write the SQL code to create the needed tables. Ensure all primary keys, foreign keys and constraints are defined.
After implementing the table structures, insert dummy data for 25 transactions, placed between January-1-2016 and June-30-2016.
[Deliverable: Text file containing SQL statements]
Phase 4 - Validation (50 points)
To validate the data model you have developed in phase-3, you are asked to write some queries and verify the results with expected results.
Write the SQL statements that provide the following information:
Number of sales for the period March-1-2016 to March-31-2016
Agent who sold the most number of properties between Feb-1-2016 to June-30-2016.
Agent who sold the most $ value of properties between Jan-1-2016 to Mar-31-2016.
Most expensive property sold between Jan-1-2016 to June-30-2016.
[Deliverable: Text file containing SQL statements]
).
Submission Instructions
All deliverables must be combined and submitted as a single zip file on Blackboard. The SQL file must be in plain text format (filename with .sql extension