SQL语句 增删改查

增:

insert into 表名 values('阿紫','0','回族'

insert into 表名 (sex,[name],nation) values ('1','阿碧','汉族')

删:

delete from 表明 where nation = '阿紫'

改:

update 表名 set nation = '汉族',sex = 1 where ids = 6  

查:

select * from 表名  where nation='汉族'         

or(或)

and(并)

posted on 2017-10-23 16:50  段了的弦  阅读(160)  评论(0编辑  收藏  举报