cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Which Drawn has Points smaller than 46, and a Position smaller than 20, and a Lost smaller than 19, and an Against of 56?`

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

CREATE TABLE "campeonato_brasileiro_s_rie_b" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Drawn has Points smaller than 46, and a Position smaller than 20, and a Lost smaller than 19, and an Against of 56?`:
```sql
                SELECT "drawn" FROM "campeonato_brasileiro_s_rie_b" WHERE "points"<46 AND "position"<20 AND "lost"<19 AND "against"=56;
```
## Task
Generate a SQL query to answer the following question:
`Which Played has a Lost larger than 14, and a Drawn of 10, and Points larger than 46?`

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

CREATE TABLE "campeonato_brasileiro_s_rie_b" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Played has a Lost larger than 14, and a Drawn of 10, and Points larger than 46?`:
```sql
                SELECT AVG("played") FROM "campeonato_brasileiro_s_rie_b" WHERE "lost">14 AND "drawn"=10 AND "points">46;
```
## Task
Generate a SQL query to answer the following question:
`What's the name of a Rank 3 with a 1st (m) smaller than 199.5?`

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

CREATE TABLE "harrachov" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" real,
  "points" real,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the name of a Rank 3 with a 1st (m) smaller than 199.5?`:
```sql
                SELECT "name" FROM "harrachov" WHERE "1st_m"<199.5 AND "rank"=3;
```
## Task
Generate a SQL query to answer the following question:
`What's the Overall WC points (Rank) for Rank 2?`

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

CREATE TABLE "harrachov" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" real,
  "points" real,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the Overall WC points (Rank) for Rank 2?`:
```sql
                SELECT "overall_wc_points_rank" FROM "harrachov" WHERE "rank"=2;
```
## Task
Generate a SQL query to answer the following question:
`What score has devin brown (24) as the leading scorer?`

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

CREATE TABLE "january" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "leading_scorer" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What score has devin brown (24) as the leading scorer?`:
```sql
                SELECT "score" FROM "january" WHERE "leading_scorer"='devin brown (24)';
```
## Task
Generate a SQL query to answer the following question:
`Which height, in meters, has 36 floors?`

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

