#把price的值赋值给special price
#产品id为888
#attribute_id=76的时候value字段表示的是special price价格
#attribute_id=75的是value字段表示的是price价格
UPDATE catalog_product_entity_decimal as t1
INNERJOIN (SELECT entity_id,valueFROM catalog_product_entity_decimal where attribute_id=75) as t2
SET t1.value=t2.valueWHERE t1.entity_id=t2.entity_id and t1.attribute_id=76and t1.entity_id=888;
#不指定产品id,批量修改
UPDATE catalog_product_entity_decimal as t1
INNERJOIN (SELECT entity_id,valueFROM catalog_product_entity_decimal where attribute_id=75) as t2
SET t1.value=t2.valueWHERE t1.entity_id=t2.entity_id and t1.attribute_id=76;