Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Problems/Query-33 Issue-#20/Query-33 Issue-#20.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
SELECT * FROM table WHERE salary =
(
SELECT MIN(salary) FROM table
WHERE salary IN (
SELECT DISTINCT TOP N
salary FROM table
ORDER BY salary DESC
)
)