Operative Interview Question

simply sql statement