use a subquery to delete from all tables