MySQL's DELETE statement can use the JOIN construct, allowing also to specify which tables to delete from. This is useful to avoid nested queries.
Given the schema:
create table people
( id int primary key,
name varchar(100) not null,
gender char(1) not null
);
insert people (id,na...