MySQL basic tutorial
顯示所有資料庫
SHOW DATABASES;建立資料庫 test
testCREATE DATABASE test;刪除資料庫 test
testDROP DATABASE test;使用資料庫 test
testUSE test;顯示目前資料庫中的所有資料表
SHOW TABLES;建立資料表 mytable(基本版)
mytable(基本版)CREATE TABLE mytable(
age INT,
name VARCHAR(255)
);建立資料表 mytable(進階版)
mytable(進階版)插入資料
查詢資料
刪除資料表
Last updated