Антон
Зарегистрирован: 20.08.2002 Сообщения: 33
|
Добавлено: Ср Авг 07 2002 10:36 Заголовок сообщения: Oracle - nested tables - помогите тупому, плиз! |
|
|
Люди! что сделать,чтобы это или нечто подобное заработало? (oracle 817)
declare type rec is record(i number, n number); type tbl is table of rec; mytable tbl; begin insert into table(cast(mytable as tbl)) (i, n) values (1,105); insert into table(cast(mytable as tbl)) (i, n) values (1,66); select id, sum(n) from table(cast(mytable as tbl)) group by i; end; |
|