information schema

Query the information_schema to find tables and columns you’re looking for.