8 lines
285 B
MySQL
8 lines
285 B
MySQL
|
/*47. Write a query in SQL to find the highest-rated movie, and report its title, year, rating, and releasing country. */
|
||
|
SELECT mov_title, mov_year, rev_stars, mov_rel_country
|
||
|
FROM movie
|
||
|
NATURAL JOIN rating
|
||
|
WHERE rev_stars = (
|
||
|
SELECT MAX(rev_stars)
|
||
|
FROM rating
|
||
|
);
|