我正在尝试删除带有 wp_ 前缀的表,但它在下面给出错误
Error 1064: 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 'WHERE TABLE LIKE 'wp_%'' at line 1
这是我的查询
"DROP TABLE WHERE TABLE LIKE '{$wp}%'"
这个查询有什么问题?请帮忙