16-3 update语句

--打开和关闭查询窗口:ctrl+R

--更新语句:
--update 表名 set 列=新值,列2=新值2,... where 条件
--update语句,如果不加where条件,那么表示对表中所有的数据都进行修改,所以一定要加where条件
update TblStudent set tSAge=tSAge-1,tSName=tSName+'(女)' where tSGender=''

C#中的  !  &&   ||  ,sql语言中就是 not   and   or ,优先级从左往右递减。<>表示不等于。

原文地址:https://www.cnblogs.com/Strugglinggirl/p/7172953.html