Hi there, I am assuming that the tables can be joined via id AND name. Try this:
update table_b
set (other_col_a,
other_col_b,
other_col_c)
= (select other_col_a,
other_col_b,
other_col_c
from table_a
where table_a.id = table_b.id
and table_a.name =...
First my recommendations for the future so that you don't run into this problem again:
R1. Create new field UNIT_PRICE in the TRANSACTIONS table.
R2. Create new field TRX_DATE in TRANSACTIONS table... so that price variations over time can be captured. This is unsolicited advise... but hey...
There are two things that you need to do in order to perform meaningful analysis:
1. Plot sales per month per product
2. Get promotional/marketing program history, again per month per product. Collect all information that you can... what type of a discount was offered, for how long, etc. Label...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.