houssam_ballout
New Member
hello all,
I am trying this sql:
select count(OptionNb),comments from tblanswer where idQuestion = $idQuestion And OptionNb = 'option$i'
and I got this error
Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
How could I solve it ?
Thanks in advance
I am trying this sql:
select count(OptionNb),comments from tblanswer where idQuestion = $idQuestion And OptionNb = 'option$i'
and I got this error
Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
How could I solve it ?
Thanks in advance