You can define foreign key constraints on the tables with ON DELETE CASCADE
option.
Then deleting the record from parent table removes the records from child tables.
DELETE articles a ,tags_in_news t FROM articles INNER JOIN tags_in_news WHERE a.id = t.id AND a.id = $aid