Question: What are the maximum fastest lap speed in races held after 2004 grouped by race name and ordered by year?

circuits : circuitid (number) , circuitref (text) , name (text) , location (text) , country (text) , lat (number) , lng (number) , alt (number) , url (text) | races : raceid (number) , year (number) , round (number) , circuitid (number) , name (text) , date (text) , time (text) , url (text) | drivers : driverid (number) , driverref (text) , number (number) , code (text) , forename (text) , surname (text) , dob (text) , nationality (text) , url (text) | status : statusid (number) , status (text) | seasons : year (number) , url (text) | constructors : constructorid (number) , constructorref (text) , name (text) , nationality (text) , url (text) | constructorstandings : constructorstandingsid (number) , raceid (number) , constructorid (number) , points (number) , position (number) , positiontext (text) , wins (number) | results : resultid (number) , raceid (number) , driverid (number) , constructorid (number) , number (number) , grid (number) , position (number) , positiontext (text) , positionorder (number) , points (number) , laps (number) , time (text) , milliseconds (number) , fastestlap (number) , rank (number) , fastestlaptime (text) , fastestlapspeed (text) , statusid (number) | driverstandings : driverstandingsid (number) , raceid (number) , driverid (number) , points (number) , position (number) , positiontext (text) , wins (number) | constructorresults : constructorresultsid (number) , raceid (number) , constructorid (number) , points (number) , status (number) | qualifying : qualifyid (number) , raceid (number) , driverid (number) , constructorid (number) , number (number) , position (number) , q1 (text) , q2 (text) , q3 (text) | pitstops : raceid (number) , driverid (number) , stop (number) , lap (number) , time (text) , duration (text) , milliseconds (number) | laptimes : raceid (number) , driverid (number) , lap (number) , position (number) , time (text) , milliseconds (number)

results : fastestlapspeed (text) , raceid (number) | races : name (text) , year (number) , raceid (number)


Question: For each race name, What is the maximum fastest lap speed for races after 2004 ordered by year?

circuits : circuitid (number) , circuitref (text) , name (text) , location (text) , country (text) , lat (number) , lng (number) , alt (number) , url (text) | races : raceid (number) , year (number) , round (number) , circuitid (number) , name (text) , date (text) , time (text) , url (text) | drivers : driverid (number) , driverref (text) , number (number) , code (text) , forename (text) , surname (text) , dob (text) , nationality (text) , url (text) | status : statusid (number) , status (text) | seasons : year (number) , url (text) | constructors : constructorid (number) , constructorref (text) , name (text) , nationality (text) , url (text) | constructorstandings : constructorstandingsid (number) , raceid (number) , constructorid (number) , points (number) , position (number) , positiontext (text) , wins (number) | results : resultid (number) , raceid (number) , driverid (number) , constructorid (number) , number (number) , grid (number) , position (number) , positiontext (text) , positionorder (number) , points (number) , laps (number) , time (text) , milliseconds (number) , fastestlap (number) , rank (number) , fastestlaptime (text) , fastestlapspeed (text) , statusid (number) | driverstandings : driverstandingsid (number) , raceid (number) , driverid (number) , points (number) , position (number) , positiontext (text) , wins (number) | constructorresults : constructorresultsid (number) , raceid (number) , constructorid (number) , points (number) , status (number) | qualifying : qualifyid (number) , raceid (number) , driverid (number) , constructorid (number) , number (number) , position (number) , q1 (text) , q2 (text) , q3 (text) | pitstops : raceid (number) , driverid (number) , stop (number) , lap (number) , time (text) , duration (text) , milliseconds (number) | laptimes : raceid (number) , driverid (number) , lap (number) , position (number) , time (text) , milliseconds (number)

results : fastestlapspeed (text) , raceid (number) | races : name (text) , year (number) , raceid (number)


Question: What are the average fastest lap speed in races held after 2004 grouped by race name and ordered by year?

circuits : circuitid (number) , circuitref (text) , name (text) , location (text) , country (text) , lat (number) , lng (number) , alt (number) , url (text) | races : raceid (number) , year (number) , round (number) , circuitid (number) , name (text) , date (text) , time (text) , url (text) | drivers : driverid (number) , driverref (text) , number (number) , code (text) , forename (text) , surname (text) , dob (text) , nationality (text) , url (text) | status : statusid (number) , status (text) | seasons : year (number) , url (text) | constructors : constructorid (number) , constructorref (text) , name (text) , nationality (text) , url (text) | constructorstandings : constructorstandingsid (number) , raceid (number) , constructorid (number) , points (number) , position (number) , positiontext (text) , wins (number) | results : resultid (number) , raceid (number) , driverid (number) , constructorid (number) , number (number) , grid (number) , position (number) , positiontext (text) , positionorder (number) , points (number) , laps (number) , time (text) , milliseconds (number) , fastestlap (number) , rank (number) , fastestlaptime (text) , fastestlapspeed (text) , statusid (number) | driverstandings : driverstandingsid (number) , raceid (number) , driverid (number) , points (number) , position (number) , positiontext (text) , wins (number) | constructorresults : constructorresultsid (number) , raceid (number) , constructorid (number) , points (number) , status (number) | qualifying : qualifyid (number) , raceid (number) , driverid (number) , constructorid (number) , number (number) , position (number) , q1 (text) , q2 (text) , q3 (text) | pitstops : raceid (number) , driverid (number) , stop (number) , lap (number) , time (text) , duration (text) , milliseconds (number) | laptimes : raceid (number) , driverid (number) , lap (number) , position (number) , time (text) , milliseconds (number)

