
















































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!

















































7
Relation Sells: store candy price 7-11 Twizzlers 2. 7-11 Kitkat 2. Kroger Twizzlers 2. Kroger Kitkat 3.
7-11Menu := SELECTstore=“7-11”(Sells): store candy price 7-11 Twizzlers 2. 7-11 Kitkat 2.
11
13
Sells( store, candy, price ) Stores(name, addr ) 7-11 Twiz. 2.50 7-11 Maple St. 7-11 Kitkat 2.75 Kroger River Rd. Kroger Twiz. 2. Kroger Pez 3.
StoreInfo := Sells JOIN (^) Sells.store = Stores.name Stores
StoreInfo(store, candy, price, name, addr ) 7-11 Twiz. 2.50 7-11 Maple St. 7-11 Kitkat 2.75 7-11 Maple St. Kroger Twiz. 2.50 Kroger River Rd. Kroger Pez 3.00 Kroger River Rd.
17
Stores(name, addr ) 7-11 Maple St. Kroger River Rd.
R( store, addr ) 7-11 Maple St. Kroger River Rd.
R(store, addr) := Stores