这是报错的内容
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 'b,smbms_provider p where b.providerId=p.id and b.providerId=2' at line 1
这是日志所打印出来的SQL语句
SQL语句:delete from smbms_bill b,smbms_provider p where b.providerId=p.id and b.providerId=?
报错内容:Unsafe query: 'Delete' statement without 'where' clears all data in the table
疑问的是我明明有加where为什么会报错呢