SQl基礎_表的刪除和更新

學習要點 使用drop table語句來刪除表。 使用alter table語句向表中添加列或者從表中刪除列。 表的刪除(drop table 表明;) drop謹慎使用,避免誤刪庫跑路 表定義的更新(alter table__) 添加列的alter table 語句 alter table 表名 add column 列名(屬性:什麼類型的數據); (向一個叫 ‘表名’ 的表中添加名爲 ‘列名’
相關文章
相關標籤/搜索