1
である私は、オブジェクト持ってどこOracleは、テーブルからデータを選択するSQL:属性は、ネストした表
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、歴史。現在のように:
name1 date1 current1
name1 date2 current2
name2 date3 current3
...
これを行う方法?
オブジェクトが正しく作成されたときにそれが動作します。 – Kacper