题解 | #统计所有课程参加培训人次#
统计所有课程参加培训人次
https://www.nowcoder.com/practice/98aad5807cf34a3b960cc8a70ce03f53
select sum(t.pn) as staff_nums from( select (LENGTH(course) - LENGTH(REPLACE(course, ',', '')))+1 as pn from cultivate_tb ) as t
统计所有课程参加培训人次
https://www.nowcoder.com/practice/98aad5807cf34a3b960cc8a70ce03f53
select sum(t.pn) as staff_nums from( select (LENGTH(course) - LENGTH(REPLACE(course, ',', '')))+1 as pn from cultivate_tb ) as t
相关推荐