cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`WHAT IS TEH PLAYER WITH A TO PAR OF +1 FOR SCOTLAND?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS TEH PLAYER WITH A TO PAR OF +1 FOR SCOTLAND?`:
```sql
                SELECT "player" FROM "third_round" WHERE "to_par"='+1' AND "country"='scotland';
```
## Task
Generate a SQL query to answer the following question:
`Who won the Paris-Roubaix in 2006?`

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

CREATE TABLE "see_also" (
  "year" real,
  "e3_harelbeke_bel" text,
  "gent_wevelgem_bel" text,
  "tour_of_flanders_bel" text,
  "paris_roubaix_fra" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won the Paris-Roubaix in 2006?`:
```sql
                SELECT "paris_roubaix_fra" FROM "see_also" WHERE "year"=2006;
```
## Task
Generate a SQL query to answer the following question:
`Who built the conant creek pegram truss railroad bridge?`

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

CREATE TABLE "references" (
  "name" text,
  "built" text,
  "listed" text,
  "location" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who built the conant creek pegram truss railroad bridge?`:
```sql
                SELECT "built" FROM "references" WHERE "name"='conant creek pegram truss railroad bridge';
```
## Task
Generate a SQL query to answer the following question:
`Where is the historic place that was built in 1910?`

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

CREATE TABLE "references" (
  "name" text,
  "built" text,
  "listed" text,
  "location" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is the historic place that was built in 1910?`:
```sql
                SELECT "location" FROM "references" WHERE "built"='1910';
```
## Task
Generate a SQL query to answer the following question:
`What is the list date of the historic place that was built 1896, 1914?`

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

CREATE TABLE "references" (
  "name" text,
  "built" text,
  "listed" text,
  "location" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the list date of the historic place that was built 1896, 1914?`:
```sql
                SELECT "listed" FROM "references" WHERE "built"='1896, 1914';
```
## Task
Generate a SQL query to answer the following question:
`When was the historic place listed that's in canyon county?`

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

CREATE TABLE "references" (
  "name" text,
  "built" text,
  "listed" text,
  "location" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the historic place listed that's in canyon county?`:
```sql
                SELECT "listed" FROM "references" WHERE "county"='canyon';
```
## Task
Generate a SQL query to answer the following question:
`what is the averaging time when the regulatory citation is 40 cfr 50.4(b)?`

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

CREATE TABLE "standards" (
  "pollutant" text,
  "type" text,
  "standard" text,
  "averaging_time" text,
  "regulatory_citation" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the averaging time when the regulatory citation is 40 cfr 50.4(b)?`:
```sql
                SELECT "averaging_time" FROM "standards" WHERE "regulatory_citation"='40 cfr 50.4(b)';
```
## Task
Generate a SQL query to answer the following question:
`what is the regulatory citation when the standard is 15 μg/m³?`

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

CREATE TABLE "standards" (
  "pollutant" text,
  "type" text,
  "standard" text,
  "averaging_time" text,
  "regulatory_citation" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the regulatory citation when the standard is 15 μg/m³?`:
```sql
                SELECT "regulatory_citation" FROM "standards" WHERE "standard"='15 μg/m³';
```
## Task
Generate a SQL query to answer the following question:
`what is the standard when the pollutant is o 3 and averaging time is 8-hour?`

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

CREATE TABLE "standards" (
  "pollutant" text,
  "type" text,
  "standard" text,
  "averaging_time" text,
  "regulatory_citation" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the standard when the pollutant is o 3 and averaging time is 8-hour?`:
```sql
                SELECT "standard" FROM "standards" WHERE "pollutant"='o 3' AND "averaging_time"='8-hour';
```
## Task
Generate a SQL query to answer the following question:
`what is the polluntant when the regulatory citation is 40 cfr 50.7(a) and the type is primary?`

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

CREATE TABLE "standards" (
  "pollutant" text,
  "type" text,
  "standard" text,
  "averaging_time" text,
  "regulatory_citation" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the polluntant when the regulatory citation is 40 cfr 50.7(a) and the type is primary?`:
```sql
                SELECT "pollutant" FROM "standards" WHERE "regulatory_citation"='40 cfr 50.7(a)' AND "type"='primary';
```
## Task
Generate a SQL query to answer the following question:
`what is the type when the averaging time is 1-hour and the standard is 0.12 ppm (235 μg/m³)?`

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

CREATE TABLE "standards" (
  "pollutant" text,
  "type" text,
  "standard" text,
  "averaging_time" text,
  "regulatory_citation" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the type when the averaging time is 1-hour and the standard is 0.12 ppm (235 μg/m³)?`:
```sql
                SELECT "type" FROM "standards" WHERE "averaging_time"='1-hour' AND "standard"='0.12 ppm (235 μg/m³)';
```
## Task
Generate a SQL query to answer the following question:
`what is the type when the regulatory citation is 40 cfr 50.9(a)?`

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

CREATE TABLE "standards" (
  "pollutant" text,
  "type" text,
  "standard" text,
  "averaging_time" text,
  "regulatory_citation" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the type when the regulatory citation is 40 cfr 50.9(a)?`:
```sql
                SELECT "type" FROM "standards" WHERE "regulatory_citation"='40 cfr 50.9(a)';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest League, when Title Playoff is greater than 0?`

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

CREATE TABLE "per_competition" (
  "player" text,
  "league" real,
  "title_playoff" real,
  "super_cup" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest League, when Title Playoff is greater than 0?`:
```sql
                SELECT MAX("league") FROM "per_competition" WHERE "title_playoff">0;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Title Playoff, when Total is less than 3, and when League is greater than "2"?`

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

CREATE TABLE "per_competition" (
  "player" text,
  "league" real,
  "title_playoff" real,
  "super_cup" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Title Playoff, when Total is less than 3, and when League is greater than "2"?`:
```sql
                SELECT MIN("title_playoff") FROM "per_competition" WHERE "total"<3 AND "league">2;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Title Playoff, when League is greater than 3, and when Super Cup is less than 0?`

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

CREATE TABLE "per_competition" (
  "player" text,
  "league" real,
  "title_playoff" real,
  "super_cup" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Title Playoff, when League is greater than 3, and when Super Cup is less than 0?`:
```sql
                SELECT MIN("title_playoff") FROM "per_competition" WHERE "league">3 AND "super_cup"<0;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Super Cup, when Title Playoff is "0", when Total is greater than 9, and when League is less than 11?`

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

CREATE TABLE "per_competition" (
  "player" text,
  "league" real,
  "title_playoff" real,
  "super_cup" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of Super Cup, when Title Playoff is "0", when Total is greater than 9, and when League is less than 11?`:
```sql
                SELECT COUNT("super_cup") FROM "per_competition" WHERE "title_playoff"=0 AND "total">9 AND "league"<11;
```
## Task
Generate a SQL query to answer the following question:
`What was the score when the jazz played against toronto?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score when the jazz played against toronto?`:
```sql
                SELECT "score" FROM "game_log" WHERE "team"='toronto';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the game against miami?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the game against miami?`:
```sql
                SELECT "date" FROM "game_log" WHERE "team"='miami';
```
## Task
Generate a SQL query to answer the following question:
`Who was the Opponent in Week 7?`

### 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" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the Opponent in Week 7?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "week"=7;
```
## Task
Generate a SQL query to answer the following question:
`What was the Attendance on November 7, 1999?`

### 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" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Attendance on November 7, 1999?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "date"='november 7, 1999';
```
## Task
Generate a SQL query to answer the following question:
`Who was the Opponent of the Game with a Result of l 23-41?`

### 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" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the Opponent of the Game with a Result of l 23-41?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "result"='l 23-41';
```
## Task
Generate a SQL query to answer the following question:
`What was the Attendance in Week 1?`

### 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" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Attendance in Week 1?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "week"=1;
```
## Task
Generate a SQL query to answer the following question:
`How much average Finish has Starts of 9, and a Top 10 smaller than 0?`

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

CREATE TABLE "nascar_sprint_cup_series" (
  "year" real,
  "starts" real,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "poles" real,
  "avg_start" real,
  "avg_finish" real,
  "winnings" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `How much average Finish has Starts of 9, and a Top 10 smaller than 0?`:
```sql
                SELECT SUM("avg_finish") FROM "nascar_sprint_cup_series" WHERE "starts"=9 AND "top_10"<0;
```
## Task
Generate a SQL query to answer the following question:
`Which Winnings have Starts larger than 34, and Poles smaller than 1, and a Top 10 of 5?`

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

CREATE TABLE "nascar_sprint_cup_series" (
  "year" real,
  "starts" real,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "poles" real,
  "avg_start" real,
  "avg_finish" real,
  "winnings" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Winnings have Starts larger than 34, and Poles smaller than 1, and a Top 10 of 5?`:
```sql
                SELECT "winnings" FROM "nascar_sprint_cup_series" WHERE "starts">34 AND "poles"<1 AND "top_10"=5;
```
## Task
Generate a SQL query to answer the following question:
`Which Diameter (km) has a Name of alma-merghen planitia, and a Year named smaller than 1997?`

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

CREATE TABLE "planitia" (
  "name" text,
  "latitude" text,
  "longitude" text,
  "diameter_km" real,
  "year_named" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Diameter (km) has a Name of alma-merghen planitia, and a Year named smaller than 1997?`:
```sql
                SELECT MAX("diameter_km") FROM "planitia" WHERE "name"='alma-merghen planitia' AND "year_named"<1997;
```
## Task
Generate a SQL query to answer the following question:
`Which Longitude has a Latitude of 73.0s, and a Name of aibarchin planitia?`

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

CREATE TABLE "planitia" (
  "name" text,
  "latitude" text,
  "longitude" text,
  "diameter_km" real,
  "year_named" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Longitude has a Latitude of 73.0s, and a Name of aibarchin planitia?`:
```sql
                SELECT "longitude" FROM "planitia" WHERE "latitude"='73.0s' AND "name"='aibarchin planitia';
```
## Task
Generate a SQL query to answer the following question:
`Which Year named has a Name of nuptadi planitia, and a Diameter (km) larger than 1,200.0?`

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

CREATE TABLE "planitia" (
  "name" text,
  "latitude" text,
  "longitude" text,
  "diameter_km" real,
  "year_named" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Year named has a Name of nuptadi planitia, and a Diameter (km) larger than 1,200.0?`:
```sql
                SELECT MIN("year_named") FROM "planitia" WHERE "name"='nuptadi planitia' AND "diameter_km">'1,200.0';
```
## Task
Generate a SQL query to answer the following question:
`Which Latitude has a Year named smaller than 1997, and a Name of aino planitia?`

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

CREATE TABLE "planitia" (
  "name" text,
  "latitude" text,
  "longitude" text,
  "diameter_km" real,
  "year_named" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Latitude has a Year named smaller than 1997, and a Name of aino planitia?`:
```sql
                SELECT "latitude" FROM "planitia" WHERE "year_named"<1997 AND "name"='aino planitia';
```
## Task
Generate a SQL query to answer the following question:
`In what tournament did Cipolla face Sergio Roitman?`

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

CREATE TABLE "singles_7" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what tournament did Cipolla face Sergio Roitman?`:
```sql
                SELECT "tournament" FROM "singles_7" WHERE "opponent"='sergio roitman';
```
## Task
Generate a SQL query to answer the following question:
`What is the Rating/Share (18-49) that also has a Share greater than 10 and 12.42 million Viewers?`

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

CREATE TABLE "us_nielsen_ratings" (
  "rating" real,
  "share" real,
  "rating_share_18_49" text,
  "viewers_millions" real,
  "rank_overall" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Rating/Share (18-49) that also has a Share greater than 10 and 12.42 million Viewers?`:
```sql
                SELECT "rating_share_18_49" FROM "us_nielsen_ratings" WHERE "share">10 AND "viewers_millions"=12.42;
```
## Task
Generate a SQL query to answer the following question:
`Which Week has a Record of 2-9?`

### 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,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Week has a Record of 2-9?`:
```sql
                SELECT MIN("week") FROM "schedule" WHERE "record"='2-9';
```
## Task
Generate a SQL query to answer the following question:
`Which Week has an Attendance smaller than 70,056, and an Opponent of at minnesota vikings?`

### 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,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Week has an Attendance smaller than 70,056, and an Opponent of at minnesota vikings?`:
```sql
                SELECT COUNT("week") FROM "schedule" WHERE "attendance"<'70,056' AND "opponent"='at minnesota vikings';
```
## Task
Generate a SQL query to answer the following question:
`What is the 1993 finish for the event that had a 1990 of QF and 1995 of 2R?`

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

CREATE TABLE "doubles_performance_timeline" (
  "tournament" text,
  "1990" text,
  "1991" text,
  "1992" text,
  "1993" text,
  "1994" text,
  "1995" text,
  "1996" text,
  "1997" text,
  "1998" text,
  "1999" text,
  "2000" text,
  "career_sr" text,
  "career_win_loss" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1993 finish for the event that had a 1990 of QF and 1995 of 2R?`:
```sql
                SELECT "1993" FROM "doubles_performance_timeline" WHERE "1990"='qf' AND "1995"='2r';
```
## Task
Generate a SQL query to answer the following question:
`What is the 1994 finish for the Miami tournament?`

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

CREATE TABLE "doubles_performance_timeline" (
  "tournament" text,
  "1990" text,
  "1991" text,
  "1992" text,
  "1993" text,
  "1994" text,
  "1995" text,
  "1996" text,
  "1997" text,
  "1998" text,
  "1999" text,
  "2000" text,
  "career_sr" text,
  "career_win_loss" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1994 finish for the Miami tournament?`:
```sql
                SELECT "1994" FROM "doubles_performance_timeline" WHERE "tournament"='miami';
```
## Task
Generate a SQL query to answer the following question:
`What is the to par score from Brad Faxon of the United States with a score of 73-68=141?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the to par score from Brad Faxon of the United States with a score of 73-68=141?`:
```sql
                SELECT "to_par" FROM "second_round" WHERE "country"='united states' AND "score"='73-68=141' AND "player"='brad faxon';
```
## Task
Generate a SQL query to answer the following question:
`What's the to par score in T8 place from Zimbabwe and has a score of 73-68=141?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the to par score in T8 place from Zimbabwe and has a score of 73-68=141?`:
```sql
                SELECT "to_par" FROM "second_round" WHERE "place"='t8' AND "score"='73-68=141' AND "country"='zimbabwe';
```
## Task
Generate a SQL query to answer the following question:
`What's the score of Lee Janzen in T4 place?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the score of Lee Janzen in T4 place?`:
```sql
                SELECT "score" FROM "second_round" WHERE "place"='t4' AND "player"='lee janzen';
```
## Task
Generate a SQL query to answer the following question:
`What's the score of Jeff Maggert in T2 place?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the score of Jeff Maggert in T2 place?`:
```sql
                SELECT "score" FROM "second_round" WHERE "place"='t2' AND "player"='jeff maggert';
```
## Task
Generate a SQL query to answer the following question:
`What's the to par when the score was 68-73=141?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the to par when the score was 68-73=141?`:
```sql
                SELECT "to_par" FROM "second_round" WHERE "score"='68-73=141';
```
## Task
Generate a SQL query to answer the following question:
`What's the total number of game that has 377 points?`

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

CREATE TABLE "points" (
  "rank" real,
  "name" text,
  "team" text,
  "games" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the total number of game that has 377 points?`:
```sql
                SELECT SUM("games") FROM "points" WHERE "points"=377;
```
## Task
Generate a SQL query to answer the following question:
`What's the total number of points that the rank is less than 5 and has Tiago Splitter?`

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

CREATE TABLE "points" (
  "rank" real,
  "name" text,
  "team" text,
  "games" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the total number of points that the rank is less than 5 and has Tiago Splitter?`:
```sql
                SELECT COUNT("points") FROM "points" WHERE "name"='tiago splitter' AND "rank"<5;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of games that has Juan Carlos Navarro and more than 266 points?`

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

CREATE TABLE "points" (
  "rank" real,
  "name" text,
  "team" text,
  "games" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of games that has Juan Carlos Navarro and more than 266 points?`:
```sql
                SELECT SUM("games") FROM "points" WHERE "points">266 AND "name"='juan carlos navarro';
```
## Task
Generate a SQL query to answer the following question:
`What's the rank of Igor Rakočević of Tau Cerámica with more than 377 points?`

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

CREATE TABLE "points" (
  "rank" real,
  "name" text,
  "team" text,
  "games" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the rank of Igor Rakočević of Tau Cerámica with more than 377 points?`:
```sql
                SELECT SUM("rank") FROM "points" WHERE "team"='tau cerámica' AND "name"='igor rakočević' AND "points">377;
```
## Task
Generate a SQL query to answer the following question:
`What's the rank of the Tau Cerámica that has 377 points and more than 21 games?`

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

CREATE TABLE "points" (
  "rank" real,
  "name" text,
  "team" text,
  "games" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the rank of the Tau Cerámica that has 377 points and more than 21 games?`:
```sql
                SELECT COUNT("rank") FROM "points" WHERE "team"='tau cerámica' AND "points"=377 AND "games">21;
```
## Task
Generate a SQL query to answer the following question:
`What are the dates of squadron 33?`

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

CREATE TABLE "aircraft" (
  "aircraft" text,
  "origin" text,
  "squadron" text,
  "display_aircraft" real,
  "dates" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the dates of squadron 33?`:
```sql
                SELECT "dates" FROM "aircraft" WHERE "squadron"='squadron 33';
```
## Task
Generate a SQL query to answer the following question:
`What institution won 2nd more recently than 2007 with Peter Agre as Chief Judge?`

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

CREATE TABLE "list_of_a_star_talent_search_winners" (
  "year" real,
  "award" text,
  "name" text,
  "institution" text,
  "chief_judge" text
);
### SQL
Given the database schema, here is the SQL query that answers `What institution won 2nd more recently than 2007 with Peter Agre as Chief Judge?`:
```sql
                SELECT "institution" FROM "list_of_a_star_talent_search_winners" WHERE "year">2007 AND "award"='2nd' AND "chief_judge"='peter agre';
```
## Task
Generate a SQL query to answer the following question:
`What student won 3rd with Peter Agre as Chief Judge?`

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

CREATE TABLE "list_of_a_star_talent_search_winners" (
  "year" real,
  "award" text,
  "name" text,
  "institution" text,
  "chief_judge" text
);
### SQL
Given the database schema, here is the SQL query that answers `What student won 3rd with Peter Agre as Chief Judge?`:
```sql
                SELECT "name" FROM "list_of_a_star_talent_search_winners" WHERE "chief_judge"='peter agre' AND "award"='3rd';
```
## Task
Generate a SQL query to answer the following question:
`What institution won in 2010 with student Cheng Herng Yi?`

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

CREATE TABLE "list_of_a_star_talent_search_winners" (
  "year" real,
  "award" text,
  "name" text,
  "institution" text,
  "chief_judge" text
);
### SQL
Given the database schema, here is the SQL query that answers `What institution won in 2010 with student Cheng Herng Yi?`:
```sql
                SELECT "institution" FROM "list_of_a_star_talent_search_winners" WHERE "year">2010 AND "name"='cheng herng yi';
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest postion of ehc straubing ii when they played less than 10 games?`

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

CREATE TABLE "relegation_round" (
  "position" real,
  "name" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lowest postion of ehc straubing ii when they played less than 10 games?`:
```sql
                SELECT MIN("position") FROM "relegation_round" WHERE "name"='ehc straubing ii' AND "played"<10;
```
## Task
Generate a SQL query to answer the following question:
`What was the drawn amount for teams with points of 12 and played smaller than 10?`

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

CREATE TABLE "relegation_round" (
  "position" real,
  "name" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the drawn amount for teams with points of 12 and played smaller than 10?`:
```sql
                SELECT AVG("drawn") FROM "relegation_round" WHERE "points"=12 AND "played"<10;
```
## Task
Generate a SQL query to answer the following question:
`How many games were played by the team with 2 draws, less than 16 points and a position higher than 5?`

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

CREATE TABLE "relegation_round" (
  "position" real,
  "name" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many games were played by the team with 2 draws, less than 16 points and a position higher than 5?`:
```sql
                SELECT COUNT("played") FROM "relegation_round" WHERE "drawn"=2 AND "points"<16 AND "position">5;
```
## Task
Generate a SQL query to answer the following question:
`What was the grid of Buddy Rice?`

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

CREATE TABLE "classification" (
  "fin_pos" text,
  "car_no" text,
  "driver" text,
  "team" text,
  "laps" text,
  "time_retired" text,
  "grid" text,
  "laps_led" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the grid of Buddy Rice?`:
```sql
                SELECT "grid" FROM "classification" WHERE "driver"='buddy rice';
```
## Task
Generate a SQL query to answer the following question:
`Which team had a driver with a finish position of 7?`

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

CREATE TABLE "classification" (
  "fin_pos" text,
  "car_no" text,
  "driver" text,
  "team" text,
  "laps" text,
  "time_retired" text,
  "grid" text,
  "laps_led" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team had a driver with a finish position of 7?`:
```sql
                SELECT "team" FROM "classification" WHERE "fin_pos"='7';
```
## Task
Generate a SQL query to answer the following question:
`What was the time of the driver with a finish position of 19?`

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

CREATE TABLE "classification" (
  "fin_pos" text,
  "car_no" text,
  "driver" text,
  "team" text,
  "laps" text,
  "time_retired" text,
  "grid" text,
  "laps_led" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the time of the driver with a finish position of 19?`:
```sql
                SELECT "time_retired" FROM "classification" WHERE "fin_pos"='19';
```
## Task
Generate a SQL query to answer the following question:
`What were the number of laps led by the driver with a finish position of 14?`

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

CREATE TABLE "classification" (
  "fin_pos" text,
  "car_no" text,
  "driver" text,
  "team" text,
  "laps" text,
  "time_retired" text,
  "grid" text,
  "laps_led" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What were the number of laps led by the driver with a finish position of 14?`:
```sql
                SELECT "laps_led" FROM "classification" WHERE "fin_pos"='14';
```
## Task
Generate a SQL query to answer the following question:
`Which team had a finish position of 8?`

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

CREATE TABLE "classification" (
  "fin_pos" text,
  "car_no" text,
  "driver" text,
  "team" text,
  "laps" text,
  "time_retired" text,
  "grid" text,
  "laps_led" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team had a finish position of 8?`:
```sql
                SELECT "team" FROM "classification" WHERE "fin_pos"='8';
```
## Task
Generate a SQL query to answer the following question:
`For the 27 arrow match event, what's the sum of all scores for that event?`

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

CREATE TABLE "women_s_records" (
  "event" text,
  "score" real,
  "name" text,
  "nation" text,
  "games" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `For the 27 arrow match event, what's the sum of all scores for that event?`:
```sql
                SELECT SUM("score") FROM "women_s_records" WHERE "event"='27 arrow match';
```
## Task
Generate a SQL query to answer the following question:
`Which event had a score of over 673 points?`

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

CREATE TABLE "women_s_records" (
  "event" text,
  "score" real,
  "name" text,
  "nation" text,
  "games" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which event had a score of over 673 points?`:
```sql
                SELECT "event" FROM "women_s_records" WHERE "score">673;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of appearances in the premier league when there were 10 appearances at UEFA and less than 4 at league cup?`

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

CREATE TABLE "most_appearances" (
  "player" text,
  "position" text,
  "premier_league" real,
  "fa_cup" real,
  "league_cup" real,
  "uefa_cup" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of appearances in the premier league when there were 10 appearances at UEFA and less than 4 at league cup?`:
```sql
                SELECT COUNT("premier_league") FROM "most_appearances" WHERE "uefa_cup"=10 AND "league_cup"<4;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest total number of appearances when there were less than 4 at the FA cup?`

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

CREATE TABLE "most_appearances" (
  "player" text,
  "position" text,
  "premier_league" real,
  "fa_cup" real,
  "league_cup" real,
  "uefa_cup" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest total number of appearances when there were less than 4 at the FA cup?`:
```sql
                SELECT MAX("total") FROM "most_appearances" WHERE "fa_cup"<4;
```
## Task
Generate a SQL query to answer the following question:
`What player had less than 6 appearances at the FA cup, 33 at the premier league, and more than 5 at the UEFA cup?`

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

CREATE TABLE "most_appearances" (
  "player" text,
  "position" text,
  "premier_league" real,
  "fa_cup" real,
  "league_cup" real,
  "uefa_cup" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What player had less than 6 appearances at the FA cup, 33 at the premier league, and more than 5 at the UEFA cup?`:
```sql
                SELECT "player" FROM "most_appearances" WHERE "fa_cup"<6 AND "premier_league"=33 AND "uefa_cup">5;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of the appearances at the league cup for the defender who had less than 10 appearances at the UEFA cup?`

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

CREATE TABLE "most_appearances" (
  "player" text,
  "position" text,
  "premier_league" real,
  "fa_cup" real,
  "league_cup" real,
  "uefa_cup" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of the appearances at the league cup for the defender who had less than 10 appearances at the UEFA cup?`:
```sql
                SELECT SUM("league_cup") FROM "most_appearances" WHERE "position"='defender' AND "uefa_cup"<10;
```
## Task
Generate a SQL query to answer the following question:
`What's the target of the antibody rituximab?`

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

CREATE TABLE "cancer_immunotherapy_monoclonal_antibodi" (
  "antibody" text,
  "brand_name" text,
  "approval_date" real,
  "type" text,
  "target" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the target of the antibody rituximab?`:
```sql
                SELECT "target" FROM "cancer_immunotherapy_monoclonal_antibodi" WHERE "antibody"='rituximab';
```
## Task
Generate a SQL query to answer the following question:
`What's the target for the brand mylotarg?`

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

CREATE TABLE "cancer_immunotherapy_monoclonal_antibodi" (
  "antibody" text,
  "brand_name" text,
  "approval_date" real,
  "type" text,
  "target" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the target for the brand mylotarg?`:
```sql
                SELECT "target" FROM "cancer_immunotherapy_monoclonal_antibodi" WHERE "brand_name"='mylotarg';
```
## Task
Generate a SQL query to answer the following question:
`What's the type for the brand herceptin with an approval date of before 2006?`

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

CREATE TABLE "cancer_immunotherapy_monoclonal_antibodi" (
  "antibody" text,
  "brand_name" text,
  "approval_date" real,
  "type" text,
  "target" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the type for the brand herceptin with an approval date of before 2006?`:
```sql
                SELECT "type" FROM "cancer_immunotherapy_monoclonal_antibodi" WHERE "approval_date"<2006 AND "brand_name"='herceptin';
```
## Task
Generate a SQL query to answer the following question:
`What is Position, when Overall is less than 590, and when Round is 3?`

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

CREATE TABLE "huskers_in_the" (
  "player" text,
  "position" text,
  "round" real,
  "overall" real,
  "mlb_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Position, when Overall is less than 590, and when Round is 3?`:
```sql
                SELECT "position" FROM "huskers_in_the" WHERE "overall"<590 AND "round"=3;
```
## Task
Generate a SQL query to answer the following question:
`What is Player, when MLB Team is "Florida Marlins", and when Round is less than 15?`

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

CREATE TABLE "huskers_in_the" (
  "player" text,
  "position" text,
  "round" real,
  "overall" real,
  "mlb_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Player, when MLB Team is "Florida Marlins", and when Round is less than 15?`:
```sql
                SELECT "player" FROM "huskers_in_the" WHERE "mlb_team"='florida marlins' AND "round"<15;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Overall, when Player is "Dan Jennings", and when Round is greater than 9?`

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

CREATE TABLE "huskers_in_the" (
  "player" text,
  "position" text,
  "round" real,
  "overall" real,
  "mlb_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Overall, when Player is "Dan Jennings", and when Round is greater than 9?`:
```sql
                SELECT MIN("overall") FROM "huskers_in_the" WHERE "player"='dan jennings' AND "round">9;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Round, when Position is 2B?`

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

CREATE TABLE "huskers_in_the" (
  "player" text,
  "position" text,
  "round" real,
  "overall" real,
  "mlb_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of Round, when Position is 2B?`:
```sql
                SELECT COUNT("round") FROM "huskers_in_the" WHERE "position"='2b';
```
## Task
Generate a SQL query to answer the following question:
`What are the highest points for Justin Lofton when his top 10 is lower than 5?`

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

CREATE TABLE "point_standings" (
  "driver" text,
  "points" real,
  "wins" real,
  "top_5" real,
  "top_10" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the highest points for Justin Lofton when his top 10 is lower than 5?`:
```sql
                SELECT MAX("points") FROM "point_standings" WHERE "driver"='justin lofton' AND "top_10"<5;
```
## Task
Generate a SQL query to answer the following question:
`What is Frank Kimmel's lowest top 5 with more than 0 wins and fewer than 14 top 10s?`

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

CREATE TABLE "point_standings" (
  "driver" text,
  "points" real,
  "wins" real,
  "top_5" real,
  "top_10" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Frank Kimmel's lowest top 5 with more than 0 wins and fewer than 14 top 10s?`:
```sql
                SELECT MIN("top_5") FROM "point_standings" WHERE "wins">0 AND "driver"='frank kimmel' AND "top_10"<14;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest top 10 with fewer than 4 wins, fewer than 3260 points and more than 0 for top 5?`

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

CREATE TABLE "point_standings" (
  "driver" text,
  "points" real,
  "wins" real,
  "top_5" real,
  "top_10" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest top 10 with fewer than 4 wins, fewer than 3260 points and more than 0 for top 5?`:
```sql
                SELECT MIN("top_10") FROM "point_standings" WHERE "wins"<4 AND "points"<3260 AND "top_5">0;
```
## Task
Generate a SQL query to answer the following question:
`When the mark is 7.35, what's the lowest Lane found?`

### 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,
  "country" text,
  "mark" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the mark is 7.35, what's the lowest Lane found?`:
```sql
                SELECT MIN("lane") FROM "heats" WHERE "mark"='7.35';
```
## Task
Generate a SQL query to answer the following question:
`What's the lowest lane found for a mark of 8.09 pb?`

### 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,
  "country" text,
  "mark" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the lowest lane found for a mark of 8.09 pb?`:
```sql
                SELECT MIN("lane") FROM "heats" WHERE "mark"='8.09 pb';
```
## Task
Generate a SQL query to answer the following question:
`What's the sum of all of ivet lalova's Heat stats?`

### 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,
  "country" text,
  "mark" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the sum of all of ivet lalova's Heat stats?`:
```sql
                SELECT SUM("heat") FROM "heats" WHERE "name"='ivet lalova';
```
## Task
Generate a SQL query to answer the following question:
`What's the total number of Heat recorded for the british virgin islands?`

### 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,
  "country" text,
  "mark" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the total number of Heat recorded for the british virgin islands?`:
```sql
                SELECT COUNT("heat") FROM "heats" WHERE "country"='british virgin islands';
```
## Task
Generate a SQL query to answer the following question:
`When the lane is under 2 and the name is virgen benavides with a mark of 7.29, what's the total number of Heat found?`

### 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,
  "country" text,
  "mark" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the lane is under 2 and the name is virgen benavides with a mark of 7.29, what's the total number of Heat found?`:
```sql
                SELECT COUNT("heat") FROM "heats" WHERE "mark"='7.29' AND "name"='virgen benavides' AND "lane"<2;
```
## Task
Generate a SQL query to answer the following question:
`What's the Time for the Competition of european cup and has a Venue of Moscow?`

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

CREATE TABLE "achievements" (
  "year" real,
  "competition" text,
  "venue" text,
  "position" text,
  "event" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the Time for the Competition of european cup and has a Venue of Moscow?`:
```sql
                SELECT "time" FROM "achievements" WHERE "competition"='european cup' AND "venue"='moscow';
```