摘要: 代码提交作者 代码提交作者个数 统计某个yourName的增加,删除,总行数 提交次数top10 统计每个人,和上面统计结果一样,亲测非亲写(搬运工),单行脚本,自己感受下: 阅读全文
posted @ 2019-12-20 17:09 正宗老菜鸟 阅读(1026) 评论(0) 推荐(0) 编辑
摘要: 关键字 row_number() over (partition by) 例如,下面的数据, 这是按照name分组后,展示property值。 我们想得到这样的值; 第一步:将每一组的property标上序号 select name,property,row_number() over (parti 阅读全文
posted @ 2019-12-20 14:35 正宗老菜鸟 阅读(6849) 评论(3) 推荐(2) 编辑
摘要: Oracle : start with… connect by 的用法。语法:select * from table [where 条件1] connect by[条件2] start with[条件3]。 connect by 和 start with的位置并无先后顺序。 pid为父类。prior 阅读全文
posted @ 2019-12-20 14:11 正宗老菜鸟 阅读(737) 评论(0) 推荐(0) 编辑