#======================================================================= #查詢表信息 select table_name, table_comment, create_time, update_time from information_schema.tables where table_schema = (select database()); #======================================================================= #查詢字段信息(table_schema:表所在數據庫,table_name:你要查的表) select * from information_schema.columns where table_schema = 'zhufu' and table_name = 'himall_bank';