Question: please help me ... Question 1. A database is given to you consisting of the following three relations. [5] Regulars (shopname, studentno) giving the ice-cream
please help me ...

Question 1. A database is given to you consisting of the following three relations. [5] Regulars (shopname, studentno) giving the ice-cream shopname each student visits. SELLS (shopname, ice-creamtype) indicating what kind of ice-creams each parlor sells. LIKES (studentno, ice-creamtype) indicating what ice-creams each student likes. (Assume that each student likes at least one ice-cream and frequents at least one parlor) i) Find out the student numbers that are regulars at atleast one ice-cream shop that sells some ice- cream types that they like. ii) Find out the icecream shopnames where the avg number of regulars are more than the avg regulars of shopname "Gileto".
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
