SELECT azf.class as classname, azf.validators, azf.filters, azf.label, g.render_order, a.object_type_id as type_id, o.type as type FROM rsi.attribute_zend_form azf JOIN rsi.attribute_zend_form_group_members g ON g.member_id = azf.id JOIN rsi.attribute a on a.id = azf.attribute_id JOIN rsi.object_type o on o.id = a.object_type_id WHERE attribute_id = :id