日期:2014-05-16 浏览次数:20787 次
create table tb3
(id number ,
name varchar(20)
);
insert into tb3 (ID, NAME)
values (3, '分类3
');
insert into tb3 (ID, NAME)
values (2, '分类2');
insert into tb3 (ID, NAME)
values (1, '分类1
');
create table tb4
(no number ,
id number,
dt date
) ;
insert into tb4 (NO, ID, DT, ROWID)
values (4, 1, to_date('28-11-2013', 'dd-mm-yyyy'), 'AAAR88AAEAAAASPAAA');
insert into tb4 (NO, ID, DT, ROWID)
values (5, 2, to_date('13-10-2013', 'dd-mm-yyyy'), 'AAAR88AAEAAAASPAAB');
insert into tb4 (NO, ID, DT, ROWID)
values (3, 2, to_date('05-11-2013', 'dd-mm-yyyy'), 'AAAR88AAEAAAASPAAC');
insert into tb4 (NO, ID, DT, ROWID)
values (1, 1, to_date('01-12-2013', 'dd-mm-yyyy'), 'AAAR88AAEAAAASPAAD');
insert into tb4 (NO, ID, DT, ROWID)
values (2, 1, to_date('07-12-2013',