title: CREATE OR REPLACE TYPE with IS TABLE OF
body: <p><a href="https://i.stack.imgur.com/UmFNc.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UmFNc.jpg" alt="enter image description here"></a></p>
  
  <p>In this statement of create or replace type I am having an error in <code>is table of</code>. Here is the code:</p>
  
  <pre><code>CREATE or REPLACE TYPE Custos_SIN AS OBJECT 
  (NUM_GRUPO VARCHAR2(30),CUSTO_TOTAL NUMBER, SINISTROS_TOTAL NUMBER);
  
  CREATE or REPLACE TYPE custos_sin_table IS [here in red] TABLE OF Custos_SIN;
  </code></pre>
  
  <p>Do you know why?</p>