結果 : switch case postgresql