Philips Interview Question

They asked me to write a sql query using having clause .