DrawCode Practice Problem

Second Highest Distinct Salary · Support tickets 6

Support tickets dataset, variant 6. 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