decode (oracle) equivale in postgres

oracle postgres sql 8 months, 1 week 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;
155
Posted By