CREATE TABLE dept_locations (Dnumber INT, Dlocation TEXT)
CREATE TABLE dependent (Essn INT, Dependent_name TEXT, Sex TEXT, Bdate TEXT, Relationship TEXT)
CREATE TABLE works_on (Essn INT, Pno INT, Hours FLOAT)
CREATE TABLE employee (Fname TEXT, Minit TEXT, Lname TEXT, Ssn INT, Bdate TEXT, Address TEXT, Sex TEXT, Salary INT, Super_ssn INT, Dno INT)
CREATE TABLE project (Pname TEXT, Pnumber INT, Plocation TEXT, Dnum INT)
CREATE TABLE department (Dname TEXT, Dnumber INT, Mgr_ssn INT, Mgr_start_date TEXT)

Find the number of employees of each gender whose salary is lower than 50000 Visualize by bar chart, rank in ascending by the X-axis please.
SELECT Sex, COUNT(*) FROM employee WHERE Salary < 50000 GROUP BY Sex ORDER BY Sex
SELECT "Sex", COUNT(*) FROM "employee" WHERE "Salary" < 50000 GROUP BY "Sex" ORDER BY "Sex" NULLS FIRST