DB2 provides the FETCH FIRST command to limit query results.
select * from mytable fetch first 10 rows only;
To get the first 10 by column
DB2 provides the FETCH FIRST command to limit query results.
select * from mytable fetch first 10 rows only;
To get the first 10 by column