sql group by having clause

Solutions on MaxInterview for sql group by having clause by the best coders in the world