【发布时间】:2017-03-21 02:27:49
【问题描述】:
我有一个对象:
create type t_history_rec is object
(
date_from date,
current float
);
create type t_history is table of t_history_rec;
和表定义:
create table person
(
id integer primary key,
name varchar2(30),
history t_history
);
我想像这样获取选择名称、history.date_from、history.current:
name1 date1 current1
name1 date2 current2
name2 date3 current3
...
如何做到这一点?
【问题讨论】:
标签: oracle oracle11g nested-table