现在的位置: 首页 > 综合 > 正文

SQL 集锦

2013年04月21日 ⁄ 综合 ⁄ 共 132字 ⁄ 字号 评论关闭
MySQL:
查询后5条数据
select * from tablename desc limte 5
Oracle:
查询第5-10条数据
select * from tablename where rownum <10
minus
select * from tablename where rownum <5

抱歉!评论已关闭.