6.1 LAB - Select movie ratings with left join The Movie table has the following columns: ID - integer, primary key Title

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

6.1 LAB - Select movie ratings with left join The Movie table has the following columns: ID - integer, primary key Title

Post by answerhappygod »

6.1 LAB - Select movie ratings with left join
The Movie table has the following columns:
ID - integer, primary key
Title - variable-lengthstring
Genre - variable-length string
RatingCode - variable-lengthstring
Year - integer
The Rating table has the following columns:
Code - variable-length string,primary key
Description - variable-lengthstring
Write a SELECT statement to select the Title, Year, and ratingDescription. Display all movies, whether or not a RatingCode isavailable.
Hint: Perform a LEFT JOIN on the Movie and Rating tables,matching the RatingCode and Code columns.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply