SELECT p.name,STDDEV(daily_sales) sales_volatility FROM products p JOIN transaction_sell_lines tsl ON p.id=tsl.product_id JOIN transactions t ON tsl.transaction_id=t.id WHERE t.type="sell" GROUP BY p.id,p.name HAVING COUNT(*)>30 ORDER BY sales_volatility;