测试用例数据
create table tab_connect_by (parent number,child number,flag VARCHAR(5)); insert into tab_connect_by (PARENT, CHILD, FLAG)values (4, 2, 'Y'); insert into tab_connect_by (PARENT, CHILD, FLAG)values (5, 4, 'Y'); insert into tab_connect_by (PARENT, CHILD, FLAG)values (5, 3, 'Y'); insert into tab_connect_by (PARENT, CHILD, FLAG)values (15, 10, 'Y'); insert into tab_connect_by (PARENT, CHILD, FLAG)values (15, 5, 'Y'); insert into tab_connect_by (PARENT, CHILD, FLAG)values (17, 9, 'Y'); insert into tab_connect_by (PARENT, CHILD, FLAG)values (17, 8, 'Y'); insert into tab_connect_by (PARENT, CHILD, FLAG)values (38, 15, 'Y'); insert into tab_connect_by (PARENT, CHILD, FLAG)values (38, 17, 'Y'); insert into tab_connect_by (PARENT, CHILD, FLAG)values (38, 6, 'Y'); insert into tab_connect_by (PARENT, CHILD, FLAG)values (26, 13, 'Y'); insert into tab_connect_by (PARENT, CHILD, FLAG)values (26, 1, 'Y'); insert into tab_connect_by (PARENT, CHILD, FLAG)values (26, 12, 'Y'); insert into tab_connect_by (PARENT, CHILD, FLAG)values (18, 11, 'Y'); insert into tab_connect_by (PARENT, CHILD, FLAG)values (18, 7, 'Y'); insert into tab_connect_by (PARENT, CHILD, FLAG)values (7, 4, 'Y'); insert into tab_connect_by (PARENT, CHILD, FLAG)values (null, 38, 'Y'); insert into tab_connect_by (PARENT, CHILD, FLAG)values (null, 26, 'Y'); insert into tab_connect_by (PARENT, CHILD, FLAG)values (null, 18, 'Y'); commit;
不管在什么地方上班,请记住:
工作不养闲人,团队不养懒人。入一行先别惦记着赚钱,先学着让自己值钱。赚不到钱赚知识;赚不到知识赚经历;赚不到经历赚阅历;以上都赚到了就不可能赚不到钱。只有先改变自己的态度,才能改变人生的高度。
让一个人迷茫的原因只有一个,那就是本该拼搏的年纪,却想的太多,做的太少。