Any DELETE query can delete rows from only one table at a time. You would normally need two separate DELETE queries to delete rows from two separate tables.
If there is a foreign key defined between these two tables, with cascading deletes, then deleting rows from the parent table will delete all rows from the child table that have the corresponding foreign key values.
Instead of a foreign key relationship, there may be a delete trigger defined on the "parent" table that implements cascading deletions.