Few SQL fixes for Oracle Database
Oracle Database gives an error if you use 'AS' in FROM or JOIN instructions, it use uppercase for result array and it require strict type match in conditions