If I have 2 tables, each have a product_stat
DECIMAL and product_id
INT column
I want to run a query that will append the product_stat from TableA to TableB on product_id. Then truncate TableA
Basically I am collecting data and temporarily storing it in TableA, and once a day I want to move the data to TableB. So that TableB only has the data shifted once a day.