Error in the mysql syntax .I have used two tables to join them using inner join
update wp_postmeta
set sku.meta_value=seo.`Meta Description`
From sanitaryseo AS seo
INNER JOIN wp_postmeta AS sku
ON sku.meta_value = seo.`product code`
where sku.meta_key='_yoast_wpseo_metadesc'
2
Answers
You should define the table and the join in top
And remember that Update clause don’t use from .. (the table or the tables joined are in update clause)
Try this