My servers DB is using MySQL ver4.1.10.
I need to use a query in the type CREATE VIEW
CREATE VIEW currentCostOfStock AS
SELECT P.partName, P.partNo, P.manufacturer, S.vehicleType, S.years, S.price, S.stockLevel, S.price * S.stockLevel AS productCost, SUM productCost AS stockCost
FROM Parts...