Hi,
I have the following tables:
Tabel 1: "Parts:"
PartID | PartCost
------------------
1 | 0.5
2 | 0.3
Tabel 2: "ConsumedParts"
PartID | Quantity
------------------
1 | 1
1 | 2
2 | 1
Now, i would like to become a table like underneath, that summarizes all parts which are the same and calculate the total cost per part:
PartID | Quantity | RegelPrijs
-------------------------------
1 | 3 | 1.5
2 | 1 | 0.3
Who can help me please?
Thanks in advance
I have the following tables:
Tabel 1: "Parts:"
PartID | PartCost
------------------
1 | 0.5
2 | 0.3
Tabel 2: "ConsumedParts"
PartID | Quantity
------------------
1 | 1
1 | 2
2 | 1
Now, i would like to become a table like underneath, that summarizes all parts which are the same and calculate the total cost per part:
PartID | Quantity | RegelPrijs
-------------------------------
1 | 3 | 1.5
2 | 1 | 0.3
Who can help me please?
Thanks in advance