The rough structure of the mysql table is like this Person Name, Mobile Number1, Mob2, Mob3, Mob4.
What I am trying to do is: For example, if the table has 4 records for the same person like:
Person Mob1 Mob2 Mob3 Mob4
John 123
John 435
John 324
John 432
I need to combine the four records into one like:
Person Mob1 Mob2 Mob3 Mob4
John 123 435 324 433
Is it possible to do this using a mysql query in phpMyAdmin? I know it is possible using a php script, but the table is quite huge :close to 500Mb (Nearly a million records.), so a script would be extremely slow/take very long time to complete.