decode (oracle) equivale in postgres

oracle postgres sql 1 month, 3 weeks 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;
47
Posted By