I have a query which returns the below from joining two tables:
+---------------+-----------------+
| Type | Price |
+---------------+-----------------+
| Music | 19.99 |
| Music | 3.99 |
| Music | 21.55 |
| Toy | 89.95 |
| Toy | 3.99 |
+---------------+-----------------+
My problem is how do I group the products by type, so that it displays a single product type and total price for each product type? For example:
Music | 45.53
Toy | 93.94
and so on.
Got it at last.
original post here: Group results in subgroups