这是啥问题啊?查了sql语句没问题啊

You have an error in your SQL syntax; check the manual that corresponds to your MySQL serverversion for the right syntax to use near sex=null' at line1

img

img

sql 错了,检查一下,在 sex = null 这里。不行把你sql 发出来看看

是有做sex = null判断性别为空么,mysql判断为空是sex is null喔