Answer the question
In order to leave comments, you need to log in
Why does the query return count(*) = 3?
SELECT
`poll_id`,
`user_id`,
COUNT(*) as polls_count
FROM
`rel_poll_question_user`
WHERE
(
`rel_poll_question_user`.`department_type` = 'ask-payroll'
)
GROUP BY
`poll_id`,
`user_id`
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question