Question: Only for question 4. This task asks us to write the relational schema, so there is no real data in this table. This is not

 Only for question 4. This task asks us to write the

Only for question 4.

This task asks us to write the relational schema, so there is no real data in this table. This is not asking us to write the SQL, it's relation schema.

. 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 withPool 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

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!