Query 2
Warning
SingleStore 9.0 gives you the opportunity to preview, evaluate, and provide feedback on new and upcoming features prior to their general availability. In the interim, SingleStore 8.9 is recommended for production workloads, which can later be upgraded to SingleStore 9.0.
Finds the most volatile
stocks (highest variance in prices).
SELECT stock_symbol, VARIANCE(share_price) varFROM tradeGROUP BY stock_symbolORDER BY var DESC;
Last modified: March 2, 2021