Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

Data Management - Applications - C170 Performance Labs - uCertify

Rating
-
Sold
-
Pages
5
Grade
A+
Uploaded on
01-12-2023
Written in
2023/2024

1.1.1 - Conceptual Schema - ER Model Tables: Customer, DonutOrder, Donut - Customer: PK - CustomerID Rest are customer related fields DonutOrder: FK - CustomerID, FK - DonutID Qty, SpecialNotes Donut: PK - DonutID Rest are donut fields Relationships: Customer - 1:n Identifying - DonutOrder DonutOrder - n:1 Identifying - Donut Why are the relationships in 1.1.1 Identifying? - The PK's of Customer and Donut are included in the composite primary key of DonutOrder. 2.1.1 - Physical Scheme - ER Model Tables: Customer, DonutOrder, Donut - Customer: PK - CustomerID

Show more Read less
Institution
Course

Content preview

Data Management - Applications -
C170 Performance Labs - uCertify
1.1.1 - Conceptual Schema - ER Model



Tables: Customer, DonutOrder, Donut - ✔✔Customer:

PK - CustomerID

Rest are customer related fields



DonutOrder:

FK - CustomerID,

FK - DonutID

Qty, SpecialNotes



Donut:

PK - DonutID

Rest are donut fields



Relationships:

Customer - 1:n Identifying - DonutOrder

DonutOrder - n:1 Identifying - Donut



Why are the relationships in 1.1.1 Identifying? - ✔✔The PK's of Customer and Donut are included in
the composite primary key of DonutOrder.



2.1.1 - Physical Scheme - ER Model



Tables: Customer, DonutOrder, Donut - ✔✔Customer:

PK - CustomerID

, Rest are customer related fields



DonutOrder:

PK- DonutOrderID

FK - CustomerID

FK - DonutID

Rest of order related



Donut:

PK - DonutID

Rest are donut related



Relationships:

Customer - 1:n Non-identifying - DonutOrder

DonutOrder - n:1 Non-identifying - Donut



Why are the relationships in 2.1.1 Non-Identifying? - ✔✔The PK in DonutOrder is a unique key that
does not include FK of other tables.



3.2.1 - Creating a database



You need to create a database named "DonutOrderingDB". - ✔✔create database DonutOrderingDB;



3.2.2 - Dropping database in MySQL



You need to delete a database named DonutOrderingDB. - ✔✔drop database DonutOrderingDB;



3.2.3 - Understanding types of relationships



M:M - ✔✔B. Each record from first table is associated with many records in second table and one
record in second table is associated with many records in first table.

Written for

Course

Document information

Uploaded on
December 1, 2023
Number of pages
5
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$8.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
eustacemaina122

Get to know the seller

Seller avatar
eustacemaina122 USIU
Follow You need to be logged in order to follow users or courses
Sold
1
Member since
3 year
Number of followers
1
Documents
519
Last sold
1 year ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions