Thoughtworks Interview Question

TO Run a few SQL queries