会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
残虾寄居所
博客园
首页
新随笔
联系
订阅
管理
2015年1月30日
postgre 中获取某个字段最小的另一个字段的记录
摘要: 采用分析函数row_number()select * from( select a.*,row_number() over (partition by column1 order by column2 [desc]) as rn from table1) qwhere rn = 1其中,part...
阅读全文
posted @ 2015-01-30 12:28 残虾寄居所
阅读(456)
评论(0)
推荐(0)
编辑
公告