使用SQL查询全部数据库名和表名

MySQL中查询全部数据库名和表名 查询全部数据库 show databases; 查询指定数据库中全部表名 select table_name from information_schema.tables where table_schema='database_name' and table_type='base table'; 查询指定表中的全部字段名 select column_name
相关文章
相关标签/搜索