cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the first year where the assassination attempt was at Martyrs' Mausoleum, Rangoon, Burma?`

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

CREATE TABLE "table1_251272_4" (
  "year" real,
  "date" text,
  "intended_victim_s" text,
  "title_at_the_time" text,
  "location" text,
  "would_be_assassin_s" text,
  "method" text,
  "initial_outcome_notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the first year where the assassination attempt was at Martyrs' Mausoleum, Rangoon, Burma?`:
```sql
                SELECT MIN("year") FROM "table1_251272_4" WHERE "location"='Martyrs'' Mausoleum, Rangoon, Burma';
```
## Task
Generate a SQL query to answer the following question:
`Where was the attempt on the Prime Minister of Sri Lanka's life made?`

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

CREATE TABLE "table1_251272_4" (
  "year" real,
  "date" text,
  "intended_victim_s" text,
  "title_at_the_time" text,
  "location" text,
  "would_be_assassin_s" text,
  "method" text,
  "initial_outcome_notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where was the attempt on the Prime Minister of Sri Lanka's life made?`:
```sql
                SELECT "location" FROM "table1_251272_4" WHERE "title_at_the_time"='Prime Minister of Sri Lanka';
```
## Task
Generate a SQL query to answer the following question:
`What is every original language for book series Little House on the Prairie?`

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

CREATE TABLE "between_50_million_and_100_million_copie" (
  "book_series" text,
  "author" text,
  "original_language" text,
  "no_of_installments" text,
  "first_published" text,
  "approximate_sales" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every original language for book series Little House on the Prairie?`:
```sql
                SELECT "original_language" FROM "between_50_million_and_100_million_copie" WHERE "book_series"='Little House on the Prairie';
```
## Task
Generate a SQL query to answer the following question:
`What are all approximate sales for the author Laura Ingalls Wilder?`

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

CREATE TABLE "between_50_million_and_100_million_copie" (
  "book_series" text,
  "author" text,
  "original_language" text,
  "no_of_installments" text,
  "first_published" text,
  "approximate_sales" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are all approximate sales for the author Laura Ingalls Wilder?`:
```sql
                SELECT "approximate_sales" FROM "between_50_million_and_100_million_copie" WHERE "author"='Laura Ingalls Wilder';
```
## Task
Generate a SQL query to answer the following question:
`Name the most number for notre dame prep`

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

CREATE TABLE "roster" (
  "name" text,
  "num" real,
  "position" text,
  "height" text,
  "weight" real,
  "year" text,
  "former_school" text,
  "hometown" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most number for notre dame prep`:
```sql
                SELECT MAX("num") FROM "roster" WHERE "former_school"='Notre Dame Prep';
```
## Task
Generate a SQL query to answer the following question:
`Name the ends won for blank ends for 0`

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

CREATE TABLE "standings" (
  "country" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the ends won for blank ends for 0`:
```sql
                SELECT "ends_won" FROM "standings" WHERE "blank_ends"=0;
```
## Task
Generate a SQL query to answer the following question:
`Name the stolen ends for germany`

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

CREATE TABLE "standings" (
  "country" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the stolen ends for germany`:
```sql
                SELECT MIN("stolen_ends") FROM "standings" WHERE "country"='Germany';
```
## Task
Generate a SQL query to answer the following question:
`Name the least ends won for pf being 78`

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

CREATE TABLE "standings" (
  "country" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least ends won for pf being 78`:
```sql
                SELECT MIN("ends_won") FROM "standings" WHERE "pf"=78;
```
## Task
Generate a SQL query to answer the following question:
`What is the stadium in Kuopio?`

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

CREATE TABLE "team_summaries" (
  "club" text,
  "location" text,
  "stadium" text,
  "capacity" real,
  "manager" text,
  "kitmaker" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the stadium in Kuopio?`:
```sql
                SELECT "stadium" FROM "team_summaries" WHERE "location"='Kuopio';
```
## Task
Generate a SQL query to answer the following question:
`Who is the kitmaker for TPS?`

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

CREATE TABLE "team_summaries" (
  "club" text,
  "location" text,
  "stadium" text,
  "capacity" real,
  "manager" text,
  "kitmaker" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the kitmaker for TPS?`:
```sql
                SELECT "kitmaker" FROM "team_summaries" WHERE "club"='TPS';
```
## Task
Generate a SQL query to answer the following question:
`What is the largest capacity for a stadium?`

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

CREATE TABLE "team_summaries" (
  "club" text,
  "location" text,
  "stadium" text,
  "capacity" real,
  "manager" text,
  "kitmaker" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest capacity for a stadium?`:
```sql
                SELECT MAX("capacity") FROM "team_summaries";
```
## Task
Generate a SQL query to answer the following question:
`Which stadium is managed by Kari Martonen?`

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

CREATE TABLE "team_summaries" (
  "club" text,
  "location" text,
  "stadium" text,
  "capacity" real,
  "manager" text,
  "kitmaker" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which stadium is managed by Kari Martonen?`:
```sql
                SELECT "stadium" FROM "team_summaries" WHERE "manager"='Kari Martonen';
```
## Task
Generate a SQL query to answer the following question:
`How many capacities are given for FF Jaro club?`

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

CREATE TABLE "team_summaries" (
  "club" text,
  "location" text,
  "stadium" text,
  "capacity" real,
  "manager" text,
  "kitmaker" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many capacities are given for FF Jaro club?`:
```sql
                SELECT COUNT("capacity") FROM "team_summaries" WHERE "club"='FF Jaro';
```
## Task
Generate a SQL query to answer the following question:
`How many managers for club in Turku where kitmaker is Puma?`

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

CREATE TABLE "team_summaries" (
  "club" text,
  "location" text,
  "stadium" text,
  "capacity" real,
  "manager" text,
  "kitmaker" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many managers for club in Turku where kitmaker is Puma?`:
```sql
                SELECT COUNT("manager") FROM "team_summaries" WHERE "kitmaker"='Puma' AND "location"='Turku';
```
## Task
Generate a SQL query to answer the following question:
`How many times was episode 5 in the series aired on Fox int.?`

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

CREATE TABLE "table1_25131572_2" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_canadian_air_date" text,
  "fox_int_channels_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times was episode 5 in the series aired on Fox int.?`:
```sql
                SELECT COUNT("fox_int_channels_air_date") FROM "table1_25131572_2" WHERE "series_num"=5;
```
## Task
Generate a SQL query to answer the following question:
`What was the qualifying score of the competition whose final score was 12.200?`

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

CREATE TABLE "competitive_history" (
  "year" real,
  "competition_description" text,
  "location" text,
  "apparatus" text,
  "rank_final" real,
  "score_final" text,
  "rank_qualifying" real,
  "score_qualifying" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the qualifying score of the competition whose final score was 12.200?`:
```sql
                SELECT "score_qualifying" FROM "competitive_history" WHERE "score_final"='12.200';
```
## Task
Generate a SQL query to answer the following question:
`Where was the competition with a qualifying score of 58.425?`

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

CREATE TABLE "competitive_history" (
  "year" real,
  "competition_description" text,
  "location" text,
  "apparatus" text,
  "rank_final" real,
  "score_final" text,
  "rank_qualifying" real,
  "score_qualifying" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where was the competition with a qualifying score of 58.425?`:
```sql
                SELECT "location" FROM "competitive_history" WHERE "score_qualifying"='58.425';
```
## Task
Generate a SQL query to answer the following question:
`How many competitions had a final score of 15.650?`

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

CREATE TABLE "competitive_history" (
  "year" real,
  "competition_description" text,
  "location" text,
  "apparatus" text,
  "rank_final" real,
  "score_final" text,
  "rank_qualifying" real,
  "score_qualifying" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many competitions had a final score of 15.650?`:
```sql
                SELECT COUNT("competition_description") FROM "competitive_history" WHERE "score_final"='15.650';
```
## Task
Generate a SQL query to answer the following question:
`In what year was the score 7–5, 7–6 (7–5)?`

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

CREATE TABLE "doubles_7_5_titles_2_runners_up" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what year was the score 7–5, 7–6 (7–5)?`:
```sql
                SELECT "year" FROM "doubles_7_5_titles_2_runners_up" WHERE "score"='7–5, 7–6 (7–5)';
```
## Task
Generate a SQL query to answer the following question:
`When the opponent was Yan Zi Jie Zheng, what was the outcome?`

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

CREATE TABLE "doubles_7_5_titles_2_runners_up" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the opponent was Yan Zi Jie Zheng, what was the outcome?`:
```sql
                SELECT "outcome" FROM "doubles_7_5_titles_2_runners_up" WHERE "opponents"='Yan Zi Jie Zheng';
```
## Task
Generate a SQL query to answer the following question:
`In the year 2013, what was the outcome?`

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

CREATE TABLE "doubles_7_5_titles_2_runners_up" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `In the year 2013, what was the outcome?`:
```sql
                SELECT "outcome" FROM "doubles_7_5_titles_2_runners_up" WHERE "year"=2013;
```
## Task
Generate a SQL query to answer the following question:
`Who was the partner when the score was 7–5, 7–6 (7–5)?`

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

CREATE TABLE "doubles_7_5_titles_2_runners_up" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the partner when the score was 7–5, 7–6 (7–5)?`:
```sql
                SELECT "partner" FROM "doubles_7_5_titles_2_runners_up" WHERE "score"='7–5, 7–6 (7–5)';
```
## Task
Generate a SQL query to answer the following question:
`When the surface was Hard (i), what was the score?`

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

CREATE TABLE "doubles_7_5_titles_2_runners_up" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the surface was Hard (i), what was the score?`:
```sql
                SELECT "score" FROM "doubles_7_5_titles_2_runners_up" WHERE "surface"='Hard (i)';
```
## Task
Generate a SQL query to answer the following question:
`In which championship was the partner Jie Zheng?`

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

CREATE TABLE "doubles_7_5_titles_2_runners_up" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `In which championship was the partner Jie Zheng?`:
```sql
                SELECT "championship" FROM "doubles_7_5_titles_2_runners_up" WHERE "partner"='Jie Zheng';
```
## Task
Generate a SQL query to answer the following question:
`What are the number of points for associated with exactly 3 stolen ends?`

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

CREATE TABLE "standings" (
  "skip_club" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the number of points for associated with exactly 3 stolen ends?`:
```sql
                SELECT COUNT("pf") FROM "standings" WHERE "stolen_ends"=3;
```
## Task
Generate a SQL query to answer the following question:
`How many position did a player took while weighing 170?`

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

CREATE TABLE "roster" (
  "name" text,
  "num" real,
  "position" text,
  "height" text,
  "weight" real,
  "year" text,
  "former_school" text,
  "hometown" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many position did a player took while weighing 170?`:
```sql
                SELECT COUNT("position") FROM "roster" WHERE "weight"=170;
```
## Task
Generate a SQL query to answer the following question:
`What were the former schools of the player from East Brunswick, NJ?`

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

CREATE TABLE "roster" (
  "name" text,
  "num" real,
  "position" text,
  "height" text,
  "weight" real,
  "year" text,
  "former_school" text,
  "hometown" text
);
### SQL
Given the database schema, here is the SQL query that answers `What were the former schools of the player from East Brunswick, NJ?`:
```sql
                SELECT "former_school" FROM "roster" WHERE "hometown"='East Brunswick, NJ';
```
## Task
Generate a SQL query to answer the following question:
`What was the height of this Freshman with a forward position?`

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

CREATE TABLE "roster" (
  "name" text,
  "num" real,
  "position" text,
  "height" text,
  "weight" real,
  "year" text,
  "former_school" text,
  "hometown" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the height of this Freshman with a forward position?`:
```sql
                SELECT "height" FROM "roster" WHERE "position"='Forward' AND "year"='Freshman';
```
## Task
Generate a SQL query to answer the following question:
`If the date of birth is 1961-08-09 9 august 1961, what is the start date of (first) term?`

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

CREATE TABLE "footnotes" (
  "num" real,
  "prime_minister" text,
  "date_of_birth" text,
  "start_date_of_first_term" text,
  "age_at_beginning_of_first_term" text,
  "end_date_of_final_term" text,
  "total_time_in_office" text,
  "date_of_death" text,
  "lifespan" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the date of birth is 1961-08-09 9 august 1961, what is the start date of (first) term?`:
```sql
                SELECT "start_date_of_first_term" FROM "footnotes" WHERE "date_of_birth"='1961-08-09 9 August 1961';
```
## Task
Generate a SQL query to answer the following question:
`If the prime minister is Palmer, Geoffrey Geoffrey Palmer, what is the end date of (final) term?`

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

CREATE TABLE "footnotes" (
  "num" real,
  "prime_minister" text,
  "date_of_birth" text,
  "start_date_of_first_term" text,
  "age_at_beginning_of_first_term" text,
  "end_date_of_final_term" text,
  "total_time_in_office" text,
  "date_of_death" text,
  "lifespan" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the prime minister is Palmer, Geoffrey Geoffrey Palmer, what is the end date of (final) term?`:
```sql
                SELECT "end_date_of_final_term" FROM "footnotes" WHERE "prime_minister"='Palmer, Geoffrey Geoffrey Palmer';
```
## Task
Generate a SQL query to answer the following question:
`What is the population if the city is Gilroy?`

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

CREATE TABLE "table1_25200461_9" (
  "city" text,
  "population" real,
  "registered_voters" text,
  "democratic" text,
  "republican" text,
  "d_r_spread" text,
  "other" text,
  "no_party_preference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the population if the city is Gilroy?`:
```sql
                SELECT "population" FROM "table1_25200461_9" WHERE "city"='Gilroy';
```
## Task
Generate a SQL query to answer the following question:
`If Democratic is 42.5%, what is the city?`

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

CREATE TABLE "table1_25200461_9" (
  "city" text,
  "population" real,
  "registered_voters" text,
  "democratic" text,
  "republican" text,
  "d_r_spread" text,
  "other" text,
  "no_party_preference" text
);
### SQL
Given the database schema, here is the SQL query that answers `If Democratic is 42.5%, what is the city?`:
```sql
                SELECT "city" FROM "table1_25200461_9" WHERE "democratic"='42.5%';
```
## Task
Generate a SQL query to answer the following question:
`If the registered voters is 66.8%, what is the minimum population?`

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

CREATE TABLE "table1_25200461_9" (
  "city" text,
  "population" real,
  "registered_voters" text,
  "democratic" text,
  "republican" text,
  "d_r_spread" text,
  "other" text,
  "no_party_preference" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the registered voters is 66.8%, what is the minimum population?`:
```sql
                SELECT MIN("population") FROM "table1_25200461_9" WHERE "registered_voters"='66.8%';
```
## Task
Generate a SQL query to answer the following question:
`What is the other is the city is Los Gatos?`

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

CREATE TABLE "table1_25200461_9" (
  "city" text,
  "population" real,
  "registered_voters" text,
  "democratic" text,
  "republican" text,
  "d_r_spread" text,
  "other" text,
  "no_party_preference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the other is the city is Los Gatos?`:
```sql
                SELECT "other" FROM "table1_25200461_9" WHERE "city"='Los Gatos';
```
## Task
Generate a SQL query to answer the following question:
`What is the d-r spread if the no party preference is 31.8%?`

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

CREATE TABLE "table1_25200461_9" (
  "city" text,
  "population" real,
  "registered_voters" text,
  "democratic" text,
  "republican" text,
  "d_r_spread" text,
  "other" text,
  "no_party_preference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the d-r spread if the no party preference is 31.8%?`:
```sql
                SELECT "d_r_spread" FROM "table1_25200461_9" WHERE "no_party_preference"='31.8%';
```
## Task
Generate a SQL query to answer the following question:
`If the city is Santa Clara, what is the population total number?`

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

CREATE TABLE "table1_25200461_9" (
  "city" text,
  "population" real,
  "registered_voters" text,
  "democratic" text,
  "republican" text,
  "d_r_spread" text,
  "other" text,
  "no_party_preference" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the city is Santa Clara, what is the population total number?`:
```sql
                SELECT COUNT("population") FROM "table1_25200461_9" WHERE "city"='Santa Clara';
```
## Task
Generate a SQL query to answer the following question:
`In what prefecture is Susaki located?`

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

CREATE TABLE "2013_tournament" (
  "prefecture" text,
  "city_town" text,
  "high_school_name" text,
  "year_of_previous_participation" text,
  "total_number_of_participation" real
);
### SQL
Given the database schema, here is the SQL query that answers `In what prefecture is Susaki located?`:
```sql
                SELECT "prefecture" FROM "2013_tournament" WHERE "city_town"='Susaki';
```
## Task
Generate a SQL query to answer the following question:
`How many previous years did Maebashi Ikuei high school have a total number of 1 participation?`

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

CREATE TABLE "2013_tournament" (
  "prefecture" text,
  "city_town" text,
  "high_school_name" text,
  "year_of_previous_participation" text,
  "total_number_of_participation" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many previous years did Maebashi Ikuei high school have a total number of 1 participation?`:
```sql
                SELECT COUNT("year_of_previous_participation") FROM "2013_tournament" WHERE "total_number_of_participation"=1 AND "high_school_name"='Maebashi Ikuei';
```
## Task
Generate a SQL query to answer the following question:
`In what prefecture is Nihon Bunri located?`

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

CREATE TABLE "2013_tournament" (
  "prefecture" text,
  "city_town" text,
  "high_school_name" text,
  "year_of_previous_participation" text,
  "total_number_of_participation" real
);
### SQL
Given the database schema, here is the SQL query that answers `In what prefecture is Nihon Bunri located?`:
```sql
                SELECT "prefecture" FROM "2013_tournament" WHERE "high_school_name"='Nihon Bunri';
```
## Task
Generate a SQL query to answer the following question:
`In what prefecture is Daito located?`

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

CREATE TABLE "2013_tournament" (
  "prefecture" text,
  "city_town" text,
  "high_school_name" text,
  "year_of_previous_participation" text,
  "total_number_of_participation" real
);
### SQL
Given the database schema, here is the SQL query that answers `In what prefecture is Daito located?`:
```sql
                SELECT "prefecture" FROM "2013_tournament" WHERE "city_town"='Daito';
```
## Task
Generate a SQL query to answer the following question:
`Which high school is located in Kyoto?`

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

CREATE TABLE "2013_tournament" (
  "prefecture" text,
  "city_town" text,
  "high_school_name" text,
  "year_of_previous_participation" text,
  "total_number_of_participation" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which high school is located in Kyoto?`:
```sql
                SELECT "high_school_name" FROM "2013_tournament" WHERE "prefecture"='Kyoto';
```
## Task
Generate a SQL query to answer the following question:
`What was the year of previous participation for the school in the Kagoshima prefecture?`

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

CREATE TABLE "2013_tournament" (
  "prefecture" text,
  "city_town" text,
  "high_school_name" text,
  "year_of_previous_participation" text,
  "total_number_of_participation" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the year of previous participation for the school in the Kagoshima prefecture?`:
```sql
                SELECT "year_of_previous_participation" FROM "2013_tournament" WHERE "prefecture"='Kagoshima';
```
## Task
Generate a SQL query to answer the following question:
`What was the data on January 15-16 if March 27-29 is March 29, 2006?`

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

CREATE TABLE "table1_25216791_3" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the data on January 15-16 if March 27-29 is March 29, 2006?`:
```sql
                SELECT "january_15_16" FROM "table1_25216791_3" WHERE "march_27_29"='March 29, 2006';
```
## Task
Generate a SQL query to answer the following question:
`What was the data on November 3, if the data on January 15-16 is January 15, 2010?`

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

CREATE TABLE "table1_25216791_3" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the data on November 3, if the data on January 15-16 is January 15, 2010?`:
```sql
                SELECT "november_3" FROM "table1_25216791_3" WHERE "january_15_16"='January 15, 2010';
```
## Task
Generate a SQL query to answer the following question:
`How many datas were recorded on January 15-16 if August 21-22 is 155?`

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

CREATE TABLE "table1_25216791_3" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many datas were recorded on January 15-16 if August 21-22 is 155?`:
```sql
                SELECT COUNT("january_15_16") FROM "table1_25216791_3" WHERE "august_21_22"='155';
```
## Task
Generate a SQL query to answer the following question:
`What was the data on January 15-16 if the data recorded June 10-11 is June 10, 1964?`

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

CREATE TABLE "table1_25216791_3" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the data on January 15-16 if the data recorded June 10-11 is June 10, 1964?`:
```sql
                SELECT "january_15_16" FROM "table1_25216791_3" WHERE "june_10_11"='June 10, 1964';
```
## Task
Generate a SQL query to answer the following question:
`How many data are on points for if the percentage is 94.29?`

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

CREATE TABLE "awards_and_milestones" (
  "opponent" text,
  "played" real,
  "won" real,
  "lost" real,
  "drew" real,
  "premiership_points" real,
  "points_for" real,
  "points_against" real,
  "percentage_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many data are on points for if the percentage is 94.29?`:
```sql
                SELECT COUNT("points_for") FROM "awards_and_milestones" WHERE "percentage_pct"='94.29';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent with a points for of 177?`

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

CREATE TABLE "awards_and_milestones" (
  "opponent" text,
  "played" real,
  "won" real,
  "lost" real,
  "drew" real,
  "premiership_points" real,
  "points_for" real,
  "points_against" real,
  "percentage_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent with a points for of 177?`:
```sql
                SELECT "opponent" FROM "awards_and_milestones" WHERE "points_for"=177;
```
## Task
Generate a SQL query to answer the following question:
`What was the minimum points against if the opponent is Port Adelaide?`

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

CREATE TABLE "awards_and_milestones" (
  "opponent" text,
  "played" real,
  "won" real,
  "lost" real,
  "drew" real,
  "premiership_points" real,
  "points_for" real,
  "points_against" real,
  "percentage_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the minimum points against if the opponent is Port Adelaide?`:
```sql
                SELECT MIN("points_against") FROM "awards_and_milestones" WHERE "opponent"='Port Adelaide';
```
## Task
Generate a SQL query to answer the following question:
`If Thursday 3 June is 20' 27.93 110.615mph, what are the names of the riders?`

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

CREATE TABLE "practice_times_and_leaderboard_600cc" (
  "rank" real,
  "rider" text,
  "sat_29_may" text,
  "mon_31_may" text,
  "tues_1_june" text,
  "wed_2_june" text,
  "thurs_3_june" text,
  "fri_4_june" text
);
### SQL
Given the database schema, here is the SQL query that answers `If Thursday 3 June is 20' 27.93 110.615mph, what are the names of the riders?`:
```sql
                SELECT "rider" FROM "practice_times_and_leaderboard_600cc" WHERE "thurs_3_june"='20'' 27.93 110.615mph';
```
## Task
Generate a SQL query to answer the following question:
`What is the Tuesday 1 June total number if Monday 31 May is 20' 15.35 111.761mph?`

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

CREATE TABLE "practice_times_and_leaderboard_600cc" (
  "rank" real,
  "rider" text,
  "sat_29_may" text,
  "mon_31_may" text,
  "tues_1_june" text,
  "wed_2_june" text,
  "thurs_3_june" text,
  "fri_4_june" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Tuesday 1 June total number if Monday 31 May is 20' 15.35 111.761mph?`:
```sql
                SELECT COUNT("tues_1_june") FROM "practice_times_and_leaderboard_600cc" WHERE "mon_31_may"='20'' 15.35 111.761mph';
```
## Task
Generate a SQL query to answer the following question:
`What is Friday 4 June if Wednesday 2 June is 20' 11.98 112.071mph?`

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

CREATE TABLE "practice_times_and_leaderboard_600cc" (
  "rank" real,
  "rider" text,
  "sat_29_may" text,
  "mon_31_may" text,
  "tues_1_june" text,
  "wed_2_june" text,
  "thurs_3_june" text,
  "fri_4_june" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Friday 4 June if Wednesday 2 June is 20' 11.98 112.071mph?`:
```sql
                SELECT "fri_4_june" FROM "practice_times_and_leaderboard_600cc" WHERE "wed_2_june"='20'' 11.98 112.071mph';
```
## Task
Generate a SQL query to answer the following question:
`If Tuesday 1 June is 21' 05.27 107.351mph, what is the rider total number?`

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

CREATE TABLE "practice_times_and_leaderboard_600cc" (
  "rank" real,
  "rider" text,
  "sat_29_may" text,
  "mon_31_may" text,
  "tues_1_june" text,
  "wed_2_june" text,
  "thurs_3_june" text,
  "fri_4_june" text
);
### SQL
Given the database schema, here is the SQL query that answers `If Tuesday 1 June is 21' 05.27 107.351mph, what is the rider total number?`:
```sql
                SELECT COUNT("rider") FROM "practice_times_and_leaderboard_600cc" WHERE "tues_1_june"='21'' 05.27 107.351mph';
```
## Task
Generate a SQL query to answer the following question:
`If Tuesday 1 June is 20' 59.60 107.834mph, what is the rank maximum?`

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

CREATE TABLE "practice_times_and_leaderboard_600cc" (
  "rank" real,
  "rider" text,
  "sat_29_may" text,
  "mon_31_may" text,
  "tues_1_june" text,
  "wed_2_june" text,
  "thurs_3_june" text,
  "fri_4_june" text
);
### SQL
Given the database schema, here is the SQL query that answers `If Tuesday 1 June is 20' 59.60 107.834mph, what is the rank maximum?`:
```sql
                SELECT MAX("rank") FROM "practice_times_and_leaderboard_600cc" WHERE "tues_1_june"='20'' 59.60 107.834mph';
```
## Task
Generate a SQL query to answer the following question:
`What is the Friday 4 June if the Wednesday 2 June is 20' 50.62 108.608mph?`

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

CREATE TABLE "practice_times_and_leaderboard_600cc" (
  "rank" real,
  "rider" text,
  "sat_29_may" text,
  "mon_31_may" text,
  "tues_1_june" text,
  "wed_2_june" text,
  "thurs_3_june" text,
  "fri_4_june" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Friday 4 June if the Wednesday 2 June is 20' 50.62 108.608mph?`:
```sql
                SELECT "fri_4_june" FROM "practice_times_and_leaderboard_600cc" WHERE "wed_2_june"='20'' 50.62 108.608mph';
```
## Task
Generate a SQL query to answer the following question:
`What is the 2 June time for the rider with time of 17' 48.58 127.111mph on 3 June?`

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

CREATE TABLE "practice_times_leaderboard_superstock_tt" (
  "rank" real,
  "rider" text,
  "sat_29_may" text,
  "mon_31_may" text,
  "tues_1_june" text,
  "wed_2_june" text,
  "thurs_3_june" text,
  "fri_4_june" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 2 June time for the rider with time of 17' 48.58 127.111mph on 3 June?`:
```sql
                SELECT "wed_2_june" FROM "practice_times_leaderboard_superstock_tt" WHERE "thurs_3_june"='17'' 48.58 127.111mph';
```
## Task
Generate a SQL query to answer the following question:
`How many times are listed for 31 May for the rider ranked 5?`

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

CREATE TABLE "practice_times_leaderboard_superstock_tt" (
  "rank" real,
  "rider" text,
  "sat_29_may" text,
  "mon_31_may" text,
  "tues_1_june" text,
  "wed_2_june" text,
  "thurs_3_june" text,
  "fri_4_june" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times are listed for 31 May for the rider ranked 5?`:
```sql
                SELECT COUNT("mon_31_may") FROM "practice_times_leaderboard_superstock_tt" WHERE "rank"=5;
```
## Task
Generate a SQL query to answer the following question:
`What is the 3 June time for the rider with 2 June time of 17' 45.11 127.525mph?`

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

CREATE TABLE "practice_times_leaderboard_superstock_tt" (
  "rank" real,
  "rider" text,
  "sat_29_may" text,
  "mon_31_may" text,
  "tues_1_june" text,
  "wed_2_june" text,
  "thurs_3_june" text,
  "fri_4_june" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 3 June time for the rider with 2 June time of 17' 45.11 127.525mph?`:
```sql
                SELECT "thurs_3_june" FROM "practice_times_leaderboard_superstock_tt" WHERE "wed_2_june"='17'' 45.11 127.525mph';
```
## Task
Generate a SQL query to answer the following question:
`Who is ranked 2?`

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

CREATE TABLE "practice_times_leaderboard_superstock_tt" (
  "rank" real,
  "rider" text,
  "sat_29_may" text,
  "mon_31_may" text,
  "tues_1_june" text,
  "wed_2_june" text,
  "thurs_3_june" text,
  "fri_4_june" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is ranked 2?`:
```sql
                SELECT "rider" FROM "practice_times_leaderboard_superstock_tt" WHERE "rank"=2;
```
## Task
Generate a SQL query to answer the following question:
`How many times does November 3rd occur when January 15, 1991 does?`

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

CREATE TABLE "table1_25235489_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times does November 3rd occur when January 15, 1991 does?`:
```sql
                SELECT COUNT("november_3") FROM "table1_25235489_2" WHERE "january_15_16"='January 15, 1991';
```
## Task
Generate a SQL query to answer the following question:
`When November is 153 what is the March number?`

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

CREATE TABLE "table1_25235489_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `When November is 153 what is the March number?`:
```sql
                SELECT "march_27_29" FROM "table1_25235489_2" WHERE "november_3"='153';
```
## Task
Generate a SQL query to answer the following question:
`How many times does an occurance happen in June when it happens on NOvember 3, 1975?`

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

CREATE TABLE "table1_25235489_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times does an occurance happen in June when it happens on NOvember 3, 1975?`:
```sql
                SELECT COUNT("june_10_11") FROM "table1_25235489_2" WHERE "november_3"='November 3, 1975';
```
## Task
Generate a SQL query to answer the following question:
`When march is 129 what is the August number?`

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

CREATE TABLE "table1_25235489_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `When march is 129 what is the August number?`:
```sql
                SELECT "august_21_22" FROM "table1_25235489_2" WHERE "march_27_29"='129';
```
## Task
Generate a SQL query to answer the following question:
`How many numbers are there for August when March is 139?`

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

CREATE TABLE "table1_25235489_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many numbers are there for August when March is 139?`:
```sql
                SELECT COUNT("august_21_22") FROM "table1_25235489_2" WHERE "march_27_29"='139';
```
## Task
Generate a SQL query to answer the following question:
`How many teams have been in Topperserien for 8 seasons? `

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

CREATE TABLE "2013_teams" (
  "team" text,
  "home_city" text,
  "home_ground" text,
  "in_toppserien_since" real,
  "first_appearance" real,
  "seasons" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many teams have been in Topperserien for 8 seasons? `:
```sql
                SELECT COUNT("team") FROM "2013_teams" WHERE "seasons"=8;
```
## Task
Generate a SQL query to answer the following question:
`What is the maximum number of seasons for any team? `

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

CREATE TABLE "2013_teams" (
  "team" text,
  "home_city" text,
  "home_ground" text,
  "in_toppserien_since" real,
  "first_appearance" real,
  "seasons" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the maximum number of seasons for any team? `:
```sql
                SELECT MAX("seasons") FROM "2013_teams";
```
## Task
Generate a SQL query to answer the following question:
`Which teams homeeground is Stemmemyren? `

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

CREATE TABLE "2013_teams" (
  "team" text,
  "home_city" text,
  "home_ground" text,
  "in_toppserien_since" real,
  "first_appearance" real,
  "seasons" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which teams homeeground is Stemmemyren? `:
```sql
                SELECT "team" FROM "2013_teams" WHERE "home_ground"='Stemmemyren';
```
## Task
Generate a SQL query to answer the following question:
`What is the home ground for the team whose home city is Trondheim with 27 seasons? `

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

CREATE TABLE "2013_teams" (
  "team" text,
  "home_city" text,
  "home_ground" text,
  "in_toppserien_since" real,
  "first_appearance" real,
  "seasons" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the home ground for the team whose home city is Trondheim with 27 seasons? `:
```sql
                SELECT "home_ground" FROM "2013_teams" WHERE "seasons"=27 AND "home_city"='Trondheim';
```
## Task
Generate a SQL query to answer the following question:
`What is the home city for the team whose home ground is dnb nor arena? `

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

CREATE TABLE "2013_teams" (
  "team" text,
  "home_city" text,
  "home_ground" text,
  "in_toppserien_since" real,
  "first_appearance" real,
  "seasons" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the home city for the team whose home ground is dnb nor arena? `:
```sql
                SELECT "home_city" FROM "2013_teams" WHERE "home_ground"='DnB Nor Arena';
```
## Task
Generate a SQL query to answer the following question:
`What Home city has the home ground Klepp stadion? `

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

CREATE TABLE "2013_teams" (
  "team" text,
  "home_city" text,
  "home_ground" text,
  "in_toppserien_since" real,
  "first_appearance" real,
  "seasons" real
);
### SQL
Given the database schema, here is the SQL query that answers `What Home city has the home ground Klepp stadion? `:
```sql
                SELECT "home_city" FROM "2013_teams" WHERE "home_ground"='Klepp Stadion';
```
## Task
Generate a SQL query to answer the following question:
`How many data was given the total electricity in GW-h if the renewable electricity w/o hydro (GW-h) is 3601?`

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

CREATE TABLE "table1_25244412_2" (
  "rank" real,
  "rank_w_o_hydropower" real,
  "state" text,
  "pct_renewable" text,
  "pct_renewable_w_o_hydro" text,
  "renewable_electricity_gw_h" real,
  "renewable_electricity_w_o_hydro_gw_h" real,
  "total_electricity_gw_h" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many data was given the total electricity in GW-h if the renewable electricity w/o hydro (GW-h) is 3601?`:
```sql
                SELECT COUNT("total_electricity_gw_h") FROM "table1_25244412_2" WHERE "renewable_electricity_w_o_hydro_gw_h"=3601;
```
## Task
Generate a SQL query to answer the following question:
`How many data was given the total electricity in GW-h if % renewable is 92.3%?`

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

CREATE TABLE "table1_25244412_2" (
  "rank" real,
  "rank_w_o_hydropower" real,
  "state" text,
  "pct_renewable" text,
  "pct_renewable_w_o_hydro" text,
  "renewable_electricity_gw_h" real,
  "renewable_electricity_w_o_hydro_gw_h" real,
  "total_electricity_gw_h" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many data was given the total electricity in GW-h if % renewable is 92.3%?`:
```sql
                SELECT COUNT("total_electricity_gw_h") FROM "table1_25244412_2" WHERE "pct_renewable"='92.3%';
```
## Task
Generate a SQL query to answer the following question:
`What was the maximum rank of the source with renewable percentage w/o hydro is 2.17%?`

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

CREATE TABLE "table1_25244412_2" (
  "rank" real,
  "rank_w_o_hydropower" real,
  "state" text,
  "pct_renewable" text,
  "pct_renewable_w_o_hydro" text,
  "renewable_electricity_gw_h" real,
  "renewable_electricity_w_o_hydro_gw_h" real,
  "total_electricity_gw_h" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the maximum rank of the source with renewable percentage w/o hydro is 2.17%?`:
```sql
                SELECT MAX("rank") FROM "table1_25244412_2" WHERE "pct_renewable_w_o_hydro"='2.17%';
```