Do not mix Ansi joins syntax with Oracle proprietary joins syntax in the same query | CAST Appmarq