Explain the difference between RANK(), DENSE_RANK(), and ROW_NUMBER() in SQL.
Use the provided employee scores to demonstrate how the three functions handle ties. Return each employee's score alongside all three ranking results.
employee_name, team, score, rank_position, dense_rank_position, and row_number_positionteam ascending, score descending, and employee_id ascending| Column | Type | Description |
|---|---|---|
| employee_idPK | INT | Unique employee score record identifier |
| employee_name | VARCHAR(100) | Employee name |
| team | VARCHAR(50) | Employee team |
| score | INT | Employee performance score |