CIBC interview question

SQL Queries