版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/weixin_38779390/article/details/82878651
如何简单有效的剔除数据表中重复的冗余数据呢?
select
*
from
[表名]
where
objectid in (
select
max(objectid)
from
[表名]
group by
userid,createdate
)
and other option