ROW_NUMBER()與PARTITION BY 實例

環境:SQL Server 2008 R2 數據表結構 SELECT A.* FROM [tbiz_AssScoreWeidu] A WHERE A.ProjectID=65 AND A.PersonID=2430 AND A.RelationID=30   SELECT A.* ,ROW_NUMBER() OVER ( PARTITION BY A.[WeiduNo
相關文章
相關標籤/搜索