Design and document a logical data model using erwin

Assignment Help PL-SQL Programming
Reference no: EM132059372

Using the ACME Pizza narrative, design and document a logical data model using Erwin.

You should also make and document any reasonable assumptions where you feel the case is vague or ambiguous or missing any data necessary to meet the requirements. However you cannot ignore or overrule the requirements that are explicitly stated.

Show all cardinality, prime keys and foreign keys. Use verbs to clarify your relationships. Show only the attributes that are contained explicitly in the case. Use the Information Engineering notation

The ACME Pizza Company has engaged you to develop a database to facilitate the delivery of pizzas. ACME Pizza comprises numerous franchised stores in the city. Retained for each store is the phone, address and its unique store number.

Once any customer has placed an order, they will be assigned a unique customer number and their phone number and address will be stored for future reference. This information is retained once in the database to be accessible to all stores.

However, every order needs to be associated with the store that processes it. Each store assigns their own set of a unique order numbers. The employee information for each store is maintained and for each employee their name, employee id and job classification code are needed. Employee ids are also assigned locally by each store and are only unique for that store.

One of the employees in each store is designated as the store manager. It is important that the database design enforces the integrity constraint of there being only one manager designated for each store. Each employee has a job classification.

A job classification comprises a code, a standard description (such as pizza chef, delivery driver, etc.) and an associated standard hourly rate. ACME Pizza offers a number of standard pizza types. Each standard pizza type has its own code, description and a base price. ACME Pizza also allows customers to add any number of different toppings to a pizza.

Each topping type again has its own standard code and description as well as price. Once a customer has placed their order, the order date and order time are recorded (delivery within 30 minutes or its free). For simplicity it can be assumed that only pizzas and toppings are sold but there can multiple pizzas per order, of the same or different pizza type.

The details for each pizza on the order as well as its selected toppings (if any) will be recorded. Once an order is ready for delivery, it will be assigned to a delivery driver who will deliver it and call in the time the order was actually delivered. This time will be entered to complete the order.

Reference no: EM132059372

Questions Cloud

Equation of the vertical and horizontal asymtope : Write the equation of the vertical and horizontal asymtope of f(x)= 2x-3/x^2-x-6
What is the minimum possible surface area of such a cone : Suppose that such a cone is to have a total volume of 100 L. What is the minimum possible surface area of such a cone?
Develop a release plan based on a feature-story : Develop a release plan based on a feature-story example that has at least three capabilities, features, and stories.
What is the minimum possible surface area of such a cone : Suppose that such a cone is to have a total volume of 100 L. What is the minimum possible surface area of such a cone?
Design and document a logical data model using erwin : design and document a logical data model using Erwin - case is vague or ambiguous or missing any data necessary to meet the requirements
Hole in the base when the water source : A hemispherical tank of radius 2 feet is positioned so that its base is circular. How much work is required to fill the tank with water through a hole
What factors might explain the differences in the rates : What were the rates of the crime for each area? Did the rates change over time in either area?
Discuss the implications of supply chain risk management : Discuss the implications of supply chain risk management (SCRM) as it relates to cybersecurity and what you believe to be industry's and government's
How many lower reserved tickets were? purchased : How many lower reserved tickets were? purchased? How many upper box tickets were? purchased?

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Create a database model

Create a database model and Submit the table creation statements for the Database Model.

  Write pl-sql procedures and functions

Write PL/SQL procedures and functions to populate and query that database

  Sql questions

Write a query to display using the employees table the EMPLOYEE_ID, FIRST_NAME, LAST_NAME and HIRE_DATE of every employee who was hired after to 1 January, 1995.

  Run the lab_03_01.sql script

Run the lab_03_01.sql script in the attached file to create the SAL_HISTORY table. Display the structure of the SAL_HISTORY table.

  Write sql queries

Write a query to display the last name, department number, and salary of any employee whose department number and salary both match the department number and salary of any employee who earns a commission.

  Explaining sql insert statement to insert new row in cds

Write down a SQL insert statement to insert new row in "CDS" table.

  Write down name of actors in ascending order

Write down actors (or actress, your choice, but not both) who have won at least two (2) Academy Awards for best actor/actress. Provide the actor name, movie title & year. Order the result by actor name."

  What is an sql injection attack

What is an SQL injection attack? Explain how it works, and what precautions must be taken to prevent SQL injection attacks.What are two advantages of encrypting data stored in the database?

  Determine resonant frequency in series rlc resonant circuit

Given the series RLC resonant circuit in the figure, operating at variable frequency, determine: The resonant frequency ω o ,  The circuit’s quality factor Q , The cut-off frequencies, f 1  & f 2  and the bandwidth BW

  Query that uses cube operator to return lineitemsum

Write summary query which uses CUBE operator to return LineItemSum (which is the sum of InvoiceLineItemAmount) group by Account(an alias for AccountDesciption).

  Query to show customers were missing for existing orders

As DBA, your manager called a meeting and asked why there are so many orders for customers that don't exist in the customer table. Write query which would shows which customers were missing for existing orders. Use a join or a subquery.

  Sql query into a relational algebra statement

Turn this SQL query into a relational algebra statement? SELECT Request.reqfor, Ordering.invamt, Ordering.invnbr, Ordering.invdat

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