Pregunta de entrevista de American Bureau of Shipping (ABS)

SQL queries for where by having clause