CREATE TABLE "timeline_of_tallest_buildings" (
  "name" text,
  "street_address" text,
  "years_as_tallest" text,
  "height_ft_m" text,
  "floors" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which height, in meters, has 36 floors?`:
```sql
                SELECT "height_ft_m" FROM "timeline_of_tallest_buildings" WHERE "floors"=36;
```
## Task
Generate a SQL query to answer the following question:
`Which Floors is the highest one that has a Name of one indiana square?`

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

CREATE TABLE "timeline_of_tallest_buildings" (
  "name" text,
  "street_address" text,
  "years_as_tallest" text,
  "height_ft_m" text,
  "floors" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Floors is the highest one that has a Name of one indiana square?`:
```sql
                SELECT MAX("floors") FROM "timeline_of_tallest_buildings" WHERE "name"='one indiana square';
```
## Task
Generate a SQL query to answer the following question:
`How tall is the Street address of 07.0 200 east washington street?`

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

CREATE TABLE "timeline_of_tallest_buildings" (
  "name" text,
  "street_address" text,
  "years_as_tallest" text,
  "height_ft_m" text,
  "floors" real
);
### SQL
Given the database schema, here is the SQL query that answers `How tall is the Street address of 07.0 200 east washington street?`:
```sql
                SELECT "height_ft_m" FROM "timeline_of_tallest_buildings" WHERE "street_address"='07.0 200 east washington street';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the game where the indians record was 37-44?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of the game where the indians record was 37-44?`:
```sql
                SELECT "date" FROM "game_log" WHERE "record"='37-44';
```
## Task
Generate a SQL query to answer the following question:
`What city is Garfield County Museum located in?`

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

CREATE TABLE "museums_with_paleontology_holdings" (
  "name" text,
  "town_city" text,
  "region" text,
  "on_dinosaur_trail" text,
  "education_programs_guided_tours" text,
  "associated_field_digs" text
);
### SQL
Given the database schema, here is the SQL query that answers `What city is Garfield County Museum located in?`:
```sql
                SELECT "town_city" FROM "museums_with_paleontology_holdings" WHERE "name"='garfield county museum';
```
## Task
Generate a SQL query to answer the following question:
`Is the Rudyard Depot Museum on the Dinosaur Trail?`

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

CREATE TABLE "museums_with_paleontology_holdings" (
  "name" text,
  "town_city" text,
  "region" text,
  "on_dinosaur_trail" text,
  "education_programs_guided_tours" text,
  "associated_field_digs" text
);
### SQL
Given the database schema, here is the SQL query that answers `Is the Rudyard Depot Museum on the Dinosaur Trail?`:
```sql
                SELECT "on_dinosaur_trail" FROM "museums_with_paleontology_holdings" WHERE "name"='rudyard depot museum';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the museum located in Malta with no associated field digs?`

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

CREATE TABLE "museums_with_paleontology_holdings" (
  "name" text,
  "town_city" text,
  "region" text,
  "on_dinosaur_trail" text,
  "education_programs_guided_tours" text,
  "associated_field_digs" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the museum located in Malta with no associated field digs?`:
```sql
                SELECT "name" FROM "museums_with_paleontology_holdings" WHERE "associated_field_digs"='no' AND "town_city"='malta';
```
## Task
Generate a SQL query to answer the following question:
`What is the museum name located in Rudyard?`

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

CREATE TABLE "museums_with_paleontology_holdings" (
  "name" text,
  "town_city" text,
  "region" text,
  "on_dinosaur_trail" text,
  "education_programs_guided_tours" text,
  "associated_field_digs" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the museum name located in Rudyard?`:
```sql
                SELECT "name" FROM "museums_with_paleontology_holdings" WHERE "town_city"='rudyard';
```
## Task
Generate a SQL query to answer the following question:
`What is the region that the Blaine County Museum is located in?`

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

CREATE TABLE "museums_with_paleontology_holdings" (
  "name" text,
  "town_city" text,
  "region" text,
  "on_dinosaur_trail" text,
  "education_programs_guided_tours" text,
  "associated_field_digs" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the region that the Blaine County Museum is located in?`:
```sql
                SELECT "region" FROM "museums_with_paleontology_holdings" WHERE "name"='blaine county museum';
```
## Task
Generate a SQL query to answer the following question:
`What Tournament had a Score of 6–3, 2–6, 6–3?`

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

CREATE TABLE "doubles_6_2_4" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Tournament had a Score of 6–3, 2–6, 6–3?`:
```sql
                SELECT "tournament" FROM "doubles_6_2_4" WHERE "score"='6–3, 2–6, 6–3';
```
## Task
Generate a SQL query to answer the following question:
`What Partner had a Score of 6–3, 2–6, 6–3?`

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

CREATE TABLE "doubles_6_2_4" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Partner had a Score of 6–3, 2–6, 6–3?`:
```sql
                SELECT "partner" FROM "doubles_6_2_4" WHERE "score"='6–3, 2–6, 6–3';
```
## Task
Generate a SQL query to answer the following question:
`Who were the Opponents in the match on a Hard Surface with Catherine Suire as Partner and Outcome of runner-up?`

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

CREATE TABLE "doubles_6_2_4" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who were the Opponents in the match on a Hard Surface with Catherine Suire as Partner and Outcome of runner-up?`:
```sql
                SELECT "opponents" FROM "doubles_6_2_4" WHERE "outcome"='runner-up' AND "surface"='hard' AND "partner"='catherine suire';
```
## Task
Generate a SQL query to answer the following question:
`Who was the visiting team when the record was 6–12–5–1?`

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

CREATE TABLE "game_log" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the visiting team when the record was 6–12–5–1?`:
```sql
                SELECT "visitor" FROM "game_log" WHERE "record"='6–12–5–1';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team when the record was 21–45–8–5?`

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

CREATE TABLE "game_log" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the home team when the record was 21–45–8–5?`:
```sql
                SELECT "home" FROM "game_log" WHERE "record"='21–45–8–5';
```
## Task
Generate a SQL query to answer the following question:
`Which of the attributes has is cancelable and an answer of yes for bubbles?`

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

CREATE TABLE "pointer_events" (
  "category" text,
  "type" text,
  "attribute" text,
  "bubbles" text,
  "cancelable" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which of the attributes has is cancelable and an answer of yes for bubbles?`:
```sql
                SELECT "attribute" FROM "pointer_events" WHERE "cancelable"='yes' AND "bubbles"='yes';
```
## Task
Generate a SQL query to answer the following question:
`Which bubbles has an atribute of onlostpointercapture?`

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

CREATE TABLE "pointer_events" (
  "category" text,
  "type" text,
  "attribute" text,
  "bubbles" text,
  "cancelable" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which bubbles has an atribute of onlostpointercapture?`:
```sql
                SELECT "bubbles" FROM "pointer_events" WHERE "attribute"='onlostpointercapture';
```
## Task
Generate a SQL query to answer the following question:
`For the attribute of onpointerout, what is the cancelable?`

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

CREATE TABLE "pointer_events" (
  "category" text,
  "type" text,
  "attribute" text,
  "bubbles" text,
  "cancelable" text
);
### SQL
Given the database schema, here is the SQL query that answers `For the attribute of onpointerout, what is the cancelable?`:
```sql
                SELECT "cancelable" FROM "pointer_events" WHERE "attribute"='onpointerout';
```
## Task
Generate a SQL query to answer the following question:
`Which bubble have a cancelable of yes and an attribute of onpointerdown?`

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

CREATE TABLE "pointer_events" (
  "category" text,
  "type" text,
  "attribute" text,
  "bubbles" text,
  "cancelable" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which bubble have a cancelable of yes and an attribute of onpointerdown?`:
```sql
                SELECT "bubbles" FROM "pointer_events" WHERE "cancelable"='yes' AND "attribute"='onpointerdown';
```
## Task
Generate a SQL query to answer the following question:
`What's the highest grid of Ronnie Bremer, who had more than 18 points?`

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

CREATE TABLE "race" (
  "driver" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the highest grid of Ronnie Bremer, who had more than 18 points?`:
```sql
                SELECT MAX("grid") FROM "race" WHERE "driver"='ronnie bremer' AND "points">18;
```
## Task
Generate a SQL query to answer the following question:
`What are the most points Lap 70 had with a grid larger than 16?`

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

CREATE TABLE "race" (
  "driver" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the most points Lap 70 had with a grid larger than 16?`:
```sql
                SELECT MAX("points") FROM "race" WHERE "laps"=70 AND "grid">16;
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the track in Holland?`

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

CREATE TABLE "list_of_auto_racing_tracks_in_the_united" (
  "track" text,
  "city" text,
  "state" text,
  "opened_closing_date_if_defunct" text,
  "surface" text,
  "length" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the track in Holland?`:
```sql
                SELECT "track" FROM "list_of_auto_racing_tracks_in_the_united" WHERE "city"='holland';
```
## Task
Generate a SQL query to answer the following question:
`What is the track in Washington state?`

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

CREATE TABLE "list_of_auto_racing_tracks_in_the_united" (
  "track" text,
  "city" text,
  "state" text,
  "opened_closing_date_if_defunct" text,
  "surface" text,
  "length" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the track in Washington state?`:
```sql
                SELECT "track" FROM "list_of_auto_racing_tracks_in_the_united" WHERE "state"='washington';
```
## Task
Generate a SQL query to answer the following question:
`What is the city the track of manzanita speedway is in?`

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

CREATE TABLE "list_of_auto_racing_tracks_in_the_united" (
  "track" text,
  "city" text,
  "state" text,
  "opened_closing_date_if_defunct" text,
  "surface" text,
  "length" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the city the track of manzanita speedway is in?`:
```sql
                SELECT "city" FROM "list_of_auto_racing_tracks_in_the_united" WHERE "track"='manzanita speedway';
```
## Task
Generate a SQL query to answer the following question:
`What is the surface of the track at the indianapolis speedrome?`

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

CREATE TABLE "list_of_auto_racing_tracks_in_the_united" (
  "track" text,
  "city" text,
  "state" text,
  "opened_closing_date_if_defunct" text,
  "surface" text,
  "length" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the surface of the track at the indianapolis speedrome?`:
```sql
                SELECT "surface" FROM "list_of_auto_racing_tracks_in_the_united" WHERE "track"='indianapolis speedrome';
```
## Task
Generate a SQL query to answer the following question:
`What is the surface for the riverhead raceway?`

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

CREATE TABLE "list_of_auto_racing_tracks_in_the_united" (
  "track" text,
  "city" text,
  "state" text,
  "opened_closing_date_if_defunct" text,
  "surface" text,
  "length" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the surface for the riverhead raceway?`:
```sql
                SELECT "surface" FROM "list_of_auto_racing_tracks_in_the_united" WHERE "track"='riverhead raceway';
```
## Task
Generate a SQL query to answer the following question:
`What city is the indianapolis speedrome in?`

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

CREATE TABLE "list_of_auto_racing_tracks_in_the_united" (
  "track" text,
  "city" text,
  "state" text,
  "opened_closing_date_if_defunct" text,
  "surface" text,
  "length" text
);
### SQL
Given the database schema, here is the SQL query that answers `What city is the indianapolis speedrome in?`:
```sql
                SELECT "city" FROM "list_of_auto_racing_tracks_in_the_united" WHERE "track"='indianapolis speedrome';
```
## Task
Generate a SQL query to answer the following question:
`What is the IUPAC name for chloroform?`

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

CREATE TABLE "common_trihalomethanes_ordered_by_molecu" (
  "molecular_formula" text,
  "iupac_name" text,
  "cas_registry_number" text,
  "common_name" text,
  "other_names" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the IUPAC name for chloroform?`:
```sql
                SELECT "iupac_name" FROM "common_trihalomethanes_ordered_by_molecu" WHERE "common_name"='chloroform';
```
## Task
Generate a SQL query to answer the following question:
`What is the SZDSZ percentage with an MSZP of 25% on 25/2/2009?`

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

CREATE TABLE "opinion_polls" (
  "source" text,
  "date" text,
  "fidesz" text,
  "mszp" text,
  "szdsz" text,
  "jobbik" text,
  "others" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the SZDSZ percentage with an MSZP of 25% on 25/2/2009?`:
```sql
                SELECT "szdsz" FROM "opinion_polls" WHERE "mszp"='25%' AND "date"='25/2/2009';
```
## Task
Generate a SQL query to answer the following question:
`What percentage of others have an SZDSZ of 4% and a Fidesz of 60%?`

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

CREATE TABLE "opinion_polls" (
  "source" text,
  "date" text,
  "fidesz" text,
  "mszp" text,
  "szdsz" text,
  "jobbik" text,
  "others" text
);
### SQL
Given the database schema, here is the SQL query that answers `What percentage of others have an SZDSZ of 4% and a Fidesz of 60%?`:
```sql
                SELECT "others" FROM "opinion_polls" WHERE "szdsz"='4%' AND "fidesz"='60%';
```
## Task
Generate a SQL query to answer the following question:
`What is the percentage of others with a Fidesz of 62% and a Jobbik of 4%?`

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

CREATE TABLE "opinion_polls" (
  "source" text,
  "date" text,
  "fidesz" text,
  "mszp" text,
  "szdsz" text,
  "jobbik" text,
  "others" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the percentage of others with a Fidesz of 62% and a Jobbik of 4%?`:
```sql
                SELECT "others" FROM "opinion_polls" WHERE "fidesz"='62%' AND "jobbik"='4%';
```
## Task
Generate a SQL query to answer the following question:
`On what date do others have 5% with an SZDSZ of 5%?`

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

CREATE TABLE "opinion_polls" (
  "source" text,
  "date" text,
  "fidesz" text,
  "mszp" text,
  "szdsz" text,
  "jobbik" text,
  "others" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date do others have 5% with an SZDSZ of 5%?`:
```sql
                SELECT "date" FROM "opinion_polls" WHERE "others"='5%' AND "szdsz"='5%';
```
## Task
Generate a SQL query to answer the following question:
`What is the SZDSZ percentage with a Jobbik of 5% and a Fidesz of 68%?`

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

CREATE TABLE "opinion_polls" (
  "source" text,
  "date" text,
  "fidesz" text,
  "mszp" text,
  "szdsz" text,
  "jobbik" text,
  "others" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the SZDSZ percentage with a Jobbik of 5% and a Fidesz of 68%?`:
```sql
                SELECT "szdsz" FROM "opinion_polls" WHERE "jobbik"='5%' AND "fidesz"='68%';
```
## Task
Generate a SQL query to answer the following question:
`What is the Jobbik percentage with a Fidesz of 61% and others of 2%?`

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

CREATE TABLE "opinion_polls" (
  "source" text,
  "date" text,
  "fidesz" text,
  "mszp" text,
  "szdsz" text,
  "jobbik" text,
  "others" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Jobbik percentage with a Fidesz of 61% and others of 2%?`:
```sql
                SELECT "jobbik" FROM "opinion_polls" WHERE "fidesz"='61%' AND "others"='2%';
```
## Task
Generate a SQL query to answer the following question:
`What's listed for the Turnout % with a Ngilu of 3,429?`

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

CREATE TABLE "by_province" (
  "province" text,
  "kibaki" text,
  "raila" text,
  "wamalwa" text,
  "ngilu" text,
  "others" text,
  "registered_voters" text,
  "turnout_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's listed for the Turnout % with a Ngilu of 3,429?`:
```sql
                SELECT "turnout_pct" FROM "by_province" WHERE "ngilu"='3,429';
```
## Task
Generate a SQL query to answer the following question:
`What's listed for the Turnout % with a Raila of 519,180?`

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

CREATE TABLE "by_province" (
  "province" text,
  "kibaki" text,
  "raila" text,
  "wamalwa" text,
  "ngilu" text,
  "others" text,
  "registered_voters" text,
  "turnout_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's listed for the Turnout % with a Raila of 519,180?`:
```sql
                SELECT "turnout_pct" FROM "by_province" WHERE "raila"='519,180';
```
## Task
Generate a SQL query to answer the following question:
`What's listed for the Turnout % with a Ngilu of 30,535?`

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

CREATE TABLE "by_province" (
  "province" text,
  "kibaki" text,
  "raila" text,
  "wamalwa" text,
  "ngilu" text,
  "others" text,
  "registered_voters" text,
  "turnout_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's listed for the Turnout % with a Ngilu of 30,535?`:
```sql
                SELECT "turnout_pct" FROM "by_province" WHERE "ngilu"='30,535';
```
## Task
Generate a SQL query to answer the following question:
`What's listed for the Registered Voters with a Ngilu of 3,429?`

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

CREATE TABLE "by_province" (
  "province" text,
  "kibaki" text,
  "raila" text,
  "wamalwa" text,
  "ngilu" text,
  "others" text,
  "registered_voters" text,
  "turnout_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's listed for the Registered Voters with a Ngilu of 3,429?`:
```sql
                SELECT "registered_voters" FROM "by_province" WHERE "ngilu"='3,429';
```
## Task
Generate a SQL query to answer the following question:
`What is listed for the Province with a Wamalwa of 4,431?`

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

CREATE TABLE "by_province" (
  "province" text,
  "kibaki" text,
  "raila" text,
  "wamalwa" text,
  "ngilu" text,
  "others" text,
  "registered_voters" text,
  "turnout_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is listed for the Province with a Wamalwa of 4,431?`:
```sql
                SELECT "province" FROM "by_province" WHERE "wamalwa"='4,431';
```
## Task
Generate a SQL query to answer the following question:
`What's listed for the Wamalwa that has a Turnout % of 55.9%?`

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

CREATE TABLE "by_province" (
  "province" text,
  "kibaki" text,
  "raila" text,
  "wamalwa" text,
  "ngilu" text,
  "others" text,
  "registered_voters" text,
  "turnout_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's listed for the Wamalwa that has a Turnout % of 55.9%?`:
```sql
                SELECT "wamalwa" FROM "by_province" WHERE "turnout_pct"='55.9%';
```
## Task
Generate a SQL query to answer the following question:
`What were the average partial failures when the rocket was Ariane 5?`

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

CREATE TABLE "by_type" (
  "rocket" text,
  "country" text,
  "family" text,
  "launches" real,
  "successes" real,
  "failures" real,
  "partial_failures" real
);
### SQL
Given the database schema, here is the SQL query that answers `What were the average partial failures when the rocket was Ariane 5?`:
```sql
                SELECT AVG("partial_failures") FROM "by_type" WHERE "rocket"='ariane 5';
```
## Task
Generate a SQL query to answer the following question:
`What are average launches with 0 failures, rocket of Soyuz, and less than 12 successes?`

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

CREATE TABLE "by_type" (
  "rocket" text,
  "country" text,
  "family" text,
  "launches" real,
  "successes" real,
  "failures" real,
  "partial_failures" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are average launches with 0 failures, rocket of Soyuz, and less than 12 successes?`:
```sql
                SELECT AVG("launches") FROM "by_type" WHERE "failures"=0 AND "rocket"='soyuz' AND "successes"<12;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of launches with Long March 3 and 0 failures?`

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

CREATE TABLE "by_type" (
  "rocket" text,
  "country" text,
  "family" text,
  "launches" real,
  "successes" real,
  "failures" real,
  "partial_failures" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of launches with Long March 3 and 0 failures?`:
```sql
                SELECT SUM("launches") FROM "by_type" WHERE "rocket"='long march 3' AND "failures">0;
```
## Task
Generate a SQL query to answer the following question:
`What is the least amount of failures with 1 launch and 0 partial failures?`

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

CREATE TABLE "by_type" (
  "rocket" text,
  "country" text,
  "family" text,
  "launches" real,
  "successes" real,
  "failures" real,
  "partial_failures" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the least amount of failures with 1 launch and 0 partial failures?`:
```sql
                SELECT MIN("failures") FROM "by_type" WHERE "launches"=1 AND "partial_failures"<0;
```
## Task
Generate a SQL query to answer the following question:
`What were the average launches for Ariane 5 and 0 partial failures?`

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

CREATE TABLE "by_type" (
  "rocket" text,
  "country" text,
  "family" text,
  "launches" real,
  "successes" real,
  "failures" real,
  "partial_failures" real
);
### SQL
Given the database schema, here is the SQL query that answers `What were the average launches for Ariane 5 and 0 partial failures?`:
```sql
                SELECT AVG("launches") FROM "by_type" WHERE "rocket"='ariane 5' AND "partial_failures"<0;
```
## Task
Generate a SQL query to answer the following question:
`What was the race of the jockey in na group in 4th place?`

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

CREATE TABLE "2000_01_season_as_a_four_year_old" (
  "result" text,
  "date" text,
  "race" text,
  "venue" text,
  "group" text,
  "distance" text,
  "weight_kg" real,
  "jockey" text,
  "winner_2nd" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the race of the jockey in na group in 4th place?`:
```sql
                SELECT "race" FROM "2000_01_season_as_a_four_year_old" WHERE "group"='na' AND "result"='4th';
```
## Task
Generate a SQL query to answer the following question:
`How far did p. carbery run to get 2nd?`

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

CREATE TABLE "2000_01_season_as_a_four_year_old" (
  "result" text,
  "date" text,
  "race" text,
  "venue" text,
  "group" text,
  "distance" text,
  "weight_kg" real,
  "jockey" text,
  "winner_2nd" text
);
### SQL
Given the database schema, here is the SQL query that answers `How far did p. carbery run to get 2nd?`:
```sql
                SELECT "distance" FROM "2000_01_season_as_a_four_year_old" WHERE "jockey"='p. carbery' AND "result"='2nd';
```
## Task
Generate a SQL query to answer the following question:
`What is the Removal that has a Trim of xe (2009)?`

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

CREATE TABLE "engines" (
  "trim" text,
  "engine" text,
  "displacement" text,
  "power" text,
  "torque" text,
  "transmission" text,
  "fuel_mileage_latest_epa_mpg_us" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Removal that has a Trim of xe (2009)?`:
```sql
                SELECT "transmission" FROM "engines" WHERE "trim"='xe (2009)';
```
## Task
Generate a SQL query to answer the following question:
`What is the Torque that has a Power of hp (kw), and a Trim of xr (2009)? Question 6`

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

CREATE TABLE "engines" (
  "trim" text,
  "engine" text,
  "displacement" text,
  "power" text,
  "torque" text,
  "transmission" text,
  "fuel_mileage_latest_epa_mpg_us" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Torque that has a Power of hp (kw), and a Trim of xr (2009)? Question 6`:
```sql
                SELECT "torque" FROM "engines" WHERE "power"='hp (kw)' AND "trim"='xr (2009)';
```
## Task
Generate a SQL query to answer the following question:
`Which Round is the lowest one that has a College/Junior/Club Team (League) of oshawa generals (oha), and a Player of bob kelly?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Round is the lowest one that has a College/Junior/Club Team (League) of oshawa generals (oha), and a Player of bob kelly?`:
```sql
                SELECT MIN("round") FROM "draft_picks" WHERE "college_junior_club_team_league"='oshawa generals (oha)' AND "player"='bob kelly';
```
## Task
Generate a SQL query to answer the following question:
`What surface was used when she played with Remi Tezuka?`

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

CREATE TABLE "doubles_18_7_11" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What surface was used when she played with Remi Tezuka?`:
```sql
                SELECT "surface" FROM "doubles_18_7_11" WHERE "partner"='remi tezuka';
```
## Task
Generate a SQL query to answer the following question:
`What Results has the Record of 28-12?`

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

CREATE TABLE "ncaa_tournament_results" (
  "year" real,
  "record" text,
  "seed" text,
  "region" text,
  "results" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Results has the Record of 28-12?`:
```sql
                SELECT "results" FROM "ncaa_tournament_results" WHERE "record"='28-12';
```
## Task
Generate a SQL query to answer the following question:
`What Results has a Seed #12 and a Year that's smaller than 1996`

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

CREATE TABLE "ncaa_tournament_results" (
  "year" real,
  "record" text,
  "seed" text,
  "region" text,
  "results" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Results has a Seed #12 and a Year that's smaller than 1996`:
```sql
                SELECT "results" FROM "ncaa_tournament_results" WHERE "seed"='#12' AND "year"<1996;
```
## Task
Generate a SQL query to answer the following question:
`What's the highest Year with the Record of 18-12?`

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

CREATE TABLE "ncaa_tournament_results" (
  "year" real,
  "record" text,
  "seed" text,
  "region" text,
  "results" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the highest Year with the Record of 18-12?`:
```sql
                SELECT MAX("year") FROM "ncaa_tournament_results" WHERE "record"='18-12';
```
## Task
Generate a SQL query to answer the following question:
`What's the highest Year with the Region of Southeast?`

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

CREATE TABLE "ncaa_tournament_results" (
  "year" real,
  "record" text,
  "seed" text,
  "region" text,
  "results" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the highest Year with the Region of Southeast?`:
```sql
                SELECT MAX("year") FROM "ncaa_tournament_results" WHERE "region"='southeast';
```
## Task
Generate a SQL query to answer the following question:
`What Record has a Year that's larger than 2012?`

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

CREATE TABLE "ncaa_tournament_results" (
  "year" real,
  "record" text,
  "seed" text,
  "region" text,
  "results" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Record has a Year that's larger than 2012?`:
```sql
                SELECT "record" FROM "ncaa_tournament_results" WHERE "year">2012;
```
## Task
Generate a SQL query to answer the following question:
`What is the Laker's record when they played against Kansas City Kings?`

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

CREATE TABLE "season_schedule" (
  "date" text,
  "opponent" text,
  "result" text,
  "score" text,
  "record" text,
  "streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Laker's record when they played against Kansas City Kings?`:
```sql
                SELECT "record" FROM "season_schedule" WHERE "opponent"='kansas city kings';
```
## Task
Generate a SQL query to answer the following question:
`Name the pronunciation for 傳`

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

CREATE TABLE "old_chinese" (
  "word" text,
  "pronunciation_a" text,
  "meaning_a" text,
  "pronunciation_b" text,
  "meaning_b" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the pronunciation for 傳`:
```sql
                SELECT "pronunciation_a" FROM "old_chinese" WHERE "word"='傳';
```
## Task
Generate a SQL query to answer the following question:
`Name the pronunciation for meaning of king`

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

CREATE TABLE "old_chinese" (
  "word" text,
  "pronunciation_a" text,
  "meaning_a" text,
  "pronunciation_b" text,
  "meaning_b" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the pronunciation for meaning of king`:
```sql
                SELECT "pronunciation_a" FROM "old_chinese" WHERE "meaning_a"='king';
```
## Task
Generate a SQL query to answer the following question:
`Name the word with pronunciation b of *sɨks`

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

CREATE TABLE "old_chinese" (
  "word" text,
  "pronunciation_a" text,
  "meaning_a" text,
  "pronunciation_b" text,
  "meaning_b" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the word with pronunciation b of *sɨks`:
```sql
                SELECT "word" FROM "old_chinese" WHERE "pronunciation_b"='*sɨks';
```
## Task
Generate a SQL query to answer the following question:
`Name the pronunciation for meaning b of border, frontier`

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

CREATE TABLE "old_chinese" (
  "word" text,
  "pronunciation_a" text,
  "meaning_a" text,
  "pronunciation_b" text,
  "meaning_b" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the pronunciation for meaning b of border, frontier`:
```sql
                SELECT "pronunciation_b" FROM "old_chinese" WHERE "meaning_b"='border, frontier';
```
## Task
Generate a SQL query to answer the following question:
`Name the pronunciation b for meaning of grind`

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

CREATE TABLE "old_chinese" (
  "word" text,
  "pronunciation_a" text,
  "meaning_a" text,
  "pronunciation_b" text,
  "meaning_b" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the pronunciation b for meaning of grind`:
```sql
                SELECT "pronunciation_b" FROM "old_chinese" WHERE "meaning_a"='grind';
```
## Task
Generate a SQL query to answer the following question:
`What is the 2008 value that was 2nd in 2006?`

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

CREATE TABLE "grand_prix_de_futsal" (
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2013" text,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 2008 value that was 2nd in 2006?`:
```sql
                SELECT "2008" FROM "grand_prix_de_futsal" WHERE "2006"='2nd';
```
## Task
Generate a SQL query to answer the following question:
`What is the average total that is 1st in 2010?`

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

CREATE TABLE "grand_prix_de_futsal" (
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2013" text,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average total that is 1st in 2010?`:
```sql
                SELECT AVG("total") FROM "grand_prix_de_futsal" WHERE "2010"='1st';
```
## Task
Generate a SQL query to answer the following question:
`What is the 2008 value with a 7 in 2010?`

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

CREATE TABLE "grand_prix_de_futsal" (
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2013" text,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 2008 value with a 7 in 2010?`:
```sql
                SELECT "2008" FROM "grand_prix_de_futsal" WHERE "2010"='7';
```
## Task
Generate a SQL query to answer the following question:
`What is the Location for the woodburn dragstrip?`

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

CREATE TABLE "list_of_auto_racing_tracks_in_the_united" (
  "name" text,
  "location" text,
  "state" text,
  "opened_closing_date_if_defunct" text,
  "surface" text,
  "length" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Location for the woodburn dragstrip?`:
```sql
                SELECT "location" FROM "list_of_auto_racing_tracks_in_the_united" WHERE "name"='woodburn dragstrip';
```
## Task
Generate a SQL query to answer the following question:
`What State has an Opened (closing date if defunct) that shows 1960?`

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

CREATE TABLE "list_of_auto_racing_tracks_in_the_united" (
  "name" text,
  "location" text,
  "state" text,
  "opened_closing_date_if_defunct" text,
  "surface" text,
  "length" text
);
### SQL
Given the database schema, here is the SQL query that answers `What State has an Opened (closing date if defunct) that shows 1960?`:
```sql
                SELECT "state" FROM "list_of_auto_racing_tracks_in_the_united" WHERE "opened_closing_date_if_defunct"='1960';
```
## Task
Generate a SQL query to answer the following question:
`What is the Location for the route 66 raceway?`

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

CREATE TABLE "list_of_auto_racing_tracks_in_the_united" (
  "name" text,
  "location" text,
  "state" text,
  "opened_closing_date_if_defunct" text,
  "surface" text,
  "length" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Location for the route 66 raceway?`:
```sql
                SELECT "location" FROM "list_of_auto_racing_tracks_in_the_united" WHERE "name"='route 66 raceway';
```
## Task
Generate a SQL query to answer the following question:
`What is the Location for the newington international airport?`

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

CREATE TABLE "list_of_auto_racing_tracks_in_the_united" (
  "name" text,
  "location" text,
  "state" text,
  "opened_closing_date_if_defunct" text,
  "surface" text,
  "length" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Location for the newington international airport?`:
```sql
                SELECT "location" FROM "list_of_auto_racing_tracks_in_the_united" WHERE "name"='newington international airport';
```
## Task
Generate a SQL query to answer the following question:
`What is the Name with an Opened (closing date if defunct) of 1995 and has a Length of miles (m), in Illinois?`

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

CREATE TABLE "list_of_auto_racing_tracks_in_the_united" (
  "name" text,
  "location" text,
  "state" text,
  "opened_closing_date_if_defunct" text,
  "surface" text,
  "length" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Name with an Opened (closing date if defunct) of 1995 and has a Length of miles (m), in Illinois?`:
```sql
                SELECT "name" FROM "list_of_auto_racing_tracks_in_the_united" WHERE "opened_closing_date_if_defunct"='1995' AND "length"='miles (m)' AND "state"='illinois';
```
## Task
Generate a SQL query to answer the following question:
`What is the Score with an Opponent that is amanda brown brenda remilton?`

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

CREATE TABLE "doubles_7_4_3" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Score with an Opponent that is amanda brown brenda remilton?`:
```sql
                SELECT "score" FROM "doubles_7_4_3" WHERE "opponents"='amanda brown brenda remilton';
```
## Task
Generate a SQL query to answer the following question:
`What is the Score with an Outcome of runner-up, and a Partner that is elizabeth little?`

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

CREATE TABLE "doubles_7_4_3" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Score with an Outcome of runner-up, and a Partner that is elizabeth little?`:
```sql
                SELECT "score" FROM "doubles_7_4_3" WHERE "outcome"='runner-up' AND "partner"='elizabeth little';
```
## Task
Generate a SQL query to answer the following question:
`Who was the pitcher on June 8, 1961?`

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

CREATE TABLE "four_consecutive_home_runs_by_a_team_in_" (
  "team" text,
  "date" text,
  "opponent" text,
  "pitcher" text,
  "inn" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the pitcher on June 8, 1961?`:
```sql
                SELECT "pitcher" FROM "four_consecutive_home_runs_by_a_team_in_" WHERE "date"='june 8, 1961';
```