I Have a table with 60 rows data, But now I just want to get ten rows starting from the twentieth row, for example: give me records between 21 and 30. Is there a way can do it? yes, here is the code: 
   
SQL Tip of the day: get a specific range of resultsSELECT TOP 10 * 
SQL Tip of the day: get a specific range of results
FROM table1
SQL Tip of the day: get a specific range of results
WHERE id NOT IN (
SQL Tip of the day: get a specific range of results  
SELECT TOP 20 id
SQL Tip of the day: get a specific range of results  
FROM table1
SQL Tip of the day: get a specific range of results  
ORDER BY id
SQL Tip of the day: get a specific range of results)
SQL Tip of the day: get a specific range of results
ORDER BY id 

    Btw : There should be a better way , If you've found one, just  give me a feedbackSQL Tip of the day: get a specific range of results

相关文章:

  • 2022-02-09
  • 2022-12-23
  • 2021-12-12
  • 2021-09-14
  • 2021-11-25
  • 2022-01-29
  • 2021-12-01
  • 2021-06-07
猜你喜欢
  • 2021-06-08
  • 2022-01-16
  • 2021-07-04
  • 2021-07-05
  • 2021-11-14
  • 2021-08-18
  • 2021-09-04
相关资源
相似解决方案