cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`How many results are listed for shot PCT Where PA is 79?`

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

CREATE TABLE "round_robin_standings" (
  "locale" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many results are listed for shot PCT Where PA is 79?`:
```sql
                SELECT COUNT("shot_pct") FROM "round_robin_standings" WHERE "pa"=79;
```
## Task
Generate a SQL query to answer the following question:
`Where were stolen ends recorded as 15?`

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

CREATE TABLE "round_robin_standings" (
  "locale" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `Where were stolen ends recorded as 15?`:
```sql
                SELECT "locale" FROM "round_robin_standings" WHERE "stolen_ends"=15;
```
## Task
Generate a SQL query to answer the following question:
`What was the SlNo no of contact person SDE (P), Thiruppattur?`

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

CREATE TABLE "karaikudi_ssa_bsnl" (
  "sl_no" real,
  "name_of_the_city" text,
  "address" text,
  "contact_person" text,
  "telephone_no" text,
  "facilities_offered" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the SlNo no of contact person SDE (P), Thiruppattur?`:
```sql
                SELECT "sl_no" FROM "karaikudi_ssa_bsnl" WHERE "contact_person"='SDE (P), Thiruppattur';
```
## Task
Generate a SQL query to answer the following question:
`When did the episode "rowley 1898" air?`

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

CREATE TABLE "table1_25390694_2" (
  "series_num" real,
  "title" text,
  "director" text,
  "writer" text,
  "air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `When did the episode "rowley 1898" air?`:
```sql
                SELECT "air_date" FROM "table1_25390694_2" WHERE "title"='\"Rowley 1898\"';
```
## Task
Generate a SQL query to answer the following question:
`What was the production code of the episode written by Brendan Cowell?`

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

CREATE TABLE "table1_25390694_2" (
  "series_num" real,
  "title" text,
  "director" text,
  "writer" text,
  "air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the production code of the episode written by Brendan Cowell?`:
```sql
                SELECT "production_code" FROM "table1_25390694_2" WHERE "writer"='Brendan Cowell';
```
## Task
Generate a SQL query to answer the following question:
`How many f/laps did Pedro Nunes have when he was in 20th position?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many f/laps did Pedro Nunes have when he was in 20th position?`:
```sql
                SELECT COUNT("f_laps") FROM "career_summary" WHERE "position"='20th';
```
## Task
Generate a SQL query to answer the following question:
`How many f/laps did Pedro Nunes have when he was at the gp3 series?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many f/laps did Pedro Nunes have when he was at the gp3 series?`:
```sql
                SELECT "f_laps" FROM "career_summary" WHERE "series"='GP3 Series';
```
## Task
Generate a SQL query to answer the following question:
`What is the fewest number of races Pedro Nunes completed in any series?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the fewest number of races Pedro Nunes completed in any series?`:
```sql
                SELECT MIN("races") FROM "career_summary";
```
## Task
Generate a SQL query to answer the following question:
`What is the most podiums Pedro Nunes had when in 17th position?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the most podiums Pedro Nunes had when in 17th position?`:
```sql
                SELECT MAX("podiums") FROM "career_summary" WHERE "position"='17th';
```
## Task
Generate a SQL query to answer the following question:
`What was the founding university of the organization Tau Epsilon Phi 1?`

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

CREATE TABLE "jewish" (
  "letters" text,
  "organization" text,
  "nickname" text,
  "founding_date" text,
  "founding_university" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the founding university of the organization Tau Epsilon Phi 1?`:
```sql
                SELECT "founding_university" FROM "jewish" WHERE "organization"='Tau Epsilon Phi 1';
```
## Task
Generate a SQL query to answer the following question:
`What was the founding date for the "AEPI"?`

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

CREATE TABLE "jewish" (
  "letters" text,
  "organization" text,
  "nickname" text,
  "founding_date" text,
  "founding_university" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the founding date for the "AEPI"?`:
```sql
                SELECT "founding_date" FROM "jewish" WHERE "nickname"='\"AEPi\"';
```
## Task
Generate a SQL query to answer the following question:
`What type is σαεπ?`

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

CREATE TABLE "jewish" (
  "letters" text,
  "organization" text,
  "nickname" text,
  "founding_date" text,
  "founding_university" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `What type is σαεπ?`:
```sql
                SELECT "type" FROM "jewish" WHERE "letters"='ΣΑΕΠ';
```
## Task
Generate a SQL query to answer the following question:
`What was the founding university of αεφ?`

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

CREATE TABLE "jewish" (
  "letters" text,
  "organization" text,
  "nickname" text,
  "founding_date" text,
  "founding_university" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the founding university of αεφ?`:
```sql
                SELECT "founding_university" FROM "jewish" WHERE "letters"='ΑΕΦ';
```
## Task
Generate a SQL query to answer the following question:
`What is the type if the organization name is Gamma RHO Lambda 1?`

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

CREATE TABLE "lgbt" (
  "letters" text,
  "organization" text,
  "nickname" text,
  "founding_date" text,
  "founding_university" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the type if the organization name is Gamma RHO Lambda 1?`:
```sql
                SELECT "type" FROM "lgbt" WHERE "organization"='Gamma Rho Lambda 1';
```
## Task
Generate a SQL query to answer the following question:
`If the letters is φαν, what is the founding date?`

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

CREATE TABLE "lgbt" (
  "letters" text,
  "organization" text,
  "nickname" text,
  "founding_date" text,
  "founding_university" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the letters is φαν, what is the founding date?`:
```sql
                SELECT "founding_date" FROM "lgbt" WHERE "letters"='ΦΑΝ';
```
## Task
Generate a SQL query to answer the following question:
`If the founding university is in Charlotte, NC, what is the nickname?`

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

CREATE TABLE "lgbt" (
  "letters" text,
  "organization" text,
  "nickname" text,
  "founding_date" text,
  "founding_university" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the founding university is in Charlotte, NC, what is the nickname?`:
```sql
                SELECT "nickname" FROM "lgbt" WHERE "founding_university"='Charlotte, NC';
```
## Task
Generate a SQL query to answer the following question:
`What is the founding date if the nickname is '"Canes", "k-psis", "Diamonds", or "Angels"?`

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

CREATE TABLE "lgbt" (
  "letters" text,
  "organization" text,
  "nickname" text,
  "founding_date" text,
  "founding_university" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the founding date if the nickname is '"Canes", "k-psis", "Diamonds", or "Angels"?`:
```sql
                SELECT "founding_date" FROM "lgbt" WHERE "nickname"='\"Canes\", \"K-PSIs\", \"Diamonds\", or \"Angels\"';
```
## Task
Generate a SQL query to answer the following question:
`What is the founding date if the letters are κψκ?`

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

CREATE TABLE "lgbt" (
  "letters" text,
  "organization" text,
  "nickname" text,
  "founding_date" text,
  "founding_university" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the founding date if the letters are κψκ?`:
```sql
                SELECT "founding_date" FROM "lgbt" WHERE "letters"='ΚΨΚ';
```
## Task
Generate a SQL query to answer the following question:
`If the founding university is in Washington, D.C., what was the founding date?`

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

CREATE TABLE "lgbt" (
  "letters" text,
  "organization" text,
  "nickname" text,
  "founding_date" text,
  "founding_university" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the founding university is in Washington, D.C., what was the founding date?`:
```sql
                SELECT "founding_date" FROM "lgbt" WHERE "founding_university"='Washington, D.C.';
```
## Task
Generate a SQL query to answer the following question:
`What is the rank by average for the team who averaged 22.8?`

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

CREATE TABLE "averages" (
  "rank_by_average" real,
  "place" real,
  "couple" text,
  "total_points" real,
  "number_of_dances" real,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rank by average for the team who averaged 22.8?`:
```sql
                SELECT MIN("rank_by_average") FROM "averages" WHERE "average"='22.8';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of dances for the team that averages 20.6?`

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

CREATE TABLE "averages" (
  "rank_by_average" real,
  "place" real,
  "couple" text,
  "total_points" real,
  "number_of_dances" real,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of dances for the team that averages 20.6?`:
```sql
                SELECT "number_of_dances" FROM "averages" WHERE "average"='20.6';
```
## Task
Generate a SQL query to answer the following question:
`What couple averaged 15.5?`

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

CREATE TABLE "averages" (
  "rank_by_average" real,
  "place" real,
  "couple" text,
  "total_points" real,
  "number_of_dances" real,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What couple averaged 15.5?`:
```sql
                SELECT "couple" FROM "averages" WHERE "average"='15.5';
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest rank by average for a team averaging 22.8?`

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

CREATE TABLE "averages" (
  "rank_by_average" real,
  "place" real,
  "couple" text,
  "total_points" real,
  "number_of_dances" real,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest rank by average for a team averaging 22.8?`:
```sql
                SELECT MIN("rank_by_average") FROM "averages" WHERE "average"='22.8';
```
## Task
Generate a SQL query to answer the following question:
`What is every value for Italian when the part is English?`

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

CREATE TABLE "table1_25401_15" (
  "english" text,
  "latin" text,
  "proto_italo_western_1" text,
  "conservative_central_italian_1" text,
  "italian" text,
  "spanish" text,
  "catalan" text,
  "old_french" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every value for Italian when the part is English?`:
```sql
                SELECT "italian" FROM "table1_25401_15" WHERE "english"='part';
```
## Task
Generate a SQL query to answer the following question:
`What is every entry for Proto-Italo-Western 1 when door is English?`

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

CREATE TABLE "table1_25401_15" (
  "english" text,
  "latin" text,
  "proto_italo_western_1" text,
  "conservative_central_italian_1" text,
  "italian" text,
  "spanish" text,
  "catalan" text,
  "old_french" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every entry for Proto-Italo-Western 1 when door is English?`:
```sql
                SELECT "proto_italo_western_1" FROM "table1_25401_15" WHERE "english"='door';
```
## Task
Generate a SQL query to answer the following question:
`How many entries for Italian correspond to the Conservative Central Italian of Unu?`

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

CREATE TABLE "table1_25401_15" (
  "english" text,
  "latin" text,
  "proto_italo_western_1" text,
  "conservative_central_italian_1" text,
  "italian" text,
  "spanish" text,
  "catalan" text,
  "old_french" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many entries for Italian correspond to the Conservative Central Italian of Unu?`:
```sql
                SELECT COUNT("italian") FROM "table1_25401_15" WHERE "conservative_central_italian_1"='unu';
```
## Task
Generate a SQL query to answer the following question:
`What is every entry for Latin when Catalan is Mar?`

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

CREATE TABLE "table1_25401_15" (
  "english" text,
  "latin" text,
  "proto_italo_western_1" text,
  "conservative_central_italian_1" text,
  "italian" text,
  "spanish" text,
  "catalan" text,
  "old_french" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every entry for Latin when Catalan is Mar?`:
```sql
                SELECT "latin" FROM "table1_25401_15" WHERE "catalan"='mar';
```
## Task
Generate a SQL query to answer the following question:
`If the Indian Scorers is Chinadorai Sabeeth, what is the name of the stadium?`

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

CREATE TABLE "2011_2012" (
  "date" text,
  "tournament" text,
  "location" text,
  "opponent" text,
  "stadium" text,
  "score" text,
  "indian_scorers" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the Indian Scorers is Chinadorai Sabeeth, what is the name of the stadium?`:
```sql
                SELECT "stadium" FROM "2011_2012" WHERE "indian_scorers"='Chinadorai Sabeeth';
```
## Task
Generate a SQL query to answer the following question:
`If the stadium name is the Thuwunna Stadium, what is the date?`

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

CREATE TABLE "2011_2012" (
  "date" text,
  "tournament" text,
  "location" text,
  "opponent" text,
  "stadium" text,
  "score" text,
  "indian_scorers" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the stadium name is the Thuwunna Stadium, what is the date?`:
```sql
                SELECT "date" FROM "2011_2012" WHERE "stadium"='Thuwunna Stadium';
```
## Task
Generate a SQL query to answer the following question:
`If the Indian scorers is the Chinadorai Sabeeth, what is the score?`

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

CREATE TABLE "2011_2012" (
  "date" text,
  "tournament" text,
  "location" text,
  "opponent" text,
  "stadium" text,
  "score" text,
  "indian_scorers" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the Indian scorers is the Chinadorai Sabeeth, what is the score?`:
```sql
                SELECT "score" FROM "2011_2012" WHERE "indian_scorers"='Chinadorai Sabeeth';
```
## Task
Generate a SQL query to answer the following question:
`If the location is Yangon, Myanmar, what is the opponent total number?`

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

CREATE TABLE "2011_2012" (
  "date" text,
  "tournament" text,
  "location" text,
  "opponent" text,
  "stadium" text,
  "score" text,
  "indian_scorers" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the location is Yangon, Myanmar, what is the opponent total number?`:
```sql
                SELECT COUNT("opponent") FROM "2011_2012" WHERE "location"='Yangon, Myanmar';
```
## Task
Generate a SQL query to answer the following question:
`How many provinces are named 青海省 qīnghǎi shěng?`

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

CREATE TABLE "list_of_provincial_level_divisions" (
  "gb" text,
  "iso" text,
  "province" text,
  "chinese_name" text,
  "capital" text,
  "population" real,
  "density" text,
  "area" real,
  "abbreviation_symbol" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many provinces are named 青海省 qīnghǎi shěng?`:
```sql
                SELECT COUNT("iso") FROM "list_of_provincial_level_divisions" WHERE "chinese_name"='青海省 Qīnghǎi Shěng';
```
## Task
Generate a SQL query to answer the following question:
`What is the area of the province with a density of 533.59?`

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

CREATE TABLE "list_of_provincial_level_divisions" (
  "gb" text,
  "iso" text,
  "province" text,
  "chinese_name" text,
  "capital" text,
  "population" real,
  "density" text,
  "area" real,
  "abbreviation_symbol" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the area of the province with a density of 533.59?`:
```sql
                SELECT MAX("area") FROM "list_of_provincial_level_divisions" WHERE "density"='533.59';
```
## Task
Generate a SQL query to answer the following question:
`How many provinces have a density of 165.81?`

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

CREATE TABLE "list_of_provincial_level_divisions" (
  "gb" text,
  "iso" text,
  "province" text,
  "chinese_name" text,
  "capital" text,
  "population" real,
  "density" text,
  "area" real,
  "abbreviation_symbol" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many provinces have a density of 165.81?`:
```sql
                SELECT COUNT("iso") FROM "list_of_provincial_level_divisions" WHERE "density"='165.81';
```
## Task
Generate a SQL query to answer the following question:
`What is the abbreviation/symbol of 辽宁省 liáoníng shěng?`

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

CREATE TABLE "list_of_provincial_level_divisions" (
  "gb" text,
  "iso" text,
  "province" text,
  "chinese_name" text,
  "capital" text,
  "population" real,
  "density" text,
  "area" real,
  "abbreviation_symbol" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the abbreviation/symbol of 辽宁省 liáoníng shěng?`:
```sql
                SELECT "abbreviation_symbol" FROM "list_of_provincial_level_divisions" WHERE "chinese_name"='辽宁省 Liáoníng Shěng';
```
## Task
Generate a SQL query to answer the following question:
`How many gb's have an iso number of cn-65?`

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

CREATE TABLE "list_of_provincial_level_divisions" (
  "gb" text,
  "iso" text,
  "province" text,
  "chinese_name" text,
  "capital" text,
  "population" real,
  "density" text,
  "area" real,
  "abbreviation_symbol" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many gb's have an iso number of cn-65?`:
```sql
                SELECT COUNT("gb") FROM "list_of_provincial_level_divisions" WHERE "iso"='CN-65';
```
## Task
Generate a SQL query to answer the following question:
`What is the chinese name of the province whose capital is hangzhou?`

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

CREATE TABLE "list_of_provincial_level_divisions" (
  "gb" text,
  "iso" text,
  "province" text,
  "chinese_name" text,
  "capital" text,
  "population" real,
  "density" text,
  "area" real,
  "abbreviation_symbol" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the chinese name of the province whose capital is hangzhou?`:
```sql
                SELECT "chinese_name" FROM "list_of_provincial_level_divisions" WHERE "capital"='Hangzhou';
```
## Task
Generate a SQL query to answer the following question:
`What is the fewest amount of races in any season? `

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team_name" text,
  "races" real,
  "wins" real,
  "points" text,
  "final_placing" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the fewest amount of races in any season? `:
```sql
                SELECT MIN("races") FROM "career_summary";
```
## Task
Generate a SQL query to answer the following question:
`How many races were there when Sigachev had 38 points?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team_name" text,
  "races" real,
  "wins" real,
  "points" text,
  "final_placing" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many races were there when Sigachev had 38 points?`:
```sql
                SELECT MIN("races") FROM "career_summary" WHERE "points"='38';
```
## Task
Generate a SQL query to answer the following question:
`What team was Sigachev on when he had 38 points? `

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team_name" text,
  "races" real,
  "wins" real,
  "points" text,
  "final_placing" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team was Sigachev on when he had 38 points? `:
```sql
                SELECT "team_name" FROM "career_summary" WHERE "points"='38';
```
## Task
Generate a SQL query to answer the following question:
`In what season was the final placing NC† and the team SL Formula Racing? `

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team_name" text,
  "races" real,
  "wins" real,
  "points" text,
  "final_placing" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what season was the final placing NC† and the team SL Formula Racing? `:
```sql
                SELECT "season" FROM "career_summary" WHERE "final_placing"='NC†' AND "team_name"='SL Formula Racing';
```
## Task
Generate a SQL query to answer the following question:
`what is distance for the 7th position?`

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

CREATE TABLE "finishing_order" (
  "position" text,
  "number" real,
  "horse" text,
  "jockey" text,
  "age" real,
  "handicap" text,
  "sp" text,
  "distance" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is distance for the 7th position?`:
```sql
                SELECT COUNT("distance") FROM "finishing_order" WHERE "position"='7th';
```
## Task
Generate a SQL query to answer the following question:
`who isthe jockey in 10th position?`

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

CREATE TABLE "finishing_order" (
  "position" text,
  "number" real,
  "horse" text,
  "jockey" text,
  "age" real,
  "handicap" text,
  "sp" text,
  "distance" text
);
### SQL
Given the database schema, here is the SQL query that answers `who isthe jockey in 10th position?`:
```sql
                SELECT "jockey" FROM "finishing_order" WHERE "position"='10th';
```
## Task
Generate a SQL query to answer the following question:
`what position is number 22?`

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

CREATE TABLE "finishing_order" (
  "position" text,
  "number" real,
  "horse" text,
  "jockey" text,
  "age" real,
  "handicap" text,
  "sp" text,
  "distance" text
);
### SQL
Given the database schema, here is the SQL query that answers `what position is number 22?`:
```sql
                SELECT "position" FROM "finishing_order" WHERE "number"=22;
```
## Task
Generate a SQL query to answer the following question:
`what horse is in the 6th position?`

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

CREATE TABLE "finishing_order" (
  "position" text,
  "number" real,
  "horse" text,
  "jockey" text,
  "age" real,
  "handicap" text,
  "sp" text,
  "distance" text
);
### SQL
Given the database schema, here is the SQL query that answers `what horse is in the 6th position?`:
```sql
                SELECT "horse" FROM "finishing_order" WHERE "position"='6th';
```
## Task
Generate a SQL query to answer the following question:
`what position has a handicap of 10-2?`

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

CREATE TABLE "finishing_order" (
  "position" text,
  "number" real,
  "horse" text,
  "jockey" text,
  "age" real,
  "handicap" text,
  "sp" text,
  "distance" text
);
### SQL
Given the database schema, here is the SQL query that answers `what position has a handicap of 10-2?`:
```sql
                SELECT "position" FROM "finishing_order" WHERE "handicap"='10-2';
```
## Task
Generate a SQL query to answer the following question:
`what is the handicap where the distance is 9 lengths?`

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

CREATE TABLE "finishing_order" (
  "position" text,
  "number" real,
  "horse" text,
  "jockey" text,
  "age" real,
  "handicap" text,
  "sp" text,
  "distance" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the handicap where the distance is 9 lengths?`:
```sql
                SELECT "handicap" FROM "finishing_order" WHERE "distance"='9 lengths';
```
## Task
Generate a SQL query to answer the following question:
`Which series occurred when the 7800 was 5040.00?`

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

CREATE TABLE "other_results" (
  "22_06_2008" text,
  "indonesia_super_series_2008" text,
  "s_series" text,
  "7800_00" text,
  "runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which series occurred when the 7800 was 5040.00?`:
```sql
                SELECT "indonesia_super_series_2008" FROM "other_results" WHERE "7800_00"='5040.00';
```
## Task
Generate a SQL query to answer the following question:
`Which series occurred in which the semi-finalist was runner-up and the 7800.00 was 6420.00?`

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

CREATE TABLE "other_results" (
  "22_06_2008" text,
  "indonesia_super_series_2008" text,
  "s_series" text,
  "7800_00" text,
  "runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which series occurred in which the semi-finalist was runner-up and the 7800.00 was 6420.00?`:
```sql
                SELECT "indonesia_super_series_2008" FROM "other_results" WHERE "runner_up"='Semi-Finalist' AND "7800_00"='6420.00';
```
## Task
Generate a SQL query to answer the following question:
`Which s.series occurred on 06/05/2007?`

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

CREATE TABLE "other_results" (
  "22_06_2008" text,
  "indonesia_super_series_2008" text,
  "s_series" text,
  "7800_00" text,
  "runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which s.series occurred on 06/05/2007?`:
```sql
                SELECT "s_series" FROM "other_results" WHERE "22_06_2008"='06/05/2007';
```
## Task
Generate a SQL query to answer the following question:
`What road is associated with Carson Valley county?`

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

CREATE TABLE "table1_25438110_5" (
  "casinos" real,
  "county" text,
  "road" text,
  "1_jul_08" real,
  "fy07_millions" text,
  "fy08_millions" text,
  "fy09_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What road is associated with Carson Valley county?`:
```sql
                SELECT "road" FROM "table1_25438110_5" WHERE "county"='Carson Valley';
```
## Task
Generate a SQL query to answer the following question:
`How many casinos are associated with a July 1, 2008 value of 1865746?`

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

CREATE TABLE "table1_25438110_5" (
  "casinos" real,
  "county" text,
  "road" text,
  "1_jul_08" real,
  "fy07_millions" text,
  "fy08_millions" text,
  "fy09_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many casinos are associated with a July 1, 2008 value of 1865746?`:
```sql
                SELECT "casinos" FROM "table1_25438110_5" WHERE "1_jul_08"=1865746;
```
## Task
Generate a SQL query to answer the following question:
`What county has exactly 17 casinos?`

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

CREATE TABLE "table1_25438110_5" (
  "casinos" real,
  "county" text,
  "road" text,
  "1_jul_08" real,
  "fy07_millions" text,
  "fy08_millions" text,
  "fy09_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What county has exactly 17 casinos?`:
```sql
                SELECT "county" FROM "table1_25438110_5" WHERE "casinos"=17;
```
## Task
Generate a SQL query to answer the following question:
`How many casinos are associated with a FY2009 $mil value of exactly $279?`

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

CREATE TABLE "table1_25438110_5" (
  "casinos" real,
  "county" text,
  "road" text,
  "1_jul_08" real,
  "fy07_millions" text,
  "fy08_millions" text,
  "fy09_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many casinos are associated with a FY2009 $mil value of exactly $279?`:
```sql
                SELECT COUNT("casinos") FROM "table1_25438110_5" WHERE "fy09_millions"='$279';
```
## Task
Generate a SQL query to answer the following question:
`What is the FY2008 $mil value associated with a FY2007 $mil value of exactly $120?`

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

CREATE TABLE "table1_25438110_5" (
  "casinos" real,
  "county" text,
  "road" text,
  "1_jul_08" real,
  "fy07_millions" text,
  "fy08_millions" text,
  "fy09_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the FY2008 $mil value associated with a FY2007 $mil value of exactly $120?`:
```sql
                SELECT "fy08_millions" FROM "table1_25438110_5" WHERE "fy07_millions"='$120';
```
## Task
Generate a SQL query to answer the following question:
`What country was Danissa Zurek from?`

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

CREATE TABLE "official_delegates" (
  "country" text,
  "contestant" text,
  "age" real,
  "height_cm" real,
  "height_ft" text,
  "hometown" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country was Danissa Zurek from?`:
```sql
                SELECT "country" FROM "official_delegates" WHERE "contestant"='Danissa Zurek';
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest height associated with Honduras?`

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

CREATE TABLE "official_delegates" (
  "country" text,
  "contestant" text,
  "age" real,
  "height_cm" real,
  "height_ft" text,
  "hometown" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest height associated with Honduras?`:
```sql
                SELECT MIN("height_cm") FROM "official_delegates" WHERE "country"='Honduras';
```
## Task
Generate a SQL query to answer the following question:
`What is the height associated with Paraguay?`

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

CREATE TABLE "official_delegates" (
  "country" text,
  "contestant" text,
  "age" real,
  "height_cm" real,
  "height_ft" text,
  "hometown" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the height associated with Paraguay?`:
```sql
                SELECT "height_ft" FROM "official_delegates" WHERE "country"='Paraguay';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of contestants who are aged exactly 18?`

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

CREATE TABLE "official_delegates" (
  "country" text,
  "contestant" text,
  "age" real,
  "height_cm" real,
  "height_ft" text,
  "hometown" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of contestants who are aged exactly 18?`:
```sql
                SELECT COUNT("contestant") FROM "official_delegates" WHERE "age"=18;
```
## Task
Generate a SQL query to answer the following question:
`What is the number of contestants who are 5'7" and exactly 26 years of age?`

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

CREATE TABLE "official_delegates" (
  "country" text,
  "contestant" text,
  "age" real,
  "height_cm" real,
  "height_ft" text,
  "hometown" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of contestants who are 5'7" and exactly 26 years of age?`:
```sql
                SELECT COUNT("contestant") FROM "official_delegates" WHERE "height_ft"='5''7\"' AND "age"=26;
```
## Task
Generate a SQL query to answer the following question:
`Who scored the most points on November 17?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who scored the most points on November 17?`:
```sql
                SELECT "high_points" FROM "schedule" WHERE "date"='November 17';
```
## Task
Generate a SQL query to answer the following question:
`What was the final score when the Temple Owls beat Virginia Tech?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the final score when the Temple Owls beat Virginia Tech?`:
```sql
                SELECT "score" FROM "schedule" WHERE "team"='Virginia Tech';
```
## Task
Generate a SQL query to answer the following question:
`How many games were played on november 27?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many games were played on november 27?`:
```sql
                SELECT COUNT("record") FROM "schedule" WHERE "date"='November 27';
```
## Task
Generate a SQL query to answer the following question:
`Who got the pole position if the supporting is USAC National Midget Series?`

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

CREATE TABLE "race_calendar_and_results" (
  "round" real,
  "circuit" text,
  "location" text,
  "date" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text,
  "supporting" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who got the pole position if the supporting is USAC National Midget Series?`:
```sql
                SELECT "pole_position" FROM "race_calendar_and_results" WHERE "supporting"='USAC National Midget Series';
```
## Task
Generate a SQL query to answer the following question:
`Who won the fastest lap if Anders Krohn won the pole position?`

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

CREATE TABLE "race_calendar_and_results" (
  "round" real,
  "circuit" text,
  "location" text,
  "date" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text,
  "supporting" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won the fastest lap if Anders Krohn won the pole position?`:
```sql
                SELECT "fastest_lap" FROM "race_calendar_and_results" WHERE "pole_position"='Anders Krohn';
```
## Task
Generate a SQL query to answer the following question:
`How many rounds did João Victor Horto achieved the fastest lap?`

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

CREATE TABLE "race_calendar_and_results" (
  "round" real,
  "circuit" text,
  "location" text,
  "date" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text,
  "supporting" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many rounds did João Victor Horto achieved the fastest lap?`:
```sql
                SELECT COUNT("round") FROM "race_calendar_and_results" WHERE "fastest_lap"='João Victor Horto';
```
## Task
Generate a SQL query to answer the following question:
`What circuit was used on August 21?`

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

CREATE TABLE "race_calendar_and_results" (
  "round" real,
  "circuit" text,
  "location" text,
  "date" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text,
  "supporting" text
);
### SQL
Given the database schema, here is the SQL query that answers `What circuit was used on August 21?`:
```sql
                SELECT "circuit" FROM "race_calendar_and_results" WHERE "date"='August 21';
```
## Task
Generate a SQL query to answer the following question:
`How many rounds did Alex Ardoin achieved a fastest lap?`

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

CREATE TABLE "race_calendar_and_results" (
  "round" real,
  "circuit" text,
  "location" text,
  "date" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text,
  "supporting" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many rounds did Alex Ardoin achieved a fastest lap?`:
```sql
                SELECT COUNT("round") FROM "race_calendar_and_results" WHERE "fastest_lap"='Alex Ardoin';
```
## Task
Generate a SQL query to answer the following question:
`What is the design when quantity is 5,000,000?`

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

CREATE TABLE "2010" (
  "date_of_issue" text,
  "theme" text,
  "denomination" text,
  "design" text,
  "illustration" text,
  "quantity" text,
  "printing_process" text,
  "paper_type" text,
  "first_day_cover_cancellation" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the design when quantity is 5,000,000?`:
```sql
                SELECT "design" FROM "2010" WHERE "quantity"='5,000,000';
```
## Task
Generate a SQL query to answer the following question:
`How many time is the theme rotary international : 100 years in canada?`

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

CREATE TABLE "2010" (
  "date_of_issue" text,
  "theme" text,
  "denomination" text,
  "design" text,
  "illustration" text,
  "quantity" text,
  "printing_process" text,
  "paper_type" text,
  "first_day_cover_cancellation" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many time is the theme rotary international : 100 years in canada?`:
```sql
                SELECT COUNT("printing_process") FROM "2010" WHERE "theme"='Rotary International : 100 Years in Canada';
```
## Task
Generate a SQL query to answer the following question:
`What is the paper type for the date of issue July 8?`

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

CREATE TABLE "2010" (
  "date_of_issue" text,
  "theme" text,
  "denomination" text,
  "design" text,
  "illustration" text,
  "quantity" text,
  "printing_process" text,
  "paper_type" text,
  "first_day_cover_cancellation" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the paper type for the date of issue July 8?`:
```sql
                SELECT "paper_type" FROM "2010" WHERE "date_of_issue"='July 8';
```
## Task
Generate a SQL query to answer the following question:
`What is the theme when the printing process is litho in 3 cols and intaglio?`

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

CREATE TABLE "2010" (
  "date_of_issue" text,
  "theme" text,
  "denomination" text,
  "design" text,
  "illustration" text,
  "quantity" text,
  "printing_process" text,
  "paper_type" text,
  "first_day_cover_cancellation" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the theme when the printing process is litho in 3 cols and intaglio?`:
```sql
                SELECT "theme" FROM "2010" WHERE "printing_process"='Litho in 3 cols and intaglio';
```
## Task
Generate a SQL query to answer the following question:
`How many times is the theme roadside attractions: wawa goose?`

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

CREATE TABLE "2010" (
  "date_of_issue" text,
  "theme" text,
  "denomination" text,
  "design" text,
  "illustration" text,
  "quantity" text,
  "printing_process" text,
  "paper_type" text,
  "first_day_cover_cancellation" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times is the theme roadside attractions: wawa goose?`:
```sql
                SELECT COUNT("quantity") FROM "2010" WHERE "theme"='Roadside Attractions: Wawa Goose';
```
## Task
Generate a SQL query to answer the following question:
`What is the theme when the date of issue is 11 january 2010?`

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

CREATE TABLE "2010" (
  "date_of_issue" text,
  "theme" text,
  "denomination" text,
  "design" text,
  "illustration" text,
  "quantity" text,
  "printing_process" text,
  "paper_type" text,
  "first_day_cover_cancellation" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the theme when the date of issue is 11 january 2010?`:
```sql
                SELECT "theme" FROM "2010" WHERE "date_of_issue"='11 January 2010';
```
## Task
Generate a SQL query to answer the following question:
`When did they play Dayton?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did they play Dayton?`:
```sql
                SELECT "date" FROM "schedule" WHERE "team"='Dayton';
```
## Task
Generate a SQL query to answer the following question:
`What is the platform of Geworkbench?`

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

CREATE TABLE "table1_25474825_1" (
  "software" text,
  "description" text,
  "platform" text,
  "license" text,
  "developer" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the platform of Geworkbench?`:
```sql
                SELECT "platform" FROM "table1_25474825_1" WHERE "software"='GeWorkbench';
```