3)
CREATE TABLE PETSTORE.SALE_HEADER
(SALE_ID NUMBER(10,0),
CUST_REF REF PETSTORE.CUSTOMER_TYPE,
DETAIL_TOTAL NUMBER(10,2),
TAX_AMOUNT NUMBER(10,2),
SHIPPING_AMOUNT NUMBER(10,2),
SALE_TOTAL NUMBER(10,2),
RETAIL_NEST DETAIL_TABLE
)
After creating the nested table, create a different table and associate the nested table with it, as shown within the DDL statement.