You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'carid=null' at line 1求大神解答这是什么错误啊?

解决方案 »

  1.   

    sql语句中 有 carid=null 这一句? 改成 carid is null 试试
      

  2.   


    lf5210
    lf5210  T1
    结帖率:0%
    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'carid=null' at line 1求大神解答这是什么错误啊?
      

  3.   

    把你的语句发出来看看,就算那你写carid=null也是不会报错的,顶多就是查询不出数据罢了,应该是你的sql语句别的地方有问题
      

  4.   

    语法错误,很清楚了,你执行的 SQL 有问题
      

  5.   

    sql语法上有问题,检查一下