output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT COUNT("total") FROM "medal_table" WHERE "silver"<2 AND "bronze"<0;
## Task Generate a SQL query to answer the following question: `What is the total number of Total when the Silver is less than 2, and a Bronze is less than 0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "medal_table" ( "rank" text, "nation" text...
SELECT "nickname" FROM "delaware_ice_hockey_teams" WHERE "colors"='blue and gold';
## Task Generate a SQL query to answer the following question: `What is the nickname of the team that has the colors blue and gold?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "delaware_ice_hockey_teams" ( "school" text, "nickname" text, "colo...
SELECT "nickname" FROM "delaware_ice_hockey_teams" WHERE "colors"='black and gold';
## Task Generate a SQL query to answer the following question: `What is the nickname of the team that has the colors black and gold?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "delaware_ice_hockey_teams" ( "school" text, "nickname" text, "col...
SELECT "nickname" FROM "delaware_ice_hockey_teams" WHERE "division"='division 2';
## Task Generate a SQL query to answer the following question: `What is the nickname of the team in division 2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "delaware_ice_hockey_teams" ( "school" text, "nickname" text, "colors" text, "league"...
SELECT "class" FROM "delaware_ice_hockey_teams" WHERE "league"='dsha' AND "school"='middletown high school';
## Task Generate a SQL query to answer the following question: `What is the class of the Middletown High School team that is in the DSHA league?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "delaware_ice_hockey_teams" ( "school" text, "nickname" ...
SELECT "school" FROM "delaware_ice_hockey_teams" WHERE "colors"='blue and gold';
## Task Generate a SQL query to answer the following question: `What school is the team from that has the colors blue and gold?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "delaware_ice_hockey_teams" ( "school" text, "nickname" text, "colors" ...
SELECT "colors" FROM "delaware_ice_hockey_teams" WHERE "division"='division 2' AND "nickname"='seahawks';
## Task Generate a SQL query to answer the following question: `What are the colors for the division 2 team with the nickname, the seahawks?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "delaware_ice_hockey_teams" ( "school" text, "nickname" text...
SELECT "centerfold_model" FROM "2006" WHERE "pictorials"='adrianne curry, girls of tuscany';
## Task Generate a SQL query to answer the following question: `Who's the Centerfold model with a Pictorials of adrianne curry, girls of tuscany?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2006" ( "date" text, "centerfold_model" text, "inter...
SELECT "date" FROM "2006" WHERE "20_questions"='jason lee';
## Task Generate a SQL query to answer the following question: `Which Date has a 20 Questions of jason lee?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2006" ( "date" text, "centerfold_model" text, "interview_subject" text, "20_questions" t...
SELECT "interview_subject" FROM "2006" WHERE "pictorials"='vida guerra';
## Task Generate a SQL query to answer the following question: `Which Interview subject has a Pictorials of vida guerra?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2006" ( "date" text, "centerfold_model" text, "interview_subject" text, "20...
SELECT "date" FROM "2006" WHERE "pictorials"='mercedes mcnab, girls of hawaiian tropic';
## Task Generate a SQL query to answer the following question: `Which Date has a Pictorials of mercedes mcnab, girls of hawaiian tropic?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2006" ( "date" text, "centerfold_model" text, "interview_subj...
SELECT "pictorials" FROM "2006" WHERE "20_questions"='eva longoria';
## Task Generate a SQL query to answer the following question: `Which Pictorials has a 20 Questions of eva longoria?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2006" ( "date" text, "centerfold_model" text, "interview_subject" text, "20_que...
SELECT "interview_subject" FROM "2006" WHERE "centerfold_model"='athena lundberg';
## Task Generate a SQL query to answer the following question: `Which Interview subject has a Centerfold model of athena lundberg?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2006" ( "date" text, "centerfold_model" text, "interview_subject" t...
SELECT COUNT("votes") FROM "2005_general_election" WHERE "party"='labour';
## Task Generate a SQL query to answer the following question: `What is the total number of votes from the Labour Party?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2005_general_election" ( "party" text, "candidate" text, "votes" real, "pct...
SELECT "party" FROM "2005_general_election" WHERE "votes"<'11,484';
## Task Generate a SQL query to answer the following question: `Which party has less than 11,484 votes?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2005_general_election" ( "party" text, "candidate" text, "votes" real, "pct_share" text, "...
SELECT SUM("number") FROM "d" WHERE "name"='brandon dean';
## Task Generate a SQL query to answer the following question: `How many numbers had Brandon Dean as a name?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "d" ( "name" text, "position" text, "number" real, "season" text, "acquisition_via" te...
SELECT "singular" FROM "number" WHERE "meaning"='night';
## Task Generate a SQL query to answer the following question: `What is the singular for the Meaning of night?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "number" ( "singular" text, "singular_gender" text, "plural" text, "plural_gender" tex...
SELECT "plural" FROM "number" WHERE "meaning"='night';
## Task Generate a SQL query to answer the following question: `What is the plural for the Meaning of night?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "number" ( "singular" text, "singular_gender" text, "plural" text, "plural_gender" text,...
SELECT "plural" FROM "number" WHERE "singular"='nyaqot';
## Task Generate a SQL query to answer the following question: `What is the plural if the singular is nyaqot?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "number" ( "singular" text, "singular_gender" text, "plural" text, "plural_gender" text...
SELECT "plural" FROM "number" WHERE "plural_gender"='n' AND "meaning"='python';
## Task Generate a SQL query to answer the following question: `What is the plural if the meaning is python and the plural gender is n?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "number" ( "singular" text, "singular_gender" text, "plural" te...
SELECT "plural" FROM "number" WHERE "singular"='awu';
## Task Generate a SQL query to answer the following question: `What is the plural if the singular is awu?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "number" ( "singular" text, "singular_gender" text, "plural" text, "plural_gender" text, ...
SELECT "singular" FROM "number" WHERE "plural"='xweer(a)du';
## Task Generate a SQL query to answer the following question: `What is the singular if the plural is xweer(a)du?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "number" ( "singular" text, "singular_gender" text, "plural" text, "plural_gender" ...
SELECT COUNT("against") FROM "laf_s_campeonato_paulista" WHERE "team"='sant''anna' AND "position">10;
## Task Generate a SQL query to answer the following question: `What is the Total againsts for the Sant'Anna team with a position number greater than 10?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "laf_s_campeonato_paulista" ( "position" real, ...
SELECT SUM("played") FROM "laf_s_campeonato_paulista" WHERE "lost"=3 AND "drawn">1 AND "points"<10;
## Task Generate a SQL query to answer the following question: `What is the total number of games played with 3 losses, 1 or more drawns and 10 or fewer points?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "laf_s_campeonato_paulista" ( "position" r...
SELECT AVG("lost") FROM "laf_s_campeonato_paulista" WHERE "played">9;
## Task Generate a SQL query to answer the following question: `What is the average lost of games played of more than 9?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "laf_s_campeonato_paulista" ( "position" real, "team" text, "points" real, "...
SELECT MIN("bronze") FROM "medals_table" WHERE "nation"='great britain' AND "total">2;
## Task Generate a SQL query to answer the following question: `What is the lowest number of bronze medals for Great Britain with more than 2 medals total?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "medals_table" ( "rank" real, "nation" text, ...
SELECT MIN("wins") FROM "2_lyga_zone_south" WHERE "position"=4 AND "loses"<4;
## Task Generate a SQL query to answer the following question: `What is the lowest wins the club with a position of 4 and less than 4 losses has?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2_lyga_zone_south" ( "position" real, "club" text, "...
SELECT SUM("points") FROM "2_lyga_zone_south" WHERE "club"='nevėžis-2 kėdainiai' AND "goals_conceded">35;
## Task Generate a SQL query to answer the following question: `What is the sum of the points of club nevėžis-2 kėdainiai, which has more than 35 goals conceded?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2_lyga_zone_south" ( "position" real, ...
SELECT COUNT("games_played") FROM "2_lyga_zone_south" WHERE "wins"=4 AND "position"<9;
## Task Generate a SQL query to answer the following question: `What is the total number of games played of the team with 4 wins and a position less than 9?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2_lyga_zone_south" ( "position" real, "club...
SELECT MAX("wins") FROM "2_lyga_zone_south" WHERE "position"<1;
## Task Generate a SQL query to answer the following question: `What is the highest number of wins of the team with a position less than 1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2_lyga_zone_south" ( "position" real, "club" text, "games_...
SELECT SUM("losses") FROM "2011_ladder" WHERE "against">1412 AND "wins"=10 AND "draws"<0;
## Task Generate a SQL query to answer the following question: `What is the total losses against 1412, and 10 wins, but draws less than 0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_ladder" ( "wins" real, "byes" real, "losses" real, "...
SELECT MAX("draws") FROM "2011_ladder" WHERE "against">2161;
## Task Generate a SQL query to answer the following question: `What is the highest draw against 2161?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_ladder" ( "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); ###...
SELECT COUNT("losses") FROM "2011_ladder" WHERE "against"=1412 AND "byes"<2;
## Task Generate a SQL query to answer the following question: `What is the total number of losses against 1412, and Byes less than 2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_ladder" ( "wins" real, "byes" real, "losses" real, "draw...
SELECT MIN("wins") FROM "2011_ladder" WHERE "byes"<2;
## Task Generate a SQL query to answer the following question: `What is the lowest wins with less than 2 Byes?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_ladder" ( "wins" real, "byes" real, "losses" real, "draws" real, "against" rea...
SELECT MAX("against") FROM "2011_ladder" WHERE "wins"=0 AND "byes">2;
## Task Generate a SQL query to answer the following question: `What is the highest score with 0 wins and more than 2 Byes?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_ladder" ( "wins" real, "byes" real, "losses" real, "draws" real, ...
SELECT SUM("wins") FROM "2011_ladder" WHERE "against"<1148;
## Task Generate a SQL query to answer the following question: `What is the sum of wins against the smaller score 1148?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_ladder" ( "wins" real, "byes" real, "losses" real, "draws" real, "aga...
SELECT "name" FROM "list_of_top_association_football_goal_sc" WHERE "rank">7 AND "goals"<305 AND "matches"='418';
## Task Generate a SQL query to answer the following question: `Who had a rank larger than 7, less than 305 goals, and 418 matches?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_top_association_football_goal_sc" ( "rank" real, "name" text...
SELECT COUNT("goals") FROM "list_of_top_association_football_goal_sc" WHERE "rank"=6;
## Task Generate a SQL query to answer the following question: `How many goals ranked 6?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_top_association_football_goal_sc" ( "rank" real, "name" text, "years" text, "matches" text, "goal...
SELECT "matches" FROM "list_of_top_association_football_goal_sc" WHERE "goals"=360;
## Task Generate a SQL query to answer the following question: `How many matches had 360 goals?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_top_association_football_goal_sc" ( "rank" real, "name" text, "years" text, "matches" text, ...
SELECT "nominee" FROM "original_london_production" WHERE "category"='best costume design';
## Task Generate a SQL query to answer the following question: `What is the Nominee from the Category that is best costume design?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "original_london_production" ( "year" real, "award" text, "category"...
SELECT SUM("total") FROM "southeast_asian_games" WHERE "bronze">12 AND "silver">772 AND "country"='thailand';
## Task Generate a SQL query to answer the following question: `Which Total has a Bronze larger than 12, and a Silver larger than 772, and a Country of thailand?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "southeast_asian_games" ( "country" text,...
SELECT AVG("gold") FROM "southeast_asian_games" WHERE "total"=2998 AND "bronze"<1191;
## Task Generate a SQL query to answer the following question: `Which Gold has a Total of 2998, and a Bronze smaller than 1191?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "southeast_asian_games" ( "country" text, "gold" real, "silver" real, ...
SELECT SUM("bronze") FROM "southeast_asian_games" WHERE "country"='malaysia' AND "total"<2644;
## Task Generate a SQL query to answer the following question: `Which Bronze has a Country of malaysia, and a Total smaller than 2644?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "southeast_asian_games" ( "country" text, "gold" real, "silver" ...
SELECT "silver" FROM "southeast_asian_games" WHERE "bronze"<618 AND "country"='laos';
## Task Generate a SQL query to answer the following question: `Which Silver has a Bronze smaller than 618, and a Country of laos?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "southeast_asian_games" ( "country" text, "gold" real, "silver" real...
SELECT "score" FROM "game_log" WHERE "team"='@ portland';
## Task Generate a SQL query to answer the following question: `What is the Score with a Team that is @ portland?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" t...
SELECT "high_points" FROM "game_log" WHERE "date"='january 20';
## Task Generate a SQL query to answer the following question: `What is the High points with a Date that is january 20?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_poi...
SELECT "home" FROM "november" WHERE "visitor"='clippers';
## Task Generate a SQL query to answer the following question: `Who was the home team that the Clippers played?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "november" ( "date" text, "visitor" text, "score" text, "home" text, "leading_score...
SELECT "record" FROM "november" WHERE "leading_scorer"='lebron james (16)';
## Task Generate a SQL query to answer the following question: `What's the record of the game where Lebron James (16) was the leading scorer?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "november" ( "date" text, "visitor" text, "score" text, ...
SELECT AVG("attendance") FROM "irn_bru_second_division" WHERE "venue"='a' AND "date"='2 january 2008';
## Task Generate a SQL query to answer the following question: `When the venue was A and the date was 2 january 2008, what was the average attendance?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "irn_bru_second_division" ( "date" text, "opponent...
SELECT "venue" FROM "irn_bru_second_division" WHERE "date"='10 november 2007';
## Task Generate a SQL query to answer the following question: `On 10 November 2007, what was the venue?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "irn_bru_second_division" ( "date" text, "opponent" text, "venue" text, "result" text, "at...
SELECT "date" FROM "irn_bru_second_division" WHERE "result"='1–0' AND "attendance">668 AND "opponent"='ayr united';
## Task Generate a SQL query to answer the following question: `On what date was the opponent Ayr United, the result 1–0, and the attendance more than 668?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "irn_bru_second_division" ( "date" text, "opp...
SELECT "result" FROM "irn_bru_second_division" WHERE "opponent"='brechin city' AND "attendance"=656;
## Task Generate a SQL query to answer the following question: `When the opponent was Brechin City and the attendance was 656, what was the Result?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "irn_bru_second_division" ( "date" text, "opponent" t...
SELECT AVG("attendance") FROM "irn_bru_second_division" WHERE "venue"='a' AND "date"='1 september 2007';
## Task Generate a SQL query to answer the following question: `On 1 september 2007, at the Venue A, what was the average attendance?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "irn_bru_second_division" ( "date" text, "opponent" text, "venue"...
SELECT "score" FROM "winners" WHERE "country"='england' AND "year">1971;
## Task Generate a SQL query to answer the following question: `Which Score has a Country of england, and a Year larger than 1971?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "winners" ( "year" real, "venue" text, "winner" text, "country" te...
SELECT "winner" FROM "winners" WHERE "country"='scotland';
## Task Generate a SQL query to answer the following question: `What is Scotland's winner?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "winners" ( "year" real, "venue" text, "winner" text, "country" text, "score" text ); ### SQL Given the ...
SELECT "time" FROM "regular_season" WHERE "week"=2;
## Task Generate a SQL query to answer the following question: `What time was the game in week 2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "week" real, "date" text, "time" text, "opponent" text, "result" text, "game...
SELECT "result" FROM "regular_season" WHERE "date"='september 14, 2008';
## Task Generate a SQL query to answer the following question: `What was the score of the game on September 14, 2008?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "week" real, "date" text, "time" text, "opponent" text, "r...
SELECT "result" FROM "regular_season" WHERE "date"='november 23, 2008';
## Task Generate a SQL query to answer the following question: `What was the final score of the game on November 23, 2008?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "week" real, "date" text, "time" text, "opponent" text,...
SELECT "species" FROM "usage" WHERE "voges_proskauer"='negative' AND "indole"='negative';
## Task Generate a SQL query to answer the following question: `Which species has a Voges-Proskauer reading of negative and an indole reading of negative?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "usage" ( "species" text, "indole" text, "me...
SELECT "voges_proskauer" FROM "usage" WHERE "species"='proteus mirabilis';
## Task Generate a SQL query to answer the following question: `What is the Voges-Proskauer reading for proteus mirabilis?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "usage" ( "species" text, "indole" text, "methyl_red" text, "voges_proskau...
SELECT "methyl_red" FROM "usage" WHERE "indole"='positive';
## Task Generate a SQL query to answer the following question: `What is the methyl red reading for the species that tests positive for indole?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "usage" ( "species" text, "indole" text, "methyl_red" te...
SELECT "methyl_red" FROM "usage" WHERE "species"='proteus mirabilis';
## Task Generate a SQL query to answer the following question: `What is the methyl red reading for proteus mirabilis?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "usage" ( "species" text, "indole" text, "methyl_red" text, "voges_proskauer" t...
SELECT MAX("silver") FROM "medal_table" WHERE "nation"='russia' AND "bronze">5;
## Task Generate a SQL query to answer the following question: `What is the highest silver medals for Russia with more than 5 bronze medals?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, ...
SELECT "package_option" FROM "worlds_cultures" WHERE "television_service"='sky arte hd';
## Task Generate a SQL query to answer the following question: `What package/option has sky arte hd as the television service?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "worlds_cultures" ( "television_service" text, "language" text, "content...
SELECT "language" FROM "worlds_cultures" WHERE "hdtv"='no' AND "package_option"='sky famiglia' AND "television_service"='national geographic channel';
## Task Generate a SQL query to answer the following question: `What language has NO, as the HDTV, sky famiglia as the package/option, and national geographic channel as the television service?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "worlds_cul...
SELECT "language" FROM "worlds_cultures" WHERE "package_option"='sky famiglia';
## Task Generate a SQL query to answer the following question: `What language has sky famiglia as the package/option?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "worlds_cultures" ( "television_service" text, "language" text, "content" text, ...
SELECT "language" FROM "worlds_cultures" WHERE "content"='viaggi';
## Task Generate a SQL query to answer the following question: `What language has viaggi as the content?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "worlds_cultures" ( "television_service" text, "language" text, "content" text, "hdtv" text,...
SELECT "television_service" FROM "worlds_cultures" WHERE "language"='italian' AND "package_option"='sky famiglia';
## Task Generate a SQL query to answer the following question: `What television service has italian as the language, and sky famiglia as the package option?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "worlds_cultures" ( "television_service" text,...
SELECT "package_option" FROM "worlds_cultures" WHERE "content"='documentaries' AND "hdtv"='yes' AND "television_service"='history hd';
## Task Generate a SQL query to answer the following question: `What package/option has documentaries as the content, yes as the HDTV, and a television service of history hd?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "worlds_cultures" ( "televis...
SELECT "res" FROM "mixed_martial_arts_record" WHERE "method"='submission (armbar)';
## Task Generate a SQL query to answer the following question: `What was the resolution for the match that ended by Submission (armbar)?` ### 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, "oppo...
SELECT "time" FROM "mixed_martial_arts_record" WHERE "round"='3' AND "opponent"='keith wisniewski';
## Task Generate a SQL query to answer the following question: `What was the total time for the match that ocurred in Round 3 with opponent Keith Wisniewski?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "mixed_martial_arts_record" ( "res" text, "...
SELECT "location" FROM "mixed_martial_arts_record" WHERE "opponent"='laverne clark';
## Task Generate a SQL query to answer the following question: `Where did the match with opponent Laverne Clark occur?` ### 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, "met...
SELECT "diameter_mi" FROM "satellite_craters" WHERE "longitude"='79.8° e';
## Task Generate a SQL query to answer the following question: `What is the Diameter (mi) when the Longitude is 79.8° e?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "satellite_craters" ( "gill" text, "latitude" text, "longitude" text, "diame...
SELECT "latitude" FROM "satellite_craters" WHERE "diameter_km"='13km' AND "longitude"='72.9° e';
## Task Generate a SQL query to answer the following question: `What is the Latitude when the Diameter (km) is 13km, and the Longitude is 72.9° e?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "satellite_craters" ( "gill" text, "latitude" text, ...
SELECT "longitude" FROM "satellite_craters" WHERE "diameter_km"='31km';
## Task Generate a SQL query to answer the following question: `What shows for the Longitude when there is a Diameter (km) of 31km?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "satellite_craters" ( "gill" text, "latitude" text, "longitude" tex...
SELECT "diameter_mi" FROM "satellite_craters" WHERE "gill"='g';
## Task Generate a SQL query to answer the following question: `What shows for the Diameter (mi) when the Gill is g?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "satellite_craters" ( "gill" text, "latitude" text, "longitude" text, "diameter_...
SELECT "diameter_km" FROM "satellite_craters" WHERE "diameter_mi"='8mi' AND "gill"='e';
## Task Generate a SQL query to answer the following question: `What shows for the Diameter (km) when the Diameter (mi) is 8mi, and a Gill is e?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "satellite_craters" ( "gill" text, "latitude" text, "l...
SELECT "diameter_km" FROM "satellite_craters" WHERE "diameter_mi"='5mi';
## Task Generate a SQL query to answer the following question: `What shows as the Diameter (km) when the Diameter (mi) is 5mi?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "satellite_craters" ( "gill" text, "latitude" text, "longitude" text, ...
SELECT MIN("squad_no") FROM "2008_season_players_current_to_round_19_" WHERE "goals"<0;
## Task Generate a SQL query to answer the following question: `What was the lowest squad with 0 goals?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2008_season_players_current_to_round_19_" ( "player" text, "squad_no" real, "appearances" real...
SELECT COUNT("overall") FROM "2008_cincinnati_bengals_draft_selections" WHERE "player"='angelo craig';
## Task Generate a SQL query to answer the following question: `What is the number for overall for angelo craig?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2008_cincinnati_bengals_draft_selections" ( "round" real, "overall" real, "player" te...
SELECT "round" FROM "2008_cincinnati_bengals_draft_selections" WHERE "overall"=246;
## Task Generate a SQL query to answer the following question: `What is the Round when there is an overall of 246?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2008_cincinnati_bengals_draft_selections" ( "round" real, "overall" real, "player" ...
SELECT MIN("overall") FROM "2008_cincinnati_bengals_draft_selections" WHERE "position"='wide receiver' AND "round"<2;
## Task Generate a SQL query to answer the following question: `What is the lowest Overall for the wide receiver in a round less than 2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2008_cincinnati_bengals_draft_selections" ( "round" real, "over...
SELECT "player" FROM "2008_cincinnati_bengals_draft_selections" WHERE "college"='appalachian state';
## Task Generate a SQL query to answer the following question: `What is the Player from appalachian state?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2008_cincinnati_bengals_draft_selections" ( "round" real, "overall" real, "player" text, ...
SELECT "production_cost" FROM "2000" WHERE "date"='february 2000';
## Task Generate a SQL query to answer the following question: `What is the Production Cost with a Date that is february 2000?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2000" ( "date" text, "title" text, "director" text, "producer" text, ...
SELECT "singapore_gross" FROM "2000" WHERE "title"='2000';
## Task Generate a SQL query to answer the following question: `What is the Singapore Gross with a Title that is 2000?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2000" ( "date" text, "title" text, "director" text, "producer" text, "produ...
SELECT "singapore_gross" FROM "2000" WHERE "producer"='2000';
## Task Generate a SQL query to answer the following question: `What is the Singapore Gross with a Producer that is 2000?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2000" ( "date" text, "title" text, "director" text, "producer" text, "pr...
SELECT AVG("height") FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "weight"<93 AND "spike"<336 AND "block"=305;
## Task Generate a SQL query to answer the following question: `What is Average Height, when Weight is less than 93, when Spike is less than 336, and when Block is 305?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "volleyball_at_the_2004_summer_olymp...
SELECT "name" FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "block"=320 AND "spike">336 AND "date_of_birth"='12.10.1978';
## Task Generate a SQL query to answer the following question: `What is Name, when Block is 320, when Spike is more than 336, and when Date of Birth is 12.10.1978?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "volleyball_at_the_2004_summer_olympics_m...
SELECT COUNT("block") FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "spike"<341 AND "weight">82 AND "name"='theodoros baev';
## Task Generate a SQL query to answer the following question: `What is the total number of Block(s), when Spike is less than 341, when Weight is greater than 82, and when Name is Theodoros Baev?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "volleyba...
SELECT "name" FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "spike">343 AND "date_of_birth"='02.03.1973';
## Task Generate a SQL query to answer the following question: `What is Name, when Spike is greater than 343, and when Date of Birth is 02.03.1973?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" ( "name" tex...
SELECT "date" FROM "european_tour_wins_14" WHERE "tournament"='paco rabanne open de france';
## Task Generate a SQL query to answer the following question: `What was the date of the Paco Rabanne Open de France?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "european_tour_wins_14" ( "date" text, "tournament" text, "winning_score" text, ...
SELECT "date" FROM "european_tour_wins_14" WHERE "runner_s_up"='ian mosey';
## Task Generate a SQL query to answer the following question: `On which date did Ian Mosey finish runner-up?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "european_tour_wins_14" ( "date" text, "tournament" text, "winning_score" text, "margin...
SELECT "set_2" FROM "results_pool_d" WHERE "set_4"='21-25';
## Task Generate a SQL query to answer the following question: `What set 2 has a set 4 of 21-25?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "results_pool_d" ( "date" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "set_4" ...
SELECT "score" FROM "results_pool_d" WHERE "set_3"='26-28';
## Task Generate a SQL query to answer the following question: `What was the score when set 3 was 26-28?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "results_pool_d" ( "date" text, "score" text, "set_1" text, "set_2" text, "set_3" text, ...
SELECT "date" FROM "results_pool_d" WHERE "set_3"='18-25';
## Task Generate a SQL query to answer the following question: `When was set 3 of 18-25?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "results_pool_d" ( "date" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "set_4" text, ...
SELECT "away_captain" FROM "england_in_australia_1907_8" WHERE "result"='eng by 1 wkt';
## Task Generate a SQL query to answer the following question: `Who was the away captain with a result of Eng by 1 wkt?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "england_in_australia_1907_8" ( "date" text, "home_captain" text, "away_captain...
SELECT "date" FROM "england_in_australia_1907_8" WHERE "result"='eng by 1 wkt';
## Task Generate a SQL query to answer the following question: `On what date was the result Eng by 1 wkt?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "england_in_australia_1907_8" ( "date" text, "home_captain" text, "away_captain" text, "ven...
SELECT "date" FROM "england_in_australia_1907_8" WHERE "away_captain"='arthur jones' AND "venue"='sydney cricket ground';
## Task Generate a SQL query to answer the following question: `On what date was Arthur Jones the away captain at Sydney Cricket Ground?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "england_in_australia_1907_8" ( "date" text, "home_captain" text...
SELECT "birthplace" FROM "list_of_united_states_national_ice_hocke" WHERE "1963_1964_team"='blind river hockey club';
## Task Generate a SQL query to answer the following question: `What was the birthplace of the player who was part of the Blind River Hockey Club team between 1963-1964?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_united_states_national_ice...
SELECT MAX("place") FROM "spokespersons" WHERE "draw"=6;
## Task Generate a SQL query to answer the following question: `What is the highest place for song that was draw number 6?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "spokespersons" ( "draw" real, "artist" text, "song" text, "first_vote" re...