Why there are data redundancy

Assignment Help Database Management System
Reference no: EM132095297

Please help me with this. Taking an SQL relational data bases course with Oracle, and having trouble. Any help is greatly appreicated! You will upvote clear helpful answer, Thanks!

1.  Consider a relational database schema design for a take-out restaurant (as a mini world)

The basic user requirements are the following. You can add more assumptions or requirements to either complicate or simplify the problem.

Menu should list all dishes available for customers to order. Each dish should be listed with a unique name and one price.

Order should be created whenever a customer made an order.

Payment information should be maintained whenever the money is paid. The payment should show to show the order id, cashier id, amount, date etc.

You can use your imagination to figure out what kinds attributes are useful for each essential entity set and figure out the relationship between or among entity sets.

To figure out what attributes you should capture for the database, think about how to answer questions like the ones listed here ( you can have more reasonable questions to help you figure out what need to be captured.)

  • Who (in terms of order iD, since you don't track names) bought a meat lover pizza on Jan. 23, 2006?
  • Who is the cashier to collect the money for order 001?
  • What dishes has a customer (in terms of order iD) ordered for order 10001?
  • How much money has been paid for order 10002?
  • What are the dishes for order 001?

Steps to go through

E-R diagram (how to draw ER diagram, ) Submit a print out.

Table designs or relation schema = relation name + attributes, in order (+ types of attributes). Example: Instructor(name: string, ID: number). ID is underscored because it is supposed to be the primary key for the table. Submit a print out (see slides 16-1 for an example)

ORACLE SQL command to create those tables.  submit scripts

For each table, you should provide at least 4 sample records could be more to illustrate the idea (tuples). submit scripts

2.  point out any problem that the following database design has? (10)

Ssn

Name

Coursed

Course name

instructor

8766

John

109

C language

James

8766

John

242

Database

Stephen

1334

Bill

242

Database

Stephen

Hint 1:

Show

why there are data redundancy?

why there are delete anomaly?

Why there are update anomaly?

Why there are insert anomaly?

Hint 2: See notes of recent lecture. lecture 17 (data anomalies)

3. Can you figure out a better design for the information stored in the above table using ERD approach? Justify your design.

(It is possible to figure out a good database design without even going through ERD, because this problem is simple enough; however, for a large scale database, analysis at higher conceptual level such as ER analysis is usually a must. Therefore, a direct result without going through ERD and mapping is not a complete solution!)

Reference no: EM132095297

Questions Cloud

Distinguish between the efficiency and effectiveness : Give an example to distinguish between the "Efficiency" and "Effectiveness" of a software application.
Analyze the bookstores current system : Analyze the bookstore's current system by drawing a context level DFD. Show the external entities and the data flows into and out of the system.
Write a c program that creates a structure named student : Write a C program that creates a structure named student with three members (name, last name and id).
What term is used to describe a type of communication : Which wireless technology enables low-power wide-area networks (LPWANs) for devices to communicate with other devices?
Why there are data redundancy : The basic user requirements are the following. You can add more assumptions or requirements to either complicate or simplify the problem.
What makes it projects different from other types of project : What makes IT projects different from other types of project? How should project managers adjust to these differences? Justify your response.
What is database recovery : What is Database recovery? Can The techniques for backup and recovery be used for disaster recovery?
Explain how nasa engineers were not properly trained : A fight against pollution and resource depletion is best described as the central concern of which of the following?
Find the mean and standard deviation of a number of data : Write a program, using C#, that will find the mean and standard deviation of a number of data points.

Reviews

Write a Review

Database Management System Questions & Answers

  Write queries to find out the unused structures

Write queries to find out the unused structures e.g. there is one Superannuation client but no Partnership clients on the starter database.

  Create a class diagram

Create a use case diagram and use case descriptions for each use case scenario in your use case diagram (minimum of 3).

  Describe and design physical storage requirements

Describe and design physical storage requirements.

  Create a data-flow diagram of one of its main processes

Create a data-flow diagram (DFD) of one of its main processes and an entity-relationship diagram showing the data within the scope of the system.

  Problem 1- customers with certain list patternsnbspproblem

problem 1- customers with certain list patternsnbspproblem descriptionnbsp you are provided with four tables in

  Identify your important entities and attrubutes

You are the database administrator in a university. You have been tasked to come up with a new database for the University - Identify your important entities, attrubutes and relationships

  Create a user account and add and activate the tag by id

A state-wide toll road system (MyStateTolls) allows users to buy an RF tag for use in paying tolls on their system. Each tag includes a unique tagID.

  Explain step that you would use in order to convert database

Describe the steps that you would use in order to convert database tables to the First Normal Form, the Second Normal Form, and the Third Normal Form.

  What level of concurrency is best supported by mimd computer

Could someone please explain to me what are the three levels of concurrency in programs?

  Evaluate the role of conceptual modeling

Database Systems and Administration - (ECM38IS) - Evaluate the role of conceptual modeling in the development of database systems and apply the entity-relationship modeling approach to a realistic scenario

  What are the benefits of dna databases

What are the benefits of DNA databases? What problems do DNA databases pose? Who should be included in a national DNA database? Should one be limited to convicted felons? Explain your answer.

  Data mining

DATA MINING-Business and Management Scenario assignment-Data Warehouse Reports. This is Part Three of the three-part assignment. For this week, you will complete the following: Resource: Business and Management Scenario assignment, Document data ware..

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