Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

What are properties of a good/bad database design? What is a functional dependency (FD)? What are the possible sources of information that defines the FDs

  1. What are properties of a good/bad database design? What is a functional dependency (FD)? What are the possible sources of information that defines the FDs that holds among the attributes of a relational schema? [ Hints : see from lecture slides]
  2. Ruling Out FDs: Given a relation "MyTinyStore". Which FDs may exist in this relation? What do you need to rule out?

MyTinyStore

Customer_LastName

Drink_Item

Food_Item

Delivery_method

Smith

Iced_Tea

Burger

Not_Delivery

Smith

Coke

Hot Dog

Delivery

Paul

Coke

Hot Dog

Carry out

Sara

Coffee

Noodles

Carry out

  1. Consider the two relations : COURSE and SECTION. Using SQL commands show that how a functional dependency can be derived from single key and multi-column keys. [ Hints: see fromhttps://dev.mysql.com/doc/refman/5.7/en/group-by-functional-dependence.html ]

Also, explain how functional dependencies can be used to indicate the following:

(i) A one-to-one relationship set exists between entity sets COURSE and SECTION.

(ii) A many-to-one relationship set exists between entity sets COURSE and SECTION.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

College Accounting

Authors: Heintz and Parry

20th Edition

1285892070, 538489669, 9781111790301, 978-1285892078, 9780538489669, 1111790302, 978-0538745192

Students also viewed these Mathematics questions

Question

Differentiate the function. r(z) = 2-8 - 21/2 r'(z) =

Answered: 1 week ago