查看所有表的記錄數:
select table_name,table_rows from information_schema.tables where TABLE_SCHEMA = 'zkbc_gz' order by table_rows desc;
查看錶的表結構以及註釋:
select COLUMN_NAME,IS_NULLABLE,COLUMN_TYPE,COLUMN_COMMENT from information_schema.columns where table_schema = 'zkbc_gz' #表所在數據庫
and table_name = 'bank_card' ; #你要查的表