SQL - CASE Expressions
Given the table
Orders with column StatusCode, what will this query return?SELECT OrderID, CASE StatusCode WHEN 1 THEN 'Pending' WHEN 2 THEN 'Shipped' ELSE 'Unknown' END AS Status FROM Orders;
