結果 : postgres using alias in having clause