Query 'SELECT t.pagetemplate_id FROM pagetemplate t, infotype i WHERE i.infotype_id = AND i.pagetemplate_id_1 = t.pagetemplate_id' failed.