the description of the problem is vague, and I can only guess that it is grouped by pos, with the values of the cn fields in each group concatenated and separated by commas.
if this is the case, you can use group_concat, for example:
select pos, group_concat(cn) from t group by pos
Let me ask you a question. The name of T1 does not exist in T2. It doesn t come around a bit. The name in T2 not in T1 is still not correct ....
how does 1.mysql export a data table of 6 million records? 2. I ve tried that direct export will overload the database. ...