SQL增删查改4种语句,共8个句子

--1全列新增
insert into 表名 values(值1,值2,......(或'值1','值2',......值为int类型则用上英文的’ ‘,值不为int类型则不用上英文的’ ‘))
--2指定列新增
insert into 表名(列名1,列名2,......) values(值1,值2,......(或'值1','值2',......))
--3更新全表
update 表名 set 列名='值'(或列名=值 )
--4指定行更新
update 表名 set 列名='值'(或列名=值 ) where (列名='值'或列名=值 )
--5删除所有行
delete from 表名
--6删除指定行
delete from 表名 where 条件
--7查看表中的数据
select * from 表名
--8查看表中的指定行
select * from 表名 where 条件