output stringlengths 27 479 | instruction stringlengths 407 1.39k |
|---|---|
SELECT "position" FROM "third_round" WHERE "pro_team"='Jacksonville Bulls'; |
## Task
Generate a SQL query to answer the following question:
`If the proteam is Jacksonville bulls, what is the position?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "third_round" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"pro_team" text,
"college" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the proteam is Jacksonville bulls, what is the position?`:
```sql
|
SELECT "position" FROM "third_round" WHERE "college"='SMU'; |
## Task
Generate a SQL query to answer the following question:
`If the college is SMU, what is the position?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "third_round" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"pro_team" text,
"college" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the college is SMU, what is the position?`:
```sql
|
SELECT "written_by" FROM "table1_27116696_1" WHERE "production_code"='3T7255'; |
## Task
Generate a SQL query to answer the following question:
`Who wrote the episode with the production code of 3t7255?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27116696_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote the episode with the production code of 3t7255?`:
```sql
|
SELECT "u_s_viewers_million" FROM "table1_27116696_1" WHERE "directed_by"='Allison Liddi-Brown'; |
## Task
Generate a SQL query to answer the following question:
`How many U.S. viewers (million) watched the episode directed by Allison Liddi-Brown?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27116696_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many U.S. viewers (million) watched the episode directed by Allison Liddi-Brown?`:
```sql
|
SELECT COUNT("production_code") FROM "table1_27116696_1" WHERE "written_by"='Matthew Lau'; |
## Task
Generate a SQL query to answer the following question:
`What is the total number of production code listings of episodes written by Matthew Lau?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27116696_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of production code listings of episodes written by Matthew Lau?`:
```sql
|
SELECT "total_prize_pool" FROM "nsc_events_and_division_1_winners" WHERE "location"='New Orleans'; |
## Task
Generate a SQL query to answer the following question:
`What was the prize pool in New Orleans?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "nsc_events_and_division_1_winners" (
"year" real,
"winner" text,
"location" text,
"entrants" real,
"winners_prize" text,
"total_prize_pool" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the prize pool in New Orleans?`:
```sql
|
SELECT COUNT("winners_prize") FROM "nsc_events_and_division_1_winners" WHERE "entrants"=696; |
## Task
Generate a SQL query to answer the following question:
`How many prizes were available in the competition where 696 people entered?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "nsc_events_and_division_1_winners" (
"year" real,
"winner" text,
"location" text,
"entrants" real,
"winners_prize" text,
"total_prize_pool" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many prizes were available in the competition where 696 people entered?`:
```sql
|
SELECT "accession_number" FROM "homologs" WHERE "genus_species"='Rhodopseudomonas palustris'; |
## Task
Generate a SQL query to answer the following question:
`Name the accession number for rhodopseudomonas palustris`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "homologs" (
"genus_species" text,
"gene_name" text,
"accession_number" text,
"sequence_length" text,
"sequence_similarity" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the accession number for rhodopseudomonas palustris`:
```sql
|
SELECT "genus_species" FROM "homologs" WHERE "accession_number"='BX897699.1'; |
## Task
Generate a SQL query to answer the following question:
`Name the genus/species of accession number bx897699.1`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "homologs" (
"genus_species" text,
"gene_name" text,
"accession_number" text,
"sequence_length" text,
"sequence_similarity" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the genus/species of accession number bx897699.1`:
```sql
|
SELECT "accession_number" FROM "homologs" WHERE "sequence_similarity"=54; |
## Task
Generate a SQL query to answer the following question:
`Name the accession number for sequence similarity being 54`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "homologs" (
"genus_species" text,
"gene_name" text,
"accession_number" text,
"sequence_length" text,
"sequence_similarity" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the accession number for sequence similarity being 54`:
```sql
|
SELECT "gene_name" FROM "homologs" WHERE "genus_species"='Methylobacterium nodulans'; |
## Task
Generate a SQL query to answer the following question:
`Name the gene name for methylobacterium nodulans`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "homologs" (
"genus_species" text,
"gene_name" text,
"accession_number" text,
"sequence_length" text,
"sequence_similarity" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the gene name for methylobacterium nodulans`:
```sql
|
SELECT "gene_name" FROM "homologs" WHERE "accession_number"='BX897700.1'; |
## Task
Generate a SQL query to answer the following question:
`Name the gene name for accession number bx897700.1`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "homologs" (
"genus_species" text,
"gene_name" text,
"accession_number" text,
"sequence_length" text,
"sequence_similarity" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the gene name for accession number bx897700.1`:
```sql
|
SELECT MIN("pct_funded") FROM "ten_largest_successfully_completed_kicks" WHERE "closing_date"='2012-05-18'; |
## Task
Generate a SQL query to answer the following question:
`What was the minimum % funded of the project that was closed on 2012-05-18?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "ten_largest_successfully_completed_kicks" (
"rank" real,
"total_usd" real,
"project_name" text,
"creator" text,
"category" text,
"pct_funded" real,
"backers" real,
"closing_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the minimum % funded of the project that was closed on 2012-05-18?`:
```sql
|
SELECT MAX("total_usd") FROM "ten_largest_successfully_completed_kicks" WHERE "creator"='Pebble Technology'; |
## Task
Generate a SQL query to answer the following question:
`What was the maximum total USD collected by Pebble Technology?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "ten_largest_successfully_completed_kicks" (
"rank" real,
"total_usd" real,
"project_name" text,
"creator" text,
"category" text,
"pct_funded" real,
"backers" real,
"closing_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the maximum total USD collected by Pebble Technology?`:
```sql
|
SELECT "category" FROM "ten_largest_successfully_completed_kicks" WHERE "project_name"='Mighty No. 9'; |
## Task
Generate a SQL query to answer the following question:
`What was the category of the project name Mighty No. 9?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "ten_largest_successfully_completed_kicks" (
"rank" real,
"total_usd" real,
"project_name" text,
"creator" text,
"category" text,
"pct_funded" real,
"backers" real,
"closing_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the category of the project name Mighty No. 9?`:
```sql
|
SELECT COUNT("rank") FROM "ten_largest_successfully_completed_kicks" WHERE "project_name"='Pebble: E-Paper Watch for iPhone and Android'; |
## Task
Generate a SQL query to answer the following question:
`Project Name Pebble: E-Paper Watch for Iphone and Android was ranked how many times?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "ten_largest_successfully_completed_kicks" (
"rank" real,
"total_usd" real,
"project_name" text,
"creator" text,
"category" text,
"pct_funded" real,
"backers" real,
"closing_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Project Name Pebble: E-Paper Watch for Iphone and Android was ranked how many times?`:
```sql
|
SELECT "league_apps" FROM "player_statistics" WHERE "total_goals"=11; |
## Task
Generate a SQL query to answer the following question:
`How many league apps did the player with 11 team goals have?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "player_statistics" (
"position" text,
"nationality" text,
"name" text,
"league_apps" real,
"league_goals" real,
"fa_cup_apps" real,
"fa_cup_goals" real,
"total_apps" real,
"total_goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many league apps did the player with 11 team goals have?`:
```sql
|
SELECT MIN("total_goals") FROM "player_statistics" WHERE "league_goals"=6; |
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of total goals for a player with 6 league goals?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "player_statistics" (
"position" text,
"nationality" text,
"name" text,
"league_apps" real,
"league_goals" real,
"fa_cup_apps" real,
"fa_cup_goals" real,
"total_apps" real,
"total_goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of total goals for a player with 6 league goals?`:
```sql
|
SELECT MIN("fa_cup_goals") FROM "player_statistics"; |
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of fa cup goals by a player?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "player_statistics" (
"position" text,
"nationality" text,
"name" text,
"league_apps" real,
"league_goals" real,
"fa_cup_apps" real,
"fa_cup_goals" real,
"total_apps" real,
"total_goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of fa cup goals by a player?`:
```sql
|
SELECT "written_by" FROM "table1_27169029_1" WHERE "original_air_date"='September 26, 2010'; |
## Task
Generate a SQL query to answer the following question:
`Who wrote the episode that aired on September 26, 2010?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27169029_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote the episode that aired on September 26, 2010?`:
```sql
|
SELECT "asia" FROM "baha_i_social_and_economic_development_p" WHERE "programs"='Radio Stations'; |
## Task
Generate a SQL query to answer the following question:
`How many radio stations were built in Asia?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "baha_i_social_and_economic_development_p" (
"programs" text,
"world" real,
"africa" real,
"americas" real,
"asia" real,
"australasia" real,
"europe" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many radio stations were built in Asia?`:
```sql
|
SELECT COUNT("asia") FROM "baha_i_social_and_economic_development_p" WHERE "americas"=14; |
## Task
Generate a SQL query to answer the following question:
`How many program data on Asia was written if the organization launched 14 programs iin the Americas?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "baha_i_social_and_economic_development_p" (
"programs" text,
"world" real,
"africa" real,
"americas" real,
"asia" real,
"australasia" real,
"europe" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many program data on Asia was written if the organization launched 14 programs iin the Americas?`:
```sql
|
SELECT COUNT("australasia") FROM "baha_i_social_and_economic_development_p" WHERE "americas"=115; |
## Task
Generate a SQL query to answer the following question:
`How many times did Australasia received a program if the Americas received 115 program?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "baha_i_social_and_economic_development_p" (
"programs" text,
"world" real,
"africa" real,
"americas" real,
"asia" real,
"australasia" real,
"europe" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many times did Australasia received a program if the Americas received 115 program?`:
```sql
|
SELECT "episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series_whereas_series_no_refers_to_the_episodes_number_in_this_particular_series" FROM "table1_27208311_1" WHERE "series_no"=3; |
## Task
Generate a SQL query to answer the following question:
`What is every episode number for the series number 3?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27208311_1" (
"episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series_whereas_series_no_refers_to_the_episodes_number_in_this_particular_series" real,
"series_no" real,
"episode" text,
"director" text,
"writer" text,
"original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every episode number for the series number 3?`:
```sql
|
SELECT "episode" FROM "table1_27208311_1" WHERE "writer"='Barry Purchese'; |
## Task
Generate a SQL query to answer the following question:
`What is every episode with Barry Purchese as the writer?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27208311_1" (
"episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series_whereas_series_no_refers_to_the_episodes_number_in_this_particular_series" real,
"series_no" real,
"episode" text,
"director" text,
"writer" text,
"original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every episode with Barry Purchese as the writer?`:
```sql
|
SELECT "episode" FROM "table1_27208817_1" WHERE "episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series_whereas_series_no_refers_to_the_episodes_number_in_this_particular_series"=64; |
## Task
Generate a SQL query to answer the following question:
`Name the episod for number 64`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27208817_1" (
"episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series_whereas_series_no_refers_to_the_episodes_number_in_this_particular_series" real,
"series_no" real,
"episode" text,
"director" text,
"writer" text,
"original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the episod for number 64`:
```sql
|
SELECT COUNT("episode") FROM "table1_27208817_1" WHERE "writer"='Sam Snape'; |
## Task
Generate a SQL query to answer the following question:
`Name the number of episodes for sam snape`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27208817_1" (
"episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series_whereas_series_no_refers_to_the_episodes_number_in_this_particular_series" real,
"series_no" real,
"episode" text,
"director" text,
"writer" text,
"original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of episodes for sam snape`:
```sql
|
SELECT "aspect_ratio" FROM "table1_272313_1" WHERE "vertical"=480 AND "pixel_aspect_ratio"='1:1'; |
## Task
Generate a SQL query to answer the following question:
`What was the aspect ratio if the vertical pixel is 480 and pixel aspect ratio is 1:1?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_272313_1" (
"vertical" real,
"horizontal" real,
"aspect_ratio" text,
"pixel_aspect_ratio" text,
"scanning" text,
"frame_rate_hz" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the aspect ratio if the vertical pixel is 480 and pixel aspect ratio is 1:1?`:
```sql
|
SELECT MIN("vertical") FROM "table1_272313_1" WHERE "aspect_ratio"='16:9' AND "scanning"='interlaced'; |
## Task
Generate a SQL query to answer the following question:
`What was the minimum vertical measurement if the aspect ratio is 16:9 and scanning is interlaced?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_272313_1" (
"vertical" real,
"horizontal" real,
"aspect_ratio" text,
"pixel_aspect_ratio" text,
"scanning" text,
"frame_rate_hz" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the minimum vertical measurement if the aspect ratio is 16:9 and scanning is interlaced?`:
```sql
|
SELECT MAX("vertical") FROM "table1_272313_1" WHERE "horizontal"=640; |
## Task
Generate a SQL query to answer the following question:
`What was the maximum vertical measurement if the horizon measurement is 640?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_272313_1" (
"vertical" real,
"horizontal" real,
"aspect_ratio" text,
"pixel_aspect_ratio" text,
"scanning" text,
"frame_rate_hz" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the maximum vertical measurement if the horizon measurement is 640?`:
```sql
|
SELECT "outgoing_manager" FROM "table1_27225944_3" WHERE "manner_of_departure"='Mutual consent' AND "position_in_table"='16th'; |
## Task
Generate a SQL query to answer the following question:
`Name the outgoing manager for mutual consent and position 16th`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27225944_3" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the outgoing manager for mutual consent and position 16th`:
```sql
|
SELECT "replaced_by" FROM "table1_27225944_3" WHERE "team"='Slaven Belupo'; |
## Task
Generate a SQL query to answer the following question:
`Name the replaced by for slaven belupo`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27225944_3" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the replaced by for slaven belupo`:
```sql
|
SELECT COUNT("outgoing_manager") FROM "table1_27225944_3" WHERE "team"='Rijeka'; |
## Task
Generate a SQL query to answer the following question:
`Name the number of outgoing manager for rijeka`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27225944_3" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of outgoing manager for rijeka`:
```sql
|
SELECT MIN("horizontal") FROM "table1_272313_2" WHERE "pixel_aspect_ratio"='SMPTE 259M three quarters'; |
## Task
Generate a SQL query to answer the following question:
`Name the least horizontal for smpte 259m three quarters`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_272313_2" (
"vertical" real,
"horizontal" real,
"aspect_ratio" text,
"pixel_aspect_ratio" text,
"scanning" text,
"frame_rate_hz" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least horizontal for smpte 259m three quarters`:
```sql
|
SELECT "aspect_ratio" FROM "table1_272313_2" WHERE "pixel_aspect_ratio"='SMPTE 259M' AND "scanning"='interlaced'; |
## Task
Generate a SQL query to answer the following question:
`Name the aspect ratio for smpte 259m and interlaced scanning`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_272313_2" (
"vertical" real,
"horizontal" real,
"aspect_ratio" text,
"pixel_aspect_ratio" text,
"scanning" text,
"frame_rate_hz" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the aspect ratio for smpte 259m and interlaced scanning`:
```sql
|
SELECT "ratings" FROM "table1_27218002_2" WHERE "title"='\"Episode 6\"'; |
## Task
Generate a SQL query to answer the following question:
`What were the ratings for "episode 6"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27218002_2" (
"episode_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text,
"ratings" text
);
### SQL
Given the database schema, here is the SQL query that answers `What were the ratings for "episode 6"?`:
```sql
|
SELECT "originalairdate" FROM "table1_27218002_2" WHERE "written_by"='Fintan Ryan'; |
## Task
Generate a SQL query to answer the following question:
`What date did the episode that was written by Fintan Ryan originally air?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27218002_2" (
"episode_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text,
"ratings" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date did the episode that was written by Fintan Ryan originally air?`:
```sql
|
SELECT "originalairdate" FROM "table1_27218002_2" WHERE "ratings"='1.37 Million'; |
## Task
Generate a SQL query to answer the following question:
`What date did the epiode that had 1.37 million as the rating originally air?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27218002_2" (
"episode_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text,
"ratings" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date did the epiode that had 1.37 million as the rating originally air?`:
```sql
|
SELECT "title" FROM "table1_27250813_1" WHERE "no_in_season"=16; |
## Task
Generate a SQL query to answer the following question:
`What is the title of the episode no. 16 by season?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27250813_1" (
"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 title of the episode no. 16 by season?`:
```sql
|
SELECT COUNT("original_air_date") FROM "table1_27250813_1" WHERE "production_code"=12003; |
## Task
Generate a SQL query to answer the following question:
`How many times did an episode with a production code of 12003 was aired?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27250813_1" (
"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 `How many times did an episode with a production code of 12003 was aired?`:
```sql
|
SELECT "color_analyst_s" FROM "television" WHERE "studio_analyst_s"='Terry Bowden' AND "tv_rating"='17.2'; |
## Task
Generate a SQL query to answer the following question:
`Name the color analyst for terry bowden and 17.2`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "television" (
"year" real,
"network_s" text,
"bowl" text,
"play_by_play_announcer" text,
"color_analyst_s" text,
"sideline_reporter_s" text,
"studio_host_s" text,
"studio_analyst_s" text,
"tv_rating" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the color analyst for terry bowden and 17.2`:
```sql
|
SELECT COUNT("bowl") FROM "television" WHERE "studio_analyst_s"='Lee Corso, Gene Chizik and Chip Kelly'; |
## Task
Generate a SQL query to answer the following question:
`Name the number of bowl for lee corso, gene chizik and chip kelly`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "television" (
"year" real,
"network_s" text,
"bowl" text,
"play_by_play_announcer" text,
"color_analyst_s" text,
"sideline_reporter_s" text,
"studio_host_s" text,
"studio_analyst_s" text,
"tv_rating" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of bowl for lee corso, gene chizik and chip kelly`:
```sql
|
SELECT "studio_analyst_s" FROM "television" WHERE "network_s"='ESPN' AND "sideline_reporter_s"='Erin Andrews and Tom Rinaldi'; |
## Task
Generate a SQL query to answer the following question:
`Name the studio analysts for espn with erin andrews and tom rinaldi`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "television" (
"year" real,
"network_s" text,
"bowl" text,
"play_by_play_announcer" text,
"color_analyst_s" text,
"sideline_reporter_s" text,
"studio_host_s" text,
"studio_analyst_s" text,
"tv_rating" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the studio analysts for espn with erin andrews and tom rinaldi`:
```sql
|
SELECT MAX("no_in_series") FROM "table1_27255755_1" WHERE "u_s_viewers_millions"='9.17'; |
## Task
Generate a SQL query to answer the following question:
`What is the highest series number with 9.17 million US viewers?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27255755_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest series number with 9.17 million US viewers?`:
```sql
|
SELECT "podiums" FROM "wtcc_statistics" WHERE "starts"=22; |
## Task
Generate a SQL query to answer the following question:
`name the podiums for start of 22`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "wtcc_statistics" (
"season" real,
"series" text,
"team" text,
"starts" real,
"wins" real,
"podiums" real,
"poles" real,
"fastest_laps" real,
"points" text,
"place" text
);
### SQL
Given the database schema, here is the SQL query that answers `name the podiums for start of 22`:
```sql
|
SELECT COUNT("poles") FROM "wtcc_statistics" WHERE "fastest_laps"=6; |
## Task
Generate a SQL query to answer the following question:
`Name the number of poles for fastest laps being 6`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "wtcc_statistics" (
"season" real,
"series" text,
"team" text,
"starts" real,
"wins" real,
"podiums" real,
"poles" real,
"fastest_laps" real,
"points" text,
"place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of poles for fastest laps being 6`:
```sql
|
SELECT MIN("podiums") FROM "wtcc_statistics" WHERE "season"=2009; |
## Task
Generate a SQL query to answer the following question:
`Name the least podiums for 2009`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "wtcc_statistics" (
"season" real,
"series" text,
"team" text,
"starts" real,
"wins" real,
"podiums" real,
"poles" real,
"fastest_laps" real,
"points" text,
"place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least podiums for 2009`:
```sql
|
SELECT "starts" FROM "wtcc_statistics" WHERE "season"=2009; |
## Task
Generate a SQL query to answer the following question:
`Name the starts for 2009`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "wtcc_statistics" (
"season" real,
"series" text,
"team" text,
"starts" real,
"wins" real,
"podiums" real,
"poles" real,
"fastest_laps" real,
"points" text,
"place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the starts for 2009`:
```sql
|
SELECT MAX("starts") FROM "wtcc_statistics" WHERE "wins"=6; |
## Task
Generate a SQL query to answer the following question:
`Name the most starts for 6 wins`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "wtcc_statistics" (
"season" real,
"series" text,
"team" text,
"starts" real,
"wins" real,
"podiums" real,
"poles" real,
"fastest_laps" real,
"points" text,
"place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most starts for 6 wins`:
```sql
|
SELECT COUNT("matches") FROM "bowling_averages_top_10" WHERE "wickets"=16; |
## Task
Generate a SQL query to answer the following question:
`How many matches were wickets 16?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "bowling_averages_top_10" (
"player" text,
"team" text,
"matches" real,
"overs" text,
"wickets" real,
"average" text,
"economy" text,
"bbi" text,
"4wi" real,
"5wi" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many matches were wickets 16?`:
```sql
|
SELECT MIN("wickets") FROM "bowling_averages_top_10"; |
## Task
Generate a SQL query to answer the following question:
`What is the lowest wickets?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "bowling_averages_top_10" (
"player" text,
"team" text,
"matches" real,
"overs" text,
"wickets" real,
"average" text,
"economy" text,
"bbi" text,
"4wi" real,
"5wi" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest wickets?`:
```sql
|
SELECT "4wi" FROM "bowling_averages_top_10" WHERE "economy"='7.82'; |
## Task
Generate a SQL query to answer the following question:
`What is the 4wi when the economy is 7.82?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "bowling_averages_top_10" (
"player" text,
"team" text,
"matches" real,
"overs" text,
"wickets" real,
"average" text,
"economy" text,
"bbi" text,
"4wi" real,
"5wi" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 4wi when the economy is 7.82?`:
```sql
|
SELECT "player" FROM "bowling_averages_top_10" WHERE "bbi"='5/27'; |
## Task
Generate a SQL query to answer the following question:
`Who is the player when the bbi is 5/27?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "bowling_averages_top_10" (
"player" text,
"team" text,
"matches" real,
"overs" text,
"wickets" real,
"average" text,
"economy" text,
"bbi" text,
"4wi" real,
"5wi" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the player when the bbi is 5/27?`:
```sql
|
SELECT "team" FROM "bowling_averages_top_10" WHERE "economy"='5.73'; |
## Task
Generate a SQL query to answer the following question:
`What is the team when the economy is 5.73?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "bowling_averages_top_10" (
"player" text,
"team" text,
"matches" real,
"overs" text,
"wickets" real,
"average" text,
"economy" text,
"bbi" text,
"4wi" real,
"5wi" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the team when the economy is 5.73?`:
```sql
|
SELECT COUNT("valid_votes") FROM "results_by_province" WHERE "province"='Denizli'; |
## Task
Generate a SQL query to answer the following question:
`When Denizli was the province, what was the total number of valid votes?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "results_by_province" (
"province" text,
"registered_voters" real,
"people_voted" real,
"valid_votes" real,
"invalid_votes" real,
"yes" real,
"yes_pct" text,
"no" real,
"no_pct" text,
"turnout_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `When Denizli was the province, what was the total number of valid votes?`:
```sql
|
SELECT "invalid_votes" FROM "results_by_province" WHERE "yes_pct"='54.86'; |
## Task
Generate a SQL query to answer the following question:
`When 54.86% of people votes yes, howe many votes were invalid?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "results_by_province" (
"province" text,
"registered_voters" real,
"people_voted" real,
"valid_votes" real,
"invalid_votes" real,
"yes" real,
"yes_pct" text,
"no" real,
"no_pct" text,
"turnout_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `When 54.86% of people votes yes, howe many votes were invalid?`:
```sql
|
SELECT MIN("registered_voters") FROM "results_by_province" WHERE "yes_pct"='36.32'; |
## Task
Generate a SQL query to answer the following question:
`How many registered voters were there when 36.32% of people voted yes?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "results_by_province" (
"province" text,
"registered_voters" real,
"people_voted" real,
"valid_votes" real,
"invalid_votes" real,
"yes" real,
"yes_pct" text,
"no" real,
"no_pct" text,
"turnout_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many registered voters were there when 36.32% of people voted yes?`:
```sql
|
SELECT "province" FROM "results_by_province" WHERE "turnout_pct"='54.09'; |
## Task
Generate a SQL query to answer the following question:
`What province had a turnout of 54.09%?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "results_by_province" (
"province" text,
"registered_voters" real,
"people_voted" real,
"valid_votes" real,
"invalid_votes" real,
"yes" real,
"yes_pct" text,
"no" real,
"no_pct" text,
"turnout_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What province had a turnout of 54.09%?`:
```sql
|
SELECT MAX("yes") FROM "results_by_province" WHERE "yes_pct"='95.17'; |
## Task
Generate a SQL query to answer the following question:
`How many people voted yes when the percentage of yeses was 95.17?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "results_by_province" (
"province" text,
"registered_voters" real,
"people_voted" real,
"valid_votes" real,
"invalid_votes" real,
"yes" real,
"yes_pct" text,
"no" real,
"no_pct" text,
"turnout_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many people voted yes when the percentage of yeses was 95.17?`:
```sql
|
SELECT "turnout_pct" FROM "results_by_province" WHERE "no_pct"='36.51'; |
## Task
Generate a SQL query to answer the following question:
`What was the turnout percentage when the percentage of people that voted no was 36.51?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "results_by_province" (
"province" text,
"registered_voters" real,
"people_voted" real,
"valid_votes" real,
"invalid_votes" real,
"yes" real,
"yes_pct" text,
"no" real,
"no_pct" text,
"turnout_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the turnout percentage when the percentage of people that voted no was 36.51?`:
```sql
|
SELECT "model_number" FROM "lion_65_nm" WHERE "order_part_number"='TMRM75DAM22GG'; |
## Task
Generate a SQL query to answer the following question:
`What is the model number for the order part numbered tmrm75dam22gg?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "lion_65_nm" (
"model_number" text,
"frequency" text,
"l2_cache" text,
"ht" text,
"mult_1" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"order_part_number" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the model number for the order part numbered tmrm75dam22gg?`:
```sql
|
SELECT "order_part_number" FROM "lion_65_nm" WHERE "mult_1"='10x'; |
## Task
Generate a SQL query to answer the following question:
`What is the oder part number for the model with 10x mult. 1?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "lion_65_nm" (
"model_number" text,
"frequency" text,
"l2_cache" text,
"ht" text,
"mult_1" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"order_part_number" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the oder part number for the model with 10x mult. 1?`:
```sql
|
SELECT "ht" FROM "lion_65_nm" WHERE "mult_1"='10x'; |
## Task
Generate a SQL query to answer the following question:
`How much ht does the model with 10x mult. 1 have?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "lion_65_nm" (
"model_number" text,
"frequency" text,
"l2_cache" text,
"ht" text,
"mult_1" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"order_part_number" text
);
### SQL
Given the database schema, here is the SQL query that answers `How much ht does the model with 10x mult. 1 have?`:
```sql
|
SELECT "ht" FROM "lion_65_nm" WHERE "release_date"='June 4, 2008'; |
## Task
Generate a SQL query to answer the following question:
`What's the ht for the model released on June 4, 2008?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "lion_65_nm" (
"model_number" text,
"frequency" text,
"l2_cache" text,
"ht" text,
"mult_1" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"order_part_number" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the ht for the model released on June 4, 2008?`:
```sql
|
SELECT COUNT("poles") FROM "by_name" WHERE "points"='0' AND "nation"='Mexico'; |
## Task
Generate a SQL query to answer the following question:
`How many pole position achieved 0 points from Mexico?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "by_name" (
"name" text,
"nation" text,
"seasons" text,
"championship_titles" text,
"races_starts" text,
"poles" real,
"wins" real,
"podiums" real,
"fastest_laps" real,
"points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many pole position achieved 0 points from Mexico?`:
```sql
|
SELECT "v_core" FROM "claw_hammer_c0_cg_130_nm_desktop_replace" WHERE "mult_1"='11x'; |
## Task
Generate a SQL query to answer the following question:
`Name the vcore for multi 11x`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "claw_hammer_c0_cg_130_nm_desktop_replace" (
"model_number" text,
"frequency" text,
"l2_cache" text,
"ht" text,
"mult_1" text,
"v_core" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the vcore for multi 11x`:
```sql
|
SELECT COUNT("v_core") FROM "claw_hammer_c0_cg_130_nm_desktop_replace" WHERE "model_number"='Mobile Athlon 64 3000+'; |
## Task
Generate a SQL query to answer the following question:
`Name the number of v core for model number mobile athlon 64 3000+`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "claw_hammer_c0_cg_130_nm_desktop_replace" (
"model_number" text,
"frequency" text,
"l2_cache" text,
"ht" text,
"mult_1" text,
"v_core" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of v core for model number mobile athlon 64 3000+`:
```sql
|
SELECT COUNT("points_for") FROM "wru_division_one_east" WHERE "played"='Played'; |
## Task
Generate a SQL query to answer the following question:
`Name the total number of points for for played`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "wru_division_one_east" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of points for for played`:
```sql
|
SELECT COUNT("points") FROM "wru_division_one_east" WHERE "tries_for"='46'; |
## Task
Generate a SQL query to answer the following question:
`Name the total number of points for 46 tries for`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "wru_division_one_east" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of points for 46 tries for`:
```sql
|
SELECT COUNT("club") FROM "wru_division_one_east" WHERE "lost"='16'; |
## Task
Generate a SQL query to answer the following question:
`Name the total number of club for lost being 16`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "wru_division_one_east" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of club for lost being 16`:
```sql
|
SELECT "drawn" FROM "wru_division_one_east" WHERE "lost"='5' AND "tries_for"='89'; |
## Task
Generate a SQL query to answer the following question:
`Name the drawn for lost being 5 and tries for 89`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "wru_division_one_east" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the drawn for lost being 5 and tries for 89`:
```sql
|
SELECT "won" FROM "wru_division_one_east" WHERE "played"='22' AND "lost"='15' AND "points_against"='511'; |
## Task
Generate a SQL query to answer the following question:
`Name the won for played being 22 and points against 511 and lost being 15`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "wru_division_one_east" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the won for played being 22 and points against 511 and lost being 15`:
```sql
|
SELECT "pronoun" FROM "table1_27298240_26" WHERE "1st"='će biti / biće'; |
## Task
Generate a SQL query to answer the following question:
`Which pronoun has će biti / biće in first person?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27298240_26" (
"pronoun" text,
"present" text,
"1st" text,
"2nd" text,
"perfect" text,
"aorist" text,
"imperfect" text,
"pluperfect" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which pronoun has će biti / biće in first person?`:
```sql
|
SELECT "aorist" FROM "table1_27298240_26" WHERE "present"='bude'; |
## Task
Generate a SQL query to answer the following question:
`What aorist has bude in present tense?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27298240_26" (
"pronoun" text,
"present" text,
"1st" text,
"2nd" text,
"perfect" text,
"aorist" text,
"imperfect" text,
"pluperfect" text
);
### SQL
Given the database schema, here is the SQL query that answers `What aorist has bude in present tense?`:
```sql
|
SELECT "aorist" FROM "table1_27298240_26" WHERE "imperfect"='bijasmo / bejasmo / besmo'; |
## Task
Generate a SQL query to answer the following question:
`Which aorist has imperfect form of bijasmo / bejasmo / besmo?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27298240_26" (
"pronoun" text,
"present" text,
"1st" text,
"2nd" text,
"perfect" text,
"aorist" text,
"imperfect" text,
"pluperfect" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which aorist has imperfect form of bijasmo / bejasmo / besmo?`:
```sql
|
SELECT "pluperfect" FROM "table1_27298240_26" WHERE "perfect"='si bio/la; bio/la si'; |
## Task
Generate a SQL query to answer the following question:
`What is the pluperfect for the perfect si bio/la; bio/la si?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27298240_26" (
"pronoun" text,
"present" text,
"1st" text,
"2nd" text,
"perfect" text,
"aorist" text,
"imperfect" text,
"pluperfect" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the pluperfect for the perfect si bio/la; bio/la si?`:
```sql
|
SELECT "event" FROM "table1_27294107_11" WHERE "round_of_32"='Suárez ( TRI ) W 16–6'; |
## Task
Generate a SQL query to answer the following question:
`What was the event when suárez ( tri ) w 16–6 was round of 32?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27294107_11" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the event when suárez ( tri ) w 16–6 was round of 32?`:
```sql
|
SELECT "semifinals" FROM "table1_27294107_11" WHERE "event"='Light flyweight'; |
## Task
Generate a SQL query to answer the following question:
`What is the semifinals for the light flyweight event?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27294107_11" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the semifinals for the light flyweight event?`:
```sql
|
SELECT COUNT("semifinals") FROM "table1_27294107_11" WHERE "athlete"='Ferhat Pehlivan'; |
## Task
Generate a SQL query to answer the following question:
`How many semifinals did ferhat pehlivan attend?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27294107_11" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many semifinals did ferhat pehlivan attend?`:
```sql
|
SELECT "round_of_32" FROM "table1_27294107_11" WHERE "round_of_16"='Drenovak ( SRB ) W 20–11'; |
## Task
Generate a SQL query to answer the following question:
`What is the round of 32 if the round of 16 is drenovak ( srb ) w 20–11?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27294107_11" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the round of 32 if the round of 16 is drenovak ( srb ) w 20–11?`:
```sql
|
SELECT "round_of_32" FROM "table1_27294107_11" WHERE "athlete"='Yakup Şener'; |
## Task
Generate a SQL query to answer the following question:
`When yakup şener is the athlete what is the round of 32?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27294107_11" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
);
### SQL
Given the database schema, here is the SQL query that answers `When yakup şener is the athlete what is the round of 32?`:
```sql
|
SELECT "round_of_32" FROM "table1_27294107_11" WHERE "athlete"='Fatih Keleş'; |
## Task
Generate a SQL query to answer the following question:
`What is the round of 32 for fatih keleş?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27294107_11" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the round of 32 for fatih keleş?`:
```sql
|
SELECT "pronoun" FROM "table1_27298240_28" WHERE "2nd"='budemo mogli/le'; |
## Task
Generate a SQL query to answer the following question:
`What is the pronoun when budemo mogli/le is 2nd?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27298240_28" (
"pronoun" text,
"present" text,
"1st" text,
"2nd" text,
"perfect" text,
"aorist" text,
"imperfect" text,
"pluperfect" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the pronoun when budemo mogli/le is 2nd?`:
```sql
|
SELECT "1st" FROM "table1_27298240_28" WHERE "present"='mogu'; |
## Task
Generate a SQL query to answer the following question:
`What is in 1st place when present is mogu?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27298240_28" (
"pronoun" text,
"present" text,
"1st" text,
"2nd" text,
"perfect" text,
"aorist" text,
"imperfect" text,
"pluperfect" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is in 1st place when present is mogu?`:
```sql
|
SELECT "aorist" FROM "table1_27298240_28" WHERE "2nd"='budete mogli/le'; |
## Task
Generate a SQL query to answer the following question:
`What is aorist when budete mogli/le is 2nd?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27298240_28" (
"pronoun" text,
"present" text,
"1st" text,
"2nd" text,
"perfect" text,
"aorist" text,
"imperfect" text,
"pluperfect" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is aorist when budete mogli/le is 2nd?`:
```sql
|
SELECT "2nd" FROM "table1_27298240_28" WHERE "pronoun"='vi (you pl.)'; |
## Task
Generate a SQL query to answer the following question:
`what is 2nd when the pronoun is vi (you pl.)?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27298240_28" (
"pronoun" text,
"present" text,
"1st" text,
"2nd" text,
"perfect" text,
"aorist" text,
"imperfect" text,
"pluperfect" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is 2nd when the pronoun is vi (you pl.)?`:
```sql
|
SELECT "1st" FROM "table1_27298240_28" WHERE "present"='mogu'; |
## Task
Generate a SQL query to answer the following question:
`When the present is mogu what is 1st?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27298240_28" (
"pronoun" text,
"present" text,
"1st" text,
"2nd" text,
"perfect" text,
"aorist" text,
"imperfect" text,
"pluperfect" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the present is mogu what is 1st?`:
```sql
|
SELECT "2nd" FROM "table1_27298240_28" WHERE "1st"='ćemo moći'; |
## Task
Generate a SQL query to answer the following question:
`What is 2nd when ćemo moći is 1st?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27298240_28" (
"pronoun" text,
"present" text,
"1st" text,
"2nd" text,
"perfect" text,
"aorist" text,
"imperfect" text,
"pluperfect" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 2nd when ćemo moći is 1st?`:
```sql
|
SELECT "r" FROM "assists" WHERE "total"=1 AND "position"='FW'; |
## Task
Generate a SQL query to answer the following question:
`What is the R when the total is 1 and the position is fw?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "assists" (
"r" real,
"player" text,
"position" text,
"the_championship" real,
"fa_cup" real,
"league_cup" real,
"total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the R when the total is 1 and the position is fw?`:
```sql
|
SELECT MIN("league_cup") FROM "assists"; |
## Task
Generate a SQL query to answer the following question:
`What is the lowest league cup?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "assists" (
"r" real,
"player" text,
"position" text,
"the_championship" real,
"fa_cup" real,
"league_cup" real,
"total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest league cup?`:
```sql
|
SELECT "position" FROM "assists" WHERE "player"='Becchio'; |
## Task
Generate a SQL query to answer the following question:
`What is the position for the player becchio?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "assists" (
"r" real,
"player" text,
"position" text,
"the_championship" real,
"fa_cup" real,
"league_cup" real,
"total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the position for the player becchio?`:
```sql
|
SELECT COUNT("league_cup") FROM "assists" WHERE "r"=4; |
## Task
Generate a SQL query to answer the following question:
`How many times was the r 4?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "assists" (
"r" real,
"player" text,
"position" text,
"the_championship" real,
"fa_cup" real,
"league_cup" real,
"total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many times was the r 4?`:
```sql
|
SELECT "parent" FROM "see_also" WHERE "peak"='Cima Tosa'; |
## Task
Generate a SQL query to answer the following question:
`What is the parent for peak cima tosa?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "see_also" (
"no" real,
"peak" text,
"location" text,
"elevation_m" real,
"prominence_m" real,
"col_height_m" real,
"col_location" text,
"parent" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the parent for peak cima tosa?`:
```sql
|
SELECT MIN("elevation_m") FROM "see_also" WHERE "location"='Austria' AND "peak"='Wildspitze'; |
## Task
Generate a SQL query to answer the following question:
`What is the elevation for the peak wildspitze in Austria?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "see_also" (
"no" real,
"peak" text,
"location" text,
"elevation_m" real,
"prominence_m" real,
"col_height_m" real,
"col_location" text,
"parent" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the elevation for the peak wildspitze in Austria?`:
```sql
|
SELECT MAX("elevation_m") FROM "see_also" WHERE "no"=39; |
## Task
Generate a SQL query to answer the following question:
`What is the elevation for number 39?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "see_also" (
"no" real,
"peak" text,
"location" text,
"elevation_m" real,
"prominence_m" real,
"col_height_m" real,
"col_location" text,
"parent" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the elevation for number 39?`:
```sql
|
SELECT "col_location" FROM "see_also" WHERE "location"='France / Italy'; |
## Task
Generate a SQL query to answer the following question:
`What is the col location for the location of france / italy?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "see_also" (
"no" real,
"peak" text,
"location" text,
"elevation_m" real,
"prominence_m" real,
"col_height_m" real,
"col_location" text,
"parent" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the col location for the location of france / italy?`:
```sql
|
SELECT "col_location" FROM "see_also" WHERE "col_height_m"=1107; |
## Task
Generate a SQL query to answer the following question:
`What is the col location with a col height (m) of 1107?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "see_also" (
"no" real,
"peak" text,
"location" text,
"elevation_m" real,
"prominence_m" real,
"col_height_m" real,
"col_location" text,
"parent" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the col location with a col height (m) of 1107?`:
```sql
|
SELECT "location" FROM "see_also" WHERE "elevation_m"=3798; |
## Task
Generate a SQL query to answer the following question:
`Which location has an elevation of 3798?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "see_also" (
"no" real,
"peak" text,
"location" text,
"elevation_m" real,
"prominence_m" real,
"col_height_m" real,
"col_location" text,
"parent" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which location has an elevation of 3798?`:
```sql
|
SELECT "title" FROM "official_callanetics_dv_ds_by_callan_pin" WHERE "catalog_number"='CAL01 / 0091037137319'; |
## Task
Generate a SQL query to answer the following question:
`What is the title when the catalog number is cal01 / 0091037137319?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "official_callanetics_dv_ds_by_callan_pin" (
"year" real,
"title" text,
"format" text,
"studio" text,
"release_date" text,
"copyright_information" text,
"catalog_number" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title when the catalog number is cal01 / 0091037137319?`:
```sql
|
SELECT COUNT("studio") FROM "official_callanetics_dv_ds_by_callan_pin" WHERE "title"='AM/PM Callanetics'; |
## Task
Generate a SQL query to answer the following question:
`How many times is the title am/pm callanetics?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "official_callanetics_dv_ds_by_callan_pin" (
"year" real,
"title" text,
"format" text,
"studio" text,
"release_date" text,
"copyright_information" text,
"catalog_number" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times is the title am/pm callanetics?`:
```sql
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.