I would like to create an dynamic table that picks up 1st 5 columns from static table and multiply it by a value field.
1. static table (Cases):
Column A; Column B; Column C; Column D; Column E; Value; Jan (cases);...;Dec(cases)
2. Dynamic Table (value * cases by month)
Column A; Column B; Column C; Column D; Column E; Jan (value * cases);...;Dec(value * cases)
In excel i would just time cell by cell next to it. But i want sql to create/update database every time new static file is uploaded.
ok update
after reviewing i need something a bit different, i need to take 2 tables and accumulate them by each other
one table would be cases
and other in product value
cases table:
Account; Channel; [PROD CODE](this is my p. key); Jan; Feb; Mar; Apr; May; Jun; Jul; Aug; Sep; Oct; Nov; Dec
price table:
Year; SKU (this is my p. key); [Product Name]; Jan; Feb; Mar; Apr; May; Jun; Jul; Aug; Sep; Oct; Nov; Dec;
the number value sits in individual months.
In another words i need cases table
.JAN
* price table
.Jan
where cases table
.primary key
= price table
.primary key