开发者

finding out redundancy

开发者 https://www.devze.com 2023-02-16 04:50 出处:网络
I have a foreign table...and I wanna see the redundant 开发者_高级运维rows corresponding to the foreign column and also the number of redundancy.select foriegn_column_name,COUNT(foriegn_column_name) f

I have a foreign table...and I wanna see the redundant 开发者_高级运维rows corresponding to the foreign column and also the number of redundancy.


select foriegn_column_name,COUNT(foriegn_column_name) from table_name
group by foriegn_column_name
having COUNT(foriegn_column_name) > 1
0

精彩评论

暂无评论...
验证码 换一张
取 消