Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the following relations for gyms. The primary keys are underlined. All attributes are of type string if not indicated otherwise. Customer (customer_ID, customer_name, SSN,
Consider the following relations for gyms. The primary keys are underlined. All attributes are of type string if not indicated otherwise. Customer (customer_ID, customer_name, SSN, customer_age: integer, customer_gender, address) Gym (gym_name, location, type, membership_price: integer) o The values for the column named type are with Pool or withoutPool. Guest (guest_name, customer_ID, guest_age: integer, guest_gender) o The gyms allow each customer to have guests associated with him/her. Member (customer_ID, gym_name) 1. [5 points] Find the names of gyms that have swimming pools in Gainesville. 2. [5 points] Find the names of guests who are brought by young customers (age
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started