Nth Highest Distinct Salary
Given an 'Employee' table with 'id' (Primary Key) and 'salary' (Integer), write a SQL query to retrieve the Nth highest distinct salary. If there are fewer than N distinct salaries in the table, the query should return NULL. The solution should be flexible enough to handle any integer input N.
PostgreSQLScalar SubqueryOFFSETLIMITDISTINCT
00