解决方法:菜单-工具=》选项 Read More
posted @ 2012-09-11 11:17 Merray Views(359) Comments(0) Diggs(0) Edit
SQLSERVER 取每组的前几条记录SELECT*FROM(SELECTid,字段1,字段2,字段3ROW_NUMBER()OVER( PARTITIONBY分组字段 ORDERBY排序字段desc)asRANKFROM表1 asuaWHERE条件语句)TWHERET.RANK<=4 Read More
posted @ 2012-09-11 10:16 Merray Views(202) Comments(0) Diggs(0) Edit