Question: What are the names of the campus that have more faculties in 2002 than the maximum number in Orange county?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

campuses : campus (text) , id (number) , year (number) , county (text) , id (number) | csu_fees : campus (number) , year (number) , campus (number) | degrees : campus (number) , year (number) , year (number) | discipline_enrollments : campus (number) , year (number) , campus (number) | enrollments : campus (number) , year (number) , campus (number) | faculty : campus (number) , faculty (number) , year (number)


Question: What campus had more than 400 total enrollment but more than 200 full time enrollment in year 1956?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

campuses : campus (text) , id (number) , year (number) , id (number) | csu_fees : campus (number) , year (number) , campus (number) | degrees : campus (number) , year (number) , year (number) | discipline_enrollments : campus (number) , year (number) , campus (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) , campus (number) | faculty : campus (number) , year (number)


Question: What campus started in year 1956, has more than 200 full time students, and more than 400 students enrolled?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

campuses : campus (text) , id (number) , year (number) , id (number) | csu_fees : campus (number) , year (number) , campus (number) | degrees : campus (number) , year (number) , year (number) | discipline_enrollments : campus (number) , year (number) , campus (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) , campus (number) | faculty : campus (number) , year (number)


Question: How many campuses are there in Los Angeles county?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)


Question: How many campuses exist are in the county of LA?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)


Question: List the campuses in Los Angeles county.

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

campuses : campus (text) , county (text) , id (number) | csu_fees : campus (number) , campus (number) | degrees : campus (number) , year (number) | discipline_enrollments : campus (number) , campus (number) | enrollments : campus (number) , campus (number) | faculty : campus (number)


Question: What campuses are in Los Angeles county?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

campuses : campus (text) , county (text) , id (number) | csu_fees : campus (number) , campus (number) | degrees : campus (number) , year (number) | discipline_enrollments : campus (number) , campus (number) | enrollments : campus (number) , campus (number) | faculty : campus (number)


Question: How many degrees were conferred in "San Jose State University" in 2000?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

degrees : degrees (number) , campus (number) , year (number) , year (number) | campuses : id (number) , campus (text) , year (number) , id (number) | csu_fees : campus (number) , year (number) , campus (number) | discipline_enrollments : campus (number) , year (number) , campus (number) | enrollments : campus (number) , year (number) , campus (number) | faculty : campus (number) , year (number)


Question: How many degrees were conferred at San Jose State University in 2000?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

degrees : degrees (number) , campus (number) , year (number) , year (number) | campuses : id (number) , campus (text) , year (number) , id (number) | csu_fees : campus (number) , year (number) , campus (number) | discipline_enrollments : campus (number) , year (number) , campus (number) | enrollments : campus (number) , year (number) , campus (number) | faculty : campus (number) , year (number)


Question: What are the degrees conferred in "San Francisco State University" in 2001.

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

degrees : degrees (number) , campus (number) , year (number) , year (number) | campuses : id (number) , campus (text) , year (number) , id (number) | csu_fees : campus (number) , year (number) , campus (number) | discipline_enrollments : campus (number) , year (number) , campus (number) | enrollments : campus (number) , year (number) , campus (number) | faculty : campus (number) , year (number)


Question: What degrees were conferred in San Francisco State University in the year 2001?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

degrees : degrees (number) , campus (number) , year (number) , year (number) | campuses : id (number) , campus (text) , year (number) , id (number) | csu_fees : campus (number) , year (number) , campus (number) | discipline_enrollments : campus (number) , year (number) , campus (number) | enrollments : campus (number) , year (number) , campus (number) | faculty : campus (number) , year (number)


Question: How many faculty is there in total in the year of 2002?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

faculty : faculty (number) , year (number) | campuses : year (number) , id (number) | csu_fees : year (number) , campus (number) | degrees : year (number) , year (number) | discipline_enrollments : year (number) , campus (number) | enrollments : year (number) , campus (number)


Question: How many faculty, in total, are there in the year 2002?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

faculty : faculty (number) , year (number) | campuses : year (number) , id (number) | csu_fees : year (number) , campus (number) | degrees : year (number) , year (number) | discipline_enrollments : year (number) , campus (number) | enrollments : year (number) , campus (number)


Question: What is the number of faculty lines in campus "Long Beach State University" in 2002?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

faculty : faculty (number) , campus (number) , year (number) | campuses : campus (text) , id (number) , year (number) , id (number) | csu_fees : campus (number) , year (number) , campus (number) | degrees : campus (number) , year (number) , year (number) | discipline_enrollments : campus (number) , year (number) , campus (number) | enrollments : campus (number) , year (number) , campus (number)


Question: What is the number of faculty at Long Beach State University in 2002?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

faculty : faculty (number) , campus (number) , year (number) | campuses : campus (text) , id (number) , year (number) , id (number) | csu_fees : campus (number) , year (number) , campus (number) | degrees : campus (number) , year (number) , year (number) | discipline_enrollments : campus (number) , year (number) , campus (number) | enrollments : campus (number) , year (number) , campus (number)


Question: How many faculty lines are there in "San Francisco State University" in year 2004?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

faculty : faculty (number) , campus (number) , year (number) | campuses : campus (text) , id (number) , year (number) , id (number) | csu_fees : campus (number) , year (number) , campus (number) | degrees : campus (number) , year (number) , year (number) | discipline_enrollments : campus (number) , year (number) , campus (number) | enrollments : campus (number) , year (number) , campus (number)


