Clustering key , partition, 2 questions on sql, 1 was correct I used limit to take out top 3 rows and also told we can use dense_rank to tackle duplicate interviewer not convinced,1 approach was thou I was writing in notepad , questions on dense rank , rank basic , questions on transformation wide and narrow
Write a SQL query to return the top 3 scores from the dataset, including ties at the cutoff. Rows with a NULL score are ignored.
employee_name, score, and score_rankscore descending, then employee_name ascending| Column | Type | Description |
|---|---|---|
| employee_idPK | INT | Unique employee identifier |
| employee_name | VARCHAR(100) | Employee name |
| score | INT | Score used for ranking |