partition by 和 group by

都是对结果数据集进行分区操作。

partition by  用于SQL的函数内部

group by  用于语句中

posted @ 2014-11-22 11:37  爱笑的3  阅读(191)  评论(0编辑  收藏  举报