In Netezza, if yes:
SELECT * FROM Tbl order by col1 LIMIT 10 OFFSET 20;
First of all, what is OFFSET 20. And will it give me the first 10 lines specified in the order, or will the order be applied after a random 10 lines? I want to select the first 10 rows of a table as indicated in my order.
If your table col1 was a list from 1 to 1000
Limit 10 will return 1-10
Limit 10
Limit 10 OFFSET 20 will return 21-31
Limit 10 OFFSET 20
Delete Offsetto get only the first 10 lines, and yes, it will process first order by.
Offset
order by
Source: https://habr.com/ru/post/1524307/More articles:REST API Jenkins API - code-coverageEmbed events in Android without root - androidMagento: enter the country code by country name - phpMake MonoDevelop respect smcs.rsp - monoR: How to quickly make transformations on a subset of a subset (optimize or alternatively "ddply`)? - rg ++ (4.7.2) error or function when initializing static arrays at compile time? - c ++Knuth-Morris-Pratt Algorithm - javaПроверка сообщений об ошибках запуска в Emacs - emacsonPrepareSubMenu in custom ActionProvider never called - androidChange validation options for a specific form - jquery-validateAll Articles