I have a column that contains the server in which the action happened as well as the country. So, for example, the column 'source' would contain 'server001[en-US]'. What I need to do is get all the distinct country codes listed.
ID SOURCE STATUS
==============================
1 server001[en-US] 3
2 server002[de-CH] 3
3 server005[en-US] 1
4 server001[tr-TR] 3
The ideal query would output
en-US
de-CH
tr-TR
Can anyone help with this?