create or replace type full_address_typeCreate Table
as object(
street varchar2(80),
city varchar2(80),
state char(2),
zip varchar2(10));
create table customer(Insert Data
full_name varchar2(50),
full_address full_address_type
);
insert into customer
values('Don Burleson',
full_address_type('123 1st st','Minoy','ND','74635'));
Select Row
Select full_name, C.full_address.state
from customer C;
No comments:
Post a Comment