Have a relational database with the following tables
RESTAURANT(RT_ID, NAME, TYPE, LOCATION)
PROXIMITY(RT1_ID, RT2_ID, DISTANCE)
USER(U_ID, NAME, EMAIL)
REVIEW(U_ID, RT_ID, RT_DATE, RATING, COMMENT)
What’s the relational algebra for “name of any user who has never given Chez Brian a rating lower than 5”?
Is this right?
5 thoughts on “Relational algebra problem”
Comments are closed.