Help with MySQL getting count of a column with distinct another column?

Posted by Thomas Puthoor on Stack Overflow See other posts from Stack Overflow or by Thomas Puthoor
Published on 2010-04-24T16:45:03Z Indexed on 2010/04/24 17:03 UTC
Read the original article Hit count: 192

Filed under:
|
|
|

Hi I want to get the count of column called 'response'. But even though a user submits many responses I want it to be only considered as one. So basically I want to get the count of 'response' with DISTINCT user_id. How can I do this? Thank you.

© Stack Overflow or respective owner

Related posts about mysql

Related posts about php