Appinventiv interview question

SQL Queries