sql语句查询某个表中重复的数据

版权声明:版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/David__peng/article/details/82965808

前言

hive表中对应appid字段有数据重复导致sqoop导入到对应mysql数据库中appid字段不唯一

select appid from expt_before_object where date_added >= '2018-10-07' group by appid having count(*)>1;

猜你喜欢

转载自blog.csdn.net/David__peng/article/details/82965808
今日推荐