查询MySql数据库架构信息:数据库,表,表字段

/*1.查询全部数据库*/ show databases;  /*2.查询全部数据表*/ select * from information_schema.tables where table_schema='world' /*3.查询指定表的全部字段*/ select * from information_schema.columns  where table_schema='world' an
相关文章
相关标签/搜索