哪位大仙能看看以下删除重复信息保留一条信息错误在哪里?
研究了好长时间,想删除重复新闻保留一条,可一直不成功,帮我看看错在哪里?delete b2b_article as a from b2b_article as a,(select * from b2b_article group by title having count(1)>1) as b where a.title=b.title and a.itemid > b.itemid;
as换为vitae
楼上正解
http://bbs.destoon.com/static/image/smiley/default/victory.gif
http://bbs.destoon.com/static/image/smiley/default/victory.gif
http://bbs.destoon.com/static/image/smiley/default/victory.gif
2楼是个好人
页:
[1]