results : fastestlapspeed (text) , raceid (number) | races : name (text) , year (number) , raceid (number)


Question: What is the average fastest lap speed for races held after 2004, for each race, ordered by year?

circuits : circuitid (number) , circuitref (text) , name (text) , location (text) , country (text) , lat (number) , lng (number) , alt (number) , url (text) | races : raceid (number) , year (number) , round (number) , circuitid (number) , name (text) , date (text) , time (text) , url (text) | drivers : driverid (number) , driverref (text) , number (number) , code (text) , forename (text) , surname (text) , dob (text) , nationality (text) , url (text) | status : statusid (number) , status (text) | seasons : year (number) , url (text) | constructors : constructorid (number) , constructorref (text) , name (text) , nationality (text) , url (text) | constructorstandings : constructorstandingsid (number) , raceid (number) , constructorid (number) , points (number) , position (number) , positiontext (text) , wins (number) | results : resultid (number) , raceid (number) , driverid (number) , constructorid (number) , number (number) , grid (number) , position (number) , positiontext (text) , positionorder (number) , points (number) , laps (number) , time (text) , milliseconds (number) , fastestlap (number) , rank (number) , fastestlaptime (text) , fastestlapspeed (text) , statusid (number) | driverstandings : driverstandingsid (number) , raceid (number) , driverid (number) , points (number) , position (number) , positiontext (text) , wins (number) | constructorresults : constructorresultsid (number) , raceid (number) , constructorid (number) , points (number) , status (number) | qualifying : qualifyid (number) , raceid (number) , driverid (number) , constructorid (number) , number (number) , position (number) , q1 (text) , q2 (text) , q3 (text) | pitstops : raceid (number) , driverid (number) , stop (number) , lap (number) , time (text) , duration (text) , milliseconds (number) | laptimes : raceid (number) , driverid (number) , lap (number) , position (number) , time (text) , milliseconds (number)

results : fastestlapspeed (text) , raceid (number) | races : name (text) , year (number) , raceid (number)


Question: Find the id, forename and number of races of all drivers who have at least participated in two races?

circuits : circuitid (number) , circuitref (text) , name (text) , location (text) , country (text) , lat (number) , lng (number) , alt (number) , url (text) | races : raceid (number) , year (number) , round (number) , circuitid (number) , name (text) , date (text) , time (text) , url (text) | drivers : driverid (number) , driverref (text) , number (number) , code (text) , forename (text) , surname (text) , dob (text) , nationality (text) , url (text) | status : statusid (number) , status (text) | seasons : year (number) , url (text) | constructors : constructorid (number) , constructorref (text) , name (text) , nationality (text) , url (text) | constructorstandings : constructorstandingsid (number) , raceid (number) , constructorid (number) , points (number) , position (number) , positiontext (text) , wins (number) | results : resultid (number) , raceid (number) , driverid (number) , constructorid (number) , number (number) , grid (number) , position (number) , positiontext (text) , positionorder (number) , points (number) , laps (number) , time (text) , milliseconds (number) , fastestlap (number) , rank (number) , fastestlaptime (text) , fastestlapspeed (text) , statusid (number) | driverstandings : driverstandingsid (number) , raceid (number) , driverid (number) , points (number) , position (number) , positiontext (text) , wins (number) | constructorresults : constructorresultsid (number) , raceid (number) , constructorid (number) , points (number) , status (number) | qualifying : qualifyid (number) , raceid (number) , driverid (number) , constructorid (number) , number (number) , position (number) , q1 (text) , q2 (text) , q3 (text) | pitstops : raceid (number) , driverid (number) , stop (number) , lap (number) , time (text) , duration (text) , milliseconds (number) | laptimes : raceid (number) , driverid (number) , lap (number) , position (number) , time (text) , milliseconds (number)

drivers : driverid (number) , forename (text) | results : driverid (number) , raceid (number) , resultid (number) | races : raceid (number)


Question: What is the id, forename, and number of races for all drivers that have participated in at least 2 races?

