Query 2
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
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