查詢符合條件的第21條到第30條記錄: select top 10 * from table_name where id not in(select top 20 id from table_name order by id asc) order by id asc