circuits : circuitid (number) , circuitref (text) , name (text) , location (text) , country (text) , lat (number) , lng (number) , alt (number) , url (text) | races : raceid (number) , year (number) , round (number) , circuitid (number) , name (text) , date (text) , time (text) , url (text) | drivers : driverid (number) , driverref (text) , number (number) , code (text) , forename (text) , surname (text) , dob (text) , nationality (text) , url (text) | status : statusid (number) , status (text) | seasons : year (number) , url (text) | constructors : constructorid (number) , constructorref (text) , name (text) , nationality (text) , url (text) | constructorstandings : constructorstandingsid (number) , raceid (number) , constructorid (number) , points (number) , position (number) , positiontext (text) , wins (number) | results : resultid (number) , raceid (number) , driverid (number) , constructorid (number) , number (number) , grid (number) , position (number) , positiontext (text) , positionorder (number) , points (number) , laps (number) , time (text) , milliseconds (number) , fastestlap (number) , rank (number) , fastestlaptime (text) , fastestlapspeed (text) , statusid (number) | driverstandings : driverstandingsid (number) , raceid (number) , driverid (number) , points (number) , position (number) , positiontext (text) , wins (number) | constructorresults : constructorresultsid (number) , raceid (number) , constructorid (number) , points (number) , status (number) | qualifying : qualifyid (number) , raceid (number) , driverid (number) , constructorid (number) , number (number) , position (number) , q1 (text) , q2 (text) , q3 (text) | pitstops : raceid (number) , driverid (number) , stop (number) , lap (number) , time (text) , duration (text) , milliseconds (number) | laptimes : raceid (number) , driverid (number) , lap (number) , position (number) , time (text) , milliseconds (number)

drivers : driverid (number) , forename (text) | results : driverid (number) , raceid (number) , resultid (number) | races : raceid (number)


Question: Find the driver id and number of races of all drivers who have at most participated in 30 races?

circuits : circuitid (number) , circuitref (text) , name (text) , location (text) , country (text) , lat (number) , lng (number) , alt (number) , url (text) | races : raceid (number) , year (number) , round (number) , circuitid (number) , name (text) , date (text) , time (text) , url (text) | drivers : driverid (number) , driverref (text) , number (number) , code (text) , forename (text) , surname (text) , dob (text) , nationality (text) , url (text) | status : statusid (number) , status (text) | seasons : year (number) , url (text) | constructors : constructorid (number) , constructorref (text) , name (text) , nationality (text) , url (text) | constructorstandings : constructorstandingsid (number) , raceid (number) , constructorid (number) , points (number) , position (number) , positiontext (text) , wins (number) | results : resultid (number) , raceid (number) , driverid (number) , constructorid (number) , number (number) , grid (number) , position (number) , positiontext (text) , positionorder (number) , points (number) , laps (number) , time (text) , milliseconds (number) , fastestlap (number) , rank (number) , fastestlaptime (text) , fastestlapspeed (text) , statusid (number) | driverstandings : driverstandingsid (number) , raceid (number) , driverid (number) , points (number) , position (number) , positiontext (text) , wins (number) | constructorresults : constructorresultsid (number) , raceid (number) , constructorid (number) , points (number) , status (number) | qualifying : qualifyid (number) , raceid (number) , driverid (number) , constructorid (number) , number (number) , position (number) , q1 (text) , q2 (text) , q3 (text) | pitstops : raceid (number) , driverid (number) , stop (number) , lap (number) , time (text) , duration (text) , milliseconds (number) | laptimes : raceid (number) , driverid (number) , lap (number) , position (number) , time (text) , milliseconds (number)

drivers : driverid (number) | results : driverid (number) , raceid (number) , resultid (number) | races : raceid (number)


Question: For each id of a driver who participated in at most 30 races, how many races did they participate in?

circuits : circuitid (number) , circuitref (text) , name (text) , location (text) , country (text) , lat (number) , lng (number) , alt (number) , url (text) | races : raceid (number) , year (number) , round (number) , circuitid (number) , name (text) , date (text) , time (text) , url (text) | drivers : driverid (number) , driverref (text) , number (number) , code (text) , forename (text) , surname (text) , dob (text) , nationality (text) , url (text) | status : statusid (number) , status (text) | seasons : year (number) , url (text) | constructors : constructorid (number) , constructorref (text) , name (text) , nationality (text) , url (text) | constructorstandings : constructorstandingsid (number) , raceid (number) , constructorid (number) , points (number) , position (number) , positiontext (text) , wins (number) | results : resultid (number) , raceid (number) , driverid (number) , constructorid (number) , number (number) , grid (number) , position (number) , positiontext (text) , positionorder (number) , points (number) , laps (number) , time (text) , milliseconds (number) , fastestlap (number) , rank (number) , fastestlaptime (text) , fastestlapspeed (text) , statusid (number) | driverstandings : driverstandingsid (number) , raceid (number) , driverid (number) , points (number) , position (number) , positiontext (text) , wins (number) | constructorresults : constructorresultsid (number) , raceid (number) , constructorid (number) , points (number) , status (number) | qualifying : qualifyid (number) , raceid (number) , driverid (number) , constructorid (number) , number (number) , position (number) , q1 (text) , q2 (text) , q3 (text) | pitstops : raceid (number) , driverid (number) , stop (number) , lap (number) , time (text) , duration (text) , milliseconds (number) | laptimes : raceid (number) , driverid (number) , lap (number) , position (number) , time (text) , milliseconds (number)

