This is not part of standard SQL, because it's so open-ended, it's a difficult problem to solve in a way that provides a predictable answer. Unlimited numbers of rows are basically normal and expected part of SQL, but unlimited length text strings are not. group_concat() exists in mysql, but to me it is usually a near-miss for my requirements. It does the only thing it can, which is to truncate results if it passes over a system limit, group_concat_max_len. Consequently, it still requires extra code to calculate the length of the "real" result and see whether that is longer than group_concat_max_len. Of course, you may have some other constraints that guarantee it won't be a problem, but more likely, it's merely improbable, not impossible to have a problem from exceeding group_concat_max_len. Additionally, that means you have to verify the value of group_concat_max_len in your code at some point, because it's configurable and could change at some later date.
In almost every case that I've ever wished I could use group_concat(), I ultimately found that I was better off writing something that could work with all the values in rows instead of concatenating them into one string. It can be pretty handy, though, if you're just messing around at the mysql> prompt, exploring your data.