增:insert into S(id,name) values (1,'张三')
删:全删delete from S
按条件删,比如删除id为1的
delete from S where id=1
按条件删,比如删除name为张三的
delete from S where name='张三'
update S set name='李四' where id=1
基本就这样吧,有问题再问
插入:insert intotable1(field1,field2) values(value1,value2)删除:delete from table1where 范围
更新:update table1 setfield1=value1 where
范围查找:select * from table1
where field1 like ’%value1%’
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)