SELECT CONCAT(TABLE_NAME,’.’,COLUMN_NAME)
FROM information_schema.COLUMNS
where TABLE_SCHEMA=’foo’
and TABLE_NAME like ‘USER%’
SELECT CONCAT(TABLE_NAME,’.’,COLUMN_NAME)
FROM information_schema.COLUMNS
where TABLE_SCHEMA=’foo’
and TABLE_NAME like ‘USER%’
Leave a Reply