Logical Data Model

User Generated

Zeklm

Computer Science

Description

Assignment Definition:

Use the data model you designed in earlier (ERD Diagram Definition). This data model will be reviewed and taken from the conceptual model to logical model status.

Conceptual data modeling is about understanding the organization – getting the right requirements built into the database design.

Logical data modeling is about creating stable database structures – expressing the organizational requirements correctly in a technical language so that the resulting database operates on a specific type of database technology.

Make sure you define the following:

  • All entities and relationships among them.
  • Specify all attributes for each entity.
  • Specify the primary key for each entity.
  • Specify Foreign keys (keys identifying the relationship between different entities).
  • Review data model to make sure data model is in at least 3rd normal form (as defined by the normalization process).
  • Create a logical data model of the scenario used in document below.

The ERD diagram has been added below for your reference.

Unformatted Attachment Preview

Scenario 1 – Online Ordering and Delivery Service for Sandwich Shop Assumptions • Each customer must place at least one order, otherwise the details of the customer will not be saved in the database. Business Rules • Each customer can place one or more orders. Each order belongs to a customer only • Each order can have one or more products. Each product can be ordered zero or more times. Hence, there is a many to many relationship between order and product. The many to many relationship has been resolved by adding a new associative entity set OrderLine. An Order can have one or more orderline records. Each product will have zero or more orderline records. ER Diagram The ER diagram contains four entities, the relationships between the entities, the attributes of the entities as per users’ requirements and the details of the primary and foreign keys. 1 Data Dictionary Entity Customer Attribute CustomerID Keys Primary FullName DeliveryAddress Phone Email 2 Product ProductID Primary ProductName Description UnitPrice Order OrderID Primary OrderDate CustomerID Foreign TotalCost OrderLine OrderID Primary, foreign ProductID Primary, foreign Qty Toppings OtherInfo 3 Reference Coronel, Carlos and Steven Morris. Database Systems: Design, Implementation, and Management. Cengage Learning, 2016. 4
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Here is your assignment :)

1

Logical Data Model

ERD:

Entity: Customer

·

Attributes: CustomerID, FullName, DeliveryAddress, Phone, Email

·

Primary Key: CustomerID

·

Foreign Key: None
·

Relationships:

·

1-to-many: Customer to Order

2

·

1-to-many: Order to DeliveryAddress

Entity: Product

·

Attributes: ProductID, ProductName, Description, UnitPrice

·

Primary Key: ProductID

·

Foreign Key(s): None

·

Relationships:
o many-to-1: Customer to Product
Ent...


Anonymous
Really helped me to better understand my coursework. Super recommended.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Related Tags