Mysql merge field from table to another -


I merge field "value" from table "products" to "products_description" in the "Price" field in the table "Products_id" in both tables. "

Actually my head can not be found around it.

Something like this: -

  UPDATE products_description pd INNER P. Producted = PD Productsed SET pd.price = include products at p.price;  

From these table products The prices will be copied into products_description! Although this is not 100% clear, this is what you want.


Comments

Popular posts from this blog

email - PHP mail error ... failed to open stream : permission denied -

c# - ListView onScroll event -

c - Linux mmap() error -