Write SQL query to solve given problem: How many product names have order quantity less than 50? Calculate the percentage of orders less than 50 out of total order quantity.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT SUM(CASE WHEN T2.Quantity < 50 THEN 1 ELSE 0 END) , CAST(SUM(IF(T2.Quantity < 50, 1, 0)) AS REAL) / COUNT(T1.ProductID) FROM Products AS T1 INNER JOIN `Order Details` AS T2 ON T1.ProductID = T2.ProductID