delete from type where grp='lesson-semester' failed: