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
Use this
DELETE FROM `articles`, `comments` USING `articles`,`comments` WHERE `comments`.`article_id` = `articles`.`id` AND `articles`.`id` = 4
or
DELETE `articles`, `comments` FROM `articles`, `comments` WHERE `comments`.`article_id` = `articles`.`id` AND `articles`.`id` = 4