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