question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What was the average date with a record of 30-31-9 in a game over 70? | CREATE TABLE "schedule_and_results" (
"game" real,
"date" real,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT AVG("date") FROM "schedule_and_results" WHERE "record"='30-31-9' AND "game">70; | 2-13931429-7 |
What is the latest date at Los Angeles with a game less than 62? | CREATE TABLE "schedule_and_results" (
"game" real,
"date" real,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT MAX("date") FROM "schedule_and_results" WHERE "location_attendance"='los angeles' AND "game"<62; | 2-13931429-7 |
What is the latest date for a game over 69 with a St. Louis Blues opponent? | CREATE TABLE "schedule_and_results" (
"game" real,
"date" real,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT MAX("date") FROM "schedule_and_results" WHERE "game">69 AND "opponent"='st. louis blues'; | 2-13931429-7 |
What is the highest game with Oakland Seals opponent and a record of 27-30-6 on a date more than 7? | CREATE TABLE "schedule_and_results" (
"game" real,
"date" real,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT MAX("game") FROM "schedule_and_results" WHERE "opponent"='oakland seals' AND "record"='27-30-6' AND "date">7; | 2-13931429-7 |
What is the total attendance for the date of october 5? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT SUM("attendance") FROM "regular_season" WHERE "date"='october 5'; | 2-14320348-2 |
What record has September 21 as the date? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT "record" FROM "regular_season" WHERE "date"='september 21'; | 2-14320348-2 |
What was the score of the match on December 19, 2009? | CREATE TABLE "under_23_international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "under_23_international_goals" WHERE "date"='december 19, 2009'; | 2-14016027-3 |
What's the highest game against the New York Rangers with more than 55 points? | CREATE TABLE "regular_season" (
"game" real,
"january" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT MAX("game") FROM "regular_season" WHERE "opponent"='new york rangers' AND "points">55; | 2-14344570-5 |
What's the record for a game past 44 against the Dallas Stars with more than 54 points? | CREATE TABLE "regular_season" (
"game" real,
"january" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT "record" FROM "regular_season" WHERE "points">54 AND "game">44 AND "opponent"='dallas stars'; | 2-14344570-5 |
What is the latest Fiscal Year with Revenues of $4.3 billion, and more than 85,335 employees? | CREATE TABLE "big_five_it_services_company" (
"firm" text,
"revenues" text,
"employees" real,
"fiscal_year" real,
"headquarters" text
); | SELECT MAX("fiscal_year") FROM "big_five_it_services_company" WHERE "revenues"='$4.3 billion' AND "employees">'85,335'; | 2-14799281-1 |
What is the average Fiscal Year of the firm Headquartered in noida, with less than 85,335 employees? | CREATE TABLE "big_five_it_services_company" (
"firm" text,
"revenues" text,
"employees" real,
"fiscal_year" real,
"headquarters" text
); | SELECT AVG("fiscal_year") FROM "big_five_it_services_company" WHERE "headquarters"='noida' AND "employees"<'85,335'; | 2-14799281-1 |
What are the Points after 1991? | CREATE TABLE "grand_prix_career_statistics" (
"year" real,
"class" text,
"team" text,
"machine" text,
"points" real,
"wins" real
); | SELECT COUNT("points") FROM "grand_prix_career_statistics" WHERE "year">1991; | 2-15097411-3 |
What Class has 36 Points? | CREATE TABLE "grand_prix_career_statistics" (
"year" real,
"class" text,
"team" text,
"machine" text,
"points" real,
"wins" real
); | SELECT "class" FROM "grand_prix_career_statistics" WHERE "points"=36; | 2-15097411-3 |
What is the Class after 1986? | CREATE TABLE "grand_prix_career_statistics" (
"year" real,
"class" text,
"team" text,
"machine" text,
"points" real,
"wins" real
); | SELECT "class" FROM "grand_prix_career_statistics" WHERE "year">1986; | 2-15097411-3 |
How many attendances had the Detroit Lions as opponents? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT SUM("attendance") FROM "schedule" WHERE "opponent"='detroit lions'; | 2-14971788-1 |
Who was on the men's doubles in 2010? | CREATE TABLE "previous_winners" (
"year" real,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "men_s_doubles" FROM "previous_winners" WHERE "year"=2010; | 2-13553701-1 |
Which women was on the mixed doubles of tontowi ahmad lilyana natsir in 2011? | CREATE TABLE "previous_winners" (
"year" real,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "women_s_singles" FROM "previous_winners" WHERE "mixed_doubles"='tontowi ahmad lilyana natsir' AND "year"=2011; | 2-13553701-1 |
Which nationality's distance was 500m before 2012, when the record was 1:37.071s? | CREATE TABLE "women_kayak" (
"distance" text,
"event" text,
"record" text,
"nationality" text,
"year" real,
"location" text
); | SELECT "nationality" FROM "women_kayak" WHERE "distance"='500m' AND "year"<2012 AND "record"='1:37.071s'; | 2-14884844-2 |
Which location's year was 2001 when the record was 3:52.983s? | CREATE TABLE "women_kayak" (
"distance" text,
"event" text,
"record" text,
"nationality" text,
"year" real,
"location" text
); | SELECT "location" FROM "women_kayak" WHERE "year"=2001 AND "record"='3:52.983s'; | 2-14884844-2 |
Which nationality's distance was 200m and had a year more recent than 1994 when the record was 33.778s? | CREATE TABLE "women_kayak" (
"distance" text,
"event" text,
"record" text,
"nationality" text,
"year" real,
"location" text
); | SELECT "nationality" FROM "women_kayak" WHERE "distance"='200m' AND "year">1994 AND "record"='33.778s'; | 2-14884844-2 |
How many Total medals for the team with a Rank of 8, 1 Bronze and more than 1 Silver? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("total") FROM "medal_table" WHERE "bronze"=1 AND "rank"='8' AND "silver">1; | 2-15220147-3 |
How many Gold does the Nation in Rank 12 with less than 2 Total medals have? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("gold") FROM "medal_table" WHERE "rank"='12' AND "total"<2; | 2-15220147-3 |
Which NHL team got pick 89? | CREATE TABLE "round_six" (
"pick_num" text,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "nhl_team" FROM "round_six" WHERE "pick_num"='89'; | 2-1473672-6 |
Who plays goaltender for the Vancouver Canucks? | CREATE TABLE "round_six" (
"pick_num" text,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "player" FROM "round_six" WHERE "position"='goaltender' AND "nhl_team"='vancouver canucks'; | 2-1473672-6 |
What is the % Change at London Heathrow airport? | CREATE TABLE "2004_final_statistics" (
"rank" real,
"airport" text,
"location" text,
"code_iata" text,
"total_cargo_metric_tonnes" text,
"2003_rank" text,
"pct_change" text
); | SELECT "pct_change" FROM "2004_final_statistics" WHERE "airport"='london heathrow airport'; | 2-1451581-9 |
What 2003 rank does the airport IATA code SIN have? | CREATE TABLE "2004_final_statistics" (
"rank" real,
"airport" text,
"location" text,
"code_iata" text,
"total_cargo_metric_tonnes" text,
"2003_rank" text,
"pct_change" text
); | SELECT "2003_rank" FROM "2004_final_statistics" WHERE "code_iata"='sin'; | 2-1451581-9 |
Which airport has an IATA code of AMS? | CREATE TABLE "2004_final_statistics" (
"rank" real,
"airport" text,
"location" text,
"code_iata" text,
"total_cargo_metric_tonnes" text,
"2003_rank" text,
"pct_change" text
); | SELECT "airport" FROM "2004_final_statistics" WHERE "code_iata"='ams'; | 2-1451581-9 |
What is the IATA code of the airport that has a Total Cargo of 1,838,894 Metric Tonnes? | CREATE TABLE "2004_final_statistics" (
"rank" real,
"airport" text,
"location" text,
"code_iata" text,
"total_cargo_metric_tonnes" text,
"2003_rank" text,
"pct_change" text
); | SELECT "code_iata" FROM "2004_final_statistics" WHERE "total_cargo_metric_tonnes"='1,838,894'; | 2-1451581-9 |
What is the 2003 rank for Los Angeles International airport? | CREATE TABLE "2004_final_statistics" (
"rank" real,
"airport" text,
"location" text,
"code_iata" text,
"total_cargo_metric_tonnes" text,
"2003_rank" text,
"pct_change" text
); | SELECT "2003_rank" FROM "2004_final_statistics" WHERE "airport"='los angeles international airport'; | 2-1451581-9 |
What % Change is listed against the airport with a rank less than 8 and a 2003 rank of 6? | CREATE TABLE "2004_final_statistics" (
"rank" real,
"airport" text,
"location" text,
"code_iata" text,
"total_cargo_metric_tonnes" text,
"2003_rank" text,
"pct_change" text
); | SELECT "pct_change" FROM "2004_final_statistics" WHERE "rank"<8 AND "2003_rank"='6'; | 2-1451581-9 |
What district is Wyatt Aiken in? | CREATE TABLE "south_carolina" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" text,
"result" text
); | SELECT "district" FROM "south_carolina" WHERE "incumbent"='wyatt aiken'; | 2-1365810-4 |
Silver larger than 0, and a Total smaller than 3, and a Nation of bulgaria, and a Bronze smaller than 0 had what sum of gold? | CREATE TABLE "medal_table" (
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("gold") FROM "medal_table" WHERE "silver">0 AND "total"<3 AND "nation"='bulgaria' AND "bronze"<0; | 2-13957023-2 |
Nation of total has what sum of gold? | CREATE TABLE "medal_table" (
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("gold") FROM "medal_table" WHERE "nation"='total'; | 2-13957023-2 |
Total of 3, and a Gold larger than 0, and a Nation of belarus, and a Silver larger than 2 has what sum of bronze? | CREATE TABLE "medal_table" (
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("bronze") FROM "medal_table" WHERE "total"=3 AND "gold">0 AND "nation"='belarus' AND "silver">2; | 2-13957023-2 |
Bronze of 22 has what average silver? | CREATE TABLE "medal_table" (
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("silver") FROM "medal_table" WHERE "bronze"=22; | 2-13957023-2 |
Which position had 5 games played and a record of 1-2-2? | CREATE TABLE "league_table" (
"position" real,
"club_city_town" text,
"games_played" real,
"w_l_d" text,
"goals_for_against" text,
"points" real
); | SELECT "position" FROM "league_table" WHERE "games_played"=5 AND "w_l_d"='1-2-2'; | 2-14181578-1 |
What was the name of the leader whose term ended in 2013? | CREATE TABLE "history_of_leaders" (
"name" text,
"term_start" real,
"term_end" text,
"date_of_birth" text,
"date_of_death" text
); | SELECT "name" FROM "history_of_leaders" WHERE "term_end"='2013'; | 2-149536-3 |
When was the start of the leader's term who was born on January 8, 1859 and whose term ended in 1919? | CREATE TABLE "history_of_leaders" (
"name" text,
"term_start" real,
"term_end" text,
"date_of_birth" text,
"date_of_death" text
); | SELECT "term_start" FROM "history_of_leaders" WHERE "term_end"='1919' AND "date_of_birth"='january 8, 1859'; | 2-149536-3 |
Which leader born on December 17, 1874 started their term before 1984? | CREATE TABLE "history_of_leaders" (
"name" text,
"term_start" real,
"term_end" text,
"date_of_birth" text,
"date_of_death" text
); | SELECT "name" FROM "history_of_leaders" WHERE "term_start"<1984 AND "date_of_birth"='december 17, 1874'; | 2-149536-3 |
What date shows the Outcome of winner against nikola fraňková carmen klaschka? | CREATE TABLE "doubles_4_2" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score" text
); | SELECT "date" FROM "doubles_4_2" WHERE "outcome"='winner' AND "opponents_in_the_final"='nikola fraňková carmen klaschka'; | 2-14359057-4 |
What is the Outcome of the jounieh tournament? | CREATE TABLE "doubles_4_2" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score" text
); | SELECT "outcome" FROM "doubles_4_2" WHERE "tournament"='jounieh'; | 2-14359057-4 |
What date was the score of 6–3 6–4? | CREATE TABLE "doubles_4_2" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score" text
); | SELECT "date" FROM "doubles_4_2" WHERE "score"='6–3 6–4'; | 2-14359057-4 |
What is the 9:00 episode that will be shown on the station that will show 20/20 at 10:00? | CREATE TABLE "friday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text,
"10_30" text
); | SELECT "9_00" FROM "friday" WHERE "10_00"='20/20'; | 2-15184672-6 |
What is the 9:00 show that will be aired on the station that airs Dawson's Creek at 8:00? | CREATE TABLE "friday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text,
"10_30" text
); | SELECT "9_00" FROM "friday" WHERE "8_00"='dawson''s creek'; | 2-15184672-6 |
What is the 9:30 program airing on the station that airs The Red Green Show at 8:30? | CREATE TABLE "friday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text,
"10_30" text
); | SELECT "9_30" FROM "friday" WHERE "8_30"='the red green show'; | 2-15184672-6 |
What is the 8:30 program that airs on the station that airs various programs at 7:30? | CREATE TABLE "friday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text,
"10_30" text
); | SELECT "8_30" FROM "friday" WHERE "7_30"='various programs'; | 2-15184672-6 |
What is the 9:30 program that airs on the station that airs Dawson's Creek at 8:30? | CREATE TABLE "friday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text,
"10_30" text
); | SELECT "9_30" FROM "friday" WHERE "8_30"='dawson''s creek'; | 2-15184672-6 |
when indiana pacers were the opponent what was the date? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "opponent"='indiana pacers'; | 2-13821868-5 |
tries against is 55, what is the try bonus? | CREATE TABLE "2007_2008_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text
); | SELECT "try_bonus" FROM "2007_2008_table" WHERE "tries_against"='55'; | 2-13758945-3 |
tries against is 29, what is the points against? | CREATE TABLE "2007_2008_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text
); | SELECT "points_against" FROM "2007_2008_table" WHERE "tries_against"='29'; | 2-13758945-3 |
tries against correct as of 2007-10-15 has what tries for? | CREATE TABLE "2007_2008_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text
); | SELECT "tries_for" FROM "2007_2008_table" WHERE "tries_against"='correct as of 2007-10-15'; | 2-13758945-3 |
tries against correct as of 2007-10-15 has what tries for? | CREATE TABLE "2007_2008_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text
); | SELECT "tries_for" FROM "2007_2008_table" WHERE "tries_against"='correct as of 2007-10-15'; | 2-13758945-3 |
tries against is 88, played is 22, what is the lost? | CREATE TABLE "2007_2008_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text
); | SELECT "lost" FROM "2007_2008_table" WHERE "played"='22' AND "tries_against"='88'; | 2-13758945-3 |
Who won silver in the year before 2010, the year Chan Ming Shu won gold? | CREATE TABLE "taijiquan" (
"year" real,
"location" text,
"gold" text,
"silver" text,
"bronze" text
); | SELECT "silver" FROM "taijiquan" WHERE "year"<2010 AND "gold"='chan ming shu'; | 2-14783550-10 |
What is the location for the year under 2010 and the year Hei Zhi Hong won silver? | CREATE TABLE "taijiquan" (
"year" real,
"location" text,
"gold" text,
"silver" text,
"bronze" text
); | SELECT "location" FROM "taijiquan" WHERE "year"<2010 AND "silver"='hei zhi hong'; | 2-14783550-10 |
Which location had a year over 2006? | CREATE TABLE "taijiquan" (
"year" real,
"location" text,
"gold" text,
"silver" text,
"bronze" text
); | SELECT "location" FROM "taijiquan" WHERE "year">2006; | 2-14783550-10 |
Score F–A of 2–0, and a Opponents of walsall has what date? | CREATE TABLE "pre_season_friendles" (
"date" text,
"opponents" text,
"venue" text,
"result" text,
"score_f_a" text
); | SELECT "date" FROM "pre_season_friendles" WHERE "score_f_a"='2–0' AND "opponents"='walsall'; | 2-15120038-1 |
Score F–A of 3–0, and a Date of 31 july 2007 had what opponents? | CREATE TABLE "pre_season_friendles" (
"date" text,
"opponents" text,
"venue" text,
"result" text,
"score_f_a" text
); | SELECT "opponents" FROM "pre_season_friendles" WHERE "score_f_a"='3–0' AND "date"='31 july 2007'; | 2-15120038-1 |
Opponents of sheffield wednesday had what date? | CREATE TABLE "pre_season_friendles" (
"date" text,
"opponents" text,
"venue" text,
"result" text,
"score_f_a" text
); | SELECT "date" FROM "pre_season_friendles" WHERE "opponents"='sheffield wednesday'; | 2-15120038-1 |
Opponents of sheffield wednesday had what date? | CREATE TABLE "pre_season_friendles" (
"date" text,
"opponents" text,
"venue" text,
"result" text,
"score_f_a" text
); | SELECT "date" FROM "pre_season_friendles" WHERE "opponents"='sheffield wednesday'; | 2-15120038-1 |
Date of 4 august 2007 had what opponents? | CREATE TABLE "pre_season_friendles" (
"date" text,
"opponents" text,
"venue" text,
"result" text,
"score_f_a" text
); | SELECT "opponents" FROM "pre_season_friendles" WHERE "date"='4 august 2007'; | 2-15120038-1 |
WHich Position has a Player of david laliberte? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "position" FROM "draft_picks" WHERE "player"='david laliberte'; | 2-14101654-10 |
Which Position has a Player of gino pisellini? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "position" FROM "draft_picks" WHERE "player"='gino pisellini'; | 2-14101654-10 |
What is the winning score of standard register ping tournament, which has Kelly Robbins as the runner-up? | CREATE TABLE "lpga_tour_20" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "winning_score" FROM "lpga_tour_20" WHERE "tournament"='standard register ping' AND "runner_s_up"='kelly robbins'; | 2-1524633-2 |
What is the winning score of the tournament on 16 May 1993? | CREATE TABLE "lpga_tour_20" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "winning_score" FROM "lpga_tour_20" WHERE "date"='16 may 1993'; | 2-1524633-2 |
What is the margin of victory of the tournament on 5 Jun 1988? | CREATE TABLE "lpga_tour_20" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "margin_of_victory" FROM "lpga_tour_20" WHERE "date"='5 jun 1988'; | 2-1524633-2 |
What is the winning scor of the tournament with Robin Walton as the runner-up? | CREATE TABLE "lpga_tour_20" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "winning_score" FROM "lpga_tour_20" WHERE "runner_s_up"='robin walton'; | 2-1524633-2 |
which NHL team has a College/Junior/Club Team (League) of shattuck-saint mary's school (midget major aaa)? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team_league" text
); | SELECT "nhl_team" FROM "draft_picks" WHERE "college_junior_club_team_league"='shattuck-saint mary''s school (midget major aaa)'; | 2-14667303-17 |
How many Rounds have a Nationality of canada, and a College/Junior/Club Team (League) of fort mcmurray oil barons (ajhl)? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team_league" text
); | SELECT COUNT("round") FROM "draft_picks" WHERE "nationality"='canada' AND "college_junior_club_team_league"='fort mcmurray oil barons (ajhl)'; | 2-14667303-17 |
Which Round has a NHL team of edmonton oilers and a Player of vyacheslav trukhno? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team_league" text
); | SELECT AVG("round") FROM "draft_picks" WHERE "nhl_team"='edmonton oilers' AND "player"='vyacheslav trukhno'; | 2-14667303-17 |
Which Round has a Nationality of united states, and a College/Junior/Club Team (League) of breck school (ushs)? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team_league" text
); | SELECT MIN("round") FROM "draft_picks" WHERE "nationality"='united states' AND "college_junior_club_team_league"='breck school (ushs)'; | 2-14667303-17 |
What is the max 1-min wind mph when the minimum press is 997? | CREATE TABLE "2010_pacific_hurricane_statistics" (
"storm_name" text,
"dates_active" text,
"max_1_min_wind_mph_km_h" text,
"min_press_mbar" text,
"damage_millions_usd" text,
"deaths" text
); | SELECT "max_1_min_wind_mph_km_h" FROM "2010_pacific_hurricane_statistics" WHERE "min_press_mbar"='997'; | 2-14939494-2 |
How many deaths occurred during Darby? | CREATE TABLE "2010_pacific_hurricane_statistics" (
"storm_name" text,
"dates_active" text,
"max_1_min_wind_mph_km_h" text,
"min_press_mbar" text,
"damage_millions_usd" text,
"deaths" text
); | SELECT "deaths" FROM "2010_pacific_hurricane_statistics" WHERE "storm_name"='darby'; | 2-14939494-2 |
What is the distance from Jaffa of Jerusalem station? | CREATE TABLE "original_stations" (
"name_location" text,
"other_later_names" text,
"operation" text,
"distance_from_jaffa" text,
"elevation" text
); | SELECT "distance_from_jaffa" FROM "original_stations" WHERE "name_location"='jerusalem'; | 2-15058686-1 |
What visitor has February 11 as the date? | CREATE TABLE "february" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "visitor" FROM "february" WHERE "date"='february 11'; | 2-14208948-6 |
Which venue is the friendly match in? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "international_goals" WHERE "competition"='friendly match'; | 2-1385069-2 |
What is the result of the friendly match in Seoul? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "result" FROM "international_goals" WHERE "competition"='friendly match' AND "venue"='seoul'; | 2-1385069-2 |
What is the result of the 2007 AFC asian cup? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "result" FROM "international_goals" WHERE "competition"='2007 afc asian cup'; | 2-1385069-2 |
Which Runner(s)-up has a Margin of victory of 1 stroke, and a Tournament of world seniors invitational? | CREATE TABLE "senior_pga_tour_wins_11" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "runner_s_up" FROM "senior_pga_tour_wins_11" WHERE "margin_of_victory"='1 stroke' AND "tournament"='world seniors invitational'; | 2-1510351-2 |
Which Date has a Margin of victory of 4 strokes? | CREATE TABLE "senior_pga_tour_wins_11" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "date" FROM "senior_pga_tour_wins_11" WHERE "margin_of_victory"='4 strokes'; | 2-1510351-2 |
Which Runner(s)-up has a Tournament of general foods pga seniors' championship? | CREATE TABLE "senior_pga_tour_wins_11" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "runner_s_up" FROM "senior_pga_tour_wins_11" WHERE "tournament"='general foods pga seniors'' championship'; | 2-1510351-2 |
Which Tournament has a Margin of victory of 2 strokes, and a Winning score of −14 (68-66-68=202)? | CREATE TABLE "senior_pga_tour_wins_11" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "tournament" FROM "senior_pga_tour_wins_11" WHERE "margin_of_victory"='2 strokes' AND "winning_score"='−14 (68-66-68=202)'; | 2-1510351-2 |
Which Date has a Winning score of −9 (70-64-70=203)? | CREATE TABLE "senior_pga_tour_wins_11" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "date" FROM "senior_pga_tour_wins_11" WHERE "winning_score"='−9 (70-64-70=203)'; | 2-1510351-2 |
What was the High points when date was February 11? | 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_points" FROM "game_log" WHERE "date"='february 11'; | 2-13557843-6 |
What was the team that has a High rebounds of popeye jones (14), and when the Record was 16-28? | 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 "team" FROM "game_log" WHERE "high_rebounds"='popeye jones (14)' AND "record"='16-28'; | 2-13557843-6 |
What is the Location Attendance when the Date was February 27? | 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 "location_attendance" FROM "game_log" WHERE "date"='february 27'; | 2-13557843-6 |
What is the score of the scores when Game had a Record of 17-29? | 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 SUM("game") FROM "game_log" WHERE "record"='17-29'; | 2-13557843-6 |
Who has the lead on Lisa Weagle? | CREATE TABLE "provincial_champions" (
"year" real,
"event" text,
"skip" text,
"third" text,
"second" text,
"lead" text
); | SELECT "skip" FROM "provincial_champions" WHERE "lead"='lisa weagle'; | 2-1400734-1 |
Which event shows Matt St. Louis in second and a skip of John Morris? | CREATE TABLE "provincial_champions" (
"year" real,
"event" text,
"skip" text,
"third" text,
"second" text,
"lead" text
); | SELECT "event" FROM "provincial_champions" WHERE "skip"='john morris' AND "second"='matt st. louis'; | 2-1400734-1 |
What are the highest attempts that have net yards less than 631, and 2 for the touchdowns? | CREATE TABLE "rushing" (
"player" text,
"attempts" real,
"net_yards" real,
"yards_per_attempt" real,
"touchdowns" real
); | SELECT MAX("attempts") FROM "rushing" WHERE "net_yards"<631 AND "touchdowns"=2; | 2-15078664-2 |
What are the average net yards that have 9 as the touchdowns, 145 as the attempts, and yards per attempt greater than 4.8? | CREATE TABLE "rushing" (
"player" text,
"attempts" real,
"net_yards" real,
"yards_per_attempt" real,
"touchdowns" real
); | SELECT AVG("net_yards") FROM "rushing" WHERE "touchdowns"=9 AND "attempts"=145 AND "yards_per_attempt">4.8; | 2-15078664-2 |
How many yards per attempt have net yards greater than 631? | CREATE TABLE "rushing" (
"player" text,
"attempts" real,
"net_yards" real,
"yards_per_attempt" real,
"touchdowns" real
); | SELECT SUM("yards_per_attempt") FROM "rushing" WHERE "net_yards">631; | 2-15078664-2 |
What are the highest touchdowns that have net yards greater than 631, with attempts less than 145? | CREATE TABLE "rushing" (
"player" text,
"attempts" real,
"net_yards" real,
"yards_per_attempt" real,
"touchdowns" real
); | SELECT MAX("touchdowns") FROM "rushing" WHERE "net_yards">631 AND "attempts"<145; | 2-15078664-2 |
What is the value for Slalom in seasons later than 1994 and overall value greater than 22? | CREATE TABLE "season_standings" (
"season" real,
"overall" real,
"slalom" text,
"giant_slalom" real,
"super_g" text,
"downhill" text,
"combined" text
); | SELECT "slalom" FROM "season_standings" WHERE "season">1994 AND "overall">22; | 2-1376129-1 |
How many seasons had a Super G of 2 and overall of 3? | CREATE TABLE "season_standings" (
"season" real,
"overall" real,
"slalom" text,
"giant_slalom" real,
"super_g" text,
"downhill" text,
"combined" text
); | SELECT COUNT("season") FROM "season_standings" WHERE "super_g"='2' AND "overall"=3; | 2-1376129-1 |
Who was the Opponent in the Auckland, New Zealand Tournament? | CREATE TABLE "singles_13_6_7" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "opponent" FROM "singles_13_6_7" WHERE "tournament"='auckland, new zealand'; | 2-1417467-5 |
On what Date was Rafael Nadal the Opponent? | CREATE TABLE "singles_13_6_7" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "date" FROM "singles_13_6_7" WHERE "opponent"='rafael nadal'; | 2-1417467-5 |
Who was the Opponent on a Hard (i) Surface? | CREATE TABLE "singles_13_6_7" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "opponent" FROM "singles_13_6_7" WHERE "surface"='hard (i)'; | 2-1417467-5 |
What was the Score at the Auckland, New Zealand Tournament? | CREATE TABLE "singles_13_6_7" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "score" FROM "singles_13_6_7" WHERE "tournament"='auckland, new zealand'; | 2-1417467-5 |
What team plays in Dinamo, Brest? | CREATE TABLE "teams_and_venues" (
"team" text,
"location" text,
"venue" text,
"capacity" real,
"position_in_1996" text
); | SELECT "team" FROM "teams_and_venues" WHERE "venue"='dinamo, brest'; | 2-14745861-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.