Oracle 和 MySQL 中查询条件限制语句

在 MySQL 中查询:
select * from table_name limit 100,20; 从第100条开始,查询20条数据;
select * from table_name limit 20; 从第1条开始,查询20条数据;

在 Oracle 中查询:
select * from table_name where rownum<=10

One response to “Oracle 和 MySQL 中查询条件限制语句”

Leave a Reply

Your email address will not be published. Required fields are marked *