摘要: delete from ResourceMedia where movieid not in ( select min(movieid) from ResourceMedia group by mediaID, volumeid )在mysql中不能用mysql中不能这么用。 (等待mysql升级吧)错误提示就是说,不能先select出同一表中的某些值,再update这个表(在同一语句中) 替换方案: create table tmp as select min(id) as col1 from blur_article group by title; delete from blur_a.. 阅读全文
posted @ 2007-10-08 14:40 苔苔以苔苔以苔 阅读(212) 评论(0) 推荐(0) 编辑
猪先飞