Question: How many faculty lines are there at San Francisco State University in 2004?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

faculty : faculty (number) , campus (number) , year (number) | campuses : campus (text) , id (number) , year (number) , id (number) | csu_fees : campus (number) , year (number) , campus (number) | degrees : campus (number) , year (number) , year (number) | discipline_enrollments : campus (number) , year (number) , campus (number) | enrollments : campus (number) , year (number) , campus (number)


Question: List the campus that have between 600 and 1000 faculty lines in year 2004.

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

campuses : campus (text) , id (number) , year (number) , id (number) | csu_fees : campus (number) , year (number) , campus (number) | degrees : campus (number) , year (number) , year (number) | discipline_enrollments : campus (number) , year (number) , campus (number) | enrollments : campus (number) , year (number) , campus (number) | faculty : campus (number) , faculty (number) , year (number)


Question: What are the campuses that had between 600 and 1000 faculty members in 2004?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

campuses : campus (text) , id (number) , year (number) , id (number) | csu_fees : campus (number) , year (number) , campus (number) | degrees : campus (number) , year (number) , year (number) | discipline_enrollments : campus (number) , year (number) , campus (number) | enrollments : campus (number) , year (number) , campus (number) | faculty : campus (number) , faculty (number) , year (number)


Question: How many faculty lines are there in the university that conferred the most number of degrees in year 2002?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

faculty : faculty (number) , campus (number) , year (number) | campuses : id (number) , campus (text) , year (number) , id (number) | csu_fees : campus (number) , year (number) , campus (number) | degrees : campus (number) , degrees (number) , year (number) , year (number) | discipline_enrollments : campus (number) , year (number) , campus (number) | enrollments : campus (number) , year (number) , campus (number)


Question: How many faculty members did the university that conferred the most degrees in 2002 have?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

faculty : faculty (number) , campus (number) , year (number) | campuses : id (number) , campus (text) , year (number) , id (number) | csu_fees : campus (number) , year (number) , campus (number) | degrees : campus (number) , degrees (number) , year (number) , year (number) | discipline_enrollments : campus (number) , year (number) , campus (number) | enrollments : campus (number) , year (number) , campus (number)


Question: How many faculty lines are there in the university that conferred the least number of degrees in year 2001?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

faculty : faculty (number) , campus (number) , year (number) | campuses : id (number) , campus (text) , year (number) , id (number) | csu_fees : campus (number) , year (number) , campus (number) | degrees : campus (number) , degrees (number) , year (number) , year (number) | discipline_enrollments : campus (number) , year (number) , campus (number) | enrollments : campus (number) , year (number) , campus (number)


Question: How many faculty members are at the university that gave the least number of degrees in 2001?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

faculty : faculty (number) , campus (number) , year (number) | campuses : id (number) , campus (text) , year (number) , id (number) | csu_fees : campus (number) , year (number) , campus (number) | degrees : campus (number) , degrees (number) , year (number) , year (number) | discipline_enrollments : campus (number) , year (number) , campus (number) | enrollments : campus (number) , year (number) , campus (number)


Question: How many undergraduates are there in "San Jose State University" in year 2004?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

discipline_enrollments : undergraduate (number) , campus (number) , year (number) , campus (number) | campuses : campus (text) , id (number) , year (number) , id (number) | csu_fees : campus (number) , year (number) , campus (number) | degrees : campus (number) , year (number) , year (number) | enrollments : campus (number) , year (number) , campus (number) | faculty : campus (number) , year (number)


Question: How many undergraduates are there at San Jose State

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

discipline_enrollments : undergraduate (number) , campus (number) , year (number) , campus (number) | campuses : campus (text) , id (number) , year (number) , id (number) | csu_fees : campus (number) , year (number) , campus (number) | degrees : campus (number) , year (number) , year (number) | enrollments : campus (number) , year (number) , campus (number) | faculty : campus (number) , year (number)


Question: What is the number of graduates in "San Francisco State University" in year 2004?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

discipline_enrollments : graduate (number) , campus (number) , year (number) , campus (number) | campuses : campus (text) , id (number) , year (number) , id (number) | csu_fees : campus (number) , year (number) , campus (number) | degrees : campus (number) , year (number) , year (number) | enrollments : campus (number) , year (number) , campus (number) | faculty : campus (number) , year (number)


Question: How many people graduated from San Francisco State University in 2004?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

discipline_enrollments : graduate (number) , campus (number) , year (number) , campus (number) | campuses : campus (text) , id (number) , year (number) , id (number) | csu_fees : campus (number) , year (number) , campus (number) | degrees : campus (number) , year (number) , year (number) | enrollments : campus (number) , year (number) , campus (number) | faculty : campus (number) , year (number)


Question: What is the campus fee of "San Francisco State University" in year 2000?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

csu_fees : campusfee (number) , campus (number) , year (number) , campus (number) | campuses : campus (text) , id (number) , year (number) , id (number) | degrees : campus (number) , year (number) , year (number) | discipline_enrollments : campus (number) , year (number) , campus (number) | enrollments : campus (number) , year (number) , campus (number) | faculty : campus (number) , year (number)


Question: In the year 2000, what is the campus fee for San Francisco State University?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

csu_fees : campusfee (number) , campus (number) , year (number) , campus (number) | campuses : campus (text) , id (number) , year (number) , id (number) | degrees : campus (number) , year (number) , year (number) | discipline_enrollments : campus (number) , year (number) , campus (number) | enrollments : campus (number) , year (number) , campus (number) | faculty : campus (number) , year (number)


