首先,下面是使用
https://dev.mysql.com/doc/index-other.html
裡的world database
1. SHOW
https://dev.mysql.com/doc/index-other.html
裡的world database
1. SHOW
SHOW DATABASES 顯示所有在系統中的資料庫
SHOW TABLES 顯示該資料庫中的所有資料表(要先用USE database_name指定現在處理哪個資料庫 )
SHOW COLUMNS FROM table_name 顯示table_name表的欄位結構