I have a legacy column in my table which stores name and surname values together.
For Example: Mike Huge Muyra
or John Kutgira
.
I need to split column by whitespace.
Result must be like that (Last word is surname, others are name)
Name : Mike Huge, Surname : Muyra
Name : John, Surname : Kutgira
I have been researching for two hours. (REGEXP_SUBSTR is looking cool) But I can not find the solution.