結果 : sql case statement in having clause