使用SQL查詢全部數據庫名和表名

MySQL中查詢全部數據庫名和表名 查詢全部數據庫 show databases; 查詢指定數據庫中全部表名 select table_name from information_schema.tables where table_schema='database_name' and table_type='base table'; 查詢指定表中的全部字段名 select column_name
相關文章
相關標籤/搜索