question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
How many rounds did the match last when his record was 6-6? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" text,
"location" text
); | SELECT "round" FROM "mixed_martial_arts_record" WHERE "record"='6-6'; | 2-17440823-2 |
How did the match end when his record was 15-11? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" text,
"location" text
); | SELECT "method" FROM "mixed_martial_arts_record" WHERE "record"='15-11'; | 2-17440823-2 |
How many laps did ben spies do on the grid less than 7? | CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT COUNT("laps") FROM "moto_gp_classification" WHERE "grid"<7 AND "rider"='ben spies'; | 2-16194487-1 |
which grid did less than 20 laps in a time of +58.353? | CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT MIN("grid") FROM "moto_gp_classification" WHERE "time"='+58.353' AND "laps"<20; | 2-16194487-1 |
what was valentino rossi's rider time? | CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "time" FROM "moto_gp_classification" WHERE "rider"='valentino rossi'; | 2-16194487-1 |
Who manufactures Makoto Tamada's vehicle? | CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "manufacturer" FROM "moto_gp_classification" WHERE "rider"='makoto tamada'; | 2-17177268-1 |
What is the time/retired of the one with grid of 16? | CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "moto_gp_classification" WHERE "grid"=16; | 2-17177268-1 |
What team did gonzalo arconada manage? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
); | SELECT "team" FROM "managerial_changes" WHERE "outgoing_manager"='gonzalo arconada'; | 2-17201869-3 |
What team replaced their manager on 9 December 2008? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
); | SELECT "team" FROM "managerial_changes" WHERE "date_of_vacancy"='9 december 2008'; | 2-17201869-3 |
What was the date of appointment for paco chaparro's replacement? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
); | SELECT "date_of_appointment" FROM "managerial_changes" WHERE "outgoing_manager"='paco chaparro'; | 2-17201869-3 |
What was the date of appointment for javier aguirre's replacement? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
); | SELECT "date_of_appointment" FROM "managerial_changes" WHERE "outgoing_manager"='javier aguirre'; | 2-17201869-3 |
What date did Namigata play against Wen-Hsin Hsu in the finals? | CREATE TABLE "singles_14_5_9" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "date" FROM "singles_14_5_9" WHERE "opponent_in_the_final"='wen-hsin hsu'; | 2-17211937-5 |
What was the result during the week # of top 8? | CREATE TABLE "performances_on" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"result" text
); | SELECT "result" FROM "performances_on" WHERE "week_num"='top 8'; | 2-1620672-1 |
What was the theme during the week # of top 24 (12 men) | CREATE TABLE "performances_on" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"result" text
); | SELECT "theme" FROM "performances_on" WHERE "week_num"='top 24 (12 men)'; | 2-1620672-1 |
What was the result after the week # top 11? | CREATE TABLE "performances_on" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"result" text
); | SELECT "result" FROM "performances_on" WHERE "week_num"='top 11'; | 2-1620672-1 |
What is the league of player ian schultz? | CREATE TABLE "draft_picks" (
"round" text,
"pick" real,
"player" text,
"position" text,
"shoots" text,
"nationality" text,
"league" text,
"birthplace_date" text,
"height_weight" text
); | SELECT "league" FROM "draft_picks" WHERE "player"='ian schultz'; | 2-17371302-22 |
What is the birthplace and date of pick 4? | CREATE TABLE "draft_picks" (
"round" text,
"pick" real,
"player" text,
"position" text,
"shoots" text,
"nationality" text,
"league" text,
"birthplace_date" text,
"height_weight" text
); | SELECT "birthplace_date" FROM "draft_picks" WHERE "pick"=4; | 2-17371302-22 |
What is the pick of player ian schultz from Canada? | CREATE TABLE "draft_picks" (
"round" text,
"pick" real,
"player" text,
"position" text,
"shoots" text,
"nationality" text,
"league" text,
"birthplace_date" text,
"height_weight" text
); | SELECT "pick" FROM "draft_picks" WHERE "nationality"='canada' AND "player"='ian schultz'; | 2-17371302-22 |
Who is the Opponent on January 7? | CREATE TABLE "january" (
"date" text,
"h_a_n" text,
"opponent" text,
"score" text,
"record" text
); | SELECT "opponent" FROM "january" WHERE "date"='january 7'; | 2-16946097-6 |
Who is the Opponent on January 16? | CREATE TABLE "january" (
"date" text,
"h_a_n" text,
"opponent" text,
"score" text,
"record" text
); | SELECT "opponent" FROM "january" WHERE "date"='january 16'; | 2-16946097-6 |
What is the Score of the game against Philadelphia 76ers? | CREATE TABLE "january" (
"date" text,
"h_a_n" text,
"opponent" text,
"score" text,
"record" text
); | SELECT "score" FROM "january" WHERE "opponent"='philadelphia 76ers'; | 2-16946097-6 |
What is the Date of the game where the Cavaliers have a Record of 15-27? | CREATE TABLE "january" (
"date" text,
"h_a_n" text,
"opponent" text,
"score" text,
"record" text
); | SELECT "date" FROM "january" WHERE "record"='15-27'; | 2-16946097-6 |
What was the Opponent in the game with a Score of 102-125? | CREATE TABLE "january" (
"date" text,
"h_a_n" text,
"opponent" text,
"score" text,
"record" text
); | SELECT "opponent" FROM "january" WHERE "score"='102-125'; | 2-16946097-6 |
What is the Cavaliers Record in the game with a Score of 98-99? | CREATE TABLE "january" (
"date" text,
"h_a_n" text,
"opponent" text,
"score" text,
"record" text
); | SELECT "record" FROM "january" WHERE "score"='98-99'; | 2-16946097-6 |
What player has a no pick position in 1976? | CREATE TABLE "player_selections" (
"year" real,
"pick" text,
"player" text,
"position" text,
"college" text
); | SELECT "player" FROM "player_selections" WHERE "position"='no pick' AND "year"=1976; | 2-17568045-2 |
What pick number was the player that went to baylor college? | CREATE TABLE "player_selections" (
"year" real,
"pick" text,
"player" text,
"position" text,
"college" text
); | SELECT "pick" FROM "player_selections" WHERE "college"='baylor'; | 2-17568045-2 |
What year was the player pick number 15 picked? | CREATE TABLE "player_selections" (
"year" real,
"pick" text,
"player" text,
"position" text,
"college" text
); | SELECT "year" FROM "player_selections" WHERE "pick"='15'; | 2-17568045-2 |
What was the record on september 2? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "record" FROM "regular_season" WHERE "date"='september 2'; | 2-17104539-12 |
What were phoenix's high points? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_points" FROM "regular_season" WHERE "opponent"='phoenix'; | 2-17104539-12 |
When was the record 17-17? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "date" FROM "regular_season" WHERE "record"='17-17'; | 2-17104539-12 |
What were the high points on september 9? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_points" FROM "regular_season" WHERE "date"='september 9'; | 2-17104539-12 |
How many games had a record of 16-17? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT COUNT("game") FROM "regular_season" WHERE "record"='16-17'; | 2-17104539-12 |
Which leader has been a leader since 2007? | CREATE TABLE "leaders_in_the_northern_ireland_assembel" (
"leader" text,
"party" text,
"leader_s_seat" text,
"number_of_seats" real,
"leader_since" text
); | SELECT "leader" FROM "leaders_in_the_northern_ireland_assembel" WHERE "leader_since"='2007'; | 2-17430092-6 |
How many seats does leader Raymond McCartney have? | CREATE TABLE "leaders_in_the_northern_ireland_assembel" (
"leader" text,
"party" text,
"leader_s_seat" text,
"number_of_seats" real,
"leader_since" text
); | SELECT SUM("number_of_seats") FROM "leaders_in_the_northern_ireland_assembel" WHERE "leader"='raymond mccartney'; | 2-17430092-6 |
Which leader of the Democratic Unionist party has more than 8 seats? | CREATE TABLE "leaders_in_the_northern_ireland_assembel" (
"leader" text,
"party" text,
"leader_s_seat" text,
"number_of_seats" real,
"leader_since" text
); | SELECT "leader" FROM "leaders_in_the_northern_ireland_assembel" WHERE "number_of_seats">8 AND "party"='democratic unionist party'; | 2-17430092-6 |
Anuya Bhagvath was nominated for what award? | CREATE TABLE "accolades" (
"ceremony" text,
"award" text,
"category" text,
"name" text,
"outcome" text
); | SELECT "award" FROM "accolades" WHERE "outcome"='nominated' AND "name"='anuya bhagvath'; | 2-16355046-1 |
Which award has film lyricist in the category? | CREATE TABLE "accolades" (
"ceremony" text,
"award" text,
"category" text,
"name" text,
"outcome" text
); | SELECT "award" FROM "accolades" WHERE "category"='film lyricist'; | 2-16355046-1 |
What is the category Anuya Bhagvath was nominated for at vijay award? | CREATE TABLE "accolades" (
"ceremony" text,
"award" text,
"category" text,
"name" text,
"outcome" text
); | SELECT "ceremony" FROM "accolades" WHERE "award"='vijay award' AND "outcome"='nominated' AND "name"='anuya bhagvath'; | 2-16355046-1 |
Which ceremony has the best lyricist category? | CREATE TABLE "accolades" (
"ceremony" text,
"award" text,
"category" text,
"name" text,
"outcome" text
); | SELECT "ceremony" FROM "accolades" WHERE "category"='best lyricist'; | 2-16355046-1 |
Which best 3-year period has a best 15-year period of smyslov; kasparov, and a Position of 5? | CREATE TABLE "moves_played_compared_with_computer_choi" (
"position" real,
"best_year" text,
"best_2_year_period" text,
"best_3_year_period" text,
"best_5_year_period" text,
"best_10_year_period" text,
"best_15_year_period" text
); | SELECT "best_3_year_period" FROM "moves_played_compared_with_computer_choi" WHERE "best_15_year_period"='smyslov; kasparov' AND "position"=5; | 2-1710426-2 |
Which best 5-year period has a best 15-year period of alekhine; lasker? | CREATE TABLE "moves_played_compared_with_computer_choi" (
"position" real,
"best_year" text,
"best_2_year_period" text,
"best_3_year_period" text,
"best_5_year_period" text,
"best_10_year_period" text,
"best_15_year_period" text
); | SELECT "best_5_year_period" FROM "moves_played_compared_with_computer_choi" WHERE "best_15_year_period"='alekhine; lasker'; | 2-1710426-2 |
Which best 10-year period has a best 2-year period of petrosian? | CREATE TABLE "moves_played_compared_with_computer_choi" (
"position" real,
"best_year" text,
"best_2_year_period" text,
"best_3_year_period" text,
"best_5_year_period" text,
"best_10_year_period" text,
"best_15_year_period" text
); | SELECT "best_10_year_period" FROM "moves_played_compared_with_computer_choi" WHERE "best_2_year_period"='petrosian'; | 2-1710426-2 |
Which Position has a best 3-year period of petrosian? | CREATE TABLE "moves_played_compared_with_computer_choi" (
"position" real,
"best_year" text,
"best_2_year_period" text,
"best_3_year_period" text,
"best_5_year_period" text,
"best_10_year_period" text,
"best_15_year_period" text
); | SELECT MAX("position") FROM "moves_played_compared_with_computer_choi" WHERE "best_3_year_period"='petrosian'; | 2-1710426-2 |
What is High Rebounds, when Score is 61-59? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_rebounds" FROM "regular_season" WHERE "score"='61-59'; | 2-17103729-10 |
What is Score, when High Rebounds is "Nolan (10)"? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "score" FROM "regular_season" WHERE "high_rebounds"='nolan (10)'; | 2-17103729-10 |
What is Opponent, when High Rebounds is "Pierson (6)"? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "opponent" FROM "regular_season" WHERE "high_rebounds"='pierson (6)'; | 2-17103729-10 |
What is the sum of Game(s), when High Rebounds is "Pierson (6)"? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT SUM("game") FROM "regular_season" WHERE "high_rebounds"='pierson (6)'; | 2-17103729-10 |
How many Laps did Bob Wollek have? | CREATE TABLE "race_1" (
"class" text,
"team" text,
"driver" text,
"chassis_engine" text,
"laps" real
); | SELECT AVG("laps") FROM "race_1" WHERE "driver"='bob wollek'; | 2-16861730-1 |
How many Laps did Team Primagaz Competition have? | CREATE TABLE "race_1" (
"class" text,
"team" text,
"driver" text,
"chassis_engine" text,
"laps" real
); | SELECT "laps" FROM "race_1" WHERE "team"='primagaz competition'; | 2-16861730-1 |
What Team had 40 Laps in C1 Class? | CREATE TABLE "race_1" (
"class" text,
"team" text,
"driver" text,
"chassis_engine" text,
"laps" real
); | SELECT "team" FROM "race_1" WHERE "class"='c1' AND "laps"=40; | 2-16861730-1 |
What Team has Bob Wollek as a Driver with 76 Laps in C1 Class? | CREATE TABLE "race_1" (
"class" text,
"team" text,
"driver" text,
"chassis_engine" text,
"laps" real
); | SELECT "team" FROM "race_1" WHERE "class"='c1' AND "laps"=76 AND "driver"='bob wollek'; | 2-16861730-1 |
How many Laps does GP Motorsport Team have? | CREATE TABLE "race_1" (
"class" text,
"team" text,
"driver" text,
"chassis_engine" text,
"laps" real
); | SELECT SUM("laps") FROM "race_1" WHERE "team"='gp motorsport'; | 2-16861730-1 |
what is the location when the score is w 105-99? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "location" FROM "game_log" WHERE "score"='w 105-99'; | 2-17621978-5 |
what is the location on november 23? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "location" FROM "game_log" WHERE "date"='november 23'; | 2-17621978-5 |
Name the highest Ends Lost which has an Shot % larger than 78, and a Ends Won smaller than 38? | CREATE TABLE "round_robin" (
"country" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" real
); | SELECT MAX("ends_lost") FROM "round_robin" WHERE "shot_pct">78 AND "ends_won"<38; | 2-1644857-2 |
Name the Country which has Stolen Ends larger than 7, and a Skip of david murdoch? | CREATE TABLE "round_robin" (
"country" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" real
); | SELECT "country" FROM "round_robin" WHERE "stolen_ends">7 AND "skip"='david murdoch'; | 2-1644857-2 |
Name the average Stolen Ends which has an Ends Lost smaller than 35? | CREATE TABLE "round_robin" (
"country" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" real
); | SELECT AVG("stolen_ends") FROM "round_robin" WHERE "ends_lost"<35; | 2-1644857-2 |
Name the average Blank Ends which has a Shot % smaller than 78, and a Ends Won larger than 43? | CREATE TABLE "round_robin" (
"country" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" real
); | SELECT AVG("blank_ends") FROM "round_robin" WHERE "shot_pct"<78 AND "ends_won">43; | 2-1644857-2 |
What rank has skyfall as the title? | CREATE TABLE "highest_grossing_films_of_2012" (
"rank" real,
"title" text,
"studio" text,
"director_s" text,
"worldwide_gross" text
); | SELECT "rank" FROM "highest_grossing_films_of_2012" WHERE "title"='skyfall'; | 2-16921964-1 |
What director(s) have the intouchables as the title? | CREATE TABLE "highest_grossing_films_of_2012" (
"rank" real,
"title" text,
"studio" text,
"director_s" text,
"worldwide_gross" text
); | SELECT "director_s" FROM "highest_grossing_films_of_2012" WHERE "title"='the intouchables'; | 2-16921964-1 |
What studio has 6 as the rank? | CREATE TABLE "highest_grossing_films_of_2012" (
"rank" real,
"title" text,
"studio" text,
"director_s" text,
"worldwide_gross" text
); | SELECT "studio" FROM "highest_grossing_films_of_2012" WHERE "rank"=6; | 2-16921964-1 |
How many ranks have $1,084,439,099 as the worldwide gross? | CREATE TABLE "highest_grossing_films_of_2012" (
"rank" real,
"title" text,
"studio" text,
"director_s" text,
"worldwide_gross" text
); | SELECT SUM("rank") FROM "highest_grossing_films_of_2012" WHERE "worldwide_gross"='$1,084,439,099'; | 2-16921964-1 |
What is the 1981 value of the Macedonian population with a 1971 number greater than 192 and a 1991 of 1748? | CREATE TABLE "distribution" (
"macedonian_population_in_vojvodina" text,
"1961" real,
"number_1971" real,
"1981" real,
"1991" real,
"2002" real
); | SELECT "1981" FROM "distribution" WHERE "number_1971">192 AND "1991"=1748; | 2-16861647-1 |
What is the lowest 1971 number of the Macedonian population with a 2002 value greater than 133 and a 1991 value less than 171? | CREATE TABLE "distribution" (
"macedonian_population_in_vojvodina" text,
"1961" real,
"number_1971" real,
"1981" real,
"1991" real,
"2002" real
); | SELECT MIN("number_1971") FROM "distribution" WHERE "2002">133 AND "1991"<171; | 2-16861647-1 |
What is the total 1961 number of the plandište Macedonian population with a 1981 value greater than 1027? | CREATE TABLE "distribution" (
"macedonian_population_in_vojvodina" text,
"1961" real,
"number_1971" real,
"1981" real,
"1991" real,
"2002" real
); | SELECT COUNT("1961") FROM "distribution" WHERE "macedonian_population_in_vojvodina"='plandište' AND "1981">1027; | 2-16861647-1 |
What is the 1961 total of the Macedonian population with a 1971 number of 3325 and a 1991 value greater than 3177? | CREATE TABLE "distribution" (
"macedonian_population_in_vojvodina" text,
"1961" real,
"number_1971" real,
"1981" real,
"1991" real,
"2002" real
); | SELECT COUNT("1961") FROM "distribution" WHERE "number_1971"=3325 AND "1991">3177; | 2-16861647-1 |
What airport is in Muscat? | CREATE TABLE "references" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "airport" FROM "references" WHERE "city"='muscat'; | 2-1752650-2 |
What country is Bandar Abbas in? | CREATE TABLE "references" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "country" FROM "references" WHERE "city"='bandar abbas'; | 2-1752650-2 |
What is the city in India with an airport named Sardar Vallabhbhai Patel International Airport? | CREATE TABLE "references" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "city" FROM "references" WHERE "country"='india' AND "airport"='sardar vallabhbhai patel international airport'; | 2-1752650-2 |
What airport is in China with an ICAO of zbaa? | CREATE TABLE "references" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "airport" FROM "references" WHERE "country"='china' AND "icao"='zbaa'; | 2-1752650-2 |
What airport is in Toronto? | CREATE TABLE "references" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "airport" FROM "references" WHERE "city"='toronto'; | 2-1752650-2 |
What country has an ICAO of ypph? | CREATE TABLE "references" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "country" FROM "references" WHERE "icao"='ypph'; | 2-1752650-2 |
When the mark is 8.54, the reaction time was over 0.23800000000000002 seconds, what's the highest amount of points recorded? | CREATE TABLE "60_metres_hurdles" (
"lane" real,
"name" text,
"country" text,
"mark" text,
"react" real,
"points" real
); | SELECT MAX("points") FROM "60_metres_hurdles" WHERE "mark"='8.54' AND "react">0.23800000000000002; | 2-16585512-2 |
Which country has a reaction time of under 0.242 seconds and over 1041 points? | CREATE TABLE "60_metres_hurdles" (
"lane" real,
"name" text,
"country" text,
"mark" text,
"react" real,
"points" real
); | SELECT "country" FROM "60_metres_hurdles" WHERE "react"<0.242 AND "points">1041; | 2-16585512-2 |
If a country has 1008 points what's their reaction time? | CREATE TABLE "60_metres_hurdles" (
"lane" real,
"name" text,
"country" text,
"mark" text,
"react" real,
"points" real
); | SELECT MAX("react") FROM "60_metres_hurdles" WHERE "points"=1008; | 2-16585512-2 |
Which wicket had 580 runs? | CREATE TABLE "first_class_record_partnerships_by_wicke" (
"wicket" text,
"runs" text,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
); | SELECT "wicket" FROM "first_class_record_partnerships_by_wicke" WHERE "runs"='580'; | 2-1670921-3 |
Who fielded against the 8th wicket? | CREATE TABLE "first_class_record_partnerships_by_wicke" (
"wicket" text,
"runs" text,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
); | SELECT "fielding_team" FROM "first_class_record_partnerships_by_wicke" WHERE "wicket"='8th'; | 2-1670921-3 |
How many runs did Vijay Hazare and Gul Mohammad score? | CREATE TABLE "first_class_record_partnerships_by_wicke" (
"wicket" text,
"runs" text,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
); | SELECT "runs" FROM "first_class_record_partnerships_by_wicke" WHERE "batting_partners"='vijay hazare and gul mohammad'; | 2-1670921-3 |
Who were the batting partners in Colombo? | CREATE TABLE "first_class_record_partnerships_by_wicke" (
"wicket" text,
"runs" text,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
); | SELECT "batting_partners" FROM "first_class_record_partnerships_by_wicke" WHERE "venue"='colombo'; | 2-1670921-3 |
Who was the batting team in the 2006 season? | CREATE TABLE "first_class_record_partnerships_by_wicke" (
"wicket" text,
"runs" text,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
); | SELECT "batting_team" FROM "first_class_record_partnerships_by_wicke" WHERE "season"='2006'; | 2-1670921-3 |
In what season was 577 runs scored? | CREATE TABLE "first_class_record_partnerships_by_wicke" (
"wicket" text,
"runs" text,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
); | SELECT "season" FROM "first_class_record_partnerships_by_wicke" WHERE "runs"='577'; | 2-1670921-3 |
What opposing team has 20 against? | CREATE TABLE "matches" (
"opposing_team" text,
"against" real,
"date" text,
"venue" text,
"status" text
); | SELECT "opposing_team" FROM "matches" WHERE "against"=20; | 2-16994527-1 |
Venue for Hawke's bay? | CREATE TABLE "matches" (
"opposing_team" text,
"against" real,
"date" text,
"venue" text,
"status" text
); | SELECT "venue" FROM "matches" WHERE "opposing_team"='hawke''s bay'; | 2-16994527-1 |
What is the average December, when Game is "36"? | CREATE TABLE "schedule_and_results" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text
); | SELECT AVG("december") FROM "schedule_and_results" WHERE "game"=36; | 2-17324893-4 |
What is the lowest Game, when December is greater than 13, and when Score is "5 - 0"? | CREATE TABLE "schedule_and_results" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text
); | SELECT MIN("game") FROM "schedule_and_results" WHERE "december">13 AND "score"='5 - 0'; | 2-17324893-4 |
What is the sum of December, when Game is greater than 31, and when Score is "5 - 2"? | CREATE TABLE "schedule_and_results" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text
); | SELECT SUM("december") FROM "schedule_and_results" WHERE "game">31 AND "score"='5 - 2'; | 2-17324893-4 |
What is Record, when Game is "36"? | CREATE TABLE "schedule_and_results" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text
); | SELECT "record" FROM "schedule_and_results" WHERE "game"=36; | 2-17324893-4 |
What was the away team that played against home team Leatherhead? | CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "away_team" FROM "fourth_round_proper" WHERE "home_team"='leatherhead'; | 2-17620547-5 |
What was the score of the match played against away team Arsenal? | CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "score" FROM "fourth_round_proper" WHERE "away_team"='arsenal'; | 2-17620547-5 |
Can you tell me the highest Total votes that has the % of popular vote of 0.86%, and the # of seats won larger than 0? | CREATE TABLE "election_results" (
"election" real,
"candidates_fielded" real,
"num_of_seats_won" real,
"total_votes" real,
"pct_of_popular_vote" text,
"place" text
); | SELECT MAX("total_votes") FROM "election_results" WHERE "pct_of_popular_vote"='0.86%' AND "num_of_seats_won">0; | 2-168482-1 |
Can you tell me the average Total votes that has the # of seats won smaller than 0? | CREATE TABLE "election_results" (
"election" real,
"candidates_fielded" real,
"num_of_seats_won" real,
"total_votes" real,
"pct_of_popular_vote" text,
"place" text
); | SELECT AVG("total_votes") FROM "election_results" WHERE "num_of_seats_won"<0; | 2-168482-1 |
Can you tell me the total number of Total votes that has the Election larger than 2009, and the Candidates fielded larger than 61? | CREATE TABLE "election_results" (
"election" real,
"candidates_fielded" real,
"num_of_seats_won" real,
"total_votes" real,
"pct_of_popular_vote" text,
"place" text
); | SELECT COUNT("total_votes") FROM "election_results" WHERE "election">2009 AND "candidates_fielded">61; | 2-168482-1 |
Which tournament did the opponent Guillermo Carry play? | CREATE TABLE "singles_titles" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "tournament" FROM "singles_titles" WHERE "opponent"='guillermo carry'; | 2-16773017-6 |
Who was the opponent on April 21, 2008? | CREATE TABLE "singles_titles" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "opponent" FROM "singles_titles" WHERE "date"='april 21, 2008'; | 2-16773017-6 |
Who is the opponent on November 22, 2009, clay surface? | CREATE TABLE "singles_titles" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "opponent" FROM "singles_titles" WHERE "surface"='clay' AND "date"='november 22, 2009'; | 2-16773017-6 |
Which Laps have a Grid larger than 8, and a Rider of anthony west? | CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT MAX("laps") FROM "moto_gp_classification" WHERE "grid">8 AND "rider"='anthony west'; | 2-16194546-1 |
Which time has a Rider of anthony west? | CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "time" FROM "moto_gp_classification" WHERE "rider"='anthony west'; | 2-16194546-1 |
Which Grid is the highest one that has a Rider of colin edwards, and Laps smaller than 28? | CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT MAX("grid") FROM "moto_gp_classification" WHERE "rider"='colin edwards' AND "laps"<28; | 2-16194546-1 |
Which Laps have a Rider of andrea dovizioso? | CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT MIN("laps") FROM "moto_gp_classification" WHERE "rider"='andrea dovizioso'; | 2-16194546-1 |
What college/junior/club team had a player selected in round 6? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "college_junior_club_team_league" FROM "draft_picks" WHERE "round"=6; | 2-17562956-13 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.