方法一 select * from messages where id in ( select max(id) fom messages group by name ); -- 优化 select b…
- Mysql
- 2022-05-13
获取排名列表: $rankDefault = intval(($data['currentPage'] - 1) * $data['currentCount']); pdo_fetchall("sel…
- PHP
- 2021-06-17
今天mysql突然出现以下错误: mysql> select * from test; ERROR 1034 (HY000): Incorrect key file for table ‘tes…
- Mysql
- 2021-02-23
现在有个需求对所有学生分数进行排名,并且列出名次。刚看到这个需求,我有点懵逼,完全没有思路😂,为什么难一点需求,我就不会做呢😔 去网上查询资料,把所有实现都列出来,全部…
- Mysql
- 2020-11-04
最新评论