X → Y is broken by the X values that come with more than one Y value. A query with GROUP BY and COUNT(DISTINCT …) finds them.
- Test
building → deptonstaff_directory. Return eachbuildingthat breaks it. - Does the data break
dept → building? - Which
phone_extbreaksphone_ext → emp_id?
The last two tasks need no query. R(A, B, C, D, E) has these FDs:
text
A → C
C → D
BD → E- What is
A+? - Which two attributes together are a candidate key of R?