Source: http://ojs.hagi.or.id/SND_advanced-sql-case-exercises-with-answers_pMf0GKt.pdf