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