cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`How many deductions have 56.5 as tosses/pyramids?`

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

CREATE TABLE "open_qualifiers" (
  "rank" real,
  "team_name" text,
  "basic_elements" text,
  "tumbling" text,
  "stunts" text,
  "tosses_pyramids" text,
  "deductions" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many deductions have 56.5 as tosses/pyramids?`:
```sql
                SELECT "deductions" FROM "open_qualifiers" WHERE "tosses_pyramids"='56.5';
```
## Task
Generate a SQL query to answer the following question:
`What is the rank when 36.5 is tumbling?`

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

CREATE TABLE "open_qualifiers" (
  "rank" real,
  "team_name" text,
  "basic_elements" text,
  "tumbling" text,
  "stunts" text,
  "tosses_pyramids" text,
  "deductions" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rank when 36.5 is tumbling?`:
```sql
                SELECT COUNT("rank") FROM "open_qualifiers" WHERE "tumbling"='36.5';
```
## Task
Generate a SQL query to answer the following question:
`What is the rank when 64.5 is tosses/pyramids?`

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

CREATE TABLE "open_qualifiers" (
  "rank" real,
  "team_name" text,
  "basic_elements" text,
  "tumbling" text,
  "stunts" text,
  "tosses_pyramids" text,
  "deductions" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rank when 64.5 is tosses/pyramids?`:
```sql
                SELECT MAX("rank") FROM "open_qualifiers" WHERE "tosses_pyramids"='64.5';
```
## Task
Generate a SQL query to answer the following question:
`How many different outcomes of the French Championships were there?`

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

CREATE TABLE "men_s_doubles_16_10_titles_6_runner_ups" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many different outcomes of the French Championships were there?`:
```sql
                SELECT COUNT("outcome") FROM "men_s_doubles_16_10_titles_6_runner_ups" WHERE "championship"='French Championships';
```
## Task
Generate a SQL query to answer the following question:
`How many different final scores were there in 1963?`

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

CREATE TABLE "men_s_doubles_16_10_titles_6_runner_ups" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many different final scores were there in 1963?`:
```sql
                SELECT COUNT("score_in_the_final") FROM "men_s_doubles_16_10_titles_6_runner_ups" WHERE "year"=1963;
```
## Task
Generate a SQL query to answer the following question:
`Who directed the film titled 'Steam of Life'?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "title_in_the_original_language" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the film titled 'Steam of Life'?`:
```sql
                SELECT "director" FROM "submissions" WHERE "film_title_used_in_nomination"='Steam of Life';
```
## Task
Generate a SQL query to answer the following question:
`What year was the ceremony where the film 'Tummien Perhosten Koti' was submitted?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "title_in_the_original_language" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year was the ceremony where the film 'Tummien Perhosten Koti' was submitted?`:
```sql
                SELECT "year_ceremony" FROM "submissions" WHERE "title_in_the_original_language"='Tummien perhosten koti';
```
## Task
Generate a SQL query to answer the following question:
`What are the results for the film titled 'Joki'?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "title_in_the_original_language" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the results for the film titled 'Joki'?`:
```sql
                SELECT COUNT("result") FROM "submissions" WHERE "title_in_the_original_language"='Joki';
```
## Task
Generate a SQL query to answer the following question:
`What was the domestic box office for the film that had a foreign box office of $26,600,000?`

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

CREATE TABLE "lifetime_grosses" (
  "year" real,
  "film" text,
  "budget" text,
  "domestic_box_office" text,
  "foreign_box_office" text,
  "total" text,
  "us_dvd_sales" text,
  "total_with_dvd_sales" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the domestic box office for the film that had a foreign box office of $26,600,000?`:
```sql
                SELECT "domestic_box_office" FROM "lifetime_grosses" WHERE "foreign_box_office"='$26,600,000';
```
## Task
Generate a SQL query to answer the following question:
`What was the domestic box office for "House on Haunted Hill"?`

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

CREATE TABLE "lifetime_grosses" (
  "year" real,
  "film" text,
  "budget" text,
  "domestic_box_office" text,
  "foreign_box_office" text,
  "total" text,
  "us_dvd_sales" text,
  "total_with_dvd_sales" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the domestic box office for "House on Haunted Hill"?`:
```sql
                SELECT "domestic_box_office" FROM "lifetime_grosses" WHERE "film"='House on Haunted Hill';
```
## Task
Generate a SQL query to answer the following question:
`What was the budget for "Thirteen Ghosts"?`

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

CREATE TABLE "lifetime_grosses" (
  "year" real,
  "film" text,
  "budget" text,
  "domestic_box_office" text,
  "foreign_box_office" text,
  "total" text,
  "us_dvd_sales" text,
  "total_with_dvd_sales" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the budget for "Thirteen Ghosts"?`:
```sql
                SELECT "budget" FROM "lifetime_grosses" WHERE "film"='Thirteen Ghosts';
```
## Task
Generate a SQL query to answer the following question:
`What is every school for the Adelaide location?`

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

CREATE TABLE "current_member_schools" (
  "school" text,
  "location" text,
  "enrolment" real,
  "founded" real,
  "denomination" text,
  "boys_girls" text,
  "day_boarding" text,
  "school_colors" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every school for the Adelaide location?`:
```sql
                SELECT "school" FROM "current_member_schools" WHERE "location"='Adelaide';
```
## Task
Generate a SQL query to answer the following question:
`How many values for founded when enrollment is 850?`

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

CREATE TABLE "current_member_schools" (
  "school" text,
  "location" text,
  "enrolment" real,
  "founded" real,
  "denomination" text,
  "boys_girls" text,
  "day_boarding" text,
  "school_colors" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many values for founded when enrollment is 850?`:
```sql
                SELECT COUNT("founded") FROM "current_member_schools" WHERE "enrolment"=850;
```
## Task
Generate a SQL query to answer the following question:
`What is every denomination for the school Seymour college?`

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

CREATE TABLE "current_member_schools" (
  "school" text,
  "location" text,
  "enrolment" real,
  "founded" real,
  "denomination" text,
  "boys_girls" text,
  "day_boarding" text,
  "school_colors" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every denomination for the school Seymour college?`:
```sql
                SELECT "denomination" FROM "current_member_schools" WHERE "school"='Seymour College';
```
## Task
Generate a SQL query to answer the following question:
`Event number 38m was held on which date? `

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

CREATE TABLE "2011_events" (
  "date" text,
  "event_num" text,
  "event" text,
  "winner" text,
  "prize" text,
  "entries" text,
  "prize_pool" text,
  "elapsed_time" text
);
### SQL
Given the database schema, here is the SQL query that answers `Event number 38m was held on which date? `:
```sql
                SELECT "date" FROM "2011_events" WHERE "event_num"='38M';
```
## Task
Generate a SQL query to answer the following question:
`Who won the $109 no limit hold'em w/rebuys [turbo]?`

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

CREATE TABLE "2011_events" (
  "date" text,
  "event_num" text,
  "event" text,
  "winner" text,
  "prize" text,
  "entries" text,
  "prize_pool" text,
  "elapsed_time" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won the $109 no limit hold'em w/rebuys [turbo]?`:
```sql
                SELECT "winner" FROM "2011_events" WHERE "event"='$109 No Limit Hold''em w/rebuys [Turbo]';
```
## Task
Generate a SQL query to answer the following question:
`Which event had 25,883 entries? `

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

CREATE TABLE "2011_events" (
  "date" text,
  "event_num" text,
  "event" text,
  "winner" text,
  "prize" text,
  "entries" text,
  "prize_pool" text,
  "elapsed_time" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which event had 25,883 entries? `:
```sql
                SELECT "event" FROM "2011_events" WHERE "entries"='25,883';
```
## Task
Generate a SQL query to answer the following question:
`How many categories for elapsed time exist for the $16.50 fixed-limit badugi game?`

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

CREATE TABLE "2011_events" (
  "date" text,
  "event_num" text,
  "event" text,
  "winner" text,
  "prize" text,
  "entries" text,
  "prize_pool" text,
  "elapsed_time" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many categories for elapsed time exist for the $16.50 fixed-limit badugi game?`:
```sql
                SELECT COUNT("elapsed_time") FROM "2011_events" WHERE "event"='$16.50 Fixed-Limit Badugi';
```
## Task
Generate a SQL query to answer the following question:
`How many elapsed times were recorded for the game that had a prize pool of $1,678,200?`

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

CREATE TABLE "2011_events" (
  "date" text,
  "event_num" text,
  "event" text,
  "winner" text,
  "prize" text,
  "entries" text,
  "prize_pool" text,
  "elapsed_time" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many elapsed times were recorded for the game that had a prize pool of $1,678,200?`:
```sql
                SELECT COUNT("elapsed_time") FROM "2011_events" WHERE "prize_pool"='$1,678,200';
```
## Task
Generate a SQL query to answer the following question:
`What year did jaroslav vojtek category:articles with hcards Direct?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "slovak_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year did jaroslav vojtek category:articles with hcards Direct?`:
```sql
                SELECT "year_ceremony" FROM "submissions" WHERE "director"='Jaroslav Vojtek Category:Articles with hCards';
```
## Task
Generate a SQL query to answer the following question:
`What was the result for Gypsy?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "slovak_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result for Gypsy?`:
```sql
                SELECT "result" FROM "submissions" WHERE "film_title_used_in_nomination"='Gypsy';
```
## Task
Generate a SQL query to answer the following question:
`HOw many films did martin repka category:articles with hcards direct?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "slovak_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `HOw many films did martin repka category:articles with hcards direct?`:
```sql
                SELECT COUNT("film_title_used_in_nomination") FROM "submissions" WHERE "director"='Martin Repka Category:Articles with hCards';
```
## Task
Generate a SQL query to answer the following question:
`What was the result for City of the Sun?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "slovak_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result for City of the Sun?`:
```sql
                SELECT "result" FROM "submissions" WHERE "film_title_used_in_nomination"='City of the Sun';
```
## Task
Generate a SQL query to answer the following question:
`What was the language for the movie "Late Bloomers"?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "language_s" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the language for the movie "Late Bloomers"?`:
```sql
                SELECT "language_s" FROM "submissions" WHERE "film_title_used_in_nomination"='Late Bloomers';
```
## Task
Generate a SQL query to answer the following question:
`How many original titles were listed as "If the Sun Never Returns"?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "language_s" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many original titles were listed as "If the Sun Never Returns"?`:
```sql
                SELECT COUNT("original_title") FROM "submissions" WHERE "film_title_used_in_nomination"='If the Sun Never Returns';
```
## Task
Generate a SQL query to answer the following question:
`What was the language of "Mein Name Ist Bach"?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "language_s" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the language of "Mein Name Ist Bach"?`:
```sql
                SELECT "language_s" FROM "submissions" WHERE "film_title_used_in_nomination"='Mein Name Ist Bach';
```
## Task
Generate a SQL query to answer the following question:
`What was the year for the film "Vitus"?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "language_s" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the year for the film "Vitus"?`:
```sql
                SELECT "year_ceremony" FROM "submissions" WHERE "original_title"='Vitus';
```
## Task
Generate a SQL query to answer the following question:
`How many films are titled "Dans la Ville Blanche"?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "language_s" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many films are titled "Dans la Ville Blanche"?`:
```sql
                SELECT COUNT("film_title_used_in_nomination") FROM "submissions" WHERE "original_title"='Dans la ville blanche';
```
## Task
Generate a SQL query to answer the following question:
`How many of the writers had 5.35 viewers?`

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

CREATE TABLE "table1_22053239_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many of the writers had 5.35 viewers?`:
```sql
                SELECT COUNT("written_by") FROM "table1_22053239_1" WHERE "u_s_viewers_millions"='5.35';
```
## Task
Generate a SQL query to answer the following question:
`What was the elapsed time for the championship that had $9,377.42 in prize money? `

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

CREATE TABLE "2012_events" (
  "date" text,
  "event_num" text,
  "event" text,
  "winner" text,
  "prize" text,
  "entries" text,
  "prize_pool" text,
  "elapsed_time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the elapsed time for the championship that had $9,377.42 in prize money? `:
```sql
                SELECT "elapsed_time" FROM "2012_events" WHERE "prize"='$9,377.42';
```
## Task
Generate a SQL query to answer the following question:
`Who won a prize pool of $61,100?`

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

CREATE TABLE "2012_events" (
  "date" text,
  "event_num" text,
  "event" text,
  "winner" text,
  "prize" text,
  "entries" text,
  "prize_pool" text,
  "elapsed_time" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won a prize pool of $61,100?`:
```sql
                SELECT "winner" FROM "2012_events" WHERE "prize_pool"='$61,100';
```
## Task
Generate a SQL query to answer the following question:
`What was the prize pool for the event number 27H? `

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

CREATE TABLE "2012_events" (
  "date" text,
  "event_num" text,
  "event" text,
  "winner" text,
  "prize" text,
  "entries" text,
  "prize_pool" text,
  "elapsed_time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the prize pool for the event number 27H? `:
```sql
                SELECT "prize_pool" FROM "2012_events" WHERE "event_num"='27H';
```
## Task
Generate a SQL query to answer the following question:
`What is the event name with the number 8M? `

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

CREATE TABLE "2012_events" (
  "date" text,
  "event_num" text,
  "event" text,
  "winner" text,
  "prize" text,
  "entries" text,
  "prize_pool" text,
  "elapsed_time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the event name with the number 8M? `:
```sql
                SELECT "event" FROM "2012_events" WHERE "event_num"='8M';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number 1980 mil for soviet union`

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

CREATE TABLE "population" (
  "country" text,
  "area_000s" text,
  "1950_mil" text,
  "1970_mil" text,
  "1980_mil" text,
  "1985_mil" text,
  "annual_growth_1950_1985" text,
  "density_1980" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number 1980 mil for soviet union`:
```sql
                SELECT COUNT("1980_mil") FROM "population" WHERE "country"='Soviet Union';
```
## Task
Generate a SQL query to answer the following question:
`Name the country for 37.23 1985`

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

CREATE TABLE "population" (
  "country" text,
  "area_000s" text,
  "1950_mil" text,
  "1970_mil" text,
  "1980_mil" text,
  "1985_mil" text,
  "annual_growth_1950_1985" text,
  "density_1980" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the country for 37.23 1985`:
```sql
                SELECT "country" FROM "population" WHERE "1985_mil"='37.23';
```
## Task
Generate a SQL query to answer the following question:
`Name the country for 2.16 `

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

CREATE TABLE "population" (
  "country" text,
  "area_000s" text,
  "1950_mil" text,
  "1970_mil" text,
  "1980_mil" text,
  "1985_mil" text,
  "annual_growth_1950_1985" text,
  "density_1980" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the country for 2.16 `:
```sql
                SELECT "country" FROM "population" WHERE "1970_mil"='2.16';
```
## Task
Generate a SQL query to answer the following question:
`How many languages have elles as the film title used in nomination?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "languages" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many languages have elles as the film title used in nomination?`:
```sql
                SELECT COUNT("languages") FROM "submissions" WHERE "film_title_used_in_nomination"='Elles';
```
## Task
Generate a SQL query to answer the following question:
`How many languages is refractaire as the film title used in nomination?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "languages" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many languages is refractaire as the film title used in nomination?`:
```sql
                SELECT COUNT("languages") FROM "submissions" WHERE "film_title_used_in_nomination"='Refractaire';
```
## Task
Generate a SQL query to answer the following question:
`How many languages have le roman de renart as the original title?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "languages" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many languages have le roman de renart as the original title?`:
```sql
                SELECT COUNT("languages") FROM "submissions" WHERE "original_title"='Le Roman de Renart';
```
## Task
Generate a SQL query to answer the following question:
`Who is the director of the original title perl oder pica?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "languages" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the director of the original title perl oder pica?`:
```sql
                SELECT "director" FROM "submissions" WHERE "original_title"='Perl oder Pica';
```
## Task
Generate a SQL query to answer the following question:
`What is the result of the 2005 (78th) year ceremony?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "languages" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result of the 2005 (78th) year ceremony?`:
```sql
                SELECT "result" FROM "submissions" WHERE "year_ceremony"='2005 (78th)';
```
## Task
Generate a SQL query to answer the following question:
`What is the title that has 14.59 u.s. viewers (millions)?`

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

CREATE TABLE "table1_22078691_2" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title that has 14.59 u.s. viewers (millions)?`:
```sql
                SELECT "title" FROM "table1_22078691_2" WHERE "u_s_viewers_millions"='14.59';
```
## Task
Generate a SQL query to answer the following question:
`How many number of series have the title "call of silence"?`

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

CREATE TABLE "table1_22078691_2" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many number of series have the title "call of silence"?`:
```sql
                SELECT "no_in_series" FROM "table1_22078691_2" WHERE "title"='\"Call of Silence\"';
```
## Task
Generate a SQL query to answer the following question:
`What is the title that had 13.59 u.s. viewers  (millions)?`

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

CREATE TABLE "table1_22078691_2" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title that had 13.59 u.s. viewers  (millions)?`:
```sql
                SELECT "title" FROM "table1_22078691_2" WHERE "u_s_viewers_millions"='13.59';
```
## Task
Generate a SQL query to answer the following question:
`If the earning amount is $309,886, what is the money list ranking?`

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

CREATE TABLE "lpga_tour_career_summary" (
  "year" real,
  "tournaments_played" real,
  "cuts_made" real,
  "wins" real,
  "3rds" real,
  "top_10s" real,
  "best_finish" text,
  "earnings" text,
  "money_list_rank" real,
  "scoring_average" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the earning amount is $309,886, what is the money list ranking?`:
```sql
                SELECT "money_list_rank" FROM "lpga_tour_career_summary" WHERE "earnings"='309,886';
```
## Task
Generate a SQL query to answer the following question:
`What was the maximum number of wins?`

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

CREATE TABLE "lpga_tour_career_summary" (
  "year" real,
  "tournaments_played" real,
  "cuts_made" real,
  "wins" real,
  "3rds" real,
  "top_10s" real,
  "best_finish" text,
  "earnings" text,
  "money_list_rank" real,
  "scoring_average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the maximum number of wins?`:
```sql
                SELECT MAX("wins") FROM "lpga_tour_career_summary";
```
## Task
Generate a SQL query to answer the following question:
`If the year is 2010, what was the average score?`

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

CREATE TABLE "lpga_tour_career_summary" (
  "year" real,
  "tournaments_played" real,
  "cuts_made" real,
  "wins" real,
  "3rds" real,
  "top_10s" real,
  "best_finish" text,
  "earnings" text,
  "money_list_rank" real,
  "scoring_average" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the year is 2010, what was the average score?`:
```sql
                SELECT "scoring_average" FROM "lpga_tour_career_summary" WHERE "year"=2010;
```
## Task
Generate a SQL query to answer the following question:
`How many times did Tim Macrow and Joey Foster both got the fastest lap and pole position respectively?`

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

CREATE TABLE "race_calendar" (
  "event" real,
  "round" real,
  "circuit" text,
  "date" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times did Tim Macrow and Joey Foster both got the fastest lap and pole position respectively?`:
```sql
                SELECT COUNT("event") FROM "race_calendar" WHERE "fastest_lap"='Tim Macrow' AND "pole_position"='Joey Foster';
```
## Task
Generate a SQL query to answer the following question:
`What was the winning team where Tim Macrow won the fastest lap on Queensland Raceway circuit?`

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

CREATE TABLE "race_calendar" (
  "event" real,
  "round" real,
  "circuit" text,
  "date" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the winning team where Tim Macrow won the fastest lap on Queensland Raceway circuit?`:
```sql
                SELECT "winning_team" FROM "race_calendar" WHERE "circuit"='Queensland Raceway' AND "fastest_lap"='Tim Macrow';
```
## Task
Generate a SQL query to answer the following question:
`What's the series number of the episode whose writer is David North?`

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

CREATE TABLE "table1_22078972_2" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the series number of the episode whose writer is David North?`:
```sql
                SELECT MAX("no_in_series") FROM "table1_22078972_2" WHERE "written_by"='David North';
```
## Task
Generate a SQL query to answer the following question:
`What's the series number of the episode seen by 17.04 million people in the US?`

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

CREATE TABLE "table1_22078972_2" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the series number of the episode seen by 17.04 million people in the US?`:
```sql
                SELECT MAX("no_in_series") FROM "table1_22078972_2" WHERE "u_s_viewers_millions"='17.04';
```
## Task
Generate a SQL query to answer the following question:
`What's the title of the episode first seen by 18.15 million people in the US?`

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

CREATE TABLE "table1_22078972_2" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the title of the episode first seen by 18.15 million people in the US?`:
```sql
                SELECT "title" FROM "table1_22078972_2" WHERE "u_s_viewers_millions"='18.15';
```
## Task
Generate a SQL query to answer the following question:
`How many millions of people in the US saw the episode with series number 103?`

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

CREATE TABLE "table1_22078972_2" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many millions of people in the US saw the episode with series number 103?`:
```sql
                SELECT "u_s_viewers_millions" FROM "table1_22078972_2" WHERE "no_in_series"=103;
```
## Task
Generate a SQL query to answer the following question:
`What number episode in the series was watched by 15.89 million U.S. viewers? `

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

CREATE TABLE "table1_22078906_2" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_airdate" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number episode in the series was watched by 15.89 million U.S. viewers? `:
```sql
                SELECT "no_in_series" FROM "table1_22078906_2" WHERE "u_s_viewers_millions"='15.89';
```
## Task
Generate a SQL query to answer the following question:
`What is the title of the episode directed by William Webb? `

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

CREATE TABLE "table1_22078906_2" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_airdate" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of the episode directed by William Webb? `:
```sql
                SELECT "title" FROM "table1_22078906_2" WHERE "directed_by"='William Webb';
```
## Task
Generate a SQL query to answer the following question:
`How many millions of U.S. viewers watched the episode titled "Once a Hero"?`

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

CREATE TABLE "table1_22078906_2" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_airdate" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many millions of U.S. viewers watched the episode titled "Once a Hero"?`:
```sql
                SELECT "u_s_viewers_millions" FROM "table1_22078906_2" WHERE "title"='\"Once a Hero\"';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote the episode titled "In the Dark"?`

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

CREATE TABLE "table1_22078906_2" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_airdate" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote the episode titled "In the Dark"?`:
```sql
                SELECT "written_by" FROM "table1_22078906_2" WHERE "title"='\"In the Dark\"';
```
## Task
Generate a SQL query to answer the following question:
`What was the final score when River Plate was the runner-up?`

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

CREATE TABLE "finals" (
  "season" text,
  "champion" text,
  "runner_up" text,
  "result" text,
  "league_mvp" text,
  "finals_mvp" text,
  "winning_coach" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the final score when River Plate was the runner-up?`:
```sql
                SELECT "result" FROM "finals" WHERE "runner_up"='River Plate';
```
## Task
Generate a SQL query to answer the following question:
`What was spent per voter when total amount spent was 210,280,000?`

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

CREATE TABLE "campaign_expenses" (
  "candidate_party" text,
  "amount_raised_php" text,
  "amount_spent_php" text,
  "votes" real,
  "spent_per_vote_php" text,
  "spent_per_voter_php" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was spent per voter when total amount spent was 210,280,000?`:
```sql
                SELECT "spent_per_voter_php" FROM "campaign_expenses" WHERE "amount_spent_php"='210,280,000';
```
## Task
Generate a SQL query to answer the following question:
`What was spent per voter when the spent per vote was 20.07?`

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

CREATE TABLE "campaign_expenses" (
  "candidate_party" text,
  "amount_raised_php" text,
  "amount_spent_php" text,
  "votes" real,
  "spent_per_vote_php" text,
  "spent_per_voter_php" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was spent per voter when the spent per vote was 20.07?`:
```sql
                SELECT "spent_per_voter_php" FROM "campaign_expenses" WHERE "spent_per_vote_php"='20.07';
```
## Task
Generate a SQL query to answer the following question:
`Between November 25–30, 2008 the sellout rate was at 75%, indicating that the ration between shows to sellout was what?`

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

CREATE TABLE "table1_22123920_4" (
  "dates_mdy" text,
  "gross_sales" text,
  "tickets_sold_available" text,
  "shows_sellout" text,
  "sellout_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `Between November 25–30, 2008 the sellout rate was at 75%, indicating that the ration between shows to sellout was what?`:
```sql
                SELECT "shows_sellout" FROM "table1_22123920_4" WHERE "sellout_pct"='75%';
```
## Task
Generate a SQL query to answer the following question:
`During the period in which gross sales totals for "The Show Girl Must Go On" reached $2,628,457, what did the numbers show for tickets sold/ available at the box office? `

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

CREATE TABLE "table1_22123920_4" (
  "dates_mdy" text,
  "gross_sales" text,
  "tickets_sold_available" text,
  "shows_sellout" text,
  "sellout_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `During the period in which gross sales totals for "The Show Girl Must Go On" reached $2,628,457, what did the numbers show for tickets sold/ available at the box office? `:
```sql
                SELECT "tickets_sold_available" FROM "table1_22123920_4" WHERE "gross_sales"='$2,628,457';
```
## Task
Generate a SQL query to answer the following question:
`Which specific dates encompass the time period when "The Show Girl Must Go On" showed a gross sales figure total of $2,877,906?`

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

CREATE TABLE "table1_22123920_4" (
  "dates_mdy" text,
  "gross_sales" text,
  "tickets_sold_available" text,
  "shows_sellout" text,
  "sellout_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which specific dates encompass the time period when "The Show Girl Must Go On" showed a gross sales figure total of $2,877,906?`:
```sql
                SELECT "dates_mdy" FROM "table1_22123920_4" WHERE "gross_sales"='$2,877,906';
```
## Task
Generate a SQL query to answer the following question:
`What year and the corresponding ceremony was the english titled movie "time out" submitted?`

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

CREATE TABLE "table1_22102732_1" (
  "year_ceremony" text,
  "english_title" text,
  "spanish_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year and the corresponding ceremony was the english titled movie "time out" submitted?`:
```sql
                SELECT "year_ceremony" FROM "table1_22102732_1" WHERE "english_title"='Time Out';
```
## Task
Generate a SQL query to answer the following question:
`How many english titles were directed by carlos moreno?`

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

CREATE TABLE "table1_22102732_1" (
  "year_ceremony" text,
  "english_title" text,
  "spanish_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many english titles were directed by carlos moreno?`:
```sql
                SELECT COUNT("english_title") FROM "table1_22102732_1" WHERE "director"='Carlos Moreno';
```
## Task
Generate a SQL query to answer the following question:
`How many years was their W/L/D record 13:10:0?`

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

CREATE TABLE "honour_roll" (
  "year" real,
  "w_l_d" text,
  "position" text,
  "chairman" text,
  "ceo" text,
  "coach" text,
  "captain" text,
  "vice_captain" text,
  "best_and_fairest" text,
  "leading_goalkicker" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many years was their W/L/D record 13:10:0?`:
```sql
                SELECT COUNT("chairman") FROM "honour_roll" WHERE "w_l_d"='13:10:0';
```
## Task
Generate a SQL query to answer the following question:
`What is the rank # of kelli miller the winning pitcher?`

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

CREATE TABLE "table1_22098274_1" (
  "date" text,
  "time" text,
  "opponent" text,
  "ranknum" text,
  "site" text,
  "result" text,
  "attendance" text,
  "winning_pitcher" text,
  "losing_pitcher" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rank # of kelli miller the winning pitcher?`:
```sql
                SELECT "ranknum" FROM "table1_22098274_1" WHERE "winning_pitcher"='Kelli Miller';
```
## Task
Generate a SQL query to answer the following question:
`How many number of site have May 1, 2004 as the date?`

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

CREATE TABLE "table1_22098274_1" (
  "date" text,
  "time" text,
  "opponent" text,
  "ranknum" text,
  "site" text,
  "result" text,
  "attendance" text,
  "winning_pitcher" text,
  "losing_pitcher" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many number of site have May 1, 2004 as the date?`:
```sql
                SELECT COUNT("site") FROM "table1_22098274_1" WHERE "date"='May 1, 2004';
```
## Task
Generate a SQL query to answer the following question:
`At what time is the site usf softball field • tampa, fl and w4-0 is the result?`

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

CREATE TABLE "table1_22098274_1" (
  "date" text,
  "time" text,
  "opponent" text,
  "ranknum" text,
  "site" text,
  "result" text,
  "attendance" text,
  "winning_pitcher" text,
  "losing_pitcher" text
);
### SQL
Given the database schema, here is the SQL query that answers `At what time is the site usf softball field • tampa, fl and w4-0 is the result?`:
```sql
                SELECT "time" FROM "table1_22098274_1" WHERE "site"='USF Softball Field • Tampa, FL' AND "result"='W4-0';
```
## Task
Generate a SQL query to answer the following question:
`What was the result for the film with the English name of Morning Undersea? `

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

CREATE TABLE "table1_22118197_1" (
  "year_ceremony" text,
  "english_title" text,
  "portuguese_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result for the film with the English name of Morning Undersea? `:
```sql
                SELECT "result" FROM "table1_22118197_1" WHERE "english_title"='Morning Undersea';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the film with the Portuguese title, Um Filme Falado? `

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

CREATE TABLE "table1_22118197_1" (
  "year_ceremony" text,
  "english_title" text,
  "portuguese_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the film with the Portuguese title, Um Filme Falado? `:
```sql
                SELECT "result" FROM "table1_22118197_1" WHERE "portuguese_title"='Um Filme Falado';
```
## Task
Generate a SQL query to answer the following question:
`What is the Portuguese name of the film who's English title is, Belle Toujours? `

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

CREATE TABLE "table1_22118197_1" (
  "year_ceremony" text,
  "english_title" text,
  "portuguese_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Portuguese name of the film who's English title is, Belle Toujours? `:
```sql
                SELECT "portuguese_title" FROM "table1_22118197_1" WHERE "english_title"='Belle Toujours';
```
## Task
Generate a SQL query to answer the following question:
`What is every result for the ceremony year of 2007 (80th)?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "english_title" text,
  "vietnamese_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every result for the ceremony year of 2007 (80th)?`:
```sql
                SELECT "result" FROM "submissions" WHERE "year_ceremony"='2007 (80th)';
```
## Task
Generate a SQL query to answer the following question:
`What is every English title for the result of nominee?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "english_title" text,
  "vietnamese_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every English title for the result of nominee?`:
```sql
                SELECT "english_title" FROM "submissions" WHERE "result"='Nominee';
```