Convert UPDATE with INNER JOIN from SQL for use in MySQL -


I would like to convert it to MySQL for:

  UPDATE product SET value = 12.95 Join Product INNER from product_to_category ON product.product_id = product_to_space.product_in join the category product_to_category.category_id = category_ category_id and category.parent_id = 39  

MySQL does not like FROM part , And I'm not sure that INNER Johns will also work in writing.

  Product SET price = 12.95 where product_id (Product for product_d from product_id INNER category Produce on product_to_category.category_id = category.category_id where category parent_id = 39)  

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -