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