Hi! I have this FDI subject area and was trying different types of SQL functions with not much success.
Can you please help with this issue? I would like to extract from Location table
- only the Country name (AUSTRALIA, CHINA, FRANCE etc) into new column
- only the City Names (Beijing, Paris etc) into 2nd new column
How can I achieve in FDI environment?
Location |
|---|
AUSTRALIA-NSW-BATHURST- |
AUSTRALIA-NSW-CHULLORA- |
AUSTRALIA-NSW-PORT BOTANY- |
AUSTRALIA-QLD-NEBO- |
CHINA--BEIJING- |
CHINA-BEIJING-BEIJING- |
FRANCE--LILLE- |
FRANCE--MARSEILLE- |
FRANCE--PARIS- |
FRANCE-LIAONING-LILLE- |
FRANCE-NONE-BORDEAUX- |
FRANCE-NONE-PARIS- |
FRANCE-NONE-PARIS-1 |
FRANCE-NONE-PARIS-2 |
FRANCE-NONE-PARIS-MANUFACTURING |
FRANCE-NONE-PARIS-OFFICE |
GERMANY-BE-BERLIN- |
GERMANY-BW-STUTTGART- |
GERMANY-BY-MÜNCHEN- |
GERMANY-HE-FRANKFURT(M)- |
GERMANY-HE-WIESBADEN- |
GERMANY-HH-HAMBURG- |
GERMANY-NW-DÜSSELDORF - |
GERMANY-SN-DRESDEN- |
INDIA-BRISTOL-BRISTOL-1 |
INDIA-DELHI-NEW DELHI- |
INDIA-DELHI-NEW DELHI-1 |