I want to group by two fields, sum the third, and concatenate the
fourth. I'm stumped on how to do this without writing code for it, I
would think there's a way to do it with just the query builder.
A B C D
1 2 4 The
1 2 3 Cow
1 2 2 Goes
1 2 1 Moo
my query would return
A B C D
1 2 10 TheCowGoesMoo
Group By A, B
Sum C
Concatenate D
fourth. I'm stumped on how to do this without writing code for it, I
would think there's a way to do it with just the query builder.
A B C D
1 2 4 The
1 2 3 Cow
1 2 2 Goes
1 2 1 Moo
my query would return
A B C D
1 2 10 TheCowGoesMoo
Group By A, B
Sum C
Concatenate D
Comment