DrawCode Practice Problem

Second Highest Distinct Salary · Warehouse stock 11

Warehouse stock dataset, variant 11. Return one column `second_highest_salary`; return NULL when no second distinct salary exists. Write one read-only SQLite SELECT query.


Interactive Visualizer Workspace

Explore step-by-step interactive animations, memory state tracking, and live multi-language execution in DrawCode.

Launch Interactive Visualizer