drivers : driverid (number) | results : driverid (number) , raceid (number) , resultid (number) | races : raceid (number)


Question: Find the id and surname of the driver who participated the most number of races?

circuits : circuitid (number) , circuitref (text) , name (text) , location (text) , country (text) , lat (number) , lng (number) , alt (number) , url (text) | races : raceid (number) , year (number) , round (number) , circuitid (number) , name (text) , date (text) , time (text) , url (text) | drivers : driverid (number) , driverref (text) , number (number) , code (text) , forename (text) , surname (text) , dob (text) , nationality (text) , url (text) | status : statusid (number) , status (text) | seasons : year (number) , url (text) | constructors : constructorid (number) , constructorref (text) , name (text) , nationality (text) , url (text) | constructorstandings : constructorstandingsid (number) , raceid (number) , constructorid (number) , points (number) , position (number) , positiontext (text) , wins (number) | results : resultid (number) , raceid (number) , driverid (number) , constructorid (number) , number (number) , grid (number) , position (number) , positiontext (text) , positionorder (number) , points (number) , laps (number) , time (text) , milliseconds (number) , fastestlap (number) , rank (number) , fastestlaptime (text) , fastestlapspeed (text) , statusid (number) | driverstandings : driverstandingsid (number) , raceid (number) , driverid (number) , points (number) , position (number) , positiontext (text) , wins (number) | constructorresults : constructorresultsid (number) , raceid (number) , constructorid (number) , points (number) , status (number) | qualifying : qualifyid (number) , raceid (number) , driverid (number) , constructorid (number) , number (number) , position (number) , q1 (text) , q2 (text) , q3 (text) | pitstops : raceid (number) , driverid (number) , stop (number) , lap (number) , time (text) , duration (text) , milliseconds (number) | laptimes : raceid (number) , driverid (number) , lap (number) , position (number) , time (text) , milliseconds (number)

drivers : driverid (number) , surname (text) | results : driverid (number) , raceid (number) , resultid (number) | races : raceid (number)


Question: What are the ids and last names of all drivers who participated in the most races?

circuits : circuitid (number) , circuitref (text) , name (text) , location (text) , country (text) , lat (number) , lng (number) , alt (number) , url (text) | races : raceid (number) , year (number) , round (number) , circuitid (number) , name (text) , date (text) , time (text) , url (text) | drivers : driverid (number) , driverref (text) , number (number) , code (text) , forename (text) , surname (text) , dob (text) , nationality (text) , url (text) | status : statusid (number) , status (text) | seasons : year (number) , url (text) | constructors : constructorid (number) , constructorref (text) , name (text) , nationality (text) , url (text) | constructorstandings : constructorstandingsid (number) , raceid (number) , constructorid (number) , points (number) , position (number) , positiontext (text) , wins (number) | results : resultid (number) , raceid (number) , driverid (number) , constructorid (number) , number (number) , grid (number) , position (number) , positiontext (text) , positionorder (number) , points (number) , laps (number) , time (text) , milliseconds (number) , fastestlap (number) , rank (number) , fastestlaptime (text) , fastestlapspeed (text) , statusid (number) | driverstandings : driverstandingsid (number) , raceid (number) , driverid (number) , points (number) , position (number) , positiontext (text) , wins (number) | constructorresults : constructorresultsid (number) , raceid (number) , constructorid (number) , points (number) , status (number) | qualifying : qualifyid (number) , raceid (number) , driverid (number) , constructorid (number) , number (number) , position (number) , q1 (text) , q2 (text) , q3 (text) | pitstops : raceid (number) , driverid (number) , stop (number) , lap (number) , time (text) , duration (text) , milliseconds (number) | laptimes : raceid (number) , driverid (number) , lap (number) , position (number) , time (text) , milliseconds (number)

drivers : driverid (number) , surname (text) | results : driverid (number) , raceid (number) , resultid (number) | races : raceid (number)


Question: How many technicians are there?

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)


Question: What is the number of technicians?

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)


Question: List the names of technicians in ascending order of age.

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)


Question: What are the names of the technicians by ascending order of age?

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)


Question: What are the team and starting year of technicians?

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)

technician : team (text) , starting_year (number)


Question: What is the team and starting year for each technician?

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)

