I have a MSSQL database table with data like:
----------------------------------------
| Id | PartNo | Price | Qty| ExtPrice |
----------------------------------------
| 1 | Thing1 | 1.50 | 2 | 3.00 |
----------------------------------------
| 2 | Thing 2 | 2.50 | 3 | 7.50 |
----------------------------------------
The last three fields I can do a SUM() with my GROUP BY, But I need it to combine the PartNo Field like this:
--------------------------------------------
| PartNo | Price | Qty | ExtPrice |
--------------------------------------------
| Thing1, Thing2 | 4.00 | 5 | 10.50 |
--------------------------------------------