Table 'indexspa_database.history_hspx_amex' doesn't exist
SELECT * FROM `history_hspx_amex` WHERE`symbol` = 'HSPX' AND `close` != 0 AND`date` > '' AND `date` <= '2024-04-25' ORDER BY `date` DESC