Question

Scenario: Elite Video is a startup company providing concierge DVD kiosk service in Kennesaw, GA. FIGURE P8.47 THE CH08 MOVIE9) List name of members and the movie titles they rented (w3schools-> SQL Inner Join) -- this requires 4 joins. SQL with Mult

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution

9)

SELECT Mem_FName, Mem_LName, Movie_Title FROM MEMBERSHIP

JOIN RENTAL ON MEMBERSHIP.Mem_Num = RENTAL.Mem_Num

JOIN DETAILRENTAL ON

RENTAL.Rent_Num = DETAILRENTAL.Rent_Num

JOIN VIDEO

ON DETAILRENTAL.Vid_Num = VIDEO.Vid_Num

JOIN MOVIE

ON MOVIE.Movie_Num = VIDEO.Movie_Num;

---

10)

SELECT Mem_FName, Mem_LName, Movie_Title FROM MEMBERSHIP

JOIN RENTAL ON MEMBERSHIP.Mem_Num = RENTAL.Mem_Num

JOIN DETAILRENTAL ON

RENTAL.Rent_Num = DETAILRENTAL.Rent_Num

JOIN VIDEO

ON DETAILRENTAL.Vid_Num = VIDEO.Vid_Num

JOIN MOVIE

ON MOVIE.Movie_Num = VIDEO.Movie_Num

WHERE Mem_FName = 'LEWIS'

AND Mem_LName = 'ROSALES';

---

11)

SELECT SUM(Detail_Fee), Mem_Num FROM DETAILRENTAL

JOIN RENTAL ON DETAILRENTAL.Rent_Num = RENTAL.Rent_Num

GROUP BY Mem_Num;

12)

SELECT SUM(Detail_Fee), Mem_Lname FROM DETAILRENTAL

JOIN RENTAL ON DETAILRENTAL.Rent_Num = RENTAL.Rent_Num

JOIN MEMBERSHIP

ON RENTAL.Mem_Num = MEMBERSHIP.Mem_Num

GROUP BY Mem_LName;

---

Answered all the queries

if you have any doubts, please mention, love to help

all the best

Add a comment
Know the answer?
Add Answer to:
Scenario: Elite Video is a startup company providing concierge DVD kiosk service in Kennesaw, GA. FIGURE...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • EliteVideo is a startup company providing concierge DVD kiosk service in upscale neighborhoods. E...

    EliteVideo is a startup company providing concierge DVD kiosk service in upscale neighborhoods. Each store can own several copies (VIDEO) of each movie (MOVIE). For example, the store may have ten copies of the movie Titanic. In this case, Titanic would be an instance in the MOVIE table, while each rentable copy would be an instance in the VIDEO table. A rental transaction (RENTAL) involves one or more VIDEOs being rented to a member (MEMBERSHIP). A video can be rented...

  • NEED the SQL query that solves each problem 4) List the member numbers of all members...

    NEED the SQL query that solves each problem 4) List the member numbers of all members who rented a movie. Do not list duplicates. (w3schools -> SQL Distinct) 5) List the member names [first and last] for members from Kentucky {KY}. (w3schools -> SQL Where) 6) List the names of all movies in alphabetical order (w3schools -> SQL ORDER BY) 7) List the movie title and cost in descending order by cost (w3schools -> SQL Order By) 8) List all...

  • 2) What were the total rental fees for each member by member last name? (w3schools-> SQL...

    2) What were the total rental fees for each member by member last name? (w3schools-> SQL Inner Join& SQL Functions Count, Avg, Sum & SOL Group By)- this requires 2 joins 13) What were the total rental fees for members treport Mem num who total fees were greater than $5-change the output label to FeesMoreThan5S? (w3schools->SQL Inner Join & SQL Functions Count, Avg, Sum& SQL Group By & SQL Having) 14) What was the highest fee paid by each member...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT