Thomson Reuters Interview Question

To write out some SQL statements.