Question: Find the campus fee of "San Jose State University" in year 2000.

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

csu_fees : campusfee (number) , campus (number) , year (number) , campus (number) | campuses : campus (text) , id (number) , year (number) , id (number) | degrees : campus (number) , year (number) , year (number) | discipline_enrollments : campus (number) , year (number) , campus (number) | enrollments : campus (number) , year (number) , campus (number) | faculty : campus (number) , year (number)


Question: What is the campus fee in the year 2000 for San Jose State University?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)

csu_fees : campusfee (number) , campus (number) , year (number) , campus (number) | campuses : campus (text) , id (number) , year (number) , id (number) | degrees : campus (number) , year (number) , year (number) | discipline_enrollments : campus (number) , year (number) , campus (number) | enrollments : campus (number) , year (number) , campus (number) | faculty : campus (number) , year (number)


Question: How many CSU campuses are there?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)


Question: What is the total number of campuses?

campuses : id (number) , campus (text) , location (text) , county (text) , year (number) | csu_fees : campus (number) , year (number) , campusfee (number) | degrees : year (number) , campus (number) , degrees (number) | discipline_enrollments : campus (number) , discipline (number) , year (number) , undergraduate (number) , graduate (number) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (number) | faculty : campus (number) , year (number) , faculty (number)


Question: How many candidates are there?

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)


Question: Count the number of candidates.

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)


Question: Which poll resource provided the most number of candidate information?

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

candidate : poll_source (text) , candidate_id (number)


Question: Return the poll resource associated with the most candidates.

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

candidate : poll_source (text) , candidate_id (number)


Question: what are the top 3 highest support rates?

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

candidate : support_rate (number) , candidate_id (number)


Question: Return the top 3 greatest support rates.

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

candidate : support_rate (number) , candidate_id (number)


Question: Find the id of the candidate who got the lowest oppose rate.

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

candidate : candidate_id (number) , oppose_rate (number) , candidate_id (number)


Question: What is the id of the candidate with the lowest oppose rate?

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

candidate : candidate_id (number) , oppose_rate (number) , candidate_id (number)


Question: Please list support, consider, and oppose rates for each candidate in ascending order by unsure rate.

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

candidate : support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) , candidate_id (number)


Question: What are the support, consider, and oppose rates of each candidate, ordered ascending by their unsure rate?

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

candidate : support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) , candidate_id (number)


Question: which poll source does the highest oppose rate come from?

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

candidate : poll_source (text) , oppose_rate (number) , candidate_id (number)


Question: Return the poll source corresponding to the candidate who has the oppose rate.

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

candidate : poll_source (text) , oppose_rate (number) , candidate_id (number)


Question: List all people names in the order of their date of birth from old to young.

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

people : name (text) , date_of_birth (text) , people_id (number)


Question: What are the names of all people, ordered by their date of birth?

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

people : name (text) , date_of_birth (text) , people_id (number)


Question: Find the average height and weight for all males (sex is M).

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

people : height (number) , weight (number) , sex (text) , people_id (number)


Question: What are the average height and weight across males (sex is M)?

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

people : height (number) , weight (number) , sex (text) , people_id (number)


Question: find the names of people who are taller than 200 or lower than 190.

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

people : name (text) , height (number) , people_id (number)


Question: What are the names of people who have a height greater than 200 or less than 190?

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

people : name (text) , height (number) , people_id (number)


Question: Find the average and minimum weight for each gender.

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

people : weight (number) , sex (text) , people_id (number)


Question: What are the average and minimum weights for people of each sex?

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

people : weight (number) , sex (text) , people_id (number)


Question: Find the name and gender of the candidate who got the highest support rate.

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

people : name (text) , sex (text) , people_id (number) , people_id (number) | candidate : people_id (number) , support_rate (number) , candidate_id (number)


Question: What is the name and sex of the candidate with the highest support rate?

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

people : name (text) , sex (text) , people_id (number) , people_id (number) | candidate : people_id (number) , support_rate (number) , candidate_id (number)


Question: Find the name of the candidates whose oppose percentage is the lowest for each sex.

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

people : name (text) , sex (text) , people_id (number) , people_id (number) | candidate : oppose_rate (number) , people_id (number) , candidate_id (number)


Question: For each sex, what is the name and sex of the candidate with the oppose rate for their sex?

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

people : name (text) , sex (text) , people_id (number) , people_id (number) | candidate : oppose_rate (number) , people_id (number) , candidate_id (number)


Question: which gender got the highest average uncertain ratio.

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

people : sex (text) , people_id (number) , people_id (number) | candidate : people_id (number) , unsure_rate (number) , candidate_id (number)


Question: What is the sex of the candidate who had the highest unsure rate?

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

people : sex (text) , people_id (number) , people_id (number) | candidate : people_id (number) , unsure_rate (number) , candidate_id (number)


Question: what are the names of people who did not participate in the candidate election.

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

people : name (text) , people_id (number) , people_id (number) | candidate : people_id (number) , candidate_id (number)


Question: Give the names of people who did not participate in the candidate election.

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

people : name (text) , people_id (number) , people_id (number) | candidate : people_id (number) , candidate_id (number)


Question: Find the names of the candidates whose support percentage is lower than their oppose rate.

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

people : name (text) , people_id (number) , people_id (number) | candidate : people_id (number) , support_rate (number) , oppose_rate (number) , candidate_id (number)


