SQLの中で条件分岐をさせたい場合に使うものがCASE式です。 ... postgres=# SELECT name, postgres-# CASE postgres-# WHEN name = 'apple' THEN 'A' ...
確定! 回上一頁