Reformat first row column based on other rows

Multi tool use


Reformat first row column based on other rows
I have a table which contains US cities, some cities have multiple zip codes and they are one row with one zip code as shown below in the screen shot, I want this to be store as one row per city with their multiple zip codes in comma split format in the zip column, Is there any way to do this?
Expected result would be like below image
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.