SyntaxFix
Write A Post
Hire A Developer
Questions
It should be:
DELETE zpost FROM zpost INNER JOIN zcomment ON (zpost.zpostid = zcomment.zpostid) WHERE zcomment.icomment = "first"