I have a table that is made from a query. I'm trying to add certain cells from the same row into the last column. In the image below I need to add each cell under a header that contains Standard Price in the header.
In the sample image below, the first row under the headers, under the total cost column would equal .12022. The 2nd row would equal .45739.
Is there something I could add to my SQL below or do I create an update query to populate this column. Thanks for the help!
SQL that makes the table currently
Code:
UPDATE MasterFurcation SET MasterFurcation.[HS 1 Stock1100] = 0, MasterFurcation.[HS 1 Standard Price] = 0, MasterFurcation.[HS 2 Stock1100] = 0, MasterFurcation.[HS 2 Standard Price] = 0, MasterFurcation.[Mesh Netting Stock1100] = 0, MasterFurcation.[Mesh Netting Standard Price] = 0, MasterFurcation.[AL Tube 1 Stock1100] = 0, MasterFurcation.[AL Tube 1 Standard Price] = 0, MasterFurcation.[AL Tube 2 Stock1100] = 0, MasterFurcation.[AL Tube 2 Standard Price] = 0, MasterFurcation.[Pulling Eye Stock1100] = 0, MasterFurcation.[Pulling Eye Standard Price] = 0, MasterFurcation.[FT Blue Stock1100] = 0, MasterFurcation.[FT Blue Standard Price] = 0, MasterFurcation.[FT Orange Stock1100] = 0, MasterFurcation.[FT Orange Standard Price] = 0, MasterFurcation.[FT Green Stock1100] = 0, MasterFurcation.[FT Green Standard Price] = 0, MasterFurcation.[FT Brown Stock1100] = 0, MasterFurcation.[FT Brown Standard Price] = 0, MasterFurcation.[FT Slate Stock1100] = 0, MasterFurcation.[FT Slate Standard Price] = 0, MasterFurcation.[FT White Stock1100] = 0, MasterFurcation.[FT White Standard Price] = 0, MasterFurcation.[FT Red Stock1100] = 0, MasterFurcation.[FT Red Standard Price] = 0, MasterFurcation.[FT Black Stock1100] = 0, MasterFurcation.[FT Black Standard Price] = 0, MasterFurcation.[FT Yellow Stock1100] = 0, MasterFurcation.[FT Yellow Standard Price] = 0, MasterFurcation.[FT Violet Stock1100] = 0, MasterFurcation.[FT Violet Standard Price] = 0, MasterFurcation.[FT Rose Stock1100] = 0, MasterFurcation.[FT Rose Standard Price] = 0, MasterFurcation.[FT Aqua Stock1100] = 0, MasterFurcation.[FT Aqua Standard Price] = 0, MasterFurcation.[Total Cost] = 0;