学习总结 DML数据库增删改语句

insert into score t values('111','3-105',88)--插入一行数据
insert into score(sno,cno) values('111','3-105')--指定插入某一行的哪一列数据
insert into score_1 select * from score --把表score中的全部数据复制到score_1表中,前提条件表的数据结构要一致
insert into score_1 (sno1,cno1,degreel) select * from score--表的数据结构不一致或字段的多少不一致时,复制score表中的所有数据,插入到score_1表中指定的其中3个列中
insert into score_1 (sno1,cno1,degreel) select * from score where con='3-105'--选择性的添加数据,选择表中的哪些数据插入到新表当中 
delete score_1 t--清空表中所有的数据
delete from score_1 t where degree1<80--清空分数小于80的数据
update student set class='95033' where sno='104'--set修改哪一列的数据,根据哪一行的数据