cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What state shows for Cunningham?`

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

CREATE TABLE "see_also" (
  "member" text,
  "party" text,
  "electorate" text,
  "state" text,
  "term_of_office" text
);
### SQL
Given the database schema, here is the SQL query that answers `What state shows for Cunningham?`:
```sql
                SELECT "state" FROM "see_also" WHERE "electorate"='cunningham';
```
## Task
Generate a SQL query to answer the following question:
`What is the Electorate when the term of office was 1955–1972, for Peter Howson?`

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

CREATE TABLE "see_also" (
  "member" text,
  "party" text,
  "electorate" text,
  "state" text,
  "term_of_office" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Electorate when the term of office was 1955–1972, for Peter Howson?`:
```sql
                SELECT "electorate" FROM "see_also" WHERE "term_of_office"='1955–1972' AND "member"='peter howson';
```
## Task
Generate a SQL query to answer the following question:
`What party has a term of office of 1951–1966, and a State of sa?`

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

CREATE TABLE "see_also" (
  "member" text,
  "party" text,
  "electorate" text,
  "state" text,
  "term_of_office" text
);
### SQL
Given the database schema, here is the SQL query that answers `What party has a term of office of 1951–1966, and a State of sa?`:
```sql
                SELECT "party" FROM "see_also" WHERE "term_of_office"='1951–1966' AND "state"='sa';
```
## Task
Generate a SQL query to answer the following question:
`What was the Attendance at Jobing.com Arena?`

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

CREATE TABLE "preseason" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text,
  "arena" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Attendance at Jobing.com Arena?`:
```sql
                SELECT COUNT("attendance") FROM "preseason" WHERE "arena"='jobing.com arena';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date of the game with a Loss of Leneveu (1–0–1)?`

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

CREATE TABLE "preseason" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text,
  "arena" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date of the game with a Loss of Leneveu (1–0–1)?`:
```sql
                SELECT "date" FROM "preseason" WHERE "loss"='leneveu (1–0–1)';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date with a game with a Record of 2–1–1?`

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

CREATE TABLE "preseason" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text,
  "arena" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date with a game with a Record of 2–1–1?`:
```sql
                SELECT "date" FROM "preseason" WHERE "record"='2–1–1';
```
## Task
Generate a SQL query to answer the following question:
`What is the Score at Jobing.com Arena?`

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

CREATE TABLE "preseason" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text,
  "arena" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Score at Jobing.com Arena?`:
```sql
                SELECT "score" FROM "preseason" WHERE "arena"='jobing.com arena';
```
## Task
Generate a SQL query to answer the following question:
`What is the Opponent of the game on September 26?`

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

CREATE TABLE "preseason" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text,
  "arena" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Opponent of the game on September 26?`:
```sql
                SELECT "opponent" FROM "preseason" WHERE "date"='september 26';
```
## Task
Generate a SQL query to answer the following question:
`What Label has a Region of united states, and a Format of cassette?`

### 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 Label has a Region of united states, and a Format of cassette?`:
```sql
                SELECT "label" FROM "release_history" WHERE "region"='united states' AND "format"='cassette';
```
## Task
Generate a SQL query to answer the following question:
`What Date has a Label of grilled cheese?`

### 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 Date has a Label of grilled cheese?`:
```sql
                SELECT "date" FROM "release_history" WHERE "label"='grilled cheese';
```
## Task
Generate a SQL query to answer the following question:
`What Catalog has a Label of geffen records / universal music special markets?`

### 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 has a Label of geffen records / universal music special markets?`:
```sql
                SELECT "catalog" FROM "release_history" WHERE "label"='geffen records / universal music special markets';
```
## Task
Generate a SQL query to answer the following question:
`What Label has a Format of cd, and a Catalog of crgd 86136?`

