Problem with sql > select 'brand_name', s.table_name from information_schema.TABLES t, information_schema.COLUMNS s where t.table_schema = schema() and t.table_type = 'BASE TABLE' and s.table_name = t.table_name and t.table_name != 'cb_brand' and s.column_name = 'brand_name' and s.table_schema = schema() and t.table_name in ('cb_brand','cb_cpu','cb_model'). |