2

Suppose a query "select * from employee" returns 80 rows. I need to display middle rows that is from 20th row to 50th row.

I know, like to display first 20 rows we have option like "select top 20 * from employee" but if we need middle rows how to get it in MS SQL specifically.

I m new to this SQL queries...Can anybody answer to this question.

gbn
  • 408,740
  • 77
  • 567
  • 659
sap
  • 649
  • 3
  • 8
  • 20

1 Answers1

2

This is already answered here. :-)

Community
  • 1
  • 1
Jamie Chapman
  • 4,220
  • 5
  • 28
  • 47