sql - How to merge 2 rows in mysql -
T1F1F2F3F4A2 2Now A2 3 UK
< / Pre>But I want to see only the result
one 2 2,3 UK
if I selectHow to get it?
I'm looking at the results: 2 2,3 are UK and 2,3 F3 fields
If you want to create groups by F1 and F2 and get all the values of F3 in a string, then separated by commas (which is what you are asking), its its Have to use.
F3, F1, F2, F2, F2, F3, F2, F2, F2, F2, FO, FO, FO, F4, F4, F4 , Select as F4Be sure to read the documentation on Group_ConCAT (see link above) because it exceeds the maximum length (1024 characters per default) This area will be small! If you get value for F4, then what might you expect (since the query is using many Pesky "features" of MySQL) ... it makes more sense if the F4 uses both lines For the UK, you can add F4 to the Group Door Section.
Comments
Post a Comment