You can't delete rows that are in a CTE. You want to delete rows that arein the table. Do you have a primary key that you can reference? Else, youmay need to reference the system column ctid.