List all the functional dependencies exist in the relation

Assignment Help Database Management System
Reference no: EM131203640

COIT20247 Database Design and Development Assignment

You must use that sample solution of assignment only for the following tasks:

Assessment task-

1. Normalization

a) Map the ERD, from the sample solution, into a set of relations in at least Third Normal Form (3NF). You must ensure that your relations meet 3NF. There is no need to show your working.

b) Select any two (2) of your relations from the previous step, 1a), and perform the following for each of those two relations:

  • List all the functional dependencies exist in the relation.
  • Demonstrate that the relation meets Third Normal Form (3NF).

For your help, an example for a Student relation's 3NF justification has been provided below:

STUDENT (StudentID, Name, Address, DateOfBirth)

i. The primary key is StudentID. There will be one student name per Student ID, since only one name is recorded for each student. There will be one address per Student ID; even though a student may have multiple address (e.g. a home address and a work address), the case study states that there is a need to record the home address only. There will be only one date of birth per Student ID.  Thus, there are no repeating groups. Hence, this relation is in 1NF.

ii. The primary key is StudentID. This is the only candidate key since Name is not guaranteed to be unique (two different students may have the same name).  Address is also not guaranteed to be unique. This means that Student ID functionally determines every other attribute in the table.  There is a single simple candidate key (StudentId) and therefore no partial dependencies are possible.  Hence, the relation is in 2NF.

iii. Name cannot be used to functionally determine any other attribute in the table since two different students may have the same name; likewise for address and date of birth. Therefore there are no transitive dependencies in the table.  Therefore it meets the requirements of first, second and third normal form.

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 course 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 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 indexes created by Access for each table. You should ensure that the indexes follow the guidelines given in the course 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:

For the table TreeRemoval:

  • All fields must be entered.
  • Charges should be positive and expressed 2 decimals only.
  • Number Of Trees should be positive round numbers only.

For the table Inspection:

  • Date should not be null.

For the table Owner:

  • Name should not be null.
  • State value should be limited to Australian States/Territories only.

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 council inspector(s) who has/have never performed any inspection.

2. For each of the suburbs, display the number of successful applications.

3. For each of the applications display the application number, details of owner and total charges.

4. Display the lowest, the highest and average number of applications in the advertisements.

5. Which application(s) did receive the highest number of objections? Display the details of those application(s) and their respective applicant(s) in descending order of their name. 

6. Display the details of the applicant(s) whose name contains the word "build".  Show the results in ascending order of their name.

Note: The word 'name' is a reserved word in MS Access. Wherever you use it for SQL query, you need to put a bracket like [name].  Follow the same technique for other reserved words too.

Report-

Create a simple report object showing the details of all the inspections carried out by each inspector.  The report should have appropriate heading and display the details of inspections performed by each of inspector separately. The details of inspection by individual inspector have to be displayed in ascending order of the date of inspection.

Hints:

  • 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 'FirstName' to 'First Name'.

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.

What you should submit-

A Microsoft Access database files containing:

1. Tables with sample data

2. Relationships

3. Queries

4. Integrity constraints

5. Report (object).

A Microsoft Word document containing:

1. Two relations with functional dependencies and demonstration of normalization

2. Implementation report

Your document should contain appropriate identification information (your student number, name, course number, etc.) and should contain the relevant headings for each section.

Attachment:- Solution.rar

Reference no: EM131203640

Questions Cloud

