SQL - CASE Expressions
Given the table
Tasks with column priority having values 'High', 'Medium', 'Low', what will the query below return?SELECT priority FROM Tasks ORDER BY CASE priority WHEN 'High' THEN 1 WHEN 'Medium' THEN 2 ELSE 3 END;