Question: The following are multi table queries ( 1 7 - 2 0 ) , make sure to use the Join command ( all joins are

The following are multi table queries (17-20), make sure to use the Join command (all joins are
Natural or Inner Joins)
17. Using the Customer and the Address table (you will need to Join the tables), list the
customer_id, first_name, last_name, address, district, city_id, postal_code, phone, and email.
Join on the address_id from both tables. Order by last_name then first_name.
18. Using the Customer and the Address table (you will need to Join the tables), list the
customer_id, first_name, last_name, address, district, city_id, postal_code, phone, and email for
those customers that live in California. Join on the address_id from both tables. Order by
last_name then first_name.
19. Using the Customer and the Address table (you will need to Join the tables), list the
customer_id, first_name, last_name, address, district, city_id, postal_code, phone, and email
where the city_id is greater than 500. Join on the address_id from both tables. Order by
city_id.
20. Using the actor and film_actor table, join using the actor_id field from both tables. List the
actor_id, first_name, last_name, and film_id. Order by film_id, actor_id

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!