DrawCode Practice Problem

Second Highest Distinct Salary · Store visits 33

Store visits dataset, variant 33. 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