标签:查询

SqlServer中常用的sql(删除类)

1 删除表中重复的数据,但保留重复数据中的一条 delete from kk_attachs where (attachguid) in (select attachguid from kk_attachs group by attachguid h...