恰好看到,感觉SQL题第二题应该这样写:有的用户可能并不存在逾期的订单 select sum(repaid_amount)/count(distinct(user_id)) from table a where a.is_overdue=true; 不知道对不对
点赞 评论

相关推荐

点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务