SQL - Advanced Window Functions
Which of the following is the correct syntax to get the 3rd highest salary using
NTH_VALUE in SQL?NTH_VALUE in SQL?NTH_VALUE(column, n), so salary first, then 3.ORDER BY salary DESC) ensures the highest salaries come first, so the 3rd highest is the 3rd row.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions