I need some help a query. For each movie in my database that has at least one rating, I need to find the highest number of stars that movie has recieved. The data I want the query to return is movie, title and the number of stars sorted by movie title.
The tables I am working with are the following:
Movie(mID int, title text, year int, director text);
Reviewer(rID int, name text);
Rating(rID int, mID int, stars int, ratingDate date);
(Wow, so hard to do this on an iPhone.)