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