我将此表 email_addr_bean_rel 与这些字段id, email_address_id, bean_id, bean_module, primary_address, reply_to_address, date_created, date_modified, deleted
这些列 bean_id 的唯一记录重复两次。
我试过这个,但它不起作用
CREATE TABLE email_addr_bean_rel_V AS SELECT DISTINCT * FROM email_addr_bean_rel;
DROP TABLE email_addr_bean_rel;
RENAME TABLE email_addr_bean_rel_V TO email_addr_bean_rel;
它仍然包含相同数量的记录。