QUERY : SELECT * FROM WHERE history_status='Y' AND history_apply_dt <= CURDATE() ORDER BY history_apply_dt desc, idx desc LIMIT 1
ERROR : 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 'WHERE history_status='Y' AND history_apply_dt <= CURDATE() ORDER BY history_a...' at line 1
FILE : /guide/pri.php
ERROR : 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 'WHERE history_status='Y' AND history_apply_dt <= CURDATE() ORDER BY history_a...' at line 1
FILE : /guide/pri.php