Urgenthomework logo
UrgentHomeWork
Live chat

Loading..

Coit20247 Database Design And Development: Assessment Answers

Assessment task 

1 Normalization

  1. Map the ERD, from the sample solution, into a set of relations in at least Third Normal Form (3NF). You must ensurethat your relations meet 3NF. There is no need to show your 
  2. Select any two (2) of your relations from the previous step, 1a), and perform the following for each ofthose two relations:
    • List all the functional dependencies exist in the
    • Demonstrate that the relation meets Third Normal Form (3NF).

2 Relational database implementation

Note: Use the relations that you created in the above step 1-Normalization to create a database. The recommended tool for this work is Microsoft Access, version 2010 or later. One reason for recommending Microsoft Access is that your unit lecturer/tutor will be able to provide adequate support to you in the use of this tool. 

If you choose to use a different DBMS, then there is no guarantee that your lecturer/tutor will be able to provide enough support to you. The remainder of this document assumes that you are using MS-Access.

In implementing the ER model provided, you must complete the following tasks:

  • Create all the relations in a Microsoft Access database. Consider each attribute in every tableand 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 appropriaterelationships 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 theindexes follow the guidelines given in the unit 
  • Populate the database with sample data of your own. You must include sufficient sample data to testyour queries and report. Please note that the expected result of query questions may depend on the actual sample data 

Data integrity

You are required to implement integrity constraints within the database to enforce the following requirements:

  • Fees/Charges should be positive currency and expressed in 2 decimals only.
  • Date values should not be predated.
  • Name of patients/medical specialists should not be null.
  • State values should be limited to Australian States/Territories only.
  • Skills and experience values should not be null.
  • Discount amount should be positive and cannot exceed $50.

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. Display the details of medical specialist(s) who has/have never performed/completed any appointment.
  1. Display the details of appointment, name of the patient and medical specialist involved in the most expensive appointment.
  1. For each of the medical specialists, display his/her name and the number of appointments completed so far.
  1. For each of the appointmentcompleted, display the date, (start) time, name of the patient and total fees/charges of the appointment, discount amount and final amount payable. (Final amount payable = total appointment charges – discount amount )
  1. Which patients have consulted more than one specialist? Display the details of such patients only.
  1. Display the details of the patient(s) whose name contains the word “more”. Show the results in ascending order of the name.

Report

Create a simple report object showing the details of skills and experience of the each of the medical specialists. The details have to be presented in ascending order of the (first) name of the medical specialist.

Implementation Report

You must also provide a short implementation report describing your experiences with this assignment. You may discuss any of the following:

  1. Any two interesting things/procedures you learnt by doing this assignment.
  2. Any one requirement of the assignment that was relatively difficult / complex to solve but successfully completed by you.

Use the implementation report to demonstrate that you have thought carefully about the issues that arise when implementing a relational database.

Answer:

Introduction 

The database implementation detail is given in the report. The MS Access database is built for CQMC in the assignment. The important features and points of the relational database are being shown below.

Normalization 

ER Diagram Mapping to Relational Database 

(holowczak.com 2016) 

Functional Dependency

Patient 

Patient (FiellddPatientId, FiellddPatientName, FiellddPatientContactNumber, FiellddPatientAddress, FiellddMedicalHistory, FiellddPatientType) 

Patient id is identifying all the fields and complete record in the Patient table as patient id is unique for each patient. It is the primary key of Patient table. 

FiellddPatientName à FiellddPatientId 

FiellddPatientAddress à FiellddPatientId 

Specialist 

Specialist (FiellddSpecialistId, FiellddSpecialistName, FiellddContactNumber, FiellddYearSpecialised) 

Specialist id is identifying all the fields and complete record in the Specialist table as Specialist id is unique for each specialist. It is the primary key of Specialist table. 

FiellddSpecialistName à FiellddSpecialistId 

FiellddContactNumber à FiellddSpecialistId 

Normalisation Demonstration 

A table remains in 3 NF if the table contains unique data and a primary key. Transitive dependency should not be involved into the table. Patient and Specialist both tables are having same condition. Therefore, both are in 3 NF- 

Patient (FiellddPatientId, FiellddPatientName, FiellddPatientContactNumber, FiellddPatientAddress, FiellddMedicalHistory, FiellddPatientType) 

Specialist (FiellddSpecialistId, FiellddSpecialistName, FiellddContactNumber, FiellddYearSpecialised) ( Ross R.G. 1988)

SQL Queries 

Query 1 

The result set of this query is showing the records of Specialists of completed appointment only.

Query 2 

The result set of this query is showing the highest price appointment.

Query 3

 The result set of this query is showing the name and number of completed appointments of specialists. 

Query 4 

The result set of this query is showing the detail of specialists and their completed appointments.

Query 5 

The result set of this query is showing the detail of patients and number of times consultations of them with specialist. 

Query 6 

The result set of this query is showing the detail of patients having name that is containing word –‘more’.

Summary Report 

The result set of this report is showing the detail of specialists.

Limitations in the Assignment 

Some key features are not included in this assignment like – 

  • Database forms are not included in the assignment to build.
  • Outer join queries are not included in the assignment to build.

Learning Factors in the Assignment 

There are so many good and learning factors in the assignment like- 

  • Making of database report
  • Making of complex queries
  • Use of validation checks

Conclusion 

The assignment is completely based upon the database implementation and normalisation. The report is based upon that and giving detail about each and every aspect of the database features and facts.

References

holowczak.com 2016, Converting E-R Models to Relational Models, Viewed on 20th May 2017 <https://holowczak.com/converting-e-r-models-to-relational-models/> 

Ross R.G., Entity Modelling: Techniques and Applications, 1988 


Buy Coit20247 Database Design And Development: Assessment Answers Online


Talk to our expert to get the help with Coit20247 Database Design And Development: Assessment Answers to complete your assessment on time and boost your grades now

The main aim/motive of the management assignment help services is to get connect with a greater number of students, and effectively help, and support them in getting completing their assignments the students also get find this a wonderful opportunity where they could effectively learn more about their topics, as the experts also have the best team members with them in which all the members effectively support each other to get complete their diploma assignments. They complete the assessments of the students in an appropriate manner and deliver them back to the students before the due date of the assignment so that the students could timely submit this, and can score higher marks. The experts of the assignment help services at urgenthomework.com are so much skilled, capable, talented, and experienced in their field of programming homework help writing assignments, so, for this, they can effectively write the best economics assignment help services.


Get Online Support for Coit20247 Database Design And Development: Assessment Answers Assignment Help Online


Copyright © 2009-2023 UrgentHomework.com, All right reserved.