Teradata uses employee compensation data to support workforce analysis. Write a PostgreSQL query to identify employees earning the second highest distinct salary among currently active employees.
employment_status = 'Active'.employee_id, employee_name, and salary.NULL salary from consideration and order the results by employee_id.| Column | Type | Description |
|---|---|---|
| employee_idPK | INTEGER | Unique employee identifier |
| employee_name | VARCHAR(100) | Employee's full name |
| salary | NUMERIC(12,2) | Annual employee salary |
| employment_status | VARCHAR(20) | Current employment status |