This exercise is worth a total of 10 points. You will receive up to five points for writing the
INSERT
statement and displaying the results with the correct syntax. You will receive up to five points for adding an explanation.
- Background: Write an
INSERT
statement to insert a row into the nested table within the SALE_HEADER
table.
- Instructions:
- With SQL*Plus, connect to the database by using
PETSTORE
as the username, GREATPETS
as the password, and MYDB
as the host string.
- Approve the entries.
- Build an
INSERT
statement to insert a record into the varray within the CUSTOMER_OBJ_TABLE
table.
The values for the record are as follows:
cust_id
is
56
, name of the person is Norma Grey residing at 100 South East Main Burbank CA 65443 having the following phone numbers: 1-800-876-3243 and 1-714-785-8763. Joan last updated the record on 12/22/99.