Why does my ANSI SQL query work in 12C but not 19C for the exact same data?
Oracle Database 12C and 19
The following SQL query works in 12C but in our upgraded 19C database the query returns ambiguous results. Note, if I remove the joins to my two units look up tables the query works as expects but I can't see my unit names only the unit ids.
Note I'm using Oracle types as columns in the main tables that I'm interested in.
Can anyone see anything wrong with the formation of the query or explain possibly how this simple SQL query could work in 12C and not 19C.
BTW to the best of my knowledge, the new 19C database uses similar and conventional tuning.