Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q9 in SQL & DB question missing answer #13

Open
jordipuig37 opened this issue Dec 28, 2023 · 0 comments
Open

Q9 in SQL & DB question missing answer #13

jordipuig37 opened this issue Dec 28, 2023 · 0 comments

Comments

@jordipuig37
Copy link

Looks like there is a missing answer to this question.

May I propose a simple solution based on this example i found:

SELECT *
FROM employee_table
WHERE
	salary = (SELECT DISTINCT salary
     	FROM employee_table
     	ORDER BY salary DESC
     LIMIT 1 OFFSET 2
     )
;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant