Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SELECT p . amount, dD . districtID, rD . ratingID, p . payment _ id FROil sakila.address a , sakila.film f , sakila.payment p ,

SELECT p.amount, dD.districtID, rD.ratingID, p.payment_id
FROil
sakila.address a,
sakila.film f,
sakila.payment p,
sakila.customer c,
sakila.inventory i,
sakila.rental r,
star3. RatingDim rD,
star3. DistrictDim dD
WHERE p.customer_id = c.customer_id
AND p.rental_id = r.rental_id
AND r.inventory_id = i.inventory_id
AND i.film_id = f.film_id
AND c.address_id = a.address_id
AND a.district = dD.district
AND f.rating = rD, ratings
edit the select statment to use joins instead of where clause
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle 12c SQL

Authors: Joan Casteel

3rd edition

1305251032, 978-1305251038

More Books

Students also viewed these Databases questions

Question

How are languages distributed

Answered: 1 week ago

Question

How do they research and outline writing projects?

Answered: 1 week ago

Question

1. How does Kiwi Experience maintain a continual customer focus?

Answered: 1 week ago