摘要: 1、SELECT C, SUM() OVER (PARTITION BY A, B) FROM TABLE 条件汇总 2、RANK()函数,返回结果集分区内指定字段的值的排名 如:Select rank() over(order by s_score desc) as 名次,s_class,s_id 阅读全文
posted @ 2023-03-28 16:02 瘋孑 阅读(26) 评论(0) 推荐(0) 编辑