select * from tb_KeyWords where i_KeyId not in(
select Min(i_KeyId)
from tb_KeyWords
group by vc_Keyname
having COUNT(vc_Keyname)>1
) order by i_KeyId desc
sql数据库去重后排序
最新推荐文章于 2023-02-10 00:36:44 发布
select * from tb_KeyWords where i_KeyId not in(
select Min(i_KeyId)
from tb_KeyWords
group by vc_Keyname
having COUNT(vc_Keyname)>1
) order by i_KeyId desc