Have a table in an Oracle database called MESSAGE. This table has some fields, among them LOCALID and APPLICATIONNAME.
Here are examples of values entered in the database
LOCALID - APPLICATIONNAME
1 - app1
1 - app1
1 - app1
2 - app2
2 - app2
2 - app2
1 - app3
1 - app3
At certain times LOCALID is repeating itself to different APPLICATIONNAME.
I need to find all of these values that have different APPLICATIONNAME and LOCALID alike.
How to do an Oracle query for such a scenario?