1. if the records are ordered by some fields and you know how to calcuate the n-m records from those fields, for example, you have an identity field, you can do
select * from where id >=n and id <=m
then that will be the easiest way
2. assume m >n, in SQL Server, you can get the top m records, reverse the order, get the top m-n+1 records