technician : team (text) , starting_year (number)


Question: List the name of technicians whose team is not "NYY".

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)


Question: What is the name of the technician whose team is not 'NYY'?

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)


Question: Show the name of technicians aged either 36 or 37

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)


Question: What are the names of the technicians aged either 36 or 37?

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)


Question: What is the starting year of the oldest technicians?

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)

technician : starting_year (number) , age (number)


Question: What is the starting year for the oldest technician?

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)

technician : starting_year (number) , age (number)


Question: Show different teams of technicians and the number of technicians in each team.

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)

technician : team (text) , technician_id (number)


Question: For each team, how many technicians are there?

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)

technician : team (text) , technician_id (number)


Question: Please show the team that has the most number of technicians.

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)

technician : team (text) , technician_id (number)


Question: What are the teams with the most technicians?

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)

technician : team (text) , technician_id (number)


Question: Show the team that have at least two technicians.

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)

technician : team (text) , technician_id (number)


Question: What is the team with at least 2 technicians?

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)

technician : team (text) , technician_id (number)


Question: Show names of technicians and series of machines they are assigned to repair.

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)

technician : name (text) , technician_id (number) | machine : machine_series (text) , machine_id (number) | repair_assignment : machine_id (number) , technician_id (number)


Question: What are the names of technicians and the machine series that they repair?

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)

technician : name (text) , technician_id (number) | machine : machine_series (text) , machine_id (number) | repair_assignment : machine_id (number) , technician_id (number)


Question: Show names of technicians in ascending order of quality rank of the machine they are assigned.

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)

technician : name (text) , technician_id (number) | machine : machine_id (number) , quality_rank (number) | repair_assignment : machine_id (number) , technician_id (number)


Question: What are the names of the technicians by ascending order of quality rank for the machine they are assigned?

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)

technician : name (text) , technician_id (number) | machine : machine_id (number) , quality_rank (number) | repair_assignment : machine_id (number) , technician_id (number)


Question: Show names of technicians who are assigned to repair machines with value point more than 70.

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)

technician : name (text) , technician_id (number) | machine : machine_id (number) , value_points (number) | repair_assignment : machine_id (number) , technician_id (number)


Question: What are the names of the technicians that are assigned to repair machines with more point values than 70?

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)

technician : name (text) , technician_id (number) | machine : machine_id (number) , value_points (number) | repair_assignment : machine_id (number) , technician_id (number)


Question: Show names of technicians and the number of machines they are assigned to repair.

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)

technician : name (text) , technician_id (number) | repair_assignment : technician_id (number)


Question: What are the names of the technicians  and how many machines are they assigned to repair?

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)

technician : name (text) , technician_id (number) | repair_assignment : technician_id (number)


Question: List the names of technicians who have not been assigned to repair machines.

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)

technician : name (text) , technician_id (number) | repair_assignment : technician_id (number)


Question: What are the names of the technicians that have not been assigned to repair machines?

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)

technician : name (text) , technician_id (number) | repair_assignment : technician_id (number)


Question: Show the starting years shared by technicians from team "CLE" and "CWS".

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)

technician : starting_year (number) , team (text)


Question: What are the starting years shared by the technicians from the team "CLE" or "CWS"?

repair : repair_id (number) , name (text) , launch_date (text) , notes (text) | machine : machine_id (number) , making_year (number) , class (text) , team (text) , machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , name (text) , team (text) , starting_year (number) , age (number) | repair_assignment : technician_id (number) , repair_id (number) , machine_id (number)

technician : starting_year (number) , team (text)


Question: How many entrepreneurs are there?

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)


Question: Count the number of entrepreneurs.

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)


Question: List the companies of entrepreneurs in descending order of money requested.

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

entrepreneur : company (text) , money_requested (number)


Question: What are the companies of entrepreneurs, ordered descending by amount of money requested?

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

entrepreneur : company (text) , money_requested (number)


Question: List the companies and the investors of entrepreneurs.

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

entrepreneur : company (text) , investor (text)


Question: What are the companies and investors that correspond to each entrepreneur?

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

entrepreneur : company (text) , investor (text)


Question: What is the average money requested by all entrepreneurs?

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)


Question: Return the average money requested across all entrepreneurs.

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)


Question: What are the names of people in ascending order of weight?

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)


Question: Return the names of people, ordered by weight ascending.

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)


Question: What are the names of entrepreneurs?

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

people : name (text) , people_id (number) | entrepreneur : people_id (number)


Question: Return the names of entrepreneurs.

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

people : name (text) , people_id (number) | entrepreneur : people_id (number)


Question: What are the names of entrepreneurs whose investor is not "Rachel Elnaugh"?

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

people : name (text) , people_id (number) | entrepreneur : people_id (number) , investor (text)


Question: Return the names of entrepreneurs do no not have the investor Rachel Elnaugh.

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