Question: What are the names of candidates who have a lower support rate than oppose rate?

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

people : name (text) , people_id (number) , people_id (number) | candidate : people_id (number) , support_rate (number) , oppose_rate (number) , candidate_id (number)


Question: how many people are there whose weight is higher than 85 for each gender?

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

people : sex (text) , weight (number) , people_id (number)


Question: Count the number of people of each sex who have a weight higher than 85.

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

people : sex (text) , weight (number) , people_id (number)


Question: find the highest support percentage, lowest consider rate and oppose rate of all candidates.

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

candidate : support_rate (number) , consider_rate (number) , oppose_rate (number) , candidate_id (number)


Question: Return the maximum support rate, minimum consider rate, and minimum oppose rate across all candidates?

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

candidate : support_rate (number) , consider_rate (number) , oppose_rate (number) , candidate_id (number)


Question: list all female (sex is F) candidate names in the alphabetical order.

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

people : name (text) , people_id (number) , sex (text) , people_id (number) | candidate : people_id (number) , candidate_id (number)


Question: What are the names of all female candidates in alphabetical order (sex is F)?

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

people : name (text) , people_id (number) , sex (text) , people_id (number) | candidate : people_id (number) , candidate_id (number)


Question: find the name of people whose height is lower than the average.

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

people : name (text) , height (number) , people_id (number)


Question: What are the names of people who are shorter than average?

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)

people : name (text) , height (number) , people_id (number)


Question: List all info about all people.

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)


Question: What is all the information about all people?

candidate : candidate_id (number) , people_id (number) , poll_source (text) , date (text) , support_rate (number) , consider_rate (number) , oppose_rate (number) , unsure_rate (number) | people : people_id (number) , sex (text) , name (text) , date_of_birth (text) , height (number) , weight (number)


Question: Find the titles of all movies directed by steven spielberg.

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , director (text) , mid (number)


Question: What are the names of all movies directed by Steven Spielberg?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , director (text) , mid (number)


Question: What is the name of the movie produced after 2000 and directed by James Cameron?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , director (text) , year (number) , mid (number)


Question: What are the titles of all movies that James Cameron directed after 2000?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , director (text) , year (number) , mid (number)


Question: How many movies were made before 2000?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)


Question: How many movies were made before 2000?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)


Question: Who is the director of movie Avatar?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : director (text) , title (text) , mid (number)


Question: Who directed Avatar?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : director (text) , title (text) , mid (number)


Question: How many reviewers listed?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)


Question: How many reviewers are there?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)


Question: What is the id of the reviewer whose name has substring “Mike”?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : rid (number) , name (text) , rid (number) | rating : rid (number)


Question: What is the id of the reviewer whose name includes the word "Mike"?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : rid (number) , name (text) , rid (number) | rating : rid (number)


Question: What is the reviewer id of Daniel Lewis?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : rid (number) , name (text) , rid (number) | rating : rid (number)


Question: What is the id of the reviewer named Daniel Lewis?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : rid (number) , name (text) , rid (number) | rating : rid (number)


Question: What is the total number of ratings that has more than 3 stars?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)


Question: How many movie ratings have more than 3 stars?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)


Question: What is the lowest and highest rating star?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)


Question: What is the maximum and mininum number of stars a rating can receive?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)


Question: Find all years that have a movie that received a rating of 4 or 5, and sort them in increasing order of year.

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : year (number) , mid (number) , mid (number) | rating : mid (number) , stars (number)


Question: In what years did a movie receive a 4 or 5 star rating, and list the years from oldest to most recently?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : year (number) , mid (number) , mid (number) | rating : mid (number) , stars (number)


Question: What are the names of directors who directed movies with 5 star rating? Also return the title of these movies.

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : director (text) , title (text) , mid (number) , mid (number) | rating : mid (number) , stars (number)


Question: What are the names of the directors who created a movie with a 5 star rating, and what was the name of those movies?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : director (text) , title (text) , mid (number) , mid (number) | rating : mid (number) , stars (number)


Question: What is the average rating star for each reviewer?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : name (text) , rid (number) , rid (number) | rating : stars (number) , rid (number)


Question: What is the average number of stars that each reviewer awards for a movie?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : name (text) , rid (number) , rid (number) | rating : stars (number) , rid (number)


Question: Find the titles of all movies that have no ratings.

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , mid (number) , mid (number) | rating : mid (number)


Question: What are the titles of all movies that have not been rated?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , mid (number) , mid (number) | rating : mid (number)


Question: Find the names of all reviewers who have ratings with a NULL value for the date.

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : name (text) , rid (number) , rid (number) | rating : rid (number) , ratingdate (time)


Question: What are the different names of all reviewers whose ratings do not have a date field?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : name (text) , rid (number) , rid (number) | rating : rid (number) , ratingdate (time)


Question: What is the average rating stars and title for the oldest movie?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

rating : stars (number) , mid (number) | movie : title (text) , mid (number) , year (number) , mid (number)


Question: For the oldest movie listed, what is its average rating and title?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

rating : stars (number) , mid (number) | movie : title (text) , mid (number) , year (number) , mid (number)


Question: What is the name of the most recent movie?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , year (number) , mid (number)


Question: What is the title of the newest movie?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , year (number) , mid (number)


Question: What is the maximum stars and year for the most recent movie?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

rating : stars (number) , mid (number) | movie : year (number) , mid (number) , mid (number)


Question: What is highest rating for the most recent movie and when was it released?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

