Hi,
I got a problem with a query. I got two tables, one with product information and one with customer rating of products.
Product information (name of table: prod)
| id | name | price |
Customer rating (name of table: rating)
| id | prod | value
The problem is that I need a query that select's all the info from "prod" and SUM the value, if any, from "rating" where rating.prod = prod.id
How do I make a query like that... it is important that i can add an or more extra where's to the query... like:
where... and id='2' and so on!
😕 Need all the help I can get!😕
Thanks!