摘要: 1、使用distinct去重(适合查询整张表的总数)有多个学校+教师投稿,需要统计出作者的总数select count(author) as total from files每个作者都投稿很多,这里有重复的记录。 select distinct author from files;有可能两个学校的教 阅读全文
posted @ 2019-10-28 17:19 HigherLee 阅读(35630) 评论(0) 推荐(0) 编辑