MySQL database queries field information based on field type

select * from information_schema.`COLUMNS` where TABLE_SCHEMA='database name' and (COLUMN_TYPE='field type');

Guess you like

Origin blog.csdn.net/dd2016124/article/details/131232528