Schema: CREATE TABLE STUDENT (Major VARCHAR, Sex VARCHAR)
Question: What are the majors of male (sex is M) students?
SQL: SELECT Major FROM STUDENT WHERE Sex = "M"