自定义字段做条件
2015-06-25 13:49
357 查看
方法一:
with temTable as (select *,ROW_NUMBER() over(order by Score desc) as paiming from QPShuGameMatchDB..MatchScoreStatistics) select * from temTable where temTable.paiming=1
方法二: select * from ( select *,ROW_NUMBER() over(order by Score desc) as paiming from QPShuGameMatchDB..MatchScoreStatistics ) as temp where temp.paiming = 1
相关文章推荐
- Android生成KeyStore
- 质量管理流程图
- Android-ContentProvider
- Java多线程sleep(),join(),interrupt(),wait(),notify()
- OJ——长方柱类
- (android)system ui 内存优化
- Application的讲解:Context
- 深度解析ios网络请求 get——post 区别
- bat脚本 -- 初步接触
- 移动端手机网站限制input只能输入数字
- Ajax实例-购物车
- RF-文件关联
- jvm调优
- 陌陌要为“任性”交多少学费?大致需要近7亿
- arm交叉编译器gnueabi、none-eabi、arm-eabi、gnueabihf、gnueabi区别
- QTimeLine 时间轴类 实现动画
- GCC中的堆栈保护机制
- JadClipse eclipse反编译插件
- 日语学习之沪江N3基础 20150625 -2
- C++ 中 dynamic_cast 浅析(一)