在select语句中只列出前几行的关键字是?
不同数据库写法不同,比如在SQL Server,返回前5条数据的写法:
select top 5 * from 表名
oracle的写法:
select * from 表名where rownum <= 5