bluestone

Learning without thinking leads to confusion;thinking without learning leads to danger.

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: :: :: 管理 ::

2013年11月29日

摘要: 如上表排序字段为flowcount,当askid与status相同时,需要筛选出flowcount最大(即最新)的那一条记录SELECT auditid, askid, status, flowcount FROM ( SELECT ROW_NUMBER() OVER(PARTITION B... 阅读全文
posted @ 2013-11-29 10:26 ssatyr 阅读(292) 评论(0) 推荐(0)