Is there a 'START AT' equivalent in MS-SQL?

后端 未结 4 495
说谎
说谎 2021-02-08 06:45

Some databases support commands such as:

SELECT TOP 10 START AT 10 * FROM 

Essentially I need to pull the first 10 records, then t

4条回答
  •  暖寄归人
    2021-02-08 06:56

    SELECT Top 10 * 
    FROM Table 
    WHERE  Not IN (
        SELECT Top 10  
        FROM Table 
        ORDER BY  ASC) 
    ORDER BY  ASC
    

提交回复
热议问题