Write a SQL query to get the top K medal winners.
Unlock detailed company stats for this questionUpgrade
Table with columns Name, SportName, Medal. Rows: (A, Cricket, Gold), (A, Football, Silver), (B, Football, Gold), (C, Basketball, Gold), (D, Tennis, Gold), (E, Cricket, Silver), (F, Football, Silver), (B, Basketball, Silver), (G, Tennis, Silver). Follow-up: if two or more people have the same number of medals, treat them as one rank (dense rank).
Community answers
No answers contributed by the community yet.
Related questions
Write an SQL query to find the maximum salary.Write a SQL query to swap the sex of employees.Write a SQL query to find the second-highest salary.Related courses

Course

Course
Course
