Sql Snowflake Pyspark Zero copy cloning in snowflake Third highest salary sql question using window function
Write a SQL query to return the third highest distinct salary from the employee salary data. If fewer than three distinct salaries exist, return no row.
third_highest_salary| Column | Type | Description |
|---|---|---|
| employee_idPK | INT | Unique employee identifier |
| employee_name | VARCHAR(100) | Employee name |
| department | VARCHAR(100) | Employee department |
| salary | NUMERIC(12,2) | Employee salary |