SQL - CASE Expressions
Consider the table
Inventory with columns quantity and type. What rows will this query return?SELECT * FROM Inventory WHERE CASE WHEN type = 'Perishable' THEN quantity < 20 ELSE quantity >= 50 END;