output stringlengths 27 479 | instruction stringlengths 407 1.39k |
|---|---|
SELECT "score" FROM "pool_f" WHERE "set_1"='25β16'; |
## Task
Generate a SQL query to answer the following question:
`Which Score has a Set 1 of 25β16?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "pool_f" (
"date" text,
"time" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
... |
SELECT "date" FROM "pool_f" WHERE "score"='2β3' AND "time"='20:30' AND "set_3"='16β25'; |
## Task
Generate a SQL query to answer the following question:
`Which Date has a Score of 2β3, a Time of 20:30, and a Set 3 of 16β25?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "pool_f" (
"date" text,
"time" text,
"score" text,
"set_1" text... |
SELECT "back" FROM "kit" WHERE "supplier"='kooga' AND "year"='2006-2008'; |
## Task
Generate a SQL query to answer the following question:
`Which Back has a Supplier of Kooga and a Year of 2006-2008?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "kit" (
"year" text,
"supplier" text,
"chest" text,
"sleeves" text,
"ba... |
SELECT "supplier" FROM "kit" WHERE "year"='2006-2008'; |
## Task
Generate a SQL query to answer the following question:
`Which Supplier has a Year of 2006-2008?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "kit" (
"year" text,
"supplier" text,
"chest" text,
"sleeves" text,
"back" text
);
### SQL
... |
SELECT "sleeves" FROM "kit" WHERE "back"='unknown'; |
## Task
Generate a SQL query to answer the following question:
`Which Sleeves have a Back of Unknown?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "kit" (
"year" text,
"supplier" text,
"chest" text,
"sleeves" text,
"back" text
);
### SQL
Gi... |
SELECT "year" FROM "kit" WHERE "supplier"='kooga'; |
## Task
Generate a SQL query to answer the following question:
`What is the Year for Supplier Kooga?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "kit" (
"year" text,
"supplier" text,
"chest" text,
"sleeves" text,
"back" text
);
### SQL
Giv... |
SELECT "sleeves" FROM "kit" WHERE "year"='2006-2008'; |
## Task
Generate a SQL query to answer the following question:
`Which Sleeves have a Year of 2006-2008?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "kit" (
"year" text,
"supplier" text,
"chest" text,
"sleeves" text,
"back" text
);
### SQL
... |
SELECT "chest" FROM "kit" WHERE "supplier"='gilbert'; |
## Task
Generate a SQL query to answer the following question:
`Which Chest is Supplied by Gilbert?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "kit" (
"year" text,
"supplier" text,
"chest" text,
"sleeves" text,
"back" text
);
### SQL
Give... |
SELECT "website" FROM "canada" WHERE "year_started"=2008; |
## Task
Generate a SQL query to answer the following question:
`Which website was started in 2008?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "canada" (
"year_started" real,
"number_of_cars" real,
"current_car" text,
"car_num" text,
"webs... |
SELECT MAX("year_started") FROM "canada" WHERE "current_car"='arctic sun' AND "number_of_cars"<1; |
## Task
Generate a SQL query to answer the following question:
`Which Year started is the highest one that has a Current car of arctic sun, and a Number of cars smaller than 1?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "canada" (
"year_started" ... |
SELECT "current_car" FROM "canada" WHERE "number_of_cars"=1 AND "year_started"=1999; |
## Task
Generate a SQL query to answer the following question:
`Which Current car has a Number of cars of 1, and a Year started of 1999?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "canada" (
"year_started" real,
"number_of_cars" real,
"curren... |
SELECT MIN("year_started") FROM "canada" WHERE "number_of_cars">7 AND "car_num"='100'; |
## Task
Generate a SQL query to answer the following question:
`Which Year started is the lowest one that has a Number of cars larger than 7, and a Car # of 100?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "canada" (
"year_started" real,
"number... |
SELECT COUNT("round") FROM "draft_picks" WHERE "position"='d' AND "player"='andrew campbell'; |
## Task
Generate a SQL query to answer the following question:
`What is the total number of Round, when Position is "D", and when Player is "Andrew Campbell"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "draft_picks" (
"round" real,
"player" tex... |
SELECT "nationality" FROM "draft_picks" WHERE "college_junior_club_team_league"='guelph storm ( ohl )'; |
## Task
Generate a SQL query to answer the following question:
`What is Nationality, when College/Junior/Club Team (League) is "Guelph Storm ( OHL )"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"po... |
SELECT "nationality" FROM "draft_picks" WHERE "player"='andrew campbell'; |
## Task
Generate a SQL query to answer the following question:
`What is Nationality, when Player is "Andrew Campbell"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" te... |
SELECT "power" FROM "salmson_post_world_war_one_engines" WHERE "name"='9 nc'; |
## Task
Generate a SQL query to answer the following question:
`Which Power has a Name of 9 nc?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "salmson_post_world_war_one_engines" (
"name" text,
"cyl" text,
"bore" text,
"capacity" text,
"powe... |
SELECT "weight" FROM "salmson_post_world_war_one_engines" WHERE "power"='kw (hp) at 1,800rpm' AND "name"='9 nc'; |
## Task
Generate a SQL query to answer the following question:
`Which Weight has a Power of kw (hp) at 1,800rpm, and a Name of 9 nc?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "salmson_post_world_war_one_engines" (
"name" text,
"cyl" text,
"b... |
SELECT "bore" FROM "salmson_post_world_war_one_engines" WHERE "name"='9 adr'; |
## Task
Generate a SQL query to answer the following question:
`Which Bore has a Name of 9 adr?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "salmson_post_world_war_one_engines" (
"name" text,
"cyl" text,
"bore" text,
"capacity" text,
"powe... |
SELECT "power" FROM "salmson_post_world_war_one_engines" WHERE "name"='9 ad'; |
## Task
Generate a SQL query to answer the following question:
`Which Power has a Name of 9 ad?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "salmson_post_world_war_one_engines" (
"name" text,
"cyl" text,
"bore" text,
"capacity" text,
"powe... |
SELECT MAX("overall") FROM "washington_redskins_draft_history" WHERE "name"='chris horton' AND "pick"<42; |
## Task
Generate a SQL query to answer the following question:
`When the pick was below 42 and the player was Chris Horton, what's the highest Overall pick found?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "washington_redskins_draft_history" (
"r... |
SELECT MAX("overall") FROM "washington_redskins_draft_history" WHERE "college"='kansas state' AND "pick">35; |
## Task
Generate a SQL query to answer the following question:
`When Kansas State had a pick of over 35, what's the highest Overall pick found?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick... |
SELECT SUM("points") FROM "relegation" WHERE "played"=114 AND "average"=0.982; |
## Task
Generate a SQL query to answer the following question:
`Total points with 114 played and average of 0.982?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "relegation" (
"team" text,
"average" real,
"points" real,
"played" real,
"1991_... |
SELECT "team" FROM "relegation" WHERE "average"=1.035; |
## Task
Generate a SQL query to answer the following question:
`Team with average of 1.035?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "relegation" (
"team" text,
"average" real,
"points" real,
"played" real,
"1991_92" text,
"1992_93" t... |
SELECT SUM("average") FROM "relegation" WHERE "points"<105 AND "team"='gimnasia y tiro' AND "1993_94"<30; |
## Task
Generate a SQL query to answer the following question:
`Total average with less than 105 points, 1993-1994 less than 30, and the team of gimnasia y tiro?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "relegation" (
"team" text,
"average" r... |
SELECT "position" FROM "washington_redskins_draft_history" WHERE "name"='chris hanburger'; |
## Task
Generate a SQL query to answer the following question:
`What was Chris Hanburger's position?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
... |
SELECT AVG("pick") FROM "washington_redskins_draft_history" WHERE "name"='john strohmeyer' AND "round"<12; |
## Task
Generate a SQL query to answer the following question:
`What was John Strohmeyer's average pick before round 12?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" rea... |
SELECT AVG("points") FROM "relegation_round" WHERE "position">5 AND "played"<10; |
## Task
Generate a SQL query to answer the following question:
`what is the average points when position is more than 5 and played is less than 10?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "relegation_round" (
"position" real,
"name" text,
... |
SELECT AVG("points") FROM "relegation_round" WHERE "drawn"=0 AND "lost"=5 AND "played">10; |
## Task
Generate a SQL query to answer the following question:
`what is the average points when drawn is 0, lost is 5 and played is more than 10?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "relegation_round" (
"position" real,
"name" text,
"p... |
SELECT AVG("lost") FROM "relegation_round" WHERE "points"=14 AND "position">1; |
## Task
Generate a SQL query to answer the following question:
`what is the average number lost when points is 14 and position is more than 1?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "relegation_round" (
"position" real,
"name" text,
"play... |
SELECT AVG("points") FROM "relegation_round" WHERE "played"=9 AND "name"='ev pegnitz' AND "position">1; |
## Task
Generate a SQL query to answer the following question:
`what is the average points when played is 9, name is ev pegnitz and position is larger than 1?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "relegation_round" (
"position" real,
"nam... |
SELECT "place" FROM "second_round" WHERE "score"='72-72=144' AND "country"='united states' AND "player"='scott mccarron'; |
## Task
Generate a SQL query to answer the following question:
`What is Place, when Score is 72-72=144, when Country is United States, and when Player is Scott McCarron?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "second_round" (
"place" text,
... |
SELECT "country" FROM "second_round" WHERE "score"='70-73=143'; |
## Task
Generate a SQL query to answer the following question:
`What is Country, when Score is 70-73=143?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text... |
SELECT "player" FROM "second_round" WHERE "place"='2'; |
## Task
Generate a SQL query to answer the following question:
`What is Player, when Place is 2?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
### S... |
SELECT "country" FROM "second_round" WHERE "player"='billy mayfair'; |
## Task
Generate a SQL query to answer the following question:
`What is Country, when Player is Billy Mayfair?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par"... |
SELECT "to_par" FROM "second_round" WHERE "player"='k. j. choi'; |
## Task
Generate a SQL query to answer the following question:
`What is To Par, when Player is K. J. Choi?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" tex... |
SELECT "score" FROM "second_round" WHERE "player"='billy mayfair'; |
## Task
Generate a SQL query to answer the following question:
`What is Score, when Player is Billy Mayfair?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" t... |
SELECT "place" FROM "second_round" WHERE "player"='don whitt'; |
## Task
Generate a SQL query to answer the following question:
`What place did Don Whitt finish?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
### S... |
SELECT "score" FROM "second_round" WHERE "player"='phil rodgers'; |
## Task
Generate a SQL query to answer the following question:
`What did Phil Rodgers score?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
### SQL
G... |
SELECT "place" FROM "second_round" WHERE "player"='gary player'; |
## Task
Generate a SQL query to answer the following question:
`What place was Gary Player after two rounds?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" t... |
SELECT "1993" FROM "singles_performance_timeline" WHERE "tournament"='cincinnati'; |
## Task
Generate a SQL query to answer the following question:
`What is 1993, when Tournament is "Cincinnati"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"1990" text,
"1991" text,
"1992" t... |
SELECT "1994" FROM "singles_performance_timeline" WHERE "1996"='grand slams'; |
## Task
Generate a SQL query to answer the following question:
`What is 1994, when 1996 is "Grand Slams"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"1990" text,
"1991" text,
"1992" text,
... |
SELECT "tournament" FROM "singles_performance_timeline" WHERE "1996"='1r' AND "1990"='sf'; |
## Task
Generate a SQL query to answer the following question:
`What is Tournament, when 1996 is "1R", and when 1990 is "SF"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"1990" text,
"1991" t... |
SELECT "1993" FROM "singles_performance_timeline" WHERE "1992"='sf' AND "tournament"='paris'; |
## Task
Generate a SQL query to answer the following question:
`What is 1993, when 1992 is "SF", and when Tournament is "Paris"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"1990" text,
"1991... |
SELECT "country" FROM "third_round" WHERE "score"='70-73-70=213'; |
## Task
Generate a SQL query to answer the following question:
`What country has a 70-73-70=213 score?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
... |
SELECT "place" FROM "third_round" WHERE "to_par"='+2' AND "player"='johnny miller'; |
## Task
Generate a SQL query to answer the following question:
`What place is player johnny miller, who has a to par of +2?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text... |
SELECT "country" FROM "third_round" WHERE "player"='mike sullivan'; |
## Task
Generate a SQL query to answer the following question:
`What country is player mike sullivan from?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text... |
SELECT "place" FROM "third_round" WHERE "score"='71-72-70=213'; |
## Task
Generate a SQL query to answer the following question:
`What is the place with a 71-72-70=213 score?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" te... |
SELECT "record" FROM "regular_season" WHERE "date"='may 1, 2004'; |
## Task
Generate a SQL query to answer the following question:
`What was the record after the game on May 1, 2004?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"re... |
SELECT "record" FROM "regular_season" WHERE "opponent"='manchester wolves' AND "date"='july 30, 2004'; |
## Task
Generate a SQL query to answer the following question:
`What was the record after the game with the Manchester Wolves on July 30, 2004?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent"... |
SELECT "game_site" FROM "regular_season" WHERE "date"='april 10, 2004'; |
## Task
Generate a SQL query to answer the following question:
`Which game site hosted a match on April 10, 2004?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"rec... |
SELECT "golf" FROM "women_s" WHERE "school"='green bay'; |
## Task
Generate a SQL query to answer the following question:
`Does Green Bay have a golf team?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "women_s" (
"school" text,
"bask" text,
"golf" text,
"soccer" text,
"soft" text,
"swimming" text... |
SELECT "soccer" FROM "women_s" WHERE "school"='detroit'; |
## Task
Generate a SQL query to answer the following question:
`Does Detroit have a soccer team?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "women_s" (
"school" text,
"bask" text,
"golf" text,
"soccer" text,
"soft" text,
"swimming" text... |
SELECT "poll_source" FROM "opinion_polling_for_the_united_states_se" WHERE "democrat_carl_levin"='61%'; |
## Task
Generate a SQL query to answer the following question:
`What is Poll Source, when Democrat: Carl Levin is 61%?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "opinion_polling_for_the_united_states_se" (
"poll_source" text,
"dates_administer... |
SELECT "democrat_carl_levin" FROM "opinion_polling_for_the_united_states_se" WHERE "lead_margin"=22; |
## Task
Generate a SQL query to answer the following question:
`What is Democrat: Carl Levin, when Lead Margin is 22?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "opinion_polling_for_the_united_states_se" (
"poll_source" text,
"dates_administere... |
SELECT "dates_administered" FROM "opinion_polling_for_the_united_states_se" WHERE "poll_source"='rasmussen reports' AND "lead_margin">18 AND "republican_jack_hoogendyk"='36%' AND "democrat_carl_levin"='59%'; |
## Task
Generate a SQL query to answer the following question:
`What is Dates Administered, when Poll Source is Rasmussen Reports, when Lead Margin is greater than 18, when Republican: Jack Hoogendyk is 36%, and when Democrat: Carl Levin is 59%?`
### Database Schema
This query will run on a database whose schema is r... |
SELECT "dates_administered" FROM "opinion_polling_for_the_united_states_se" WHERE "democrat_carl_levin"='61%'; |
## Task
Generate a SQL query to answer the following question:
`What is Dates Administered, when Democrat: Carl Levin is 61%?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "opinion_polling_for_the_united_states_se" (
"poll_source" text,
"dates_adm... |
SELECT "win_pct" FROM "all_time_head_coaches" WHERE "conference_titles"='0' AND "win_loss"='20-10'; |
## Task
Generate a SQL query to answer the following question:
`What is Win %, when Conference Titles is 0, and when Win-Loss is 20-10?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "all_time_head_coaches" (
"coach" text,
"years" text,
"win_loss... |
SELECT "conference_titles" FROM "all_time_head_coaches" WHERE "win_pct"='.667'; |
## Task
Generate a SQL query to answer the following question:
`What is Conference Titles, when Win % is .667?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "all_time_head_coaches" (
"coach" text,
"years" text,
"win_loss" text,
"win_pct" text,... |
SELECT "coach" FROM "all_time_head_coaches" WHERE "win_pct"='.352'; |
## Task
Generate a SQL query to answer the following question:
`What is Coach, when Win % is .352?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "all_time_head_coaches" (
"coach" text,
"years" text,
"win_loss" text,
"win_pct" text,
"conferen... |
SELECT "win_loss" FROM "all_time_head_coaches" WHERE "win_pct"='.456'; |
## Task
Generate a SQL query to answer the following question:
`What is Win-Loss, when Win % is .456?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "all_time_head_coaches" (
"coach" text,
"years" text,
"win_loss" text,
"win_pct" text,
"confe... |
SELECT "years" FROM "all_time_head_coaches" WHERE "win_loss"='11-60'; |
## Task
Generate a SQL query to answer the following question:
`What is Years, when Win-Loss is 11-60?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "all_time_head_coaches" (
"coach" text,
"years" text,
"win_loss" text,
"win_pct" text,
"conf... |
SELECT "date" FROM "women_s_records" WHERE "record"='33.952'; |
## Task
Generate a SQL query to answer the following question:
`What is the Date that has a Record of 33.952?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "women_s_records" (
"event" text,
"record" text,
"athlete" text,
"nationality" text,
... |
SELECT "place" FROM "women_s_records" WHERE "date"='4 august 2012'; |
## Task
Generate a SQL query to answer the following question:
`What is the Place that has a Date of 4 august 2012?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "women_s_records" (
"event" text,
"record" text,
"athlete" text,
"nationality" te... |
SELECT "place" FROM "women_s_records" WHERE "date"='22 august 2004'; |
## Task
Generate a SQL query to answer the following question:
`What is the Place that has a Date of 22 august 2004?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "women_s_records" (
"event" text,
"record" text,
"athlete" text,
"nationality" t... |
SELECT "record" FROM "women_s_records" WHERE "nationality"='new zealand'; |
## Task
Generate a SQL query to answer the following question:
`What is the Record that has a Nationality of new zealand?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "women_s_records" (
"event" text,
"record" text,
"athlete" text,
"nationali... |
SELECT "skip" FROM "women_s" WHERE "third"='deanna doig'; |
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE SKIP WITH A THIRD OF DEANNA DOIG?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "women_s" (
"skip" text,
"third" text,
"second" text,
"lead" text,
"city" text
);
###... |
SELECT "third" FROM "women_s" WHERE "lead"='cindy simmons'; |
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE THIRD WITH LEAD CINDY SIMMONS?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "women_s" (
"skip" text,
"third" text,
"second" text,
"lead" text,
"city" text
);
### SQ... |
SELECT "lead" FROM "women_s" WHERE "third"='jeanna schraeder'; |
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE LEAD WITH THIRD AS JEANNA SCHRAEDER?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "women_s" (
"skip" text,
"third" text,
"second" text,
"lead" text,
"city" text
);
... |
SELECT "lead" FROM "women_s" WHERE "third"='tara george'; |
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE LEAD WITH THIRD AS TARA GEORGE?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "women_s" (
"skip" text,
"third" text,
"second" text,
"lead" text,
"city" text
);
### S... |
SELECT "second" FROM "women_s" WHERE "city"='regina' AND "skip"='michelle englot'; |
## Task
Generate a SQL query to answer the following question:
`WHAT IS TEH SECOND WITH REGINA AS CITY AND SKIP OF MICHELLE ENGLOT?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "women_s" (
"skip" text,
"third" text,
"second" text,
"lead" text... |
SELECT "city" FROM "women_s" WHERE "third"='lori olson-johns'; |
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE CITY WITH THIRD AS LORI OLSON-JOHNS?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "women_s" (
"skip" text,
"third" text,
"second" text,
"lead" text,
"city" text
);
... |
SELECT "event" FROM "mixed_martial_arts_record" WHERE "time"='0:49'; |
## Task
Generate a SQL query to answer the following question:
`What event has a 0:49 time?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
... |
SELECT "record" FROM "mixed_martial_arts_record" WHERE "time"='3:56'; |
## Task
Generate a SQL query to answer the following question:
`What is the record with a 3:56 time?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"even... |
SELECT "champion" FROM "kfk_competition_of_ukraine" WHERE "third"='blaho blahoyeve' AND "season"='1995-96'; |
## Task
Generate a SQL query to answer the following question:
`Which Champion has a Third of blaho blahoyeve, and a Season of 1995-96?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "kfk_competition_of_ukraine" (
"season" text,
"zone" real,
"cha... |
SELECT SUM("zone") FROM "kfk_competition_of_ukraine" WHERE "champion"='surozh sudak'; |
## Task
Generate a SQL query to answer the following question:
`Which Zone has a Champion of surozh sudak?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "kfk_competition_of_ukraine" (
"season" text,
"zone" real,
"champion" text,
"second" text,... |
SELECT "third" FROM "kfk_competition_of_ukraine" WHERE "champion"='metalurh novomoskovsk'; |
## Task
Generate a SQL query to answer the following question:
`Which Third has a Champion of metalurh novomoskovsk?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "kfk_competition_of_ukraine" (
"season" text,
"zone" real,
"champion" text,
"sec... |
SELECT "census_ranking" FROM "parishes" WHERE "area_km_2">243.31; |
## Task
Generate a SQL query to answer the following question:
`What is the census ranking for the parish with an area larger than 243.31 square km?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "parishes" (
"official_name" text,
"status" text,
... |
SELECT "verb_meaning" FROM "german" WHERE "part_1"='saugen'; |
## Task
Generate a SQL query to answer the following question:
`What is the verb meaning for Saugen in part 1?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "german" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,... |
SELECT "verb_meaning" FROM "german" WHERE "part_3"='gaben'; |
## Task
Generate a SQL query to answer the following question:
`What is the verb meaning for Gaben in part 3?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "german" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
... |
SELECT "class" FROM "german" WHERE "part_4"='geholfen gedroschen'; |
## Task
Generate a SQL query to answer the following question:
`What is the class for Geholfen Gedroschen in part 4?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "german" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4"... |
SELECT "class" FROM "german" WHERE "part_3"='trafen'; |
## Task
Generate a SQL query to answer the following question:
`What is the class for trafen in part 3?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "german" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"ver... |
SELECT "verb_meaning" FROM "german" WHERE "class"='4'; |
## Task
Generate a SQL query to answer the following question:
`What is the verb meaning for class 4?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "german" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_... |
SELECT "name" FROM "1928_1939" WHERE "term_end"='5 march 1930'; |
## Task
Generate a SQL query to answer the following question:
`Who is the prime minister that had a term that ended on 5 March 1930?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "1928_1939" (
"name" text,
"born_died" text,
"term_start" text,
... |
SELECT "poles" FROM "career_summary" WHERE "season"=2006; |
## Task
Generate a SQL query to answer the following question:
`What are the Poles for Season 2006`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"races" text,
"wins" text,
"poles" text,
"f_l... |
SELECT "wins" FROM "career_summary" WHERE "podiums"='2' AND "f_laps"='2'; |
## Task
Generate a SQL query to answer the following question:
`If Podiums is 2 and F/Laps are 2, what are the wins?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"races" text,
"wins" text,
"p... |
SELECT "position" FROM "career_summary" WHERE "races"='test driver'; |
## Task
Generate a SQL query to answer the following question:
`If the Races is Test Driver what is the Position?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"races" text,
"wins" text,
"pole... |
SELECT MIN("races") FROM "career_summary" WHERE "team_name"='piquet gp' AND "points">24; |
## Task
Generate a SQL query to answer the following question:
`Can you tell me the lowest Races that has the Team Name of piquet gp, and the Points larger than 24?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" text,
"s... |
SELECT SUM("poles") FROM "career_summary" WHERE "season"='2005' AND "series"='formula three sudamericana'; |
## Task
Generate a SQL query to answer the following question:
`Can you tell me the sum of Poles that has the Season of 2005, and the Series of formula three sudamericana?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" tex... |
SELECT "series" FROM "career_summary" WHERE "wins"=0 AND "season"='2002'; |
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Series that has the Wins of 0, and the Season of a 2002?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team_nam... |
SELECT "venue" FROM "football_league_two" WHERE "game">18 AND "opponent"='morecambe'; |
## Task
Generate a SQL query to answer the following question:
`What is Venue, when Game is greater than 18, and when Opponent is Morecambe?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "football_league_two" (
"game" real,
"date" text,
"opponen... |
SELECT SUM("game") FROM "football_league_two" WHERE "date"='29 january 2008'; |
## Task
Generate a SQL query to answer the following question:
`What is the sum of Game, when Date is 29 January 2008?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "football_league_two" (
"game" real,
"date" text,
"opponent" text,
"venue" tex... |
SELECT "date" FROM "release_history" WHERE "catalog"='kicp-1321'; |
## Task
Generate a SQL query to answer the following question:
`What date had a catalog of kicp-1321?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"catalog" text,
"format" text
)... |
SELECT "catalog" FROM "release_history" WHERE "label"='frontiers records'; |
## Task
Generate a SQL query to answer the following question:
`What was the catalog when the label was frontiers records?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"catalog" te... |
SELECT "format" FROM "release_history" WHERE "region"='europe'; |
## Task
Generate a SQL query to answer the following question:
`What was the format for the region of europe?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"catalog" text,
"format... |
SELECT "region" FROM "release_history" WHERE "label"='universal music group'; |
## Task
Generate a SQL query to answer the following question:
`What was the region when the label was the universal music group?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"cata... |
SELECT "format" FROM "release_history" WHERE "label"='loen entertainment'; |
## Task
Generate a SQL query to answer the following question:
`What was the format when the label was loen entertainment?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"catalog" te... |
SELECT "number" FROM "locomotives" WHERE "builder"='baldwin locomotive works' AND "works_number"=40864; |
## Task
Generate a SQL query to answer the following question:
`With a works number of 40864 for the builder of Baldwin Locomotive Works, the number listed is?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "locomotives" (
"number" text,
"builder" ... |
SELECT "works_number" FROM "locomotives" WHERE "type"='0-4-4 forney locomotive' AND "builder"='h. k. porter, inc'; |
## Task
Generate a SQL query to answer the following question:
`Builder H. K. Porter, inc who had a type of 0-4-4 Forney locomotive, has what works number?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "locomotives" (
"number" text,
"builder" text... |
SELECT "number" FROM "locomotives" WHERE "builder"='baldwin locomotive works' AND "works_number"=40864; |
## Task
Generate a SQL query to answer the following question:
`Baldwin Locomotive Works, also with works number 40864, is listed as what number?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "locomotives" (
"number" text,
"builder" text,
"type"... |
SELECT "number" FROM "locomotives" WHERE "works_number"<1563 AND "builder"='hinkley locomotive works'; |
## Task
Generate a SQL query to answer the following question:
`Hinkley Locomotive Works is listed as what number as it has a works number smaller than 1563?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "locomotives" (
"number" text,
"builder" te... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.