rating : stars (number) , mid (number) | movie : year (number) , mid (number) , mid (number)


Question: What is the names of movies whose created year is after all movies directed by Steven Spielberg?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , year (number) , director (text) , mid (number)


Question: What are the names of all movies that were created after the most recent Steven Spielberg film?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , year (number) , director (text) , mid (number)


Question: What are the titles and directors of the movies whose star is greater than the average stars of the movies directed by James Cameron?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , director (text) , mid (number) , mid (number) | rating : mid (number) , stars (number)


Question: What are the titles and directors of all movies that have a rating higher than the average James Cameron film rating?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , director (text) , mid (number) , mid (number) | rating : mid (number) , stars (number)


Question: Return reviewer name, movie title, stars, and ratingDate. And sort the data first by reviewer name, then by movie title, and lastly by number of stars.

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : name (text) , rid (number) , rid (number) | movie : title (text) , mid (number) , mid (number) | rating : stars (number) , ratingdate (time) , mid (number) , rid (number)


Question: What is the reviewer name, film title, movie rating, and rating date  for every movie ordered by reviewer name, movie title, then finally rating?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : name (text) , rid (number) , rid (number) | movie : title (text) , mid (number) , mid (number) | rating : stars (number) , ratingdate (time) , mid (number) , rid (number)


Question: Find the names of all reviewers who have contributed three or more ratings.

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : name (text) , rid (number) , rid (number) | rating : rid (number)


Question: What are the names of all reviewers that have rated 3 or more movies?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : name (text) , rid (number) , rid (number) | rating : rid (number)


Question: Find the names of all reviewers who rated Gone with the Wind.

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : name (text) , rid (number) , rid (number) | movie : mid (number) , title (text) , mid (number) | rating : mid (number) , rid (number)


Question: What are the names of all the different reviewers who rates Gone with the Wind?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : name (text) , rid (number) , rid (number) | movie : mid (number) , title (text) , mid (number) | rating : mid (number) , rid (number)


Question: Find the names of all directors whose movies are rated by Sarah Martinez.

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : director (text) , mid (number) , mid (number) | rating : mid (number) , rid (number) | reviewer : rid (number) , name (text) , rid (number)


Question: What are the names of all directors whose movies have been reviewed by Sarah Martinez?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : director (text) , mid (number) , mid (number) | rating : mid (number) , rid (number) | reviewer : rid (number) , name (text) , rid (number)


Question: For any rating where the name of reviewer is the same as the director of the movie, return the reviewer name, movie title, and number of stars.

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : name (text) , rid (number) , rid (number) | movie : title (text) , mid (number) , director (text) , mid (number) | rating : stars (number) , mid (number) , rid (number)


Question: What are the different reviewer names, movie titles, and stars for every rating where the reviewer had the same name as the director?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : name (text) , rid (number) , rid (number) | movie : title (text) , mid (number) , director (text) , mid (number) | rating : stars (number) , mid (number) , rid (number)


Question: Return all reviewer names and movie names together in a single list.

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : name (text) , rid (number) | movie : title (text) , mid (number)


Question: What are the names of all the reviewers and movie names?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : name (text) , rid (number) | movie : title (text) , mid (number)


Question: Find the titles of all movies not reviewed by Chris Jackson.

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , mid (number) , mid (number) | rating : mid (number) , rid (number) | reviewer : rid (number) , name (text) , rid (number)


Question: What are the titles of all movies that were not reviewed by Chris Jackson?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , mid (number) , mid (number) | rating : mid (number) , rid (number) | reviewer : rid (number) , name (text) , rid (number)


Question: For all directors who directed more than one movie, return the titles of all movies directed by them, along with the director name. Sort by director name, then movie title.

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , director (text) , mid (number)


Question: For all directors who have directed more than one movie, what movies have they directed and what are their names?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , director (text) , mid (number)


Question: For directors who had more than one movie, return the titles and produced years of all movies directed by them.

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , year (number) , director (text) , mid (number)


Question: For each director who directed more than one movie, what are the titles and dates of release for all those movies?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , year (number) , director (text) , mid (number)


Question: What are the names of the directors who made exactly one movie?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)


Question: What are the names of all directors who made one movie?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)


Question: What are the names of the directors who made exactly one movie excluding director NULL?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)


Question: What are the names of all directors who have made one movie except for the director named NULL?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)


Question: How many movie reviews does each director get?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : director (text) , mid (number) , mid (number) | rating : mid (number)


Question: For each director, how many reviews have they received?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : director (text) , mid (number) , mid (number) | rating : mid (number)


Question: Find the movies with the highest average rating. Return the movie titles and average rating.

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , mid (number) , mid (number) | rating : stars (number) , mid (number)


Question: What are the movie titles with the highest average rating and what are those ratings?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , mid (number) , mid (number) | rating : stars (number) , mid (number)


Question: What are the movie titles and average rating of the movies with the lowest average rating?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , mid (number) , mid (number) | rating : stars (number) , mid (number)


Question: What are the titles and average ratings for all movies that have the lowest average rating?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , mid (number) , mid (number) | rating : stars (number) , mid (number)


Question: What are the names and years of the movies that has the top 3 highest rating star?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , year (number) , mid (number) , mid (number) | rating : mid (number) , stars (number)


Question: What are the names and years released for the movies with the top 3 highest ratings?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , year (number) , mid (number) , mid (number) | rating : mid (number) , stars (number)