people : name (text) , people_id (number) | entrepreneur : people_id (number) , investor (text)


Question: What is the weight of the shortest person?

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

people : weight (number) , height (number)


Question: Return the weight of the shortest person.

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

people : weight (number) , height (number)


Question: What is the name of the entrepreneur with the greatest weight?

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

people : name (text) , people_id (number) , weight (number) | entrepreneur : people_id (number)


Question: Return the name of the heaviest entrepreneur.

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

people : name (text) , people_id (number) , weight (number) | entrepreneur : people_id (number)


Question: What is the total money requested by entrepreneurs with height more than 1.85?

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

entrepreneur : money_requested (number) , people_id (number) | people : people_id (number) , height (number)


Question: Give the total money requested by entrepreneurs who are taller than 1.85.

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

entrepreneur : money_requested (number) , people_id (number) | people : people_id (number) , height (number)


Question: What are the dates of birth of entrepreneurs with investor "Simon Woodroffe" or "Peter Jones"?

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

people : date_of_birth (text) , people_id (number) | entrepreneur : people_id (number) , investor (text)


Question: Return the dates of birth for entrepreneurs who have either the investor Simon Woodroffe or Peter Jones.

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

people : date_of_birth (text) , people_id (number) | entrepreneur : people_id (number) , investor (text)


Question: What are the weights of entrepreneurs in descending order of money requested?

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

people : weight (number) , people_id (number) | entrepreneur : people_id (number) , money_requested (number)


Question: Return the weights of entrepreneurs, ordered descending by amount of money requested.

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

people : weight (number) , people_id (number) | entrepreneur : people_id (number) , money_requested (number)


Question: What are the investors of entrepreneurs and the corresponding number of entrepreneurs invested by each investor?

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

entrepreneur : investor (text) , entrepreneur_id (number)


Question: How many entrepreneurs correspond to each investor?

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

entrepreneur : investor (text) , entrepreneur_id (number)


Question: What is the investor that has invested in the most number of entrepreneurs?

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

entrepreneur : investor (text) , entrepreneur_id (number)


Question: Return the investor who have invested in the greatest number of entrepreneurs.

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

entrepreneur : investor (text) , entrepreneur_id (number)


Question: What are the investors that have invested in at least two entrepreneurs?

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

entrepreneur : investor (text) , entrepreneur_id (number)


Question: Return the investors who have invested in two or more entrepreneurs.

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

entrepreneur : investor (text) , entrepreneur_id (number)


Question: List the names of entrepreneurs and their companies in descending order of money requested?

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

people : name (text) , people_id (number) | entrepreneur : company (text) , people_id (number) , money_requested (number)


Question: What are the names of entrepreneurs and their corresponding investors, ordered descending by the amount of money requested?

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

people : name (text) , people_id (number) | entrepreneur : company (text) , people_id (number) , money_requested (number)


Question: List the names of people that are not entrepreneurs.

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

people : name (text) , people_id (number) | entrepreneur : people_id (number)


Question: What are the names of people who are not entrepreneurs?

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

people : name (text) , people_id (number) | entrepreneur : people_id (number)


Question: Show the investors shared by entrepreneurs that requested more than 140000 and entrepreneurs that requested less than 120000.

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

entrepreneur : investor (text) , money_requested (number)


Question: What are the investors who have invested in both entrepreneurs who requested more than 140000 and entrepreneurs who requested less than 120000?

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

entrepreneur : investor (text) , money_requested (number)


Question: How many distinct companies are there?

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)


Question: Count the number of different companies.

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)


Question: Show the company of the tallest entrepreneur.

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

entrepreneur : company (text) , people_id (number) | people : people_id (number) , height (number)


Question: Which company was started by the entrepreneur with the greatest height?

entrepreneur : entrepreneur_id (number) , people_id (number) , company (text) , money_requested (number) , investor (text) | people : people_id (number) , name (text) , height (number) , weight (number) , date_of_birth (text)

entrepreneur : company (text) , people_id (number) | people : people_id (number) , height (number)


Question: How many perpetrators are there?

perpetrator : perpetrator_id (number) , people_id (number) , date (text) , year (number) , location (text) , country (text) , killed (number) , injured (number) | people : people_id (number) , name (text) , height (number) , weight (number) , home town


Question: List the date of perpetrators in descending order of the number of people killed.

perpetrator : perpetrator_id (number) , people_id (number) , date (text) , year (number) , location (text) , country (text) , killed (number) , injured (number) | people : people_id (number) , name (text) , height (number) , weight (number) , home town

perpetrator : date (text) , killed (number)


Question: List the number of people injured by perpetrators in ascending order.

perpetrator : perpetrator_id (number) , people_id (number) , date (text) , year (number) , location (text) , country (text) , killed (number) , injured (number) | people : people_id (number) , name (text) , height (number) , weight (number) , home town


