richardr1126/spider-skeleton-context-instruct huggingface dataset:
### Instruction:

Convert text to sql: What campuses are in Los Angeles county? | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select _ from _ where _ | select campus from campuses where county = 'Los Angeles'
### Instruction:

Convert text to sql: How many degrees were conferred in "San Jose State University" in 2000? | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select _ from _ where _ | select degrees from campuses join degrees on campuses.id = degrees.campus where campuses.campus = 'San Jose State University' and degrees.year = 2000
### Instruction:

Convert text to sql: How many degrees were conferred at San Jose State University in 2000? | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select _ from _ where _ | select degrees from campuses join degrees on campuses.id = degrees.campus where campuses.campus = 'San Jose State University' and degrees.year = 2000
### Instruction:

Convert text to sql: What are the degrees conferred in "San Francisco State University" in 2001. | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select _ from _ where _ | select degrees from campuses join degrees on campuses.id = degrees.campus where campuses.campus = 'San Francisco State University' and degrees.year = 2001
### Instruction:

Convert text to sql: What degrees were conferred in San Francisco State University in the year 2001? | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select _ from _ where _ | select degrees from campuses join degrees on campuses.id = degrees.campus where campuses.campus = 'San Francisco State University' and degrees.year = 2001
### Instruction:

Convert text to sql: How many faculty is there in total in the year of 2002? | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select sum ( _ ) from _ where _ | select sum ( faculty ) from faculty where year = 2002
### Instruction:

Convert text to sql: How many faculty, in total, are there in the year 2002? | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select sum ( _ ) from _ where _ | select sum ( faculty ) from faculty where year = 2002
### Instruction:

Convert text to sql: What is the number of faculty lines in campus "Long Beach State University" in 2002? | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select _ from _ where _ | select faculty from faculty join campuses on faculty.campus = campuses.id where faculty.year = 2002 and campuses.campus = 'Long Beach State University'
### Instruction:

Convert text to sql: What is the number of faculty at Long Beach State University in 2002? | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select _ from _ where _ | select faculty from faculty join campuses on faculty.campus = campuses.id where faculty.year = 2002 and campuses.campus = 'Long Beach State University'
### Instruction:

Convert text to sql: How many faculty lines are there in "San Francisco State University" in year 2004? | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select _ from _ where _ | select faculty from faculty join campuses on faculty.campus = campuses.id where faculty.year = 2004 and campuses.campus = 'San Francisco State University'
### Instruction:

Convert text to sql: How many faculty lines are there at San Francisco State University in 2004? | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select _ from _ where _ | select faculty from faculty join campuses on faculty.campus = campuses.id where faculty.year = 2004 and campuses.campus = 'San Francisco State University'
### Instruction:

Convert text to sql: List the campus that have between 600 and 1000 faculty lines in year 2004. | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select _ from _ where _ | select campuses.campus from campuses join faculty on campuses.id = faculty.campus where faculty.faculty >= 600 and faculty.faculty <= 1000 and campuses.year = 2004
### Instruction:

Convert text to sql: What are the campuses that had between 600 and 1000 faculty members in 2004? | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select _ from _ where _ | select campuses.campus from campuses join faculty on campuses.id = faculty.campus where faculty.faculty >= 600 and faculty.faculty <= 1000 and campuses.year = 2004
### Instruction:

Convert text to sql: How many faculty lines are there in the university that conferred the most number of degrees in year 2002? | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select _ from _ where _ order by _ desc limit _ | select faculty.faculty from campuses join faculty on campuses.id = faculty.campus join degrees on campuses.id = degrees.campus and faculty.year = degrees.year where faculty.year = 2002 order by degrees.degrees desc limit 1
### Instruction:

Convert text to sql: How many faculty members did the university that conferred the most degrees in 2002 have? | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select _ from _ where _ order by _ desc limit _ | select faculty.faculty from campuses join faculty on campuses.id = faculty.campus join degrees on campuses.id = degrees.campus and faculty.year = degrees.year where faculty.year = 2002 order by degrees.degrees desc limit 1
### Instruction:

Convert text to sql: How many faculty lines are there in the university that conferred the least number of degrees in year 2001? | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select _ from _ where _ order by _ asc limit _ | select faculty.faculty from campuses join faculty on campuses.id = faculty.campus join degrees on campuses.id = degrees.campus and faculty.year = degrees.year where faculty.year = 2001 order by degrees.degrees asc limit 1
### Instruction:

Convert text to sql: How many faculty members are at the university that gave the least number of degrees in 2001? | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select _ from _ where _ order by _ asc limit _ | select faculty.faculty from campuses join faculty on campuses.id = faculty.campus join degrees on campuses.id = degrees.campus and faculty.year = degrees.year where faculty.year = 2001 order by degrees.degrees asc limit 1
### Instruction:

Convert text to sql: How many undergraduates are there in "San Jose State University" in year 2004? | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select sum ( _ ) from _ where _ | select sum ( discipline_enrollments.undergraduate ) from discipline_enrollments join campuses on discipline_enrollments.campus = campuses.id where discipline_enrollments.year = 2004 and campuses.campus = 'San Jose State University'
### Instruction:

