cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Which IHSAA Football Class has a School of wood memorial?`

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

CREATE TABLE "indiana_high_school_athletics_conference" (
  "school" text,
  "location" text,
  "mascot" text,
  "enrollment" real,
  "ihsaa_football_class" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which IHSAA Football Class has a School of wood memorial?`:
```sql
                SELECT "ihsaa_football_class" FROM "indiana_high_school_athletics_conference" WHERE "school"='wood memorial';
```
## Task
Generate a SQL query to answer the following question:
`Which IHSAA Football Class has a County of 77 sullivan, and a School of union dugger?`

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

CREATE TABLE "indiana_high_school_athletics_conference" (
  "school" text,
  "location" text,
  "mascot" text,
  "enrollment" real,
  "ihsaa_football_class" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which IHSAA Football Class has a County of 77 sullivan, and a School of union dugger?`:
```sql
                SELECT "ihsaa_football_class" FROM "indiana_high_school_athletics_conference" WHERE "county"='77 sullivan' AND "school"='union dugger';
```
## Task
Generate a SQL query to answer the following question:
`Which IHSAA Football Class has an Enrollment of 406?`

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

CREATE TABLE "indiana_high_school_athletics_conference" (
  "school" text,
  "location" text,
  "mascot" text,
  "enrollment" real,
  "ihsaa_football_class" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which IHSAA Football Class has an Enrollment of 406?`:
```sql
                SELECT "ihsaa_football_class" FROM "indiana_high_school_athletics_conference" WHERE "enrollment"=406;
```
## Task
Generate a SQL query to answer the following question:
`Which Size has a County of 62 perry?`

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

CREATE TABLE "indiana_high_school_athletics_conference" (
  "school" text,
  "location" text,
  "mascot" text,
  "size" real,
  "ihsaa_class" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Size has a County of 62 perry?`:
```sql
                SELECT MAX("size") FROM "indiana_high_school_athletics_conference" WHERE "county"='62 perry';
```
## Task
Generate a SQL query to answer the following question:
`Which IHSAA Class has a Size larger than 511?`

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

CREATE TABLE "indiana_high_school_athletics_conference" (
  "school" text,
  "location" text,
  "mascot" text,
  "size" real,
  "ihsaa_class" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which IHSAA Class has a Size larger than 511?`:
```sql
                SELECT "ihsaa_class" FROM "indiana_high_school_athletics_conference" WHERE "size">511;
```
## Task
Generate a SQL query to answer the following question:
`Which IHSAA Class has a School of mitchell?`

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

CREATE TABLE "indiana_high_school_athletics_conference" (
  "school" text,
  "location" text,
  "mascot" text,
  "size" real,
  "ihsaa_class" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which IHSAA Class has a School of mitchell?`:
```sql
                SELECT "ihsaa_class" FROM "indiana_high_school_athletics_conference" WHERE "school"='mitchell';
```
## Task
Generate a SQL query to answer the following question:
`Which County has a Size larger than 258, and a Mascot of commodores?`

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

CREATE TABLE "indiana_high_school_athletics_conference" (
  "school" text,
  "location" text,
  "mascot" text,
  "size" real,
  "ihsaa_class" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which County has a Size larger than 258, and a Mascot of commodores?`:
```sql
                SELECT "county" FROM "indiana_high_school_athletics_conference" WHERE "size">258 AND "mascot"='commodores';
```
## Task
Generate a SQL query to answer the following question:
`What was her place in the lineup on match 2?`

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

CREATE TABLE "matches_and_goals_scored_at_world_cup_an" (
  "match" text,
  "date" text,
  "location" text,
  "lineup" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was her place in the lineup on match 2?`:
```sql
                SELECT "lineup" FROM "matches_and_goals_scored_at_world_cup_an" WHERE "match"='2';
```
## Task
Generate a SQL query to answer the following question:
`What is the record of the game played on 2/17/1974?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record of the game played on 2/17/1974?`:
```sql
                SELECT "record" FROM "game_log" WHERE "date"='2/17/1974';
```
## Task
Generate a SQL query to answer the following question:
`Which stadium had the opposition of 79,122?`

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

CREATE TABLE "home_attendance" (
  "date" text,
  "round" text,
  "attendance" real,
  "opposition" text,
  "stadium" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which stadium had the opposition of 79,122?`:
```sql
                SELECT "stadium" FROM "home_attendance" WHERE "opposition"='79,122';
```
## Task
Generate a SQL query to answer the following question:
`What are the notes of the number 1 rank?`

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

CREATE TABLE "semifinal_a_b_2" (
  "rank" real,
  "rowers" text,
  "country" text,
  "time" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the notes of the number 1 rank?`:
```sql
                SELECT "notes" FROM "semifinal_a_b_2" WHERE "rank"=1;
```
## Task
Generate a SQL query to answer the following question:
`What's the rank if the time was 5:54.57 and FB in notes?`

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

CREATE TABLE "semifinal_a_b_2" (
  "rank" real,
  "rowers" text,
  "country" text,
  "time" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the rank if the time was 5:54.57 and FB in notes?`:
```sql
                SELECT "rank" FROM "semifinal_a_b_2" WHERE "notes"='fb' AND "time"='5:54.57';
```
## Task
Generate a SQL query to answer the following question:
`Who are the rowers with the time of 5:54.57?`

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

CREATE TABLE "semifinal_a_b_2" (
  "rank" real,
  "rowers" text,
  "country" text,
  "time" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who are the rowers with the time of 5:54.57?`:
```sql
                SELECT "rowers" FROM "semifinal_a_b_2" WHERE "time"='5:54.57';
```
## Task
Generate a SQL query to answer the following question:
`What are the notes of the United States?`

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

CREATE TABLE "semifinal_a_b_2" (
  "rank" real,
  "rowers" text,
  "country" text,
  "time" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the notes of the United States?`:
```sql
                SELECT "notes" FROM "semifinal_a_b_2" WHERE "country"='united states';
```
## Task
Generate a SQL query to answer the following question:
`What is the gold for a bronze larger than 1, with a total smaller than 10, and a silver of 3?`

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

CREATE TABLE "medals_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the gold for a bronze larger than 1, with a total smaller than 10, and a silver of 3?`:
```sql
                SELECT "gold" FROM "medals_table" WHERE "bronze">1 AND "total"<10 AND "silver"=3;
```
## Task
Generate a SQL query to answer the following question:
`What is the average total when the silver is larger than 2, and a gold larger than 1, and a nation of total?`

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

CREATE TABLE "medals_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average total when the silver is larger than 2, and a gold larger than 1, and a nation of total?`:
```sql
                SELECT AVG("total") FROM "medals_table" WHERE "silver">2 AND "gold">1 AND "nation"='total';
```
## Task
Generate a SQL query to answer the following question:
`When the rank is 11, and bronze a smaller than 1 what is the lowest total?`

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

CREATE TABLE "medals_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `When the rank is 11, and bronze a smaller than 1 what is the lowest total?`:
```sql
                SELECT MIN("total") FROM "medals_table" WHERE "rank"='11' AND "bronze"<1;
```
## Task
Generate a SQL query to answer the following question:
`What was the A Score when the B Score was 9.05, and position was larger than 6?`

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

CREATE TABLE "qualified_competitors" (
  "position" real,
  "gymnast" text,
  "a_score" real,
  "b_score" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the A Score when the B Score was 9.05, and position was larger than 6?`:
```sql
                SELECT AVG("a_score") FROM "qualified_competitors" WHERE "b_score"=9.05 AND "position">6;
```
## Task
Generate a SQL query to answer the following question:
`What is the total when the B Score was 9.15 for Cheng Fei ( chn )?`

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

CREATE TABLE "qualified_competitors" (
  "position" real,
  "gymnast" text,
  "a_score" real,
  "b_score" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total when the B Score was 9.15 for Cheng Fei ( chn )?`:
```sql
                SELECT AVG("total") FROM "qualified_competitors" WHERE "b_score"=9.15 AND "gymnast"='cheng fei ( chn )';
```
## Task
Generate a SQL query to answer the following question:
`What was their position when the score of B was less than 9.05, a total was 15.275, and A Score larger than 6.4?`

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

CREATE TABLE "qualified_competitors" (
  "position" real,
  "gymnast" text,
  "a_score" real,
  "b_score" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was their position when the score of B was less than 9.05, a total was 15.275, and A Score larger than 6.4?`:
```sql
                SELECT AVG("position") FROM "qualified_competitors" WHERE "b_score"<9.05 AND "total"=15.275 AND "a_score">6.4;
```
## Task
Generate a SQL query to answer the following question:
`What is their position when the b score is more than 8.975 for Ekaterina Kramarenko ( rus )?`

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

CREATE TABLE "qualified_competitors" (
  "position" real,
  "gymnast" text,
  "a_score" real,
  "b_score" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is their position when the b score is more than 8.975 for Ekaterina Kramarenko ( rus )?`:
```sql
                SELECT "position" FROM "qualified_competitors" WHERE "b_score">8.975 AND "gymnast"='ekaterina kramarenko ( rus )';
```
## Task
Generate a SQL query to answer the following question:
`What year had Third-Person Shooter?`

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

CREATE TABLE "joystiq" (
  "year" real,
  "game" text,
  "genre" text,
  "platform_s" text,
  "developer_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year had Third-Person Shooter?`:
```sql
                SELECT AVG("year") FROM "joystiq" WHERE "genre"='third-person shooter';
```
## Task
Generate a SQL query to answer the following question:
`What year was Portal?`

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

CREATE TABLE "joystiq" (
  "year" real,
  "game" text,
  "genre" text,
  "platform_s" text,
  "developer_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year was Portal?`:
```sql
                SELECT MAX("year") FROM "joystiq" WHERE "game"='portal';
```
## Task
Generate a SQL query to answer the following question:
`Who was the developer(s) of the genre Adventure?`

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

CREATE TABLE "joystiq" (
  "year" real,
  "game" text,
  "genre" text,
  "platform_s" text,
  "developer_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the developer(s) of the genre Adventure?`:
```sql
                SELECT "developer_s" FROM "joystiq" WHERE "genre"='adventure';
```
## Task
Generate a SQL query to answer the following question:
`What's the platform of the genre RPG?`

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

CREATE TABLE "joystiq" (
  "year" real,
  "game" text,
  "genre" text,
  "platform_s" text,
  "developer_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the platform of the genre RPG?`:
```sql
                SELECT "platform_s" FROM "joystiq" WHERE "genre"='rpg';
```
## Task
Generate a SQL query to answer the following question:
`What's the genre of developer(s) Lionhead Studios?`

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

CREATE TABLE "joystiq" (
  "year" real,
  "game" text,
  "genre" text,
  "platform_s" text,
  "developer_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the genre of developer(s) Lionhead Studios?`:
```sql
                SELECT "genre" FROM "joystiq" WHERE "developer_s"='lionhead studios';
```
## Task
Generate a SQL query to answer the following question:
`What's year was the genre Adventure?`

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

CREATE TABLE "joystiq" (
  "year" real,
  "game" text,
  "genre" text,
  "platform_s" text,
  "developer_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's year was the genre Adventure?`:
```sql
                SELECT "year" FROM "joystiq" WHERE "genre"='adventure';
```
## Task
Generate a SQL query to answer the following question:
`When was Cardinal-Deacon of S. Giorgio in Velabro elevated?`

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

CREATE TABLE "cardinal_electors" (
  "elector" text,
  "nationality" text,
  "cardinalatial_order_and_title" text,
  "elevated" text,
  "elevator" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was Cardinal-Deacon of S. Giorgio in Velabro elevated?`:
```sql
                SELECT "elevated" FROM "cardinal_electors" WHERE "cardinalatial_order_and_title"='cardinal-deacon of s. giorgio in velabro';
```
## Task
Generate a SQL query to answer the following question:
`What is the Cardinalatial order and title that Pedro Martínez de Luna y Gotor elevated?`

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

CREATE TABLE "cardinal_electors" (
  "elector" text,
  "nationality" text,
  "cardinalatial_order_and_title" text,
  "elevated" text,
  "elevator" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Cardinalatial order and title that Pedro Martínez de Luna y Gotor elevated?`:
```sql
                SELECT "cardinalatial_order_and_title" FROM "cardinal_electors" WHERE "elector"='pedro martínez de luna y gotor';
```
## Task
Generate a SQL query to answer the following question:
`What is the nationality of the elector withe the Cardinalatial order and title of Cardinal-Priest of Ss. XII Apostoli?`

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

CREATE TABLE "cardinal_electors" (
  "elector" text,
  "nationality" text,
  "cardinalatial_order_and_title" text,
  "elevated" text,
  "elevator" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the nationality of the elector withe the Cardinalatial order and title of Cardinal-Priest of Ss. XII Apostoli?`:
```sql
                SELECT "nationality" FROM "cardinal_electors" WHERE "cardinalatial_order_and_title"='cardinal-priest of ss. xii apostoli';
```
## Task
Generate a SQL query to answer the following question:
`What Tournament had Jack Nicklaus as Runner(s)-up?`

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

CREATE TABLE "pga_tour_wins_7" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Tournament had Jack Nicklaus as Runner(s)-up?`:
```sql
                SELECT "tournament" FROM "pga_tour_wins_7" WHERE "runner_s_up"='jack nicklaus';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date of the Tournament with a Winning score of −9 (65-71-68-67=271)?`

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

CREATE TABLE "pga_tour_wins_7" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date of the Tournament with a Winning score of −9 (65-71-68-67=271)?`:
```sql
                SELECT "date" FROM "pga_tour_wins_7" WHERE "winning_score"='−9 (65-71-68-67=271)';
```
## Task
Generate a SQL query to answer the following question:
`What is the Winning Score of the Tournament with Jack Nicklaus as Runner(s)-up?`

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

CREATE TABLE "pga_tour_wins_7" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Winning Score of the Tournament with Jack Nicklaus as Runner(s)-up?`:
```sql
                SELECT "winning_score" FROM "pga_tour_wins_7" WHERE "runner_s_up"='jack nicklaus';
```
## Task
Generate a SQL query to answer the following question:
`What is the Runner(s)-up of the Kemper Open Tournament?`

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

CREATE TABLE "pga_tour_wins_7" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Runner(s)-up of the Kemper Open Tournament?`:
```sql
                SELECT "runner_s_up" FROM "pga_tour_wins_7" WHERE "tournament"='kemper open';
```
## Task
Generate a SQL query to answer the following question:
`What week has December 19, 2004 as the date?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "tv_time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What week has December 19, 2004 as the date?`:
```sql
                SELECT "week" FROM "schedule" WHERE "date"='december 19, 2004';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest week that has espn 8:30pm as the TV time?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "tv_time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest week that has espn 8:30pm as the TV time?`:
```sql
                SELECT MAX("week") FROM "schedule" WHERE "tv_time"='espn 8:30pm';
```
## Task
Generate a SQL query to answer the following question:
`What result has miami dolphins as the opponent?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "tv_time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What result has miami dolphins as the opponent?`:
```sql
                SELECT "result" FROM "schedule" WHERE "opponent"='miami dolphins';
```
## Task
Generate a SQL query to answer the following question:
`What is the Time of the swimmer from Chinese Taipei in Heat 3?`

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

CREATE TABLE "heats" (
  "heat" real,
  "lane" real,
  "name" text,
  "nationality" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Time of the swimmer from Chinese Taipei in Heat 3?`:
```sql
                SELECT "time" FROM "heats" WHERE "heat"=3 AND "lane">3 AND "nationality"='chinese taipei';
```
## Task
Generate a SQL query to answer the following question:
`What's the Dolphin Points when the attendance was less than 69,313 and had an opponent of the Buffalo Bills?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "dolphins_points" real,
  "opponents" real,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the Dolphin Points when the attendance was less than 69,313 and had an opponent of the Buffalo Bills?`:
```sql
                SELECT AVG("dolphins_points") FROM "schedule" WHERE "opponent"='buffalo bills' AND "attendance"<'69,313';
```
## Task
Generate a SQL query to answer the following question:
`What's the game with an attendance of 71,962?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "dolphins_points" real,
  "opponents" real,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the game with an attendance of 71,962?`:
```sql
                SELECT MIN("game") FROM "schedule" WHERE "attendance"='71,962';
```
## Task
Generate a SQL query to answer the following question:
`What was the week 12 standing for the housemate that nominated Deepak P Rahul in week 1 and Amit Carol in week 3?`

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

CREATE TABLE "nominations_table" (
  "week_1" text,
  "week_3" text,
  "week_4" text,
  "week_6" text,
  "week_7" text,
  "week_8" text,
  "week_9" text,
  "week_10" text,
  "final_week_12" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the week 12 standing for the housemate that nominated Deepak P Rahul in week 1 and Amit Carol in week 3?`:
```sql
                SELECT "final_week_12" FROM "nominations_table" WHERE "week_1"='deepak p rahul' AND "week_3"='amit carol';
```
## Task
Generate a SQL query to answer the following question:
`Who did the housemate that nominated Kashmera Rakhi in week 3 and Amit Bobby in week 1 nominate in week 6?`

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

CREATE TABLE "nominations_table" (
  "week_1" text,
  "week_3" text,
  "week_4" text,
  "week_6" text,
  "week_7" text,
  "week_8" text,
  "week_9" text,
  "week_10" text,
  "final_week_12" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who did the housemate that nominated Kashmera Rakhi in week 3 and Amit Bobby in week 1 nominate in week 6?`:
```sql
                SELECT "week_6" FROM "nominations_table" WHERE "week_3"='kashmera rakhi' AND "week_1"='amit bobby';
```
## Task
Generate a SQL query to answer the following question:
`Who did the housemate that nominated Carol Roopali in week 1 nominate in week 8?`

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

CREATE TABLE "nominations_table" (
  "week_1" text,
  "week_3" text,
  "week_4" text,
  "week_6" text,
  "week_7" text,
  "week_8" text,
  "week_9" text,
  "week_10" text,
  "final_week_12" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who did the housemate that nominated Carol Roopali in week 1 nominate in week 8?`:
```sql
                SELECT "week_8" FROM "nominations_table" WHERE "week_1"='carol roopali';
```
## Task
Generate a SQL query to answer the following question:
`What is the IHSAA class of Centerville, which plays IHSAA class AA football?`

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

CREATE TABLE "indiana_high_school_athletics_conference" (
  "school" text,
  "location" text,
  "mascot" text,
  "size" real,
  "ihsaa_class" text,
  "ihsaa_football_class" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the IHSAA class of Centerville, which plays IHSAA class AA football?`:
```sql
                SELECT "ihsaa_class" FROM "indiana_high_school_athletics_conference" WHERE "ihsaa_football_class"='aa' AND "school"='centerville';
```
## Task
Generate a SQL query to answer the following question:
`Winchester Community school, which plays IHSAA class AA football, is located where?`

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

CREATE TABLE "indiana_high_school_athletics_conference" (
  "school" text,
  "location" text,
  "mascot" text,
  "size" real,
  "ihsaa_class" text,
  "ihsaa_football_class" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `Winchester Community school, which plays IHSAA class AA football, is located where?`:
```sql
                SELECT "location" FROM "indiana_high_school_athletics_conference" WHERE "ihsaa_football_class"='aa' AND "school"='winchester community';
```
## Task
Generate a SQL query to answer the following question:
`What is the IHSAA class of the school with less than 400 students and a mascot of the Tigers?`

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

CREATE TABLE "indiana_high_school_athletics_conference" (
  "school" text,
  "location" text,
  "mascot" text,
  "size" real,
  "ihsaa_class" text,
  "ihsaa_football_class" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the IHSAA class of the school with less than 400 students and a mascot of the Tigers?`:
```sql
                SELECT "ihsaa_class" FROM "indiana_high_school_athletics_conference" WHERE "size"<400 AND "mascot"='tigers';
```
## Task
Generate a SQL query to answer the following question:
`What county has a school with less than 301 students and plays IHSAA class A football?`

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

CREATE TABLE "indiana_high_school_athletics_conference" (
  "school" text,
  "location" text,
  "mascot" text,
  "size" real,
  "ihsaa_class" text,
  "ihsaa_football_class" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `What county has a school with less than 301 students and plays IHSAA class A football?`:
```sql
                SELECT "county" FROM "indiana_high_school_athletics_conference" WHERE "ihsaa_football_class"='a' AND "size"<301;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest game when the score is 102-104?`

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

CREATE TABLE "playoffs" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location_attendance" text,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest game when the score is 102-104?`:
```sql
                SELECT MIN("game") FROM "playoffs" WHERE "score"='102-104';
```
## Task
Generate a SQL query to answer the following question:
`what is the score for game 4?`

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

CREATE TABLE "playoffs" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location_attendance" text,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the score for game 4?`:
```sql
                SELECT "score" FROM "playoffs" WHERE "game"=4;
```
## Task
Generate a SQL query to answer the following question:
`what is the series for game 4?`

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

CREATE TABLE "playoffs" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location_attendance" text,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the series for game 4?`:
```sql
                SELECT "series" FROM "playoffs" WHERE "game"=4;
```
## Task
Generate a SQL query to answer the following question:
`Which Pendle has a Burnley smaller than 0?`

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

CREATE TABLE "summary_of_results_2009" (
  "party" text,
  "burnley" real,
  "chorley" real,
  "fylde" real,
  "hyndburn" real,
  "lancaster" real,
  "pendle" real,
  "preston" real,
  "ribble_valley" real,
  "rossendale" real,
  "south_ribble" real,
  "west_lancashire" real,
  "wyre" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Pendle has a Burnley smaller than 0?`:
```sql
                SELECT SUM("pendle") FROM "summary_of_results_2009" WHERE "burnley"<0;
```
## Task
Generate a SQL query to answer the following question:
`How much Rossendale has a Fylde smaller than 0?`

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

CREATE TABLE "summary_of_results_2009" (
  "party" text,
  "burnley" real,
  "chorley" real,
  "fylde" real,
  "hyndburn" real,
  "lancaster" real,
  "pendle" real,
  "preston" real,
  "ribble_valley" real,
  "rossendale" real,
  "south_ribble" real,
  "west_lancashire" real,
  "wyre" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How much Rossendale has a Fylde smaller than 0?`:
```sql
                SELECT COUNT("rossendale") FROM "summary_of_results_2009" WHERE "fylde"<0;
```
## Task
Generate a SQL query to answer the following question:
`How much Hyndburn has a Fylde larger than 3?`

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

CREATE TABLE "summary_of_results_2009" (
  "party" text,
  "burnley" real,
  "chorley" real,
  "fylde" real,
  "hyndburn" real,
  "lancaster" real,
  "pendle" real,
  "preston" real,
  "ribble_valley" real,
  "rossendale" real,
  "south_ribble" real,
  "west_lancashire" real,
  "wyre" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How much Hyndburn has a Fylde larger than 3?`:
```sql
                SELECT SUM("hyndburn") FROM "summary_of_results_2009" WHERE "fylde">3;
```
## Task
Generate a SQL query to answer the following question:
`How much Burnley has a Fylde smaller than 1, and a Rossendale larger than 0?`

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

CREATE TABLE "summary_of_results_2009" (
  "party" text,
  "burnley" real,
  "chorley" real,
  "fylde" real,
  "hyndburn" real,
  "lancaster" real,
  "pendle" real,
  "preston" real,
  "ribble_valley" real,
  "rossendale" real,
  "south_ribble" real,
  "west_lancashire" real,
  "wyre" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How much Burnley has a Fylde smaller than 1, and a Rossendale larger than 0?`:
```sql
                SELECT SUM("burnley") FROM "summary_of_results_2009" WHERE "fylde"<1 AND "rossendale">0;
```
## Task
Generate a SQL query to answer the following question:
`What are the years that have un posto al sole as the soap opera, with riccardo polizzy carbonelli as the actor?`

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

CREATE TABLE "italy" (
  "actor" text,
  "character" text,
  "soap_opera" text,
  "years" text,
  "duration" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the years that have un posto al sole as the soap opera, with riccardo polizzy carbonelli as the actor?`:
```sql
                SELECT "years" FROM "italy" WHERE "soap_opera"='un posto al sole' AND "actor"='riccardo polizzy carbonelli';
```
## Task
Generate a SQL query to answer the following question:
`What years have a duration of 18 years, and patrizio rispo as the actor?`

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

CREATE TABLE "italy" (
  "actor" text,
  "character" text,
  "soap_opera" text,
  "years" text,
  "duration" text
);
### SQL
Given the database schema, here is the SQL query that answers `What years have a duration of 18 years, and patrizio rispo as the actor?`:
```sql
                SELECT "years" FROM "italy" WHERE "duration"='18 years' AND "actor"='patrizio rispo';
```
## Task
Generate a SQL query to answer the following question:
`What are the years that have a duration of 15 years and giulia poggi as the character?`

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

CREATE TABLE "italy" (
  "actor" text,
  "character" text,
  "soap_opera" text,
  "years" text,
  "duration" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the years that have a duration of 15 years and giulia poggi as the character?`:
```sql
                SELECT "years" FROM "italy" WHERE "duration"='15 years' AND "character"='giulia poggi';
```
## Task
Generate a SQL query to answer the following question:
`What years have claudia ruffo as the actor?`

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

CREATE TABLE "italy" (
  "actor" text,
  "character" text,
  "soap_opera" text,
  "years" text,
  "duration" text
);
### SQL
Given the database schema, here is the SQL query that answers `What years have claudia ruffo as the actor?`:
```sql
                SELECT "years" FROM "italy" WHERE "actor"='claudia ruffo';
```
## Task
Generate a SQL query to answer the following question:
`What is the duration that has pietro genuardi as the actor?`

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

CREATE TABLE "italy" (
  "actor" text,
  "character" text,
  "soap_opera" text,
  "years" text,
  "duration" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the duration that has pietro genuardi as the actor?`:
```sql
                SELECT "duration" FROM "italy" WHERE "actor"='pietro genuardi';
```
## Task
Generate a SQL query to answer the following question:
`What is the soap opera that has a duration of 13 years, with marina giulia cavalli as the actor?`

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

CREATE TABLE "italy" (
  "actor" text,
  "character" text,
  "soap_opera" text,
  "years" text,
  "duration" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the soap opera that has a duration of 13 years, with marina giulia cavalli as the actor?`:
```sql
                SELECT "soap_opera" FROM "italy" WHERE "duration"='13 years' AND "actor"='marina giulia cavalli';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest attendance for December 14, 1958 after week 12?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest attendance for December 14, 1958 after week 12?`:
```sql
                SELECT MIN("attendance") FROM "schedule" WHERE "date"='december 14, 1958' AND "week">12;
```
## Task
Generate a SQL query to answer the following question:
`What is the total for the week in the game against the Chicago Bears`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total for the week in the game against the Chicago Bears`:
```sql
                SELECT COUNT("week") FROM "schedule" WHERE "opponent"='chicago bears';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest attendance for December 14, 1958 for after week 12`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest attendance for December 14, 1958 for after week 12`:
```sql
                SELECT MAX("attendance") FROM "schedule" WHERE "date"='december 14, 1958' AND "week">12;
```
## Task
Generate a SQL query to answer the following question:
`What is the Outcome of the Match played after 2003 with a Score of 6–0, 6–3?`

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

CREATE TABLE "doubles_16_10_6" (
  "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 `What is the Outcome of the Match played after 2003 with a Score of 6–0, 6–3?`:
```sql
                SELECT "outcome" FROM "doubles_16_10_6" WHERE "year">2003 AND "score"='6–0, 6–3';
```
## Task
Generate a SQL query to answer the following question:
`What is the Outcome of the match with a Score of 6–1, 6–1?`

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

CREATE TABLE "doubles_16_10_6" (
  "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 `What is the Outcome of the match with a Score of 6–1, 6–1?`:
```sql
                SELECT "outcome" FROM "doubles_16_10_6" WHERE "score"='6–1, 6–1';
```
## Task
Generate a SQL query to answer the following question:
`Who has rank 5?`

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

CREATE TABLE "semifinal_2" (
  "rank" real,
  "lane" real,
  "name" text,
  "nationality" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who has rank 5?`:
```sql
                SELECT "name" FROM "semifinal_2" WHERE "rank"=5;
```
## Task
Generate a SQL query to answer the following question:
`Which nationality has rank 4?`

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

CREATE TABLE "semifinal_2" (
  "rank" real,
  "lane" real,
  "name" text,
  "nationality" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which nationality has rank 4?`:
```sql
                SELECT "nationality" FROM "semifinal_2" WHERE "rank"=4;
```
## Task
Generate a SQL query to answer the following question:
`What title was used in the nomination of Matrimonio All'Italiana?`

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

CREATE TABLE "nominees" (
  "year_ceremony" text,
  "category" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "language" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What title was used in the nomination of Matrimonio All'Italiana?`:
```sql
                SELECT "film_title_used_in_nomination" FROM "nominees" WHERE "original_title"='matrimonio all''italiana';
```
## Task
Generate a SQL query to answer the following question:
`What language was the film Pelle Erobreren, which received the best actor nomination, in?`

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

CREATE TABLE "nominees" (
  "year_ceremony" text,
  "category" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "language" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What language was the film Pelle Erobreren, which received the best actor nomination, in?`:
```sql
                SELECT "language" FROM "nominees" WHERE "category"='best actor' AND "original_title"='pelle erobreren';
```
## Task
Generate a SQL query to answer the following question:
`What title was used in the nomination of the Spanish language film Traffic?`

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

CREATE TABLE "nominees" (
  "year_ceremony" text,
  "category" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "language" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What title was used in the nomination of the Spanish language film Traffic?`:
```sql
                SELECT "film_title_used_in_nomination" FROM "nominees" WHERE "language"='spanish' AND "original_title"='traffic';
```
## Task
Generate a SQL query to answer the following question:
`What title was used in the nomination of Una Giornata Particolare?`

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

CREATE TABLE "nominees" (
  "year_ceremony" text,
  "category" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "language" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What title was used in the nomination of Una Giornata Particolare?`:
```sql
                SELECT "film_title_used_in_nomination" FROM "nominees" WHERE "original_title"='una giornata particolare';
```
## Task
Generate a SQL query to answer the following question:
`What date has a Position of back, later than 1964, and a Test debut of 1st rl test v new zealand?`

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

CREATE TABLE "australia" (
  "player" text,
  "test_debut" text,
  "year" real,
  "cross_code_debut" text,
  "date" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date has a Position of back, later than 1964, and a Test debut of 1st rl test v new zealand?`:
```sql
                SELECT "date" FROM "australia" WHERE "position"='back' AND "year">1964 AND "test_debut"='1st rl test v new zealand';
```
## Task
Generate a SQL query to answer the following question:
`What is the position earlier than 1907, with a cross-code debut of inaugural rl test v new zealand, and a test debut of inaugural ru test v new zealand?`

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

CREATE TABLE "australia" (
  "player" text,
  "test_debut" text,
  "year" real,
  "cross_code_debut" text,
  "date" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the position earlier than 1907, with a cross-code debut of inaugural rl test v new zealand, and a test debut of inaugural ru test v new zealand?`:
```sql
                SELECT "position" FROM "australia" WHERE "year"<1907 AND "cross_code_debut"='inaugural rl test v new zealand' AND "test_debut"='inaugural ru test v new zealand';
```
## Task
Generate a SQL query to answer the following question:
`What is the cross-code debut later than 1958 for Dick Thornett?`

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

CREATE TABLE "australia" (
  "player" text,
  "test_debut" text,
  "year" real,
  "cross_code_debut" text,
  "date" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the cross-code debut later than 1958 for Dick Thornett?`:
```sql
                SELECT "cross_code_debut" FROM "australia" WHERE "year">1958 AND "player"='dick thornett';
```
## Task
Generate a SQL query to answer the following question:
`What position has a Cross-code debut of 1st ru test v ireland?`

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

CREATE TABLE "australia" (
  "player" text,
  "test_debut" text,
  "year" real,
  "cross_code_debut" text,
  "date" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position has a Cross-code debut of 1st ru test v ireland?`:
```sql
                SELECT "position" FROM "australia" WHERE "cross_code_debut"='1st ru test v ireland';
```
## Task
Generate a SQL query to answer the following question:
`What was the time for the match with away team Shatin?`

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

CREATE TABLE "a_b_first_round" (
  "time" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the time for the match with away team Shatin?`:
```sql
                SELECT "time" FROM "a_b_first_round" WHERE "away_team"='shatin';
```
## Task
Generate a SQL query to answer the following question:
`What was the time for the match with away team Convoy Sun Hei Team A?`

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

CREATE TABLE "a_b_first_round" (
  "time" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the time for the match with away team Convoy Sun Hei Team A?`:
```sql
                SELECT "time" FROM "a_b_first_round" WHERE "away_team"='convoy sun hei team a';
```