How to obtain source tables from a merged table (Cypher/SQL/Pandas)?

Viewed 14

Suppose I have the following table--

PersonID | cityID_which_personID_likes | city_longitutde | city_latitude | city_country

And I would like to obtain the following two tables--

A) PersonID | cityID_which_personID_likes
B) cityID | city_longitutde | city_latitude | city_country

I know I can do group and split commands, but is there any one "un-merge" command that achieves this?

Kind regards

1 Answers
Related