I am trying to delete from a few tables at once. I\'ve done a bit of research, and came up with this
DELETE FROM `pets` p, `pets_activities` pa
The syntax looks right to me ... try to change it to use INNER JOIN ...
INNER JOIN
Have a look at this.