cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Name th most poles for macau grand prix`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name th most poles for macau grand prix`:
```sql
                SELECT MAX("poles") FROM "career_summary" WHERE "series"='Macau Grand Prix';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of races for 15th position`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of races for 15th position`:
```sql
                SELECT COUNT("races") FROM "career_summary" WHERE "position"='15th';
```
## Task
Generate a SQL query to answer the following question:
`Name the most races for flaps larger than 2.0`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most races for flaps larger than 2.0`:
```sql
                SELECT MAX("races") FROM "career_summary" WHERE "f_laps">2.0;
```
## Task
Generate a SQL query to answer the following question:
`Name the number of poles for 15th position`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of poles for 15th position`:
```sql
                SELECT COUNT("poles") FROM "career_summary" WHERE "position"='15th';
```
## Task
Generate a SQL query to answer the following question:
`Name the team for season 2010`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the team for season 2010`:
```sql
                SELECT "team" FROM "career_summary" WHERE "season"=2010;
```
## Task
Generate a SQL query to answer the following question:
`Name the air date for  jay j. demopoulos`

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

CREATE TABLE "table1_24466855_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "prod_code" text,
  "viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the air date for  jay j. demopoulos`:
```sql
                SELECT "original_air_date" FROM "table1_24466855_1" WHERE "written_by"='Jay J. Demopoulos';
```
## Task
Generate a SQL query to answer the following question:
`At which location did 29753 fans show up to watch the game?`

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

