Enova interview question

Sql queries