begin;
create table parent1( a int);
create table child1 ( b int) inherits(parent1);

DELETE FROM parent1 USING (SELECT (SELECT a FROM parent1)) s;
