cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the total number of losses for teams with less than 5 ties and more than 330 goals for?`

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

CREATE TABLE "season_by_season_results" (
  "season" text,
  "league" text,
  "games" real,
  "lost" real,
  "tied" real,
  "points" real,
  "winning_pct" real,
  "goals_for" real,
  "goals_against" real,
  "standing" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of losses for teams with less than 5 ties and more than 330 goals for?`:
```sql
                SELECT COUNT("lost") FROM "season_by_season_results" WHERE "tied"<5 AND "goals_for">330;
```
## Task
Generate a SQL query to answer the following question:
`What is the Score of the Competition with a Result of 5-0?`

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

CREATE TABLE "goals_for_senior_national_team" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Score of the Competition with a Result of 5-0?`:
```sql
                SELECT "score" FROM "goals_for_senior_national_team" WHERE "result"='5-0';
```
## Task
Generate a SQL query to answer the following question:
`What is the Score of the Competition with a 5-0 Result?`

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

CREATE TABLE "goals_for_senior_national_team" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Score of the Competition with a 5-0 Result?`:
```sql
                SELECT "score" FROM "goals_for_senior_national_team" WHERE "result"='5-0';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date of the Competition with a Score of 4-0 and 5-0 Result?`

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

CREATE TABLE "goals_for_senior_national_team" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date of the Competition with a Score of 4-0 and 5-0 Result?`:
```sql
                SELECT "date" FROM "goals_for_senior_national_team" WHERE "result"='5-0' AND "score"='4-0';
```
## Task
Generate a SQL query to answer the following question:
`What is the title for YI?`

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

CREATE TABLE "list_of_state_leaders_in_400_bc" (
  "state" text,
  "type" text,
  "name" text,
  "title" text,
  "royal_house" text,
  "from" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title for YI?`:
```sql
                SELECT "title" FROM "list_of_state_leaders_in_400_bc" WHERE "name"='yi';
```
## Task
Generate a SQL query to answer the following question:
`What is the state song from?`

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

