摘要: 1.UserID 并非主键,UserID有重复值SELECT b.*FROM(SELECT*,rid=ROW_NUMBER() OVER(PARTITION BY UserID ORDER BY UserID) FROM EmployeeAllInfo) bWHERE rid =1 阅读全文
posted @ 2012-09-04 11:04 偶不是大叔 阅读(285) 评论(0) 推荐(0) 编辑