CREATE TABLE "table1_24481478_1" (
  "week" real,
  "date" text,
  "kickoff" text,
  "opponent" text,
  "final_score" text,
  "team_record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `At which location did 29753 fans show up to watch the game?`:
```sql
                SELECT "game_site" FROM "table1_24481478_1" WHERE "attendance"=29753;
```
## Task
Generate a SQL query to answer the following question:
`What was the game record during week 7?`

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

CREATE TABLE "table1_24481478_1" (
  "week" real,
  "date" text,
  "kickoff" text,
  "opponent" text,
  "final_score" text,
  "team_record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the game record during week 7?`:
```sql
                SELECT "team_record" FROM "table1_24481478_1" WHERE "week"=7;
```
## Task
Generate a SQL query to answer the following question:
`What time did the game start on saturday, april 20?`

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

CREATE TABLE "table1_24481478_1" (
  "week" real,
  "date" text,
  "kickoff" text,
  "opponent" text,
  "final_score" text,
  "team_record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What time did the game start on saturday, april 20?`:
```sql
                SELECT "kickoff" FROM "table1_24481478_1" WHERE "date"='Saturday, April 20';
```
## Task
Generate a SQL query to answer the following question:
`In which week was the team record 7–2?`

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

CREATE TABLE "table1_24481478_1" (
  "week" real,
  "date" text,
  "kickoff" text,
  "opponent" text,
  "final_score" text,
  "team_record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `In which week was the team record 7–2?`:
```sql
                SELECT MIN("week") FROM "table1_24481478_1" WHERE "team_record"='7–2';
```
## Task
Generate a SQL query to answer the following question:
`How man fans showed up to watch the game versus the raleigh-durham skyhawks?`

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

CREATE TABLE "table1_24481478_1" (
  "week" real,
  "date" text,
  "kickoff" text,
  "opponent" text,
  "final_score" text,
  "team_record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `How man fans showed up to watch the game versus the raleigh-durham skyhawks?`:
```sql
                SELECT MAX("attendance") FROM "table1_24481478_1" WHERE "opponent"='Raleigh-Durham Skyhawks';
```
## Task
Generate a SQL query to answer the following question:
`If the rank is 26, what is the disposable USD growth?`

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

CREATE TABLE "methodology" (
  "rank" real,
  "country" text,
  "disposable_usd_2011" real,
  "disposable_usd_growth" real,
  "compulsory_deduction" text,
  "gross_usd_2011" real
);
### SQL
Given the database schema, here is the SQL query that answers `If the rank is 26, what is the disposable USD growth?`:
```sql
                SELECT "disposable_usd_growth" FROM "methodology" WHERE "rank"=26;
```
## Task
Generate a SQL query to answer the following question:
`What country has a compulsory deduction of 29.3%?`

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

CREATE TABLE "methodology" (
  "rank" real,
  "country" text,
  "disposable_usd_2011" real,
  "disposable_usd_growth" real,
  "compulsory_deduction" text,
  "gross_usd_2011" real
);
### SQL
Given the database schema, here is the SQL query that answers `What country has a compulsory deduction of 29.3%?`:
```sql
                SELECT "country" FROM "methodology" WHERE "compulsory_deduction"='29.3%';
```
## Task
Generate a SQL query to answer the following question:
`What is Australia's Disposable USD growth?`

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

CREATE TABLE "methodology" (
  "rank" real,
  "country" text,
  "disposable_usd_2011" real,
  "disposable_usd_growth" real,
  "compulsory_deduction" text,
  "gross_usd_2011" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Australia's Disposable USD growth?`:
```sql
                SELECT MAX("disposable_usd_growth") FROM "methodology" WHERE "country"='Australia';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest disposable USD 2011?`

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

CREATE TABLE "methodology" (
  "rank" real,
  "country" text,
  "disposable_usd_2011" real,
  "disposable_usd_growth" real,
  "compulsory_deduction" text,
  "gross_usd_2011" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest disposable USD 2011?`:
```sql
                SELECT MIN("disposable_usd_2011") FROM "methodology";
```
## Task
Generate a SQL query to answer the following question:
`Name the most minutes and starts being 12`

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

CREATE TABLE "all_time_statistics" (
  "name" text,
  "nationality" text,
  "position" text,
  "los_angeles_sol_career" text,
  "appearances" real,
  "starts" real,
  "minutes" real,
  "goals" real,
  "assists" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most minutes and starts being 12`:
```sql
                SELECT MAX("minutes") FROM "all_time_statistics" WHERE "starts"=12;
```
## Task
Generate a SQL query to answer the following question:
`Name the position for 132 minutes`

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

CREATE TABLE "all_time_statistics" (
  "name" text,
  "nationality" text,
  "position" text,
  "los_angeles_sol_career" text,
  "appearances" real,
  "starts" real,
  "minutes" real,
  "goals" real,
  "assists" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the position for 132 minutes`:
```sql
                SELECT "position" FROM "all_time_statistics" WHERE "minutes"=132;
```
## Task
Generate a SQL query to answer the following question:
`Name the rank for thomas morgenstern`

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

CREATE TABLE "bischofshofen" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" text,
  "2nd_m" text,
  "points" text,
  "overall_fht_points" text,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the rank for thomas morgenstern`:
```sql
                SELECT "rank" FROM "bischofshofen" WHERE "name"='Thomas Morgenstern';
```
## Task
Generate a SQL query to answer the following question:
`Name the rank for switzerland`

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

CREATE TABLE "bischofshofen" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" text,
  "2nd_m" text,
  "points" text,
  "overall_fht_points" text,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the rank for switzerland`:
```sql
                SELECT COUNT("rank") FROM "bischofshofen" WHERE "nationality"='Switzerland';
```
## Task
Generate a SQL query to answer the following question:
`Name the points for switzerland`

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

CREATE TABLE "bischofshofen" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" text,
  "2nd_m" text,
  "points" text,
  "overall_fht_points" text,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the points for switzerland`:
```sql
                SELECT "points" FROM "bischofshofen" WHERE "nationality"='Switzerland';
```
## Task
Generate a SQL query to answer the following question:
`Name the points for thomas morgenstern`

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

CREATE TABLE "bischofshofen" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" text,
  "2nd_m" text,
  "points" text,
  "overall_fht_points" text,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the points for thomas morgenstern`:
```sql
                SELECT "points" FROM "bischofshofen" WHERE "name"='Thomas Morgenstern';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of overall fht points for simon ammann`

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

CREATE TABLE "bischofshofen" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" text,
  "2nd_m" text,
  "points" text,
  "overall_fht_points" text,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of overall fht points for simon ammann`:
```sql
                SELECT COUNT("overall_fht_points") FROM "bischofshofen" WHERE "name"='Simon Ammann';
```
## Task
Generate a SQL query to answer the following question:
`When was jack watson appointed?`

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

CREATE TABLE "current_judges" (
  "position" text,
  "name" text,
  "stationed_in" text,
  "appointed" real,
  "nominated_by" text,
  "position_prior_to_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was jack watson appointed?`:
```sql
                SELECT "appointed" FROM "current_judges" WHERE "name"='Jack Watson';
```
## Task
Generate a SQL query to answer the following question:
`When was the Carysfort launched?`

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

CREATE TABLE "ships" (
  "ship" text,
  "laid_down" text,
  "builder" text,
  "engine_builder" text,
  "launched" text,
  "completed" text,
  "disposition" text,
  "fate" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the Carysfort launched?`:
```sql
                SELECT "launched" FROM "ships" WHERE "ship"='Carysfort';
```
## Task
Generate a SQL query to answer the following question:
`When was the stokers' training ship launched?`

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

CREATE TABLE "ships" (
  "ship" text,
  "laid_down" text,
  "builder" text,
  "engine_builder" text,
  "launched" text,
  "completed" text,
  "disposition" text,
  "fate" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the stokers' training ship launched?`:
```sql
                SELECT "launched" FROM "ships" WHERE "disposition"='Stokers'' training ship';
```
## Task
Generate a SQL query to answer the following question:
`How many ships were named Carysfort?`

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

CREATE TABLE "ships" (
  "ship" text,
  "laid_down" text,
  "builder" text,
  "engine_builder" text,
  "launched" text,
  "completed" text,
  "disposition" text,
  "fate" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many ships were named Carysfort?`:
```sql
                SELECT COUNT("completed") FROM "ships" WHERE "ship"='Carysfort';
```
## Task
Generate a SQL query to answer the following question:
`What is the background of the person fired in week 5?`

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

CREATE TABLE "candidates" (
  "candidate" text,
  "background" text,
  "original_team" text,
  "age" real,
  "hometown" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the background of the person fired in week 5?`:
```sql
                SELECT "background" FROM "candidates" WHERE "result"='Fired in week 5';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the player from Maylands, Western Australia?`

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

CREATE TABLE "candidates" (
  "candidate" text,
  "background" text,
  "original_team" text,
  "age" real,
  "hometown" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the player from Maylands, Western Australia?`:
```sql
                SELECT "result" FROM "candidates" WHERE "hometown"='Maylands, Western Australia';
```
## Task
Generate a SQL query to answer the following question:
`How many ages for player Amy Cato?`

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

CREATE TABLE "candidates" (
  "candidate" text,
  "background" text,
  "original_team" text,
  "age" real,
  "hometown" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many ages for player Amy Cato?`:
```sql
                SELECT COUNT("age") FROM "candidates" WHERE "candidate"='Amy Cato';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the player from Maylands, Western Australia?`

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

CREATE TABLE "candidates" (
  "candidate" text,
  "background" text,
  "original_team" text,
  "age" real,
  "hometown" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the player from Maylands, Western Australia?`:
```sql
                SELECT "candidate" FROM "candidates" WHERE "hometown"='Maylands, Western Australia';
```
## Task
Generate a SQL query to answer the following question:
`How many age figures for the player fired in week 6?`

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

CREATE TABLE "candidates" (
  "candidate" text,
  "background" text,
  "original_team" text,
  "age" real,
  "hometown" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many age figures for the player fired in week 6?`:
```sql
                SELECT COUNT("age") FROM "candidates" WHERE "result"='Fired in week 6';
```
## Task
Generate a SQL query to answer the following question:
`What was the latitude that had a UTC time of 18:19:36?`

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

CREATE TABLE "list_of_aftershocks" (
  "date_yyyy_mm_dd" text,
  "time_utc" text,
  "latitude" text,
  "longitude" text,
  "depth" text,
  "magnitude" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the latitude that had a UTC time of 18:19:36?`:
```sql
                SELECT "latitude" FROM "list_of_aftershocks" WHERE "time_utc"='18:19:36';
```
## Task
Generate a SQL query to answer the following question:
`What is the depth of the aftershock at 18:00:22?`

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

CREATE TABLE "list_of_aftershocks" (
  "date_yyyy_mm_dd" text,
  "time_utc" text,
  "latitude" text,
  "longitude" text,
  "depth" text,
  "magnitude" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the depth of the aftershock at 18:00:22?`:
```sql
                SELECT "depth" FROM "list_of_aftershocks" WHERE "time_utc"='18:00:22';
```
## Task
Generate a SQL query to answer the following question:
`Name the team for susan bates`

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

CREATE TABLE "table1_24535095_2" (
  "team" text,
  "truck_s" text,
  "num" real,
  "driver_s" text,
  "primary_sponsor_s" text,
  "listed_owner_s" text,
  "crew_chief" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the team for susan bates`:
```sql
                SELECT "team" FROM "table1_24535095_2" WHERE "listed_owner_s"='Susan Bates';
```
## Task
Generate a SQL query to answer the following question:
`Name the truck for eric phillips`

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

CREATE TABLE "table1_24535095_2" (
  "team" text,
  "truck_s" text,
  "num" real,
  "driver_s" text,
  "primary_sponsor_s" text,
  "listed_owner_s" text,
  "crew_chief" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the truck for eric phillips`:
```sql
                SELECT "truck_s" FROM "table1_24535095_2" WHERE "crew_chief"='Eric Phillips';
```
## Task
Generate a SQL query to answer the following question:
`Name the listed owner for mike garvey`

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

CREATE TABLE "table1_24535095_2" (
  "team" text,
  "truck_s" text,
  "num" real,
  "driver_s" text,
  "primary_sponsor_s" text,
  "listed_owner_s" text,
  "crew_chief" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the listed owner for mike garvey`:
```sql
                SELECT "listed_owner_s" FROM "table1_24535095_2" WHERE "crew_chief"='Mike Garvey';
```
## Task
Generate a SQL query to answer the following question:
`Name the least listed owner for pete raymer`

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

CREATE TABLE "table1_24535095_2" (
  "team" text,
  "truck_s" text,
  "num" real,
  "driver_s" text,
  "primary_sponsor_s" text,
  "listed_owner_s" text,
  "crew_chief" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least listed owner for pete raymer`:
```sql
                SELECT MIN("num") FROM "table1_24535095_2" WHERE "listed_owner_s"='Pete Raymer';
```
## Task
Generate a SQL query to answer the following question:
`Name the crew chief for rhonda thorson`

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

CREATE TABLE "table1_24535095_2" (
  "team" text,
  "truck_s" text,
  "num" real,
  "driver_s" text,
  "primary_sponsor_s" text,
  "listed_owner_s" text,
  "crew_chief" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the crew chief for rhonda thorson`:
```sql
                SELECT "crew_chief" FROM "table1_24535095_2" WHERE "listed_owner_s"='Rhonda Thorson';
```
## Task
Generate a SQL query to answer the following question:
`What episode number in the series is "mean teacher"?`

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

CREATE TABLE "table1_2453243_3" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What episode number in the series is "mean teacher"?`:
```sql
                SELECT MAX("no_in_series") FROM "table1_2453243_3" WHERE "title"='\"Mean Teacher\"';
```
## Task
Generate a SQL query to answer the following question:
`What episode number in the series is "guitar"?`

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

CREATE TABLE "table1_2453243_3" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What episode number in the series is "guitar"?`:
```sql
                SELECT MIN("no_in_series") FROM "table1_2453243_3" WHERE "title"='\"Guitar\"';
```
## Task
Generate a SQL query to answer the following question:
`What is the production code for episode 3 in the season?`

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

CREATE TABLE "table1_2453243_3" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the production code for episode 3 in the season?`:
```sql
                SELECT MAX("production_code") FROM "table1_2453243_3" WHERE "no_in_season"=3;
```
## Task
Generate a SQL query to answer the following question:
`Name the year 2007 for 668 2008-q1`

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

CREATE TABLE "statistics" (
  "items" text,
  "2008_q1" text,
  "2008_q2" text,
  "2008_q3" text,
  "extrapol_08" text,
  "year_2007" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the year 2007 for 668 2008-q1`:
```sql
                SELECT "year_2007" FROM "statistics" WHERE "2008_q1"='668';
```
## Task
Generate a SQL query to answer the following question:
`Name the year 2007 for 668 being 2008-q1`

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

CREATE TABLE "statistics" (
  "items" text,
  "2008_q1" text,
  "2008_q2" text,
  "2008_q3" text,
  "extrapol_08" text,
  "year_2007" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the year 2007 for 668 being 2008-q1`:
```sql
                SELECT "year_2007" FROM "statistics" WHERE "2008_q1"='668';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest score of all games for match 2?`

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

CREATE TABLE "slogans_and_points" (
  "team" text,
  "slogan" text,
  "match1" real,
  "match2" real,
  "match3" real,
  "match4" real,
  "match5" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest score of all games for match 2?`:
```sql
                SELECT MIN("match2") FROM "slogans_and_points";
```
## Task
Generate a SQL query to answer the following question:
`What is the highest score for match 2 where the score for match 4 is 0 and the total score is 5?`

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

CREATE TABLE "slogans_and_points" (
  "team" text,
  "slogan" text,
  "match1" real,
  "match2" real,
  "match3" real,
  "match4" real,
  "match5" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest score for match 2 where the score for match 4 is 0 and the total score is 5?`:
```sql
                SELECT MAX("match2") FROM "slogans_and_points" WHERE "match4"=0 AND "total"=5;
```
## Task
Generate a SQL query to answer the following question:
`What is the score for match 1 for the team Eastern Tigers?`

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

CREATE TABLE "slogans_and_points" (
  "team" text,
  "slogan" text,
  "match1" real,
  "match2" real,
  "match3" real,
  "match4" real,
  "match5" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score for match 1 for the team Eastern Tigers?`:
```sql
                SELECT "match1" FROM "slogans_and_points" WHERE "team"='Eastern Tigers';
```
## Task
Generate a SQL query to answer the following question:
`How many sockets are listed that have a brand name of "Core i3-2xx7m"?`

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

CREATE TABLE "core_i3" (
  "codename_main_article" text,
  "brand_name_list" text,
  "cores" real,
  "l3_cache" text,
  "socket" text,
  "tdp" text,
  "i_o_bus" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many sockets are listed that have a brand name of "Core i3-2xx7m"?`:
```sql
                SELECT COUNT("socket") FROM "core_i3" WHERE "brand_name_list"='Core i3-2xx7M';
```
## Task
Generate a SQL query to answer the following question:
`What is the i/o bus for the brand name Core i3-21xx?`

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

CREATE TABLE "core_i3" (
  "codename_main_article" text,
  "brand_name_list" text,
  "cores" real,
  "l3_cache" text,
  "socket" text,
  "tdp" text,
  "i_o_bus" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the i/o bus for the brand name Core i3-21xx?`:
```sql
                SELECT "i_o_bus" FROM "core_i3" WHERE "brand_name_list"='Core i3-21xx';
```
## Task
Generate a SQL query to answer the following question:
`What i/o buses are associated with the brand name Core i3-21xxt?`

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

CREATE TABLE "core_i3" (
  "codename_main_article" text,
  "brand_name_list" text,
  "cores" real,
  "l3_cache" text,
  "socket" text,
  "tdp" text,
  "i_o_bus" text
);
### SQL
Given the database schema, here is the SQL query that answers `What i/o buses are associated with the brand name Core i3-21xxt?`:
```sql
                SELECT "i_o_bus" FROM "core_i3" WHERE "brand_name_list"='Core i3-21xxT';
```
## Task
Generate a SQL query to answer the following question:
`What is the codename for the Core i3-32xxt?`

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

CREATE TABLE "core_i3" (
  "codename_main_article" text,
  "brand_name_list" text,
  "cores" real,
  "l3_cache" text,
  "socket" text,
  "tdp" text,
  "i_o_bus" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the codename for the Core i3-32xxt?`:
```sql
                SELECT "codename_main_article" FROM "core_i3" WHERE "brand_name_list"='Core i3-32xxT';
```
## Task
Generate a SQL query to answer the following question:
`What i/o buses are associated with the LGA 1155 socket, a code name of Sandy Bridge (desktop) and a brand name of Core i3-21xx?`

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

CREATE TABLE "core_i3" (
  "codename_main_article" text,
  "brand_name_list" text,
  "cores" real,
  "l3_cache" text,
  "socket" text,
  "tdp" text,
  "i_o_bus" text
);
### SQL
Given the database schema, here is the SQL query that answers `What i/o buses are associated with the LGA 1155 socket, a code name of Sandy Bridge (desktop) and a brand name of Core i3-21xx?`:
```sql
                SELECT "i_o_bus" FROM "core_i3" WHERE "socket"='LGA 1155' AND "codename_main_article"='Sandy Bridge (Desktop)' AND "brand_name_list"='Core i3-21xx';
```
## Task
Generate a SQL query to answer the following question:
`What is the sockets associated with a brand name of Core i3-3xx0m?`

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

CREATE TABLE "core_i3" (
  "codename_main_article" text,
  "brand_name_list" text,
  "cores" real,
  "l3_cache" text,
  "socket" text,
  "tdp" text,
  "i_o_bus" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sockets associated with a brand name of Core i3-3xx0m?`:
```sql
                SELECT "socket" FROM "core_i3" WHERE "brand_name_list"='Core i3-3xx0M';
```
## Task
Generate a SQL query to answer the following question:
`Who was drafted by the calgary stampeders?`

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

CREATE TABLE "round_six" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "school" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was drafted by the calgary stampeders?`:
```sql
                SELECT "player" FROM "round_six" WHERE "cfl_team"='Calgary Stampeders';
```
## Task
Generate a SQL query to answer the following question:
`Where was the player from se missouri state drafted?`

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

CREATE TABLE "round_six" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "school" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where was the player from se missouri state drafted?`:
```sql
                SELECT COUNT("pick_num") FROM "round_six" WHERE "school"='SE Missouri State';
```
## Task
Generate a SQL query to answer the following question:
`What position does the player from kent state play?`

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

CREATE TABLE "round_six" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position does the player from kent state play?`:
```sql
                SELECT "position" FROM "round_six" WHERE "school"='Kent State';
```
## Task
Generate a SQL query to answer the following question:
`What school did the rb drafted attend?`

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

CREATE TABLE "round_six" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What school did the rb drafted attend?`:
```sql
                SELECT "school" FROM "round_six" WHERE "position"='RB';
```
## Task
Generate a SQL query to answer the following question:
`What numbered pick attended western ontario and is an OL?`

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

CREATE TABLE "round_six" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What numbered pick attended western ontario and is an OL?`:
```sql
                SELECT "pick_num" FROM "round_six" WHERE "school"='Western Ontario' AND "position"='OL';
```
## Task
Generate a SQL query to answer the following question:
`How many players attended SE missouri state?`

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

CREATE TABLE "round_six" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "school" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many players attended SE missouri state?`:
```sql
                SELECT COUNT("position") FROM "round_six" WHERE "school"='SE Missouri State';
```
## Task
Generate a SQL query to answer the following question:
`Who was in the pole position for knockhill?`

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

CREATE TABLE "table1_24547593_1" (
  "round" real,
  "circuit" text,
  "date" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_rider" text,
  "winning_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was in the pole position for knockhill?`:
```sql
                SELECT "pole_position" FROM "table1_24547593_1" WHERE "circuit"='Knockhill';
```
## Task
Generate a SQL query to answer the following question:
`How many dates was knockhill?`

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

CREATE TABLE "table1_24547593_1" (
  "round" real,
  "circuit" text,
  "date" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_rider" text,
  "winning_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many dates was knockhill?`:
```sql
                SELECT COUNT("date") FROM "table1_24547593_1" WHERE "circuit"='Knockhill';
```
## Task
Generate a SQL query to answer the following question:
`Name the l3 cache for core i7-2xxxqe, i7-26xxqm, i7-27xxqm`

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

CREATE TABLE "core_i7" (
  "codename_main_article" text,
  "brand_name_list" text,
  "cores" real,
  "l3_cache" text,
  "socket" text,
  "tdp" text,
  "process" text,
  "i_o_bus" text,
  "release_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the l3 cache for core i7-2xxxqe, i7-26xxqm, i7-27xxqm`:
```sql
                SELECT "l3_cache" FROM "core_i7" WHERE "brand_name_list"='Core i7-2xxxQE, i7-26xxQM, i7-27xxQM';
```
## Task
Generate a SQL query to answer the following question:
`Who had most laps led at Chicagoland speedway? `

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

CREATE TABLE "2005_indy_car_series_schedule" (
  "rnd" real,
  "date" text,
  "race_name" text,
  "track" text,
  "location" text,
  "pole_position" text,
  "fastest_lap" text,
  "most_laps_led" text,
  "winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had most laps led at Chicagoland speedway? `:
```sql
                SELECT "most_laps_led" FROM "2005_indy_car_series_schedule" WHERE "track"='Chicagoland Speedway';
```
## Task
Generate a SQL query to answer the following question:
`In what race did Buddy Rice hav fastest lap? `

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

CREATE TABLE "2005_indy_car_series_schedule" (
  "rnd" real,
  "date" text,
  "race_name" text,
  "track" text,
  "location" text,
  "pole_position" text,
  "fastest_lap" text,
  "most_laps_led" text,
  "winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what race did Buddy Rice hav fastest lap? `:
```sql
                SELECT "race_name" FROM "2005_indy_car_series_schedule" WHERE "fastest_lap"='Buddy Rice';
```
## Task
Generate a SQL query to answer the following question:
`On what tra k was the march 19 race held? `

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

CREATE TABLE "2005_indy_car_series_schedule" (
  "rnd" real,
  "date" text,
  "race_name" text,
  "track" text,
  "location" text,
  "pole_position" text,
  "fastest_lap" text,
  "most_laps_led" text,
  "winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what tra k was the march 19 race held? `:
```sql
                SELECT "track" FROM "2005_indy_car_series_schedule" WHERE "date"='March 19';
```
## Task
Generate a SQL query to answer the following question:
`On what track is the Argent mortgage Indy 300 held? `

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

CREATE TABLE "2005_indy_car_series_schedule" (
  "rnd" real,
  "date" text,
  "race_name" text,
  "track" text,
  "location" text,
  "pole_position" text,
  "fastest_lap" text,
  "most_laps_led" text,
  "winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what track is the Argent mortgage Indy 300 held? `:
```sql
                SELECT "track" FROM "2005_indy_car_series_schedule" WHERE "race_name"='Argent Mortgage Indy 300';
```
## Task
Generate a SQL query to answer the following question:
`who held the fastes lap in Phoenix, Arizona? `

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

CREATE TABLE "2005_indy_car_series_schedule" (
  "rnd" real,
  "date" text,
  "race_name" text,
  "track" text,
  "location" text,
  "pole_position" text,
  "fastest_lap" text,
  "most_laps_led" text,
  "winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `who held the fastes lap in Phoenix, Arizona? `:
```sql
                SELECT "fastest_lap" FROM "2005_indy_car_series_schedule" WHERE "location"='Phoenix, Arizona';
```
## Task
Generate a SQL query to answer the following question:
`How many games were played with 25 legs won with 35 100+?`

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

CREATE TABLE "statistics" (
  "player" text,
  "played" real,
  "sets_won" real,
  "sets_lost" real,
  "legs_won" real,
  "legs_lost" real,
  "lwat" real,
  "100" real,
  "140" real,
  "180s" real,
  "high_checkout" real,
  "3_dart_average" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many games were played with 25 legs won with 35 100+?`:
```sql
                SELECT "played" FROM "statistics" WHERE "legs_won"=25 AND "100"=35;
```
## Task
Generate a SQL query to answer the following question:
`How many sets were lost with a 3-dart average of 87.55?`

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

CREATE TABLE "statistics" (
  "player" text,
  "played" real,
  "sets_won" real,
  "sets_lost" real,
  "legs_won" real,
  "legs_lost" real,
  "lwat" real,
  "100" real,
  "140" real,
  "180s" real,
  "high_checkout" real,
  "3_dart_average" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many sets were lost with a 3-dart average of 87.55?`:
```sql
                SELECT MAX("sets_lost") FROM "statistics" WHERE "3_dart_average"='87.55';
```
## Task
Generate a SQL query to answer the following question:
`How man players checked out at 84?`

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

CREATE TABLE "statistics" (
  "player" text,
  "played" real,
  "sets_won" real,
  "sets_lost" real,
  "legs_won" real,
  "legs_lost" real,
  "lwat" real,
  "100" real,
  "140" real,
  "180s" real,
  "high_checkout" real,
  "3_dart_average" text
);
### SQL
Given the database schema, here is the SQL query that answers `How man players checked out at 84?`:
```sql
                SELECT COUNT("player") FROM "statistics" WHERE "high_checkout"=84;
```
## Task
Generate a SQL query to answer the following question:
`How man 3-dart averages did gary anderson have?`

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

CREATE TABLE "statistics" (
  "player" text,
  "played" real,
  "sets_won" real,
  "sets_lost" real,
  "legs_won" real,
  "legs_lost" real,
  "lwat" real,
  "100" real,
  "140" real,
  "180s" real,
  "high_checkout" real,
  "3_dart_average" text
);
### SQL
Given the database schema, here is the SQL query that answers `How man 3-dart averages did gary anderson have?`:
```sql
                SELECT COUNT("3_dart_average") FROM "statistics" WHERE "player"='Gary Anderson';
```
## Task
Generate a SQL query to answer the following question:
`List all results from the 3-3 scoring game.`

### 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,
  "wildcats_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `List all results from the 3-3 scoring game.`:
```sql
                SELECT "result" FROM "schedule" WHERE "record"='3-3';
```
## Task
Generate a SQL query to answer the following question:
`List all opponents from the 4-4 scoring game.`

### 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,
  "wildcats_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `List all opponents from the 4-4 scoring game.`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "record"='4-4';
```
## Task
Generate a SQL query to answer the following question:
`List the record from the game where Wildcats had 48 points.`

### 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,
  "wildcats_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `List the record from the game where Wildcats had 48 points.`:
```sql
                SELECT "record" FROM "schedule" WHERE "wildcats_points"=48;
```
## Task
Generate a SQL query to answer the following question:
`How many points did the Wildcats get when Baylor was an opponent?`

### 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,
  "wildcats_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many points did the Wildcats get when Baylor was an opponent?`:
```sql
                SELECT "wildcats_points" FROM "schedule" WHERE "opponent"='Baylor';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent on Oct. 4?`

### 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,
  "wildcats_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent on Oct. 4?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "date"='Oct. 4';
```
## Task
Generate a SQL query to answer the following question:
`What was the minimum number for opponents?`

### 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,
  "wildcats_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the minimum number for opponents?`:
```sql
                SELECT MIN("opponents") FROM "schedule";
```
## Task
Generate a SQL query to answer the following question:
`What is the minimum number of opponents' points for the game at Michigan State?`

### 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,
  "wildcats_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the minimum number of opponents' points for the game at Michigan State?`:
```sql
                SELECT MIN("opponents") FROM "schedule" WHERE "opponent"='at Michigan State';
```
## Task
Generate a SQL query to answer the following question:
`Which opponent led to a 5-2 record?`

### 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,
  "wildcats_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which opponent led to a 5-2 record?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "record"='5-2';
```
## Task
Generate a SQL query to answer the following question:
`How many opponents' points numbers are associated with the game at Ole Miss?`

### 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,
  "wildcats_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many opponents' points numbers are associated with the game at Ole Miss?`:
```sql
                SELECT COUNT("opponents") FROM "schedule" WHERE "opponent"='at Ole Miss';
```