Hello, Is there any way to know in a mysql database which tables have columns that contain the word "commissario" ?
See the table
INFORMATION_SCHEMA COLUMNS
and use the clauseWHERE COLUMN_NAME LIKE 'comissao%'
.– anonimo
sorry, I’m beginner.. can be more detailed in the code?
– Gustavo Ortega
SELECT TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME, COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE COLUMN_NAME LIKE 'comissao%'
– anonimo
Perfect! Thank you
– Gustavo Ortega