Database: works_cycles
Question: How many products with the id "989" were sold in August 2013?
SQL: SELECT SUM(Quantity) FROM TransactionHistory WHERE TransactionDate LIKE '2013-08%' AND TransactionType = 'S' AND ProductID = 989