展开全部
1、创建测2113试表,
create table test_date(id varchar2(20), v_date date);
2、插5261入测试数据
insert into test_date values(1, sysdate-30);
insert into test_date values(2, sysdate-40);
insert into test_date values(3, sysdate-60);
insert into test_date values(4, sysdate-80);
insert into test_date values(5, sysdate-90);
commit;
3、查询4102表中1653全量数据,回select t.*, rowid from test_date t;
4、编写sql