会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
time_on
博客园
首页
博问
闪存
新随笔
订阅
管理
2017年6月9日
sql获取某类数据最新时间的值
摘要: 平时解决这种,总是用group by,但是又不能select * ,为了可以select * ,于是采用如下办法: select * from (select t.*, row_number() over(partition by t.name order by t.changedate desc)
阅读全文
posted @ 2017-06-09 11:10 time_on
阅读(7731)
评论(0)
推荐(0)
编辑