Could not successfully run query: 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 'S%') OR (dealer_name LIKE '%RV'S%')) LIMIT 1' at line 1

SELECT dealer_id FROM dealers_rvtrader where `condition`='N' and state='TN' and city='KNOXVILLE' and ((dealer_name LIKE '%RV'S%') OR (dealer_name LIKE '%RV'S%')) LIMIT 1