結果 : declare variable in query postgresql