mysql
2022-12-20 本文已影响0人
TK_7e2c
查询重复记录
select *,count(*) from table group by a having count(a)>1
及格率
select (case when score>=60 then 1else 0 end)*100 /count(*)from table
查询重复记录
select *,count(*) from table group by a having count(a)>1
及格率
select (case when score>=60 then 1else 0 end)*100 /count(*)from table