sql

作者: _Syndra | 来源:发表于2019-12-10 14:29 被阅读0次
select userUm, max(score)  from score where nth=1 group by userUm order by score desc;

score表 外加两个索引:
userUm索引 和 userUm_score _nth 复合索引。

上面sql却没有

相关文章

网友评论

      本文标题:sql

      本文链接:https://www.haomeiwen.com/subject/gskggctx.html