cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Name the belgium for 26 august 2005 being 24 august 2003`

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

CREATE TABLE "records" (
  "world_record" text,
  "kenenisa_bekele_eth" text,
  "26_17_53" text,
  "bruxelles_belgium" text,
  "26_august_2005" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the belgium for 26 august 2005 being 24 august 2003`:
```sql
                SELECT "bruxelles_belgium" FROM "records" WHERE "26_august_2005"='24 August 2003';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of kenesia for african record`

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

CREATE TABLE "records" (
  "world_record" text,
  "kenenisa_bekele_eth" text,
  "26_17_53" text,
  "bruxelles_belgium" text,
  "26_august_2005" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of kenesia for african record`:
```sql
                SELECT COUNT("kenenisa_bekele_eth") FROM "records" WHERE "world_record"='African record';
```
## Task
Generate a SQL query to answer the following question:
`List the number of runners up when albertina fransisca mailoa won the putri pariwisata contest?`

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

CREATE TABLE "top_5_winners" (
  "year" real,
  "putri_pariwisata_indonesia" text,
  "1st_runner_up" text,
  "2nd_runner_up" text,
  "3rd_runner_up" text,
  "4th_runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `List the number of runners up when albertina fransisca mailoa won the putri pariwisata contest?`:
```sql
                SELECT COUNT("3rd_runner_up") FROM "top_5_winners" WHERE "putri_pariwisata_indonesia"='Albertina Fransisca Mailoa';
```
## Task
Generate a SQL query to answer the following question:
`Who won 2nd place when ratna mariana won 3rd place?`

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

CREATE TABLE "top_5_winners" (
  "year" real,
  "putri_pariwisata_indonesia" text,
  "1st_runner_up" text,
  "2nd_runner_up" text,
  "3rd_runner_up" text,
  "4th_runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won 2nd place when ratna mariana won 3rd place?`:
```sql
                SELECT "1st_runner_up" FROM "top_5_winners" WHERE "2nd_runner_up"='Ratna Mariana';
```
## Task
Generate a SQL query to answer the following question:
`Who won 5th place when jean liatri augustine girsang won 4th place?`

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

CREATE TABLE "top_5_winners" (
  "year" real,
  "putri_pariwisata_indonesia" text,
  "1st_runner_up" text,
  "2nd_runner_up" text,
  "3rd_runner_up" text,
  "4th_runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won 5th place when jean liatri augustine girsang won 4th place?`:
```sql
                SELECT "4th_runner_up" FROM "top_5_winners" WHERE "3rd_runner_up"='Jean Liatri Augustine Girsang';
```
## Task
Generate a SQL query to answer the following question:
`Who won 2nd place when albertina fransisca mailoa was the winner of the putri pariwisata  contest?`

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

CREATE TABLE "top_5_winners" (
  "year" real,
  "putri_pariwisata_indonesia" text,
  "1st_runner_up" text,
  "2nd_runner_up" text,
  "3rd_runner_up" text,
  "4th_runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won 2nd place when albertina fransisca mailoa was the winner of the putri pariwisata  contest?`:
```sql
                SELECT "1st_runner_up" FROM "top_5_winners" WHERE "putri_pariwisata_indonesia"='Albertina Fransisca Mailoa';
```
## Task
Generate a SQL query to answer the following question:
`Who won 4th place when audrie adriana sanova won 3rd place?`

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

CREATE TABLE "top_5_winners" (
  "year" real,
  "putri_pariwisata_indonesia" text,
  "1st_runner_up" text,
  "2nd_runner_up" text,
  "3rd_runner_up" text,
  "4th_runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won 4th place when audrie adriana sanova won 3rd place?`:
```sql
                SELECT "3rd_runner_up" FROM "top_5_winners" WHERE "2nd_runner_up"='Audrie Adriana Sanova';
```
## Task
Generate a SQL query to answer the following question:
`Who won 5th place with olivia franciska won 4th place?`

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

CREATE TABLE "top_5_winners" (
  "year" real,
  "putri_pariwisata_indonesia" text,
  "1st_runner_up" text,
  "2nd_runner_up" text,
  "3rd_runner_up" text,
  "4th_runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won 5th place with olivia franciska won 4th place?`:
```sql
                SELECT "4th_runner_up" FROM "top_5_winners" WHERE "3rd_runner_up"='Olivia Franciska';
```
## Task
Generate a SQL query to answer the following question:
`what is the original air date for production code 216?`

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

CREATE TABLE "table1_24018430_3" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the original air date for production code 216?`:
```sql
                SELECT "original_air_date" FROM "table1_24018430_3" WHERE "production_code"=216;
```
## Task
Generate a SQL query to answer the following question:
`what is writtenand directed by shannon flynn?`

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

CREATE TABLE "table1_24018430_3" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is writtenand directed by shannon flynn?`:
```sql
                SELECT "written_by" FROM "table1_24018430_3" WHERE "directed_by"='Shannon Flynn';
```
## Task
Generate a SQL query to answer the following question:
`what number is us viewers in season 12?`

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

CREATE TABLE "table1_24018430_3" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `what number is us viewers in season 12?`:
```sql
                SELECT "u_s_viewers_millions" FROM "table1_24018430_3" WHERE "no_in_season"=12;
```
## Task
Generate a SQL query to answer the following question:
`What was the population density in km2 for 2011 in the division where area in km2 was 684.37 in 2011? `

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

CREATE TABLE "table1_24027047_1" (
  "administrative_division" text,
  "area_km_2011" text,
  "population_2001_census_adjusted" real,
  "population_2011_census_adjusted" real,
  "population_density_km_2011" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the population density in km2 for 2011 in the division where area in km2 was 684.37 in 2011? `:
```sql
                SELECT "population_density_km_2011" FROM "table1_24027047_1" WHERE "area_km_2011"='684.37';
```
## Task
Generate a SQL query to answer the following question:
`What division had a population density of 8,552.4 km2 in 2011?`

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

CREATE TABLE "table1_24027047_1" (
  "administrative_division" text,
  "area_km_2011" text,
  "population_2001_census_adjusted" real,
  "population_2011_census_adjusted" real,
  "population_density_km_2011" text
);
### SQL
Given the database schema, here is the SQL query that answers `What division had a population density of 8,552.4 km2 in 2011?`:
```sql
                SELECT "administrative_division" FROM "table1_24027047_1" WHERE "population_density_km_2011"='8,552.4';
```
## Task
Generate a SQL query to answer the following question:
`What was the area in km2 in 2011 for the Narsingdi District?`

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

CREATE TABLE "table1_24027047_1" (
  "administrative_division" text,
  "area_km_2011" text,
  "population_2001_census_adjusted" real,
  "population_2011_census_adjusted" real,
  "population_density_km_2011" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the area in km2 in 2011 for the Narsingdi District?`:
```sql
                SELECT "area_km_2011" FROM "table1_24027047_1" WHERE "administrative_division"='Narsingdi District';
```
## Task
Generate a SQL query to answer the following question:
`In what division was there a population density in km2 of 1,604.3 in 2011?`

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

CREATE TABLE "table1_24027047_1" (
  "administrative_division" text,
  "area_km_2011" text,
  "population_2001_census_adjusted" real,
  "population_2011_census_adjusted" real,
  "population_density_km_2011" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what division was there a population density in km2 of 1,604.3 in 2011?`:
```sql
                SELECT "administrative_division" FROM "table1_24027047_1" WHERE "population_density_km_2011"='1,604.3';
```
## Task
Generate a SQL query to answer the following question:
`In what division was there a population density in km2 of 4,491.8 in 2011? `

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

CREATE TABLE "table1_24027047_1" (
  "administrative_division" text,
  "area_km_2011" text,
  "population_2001_census_adjusted" real,
  "population_2011_census_adjusted" real,
  "population_density_km_2011" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what division was there a population density in km2 of 4,491.8 in 2011? `:
```sql
                SELECT "administrative_division" FROM "table1_24027047_1" WHERE "population_density_km_2011"='4,491.8';
```
## Task
Generate a SQL query to answer the following question:
`What's the area coordinator for the municipality with 1715 people living in it in 2010?`

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

CREATE TABLE "political" (
  "municipality" text,
  "no_of_barangays" real,
  "area_coordinator" text,
  "population_2010" real,
  "pop_density_per_km" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the area coordinator for the municipality with 1715 people living in it in 2010?`:
```sql
                SELECT "area_coordinator" FROM "political" WHERE "population_2010"=1715;
```
## Task
Generate a SQL query to answer the following question:
`How many different counts of tue number of Barangays are there for the municipality with 13824 citizens in 2010?`

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

CREATE TABLE "political" (
  "municipality" text,
  "no_of_barangays" real,
  "area_coordinator" text,
  "population_2010" real,
  "pop_density_per_km" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many different counts of tue number of Barangays are there for the municipality with 13824 citizens in 2010?`:
```sql
                SELECT COUNT("no_of_barangays") FROM "political" WHERE "population_2010"=13824;
```
## Task
Generate a SQL query to answer the following question:
`How many Barangays lived in the municipality with area coordinator of 110.95?`

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

CREATE TABLE "political" (
  "municipality" text,
  "no_of_barangays" real,
  "area_coordinator" text,
  "population_2010" real,
  "pop_density_per_km" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many Barangays lived in the municipality with area coordinator of 110.95?`:
```sql
                SELECT "no_of_barangays" FROM "political" WHERE "area_coordinator"='110.95';
```
## Task
Generate a SQL query to answer the following question:
`What circuit had rnd 3?`

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

CREATE TABLE "table1_24037660_2" (
  "rnd" real,
  "circuit" text,
  "lmp_winning_team" text,
  "lmpc_winning_team" text,
  "gt_winning_team" text,
  "gtc_winning_team" text,
  "results" text
);
### SQL
Given the database schema, here is the SQL query that answers `What circuit had rnd 3?`:
```sql
                SELECT "circuit" FROM "table1_24037660_2" WHERE "rnd"=3;
```
## Task
Generate a SQL query to answer the following question:
`How many circuits had a winning team of #1 patrón highcroft racing ang gtc winning team #81 alex job racing ?`

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

CREATE TABLE "table1_24037660_2" (
  "rnd" real,
  "circuit" text,
  "lmp_winning_team" text,
  "lmpc_winning_team" text,
  "gt_winning_team" text,
  "gtc_winning_team" text,
  "results" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many circuits had a winning team of #1 patrón highcroft racing ang gtc winning team #81 alex job racing ?`:
```sql
                SELECT COUNT("circuit") FROM "table1_24037660_2" WHERE "lmp_winning_team"='#1 Patrón Highcroft Racing' AND "gtc_winning_team"='#81 Alex Job Racing';
```
## Task
Generate a SQL query to answer the following question:
`What was the winning team lmpc in rnd 3?`

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

CREATE TABLE "table1_24037660_2" (
  "rnd" real,
  "circuit" text,
  "lmp_winning_team" text,
  "lmpc_winning_team" text,
  "gt_winning_team" text,
  "gtc_winning_team" text,
  "results" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the winning team lmpc in rnd 3?`:
```sql
                SELECT "lmpc_winning_team" FROM "table1_24037660_2" WHERE "rnd"=3;
```
## Task
Generate a SQL query to answer the following question:
`What was the gtc winning team when lmp winning team was #8 drayson racing?`

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

CREATE TABLE "table1_24037660_2" (
  "rnd" real,
  "circuit" text,
  "lmp_winning_team" text,
  "lmpc_winning_team" text,
  "gt_winning_team" text,
  "gtc_winning_team" text,
  "results" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the gtc winning team when lmp winning team was #8 drayson racing?`:
```sql
                SELECT "gtc_winning_team" FROM "table1_24037660_2" WHERE "lmp_winning_team"='#8 Drayson Racing';
```
## Task
Generate a SQL query to answer the following question:
`Who is the captain in Chaguaramas?`

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

CREATE TABLE "team_summaries" (
  "team" text,
  "location" text,
  "stadium" text,
  "capacity" real,
  "manager" text,
  "captain" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the captain in Chaguaramas?`:
```sql
                SELECT "captain" FROM "team_summaries" WHERE "location"='Chaguaramas';
```
## Task
Generate a SQL query to answer the following question:
`What is the minimum capacity for Sangre Grande Ground?`

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

CREATE TABLE "team_summaries" (
  "team" text,
  "location" text,
  "stadium" text,
  "capacity" real,
  "manager" text,
  "captain" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the minimum capacity for Sangre Grande Ground?`:
```sql
                SELECT MIN("capacity") FROM "team_summaries" WHERE "stadium"='Sangre Grande Ground';
```
## Task
Generate a SQL query to answer the following question:
`What is the capacity for Sangre Grande Ground, home of the North East Stars?`

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

CREATE TABLE "team_summaries" (
  "team" text,
  "location" text,
  "stadium" text,
  "capacity" real,
  "manager" text,
  "captain" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the capacity for Sangre Grande Ground, home of the North East Stars?`:
```sql
                SELECT COUNT("capacity") FROM "team_summaries" WHERE "team"='North East Stars';
```
## Task
Generate a SQL query to answer the following question:
`San Juan Jabloteh calls which stadium home?`

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

CREATE TABLE "team_summaries" (
  "team" text,
  "location" text,
  "stadium" text,
  "capacity" real,
  "manager" text,
  "captain" text
);
### SQL
Given the database schema, here is the SQL query that answers `San Juan Jabloteh calls which stadium home?`:
```sql
                SELECT "stadium" FROM "team_summaries" WHERE "team"='San Juan Jabloteh';
```
## Task
Generate a SQL query to answer the following question:
`What was the innings when caught was 20?`

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

CREATE TABLE "most_dismissals_in_test_career_wicketkee" (
  "rank" real,
  "dismissals" real,
  "player" text,
  "caught" real,
  "stumped" real,
  "matches" real,
  "innings" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the innings when caught was 20?`:
```sql
                SELECT "innings" FROM "most_dismissals_in_test_career_wicketkee" WHERE "caught"=20;
```
## Task
Generate a SQL query to answer the following question:
`What ist he matches where the player is ms dhoni?`

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

CREATE TABLE "most_dismissals_in_test_career_wicketkee" (
  "rank" real,
  "dismissals" real,
  "player" text,
  "caught" real,
  "stumped" real,
  "matches" real,
  "innings" real
);
### SQL
Given the database schema, here is the SQL query that answers `What ist he matches where the player is ms dhoni?`:
```sql
                SELECT "matches" FROM "most_dismissals_in_test_career_wicketkee" WHERE "player"='MS Dhoni';
```
## Task
Generate a SQL query to answer the following question:
`What is stumped when inning is 143?`

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

CREATE TABLE "most_dismissals_in_test_career_wicketkee" (
  "rank" real,
  "dismissals" real,
  "player" text,
  "caught" real,
  "stumped" real,
  "matches" real,
  "innings" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is stumped when inning is 143?`:
```sql
                SELECT "stumped" FROM "most_dismissals_in_test_career_wicketkee" WHERE "innings"=143;
```
## Task
Generate a SQL query to answer the following question:
`How many matches were 44?`

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

CREATE TABLE "most_dismissals_in_test_career_wicketkee" (
  "rank" real,
  "dismissals" real,
  "player" text,
  "caught" real,
  "stumped" real,
  "matches" real,
  "innings" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many matches were 44?`:
```sql
                SELECT COUNT("dismissals") FROM "most_dismissals_in_test_career_wicketkee" WHERE "matches"=44;
```
## Task
Generate a SQL query to answer the following question:
`What is stumped when matches is 14?`

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

CREATE TABLE "most_dismissals_in_test_career_wicketkee" (
  "rank" real,
  "dismissals" real,
  "player" text,
  "caught" real,
  "stumped" real,
  "matches" real,
  "innings" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is stumped when matches is 14?`:
```sql
                SELECT MIN("stumped") FROM "most_dismissals_in_test_career_wicketkee" WHERE "matches"=14;
```
## Task
Generate a SQL query to answer the following question:
`Name the crownded for 17 september 1025`

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

CREATE TABLE "capetian_associate_kings" (
  "co_king" text,
  "relationship_to_monarch" text,
  "crowned" text,
  "co_kingship_ceased" text,
  "reason" text,
  "monarch" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the crownded for 17 september 1025`:
```sql
                SELECT "crowned" FROM "capetian_associate_kings" WHERE "co_kingship_ceased"='17 September 1025';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of monarchs for 23 may 1059 crowned`

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

CREATE TABLE "capetian_associate_kings" (
  "co_king" text,
  "relationship_to_monarch" text,
  "crowned" text,
  "co_kingship_ceased" text,
  "reason" text,
  "monarch" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of monarchs for 23 may 1059 crowned`:
```sql
                SELECT COUNT("monarch") FROM "capetian_associate_kings" WHERE "crowned"='23 May 1059';
```
## Task
Generate a SQL query to answer the following question:
`Name the reason for 20 july 1031`

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

CREATE TABLE "capetian_associate_kings" (
  "co_king" text,
  "relationship_to_monarch" text,
  "crowned" text,
  "co_kingship_ceased" text,
  "reason" text,
  "monarch" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the reason for 20 july 1031`:
```sql
                SELECT "reason" FROM "capetian_associate_kings" WHERE "co_kingship_ceased"='20 July 1031';
```
## Task
Generate a SQL query to answer the following question:
`Name the monarch for 13 october 1131`

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

CREATE TABLE "capetian_associate_kings" (
  "co_king" text,
  "relationship_to_monarch" text,
  "crowned" text,
  "co_kingship_ceased" text,
  "reason" text,
  "monarch" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the monarch for 13 october 1131`:
```sql
                SELECT "monarch" FROM "capetian_associate_kings" WHERE "co_kingship_ceased"='13 October 1131';
```
## Task
Generate a SQL query to answer the following question:
`What was the playoff result where the league did not qualify in the Open Cup in 1998?`

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

CREATE TABLE "year_by_year" (
  "year" real,
  "division" real,
  "league" text,
  "regular_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the playoff result where the league did not qualify in the Open Cup in 1998?`:
```sql
                SELECT "playoffs" FROM "year_by_year" WHERE "open_cup"='Did not qualify' AND "year"=1998;
```
## Task
Generate a SQL query to answer the following question:
`What was the earliest year where USL PDL played in 3rd, Southeast season?`

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

CREATE TABLE "year_by_year" (
  "year" real,
  "division" real,
  "league" text,
  "regular_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the earliest year where USL PDL played in 3rd, Southeast season?`:
```sql
                SELECT MIN("year") FROM "year_by_year" WHERE "regular_season"='3rd, Southeast' AND "league"='USL PDL';
```
## Task
Generate a SQL query to answer the following question:
`What was the Open Cup results for the year 2003?`

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

CREATE TABLE "year_by_year" (
  "year" real,
  "division" real,
  "league" text,
  "regular_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Open Cup results for the year 2003?`:
```sql
                SELECT "open_cup" FROM "year_by_year" WHERE "year"=2003;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest total for evm votes`

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

CREATE TABLE "results_of_the_2009_indian_general_elect" (
  "sl_no" real,
  "name" text,
  "party_name" text,
  "postal_ballot" real,
  "10_thiruvottiyur" real,
  "11_dr_radhakrishnan_nagar" real,
  "12_perambur_sc" real,
  "13_kolathur_sc" real,
  "16_thiru_vi_ka_nagar" real,
  "17_royapuram" real,
  "total_evm_votes" real,
  "total_votes" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest total for evm votes`:
```sql
                SELECT MAX("total_evm_votes") FROM "results_of_the_2009_indian_general_elect";
```
## Task
Generate a SQL query to answer the following question:
`What is DMK's total number of votes?`

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

CREATE TABLE "results_of_the_2009_indian_general_elect" (
  "sl_no" real,
  "name" text,
  "party_name" text,
  "postal_ballot" real,
  "10_thiruvottiyur" real,
  "11_dr_radhakrishnan_nagar" real,
  "12_perambur_sc" real,
  "13_kolathur_sc" real,
  "16_thiru_vi_ka_nagar" real,
  "17_royapuram" real,
  "total_evm_votes" real,
  "total_votes" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is DMK's total number of votes?`:
```sql
                SELECT "total_votes" FROM "results_of_the_2009_indian_general_elect" WHERE "party_name"='DMK';
```
## Task
Generate a SQL query to answer the following question:
`In what episode did heat 1 take place?`

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

CREATE TABLE "table1_24051050_1" (
  "episode" real,
  "contest" text,
  "original_airdate" text,
  "challengers_female" text,
  "challengers_male" text,
  "events" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what episode did heat 1 take place?`:
```sql
                SELECT "episode" FROM "table1_24051050_1" WHERE "contest"='Heat 1';
```
## Task
Generate a SQL query to answer the following question:
`What events took place in episode 12?`

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

CREATE TABLE "table1_24051050_1" (
  "episode" real,
  "contest" text,
  "original_airdate" text,
  "challengers_female" text,
  "challengers_male" text,
  "events" text
);
### SQL
Given the database schema, here is the SQL query that answers `What events took place in episode 12?`:
```sql
                SELECT "events" FROM "table1_24051050_1" WHERE "episode"=12;
```
## Task
Generate a SQL query to answer the following question:
`Which female challengers featured in episode 28?`

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

CREATE TABLE "table1_24051050_1" (
  "episode" real,
  "contest" text,
  "original_airdate" text,
  "challengers_female" text,
  "challengers_male" text,
  "events" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which female challengers featured in episode 28?`:
```sql
                SELECT "challengers_female" FROM "table1_24051050_1" WHERE "episode"=28;
```
## Task
Generate a SQL query to answer the following question:
`How many players came from Los Angeles?`

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

CREATE TABLE "2009_10_roster" (
  "name" text,
  "number" real,
  "pos" text,
  "height" text,
  "weight" real,
  "year" text,
  "hometown" text,
  "high_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many players came from Los Angeles?`:
```sql
                SELECT COUNT("name") FROM "2009_10_roster" WHERE "hometown"='Los Angeles';
```
## Task
Generate a SQL query to answer the following question:
`What is the height when the player is from Los Angeles?`

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

CREATE TABLE "2009_10_roster" (
  "name" text,
  "number" real,
  "pos" text,
  "height" text,
  "weight" real,
  "year" text,
  "hometown" text,
  "high_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the height when the player is from Los Angeles?`:
```sql
                SELECT "height" FROM "2009_10_roster" WHERE "hometown"='Los Angeles';
```
## Task
Generate a SQL query to answer the following question:
`What is Kammeon Holsey's height?`

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

CREATE TABLE "2009_10_roster" (
  "name" text,
  "number" real,
  "pos" text,
  "height" text,
  "weight" real,
  "year" text,
  "hometown" text,
  "high_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Kammeon Holsey's height?`:
```sql
                SELECT "height" FROM "2009_10_roster" WHERE "name"='Kammeon Holsey';
```
## Task
Generate a SQL query to answer the following question:
`What is the high school of the player number 5?`

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

CREATE TABLE "2009_10_roster" (
  "name" text,
  "number" real,
  "pos" text,
  "height" text,
  "weight" real,
  "year" text,
  "hometown" text,
  "high_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the high school of the player number 5?`:
```sql
                SELECT "high_school" FROM "2009_10_roster" WHERE "number"=5;
```
## Task
Generate a SQL query to answer the following question:
`What is the 12::37.35 when hengelo , netherlands is hengelo, netherlands?`

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

CREATE TABLE "records" (
  "world_record" text,
  "kenenisa_bekele_eth" text,
  "12_37_35" text,
  "hengelo_netherlands" text,
  "31_may_2004" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 12::37.35 when hengelo , netherlands is hengelo, netherlands?`:
```sql
                SELECT "12_37_35" FROM "records" WHERE "hengelo_netherlands"='Hengelo, Netherlands';
```
## Task
Generate a SQL query to answer the following question:
`what is hengelo , netherlands when 31 may 2004 is 8 june 2006?`

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

CREATE TABLE "records" (
  "world_record" text,
  "kenenisa_bekele_eth" text,
  "12_37_35" text,
  "hengelo_netherlands" text,
  "31_may_2004" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is hengelo , netherlands when 31 may 2004 is 8 june 2006?`:
```sql
                SELECT "hengelo_netherlands" FROM "records" WHERE "31_may_2004"='8 June 2006';
```
## Task
Generate a SQL query to answer the following question:
`what is 31 may 2004 when 12:37.35 is 13:19.43?`

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

CREATE TABLE "records" (
  "world_record" text,
  "kenenisa_bekele_eth" text,
  "12_37_35" text,
  "hengelo_netherlands" text,
  "31_may_2004" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is 31 may 2004 when 12:37.35 is 13:19.43?`:
```sql
                SELECT "31_may_2004" FROM "records" WHERE "12_37_35"='13:19.43';
```
## Task
Generate a SQL query to answer the following question:
`How many times is kenenisa bekele ( eth ) is marílson gomes dos santos ( bra )?`

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

CREATE TABLE "records" (
  "world_record" text,
  "kenenisa_bekele_eth" text,
  "12_37_35" text,
  "hengelo_netherlands" text,
  "31_may_2004" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times is kenenisa bekele ( eth ) is marílson gomes dos santos ( bra )?`:
```sql
                SELECT COUNT("world_record") FROM "records" WHERE "kenenisa_bekele_eth"='Marílson Gomes dos Santos ( BRA )';
```
## Task
Generate a SQL query to answer the following question:
`What is every entry for against with opponent Andreas Vinciguerra?`

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

CREATE TABLE "singles_performances_4_2" (
  "edition" text,
  "round" text,
  "date" text,
  "against" text,
  "surface" text,
  "opponent" text,
  "win_lose" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every entry for against with opponent Andreas Vinciguerra?`:
```sql
                SELECT "against" FROM "singles_performances_4_2" WHERE "opponent"='Andreas Vinciguerra';
```
## Task
Generate a SQL query to answer the following question:
`What is every surface against Sweden?`

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

CREATE TABLE "singles_performances_4_2" (
  "edition" text,
  "round" text,
  "date" text,
  "against" text,
  "surface" text,
  "opponent" text,
  "win_lose" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every surface against Sweden?`:
```sql
                SELECT "surface" FROM "singles_performances_4_2" WHERE "against"='Sweden';
```
## Task
Generate a SQL query to answer the following question:
`What is every entry in the win/lose against Sweden?`

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

CREATE TABLE "singles_performances_4_2" (
  "edition" text,
  "round" text,
  "date" text,
  "against" text,
  "surface" text,
  "opponent" text,
  "win_lose" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every entry in the win/lose against Sweden?`:
```sql
                SELECT "win_lose" FROM "singles_performances_4_2" WHERE "against"='Sweden';
```
## Task
Generate a SQL query to answer the following question:
`How many production codes have an original airdate of November 16, 1990?`

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

CREATE TABLE "table1_2409041_3" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many production codes have an original airdate of November 16, 1990?`:
```sql
                SELECT COUNT("production_code") FROM "table1_2409041_3" WHERE "original_air_date"='November 16, 1990';
```
## Task
Generate a SQL query to answer the following question:
`What series number had an original airdate of March 1, 1991?`

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

CREATE TABLE "table1_2409041_3" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What series number had an original airdate of March 1, 1991?`:
```sql
                SELECT MIN("no_in_series") FROM "table1_2409041_3" WHERE "original_air_date"='March 1, 1991';
```
## Task
Generate a SQL query to answer the following question:
`Who directed "Torn Between Two Lovers"?`

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

CREATE TABLE "table1_2409041_3" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed "Torn Between Two Lovers"?`:
```sql
                SELECT "directed_by" FROM "table1_2409041_3" WHERE "title"='\"Torn Between Two Lovers\"';
```
## Task
Generate a SQL query to answer the following question:
`How many production codes were in series 39?`

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

CREATE TABLE "table1_2409041_3" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many production codes were in series 39?`:
```sql
                SELECT COUNT("production_code") FROM "table1_2409041_3" WHERE "no_in_series"=39;
```
## Task
Generate a SQL query to answer the following question:
`Who wrote season 23?`

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

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

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

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

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

CREATE TABLE "table1_2409041_5" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What episode number in the series is "dance to the music"?`:
```sql
                SELECT MIN("no_in_series") FROM "table1_2409041_5" WHERE "title"='\"Dance to the Music\"';
```
## Task
Generate a SQL query to answer the following question:
`What is the production code for the episode that originally aired on January 8, 1993?`

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

CREATE TABLE "table1_2409041_5" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the production code for the episode that originally aired on January 8, 1993?`:
```sql
                SELECT MAX("production_code") FROM "table1_2409041_5" WHERE "original_air_date"='January 8, 1993';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote the episode that originally aired on January 15, 1993?`

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

CREATE TABLE "table1_2409041_5" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote the episode that originally aired on January 15, 1993?`:
```sql
                SELECT "written_by" FROM "table1_2409041_5" WHERE "original_air_date"='January 15, 1993';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of episode number 77 in the series?`

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

CREATE TABLE "table1_2409041_5" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of episode number 77 in the series?`:
```sql
                SELECT "title" FROM "table1_2409041_5" WHERE "no_in_series"=77;
```
## Task
Generate a SQL query to answer the following question:
`When 17 is the number in series who is the director?`

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

CREATE TABLE "table1_2409041_2" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `When 17 is the number in series who is the director?`:
```sql
                SELECT "directed_by" FROM "table1_2409041_2" WHERE "no_in_series"=17;
```
## Task
Generate a SQL query to answer the following question:
`When 21 is the number in series what is the air date?`

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

CREATE TABLE "table1_2409041_2" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `When 21 is the number in series what is the air date?`:
```sql
                SELECT "original_air_date" FROM "table1_2409041_2" WHERE "no_in_series"=21;
```
## Task
Generate a SQL query to answer the following question:
`When 446004 is the production code who are the writers?`

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

CREATE TABLE "table1_2409041_2" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `When 446004 is the production code who are the writers?`:
```sql
                SELECT "written_by" FROM "table1_2409041_2" WHERE "production_code"=446004;
```
## Task
Generate a SQL query to answer the following question:
`When "body damage" is the title how many air dates are there?`

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

CREATE TABLE "table1_2409041_2" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `When "body damage" is the title how many air dates are there?`:
```sql
                SELECT COUNT("original_air_date") FROM "table1_2409041_2" WHERE "title"='\"Body Damage\"';
```
## Task
Generate a SQL query to answer the following question:
`Who directed "what do you know?"?`

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

CREATE TABLE "table1_2409041_9" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed "what do you know?"?`:
```sql
                SELECT "directed_by" FROM "table1_2409041_9" WHERE "title"='\"What Do You Know?\"';
```
## Task
Generate a SQL query to answer the following question:
`What was the name of the epiode written by Gary M. Goodrich?`

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

CREATE TABLE "table1_2409041_9" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the name of the epiode written by Gary M. Goodrich?`:
```sql
                SELECT "title" FROM "table1_2409041_9" WHERE "written_by"='Gary M. Goodrich';
```
## Task
Generate a SQL query to answer the following question:
`Who directed episode number 179 in the series?`

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

CREATE TABLE "table1_2409041_9" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed episode number 179 in the series?`:
```sql
                SELECT "directed_by" FROM "table1_2409041_9" WHERE "no_in_series"=179;
```
## Task
Generate a SQL query to answer the following question:
`How many people directed "odd man in"?`

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

CREATE TABLE "table1_2409041_9" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many people directed "odd man in"?`:
```sql
                SELECT COUNT("directed_by") FROM "table1_2409041_9" WHERE "title"='\"Odd Man In\"';
```
## Task
Generate a SQL query to answer the following question:
`What's  the voltage of the model with part number TT80503300?`

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

CREATE TABLE "tillamook_0_25_m" (
  "model_number" text,
  "frequency" text,
  "l1_cache" text,
  "fsb" text,
  "mult" text,
  "voltage" text,
  "tdp" text,
  "socket" text,
  "release_date" text,
  "part_number_s" text,
  "s_spec_number" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's  the voltage of the model with part number TT80503300?`:
```sql
                SELECT "voltage" FROM "tillamook_0_25_m" WHERE "part_number_s"='TT80503300';
```
## Task
Generate a SQL query to answer the following question:
`What's the frequency of the model with part number TT80503300?`

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

CREATE TABLE "tillamook_0_25_m" (
  "model_number" text,
  "frequency" text,
  "l1_cache" text,
  "fsb" text,
  "mult" text,
  "voltage" text,
  "tdp" text,
  "socket" text,
  "release_date" text,
  "part_number_s" text,
  "s_spec_number" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the frequency of the model with part number TT80503300?`:
```sql
                SELECT "frequency" FROM "tillamook_0_25_m" WHERE "part_number_s"='TT80503300';
```