Question: What is the average number of people injured by all perpetrators?

perpetrator : perpetrator_id (number) , people_id (number) , date (text) , year (number) , location (text) , country (text) , killed (number) , injured (number) | people : people_id (number) , name (text) , height (number) , weight (number) , home town


Question: What is the location of the perpetrator with the largest kills.

perpetrator : perpetrator_id (number) , people_id (number) , date (text) , year (number) , location (text) , country (text) , killed (number) , injured (number) | people : people_id (number) , name (text) , height (number) , weight (number) , home town

perpetrator : location (text) , killed (number)


Question: What are the names of people in ascending order of height?

perpetrator : perpetrator_id (number) , people_id (number) , date (text) , year (number) , location (text) , country (text) , killed (number) , injured (number) | people : people_id (number) , name (text) , height (number) , weight (number) , home town


Question: What are the names of perpetrators?

perpetrator : perpetrator_id (number) , people_id (number) , date (text) , year (number) , location (text) , country (text) , killed (number) , injured (number) | people : people_id (number) , name (text) , height (number) , weight (number) , home town

people : name (text) , people_id (number) | perpetrator : people_id (number)


Question: What are the names of perpetrators whose country is not "China"?

perpetrator : perpetrator_id (number) , people_id (number) , date (text) , year (number) , location (text) , country (text) , killed (number) , injured (number) | people : people_id (number) , name (text) , height (number) , weight (number) , home town

people : name (text) , people_id (number) | perpetrator : people_id (number) , country (text)


Question: What is the name of the perpetrator with the biggest weight.

perpetrator : perpetrator_id (number) , people_id (number) , date (text) , year (number) , location (text) , country (text) , killed (number) , injured (number) | people : people_id (number) , name (text) , height (number) , weight (number) , home town

people : name (text) , people_id (number) , weight (number) | perpetrator : people_id (number)


Question: What is the total kills of the perpetrators with height more than 1.84.

perpetrator : perpetrator_id (number) , people_id (number) , date (text) , year (number) , location (text) , country (text) , killed (number) , injured (number) | people : people_id (number) , name (text) , height (number) , weight (number) , home town

perpetrator : killed (number) , people_id (number) | people : people_id (number) , height (number)


Question: What are the names of perpetrators in country "China" or "Japan"?

perpetrator : perpetrator_id (number) , people_id (number) , date (text) , year (number) , location (text) , country (text) , killed (number) , injured (number) | people : people_id (number) , name (text) , height (number) , weight (number) , home town

people : name (text) , people_id (number) | perpetrator : people_id (number) , country (text)


Question: What are the heights of perpetrators in descending order of the number of people they injured?

perpetrator : perpetrator_id (number) , people_id (number) , date (text) , year (number) , location (text) , country (text) , killed (number) , injured (number) | people : people_id (number) , name (text) , height (number) , weight (number) , home town

people : height (number) , people_id (number) | perpetrator : people_id (number) , injured (number)


Question: What are the countries of perpetrators? Show each country and the corresponding number of perpetrators there.

perpetrator : perpetrator_id (number) , people_id (number) , date (text) , year (number) , location (text) , country (text) , killed (number) , injured (number) | people : people_id (number) , name (text) , height (number) , weight (number) , home town

perpetrator : country (text) , perpetrator_id (number)


Question: What is the country that has the most perpetrators?

perpetrator : perpetrator_id (number) , people_id (number) , date (text) , year (number) , location (text) , country (text) , killed (number) , injured (number) | people : people_id (number) , name (text) , height (number) , weight (number) , home town

perpetrator : country (text) , perpetrator_id (number)


Question: What are the countries that have at least two perpetrators?

perpetrator : perpetrator_id (number) , people_id (number) , date (text) , year (number) , location (text) , country (text) , killed (number) , injured (number) | people : people_id (number) , name (text) , height (number) , weight (number) , home town

perpetrator : country (text) , perpetrator_id (number)


Question: List the names of perpetrators in descending order of the year.

perpetrator : perpetrator_id (number) , people_id (number) , date (text) , year (number) , location (text) , country (text) , killed (number) , injured (number) | people : people_id (number) , name (text) , height (number) , weight (number) , home town

people : name (text) , people_id (number) | perpetrator : people_id (number) , year (number)


Question: List the names of people that are not perpetrators.

perpetrator : perpetrator_id (number) , people_id (number) , date (text) , year (number) , location (text) , country (text) , killed (number) , injured (number) | people : people_id (number) , name (text) , height (number) , weight (number) , home town

people : name (text) , people_id (number) | perpetrator : people_id (number)


Question: Show the countries that have both perpetrators with injures more than 50 and perpetrators with injures smaller than 20.

perpetrator : perpetrator_id (number) , people_id (number) , date (text) , year (number) , location (text) , country (text) , killed (number) , injured (number) | people : people_id (number) , name (text) , height (number) , weight (number) , home town

