Thomson Reuters interview question

SQL Queries