cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the Date of the 1999 fifa confederations cup?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date of the 1999 fifa confederations cup?`:
```sql
                SELECT "date" FROM "international_goals" WHERE "competition"='1999 fifa confederations cup';
```
## Task
Generate a SQL query to answer the following question:
`What is the Venue for the 2002 fifa world cup qualifier, and a Result of 8-2?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Venue for the 2002 fifa world cup qualifier, and a Result of 8-2?`:
```sql
                SELECT "venue" FROM "international_goals" WHERE "competition"='2002 fifa world cup qualifier' AND "result"='8-2';
```
## Task
Generate a SQL query to answer the following question:
`What is the Score on 11 march 2001?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Score on 11 march 2001?`:
```sql
                SELECT "score" FROM "international_goals" WHERE "date"='11 march 2001';
```
## Task
Generate a SQL query to answer the following question:
`What is the round 4 that has from less than 1990, and double for round 3?`

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

CREATE TABLE "scoring_format" (
  "from" real,
  "goal" real,
  "round_1" text,
  "round_2" text,
  "round_3" text,
  "round_4" text,
  "round_5" text,
  "round_6" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the round 4 that has from less than 1990, and double for round 3?`:
```sql
                SELECT "round_4" FROM "scoring_format" WHERE "from"<1990 AND "round_3"='double';
```
## Task
Generate a SQL query to answer the following question:
`What is the round 6+ that has single as round 2, double as round 4, from 1982?`

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