### 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 Label has a Format of cd, and a Catalog of crgd 86136?`:
```sql
                SELECT "label" FROM "release_history" WHERE "format"='cd' AND "catalog"='crgd 86136';
```
## Task
Generate a SQL query to answer the following question:
`What Region has a Catalog of crgd 86136?`

### 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 Region has a Catalog of crgd 86136?`:
```sql
                SELECT "region" FROM "release_history" WHERE "catalog"='crgd 86136';
```
## Task
Generate a SQL query to answer the following question:
`What Label has a Catalog of 486 136-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 Label has a Catalog of 486 136-2?`:
```sql
                SELECT "label" FROM "release_history" WHERE "catalog"='486 136-2';
```
## Task
Generate a SQL query to answer the following question:
`Which Date has an Attendance larger than 51,338, and an Opponent of manchester united?`

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

CREATE TABLE "first_division" (
  "date" text,
  "opponent" text,
  "venue" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Date has an Attendance larger than 51,338, and an Opponent of manchester united?`:
```sql
                SELECT "date" FROM "first_division" WHERE "attendance">'51,338' AND "opponent"='manchester united';
```
## Task
Generate a SQL query to answer the following question:
`Which Opponent has a Result of 0-3?`

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

CREATE TABLE "first_division" (
  "date" text,
  "opponent" text,
  "venue" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Opponent has a Result of 0-3?`:
```sql
                SELECT "opponent" FROM "first_division" WHERE "result"='0-3';
```
## Task
Generate a SQL query to answer the following question:
`What is the total attendance with a 1-0 result, at Venue H, and Round SF?`

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

CREATE TABLE "uefa_cup_winner_s_cup" (
  "date" text,
  "round" text,
  "opponent" text,
  "venue" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total attendance with a 1-0 result, at Venue H, and Round SF?`:
```sql
                SELECT SUM("attendance") FROM "uefa_cup_winner_s_cup" WHERE "result"='1-0' AND "venue"='h' AND "round"='sf';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest attendance at Venue H in Round R2?`

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

CREATE TABLE "uefa_cup_winner_s_cup" (
  "date" text,
  "round" text,
  "opponent" text,
  "venue" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest attendance at Venue H in Round R2?`:
```sql
                SELECT MIN("attendance") FROM "uefa_cup_winner_s_cup" WHERE "venue"='h' AND "round"='r2';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest attendance for the opponents Club Brugge in Venue A?`

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

CREATE TABLE "uefa_cup_winner_s_cup" (
  "date" text,
  "round" text,
  "opponent" text,
  "venue" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest attendance for the opponents Club Brugge in Venue A?`:
```sql
                SELECT MAX("attendance") FROM "uefa_cup_winner_s_cup" WHERE "opponent"='club brugge' AND "venue"='a';
```
## Task
Generate a SQL query to answer the following question:
`What is the round for the opponent CSKA Sofia in Venue A?`

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

CREATE TABLE "uefa_cup_winner_s_cup" (
  "date" text,
  "round" text,
  "opponent" text,
  "venue" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the round for the opponent CSKA Sofia in Venue A?`:
```sql
                SELECT "round" FROM "uefa_cup_winner_s_cup" WHERE "opponent"='cska sofia' AND "venue"='a';
```
## Task
Generate a SQL query to answer the following question:
`What player placed t10?`

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

CREATE TABLE "first_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" real,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What player placed t10?`:
```sql
                SELECT "player" FROM "first_round" WHERE "place"='t10';
```
## Task
Generate a SQL query to answer the following question:
`What was Bernhard Langer's highest score?`

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

CREATE TABLE "first_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" real,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was Bernhard Langer's highest score?`:
```sql
                SELECT MAX("score") FROM "first_round" WHERE "player"='bernhard langer';
```
## Task
Generate a SQL query to answer the following question:
`What was Craig Stadler's lowest score for United states?`

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

CREATE TABLE "first_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" real,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was Craig Stadler's lowest score for United states?`:
```sql
                SELECT MIN("score") FROM "first_round" WHERE "country"='united states' AND "player"='craig stadler';
```
## Task
Generate a SQL query to answer the following question:
`What Money (£) has a Country of ireland?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What Money (£) has a Country of ireland?`:
```sql
                SELECT "money" FROM "final_round" WHERE "country"='ireland';
```
## Task
Generate a SQL query to answer the following question:
`What Player has a Place of t10?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What Player has a Place of t10?`:
```sql
                SELECT "player" FROM "final_round" WHERE "place"='t10';
```
## Task
Generate a SQL query to answer the following question:
`What To par has a Score of 71-73-71-71=286?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What To par has a Score of 71-73-71-71=286?`:
```sql
                SELECT "to_par" FROM "final_round" WHERE "score"='71-73-71-71=286';
```
## Task
Generate a SQL query to answer the following question:
`What Place has a To par of –4?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What Place has a To par of –4?`:
```sql
                SELECT "place" FROM "final_round" WHERE "to_par"='–4';
```
## Task
Generate a SQL query to answer the following question:
`What Score has a Place of t8, and a Country of scotland?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What Score has a Place of t8, and a Country of scotland?`:
```sql
                SELECT "score" FROM "final_round" WHERE "place"='t8' AND "country"='scotland';
```
## Task
Generate a SQL query to answer the following question:
`What To par has a Country of united states, and a Score of 67-66-78-77=288?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What To par has a Country of united states, and a Score of 67-66-78-77=288?`:
```sql
                SELECT "to_par" FROM "final_round" WHERE "country"='united states' AND "score"='67-66-78-77=288';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Money ( $ ), when Country is "United States", and when To par is "+3"?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Money ( $ ), when Country is "United States", and when To par is "+3"?`:
```sql
                SELECT AVG("money") FROM "final_leaderboard" WHERE "country"='united states' AND "to_par"='+3';
```
## Task
Generate a SQL query to answer the following question:
`What is Money ( $ ), when Player is "Morgan Pressel"?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Money ( $ ), when Player is "Morgan Pressel"?`:
```sql
                SELECT "money" FROM "final_leaderboard" WHERE "player"='morgan pressel';
```
## Task
Generate a SQL query to answer the following question:
`What is Place, when Player is "Mi Hyun Kim"?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Place, when Player is "Mi Hyun Kim"?`:
```sql
                SELECT "place" FROM "final_leaderboard" WHERE "player"='mi hyun kim';
```
## Task
Generate a SQL query to answer the following question:
`What was the tonnage on 30 march 1943?`

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

CREATE TABLE "raiding_history" (
  "date" text,
  "ship" text,
  "nationality" text,
  "tonnage" real,
  "fate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the tonnage on 30 march 1943?`:
```sql
                SELECT AVG("tonnage") FROM "raiding_history" WHERE "date"='30 march 1943';
```
## Task
Generate a SQL query to answer the following question:
`What was the fate on 27 june 1942?`

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

CREATE TABLE "raiding_history" (
  "date" text,
  "ship" text,
  "nationality" text,
  "tonnage" real,
  "fate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the fate on 27 june 1942?`:
```sql
                SELECT "fate" FROM "raiding_history" WHERE "date"='27 june 1942';
```
## Task
Generate a SQL query to answer the following question:
`What was the tonnage on 12 september 1942?`

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

CREATE TABLE "raiding_history" (
  "date" text,
  "ship" text,
  "nationality" text,
  "tonnage" real,
  "fate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the tonnage on 12 september 1942?`:
```sql
                SELECT "tonnage" FROM "raiding_history" WHERE "date"='12 september 1942';
```
## Task
Generate a SQL query to answer the following question:
`What was Yugoslavia's fate?`

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

CREATE TABLE "raiding_history" (
  "date" text,
  "ship" text,
  "nationality" text,
  "tonnage" real,
  "fate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was Yugoslavia's fate?`:
```sql
                SELECT "fate" FROM "raiding_history" WHERE "nationality"='yugoslavia';
```
## Task
Generate a SQL query to answer the following question:
`What is the status of the ship INS Ranvir?`

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

CREATE TABLE "ships_of_the_class" (
  "name" text,
  "pennant" text,
  "builder" text,
  "homeport" text,
  "commissioned" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the status of the ship INS Ranvir?`:
```sql
                SELECT "status" FROM "ships_of_the_class" WHERE "name"='ins ranvir';
```
## Task
Generate a SQL query to answer the following question:
`Who was the builder of the ship INS Rana?`

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

CREATE TABLE "ships_of_the_class" (
  "name" text,
  "pennant" text,
  "builder" text,
  "homeport" text,
  "commissioned" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the builder of the ship INS Rana?`:
```sql
                SELECT "builder" FROM "ships_of_the_class" WHERE "name"='ins rana';
```
## Task
Generate a SQL query to answer the following question:
`What is the place in 2007 for the song " work your magic "?`

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

CREATE TABLE "eurovision_song_contest_entries" (
  "year" real,
  "song" text,
  "artist" text,
  "place" text,
  "points" text,
  "composer" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the place in 2007 for the song " work your magic "?`:
```sql
                SELECT "place" FROM "eurovision_song_contest_entries" WHERE "year"=2007 AND "song"='\" work your magic \"';
```
## Task
Generate a SQL query to answer the following question:
`Who is the Composer of " peace will come "?`

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

CREATE TABLE "eurovision_song_contest_entries" (
  "year" real,
  "song" text,
  "artist" text,
  "place" text,
  "points" text,
  "composer" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the Composer of " peace will come "?`:
```sql
                SELECT "composer" FROM "eurovision_song_contest_entries" WHERE "song"='\" peace will come \"';
```
## Task
Generate a SQL query to answer the following question:
`What year shows 248 (sf: 217) points?`

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

CREATE TABLE "eurovision_song_contest_entries" (
  "year" real,
  "song" text,
  "artist" text,
  "place" text,
  "points" text,
  "composer" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year shows 248 (sf: 217) points?`:
```sql
                SELECT COUNT("year") FROM "eurovision_song_contest_entries" WHERE "points"='248 (sf: 217)';
```
## Task
Generate a SQL query to answer the following question:
`What is the place later than 2007, with 141 (sf:83) points?`

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

CREATE TABLE "eurovision_song_contest_entries" (
  "year" real,
  "song" text,
  "artist" text,
  "place" text,
  "points" text,
  "composer" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the place later than 2007, with 141 (sf:83) points?`:
```sql
                SELECT "place" FROM "eurovision_song_contest_entries" WHERE "year">2007 AND "points"='141 (sf:83)';
```
## Task
Generate a SQL query to answer the following question:
`What artist shows 2007 and composer of Hayko?`

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

CREATE TABLE "eurovision_song_contest_entries" (
  "year" real,
  "song" text,
  "artist" text,
  "place" text,
  "points" text,
  "composer" text
);
### SQL
Given the database schema, here is the SQL query that answers `What artist shows 2007 and composer of Hayko?`:
```sql
                SELECT "artist" FROM "eurovision_song_contest_entries" WHERE "year"=2007 AND "composer"='hayko';
```
## Task
Generate a SQL query to answer the following question:
`What place is Corey Pavin in?`

### 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" text
);
### SQL
Given the database schema, here is the SQL query that answers `What place is Corey Pavin in?`:
```sql
                SELECT "place" FROM "third_round" WHERE "player"='corey pavin';
```
## Task
Generate a SQL query to answer the following question:
`Which 1991-92 has a 1993-94 smaller than 34, and a Team of argentinos juniors?`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" real,
  "points" real,
  "played" real,
  "1991_92" text,
  "1992_93" text,
  "1993_94" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which 1991-92 has a 1993-94 smaller than 34, and a Team of argentinos juniors?`:
```sql
                SELECT "1991_92" FROM "relegation" WHERE "1993_94"<34 AND "team"='argentinos juniors';
```
## Task
Generate a SQL query to answer the following question:
`How many Points have an Average smaller than 1, a Played larger than 38, and a Team of gimnasia de la plata?`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" real,
  "points" real,
  "played" real,
  "1991_92" text,
  "1992_93" text,
  "1993_94" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many Points have an Average smaller than 1, a Played larger than 38, and a Team of gimnasia de la plata?`:
```sql
                SELECT SUM("points") FROM "relegation" WHERE "average"<1 AND "played">38 AND "team"='gimnasia de la plata';
```
## Task
Generate a SQL query to answer the following question:
`Which 1992-93 has Played of 114, and a 1991-92 of 48?`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" real,
  "points" real,
  "played" real,
  "1991_92" text,
  "1992_93" text,
  "1993_94" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which 1992-93 has Played of 114, and a 1991-92 of 48?`:
```sql
                SELECT "1992_93" FROM "relegation" WHERE "played"=114 AND "1991_92"='48';
```
## Task
Generate a SQL query to answer the following question:
`Which 1991-92 has a 1993-94 of 43?`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" real,
  "points" real,
  "played" real,
  "1991_92" text,
  "1992_93" text,
  "1993_94" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which 1991-92 has a 1993-94 of 43?`:
```sql
                SELECT "1991_92" FROM "relegation" WHERE "1993_94"=43;
```
## Task
Generate a SQL query to answer the following question:
`Which 1992-93 has a 1993-94 of 43?`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" real,
  "points" real,
  "played" real,
  "1991_92" text,
  "1992_93" text,
  "1993_94" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which 1992-93 has a 1993-94 of 43?`:
```sql
                SELECT "1992_93" FROM "relegation" WHERE "1993_94"=43;
```
## Task
Generate a SQL query to answer the following question:
`Which Atomic property has Helium of 4.16?`

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

CREATE TABLE "atomic_properties" (
  "atomic_property" text,
  "helium" text,
  "neon" text,
  "argon" text,
  "krypton" text,
  "xenon" text,
  "radon" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Atomic property has Helium of 4.16?`:
```sql
                SELECT "atomic_property" FROM "atomic_properties" WHERE "helium"='4.16';
```
## Task
Generate a SQL query to answer the following question:
`Which Krypton has Neon of 10?`

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

CREATE TABLE "atomic_properties" (
  "atomic_property" text,
  "helium" text,
  "neon" text,
  "argon" text,
  "krypton" text,
  "xenon" text,
  "radon" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Krypton has Neon of 10?`:
```sql
                SELECT "krypton" FROM "atomic_properties" WHERE "neon"='10';
```
## Task
Generate a SQL query to answer the following question:
`Which Radon has Neon of 4.79?`

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

CREATE TABLE "atomic_properties" (
  "atomic_property" text,
  "helium" text,
  "neon" text,
  "argon" text,
  "krypton" text,
  "xenon" text,
  "radon" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Radon has Neon of 4.79?`:
```sql
                SELECT "radon" FROM "atomic_properties" WHERE "neon"='4.79';
```
## Task
Generate a SQL query to answer the following question:
`Which Neon has Atomic property of average valence electron energy (avee)?`

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

CREATE TABLE "atomic_properties" (
  "atomic_property" text,
  "helium" text,
  "neon" text,
  "argon" text,
  "krypton" text,
  "xenon" text,
  "radon" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Neon has Atomic property of average valence electron energy (avee)?`:
```sql
                SELECT "neon" FROM "atomic_properties" WHERE "atomic_property"='average valence electron energy (avee)';
```
## Task
Generate a SQL query to answer the following question:
`Which Radon has Atomic property of outer shell electron configuration?`

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

CREATE TABLE "atomic_properties" (
  "atomic_property" text,
  "helium" text,
  "neon" text,
  "argon" text,
  "krypton" text,
  "xenon" text,
  "radon" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Radon has Atomic property of outer shell electron configuration?`:
```sql
                SELECT "radon" FROM "atomic_properties" WHERE "atomic_property"='outer shell electron configuration';
```
## Task
Generate a SQL query to answer the following question:
`Which Xenon has Neon of 20.1797(6)?`

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

CREATE TABLE "atomic_properties" (
  "atomic_property" text,
  "helium" text,
  "neon" text,
  "argon" text,
  "krypton" text,
  "xenon" text,
  "radon" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Xenon has Neon of 20.1797(6)?`:
```sql
                SELECT "xenon" FROM "atomic_properties" WHERE "neon"='20.1797(6)';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest attendance of the game with eastwood town as the away team?`

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

CREATE TABLE "ties" (
  "tie_no" real,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest attendance of the game with eastwood town as the away team?`:
```sql
                SELECT MAX("attendance") FROM "ties" WHERE "away_team"='eastwood town';
```
## Task
Generate a SQL query to answer the following question:
`What place is Scott McCarron in?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What place is Scott McCarron in?`:
```sql
                SELECT "place" FROM "final_round" WHERE "player"='scott mccarron';
```
## Task
Generate a SQL query to answer the following question:
`What is Alexandr Elke's Weight?`

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

CREATE TABLE "kazakhstan" (
  "name" text,
  "pos" text,
  "height" text,
  "weight" text,
  "date_of_birth" text,
  "club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Alexandr Elke's Weight?`:
```sql
                SELECT "weight" FROM "kazakhstan" WHERE "name"='alexandr elke';
```
## Task
Generate a SQL query to answer the following question:
`What is the Name of the D Player from the Dinamo Moscow Club?`

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

CREATE TABLE "kazakhstan" (
  "name" text,
  "pos" text,
  "height" text,
  "weight" text,
  "date_of_birth" text,
  "club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Name of the D Player from the Dinamo Moscow Club?`:
```sql
                SELECT "name" FROM "kazakhstan" WHERE "club"='dinamo moscow' AND "pos"='d';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date of Birth of the Player from the CSK VMF Moscow Club?`

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

CREATE TABLE "kazakhstan" (
  "name" text,
  "pos" text,
  "height" text,
  "weight" text,
  "date_of_birth" text,
  "club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date of Birth of the Player from the CSK VMF Moscow Club?`:
```sql
                SELECT "date_of_birth" FROM "kazakhstan" WHERE "club"='csk vmf moscow';
```
## Task
Generate a SQL query to answer the following question:
`What is the Weight of the Player from DSHNK Almaty Club with a Height of m (ft 6in)?`

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

CREATE TABLE "kazakhstan" (
  "name" text,
  "pos" text,
  "height" text,
  "weight" text,
  "date_of_birth" text,
  "club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Weight of the Player from DSHNK Almaty Club with a Height of m (ft 6in)?`:
```sql
                SELECT "weight" FROM "kazakhstan" WHERE "club"='dshnk almaty' AND "height"='m (ft 6in)';
```
## Task
Generate a SQL query to answer the following question:
`Which Position has Goals against smaller than 43, and Wins larger than 14, and Played larger than 38?`

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

CREATE TABLE "relegation_playoff" (
  "position" real,
  "club" text,
  "played" real,
  "points" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Position has Goals against smaller than 43, and Wins larger than 14, and Played larger than 38?`:
```sql
                SELECT SUM("position") FROM "relegation_playoff" WHERE "goals_against"<43 AND "wins">14 AND "played">38;
```
## Task
Generate a SQL query to answer the following question:
`Which Goals for has a Position smaller than 16, and Wins smaller than 19, and Goals against smaller than 32?`

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

CREATE TABLE "relegation_playoff" (
  "position" real,
  "club" text,
  "played" real,
  "points" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Goals for has a Position smaller than 16, and Wins smaller than 19, and Goals against smaller than 32?`:
```sql
                SELECT MIN("goals_for") FROM "relegation_playoff" WHERE "position"<16 AND "wins"<19 AND "goals_against"<32;
```
## Task
Generate a SQL query to answer the following question:
`Which Points have Goals against of 32, and Played larger than 38?`

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

CREATE TABLE "relegation_playoff" (
  "position" real,
  "club" text,
  "played" real,
  "points" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Points have Goals against of 32, and Played larger than 38?`:
```sql
                SELECT MAX("points") FROM "relegation_playoff" WHERE "goals_against"=32 AND "played">38;
```
## Task
Generate a SQL query to answer the following question:
`Which Position has Goals against smaller than 59, and Goals for larger than 32, and Draws larger than 9, and Points larger than 35?`

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

CREATE TABLE "relegation_playoff" (
  "position" real,
  "club" text,
  "played" real,
  "points" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Position has Goals against smaller than 59, and Goals for larger than 32, and Draws larger than 9, and Points larger than 35?`:
```sql
                SELECT AVG("position") FROM "relegation_playoff" WHERE "goals_against"<59 AND "goals_for">32 AND "draws">9 AND "points">35;
```
## Task
Generate a SQL query to answer the following question:
`What district re-elected a Republican?`

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

CREATE TABLE "connecticut" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "results" text
);
### SQL
Given the database schema, here is the SQL query that answers `What district re-elected a Republican?`:
```sql
                SELECT "district" FROM "connecticut" WHERE "party"='republican' AND "results"='re-elected';
```
## Task
Generate a SQL query to answer the following question:
`Which incumbent was first elected in 1987?`

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

CREATE TABLE "connecticut" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "results" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which incumbent was first elected in 1987?`:
```sql
                SELECT "incumbent" FROM "connecticut" WHERE "first_elected"=1987;
```
## Task
Generate a SQL query to answer the following question:
`From which country is the player who made less than $216?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `From which country is the player who made less than $216?`:
```sql
                SELECT "country" FROM "final_leaderboard" WHERE "money"<216;
```
## Task
Generate a SQL query to answer the following question:
`Where did the player place who is from the United States, who made more than $216, and whose score was 74-70-71-69=284?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `Where did the player place who is from the United States, who made more than $216, and whose score was 74-70-71-69=284?`:
```sql
                SELECT "place" FROM "final_leaderboard" WHERE "country"='united states' AND "money">216 AND "score"='74-70-71-69=284';
```
## Task
Generate a SQL query to answer the following question:
`Which player placed in t5 and had a score of 72-71-73-78=294?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which player placed in t5 and had a score of 72-71-73-78=294?`:
```sql
                SELECT "player" FROM "final_leaderboard" WHERE "place"='t5' AND "score"='72-71-73-78=294';
```
## Task
Generate a SQL query to answer the following question:
`What is the year that a record was recorded with Libor Pesek as conductor?`

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

CREATE TABLE "recordings" (
  "pianist" text,
  "conductor" text,
  "record_company" text,
  "year_of_recording" real,
  "format" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the year that a record was recorded with Libor Pesek as conductor?`:
```sql
                SELECT SUM("year_of_recording") FROM "recordings" WHERE "conductor"='libor pesek';
```
## Task
Generate a SQL query to answer the following question:
`What record company did pianist Solomon Cutner record for?`

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

CREATE TABLE "recordings" (
  "pianist" text,
  "conductor" text,
  "record_company" text,
  "year_of_recording" real,
  "format" text
);
### SQL
Given the database schema, here is the SQL query that answers `What record company did pianist Solomon Cutner record for?`:
```sql
                SELECT "record_company" FROM "recordings" WHERE "pianist"='solomon cutner';
```
## Task
Generate a SQL query to answer the following question:
`What record company did conductor Mikhail Snitko record for after 1996?`

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

CREATE TABLE "recordings" (
  "pianist" text,
  "conductor" text,
  "record_company" text,
  "year_of_recording" real,
  "format" text
);
### SQL
Given the database schema, here is the SQL query that answers `What record company did conductor Mikhail Snitko record for after 1996?`:
```sql
                SELECT "record_company" FROM "recordings" WHERE "year_of_recording">1996 AND "conductor"='mikhail snitko';
```
## Task
Generate a SQL query to answer the following question:
`Which event had a total of 28?`

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

CREATE TABLE "qualification" (
  "shooter" text,
  "event" text,
  "rank_points" text,
  "score_points" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which event had a total of 28?`:
```sql
                SELECT "event" FROM "qualification" WHERE "total"='28';
```
## Task
Generate a SQL query to answer the following question:
`Who was the shooter when the rank points was 8 and the event was WC Kerrville?`

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

CREATE TABLE "qualification" (
  "shooter" text,
  "event" text,
  "rank_points" text,
  "score_points" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the shooter when the rank points was 8 and the event was WC Kerrville?`:
```sql
                SELECT "shooter" FROM "qualification" WHERE "rank_points"='8' AND "event"='wc kerrville';
```
## Task
Generate a SQL query to answer the following question:
`What was the total when the score points was 12 and the rank points was 15?`

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

CREATE TABLE "qualification" (
  "shooter" text,
  "event" text,
  "rank_points" text,
  "score_points" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the total when the score points was 12 and the rank points was 15?`:
```sql
                SELECT "total" FROM "qualification" WHERE "score_points"='12' AND "rank_points"='15';
```
## Task
Generate a SQL query to answer the following question:
`What is the score at the Champions League, when the result shows win?`

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

CREATE TABLE "european_cup_goals" (
  "date" text,
  "opponent" 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 Champions League, when the result shows win?`:
```sql
                SELECT "score" FROM "european_cup_goals" WHERE "competition"='champions league' AND "result"='win';
```
## Task
Generate a SQL query to answer the following question:
`What was the competition when the opponent was the Randers?`

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

CREATE TABLE "european_cup_goals" (
  "date" text,
  "opponent" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the competition when the opponent was the Randers?`:
```sql
                SELECT "competition" FROM "european_cup_goals" WHERE "opponent"='randers';
```
## Task
Generate a SQL query to answer the following question:
`What is the result of the UEFA Cup, against Palermo?`

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

CREATE TABLE "european_cup_goals" (
  "date" text,
  "opponent" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result of the UEFA Cup, against Palermo?`:
```sql
                SELECT "result" FROM "european_cup_goals" WHERE "competition"='uefa cup' AND "opponent"='palermo';
```
## Task
Generate a SQL query to answer the following question:
`What date was the UEFA Cup against Panathinaikos?`

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

CREATE TABLE "european_cup_goals" (
  "date" text,
  "opponent" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was the UEFA Cup against Panathinaikos?`:
```sql
                SELECT "date" FROM "european_cup_goals" WHERE "competition"='uefa cup' AND "opponent"='panathinaikos';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of deaths of the attack with 0 Israelis or foreigners wounded, 0 other deaths, and a total casualty of 1?`

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

CREATE TABLE "attacks_against_israeli_diplomatic_missi" (
  "israeli_deaths" real,
  "other_deaths" text,
  "total_deaths" text,
  "israeli_and_or_foreigner_wounded" text,
  "total_casualties" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of deaths of the attack with 0 Israelis or foreigners wounded, 0 other deaths, and a total casualty of 1?`:
```sql
                SELECT "total_deaths" FROM "attacks_against_israeli_diplomatic_missi" WHERE "israeli_and_or_foreigner_wounded"='0' AND "other_deaths"='0' AND "total_casualties"='1';
```