基础备忘
来源:互联网 发布:星际皆知你爱我网盘 编辑:程序博客网 时间:2024/06/01 09:39
--每个选一个: SELECT top (1) with ties a.use_of_proceeds, a.instrument_id, b.primary_name, a.muni_security_type, a.use_of_proceeds_supplementary, b.apex_asset_typeFROM [ExtFeedData].[rawapex].[debt_muniDetails] as ainner join [ExtFeedData].[rawapex].[masterInformation_instrumentMaster] as bon a.instrument_id=b.instrument_idWhere a.use_of_proceeds_supplementary is not NULLorder by ROW_NUMBER() OVER(PARTITION BY a.use_of_proceeds order by a.use_of_proceeds) --每个条件选十个:SELECT a.use_of_proceeds, a.instrument_id, a.muni_security_type, a.use_of_proceeds_supplementaryFROM (select rid=ROW_NUMBER() OVER(PARTITION BY use_of_proceeds order by instrument_id DESC), * FROM [ExtFeedData].[rawapex].[debt_muniDetails] ) as aWhere a.rid <=10
MySQL的命令行导入导出:http://www.cnblogs.com/yuwensong/p/3955834.html
阅读全文
0 0
- 基础备忘
- ASP.Net基础备忘
- java基础备忘
- java高级基础备忘
- java高级基础备忘
- html---备忘基础
- GDB调试基础备忘
- 基础备忘:虚基类
- 基础备忘:异常处理
- GDB调试基础备忘
- 基础备忘:vector 用法
- Java基础(备忘)
- Matlab基础备忘
- CSS的基础备忘
- Oracle 基础语句备忘
- 【Android】基础知识点备忘
- R语言基础备忘
- 【备忘】swing基础例子
- 对常量进行‘|’和‘&’运算的意义
- PHP-遍历二维数组的几种方式
- 【OpenCV】透视变换 Perspective Transformation(续)
- hihocoder 1534 微软探星夏令营笔试A题 (STL)
- You Are the One HDU
- 基础备忘
- .netFramewo 4.0软件报 未能加载文件或程序集“System.Core, Version=2.0.5.0错误处理
- Hadoop和大数据:60款顶级开源工具
- fzu2265Card Game (Second Edition) (数学)(简单)
- 02_利用rand7() 产 生 rand10() 1~10(均匀概率)
- __attribute__ 用法
- 几种常用的最短路的求法
- 链表是否构成环、环的长度以及环的入口点的求法
- squid代理安装步骤