close
下一筆
 
SELECT RowNum,USER_GUID,NAME
FROM   (SELECT USER_GUID,NAME ,         ROW_NUMBER() OVER(ORDER BY USER_GUID) as RowNum   
FROM TB_EB_USER   ) as DerivedTableNameW
WHERE RowNum =
(SELECT RowNum
FROM
   (SELECT USER_GUID,ROW_NUMBER() OVER(ORDER BY USER_GUID) as RowNum
    FROM TB_EB_USER
   ) as DerivedTableName
WHERE USER_GUID ='994669d3-822a-40e2-82fc-622b93279386')  + 1
 
上一筆
 
SELECT RowNum,USER_GUID,NAME
FROM   (SELECT USER_GUID,NAME ,         ROW_NUMBER() OVER(ORDER BY USER_GUID) as RowNum   
FROM TB_EB_USER   ) as DerivedTableNameW
WHERE RowNum =
(SELECT RowNum
FROM
   (SELECT USER_GUID,ROW_NUMBER() OVER(ORDER BY USER_GUID) as RowNum
    FROM TB_EB_USER
   ) as DerivedTableName
WHERE USER_GUID ='994669d3-822a-40e2-82fc-622b93279386')  - 1
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 丫烈客 的頭像
    丫烈客

    丫烈客

    丫烈客 發表在 痞客邦 留言(0) 人氣()