How many employees with a pay rate of over 35 have more than 10 sick leave hours?
more than 10 sick leave hours refers to SickLeaveHours>10; pay rate over 35 refers to Rate>35;
SELECT COUNT(T1.BusinessEntityID) FROM EmployeePayHistory AS T1 INNER JOIN Employee AS T2 ON T1.BusinessEntityID = T2.BusinessEntityID WHERE T2.SickLeaveHours > 10 AND T1.Rate > 35