# 查询排行 SELECT b.* FROM ( SELECT t.*, @rownum := @rownum + 1 AS rownum FROM (SELECT @rownum := 0) r, (SELECT * FROM chenghao ORDER BY score DESC) AS t ) AS b WHERE b.ques_no = '{$quesNo}'; # 查询重复数据 select order_no,count(*) as count from redpack group by order_no having count>1;
未分类
linux 文本查询
1 查文本 cat filename |grep ‘xxx 阅读更多…
0 条评论