cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What was the qualification with more than 585 laps?`

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

CREATE TABLE "indy_500_results" (
  "year" text,
  "start" text,
  "qual" text,
  "rank" text,
  "finish" text,
  "laps" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the qualification with more than 585 laps?`:
```sql
                SELECT "qual" FROM "indy_500_results" WHERE "laps"=585;
```
## Task
Generate a SQL query to answer the following question:
`How many laps had a qualification of 136.168?`

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

CREATE TABLE "indy_500_results" (
  "year" text,
  "start" text,
  "qual" text,
  "rank" text,
  "finish" text,
  "laps" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many laps had a qualification of 136.168?`:
```sql
                SELECT COUNT("laps") FROM "indy_500_results" WHERE "qual"='136.168';
```
## Task
Generate a SQL query to answer the following question:
`Who was appointed with the title of envoy extraordinary and minister plenipotentiary, and a termination of mission of march 16, 1905?`

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

CREATE TABLE "see_also" (
  "representative" text,
  "title" text,
  "presentation_of_credentials" text,
  "termination_of_mission" text,
  "appointed_by" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was appointed with the title of envoy extraordinary and minister plenipotentiary, and a termination of mission of march 16, 1905?`:
```sql
                SELECT "appointed_by" FROM "see_also" WHERE "title"='envoy extraordinary and minister plenipotentiary' AND "termination_of_mission"='march 16, 1905';
```
## Task
Generate a SQL query to answer the following question:
`What is the GDP (billion US$) of the country that has a GDP per capita (US$) of 8,861?`

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

CREATE TABLE "2004_enlargement" (
  "member_countries" text,
  "population" text,
  "area_km" text,
  "gdp_billion_us" text,
  "gdp_per_capita_us" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the GDP (billion US$) of the country that has a GDP per capita (US$) of 8,861?`:
```sql
                SELECT "gdp_billion_us" FROM "2004_enlargement" WHERE "gdp_per_capita_us"='8,861';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the member country that has a Population of 1,341,664?`

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

CREATE TABLE "2004_enlargement" (
  "member_countries" text,
  "population" text,
  "area_km" text,
  "gdp_billion_us" text,
  "gdp_per_capita_us" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the member country that has a Population of 1,341,664?`:
```sql
                SELECT "member_countries" FROM "2004_enlargement" WHERE "population"='1,341,664';
```
## Task
Generate a SQL query to answer the following question:
`What is the total population of the country that has a GDP per capita (US$) of 15,054?`

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

CREATE TABLE "2004_enlargement" (
  "member_countries" text,
  "population" text,
  "area_km" text,
  "gdp_billion_us" text,
  "gdp_per_capita_us" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total population of the country that has a GDP per capita (US$) of 15,054?`:
```sql
                SELECT "population" FROM "2004_enlargement" WHERE "gdp_per_capita_us"='15,054';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the country that has an Area (km²) of 49,036?`

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

CREATE TABLE "2004_enlargement" (
  "member_countries" text,
  "population" text,
  "area_km" text,
  "gdp_billion_us" text,
  "gdp_per_capita_us" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the country that has an Area (km²) of 49,036?`:
```sql
                SELECT "member_countries" FROM "2004_enlargement" WHERE "area_km"='49,036';
```
## Task
Generate a SQL query to answer the following question:
`What is the GDP (billion US$) of the country that has an Area (km²) of 316?`

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

CREATE TABLE "2004_enlargement" (
  "member_countries" text,
  "population" text,
  "area_km" text,
  "gdp_billion_us" text,
  "gdp_per_capita_us" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the GDP (billion US$) of the country that has an Area (km²) of 316?`:
```sql
                SELECT "gdp_billion_us" FROM "2004_enlargement" WHERE "area_km"='316';
```
## Task
Generate a SQL query to answer the following question:
`What is the GDP per capita (US$) of the country that has a Population of 2,011,473?`

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

CREATE TABLE "2004_enlargement" (
  "member_countries" text,
  "population" text,
  "area_km" text,
  "gdp_billion_us" text,
  "gdp_per_capita_us" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the GDP per capita (US$) of the country that has a Population of 2,011,473?`:
```sql
                SELECT "gdp_per_capita_us" FROM "2004_enlargement" WHERE "population"='2,011,473';
```
## Task
Generate a SQL query to answer the following question:
`What is the original title for the Korean language film?`

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

CREATE TABLE "references" (
  "country" text,
  "film_title_used_in_nomination" text,
  "language" text,
  "original_title" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the original title for the Korean language film?`:
```sql
                SELECT "original_title" FROM "references" WHERE "language"='korean';
```
## Task
Generate a SQL query to answer the following question:
`What language is the film La Diagonale du Fou in?`

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

CREATE TABLE "references" (
  "country" text,
  "film_title_used_in_nomination" text,
  "language" text,
  "original_title" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `What language is the film La Diagonale du Fou in?`:
```sql
                SELECT "language" FROM "references" WHERE "original_title"='la diagonale du fou';
```
## Task
Generate a SQL query to answer the following question:
`What was the original title of the Hindi film?`

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

CREATE TABLE "references" (
  "country" text,
  "film_title_used_in_nomination" text,
  "language" text,
  "original_title" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the original title of the Hindi film?`:
```sql
                SELECT "original_title" FROM "references" WHERE "language"='hindi';
```
## Task
Generate a SQL query to answer the following question:
`What language is the film Karnal in?`

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

CREATE TABLE "references" (
  "country" text,
  "film_title_used_in_nomination" text,
  "language" text,
  "original_title" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `What language is the film Karnal in?`:
```sql
                SELECT "language" FROM "references" WHERE "original_title"='karnal';
```
## Task
Generate a SQL query to answer the following question:
`What was the film title nominated from the Netherlands?`

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

CREATE TABLE "references" (
  "country" text,
  "film_title_used_in_nomination" text,
  "language" text,
  "original_title" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the film title nominated from the Netherlands?`:
```sql
                SELECT "film_title_used_in_nomination" FROM "references" WHERE "country"='netherlands';
```
## Task
Generate a SQL query to answer the following question:
`What was the film title nominated from the Sweden?`

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

CREATE TABLE "references" (
  "country" text,
  "film_title_used_in_nomination" text,
  "language" text,
  "original_title" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the film title nominated from the Sweden?`:
```sql
                SELECT "film_title_used_in_nomination" FROM "references" WHERE "country"='sweden';
```
## Task
Generate a SQL query to answer the following question:
`On the Date of 15 June 1992 what is the Score that is listed?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `On the Date of 15 June 1992 what is the Score that is listed?`:
```sql
                SELECT "score" FROM "international_goals" WHERE "date"='15 june 1992';
```
## Task
Generate a SQL query to answer the following question:
`How many Persian Wars have a School of rashtriya indian military college, and an 1860-1878 smaller than 0?`

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

CREATE TABLE "notes_and_references" (
  "school" text,
  "location" text,
  "total" real,
  "crimean_war" real,
  "persian_war" real,
  "indian_mutiny" real,
  "1860_1878" real,
  "zulu_war" real,
  "second_afghan_war" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many Persian Wars have a School of rashtriya indian military college, and an 1860-1878 smaller than 0?`:
```sql
                SELECT COUNT("persian_war") FROM "notes_and_references" WHERE "school"='rashtriya indian military college' AND "1860_1878"<0;
```
## Task
Generate a SQL query to answer the following question:
`What is the largest Persian War with a Crimean War of 0, an 1860-1878 larger than 0, a Location of united kingdom, and a Zulu War smaller than 1?`

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

CREATE TABLE "notes_and_references" (
  "school" text,
  "location" text,
  "total" real,
  "crimean_war" real,
  "persian_war" real,
  "indian_mutiny" real,
  "1860_1878" real,
  "zulu_war" real,
  "second_afghan_war" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest Persian War with a Crimean War of 0, an 1860-1878 larger than 0, a Location of united kingdom, and a Zulu War smaller than 1?`:
```sql
                SELECT MAX("persian_war") FROM "notes_and_references" WHERE "crimean_war"=0 AND "1860_1878">0 AND "location"='united kingdom' AND "zulu_war"<1;
```
## Task
Generate a SQL query to answer the following question:
`What is the average Crimean War with a Second Afghan War totaling 1, and a School of hamblin and porter's school, cork?`

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

CREATE TABLE "notes_and_references" (
  "school" text,
  "location" text,
  "total" real,
  "crimean_war" real,
  "persian_war" real,
  "indian_mutiny" real,
  "1860_1878" real,
  "zulu_war" real,
  "second_afghan_war" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Crimean War with a Second Afghan War totaling 1, and a School of hamblin and porter's school, cork?`:
```sql
                SELECT AVG("crimean_war") FROM "notes_and_references" WHERE "second_afghan_war"='1' AND "school"='hamblin and porter''s school, cork';
```
## Task
Generate a SQL query to answer the following question:
`Which Crimean War has a 1860-1878 of 0, a Total of 1, and an Indian Mutiny larger than 0?`

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

CREATE TABLE "notes_and_references" (
  "school" text,
  "location" text,
  "total" real,
  "crimean_war" real,
  "persian_war" real,
  "indian_mutiny" real,
  "1860_1878" real,
  "zulu_war" real,
  "second_afghan_war" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Crimean War has a 1860-1878 of 0, a Total of 1, and an Indian Mutiny larger than 0?`:
```sql
                SELECT "crimean_war" FROM "notes_and_references" WHERE "1860_1878"=0 AND "total"=1 AND "indian_mutiny">0;
```
## Task
Generate a SQL query to answer the following question:
`Which school has an 1860-1878 larger than 0, and a Second Afghan War of 0?`

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

CREATE TABLE "notes_and_references" (
  "school" text,
  "location" text,
  "total" real,
  "crimean_war" real,
  "persian_war" real,
  "indian_mutiny" real,
  "1860_1878" real,
  "zulu_war" real,
  "second_afghan_war" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which school has an 1860-1878 larger than 0, and a Second Afghan War of 0?`:
```sql
                SELECT "school" FROM "notes_and_references" WHERE "1860_1878">0 AND "second_afghan_war"='0';
```
## Task
Generate a SQL query to answer the following question:
`What Venue has Basketball as a Sport?`

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

CREATE TABLE "saint_petersburg_teams" (
  "club" text,
  "league" text,
  "sport" text,
  "venue" text,
  "established" real
);
### SQL
Given the database schema, here is the SQL query that answers `What Venue has Basketball as a Sport?`:
```sql
                SELECT "venue" FROM "saint_petersburg_teams" WHERE "sport"='basketball';
```
## Task
Generate a SQL query to answer the following question:
`What Venue has Spartak St. Petersburg Club?`

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

CREATE TABLE "saint_petersburg_teams" (
  "club" text,
  "league" text,
  "sport" text,
  "venue" text,
  "established" real
);
### SQL
Given the database schema, here is the SQL query that answers `What Venue has Spartak St. Petersburg Club?`:
```sql
                SELECT "venue" FROM "saint_petersburg_teams" WHERE "club"='spartak st. petersburg';
```
## Task
Generate a SQL query to answer the following question:
`What League of VSL Sport was Established in 1935?`

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

CREATE TABLE "saint_petersburg_teams" (
  "club" text,
  "league" text,
  "sport" text,
  "venue" text,
  "established" real
);
### SQL
Given the database schema, here is the SQL query that answers `What League of VSL Sport was Established in 1935?`:
```sql
                SELECT "sport" FROM "saint_petersburg_teams" WHERE "established"=1935 AND "league"='vsl';
```
## Task
Generate a SQL query to answer the following question:
`What Club Established in 2010 has a League of MHL?`

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

CREATE TABLE "saint_petersburg_teams" (
  "club" text,
  "league" text,
  "sport" text,
  "venue" text,
  "established" real
);
### SQL
Given the database schema, here is the SQL query that answers `What Club Established in 2010 has a League of MHL?`:
```sql
                SELECT "club" FROM "saint_petersburg_teams" WHERE "league"='mhl' AND "established"=2010;
```
## Task
Generate a SQL query to answer the following question:
`What was the highest attendance week 12?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the highest attendance week 12?`:
```sql
                SELECT MAX("attendance") FROM "schedule" WHERE "week"=12;
```
## Task
Generate a SQL query to answer the following question:
`What is the record for the result w 33-3?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record for the result w 33-3?`:
```sql
                SELECT "record" FROM "schedule" WHERE "result"='w 33-3';
```
## Task
Generate a SQL query to answer the following question:
`What Committee has the First Elected of 1993?`

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

CREATE TABLE "members" (
  "district" text,
  "counties_represented" text,
  "delegate" text,
  "party" text,
  "first_elected" real,
  "committee" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Committee has the First Elected of 1993?`:
```sql
                SELECT "committee" FROM "members" WHERE "first_elected"=1993;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of First Elected that has counties represented of Anne Arundel, District of 30, and a Ways and Means Committee?`

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

CREATE TABLE "members" (
  "district" text,
  "counties_represented" text,
  "delegate" text,
  "party" text,
  "first_elected" real,
  "committee" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of First Elected that has counties represented of Anne Arundel, District of 30, and a Ways and Means Committee?`:
```sql
                SELECT COUNT("first_elected") FROM "members" WHERE "counties_represented"='anne arundel' AND "district"='30' AND "committee"='ways and means';
```
## Task
Generate a SQL query to answer the following question:
`What counties represented have a First Elected of 2006 and a Ways and Means Committee?`

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

CREATE TABLE "members" (
  "district" text,
  "counties_represented" text,
  "delegate" text,
  "party" text,
  "first_elected" real,
  "committee" text
);
### SQL
Given the database schema, here is the SQL query that answers `What counties represented have a First Elected of 2006 and a Ways and Means Committee?`:
```sql
                SELECT "counties_represented" FROM "members" WHERE "first_elected"=2006 AND "committee"='ways and means';
```
## Task
Generate a SQL query to answer the following question:
`For Central Bank of Uruguay, what's the 1USD=?`

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

CREATE TABLE "currency" (
  "country" text,
  "currency" text,
  "1_euro" real,
  "1_usd" real,
  "central_bank" text
);
### SQL
Given the database schema, here is the SQL query that answers `For Central Bank of Uruguay, what's the 1USD=?`:
```sql
                SELECT "1_usd" FROM "currency" WHERE "central_bank"='central bank of uruguay';
```
## Task
Generate a SQL query to answer the following question:
`What is the 1USD= that has the Uruguayan Peso (uyu) and 1 Euro is greater than 25.3797?`

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

CREATE TABLE "currency" (
  "country" text,
  "currency" text,
  "1_euro" real,
  "1_usd" real,
  "central_bank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1USD= that has the Uruguayan Peso (uyu) and 1 Euro is greater than 25.3797?`:
```sql
                SELECT SUM("1_usd") FROM "currency" WHERE "currency"='uruguayan peso (uyu)' AND "1_euro">25.3797;
```
## Task
Generate a SQL query to answer the following question:
`What is the 1USD= in Chile and has 1 Euro greater than 635.134?`

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

CREATE TABLE "currency" (
  "country" text,
  "currency" text,
  "1_euro" real,
  "1_usd" real,
  "central_bank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1USD= in Chile and has 1 Euro greater than 635.134?`:
```sql
                SELECT COUNT("1_usd") FROM "currency" WHERE "country"='chile' AND "1_euro">635.134;
```
## Task
Generate a SQL query to answer the following question:
`If the 1USD= 5,916.27, what is the lowest 1 Euro amount?`

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

CREATE TABLE "currency" (
  "country" text,
  "currency" text,
  "1_euro" real,
  "1_usd" real,
  "central_bank" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the 1USD= 5,916.27, what is the lowest 1 Euro amount?`:
```sql
                SELECT MIN("1_euro") FROM "currency" WHERE "1_usd"='5,916.27';
```
## Task
Generate a SQL query to answer the following question:
`What is the venue when the year is after 2001 for the summer olympics?`

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

CREATE TABLE "achievements" (
  "year" real,
  "competition" text,
  "venue" text,
  "position" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the venue when the year is after 2001 for the summer olympics?`:
```sql
                SELECT "venue" FROM "achievements" WHERE "year">2001 AND "competition"='summer olympics';
```
## Task
Generate a SQL query to answer the following question:
`What is the total attendance for the August 8 game?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total attendance for the August 8 game?`:
```sql
                SELECT SUM("attendance") FROM "game_log" WHERE "date"='august 8';
```
## Task
Generate a SQL query to answer the following question:
`Which opponent led to a 56-59 record?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which opponent led to a 56-59 record?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "record"='56-59';
```
## Task
Generate a SQL query to answer the following question:
`Where did they play that the score was 22-12?`

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

CREATE TABLE "super_league_tries" (
  "date" text,
  "venue" text,
  "opponent" text,
  "result" text,
  "tournament" text,
  "scored" real
);
### SQL
Given the database schema, here is the SQL query that answers `Where did they play that the score was 22-12?`:
```sql
                SELECT "venue" FROM "super_league_tries" WHERE "result"='22-12';
```
## Task
Generate a SQL query to answer the following question:
`What language is spoken after 2007 for the role of urvashi mathur?`

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

CREATE TABLE "films" (
  "year" real,
  "title" text,
  "role" text,
  "language" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What language is spoken after 2007 for the role of urvashi mathur?`:
```sql
                SELECT "language" FROM "films" WHERE "year">2007 AND "role"='urvashi mathur';
```
## Task
Generate a SQL query to answer the following question:
`What role is spoken in hindi in 2011?`

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

CREATE TABLE "films" (
  "year" real,
  "title" text,
  "role" text,
  "language" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What role is spoken in hindi in 2011?`:
```sql
                SELECT "role" FROM "films" WHERE "language"='hindi' AND "year"=2011;
```
## Task
Generate a SQL query to answer the following question:
`What is the note section for the role with a language of hindi and a title of miley naa miley hum?`

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

CREATE TABLE "films" (
  "year" real,
  "title" text,
  "role" text,
  "language" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the note section for the role with a language of hindi and a title of miley naa miley hum?`:
```sql
                SELECT "notes" FROM "films" WHERE "language"='hindi' AND "title"='miley naa miley hum';
```
## Task
Generate a SQL query to answer the following question:
`What is the title of the song that has a translation of Without Me?`

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

CREATE TABLE "track_listing" (
  "title" text,
  "english_translation" text,
  "lyrics_by" text,
  "music_by" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of the song that has a translation of Without Me?`:
```sql
                SELECT "title" FROM "track_listing" WHERE "english_translation"='without me';
```
## Task
Generate a SQL query to answer the following question:
`what is the molecules when the percent mass is 1.0?`

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

CREATE TABLE "composition_by_molecule_type" (
  "molecule" text,
  "percent_of_mass" text,
  "mol_weight_daltons" text,
  "molecules" text,
  "percent_of_molecules" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the molecules when the percent mass is 1.0?`:
```sql
                SELECT "molecules" FROM "composition_by_molecule_type" WHERE "percent_of_mass"='1.0';
```
## Task
Generate a SQL query to answer the following question:
`What is the percent of molecules when the mol.weight (daltons) is n/a and the molecule is other s inorganic?`

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

CREATE TABLE "composition_by_molecule_type" (
  "molecule" text,
  "percent_of_mass" text,
  "mol_weight_daltons" text,
  "molecules" text,
  "percent_of_molecules" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the percent of molecules when the mol.weight (daltons) is n/a and the molecule is other s inorganic?`:
```sql
                SELECT "percent_of_molecules" FROM "composition_by_molecule_type" WHERE "mol_weight_daltons"='n/a' AND "molecule"='other s inorganic';
```
## Task
Generate a SQL query to answer the following question:
`what is the mol.weight (daltons) when the percent of mass is 1.5?`

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

CREATE TABLE "composition_by_molecule_type" (
  "molecule" text,
  "percent_of_mass" text,
  "mol_weight_daltons" text,
  "molecules" text,
  "percent_of_molecules" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the mol.weight (daltons) when the percent of mass is 1.5?`:
```sql
                SELECT "mol_weight_daltons" FROM "composition_by_molecule_type" WHERE "percent_of_mass"='1.5';
```
## Task
Generate a SQL query to answer the following question:
`what is the perfect of mass when the molecules is 1.74e14*?`

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

CREATE TABLE "composition_by_molecule_type" (
  "molecule" text,
  "percent_of_mass" text,
  "mol_weight_daltons" text,
  "molecules" text,
  "percent_of_molecules" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the perfect of mass when the molecules is 1.74e14*?`:
```sql
                SELECT "percent_of_mass" FROM "composition_by_molecule_type" WHERE "molecules"='1.74e14*';
```
## Task
Generate a SQL query to answer the following question:
`what is the percent of mass when the mol.weight (daltons) is 1e11?`

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

CREATE TABLE "composition_by_molecule_type" (
  "molecule" text,
  "percent_of_mass" text,
  "mol_weight_daltons" text,
  "molecules" text,
  "percent_of_molecules" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the percent of mass when the mol.weight (daltons) is 1e11?`:
```sql
                SELECT "percent_of_mass" FROM "composition_by_molecule_type" WHERE "mol_weight_daltons"='1e11';
```
## Task
Generate a SQL query to answer the following question:
`How many people attended the game when the away team was dynamo kyiv, and a Home team of torpedo zaporizhia?`

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

CREATE TABLE "top_attendances" (
  "rank" real,
  "round" text,
  "home_team" text,
  "away_team" text,
  "result" text,
  "location" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many people attended the game when the away team was dynamo kyiv, and a Home team of torpedo zaporizhia?`:
```sql
                SELECT "attendance" FROM "top_attendances" WHERE "away_team"='dynamo kyiv' AND "home_team"='torpedo zaporizhia';
```
## Task
Generate a SQL query to answer the following question:
`What was the round when the home team was chornomorets odessa?`

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

CREATE TABLE "top_attendances" (
  "rank" real,
  "round" text,
  "home_team" text,
  "away_team" text,
  "result" text,
  "location" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the round when the home team was chornomorets odessa?`:
```sql
                SELECT "round" FROM "top_attendances" WHERE "home_team"='chornomorets odessa';
```
## Task
Generate a SQL query to answer the following question:
`What is the rank when the game was at dnipro stadium , kremenchuk?`

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

CREATE TABLE "top_attendances" (
  "rank" real,
  "round" text,
  "home_team" text,
  "away_team" text,
  "result" text,
  "location" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rank when the game was at dnipro stadium , kremenchuk?`:
```sql
                SELECT "rank" FROM "top_attendances" WHERE "location"='dnipro stadium , kremenchuk';
```
## Task
Generate a SQL query to answer the following question:
`What are the lowest points for the engines of the Lamborghini v12 and the Chassis on Minardi m191b?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the lowest points for the engines of the Lamborghini v12 and the Chassis on Minardi m191b?`:
```sql
                SELECT MIN("points") FROM "complete_formula_one_results" WHERE "engine"='lamborghini v12' AND "chassis"='minardi m191b';
```
## Task
Generate a SQL query to answer the following question:
`What is the Chassis from before 1997 with a Lamborghini v12 engine?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Chassis from before 1997 with a Lamborghini v12 engine?`:
```sql
                SELECT "chassis" FROM "complete_formula_one_results" WHERE "year"<1997 AND "engine"='lamborghini v12';
```
## Task
Generate a SQL query to answer the following question:
`What is the total of the year with a point larger than 0 or the Chassis of Minardi m190?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total of the year with a point larger than 0 or the Chassis of Minardi m190?`:
```sql
                SELECT SUM("year") FROM "complete_formula_one_results" WHERE "chassis"='minardi m190' AND "points">0;
```
## Task
Generate a SQL query to answer the following question:
`What are the lowest points from 1992 with a Chassis of Minardi m192?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the lowest points from 1992 with a Chassis of Minardi m192?`:
```sql
                SELECT MIN("points") FROM "complete_formula_one_results" WHERE "year"=1992 AND "chassis"='minardi m192';
```
## Task
Generate a SQL query to answer the following question:
`What Entrant has 0 points and from 1997?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What Entrant has 0 points and from 1997?`:
```sql
                SELECT "entrant" FROM "complete_formula_one_results" WHERE "points"=0 AND "year"=1997;
```
## Task
Generate a SQL query to answer the following question:
`What is the total roll with a decile less than 7, and an authority of state, in the Macraes Flat area?`

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

CREATE TABLE "waitaki_district" (
  "name" text,
  "years" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" real,
  "roll" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total roll with a decile less than 7, and an authority of state, in the Macraes Flat area?`:
```sql
                SELECT COUNT("roll") FROM "waitaki_district" WHERE "decile"=7 AND "authority"='state' AND "area"='macraes flat';
```
## Task
Generate a SQL query to answer the following question:
`What year has a decile more than 6, in the Waikouaiti area?`

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

CREATE TABLE "waitaki_district" (
  "name" text,
  "years" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" real,
  "roll" real
);
### SQL
Given the database schema, here is the SQL query that answers `What year has a decile more than 6, in the Waikouaiti area?`:
```sql
                SELECT "years" FROM "waitaki_district" WHERE "decile">6 AND "area"='waikouaiti';
```
## Task
Generate a SQL query to answer the following question:
`What place did the Nashville Metros place in the 1994/95 Season?`

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

CREATE TABLE "indoor" (
  "year" text,
  "division" text,
  "league" text,
  "regular_season" text,
  "playoffs" text
);
### SQL
Given the database schema, here is the SQL query that answers `What place did the Nashville Metros place in the 1994/95 Season?`:
```sql
                SELECT "regular_season" FROM "indoor" WHERE "year"='1994/95';
```
## Task
Generate a SQL query to answer the following question:
`What years did the Nashville Metros have Usisl Indoor League?`

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

CREATE TABLE "indoor" (
  "year" text,
  "division" text,
  "league" text,
  "regular_season" text,
  "playoffs" text
);
### SQL
Given the database schema, here is the SQL query that answers `What years did the Nashville Metros have Usisl Indoor League?`:
```sql
                SELECT "year" FROM "indoor" WHERE "league"='usisl indoor';
```
## Task
Generate a SQL query to answer the following question:
`Which Round has kim eun-ha as an Opponent?`

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

CREATE TABLE "singles_4_4" (
  "edition" text,
  "round" text,
  "date" text,
  "surface" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Round has kim eun-ha as an Opponent?`:
```sql
                SELECT "round" FROM "singles_4_4" WHERE "opponent"='kim eun-ha';
```
## Task
Generate a SQL query to answer the following question:
`Which kind of Edition that has a Surface of clay, and Park Sung-Hee as an opponent?`

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

CREATE TABLE "singles_4_4" (
  "edition" text,
  "round" text,
  "date" text,
  "surface" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which kind of Edition that has a Surface of clay, and Park Sung-Hee as an opponent?`:
```sql
                SELECT "edition" FROM "singles_4_4" WHERE "surface"='clay' AND "opponent"='park sung-hee';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest gold number count where a county had over 9 golds and 10 silvers?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest gold number count where a county had over 9 golds and 10 silvers?`:
```sql
                SELECT MAX("gold") FROM "medal_table" WHERE "total">9 AND "silver">10;
```
## Task
Generate a SQL query to answer the following question:
`How many bronze medals did the country with 7 medals and over 5 silver medals receive?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many bronze medals did the country with 7 medals and over 5 silver medals receive?`:
```sql
                SELECT SUM("bronze") FROM "medal_table" WHERE "total"=7 AND "silver">5;
```
## Task
Generate a SQL query to answer the following question:
`Name the date for venue of lord's`

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

CREATE TABLE "south_africa_in_england" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the date for venue of lord's`:
```sql
                SELECT "date" FROM "south_africa_in_england" WHERE "venue"='lord''s';
```
## Task
Generate a SQL query to answer the following question:
`Name the result for venue of lord's`

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

CREATE TABLE "south_africa_in_england" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the result for venue of lord's`:
```sql
                SELECT "result" FROM "south_africa_in_england" WHERE "venue"='lord''s';
```
## Task
Generate a SQL query to answer the following question:
`Name the date for result of eng by 23 runs`

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

CREATE TABLE "south_africa_in_england" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the date for result of eng by 23 runs`:
```sql
                SELECT "date" FROM "south_africa_in_england" WHERE "result"='eng by 23 runs';
```
## Task
Generate a SQL query to answer the following question:
`Name the date for result of draw, and venue of edgbaston`

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

CREATE TABLE "south_africa_in_england" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the date for result of draw, and venue of edgbaston`:
```sql
                SELECT "date" FROM "south_africa_in_england" WHERE "result"='draw' AND "venue"='edgbaston';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of weeks that the Seahawks had a record of 5-5?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of weeks that the Seahawks had a record of 5-5?`:
```sql
                SELECT COUNT("week") FROM "schedule" WHERE "record"='5-5';
```
## Task
Generate a SQL query to answer the following question:
`Who has 1 win, 1 loss, and has played 2 matches?`

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

CREATE TABLE "match_record" (
  "name" text,
  "period" text,
  "matches" text,
  "wins" text,
  "draws" text,
  "losses" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who has 1 win, 1 loss, and has played 2 matches?`:
```sql
                SELECT "name" FROM "match_record" WHERE "wins"='1' AND "losses"='1' AND "matches"='2';
```
## Task
Generate a SQL query to answer the following question:
`Who has 5 losses and has played 11 matches?`

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

CREATE TABLE "match_record" (
  "name" text,
  "period" text,
  "matches" text,
  "wins" text,
  "draws" text,
  "losses" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who has 5 losses and has played 11 matches?`:
```sql
                SELECT "name" FROM "match_record" WHERE "losses"='5' AND "matches"='11';
```
## Task
Generate a SQL query to answer the following question:
`How many matches has Mohammad Al-Shamlan played when there is 1 win?`

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

CREATE TABLE "match_record" (
  "name" text,
  "period" text,
  "matches" text,
  "wins" text,
  "draws" text,
  "losses" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many matches has Mohammad Al-Shamlan played when there is 1 win?`:
```sql
                SELECT "matches" FROM "match_record" WHERE "wins"='1' AND "name"='mohammad al-shamlan';
```
## Task
Generate a SQL query to answer the following question:
`How many matches were played when there was 1 draw and 1 win?`

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

CREATE TABLE "match_record" (
  "name" text,
  "period" text,
  "matches" text,
  "wins" text,
  "draws" text,
  "losses" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many matches were played when there was 1 draw and 1 win?`:
```sql
                SELECT "matches" FROM "match_record" WHERE "draws"='1' AND "wins"='1';
```
## Task
Generate a SQL query to answer the following question:
`Name the played with lost of 5`

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

CREATE TABLE "2010_2011_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the played with lost of 5`:
```sql
                SELECT "played" FROM "2010_2011_table" WHERE "lost"='5';
```
## Task
Generate a SQL query to answer the following question:
`Name the played with points against of points against`

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

CREATE TABLE "2010_2011_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the played with points against of points against`:
```sql
                SELECT "played" FROM "2010_2011_table" WHERE "points_against"='points against';
```
## Task
Generate a SQL query to answer the following question:
`Name the tries with tries against of 38`

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

CREATE TABLE "2010_2011_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the tries with tries against of 38`:
```sql
                SELECT "tries_for" FROM "2010_2011_table" WHERE "tries_against"='38';
```
## Task
Generate a SQL query to answer the following question:
`Name the points against when tries against is 51 and points is 52 with played of 22`

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

CREATE TABLE "2010_2011_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the points against when tries against is 51 and points is 52 with played of 22`:
```sql
                SELECT "points_against" FROM "2010_2011_table" WHERE "played"='22' AND "points"='52' AND "tries_against"='51';
```
## Task
Generate a SQL query to answer the following question:
`Name the points against for cwmllynfell rfc`

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

CREATE TABLE "2010_2011_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the points against for cwmllynfell rfc`:
```sql
                SELECT "points_against" FROM "2010_2011_table" WHERE "club"='cwmllynfell rfc';
```