SQLzoo.net

Conditional values

Postgres
The SQL Standard is the CASE statement


Specific to Postgres
Any number of cases may be used.

Related links:

  • FUNCTIONS