会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
进击的许盈盈
每天都要升级打怪
博客园
首页
新随笔
联系
订阅
管理
2022年2月12日
SQL例题求已完成的试卷数complete_exam_cnt---表子查询结果也可以作为select里的选择项
摘要: 法一: select count(distinct if(submit_time is not null, exam_id, null)) as complete_exam_cnt from exam_record 法二: SELECT count(distinct exam_id and scor
阅读全文
posted @ 2022-02-12 13:40 进击的许盈盈
阅读(80)
评论(0)
推荐(0)
编辑