結果 : how to use cte in postgresql