I've come across a problem that I don't really know how to solve. I have a table which looks somewhat like this:
ID Name Price Quantity
1 BookA 5 10
2 BookB 10 15
3 BookA 15 15
4 BookA 5 25
How could I join rows which have same Name, same Price and sum Quantity? So it would look like this:
ID Name Price Quantity
1 BookA 5 35
2 BookB 10 15
3 BookA 15 15
Thank you in advance!
GROUP BY.SUM().