posted 15 years ago
However my table is in t form of inner join.
Currently I am doing a shopping cart and I need to make use of inner join statement to display the details.
The two database that I make use of is called:
shoppingcartitems
Products
I link them together by using the productId:)
My shoppingcartitems attributes are:
SCId
UserId
ProductId
Quantity
My products attributes are:
ProductId
ProdName
ProdColor
ProdDesc
UnitPrice
Quantity
ProdCatId
UserId
ProdImage
The shopping cart will display ProdImage, UnitPrice, ProductName, quantity and TotalPrice(But i dont know how to write the sql statement that sum the unit price from the database)
Thanks:):)