Question: For each director, return the director's name together with the title of the movie they directed that received the highest rating among all of their movies, and the value of that rating. Ignore movies whose director is NULL.

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , director (text) , mid (number) , mid (number) | rating : stars (number) , mid (number)


Question: For each director, what are the titles and ratings for all the movies they reviewed?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , director (text) , mid (number) , mid (number) | rating : stars (number) , mid (number)


Question: Find the title and star rating of the movie that got the least rating star for each reviewer.

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , mid (number) , mid (number) | reviewer : rid (number) , rid (number) | rating : rid (number) , stars (number) , mid (number)


Question: For each reviewer id, what is the title and rating for the movie with the smallest rating?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , mid (number) , mid (number) | reviewer : rid (number) , rid (number) | rating : rid (number) , stars (number) , mid (number)


Question: Find the title and score of the movie with the lowest rating among all movies directed by each director.

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , director (text) , mid (number) , mid (number) | rating : stars (number) , mid (number)


Question: For each director, what is the title and score of their most poorly rated movie?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , director (text) , mid (number) , mid (number) | rating : stars (number) , mid (number)


Question: What is the name of the movie that is rated by most of times?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , mid (number) , mid (number) | rating : mid (number)


Question: What is the name of the movie that has been reviewed the most?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , mid (number) , mid (number) | rating : mid (number)


Question: What are the titles of all movies that have rating star is between 3 and 5?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , mid (number) , mid (number) | rating : mid (number) , stars (number)


Question: What are the titles of all movies that have between 3 and 5 stars?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , mid (number) , mid (number) | rating : mid (number) , stars (number)


Question: Find the names of reviewers who had given higher than 3 star ratings.

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : name (text) , rid (number) , rid (number) | rating : rid (number) , stars (number)


Question: What are the names of the reviewers who have rated a movie more than 3 stars before?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : name (text) , rid (number) , rid (number) | rating : rid (number) , stars (number)


Question: Find the average rating star for each movie that are not reviewed by Brittany Harris.

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : mid (number) , mid (number) | rating : mid (number) , stars (number) , rid (number) | reviewer : rid (number) , name (text) , rid (number)


Question: What is the average rating for each movie that has never been reviewed by Brittany Harris?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : mid (number) , mid (number) | rating : mid (number) , stars (number) , rid (number) | reviewer : rid (number) , name (text) , rid (number)


Question: What are the ids of the movies that are not reviewed by Brittany Harris.

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : mid (number) , mid (number) | rating : mid (number) , rid (number) | reviewer : rid (number) , name (text) , rid (number)


Question: What are the ids of all moviest hat have not been reviewed by Britanny Harris?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : mid (number) , mid (number) | rating : mid (number) , rid (number) | reviewer : rid (number) , name (text) , rid (number)


Question: Find the average rating star for each movie that received at least 2 ratings.

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : mid (number) , mid (number) | rating : mid (number) , stars (number)


Question: For each movie that received more than 3 reviews, what is the average rating?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : mid (number) , mid (number) | rating : mid (number) , stars (number)


Question: find the ids of reviewers who did not give 4 star.

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : rid (number) , rid (number) | rating : rid (number) , stars (number)


Question: What are the ids of all reviewers who did not give 4 stars?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : rid (number) , rid (number) | rating : rid (number) , stars (number)


Question: Find the ids of reviewers who didn't only give 4 star.

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : rid (number) , rid (number) | rating : rid (number) , stars (number)


Question: What are the ids of all reviewers who have not given 4 stars at least once?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : rid (number) , rid (number) | rating : rid (number) , stars (number)


Question: What are names of the movies that are either made after 2000 or reviewed by Brittany Harris?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , mid (number) , year (number) , mid (number) | rating : mid (number) , rid (number) | reviewer : rid (number) , name (text) , rid (number)


Question: What are the names of all movies that were made after 2000 or reviewed by Brittany Harris?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , mid (number) , year (number) , mid (number) | rating : mid (number) , rid (number) | reviewer : rid (number) , name (text) , rid (number)


Question: What are names of the movies that are either made before 1980 or directed by James Cameron?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , director (text) , year (number) , mid (number)


Question: What are the names of all movies made before 1980 or had James Cameron as the director?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , director (text) , year (number) , mid (number)


Question: What are the names of reviewers who had rated 3 star and 4 star?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : name (text) , rid (number) , rid (number) | rating : rid (number) , stars (number)


Question: What are the names of all reviewers that have given 3 or 4 stars for reviews?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

reviewer : name (text) , rid (number) , rid (number) | rating : rid (number) , stars (number)


Question: What are the names of movies that get 3 star and 4 star?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , mid (number) , mid (number) | rating : mid (number) , stars (number)


Question: What are the names of all movies that received 3 or 4 stars?

movie : mid (number) , title (text) , year (number) , director (text) | reviewer : rid (number) , name (text) | rating : rid (number) , mid (number) , stars (number) , ratingdate (time)

movie : title (text) , mid (number) , mid (number) | rating : mid (number) , stars (number)


Question: How many counties are there?

county_public_safety : county_id (number) , name (text) , population (number) , police_officers (number) , residents_per_officer (number) , case_burden (number) , crime_rate (number) , police_force (text) , location (text) | city : city_id (number) , county_id (number) , name (text) , white (number) , black (number) , amerindian (number) , asian (number) , multiracial (number) , hispanic (number)


Question: Count the number of countries.

