GSK interview question

Perform some queries with SQL