Important
Helios features are now enabled during weekly update windows and are no longer directly tied to SingleStore engine releases. Refer to the release notes to view the latest features available in your Helios cluster.
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: