Draw the entity relationship diagram

Assignment Help Other Subject
Reference no: EM132197298

Assessment: Database Design and Implementation Report

Learning Outcomes

This assessment assesses the following Unit Learning Outcomes (ULO) and related Graduate Learning Outcomes (GLO):

Unit Learning Outcome (ULO)
ULO 2: Explain the concept of data modelling and use Entity-Relationship (ER) models to represent data.
ULO 3: Design and implement relational database systems through the use of SQL

Purpose

This task requires students to apply their understanding and ability to use Relational DataBase Management Systems (RDBMS) as well as use SQL in the modelling of the physical world. Students will be provided with a set of business scenarios and are required to design a database and provide related SQL queries.

Instructions

This is an individual assessment task. Students are required to submit a written report that describes the design and implementation of a small database project. Students are also required to submit the associated SQL scripts

- Read these instructions and the following four questions.
- Answer as many questions as possible.

Question 1

Problem statement

Saffron Gallery is about to host an exhibition next month. A number of works of art (paintings, Sculptures, etc.) will be exhibited. Every art work will have a barcode, a title and a description. Each Art Work is created by a single artist. Every artist has a name, an address and a contact number. One artist may create more than one art work for the exhibition.

People will come and visit the exhibition. As each person enters the exhibition, their name, address and phone number will be recorded. Each person will be given a unique barcode id.

During their visit, people will nominate which art work they consider the best and this will be recorded by Saffron Gallery. People will be able to vote for more than one art work.

Exercise 1:
Describe the elements (entities, attributes and relationships) of the table of this database system.

Exercise 2:
Draw the Entity Relationship Diagram (ERD) of the generated tables.

Exercise 3:
Write the SQL code to create the tables.

Question 2:

You are given the Student 1, Student 2, and Course tables in the database below:

Student 1

Student_ID

Student_FName

Student_Lname

10001

John

Smith

10002

Dave

Franklin

10003

Febby

Johns

10004

Mary

Gibson

10005

Glory

Anson

Student 2

Student_ID

Course_ID

Year_Joined

10001

SIT772

2016

10002

SIT774

2015

10003

SIT775

2017

10004

SIT712

2016

10005

SIT772

2017

Course

Course_ID

Course

Location

SIT772

Database

Burwood

SIT774

IT security

Burwood

SIT775

Software Development

Geelong

SIT712

Project Management

Burwood

For each of the following exercises please provide a screenshot of SQL query execution.

Exercise 1:

Write the SQL code to create the above three tables, and insert the sample data into the tables.

Exercise 2:
Write the SQL query to find all students who have enrolled into a course in 2016 or later.

Exercise 3:
Write the SQL query to generate a list of all students who have the letter ‘a' in their name (first name/last name).

Exercise 4:
Write the SQL query to find students who are enrolled for units offered in ‘Burwood'.

Exercise 5:
Write the SQL query to show only students who have enrolled to ‘Database' course or a course that has been offered in Geelong

Question 3:

Sales

CUS_ID

Name

Ord_NO

Ord_Date

Prod_ID

Description

Qty_Ord

C001

Gold

O81

15-Apr

P005

Chisel

6

C001

Gold

O81

15-Apr

P004

Plane

14

C075

Red

O99

16-Apr

P015

Saw

3

C009

Blue

O56

16-Apr

P033

Punch

24

C009

Blue

O56

16-Apr

P004

Plane

9

C001

Gold

O88

17-Apr

P015

Saw

10

Using the above Sales table structure, perform the followings:

Exercise 1:

Write the relational schema for the above table, draw the dependency diagram, and identify all dependencies, including all partial and transitive dependencies. You may assume that an order number references more than one product and that the table does not contain repeating groups.

Exercise 2:

Write the relational schemas after removing all partial dependencies and draw the new dependency diagrams. Identify the normal form for each created table structure.

Exercise 3:

Write the relational schemas after removing all transitive dependencies and draw the new dependency diagrams. Identify the normal form for each created table structure.

Exercise 4:

Draw the Entity Relationship Diagram (ERD) according to the result of Exercise 3.

Question 4:

You are given the following table structure with sample data in it.

PET ID

PET NAME

PET TYPE PET AGE OWNER

VISIT DATE

PROC_ID

PROCEDURE

 

 

246

ROVER

DOG

12

SAM COOK

JAN 13/2002

01

RABIES VACCINATION

 

 

 

MAR 27/2002

10

EXAMINE and TREAT WOUND

 

 

 

APR 02/2002

05

HEART WORM TEST

 

298

SPOT

DOG

2

TERRY KIM

JAN 21/2002

08

TETANUS VACCINATION

 

 

 

MAR 10/2002

05

HEART WORM TEST

 

341

MORRIS

CAT

4

SAM COOK

JAN 23/2001

01

RABIES VACCINATION

 

 

 

JAN 13/2002

01

RABIES VACCINATION

 

519

TWEEDY

BIRD

2

TERRY KIM

APR 30/2002

20

ANNUAL CHECK UP

 

 

 

APR 30/2002

12

EYE WASH

Exercise 1:

Draw the dependency diagram of the table, and normalize the table to ensure all generated tables are in 3NF. Present all tables generated from the normalization.

