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数据库去重后排序
最新推荐文章于 2024-07-12 15:06:15 发布
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