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