统计每个班级以 'a' 开头,以 'C' 结尾且学籍状态为 01 的男性微信号数量
SELECT COUNT(*) AS num_of_aC_male_wechat FROM students WHERE gender = '男' AND wechat LIKE 'a%' AND wechat LIKE '%C' AND status = '01' GROUP BY class;
原文地址: https://www.cveoy.top/t/topic/jx8k 著作权归作者所有。请勿转载和采集!