mysql 基础1

一、查询第二大的分数或者ID, 表数据如下 查询语句 : SELECT MAX(score) FROM methodlock where score<( SELECT MAX(score) from methodlock); 还可以使用下面的写法: SELECT MAX(score) from methodlock where score not in ( SELECT MAX(score) FR
相关文章
相关标签/搜索