I have this column called location in a table called raw_data. Each row have lots of varchar data separated by [, ]. Examples
Row 1 dusseldorf, kjsbdfygs4, Germany
Row 2 768768745h, kiev, Ukraine
Row 3 %%%%666, Accra, Ghana
Yes some make no sense. Im trying to select the last part of the string which is the country and display it.
I tried using the substring index query and understand how it works but cant seem to understand how to apply it to a column.