Write a query to find 3rd highest salary of employee having 'a' and 'c' in last name.
Asked in the Interview stage. Consider letters appearing anywhere in the last name, regardless of case. Treat the third-highest salary as the third distinct salary value.
employee_id, first_name, last_name, and salary.last_name, then employee_id.| Column | Type | Description |
|---|---|---|
| employee_idPK | INT | Unique employee identifier |
| first_name | VARCHAR(100) | Employee first name |
| last_name | VARCHAR(100) | Employee last name |
| Column | Type | Description |
|---|---|---|
| employee_idPK | INT | Employee identifier referencing employees |
| salary | NUMERIC(10,2) | Current annual salary |