1增
insert [into] <表名> (列名) values (列值)
例:insert into Strdents (姓名,性别,出生日期) values ('123','男','12345123')
2删
2.1【删除<满足条件的>行】
delete from <表名> [where <删除条件>]
例:delete from a where name='123'(删除表a中列值为123的行)
2.2【删除整个表】
truncate table <表名>
truncate table student
注意:删除表的所有行,但表的结构、列、约束、索引等不会被删除;不能用语有外建约束引用的表
3改
update <表名> set <列名=更新值> [where <更新条件>]
例:update student set age=18 where name='123'
4查
4.1``精确(条件)查询
select <列名> from <表名> [where <查询条件表达试>] [order by <排序的列名>[asc或desc]]
例:select name
from a
where chengji>=60
order by desc
说明:查询a表中chengji大于等于60的所有行,并按降序显示name列;默认为ASC升序