cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the L3 cache for the processor having a speed of 2.93 GHz?`

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

CREATE TABLE "3500_series_bloomfield" (
  "model" text,
  "speed_g_hz" text,
  "l3_cache_mb" real,
  "qpi_speed_gt_s" text,
  "ddr3_clock_m_hz" real,
  "tdp_w" real,
  "cores" real,
  "threads" real,
  "turbo_boost" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the L3 cache for the processor having a speed of 2.93 GHz?`:
```sql
                SELECT "l3_cache_mb" FROM "3500_series_bloomfield" WHERE "speed_g_hz"='2.93';
```
## Task
Generate a SQL query to answer the following question:
`How many entries have a speed of exactly 2.53 GHz?`

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

CREATE TABLE "3500_series_bloomfield" (
  "model" text,
  "speed_g_hz" text,
  "l3_cache_mb" real,
  "qpi_speed_gt_s" text,
  "ddr3_clock_m_hz" real,
  "tdp_w" real,
  "cores" real,
  "threads" real,
  "turbo_boost" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many entries have a speed of exactly 2.53 GHz?`:
```sql
                SELECT COUNT("cores") FROM "3500_series_bloomfield" WHERE "speed_g_hz"='2.53';
```
## Task
Generate a SQL query to answer the following question:
`What is the speed of the model whose number is W3540?`

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

CREATE TABLE "3500_series_bloomfield" (
  "model" text,
  "speed_g_hz" text,
  "l3_cache_mb" real,
  "qpi_speed_gt_s" text,
  "ddr3_clock_m_hz" real,
  "tdp_w" real,
  "cores" real,
  "threads" real,
  "turbo_boost" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the speed of the model whose number is W3540?`:
```sql
                SELECT "speed_g_hz" FROM "3500_series_bloomfield" WHERE "model"='W3540';
```
## Task
Generate a SQL query to answer the following question:
`What was the Weds 25 Aug time for the driver whose Aug 27 time was 22' 23.97 101.065mph?`

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

CREATE TABLE "2010_post_classic_senior_class_practice_" (
  "rank" real,
  "rider" text,
  "sat_21_aug" text,
  "mon_23_aug" text,
  "tues_24_aug" text,
  "wed_25_aug" text,
  "thurs_26_aug" text,
  "fri_27_aug" text,
  "sat_28_aug" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Weds 25 Aug time for the driver whose Aug 27 time was 22' 23.97 101.065mph?`:
```sql
                SELECT "wed_25_aug" FROM "2010_post_classic_senior_class_practice_" WHERE "fri_27_aug"='22'' 23.97 101.065mph';
```
## Task
Generate a SQL query to answer the following question:
`What was the Sat 21 Aug time for the driver whose Thurs 26 Aug time was 20' 56.01 108.143mph?`

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

CREATE TABLE "2010_post_classic_senior_class_practice_" (
  "rank" real,
  "rider" text,
  "sat_21_aug" text,
  "mon_23_aug" text,
  "tues_24_aug" text,
  "wed_25_aug" text,
  "thurs_26_aug" text,
  "fri_27_aug" text,
  "sat_28_aug" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Sat 21 Aug time for the driver whose Thurs 26 Aug time was 20' 56.01 108.143mph?`:
```sql
                SELECT "sat_21_aug" FROM "2010_post_classic_senior_class_practice_" WHERE "thurs_26_aug"='20'' 56.01 108.143mph';
```
## Task
Generate a SQL query to answer the following question:
`What was the Sat 21 Aug time for the rider whose Tues 24 Aug time was 20' 38.40 109.680mph?`

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

CREATE TABLE "2010_post_classic_senior_class_practice_" (
  "rank" real,
  "rider" text,
  "sat_21_aug" text,
  "mon_23_aug" text,
  "tues_24_aug" text,
  "wed_25_aug" text,
  "thurs_26_aug" text,
  "fri_27_aug" text,
  "sat_28_aug" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Sat 21 Aug time for the rider whose Tues 24 Aug time was 20' 38.40 109.680mph?`:
```sql
                SELECT "sat_21_aug" FROM "2010_post_classic_senior_class_practice_" WHERE "tues_24_aug"='20'' 38.40 109.680mph';
```
## Task
Generate a SQL query to answer the following question:
`Name the area for population of 53542`

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

CREATE TABLE "political_divisions" (
  "city_municipality" text,
  "no_of_s_barangay" real,
  "population_2010" real,
  "area_km" text,
  "pop_density_per_km" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the area for population of 53542`:
```sql
                SELECT "area_km" FROM "political_divisions" WHERE "population_2010"=53542;
```
## Task
Generate a SQL query to answer the following question:
`Name the number of barangay for 205.4 density`

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

CREATE TABLE "political_divisions" (
  "city_municipality" text,
  "no_of_s_barangay" real,
  "population_2010" real,
  "area_km" text,
  "pop_density_per_km" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of barangay for 205.4 density`:
```sql
                SELECT "no_of_s_barangay" FROM "political_divisions" WHERE "pop_density_per_km"='205.4';
```
## Task
Generate a SQL query to answer the following question:
`How many different FSB are there for the 7140N model?`

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

CREATE TABLE "7100_series_tulsa" (
  "model" text,
  "speed_g_hz" text,
  "l2_cache_mb" real,
  "l3_cache_mb" real,
  "fsb_m_hz" real,
  "tdp_w" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many different FSB are there for the 7140N model?`:
```sql
                SELECT COUNT("fsb_m_hz") FROM "7100_series_tulsa" WHERE "model"='7140N';
```
## Task
Generate a SQL query to answer the following question:
`How many different L2 cache numbers are there for the 7130M model?`

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

CREATE TABLE "7100_series_tulsa" (
  "model" text,
  "speed_g_hz" text,
  "l2_cache_mb" real,
  "l3_cache_mb" real,
  "fsb_m_hz" real,
  "tdp_w" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many different L2 cache numbers are there for the 7130M model?`:
```sql
                SELECT COUNT("l2_cache_mb") FROM "7100_series_tulsa" WHERE "model"='7130M';
```
## Task
Generate a SQL query to answer the following question:
`What's the maximal L3 cache for any of the models given?`

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

CREATE TABLE "7100_series_tulsa" (
  "model" text,
  "speed_g_hz" text,
  "l2_cache_mb" real,
  "l3_cache_mb" real,
  "fsb_m_hz" real,
  "tdp_w" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the maximal L3 cache for any of the models given?`:
```sql
                SELECT MAX("l2_cache_mb") FROM "7100_series_tulsa";
```
## Task
Generate a SQL query to answer the following question:
`What's the TDP for the 7130N model?`

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

CREATE TABLE "7100_series_tulsa" (
  "model" text,
  "speed_g_hz" text,
  "l2_cache_mb" real,
  "l3_cache_mb" real,
  "fsb_m_hz" real,
  "tdp_w" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the TDP for the 7130N model?`:
```sql
                SELECT MIN("tdp_w") FROM "7100_series_tulsa" WHERE "model"='7130N';
```
## Task
Generate a SQL query to answer the following question:
`What's the L2 cache for the 7140N model?`

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

CREATE TABLE "7100_series_tulsa" (
  "model" text,
  "speed_g_hz" text,
  "l2_cache_mb" real,
  "l3_cache_mb" real,
  "fsb_m_hz" real,
  "tdp_w" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the L2 cache for the 7140N model?`:
```sql
                SELECT "l2_cache_mb" FROM "7100_series_tulsa" WHERE "model"='7140N';
```
## Task
Generate a SQL query to answer the following question:
`what is the cfl team where college is waterloo?`

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

CREATE TABLE "round_four" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the cfl team where college is waterloo?`:
```sql
                SELECT COUNT("cfl_team") FROM "round_four" WHERE "college"='Waterloo';
```
## Task
Generate a SQL query to answer the following question:
`What college did Jim Bennett attend?`

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

CREATE TABLE "round_one" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What college did Jim Bennett attend?`:
```sql
                SELECT "college" FROM "round_one" WHERE "player"='Jim Bennett';
```
## Task
Generate a SQL query to answer the following question:
`What CFL Team was Barry Jamieson a part of?`

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

CREATE TABLE "round_one" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What CFL Team was Barry Jamieson a part of?`:
```sql
                SELECT "cfl_team" FROM "round_one" WHERE "player"='Barry Jamieson';
```
## Task
Generate a SQL query to answer the following question:
`What college did the player who played DE go to?`

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

CREATE TABLE "round_one" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What college did the player who played DE go to?`:
```sql
                SELECT "college" FROM "round_one" WHERE "position"='DE';
```
## Task
Generate a SQL query to answer the following question:
`What was Barry Jamieson's pick number?`

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

CREATE TABLE "round_one" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was Barry Jamieson's pick number?`:
```sql
                SELECT MAX("pick_num") FROM "round_one" WHERE "player"='Barry Jamieson';
```
## Task
Generate a SQL query to answer the following question:
`What college did Bob Larose attend?`

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

CREATE TABLE "round_one" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What college did Bob Larose attend?`:
```sql
                SELECT "college" FROM "round_one" WHERE "player"='Bob LaRose';
```
## Task
Generate a SQL query to answer the following question:
`where college is british columbia  what are all the player`

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

CREATE TABLE "round_two" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `where college is british columbia  what are all the player`:
```sql
                SELECT "player" FROM "round_two" WHERE "college"='British Columbia';
```
## Task
Generate a SQL query to answer the following question:
` where college is st. francis xavier what are all the pick #`

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

CREATE TABLE "round_two" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers ` where college is st. francis xavier what are all the pick #`:
```sql
                SELECT "pick_num" FROM "round_two" WHERE "college"='St. Francis Xavier';
```
## Task
Generate a SQL query to answer the following question:
`player is jim henshall what are all the position`

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

CREATE TABLE "round_two" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `player is jim henshall what are all the position`:
```sql
                SELECT "position" FROM "round_two" WHERE "player"='Jim Henshall';
```
## Task
Generate a SQL query to answer the following question:
`where cfl team is edmonton (2) what are all the position`

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

CREATE TABLE "round_two" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `where cfl team is edmonton (2) what are all the position`:
```sql
                SELECT "position" FROM "round_two" WHERE "cfl_team"='Edmonton (2)';
```
## Task
Generate a SQL query to answer the following question:
`where cfl team is winnipeg (3) via hamilton what are all the player`

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

CREATE TABLE "round_two" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `where cfl team is winnipeg (3) via hamilton what are all the player`:
```sql
                SELECT "player" FROM "round_two" WHERE "cfl_team"='Winnipeg (3) via Hamilton';
```
## Task
Generate a SQL query to answer the following question:
`How many CFL teams drafted someone from mount allison college?`

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

CREATE TABLE "round_three" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many CFL teams drafted someone from mount allison college?`:
```sql
                SELECT COUNT("cfl_team") FROM "round_three" WHERE "college"='Mount Allison';
```
## Task
Generate a SQL query to answer the following question:
`What player drafted was an OG?`

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

CREATE TABLE "round_three" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What player drafted was an OG?`:
```sql
                SELECT "player" FROM "round_three" WHERE "position"='OG';
```
## Task
Generate a SQL query to answer the following question:
`What is the position of the player bill simmons?`

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

CREATE TABLE "round_seven" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the position of the player bill simmons?`:
```sql
                SELECT "position" FROM "round_seven" WHERE "player"='Bill Simmons';
```
## Task
Generate a SQL query to answer the following question:
`What is the position of cfl team saskatchewan (7)?`

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

CREATE TABLE "round_seven" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the position of cfl team saskatchewan (7)?`:
```sql
                SELECT "position" FROM "round_seven" WHERE "cfl_team"='Saskatchewan (7)';
```
## Task
Generate a SQL query to answer the following question:
`How many times was player brian currie picked?`

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

CREATE TABLE "round_seven" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times was player brian currie picked?`:
```sql
                SELECT COUNT("pick_num") FROM "round_seven" WHERE "player"='Brian Currie';
```
## Task
Generate a SQL query to answer the following question:
`What position was pick # 54?`

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

CREATE TABLE "round_seven" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position was pick # 54?`:
```sql
                SELECT "position" FROM "round_seven" WHERE "pick_num"=54;
```
## Task
Generate a SQL query to answer the following question:
`What is the pick # of cfl team bc lions (7)`

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

CREATE TABLE "round_seven" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the pick # of cfl team bc lions (7)`:
```sql
                SELECT "pick_num" FROM "round_seven" WHERE "cfl_team"='BC Lions (7)';
```
## Task
Generate a SQL query to answer the following question:
`What is the college where player terry moss attended?`

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

CREATE TABLE "round_seven" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the college where player terry moss attended?`:
```sql
                SELECT "college" FROM "round_seven" WHERE "player"='Terry Moss';
```
## Task
Generate a SQL query to answer the following question:
`What is the outgoing manager for the team kasımpaşa?`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the outgoing manager for the team kasımpaşa?`:
```sql
                SELECT "outgoing_manager" FROM "managerial_changes" WHERE "team"='Kasımpaşa';
```
## Task
Generate a SQL query to answer the following question:
`Who is the replaced by when the date of vacancy is 27 december 2010?`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the replaced by when the date of vacancy is 27 december 2010?`:
```sql
                SELECT "replaced_by" FROM "managerial_changes" WHERE "date_of_vacancy"='27 December 2010';
```
## Task
Generate a SQL query to answer the following question:
`What is the manner of departure for the date of appointment 24 may 2010?`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the manner of departure for the date of appointment 24 may 2010?`:
```sql
                SELECT "manner_of_departure" FROM "managerial_changes" WHERE "date_of_appointment"='24 May 2010';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of appointment when the outgoing manager was mustafa denizli?`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of appointment when the outgoing manager was mustafa denizli?`:
```sql
                SELECT "date_of_appointment" FROM "managerial_changes" WHERE "outgoing_manager"='Mustafa Denizli';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of appointment when the date of vacancy is 15 march 2011?`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of appointment when the date of vacancy is 15 march 2011?`:
```sql
                SELECT "date_of_appointment" FROM "managerial_changes" WHERE "date_of_vacancy"='15 March 2011';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest population in which 28.0% are democrat?`

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

CREATE TABLE "table1_27003223_4" (
  "city" text,
  "population" real,
  "registered_voters" text,
  "democratic" text,
  "republican" text,
  "d_r_spread" text,
  "other" text,
  "no_party_preference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest population in which 28.0% are democrat?`:
```sql
                SELECT MIN("population") FROM "table1_27003223_4" WHERE "democratic"='28.0%';
```
## Task
Generate a SQL query to answer the following question:
`what is the percentage of democratic voters in which the registered voters is 67.8%?`

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

CREATE TABLE "table1_27003223_4" (
  "city" text,
  "population" real,
  "registered_voters" text,
  "democratic" text,
  "republican" text,
  "d_r_spread" text,
  "other" text,
  "no_party_preference" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the percentage of democratic voters in which the registered voters is 67.8%?`:
```sql
                SELECT "democratic" FROM "table1_27003223_4" WHERE "registered_voters"='67.8%';
```
## Task
Generate a SQL query to answer the following question:
`What is the percentage of registered voters in which the d-r spread is +10.4%?`

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

CREATE TABLE "table1_27003223_4" (
  "city" text,
  "population" real,
  "registered_voters" text,
  "democratic" text,
  "republican" text,
  "d_r_spread" text,
  "other" text,
  "no_party_preference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the percentage of registered voters in which the d-r spread is +10.4%?`:
```sql
                SELECT "registered_voters" FROM "table1_27003223_4" WHERE "d_r_spread"='+10.4%';
```
## Task
Generate a SQL query to answer the following question:
`What is the percentage of registered voters in which the d-r spread is +14.3%?`

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

CREATE TABLE "table1_27003223_4" (
  "city" text,
  "population" real,
  "registered_voters" text,
  "democratic" text,
  "republican" text,
  "d_r_spread" text,
  "other" text,
  "no_party_preference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the percentage of registered voters in which the d-r spread is +14.3%?`:
```sql
                SELECT "registered_voters" FROM "table1_27003223_4" WHERE "d_r_spread"='+14.3%';
```
## Task
Generate a SQL query to answer the following question:
`What is the percentage of republican voters in which the d-r spread is -14.1%?`

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

CREATE TABLE "table1_27003223_4" (
  "city" text,
  "population" real,
  "registered_voters" text,
  "democratic" text,
  "republican" text,
  "d_r_spread" text,
  "other" text,
  "no_party_preference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the percentage of republican voters in which the d-r spread is -14.1%?`:
```sql
                SELECT "republican" FROM "table1_27003223_4" WHERE "d_r_spread"='-14.1%';
```
## Task
Generate a SQL query to answer the following question:
`What is the percentage of "no party preference" where the democratic percentage is 24.8%?`

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

CREATE TABLE "table1_27003223_4" (
  "city" text,
  "population" real,
  "registered_voters" text,
  "democratic" text,
  "republican" text,
  "d_r_spread" text,
  "other" text,
  "no_party_preference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the percentage of "no party preference" where the democratic percentage is 24.8%?`:
```sql
                SELECT "no_party_preference" FROM "table1_27003223_4" WHERE "democratic"='24.8%';
```
## Task
Generate a SQL query to answer the following question:
`How many trains depart at 17:30?`

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

CREATE TABLE "important_trains_passing_from_kanpur_ana" (
  "train_no" real,
  "train_name" text,
  "arrival" text,
  "departure" text,
  "days" text,
  "platform_no" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many trains depart at 17:30?`:
```sql
                SELECT COUNT("train_no") FROM "important_trains_passing_from_kanpur_ana" WHERE "departure"='17:30';
```
## Task
Generate a SQL query to answer the following question:
`How many trains arrive at 11:00?`

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

CREATE TABLE "important_trains_passing_from_kanpur_ana" (
  "train_no" real,
  "train_name" text,
  "arrival" text,
  "departure" text,
  "days" text,
  "platform_no" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many trains arrive at 11:00?`:
```sql
                SELECT COUNT("train_no") FROM "important_trains_passing_from_kanpur_ana" WHERE "arrival"='11:00';
```
## Task
Generate a SQL query to answer the following question:
`What is the no party preference when the city is murrieta?`

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

CREATE TABLE "table1_27003186_3" (
  "city" text,
  "population" real,
  "registered_voters" text,
  "democratic" text,
  "republican" text,
  "d_r_spread" text,
  "other" text,
  "no_party_preference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the no party preference when the city is murrieta?`:
```sql
                SELECT "no_party_preference" FROM "table1_27003186_3" WHERE "city"='Murrieta';
```
## Task
Generate a SQL query to answer the following question:
`What is the no party preference when other is 10.1%?`

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

CREATE TABLE "table1_27003186_3" (
  "city" text,
  "population" real,
  "registered_voters" text,
  "democratic" text,
  "republican" text,
  "d_r_spread" text,
  "other" text,
  "no_party_preference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the no party preference when other is 10.1%?`:
```sql
                SELECT "no_party_preference" FROM "table1_27003186_3" WHERE "other"='10.1%';
```
## Task
Generate a SQL query to answer the following question:
`What is the no party preference when republican is 45.3%?`

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

CREATE TABLE "table1_27003186_3" (
  "city" text,
  "population" real,
  "registered_voters" text,
  "democratic" text,
  "republican" text,
  "d_r_spread" text,
  "other" text,
  "no_party_preference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the no party preference when republican is 45.3%?`:
```sql
                SELECT "no_party_preference" FROM "table1_27003186_3" WHERE "republican"='45.3%';
```
## Task
Generate a SQL query to answer the following question:
`What is other when no party preference is 19.1%?`

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

CREATE TABLE "table1_27003186_3" (
  "city" text,
  "population" real,
  "registered_voters" text,
  "democratic" text,
  "republican" text,
  "d_r_spread" text,
  "other" text,
  "no_party_preference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is other when no party preference is 19.1%?`:
```sql
                SELECT "other" FROM "table1_27003186_3" WHERE "no_party_preference"='19.1%';
```
## Task
Generate a SQL query to answer the following question:
`What is other when registered voters is 50.7%?`

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

CREATE TABLE "table1_27003186_3" (
  "city" text,
  "population" real,
  "registered_voters" text,
  "democratic" text,
  "republican" text,
  "d_r_spread" text,
  "other" text,
  "no_party_preference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is other when registered voters is 50.7%?`:
```sql
                SELECT "other" FROM "table1_27003186_3" WHERE "registered_voters"='50.7%';
```
## Task
Generate a SQL query to answer the following question:
`What is the district with the incumbent Charlie Norwood?`

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

CREATE TABLE "results" (
  "district" text,
  "incumbent" text,
  "party" text,
  "elected" real,
  "status" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the district with the incumbent Charlie Norwood?`:
```sql
                SELECT "district" FROM "results" WHERE "incumbent"='Charlie Norwood';
```
## Task
Generate a SQL query to answer the following question:
`What is the year elected for incumbent Cynthia Mckinney?`

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

CREATE TABLE "results" (
  "district" text,
  "incumbent" text,
  "party" text,
  "elected" real,
  "status" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the year elected for incumbent Cynthia Mckinney?`:
```sql
                SELECT "elected" FROM "results" WHERE "incumbent"='Cynthia McKinney';
```
## Task
Generate a SQL query to answer the following question:
`How many incumbents were the result of sanford bishop (d) 57% joseph mccormick (r) 43%?`

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

CREATE TABLE "results" (
  "district" text,
  "incumbent" text,
  "party" text,
  "elected" real,
  "status" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many incumbents were the result of sanford bishop (d) 57% joseph mccormick (r) 43%?`:
```sql
                SELECT COUNT("incumbent") FROM "results" WHERE "result"='Sanford Bishop (D) 57% Joseph McCormick (R) 43%';
```
## Task
Generate a SQL query to answer the following question:
`What is the status for district georgia's 10th?`

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

CREATE TABLE "results" (
  "district" text,
  "incumbent" text,
  "party" text,
  "elected" real,
  "status" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the status for district georgia's 10th?`:
```sql
                SELECT "status" FROM "results" WHERE "district"='Georgia''s 10th';
```
## Task
Generate a SQL query to answer the following question:
`What is the result of districk georgia's 1st?`

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

CREATE TABLE "results" (
  "district" text,
  "incumbent" text,
  "party" text,
  "elected" real,
  "status" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result of districk georgia's 1st?`:
```sql
                SELECT "result" FROM "results" WHERE "district"='Georgia''s 1st';
```
## Task
Generate a SQL query to answer the following question:
`What is the district with the result mac collins (r) unopposed?`

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

CREATE TABLE "results" (
  "district" text,
  "incumbent" text,
  "party" text,
  "elected" real,
  "status" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the district with the result mac collins (r) unopposed?`:
```sql
                SELECT "district" FROM "results" WHERE "result"='Mac Collins (R) unopposed';
```
## Task
Generate a SQL query to answer the following question:
`how many times is the production code is 201a?`

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

CREATE TABLE "aaahh_real_monsters_season_2_episodes" (
  "no_in_series" text,
  "no_in_season" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many times is the production code is 201a?`:
```sql
                SELECT COUNT("title") FROM "aaahh_real_monsters_season_2_episodes" WHERE "production_code"='201a';
```
## Task
Generate a SQL query to answer the following question:
`Name the most overall rank for czech republic`

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

CREATE TABLE "list_by_the_world_health_organization_20" (
  "overall_rank" real,
  "country" text,
  "overall_life_expectancy" real,
  "male_life_expectancy" real,
  "male_rank" real,
  "female_life_expectancy" real,
  "female_rank" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most overall rank for czech republic`:
```sql
                SELECT MAX("overall_rank") FROM "list_by_the_world_health_organization_20" WHERE "country"='Czech Republic';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of male rank for fiji`

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

CREATE TABLE "list_by_the_world_health_organization_20" (
  "overall_rank" real,
  "country" text,
  "overall_life_expectancy" real,
  "male_life_expectancy" real,
  "male_rank" real,
  "female_life_expectancy" real,
  "female_rank" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of male rank for fiji`:
```sql
                SELECT COUNT("male_rank") FROM "list_by_the_world_health_organization_20" WHERE "country"='Fiji';
```
## Task
Generate a SQL query to answer the following question:
`Name the most female life expectancy for djibouti`

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

CREATE TABLE "list_by_the_world_health_organization_20" (
  "overall_rank" real,
  "country" text,
  "overall_life_expectancy" real,
  "male_life_expectancy" real,
  "male_rank" real,
  "female_life_expectancy" real,
  "female_rank" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most female life expectancy for djibouti`:
```sql
                SELECT MAX("female_life_expectancy") FROM "list_by_the_world_health_organization_20" WHERE "country"='Djibouti';
```
## Task
Generate a SQL query to answer the following question:
`Name the most female life expectancy for overall rank of 61`

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

CREATE TABLE "list_by_the_world_health_organization_20" (
  "overall_rank" real,
  "country" text,
  "overall_life_expectancy" real,
  "male_life_expectancy" real,
  "male_rank" real,
  "female_life_expectancy" real,
  "female_rank" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most female life expectancy for overall rank of 61`:
```sql
                SELECT MAX("female_life_expectancy") FROM "list_by_the_world_health_organization_20" WHERE "overall_rank"=61;
```
## Task
Generate a SQL query to answer the following question:
`Name the most male life expectancy for pakistan`

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

CREATE TABLE "list_by_the_world_health_organization_20" (
  "overall_rank" real,
  "country" text,
  "overall_life_expectancy" real,
  "male_life_expectancy" real,
  "male_rank" real,
  "female_life_expectancy" real,
  "female_rank" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most male life expectancy for pakistan`:
```sql
                SELECT MAX("male_life_expectancy") FROM "list_by_the_world_health_organization_20" WHERE "country"='Pakistan';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of episode # 10a?`

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

CREATE TABLE "aaahh_real_monsters_season_1_episodes" (
  "no_in_series" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of episode # 10a?`:
```sql
                SELECT "title" FROM "aaahh_real_monsters_season_1_episodes" WHERE "no_in_series"='10a';
```
## Task
Generate a SQL query to answer the following question:
`What is the episode number for "Old Monster"?`

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

CREATE TABLE "aaahh_real_monsters_season_1_episodes" (
  "no_in_series" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the episode number for "Old Monster"?`:
```sql
                SELECT "no_in_series" FROM "aaahh_real_monsters_season_1_episodes" WHERE "title"='\"Old Monster\"';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the episode written by Michael Price?`

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

CREATE TABLE "aaahh_real_monsters_season_1_episodes" (
  "no_in_series" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the episode written by Michael Price?`:
```sql
                SELECT "title" FROM "aaahh_real_monsters_season_1_episodes" WHERE "written_by"='Michael Price';
```
## Task
Generate a SQL query to answer the following question:
`Who directed the episode named "Don't just do it"?`

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

CREATE TABLE "aaahh_real_monsters_season_1_episodes" (
  "no_in_series" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the episode named "Don't just do it"?`:
```sql
                SELECT "directed_by" FROM "aaahh_real_monsters_season_1_episodes" WHERE "title"='\"Don''t Just Do It\"';
```
## Task
Generate a SQL query to answer the following question:
`What was the title for the episode with the production code 404a?`

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

CREATE TABLE "aaahh_real_monsters_season_4_episodes" (
  "no_in_series" text,
  "no_in_season" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the title for the episode with the production code 404a?`:
```sql
                SELECT "title" FROM "aaahh_real_monsters_season_4_episodes" WHERE "production_code"='404a';
```
## Task
Generate a SQL query to answer the following question:
`What is the production code for the episode written by Kat Likkel & Denise Downer?`

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

CREATE TABLE "aaahh_real_monsters_season_4_episodes" (
  "no_in_series" text,
  "no_in_season" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the production code for the episode written by Kat Likkel & Denise Downer?`:
```sql
                SELECT "production_code" FROM "aaahh_real_monsters_season_4_episodes" WHERE "written_by"='Kat Likkel & Denise Downer';
```
## Task
Generate a SQL query to answer the following question:
`Who was the director for the Episode number in season 10a?`

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

CREATE TABLE "aaahh_real_monsters_season_4_episodes" (
  "no_in_series" text,
  "no_in_season" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the director for the Episode number in season 10a?`:
```sql
                SELECT "directed_by" FROM "aaahh_real_monsters_season_4_episodes" WHERE "no_in_season"='10a';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote the episode in the series 46b?`

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

CREATE TABLE "aaahh_real_monsters_season_4_episodes" (
  "no_in_series" text,
  "no_in_season" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote the episode in the series 46b?`:
```sql
                SELECT "written_by" FROM "aaahh_real_monsters_season_4_episodes" WHERE "no_in_series"='46b';
```
## Task
Generate a SQL query to answer the following question:
`What was the production code for the episode titled "Misery date"?`

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

CREATE TABLE "aaahh_real_monsters_season_4_episodes" (
  "no_in_series" text,
  "no_in_season" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the production code for the episode titled "Misery date"?`:
```sql
                SELECT "production_code" FROM "aaahh_real_monsters_season_4_episodes" WHERE "title"='\"Misery Date\"';
```
## Task
Generate a SQL query to answer the following question:
`How many production codes did the episode number in series 46b have?`

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

CREATE TABLE "aaahh_real_monsters_season_4_episodes" (
  "no_in_series" text,
  "no_in_season" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many production codes did the episode number in series 46b have?`:
```sql
                SELECT COUNT("production_code") FROM "aaahh_real_monsters_season_4_episodes" WHERE "no_in_series"='46b';
```
## Task
Generate a SQL query to answer the following question:
`How many viewer data were given for episode "If at First You Don't Succeed, Lie, Lie Again"?`

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

CREATE TABLE "table1_27047554_1" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_in_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many viewer data were given for episode "If at First You Don't Succeed, Lie, Lie Again"?`:
```sql
                SELECT COUNT("u_s_viewers_in_millions") FROM "table1_27047554_1" WHERE "title"='\"If at First You Don''t Succeed, Lie, Lie Again\"';
```
## Task
Generate a SQL query to answer the following question:
`How many directors directed an episode that reached 2.48 million viewers?`

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

CREATE TABLE "table1_27047554_1" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_in_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many directors directed an episode that reached 2.48 million viewers?`:
```sql
                SELECT COUNT("directed_by") FROM "table1_27047554_1" WHERE "u_s_viewers_in_millions"='2.48';
```
## Task
Generate a SQL query to answer the following question:
`What was the original air date of the episode "Keep Your Friends Close"?`

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

CREATE TABLE "table1_27047554_1" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_in_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the original air date of the episode "Keep Your Friends Close"?`:
```sql
                SELECT "original_air_date" FROM "table1_27047554_1" WHERE "title"='\"Keep Your Friends Close\"';
```
## Task
Generate a SQL query to answer the following question:
` Who represents district 41? `

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

CREATE TABLE "members" (
  "district" text,
  "counties_represented" text,
  "delegate" text,
  "party" text,
  "first_elected" real,
  "committee" text
);
### SQL
Given the database schema, here is the SQL query that answers ` Who represents district 41? `:
```sql
                SELECT "delegate" FROM "members" WHERE "district"='41';
```