一个sqlite语法问题
hzg98 2014-08-17 08:29:35 用 sqlite 语句,把两个字段链接起来的语法是 select a || b from table
现在有一个问题,当字段里出现null时,运算结果被null同化了
select a,b,a ||b as c from table
a b c
null fuck null
god null null
so good sogood
我想要这个结果怎么办?
a b c
null fuck fuck
god null god
so good sogood