摘要: 1.序列 1.1 序列和表是平级的。 1.2 一个序列可以给多张表共用 1.3 create sequence seq_num startwith 1 maxvalue nomaxvalue cache 202.表空间 create tablespace tab datafile 'E:\xxx.d 阅读全文
posted @ 2017-09-18 09:21 易烊千鹿 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 1.分页 查询雇员表中第4-6条记录 每页显示3条记录select * from ( select temp.*,rownum rn from ( select emp.* from emp order by sal desc ) temp where rownum<=6) where rn>=4 阅读全文
posted @ 2017-09-18 09:19 易烊千鹿 阅读(143) 评论(0) 推荐(0) 编辑