Hi, I need to update a table using data from 2 different tables but I am not sure where to start.
T1 contains ALL products and their cost and T2 contains some products but with more up to date costs. [Products in T2 also exist in T1].
Both tables have Prod_Code & Prod_Cost and I need to update the destination table (T3) with the Prod_Code & the most up to date cost. i.e. If product code exists in T2 use the cost from T2 otherwise just use T1.
Any help would be appreciated.
T1 contains ALL products and their cost and T2 contains some products but with more up to date costs. [Products in T2 also exist in T1].
Both tables have Prod_Code & Prod_Cost and I need to update the destination table (T3) with the Prod_Code & the most up to date cost. i.e. If product code exists in T2 use the cost from T2 otherwise just use T1.
Any help would be appreciated.