select * from crypto_market_data
WHERE symbol='XCH-USDT' and bar='5m' and date_time > '2025-07-26'
order by timestamp desc;
SET SQL_SAFE_UPDATES = 0;
delete from crypto_market_data where create_time is NULL;