一、插入数据(INSERT语句)
语法:
insert into table_name
(column1, column2, column3,...columnn)
values
(value1, value2, value3,...valuen);
举例:
二、查询数据(SELECT语句)
语法:
select
column1, column2
from table_name;
举例:
三、更新数据(UPDATE语句)
语法:
update table_name
set column1 = value1, column2 = value2
where [condition]
举例:
四、删除数据(delete语句)
以下是delete语句的基本语法:
delete from
table_name
where [condition]
举例:
网友评论