Table 'indexspa_database.history_aep_nyse' doesn't exist
SELECT * FROM `history_aep_nyse` WHERE`symbol` = 'AEP' AND `close` != 0 AND`date` > '2019-03-29' AND `date` <= '2024-03-29' ORDER BY `date` DESC