Skip to content

Instantly share code, notes, and snippets.

@liarokapisv
Created September 26, 2017 14:17
Show Gist options
  • Save liarokapisv/a14447896e2a1a733d9148a6c3ccda68 to your computer and use it in GitHub Desktop.
Save liarokapisv/a14447896e2a1a733d9148a6c3ccda68 to your computer and use it in GitHub Desktop.
Best Practice
select RV.name, MV.title, RT.stars, RT.ratingDate
from (select * from Reviewer) as RV join
(select * from Movie) as MV join
(select * from Rating) as RT on
(RV.rId = RT.rId and RT.mId = MV.mId)
order by RV.name asc, MV.title asc, RT.stars asc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment