Would like to sort the following data the way allows in the order of choice of keywords based on like clause:
Data in table:
EmpId EmpLotusNotes
10001 Amit B/India
20002 Bharat C/India
30003 Kyo Jun/Japan
40004 Jee Lee/China
50005 Xavier K/USA
Data to be presented/sorted based on certain country order (Japan, China, India, USA):
EmpId EmpLotusNotes
30003 Kyo Jun/Japan
40004 Jee Lee/China
10001 Amit B/India
20002 Bharat C/India
50005 Xavier K/USA
Note: I cannot create another table that holds the country order or any other change.
The problem is the table violates first normal form, EmpLotusNotes should not contain the name of an employee and the country, presumably the country they work in.
You should challenge the reasons why you are not allowed to clean up the structure and the data.
See https://www.google.com.au/search?q=sql+first+normal+form+atomic
The answer, if you still cannot normalise the database after challenging, is create a query for countries, create a query to split the data in the first table into first normal form, then join the two.
An example that works for mysql follows, for MS SQL you would use CHARINDEX instead of INSTR and substring instead of substr.
Results.