I\'m trying to do something similar to Select the 3 most recent records where the values of one column are distinct, but with a count, which means I need to preserve the group.
I\'m trying to count how many essays have been graded so I know how many results to display on the page. But I can\'t seem to get the code to work proper开发者_如何学Cly can someone help?
I\'m having an issue getting a COUNT() from a SQL query using Zend_Db_Table_Select, and I think it may be a possible bug because the SQL it should be generating actually works.Here\'s the Zend Select