Loginworks interview question

SQL questions