Welcome Guest, Not a member yet? Register   Sign In
How Can I Get a Count Of Grouped Records?
#1

[eluser]Unknown[/eluser]
First, thanks for Gas ORM. It's awesome.

I am trying to count grouped values as in the query:

Code:
SELECT question_id, answer_value, count( id ) AS count_answer
FROM response
GROUP BY question_id, answer_value

Any help would be greatly appreciated.

Thanks, again.


Messages In This Thread
How Can I Get a Count Of Grouped Records? - by El Forum - 12-18-2012, 01:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB