mysql - Trying to update one table from another -


I created this query and I can not seem to make it work. I have to admit that I am new on this, I have written a few simple questions in the past but I have not tried to update any other table before. I have seen some related posts here, but maybe I am just dense Am ... they are not looking to help. Here's what I am using:

  Insert in `customers_marketing_options` (` created_on`) Select `build_on`, from` client`, from where 'customer' 'Customer_id' = 'customer_marking_pop'. Customer_id`;  

Any help would be greatly appreciated.

  Connect customers to consumers / connect customers with customers customers.customer_id = customers_marketing_options.customer_id SET customers_marketing_options.created_on = customers.created_on  

Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

c# - Create dynamic LINQ query expression at runtime which translates into a parameterized SQL query for nullable types -

cmake - cpack generates RPMs with %files entries that conflict with the RPM spec. How to fix? -