Altimetrik Interview Question

SQL Joins and Subqueries based