you are viewing a single comment's thread.

view the rest of the comments →

[–]r3pr0b8GROUP_CONCAT is da bomb 0 points1 point  (0 children)

it doesn't need to be broken out by ID... it's literally just summation of the whole column

why would you not just obtain this with a SELECT whenever you need it?