SELECT count(*) ,  sex FROM employee WHERE salary  <  50000 GROUP BY sex
Find the number of employees of each gender whose salary is lower than 50000.
[Schema (values) (types)]: | company_1 |  works_on : essn (text) , pno (number) , hours (number) | employee : fname (text) , minit (number) , lname (number) , ssn (number) , bdate (text) , address (text) , sex (text) , salary (number) , super_ssn (text) , dno (text) | department : dname (text) , dnumber (number) , mgr_ssn (number) , mgr_start_date (number) | project : pname (text) , pnumber (number) , plocation (number) , dnum (number) | dependent : essn (text) , dependent_name (number) , sex (number) , bdate (number) , relationship (text) | dept_locations : dnumber (text) , dlocation (number);