In MySQL, you can use the group_concat function to concatenate across rows with a by group. I think this would be a valuable addition to the functions available in proc sql.
proc sql; create table EXAMPLE as select ID, STRING, group_concat(STRING) as ALL_STRINGS from DATA_SET group by ID; quit;
See more ideas labeled with:
- Find more ideas tagged with:
- proc sql
8 Comments
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.