1. concat splicing two strings
select concat('zhang','077')
The results: zhang077
Values for the same group by the group 2. group_concat generated in connected, the result returns a string
First, look at the results of this query value: SELECT DISTINCT ID_TYP, MTD_CDE FROM RTDW.LC_APPL
然后运行:SELECT ID_TYP,GROUP_CONCAT(ID_TYP,MTD_CDE) FROM (SELECT DISTINCT ID_TYP,MTD_CDE FROM RTDW.LC_APPL ) T GROUP BY ID_TYP