Hi
I am trying to run this code in order to fill the reasults in the column
[CODE=mysql]update test
set activate = (select distinct
count(sigmessag es.messagetype)
from
sigmessages
WHERE
sigmessages.mes sagetype = 33 and
sigmessages.spe echordata = 1 and
sigmessages.cbi ts <= 3
group by cxid, e1id, sigchannel)
;[/CODE]
I have this error message:
[Err] 1242 - Subquery returns more than 1 row
please i need help to resolve this problem
thanks
I am trying to run this code in order to fill the reasults in the column
[CODE=mysql]update test
set activate = (select distinct
count(sigmessag es.messagetype)
from
sigmessages
WHERE
sigmessages.mes sagetype = 33 and
sigmessages.spe echordata = 1 and
sigmessages.cbi ts <= 3
group by cxid, e1id, sigchannel)
;[/CODE]
I have this error message:
[Err] 1242 - Subquery returns more than 1 row
please i need help to resolve this problem
thanks
Comment