Exercise 2:

Write SQL code to create the generated tables.

Attachment:- Database and Information Retrieval.rar

Verified Expert

In this assignment we have studied tera term software.In this assignment we have create the different table.Here we have create the dependency diagram.In this assignment I have developed the normalize the table and create the entity relationship diagram and finally I have written sql query.

Reference no: EM132197298

Questions Cloud

What amount of gain or loss does shauna recognize : Danielle's tax basis in her WFI stock is $100,000. What amount of gain or loss does Shauna recognize in the complete liquidation
Key legislative and regulatory frameworks : List and describe the key legislative and regulatory frameworks that you are required to have knowledge of within an organisation
Provide a brief description of the team or group : Provide a brief description of the team or group. How many members did it include? What was its purpose?
Explain the elements of managing project risk : Explain the elements of managing, monitoring, and controllong project risk that would be important to you as a newly assigned project manager.
Draw the entity relationship diagram : Write the SQL query to find all students who have enrolled into a course in 2016 or later - Draw the Entity Relationship Diagram
Explore types of principal-agency relationships : A person injured by someone driving a car in the course of employment may sue not only the driver but that driver's employer.
Do you prefer oral vs. written communication : Do you prefer oral vs. written communication? Do you believe Skype business is a good method of communication in business?
What is the purpose of strategic alignment : So, what is the purpose of "Strategic Alignment"? and its influence on business processes?
How do potential barriers to effective strategic planning : How do potential barriers to effective strategic planning in the health care environment differ from barriers encountered in the general business world.

Reviews

len2197298

12/18/2018 9:27:56 PM

Question 4 Excellent Good Incorrect Draw the dependency diagram of the table and normalize the table to ensure all generated tables are in 3NF. Present all tables generated from the normalization. The dependency diagram drawing of the table is correct. 3 marks The dependency diagram drawing of the table is partially correct. 2 marks The dependency diagram drawing of the table is incorrect or missing. 0 mark Write SQL code to create the generated tables. The written SQL code is correct. 2 marks The written SQL code is partially correct. 1 mark The written SQL code is incorrect or missing. 0 mark Overall Score Level 3 22 or more Level 2 14 or more Level 1 0 or more

len2197298

12/18/2018 9:27:46 PM

Write the relational schemas after removing all transitive dependencies and draw the new dependency diagrams. Identify the normal form for each created table structure. The relational schema written is correct. 2 marks The relational schema written is partially correct. 1 mark The relational schema written is incorrect or missing. 0 mark Draw the Entity Relationship Diagram (ERD) according to the result of Exercise 3 The Entity Relationship Diagram (ERD) drawing is correct. 2 marks The Entity Relationship Diagram (ERD) drawing is partially correct. 1 mark The Entity Relationship Diagram (ERD) drawing is incorrect or missing. 0 mark

len2197298

12/18/2018 9:27:36 PM

Question 3 Excellent Good Unsatisfactory Write the relational schema for the above table, draw the dependency diagram, and identify all dependencies, including all partial and transitive dependencies The relational schema written is correct 3 marks The relational schema written is partially correct. 2 marks The relational schema written is incorrect or missing. 0 mark Write the relational schemas after removing all partial dependencies and draw the new dependency diagrams. Identify the normal form for each created table structure. The relational schema written is correct. 3 marks The relational schema written is partially correct. 2 marks The relational schema written is incorrect or missing. 0 marks

len2197298

12/18/2018 9:27:24 PM

Write the SQL query to find all students who have enrolled into a course in 2016 or later. The written SQL query is correct. 2 marks The written SQL query to generate a combined is partially correct. 1 mark The written SQL query is to generate a combined list missing. 0 mark Write the SQL query to generate a list of all students who have the letter ‘a’ in their name (first name/last name). The written SQL query is correct. 2 marks The written SQL query is partially correct. 1 mark The written SQL query is incorrect or missing. 0 mark Write the SQL query to find students who are enrolled for units offered in ‘Burwood’. The written SQL query is correct. 2 marks The written SQL query is partially correct. 1 mark The written SQL query is incorrect or missing. 0 mark Write the SQL query to show only students who have enrolled to ‘Database’ course or a course that has been offered in Geelong. The written SQL query is correct. 2 marks The written SQL query is partially correct. 1 mark The written SQL query is incorrect or missing. 0 mark

len2197298

12/18/2018 9:27:15 PM

Write the SQL code to create the tables The SQL code, which creates the tables is correct. 2 marks The SQL code, which creates the tables is partially correct. 1 mark The SQL code, which creates the tables is incorrect or missing. 0 mark Question 2 Excellent Good Unsatisfactory Write the SQL code to create the above three tables, and insert the sample data into the tables The written SQL code is correct. 2 marks The written SQL code is partially correct. 1 mark The written SQL code is incorrect or missing. 0 mark

len2197298

12/18/2018 9:26:56 PM

i have assignment question on database ,in which lucid charts has to be used and tera term software for queries and also screenshots to be put in i need answers to the questions in assignment with screenshots.

len2197298

12/18/2018 9:26:06 PM

i have assignment question on database ,in which lucid charts has to be used and tera term software for queries and also screenshots to be put in i need answers to the questions in assignment with screenshots.

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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