decode (oracle) equivale in postgres

oracle postgres sql 5 years, 4 months ago
Simple Case: case search-expression WHEN expression [, expression [ ... ]] THEN statements [ WHEN expression [, expression [ ... ]] THEN statements ... ] [ ELSE statements ] END CASE; Searched Case: CASE WHEN boolean-expression THEN statements [ WHEN boolean-expression THEN statements ... ] [ ELSE statements ] END CASE;
1846
Posted By