county_public_safety : county_id (number) , name (text) , population (number) , police_officers (number) , residents_per_officer (number) , case_burden (number) , crime_rate (number) , police_force (text) , location (text) | city : city_id (number) , county_id (number) , name (text) , white (number) , black (number) , amerindian (number) , asian (number) , multiracial (number) , hispanic (number)


Question: List the names of counties in descending order of population.

county_public_safety : county_id (number) , name (text) , population (number) , police_officers (number) , residents_per_officer (number) , case_burden (number) , crime_rate (number) , police_force (text) , location (text) | city : city_id (number) , county_id (number) , name (text) , white (number) , black (number) , amerindian (number) , asian (number) , multiracial (number) , hispanic (number)

county_public_safety : name (text) , population (number) , county_id (number) | city : name (text) , city_id (number)


Question: What are the names of the counties of public safety, ordered by population descending?

county_public_safety : county_id (number) , name (text) , population (number) , police_officers (number) , residents_per_officer (number) , case_burden (number) , crime_rate (number) , police_force (text) , location (text) | city : city_id (number) , county_id (number) , name (text) , white (number) , black (number) , amerindian (number) , asian (number) , multiracial (number) , hispanic (number)

county_public_safety : name (text) , population (number) , county_id (number) | city : name (text) , city_id (number)


Question: List the distinct police forces of counties whose location is not on east side.

county_public_safety : county_id (number) , name (text) , population (number) , police_officers (number) , residents_per_officer (number) , case_burden (number) , crime_rate (number) , police_force (text) , location (text) | city : city_id (number) , county_id (number) , name (text) , white (number) , black (number) , amerindian (number) , asian (number) , multiracial (number) , hispanic (number)

county_public_safety : police_force (text) , location (text) , county_id (number)


Question: What are the different police forces of counties that are not located in the East?

county_public_safety : county_id (number) , name (text) , population (number) , police_officers (number) , residents_per_officer (number) , case_burden (number) , crime_rate (number) , police_force (text) , location (text) | city : city_id (number) , county_id (number) , name (text) , white (number) , black (number) , amerindian (number) , asian (number) , multiracial (number) , hispanic (number)

county_public_safety : police_force (text) , location (text) , county_id (number)


Question: What are the minimum and maximum crime rate of counties?

county_public_safety : county_id (number) , name (text) , population (number) , police_officers (number) , residents_per_officer (number) , case_burden (number) , crime_rate (number) , police_force (text) , location (text) | city : city_id (number) , county_id (number) , name (text) , white (number) , black (number) , amerindian (number) , asian (number) , multiracial (number) , hispanic (number)

county_public_safety : crime_rate (number) , county_id (number)


Question: Return the minimum and maximum crime rates across all counties.

county_public_safety : county_id (number) , name (text) , population (number) , police_officers (number) , residents_per_officer (number) , case_burden (number) , crime_rate (number) , police_force (text) , location (text) | city : city_id (number) , county_id (number) , name (text) , white (number) , black (number) , amerindian (number) , asian (number) , multiracial (number) , hispanic (number)

county_public_safety : crime_rate (number) , county_id (number)


Question: Show the crime rates of counties in ascending order of number of police officers.

county_public_safety : county_id (number) , name (text) , population (number) , police_officers (number) , residents_per_officer (number) , case_burden (number) , crime_rate (number) , police_force (text) , location (text) | city : city_id (number) , county_id (number) , name (text) , white (number) , black (number) , amerindian (number) , asian (number) , multiracial (number) , hispanic (number)

county_public_safety : crime_rate (number) , police_officers (number) , county_id (number)


Question: What are the crime rates of counties sorted by number of offices ascending?

county_public_safety : county_id (number) , name (text) , population (number) , police_officers (number) , residents_per_officer (number) , case_burden (number) , crime_rate (number) , police_force (text) , location (text) | city : city_id (number) , county_id (number) , name (text) , white (number) , black (number) , amerindian (number) , asian (number) , multiracial (number) , hispanic (number)

county_public_safety : crime_rate (number) , police_officers (number) , county_id (number)


Question: What are the names of cities in ascending alphabetical order?

county_public_safety : county_id (number) , name (text) , population (number) , police_officers (number) , residents_per_officer (number) , case_burden (number) , crime_rate (number) , police_force (text) , location (text) | city : city_id (number) , county_id (number) , name (text) , white (number) , black (number) , amerindian (number) , asian (number) , multiracial (number) , hispanic (number)

county_public_safety : name (text) , county_id (number) | city : name (text) , city_id (number)


Question: Return the names of cities, ordered alphabetically.

county_public_safety : county_id (number) , name (text) , population (number) , police_officers (number) , residents_per_officer (number) , case_burden (number) , crime_rate (number) , police_force (text) , location (text) | city : city_id (number) , county_id (number) , name (text) , white (number) , black (number) , amerindian (number) , asian (number) , multiracial (number) , hispanic (number)

county_public_safety : name (text) , county_id (number) | city : name (text) , city_id (number)


Question: What are the percentage of hispanics in cities with the black percentage higher than 10?

county_public_safety : county_id (number) , name (text) , population (number) , police_officers (number) , residents_per_officer (number) , case_burden (number) , crime_rate (number) , police_force (text) , location (text) | city : city_id (number) , county_id (number) , name (text) , white (number) , black (number) , amerindian (number) , asian (number) , multiracial (number) , hispanic (number)

city : hispanic (number) , black (number) , city_id (number)


Question: Return the hispanic percentage for cities in which the black percentage is greater than 10.

