Example of how to use case statement

SELECT cust_last_name,
   CASE credit_limit
    WHEN 100 THEN 'LOW'
    WHEN 5000 THEN 'HIGH'
    ELSE 'MEDIUM' 
   END
   FROM customers

Using this ‘CASE’, we are printing salary information as ‘HIGH’/’LOW’/’MEDIUM’ instead of salary credit_limit.