How many employees whose performance is poor have a salary of over $50,000 per year?
performance is poor refers to performance = 'Poor'; salary of over $50,000 refers to salary > '50000'
SELECT COUNT(*) FROM employee WHERE performance = 'Poor' AND CAST(REPLACE(SUBSTR(salary, 4), ',', '') AS REAL) > 50000