Answers for "mysql find table name like"

SQL
1

mysql search for column name in all tables

SELECT DISTINCT TABLE_NAME, COLUMN_NAME 
FROM INFORMATION_SCHEMA.COLUMNS
WHERE COLUMN_NAME LIKE '%partial_column_name%'
    AND TABLE_SCHEMA='YourDatabase';
Posted by: Guest on February-23-2021
0

mysql select tables with name like

select table_schema as database_name,
    table_name
from information_schema.tables
where table_type = 'BASE TABLE'
    and table_name like 'cu%'
order by table_schema,
     table_name;
Posted by: Guest on August-02-2021

Code answers related to "mysql find table name like"

Code answers related to "SQL"

Browse Popular Code Answers by Language