1,排名,自身连接,用count,去重用distinct
2,累加,和上面一样,自身连接,用sum
3,count函数不用group by只有一组
posted on 2019-02-13 22:47 Kooing 阅读(269) 评论(0) 编辑 收藏 举报