Sogeti interview question

SQL Queries