Time : 13:30:44 SQLSTATE[42S22]: Column not found: 1054 Unknown column 'kashmere' in 'where clause' Raw SQL : select count(PARTYID) as totalnew_parties from partydetail as p where NAME!='' and PARTYID in ( select PARTY from contact where ADD1 like kashmere) order by NAME asc Time : 12:14:00 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 NAME from partydetail where PARTYID= Time : 12:14:00 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 NAME from partydetail where PARTYID= Time : 11:46:10 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 NAME from partydetail where PARTYID= Time : 11:45:56 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 NAME from partydetail where PARTYID= Time : 11:24: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 NAME from partydetail where PARTYID= Time : 11:21:00 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 NAME from partydetail where PARTYID=