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' AND b.exchange='NSE' AND b.reco_233!='' limit 0,5' at line 1