[SQL] ==> Select count(c.aid) as amount
from wbd_wbanswer c
where c.qnumber =
and c.status_flg = 'A' and typefilter = 'Y'
[ERROR] ==> You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and c.status_flg = 'A' and typefilter = 'Y'' at line 4 [SQL] ==> select t1.autoid , t1.wgroup , t1.wname , t2.display ,
t2.qid,t2.qnumber,t2.qtopic,t2.qname, t2.qdate, t2.qnote, t2.qport, t2.nanswer , t2.wgroup,
DATE_FORMAT(t2.adate, '%d/%m/%Y %H:%i:%s') as adate,
DATE_FORMAT(t2.qdatex , '%d/%m/%Y %H:%i:%s') as qdatex
from wbd_wbgroup t1 , wbd_wbquestion t2 where qid=
and t1.wgroup = t2.wgroup
and t2.status_flg = 'A' and t2.typefilter = 'Y'
ORDER BY qid desc
[ERROR] ==> You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and t1.wgroup = t2.wgroup
and t2.status_flg = 'A' and t2.typefilter' at line 6