output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT AVG("game") FROM "game_log" WHERE "record"='45-16';
## Task Generate a SQL query to answer the following question: `Which game had a record of 45-16?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record"...
SELECT "game" FROM "game_log" WHERE "location"='boston garden' AND "record"='49-17';
## Task Generate a SQL query to answer the following question: `Which game is located in Boston Garden and has a record of 49-17?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" tex...
SELECT MAX("1st_lbsc_no") FROM "references" WHERE "lbsc_name"='northcote';
## Task Generate a SQL query to answer the following question: `What is the largest 1st LBSC number with a LBSC Name of northcote?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "references" ( "1st_lbsc_no" real, "lbsc_name" text, "built" text, ...
SELECT "result" FROM "results_by_round" WHERE "round"=34;
## Task Generate a SQL query to answer the following question: `What is the result when the round shows 34?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "results_by_round" ( "round" real, "date" text, "opponent" text, "venue" text, "result"...
SELECT "venue" FROM "results_by_round" WHERE "opponent"='woking' AND "round"<29;
## Task Generate a SQL query to answer the following question: `What is the venue when Woking was the opponent, and the round was less than 29?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "results_by_round" ( "round" real, "date" text, "oppone...
SELECT COUNT("round") FROM "results_by_round" WHERE "opponent"='wrexham' AND "venue"='away';
## Task Generate a SQL query to answer the following question: `What is the round number when the opponent was Wrexham, and the venue shows as Away?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "results_by_round" ( "round" real, "date" text, "o...
SELECT MIN("position") FROM "main_round" WHERE "name"='esv türkheim' AND "drawn">0;
## Task Generate a SQL query to answer the following question: `what is the lowest position when the name is esv türkheim, and Drawn more than 0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "main_round" ( "position" real, "name" text, "played"...
SELECT MAX("drawn") FROM "main_round" WHERE "played">14;
## Task Generate a SQL query to answer the following question: `what is the highest drawn when played is more than 14?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "main_round" ( "position" real, "name" text, "played" real, "drawn" real, "l...
SELECT MIN("drawn") FROM "main_round" WHERE "name"='sv apfeldorf' AND "position">8;
## Task Generate a SQL query to answer the following question: `what is the least drawn when the name is sv apfeldorf and the position is more than 8?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "main_round" ( "position" real, "name" text, "pl...
SELECT "winner" FROM "race_calendar" WHERE "team"='mobil 1 racing';
## Task Generate a SQL query to answer the following question: `who is the winner when the team is mobil 1 racing?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "race_calendar" ( "race_title" text, "circuit" text, "city_state" text, "date" tex...
SELECT "circuit" FROM "race_calendar" WHERE "date"='16 april';
## Task Generate a SQL query to answer the following question: `what is the circuit when the date is 16 april?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "race_calendar" ( "race_title" text, "circuit" text, "city_state" text, "date" text, ...
SELECT "circuit" FROM "race_calendar" WHERE "date"='4 june';
## Task Generate a SQL query to answer the following question: `what is the circuit when the date is 4 june?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "race_calendar" ( "race_title" text, "circuit" text, "city_state" text, "date" text, "...
SELECT "race_title" FROM "race_calendar" WHERE "winner"='dick johnson' AND "circuit"='sandown raceway';
## Task Generate a SQL query to answer the following question: `what is the race title when the winner is dick johnson and the circuit is sandown raceway?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "race_calendar" ( "race_title" text, "circuit"...
SELECT "date" FROM "western_conference_semifinals" WHERE "home_team"='portland' AND "game"='game 1';
## Task Generate a SQL query to answer the following question: `On what date was the game 1 played at Portland?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "western_conference_semifinals" ( "game" text, "date" text, "home_team" text, "result...
SELECT "road_team" FROM "western_conference_semifinals" WHERE "date"='may 2';
## Task Generate a SQL query to answer the following question: `Who was the road team on May 2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "western_conference_semifinals" ( "game" text, "date" text, "home_team" text, "result" text, "road_...
SELECT "road_team" FROM "western_conference_semifinals" WHERE "date"='may 2';
## Task Generate a SQL query to answer the following question: `Who was the road team on May 2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "western_conference_semifinals" ( "game" text, "date" text, "home_team" text, "result" text, "road_...
SELECT "date" FROM "western_conference_semifinals" WHERE "home_team"='portland' AND "game"='game 5';
## Task Generate a SQL query to answer the following question: `On what date did Portland play game 5 at home?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "western_conference_semifinals" ( "game" text, "date" text, "home_team" text, "result"...
SELECT "game" FROM "western_conference_semifinals" WHERE "date"='april 22';
## Task Generate a SQL query to answer the following question: `Which game of the season was played on April 22?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "western_conference_semifinals" ( "game" text, "date" text, "home_team" text, "resul...
SELECT MAX("round") FROM "mixed_martial_arts_record" WHERE "opponent"='masutatsu yano';
## Task Generate a SQL query to answer the following question: `What is the highest round a fight lasted against masutatsu yano?` ### 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" te...
SELECT "method" FROM "mixed_martial_arts_record" WHERE "record"='0-1';
## Task Generate a SQL query to answer the following question: `What was the method of resolution when Katsuhisa Fujii's record was 0-1?` ### 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 "jersey_number_s" FROM "e" WHERE "years"='1986 – 1991 1997 – 1999';
## Task Generate a SQL query to answer the following question: `What is the jersey number of the player from years 1986 – 1991 1997 – 1999?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "e" ( "player" text, "nationality" text, "jersey_number_s" ...
SELECT "from" FROM "e" WHERE "jersey_number_s"='29';
## Task Generate a SQL query to answer the following question: `Where is the player from that wears the number 29?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "e" ( "player" text, "nationality" text, "jersey_number_s" text, "position" text, ...
SELECT "position" FROM "e" WHERE "years"='1986 – 1991 1997 – 1999';
## Task Generate a SQL query to answer the following question: `What position was played by the player during 1986 – 1991 1997 – 1999?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "e" ( "player" text, "nationality" text, "jersey_number_s" text,...
SELECT "player" FROM "e" WHERE "from"='tennessee';
## Task Generate a SQL query to answer the following question: `Who is the player from Tennessee?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "e" ( "player" text, "nationality" text, "jersey_number_s" text, "position" text, "years" text, ...
SELECT "years" FROM "e" WHERE "jersey_number_s"='34, 30';
## Task Generate a SQL query to answer the following question: `During what years was the Jersey Numbers 34, 30 played?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "e" ( "player" text, "nationality" text, "jersey_number_s" text, "position" t...
SELECT "record" FROM "october" WHERE "opponent"='san francisco warriors';
## Task Generate a SQL query to answer the following question: `What is Record, when Opponent is San Francisco Warriors?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "october" ( "date" text, "h_a_n" text, "opponent" text, "score" text, "rec...
SELECT "h_a_n" FROM "october" WHERE "date"='october 31';
## Task Generate a SQL query to answer the following question: `What is H/A/N, when Date is October 31?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "october" ( "date" text, "h_a_n" text, "opponent" text, "score" text, "record" text ); ### ...
SELECT "score" FROM "october" WHERE "opponent"='atlanta hawks';
## Task Generate a SQL query to answer the following question: `What is Score, when Opponent is Atlanta Hawks?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "october" ( "date" text, "h_a_n" text, "opponent" text, "score" text, "record" text ...
SELECT "h_a_n" FROM "october" WHERE "record"='2-5';
## Task Generate a SQL query to answer the following question: `What is H/A/N, when Record is 2-5?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "october" ( "date" text, "h_a_n" text, "opponent" text, "score" text, "record" text ); ### SQL G...
SELECT "record" FROM "october" WHERE "date"='october 31';
## Task Generate a SQL query to answer the following question: `What is Record, when Date is October 31?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "october" ( "date" text, "h_a_n" text, "opponent" text, "score" text, "record" text ); ###...
SELECT "record" FROM "october" WHERE "h_a_n"='n';
## Task Generate a SQL query to answer the following question: `What is Record, when H/A/N is n?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "october" ( "date" text, "h_a_n" text, "opponent" text, "score" text, "record" text ); ### SQL Giv...
SELECT "gauge" FROM "table_1_privatisation_of_freight_service" WHERE "concessionaire"='ferrosur roca';
## Task Generate a SQL query to answer the following question: `What was the guage of the concessionaire ferrosur roca?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table_1_privatisation_of_freight_service" ( "concessionaire" text, "fa_division_...
SELECT "fa_division_s" FROM "table_1_privatisation_of_freight_service" WHERE "length_km"=2704;
## Task Generate a SQL query to answer the following question: `Which FA Division has a length of 2704 km?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table_1_privatisation_of_freight_service" ( "concessionaire" text, "fa_division_s" text, "g...
SELECT "takeover_date" FROM "table_1_privatisation_of_freight_service" WHERE "fa_division_s"='mitre';
## Task Generate a SQL query to answer the following question: `What is the takeover date of the FA division mitre?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table_1_privatisation_of_freight_service" ( "concessionaire" text, "fa_division_s" t...
SELECT "date" FROM "singles_7_titles_8_runner_ups" WHERE "tournament"='indian wells';
## Task Generate a SQL query to answer the following question: `What date was the tournament in Indian Wells?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_7_titles_8_runner_ups" ( "outcome" text, "date" text, "tournament" text, "surf...
SELECT "opponent" FROM "singles_7_titles_8_runner_ups" WHERE "surface"='clay' AND "tournament"='nice';
## Task Generate a SQL query to answer the following question: `Who was the opponent in the math that was played in Nice on a clay court?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_7_titles_8_runner_ups" ( "outcome" text, "date" text, ...
SELECT "score" FROM "singles_7_titles_8_runner_ups" WHERE "opponent"='sergi bruguera';
## Task Generate a SQL query to answer the following question: `What was the score in the match against Sergi Bruguera?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_7_titles_8_runner_ups" ( "outcome" text, "date" text, "tournament" tex...
SELECT "score" FROM "singles_7_titles_8_runner_ups" WHERE "tournament"='wellington';
## Task Generate a SQL query to answer the following question: `What was the score of the tournament in Wellington?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_7_titles_8_runner_ups" ( "outcome" text, "date" text, "tournament" text, ...
SELECT "race_name" FROM "results" WHERE "round"=6;
## Task Generate a SQL query to answer the following question: `Which race was in round 6?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "results" ( "round" real, "race_name" text, "pole_position" text, "winning_driver" text, "winning_team" ...
SELECT "round" FROM "results" WHERE "winning_driver"='jonathan bomarito';
## Task Generate a SQL query to answer the following question: `Which round did jonathan bomarito win?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "results" ( "round" real, "race_name" text, "pole_position" text, "winning_driver" text, "wi...
SELECT "race_name" FROM "results" WHERE "winning_team"='mi-jack conquest racing' AND "pole_position"='andreas wirth';
## Task Generate a SQL query to answer the following question: `What race did the team Mi-Jack Conquest racing win with a pole position of andreas wirth?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "results" ( "round" real, "race_name" text, "...
SELECT "race_name" FROM "results" WHERE "winning_driver"='graham rahal' AND "round">6 AND "pole_position"='graham rahal';
## Task Generate a SQL query to answer the following question: `What race after round 6 did Graham Rahal win with a pole position of graham rahal?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "results" ( "round" real, "race_name" text, "pole_po...
SELECT "pole_position" FROM "results" WHERE "race_name"='2006 gehl championship finale';
## Task Generate a SQL query to answer the following question: `What pole position did 2006 gehl championship finale have?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "results" ( "round" real, "race_name" text, "pole_position" text, "winning...
SELECT "player" FROM "second_round" WHERE "place"='t5' AND "score"='69-74=143';
## Task Generate a SQL query to answer the following question: `who is the player when the place is t5 and the score is 69-74=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, "sco...
SELECT "score" FROM "second_round" WHERE "country"='united states' AND "to_par"='+2' AND "player"='phil hancock';
## Task Generate a SQL query to answer the following question: `what is the score when the country is united states, the to par is +2 and the player is phil hancock?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "second_round" ( "place" text, "pla...
SELECT "place" FROM "second_round" WHERE "player"='gary player';
## Task Generate a SQL query to answer the following question: `what is the place for gary player?` ### 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 "place" FROM "second_round" WHERE "score"='70-72=142';
## Task Generate a SQL query to answer the following question: `what is the place when the score is 70-72=142?` ### 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 "place" FROM "second_round" WHERE "score"='70-70=140';
## Task Generate a SQL query to answer the following question: `what is the place when the score is 70-70=140?` ### 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 "player" FROM "second_round" WHERE "country"='united states' AND "score"='71-73=144';
## Task Generate a SQL query to answer the following question: `who is the player when the country is united states and the score is 71-73=144?` ### 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"...
SELECT MAX("season") FROM "television_ratings" WHERE "season_finale"='may 21, 1989' AND "households_millions"<17.98;
## Task Generate a SQL query to answer the following question: `WHAT SEASON HAD A SEASON FINALE OF MAY 21, 1989 AND WAS VIEWED BY 17.98 MILLION HOUSEHOLDS?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "television_ratings" ( "season" real, "episod...
SELECT "school_club_team" FROM "nfl_draft" WHERE "round"<5 AND "pick"=2;
## Task Generate a SQL query to answer the following question: `What school or team is in a round below 5 with a pick of 2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, ...
SELECT "player" FROM "nfl_draft" WHERE "pick"<234 AND "position"='quarterback';
## Task Generate a SQL query to answer the following question: `Who is the player with a pick less than 234 and a quarterback position?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "posi...
SELECT "player" FROM "nfl_draft" WHERE "pick">17 AND "round"<12 AND "position"='tight end';
## Task Generate a SQL query to answer the following question: `Who is the player in tight end position in a round below 12 that has a pick greater than 17?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "...
SELECT COUNT("pick") FROM "nfl_draft" WHERE "school_club_team"='auburn';
## Task Generate a SQL query to answer the following question: `How many picks does Auburn have?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text )...
SELECT "career" FROM "singles_performance_timeline" WHERE "2007"='3r' AND "1999"='1r';
## Task Generate a SQL query to answer the following question: `What is the career for 2007 3r, and 1999 1r?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1999" text, "2000" text, "2001" tex...
SELECT "career" FROM "singles_performance_timeline" WHERE "2006"='3r' AND "1999"='2r';
## Task Generate a SQL query to answer the following question: `What is the career for the 2006 3r, and the 1999 2r?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1999" text, "2000" text, "2...
SELECT "2009" FROM "singles_performance_timeline" WHERE "2003"='2r' AND "2000"='2r';
## Task Generate a SQL query to answer the following question: `Who in 2009, has a 2003 2r and a 2000 2r?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1999" text, "2000" text, "2001" text, ...
SELECT "result_score" FROM "ncaa_tournament_results" WHERE "year">2005 AND "opponent"='#8 arkansas #1 memphis';
## Task Generate a SQL query to answer the following question: `What is Result/Score, when Year is greater than 2005, and when Opponent is #8 Arkansas #1 Memphis?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ncaa_tournament_results" ( "year" real,...
SELECT MAX("year") FROM "ncaa_tournament_results" WHERE "opponent"='#2 syracuse';
## Task Generate a SQL query to answer the following question: `What is the highest Year, when Opponent is #2 Syracuse?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ncaa_tournament_results" ( "year" real, "seed" real, "round" text, "opponent...
SELECT "round" FROM "ncaa_tournament_results" WHERE "year"=1987;
## Task Generate a SQL query to answer the following question: `What is Round when Year is 1987?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ncaa_tournament_results" ( "year" real, "seed" real, "round" text, "opponent" text, "result_score...
SELECT SUM("year") FROM "ncaa_tournament_results" WHERE "opponent"='#3 uconn';
## Task Generate a SQL query to answer the following question: `What is the sum of Year, when Opponent is #3 UCONN?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ncaa_tournament_results" ( "year" real, "seed" real, "round" text, "opponent" te...
SELECT "longitude" FROM "fluctus" WHERE "year_named"=1997 AND "diameter_km"<490 AND "name"='zipaltonal fluctus';
## Task Generate a SQL query to answer the following question: `What's the longitude named zipaltonal fluctus in 1997 with a diameter smaller than 490?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "fluctus" ( "name" text, "latitude" text, "long...
SELECT "diameter_km" FROM "fluctus" WHERE "name"='kaiwan fluctus';
## Task Generate a SQL query to answer the following question: `What's the diameter of kaiwan fluctus?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "fluctus" ( "name" text, "latitude" text, "longitude" text, "diameter_km" real, "year_named"...
SELECT "game" FROM "schedule_and_results" WHERE "opponent"='chicago black hawks';
## Task Generate a SQL query to answer the following question: `In what game did the New York Rangers play against the Chicago Black Hawks?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule_and_results" ( "game" real, "february" real, "opp...
SELECT "score" FROM "second_round" WHERE "player"='greg norman';
## Task Generate a SQL query to answer the following question: `WHAT IS THE SCORE FOR GREG NORMAN?` ### 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 "to_par"='e' AND "score"='68-72=140';
## Task Generate a SQL query to answer the following question: `WHAT IS THE PLAYER WITH A TO PAR OF E, AND SCORE OF 68-72=140?` ### 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" ...
SELECT "to_par" FROM "second_round" WHERE "place"='t5' AND "player"='mark mccumber';
## Task Generate a SQL query to answer the following question: `WHAT IS THE TO PAR WITH T5 PLACE, AND PLAYER MARK MCCUMBER?` ### 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" tex...
SELECT "urban_area" FROM "largest_cities" WHERE "population_urban_area_in_millions"=5.3;
## Task Generate a SQL query to answer the following question: `Which urban area has a population of 5.3 million?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "largest_cities" ( "city_proper" text, "population_city_limits_in_millions" real, "de...
SELECT "release_date" FROM "180_nm" WHERE "voltage"='1.65–1.7 v' AND "mult"='4.5×' AND "socket"='slot 1';
## Task Generate a SQL query to answer the following question: `When was the microprocessor with 1.65–1.7 v, a mult of 4.5×, and a slot 1 socket released?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "180_nm" ( "model_number" text, "frequency" te...
SELECT "voltage" FROM "180_nm" WHERE "socket"='socket 370' AND "model_number"='pentiumiii866';
## Task Generate a SQL query to answer the following question: `What is the voltage of the Pentiumiii866 microprocessor with a socket 370?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "180_nm" ( "model_number" text, "frequency" text, "l2_cache"...
SELECT "socket" FROM "180_nm" WHERE "part_number_s"='80526pz533256';
## Task Generate a SQL query to answer the following question: `What kind of socket is on the microprocessor with a part number of 80526pz533256?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "180_nm" ( "model_number" text, "frequency" text, "l2...
SELECT "date" FROM "singles_18_12_6" WHERE "opponent_in_the_final"='kenneth carlsen';
## Task Generate a SQL query to answer the following question: `What is the Date of the match with Opponent in the final Kenneth Carlsen?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_18_12_6" ( "outcome" text, "date" text, "championshi...
SELECT "date" FROM "singles_18_12_6" WHERE "score_in_the_final"='6–3, 6–3, 2–6, 6–4';
## Task Generate a SQL query to answer the following question: `What is the Date of the match with a Score in the final of 6–3, 6–3, 2–6, 6–4?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_18_12_6" ( "outcome" text, "date" text, "champi...
SELECT "lost" FROM "european_matches" WHERE "draw"<2;
## Task Generate a SQL query to answer the following question: `How many games did they lose when they tied less than 2 games?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "european_matches" ( "competition" text, "played" real, "draw" real, "...
SELECT MIN("draw") FROM "european_matches" WHERE "played"<14 AND "lost"<8;
## Task Generate a SQL query to answer the following question: `What is the least ties when they played less than 14 games, and a lost less than 8 of them?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "european_matches" ( "competition" text, "pla...
SELECT MIN("played") FROM "european_matches" WHERE "draw">7;
## Task Generate a SQL query to answer the following question: `What is the lowest number of games played where they tied more than 7 of them?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "european_matches" ( "competition" text, "played" real, ...
SELECT MAX("against") FROM "european_matches" WHERE "lost"<20 AND "draw">2 AND "favour"<11;
## Task Generate a SQL query to answer the following question: `What is the highest Against where they lost less than 20 games, tied more than 2 of them, and they had Favour less than 11?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "european_matches...
SELECT "score" FROM "international_goals" WHERE "competition"='2010 fifa world cup qualification';
## Task Generate a SQL query to answer the following question: `WHAT IS THE SCORE FOR 2010 fifa world cup qualification?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" te...
SELECT MAX("year") FROM "federer_nadal_grand_slam_era" WHERE "french_open"='rafael nadal' AND "wimbledon"='roger federer' AND "australian_open"='roger federer';
## Task Generate a SQL query to answer the following question: `What is the latest year rafael nadal was in the French Open, Roger Federer was in Wimbledon, and Roger Federer was in the Australian Open?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "f...
SELECT COUNT("year") FROM "federer_nadal_grand_slam_era" WHERE "wimbledon"='andy murray';
## Task Generate a SQL query to answer the following question: `What is the total number of years Andy Murray was at Wimbledon?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "federer_nadal_grand_slam_era" ( "year" real, "australian_open" text, "...
SELECT "australian_open" FROM "federer_nadal_grand_slam_era" WHERE "year"=2010;
## Task Generate a SQL query to answer the following question: `What is the Australian open in 2010?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "federer_nadal_grand_slam_era" ( "year" real, "australian_open" text, "french_open" text, "wimbl...
SELECT MAX("loss") FROM "rushing" WHERE "long">61;
## Task Generate a SQL query to answer the following question: `What is the highest loss with a long more than 61?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "rushing" ( "name" text, "gain" real, "loss" real, "long" real, "avg_g" real ); ...
SELECT AVG("long") FROM "rushing" WHERE "loss"<133 AND "gain">0 AND "avg_g"=29.8;
## Task Generate a SQL query to answer the following question: `What is the long with a loss lower than 133 and more than 0 gain with an avg/G of 29.8?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "rushing" ( "name" text, "gain" real, "loss" re...
SELECT MIN("long") FROM "rushing" WHERE "avg_g">-2.2 AND "name"='total' AND "gain">'2,488';
## Task Generate a SQL query to answer the following question: `What is the lowest long with an avg/G more than -2.2 and a total name and a gain of more than 2,488?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "rushing" ( "name" text, "gain" real...
SELECT MIN("avg_g") FROM "rushing" WHERE "gain">'1,290' AND "loss">292;
## Task Generate a SQL query to answer the following question: `What is the lowest avg/G with a gain more than 1,290 and more than 292 loss?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "rushing" ( "name" text, "gain" real, "loss" real, "long...
SELECT "network_brand_name" FROM "ecosystem_operators_mobile_phone_and_cli" WHERE "company_name"='vodafone group' AND "country"='germany';
## Task Generate a SQL query to answer the following question: `What is the network brand name of the company vodafone group in Germany?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ecosystem_operators_mobile_phone_and_cli" ( "company_name" text, ...
SELECT "accreditation_level" FROM "ecosystem_operators_mobile_phone_and_cli" WHERE "network_brand_name"='movistar';
## Task Generate a SQL query to answer the following question: `What is the accreditation level of the network brand Movistar?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ecosystem_operators_mobile_phone_and_cli" ( "company_name" text, "network...
SELECT "date" FROM "ecosystem_operators_mobile_phone_and_cli" WHERE "network_brand_name"='movistar';
## Task Generate a SQL query to answer the following question: `What date was Movistar accredited?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ecosystem_operators_mobile_phone_and_cli" ( "company_name" text, "network_brand_name" text, "countr...
SELECT "accreditation_type" FROM "ecosystem_operators_mobile_phone_and_cli" WHERE "company_name"='vodacom group pty ltd (vodafone group)';
## Task Generate a SQL query to answer the following question: `What is the accreditation type of Vodacom Group PTY LTD (Vodafone group)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ecosystem_operators_mobile_phone_and_cli" ( "company_name" text,...
SELECT "accreditation_type" FROM "ecosystem_operators_mobile_phone_and_cli" WHERE "network_brand_name"='deutsche telekom';
## Task Generate a SQL query to answer the following question: `What is Deutsche Telekom's accreditation type?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ecosystem_operators_mobile_phone_and_cli" ( "company_name" text, "network_brand_name" tex...
SELECT "location_attendance" FROM "playoffs" WHERE "game"=6;
## Task Generate a SQL query to answer the following question: `What was the Location and Attendance of Game 6?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" tex...
SELECT "inclination" FROM "the_epsilon_eridani_system" WHERE "semimajor_axis_au"='20 au';
## Task Generate a SQL query to answer the following question: `What inclination has a semimajor axis of 20 au?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "the_epsilon_eridani_system" ( "companion_in_order_from_star" text, "mass" text, "semim...
SELECT "eccentricity" FROM "the_epsilon_eridani_system" WHERE "semimajor_axis_au"='20 au';
## Task Generate a SQL query to answer the following question: `What is the eccentricity when the semimajor axis is 20 au?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "the_epsilon_eridani_system" ( "companion_in_order_from_star" text, "mass" tex...
SELECT "score" FROM "game_log" WHERE "team"='indiana';
## Task Generate a SQL query to answer the following question: `What is Score, when Team is "Indiana"?` ### 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" text, "hig...
SELECT "date" FROM "game_log" WHERE "game"=8;
## Task Generate a SQL query to answer the following question: `What is Date, when Game is "8"?` ### 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" text, "high_rebou...
SELECT "high_assists" FROM "game_log" WHERE "date"='november 1';
## Task Generate a SQL query to answer the following question: `What is High Assists, when Date is "November 1"?` ### 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" te...
SELECT "winner" FROM "singles" WHERE "surface"='hard' AND "week"='november 13';
## Task Generate a SQL query to answer the following question: `Who was the winner on a hard surface on the week of November 13?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles" ( "tournament" text, "surface" text, "week" text, "winner"...
SELECT "player" FROM "notable_undrafted_players" WHERE "conf"='pac-10' AND "pos"='g';
## Task Generate a SQL query to answer the following question: `Which player had a conference of PAC-10 and position of G?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "notable_undrafted_players" ( "original_nfl_team" text, "player" text, "pos"...
SELECT "player" FROM "notable_undrafted_players" WHERE "pos"='ol' AND "college"='ohio state';
## Task Generate a SQL query to answer the following question: `Which player had a position of OL from Ohio State?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "notable_undrafted_players" ( "original_nfl_team" text, "player" text, "pos" text, ...
SELECT "player" FROM "notable_undrafted_players" WHERE "pos"='qb' AND "college"='texas tech';
## Task Generate a SQL query to answer the following question: `Which player had a position of QB for Texas Tech?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "notable_undrafted_players" ( "original_nfl_team" text, "player" text, "pos" text, ...