Dear All, I have problem when try to grouping aggregate function inner Containable behavior and have search on google but have not found any solution. I paste my code http://pastebin.com/TwZALqUC and the code show error code at http://pastebin.com/G7AFBVNW also sql error:
Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Respondent.group' in 'field list' SQL Query: SELECT `Respondent`.`group`, `Respondent`.`polling_answer_id` FROM `respondents` AS `Respondent` WHERE `Respondent`.`created` BETWEEN '2011-11-01' AND '2011-11-25' AND `Respondent`.`polling_answer_id` IN (56, 51, 46, 41, 40, 39, 42, 52, 57, 47, 53, 58, 38, 43, 48, 49, 59, 37, 44, 54, 55, 50, 36, 45, 60) Notice: If you want to customize this error message, create app\View \Errors\pdo_error.ctp -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php