fromonjoinwheregroup by with cube 或 with rolluphavingselectdistinctorder by top 转载于:https://www.cnblogs.com/sristc/archive/2010/04/12/1710025.html