CREATE TABLE "list_of_state_leaders_in_400_bc" (
  "state" text,
  "type" text,
  "name" text,
  "title" text,
  "royal_house" text,
  "from" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the state song from?`:
```sql
                SELECT "from" FROM "list_of_state_leaders_in_400_bc" WHERE "state"='song';
```
## Task
Generate a SQL query to answer the following question:
`What is the state Yi?`

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

CREATE TABLE "list_of_state_leaders_in_400_bc" (
  "state" text,
  "type" text,
  "name" text,
  "title" text,
  "royal_house" text,
  "from" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the state Yi?`:
```sql
                SELECT "state" FROM "list_of_state_leaders_in_400_bc" WHERE "name"='yi';
```
## Task
Generate a SQL query to answer the following question:
`What state has the king title?`

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

CREATE TABLE "list_of_state_leaders_in_400_bc" (
  "state" text,
  "type" text,
  "name" text,
  "title" text,
  "royal_house" text,
  "from" text
);
### SQL
Given the database schema, here is the SQL query that answers `What state has the king title?`:
```sql
                SELECT "state" FROM "list_of_state_leaders_in_400_bc" WHERE "title"='king';
```
## Task
Generate a SQL query to answer the following question:
`What was the score when the partner was arnaud clément?`

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

CREATE TABLE "doubles_7_2_titles_5_runners_up" (
  "outcome" text,
  "date" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score when the partner was arnaud clément?`:
```sql
                SELECT "score" FROM "doubles_7_2_titles_5_runners_up" WHERE "partner"='arnaud clément';
```
## Task
Generate a SQL query to answer the following question:
`What is the Outcome when the partner was kristof vliegen?`

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

CREATE TABLE "doubles_7_2_titles_5_runners_up" (
  "outcome" text,
  "date" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Outcome when the partner was kristof vliegen?`:
```sql
                SELECT "outcome" FROM "doubles_7_2_titles_5_runners_up" WHERE "partner"='kristof vliegen';
```
## Task
Generate a SQL query to answer the following question:
`What is the Surface of the match with winner as outcome and a score of 7–5, 7–5?`

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

CREATE TABLE "doubles_7_2_titles_5_runners_up" (
  "outcome" text,
  "date" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Surface of the match with winner as outcome and a score of 7–5, 7–5?`:
```sql
                SELECT "surface" FROM "doubles_7_2_titles_5_runners_up" WHERE "outcome"='winner' AND "score"='7–5, 7–5';
```
## Task
Generate a SQL query to answer the following question:
`What is the Outcome when christophe rochus was partner, on 31 july 2005?`

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

CREATE TABLE "doubles_7_2_titles_5_runners_up" (
  "outcome" text,
  "date" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Outcome when christophe rochus was partner, on 31 july 2005?`:
```sql
                SELECT "outcome" FROM "doubles_7_2_titles_5_runners_up" WHERE "partner"='christophe rochus' AND "date"='31 july 2005';
```
## Task
Generate a SQL query to answer the following question:
`What is the Opponents on a clay surface with christophe rochus as partner?`

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

CREATE TABLE "doubles_7_2_titles_5_runners_up" (
  "outcome" text,
  "date" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Opponents on a clay surface with christophe rochus as partner?`:
```sql
                SELECT "opponents" FROM "doubles_7_2_titles_5_runners_up" WHERE "surface"='clay' AND "partner"='christophe rochus';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date when christophe rochus was partner, and the score was 2–6, 7–6 (7–5) , 0–6?`

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

CREATE TABLE "doubles_7_2_titles_5_runners_up" (
  "outcome" text,
  "date" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date when christophe rochus was partner, and the score was 2–6, 7–6 (7–5) , 0–6?`:
```sql
                SELECT "date" FROM "doubles_7_2_titles_5_runners_up" WHERE "partner"='christophe rochus' AND "score"='2–6, 7–6 (7–5) , 0–6';
```
## Task
Generate a SQL query to answer the following question:
`In what City/town was their institution founded in 1860?`

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

CREATE TABLE "members" (
  "institution_name" text,
  "city_town" text,
  "state_province" text,
  "total_enrollment" text,
  "year_founded" real
);
### SQL
Given the database schema, here is the SQL query that answers `In what City/town was their institution founded in 1860?`:
```sql
                SELECT "city_town" FROM "members" WHERE "year_founded"=1860;
```
## Task
Generate a SQL query to answer the following question:
`What year was Waynesburg University founded in Pennsylvania?`

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

CREATE TABLE "members" (
  "institution_name" text,
  "city_town" text,
  "state_province" text,
  "total_enrollment" text,
  "year_founded" real
);
### SQL
Given the database schema, here is the SQL query that answers `What year was Waynesburg University founded in Pennsylvania?`:
```sql
                SELECT "year_founded" FROM "members" WHERE "state_province"='pennsylvania' AND "institution_name"='waynesburg university';
```
## Task
Generate a SQL query to answer the following question:
`What is Howard Payne University's total enrollment?`

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

CREATE TABLE "members" (
  "institution_name" text,
  "city_town" text,
  "state_province" text,
  "total_enrollment" text,
  "year_founded" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Howard Payne University's total enrollment?`:
```sql
                SELECT "total_enrollment" FROM "members" WHERE "institution_name"='howard payne university';
```
## Task
Generate a SQL query to answer the following question:
`What is the To par when fredrik andersson hed was runner-up?`

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

CREATE TABLE "european_tour_wins_7" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "to_par" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the To par when fredrik andersson hed was runner-up?`:
```sql
                SELECT "to_par" FROM "european_tour_wins_7" WHERE "runner_s_up"='fredrik andersson hed';
```
## Task
Generate a SQL query to answer the following question:
`What is the Margin of victory when rhys davies was runner-up?`

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

CREATE TABLE "european_tour_wins_7" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "to_par" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Margin of victory when rhys davies was runner-up?`:
```sql
                SELECT "margin_of_victory" FROM "european_tour_wins_7" WHERE "runner_s_up"='rhys davies';
```
## Task
Generate a SQL query to answer the following question:
`What is the Winning score when the To par was −21?`

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

CREATE TABLE "european_tour_wins_7" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "to_par" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Winning score when the To par was −21?`:
```sql
                SELECT "winning_score" FROM "european_tour_wins_7" WHERE "to_par"='−21';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date for the wgc-accenture match play championship?`

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

CREATE TABLE "european_tour_wins_7" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "to_par" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date for the wgc-accenture match play championship?`:
```sql
                SELECT "date" FROM "european_tour_wins_7" WHERE "tournament"='wgc-accenture match play championship';
```
## Task
Generate a SQL query to answer the following question:
`What is the Margin of victory on 27 feb 2011?`

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

CREATE TABLE "european_tour_wins_7" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "to_par" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Margin of victory on 27 feb 2011?`:
```sql
                SELECT "margin_of_victory" FROM "european_tour_wins_7" WHERE "date"='27 feb 2011';
```
## Task
Generate a SQL query to answer the following question:
`What is the Tournament when the winning score was 65-67-68-67=267?`

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

CREATE TABLE "european_tour_wins_7" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "to_par" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Tournament when the winning score was 65-67-68-67=267?`:
```sql
                SELECT "tournament" FROM "european_tour_wins_7" WHERE "winning_score"='65-67-68-67=267';
```
## Task
Generate a SQL query to answer the following question:
`Which Mission has a Apogee of 705 km?`

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

CREATE TABLE "missions" (
  "mission" text,
  "date" text,
  "launch_site" text,
  "motor" text,
  "apogee" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Mission has a Apogee of 705 km?`:
```sql
                SELECT "mission" FROM "missions" WHERE "apogee"='705 km';
```
## Task
Generate a SQL query to answer the following question:
`What kind of Motor has a Apogee of 713 km?`

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

CREATE TABLE "missions" (
  "mission" text,
  "date" text,
  "launch_site" text,
  "motor" text,
  "apogee" text
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of Motor has a Apogee of 713 km?`:
```sql
                SELECT "motor" FROM "missions" WHERE "apogee"='713 km';
```
## Task
Generate a SQL query to answer the following question:
`What kind of Mission has a Apogee of 707 km?`

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

CREATE TABLE "missions" (
  "mission" text,
  "date" text,
  "launch_site" text,
  "motor" text,
  "apogee" text
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of Mission has a Apogee of 707 km?`:
```sql
                SELECT "mission" FROM "missions" WHERE "apogee"='707 km';
```
## Task
Generate a SQL query to answer the following question:
`Which Apogee has a Mission of maxus 3?`

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

CREATE TABLE "missions" (
  "mission" text,
  "date" text,
  "launch_site" text,
  "motor" text,
  "apogee" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Apogee has a Mission of maxus 3?`:
```sql
                SELECT "apogee" FROM "missions" WHERE "mission"='maxus 3';
```
## Task
Generate a SQL query to answer the following question:
`Which Mission is on 2003 apr 1?`

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

CREATE TABLE "missions" (
  "mission" text,
  "date" text,
  "launch_site" text,
  "motor" text,
  "apogee" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Mission is on 2003 apr 1?`:
```sql
                SELECT "mission" FROM "missions" WHERE "date"='2003 apr 1';
```
## Task
Generate a SQL query to answer the following question:
`What was the ranking for the episode number before 24 that had a rating of 25.7?`

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

CREATE TABLE "season_ratings" (
  "season" text,
  "ep_num" real,
  "season_premiere" text,
  "season_finale" text,
  "ranking" text,
  "viewers_households_in_millions" text,
  "rating" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the ranking for the episode number before 24 that had a rating of 25.7?`:
```sql
                SELECT "ranking" FROM "season_ratings" WHERE "ep_num"<24 AND "rating"='25.7';
```
## Task
Generate a SQL query to answer the following question:
`How many million viewers watched the season finale on March 12, 1979?`

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

CREATE TABLE "season_ratings" (
  "season" text,
  "ep_num" real,
  "season_premiere" text,
  "season_finale" text,
  "ranking" text,
  "viewers_households_in_millions" text,
  "rating" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many million viewers watched the season finale on March 12, 1979?`:
```sql
                SELECT "viewers_households_in_millions" FROM "season_ratings" WHERE "season_finale"='march 12, 1979';
```
## Task
Generate a SQL query to answer the following question:
`What is the rating of the season 10?`

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

CREATE TABLE "season_ratings" (
  "season" text,
  "ep_num" real,
  "season_premiere" text,
  "season_finale" text,
  "ranking" text,
  "viewers_households_in_millions" text,
  "rating" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rating of the season 10?`:
```sql
                SELECT "rating" FROM "season_ratings" WHERE "season"='season 10';
```
## Task
Generate a SQL query to answer the following question:
`What was the rating of the season that had 18.17 million household viewers?`

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

CREATE TABLE "season_ratings" (
  "season" text,
  "ep_num" real,
  "season_premiere" text,
  "season_finale" text,
  "ranking" text,
  "viewers_households_in_millions" text,
  "rating" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the rating of the season that had 18.17 million household viewers?`:
```sql
                SELECT "rating" FROM "season_ratings" WHERE "viewers_households_in_millions"='18.17';
```
## Task
Generate a SQL query to answer the following question:
`How many totals have 2 for the bronze?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many totals have 2 for the bronze?`:
```sql
                SELECT COUNT("total") FROM "medal_table" WHERE "bronze"=2;
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest silver that has a bronze less than 0?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest silver that has a bronze less than 0?`:
```sql
                SELECT MIN("silver") FROM "medal_table" WHERE "bronze"<0;
```
## Task
Generate a SQL query to answer the following question:
`What college received Pick 5?`

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

CREATE TABLE "round_1" (
  "pick" real,
  "player" text,
  "country_of_origin" text,
  "pba_team" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What college received Pick 5?`:
```sql
                SELECT "college" FROM "round_1" WHERE "pick"=5;
```
## Task
Generate a SQL query to answer the following question:
`For the United States International University, what was the highest pick number allowed?`

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

CREATE TABLE "round_1" (
  "pick" real,
  "player" text,
  "country_of_origin" text,
  "pba_team" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `For the United States International University, what was the highest pick number allowed?`:
```sql
                SELECT MAX("pick") FROM "round_1" WHERE "college"='united states international university';
```
## Task
Generate a SQL query to answer the following question:
`what was the date of the game on week 2?`

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

CREATE TABLE "season_schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `what was the date of the game on week 2?`:
```sql
                SELECT "date" FROM "season_schedule" WHERE "week"=2;
```
## Task
Generate a SQL query to answer the following question:
`What is the subjunctive present that is associated with a plural preterite of u, a singular preterite of ou, and a singular present of û?`

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

CREATE TABLE "strong_verb_vowel_alternation_table" (
  "inf_stem" text,
  "sing_pres" text,
  "plur_pres" text,
  "sing_pret" text,
  "plur_pret" text,
  "subj_pres" text,
  "subj_pret" text,
  "past_part" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the subjunctive present that is associated with a plural preterite of u, a singular preterite of ou, and a singular present of û?`:
```sql
                SELECT "subj_pres" FROM "strong_verb_vowel_alternation_table" WHERE "plur_pret"='u' AND "sing_pret"='ou' AND "sing_pres"='û';
```
## Task
Generate a SQL query to answer the following question:
`What is the plural present that has a past participle of e and an infinitive stem of e?`

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

CREATE TABLE "strong_verb_vowel_alternation_table" (
  "inf_stem" text,
  "sing_pres" text,
  "plur_pres" text,
  "sing_pret" text,
  "plur_pret" text,
  "subj_pres" text,
  "subj_pret" text,
  "past_part" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the plural present that has a past participle of e and an infinitive stem of e?`:
```sql
                SELECT "plur_pres" FROM "strong_verb_vowel_alternation_table" WHERE "past_part"='e' AND "inf_stem"='e';
```
## Task
Generate a SQL query to answer the following question:
`What is the infinitive stem that has a subjunctive present of ou?`

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

CREATE TABLE "strong_verb_vowel_alternation_table" (
  "inf_stem" text,
  "sing_pres" text,
  "plur_pres" text,
  "sing_pret" text,
  "plur_pret" text,
  "subj_pres" text,
  "subj_pret" text,
  "past_part" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the infinitive stem that has a subjunctive present of ou?`:
```sql
                SELECT "inf_stem" FROM "strong_verb_vowel_alternation_table" WHERE "subj_pres"='ou';
```
## Task
Generate a SQL query to answer the following question:
`What is the infinitive stem that is associated with a subjunctive present of a and a plural preterite of uo?`

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

CREATE TABLE "strong_verb_vowel_alternation_table" (
  "inf_stem" text,
  "sing_pres" text,
  "plur_pres" text,
  "sing_pret" text,
  "plur_pret" text,
  "subj_pres" text,
  "subj_pret" text,
  "past_part" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the infinitive stem that is associated with a subjunctive present of a and a plural preterite of uo?`:
```sql
                SELECT "inf_stem" FROM "strong_verb_vowel_alternation_table" WHERE "subj_pres"='a' AND "plur_pret"='uo';
```
## Task
Generate a SQL query to answer the following question:
`What is the singular present that is associated with a singular preterite of ou and a subjunctive present of ie?`

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

CREATE TABLE "strong_verb_vowel_alternation_table" (
  "inf_stem" text,
  "sing_pres" text,
  "plur_pres" text,
  "sing_pret" text,
  "plur_pret" text,
  "subj_pres" text,
  "subj_pret" text,
  "past_part" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the singular present that is associated with a singular preterite of ou and a subjunctive present of ie?`:
```sql
                SELECT "sing_pres" FROM "strong_verb_vowel_alternation_table" WHERE "sing_pret"='ou' AND "subj_pres"='ie';
```
## Task
Generate a SQL query to answer the following question:
`What is the plural preterite that is associated with a subjunctive preterite of ü and has an infinitive stem of e + l/r + cons.?`

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

CREATE TABLE "strong_verb_vowel_alternation_table" (
  "inf_stem" text,
  "sing_pres" text,
  "plur_pres" text,
  "sing_pret" text,
  "plur_pret" text,
  "subj_pres" text,
  "subj_pret" text,
  "past_part" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the plural preterite that is associated with a subjunctive preterite of ü and has an infinitive stem of e + l/r + cons.?`:
```sql
                SELECT "plur_pret" FROM "strong_verb_vowel_alternation_table" WHERE "subj_pret"='ü' AND "inf_stem"='e + l/r + cons.';
```
## Task
Generate a SQL query to answer the following question:
`What is the history behind the vessel Speedrunner IV (SSC4) built after 1997?`

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

CREATE TABLE "vessels" (
  "name" text,
  "built" real,
  "tonnage" text,
  "yard_no" real,
  "history" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the history behind the vessel Speedrunner IV (SSC4) built after 1997?`:
```sql
                SELECT "history" FROM "vessels" WHERE "built">1997 AND "name"='speedrunner iv (ssc4)';
```
## Task
Generate a SQL query to answer the following question:
`What is the most recent year that Queen Nefertiti (pegasus two) was built?`

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

CREATE TABLE "vessels" (
  "name" text,
  "built" real,
  "tonnage" text,
  "yard_no" real,
  "history" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the most recent year that Queen Nefertiti (pegasus two) was built?`:
```sql
                SELECT MAX("built") FROM "vessels" WHERE "name"='queen nefertiti (pegasus two)';
```
## Task
Generate a SQL query to answer the following question:
`What is the history behind Speedrunner III (SSC3)?`

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

CREATE TABLE "vessels" (
  "name" text,
  "built" real,
  "tonnage" text,
  "yard_no" real,
  "history" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the history behind Speedrunner III (SSC3)?`:
```sql
                SELECT "history" FROM "vessels" WHERE "name"='speedrunner iii (ssc3)';
```
## Task
Generate a SQL query to answer the following question:
`What was the opponent on november 8, 1981?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the opponent on november 8, 1981?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "date"='november 8, 1981';
```
## Task
Generate a SQL query to answer the following question:
`What is the longest Time (seconds), when the Nation - athlete(s) is Sylke Otto - Germany?`

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

CREATE TABLE "track_records" (
  "sport" text,
  "record" text,
  "nation_athlete_s" text,
  "date" text,
  "time_seconds" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the longest Time (seconds), when the Nation - athlete(s) is Sylke Otto - Germany?`:
```sql
                SELECT MAX("time_seconds") FROM "track_records" WHERE "nation_athlete_s"='sylke otto - germany';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date, when the Sport is luge - men's doubles, and when the Record is, "start"?`

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

CREATE TABLE "track_records" (
  "sport" text,
  "record" text,
  "nation_athlete_s" text,
  "date" text,
  "time_seconds" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date, when the Sport is luge - men's doubles, and when the Record is, "start"?`:
```sql
                SELECT "date" FROM "track_records" WHERE "sport"='luge - men''s doubles' AND "record"='start';
```
## Task
Generate a SQL query to answer the following question:
`What is the Nation - athlete(s), when the Sport is luge - men's singles, and when the Record is, "track"?`

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

CREATE TABLE "track_records" (
  "sport" text,
  "record" text,
  "nation_athlete_s" text,
  "date" text,
  "time_seconds" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Nation - athlete(s), when the Sport is luge - men's singles, and when the Record is, "track"?`:
```sql
                SELECT "nation_athlete_s" FROM "track_records" WHERE "sport"='luge - men''s singles' AND "record"='track';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date, when the Record is, "track", when the Time (seconds) is longer than 43.564, and when the Sport is luge - women's singles?`

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

CREATE TABLE "track_records" (
  "sport" text,
  "record" text,
  "nation_athlete_s" text,
  "date" text,
  "time_seconds" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date, when the Record is, "track", when the Time (seconds) is longer than 43.564, and when the Sport is luge - women's singles?`:
```sql
                SELECT "date" FROM "track_records" WHERE "record"='track' AND "time_seconds">43.564 AND "sport"='luge - women''s singles';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Z (p) when arsenic is the element, and the N (n) is more than 42`

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

CREATE TABLE "complete_list_of_the_22_mononuclidic_ele" (
  "element" text,
  "nuclide" text,
  "z_p" real,
  "n_n" real,
  "isotopic_mass_u" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Z (p) when arsenic is the element, and the N (n) is more than 42`:
```sql
                SELECT MAX("z_p") FROM "complete_list_of_the_22_mononuclidic_ele" WHERE "element"='arsenic' AND "n_n">42;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Z (p) when the N (n) is less than 30, and scandium is the element?`

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

CREATE TABLE "complete_list_of_the_22_mononuclidic_ele" (
  "element" text,
  "nuclide" text,
  "z_p" real,
  "n_n" real,
  "isotopic_mass_u" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Z (p) when the N (n) is less than 30, and scandium is the element?`:
```sql
                SELECT AVG("z_p") FROM "complete_list_of_the_22_mononuclidic_ele" WHERE "n_n"<30 AND "element"='scandium';
```
## Task
Generate a SQL query to answer the following question:
`What is the isotopic mass (u) when the nuclide is 89 y?`

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

CREATE TABLE "complete_list_of_the_22_mononuclidic_ele" (
  "element" text,
  "nuclide" text,
  "z_p" real,
  "n_n" real,
  "isotopic_mass_u" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the isotopic mass (u) when the nuclide is 89 y?`:
```sql
                SELECT "isotopic_mass_u" FROM "complete_list_of_the_22_mononuclidic_ele" WHERE "nuclide"='89 y';
```
## Task
Generate a SQL query to answer the following question:
`What is the Element when the Nuclide is 55 mn?`

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

CREATE TABLE "complete_list_of_the_22_mononuclidic_ele" (
  "element" text,
  "nuclide" text,
  "z_p" real,
  "n_n" real,
  "isotopic_mass_u" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Element when the Nuclide is 55 mn?`:
```sql
                SELECT "element" FROM "complete_list_of_the_22_mononuclidic_ele" WHERE "nuclide"='55 mn';
```
## Task
Generate a SQL query to answer the following question:
`What is Venue, when Date is 23,24,26,27,28,29 Feb, 1 Mar 1912?`

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

CREATE TABLE "england_in_australia_1911_12" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Venue, when Date is 23,24,26,27,28,29 Feb, 1 Mar 1912?`:
```sql
                SELECT "venue" FROM "england_in_australia_1911_12" WHERE "date"='23,24,26,27,28,29 feb, 1 mar 1912';
```
## Task
Generate a SQL query to answer the following question:
`What is Date, when Venue is Melbourne Cricket Ground, and when Result is Eng By Inns&225 Runs?`

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

CREATE TABLE "england_in_australia_1911_12" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date, when Venue is Melbourne Cricket Ground, and when Result is Eng By Inns&225 Runs?`:
```sql
                SELECT "date" FROM "england_in_australia_1911_12" WHERE "venue"='melbourne cricket ground' AND "result"='eng by inns&225 runs';
```
## Task
Generate a SQL query to answer the following question:
`What is Result, when Venue is Sydney Cricket Ground, and when Date is 23,24,26,27,28,29 Feb, 1 Mar 1912?`

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

CREATE TABLE "england_in_australia_1911_12" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Result, when Venue is Sydney Cricket Ground, and when Date is 23,24,26,27,28,29 Feb, 1 Mar 1912?`:
```sql
                SELECT "result" FROM "england_in_australia_1911_12" WHERE "venue"='sydney cricket ground' AND "date"='23,24,26,27,28,29 feb, 1 mar 1912';
```
## Task
Generate a SQL query to answer the following question:
`What is Away Captain, when Date is 30 Dec, 1,2,3 Jan 1911/2?`

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

CREATE TABLE "england_in_australia_1911_12" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Away Captain, when Date is 30 Dec, 1,2,3 Jan 1911/2?`:
```sql
                SELECT "away_captain" FROM "england_in_australia_1911_12" WHERE "date"='30 dec, 1,2,3 jan 1911/2';
```
## Task
Generate a SQL query to answer the following question:
`What is Home Captain, when Date is 23,24,26,27,28,29 Feb, 1 Mar 1912?`

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

CREATE TABLE "england_in_australia_1911_12" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Home Captain, when Date is 23,24,26,27,28,29 Feb, 1 Mar 1912?`:
```sql
                SELECT "home_captain" FROM "england_in_australia_1911_12" WHERE "date"='23,24,26,27,28,29 feb, 1 mar 1912';
```
## Task
Generate a SQL query to answer the following question:
`What is Catalog, when the Region is UK, and when Label is Razor Records?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" real,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Catalog, when the Region is UK, and when Label is Razor Records?`:
```sql
                SELECT "catalog" FROM "release_history" WHERE "region"='uk' AND "label"='razor records';
```
## Task
Generate a SQL query to answer the following question:
`What is the latest Date, when Label is Captain Oi! Records?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" real,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the latest Date, when Label is Captain Oi! Records?`:
```sql
                SELECT MAX("date") FROM "release_history" WHERE "label"='captain oi! records';
```
## Task
Generate a SQL query to answer the following question:
`What is Region, when Date is 2004?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" real,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Region, when Date is 2004?`:
```sql
                SELECT "region" FROM "release_history" WHERE "date"=2004;
```
## Task
Generate a SQL query to answer the following question:
`What is Catalog, when Format is CD, when Region is US, when Date is before 2004, and when Label is Taang! Records?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" real,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Catalog, when Format is CD, when Region is US, when Date is before 2004, and when Label is Taang! Records?`:
```sql
                SELECT "catalog" FROM "release_history" WHERE "format"='cd' AND "region"='us' AND "date"<2004 AND "label"='taang! records';
```
## Task
Generate a SQL query to answer the following question:
`What is the largest amount of top division titles featuring the tammeka club?`

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

CREATE TABLE "meistriliiga_clubs_2013" (
  "club" text,
  "position_in_2012" text,
  "first_season_in_top_division" real,
  "number_of_seasons_in_meistriliiga" real,
  "first_season_of_current_spell_in_top_division" real,
  "top_division_titles" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest amount of top division titles featuring the tammeka club?`:
```sql
                SELECT MAX("top_division_titles") FROM "meistriliiga_clubs_2013" WHERE "club"='tammeka';
```
## Task
Generate a SQL query to answer the following question:
`What is the largest number of top division titles with a 2012 position of 10th?`

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

CREATE TABLE "meistriliiga_clubs_2013" (
  "club" text,
  "position_in_2012" text,
  "first_season_in_top_division" real,
  "number_of_seasons_in_meistriliiga" real,
  "first_season_of_current_spell_in_top_division" real,
  "top_division_titles" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest number of top division titles with a 2012 position of 10th?`:
```sql
                SELECT MAX("top_division_titles") FROM "meistriliiga_clubs_2013" WHERE "position_in_2012"='10th';
```
## Task
Generate a SQL query to answer the following question:
`How many seasons in Meistriliiga when the club was kuressaare also had a first season in top division of more than 2000?`

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

CREATE TABLE "meistriliiga_clubs_2013" (
  "club" text,
  "position_in_2012" text,
  "first_season_in_top_division" real,
  "number_of_seasons_in_meistriliiga" real,
  "first_season_of_current_spell_in_top_division" real,
  "top_division_titles" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many seasons in Meistriliiga when the club was kuressaare also had a first season in top division of more than 2000?`:
```sql
                SELECT COUNT("number_of_seasons_in_meistriliiga") FROM "meistriliiga_clubs_2013" WHERE "club"='kuressaare' AND "first_season_in_top_division">2000;
```
## Task
Generate a SQL query to answer the following question:
`Who attended Columbia law school and was appointed in 2004?`

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

CREATE TABLE "judges" (
  "name" text,
  "appointed" real,
  "term_expiration" real,
  "appointing_governor" text,
  "law_school_attended" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who attended Columbia law school and was appointed in 2004?`:
```sql
                SELECT "name" FROM "judges" WHERE "law_school_attended"='columbia law school' AND "appointed"=2004;
```
## Task
Generate a SQL query to answer the following question:
`Which Term expiration has an Appointing Governor of george pataki, republican, and an Appointed larger than 2004?`

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

CREATE TABLE "judges" (
  "name" text,
  "appointed" real,
  "term_expiration" real,
  "appointing_governor" text,
  "law_school_attended" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Term expiration has an Appointing Governor of george pataki, republican, and an Appointed larger than 2004?`:
```sql
                SELECT SUM("term_expiration") FROM "judges" WHERE "appointing_governor"='george pataki, republican' AND "appointed">2004;
```
## Task
Generate a SQL query to answer the following question:
`Which law school did judge sheila abdus-salaam attend, who was appointed in 2004?`

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

CREATE TABLE "judges" (
  "name" text,
  "appointed" real,
  "term_expiration" real,
  "appointing_governor" text,
  "law_school_attended" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which law school did judge sheila abdus-salaam attend, who was appointed in 2004?`:
```sql
                SELECT "law_school_attended" FROM "judges" WHERE "appointed">2004 AND "name"='judge sheila abdus-salaam';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of races having top 5s over 2 and average starts of 6.5?`

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

CREATE TABLE "career_statistics" (
  "year" text,
  "races" real,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "poles" real,
  "avg_start" real,
  "avg_finish" real,
  "season_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of races having top 5s over 2 and average starts of 6.5?`:
```sql
                SELECT "races" FROM "career_statistics" WHERE "top_5">2 AND "avg_start"=6.5;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest average finish having top 5s of 0?`

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

CREATE TABLE "career_statistics" (
  "year" text,
  "races" real,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "poles" real,
  "avg_start" real,
  "avg_finish" real,
  "season_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest average finish having top 5s of 0?`:
```sql
                SELECT MIN("avg_finish") FROM "career_statistics" WHERE "top_5"<0;
```
## Task
Generate a SQL query to answer the following question:
`What Volume:Issue that has Peter Cetera as the artist and was on top for longer than 1 week?`

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

CREATE TABLE "see_also" (
  "volume_issue" text,
  "issue_date_s" text,
  "weeks_on_top" real,
  "song" text,
  "artist" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Volume:Issue that has Peter Cetera as the artist and was on top for longer than 1 week?`:
```sql
                SELECT "volume_issue" FROM "see_also" WHERE "weeks_on_top">1 AND "artist"='peter cetera';
```
## Task
Generate a SQL query to answer the following question:
`What is the longest weeks on top when the Artist was Bruce Hornsby and the Range?`

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

CREATE TABLE "see_also" (
  "volume_issue" text,
  "issue_date_s" text,
  "weeks_on_top" real,
  "song" text,
  "artist" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the longest weeks on top when the Artist was Bruce Hornsby and the Range?`:
```sql
                SELECT MAX("weeks_on_top") FROM "see_also" WHERE "artist"='bruce hornsby and the range';
```
## Task
Generate a SQL query to answer the following question:
`What is the Score of the game with arsenal win 4-2 on penalties in the attendance field?`

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

CREATE TABLE "fifth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Score of the game with arsenal win 4-2 on penalties in the attendance field?`:
```sql
                SELECT "score" FROM "fifth_round_proper" WHERE "attendance"='arsenal win 4-2 on penalties';
```