Important
The SingleStore 10 release candidate (RC) gives you the opportunity to preview, evaluate, and provide feedback on new and upcoming features prior to their general availability. In the interim, SingleStore 9.0 is recommended for production workloads, which can later be upgraded to SingleStore 10.
Query 3
Finds the most volatile
stocks (highest variance in prices) in the last 5 seconds.
SELECT stock_symbol, VARIANCE(share_price) varFROM tradeWHERE trade_time * 1 > ( NOW() - 5 )GROUP BY stock_symbolORDER BY var DESC;
Last modified: