0
I have a scheme according to the picture below:
The goal is to update the values of the seller_comission column in the table tbl_history. The table tbl_history already has a few thousand records. The sales commission is different for each product and the value is recorded in the tbl_plans table. Table tbl_prod_plan stores the list of plans and products.
You could make loops with php and solve the problem. But the question is how could this update be done only using sql. The database is Mysql.
I didn’t understand a thing...
– Marco Souza
I don’t understand anything...
– Francisco