Yes. The query uses a union of different columns (tables.table_schema, sequences.schema_name, etc) and names them all "TABLE_SCHEM" (no A). It part of the JDBC standard. So where clause on the UNION is TABLE_SCHEM.