retrieve user defined datatype from table
问题 SQL> -- CASE 1 SQL>select nest_test.id.num from nest_test; select nest_test.id.num from nest_test * ERROR at line 1: ORA-00904: "NEST_TEST"."ID"."NUM": invalid identifier SQL> -- CASE 2 SQL>select n.id.num from nest_test n; ID.NUM ---------- 12 As, AFAIK, aliasing any table is just giving simple name to the table or column. Then, why I'm getting error in Case 1 , when I'm trying to retrieve user defined object from table ? What actually happened, when I aliased my table. 回答1: The Oracle