Question: Questions ( 1 , 2 , 3 , and 4 ) . Consider the following tables: Student enrolledIn subject id name id code code lecturer

Questions (1,2,3, and 4). Consider the following tables:
Student enrolledIn subject
id name id code code lecturer
1234 joe 1234 cs1500 cs1500 curtis
4000 hector 1234 cs1200 cs2001 dave
2000 ling 1234 cs2001 cs3010 curtis
4000 cs3010 cs2001 olivier
4000 ma3000 ma3000 roger
Figure out which relational algebra operations were used to obtain each of the following tables.
Name
Joe
Hector
ling
code Lecturer
cs3010 curtis
cs1500 curtis
id name code lecturer
4000 hector cs3010 curtis
4000 hector ma3000 roger
name lecturer
joe curtis
hector curtis
5. Consider the database with the following schema:
Person(name, age, gender) name is key
Frequents(name, iceCreamShop)(name, iceCreamShop) is a key
Eats(name, flavor)(name, flavor) is a key
Sells(iceCreamShop, flavor, price)(iceCreamShop, flavor) is a key
U

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!