How many employees sold over 20,000 quantities of "Touring-2000 Blue, 50"?
over 20,000 quantities refers to Quantity > 20000; 'Touring-2000 Blue, 50' is name of product;
SELECT COUNT(*) FROM ( SELECT SUM(Quantity) FROM Sales WHERE ProductID IN ( SELECT ProductID FROM Products WHERE Name = 'Touring-2000 Blue, 50' ) GROUP BY Quantity, SalesPersonID HAVING SUM(Quantity) > 20000 )
database name:db_id sales
Customers table Customers Cols: Customer ID dtype integer, First Name dtype text, Middle Initial dtype text, Last Name dtype text, 
Employees table Employees Cols: Employee ID dtype integer, First Name dtype text, Middle Initial dtype text, Last Name dtype text, 
Products table Products Cols: Product ID dtype integer, Name dtype text, Price dtype real, 
Sales table Sales Cols: Sales ID dtype integer, SalesPerson ID dtype integer, Customer ID dtype integer, Product ID dtype integer, Quantity dtype integer, 
