Answered step by step
Verified Expert Solution
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 pamount, dDdistrictID, rDratingID, ppaymentid
FROil
sakila.address a
sakila.film f
sakila.payment p
sakila.customer
sakila.inventory i
sakila.rental r
star RatingDim rD
star DistrictDim dD
WHERE pcustomerid ccustomerid
AND prentalid rrentalid
AND rinventoryid iinventoryid
AND ifilmid ffilmid
AND caddressid aaddressid
AND adistrict dDdistrict
AND frating rD ratings
edit the select statment to use joins instead of where clause
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