Find the real gain of the amplifier : find the real gain of the amplifier when a load of 1 kΩ is connected to the output of the amplifier.
What are the practical business implications of such a move : There has been a movement in the last decade encouraging people to "buy American." Discuss the legal and ethical issues related to boycotting goods from other countries. What are the practical business implications of such a move?
Reduction of inventory : Inventory can be reduced by (a) reducing order quantity, (b) adopting a centralized distribution system, (c) using common parts for different products, and (d) reducing lead time.
About the regular tax liability : Palmdale Corporation has a regular tax liability of $94,000. It is eligible for a $54,000 general business credit for the current year and has a $30,000 general business credit carryover from the prior year. a. What is Palmdale’s allowable general bu..
List all the functional dependencies exist in the relation : Select any two (2) of your relations from the previous step, 1a), and perform the following for each of those two relations: List all the functional dependencies exist in the relation. Demonstrate that the relation meets Third Normal Form (3NF)
Currently sells gourmet coffee through multiple outlets : Jumping Java Inc. currently sells gourmet coffee through multiple outlets. You are a consultant, and the company is asking you for guidance for two possible plans, A or B, for expanding sales. Plan A: Jumping Java would begin selling additional produ..
What is the opportunity cost of petes : Introduction to Microeconomics Problem Set - Is this farm able to produce 12,000 bushels of corn and 8,000 bushels of soybeans? What does this combination of output suggest about the use of resources?
Does shuttlecock make me feel uncomfortable and endangered : Does the shuttlecock make me feel uncomfortable and endangered? Does this work of art make me laugh? If so, why am I laughing? What meaning does the odd use of scale and proportion give to the sculpture?
For network of given figure find the currents i1 and is : For the network of given figure: - Find the currents I1 and Is. -  Find the voltages Vs and V3.

Reviews

len1203640

9/13/2016 2:01:36 AM

Need it as per the guidelines, based on previous assignment, will share it with start working email. Important points- You must work individually on this assignment. You must state in your word document (at the end under the heading Acknowledgements is a good place) all materials and sources that you used to complete this assignment. Relational database implementation- Set of relations correctly mapped from ERD, Functional dependencies correctly listed for two of the relations and Normalization correctly listed for two of the relations and Relationships set up correctly, referential integrity enforced, appropriate use of cascade update/delete, Data types & sizes selected appropriately. Data integrity-Data integrity correctly implemented for table TreeRemoval, Data integrity correctly implemented for table Inspection and Data integrity correctly implemented for table Owner.

Write a Review

Database Management System Questions & Answers

  Construct a query that will show the number of days

Construct a query that will show the number of days that exist between the first invoice and last invoice, for each month, for each employee, using the DATEDIFF function

  Prepare a use case diagram for the case study

Case Study based on an Interview contained in a separate document (Please see the details in page 221 of your text book). Carefully read this case study. You are required to answer the following questions based on the Case Study.

  Write a check constraint that expresses

Write a CHECK constraint that expresses

  Optimistic concurrency control sets few locks on the data

Optimistic concurrency control sets few locks on the data in the database, lowering the isolation level that you use in an application. This allows more applications to run concurrently and potentially increases the throughput of the applications. Th..

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Database design implementation

Database design implementation Project Description The project report must contain the the points given below to comlete the assignment Table of contents

  The focus is to write sql queries that combine data

This is the final installment of the project! The focus is to write SQL queries that combine data from both Mondial and GapMinder (GM). For most queries you will need both Mondial and GM data, so you may need to use your bridge table(s).

  What is a data warehouse and why is rei building one

What is a data warehouse and why is REI building one and What are some of the risks or concerns surrounding the creation of a data warehouse

  Create a form to link the spreadsheet to a table

Create a form (frmUpdateMediaLink) to link the spreadsheet to a table in the database (you can link the spreadsheet manually using the wizard but you will lose 4 points)

  Write a script that calculates the common factors

Write a script that calculates the common factors between 10 and 20. To find a common factor, you can use the modulo operator (%) to check whether a number can be evenly divided into both numbers.

  What is a data model and what is it purpose

What is a data model and what is it purpose and what is a prototype and what is its purpose - What is a use case, and what is its purpose?

  Design entity-relationship model of the problem

You are required to design using an E-R diagram an entity-relationship model of the problem, convert the model into a relational model, and assess the normal form of each schema.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd