Time : 13:37:26 SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 's' and ADD1='Mahavir Chowk'' at line 1 Raw SQL : select PARTYID from partydetail,contact where PARTYID=PARTY and CITY=2051 and NAME='Shree Balaji Tractor's' and ADD1='Mahavir Chowk' Time : 13:07:01 SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 's' and ADD1='Mahair Chowk, Sahwa Road'' at line 1 Raw SQL : select PARTYID from partydetail,contact where PARTYID=PARTY and CITY=2051 and NAME='Shree Balaji Tractor's' and ADD1='Mahair Chowk, Sahwa Road' Time : 13:06:42 SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 's' and ADD1='Mahair Chowk, Sahwa Road'' at line 1 Raw SQL : select PARTYID from partydetail,contact where PARTYID=PARTY and CITY=2051 and NAME='Shree Balaji Tractor's' and ADD1='Mahair Chowk, Sahwa Road' Time : 13:02:33 SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 's' and ADD1='Mahair Chowk, Sahwa Road'' at line 1 Raw SQL : select PARTYID from partydetail,contact where PARTYID=PARTY and CITY=2051 and NAME='Shree Balaji Tractor's' and ADD1='Mahair Chowk, Sahwa Road' Time : 13:02:08 SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 's' and ADD1='Mahair Chowk, Sahwa Road'' at line 1 Raw SQL : select PARTYID from partydetail,contact where PARTYID=PARTY and CITY=2051 and NAME='Shree Balaji Tractor's' and ADD1='Mahair Chowk, Sahwa Road'