Course Hero interview question

Simple SQL queries and joines