perpetrator : country (text) , injured (number)


Question: How many distinct locations of perpetrators are there?

perpetrator : perpetrator_id (number) , people_id (number) , date (text) , year (number) , location (text) , country (text) , killed (number) , injured (number) | people : people_id (number) , name (text) , height (number) , weight (number) , home town


Question: Show the date of the tallest perpetrator.

perpetrator : perpetrator_id (number) , people_id (number) , date (text) , year (number) , location (text) , country (text) , killed (number) , injured (number) | people : people_id (number) , name (text) , height (number) , weight (number) , home town

perpetrator : date (text) , people_id (number) | people : people_id (number) , height (number)


Question: In which year did the most recent crime happen?

perpetrator : perpetrator_id (number) , people_id (number) , date (text) , year (number) , location (text) , country (text) , killed (number) , injured (number) | people : people_id (number) , name (text) , height (number) , weight (number) , home town


Question: Report the name of all 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)


Question: What campuses are located in the county of Los Angeles?

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)


Question: What are the names of all campuses located at Chico?

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) , location (text)


Question: What campuses are located in Chico?

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) , location (text)


Question: Find all the campuses opened in 1958.

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) , year (number)


Question: What are the campuses that opened in 1958?

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) , year (number)


Question: Find the name of the campuses opened before 1800.

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) , year (number)


Question: What campuses opened before 1800?

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) , year (number)


Question: Which campus was opened between 1935 and 1939?

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) , year (number)


Question: What campuses opened between 1935 and 1939?

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) , year (number)


Question: Find the name of the campuses that is in Northridge, Los Angeles or in San Francisco, San Francisco.

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) , location (text) , county (text)


Question: What campuses are located in Northridge, Los Angeles or in San Francisco, San Francisco?

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) , location (text) , county (text)


Question: What is the campus fee of "San Jose State University" in year 1996?

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) | campuses : id (number) , campus (text) , year (number)


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

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) | campuses : id (number) , campus (text) , year (number)


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

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) | campuses : id (number) , campus (text) , year (number)


Question: What is the campus fee for San Francisco State University in 1996?

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) | campuses : id (number) , campus (text) , year (number)


Question: Find the count of universities whose campus fee is greater than the average campus fee.

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 (text)


Question: How many universities have a campus fee higher than average?

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 (text)


Question: Find the count of universities whose campus fee is greater than the average campus fee.

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 (text)


Question: How many universities have a campus fee greater than the average?

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 (text)


Question: Which university is in Los Angeles county and opened after 1950?

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) , year (number)


Question: What campuses are located in Los Angeles county and opened after 1950?

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) , year (number)


Question: Which year has the most degrees conferred?

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 : year (number) , degrees (number)


Question: In what year was the most degrees conferred?

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 : year (number) , degrees (number)


Question: Which campus has the most degrees conferred in all times?

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 : campus (number) , degrees (number)


Question: What campus has the most degrees  conferrred over its entire existence?

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 : campus (number) , degrees (number)


Question: Which campus has the most faculties in year 2003?

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) | faculty : campus (number) , faculty (number) , year (number)


Question: What campus has the most faculties in 2003?

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) | faculty : campus (number) , faculty (number) , year (number)


Question: Find the average fee on a CSU campus in 1996

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) , year (number)


Question: What is the average fee for a CSU campus in the year of 1996?

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) , year (number)


Question: What is the average fee on a CSU campus in 2005?

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) , year (number)


Question: What is the average fee for a CSU campus in the year of 2005?

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) , year (number)


Question: report the total number of degrees granted between 1998 and 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)

campuses : campus (text) , id (number) , year (number) | degrees : campus (number) , degrees (number) , year (number)


Question: how many degrees were conferred between 1998 and 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)

campuses : campus (text) , id (number) , year (number) | degrees : campus (number) , degrees (number) , year (number)


Question: For each Orange county campus, report the number of degrees granted after 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)

campuses : campus (text) , id (number) , county (text) , year (number) | degrees : campus (number) , degrees (number) , year (number)


Question: What is the total number of degrees granted after 2000 for each Orange county campus?

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) , county (text) , year (number) | degrees : campus (number) , degrees (number) , year (number)


Question: Find the names of the campus which has more faculties in 2002 than every campus 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) | faculty : campus (number) , faculty (number) , year (number)


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) | 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) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (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) | enrollments : campus (number) , year (number) , totalenrollment_ay (number) , fte_ay (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)


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)


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) | campuses : id (number) , campus (text) , 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) | campuses : id (number) , campus (text) , 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) | campuses : id (number) , campus (text) , 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) | campuses : id (number) , campus (text) , 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)


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)


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)


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)


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)


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)


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) | 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) | 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) | degrees : campus (number) , degrees (number) , year (number)