sql语句实战

1,排名,自身连接,用count,去重用distinct

2,累加,和上面一样,自身连接,用sum

3,count函数不用group by只有一组

猜你喜欢

转载自www.cnblogs.com/vhyc/p/10372255.html