cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What was the Loser of the Game with a Result of 35-27?`

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

CREATE TABLE "1960s_giants_12_6" (
  "year" real,
  "date" text,
  "winner" text,
  "result" text,
  "loser" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Loser of the Game with a Result of 35-27?`:
```sql
                SELECT "loser" FROM "1960s_giants_12_6" WHERE "result"='35-27';
```
## Task
Generate a SQL query to answer the following question:
`In what Year was the Result of the game 16-14?`

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

CREATE TABLE "1960s_giants_12_6" (
  "year" real,
  "date" text,
  "winner" text,
  "result" text,
  "loser" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what Year was the Result of the game 16-14?`:
```sql
                SELECT MAX("year") FROM "1960s_giants_12_6" WHERE "result"='16-14';
```
## Task
Generate a SQL query to answer the following question:
`What Year had a Result of 34-25?`

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

CREATE TABLE "1960s_giants_12_6" (
  "year" real,
  "date" text,
  "winner" text,
  "result" text,
  "loser" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Year had a Result of 34-25?`:
```sql
                SELECT AVG("year") FROM "1960s_giants_12_6" WHERE "result"='34-25';
```
## Task
Generate a SQL query to answer the following question:
`What is the Winner of the Game on November 26?`

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

CREATE TABLE "1960s_giants_12_6" (
  "year" real,
  "date" text,
  "winner" text,
  "result" text,
  "loser" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Winner of the Game on November 26?`:
```sql
                SELECT "winner" FROM "1960s_giants_12_6" WHERE "date"='november 26';
```
## Task
Generate a SQL query to answer the following question:
`What was the 2012/13 result for the tournament that had a 2006/07 and 2007/08 finish of LQ, with the tournament not held in 2009/10?`

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

CREATE TABLE "performance_and_rankings_timeline" (
  "2004_05" text,
  "2006_07" text,
  "2007_08" text,
  "2009_10" text,
  "2010_11" text,
  "2011_12" text,
  "2012_13" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the 2012/13 result for the tournament that had a 2006/07 and 2007/08 finish of LQ, with the tournament not held in 2009/10?`:
```sql
                SELECT "2012_13" FROM "performance_and_rankings_timeline" WHERE "2007_08"='lq' AND "2006_07"='lq' AND "2009_10"='tournament not held';
```
## Task
Generate a SQL query to answer the following question:
`What was the 2006/07 finish for the tournament that had a 2009/10 finish of LQ and a 2010/11 finish of A?`

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

CREATE TABLE "performance_and_rankings_timeline" (
  "2004_05" text,
  "2006_07" text,
  "2007_08" text,
  "2009_10" text,
  "2010_11" text,
  "2011_12" text,
  "2012_13" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the 2006/07 finish for the tournament that had a 2009/10 finish of LQ and a 2010/11 finish of A?`:
```sql
                SELECT "2006_07" FROM "performance_and_rankings_timeline" WHERE "2009_10"='lq' AND "2010_11"='a';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Position, when Pilot is "Mario Kiessling"?`

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

CREATE TABLE "race_1_2_01_2010" (
  "position" real,
  "pilot" text,
  "glider" text,
  "speed" text,
  "distance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Position, when Pilot is "Mario Kiessling"?`:
```sql
                SELECT MAX("position") FROM "race_1_2_01_2010" WHERE "pilot"='mario kiessling';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Position, when Speed is "143.5km/h"?`

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

CREATE TABLE "race_1_2_01_2010" (
  "position" real,
  "pilot" text,
  "glider" text,
  "speed" text,
  "distance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Position, when Speed is "143.5km/h"?`:
```sql
                SELECT AVG("position") FROM "race_1_2_01_2010" WHERE "speed"='143.5km/h';
```
## Task
Generate a SQL query to answer the following question:
`What is Glider, when Speed is "147.3km/h"?`

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

CREATE TABLE "race_1_2_01_2010" (
  "position" real,
  "pilot" text,
  "glider" text,
  "speed" text,
  "distance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Glider, when Speed is "147.3km/h"?`:
```sql
                SELECT "glider" FROM "race_1_2_01_2010" WHERE "speed"='147.3km/h';
```
## Task
Generate a SQL query to answer the following question:
`What is Distance, when Pilot is "Stanislaw Wujczak"?`

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

CREATE TABLE "race_1_2_01_2010" (
  "position" real,
  "pilot" text,
  "glider" text,
  "speed" text,
  "distance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Distance, when Pilot is "Stanislaw Wujczak"?`:
```sql
                SELECT "distance" FROM "race_1_2_01_2010" WHERE "pilot"='stanislaw wujczak';
```
## Task
Generate a SQL query to answer the following question:
`Who has a Jersey number of 31?`

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

CREATE TABLE "m" (
  "player" text,
  "nationality" text,
  "jersey_number_s" text,
  "position" text,
  "years" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who has a Jersey number of 31?`:
```sql
                SELECT "player" FROM "m" WHERE "jersey_number_s"='31';
```
## Task
Generate a SQL query to answer the following question:
`What was the position in 1999?`

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

CREATE TABLE "m" (
  "player" text,
  "nationality" text,
  "jersey_number_s" text,
  "position" text,
  "years" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the position in 1999?`:
```sql
                SELECT "position" FROM "m" WHERE "years"='1999';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the away team with a Tie no of 7?`

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

CREATE TABLE "fifth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the away team with a Tie no of 7?`:
```sql
                SELECT "away_team" FROM "fifth_round_proper" WHERE "tie_no"='7';
```
## Task
Generate a SQL query to answer the following question:
`What is home team Chelsea's Tie no?`

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

CREATE TABLE "fifth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is home team Chelsea's Tie no?`:
```sql
                SELECT "tie_no" FROM "fifth_round_proper" WHERE "home_team"='chelsea';
```
## Task
Generate a SQL query to answer the following question:
`What away team has a Tie no of 5?`

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

CREATE TABLE "fifth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What away team has a Tie no of 5?`:
```sql
                SELECT "away_team" FROM "fifth_round_proper" WHERE "tie_no"='5';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Score that has the Player of raymond floyd?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Score that has the Player of raymond floyd?`:
```sql
                SELECT "score" FROM "third_round" WHERE "player"='raymond floyd';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Player that has the Country of united states, and the Score of 77-72-72=221?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Player that has the Country of united states, and the Score of 77-72-72=221?`:
```sql
                SELECT "player" FROM "third_round" WHERE "country"='united states' AND "score"='77-72-72=221';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Score that has the Country of united states, and the To par of 8?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Score that has the Country of united states, and the To par of 8?`:
```sql
                SELECT "score" FROM "third_round" WHERE "country"='united states' AND "to_par"=8;
```
## Task
Generate a SQL query to answer the following question:
`What was the time when his opponent was Cleber Luciano?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the time when his opponent was Cleber Luciano?`:
```sql
                SELECT "time" FROM "mixed_martial_arts_record" WHERE "opponent"='cleber luciano';
```
## Task
Generate a SQL query to answer the following question:
`What was the method in round 1 of the UFC 20 event?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the method in round 1 of the UFC 20 event?`:
```sql
                SELECT "method" FROM "mixed_martial_arts_record" WHERE "round"=1 AND "event"='ufc 20';
```
## Task
Generate a SQL query to answer the following question:
`What is Points, when Tries For is "correct as of 00:00 11 June 2008"?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Points, when Tries For is "correct as of 00:00 11 June 2008"?`:
```sql
                SELECT "points" FROM "league_table" WHERE "tries_for"='correct as of 00:00 11 june 2008';
```
## Task
Generate a SQL query to answer the following question:
`What is Try Bonus, when Lost is "5", and when Points is "73"?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Try Bonus, when Lost is "5", and when Points is "73"?`:
```sql
                SELECT "try_bonus" FROM "league_table" WHERE "lost"='5' AND "points"='73';
```
## Task
Generate a SQL query to answer the following question:
`What is Points, when Played is "20", and when Club is "Caldicot RFC"?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Points, when Played is "20", and when Club is "Caldicot RFC"?`:
```sql
                SELECT "points" FROM "league_table" WHERE "played"='20' AND "club"='caldicot rfc';
```
## Task
Generate a SQL query to answer the following question:
`What is Points, when Drawn is "1", and when Lost is "5"?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Points, when Drawn is "1", and when Lost is "5"?`:
```sql
                SELECT "points" FROM "league_table" WHERE "drawn"='1' AND "lost"='5';
```
## Task
Generate a SQL query to answer the following question:
`What is Lost, when Points For is "257"?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Lost, when Points For is "257"?`:
```sql
                SELECT "lost" FROM "league_table" WHERE "points_for"='257';
```
## Task
Generate a SQL query to answer the following question:
`What is Lost, when Losing Bonus is "3", and when Club is "Bettws RFC"?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Lost, when Losing Bonus is "3", and when Club is "Bettws RFC"?`:
```sql
                SELECT "lost" FROM "league_table" WHERE "losing_bonus"='3' AND "club"='bettws rfc';
```
## Task
Generate a SQL query to answer the following question:
`What was the record when the visitor was Atlanta Hawks?`

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

CREATE TABLE "december" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record when the visitor was Atlanta Hawks?`:
```sql
                SELECT "record" FROM "december" WHERE "visitor"='atlanta hawks';
```
## Task
Generate a SQL query to answer the following question:
`Who was the visitor when the score was 136–120?`

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

CREATE TABLE "december" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the visitor when the score was 136–120?`:
```sql
                SELECT "visitor" FROM "december" WHERE "score"='136–120';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home when the visitor was New York Knicks?`

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

CREATE TABLE "december" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the home when the visitor was New York Knicks?`:
```sql
                SELECT "home" FROM "december" WHERE "visitor"='new york knicks';
```
## Task
Generate a SQL query to answer the following question:
`When was the home Los Angeles Lakers?`

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

CREATE TABLE "december" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the home Los Angeles Lakers?`:
```sql
                SELECT "date" FROM "december" WHERE "home"='los angeles lakers';
```
## Task
Generate a SQL query to answer the following question:
`Who was the visitor on december 15, 1976?`

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

CREATE TABLE "december" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the visitor on december 15, 1976?`:
```sql
                SELECT "visitor" FROM "december" WHERE "date"='december 15, 1976';
```
## Task
Generate a SQL query to answer the following question:
`At Time Warner Cable Arena 12,096, what was the high points?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `At Time Warner Cable Arena 12,096, what was the high points?`:
```sql
                SELECT "high_points" FROM "game_log" WHERE "location_attendance"='time warner cable arena 12,096';
```
## Task
Generate a SQL query to answer the following question:
`On November 2 what was the record of the team?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `On November 2 what was the record of the team?`:
```sql
                SELECT "record" FROM "game_log" WHERE "date"='november 2';
```
## Task
Generate a SQL query to answer the following question:
`Average frequency with ERP W of 62?`

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

CREATE TABLE "texas" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `Average frequency with ERP W of 62?`:
```sql
                SELECT AVG("frequency_m_hz") FROM "texas" WHERE "erp_w"='62';
```
## Task
Generate a SQL query to answer the following question:
`Total frequency with ERP W of 62?`

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

CREATE TABLE "texas" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `Total frequency with ERP W of 62?`:
```sql
                SELECT COUNT("frequency_m_hz") FROM "texas" WHERE "erp_w"='62';
```
## Task
Generate a SQL query to answer the following question:
`Frequency for kamy?`

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

CREATE TABLE "texas" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `Frequency for kamy?`:
```sql
                SELECT "frequency_m_hz" FROM "texas" WHERE "call_sign"='kamy';
```
## Task
Generate a SQL query to answer the following question:
`What was the method of resolution when LaVerne Clark's record was 23-16-1?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the method of resolution when LaVerne Clark's record was 23-16-1?`:
```sql
                SELECT "method" FROM "mixed_martial_arts_record" WHERE "record"='23-16-1';
```
## Task
Generate a SQL query to answer the following question:
`how many subdivisions have an English Name of jiyang?`

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

CREATE TABLE "subdivisions" (
  "english_name" text,
  "simplified" text,
  "traditional" text,
  "pinyin" text,
  "area" text,
  "population" real,
  "density" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many subdivisions have an English Name of jiyang?`:
```sql
                SELECT COUNT("population") FROM "subdivisions" WHERE "english_name"='jiyang';
```
## Task
Generate a SQL query to answer the following question:
`What is the Population of the subdivision with the English Name of nanbin farm?`

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

CREATE TABLE "subdivisions" (
  "english_name" text,
  "simplified" text,
  "traditional" text,
  "pinyin" text,
  "area" text,
  "population" real,
  "density" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Population of the subdivision with the English Name of nanbin farm?`:
```sql
                SELECT MIN("population") FROM "subdivisions" WHERE "english_name"='nanbin farm';
```
## Task
Generate a SQL query to answer the following question:
`What is the Traditional when the Pinyin is hédōng qū?`

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

CREATE TABLE "subdivisions" (
  "english_name" text,
  "simplified" text,
  "traditional" text,
  "pinyin" text,
  "area" text,
  "population" real,
  "density" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Traditional when the Pinyin is hédōng qū?`:
```sql
                SELECT "traditional" FROM "subdivisions" WHERE "pinyin"='hédōng qū';
```
## Task
Generate a SQL query to answer the following question:
`What is the Traditional for area 35?`

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

CREATE TABLE "subdivisions" (
  "english_name" text,
  "simplified" text,
  "traditional" text,
  "pinyin" text,
  "area" text,
  "population" real,
  "density" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Traditional for area 35?`:
```sql
                SELECT "traditional" FROM "subdivisions" WHERE "area"='35';
```
## Task
Generate a SQL query to answer the following question:
`Which class has the verb meaning of to run?`

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

CREATE TABLE "german" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which class has the verb meaning of to run?`:
```sql
                SELECT "class" FROM "german" WHERE "verb_meaning"='to run';
```
## Task
Generate a SQL query to answer the following question:
`What is the entry for Part 1 for class 7d?`

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

CREATE TABLE "german" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the entry for Part 1 for class 7d?`:
```sql
                SELECT "part_1" FROM "german" WHERE "class"='7d';
```
## Task
Generate a SQL query to answer the following question:
`What is the part 3 entry that has a part 4 entry of giboran?`

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

CREATE TABLE "german" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the part 3 entry that has a part 4 entry of giboran?`:
```sql
                SELECT "part_3" FROM "german" WHERE "part_4"='giboran';
```
## Task
Generate a SQL query to answer the following question:
`What is the part 2 entry for class 3a?`

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

CREATE TABLE "german" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the part 2 entry for class 3a?`:
```sql
                SELECT "part_2" FROM "german" WHERE "class"='3a';
```
## Task
Generate a SQL query to answer the following question:
`What is the part 4 entry for class 7b?`

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

CREATE TABLE "german" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the part 4 entry for class 7b?`:
```sql
                SELECT "part_4" FROM "german" WHERE "class"='7b';
```
## Task
Generate a SQL query to answer the following question:
`On what date was the result a draw?`

### 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 `On what date was the result a draw?`:
```sql
                SELECT "date" FROM "international_goals" WHERE "result"='draw';
```
## Task
Generate a SQL query to answer the following question:
`What is the score at the 2010 FIFA World Cup Qualification that results in a win?`

### 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 at the 2010 FIFA World Cup Qualification that results in a win?`:
```sql
                SELECT "score" FROM "international_goals" WHERE "competition"='2010 fifa world cup qualification' AND "result"='win';
```
## Task
Generate a SQL query to answer the following question:
`What is the Power (kW) for the station located in Cebu?`

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

CREATE TABLE "fm_stations" (
  "branding" text,
  "callsign" text,
  "frequency" text,
  "power_k_w" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Power (kW) for the station located in Cebu?`:
```sql
                SELECT "power_k_w" FROM "fm_stations" WHERE "location"='cebu';
```
## Task
Generate a SQL query to answer the following question:
`What is the Power (kW) for the station with a frequency of 95.1mhz?`

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

CREATE TABLE "fm_stations" (
  "branding" text,
  "callsign" text,
  "frequency" text,
  "power_k_w" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Power (kW) for the station with a frequency of 95.1mhz?`:
```sql
                SELECT "power_k_w" FROM "fm_stations" WHERE "frequency"='95.1mhz';
```
## Task
Generate a SQL query to answer the following question:
`What is the Callsign for the station with the branding 93dot5 home radio Cagayan De Oro?`

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

CREATE TABLE "fm_stations" (
  "branding" text,
  "callsign" text,
  "frequency" text,
  "power_k_w" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Callsign for the station with the branding 93dot5 home radio Cagayan De Oro?`:
```sql
                SELECT "callsign" FROM "fm_stations" WHERE "branding"='93dot5 home radio cagayan de oro';
```
## Task
Generate a SQL query to answer the following question:
`What is the frequency for the station with the branding of 94dot3 home radio Palawan?`

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

CREATE TABLE "fm_stations" (
  "branding" text,
  "callsign" text,
  "frequency" text,
  "power_k_w" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the frequency for the station with the branding of 94dot3 home radio Palawan?`:
```sql
                SELECT "frequency" FROM "fm_stations" WHERE "branding"='94dot3 home radio palawan';
```
## Task
Generate a SQL query to answer the following question:
`What is the Branding for the station located in Zamboanga?`

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

CREATE TABLE "fm_stations" (
  "branding" text,
  "callsign" text,
  "frequency" text,
  "power_k_w" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Branding for the station located in Zamboanga?`:
```sql
                SELECT "branding" FROM "fm_stations" WHERE "location"='zamboanga';
```
## Task
Generate a SQL query to answer the following question:
`What is the Power (kW) for the station with the frequency of 98.7mhz?`

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

CREATE TABLE "fm_stations" (
  "branding" text,
  "callsign" text,
  "frequency" text,
  "power_k_w" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Power (kW) for the station with the frequency of 98.7mhz?`:
```sql
                SELECT "power_k_w" FROM "fm_stations" WHERE "frequency"='98.7mhz';
```
## Task
Generate a SQL query to answer the following question:
`What is the medal total of Denmark?`

### 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 medal total of Denmark?`:
```sql
                SELECT COUNT("total") FROM "medal_table" WHERE "nation"='denmark';
```
## Task
Generate a SQL query to answer the following question:
`What is the record of the game with a game number greater than 24 on December 19?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record of the game with a game number greater than 24 on December 19?`:
```sql
                SELECT "record" FROM "game_log" WHERE "game">24 AND "date"='december 19';
```
## Task
Generate a SQL query to answer the following question:
`What is the record of game 26 with beno udrih (4) as the highest assists?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record of game 26 with beno udrih (4) as the highest assists?`:
```sql
                SELECT "record" FROM "game_log" WHERE "high_assists"='beno udrih (4)' AND "game"=26;
```
## Task
Generate a SQL query to answer the following question:
`What is the score of game 25?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score of game 25?`:
```sql
                SELECT "score" FROM "game_log" WHERE "game"=25;
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE DRAW FOR u ritmu ljubavi, POINTS LARGER THAN 87?`

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

CREATE TABLE "result_of_national_final" (
  "draw" real,
  "song" text,
  "performer" text,
  "points" real,
  "rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE DRAW FOR u ritmu ljubavi, POINTS LARGER THAN 87?`:
```sql
                SELECT MAX("draw") FROM "result_of_national_final" WHERE "song"='u ritmu ljubavi' AND "points">87;
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE DRAW FOR PERFORMER ANDREA CUBRIC?`

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

CREATE TABLE "result_of_national_final" (
  "draw" real,
  "song" text,
  "performer" text,
  "points" real,
  "rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE DRAW FOR PERFORMER ANDREA CUBRIC?`:
```sql
                SELECT "draw" FROM "result_of_national_final" WHERE "performer"='andrea cubric';
```
## Task
Generate a SQL query to answer the following question:
`What is the game number when the record is 30-22?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the game number when the record is 30-22?`:
```sql
                SELECT AVG("game") FROM "game_log" WHERE "record"='30-22';
```
## Task
Generate a SQL query to answer the following question:
`At what location was the score W 82-76?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `At what location was the score W 82-76?`:
```sql
                SELECT "location" FROM "game_log" WHERE "score"='w 82-76';
```
## Task
Generate a SQL query to answer the following question:
`What was the record when the game was at the Rose Garden?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record when the game was at the Rose Garden?`:
```sql
                SELECT "record" FROM "game_log" WHERE "location"='rose garden';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of games with more than 0 draws and 11 losses?`

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

CREATE TABLE "managers_test_games_only" (
  "name" text,
  "period" text,
  "games" real,
  "wins" real,
  "draws" real,
  "lost" real,
  "win_ratio" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of games with more than 0 draws and 11 losses?`:
```sql
                SELECT MAX("games") FROM "managers_test_games_only" WHERE "draws">0 AND "lost"=11;
```
## Task
Generate a SQL query to answer the following question:
`What is the 1994 finish in the event that had a 1998 finish of 2R?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "1990" text,
  "1991" text,
  "1992" text,
  "1993" text,
  "1994" text,
  "1995" text,
  "1996" text,
  "1997" text,
  "1998" text,
  "1999" text,
  "2000" text,
  "2001" text,
  "career_sr" text,
  "career_win_loss" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1994 finish in the event that had a 1998 finish of 2R?`:
```sql
                SELECT "1994" FROM "singles_performance_timeline" WHERE "1998"='2r';
```
## Task
Generate a SQL query to answer the following question:
`Which tournament had a 1994 finish of RR and 1996 and 1998 finishes of A?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "1990" text,
  "1991" text,
  "1992" text,
  "1993" text,
  "1994" text,
  "1995" text,
  "1996" text,
  "1997" text,
  "1998" text,
  "1999" text,
  "2000" text,
  "2001" text,
  "career_sr" text,
  "career_win_loss" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which tournament had a 1994 finish of RR and 1996 and 1998 finishes of A?`:
```sql
                SELECT "tournament" FROM "singles_performance_timeline" WHERE "1996"='a' AND "1998"='a' AND "1994"='rr';
```
## Task
Generate a SQL query to answer the following question:
`What is the 1994 finish associated with a 1995 finish of 3R and 1997 of QF?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "1990" text,
  "1991" text,
  "1992" text,
  "1993" text,
  "1994" text,
  "1995" text,
  "1996" text,
  "1997" text,
  "1998" text,
  "1999" text,
  "2000" text,
  "2001" text,
  "career_sr" text,
  "career_win_loss" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1994 finish associated with a 1995 finish of 3R and 1997 of QF?`:
```sql
                SELECT "1994" FROM "singles_performance_timeline" WHERE "1997"='qf' AND "1995"='3r';
```
## Task
Generate a SQL query to answer the following question:
`What is the 1999 finish for the tournament in Rome?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "1990" text,
  "1991" text,
  "1992" text,
  "1993" text,
  "1994" text,
  "1995" text,
  "1996" text,
  "1997" text,
  "1998" text,
  "1999" text,
  "2000" text,
  "2001" text,
  "career_sr" text,
  "career_win_loss" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1999 finish for the tournament in Rome?`:
```sql
                SELECT "1999" FROM "singles_performance_timeline" WHERE "tournament"='rome';
```
## Task
Generate a SQL query to answer the following question:
`What is the 1991 finish for the 1993 Grand Slams?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "1990" text,
  "1991" text,
  "1992" text,
  "1993" text,
  "1994" text,
  "1995" text,
  "1996" text,
  "1997" text,
  "1998" text,
  "1999" text,
  "2000" text,
  "2001" text,
  "career_sr" text,
  "career_win_loss" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1991 finish for the 1993 Grand Slams?`:
```sql
                SELECT "1991" FROM "singles_performance_timeline" WHERE "1993"='grand slams';
```
## Task
Generate a SQL query to answer the following question:
`What was the playoff apps for Thomas Heary, that had the position df?`

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

CREATE TABLE "appearances_and_goals" (
  "squad_no" real,
  "name" text,
  "position" text,
  "league_apps" text,
  "league_goals" real,
  "fa_cup_apps" text,
  "fa_cup_goals" real,
  "league_cup_apps" text,
  "league_cup_goals" real,
  "flt_apps" text,
  "flt_goals" real,
  "playoff_apps" text,
  "playoff_goals" real,
  "total_apps" text,
  "total_goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the playoff apps for Thomas Heary, that had the position df?`:
```sql
                SELECT "playoff_apps" FROM "appearances_and_goals" WHERE "position"='df' AND "name"='thomas heary';
```
## Task
Generate a SQL query to answer the following question:
`What's the lowest squad number with more than 6 goals, fewer than 8 league goals, and more than 0 playoff goals?`

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

CREATE TABLE "appearances_and_goals" (
  "squad_no" real,
  "name" text,
  "position" text,
  "league_apps" text,
  "league_goals" real,
  "fa_cup_apps" text,
  "fa_cup_goals" real,
  "league_cup_apps" text,
  "league_cup_goals" real,
  "flt_apps" text,
  "flt_goals" real,
  "playoff_apps" text,
  "playoff_goals" real,
  "total_apps" text,
  "total_goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the lowest squad number with more than 6 goals, fewer than 8 league goals, and more than 0 playoff goals?`:
```sql
                SELECT MIN("squad_no") FROM "appearances_and_goals" WHERE "total_goals">6 AND "league_goals"<8 AND "playoff_goals">0;
```
## Task
Generate a SQL query to answer the following question:
`How many total goals did the squad with 2 playoff apps, 2 FA Cup Apps, and 0 League Cup goals get?`

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

CREATE TABLE "appearances_and_goals" (
  "squad_no" real,
  "name" text,
  "position" text,
  "league_apps" text,
  "league_goals" real,
  "fa_cup_apps" text,
  "fa_cup_goals" real,
  "league_cup_apps" text,
  "league_cup_goals" real,
  "flt_apps" text,
  "flt_goals" real,
  "playoff_apps" text,
  "playoff_goals" real,
  "total_apps" text,
  "total_goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many total goals did the squad with 2 playoff apps, 2 FA Cup Apps, and 0 League Cup goals get?`:
```sql
                SELECT SUM("total_goals") FROM "appearances_and_goals" WHERE "playoff_apps"='2' AND "fa_cup_apps"='2' AND "league_cup_goals"<0;
```
## Task
Generate a SQL query to answer the following question:
`Which title had rank 9?`

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

CREATE TABLE "highest_grossing_films_of_1999" (
  "rank" real,
  "title" text,
  "studio" text,
  "director_s" text,
  "worldwide_gross" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which title had rank 9?`:
```sql
                SELECT "title" FROM "highest_grossing_films_of_1999" WHERE "rank"=9;
```
## Task
Generate a SQL query to answer the following question:
`Which title placed in rank 7?`

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

CREATE TABLE "highest_grossing_films_of_1999" (
  "rank" real,
  "title" text,
  "studio" text,
  "director_s" text,
  "worldwide_gross" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which title placed in rank 7?`:
```sql
                SELECT "title" FROM "highest_grossing_films_of_1999" WHERE "rank"=7;
```
## Task
Generate a SQL query to answer the following question:
`shows for the artist Santana featuring the product g&b?`

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

CREATE TABLE "rpm_singles_chart_january_2000_november_" (
  "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 `shows for the artist Santana featuring the product g&b?`:
```sql
                SELECT "volume_issue" FROM "rpm_singles_chart_january_2000_november_" WHERE "artist"='santana featuring the product g&b';
```
## Task
Generate a SQL query to answer the following question:
`What volume 3 weeks on top for Third Eye Blind?`

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

CREATE TABLE "rpm_singles_chart_january_2000_november_" (
  "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 `What volume 3 weeks on top for Third Eye Blind?`:
```sql
                SELECT "volume_issue" FROM "rpm_singles_chart_january_2000_november_" WHERE "weeks_on_top"='3' AND "artist"='third eye blind';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the artist of " bang bang boom "?`

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

CREATE TABLE "rpm_singles_chart_january_2000_november_" (
  "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 `What is the name of the artist of " bang bang boom "?`:
```sql
                SELECT "artist" FROM "rpm_singles_chart_january_2000_november_" WHERE "song"='\" bang bang boom \"';
```
## Task
Generate a SQL query to answer the following question:
`What is the song name with a Volume:Issue was 70:8-9?`

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

CREATE TABLE "rpm_singles_chart_january_2000_november_" (
  "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 `What is the song name with a Volume:Issue was 70:8-9?`:
```sql
                SELECT "song" FROM "rpm_singles_chart_january_2000_november_" WHERE "volume_issue"='70:8-9';
```