• I tested this. It doesn't seem to work correctly everytime. But I had never thought of using distinct in a having clause, so nice.