question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What shows for 2000 at the Fort Peck Indian Reservation, Montana, when the 1979 is less than 26.8? | CREATE TABLE "changes_in_poverty_rates_on_largest_rese" (
"reservation" text,
"location" text,
"1969" real,
"1979" real,
"1989" real,
"2000" real
); | SELECT AVG("2000") FROM "changes_in_poverty_rates_on_largest_rese" WHERE "location"='montana' AND "reservation"='fort peck indian reservation' AND "1979"<26.8; | 2-17334094-3 |
What is the 2000 number when the 1969 is 54.3, and the 1979 is less than 48.4? | CREATE TABLE "changes_in_poverty_rates_on_largest_rese" (
"reservation" text,
"location" text,
"1969" real,
"1979" real,
"1989" real,
"2000" real
); | SELECT SUM("2000") FROM "changes_in_poverty_rates_on_largest_rese" WHERE "1969"=54.3 AND "1979"<48.4; | 2-17334094-3 |
What is the 2000 number when the 1989 is less than 54.9 in Arizona, New Mexico, and Utah? | CREATE TABLE "changes_in_poverty_rates_on_largest_rese" (
"reservation" text,
"location" text,
"1969" real,
"1979" real,
"1989" real,
"2000" real
); | SELECT SUM("2000") FROM "changes_in_poverty_rates_on_largest_rese" WHERE "1989"<54.9 AND "location"='arizona, new mexico, and utah'; | 2-17334094-3 |
What is the 1979 number for Standing Rock Indian Reservation when the 1989 is less than 54.9? | CREATE TABLE "changes_in_poverty_rates_on_largest_rese" (
"reservation" text,
"location" text,
"1969" real,
"1979" real,
"1989" real,
"2000" real
); | SELECT SUM("1979") FROM "changes_in_poverty_rates_on_largest_rese" WHERE "reservation"='standing rock indian reservation' AND "1989"<54.9; | 2-17334094-3 |
What Kerry's percentage where 66 people voted for another candidate? | CREATE TABLE "by_county" (
"county" text,
"kerrypct" text,
"kerrynum" real,
"bushpct" text,
"bushnum" real,
"otherspct" text,
"othersnum" real
); | SELECT "kerrypct" FROM "by_county" WHERE "othersnum"=66; | 2-1726006-1 |
Can you tell me the average Laps that has the Time of +17.485, and the Grid smaller than 7? | CREATE TABLE "125cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT AVG("laps") FROM "125cc_classification" WHERE "time"='+17.485' AND "grid"<7; | 2-16218598-3 |
Can you tell me the sum of Grid that has the Manufacturer of aprilia, and the sandro cortese? | CREATE TABLE "125cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT SUM("grid") FROM "125cc_classification" WHERE "manufacturer"='aprilia' AND "rider"='sandro cortese'; | 2-16218598-3 |
What was the date of game 21? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score_time" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"arena_attendance" text,
"record" text
); | SELECT "date" FROM "regular_season" WHERE "game"=21; | 2-17186229-4 |
What was the score of the game on June 10? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score_time" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"arena_attendance" text,
"record" text
); | SELECT "score_time" FROM "regular_season" WHERE "date"='june 10'; | 2-17186229-4 |
What is Sum of Round, when College/Junior/Club Team is Brandon Wheat Kings ( WHL ), when Player is Mike Perovich (D), and when Pick is less than 23? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"college_junior_club_team" text
); | SELECT SUM("round") FROM "draft_picks" WHERE "college_junior_club_team"='brandon wheat kings ( whl )' AND "player"='mike perovich (d)' AND "pick"<23; | 2-16799565-6 |
What is the sum of Round, when Player is Tim Hunter (RW), and when Pick is less than 54? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"college_junior_club_team" text
); | SELECT SUM("round") FROM "draft_picks" WHERE "player"='tim hunter (rw)' AND "pick"<54; | 2-16799565-6 |
Who is the outgoing manager who was replaced by jürgen klopp? | 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 "outgoing_manager" FROM "managerial_changes" WHERE "replaced_by"='jürgen klopp'; | 2-17182686-3 |
What is the date of appointment of the manager who was replaced by markus babbel? | 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 "replaced_by"='markus babbel'; | 2-17182686-3 |
What was the manner of depature of the manager with a date of appointment on 23 November 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 "manner_of_departure" FROM "managerial_changes" WHERE "date_of_appointment"='23 november 2008'; | 2-17182686-3 |
Who replaced the manager of team arminia bielefeld? | 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 "replaced_by" FROM "managerial_changes" WHERE "team"='arminia bielefeld'; | 2-17182686-3 |
What is the date of vacancy of team fc bayern munich, which had a date of appointment on 27 April 2009? | 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_vacancy" FROM "managerial_changes" WHERE "team"='fc bayern munich' AND "date_of_appointment"='27 april 2009'; | 2-17182686-3 |
What is the date of appointment of outgoing manager fred rutten, who had a sacked manner of departure? | 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 "manner_of_departure"='sacked' AND "outgoing_manager"='fred rutten'; | 2-17182686-3 |
What was the length when James Swallow had a release longer than 2.1? | CREATE TABLE "external_links" (
"title" text,
"series" text,
"release" real,
"featuring" text,
"writer" text,
"director" text,
"length" text,
"release_date" text
); | SELECT "length" FROM "external_links" WHERE "writer"='james swallow' AND "release">2.1; | 2-16279520-1 |
Who wrote Infiltration? | CREATE TABLE "external_links" (
"title" text,
"series" text,
"release" real,
"featuring" text,
"writer" text,
"director" text,
"length" text,
"release_date" text
); | SELECT "writer" FROM "external_links" WHERE "title"='infiltration'; | 2-16279520-1 |
What was the earliest release for Pathogen directed by Sharon Gosling? | CREATE TABLE "external_links" (
"title" text,
"series" text,
"release" real,
"featuring" text,
"writer" text,
"director" text,
"length" text,
"release_date" text
); | SELECT MIN("release") FROM "external_links" WHERE "director"='sharon gosling' AND "title"='pathogen'; | 2-16279520-1 |
What was the length of release 3.6? | CREATE TABLE "external_links" (
"title" text,
"series" text,
"release" real,
"featuring" text,
"writer" text,
"director" text,
"length" text,
"release_date" text
); | SELECT "length" FROM "external_links" WHERE "release"=3.6; | 2-16279520-1 |
What day was the score for tournament of alcobaça 6–3, 2–6, 7–5? | CREATE TABLE "singles_12" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "date" FROM "singles_12" WHERE "tournament"='alcobaça' AND "score"='6–3, 2–6, 7–5'; | 2-16893837-5 |
What was the score for alcobaça when the opponent was in the final of xinyun han? | CREATE TABLE "singles_12" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "score" FROM "singles_12" WHERE "tournament"='alcobaça' AND "opponent_in_the_final"='xinyun han'; | 2-16893837-5 |
What was the score when the opponent was irena pavlovic and the surface was hard? | CREATE TABLE "singles_12" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "score" FROM "singles_12" WHERE "surface"='hard' AND "opponent_in_the_final"='irena pavlovic'; | 2-16893837-5 |
What was the opponent in the final when the score was 6–3, 2–6, 7–5? | CREATE TABLE "singles_12" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "opponent_in_the_final" FROM "singles_12" WHERE "score"='6–3, 2–6, 7–5'; | 2-16893837-5 |
What day was the surface clay and the score 6–1, 6–4? | CREATE TABLE "singles_12" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "date" FROM "singles_12" WHERE "surface"='clay' AND "score"='6–1, 6–4'; | 2-16893837-5 |
What is the Phoenician letter for the Hangul of ㄹ? | CREATE TABLE "cognates_of_core_hangul_letters" (
"hangul" text,
"phagspa" text,
"tibetan" text,
"phoenician" text,
"greek" text,
"latin" text
); | SELECT "phoenician" FROM "cognates_of_core_hangul_letters" WHERE "hangul"='ㄹ'; | 2-17470560-3 |
What is the Latin letter for the Tibetan of ས? | CREATE TABLE "cognates_of_core_hangul_letters" (
"hangul" text,
"phagspa" text,
"tibetan" text,
"phoenician" text,
"greek" text,
"latin" text
); | SELECT "latin" FROM "cognates_of_core_hangul_letters" WHERE "tibetan"='ས'; | 2-17470560-3 |
to the Latin of f, y, u/v/w? | CREATE TABLE "cognates_of_core_hangul_letters" (
"hangul" text,
"phagspa" text,
"tibetan" text,
"phoenician" text,
"greek" text,
"latin" text
); | SELECT "greek" FROM "cognates_of_core_hangul_letters" WHERE "latin"='f, y, u/v/w'; | 2-17470560-3 |
What is the Hangul equivalent of the Greek ϝ, υ? | CREATE TABLE "cognates_of_core_hangul_letters" (
"hangul" text,
"phagspa" text,
"tibetan" text,
"phoenician" text,
"greek" text,
"latin" text
); | SELECT "hangul" FROM "cognates_of_core_hangul_letters" WHERE "greek"='ϝ, υ'; | 2-17470560-3 |
What is the Latin equivalent for the Phagspa of ꡙ? | CREATE TABLE "cognates_of_core_hangul_letters" (
"hangul" text,
"phagspa" text,
"tibetan" text,
"phoenician" text,
"greek" text,
"latin" text
); | SELECT "latin" FROM "cognates_of_core_hangul_letters" WHERE "phagspa"='ꡙ'; | 2-17470560-3 |
What was the surface played on for the match than began before 1897? | CREATE TABLE "tournaments" (
"tournament" text,
"country" text,
"location" text,
"current_venue" text,
"began" real,
"court_surface" text
); | SELECT "court_surface" FROM "tournaments" WHERE "began"<1897; | 2-17057363-1 |
For the Indian Wells Masters tournament, what was the country? | CREATE TABLE "tournaments" (
"tournament" text,
"country" text,
"location" text,
"current_venue" text,
"began" real,
"court_surface" text
); | SELECT "country" FROM "tournaments" WHERE "tournament"='indian wells masters'; | 2-17057363-1 |
Which location was in China, and played on a hard court? | CREATE TABLE "tournaments" (
"tournament" text,
"country" text,
"location" text,
"current_venue" text,
"began" real,
"court_surface" text
); | SELECT "location" FROM "tournaments" WHERE "court_surface"='hard' AND "country"='china'; | 2-17057363-1 |
What country was the Paris Masters tournament played in? | CREATE TABLE "tournaments" (
"tournament" text,
"country" text,
"location" text,
"current_venue" text,
"began" real,
"court_surface" text
); | SELECT "country" FROM "tournaments" WHERE "tournament"='paris masters'; | 2-17057363-1 |
Who was the opponent when the H/A was H and the scorer was Ferguson? | CREATE TABLE "pre_season_and_friendlies" (
"date" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"scorers" text
); | SELECT "opponents" FROM "pre_season_and_friendlies" WHERE "h_a"='h' AND "scorers"='ferguson'; | 2-17577144-1 |
Who was the opponent on 11 August 1991 when the H/A was H? | CREATE TABLE "pre_season_and_friendlies" (
"date" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"scorers" text
); | SELECT "opponents" FROM "pre_season_and_friendlies" WHERE "h_a"='h' AND "date"='11 august 1991'; | 2-17577144-1 |
What was the H/A when the scorer was Hughes? | CREATE TABLE "pre_season_and_friendlies" (
"date" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"scorers" text
); | SELECT "h_a" FROM "pre_season_and_friendlies" WHERE "scorers"='hughes'; | 2-17577144-1 |
What was the film that grossed $26,010,864 ranked? | CREATE TABLE "top_grossing_films_u_s" (
"rank" real,
"title" text,
"studio" text,
"director_s" text,
"gross" text
); | SELECT MIN("rank") FROM "top_grossing_films_u_s" WHERE "gross"='$26,010,864'; | 2-171652-1 |
How much did Universal Studio's film Xanadu gross? | CREATE TABLE "top_grossing_films_u_s" (
"rank" real,
"title" text,
"studio" text,
"director_s" text,
"gross" text
); | SELECT "gross" FROM "top_grossing_films_u_s" WHERE "studio"='universal' AND "title"='xanadu'; | 2-171652-1 |
What is the rank of Bronco Billy? | CREATE TABLE "top_grossing_films_u_s" (
"rank" real,
"title" text,
"studio" text,
"director_s" text,
"gross" text
); | SELECT AVG("rank") FROM "top_grossing_films_u_s" WHERE "title"='bronco billy'; | 2-171652-1 |
Name the lowest Founded with the Name cougars? | CREATE TABLE "central_conference" (
"institution" text,
"location" text,
"founded" real,
"affiliation" text,
"nickname" text
); | SELECT MIN("founded") FROM "central_conference" WHERE "nickname"='cougars'; | 2-16406736-3 |
Which Affiliation has a Nickname of cougars? | CREATE TABLE "central_conference" (
"institution" text,
"location" text,
"founded" real,
"affiliation" text,
"nickname" text
); | SELECT "affiliation" FROM "central_conference" WHERE "nickname"='cougars'; | 2-16406736-3 |
Name the Founded which has a Affiliation of private/methodist? | CREATE TABLE "central_conference" (
"institution" text,
"location" text,
"founded" real,
"affiliation" text,
"nickname" text
); | SELECT MAX("founded") FROM "central_conference" WHERE "affiliation"='private/methodist'; | 2-16406736-3 |
What is Label, when Date is 1987? | CREATE TABLE "release_history_and_variations" (
"date" text,
"region" text,
"label" text,
"catalogue" text,
"format" text
); | SELECT "label" FROM "release_history_and_variations" WHERE "date"='1987'; | 2-1620364-2 |
What is Date, when Format is Vinyl, and when Label is Mercury? | CREATE TABLE "release_history_and_variations" (
"date" text,
"region" text,
"label" text,
"catalogue" text,
"format" text
); | SELECT "date" FROM "release_history_and_variations" WHERE "format"='vinyl' AND "label"='mercury'; | 2-1620364-2 |
What is Date, when Region is Yugoslavia? | CREATE TABLE "release_history_and_variations" (
"date" text,
"region" text,
"label" text,
"catalogue" text,
"format" text
); | SELECT "date" FROM "release_history_and_variations" WHERE "region"='yugoslavia'; | 2-1620364-2 |
What is Format, when Label is Bronze, when Date is 1982, and when Catalogue is 204 636? | CREATE TABLE "release_history_and_variations" (
"date" text,
"region" text,
"label" text,
"catalogue" text,
"format" text
); | SELECT "format" FROM "release_history_and_variations" WHERE "label"='bronze' AND "date"='1982' AND "catalogue"='204 636'; | 2-1620364-2 |
What is Date, when Label is Jugoton? | CREATE TABLE "release_history_and_variations" (
"date" text,
"region" text,
"label" text,
"catalogue" text,
"format" text
); | SELECT "date" FROM "release_history_and_variations" WHERE "label"='jugoton'; | 2-1620364-2 |
What is Premier Date, when Cycle is less than 2? | CREATE TABLE "cycles" (
"cycle" real,
"premiere_date" text,
"winner" text,
"runner_up" text,
"number_of_contestants" text,
"international_destinations" text
); | SELECT "premiere_date" FROM "cycles" WHERE "cycle"<2; | 2-16805656-1 |
What is the lowest Cycle, when Number Of Contestants is 11, and when International Destinations is Paris Gran Canaria? | CREATE TABLE "cycles" (
"cycle" real,
"premiere_date" text,
"winner" text,
"runner_up" text,
"number_of_contestants" text,
"international_destinations" text
); | SELECT MIN("cycle") FROM "cycles" WHERE "number_of_contestants"='11' AND "international_destinations"='paris gran canaria'; | 2-16805656-1 |
What is the highest Cycle, when the Number of Constestants is 11, and when Premiere Date is September 3, 2012? | CREATE TABLE "cycles" (
"cycle" real,
"premiere_date" text,
"winner" text,
"runner_up" text,
"number_of_contestants" text,
"international_destinations" text
); | SELECT MAX("cycle") FROM "cycles" WHERE "number_of_contestants"='11' AND "premiere_date"='september 3, 2012'; | 2-16805656-1 |
What is Number of Contestants, when Cycle is 4? | CREATE TABLE "cycles" (
"cycle" real,
"premiere_date" text,
"winner" text,
"runner_up" text,
"number_of_contestants" text,
"international_destinations" text
); | SELECT "number_of_contestants" FROM "cycles" WHERE "cycle"=4; | 2-16805656-1 |
What is Number of Contestants, when International Destinations is London Lisbon? | CREATE TABLE "cycles" (
"cycle" real,
"premiere_date" text,
"winner" text,
"runner_up" text,
"number_of_contestants" text,
"international_destinations" text
); | SELECT "number_of_contestants" FROM "cycles" WHERE "international_destinations"='london lisbon'; | 2-16805656-1 |
What is the lowest pick with fewer than 3 rounds and more than 4 overall? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MIN("pick") FROM "washington_redskins_draft_history" WHERE "round"<3 AND "overall">4; | 2-17100961-29 |
Which round has more than 79 overall and a position of QB? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT "round" FROM "washington_redskins_draft_history" WHERE "position"='qb' AND "overall">79; | 2-17100961-29 |
Which Notre Dame position has a pick lower than 5 and round 7? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT "position" FROM "washington_redskins_draft_history" WHERE "pick"<5 AND "college"='notre dame' AND "round"=7; | 2-17100961-29 |
What was week 17's date? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "week"=17; | 2-16778258-2 |
Which Opponent has a Result of l 24–3? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "opponent" FROM "schedule" WHERE "result"='l 24–3'; | 2-16778258-2 |
What was week 5's result? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "schedule" WHERE "week"=5; | 2-16778258-2 |
What was the score for Groves High School when the high assist was Giovanni Riley (9)? | CREATE TABLE "2009_season_schedule" (
"date" text,
"opponent" text,
"home_away" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "score" FROM "2009_season_schedule" WHERE "location_attendance"='groves high school' AND "high_assists"='giovanni riley (9)'; | 2-17432028-1 |
What was the high points for opponent Mid-Michigan destroyers on January 3? | CREATE TABLE "2009_season_schedule" (
"date" text,
"opponent" text,
"home_away" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_points" FROM "2009_season_schedule" WHERE "opponent"='mid-michigan destroyers' AND "date"='january 3'; | 2-17432028-1 |
What opponent is at Richmond Academy? | CREATE TABLE "2009_season_schedule" (
"date" text,
"opponent" text,
"home_away" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "opponent" FROM "2009_season_schedule" WHERE "location_attendance"='richmond academy'; | 2-17432028-1 |
What were the high points on March 29? | CREATE TABLE "2009_season_schedule" (
"date" text,
"opponent" text,
"home_away" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_points" FROM "2009_season_schedule" WHERE "date"='march 29'; | 2-17432028-1 |
Which opponent scored 95-101? | CREATE TABLE "2009_season_schedule" (
"date" text,
"opponent" text,
"home_away" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "opponent" FROM "2009_season_schedule" WHERE "score"='95-101'; | 2-17432028-1 |
Who was the (M) Best & Fairest when ray kaduck was president and richard keane was coach? | CREATE TABLE "club_honour_board" (
"year" real,
"president" text,
"m_finishing_position" text,
"m_coach" text,
"m_best_fairest" text,
"m_leading_goalkicker" text
); | SELECT "m_best_fairest" FROM "club_honour_board" WHERE "president"='ray kaduck' AND "m_coach"='richard keane'; | 2-17537584-1 |
What was the (M) Finishe position when ray kaduck was president and corey bowen was coach? | CREATE TABLE "club_honour_board" (
"year" real,
"president" text,
"m_finishing_position" text,
"m_coach" text,
"m_best_fairest" text,
"m_leading_goalkicker" text
); | SELECT "m_finishing_position" FROM "club_honour_board" WHERE "president"='ray kaduck' AND "m_coach"='corey bowen'; | 2-17537584-1 |
Which Game has a Score of l 102–114 (ot)? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"location_attendance" text,
"record" text
); | SELECT AVG("game") FROM "game_log" WHERE "score"='l 102–114 (ot)'; | 2-17121262-7 |
Which Record has a Date of january 31? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"location_attendance" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "date"='january 31'; | 2-17121262-7 |
Which Record has a Game larger than 34, and a Date of january 9? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"location_attendance" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "game">34 AND "date"='january 9'; | 2-17121262-7 |
Which Location Attendance has a Record of 11–34? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"location_attendance" text,
"record" text
); | SELECT "location_attendance" FROM "game_log" WHERE "record"='11–34'; | 2-17121262-7 |
What is the record for the w 100-99 score? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "score"='w 100-99'; | 2-17621978-7 |
What is the location for the 23-17 record? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "location" FROM "game_log" WHERE "record"='23-17'; | 2-17621978-7 |
What is the location before game 44, and a 20-16 record? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "location" FROM "game_log" WHERE "game"<44 AND "record"='20-16'; | 2-17621978-7 |
What was the result for the match with entry Match Reports? | CREATE TABLE "matches_and_goals_scored_at_world_cup_an" (
"match" text,
"date" text,
"location" text,
"lineup" text,
"result" text,
"competition" text
); | SELECT "result" FROM "matches_and_goals_scored_at_world_cup_an" WHERE "match"='match reports'; | 2-17467244-2 |
What was the location of the match that had a result of 3-3? | CREATE TABLE "matches_and_goals_scored_at_world_cup_an" (
"match" text,
"date" text,
"location" text,
"lineup" text,
"result" text,
"competition" text
); | SELECT "location" FROM "matches_and_goals_scored_at_world_cup_an" WHERE "result"='3-3'; | 2-17467244-2 |
What was the lineup for match 12 that had a competition of Group Stage? | CREATE TABLE "matches_and_goals_scored_at_world_cup_an" (
"match" text,
"date" text,
"location" text,
"lineup" text,
"result" text,
"competition" text
); | SELECT "lineup" FROM "matches_and_goals_scored_at_world_cup_an" WHERE "competition"='group stage' AND "match"='12'; | 2-17467244-2 |
What was the result for the match held in Boston? | CREATE TABLE "matches_and_goals_scored_at_world_cup_an" (
"match" text,
"date" text,
"location" text,
"lineup" text,
"result" text,
"competition" text
); | SELECT "result" FROM "matches_and_goals_scored_at_world_cup_an" WHERE "location"='boston'; | 2-17467244-2 |
How many total games were played against @ St. Louis Hawks this season? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT SUM("game") FROM "game_log" WHERE "opponent"='@ st. louis hawks'; | 2-17342287-6 |
On what day was Game 48 played? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "game"=48; | 2-17342287-6 |
What is the pick number later than round 1, for Reyshawn Terry? | CREATE TABLE "team_players_drafted_into_the_nba" (
"year" real,
"round" real,
"pick" real,
"player" text,
"nba_club" text
); | SELECT AVG("pick") FROM "team_players_drafted_into_the_nba" WHERE "round">1 AND "player"='reyshawn terry'; | 2-17238028-3 |
What round was the player Ty Lawson with a pick earlier than 18? | CREATE TABLE "team_players_drafted_into_the_nba" (
"year" real,
"round" real,
"pick" real,
"player" text,
"nba_club" text
); | SELECT AVG("round") FROM "team_players_drafted_into_the_nba" WHERE "player"='ty lawson' AND "pick"<18; | 2-17238028-3 |
What is the pick number for Danny Green in a round less than 2? | CREATE TABLE "team_players_drafted_into_the_nba" (
"year" real,
"round" real,
"pick" real,
"player" text,
"nba_club" text
); | SELECT COUNT("pick") FROM "team_players_drafted_into_the_nba" WHERE "player"='danny green' AND "round"<2; | 2-17238028-3 |
What is the pick number in a year earlier than 2009, with a round higher than 1? | CREATE TABLE "team_players_drafted_into_the_nba" (
"year" real,
"round" real,
"pick" real,
"player" text,
"nba_club" text
); | SELECT COUNT("pick") FROM "team_players_drafted_into_the_nba" WHERE "year"<2009 AND "round">1; | 2-17238028-3 |
What are the notes for the Mandarin Chinese program on CTV earlier than 2013? | CREATE TABLE "variety" (
"year" real,
"network" text,
"title" text,
"notes" text,
"language" text
); | SELECT "notes" FROM "variety" WHERE "year"<2013 AND "language"='mandarin chinese' AND "network"='ctv'; | 2-17333702-3 |
What is the language for Strong Heart? | CREATE TABLE "variety" (
"year" real,
"network" text,
"title" text,
"notes" text,
"language" text
); | SELECT "language" FROM "variety" WHERE "title"='strong heart'; | 2-17333702-3 |
What is the title for the Korean progran on KBS2? | CREATE TABLE "variety" (
"year" real,
"network" text,
"title" text,
"notes" text,
"language" text
); | SELECT "title" FROM "variety" WHERE "language"='korean' AND "network"='kbs2'; | 2-17333702-3 |
What is the network that aired Star King prior to 2011? | CREATE TABLE "variety" (
"year" real,
"network" text,
"title" text,
"notes" text,
"language" text
); | SELECT "network" FROM "variety" WHERE "year"<2011 AND "title"='star king'; | 2-17333702-3 |
What are the notes for Happy Camp? | CREATE TABLE "variety" (
"year" real,
"network" text,
"title" text,
"notes" text,
"language" text
); | SELECT "notes" FROM "variety" WHERE "title"='happy camp'; | 2-17333702-3 |
Which Pick has a College of ohio state? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MIN("pick") FROM "washington_redskins_draft_history" WHERE "college"='ohio state'; | 2-17100961-43 |
Which Round has a Position of lb, and a Pick smaller than 25? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT COUNT("round") FROM "washington_redskins_draft_history" WHERE "position"='lb' AND "pick"<25; | 2-17100961-43 |
Which week has a result L 56-3? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT AVG("week") FROM "schedule" WHERE "result"='l 56-3'; | 2-16710917-2 |
Where is the player Raymond Floyd? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "place" FROM "final_leaderboard" WHERE "player"='raymond floyd'; | 2-16457780-1 |
Which country has a score of 71-72-73-69=285? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "country" FROM "final_leaderboard" WHERE "score"='71-72-73-69=285'; | 2-16457780-1 |
What is the highest Money ( $ ), when Score is "69-71-70-74=284"? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT MAX("money") FROM "final_round" WHERE "score"='69-71-70-74=284'; | 2-17198476-6 |
What is Place, when Score is "71-71-69-71=282"? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "place" FROM "final_round" WHERE "score"='71-71-69-71=282'; | 2-17198476-6 |
What is Score, when Player is "Dow Finsterwald"? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "score" FROM "final_round" WHERE "player"='dow finsterwald'; | 2-17198476-6 |
Which venue did the runner have a note of 1:23:07? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
); | SELECT "venue" FROM "achievements" WHERE "notes"='1:23:07'; | 2-17357501-1 |
What is the note result when the runner finished 19th in 2008? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
); | SELECT "notes" FROM "achievements" WHERE "year"=2008 AND "position"='19th'; | 2-17357501-1 |
What are the points 1 for the team with position less than 13 and goal difference of +16? | CREATE TABLE "division_one_final_table" (
"position" real,
"team" text,
"played" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real,
"goal_difference" text,
"points_1" text
); | SELECT "points_1" FROM "division_one_final_table" WHERE "position"<13 AND "goal_difference"='+16'; | 2-17606104-2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.