数据库查询、复制表

数据库查询、复制表

/*查询*/
select * from T_STUDENT t

/*oracle分页*/
select * from 
(select  rownum as rn,t.* from t_student t where rownum <=15) 
where rn >5

/*复制表*/
create table t_student2 as select * from t_student;
commit;

select * from t_student2;

猜你喜欢

转载自www.cnblogs.com/hglibin/p/9776343.html