Convert text to sql: How many undergraduates are there at San Jose State | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select sum ( _ ) from _ where _ | select sum ( discipline_enrollments.undergraduate ) from discipline_enrollments join campuses on discipline_enrollments.campus = campuses.id where discipline_enrollments.year = 2004 and campuses.campus = 'San Jose State University'
### Instruction:

Convert text to sql: What is the number of graduates in "San Francisco State University" in year 2004? | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select sum ( _ ) from _ where _ | select sum ( discipline_enrollments.graduate ) from discipline_enrollments join campuses on discipline_enrollments.campus = campuses.id where discipline_enrollments.year = 2004 and campuses.campus = 'San Francisco State University'
### Instruction:

Convert text to sql: How many people graduated from San Francisco State University in 2004? | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select sum ( _ ) from _ where _ | select sum ( discipline_enrollments.graduate ) from discipline_enrollments join campuses on discipline_enrollments.campus = campuses.id where discipline_enrollments.year = 2004 and campuses.campus = 'San Francisco State University'
### Instruction:

Convert text to sql: What is the campus fee of "San Francisco State University" in year 2000? | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select _ from _ where _ | select csu_fees.campusfee from csu_fees join campuses on csu_fees.campus = campuses.id where campuses.campus = 'San Francisco State University' and csu_fees.year = 2000
### Instruction:

Convert text to sql: In the year 2000, what is the campus fee for San Francisco State University? | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select _ from _ where _ | select csu_fees.campusfee from csu_fees join campuses on csu_fees.campus = campuses.id where campuses.campus = 'San Francisco State University' and csu_fees.year = 2000
### Instruction:

Convert text to sql: Find the campus fee of "San Jose State University" in year 2000. | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select _ from _ where _ | select csu_fees.campusfee from csu_fees join campuses on csu_fees.campus = campuses.id where campuses.campus = 'San Jose State University' and csu_fees.year = 2000
### Instruction:

Convert text to sql: What is the campus fee in the year 2000 for San Jose State University? | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select _ from _ where _ | select csu_fees.campusfee from csu_fees join campuses on csu_fees.campus = campuses.id where campuses.campus = 'San Jose State University' and csu_fees.year = 2000
### Instruction:

Convert text to sql: How many CSU campuses are there? | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select count ( _ ) from _ | select count ( * ) from campuses
### Instruction:

Convert text to sql: What is the total number of campuses? | campuses : id , campus , location , county , year | csu_fees : campus , year , campusfee | degrees : year , campus , degrees | discipline_enrollments : campus , discipline , year , undergraduate , graduate | enrollments : campus , year , totalenrollment_ay , fte_ay | faculty : campus , year , faculty | csu_fees.campus = campuses.id | degrees.campus = campuses.id | discipline_enrollments.campus = campuses.id | enrollments.campus = campuses.id | faculty.campus = campuses.id | 

### Response:

select count ( _ ) from _ | select count ( * ) from campuses
### Instruction:

Convert text to sql: How many candidates are there? | candidate : candidate_id , people_id , poll_source , date , support_rate , consider_rate , oppose_rate , unsure_rate | people : people_id , sex , name , date_of_birth , height , weight | candidate.people_id = people.people_id | 

### Response:

select count ( _ ) from _ | select count ( * ) from candidate
### Instruction:

Convert text to sql: Count the number of candidates. | candidate : candidate_id , people_id , poll_source , date , support_rate , consider_rate , oppose_rate , unsure_rate | people : people_id , sex , name , date_of_birth , height , weight | candidate.people_id = people.people_id | 

### Response:

select count ( _ ) from _ | select count ( * ) from candidate
### Instruction:

Convert text to sql: Which poll resource provided the most number of candidate information? | candidate : candidate_id , people_id , poll_source , date , support_rate , consider_rate , oppose_rate , unsure_rate | people : people_id , sex , name , date_of_birth , height , weight | candidate.people_id = people.people_id | 

### Response:

select _ from _ group by _ order by count ( _ ) desc limit _ | select poll_source from candidate group by poll_source order by count ( * ) desc limit 1
### Instruction:

Convert text to sql: Return the poll resource associated with the most candidates. | candidate : candidate_id , people_id , poll_source , date , support_rate , consider_rate , oppose_rate , unsure_rate | people : people_id , sex , name , date_of_birth , height , weight | candidate.people_id = people.people_id | 

### Response:

select _ from _ group by _ order by count ( _ ) desc limit _ | select poll_source from candidate group by poll_source order by count ( * ) desc limit 1
### Instruction:

Convert text to sql: what are the top 3 highest support rates? | candidate : candidate_id , people_id , poll_source , date , support_rate , consider_rate , oppose_rate , unsure_rate | people : people_id , sex , name , date_of_birth , height , weight | candidate.people_id = people.people_id | 

### Response:

select _ from _ order by _ desc limit _ | select support_rate from candidate order by support_rate desc limit 3
### Instruction:

Convert text to sql: Return the top 3 greatest support rates. | candidate : candidate_id , people_id , poll_source , date , support_rate , consider_rate , oppose_rate , unsure_rate | people : people_id , sex , name , date_of_birth , height , weight | candidate.people_id = people.people_id | 

### Response:

select _ from _ order by _ desc limit _ | select support_rate from candidate order by support_rate desc limit 3