cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`In which tournament did Al Geiberger finish runner-up?`

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

CREATE TABLE "champions_tour_wins_14" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `In which tournament did Al Geiberger finish runner-up?`:
```sql
                SELECT "tournament" FROM "champions_tour_wins_14" WHERE "runner_s_up"='al geiberger';
```
## Task
Generate a SQL query to answer the following question:
`What is the Season with an Acquisition via of rookie draft, and the number is 15?`

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

CREATE TABLE "m" (
  "name" text,
  "position" text,
  "number" text,
  "school_club_team" text,
  "season" text,
  "acquisition_via" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Season with an Acquisition via of rookie draft, and the number is 15?`:
```sql
                SELECT "season" FROM "m" WHERE "acquisition_via"='rookie draft' AND "number"='15';
```
## Task
Generate a SQL query to answer the following question:
`What is the Acquisition via for Dennis Miranda?`

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

CREATE TABLE "m" (
  "name" text,
  "position" text,
  "number" text,
  "school_club_team" text,
  "season" text,
  "acquisition_via" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Acquisition via for Dennis Miranda?`:
```sql
                SELECT "acquisition_via" FROM "m" WHERE "name"='dennis miranda';
```
## Task
Generate a SQL query to answer the following question:
`What team acquired as a rookie draft in the position of guard Dennis Miranda?`

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

CREATE TABLE "m" (
  "name" text,
  "position" text,
  "number" text,
  "school_club_team" text,
  "season" text,
  "acquisition_via" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team acquired as a rookie draft in the position of guard Dennis Miranda?`:
```sql
                SELECT "school_club_team" FROM "m" WHERE "acquisition_via"='rookie draft' AND "position"='guard' AND "name"='dennis miranda';
```
## Task
Generate a SQL query to answer the following question:
`What season was School/Club Team perpetual help in the guard position?`

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

CREATE TABLE "m" (
  "name" text,
  "position" text,
  "number" text,
  "school_club_team" text,
  "season" text,
  "acquisition_via" text
);
### SQL
Given the database schema, here is the SQL query that answers `What season was School/Club Team perpetual help in the guard position?`:
```sql
                SELECT "season" FROM "m" WHERE "position"='guard' AND "school_club_team"='perpetual help';
```
## Task
Generate a SQL query to answer the following question:
`What number was Rashad McCants?`

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

CREATE TABLE "m" (
  "name" text,
  "position" text,
  "number" text,
  "school_club_team" text,
  "season" text,
  "acquisition_via" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number was Rashad McCants?`:
```sql
                SELECT "number" FROM "m" WHERE "name"='rashad mccants';
```
## Task
Generate a SQL query to answer the following question:
`What season did School/Club Team, East have an Acquisition via of trade?`

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

CREATE TABLE "m" (
  "name" text,
  "position" text,
  "number" text,
  "school_club_team" text,
  "season" text,
  "acquisition_via" text
);
### SQL
Given the database schema, here is the SQL query that answers `What season did School/Club Team, East have an Acquisition via of trade?`:
```sql
                SELECT "season" FROM "m" WHERE "acquisition_via"='trade' AND "school_club_team"='east';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date for the City/State of Sydney, New South Wales?`

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

CREATE TABLE "race_calendar" (
  "rd_race" text,
  "race_title" text,
  "circuit" text,
  "city_state" text,
  "date" text,
  "winner" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date for the City/State of Sydney, New South Wales?`:
```sql
                SELECT "date" FROM "race_calendar" WHERE "city_state"='sydney, new south wales';
```
## Task
Generate a SQL query to answer the following question:
`What is the Revenues during Tenure 1854-1855?`

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

CREATE TABLE "list_of_daimy" (
  "name" text,
  "tenure" text,
  "courtesy_title" text,
  "court_rank" text,
  "revenues" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Revenues during Tenure 1854-1855?`:
```sql
                SELECT "revenues" FROM "list_of_daimy" WHERE "tenure"='1854-1855';
```
## Task
Generate a SQL query to answer the following question:
`What is the Revenues of Ukyo-Daiyu?`

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

CREATE TABLE "list_of_daimy" (
  "name" text,
  "tenure" text,
  "courtesy_title" text,
  "court_rank" text,
  "revenues" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Revenues of Ukyo-Daiyu?`:
```sql
                SELECT "revenues" FROM "list_of_daimy" WHERE "courtesy_title"='ukyo-daiyu';
```
## Task
Generate a SQL query to answer the following question:
`What country was the player, rod pampling, from who placed t10?`

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

CREATE TABLE "third_round_conclusion_sunday" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country was the player, rod pampling, from who placed t10?`:
```sql
                SELECT "country" FROM "third_round_conclusion_sunday" WHERE "place"='t10' AND "player"='rod pampling';
```
## Task
Generate a SQL query to answer the following question:
`What was the score that thomas levet got when he placed t10?`

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

CREATE TABLE "third_round_conclusion_sunday" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score that thomas levet got when he placed t10?`:
```sql
                SELECT "score" FROM "third_round_conclusion_sunday" WHERE "place"='t10' AND "player"='thomas levet';
```
## Task
Generate a SQL query to answer the following question:
`What country did the player who scored 73-73-65=211 come from?`

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

CREATE TABLE "third_round_conclusion_sunday" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country did the player who scored 73-73-65=211 come from?`:
```sql
                SELECT "country" FROM "third_round_conclusion_sunday" WHERE "score"='73-73-65=211';
```
## Task
Generate a SQL query to answer the following question:
`What is the score that the player who placed t4 from the united states get?`

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

CREATE TABLE "third_round_conclusion_sunday" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score that the player who placed t4 from the united states get?`:
```sql
                SELECT "score" FROM "third_round_conclusion_sunday" WHERE "country"='united states' AND "place"='t4';
```
## Task
Generate a SQL query to answer the following question:
`What country is phil mickelson from?`

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

CREATE TABLE "third_round_conclusion_sunday" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country is phil mickelson from?`:
```sql
                SELECT "country" FROM "third_round_conclusion_sunday" WHERE "player"='phil mickelson';
```
## Task
Generate a SQL query to answer the following question:
`What is the Team with a Machine that is nsr250 and has Points of 8?`

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

CREATE TABLE "grand_prix_career_statistics" (
  "year" real,
  "class" text,
  "team" text,
  "machine" text,
  "points" real,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Team with a Machine that is nsr250 and has Points of 8?`:
```sql
                SELECT "team" FROM "grand_prix_career_statistics" WHERE "machine"='nsr250' AND "points"=8;
```
## Task
Generate a SQL query to answer the following question:
`What is the total lost that has points greater than 8 and a difference of - 8 and a position of greater than 5?`

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

CREATE TABLE "apea_s_campeonato_paulista" (
  "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 `What is the total lost that has points greater than 8 and a difference of - 8 and a position of greater than 5?`:
```sql
                SELECT SUM("lost") FROM "apea_s_campeonato_paulista" WHERE "points">8 AND "difference"='- 8' AND "position">5;
```
## Task
Generate a SQL query to answer the following question:
`What is the greatest number of points that has a lost bigger than 5, a difference of - 10 and a played bigger than 12?`

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

CREATE TABLE "apea_s_campeonato_paulista" (
  "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 `What is the greatest number of points that has a lost bigger than 5, a difference of - 10 and a played bigger than 12?`:
```sql
                SELECT MAX("points") FROM "apea_s_campeonato_paulista" WHERE "lost">5 AND "difference"='- 10' AND "played">12;
```
## Task
Generate a SQL query to answer the following question:
`What is the Name with an Average that is 16.4?`

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

CREATE TABLE "india" (
  "name" text,
  "innings" real,
  "runs_scored" real,
  "balls_faced" real,
  "average" real,
  "s_r" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Name with an Average that is 16.4?`:
```sql
                SELECT "name" FROM "india" WHERE "average"=16.4;
```
## Task
Generate a SQL query to answer the following question:
`What was the match number for Start Gniezno?`

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

CREATE TABLE "north_group" (
  "team" text,
  "match" text,
  "points" text,
  "draw" text,
  "lost" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the match number for Start Gniezno?`:
```sql
                SELECT "match" FROM "north_group" WHERE "team"='start gniezno';
```
## Task
Generate a SQL query to answer the following question:
`Who was the team that lost but had 10 points?`

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

CREATE TABLE "north_group" (
  "team" text,
  "match" text,
  "points" text,
  "draw" text,
  "lost" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the team that lost but had 10 points?`:
```sql
                SELECT "lost" FROM "north_group" WHERE "points"='10';
```
## Task
Generate a SQL query to answer the following question:
`What was the draw for Lpż Gdańsk with a match of 8?`

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

CREATE TABLE "north_group" (
  "team" text,
  "match" text,
  "points" text,
  "draw" text,
  "lost" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the draw for Lpż Gdańsk with a match of 8?`:
```sql
                SELECT "draw" FROM "north_group" WHERE "match"='8' AND "team"='lpż gdańsk';
```
## Task
Generate a SQL query to answer the following question:
`What team had a draw of 0?`

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

CREATE TABLE "north_group" (
  "team" text,
  "match" text,
  "points" text,
  "draw" text,
  "lost" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team had a draw of 0?`:
```sql
                SELECT "team" FROM "north_group" WHERE "draw"='0';
```
## Task
Generate a SQL query to answer the following question:
`What match had 8 points?`

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

CREATE TABLE "north_group" (
  "team" text,
  "match" text,
  "points" text,
  "draw" text,
  "lost" text
);
### SQL
Given the database schema, here is the SQL query that answers `What match had 8 points?`:
```sql
                SELECT "match" FROM "north_group" WHERE "points"='8';
```
## Task
Generate a SQL query to answer the following question:
`What is the draw for a match that had 10 points?`

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

CREATE TABLE "north_group" (
  "team" text,
  "match" text,
  "points" text,
  "draw" text,
  "lost" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the draw for a match that had 10 points?`:
```sql
                SELECT "draw" FROM "north_group" WHERE "points"='10';
```
## Task
Generate a SQL query to answer the following question:
`What was the 1980-1981 team of the player born in Warroad, Minnesota?`

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

CREATE TABLE "list_of_united_states_national_ice_hocke" (
  "position" text,
  "jersey_num" real,
  "name" text,
  "height_cm" real,
  "weight_kg" real,
  "birthdate" text,
  "birthplace" text,
  "1980_1981_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the 1980-1981 team of the player born in Warroad, Minnesota?`:
```sql
                SELECT "1980_1981_team" FROM "list_of_united_states_national_ice_hocke" WHERE "birthplace"='warroad, minnesota';
```
## Task
Generate a SQL query to answer the following question:
`How many losses have a draw greater than 0?`

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

CREATE TABLE "south_group" (
  "team" text,
  "match" real,
  "points" real,
  "draw" real,
  "lost" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many losses have a draw greater than 0?`:
```sql
                SELECT SUM("lost") FROM "south_group" WHERE "draw">0;
```
## Task
Generate a SQL query to answer the following question:
`Which average match has points less than 6?`

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

CREATE TABLE "south_group" (
  "team" text,
  "match" real,
  "points" real,
  "draw" real,
  "lost" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which average match has points less than 6?`:
```sql
                SELECT AVG("match") FROM "south_group" WHERE "points"<6;
```
## Task
Generate a SQL query to answer the following question:
`Which average draw has points greater than 12?`

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

CREATE TABLE "south_group" (
  "team" text,
  "match" real,
  "points" real,
  "draw" real,
  "lost" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which average draw has points greater than 12?`:
```sql
                SELECT AVG("draw") FROM "south_group" WHERE "points">12;
```
## Task
Generate a SQL query to answer the following question:
`What Trainer had Jockey William Jenkins in a race with Time of 1:44.80?`

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

CREATE TABLE "winners_of_the_federico_tesio_stakes" (
  "year" real,
  "winner" text,
  "jockey" text,
  "trainer" text,
  "owner" text,
  "distance_miles" text,
  "time" text,
  "purse" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Trainer had Jockey William Jenkins in a race with Time of 1:44.80?`:
```sql
                SELECT "trainer" FROM "winners_of_the_federico_tesio_stakes" WHERE "time"='1:44.80' AND "jockey"='william jenkins';
```
## Task
Generate a SQL query to answer the following question:
`In what Year was the Purse $150,000 with a Time of 1:49.00?`

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

CREATE TABLE "winners_of_the_federico_tesio_stakes" (
  "year" real,
  "winner" text,
  "jockey" text,
  "trainer" text,
  "owner" text,
  "distance_miles" text,
  "time" text,
  "purse" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what Year was the Purse $150,000 with a Time of 1:49.00?`:
```sql
                SELECT MIN("year") FROM "winners_of_the_federico_tesio_stakes" WHERE "purse"='$150,000' AND "time"='1:49.00';
```
## Task
Generate a SQL query to answer the following question:
`What Owner's Trainer is Todd A. Pletcher?`

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

CREATE TABLE "winners_of_the_federico_tesio_stakes" (
  "year" real,
  "winner" text,
  "jockey" text,
  "trainer" text,
  "owner" text,
  "distance_miles" text,
  "time" text,
  "purse" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Owner's Trainer is Todd A. Pletcher?`:
```sql
                SELECT "owner" FROM "winners_of_the_federico_tesio_stakes" WHERE "trainer"='todd a. pletcher';
```
## Task
Generate a SQL query to answer the following question:
`What was the Purse for Owner Harold A. Allen prior to 2009?`

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

CREATE TABLE "winners_of_the_federico_tesio_stakes" (
  "year" real,
  "winner" text,
  "jockey" text,
  "trainer" text,
  "owner" text,
  "distance_miles" text,
  "time" text,
  "purse" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Purse for Owner Harold A. Allen prior to 2009?`:
```sql
                SELECT "purse" FROM "winners_of_the_federico_tesio_stakes" WHERE "year"<2009 AND "owner"='harold a. allen';
```
## Task
Generate a SQL query to answer the following question:
`What is GDP (PPP) Per Capita 2012 Euro, when Population In Millions is greater than 10.8, and when GDP (Nominal) Per Capita 2012 Euro is 25,600?`

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

CREATE TABLE "economic_variation" (
  "s_member_state" text,
  "gdp_2012_millions_of_euro" text,
  "population_in_millions" real,
  "gdp_ppp_per_capita_2012_euro" text,
  "gdp_nominal_per_capita_2012_euro" text,
  "gdp_ppp_per_capita_2012_eu27_100" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is GDP (PPP) Per Capita 2012 Euro, when Population In Millions is greater than 10.8, and when GDP (Nominal) Per Capita 2012 Euro is 25,600?`:
```sql
                SELECT "gdp_ppp_per_capita_2012_euro" FROM "economic_variation" WHERE "population_in_millions">10.8 AND "gdp_nominal_per_capita_2012_euro"='25,600';
```
## Task
Generate a SQL query to answer the following question:
`What is GDP 2012 Millions of Euro, when Population in Millions is less than 1.3, and when GDP (Nominal) Per Capita 2012 Euro is 20,700(p)?`

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

CREATE TABLE "economic_variation" (
  "s_member_state" text,
  "gdp_2012_millions_of_euro" text,
  "population_in_millions" real,
  "gdp_ppp_per_capita_2012_euro" text,
  "gdp_nominal_per_capita_2012_euro" text,
  "gdp_ppp_per_capita_2012_eu27_100" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is GDP 2012 Millions of Euro, when Population in Millions is less than 1.3, and when GDP (Nominal) Per Capita 2012 Euro is 20,700(p)?`:
```sql
                SELECT "gdp_2012_millions_of_euro" FROM "economic_variation" WHERE "population_in_millions"<1.3 AND "gdp_nominal_per_capita_2012_euro"='20,700(p)';
```
## Task
Generate a SQL query to answer the following question:
`What is GDP (PPP) Per Capita 2012 EU27 = 100, when GDP 2012 Millions Of Euro is 309,900?`

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

CREATE TABLE "economic_variation" (
  "s_member_state" text,
  "gdp_2012_millions_of_euro" text,
  "population_in_millions" real,
  "gdp_ppp_per_capita_2012_euro" text,
  "gdp_nominal_per_capita_2012_euro" text,
  "gdp_ppp_per_capita_2012_eu27_100" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is GDP (PPP) Per Capita 2012 EU27 = 100, when GDP 2012 Millions Of Euro is 309,900?`:
```sql
                SELECT "gdp_ppp_per_capita_2012_eu27_100" FROM "economic_variation" WHERE "gdp_2012_millions_of_euro"='309,900';
```
## Task
Generate a SQL query to answer the following question:
`What is Population in Millions, when GDP 2012 Millions of Euro is 600,638?`

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

CREATE TABLE "economic_variation" (
  "s_member_state" text,
  "gdp_2012_millions_of_euro" text,
  "population_in_millions" real,
  "gdp_ppp_per_capita_2012_euro" text,
  "gdp_nominal_per_capita_2012_euro" text,
  "gdp_ppp_per_capita_2012_eu27_100" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Population in Millions, when GDP 2012 Millions of Euro is 600,638?`:
```sql
                SELECT "population_in_millions" FROM "economic_variation" WHERE "gdp_2012_millions_of_euro"='600,638';
```
## Task
Generate a SQL query to answer the following question:
`What was the Money for Player Ernie Els?`

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

CREATE TABLE "final_round_sunday" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Money for Player Ernie Els?`:
```sql
                SELECT "money" FROM "final_round_sunday" WHERE "player"='ernie els';
```
## Task
Generate a SQL query to answer the following question:
`What T9 Player had a Score of 70-74-69-70=283?`

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

CREATE TABLE "final_round_sunday" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `What T9 Player had a Score of 70-74-69-70=283?`:
```sql
                SELECT "player" FROM "final_round_sunday" WHERE "place"='t9' AND "score"='70-74-69-70=283';
```
## Task
Generate a SQL query to answer the following question:
`What is the Money for the T1 Player with a Score of 66-69-70-75=280?`

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

CREATE TABLE "final_round_sunday" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Money for the T1 Player with a Score of 66-69-70-75=280?`:
```sql
                SELECT "money" FROM "final_round_sunday" WHERE "place"='t1' AND "score"='66-69-70-75=280';
```
## Task
Generate a SQL query to answer the following question:
`What is Chris Riley's Money?`

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

CREATE TABLE "final_round_sunday" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Chris Riley's Money?`:
```sql
                SELECT "money" FROM "final_round_sunday" WHERE "player"='chris riley';
```
## Task
Generate a SQL query to answer the following question:
`What aired at 10:00 when Flashpoint aired at 9:30?`

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

CREATE TABLE "friday" (
  "8_00" text,
  "8_30" text,
  "9_00" text,
  "9_30" text,
  "10_00" text
);
### SQL
Given the database schema, here is the SQL query that answers `What aired at 10:00 when Flashpoint aired at 9:30?`:
```sql
                SELECT "10_00" FROM "friday" WHERE "9_30"='flashpoint';
```
## Task
Generate a SQL query to answer the following question:
`When Don't Forget the Lyrics aired at 8:30 what aired at 9:00?`

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

CREATE TABLE "friday" (
  "8_00" text,
  "8_30" text,
  "9_00" text,
  "9_30" text,
  "10_00" text
);
### SQL
Given the database schema, here is the SQL query that answers `When Don't Forget the Lyrics aired at 8:30 what aired at 9:00?`:
```sql
                SELECT "9_00" FROM "friday" WHERE "8_30"='don''t forget the lyrics';
```
## Task
Generate a SQL query to answer the following question:
`What aired at 8:00 when The Goode Family aired at 8:30?`

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

CREATE TABLE "friday" (
  "8_00" text,
  "8_30" text,
  "9_00" text,
  "9_30" text,
  "10_00" text
);
### SQL
Given the database schema, here is the SQL query that answers `What aired at 8:00 when The Goode Family aired at 8:30?`:
```sql
                SELECT "8_00" FROM "friday" WHERE "8_30"='the goode family';
```
## Task
Generate a SQL query to answer the following question:
`When Surviving Suburbia aired at 8:00 what aired at 10:00?`

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

CREATE TABLE "friday" (
  "8_00" text,
  "8_30" text,
  "9_00" text,
  "9_30" text,
  "10_00" text
);
### SQL
Given the database schema, here is the SQL query that answers `When Surviving Suburbia aired at 8:00 what aired at 10:00?`:
```sql
                SELECT "10_00" FROM "friday" WHERE "8_00"='surviving suburbia';
```
## Task
Generate a SQL query to answer the following question:
`What aired at 9:30 when Don't Forget the Lyrics aired at 8:00?`

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

CREATE TABLE "friday" (
  "8_00" text,
  "8_30" text,
  "9_00" text,
  "9_30" text,
  "10_00" text
);
### SQL
Given the database schema, here is the SQL query that answers `What aired at 9:30 when Don't Forget the Lyrics aired at 8:00?`:
```sql
                SELECT "9_30" FROM "friday" WHERE "8_00"='don''t forget the lyrics';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest amount of Span metres when the year opened is 2007, the country is China, rank is less than 13, and the span feet is less than 1378?`

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

CREATE TABLE "completed_bridges" (
  "rank" real,
  "name" text,
  "span_metres" real,
  "span_feet" real,
  "material" text,
  "year_opened" text,
  "country" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest amount of Span metres when the year opened is 2007, the country is China, rank is less than 13, and the span feet is less than 1378?`:
```sql
                SELECT MIN("span_metres") FROM "completed_bridges" WHERE "year_opened"='2007' AND "country"='china' AND "rank"<13 AND "span_feet"<1378;
```
## Task
Generate a SQL query to answer the following question:
`Which country's material was concrete when the span metres were less than 270, span feet is more than 837, and the year opened was 1943?`

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

CREATE TABLE "completed_bridges" (
  "rank" real,
  "name" text,
  "span_metres" real,
  "span_feet" real,
  "material" text,
  "year_opened" text,
  "country" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which country's material was concrete when the span metres were less than 270, span feet is more than 837, and the year opened was 1943?`:
```sql
                SELECT "country" FROM "completed_bridges" WHERE "material"='concrete' AND "span_metres"<270 AND "span_feet">837 AND "year_opened"='1943';
```
## Task
Generate a SQL query to answer the following question:
`What country won in 1993?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country won in 1993?`:
```sql
                SELECT "country" FROM "made_the_cut" WHERE "year_s_won"='1993';
```
## Task
Generate a SQL query to answer the following question:
`What was the finish with a total larger than 286, a to par of +4 and Bob Tway played?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the finish with a total larger than 286, a to par of +4 and Bob Tway played?`:
```sql
                SELECT "finish" FROM "made_the_cut" WHERE "total">286 AND "to_par"='+4' AND "player"='bob tway';
```
## Task
Generate a SQL query to answer the following question:
`What player in the United States had a total of 286 and won in 2003?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What player in the United States had a total of 286 and won in 2003?`:
```sql
                SELECT "player" FROM "made_the_cut" WHERE "country"='united states' AND "total"=286 AND "year_s_won"='2003';
```
## Task
Generate a SQL query to answer the following question:
`What country has a total of 293?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country has a total of 293?`:
```sql
                SELECT "country" FROM "made_the_cut" WHERE "total"=293;
```
## Task
Generate a SQL query to answer the following question:
`What player is from Fiji?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What player is from Fiji?`:
```sql
                SELECT "player" FROM "made_the_cut" WHERE "country"='fiji';
```
## Task
Generate a SQL query to answer the following question:
`What is the average year that the USD exchange of ￥88.54 had a gross domestic product larger than 477,327,134?`

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

CREATE TABLE "macro_economic_trend" (
  "year" real,
  "gross_domestic_product" real,
  "us_dollar_exchange" text,
  "nominal_per_capita_gdp_as_pct_of_usa" real,
  "ppp_capita_gdp_as_pct_of_usa" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average year that the USD exchange of ￥88.54 had a gross domestic product larger than 477,327,134?`:
```sql
                SELECT AVG("year") FROM "macro_economic_trend" WHERE "us_dollar_exchange"='￥88.54' AND "gross_domestic_product">'477,327,134';
```
## Task
Generate a SQL query to answer the following question:
`How many years did the USD Exchange have ￥225.82 and a gross domestic product larger than 240,707,315?`

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

CREATE TABLE "macro_economic_trend" (
  "year" real,
  "gross_domestic_product" real,
  "us_dollar_exchange" text,
  "nominal_per_capita_gdp_as_pct_of_usa" real,
  "ppp_capita_gdp_as_pct_of_usa" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many years did the USD Exchange have ￥225.82 and a gross domestic product larger than 240,707,315?`:
```sql
                SELECT COUNT("year") FROM "macro_economic_trend" WHERE "us_dollar_exchange"='￥225.82' AND "gross_domestic_product">'240,707,315';
```
## Task
Generate a SQL query to answer the following question:
`Which method was used in the welterweight class with a preliminary card?`

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

CREATE TABLE "results" (
  "card" text,
  "weight_class" text,
  "round" real,
  "time" text,
  "method" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which method was used in the welterweight class with a preliminary card?`:
```sql
                SELECT "method" FROM "results" WHERE "weight_class"='welterweight' AND "card"='preliminary';
```
## Task
Generate a SQL query to answer the following question:
`Which method was used in a round greater than 3?`

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

CREATE TABLE "results" (
  "card" text,
  "weight_class" text,
  "round" real,
  "time" text,
  "method" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which method was used in a round greater than 3?`:
```sql
                SELECT "method" FROM "results" WHERE "round">3;
```
## Task
Generate a SQL query to answer the following question:
`Which weight class had a time of 4:59?`

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

CREATE TABLE "results" (
  "card" text,
  "weight_class" text,
  "round" real,
  "time" text,
  "method" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which weight class had a time of 4:59?`:
```sql
                SELECT "weight_class" FROM "results" WHERE "time"='4:59';
```
## Task
Generate a SQL query to answer the following question:
`What was the time for a round less than 3?`

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

CREATE TABLE "results" (
  "card" text,
  "weight_class" text,
  "round" real,
  "time" text,
  "method" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the time for a round less than 3?`:
```sql
                SELECT "time" FROM "results" WHERE "round"<3;
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest round for the welterweight class with a preliminary card?`

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

CREATE TABLE "results" (
  "card" text,
  "weight_class" text,
  "round" real,
  "time" text,
  "method" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest round for the welterweight class with a preliminary card?`:
```sql
                SELECT MIN("round") FROM "results" WHERE "weight_class"='welterweight' AND "card"='preliminary';
```
## Task
Generate a SQL query to answer the following question:
`Were there Bulletins to all contacts of the proprietary license created by Microsoft with no transport layer of security?`

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

CREATE TABLE "see_also" (
  "protocol" text,
  "creator" text,
  "license" text,
  "transport_layer_security" text,
  "bulletins_to_all_contacts" text,
  "batch_file_sharing" text
);
### SQL
Given the database schema, here is the SQL query that answers `Were there Bulletins to all contacts of the proprietary license created by Microsoft with no transport layer of security?`:
```sql
                SELECT "bulletins_to_all_contacts" FROM "see_also" WHERE "transport_layer_security"='no' AND "license"='proprietary' AND "creator"='microsoft';
```
## Task
Generate a SQL query to answer the following question:
`Were there Bulletins to all contacts of the license created by GG Network?`

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

CREATE TABLE "see_also" (
  "protocol" text,
  "creator" text,
  "license" text,
  "transport_layer_security" text,
  "bulletins_to_all_contacts" text,
  "batch_file_sharing" text
);
### SQL
Given the database schema, here is the SQL query that answers `Were there Bulletins to all contacts of the license created by GG Network?`:
```sql
                SELECT "bulletins_to_all_contacts" FROM "see_also" WHERE "creator"='gg network';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the license created by IETF?`

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

CREATE TABLE "see_also" (
  "protocol" text,
  "creator" text,
  "license" text,
  "transport_layer_security" text,
  "bulletins_to_all_contacts" text,
  "batch_file_sharing" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the license created by IETF?`:
```sql
                SELECT "license" FROM "see_also" WHERE "creator"='ietf';
```
## Task
Generate a SQL query to answer the following question:
`What is the envelopment for the rhabdoviridae family?`

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

CREATE TABLE "comparison_table_of_clinically_important" (
  "family" text,
  "baltimore_group" text,
  "envelopment" text,
  "virion_shape" text,
  "replication_site" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the envelopment for the rhabdoviridae family?`:
```sql
                SELECT "envelopment" FROM "comparison_table_of_clinically_important" WHERE "family"='rhabdoviridae';
```
## Task
Generate a SQL query to answer the following question:
`Which Baltimore group has a viron shape of icosahedral, replicates in the cytoplasm, is non-enveloped, and is from the astroviridae family?`

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

CREATE TABLE "comparison_table_of_clinically_important" (
  "family" text,
  "baltimore_group" text,
  "envelopment" text,
  "virion_shape" text,
  "replication_site" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Baltimore group has a viron shape of icosahedral, replicates in the cytoplasm, is non-enveloped, and is from the astroviridae family?`:
```sql
                SELECT "baltimore_group" FROM "comparison_table_of_clinically_important" WHERE "virion_shape"='icosahedral' AND "envelopment"='non-enveloped' AND "replication_site"='cytoplasm' AND "family"='astroviridae';
```
## Task
Generate a SQL query to answer the following question:
`Which Baltimore group is of the retroviridae family?`

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

CREATE TABLE "comparison_table_of_clinically_important" (
  "family" text,
  "baltimore_group" text,
  "envelopment" text,
  "virion_shape" text,
  "replication_site" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Baltimore group is of the retroviridae family?`:
```sql
                SELECT "baltimore_group" FROM "comparison_table_of_clinically_important" WHERE "family"='retroviridae';
```
## Task
Generate a SQL query to answer the following question:
`Which Baltimore group is of the togaviridae family?`

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

CREATE TABLE "comparison_table_of_clinically_important" (
  "family" text,
  "baltimore_group" text,
  "envelopment" text,
  "virion_shape" text,
  "replication_site" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Baltimore group is of the togaviridae family?`:
```sql
                SELECT "baltimore_group" FROM "comparison_table_of_clinically_important" WHERE "family"='togaviridae';
```
## Task
Generate a SQL query to answer the following question:
`Which Baltimore group is non-enveloped and is of the papillomaviridae family?`

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

CREATE TABLE "comparison_table_of_clinically_important" (
  "family" text,
  "baltimore_group" text,
  "envelopment" text,
  "virion_shape" text,
  "replication_site" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Baltimore group is non-enveloped and is of the papillomaviridae family?`:
```sql
                SELECT "baltimore_group" FROM "comparison_table_of_clinically_important" WHERE "envelopment"='non-enveloped' AND "family"='papillomaviridae';
```
## Task
Generate a SQL query to answer the following question:
`What is the replication site when the species is enveloped and is of the bunyaviridae family?`

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

CREATE TABLE "comparison_table_of_clinically_important" (
  "family" text,
  "baltimore_group" text,
  "envelopment" text,
  "virion_shape" text,
  "replication_site" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the replication site when the species is enveloped and is of the bunyaviridae family?`:
```sql
                SELECT "replication_site" FROM "comparison_table_of_clinically_important" WHERE "envelopment"='enveloped' AND "family"='bunyaviridae';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest League Cup with a Player that is steed malbranque?`

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

CREATE TABLE "most_appearances" (
  "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 highest League Cup with a Player that is steed malbranque?`:
```sql
                SELECT MAX("league_cup") FROM "most_appearances" WHERE "player"='steed malbranque';
```
## Task
Generate a SQL query to answer the following question:
`What is the Manufacturer with a Fuel Type that is diesel?`

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

CREATE TABLE "fleet_statistics" (
  "manufacturer" text,
  "model" text,
  "year_built" real,
  "vehicle_length" text,
  "fuel_type" text,
  "num_in_fleet" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Manufacturer with a Fuel Type that is diesel?`:
```sql
                SELECT "manufacturer" FROM "fleet_statistics" WHERE "fuel_type"='diesel';
```
## Task
Generate a SQL query to answer the following question:
`What is the Higgins with a Scallon that is 2%?`

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

CREATE TABLE "opinion_polls" (
  "date" text,
  "source" text,
  "polling_agency" text,
  "davis" text,
  "gallagher" text,
  "higgins" text,
  "mc_guinness" text,
  "mitchell" text,
  "norris" text,
  "scallon" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Higgins with a Scallon that is 2%?`:
```sql
                SELECT "higgins" FROM "opinion_polls" WHERE "scallon"='2%';
```
## Task
Generate a SQL query to answer the following question:
`What is the Higgins with a Davis that is 9%?`

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

CREATE TABLE "opinion_polls" (
  "date" text,
  "source" text,
  "polling_agency" text,
  "davis" text,
  "gallagher" text,
  "higgins" text,
  "mc_guinness" text,
  "mitchell" text,
  "norris" text,
  "scallon" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Higgins with a Davis that is 9%?`:
```sql
                SELECT "higgins" FROM "opinion_polls" WHERE "davis"='9%';
```
## Task
Generate a SQL query to answer the following question:
`What is the Source with a Norris that is 7%?`

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

CREATE TABLE "opinion_polls" (
  "date" text,
  "source" text,
  "polling_agency" text,
  "davis" text,
  "gallagher" text,
  "higgins" text,
  "mc_guinness" text,
  "mitchell" text,
  "norris" text,
  "scallon" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Source with a Norris that is 7%?`:
```sql
                SELECT "source" FROM "opinion_polls" WHERE "norris"='7%';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest total attendance of the team with a game 1 attendance of 105,011 and a game 3 greater than 102,989?`

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

CREATE TABLE "attendance" (
  "team" text,
  "game_1" real,
  "game_2" real,
  "game_3" real,
  "game_4" real,
  "game_5" real,
  "game_6" text,
  "total" real,
  "average" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest total attendance of the team with a game 1 attendance of 105,011 and a game 3 greater than 102,989?`:
```sql
                SELECT MAX("total") FROM "attendance" WHERE "game_1"='105,011' AND "game_3">'102,989';
```
## Task
Generate a SQL query to answer the following question:
`What is the average game 3 attendance of the team with a total attendance less than 524,005, a game 4 attendance of 70,585, and a game 1 attendance less than 70,585?`

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

CREATE TABLE "attendance" (
  "team" text,
  "game_1" real,
  "game_2" real,
  "game_3" real,
  "game_4" real,
  "game_5" real,
  "game_6" text,
  "total" real,
  "average" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average game 3 attendance of the team with a total attendance less than 524,005, a game 4 attendance of 70,585, and a game 1 attendance less than 70,585?`:
```sql
                SELECT AVG("game_3") FROM "attendance" WHERE "total"<'524,005' AND "game_4"='70,585' AND "game_1"<'70,585';
```