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