select * from type where grp='openexam' and val=1 and prm='EPENDAFTARANSELECT' failed: