hi,
i have a products database and a sales database. i have product id field in
both which relates to a given product.
i would like to have a query who's result tells me the total cost of the
products sold in the given time period.
i am having trouble with the cost price query.
was hoping for something like
select sum(products.co stprice),produc tID from products where any product
with that productID appears in the sales table
can you help?
thanks
i have a products database and a sales database. i have product id field in
both which relates to a given product.
i would like to have a query who's result tells me the total cost of the
products sold in the given time period.
i am having trouble with the cost price query.
was hoping for something like
select sum(products.co stprice),produc tID from products where any product
with that productID appears in the sales table
can you help?
thanks
Comment