select *
from dba_objects d
where exists (select 1
from (
select d.owner, count(*)
from dba_objects d
where d.owner in (‘TRADE_HNGJS‘, ‘TRADE_HXGJS‘)
group by d.owner) t
where t.owner = d.owner)
时间: 2024-10-25 23:01:18