use information_schema;
show tables;
select * from KEY_COLUMN_USAGE
where 
COLUMN_NAME='areaid';