COIT20247 Database Design and Development Data Modelling ER Model Assignment HelpSolution.pdf
COIT20247 Database Design and Development (T2 2019) Data Modelling ER Model Assignment Help
Assessment item 2—Assignment 2
Part A. Database implementation using MS Access
Part A assumes that you are using MS-Access.
- Create all the relations in a Microsoft Access database. Consider each attribute in every table and make appropriate choices regarding data types & sizes, indexes, required/not required and validation rules. Your choices should be appropriate for each attribute and should support data integrity. (Note: see the Data Integrity section below for specific data integrity requirements)
- Create relationships as appropriate. Enforce referential integrity for all appropriate relationships in the database. Apply cascade update and/or delete options wherever necessary.
- Review the default index created by Access for each table. You should ensure that the indexes follow the guidelines given in the unit textbook.
- Populate the database with sample data of your own. You must include sufficient sample data to test your queries and report. Please note that the expected result of query questions may depend on the actual sample data populated.Data integrity
- You are required to implement integrity constraints within the database to enforce the following requirements:
- The weekly rental in the tables of Property and Rental should be positive currency and
- expressed in 2 decimals only.
- The contract end date must be later than the contract start date in the table of Rental.
- The job description in the Repair_Job table should not be blank.
- For the table of Property, the possible value of property type only takes either
- “apartment” or “house”.
- Information requests
- Create queries to answer the following information requests. Note: Do not use the Access query builder (QBE) to create your queries – you should type the queries manually using SQL view/editor.
- The marking process of the queries for information requests may also consider the effectiveness of your SQL statements that have been used in the queries. It is important that your SQL statement must reflect the correct business logic & SQL syntax. (Use enough sample data so that the output is produced by each and every query).
1. Which properties have never been rented out? List the details that include the property address, type, weekly rental as well as the name of the property owner.
2. How many properties have been managed by each manager? Show the manager’s name, the number of properties managed. Order the list so that the manager who has managed the most properties appears first.
3. List the details of repair jobs performed by handymen in the last 6 months. The details should include the job ID, job description, the completed date, charge and the handyman’s name.
4. Which properties have received more than one application in the last 6 months from customers? Show the property ID, address, the weekly rental and the number of applications.
5. Find out the details of the rental activities that have the highest weekly rentals. The details should include customer’s names, the address of the properties and the weekly rentals.
- Create a simple report object showing the details of each rental contract with the lease length greater than or equal 6 months. The details include the customer name, phone, contract start date, contract end date, the property address, and the weekly rental. At the end of report, display the average value of the weekly rental for these rental activities.
- Create a query that lists all details needed for a report. If you are unable to formulate this query, then create a report that is based directly on the table(s). [Note: you will not be able to obtain full marks for the report creation if you base your report directly on
- the table(s) and some criteria are not met in your reports.]
- Use the report wizard to generate a basic report based upon your query [or the table(s) if you were unable to formulate the query].
- Once the report wizard finishes, switch to design view and rename the labels appropriately; for example, change the label ‘StartDate’ to ‘Start Date’.
Get Assignment Help Now...!
Subjects We Offer
- Engineering Assignment Help
- MATLAB Assignment Help
- Mechanical Engineering Assignment Help
- Civil Engineering Assignment Help
- Computer Science Assignment Help
- Electrical Engineering Assignment Help
- Electronics Assignment Help
- Economics Assignment Help
- Management Assignment Help
- Do My Assignment
- Cheap Assignment Help
- Programming Assignment Help
- Law Assignment Help
- Assignment Provider
- Finance Assignment Help
- Python Assignment help
- Healthcare Management Assignment Help
- Computer Network Assignment Help
- History Assignment Help
- Industrial Engineering Homework Help
- IT Management Assignment Help
- Nursing Assignment Help
- Operating System Assignment Help
- Statistics Assignment Help
- Material Science Assignment Help
- Mechanical Engineering Homework Help
- University Assignment Help
- Agriculture Engineering Homework Help
- ATHE Courses Assignment Help
- Capital Budgeting Assignment Help
- BTEC Assignment Help
- HND Assignment Help
- Material Science Assignment Help
- Psychology Assignment Help
- Resit Assignment Help
- Computer Architecture Assignment Help
- Data Structure Assignment Help
- Database Assignment Help
- PHP Assignment Help