set linesize 200 col owner for a39 col table_name for a39 select (select db_unique_name from v$database) dbname,owner, table_name, degree from dba_tables where degree > 1 and owner not in ( 'APPQOSSYS', 'DBA_RO','DBSNMP','DIP', 'FOGLIGHT5X','FOGLIGHT5', 'GEMS_READ','ORACLE','ORACLE_OCM', 'OUTLN','SQLTXADMIN','SQLTXPLAIN','SYS', 'SYSTEM','WMSYS','TRCANLZR','PERFSTAT', 'SITEADM','QUEST','INETDBA','ORACHK_CM','FLOW_FILES','APEX_040200' ) order by owner;