2021
12-16
12-16
SQL实现LeetCode(178.分数排行)
[LeetCode]178.RankScores分数排行WriteaSQLquerytorankscores.Ifthereisatiebetweentwoscores,bothshouldhavethesameranking.Notethatafteratie,thenextrankingnumbershouldbethenextconsecutiveintegervalue.Inotherwords,thereshouldbeno"holes"betweenranks.+----+-------+|Id|Score|+----+-------+|1 |3.50 ||2 |3.65 ||3 |4.00...
继续阅读 >