hi i'm having problems querying a products table at the moment:
i need to display the total cost of all HP and toshiba products..
this is what i have tried so far
SELECT * FROM products
WHERE prod_id LIKE '__hp%'
AND SELECT SUM(price) AS total FROM products;
any help would be appreciated
this is a pic of the products table -->>
Thank you;