Time : 13:47:14 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= Time : 12:55:30 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 'order by categoryName' at line 1 Raw SQL : select categoryId,categoryName from category where ismake=1 and segmentid= order by categoryName Time : 12:21:20 SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'segmentid' in field list is ambiguous Raw SQL : select categoryName,categoryId,segmentid,segmentname from category,segment where category.categoryId=segment.makeid and category.ismake=1 order by segmentname asc limit 0,20 Time : 12:20:19 SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'segmentid' in field list is ambiguous Raw SQL : select categoryName,categoryId,segmentid,segmentname from category,segment where category.categoryId=segment.makeid and category.ismake=1 order by segmentname asc limit 0,20 Time : 12:04:20 SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'segmentid' in field list is ambiguous Raw SQL : select categoryName,categoryId,segmentid,segmentname from category,segment where category.categoryId=segment.makeid and category.ismake=1 order by segmentname asc limit 0,20 Time : 11:27:20 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 count(category.categoryId) as totalnew_category from category,master where category.segmentid=master.MASTERID and categoryName!='' and ismake=1 and Time : 10:32:26 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 'and NAME='Ayush Enterprises'' at line 1 Raw SQL : select NAME,CITY,PARTYID from partydetail,contact where PARTYID=PARTY and CITY= and NAME='Ayush Enterprises' Time : 06:50:21 SQLSTATE[HY093]: Invalid parameter number: parameter was not defined Raw SQL : select MASTERID from master where MASTERTYPE=5 and MASTERID!=349 and LOWER(VALUE) = :VALUE Time : 06:46:37 SQLSTATE[HY093]: Invalid parameter number: parameter was not defined Raw SQL : select MASTERID from master where MASTERTYPE=5 and MASTERID!=349 and LOWER(VALUE) = :VALUE