Domanda di colloquio di Philips

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