Oracle关于自定义类型的查询需要用到表的别名,否则查询失败 例如, select * from vendors cc where cc.vendor_name.name ='。。'; 如果没有别名则会是错误的。。。