CREATE TABLE faculty (facid NUMBER, lname CLOB, fname CLOB, rank CLOB, sex CLOB, phone NUMBER, room CLOB, building CLOB)
CREATE TABLE activity (actid NUMBER, activity_name CLOB)
CREATE TABLE student (stuid NUMBER, lname CLOB, fname CLOB, age NUMBER, sex CLOB, major NUMBER, advisor NUMBER, city_code CLOB)
CREATE TABLE faculty_participates_in (facid NUMBER, actid NUMBER)
CREATE TABLE participates_in (stuid NUMBER, actid NUMBER)

Show the number of male and female assistant professors.
SELECT sex, COUNT(*) FROM faculty WHERE rank = "AsstProf" GROUP BY sex
SELECT "sex", COUNT(*) FROM "faculty" WHERE "AsstProf" = "rank" GROUP BY "sex"