比如 select isnull(Ext1,0) from tab_userfriend但是报错[Err] 1582 - Incorrect parameter count in the call to native function 'isnull'求大神
MySQL没有isnull这个函数,有IFNULLSELECT IFNULL(ext1,0);
创建数据库的时候可以给默认值得把。。。