1. 程式人生 > >增刪改查簡單的sql語句

增刪改查簡單的sql語句

let 簡單的 wan int null value select HERE where

insert

INSERT INTO t_stu (name,age) VALUES (‘wang‘,12)

INSERT INTO t_stu VALUES(NULL,‘wang‘,12)

delete

DELETE FROM t_stu WHERE id = 6

query

SELECT * FROM t_stu

update

UPDATE t_stu SET age = 38 WHERE id = 1

增刪改查簡單的sql語句