









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










2
Attributes (column headers)
Tuples (rows)
7
Con- sumers Likes Candies
Likes(consumer, candy)
Favorite
Favorite(consumer, candy)
Married
husband
wife
Married(husband, wife)
name addr name manf
Buddies
Buddies(name1, name2)
11
Logins At Hosts
name name
Hosts(hostName, location) Logins(loginName, hostName, billTo) At(loginName, hostName, hostName2)
Must be the same
billTo
At becomes part of Logins
location
13
Candies
Choc- olates
isa
name (^) manf
color
14
name manf Twizzler Hershey Candies
name manf color Snickers M&M/Mars light Chocolates
Good for queries like “find the color of chocolate candies made by M&M/Mars.”
16
name manf color Twizzler Hershey NULL Snickers M&M/Mars dark Candies
of attributes that are usually NULL.