--Das Sachgebiet 311 wird installiert


delete from sachgebiete where tid in (311);
insert into sachgebiete(tid,name) values (311,'CO Basisdaten Administr.');

delete from group_sachgeb_bez where sachgebiete_id in (310,311)
and groupinfo_id in (select G.tid from groupinfo G where G.name='Administratoren' or G.name='superx') ;

insert into group_sachgeb_bez 
select G.tid,310 from groupinfo G where G.name='Administratoren' or G.name='superx';
insert into group_sachgeb_bez 
select G.tid,311 from groupinfo G where G.name='Administratoren' or G.name='superx';