CREATE TABLE "scoring_format" (
  "from" real,
  "goal" real,
  "round_1" text,
  "round_2" text,
  "round_3" text,
  "round_4" text,
  "round_5" text,
  "round_6" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the round 6+ that has single as round 2, double as round 4, from 1982?`:
```sql
                SELECT "round_6" FROM "scoring_format" WHERE "round_2"='single' AND "round_4"='double' AND "from"=1982;
```
## Task
Generate a SQL query to answer the following question:
`Which round 1 has a from prior to 1984, double as round 3, with a goal lwss than 300?`

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

CREATE TABLE "scoring_format" (
  "from" real,
  "goal" real,
  "round_1" text,
  "round_2" text,
  "round_3" text,
  "round_4" text,
  "round_5" text,
  "round_6" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which round 1 has a from prior to 1984, double as round 3, with a goal lwss than 300?`:
```sql
                SELECT "round_1" FROM "scoring_format" WHERE "from"<1984 AND "round_3"='double' AND "goal"<300;
```
## Task
Generate a SQL query to answer the following question:
`What is the round 6+ that has a from prior to 1993, double for round 3, and a double for round 5?`

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

CREATE TABLE "scoring_format" (
  "from" real,
  "goal" real,
  "round_1" text,
  "round_2" text,
  "round_3" text,
  "round_4" text,
  "round_5" text,
  "round_6" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the round 6+ that has a from prior to 1993, double for round 3, and a double for round 5?`:
```sql
                SELECT "round_6" FROM "scoring_format" WHERE "from"<1993 AND "round_3"='double' AND "round_5"='double';
```
## Task
Generate a SQL query to answer the following question:
`What is the symbol of the element with an empirical t of 190 and a calculated value of 135?`

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

CREATE TABLE "atomic_radii" (
  "number" real,
  "symbol" text,
  "name" text,
  "empirical" text,
  "calculated" text,
  "van_der_waals" text,
  "covalent_single_bond" text,
  "covalent_triple_bond" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the symbol of the element with an empirical t of 190 and a calculated value of 135?`:
```sql
                SELECT "symbol" FROM "atomic_radii" WHERE "empirical"='190' AND "calculated"='135';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the element with a calculated value of 56?`

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

CREATE TABLE "atomic_radii" (
  "number" real,
  "symbol" text,
  "name" text,
  "empirical" text,
  "calculated" text,
  "van_der_waals" text,
  "covalent_single_bond" text,
  "covalent_triple_bond" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the element with a calculated value of 56?`:
```sql
                SELECT "name" FROM "atomic_radii" WHERE "calculated"='56';
```
## Task
Generate a SQL query to answer the following question:
`What is the covalent (single bond) value of sodium?`

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

CREATE TABLE "atomic_radii" (
  "number" real,
  "symbol" text,
  "name" text,
  "empirical" text,
  "calculated" text,
  "van_der_waals" text,
  "covalent_single_bond" text,
  "covalent_triple_bond" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the covalent (single bond) value of sodium?`:
```sql
                SELECT "covalent_single_bond" FROM "atomic_radii" WHERE "name"='sodium';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest jersey # of the player with a height of 191 cm from the New Jersey Devils in 2008-2009?`

### 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,
  "2008_2009_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest jersey # of the player with a height of 191 cm from the New Jersey Devils in 2008-2009?`:
```sql
                SELECT MIN("jersey_num") FROM "list_of_united_states_national_ice_hocke" WHERE "height_cm"=191 AND "2008_2009_team"='new jersey devils';
```
## Task
Generate a SQL query to answer the following question:
`What is the total height of the player with a birthdate on September 2, 1973?`

### 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,
  "2008_2009_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total height of the player with a birthdate on September 2, 1973?`:
```sql
                SELECT COUNT("height_cm") FROM "list_of_united_states_national_ice_hocke" WHERE "birthdate"='september 2, 1973';
```
## Task
Generate a SQL query to answer the following question:
`What is the birthdate of Robert Esche?`

### 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,
  "2008_2009_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the birthdate of Robert Esche?`:
```sql
                SELECT "birthdate" FROM "list_of_united_states_national_ice_hocke" WHERE "name"='robert esche';
```
## Task
Generate a SQL query to answer the following question:
`What is the position of the player with a jersey # greater than 30 and a December 23, 1986 birthdate?`

### 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,
  "2008_2009_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the position of the player with a jersey # greater than 30 and a December 23, 1986 birthdate?`:
```sql
                SELECT "position" FROM "list_of_united_states_national_ice_hocke" WHERE "jersey_num">30 AND "birthdate"='december 23, 1986';
```
## Task
Generate a SQL query to answer the following question:
`What is the weight of John-Michael Liles?`

### 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,
  "2008_2009_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the weight of John-Michael Liles?`:
```sql
                SELECT "weight_kg" FROM "list_of_united_states_national_ice_hocke" WHERE "name"='john-michael liles';
```
## Task
Generate a SQL query to answer the following question:
`What was the first leg score during the quarter-final game?`

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

CREATE TABLE "liverpool" (
  "round" text,
  "opposition" text,
  "first_leg" text,
  "second_leg" text,
  "aggregate_score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the first leg score during the quarter-final game?`:
```sql
                SELECT "first_leg" FROM "liverpool" WHERE "round"='quarter-final';
```
## Task
Generate a SQL query to answer the following question:
`What was the aggregate score for the game against Dynamo Dresden?`

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

CREATE TABLE "liverpool" (
  "round" text,
  "opposition" text,
  "first_leg" text,
  "second_leg" text,
  "aggregate_score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the aggregate score for the game against Dynamo Dresden?`:
```sql
                SELECT "aggregate_score" FROM "liverpool" WHERE "opposition"='dynamo dresden';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opposing team in the 3rd round?`

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

CREATE TABLE "liverpool" (
  "round" text,
  "opposition" text,
  "first_leg" text,
  "second_leg" text,
  "aggregate_score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opposing team in the 3rd round?`:
```sql
                SELECT "opposition" FROM "liverpool" WHERE "round"='3rd';
```
## Task
Generate a SQL query to answer the following question:
`Which nation has 0 golds and more than 1 silver?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which nation has 0 golds and more than 1 silver?`:
```sql
                SELECT "nation" FROM "medal_table" WHERE "gold"=0 AND "silver">1;
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest total that has under 3 golds, more than 0 silvers and bronzes?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest total that has under 3 golds, more than 0 silvers and bronzes?`:
```sql
                SELECT MIN("total") FROM "medal_table" WHERE "gold"<3 AND "bronze">0 AND "silver">0;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of silvers associated with 3 bronzes, a total over 6, and a rank of 3?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of silvers associated with 3 bronzes, a total over 6, and a rank of 3?`:
```sql
                SELECT COUNT("silver") FROM "medal_table" WHERE "bronze"=3 AND "rank"='3' AND "total">6;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of bronzes associated with 0 golds and a rank of 10?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of bronzes associated with 0 golds and a rank of 10?`:
```sql
                SELECT SUM("bronze") FROM "medal_table" WHERE "rank"='10' AND "gold"<0;
```
## Task
Generate a SQL query to answer the following question:
`What is the largest silver value associated with 0 golds?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest silver value associated with 0 golds?`:
```sql
                SELECT MAX("silver") FROM "medal_table" WHERE "gold"<0;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of bronzes from the Netherlands?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of bronzes from the Netherlands?`:
```sql
                SELECT COUNT("bronze") FROM "medal_table" WHERE "nation"='netherlands';
```
## Task
Generate a SQL query to answer the following question:
`What is the average amount of earnings for years under 2004 and money list rankings of 6?`

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

CREATE TABLE "lpga_tour_career_summary" (
  "year" real,
  "wins" real,
  "earnings" real,
  "money_list_rank" text,
  "average" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average amount of earnings for years under 2004 and money list rankings of 6?`:
```sql
                SELECT AVG("earnings") FROM "lpga_tour_career_summary" WHERE "money_list_rank"='6' AND "year"<2004;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of wins for years after 1999 with averages over 73.02?`

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

CREATE TABLE "lpga_tour_career_summary" (
  "year" real,
  "wins" real,
  "earnings" real,
  "money_list_rank" text,
  "average" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of wins for years after 1999 with averages over 73.02?`:
```sql
                SELECT MAX("wins") FROM "lpga_tour_career_summary" WHERE "average">73.02 AND "year">1999;
```
## Task
Generate a SQL query to answer the following question:
`Who was the away team when the home team Manchester United played?`

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

CREATE TABLE "fourth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the away team when the home team Manchester United played?`:
```sql
                SELECT "away_team" FROM "fourth_round_proper" WHERE "home_team"='manchester united';
```
## Task
Generate a SQL query to answer the following question:
`When there was a tie of 16 what was the attendance?`

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

CREATE TABLE "fourth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `When there was a tie of 16 what was the attendance?`:
```sql
                SELECT "attendance" FROM "fourth_round_proper" WHERE "tie_no"='16';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the score when there was a Tie number of 6?`

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

CREATE TABLE "fourth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the score when there was a Tie number of 6?`:
```sql
                SELECT "score" FROM "fourth_round_proper" WHERE "tie_no"='6';
```
## Task
Generate a SQL query to answer the following question:
`For the Tie number of 14 who was the away team?`

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

CREATE TABLE "fourth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `For the Tie number of 14 who was the away team?`:
```sql
                SELECT "away_team" FROM "fourth_round_proper" WHERE "tie_no"='14';
```
## Task
Generate a SQL query to answer the following question:
`What Catalog released on June 29, 1999 has a Digipak Album Format?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Catalog released on June 29, 1999 has a Digipak Album Format?`:
```sql
                SELECT "catalog" FROM "release_history" WHERE "format"='digipak album' AND "date"='june 29, 1999';
```
## Task
Generate a SQL query to answer the following question:
`What is the release Date of Catalog RR 8655-2?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the release Date of Catalog RR 8655-2?`:
```sql
                SELECT "date" FROM "release_history" WHERE "catalog"='rr 8655-2';
```
## Task
Generate a SQL query to answer the following question:
`What is Score, when Group Song is 就是你, and when Index is F2?`

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

CREATE TABLE "episode_7_1_march_2008" (
  "index" text,
  "name" text,
  "song" text,
  "group_song" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Score, when Group Song is 就是你, and when Index is F2?`:
```sql
                SELECT "score" FROM "episode_7_1_march_2008" WHERE "group_song"='就是你' AND "index"='f2';
```
## Task
Generate a SQL query to answer the following question:
`What is Score, when Name is Nicole 赖淞凤?`

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

CREATE TABLE "episode_7_1_march_2008" (
  "index" text,
  "name" text,
  "song" text,
  "group_song" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Score, when Name is Nicole 赖淞凤?`:
```sql
                SELECT "score" FROM "episode_7_1_march_2008" WHERE "name"='nicole 赖淞凤';
```
## Task
Generate a SQL query to answer the following question:
`What is Score, when Song is 第九夜?`

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

CREATE TABLE "episode_7_1_march_2008" (
  "index" text,
  "name" text,
  "song" text,
  "group_song" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Score, when Song is 第九夜?`:
```sql
                SELECT "score" FROM "episode_7_1_march_2008" WHERE "song"='第九夜';
```
## Task
Generate a SQL query to answer the following question:
`What is Group Song, when Song is 换季?`

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

CREATE TABLE "episode_7_1_march_2008" (
  "index" text,
  "name" text,
  "song" text,
  "group_song" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Group Song, when Song is 换季?`:
```sql
                SELECT "group_song" FROM "episode_7_1_march_2008" WHERE "song"='换季';
```
## Task
Generate a SQL query to answer the following question:
`What is Group Song, when Name is Alice 林芯糸?`

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

CREATE TABLE "episode_7_1_march_2008" (
  "index" text,
  "name" text,
  "song" text,
  "group_song" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Group Song, when Name is Alice 林芯糸?`:
```sql
                SELECT "group_song" FROM "episode_7_1_march_2008" WHERE "name"='alice 林芯糸';
```
## Task
Generate a SQL query to answer the following question:
`On what surface was the match played with a score of 2–6, 6–3, 6–4?`

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

CREATE TABLE "runner_up_16" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what surface was the match played with a score of 2–6, 6–3, 6–4?`:
```sql
                SELECT "surface" FROM "runner_up_16" WHERE "score"='2–6, 6–3, 6–4';
```
## Task
Generate a SQL query to answer the following question:
`On what surface was the match played with a score of 4–6, 6–3, 6–1?`

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

CREATE TABLE "runner_up_16" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what surface was the match played with a score of 4–6, 6–3, 6–1?`:
```sql
                SELECT "surface" FROM "runner_up_16" WHERE "score"='4–6, 6–3, 6–1';
```
## Task
Generate a SQL query to answer the following question:
`What was the score when the opponent in the final was iroda tulyaganova?`

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

CREATE TABLE "runner_up_16" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score when the opponent in the final was iroda tulyaganova?`:
```sql
                SELECT "score" FROM "runner_up_16" WHERE "opponent_in_the_final"='iroda tulyaganova';
```
## Task
Generate a SQL query to answer the following question:
`Which tournament has an opponent in the final of nadia petrova and a score of 6–3, 4–6, 6–1??`

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

CREATE TABLE "runner_up_16" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which tournament has an opponent in the final of nadia petrova and a score of 6–3, 4–6, 6–1??`:
```sql
                SELECT "tournament" FROM "runner_up_16" WHERE "opponent_in_the_final"='nadia petrova' AND "score"='6–3, 4–6, 6–1';
```
## Task
Generate a SQL query to answer the following question:
`What is 01-02, when 03-04 is 03-04?`

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

CREATE TABLE "education" (
  "school_year" text,
  "95_96" text,
  "99_00" text,
  "00_01" text,
  "01_02" text,
  "02_03" text,
  "03_04" text,
  "04_05" text,
  "05_06" text,
  "06_07" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 01-02, when 03-04 is 03-04?`:
```sql
                SELECT "01_02" FROM "education" WHERE "03_04"='03-04';
```
## Task
Generate a SQL query to answer the following question:
`What is 02-03, when School Year is % Learning In Latvian?`

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

CREATE TABLE "education" (
  "school_year" text,
  "95_96" text,
  "99_00" text,
  "00_01" text,
  "01_02" text,
  "02_03" text,
  "03_04" text,
  "04_05" text,
  "05_06" text,
  "06_07" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 02-03, when School Year is % Learning In Latvian?`:
```sql
                SELECT "02_03" FROM "education" WHERE "school_year"='% learning in latvian';
```
## Task
Generate a SQL query to answer the following question:
`What is 03-04, when 00-01 is 67.4?`

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

CREATE TABLE "education" (
  "school_year" text,
  "95_96" text,
  "99_00" text,
  "00_01" text,
  "01_02" text,
  "02_03" text,
  "03_04" text,
  "04_05" text,
  "05_06" text,
  "06_07" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 03-04, when 00-01 is 67.4?`:
```sql
                SELECT "03_04" FROM "education" WHERE "00_01"='67.4';
```
## Task
Generate a SQL query to answer the following question:
`What is 02-03, when 06-07 is 1198?`

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

CREATE TABLE "education" (
  "school_year" text,
  "95_96" text,
  "99_00" text,
  "00_01" text,
  "01_02" text,
  "02_03" text,
  "03_04" text,
  "04_05" text,
  "05_06" text,
  "06_07" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 02-03, when 06-07 is 1198?`:
```sql
                SELECT "02_03" FROM "education" WHERE "06_07"='1198';
```
## Task
Generate a SQL query to answer the following question:
`What is 04-05, when 05-06 is 205,189?`

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

CREATE TABLE "education" (
  "school_year" text,
  "95_96" text,
  "99_00" text,
  "00_01" text,
  "01_02" text,
  "02_03" text,
  "03_04" text,
  "04_05" text,
  "05_06" text,
  "06_07" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 04-05, when 05-06 is 205,189?`:
```sql
                SELECT "04_05" FROM "education" WHERE "05_06"='205,189';
```
## Task
Generate a SQL query to answer the following question:
`What is 03-04, when 95-96 is 337,660?`

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

CREATE TABLE "education" (
  "school_year" text,
  "95_96" text,
  "99_00" text,
  "00_01" text,
  "01_02" text,
  "02_03" text,
  "03_04" text,
  "04_05" text,
  "05_06" text,
  "06_07" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 03-04, when 95-96 is 337,660?`:
```sql
                SELECT "03_04" FROM "education" WHERE "95_96"='337,660';
```
## Task
Generate a SQL query to answer the following question:
`Who was the choreographer for the dance style of Jazz?`

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

CREATE TABLE "week_8_july_30_2008" (
  "couple" text,
  "style" text,
  "music" text,
  "choreographer_s" text,
  "results" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the choreographer for the dance style of Jazz?`:
```sql
                SELECT "choreographer_s" FROM "week_8_july_30_2008" WHERE "style"='jazz';
```
## Task
Generate a SQL query to answer the following question:
`Which music led to a safe result and was choreographed by Jason Gilkison?`

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

CREATE TABLE "week_8_july_30_2008" (
  "couple" text,
  "style" text,
  "music" text,
  "choreographer_s" text,
  "results" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which music led to a safe result and was choreographed by Jason Gilkison?`:
```sql
                SELECT "music" FROM "week_8_july_30_2008" WHERE "results"='safe' AND "choreographer_s"='jason gilkison';
```
## Task
Generate a SQL query to answer the following question:
`Which couple participated in the Contemporary style of dance?`

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

CREATE TABLE "week_8_july_30_2008" (
  "couple" text,
  "style" text,
  "music" text,
  "choreographer_s" text,
  "results" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which couple participated in the Contemporary style of dance?`:
```sql
                SELECT "couple" FROM "week_8_july_30_2008" WHERE "style"='contemporary';
```
## Task
Generate a SQL query to answer the following question:
`Which couple participated in the Paso Doble style and were safe?`

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

CREATE TABLE "week_8_july_30_2008" (
  "couple" text,
  "style" text,
  "music" text,
  "choreographer_s" text,
  "results" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which couple participated in the Paso Doble style and were safe?`:
```sql
                SELECT "couple" FROM "week_8_july_30_2008" WHERE "results"='safe' AND "style"='paso doble';
```
## Task
Generate a SQL query to answer the following question:
`What was the Date of the game held during Week 1, that had an Attendance greater than 50,637?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Date of the game held during Week 1, that had an Attendance greater than 50,637?`:
```sql
                SELECT "date" FROM "schedule" WHERE "attendance">'50,637' AND "week"=1;
```
## Task
Generate a SQL query to answer the following question:
`How many weeks had a game on November 26, 1978, and an attendance higher than 26,248?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many weeks had a game on November 26, 1978, and an attendance higher than 26,248?`:
```sql
                SELECT COUNT("week") FROM "schedule" WHERE "date"='november 26, 1978' AND "attendance">'26,248';
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest Attendance during Week 12?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lowest Attendance during Week 12?`:
```sql
                SELECT MIN("attendance") FROM "schedule" WHERE "week"=12;
```
## Task
Generate a SQL query to answer the following question:
`What was the name of the tournament that the final was played against Yi Jingqian?`

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

CREATE TABLE "singles_wins_6" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the name of the tournament that the final was played against Yi Jingqian?`:
```sql
                SELECT "tournament" FROM "singles_wins_6" WHERE "opponent_in_the_final"='yi jingqian';
```
## Task
Generate a SQL query to answer the following question:
`Who was the final opponent in the tournament in Taipei, Taiwan on November 14, 1994?`

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

CREATE TABLE "singles_wins_6" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the final opponent in the tournament in Taipei, Taiwan on November 14, 1994?`:
```sql
                SELECT "opponent_in_the_final" FROM "singles_wins_6" WHERE "tournament"='taipei, taiwan' AND "date"='november 14, 1994';
```
## Task
Generate a SQL query to answer the following question:
`On October 14, 1996 who was the opponent in the final?`

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

CREATE TABLE "singles_wins_6" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `On October 14, 1996 who was the opponent in the final?`:
```sql
                SELECT "opponent_in_the_final" FROM "singles_wins_6" WHERE "date"='october 14, 1996';
```
## Task
Generate a SQL query to answer the following question:
`When playing against Yi Jingqian in the final on a hard surface what was the score?`

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

CREATE TABLE "singles_wins_6" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `When playing against Yi Jingqian in the final on a hard surface what was the score?`:
```sql
                SELECT "score" FROM "singles_wins_6" WHERE "surface"='hard' AND "opponent_in_the_final"='yi jingqian';
```
## Task
Generate a SQL query to answer the following question:
`Who was played against in the final on November 14, 1994?`

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

CREATE TABLE "singles_wins_6" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was played against in the final on November 14, 1994?`:
```sql
                SELECT "opponent_in_the_final" FROM "singles_wins_6" WHERE "date"='november 14, 1994';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Entered when the eliminated number is 3?`

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

CREATE TABLE "elimination_chamber_entrances_and_elimin" (
  "eliminated" text,
  "wrestler" text,
  "entered" real,
  "eliminated_by" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of Entered when the eliminated number is 3?`:
```sql
                SELECT COUNT("entered") FROM "elimination_chamber_entrances_and_elimin" WHERE "eliminated"='3';
```
## Task
Generate a SQL query to answer the following question:
`What is the Eliminated when there are less than 4 entered and the wrestler was shawn michaels?`

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

CREATE TABLE "elimination_chamber_entrances_and_elimin" (
  "eliminated" text,
  "wrestler" text,
  "entered" real,
  "eliminated_by" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Eliminated when there are less than 4 entered and the wrestler was shawn michaels?`:
```sql
                SELECT "eliminated" FROM "elimination_chamber_entrances_and_elimin" WHERE "entered"<4 AND "wrestler"='shawn michaels';
```
## Task
Generate a SQL query to answer the following question:
`How many frequencies have a line of East London and destination of Crystal Palace?`

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

CREATE TABLE "services" (
  "platform" real,
  "frequency_per_hour" real,
  "destination" text,
  "service_pattern" text,
  "operator" text,
  "line" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many frequencies have a line of East London and destination of Crystal Palace?`:
```sql
                SELECT COUNT("frequency_per_hour") FROM "services" WHERE "line"='east london' AND "destination"='crystal palace';
```
## Task
Generate a SQL query to answer the following question:
`Which line has an operator of the London Overground and ends at the Crystal Palace?`

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

CREATE TABLE "services" (
  "platform" real,
  "frequency_per_hour" real,
  "destination" text,
  "service_pattern" text,
  "operator" text,
  "line" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which line has an operator of the London Overground and ends at the Crystal Palace?`:
```sql
                SELECT "line" FROM "services" WHERE "operator"='london overground' AND "destination"='crystal palace';
```
## Task
Generate a SQL query to answer the following question:
`How many weeks on top was the song with a volume:issue of 28:26?`

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

CREATE TABLE "see_also" (
  "volume_issue" text,
  "issue_date_s" text,
  "weeks_on_top" text,
  "song" text,
  "artist" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many weeks on top was the song with a volume:issue of 28:26?`:
```sql
                SELECT "weeks_on_top" FROM "see_also" WHERE "volume_issue"='28:26';
```
## Task
Generate a SQL query to answer the following question:
`Which song was 1 week on top and had a volume:issue of 29:8?`

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

CREATE TABLE "see_also" (
  "volume_issue" text,
  "issue_date_s" text,
  "weeks_on_top" text,
  "song" text,
  "artist" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which song was 1 week on top and had a volume:issue of 29:8?`:
```sql
                SELECT "song" FROM "see_also" WHERE "weeks_on_top"='1' AND "volume_issue"='29:8';
```
## Task
Generate a SQL query to answer the following question:
`Which song was by artist Gino Vannelli?`

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

CREATE TABLE "see_also" (
  "volume_issue" text,
  "issue_date_s" text,
  "weeks_on_top" text,
  "song" text,
  "artist" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which song was by artist Gino Vannelli?`:
```sql
                SELECT "song" FROM "see_also" WHERE "artist"='gino vannelli';
```
## Task
Generate a SQL query to answer the following question:
`What tournament did Bill Rogers play in when he had less than 7 Cuts, 0 Wins, and less than 1 Top-25?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `What tournament did Bill Rogers play in when he had less than 7 Cuts, 0 Wins, and less than 1 Top-25?`:
```sql
                SELECT "tournament" FROM "summary" WHERE "cuts_made"<7 AND "wins"=0 AND "top_25"<1;
```
## Task
Generate a SQL query to answer the following question:
`What is 9:00, when 8:30 is "My Thursday Night Movie"?`

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

CREATE TABLE "thursday" (
  "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 is 9:00, when 8:30 is "My Thursday Night Movie"?`:
```sql
                SELECT "9_00" FROM "thursday" WHERE "8_30"='my thursday night movie';
```
## Task
Generate a SQL query to answer the following question:
`What is 9:30, when 8:30 is "Bones (Reruns)"?`

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

CREATE TABLE "thursday" (
  "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 is 9:30, when 8:30 is "Bones (Reruns)"?`:
```sql
                SELECT "9_30" FROM "thursday" WHERE "8_30"='bones (reruns)';
```
## Task
Generate a SQL query to answer the following question:
`What is 8:30, when 9:00 is "The Office (Reruns)", and when 10:00 is "Law & Order (Reruns)"?`

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

CREATE TABLE "thursday" (
  "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 is 8:30, when 9:00 is "The Office (Reruns)", and when 10:00 is "Law & Order (Reruns)"?`:
```sql
                SELECT "8_30" FROM "thursday" WHERE "9_00"='the office (reruns)' AND "10_00"='law & order (reruns)';
```
## Task
Generate a SQL query to answer the following question:
`What is 10:00, when 9:30 is "Grey's Anatomy (Reruns)", and when 8:00 is "Samantha Who?"?`

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

CREATE TABLE "thursday" (
  "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 is 10:00, when 9:30 is "Grey's Anatomy (Reruns)", and when 8:00 is "Samantha Who?"?`:
```sql
                SELECT "10_00" FROM "thursday" WHERE "9_30"='grey''s anatomy (reruns)' AND "8_00"='samantha who?';
```
## Task
Generate a SQL query to answer the following question:
`What are the number of losses that have Ties of 1 and 3 or more poll wins?`

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

CREATE TABLE "advocates" (
  "advocate" text,
  "wins" real,
  "losses" real,
  "ties" real,
  "poll_wins" real,
  "poll_losses" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the number of losses that have Ties of 1 and 3 or more poll wins?`:
```sql
                SELECT COUNT("losses") FROM "advocates" WHERE "ties"=1 AND "poll_wins">3;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest poll losses of the 0 ties, poll wins greater than 1 and wins less than 2?`

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

CREATE TABLE "advocates" (
  "advocate" text,
  "wins" real,
  "losses" real,
  "ties" real,
  "poll_wins" real,
  "poll_losses" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest poll losses of the 0 ties, poll wins greater than 1 and wins less than 2?`:
```sql
                SELECT MIN("poll_losses") FROM "advocates" WHERE "ties"=0 AND "poll_wins">1 AND "wins"<2;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest poll of the advocate Andy Kindler with poll losses greater than 2 and ties less than 0?`

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

CREATE TABLE "advocates" (
  "advocate" text,
  "wins" real,
  "losses" real,
  "ties" real,
  "poll_wins" real,
  "poll_losses" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest poll of the advocate Andy Kindler with poll losses greater than 2 and ties less than 0?`:
```sql
                SELECT MAX("poll_wins") FROM "advocates" WHERE "poll_losses">2 AND "advocate"='andy kindler' AND "ties"<0;
```
## Task
Generate a SQL query to answer the following question:
`Which PBA Titles has a TV Finals larger than 6, and an Events larger than 20?`

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

CREATE TABLE "career_statistics" (
  "season" text,
  "events" real,
  "cashes" real,
  "match_play" real,
  "tv_finals" real,
  "pba_titles" real,
  "average" real,
  "earnings" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which PBA Titles has a TV Finals larger than 6, and an Events larger than 20?`:
```sql
                SELECT AVG("pba_titles") FROM "career_statistics" WHERE "tv_finals">6 AND "events">20;
```
## Task
Generate a SQL query to answer the following question:
`Which Events has Earnings of $113,259, and an Average larger than 229.5?`

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

CREATE TABLE "career_statistics" (
  "season" text,
  "events" real,
  "cashes" real,
  "match_play" real,
  "tv_finals" real,
  "pba_titles" real,
  "average" real,
  "earnings" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Events has Earnings of $113,259, and an Average larger than 229.5?`:
```sql
                SELECT MAX("events") FROM "career_statistics" WHERE "earnings"='$113,259' AND "average">229.5;
```
## Task
Generate a SQL query to answer the following question:
`Which Cashes has a Match Play smaller than 13, and a Events of 7?`

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

CREATE TABLE "career_statistics" (
  "season" text,
  "events" real,
  "cashes" real,
  "match_play" real,
  "tv_finals" real,
  "pba_titles" real,
  "average" real,
  "earnings" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Cashes has a Match Play smaller than 13, and a Events of 7?`:
```sql
                SELECT COUNT("cashes") FROM "career_statistics" WHERE "match_play"<13 AND "events"=7;
```