Query below finds tables with specific name in all schemas in a database. In this case it searches for 'XGOREV' table.
Query
select t.tabschema as schema_name,
       t.tabname as table_name
from syscat.tables t
where t.type = 'T'
and t.tabname = 'XGOREV'
order by schema_name,
         table_name;
Columns
- schema_name - name of schema table was found in
- table_name - name of table (redundant as it should be exactly the same as provided)
Rows
- One row represents a table
- Scope of rows: all found tables
- Ordered by schema name
Notes
- There migh be more tables than one because different schemas in a database can have tables with the same names
Sample results
List of tables named 'XGOREV'.

 
                                                                     
                                                                     
                                                                     
                                                                     
                                                                     
                                                                     
                                                                     
                                                                     
                                                                     
                                                                     
                                                                     
                                                                     
                                                                     
                                                                     
                                                                     
                                                                     
                                                                     
                                                                 
                                                             
                                                             
                                                             
                                                             
                                                                 
                                                             
                                                             
                                                                 
                                                             
                                                             
                                                             
                                                             Marcin Nagly
                                                                        Marcin Nagly
                                 IBM Db2
                                                                IBM Db2
                                 SQL Server
                                                                                                SQL Server
                                             Azure SQL Database
                                                                                                Azure SQL Database
                                             Oracle database
                                                                                                Oracle database
                                             Snowflake
                                                                                                Snowflake
                                             Amazon Redshift
                                                                                                Amazon Redshift
                                             Teradata
                                                                                                Teradata
                                             Vertica
                                                                                                Vertica
                                             PostgreSQL
                                                                                                PostgreSQL
                                             MySQL
                                                                                                MySQL
                                             MariaDB
                                                                                                MariaDB