mysql

作者: TK_7e2c | 来源:发表于2022-12-20 17:18 被阅读0次

查询重复记录

select *,count(*) from table group by a having count(a)>1

及格率

select  (case when score>=60 then 1else 0 end)*100 /count(*)from  table 

相关文章

网友评论

      本文标题:mysql

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