Error Number: 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 `flag` != 'D'' at line 3
SELECT `52WeekhHigh`, `52WeekLow` FROM `mf_navhist_hl_raw_accord` WHERE `SCHEMECODE` = AND `flag` != 'D'
Filename: core/MY_Model.php
Line Number: 210