cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the total to par of player jeff sluman, who won before 1993 and has a total greater than 154?`

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

CREATE TABLE "missed_the_cut" (
  "player" text,
  "country" text,
  "year_won" real,
  "total" real,
  "to_par" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total to par of player jeff sluman, who won before 1993 and has a total greater than 154?`:
```sql
                SELECT COUNT("to_par") FROM "missed_the_cut" WHERE "year_won"<1993 AND "player"='jeff sluman' AND "total">154;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of the total of player rich beem, who has a to par greater than 17?`

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

CREATE TABLE "missed_the_cut" (
  "player" text,
  "country" text,
  "year_won" real,
  "total" real,
  "to_par" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of the total of player rich beem, who has a to par greater than 17?`:
```sql
                SELECT SUM("total") FROM "missed_the_cut" WHERE "player"='rich beem' AND "to_par">17;
```
## Task
Generate a SQL query to answer the following question:
`Who was the away team in the semifinals?`

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

CREATE TABLE "european_cup_history" (
  "season" text,
  "competition" text,
  "round" text,
  "club" text,
  "home" text,
  "away" text,
  "aggregate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the away team in the semifinals?`:
```sql
                SELECT "away" FROM "european_cup_history" WHERE "round"='semifinals';
```
## Task
Generate a SQL query to answer the following question:
`What is the home record for the Auxerre club?`

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

CREATE TABLE "european_cup_history" (
  "season" text,
  "competition" text,
  "round" text,
  "club" text,
  "home" text,
  "away" text,
  "aggregate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the home record for the Auxerre club?`:
```sql
                SELECT "home" FROM "european_cup_history" WHERE "club"='auxerre';
```
## Task
Generate a SQL query to answer the following question:
`What is the home record for the Maccabi Tel-Aviv club?`

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

CREATE TABLE "european_cup_history" (
  "season" text,
  "competition" text,
  "round" text,
  "club" text,
  "home" text,
  "away" text,
  "aggregate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the home record for the Maccabi Tel-Aviv club?`:
```sql
                SELECT "home" FROM "european_cup_history" WHERE "club"='maccabi tel-aviv';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Against, when Date is "16/03/1996"?`

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

CREATE TABLE "1996" (
  "opposing_teams" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of Against, when Date is "16/03/1996"?`:
```sql
                SELECT COUNT("against") FROM "1996" WHERE "date"='16/03/1996';
```
## Task
Generate a SQL query to answer the following question:
`What is Venue, when Against is greater than 9, and when Date is "03/02/1996"?`

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

CREATE TABLE "1996" (
  "opposing_teams" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Venue, when Against is greater than 9, and when Date is "03/02/1996"?`:
```sql
                SELECT "venue" FROM "1996" WHERE "against">9 AND "date"='03/02/1996';
```
## Task
Generate a SQL query to answer the following question:
`What is Status, when Opposing Teams is "Scotland"?`

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

CREATE TABLE "1996" (
  "opposing_teams" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Status, when Opposing Teams is "Scotland"?`:
```sql
                SELECT "status" FROM "1996" WHERE "opposing_teams"='scotland';
```
## Task
Generate a SQL query to answer the following question:
`What is Venue, when Date is "14/12/1996"?`

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

CREATE TABLE "1996" (
  "opposing_teams" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Venue, when Date is "14/12/1996"?`:
```sql
                SELECT "venue" FROM "1996" WHERE "date"='14/12/1996';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Against, when Status is "Five Nations", and when Date is "16/03/1996"?`

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

CREATE TABLE "1996" (
  "opposing_teams" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Against, when Status is "Five Nations", and when Date is "16/03/1996"?`:
```sql
                SELECT AVG("against") FROM "1996" WHERE "status"='five nations' AND "date"='16/03/1996';
```
## Task
Generate a SQL query to answer the following question:
`In what year did the team of aston martin racing have a position of 6th?`

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

CREATE TABLE "24_hours_of_le_mans_results" (
  "year" real,
  "team" text,
  "co_drivers" text,
  "class" text,
  "laps" real,
  "pos" text,
  "class_pos" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what year did the team of aston martin racing have a position of 6th?`:
```sql
                SELECT COUNT("year") FROM "24_hours_of_le_mans_results" WHERE "team"='aston martin racing' AND "pos"='6th';
```
## Task
Generate a SQL query to answer the following question:
`Which year did the team of pescarolo sport have a Class Position of 7th?`

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

CREATE TABLE "24_hours_of_le_mans_results" (
  "year" real,
  "team" text,
  "co_drivers" text,
  "class" text,
  "laps" real,
  "pos" text,
  "class_pos" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which year did the team of pescarolo sport have a Class Position of 7th?`:
```sql
                SELECT MAX("year") FROM "24_hours_of_le_mans_results" WHERE "team"='pescarolo sport' AND "class_pos"='7th';
```
## Task
Generate a SQL query to answer the following question:
`Who were the co-drivers of the vehicle that had both a Class position and position of 7th?`

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

CREATE TABLE "24_hours_of_le_mans_results" (
  "year" real,
  "team" text,
  "co_drivers" text,
  "class" text,
  "laps" real,
  "pos" text,
  "class_pos" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who were the co-drivers of the vehicle that had both a Class position and position of 7th?`:
```sql
                SELECT "co_drivers" FROM "24_hours_of_le_mans_results" WHERE "class_pos"='7th' AND "pos"='7th';
```
## Task
Generate a SQL query to answer the following question:
`Which Rank is Highest for Yoshiazuma?`

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

CREATE TABLE "slowest_progress_to_top_division" (
  "name" text,
  "tournaments" real,
  "pro_debut" text,
  "top_division_debut" text,
  "highest_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Rank is Highest for Yoshiazuma?`:
```sql
                SELECT "highest_rank" FROM "slowest_progress_to_top_division" WHERE "name"='yoshiazuma';
```
## Task
Generate a SQL query to answer the following question:
`Which Top Division debut for Kitazakura has Tournaments less than 88?`

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

CREATE TABLE "slowest_progress_to_top_division" (
  "name" text,
  "tournaments" real,
  "pro_debut" text,
  "top_division_debut" text,
  "highest_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Top Division debut for Kitazakura has Tournaments less than 88?`:
```sql
                SELECT "top_division_debut" FROM "slowest_progress_to_top_division" WHERE "tournaments"<88 AND "name"='kitazakura';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Tournaments with Highest Rank of Maegashira 13?`

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

CREATE TABLE "slowest_progress_to_top_division" (
  "name" text,
  "tournaments" real,
  "pro_debut" text,
  "top_division_debut" text,
  "highest_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Tournaments with Highest Rank of Maegashira 13?`:
```sql
                SELECT MIN("tournaments") FROM "slowest_progress_to_top_division" WHERE "highest_rank"='maegashira 13';
```
## Task
Generate a SQL query to answer the following question:
`What was the city where Hallescher FC won in 2008?`

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

CREATE TABLE "finals" (
  "year" real,
  "winner" text,
  "finalist" text,
  "result" text,
  "city" text,
  "stadium" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the city where Hallescher FC won in 2008?`:
```sql
                SELECT "city" FROM "finals" WHERE "winner"='hallescher fc' AND "year"=2008;
```
## Task
Generate a SQL query to answer the following question:
`Who was the winner of fc grün-weiß wolfen?`

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

CREATE TABLE "finals" (
  "year" real,
  "winner" text,
  "finalist" text,
  "result" text,
  "city" text,
  "stadium" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the winner of fc grün-weiß wolfen?`:
```sql
                SELECT "winner" FROM "finals" WHERE "finalist"='fc grün-weiß wolfen';
```
## Task
Generate a SQL query to answer the following question:
`What was the stadium past 2012?`

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

CREATE TABLE "finals" (
  "year" real,
  "winner" text,
  "finalist" text,
  "result" text,
  "city" text,
  "stadium" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the stadium past 2012?`:
```sql
                SELECT "stadium" FROM "finals" WHERE "year">2012;
```
## Task
Generate a SQL query to answer the following question:
`What is the average Year, when Country is "U.S.", and when Location is "Edmond , OK"?`

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

CREATE TABLE "workplace_killings" (
  "perpetrator" text,
  "date" text,
  "year" real,
  "location" text,
  "country" text,
  "killed" real,
  "injured" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Year, when Country is "U.S.", and when Location is "Edmond , OK"?`:
```sql
                SELECT AVG("year") FROM "workplace_killings" WHERE "country"='u.s.' AND "location"='edmond , ok';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Killed, when Perpetrator is "Sherrill, Patrick Henry , 44"?`

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

CREATE TABLE "workplace_killings" (
  "perpetrator" text,
  "date" text,
  "year" real,
  "location" text,
  "country" text,
  "killed" real,
  "injured" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Killed, when Perpetrator is "Sherrill, Patrick Henry , 44"?`:
```sql
                SELECT MIN("killed") FROM "workplace_killings" WHERE "perpetrator"='sherrill, patrick henry , 44';
```
## Task
Generate a SQL query to answer the following question:
`What was the highest goals with fewer than 16 losses, fewer than 11 wins, and a goal difference greater than -9?`

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

CREATE TABLE "group_i" (
  "position" real,
  "club" text,
  "played" real,
  "points" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the highest goals with fewer than 16 losses, fewer than 11 wins, and a goal difference greater than -9?`:
```sql
                SELECT MAX("goals_for") FROM "group_i" WHERE "losses"<16 AND "wins"<11 AND "goal_difference">-9;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest wins entry with fewer than 51 goals, more than 39 points, and a goal difference smaller than 13?`

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

CREATE TABLE "group_i" (
  "position" real,
  "club" text,
  "played" real,
  "points" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest wins entry with fewer than 51 goals, more than 39 points, and a goal difference smaller than 13?`:
```sql
                SELECT MAX("wins") FROM "group_i" WHERE "goals_against"<51 AND "points">39 AND "goal_difference"<13;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest wins entry that has a goal difference less than 33, position higher than 13, and 42 goals?`

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

CREATE TABLE "group_i" (
  "position" real,
  "club" text,
  "played" real,
  "points" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest wins entry that has a goal difference less than 33, position higher than 13, and 42 goals?`:
```sql
                SELECT MIN("wins") FROM "group_i" WHERE "goal_difference"<33 AND "position"<13 AND "goals_for"=42;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of goals for entries that have more than 7 draws, 8 wins, and more than 5 losses?`

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

CREATE TABLE "group_i" (
  "position" real,
  "club" text,
  "played" real,
  "points" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of goals for entries that have more than 7 draws, 8 wins, and more than 5 losses?`:
```sql
                SELECT COUNT("goals_for") FROM "group_i" WHERE "draws">7 AND "wins">8 AND "losses">5;
```
## Task
Generate a SQL query to answer the following question:
`What city is the Stadium estádio dr. magalhães pessoa in?`

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

CREATE TABLE "team_summaries" (
  "club" text,
  "head_coach" text,
  "city" text,
  "stadium" text,
  "2002_2003_season" text
);
### SQL
Given the database schema, here is the SQL query that answers `What city is the Stadium estádio dr. magalhães pessoa in?`:
```sql
                SELECT "city" FROM "team_summaries" WHERE "stadium"='estádio dr. magalhães pessoa';
```
## Task
Generate a SQL query to answer the following question:
`What city is the Stadium estádio cidade de barcelos in?`

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

CREATE TABLE "team_summaries" (
  "club" text,
  "head_coach" text,
  "city" text,
  "stadium" text,
  "2002_2003_season" text
);
### SQL
Given the database schema, here is the SQL query that answers `What city is the Stadium estádio cidade de barcelos in?`:
```sql
                SELECT "city" FROM "team_summaries" WHERE "stadium"='estádio cidade de barcelos';
```
## Task
Generate a SQL query to answer the following question:
`Head Coach casemiro mior is at which Club?`

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

CREATE TABLE "team_summaries" (
  "club" text,
  "head_coach" text,
  "city" text,
  "stadium" text,
  "2002_2003_season" text
);
### SQL
Given the database schema, here is the SQL query that answers `Head Coach casemiro mior is at which Club?`:
```sql
                SELECT "club" FROM "team_summaries" WHERE "head_coach"='casemiro mior';
```
## Task
Generate a SQL query to answer the following question:
`What City is the Club braga in?`

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

CREATE TABLE "team_summaries" (
  "club" text,
  "head_coach" text,
  "city" text,
  "stadium" text,
  "2002_2003_season" text
);
### SQL
Given the database schema, here is the SQL query that answers `What City is the Club braga in?`:
```sql
                SELECT "city" FROM "team_summaries" WHERE "club"='braga';
```
## Task
Generate a SQL query to answer the following question:
`What place is listed in the 2002-2003 season for the City of Aveiro?`

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

CREATE TABLE "team_summaries" (
  "club" text,
  "head_coach" text,
  "city" text,
  "stadium" text,
  "2002_2003_season" text
);
### SQL
Given the database schema, here is the SQL query that answers `What place is listed in the 2002-2003 season for the City of Aveiro?`:
```sql
                SELECT "2002_2003_season" FROM "team_summaries" WHERE "city"='aveiro';
```
## Task
Generate a SQL query to answer the following question:
`What is the 1st round with fc nantes (d1) as team 1?`

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

CREATE TABLE "round_of_16" (
  "team_1" text,
  "score" text,
  "team_2" text,
  "1st_round" text,
  "2nd_round" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1st round with fc nantes (d1) as team 1?`:
```sql
                SELECT "1st_round" FROM "round_of_16" WHERE "team_1"='fc nantes (d1)';
```
## Task
Generate a SQL query to answer the following question:
`What is the team 1 with nîmes olympique (d2) as team 2?`

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

CREATE TABLE "round_of_16" (
  "team_1" text,
  "score" text,
  "team_2" text,
  "1st_round" text,
  "2nd_round" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the team 1 with nîmes olympique (d2) as team 2?`:
```sql
                SELECT "team_1" FROM "round_of_16" WHERE "team_2"='nîmes olympique (d2)';
```
## Task
Generate a SQL query to answer the following question:
`In what language is the Lyrics of the release on August 10, 2005 with Catalog number of TOCP-66427?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog_number" text,
  "lyrics" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what language is the Lyrics of the release on August 10, 2005 with Catalog number of TOCP-66427?`:
```sql
                SELECT "lyrics" FROM "release_history" WHERE "date"='august 10, 2005' AND "catalog_number"='tocp-66427';
```
## Task
Generate a SQL query to answer the following question:
`What is the Label of the CD released in Germany on June 6, 2005?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog_number" text,
  "lyrics" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Label of the CD released in Germany on June 6, 2005?`:
```sql
                SELECT "label" FROM "release_history" WHERE "date"='june 6, 2005' AND "region"='germany' AND "format"='cd';
```
## Task
Generate a SQL query to answer the following question:
`What is the Region of the EMI 4 x vinyl release bearing Catalog number 560 6111?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog_number" text,
  "lyrics" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Region of the EMI 4 x vinyl release bearing Catalog number 560 6111?`:
```sql
                SELECT "region" FROM "release_history" WHERE "label"='emi' AND "format"='4 x vinyl' AND "catalog_number"='560 6111';
```
## Task
Generate a SQL query to answer the following question:
`What language is the Lyrics of the release with Catalog number 560 6111?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog_number" text,
  "lyrics" text
);
### SQL
Given the database schema, here is the SQL query that answers `What language is the Lyrics of the release with Catalog number 560 6111?`:
```sql
                SELECT "lyrics" FROM "release_history" WHERE "catalog_number"='560 6111';
```
## Task
Generate a SQL query to answer the following question:
`What is the Region of the release with Catalog number 3 12046 2?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog_number" text,
  "lyrics" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Region of the release with Catalog number 3 12046 2?`:
```sql
                SELECT "region" FROM "release_history" WHERE "catalog_number"='3 12046 2';
```
## Task
Generate a SQL query to answer the following question:
`What is the Label of the September 19, 2008 release in Germany?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "format_s" text,
  "edition_s" text,
  "label" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Label of the September 19, 2008 release in Germany?`:
```sql
                SELECT "label" FROM "release_history" WHERE "date"='september 19, 2008' AND "region"='germany';
```
## Task
Generate a SQL query to answer the following question:
`What is the Edition of the release in Germany?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "format_s" text,
  "edition_s" text,
  "label" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Edition of the release in Germany?`:
```sql
                SELECT "edition_s" FROM "release_history" WHERE "region"='germany';
```
## Task
Generate a SQL query to answer the following question:
`What is the Format(s) of the release on September 23, 2008?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "format_s" text,
  "edition_s" text,
  "label" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Format(s) of the release on September 23, 2008?`:
```sql
                SELECT "format_s" FROM "release_history" WHERE "date"='september 23, 2008';
```
## Task
Generate a SQL query to answer the following question:
`What is the Label of the release on April 24, 2009 in Germany?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "format_s" text,
  "edition_s" text,
  "label" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Label of the release on April 24, 2009 in Germany?`:
```sql
                SELECT "label" FROM "release_history" WHERE "region"='germany' AND "date"='april 24, 2009';
```
## Task
Generate a SQL query to answer the following question:
`What is the L2 Cache for Model Number nano u3400 with an Idle Power of 100mw?`

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

CREATE TABLE "ultra_low_voltage_processors" (
  "model_number" text,
  "clock_speed" text,
  "l1_cache" text,
  "l2_cache" text,
  "fsb_speed" text,
  "clock_multiplier" text,
  "idle_power" text,
  "socket" text,
  "cores" real,
  "release_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the L2 Cache for Model Number nano u3400 with an Idle Power of 100mw?`:
```sql
                SELECT "l2_cache" FROM "ultra_low_voltage_processors" WHERE "idle_power"='100mw' AND "model_number"='nano u3400';
```
## Task
Generate a SQL query to answer the following question:
`What is the total Cores with a Clock Speed of 1.3ghz?`

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

CREATE TABLE "ultra_low_voltage_processors" (
  "model_number" text,
  "clock_speed" text,
  "l1_cache" text,
  "l2_cache" text,
  "fsb_speed" text,
  "clock_multiplier" text,
  "idle_power" text,
  "socket" text,
  "cores" real,
  "release_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total Cores with a Clock Speed of 1.3ghz?`:
```sql
                SELECT COUNT("cores") FROM "ultra_low_voltage_processors" WHERE "clock_speed"='1.3ghz';
```
## Task
Generate a SQL query to answer the following question:
`What's the to par for the score of 68-74-71-77=290?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the to par for the score of 68-74-71-77=290?`:
```sql
                SELECT "to_par" FROM "final_leaderboard" WHERE "score"='68-74-71-77=290';
```
## Task
Generate a SQL query to answer the following question:
`What's the money ($) for the t3 place and the score of 74-74-71-69=288?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the money ($) for the t3 place and the score of 74-74-71-69=288?`:
```sql
                SELECT "money" FROM "final_leaderboard" WHERE "place"='t3' AND "score"='74-74-71-69=288';
```
## Task
Generate a SQL query to answer the following question:
`What's the score for $22,500?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the score for $22,500?`:
```sql
                SELECT "score" FROM "final_leaderboard" WHERE "money"='22,500';
```
## Task
Generate a SQL query to answer the following question:
`What's the to par for the t1 place with a score of 70-72-73-72=287?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the to par for the t1 place with a score of 70-72-73-72=287?`:
```sql
                SELECT "to_par" FROM "final_leaderboard" WHERE "place"='t1' AND "score"='70-72-73-72=287';
```
## Task
Generate a SQL query to answer the following question:
`What's the average annual interchange for a rank over 26 in liverpool with an annual entry/exit less than 14.209 and more than 10 platforms?`

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

CREATE TABLE "references" (
  "rank" real,
  "railway_station" text,
  "annual_entry_exit_millions_2011_12" real,
  "annual_interchanges_millions_2011_12" real,
  "total_passengers_millions_2011_12" real,
  "location" text,
  "number_of_platforms" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the average annual interchange for a rank over 26 in liverpool with an annual entry/exit less than 14.209 and more than 10 platforms?`:
```sql
                SELECT AVG("annual_interchanges_millions_2011_12") FROM "references" WHERE "rank">26 AND "location"='liverpool' AND "annual_entry_exit_millions_2011_12"<14.209 AND "number_of_platforms">10;
```
## Task
Generate a SQL query to answer the following question:
`What's the highest annual interchange for wimbledon railway station?`

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

CREATE TABLE "references" (
  "rank" real,
  "railway_station" text,
  "annual_entry_exit_millions_2011_12" real,
  "annual_interchanges_millions_2011_12" real,
  "total_passengers_millions_2011_12" real,
  "location" text,
  "number_of_platforms" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the highest annual interchange for wimbledon railway station?`:
```sql
                SELECT MAX("annual_interchanges_millions_2011_12") FROM "references" WHERE "railway_station"='wimbledon';
```
## Task
Generate a SQL query to answer the following question:
`What's the lowest number of total passengers (millions) for an annual entry/exit of 36.609?`

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

CREATE TABLE "references" (
  "rank" real,
  "railway_station" text,
  "annual_entry_exit_millions_2011_12" real,
  "annual_interchanges_millions_2011_12" real,
  "total_passengers_millions_2011_12" real,
  "location" text,
  "number_of_platforms" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the lowest number of total passengers (millions) for an annual entry/exit of 36.609?`:
```sql
                SELECT MIN("total_passengers_millions_2011_12") FROM "references" WHERE "annual_entry_exit_millions_2011_12"=36.609;
```
## Task
Generate a SQL query to answer the following question:
`What rank has an annual interchange less than 1.99 million, an annual entry/exit less than 13.835 million, and more than 13.772 million total passengers?`

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

CREATE TABLE "references" (
  "rank" real,
  "railway_station" text,
  "annual_entry_exit_millions_2011_12" real,
  "annual_interchanges_millions_2011_12" real,
  "total_passengers_millions_2011_12" real,
  "location" text,
  "number_of_platforms" real
);
### SQL
Given the database schema, here is the SQL query that answers `What rank has an annual interchange less than 1.99 million, an annual entry/exit less than 13.835 million, and more than 13.772 million total passengers?`:
```sql
                SELECT "rank" FROM "references" WHERE "annual_interchanges_millions_2011_12"<1.99 AND "annual_entry_exit_millions_2011_12"<13.835 AND "total_passengers_millions_2011_12">13.772;
```
## Task
Generate a SQL query to answer the following question:
`How many ranks are in liverpool with more than 3 platforms and an annual interchange less than 0.778 million?`

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

CREATE TABLE "references" (
  "rank" real,
  "railway_station" text,
  "annual_entry_exit_millions_2011_12" real,
  "annual_interchanges_millions_2011_12" real,
  "total_passengers_millions_2011_12" real,
  "location" text,
  "number_of_platforms" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many ranks are in liverpool with more than 3 platforms and an annual interchange less than 0.778 million?`:
```sql
                SELECT COUNT("rank") FROM "references" WHERE "location"='liverpool' AND "number_of_platforms">3 AND "annual_interchanges_millions_2011_12"<0.778;
```
## Task
Generate a SQL query to answer the following question:
`Which Number of households has Per capita income of $21,571, and a Population smaller than 9,783?`

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

CREATE TABLE "minnesota_counties_ranked_by_per_capita_" (
  "county" text,
  "per_capita_income" text,
  "median_household_income" text,
  "median_family_income" text,
  "population" real,
  "number_of_households" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Number of households has Per capita income of $21,571, and a Population smaller than 9,783?`:
```sql
                SELECT AVG("number_of_households") FROM "minnesota_counties_ranked_by_per_capita_" WHERE "per_capita_income"='$21,571' AND "population"<'9,783';
```
## Task
Generate a SQL query to answer the following question:
`Which Number of households has a County of cook, and Population smaller than 5,176?`

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

CREATE TABLE "minnesota_counties_ranked_by_per_capita_" (
  "county" text,
  "per_capita_income" text,
  "median_household_income" text,
  "median_family_income" text,
  "population" real,
  "number_of_households" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Number of households has a County of cook, and Population smaller than 5,176?`:
```sql
                SELECT AVG("number_of_households") FROM "minnesota_counties_ranked_by_per_capita_" WHERE "county"='cook' AND "population"<'5,176';
```
## Task
Generate a SQL query to answer the following question:
`What Per capita income has a Median family income of $50,755?`

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

CREATE TABLE "minnesota_counties_ranked_by_per_capita_" (
  "county" text,
  "per_capita_income" text,
  "median_household_income" text,
  "median_family_income" text,
  "population" real,
  "number_of_households" real
);
### SQL
Given the database schema, here is the SQL query that answers `What Per capita income has a Median family income of $50,755?`:
```sql
                SELECT "per_capita_income" FROM "minnesota_counties_ranked_by_per_capita_" WHERE "median_family_income"='$50,755';
```
## Task
Generate a SQL query to answer the following question:
`What Number of households have a Median family income of $58,491?`

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

CREATE TABLE "minnesota_counties_ranked_by_per_capita_" (
  "county" text,
  "per_capita_income" text,
  "median_household_income" text,
  "median_family_income" text,
  "population" real,
  "number_of_households" real
);
### SQL
Given the database schema, here is the SQL query that answers `What Number of households have a Median family income of $58,491?`:
```sql
                SELECT "number_of_households" FROM "minnesota_counties_ranked_by_per_capita_" WHERE "median_family_income"='$58,491';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the golfer representing Scotland?`

### 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 was the score of the golfer representing Scotland?`:
```sql
                SELECT "score" FROM "second_round" WHERE "country"='scotland';
```
## Task
Generate a SQL query to answer the following question:
`What was the to par score of the golfer that had a score of 68-70=138?`

### 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 was the to par score of the golfer that had a score of 68-70=138?`:
```sql
                SELECT "to_par" FROM "second_round" WHERE "score"='68-70=138';
```
## Task
Generate a SQL query to answer the following question:
`Which golfer had a score of 69-71=140?`

### 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 `Which golfer had a score of 69-71=140?`:
```sql
                SELECT "player" FROM "second_round" WHERE "score"='69-71=140';
```
## Task
Generate a SQL query to answer the following question:
`Which country is t3 finisher billy mayfair from?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which country is t3 finisher billy mayfair from?`:
```sql
                SELECT "country" FROM "final_round" WHERE "place"='t3' AND "player"='billy mayfair';
```
## Task
Generate a SQL query to answer the following question:
`Which Country has a Player of jodie mudd?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Country has a Player of jodie mudd?`:
```sql
                SELECT "country" FROM "final_round" WHERE "player"='jodie mudd';
```
## Task
Generate a SQL query to answer the following question:
`Which Money (£) has a Player of jodie mudd?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Money (£) has a Player of jodie mudd?`:
```sql
                SELECT COUNT("money") FROM "final_round" WHERE "player"='jodie mudd';
```
## Task
Generate a SQL query to answer the following question:
`What is the total Money (£) of Player of nick faldo?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total Money (£) of Player of nick faldo?`:
```sql
                SELECT SUM("money") FROM "final_round" WHERE "player"='nick faldo';
```
## Task
Generate a SQL query to answer the following question:
`What is the total Money (£) with a Place of t6, and a Player of ian baker-finch?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total Money (£) with a Place of t6, and a Player of ian baker-finch?`:
```sql
                SELECT COUNT("money") FROM "final_round" WHERE "place"='t6' AND "player"='ian baker-finch';
```
## Task
Generate a SQL query to answer the following question:
`What position was the team who had less then 63 goals against and less than 6 losses?`

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

CREATE TABLE "first_division_final_table" (
  "position" real,
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" text,
  "points_1" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position was the team who had less then 63 goals against and less than 6 losses?`:
```sql
                SELECT AVG("position") FROM "first_division_final_table" WHERE "goals_against"<63 AND "lost"<6;
```
## Task
Generate a SQL query to answer the following question:
`How many times did the team lose who had 1 of 37 points and less than 60 goals against?`

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

CREATE TABLE "first_division_final_table" (
  "position" real,
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" text,
  "points_1" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times did the team lose who had 1 of 37 points and less than 60 goals against?`:
```sql
                SELECT MIN("lost") FROM "first_division_final_table" WHERE "points_1"='37' AND "goals_against"<60;
```
## Task
Generate a SQL query to answer the following question:
`How many times did the team lose who had a goal difference of +2, 52 goals for, and less than 9 draws?`

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

CREATE TABLE "first_division_final_table" (
  "position" real,
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" text,
  "points_1" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times did the team lose who had a goal difference of +2, 52 goals for, and less than 9 draws?`:
```sql
                SELECT MIN("lost") FROM "first_division_final_table" WHERE "goal_difference"='+2' AND "goals_for"=52 AND "drawn"<9;
```
## Task
Generate a SQL query to answer the following question:
`How many draws did clitheroe have when their position was less than 12 and they lost less than 4 times?`

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

CREATE TABLE "first_division_final_table" (
  "position" real,
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" text,
  "points_1" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many draws did clitheroe have when their position was less than 12 and they lost less than 4 times?`:
```sql
                SELECT SUM("drawn") FROM "first_division_final_table" WHERE "position"<12 AND "team"='clitheroe' AND "lost">4;
```
## Task
Generate a SQL query to answer the following question:
`What is the reserved for (ST/ST/None) when it was Uklana?`

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

CREATE TABLE "assembly_segments" (
  "constituency_number" text,
  "name" text,
  "reserved_for_sc_st_none" text,
  "district" text,
  "number_of_electorates_2009" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the reserved for (ST/ST/None) when it was Uklana?`:
```sql
                SELECT "reserved_for_sc_st_none" FROM "assembly_segments" WHERE "name"='uklana';
```
## Task
Generate a SQL query to answer the following question:
`Bhiwani district have what constituency number?`

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

CREATE TABLE "assembly_segments" (
  "constituency_number" text,
  "name" text,
  "reserved_for_sc_st_none" text,
  "district" text,
  "number_of_electorates_2009" real
);
### SQL
Given the database schema, here is the SQL query that answers `Bhiwani district have what constituency number?`:
```sql
                SELECT "constituency_number" FROM "assembly_segments" WHERE "district"='bhiwani';
```
## Task
Generate a SQL query to answer the following question:
`What is the reserved for (SC/ST/None) when number of electorates (2009) is larger than 101,595, and constituency is 49?`

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

CREATE TABLE "assembly_segments" (
  "constituency_number" text,
  "name" text,
  "reserved_for_sc_st_none" text,
  "district" text,
  "number_of_electorates_2009" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the reserved for (SC/ST/None) when number of electorates (2009) is larger than 101,595, and constituency is 49?`:
```sql
                SELECT "reserved_for_sc_st_none" FROM "assembly_segments" WHERE "number_of_electorates_2009">'101,595' AND "constituency_number"='49';
```
## Task
Generate a SQL query to answer the following question:
`What is the constituency number with electorates (2009) number larger than 152,958?`

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

CREATE TABLE "assembly_segments" (
  "constituency_number" text,
  "name" text,
  "reserved_for_sc_st_none" text,
  "district" text,
  "number_of_electorates_2009" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the constituency number with electorates (2009) number larger than 152,958?`:
```sql
                SELECT "constituency_number" FROM "assembly_segments" WHERE "number_of_electorates_2009">'152,958';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the performance by Jatin Shah and co-contestant is Shalini Chandran?`

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

CREATE TABLE "week_4_july_30_and_31_2008" (
  "main_contestant" text,
  "co_contestant_yaar_vs_pyaar" text,
  "date_performed" text,
  "scores_by_each_individual_judge" text,
  "total_score_week" text,
  "position" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the performance by Jatin Shah and co-contestant is Shalini Chandran?`:
```sql
                SELECT "date_performed" FROM "week_4_july_30_and_31_2008" WHERE "main_contestant"='jatin shah' AND "co_contestant_yaar_vs_pyaar"='shalini chandran';
```