SQL命令的類別
DML
DDL
DCL
簡單查詢select
limit:
對查詢結果的進行排序order by
篩選數據記錄where,having
多表的關聯查詢left/right join
合併查詢結果union
分組查詢,統計函數group by
修改數據
備份數據:
insert:
update:
delete:
創建數據表、數據庫和索引
創建數據庫create database:
創建數據表create table:
創建索引create index:
變更數據表的結構alter table:
刪除數據庫和數據表drop:
show命令:
information_schema數據表家族: