PL/SQL With Object Types PRIMARY KEY
<p>I have create object relation type as below. </p>

<pre><code>CREATE OR REPLACE TYPE familycar_t AS OBJECT (
make VARCHAR (10),
model VARCHAR(10),
year NUMBER (4),
fuel_type VARCHAR (10));
/

CREATE OR REPLACE TYPE sedan_t AS OBJECT (
familycar ref familycar_t,
cylinder_Size  number(10));
/

CREATE TABLE familycar OF familycar_t (PRIMARY KEY (make,model));
</code></pre>

<p>Now I want to set primary for "Sedan" table as follow.</p>

<pre><code>CREATE TABLE sedan OF sedan_t (PRIMARY KEY (familycar_t.make,familycar_t.model));
</code></pre>

<p>But Error occur like,</p>

<blockquote>
  <p>Error starting at line : 4 in command - CREATE TABLE sedan OF sedan_t
  (PRIMARY KEY (familycar_t.make,familycar_t.model)) Error report - SQL
  Error: ORA-00904: "FAMILYCAR_T"."MAKE": invalid identifier
  00904. 00000 -  "%s: invalid identifier"
  *Cause:<br>
  *Action:</p>
</blockquote>

<p>What is the solution for it?</p>