結果 : postgresql if statement multiple conditions