If i have a type x_typ and subtype y_typ, is it possible to create a an object table of x_typ but put a constraint on one of the y_typ attributes i.e.
create table x_table of x_typ (
constraint constr_y check (y_typ.attribute1 < 5);
);
Thanks