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.
6.1 LAB - Select movie ratings with left join The Movie table has the following columns: ID - integer, primary key Title
-
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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!