cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the average total championships of the university with more than 0 women's, less than 4 runner-ups, and less than 0 men's?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "number_of_championships_by_school" (
  "university" text,
  "men_s" real,
  "women_s" real,
  "runner_up" real,
  "total_championships" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average total championships of the university with more than 0 women's, less than 4 runner-ups, and less than 0 men's?`:
```sql
                SELECT AVG("total_championships") FROM "number_of_championships_by_school" WHERE "women_s">0 AND "runner_up"<4 AND "men_s"<0;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of total championships of the University of Santo Tomas, which has less than 2 men's?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "number_of_championships_by_school" (
  "university" text,
  "men_s" real,
  "women_s" real,
  "runner_up" real,
  "total_championships" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of total championships of the University of Santo Tomas, which has less than 2 men's?`:
```sql
                SELECT MIN("total_championships") FROM "number_of_championships_by_school" WHERE "university"='university of santo tomas' AND "men_s"<2;
```
## Task
Generate a SQL query to answer the following question:
`Who was on the Progressive ticket when John T. Norton was on the Democratic ticket?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "1916_state_election_results" (
  "office" text,
  "republican_ticket" text,
  "democratic_ticket" text,
  "socialist_ticket" text,
  "prohibition_ticket" text,
  "progressive_ticket" text,
  "independence_league_ticket" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was on the Progressive ticket when John T. Norton was on the Democratic ticket?`:
```sql
                SELECT "progressive_ticket" FROM "1916_state_election_results" WHERE "democratic_ticket"='john t. norton';
```
## Task
Generate a SQL query to answer the following question:
`What name is under the Socialist ticket when Thomas J. Kreuzer was on the Democratic ticket?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "1916_state_election_results" (
  "office" text,
  "republican_ticket" text,
  "democratic_ticket" text,
  "socialist_ticket" text,
  "prohibition_ticket" text,
  "progressive_ticket" text,
  "independence_league_ticket" text
);
### SQL
Given the database schema, here is the SQL query that answers `What name is under the Socialist ticket when Thomas J. Kreuzer was on the Democratic ticket?`:
```sql
                SELECT "socialist_ticket" FROM "1916_state_election_results" WHERE "democratic_ticket"='thomas j. kreuzer';
```
## Task
Generate a SQL query to answer the following question:
`Who ran under the Republican ticket when Frank H. Hiscock ran under the Progressive ticket?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "1916_state_election_results" (
  "office" text,
  "republican_ticket" text,
  "democratic_ticket" text,
  "socialist_ticket" text,
  "prohibition_ticket" text,
  "progressive_ticket" text,
  "independence_league_ticket" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who ran under the Republican ticket when Frank H. Hiscock ran under the Progressive ticket?`:
```sql
                SELECT "republican_ticket" FROM "1916_state_election_results" WHERE "progressive_ticket"='frank h. hiscock';
```
## Task
Generate a SQL query to answer the following question:
`What name ran for the Prohibition ticket when the Progressive ticket was Eugene M. Travis?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "1916_state_election_results" (
  "office" text,
  "republican_ticket" text,
  "democratic_ticket" text,
  "socialist_ticket" text,
  "prohibition_ticket" text,
  "progressive_ticket" text,
  "independence_league_ticket" text
);
### SQL
Given the database schema, here is the SQL query that answers `What name ran for the Prohibition ticket when the Progressive ticket was Eugene M. Travis?`:
```sql
                SELECT "prohibition_ticket" FROM "1916_state_election_results" WHERE "progressive_ticket"='eugene m. travis';
```
## Task
Generate a SQL query to answer the following question:
`When Coleridge A. Hart ran under the Prohibition ticket who ran under the Independence League ticket?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "1916_state_election_results" (
  "office" text,
  "republican_ticket" text,
  "democratic_ticket" text,
  "socialist_ticket" text,
  "prohibition_ticket" text,
  "progressive_ticket" text,
  "independence_league_ticket" text
);
### SQL
Given the database schema, here is the SQL query that answers `When Coleridge A. Hart ran under the Prohibition ticket who ran under the Independence League ticket?`:
```sql
                SELECT "independence_league_ticket" FROM "1916_state_election_results" WHERE "prohibition_ticket"='coleridge a. hart';
```
## Task
Generate a SQL query to answer the following question:
`With the Republican ticket of Frank M. Williams who was the Progressive ticket?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "1916_state_election_results" (
  "office" text,
  "republican_ticket" text,
  "democratic_ticket" text,
  "socialist_ticket" text,
  "prohibition_ticket" text,
  "progressive_ticket" text,
  "independence_league_ticket" text
);
### SQL
Given the database schema, here is the SQL query that answers `With the Republican ticket of Frank M. Williams who was the Progressive ticket?`:
```sql
                SELECT "progressive_ticket" FROM "1916_state_election_results" WHERE "republican_ticket"='frank m. williams';
```
## Task
Generate a SQL query to answer the following question:
`What kind of Prohibition ticket that has a Office of lieutenant governor?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "1898_state_election_results" (
  "office" text,
  "republican_ticket" text,
  "democratic_ticket" text,
  "socialist_labor_ticket" text,
  "prohibition_ticket" text,
  "independent_citizens_ticket" text
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of Prohibition ticket that has a Office of lieutenant governor?`:
```sql
                SELECT "prohibition_ticket" FROM "1898_state_election_results" WHERE "office"='lieutenant governor';
```
## Task
Generate a SQL query to answer the following question:
`Which Socialist Labor ticket has a Office of secretary of state?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "1898_state_election_results" (
  "office" text,
  "republican_ticket" text,
  "democratic_ticket" text,
  "socialist_labor_ticket" text,
  "prohibition_ticket" text,
  "independent_citizens_ticket" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Socialist Labor ticket has a Office of secretary of state?`:
```sql
                SELECT "socialist_labor_ticket" FROM "1898_state_election_results" WHERE "office"='secretary of state';
```
## Task
Generate a SQL query to answer the following question:
`What kind of Independent Citizens' ticket that has a Republican ticket of william j. morgan?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "1898_state_election_results" (
  "office" text,
  "republican_ticket" text,
  "democratic_ticket" text,
  "socialist_labor_ticket" text,
  "prohibition_ticket" text,
  "independent_citizens_ticket" text
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of Independent Citizens' ticket that has a Republican ticket of william j. morgan?`:
```sql
                SELECT "independent_citizens_ticket" FROM "1898_state_election_results" WHERE "republican_ticket"='william j. morgan';
```
## Task
Generate a SQL query to answer the following question:
`What kind of Republican ticket has a Prohibition ticket of stephen mead wing?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "1898_state_election_results" (
  "office" text,
  "republican_ticket" text,
  "democratic_ticket" text,
  "socialist_labor_ticket" text,
  "prohibition_ticket" text,
  "independent_citizens_ticket" text
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of Republican ticket has a Prohibition ticket of stephen mead wing?`:
```sql
                SELECT "republican_ticket" FROM "1898_state_election_results" WHERE "prohibition_ticket"='stephen mead wing';
```
## Task
Generate a SQL query to answer the following question:
`What is the kind of Democratic ticket has a Office of comptroller?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "1898_state_election_results" (
  "office" text,
  "republican_ticket" text,
  "democratic_ticket" text,
  "socialist_labor_ticket" text,
  "prohibition_ticket" text,
  "independent_citizens_ticket" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the kind of Democratic ticket has a Office of comptroller?`:
```sql
                SELECT "democratic_ticket" FROM "1898_state_election_results" WHERE "office"='comptroller';
```
## Task
Generate a SQL query to answer the following question:
`Which Prohibition ticket has a Socialist Labor ticket of joseph smith?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "1898_state_election_results" (
  "office" text,
  "republican_ticket" text,
  "democratic_ticket" text,
  "socialist_labor_ticket" text,
  "prohibition_ticket" text,
  "independent_citizens_ticket" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Prohibition ticket has a Socialist Labor ticket of joseph smith?`:
```sql
                SELECT "prohibition_ticket" FROM "1898_state_election_results" WHERE "socialist_labor_ticket"='joseph smith';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest grid number when Colin Edwards is the rider?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest grid number when Colin Edwards is the rider?`:
```sql
                SELECT MIN("grid") FROM "moto_gp_classification" WHERE "rider"='colin edwards';
```
## Task
Generate a SQL query to answer the following question:
`What is the time/retired when there are less than 22 laps and honda is the manufacturer?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the time/retired when there are less than 22 laps and honda is the manufacturer?`:
```sql
                SELECT "time_retired" FROM "moto_gp_classification" WHERE "laps"<22 AND "manufacturer"='honda';
```
## Task
Generate a SQL query to answer the following question:
`What is the average number of laps when the grid number is 9?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average number of laps when the grid number is 9?`:
```sql
                SELECT AVG("laps") FROM "moto_gp_classification" WHERE "grid"=9;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of laps when honda is the manufacturer and the grid number is 12?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of laps when honda is the manufacturer and the grid number is 12?`:
```sql
                SELECT MAX("laps") FROM "moto_gp_classification" WHERE "manufacturer"='honda' AND "grid"=12;
```
## Task
Generate a SQL query to answer the following question:
`Who is the rider when the grid number is 3?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the rider when the grid number is 3?`:
```sql
                SELECT "rider" FROM "moto_gp_classification" WHERE "grid"=3;
```
## Task
Generate a SQL query to answer the following question:
`How many laps were driven when the time/retired is +44.284?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many laps were driven when the time/retired is +44.284?`:
```sql
                SELECT COUNT("laps") FROM "moto_gp_classification" WHERE "time_retired"='+44.284';
```
## Task
Generate a SQL query to answer the following question:
`What is the value of the coin weighing 10.5 g and made of cupronickel?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "coins" (
  "value" text,
  "equiv" text,
  "diameter" text,
  "weight" text,
  "composition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the value of the coin weighing 10.5 g and made of cupronickel?`:
```sql
                SELECT "value" FROM "coins" WHERE "composition"='cupronickel' AND "weight"='10.5 g';
```
## Task
Generate a SQL query to answer the following question:
`What is the coin with a € equivalency of 0.30 made of?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "coins" (
  "value" text,
  "equiv" text,
  "diameter" text,
  "weight" text,
  "composition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the coin with a € equivalency of 0.30 made of?`:
```sql
                SELECT "composition" FROM "coins" WHERE "equiv"='0.30';
```
## Task
Generate a SQL query to answer the following question:
`What is the coin that weighs 3 g made of?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "coins" (
  "value" text,
  "equiv" text,
  "diameter" text,
  "weight" text,
  "composition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the coin that weighs 3 g made of?`:
```sql
                SELECT "composition" FROM "coins" WHERE "weight"='3 g';
```
## Task
Generate a SQL query to answer the following question:
`What is the diameter of the coin with a € equivalence of 0.60?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "coins" (
  "value" text,
  "equiv" text,
  "diameter" text,
  "weight" text,
  "composition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the diameter of the coin with a € equivalence of 0.60?`:
```sql
                SELECT "diameter" FROM "coins" WHERE "equiv"='0.60';
```
## Task
Generate a SQL query to answer the following question:
`How much does the coin with a 14mm diameter weigh?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "coins" (
  "value" text,
  "equiv" text,
  "diameter" text,
  "weight" text,
  "composition" text
);
### SQL
Given the database schema, here is the SQL query that answers `How much does the coin with a 14mm diameter weigh?`:
```sql
                SELECT "weight" FROM "coins" WHERE "diameter"='14mm';
```
## Task
Generate a SQL query to answer the following question:
`What is the coverage for the 99.5mhz frequency?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "monster_radio_stations" (
  "branding" text,
  "callsign" text,
  "frequency" text,
  "power_k_w" text,
  "coverage" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the coverage for the 99.5mhz frequency?`:
```sql
                SELECT "coverage" FROM "monster_radio_stations" WHERE "frequency"='99.5mhz';
```
## Task
Generate a SQL query to answer the following question:
`What is the power in kW corresponding to the station that covers General Santos?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "monster_radio_stations" (
  "branding" text,
  "callsign" text,
  "frequency" text,
  "power_k_w" text,
  "coverage" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the power in kW corresponding to the station that covers General Santos?`:
```sql
                SELECT "power_k_w" FROM "monster_radio_stations" WHERE "coverage"='general santos';
```
## Task
Generate a SQL query to answer the following question:
`What is the branding for the station with a frequency of 93.1mhz and a coverage of Zamboanga?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "monster_radio_stations" (
  "branding" text,
  "callsign" text,
  "frequency" text,
  "power_k_w" text,
  "coverage" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the branding for the station with a frequency of 93.1mhz and a coverage of Zamboanga?`:
```sql
                SELECT "branding" FROM "monster_radio_stations" WHERE "frequency"='93.1mhz' AND "coverage"='zamboanga';
```
## Task
Generate a SQL query to answer the following question:
`What is the frequency for the 10kw station with DXEZ as its callsign?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "monster_radio_stations" (
  "branding" text,
  "callsign" text,
  "frequency" text,
  "power_k_w" text,
  "coverage" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the frequency for the 10kw station with DXEZ as its callsign?`:
```sql
                SELECT "frequency" FROM "monster_radio_stations" WHERE "power_k_w"='10kw' AND "callsign"='dxez';
```
## Task
Generate a SQL query to answer the following question:
`What is the frequency for the station with DYBT as its callsign?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "monster_radio_stations" (
  "branding" text,
  "callsign" text,
  "frequency" text,
  "power_k_w" text,
  "coverage" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the frequency for the station with DYBT as its callsign?`:
```sql
                SELECT "frequency" FROM "monster_radio_stations" WHERE "callsign"='dybt';
```
## Task
Generate a SQL query to answer the following question:
`What is the branding for the station with a frequency of 93.1mhz and a callsign of DWRX?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "monster_radio_stations" (
  "branding" text,
  "callsign" text,
  "frequency" text,
  "power_k_w" text,
  "coverage" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the branding for the station with a frequency of 93.1mhz and a callsign of DWRX?`:
```sql
                SELECT "branding" FROM "monster_radio_stations" WHERE "frequency"='93.1mhz' AND "callsign"='dwrx';
```
## Task
Generate a SQL query to answer the following question:
`What is Women's Doubles, when Year is 2007?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "past_winners" (
  "year" real,
  "men_s_singles" text,
  "women_s_singles" text,
  "men_s_doubles" text,
  "women_s_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Women's Doubles, when Year is 2007?`:
```sql
                SELECT "women_s_doubles" FROM "past_winners" WHERE "year"=2007;
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me lowest Rank that has the Capacity in use of 93.6%, and the Total Passengers larger than 4,679,457?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "brazil_s_15_busiest_airports_by_passenge" (
  "rank" real,
  "location" text,
  "total_passengers" real,
  "annual_change" text,
  "capacity_in_use" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me lowest Rank that has the Capacity in use of 93.6%, and the Total Passengers larger than 4,679,457?`:
```sql
                SELECT MIN("rank") FROM "brazil_s_15_busiest_airports_by_passenge" WHERE "capacity_in_use"='93.6%' AND "total_passengers">'4,679,457';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the lowest Total Passengers than has the Location of salvador, and the Rank larger than 5?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "brazil_s_15_busiest_airports_by_passenge" (
  "rank" real,
  "location" text,
  "total_passengers" real,
  "annual_change" text,
  "capacity_in_use" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the lowest Total Passengers than has the Location of salvador, and the Rank larger than 5?`:
```sql
                SELECT MIN("total_passengers") FROM "brazil_s_15_busiest_airports_by_passenge" WHERE "location"='salvador' AND "rank">5;
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Annual change that has the Location of manaus?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "brazil_s_15_busiest_airports_by_passenge" (
  "rank" real,
  "location" text,
  "total_passengers" real,
  "annual_change" text,
  "capacity_in_use" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Annual change that has the Location of manaus?`:
```sql
                SELECT "annual_change" FROM "brazil_s_15_busiest_airports_by_passenge" WHERE "location"='manaus';
```
## Task
Generate a SQL query to answer the following question:
`What is the average number of cuts made when there were more than 2 tournaments played in 2011?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "lpga_tour_career_summary" (
  "year" real,
  "tournaments_played" real,
  "cuts_made" real,
  "wins" real,
  "best_finish" text,
  "earnings" text,
  "scoring_average" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average number of cuts made when there were more than 2 tournaments played in 2011?`:
```sql
                SELECT AVG("cuts_made") FROM "lpga_tour_career_summary" WHERE "tournaments_played">2 AND "year"=2011;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of wins with 10 cuts made and a score average under 74.09?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "lpga_tour_career_summary" (
  "year" real,
  "tournaments_played" real,
  "cuts_made" real,
  "wins" real,
  "best_finish" text,
  "earnings" text,
  "scoring_average" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of wins with 10 cuts made and a score average under 74.09?`:
```sql
                SELECT COUNT("wins") FROM "lpga_tour_career_summary" WHERE "cuts_made"=10 AND "scoring_average"<74.09;
```
## Task
Generate a SQL query to answer the following question:
`What is Madeleine Dupont's shot pct.?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "standings" (
  "locale" text,
  "skip" text,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Madeleine Dupont's shot pct.?`:
```sql
                SELECT "shot_pct" FROM "standings" WHERE "skip"='madeleine dupont';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Score that has the High assists of rafer alston (8)?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Score that has the High assists of rafer alston (8)?`:
```sql
                SELECT "score" FROM "game_log" WHERE "high_assists"='rafer alston (8)';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the High points that has the High rebounds of rafer alston (9)?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the High points that has the High rebounds of rafer alston (9)?`:
```sql
                SELECT "high_points" FROM "game_log" WHERE "high_rebounds"='rafer alston (9)';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Score that has the Date of april 8?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Score that has the Date of april 8?`:
```sql
                SELECT "score" FROM "game_log" WHERE "date"='april 8';
```
## Task
Generate a SQL query to answer the following question:
`Which boys' school wears Royal Blue and Gold and entered the competition in 1929?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "member_schools" (
  "school" text,
  "location" text,
  "enrolment" real,
  "founded" real,
  "denomination" text,
  "boys_girls" text,
  "day_boarding" text,
  "year_entered_competition" real,
  "school_colors" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which boys' school wears Royal Blue and Gold and entered the competition in 1929?`:
```sql
                SELECT "school" FROM "member_schools" WHERE "boys_girls"='boys' AND "year_entered_competition"=1929 AND "school_colors"='royal blue and gold';
```
## Task
Generate a SQL query to answer the following question:
`What's the highest attendance for a game the Texan's played at Arrowhead Stadium?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "preseason" (
  "week" text,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the highest attendance for a game the Texan's played at Arrowhead Stadium?`:
```sql
                SELECT MAX("attendance") FROM "preseason" WHERE "game_site"='arrowhead stadium';
```
## Task
Generate a SQL query to answer the following question:
`Who did the Texan's play on Week 4?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "preseason" (
  "week" text,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who did the Texan's play on Week 4?`:
```sql
                SELECT "opponent" FROM "preseason" WHERE "week"='4';
```
## Task
Generate a SQL query to answer the following question:
`What's the date for HOF week?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "preseason" (
  "week" text,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the date for HOF week?`:
```sql
                SELECT "date" FROM "preseason" WHERE "week"='hof';
```
## Task
Generate a SQL query to answer the following question:
`What is Total, when FA Cup is 1 0 (3)?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "top_goalscorers" (
  "name" text,
  "league" text,
  "fa_cup" text,
  "league_cup" text,
  "football_league_trophy" text,
  "watney_cup" text,
  "welsh_cup" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Total, when FA Cup is 1 0 (3)?`:
```sql
                SELECT "total" FROM "top_goalscorers" WHERE "fa_cup"='1 0 (3)';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of delegates when John McCain was the candidate with less than 45 candidates?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "results" (
  "candidate" text,
  "votes" real,
  "percentage" text,
  "counties" real,
  "delegates" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of delegates when John McCain was the candidate with less than 45 candidates?`:
```sql
                SELECT MIN("delegates") FROM "results" WHERE "candidate"='john mccain' AND "counties"<45;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of Counties when there were 701,761 votes and less than 57 delegates?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "results" (
  "candidate" text,
  "votes" real,
  "percentage" text,
  "counties" real,
  "delegates" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of Counties when there were 701,761 votes and less than 57 delegates?`:
```sql
                SELECT SUM("counties") FROM "results" WHERE "votes"='701,761' AND "delegates"<57;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Counties when Mitt Romney was the candidate with less than 0 delegates?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "results" (
  "candidate" text,
  "votes" real,
  "percentage" text,
  "counties" real,
  "delegates" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Counties when Mitt Romney was the candidate with less than 0 delegates?`:
```sql
                SELECT MAX("counties") FROM "results" WHERE "candidate"='mitt romney' AND "delegates"<0;
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the candidate with more than 4,060 votes and more than 0 delegates?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "results" (
  "candidate" text,
  "votes" real,
  "percentage" text,
  "counties" real,
  "delegates" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the candidate with more than 4,060 votes and more than 0 delegates?`:
```sql
                SELECT "candidate" FROM "results" WHERE "votes">'4,060' AND "delegates">0;
```
## Task
Generate a SQL query to answer the following question:
`What is the number of votes when Ron Paul is the candidate with less than 0 counties?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "results" (
  "candidate" text,
  "votes" real,
  "percentage" text,
  "counties" real,
  "delegates" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of votes when Ron Paul is the candidate with less than 0 counties?`:
```sql
                SELECT COUNT("votes") FROM "results" WHERE "candidate"='ron paul' AND "counties"<0;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of totals associated with a UEFA Cup score of 4?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "top_scorers" (
  "player" text,
  "position" text,
  "premier_league" real,
  "fa_cup" real,
  "league_cup" real,
  "uefa_cup" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of totals associated with a UEFA Cup score of 4?`:
```sql
                SELECT SUM("total") FROM "top_scorers" WHERE "uefa_cup"=4;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of totals for FA Cup values of 0?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "top_scorers" (
  "player" text,
  "position" text,
  "premier_league" real,
  "fa_cup" real,
  "league_cup" real,
  "uefa_cup" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of totals for FA Cup values of 0?`:
```sql
                SELECT SUM("total") FROM "top_scorers" WHERE "fa_cup"<0;
```
## Task
Generate a SQL query to answer the following question:
`What is the Hometown of the person with a height of 5'8"?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "roster" (
  "name" text,
  "pos" text,
  "height" text,
  "weight" real,
  "year" text,
  "hometown_previous_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Hometown of the person with a height of 5'8"?`:
```sql
                SELECT "hometown_previous_school" FROM "roster" WHERE "height"='5''8\"';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Weight of the person who is 6'9"?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "roster" (
  "name" text,
  "pos" text,
  "height" text,
  "weight" real,
  "year" text,
  "hometown_previous_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Weight of the person who is 6'9"?`:
```sql
                SELECT AVG("weight") FROM "roster" WHERE "height"='6''9\"';
```
## Task
Generate a SQL query to answer the following question:
`What is the Hometown of Tim Williams?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "roster" (
  "name" text,
  "pos" text,
  "height" text,
  "weight" real,
  "year" text,
  "hometown_previous_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Hometown of Tim Williams?`:
```sql
                SELECT "hometown_previous_school" FROM "roster" WHERE "name"='tim williams';
```
## Task
Generate a SQL query to answer the following question:
`What is the Year of the person who is 6'1", and weighs more than 165?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "roster" (
  "name" text,
  "pos" text,
  "height" text,
  "weight" real,
  "year" text,
  "hometown_previous_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Year of the person who is 6'1", and weighs more than 165?`:
```sql
                SELECT "year" FROM "roster" WHERE "height"='6''1\"' AND "weight">165;
```
## Task
Generate a SQL query to answer the following question:
`What player has a rating greater than 2746, with a prev less than 4, and +4 as the chng?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "fide_april_2008_top_ten" (
  "rank" real,
  "prev" real,
  "player" text,
  "rating" real,
  "chng" text
);
### SQL
Given the database schema, here is the SQL query that answers `What player has a rating greater than 2746, with a prev less than 4, and +4 as the chng?`:
```sql
                SELECT "player" FROM "fide_april_2008_top_ten" WHERE "rating">2746 AND "prev"<4 AND "chng"='+4';
```
## Task
Generate a SQL query to answer the following question:
`What chng has a rank greater than 6, with 12 as a prev?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "fide_april_2008_top_ten" (
  "rank" real,
  "prev" real,
  "player" text,
  "rating" real,
  "chng" text
);
### SQL
Given the database schema, here is the SQL query that answers `What chng has a rank greater than 6, with 12 as a prev?`:
```sql
                SELECT "chng" FROM "fide_april_2008_top_ten" WHERE "rank">6 AND "prev"=12;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest prev that has 9 as the rank, with a rating less than 2746?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "fide_april_2008_top_ten" (
  "rank" real,
  "prev" real,
  "player" text,
  "rating" real,
  "chng" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest prev that has 9 as the rank, with a rating less than 2746?`:
```sql
                SELECT MAX("prev") FROM "fide_april_2008_top_ten" WHERE "rank"=9 AND "rating"<2746;
```
## Task
Generate a SQL query to answer the following question:
`How many blocks have a weight greater than 82, and a height less than 199?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" (
  "name" text,
  "date_of_birth" text,
  "height" real,
  "weight" real,
  "spike" real,
  "block" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many blocks have a weight greater than 82, and a height less than 199?`:
```sql
                SELECT SUM("block") FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "weight">82 AND "height"<199;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest block that has 328 as the spike, and a height less than 186?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" (
  "name" text,
  "date_of_birth" text,
  "height" real,
  "weight" real,
  "spike" real,
  "block" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest block that has 328 as the spike, and a height less than 186?`:
```sql
                SELECT MIN("block") FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "spike"=328 AND "height"<186;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest block that has a height less than 202, 19.06.1980 as the date of birth, and a weight greater than 76?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" (
  "name" text,
  "date_of_birth" text,
  "height" real,
  "weight" real,
  "spike" real,
  "block" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest block that has a height less than 202, 19.06.1980 as the date of birth, and a weight greater than 76?`:
```sql
                SELECT MIN("block") FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "height"<202 AND "date_of_birth"='19.06.1980' AND "weight">76;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest block that has 15.09.1981 as the date, and a height greater than 202?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" (
  "name" text,
  "date_of_birth" text,
  "height" real,
  "weight" real,
  "spike" real,
  "block" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest block that has 15.09.1981 as the date, and a height greater than 202?`:
```sql
                SELECT MAX("block") FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "date_of_birth"='15.09.1981' AND "height">202;
```
## Task
Generate a SQL query to answer the following question:
`Which City has a Stadium of estadio san cristóbal?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2010_11_teams" (
  "club" text,
  "city" text,
  "stadium" text,
  "2009_season" text,
  "group" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which City has a Stadium of estadio san cristóbal?`:
```sql
                SELECT "city" FROM "2010_11_teams" WHERE "stadium"='estadio san cristóbal';
```
## Task
Generate a SQL query to answer the following question:
`When in 2009 season has a Group of group b, and cancha del mystic with a Club of el tecal?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2010_11_teams" (
  "club" text,
  "city" text,
  "stadium" text,
  "2009_season" text,
  "group" text
);
### SQL
Given the database schema, here is the SQL query that answers `When in 2009 season has a Group of group b, and cancha del mystic with a Club of el tecal?`:
```sql
                SELECT "2009_season" FROM "2010_11_teams" WHERE "group"='group b' AND "stadium"='cancha del mystic' AND "club"='el tecal';
```
## Task
Generate a SQL query to answer the following question:
`WHich Club has a City of colón?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2010_11_teams" (
  "club" text,
  "city" text,
  "stadium" text,
  "2009_season" text,
  "group" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHich Club has a City of colón?`:
```sql
                SELECT "club" FROM "2010_11_teams" WHERE "city"='colón';
```
## Task
Generate a SQL query to answer the following question:
`WHat kind of 2009 season has a City of panama city, and a Group of group b?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2010_11_teams" (
  "club" text,
  "city" text,
  "stadium" text,
  "2009_season" text,
  "group" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHat kind of 2009 season has a City of panama city, and a Group of group b?`:
```sql
                SELECT "2009_season" FROM "2010_11_teams" WHERE "city"='panama city' AND "group"='group b';
```
## Task
Generate a SQL query to answer the following question:
`Which City has a Club of suntracs f.c.?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2010_11_teams" (
  "club" text,
  "city" text,
  "stadium" text,
  "2009_season" text,
  "group" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which City has a Club of suntracs f.c.?`:
```sql
                SELECT "city" FROM "2010_11_teams" WHERE "club"='suntracs f.c.';
```
## Task
Generate a SQL query to answer the following question:
`Which Stadium has a City of panama city, and a Group of group a, and a 2009 season of 1st in lna (champion)?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2010_11_teams" (
  "club" text,
  "city" text,
  "stadium" text,
  "2009_season" text,
  "group" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Stadium has a City of panama city, and a Group of group a, and a 2009 season of 1st in lna (champion)?`:
```sql
                SELECT "stadium" FROM "2010_11_teams" WHERE "city"='panama city' AND "group"='group a' AND "2009_season"='1st in lna (champion)';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Matches, when Prize Money is £5,000?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "calendar" (
  "round" text,
  "date" text,
  "matches" real,
  "clubs" text,
  "prize_money" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Matches, when Prize Money is £5,000?`:
```sql
                SELECT MAX("matches") FROM "calendar" WHERE "prize_money"='£5,000';
```
## Task
Generate a SQL query to answer the following question:
`What is Date, when Matches is less than 32, and when Round is Fifth Round Proper?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "calendar" (
  "round" text,
  "date" text,
  "matches" real,
  "clubs" text,
  "prize_money" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date, when Matches is less than 32, and when Round is Fifth Round Proper?`:
```sql
                SELECT "date" FROM "calendar" WHERE "matches"<32 AND "round"='fifth round proper';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Matches, when Round is Third Qualifying Round?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "calendar" (
  "round" text,
  "date" text,
  "matches" real,
  "clubs" text,
  "prize_money" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Matches, when Round is Third Qualifying Round?`:
```sql
                SELECT AVG("matches") FROM "calendar" WHERE "round"='third qualifying round';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Matches, when Clubs is 588 → 406?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "calendar" (
  "round" text,
  "date" text,
  "matches" real,
  "clubs" text,
  "prize_money" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of Matches, when Clubs is 588 → 406?`:
```sql
                SELECT COUNT("matches") FROM "calendar" WHERE "clubs"='588 → 406';
```