DrawCode Practice Problem

Second Highest Distinct Salary · Health readings 17

Health readings dataset, variant 17. 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