Relational Constructs   «Prev  Next»

Rules for Database Rows - Exercise

Translate entities and attributes

Objective:Translate entities and attributes into tables with column headings.

Exercise scoring

This exercise is worth a total of two points. This exercise is auto-scored. When you have answered the question below, click the Submit button to receive credit for having completed the exercise and view a results page.

Background and Overview

In this exercise, you will create tables with column headings based on the entities and attributes in the ER diagram for the course project. This is the beginning of a database design that tracks orders placed with Stories on CDs.

Instructions

Below is an illustration of the ER diagram for the Stories on CD case study. Create tables with column headings for the Customer, Order, CD, Distributor, and Line Item entities on the diagram.
Stories on CD ER diagram
This image is a schema diagram of a database for "Stories on CD, Inc." It includes five entities:
  1. CUSTOMER,
  2. ORDER,
  3. LINE ITEM,
  4. CD, and
  5. DISTRIBUTOR.

Each entity is shown with its attributes; primary keys (PK) and foreign keys (FK) are indicated.
Relationships between entities are represented with lines showing the associations. For instance, CUSTOMER is linked to ORDER indicating a relationship where a customer can have multiple orders. This schema helps in understanding how data is structured and interrelated in the database.

Submitting your Exercise

This exercise is auto-scored, which means there is nothing to submit.
When you have answered the question, click the Submit button to receive credit for completing the exercise and view a results page.