[b]1.oracle:[/b]
select * from table1 where rownum <= 10;
[b]2.sql server:[/b]
select top 10 * from table1
[b]3.mysql:[/b]
select * from table1 limit 10
[b]4.db2:[/b]
select * from table1 fetch first 10 rows only
select * from table1 where rownum <= 10;
[b]2.sql server:[/b]
select top 10 * from table1
[b]3.mysql:[/b]
select * from table1 limit 10
[b]4.db2:[/b]
select * from table1 fetch first 10 rows only