是null还是 " "啊?

如果是null 就是select name,age,成绩 from AA where 成绩 is null
如果是 " " 就是select name,age,成绩 from AA where 成绩= " "

不空
如果是null 就是select name,age,成绩 from AA where 成绩 is not null
如果是 " " 就是select name,age,成绩 from AA where 成绩 <> " "

关于sql语句的问题,批量修改字段的值,就是在字段旧值的基础上再加上一些新值,比如是abc,

例子如下:update tablea set a=a+'abc'

【转载自】http://hi.baidu.com/lmydream0417/item/10888cf7430e20cb531c26dc

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-23
  • 2022-12-23
  • 2022-02-16
  • 2022-12-23
  • 2021-06-10
  • 2022-12-23
猜你喜欢
  • 2021-06-15
  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
  • 2021-11-13
  • 2022-12-23
相关资源
相似解决方案