Suppose I want to get all the tables that have a column that is named 'name' . This can be easily achieved by using the 'information_schema' scheme provided by mysql . However, suppose I want to list all the names in the 'name' column of all the tables that have a column that is named like this.
How can I do this?