Time : 10:05:34 SQLSTATE[42000]: Syntax error or access violation: 1064 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 '' at line 1 Raw SQL : select ipaddress from p_customers where customerid= Time : 08:25:09 SQLSTATE[42000]: Syntax error or access violation: 1064 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 '' at line 1 Raw SQL : select SUBORDERSID,PAGENO,MAGZINEEDITIONS,ADVERTISEBOOKINGID,ORDERNO,PARTY from suborders,advertisementbooking where suborders.ADVERTISEBOOKINGID=advertisementbooking.ADVERTISEMENTBOOKINGID and PAGENO=4 and MAGZINEEDITIONS=153 and PAGETITLE= Time : 08:23:08 SQLSTATE[42000]: Syntax error or access violation: 1064 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 '' at line 1 Raw SQL : select SUBORDERSID,PAGENO,MAGZINEEDITIONS,ADVERTISEBOOKINGID,ORDERNO,PARTY from suborders,advertisementbooking where suborders.ADVERTISEBOOKINGID=advertisementbooking.ADVERTISEMENTBOOKINGID and PAGENO=4 and MAGZINEEDITIONS=153 and PAGETITLE= Time : 08:20:13 SQLSTATE[42000]: Syntax error or access violation: 1064 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 '' at line 1 Raw SQL : select SUBORDERSID,PAGENO,MAGZINEEDITIONS,ADVERTISEBOOKINGID,ORDERNO,PARTY from suborders,advertisementbooking where suborders.ADVERTISEBOOKINGID=advertisementbooking.ADVERTISEMENTBOOKINGID and PAGENO=4 and MAGZINEEDITIONS=153 and PAGETITLE= Time : 08:08:02 SQLSTATE[42000]: Syntax error or access violation: 1064 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 'group by ab.DISPATCHREGISTERID' at line 1 Raw SQL : select ab.*,PARTYCODE,NAME,PARTYID,CITY from dispatchregister as ab,partydetail as p,(select PARTY as prty,CITY,addresstype from contact ) as c where p.PARTYID=ab.FIRMNAME and p.PARTYID=c.prty and ab.addresstype=c.addresstype and FIRMNAME=10400 order by DISPATCHDATE DESC group by ab.DISPATCHREGISTERID Time : 08:08:02 SQLSTATE[42000]: Syntax error or access violation: 1064 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 'group by ab.DISPATCHREGISTERID' at line 1 Raw SQL : select ab.*,PARTYCODE,NAME,PARTYID,CITY from dispatchregister as ab,partydetail as p,(select PARTY as prty,CITY,addresstype from contact ) as c where p.PARTYID=ab.FIRMNAME and p.PARTYID=c.prty and ab.addresstype=c.addresstype and FIRMNAME=10400 order by DISPATCHDATE DESC group by ab.DISPATCHREGISTERID Time : 07:21:32 SQLSTATE[42000]: Syntax error or access violation: 1064 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 '' at line 1 Raw SQL : select productId,productName from product where category=