题解 | #21年8月份练题总数#

21年8月份练题总数

https://www.nowcoder.com/practice/b8f30b239b454ed490367b53ea95607d

难道最严谨的不是这个写法吗

select count(distinct device_id) as did_cnt,

       count(distinct question_id) as question_cnt

from question_practice_detail

where `date` between '2021-08-01' and '2021-08-31'

select count(distinct device_id) as did_cnt,
       count(*) as question_cnt
from question_practice_detail
where `date` between '2021-08-01' and '2021-08-31'

全部评论

相关推荐

tttk_:就是人多。 有的是条件和你差不多然后没在od待过的人。 所以就拿这个筛你了。 就和卡学历一样,人太多了。 从公司角度,这样做节省精力,更方便。 没办法谁叫现在人多呢
第一份工作能做外包吗?
点赞 评论 收藏
分享
积极的小学生不要香菜:你才沟通多少,没500不要说难
点赞 评论 收藏
分享
不愿透露姓名的神秘牛友
07-23 14:18
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务