Intuit interview question

Sql