You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
237 B
MySQL
8 lines
237 B
MySQL
5 years ago
|
/*28. Write a query in SQL to find the titles of all movies that have no ratings.*/
|
||
|
SELECT DISTINCT mov_title
|
||
|
FROM movie
|
||
|
WHERE mov_id IN (
|
||
|
SELECT mov_id
|
||
|
FROM movie
|
||
|
WHERE mov_id NOT IN (
|
||
|
SELECT mov_id FROM Rating));
|