当 course = NULL 时 length(NULL) = NULL SUM() 函数会自动忽略 NULL 值 所以 case when course is null then 0 else 多余了
点赞

相关推荐

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