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
As part of the requirements phase, develop a minimum of 10 business rules that apply to the clients business. Each business rule must be related to a data model feature and must be clearly demonstrated in the data model.
Develop a database model based on the requirements. Use the Crows Foot notation, indicate all attributes, primary/foreign key relationships, cardinalities and relationship strengths.
Implement the table structure designed for the system. Assume property details (type, area, list price, sale price etc). Assume 3% commission on all transactions.
To validate the data model you have developed, you are asked to write some queries and verify the results with expected results.
Write the SQL statements that provide the following information: