如何查询Oracle数据库中,一列数据相同的记录

2024-11-18 08:46:22
推荐回答(1个)
回答1:

select * from table t where t. businesscode in (
select t1.businesscode from table t1 group by businesscode having count(*) >1
)