sqlite中使用isnull函数
在SQLite中没有isnull函数,比较郁闷。
在sqlite中想要使用isnull函数,可以使用ifnull函数,跟isnull用法一样。
demo:select ifnull(catid,0) from category
在SQLite中没有isnull函数,比较郁闷。
在sqlite中想要使用isnull函数,可以使用ifnull函数,跟isnull用法一样。
demo:select ifnull(catid,0) from category