CREATE TABLE Participates_in (stuid INT, actid INT)
CREATE TABLE Student (StuID INT, LName VARCHAR, Fname VARCHAR, Age INT, Sex VARCHAR, Major INT, Advisor INT, city_code VARCHAR)
CREATE TABLE Faculty_Participates_in (FacID INT, actid INT)
CREATE TABLE Activity (actid INT, activity_name VARCHAR)
CREATE TABLE Faculty (FacID INT, Lname VARCHAR, Fname VARCHAR, Rank VARCHAR, Sex VARCHAR, Phone INT, Room VARCHAR, Building VARCHAR)

How many male and female assistant professors do we have, display in descending by the X-axis.
SELECT Sex, COUNT(*) FROM Faculty WHERE Rank = "AsstProf" GROUP BY Sex ORDER BY Sex DESC
SELECT "Sex", COUNT(*) FROM "Faculty" WHERE "AsstProf" = "Rank" GROUP BY "Sex" ORDER BY "Sex" DESC NULLS LAST