To return a value from a DML command (for example, a newly generated ID from an INSERT), you can use a PL/SQL block with the RETURNING INTO clause. This requires configuring an output bind variable.
CASE column_name WHEN value_1 THEN result_1 WHEN value_2 THEN result_2 ... ELSE else_result END Example: Let's say we have a JobApplicants table with a status column containing single letters: 'A' for ...