0

I know this is terrible practice indeed, but I want to use the merged multivalued table for the GUI part of my program. Following is the thing I want.

raw table

to something like

multivalued merged table

Thanks in advance !!

1 Answers1

1

Use GROUP_CONCAT for it:

select workerid, GROUP_CONCAT(worktype)
from t
group by workerid

Look at the fiddle here.

Arun
  • 1,071
  • 3
  • 13