d. Primary Key e. Foreign Key f. Surrogate Key

A Guide to SQL
9th Edition
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Philip J. Pratt
Chapter2: Database Design Fundamentals
Section: Chapter Questions
Problem 5TD
icon
Related questions
Question

So I need help doing parts d - h

transaction processing DBMSs. Topics we cover will include:
Relational Model Concepts
Relational Data Model Constraints
Post-class assignment. Due dates are strictly enforced.
1. Look back at the restaurant dataset from your last homework, You may have found that some
rows didn't contain the same data as other rows, when they should have matched. Please try
to find a row and explain what's wrong.
2. In your Module 2 homework, you divided the restaurant columns (attributes) into three parts:
Restaurant, Inspection, Violation. In your HW 2, you tried to create an ERD from this. Please
draw the tables that come from the ERD entities (but not any relationships-that's the next
module)
3.
Look at your answer for (2). Please list all things that are present in your ERD from Module 2
that are missing from your answer for (2).
4.
Please do Exercise 5.19 from your course textbook
5.
Please do Exercise 5.20 from your course textbook
6. Define the following terms:
a. Key
b.
Superkey
c. Candidate Key
d.
Primary Key
Foreign Key
e.
f. Surrogate Key
g. Entity Integrity Constraint
h. Referential Integrity Constraint
Please hand in: Your submission must be a single Word (.docx) or PDF file.
Transcribed Image Text:transaction processing DBMSs. Topics we cover will include: Relational Model Concepts Relational Data Model Constraints Post-class assignment. Due dates are strictly enforced. 1. Look back at the restaurant dataset from your last homework, You may have found that some rows didn't contain the same data as other rows, when they should have matched. Please try to find a row and explain what's wrong. 2. In your Module 2 homework, you divided the restaurant columns (attributes) into three parts: Restaurant, Inspection, Violation. In your HW 2, you tried to create an ERD from this. Please draw the tables that come from the ERD entities (but not any relationships-that's the next module) 3. Look at your answer for (2). Please list all things that are present in your ERD from Module 2 that are missing from your answer for (2). 4. Please do Exercise 5.19 from your course textbook 5. Please do Exercise 5.20 from your course textbook 6. Define the following terms: a. Key b. Superkey c. Candidate Key d. Primary Key Foreign Key e. f. Surrogate Key g. Entity Integrity Constraint h. Referential Integrity Constraint Please hand in: Your submission must be a single Word (.docx) or PDF file.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Procedures in SQL
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr