Enova interview question

Writing a few SQL Queries.