我用的delete from 表名 where id=null 为什么会没有办法运行呢 当我把null换成已经有记录的id又可以删除的
因为你条件写错了,null不能用等于号判断,只能用is
delete from 表名 where id is null;
那里本来就是没东西的吧,咋删除嘛