county_public_safety : county_id (number) , name (text) , population (number) , police_officers (number) , residents_per_officer (number) , case_burden (number) , crime_rate (number) , police_force (text) , location (text) | city : city_id (number) , county_id (number) , name (text) , white (number) , black (number) , amerindian (number) , asian (number) , multiracial (number) , hispanic (number)

city : hispanic (number) , black (number) , city_id (number)


Question: List the name of the county with the largest population.

county_public_safety : county_id (number) , name (text) , population (number) , police_officers (number) , residents_per_officer (number) , case_burden (number) , crime_rate (number) , police_force (text) , location (text) | city : city_id (number) , county_id (number) , name (text) , white (number) , black (number) , amerindian (number) , asian (number) , multiracial (number) , hispanic (number)

county_public_safety : name (text) , population (number) , county_id (number) | city : name (text) , city_id (number)


Question: What is the name of the county with the greatest population?

county_public_safety : county_id (number) , name (text) , population (number) , police_officers (number) , residents_per_officer (number) , case_burden (number) , crime_rate (number) , police_force (text) , location (text) | city : city_id (number) , county_id (number) , name (text) , white (number) , black (number) , amerindian (number) , asian (number) , multiracial (number) , hispanic (number)

county_public_safety : name (text) , population (number) , county_id (number) | city : name (text) , city_id (number)


Question: List the names of the city with the top 5 white percentages.

county_public_safety : county_id (number) , name (text) , population (number) , police_officers (number) , residents_per_officer (number) , case_burden (number) , crime_rate (number) , police_force (text) , location (text) | city : city_id (number) , county_id (number) , name (text) , white (number) , black (number) , amerindian (number) , asian (number) , multiracial (number) , hispanic (number)

county_public_safety : name (text) , county_id (number) | city : name (text) , white (number) , city_id (number)


Question: What are the names of the five cities with the greatest proportion of white people?

county_public_safety : county_id (number) , name (text) , population (number) , police_officers (number) , residents_per_officer (number) , case_burden (number) , crime_rate (number) , police_force (text) , location (text) | city : city_id (number) , county_id (number) , name (text) , white (number) , black (number) , amerindian (number) , asian (number) , multiracial (number) , hispanic (number)

county_public_safety : name (text) , county_id (number) | city : name (text) , white (number) , city_id (number)


Question: Show names of cities and names of counties they are in.

county_public_safety : county_id (number) , name (text) , population (number) , police_officers (number) , residents_per_officer (number) , case_burden (number) , crime_rate (number) , police_force (text) , location (text) | city : city_id (number) , county_id (number) , name (text) , white (number) , black (number) , amerindian (number) , asian (number) , multiracial (number) , hispanic (number)

county_public_safety : name (text) , county_id (number) , county_id (number) | city : name (text) , county_id (number) , city_id (number)


Question: What are the names of cities, as well as the names of the counties they correspond to?

county_public_safety : county_id (number) , name (text) , population (number) , police_officers (number) , residents_per_officer (number) , case_burden (number) , crime_rate (number) , police_force (text) , location (text) | city : city_id (number) , county_id (number) , name (text) , white (number) , black (number) , amerindian (number) , asian (number) , multiracial (number) , hispanic (number)

county_public_safety : name (text) , county_id (number) , county_id (number) | city : name (text) , county_id (number) , city_id (number)


Question: Show white percentages of cities and the crime rates of counties they are in.

county_public_safety : county_id (number) , name (text) , population (number) , police_officers (number) , residents_per_officer (number) , case_burden (number) , crime_rate (number) , police_force (text) , location (text) | city : city_id (number) , county_id (number) , name (text) , white (number) , black (number) , amerindian (number) , asian (number) , multiracial (number) , hispanic (number)

city : white (number) , county_id (number) , city_id (number) | county_public_safety : crime_rate (number) , county_id (number) , county_id (number)


Question: What are the white percentages of cities, and the corresponding crime rates of the counties they correspond to?

county_public_safety : county_id (number) , name (text) , population (number) , police_officers (number) , residents_per_officer (number) , case_burden (number) , crime_rate (number) , police_force (text) , location (text) | city : city_id (number) , county_id (number) , name (text) , white (number) , black (number) , amerindian (number) , asian (number) , multiracial (number) , hispanic (number)

city : white (number) , county_id (number) , city_id (number) | county_public_safety : crime_rate (number) , county_id (number) , county_id (number)


Question: Show the name of cities in the county that has the largest number of police officers.

county_public_safety : county_id (number) , name (text) , population (number) , police_officers (number) , residents_per_officer (number) , case_burden (number) , crime_rate (number) , police_force (text) , location (text) | city : city_id (number) , county_id (number) , name (text) , white (number) , black (number) , amerindian (number) , asian (number) , multiracial (number) , hispanic (number)

county_public_safety : name (text) , county_id (number) , police_officers (number) , county_id (number) | city : name (text) , county_id (number) , city_id (number)


Question: What are the names of cities that are in the county with the most police officers?

county_public_safety : county_id (number) , name (text) , population (number) , police_officers (number) , residents_per_officer (number) , case_burden (number) , crime_rate (number) , police_force (text) , location (text) | city : city_id (number) , county_id (number) , name (text) , white (number) , black (number) , amerindian (number) , asian (number) , multiracial (number) , hispanic (number)

county_public_safety : name (text) , county_id (number) , police_officers (number) , county_id (number) | city : name (text) , county_id (number) , city_id (number)