【发布时间】:2012-03-26 18:21:33
【问题描述】:
如何做到这一点? 使用 select 语句可以编写什么查询,其中所有空值都应替换为 123?
我知道我们可以使用, update tablename set fieldname = "123" where fieldname is null;
但不能使用 select 语句。
【问题讨论】:
-
更新表名 set fieldname = "123" where fieldname is null;
-
我知道这个功能,但是如何使用select语句来替换空值?