question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What is the sum of Round, when Nationality is "United States", and when Pick is "125"? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"school_club_team" text
); | SELECT SUM("round") FROM "draft_picks" WHERE "nationality"='united states' AND "pick"=125; | 2-17261434-1 |
What is Round, when School/Club Team is "Tennessee-Chattanooga"? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"school_club_team" text
); | SELECT "round" FROM "draft_picks" WHERE "school_club_team"='tennessee-chattanooga'; | 2-17261434-1 |
What is the average Pick, when Player is "Willie White",and when Round is less than 2? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"school_club_team" text
); | SELECT AVG("pick") FROM "draft_picks" WHERE "player"='willie white' AND "round"<2; | 2-17261434-1 |
What is the total height of the peak with a prominence of 12,867 ft and a prominence in m greater than 3,922? | CREATE TABLE "geography" (
"name_of_peak" text,
"height_m" real,
"height_ft" real,
"prominence_m" real,
"prominence_ft" real,
"nearest_higher_neighbor" text
); | SELECT COUNT("height_m") FROM "geography" WHERE "prominence_ft"='12,867' AND "prominence_m">'3,922'; | 2-17073-1 |
What is the total prominence in ft of the peak of kangchenjunga central, which has a prominence in m less than 32? | CREATE TABLE "geography" (
"name_of_peak" text,
"height_m" real,
"height_ft" real,
"prominence_m" real,
"prominence_ft" real,
"nearest_higher_neighbor" text
); | SELECT COUNT("prominence_ft") FROM "geography" WHERE "name_of_peak"='kangchenjunga central' AND "prominence_m"<32; | 2-17073-1 |
What is the total prominence in m of kangchenjunga west (yalung kang) peak, which has a height in m greater than 7,903 and a height in ft less than 27,904? | CREATE TABLE "geography" (
"name_of_peak" text,
"height_m" real,
"height_ft" real,
"prominence_m" real,
"prominence_ft" real,
"nearest_higher_neighbor" text
); | SELECT COUNT("prominence_m") FROM "geography" WHERE "height_m">'7,903' AND "name_of_peak"='kangchenjunga west (yalung kang)' AND "height_ft"<'27,904'; | 2-17073-1 |
What is the highest prominence in ft of the peak with a prominence in m less than 103? | CREATE TABLE "geography" (
"name_of_peak" text,
"height_m" real,
"height_ft" real,
"prominence_m" real,
"prominence_ft" real,
"nearest_higher_neighbor" text
); | SELECT MAX("prominence_ft") FROM "geography" WHERE "prominence_m"<103; | 2-17073-1 |
What was the result when the attendance was 78,793? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "schedule" WHERE "attendance"='78,793'; | 2-16783007-2 |
What was the attendance when the result was a bye? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "result"='bye'; | 2-16783007-2 |
What was the attendance total for week 10? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "week"=10; | 2-16783007-2 |
What's the game date for week 7? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "week"=7; | 2-16678076-2 |
WHAT IS THE ROUND WITH PICK OF 7? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT SUM("round") FROM "washington_redskins_draft_history" WHERE "pick"=7; | 2-17100961-70 |
WHAT IS THE PICK WITH K POSITION AND OVERALL SMALLER THAN 181? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT SUM("pick") FROM "washington_redskins_draft_history" WHERE "position"='k' AND "overall"<181; | 2-17100961-70 |
WHAT IS THE ROUND FROM MICHIGAN COLLEGE, AND OVERALL LARGER THAN 37? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT SUM("round") FROM "washington_redskins_draft_history" WHERE "college"='michigan' AND "overall">37; | 2-17100961-70 |
WHAT IS THE LOWEST ROUND FOR CB POSITION? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MIN("round") FROM "washington_redskins_draft_history" WHERE "position"='cb'; | 2-17100961-70 |
Who's the Writer with an Original Airdate of september 4, 2005 (hbo)? | CREATE TABLE "season_1_2005" (
"episode" real,
"title" text,
"writer" text,
"director" text,
"original_airdate" text
); | SELECT "writer" FROM "season_1_2005" WHERE "original_airdate"='september 4, 2005 (hbo)'; | 2-1702679-1 |
Which Director has an Episode of 13? | CREATE TABLE "season_1_2005" (
"episode" real,
"title" text,
"writer" text,
"director" text,
"original_airdate" text
); | SELECT "director" FROM "season_1_2005" WHERE "episode"=13; | 2-1702679-1 |
Which Original Airdate has an Episode of 1? | CREATE TABLE "season_1_2005" (
"episode" real,
"title" text,
"writer" text,
"director" text,
"original_airdate" text
); | SELECT "original_airdate" FROM "season_1_2005" WHERE "episode"=1; | 2-1702679-1 |
On what date was the venue A with a result of 3–0? | CREATE TABLE "scottish_premier_division" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
); | SELECT "date" FROM "scottish_premier_division" WHERE "venue"='a' AND "result"='3–0'; | 2-16649466-3 |
What is the most noteworthy Bike No that has a Position bigger than 1, and a Points bigger than 369, and an Equipment of zabel-wsp? | CREATE TABLE "the_2012_season" (
"position" real,
"driver_passenger" text,
"equipment" text,
"bike_no" real,
"points" real
); | SELECT MAX("bike_no") FROM "the_2012_season" WHERE "position">1 AND "points">369 AND "equipment"='zabel-wsp'; | 2-16729457-17 |
What is the aggregate number of Position that has a Bike No of 4? | CREATE TABLE "the_2012_season" (
"position" real,
"driver_passenger" text,
"equipment" text,
"bike_no" real,
"points" real
); | SELECT COUNT("position") FROM "the_2012_season" WHERE "bike_no"=4; | 2-16729457-17 |
When was the result l 14–24? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT "date" FROM "schedule" WHERE "result"='l 14–24'; | 2-16727827-1 |
What was the first week when there was an attendance over 75,007 at Mile High Stadium? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT MIN("week") FROM "schedule" WHERE "game_site"='mile high stadium' AND "attendance">'75,007'; | 2-16727827-1 |
Away team Swindon Town had a Tie no listing of Replay with what as an Attendance? | CREATE TABLE "fifth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "attendance" FROM "fifth_round_proper" WHERE "tie_no"='replay' AND "away_team"='swindon town'; | 2-16351829-5 |
Liverpool as a home team as listed what in the Tie no column? | CREATE TABLE "fifth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "tie_no" FROM "fifth_round_proper" WHERE "home_team"='liverpool'; | 2-16351829-5 |
What is the score for the away team of Grimsby Town? | CREATE TABLE "fifth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "score" FROM "fifth_round_proper" WHERE "away_team"='grimsby town'; | 2-16351829-5 |
Which Pick has a Round larger than 1, a School/Club Team of alcorn state, and a Position of defensive back? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT SUM("pick") FROM "nfl_draft" WHERE "round">1 AND "school_club_team"='alcorn state' AND "position"='defensive back'; | 2-17386066-1 |
Which Pick has a Position of offensive guard, a Player of reggie mckenzie, and a Round larger than 2? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT COUNT("pick") FROM "nfl_draft" WHERE "position"='offensive guard' AND "player"='reggie mckenzie' AND "round">2; | 2-17386066-1 |
Which School/Club Team has a Round smaller than 5, a Pick larger than 1, and a Player of reggie mckenzie? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "school_club_team" FROM "nfl_draft" WHERE "round"<5 AND "pick">1 AND "player"='reggie mckenzie'; | 2-17386066-1 |
Which Player has a Round smaller than 2? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "player" FROM "nfl_draft" WHERE "round"<2; | 2-17386066-1 |
What was the record on march 26? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"attendance" real,
"record" text,
"points" real
); | SELECT "record" FROM "game_log" WHERE "date"='march 26'; | 2-17218729-7 |
Who visited on march 26? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"attendance" real,
"record" text,
"points" real
); | SELECT "visitor" FROM "game_log" WHERE "date"='march 26'; | 2-17218729-7 |
What were the lowest points on march 2? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"attendance" real,
"record" text,
"points" real
); | SELECT MIN("points") FROM "game_log" WHERE "date"='march 2'; | 2-17218729-7 |
Which Points have a Record of 21–36–9, and an Attendance larger than 14,768? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"attendance" real,
"record" text,
"points" real
); | SELECT SUM("points") FROM "game_log" WHERE "record"='21–36–9' AND "attendance">'14,768'; | 2-17218729-7 |
which Name has a Loss larger than 2, and a Avg/G larger than -16, and a GP-GS of 11–7, and a Gain larger than 86? | CREATE TABLE "rushing" (
"name" text,
"gp_gs" text,
"gain" real,
"loss" real,
"long" real,
"avg_g" real
); | SELECT "name" FROM "rushing" WHERE "loss">2 AND "avg_g">-16 AND "gp_gs"='11–7' AND "gain">86; | 2-16713759-17 |
Name the highest Long that has an Avg/G smaller than 8.4, and an GP-GS of 4–0? | CREATE TABLE "rushing" (
"name" text,
"gp_gs" text,
"gain" real,
"loss" real,
"long" real,
"avg_g" real
); | SELECT MAX("long") FROM "rushing" WHERE "avg_g"<8.4 AND "gp_gs"='4–0'; | 2-16713759-17 |
Name the lowest Gain which has a Long of 0, and a GP-GS of 4–0, and a Loss smaller than 3? | CREATE TABLE "rushing" (
"name" text,
"gp_gs" text,
"gain" real,
"loss" real,
"long" real,
"avg_g" real
); | SELECT MIN("gain") FROM "rushing" WHERE "long"=0 AND "gp_gs"='4–0' AND "loss"<3; | 2-16713759-17 |
Name the total of Loss which has an Avg/G of 8.4? | CREATE TABLE "rushing" (
"name" text,
"gp_gs" text,
"gain" real,
"loss" real,
"long" real,
"avg_g" real
); | SELECT COUNT("loss") FROM "rushing" WHERE "avg_g"=8.4; | 2-16713759-17 |
Which Team has Points of 15? | CREATE TABLE "classification" (
"fin_pos" text,
"car_no" text,
"driver" text,
"team" text,
"laps" text,
"time_retired" text,
"grid" text,
"laps_led" text,
"points" text
); | SELECT "team" FROM "classification" WHERE "points"='15'; | 2-17304504-1 |
Which Laps has a Points of lead changes: 13 between 8 drivers? | CREATE TABLE "classification" (
"fin_pos" text,
"car_no" text,
"driver" text,
"team" text,
"laps" text,
"time_retired" text,
"grid" text,
"laps_led" text,
"points" text
); | SELECT "laps" FROM "classification" WHERE "points"='lead changes: 13 between 8 drivers'; | 2-17304504-1 |
Which Driver has a Grid of 1? | CREATE TABLE "classification" (
"fin_pos" text,
"car_no" text,
"driver" text,
"team" text,
"laps" text,
"time_retired" text,
"grid" text,
"laps_led" text,
"points" text
); | SELECT "driver" FROM "classification" WHERE "grid"='1'; | 2-17304504-1 |
WHAT IS THE HIGHEST WINS WITH A SERIES OF BRITISH FORMULA THREE, SEASON 2005, POLES SMALLER THAN 0? | CREATE TABLE "career_summary" (
"season" text,
"series" text,
"races" real,
"poles" real,
"wins" real,
"points" text,
"final_placing" text
); | SELECT MAX("wins") FROM "career_summary" WHERE "series"='british formula three' AND "season"='2005' AND "poles"<0; | 2-17051360-1 |
WHAT IS THE SUM OF RACES WITH 9 POINTS? | CREATE TABLE "career_summary" (
"season" text,
"series" text,
"races" real,
"poles" real,
"wins" real,
"points" text,
"final_placing" text
); | SELECT SUM("races") FROM "career_summary" WHERE "points"='9'; | 2-17051360-1 |
WHAT IS THE AVERAGE POLES WITH POINTS N/A? | CREATE TABLE "career_summary" (
"season" text,
"series" text,
"races" real,
"poles" real,
"wins" real,
"points" text,
"final_placing" text
); | SELECT AVG("poles") FROM "career_summary" WHERE "points"='n/a'; | 2-17051360-1 |
Who is that player from South Africa who had a total score under 293? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "player" FROM "made_the_cut" WHERE "total"<293 AND "country"='south africa'; | 2-17245483-1 |
What is the best when the qual 2 is 1:47.042? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "best" FROM "qualifying_results" WHERE "qual_2"='1:47.042'; | 2-16759619-1 |
What is the team when the name is alex sperafico? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "team" FROM "qualifying_results" WHERE "name"='alex sperafico'; | 2-16759619-1 |
What is the qual 2 when the best is 1:45.172? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "qual_2" FROM "qualifying_results" WHERE "best"='1:45.172'; | 2-16759619-1 |
What is the name for the best of 1:45.361? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "name" FROM "qualifying_results" WHERE "best"='1:45.361'; | 2-16759619-1 |
What name has a qual 2 of 1:43.374? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "name" FROM "qualifying_results" WHERE "qual_2"='1:43.374'; | 2-16759619-1 |
What name has a qual 2 of 1:46.025? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "name" FROM "qualifying_results" WHERE "qual_2"='1:46.025'; | 2-16759619-1 |
What was the streak on March 27? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"team_points" real,
"opponent_score" real,
"record" text,
"streak" text
); | SELECT "streak" FROM "game_log" WHERE "date"='march 27'; | 2-17383511-3 |
Which streak before game 12 had a team points larger than 113 on November 16? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"team_points" real,
"opponent_score" real,
"record" text,
"streak" text
); | SELECT "streak" FROM "game_log" WHERE "team_points">113 AND "game"<12 AND "date"='november 16'; | 2-17383511-3 |
Who scored the lowest with 8 gold medals and less than 4 silver medals? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("total") FROM "medal_table" WHERE "gold"=8 AND "silver"<4; | 2-16668717-1 |
What is the rank for the 3 silver medals? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT "rank" FROM "medal_table" WHERE "silver"=3; | 2-16668717-1 |
Which young classification has an aggressive rider of Tim Johnson? | CREATE TABLE "jersey_progress" (
"stage_winner" text,
"general_classification" text,
"young_classification" text,
"sprint_classification" text,
"aggressive_rider" text,
"team_classification" text
); | SELECT "young_classification" FROM "jersey_progress" WHERE "aggressive_rider"='tim johnson'; | 2-16814948-20 |
what was the overall pick number for rich dobbert? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT AVG("overall") FROM "washington_redskins_draft_history" WHERE "name"='rich dobbert'; | 2-17100961-39 |
What is the sum of the rounds where the overall pick was more than 295 and the pick was smaller than 10 and the player was rich dobbert? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT SUM("round") FROM "washington_redskins_draft_history" WHERE "overall">295 AND "name"='rich dobbert' AND "pick"<10; | 2-17100961-39 |
What position did eric norri play who was the overall pick less than 322 on a round larger than 3? | 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 "overall"<322 AND "round">3 AND "name"='eric norri'; | 2-17100961-39 |
What was the report for the game with the home team of the Townsville Crocodiles? | CREATE TABLE "round_2" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
); | SELECT "report" FROM "round_2" WHERE "home_team"='townsville crocodiles'; | 2-16653153-9 |
What was the venue that featured the Melbourne Tigers as the away team? | CREATE TABLE "round_2" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
); | SELECT "venue" FROM "round_2" WHERE "away_team"='melbourne tigers'; | 2-16653153-9 |
What was the report for the game played at the Hisense Arena? | CREATE TABLE "round_2" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
); | SELECT "report" FROM "round_2" WHERE "venue"='hisense arena'; | 2-16653153-9 |
When the Points 1 was 51 and the Goals Against was less than 66, what was the Goal Difference? | CREATE TABLE "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 "goal_difference" FROM "final_table" WHERE "points_1"='51' AND "goals_against"<66; | 2-17603559-1 |
What is the total of Played where the Goals For is higher than 60, the Lost is 8, and the Position is less than 1? | CREATE TABLE "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 SUM("played") FROM "final_table" WHERE "goals_for">60 AND "lost"=8 AND "position"<1; | 2-17603559-1 |
What was the Goal Difference for Postion 22? | CREATE TABLE "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 "goal_difference" FROM "final_table" WHERE "position"=22; | 2-17603559-1 |
When Team Hyde United had more than 59 Goals For and fewer than 15 Drawn, what was the Lost? | CREATE TABLE "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 "lost" FROM "final_table" WHERE "goals_for">59 AND "drawn"<15 AND "team"='hyde united'; | 2-17603559-1 |
What is the average Lost for Team Matlock Town when the Goals Against is higher than 66? | CREATE TABLE "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 AVG("lost") FROM "final_table" WHERE "team"='matlock town' AND "goals_against">66; | 2-17603559-1 |
What was the attendance on October 17? | CREATE TABLE "pittsburgh_pirates_vs_atlanta_braves" (
"game" real,
"date" text,
"location" text,
"time" text,
"attendance" real
); | SELECT "attendance" FROM "pittsburgh_pirates_vs_atlanta_braves" WHERE "date"='october 17'; | 2-1742998-1 |
Where was the attendance more than 57,347? | CREATE TABLE "pittsburgh_pirates_vs_atlanta_braves" (
"game" real,
"date" text,
"location" text,
"time" text,
"attendance" real
); | SELECT "location" FROM "pittsburgh_pirates_vs_atlanta_braves" WHERE "attendance">'57,347'; | 2-1742998-1 |
When was the last game that had a time of 2:46 and attendance of more than 57,533? | CREATE TABLE "pittsburgh_pirates_vs_atlanta_braves" (
"game" real,
"date" text,
"location" text,
"time" text,
"attendance" real
); | SELECT MAX("game") FROM "pittsburgh_pirates_vs_atlanta_braves" WHERE "time"='2:46' AND "attendance">'57,533'; | 2-1742998-1 |
What place is South Africa? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "place" FROM "final_round" WHERE "country"='south africa'; | 2-16514480-5 |
What was the average year when shri. shambu nath khajuria won the padma shri awards? | CREATE TABLE "1998" (
"year" real,
"name" text,
"field" text,
"state" text,
"country" text
); | SELECT AVG("year") FROM "1998" WHERE "name"='shri. shambu nath khajuria'; | 2-17364906-4 |
What is the total number of years that prof. aditya naraian purohit won? | CREATE TABLE "1998" (
"year" real,
"name" text,
"field" text,
"state" text,
"country" text
); | SELECT COUNT("year") FROM "1998" WHERE "name"='prof. aditya naraian purohit'; | 2-17364906-4 |
What is the sum of the years when the winner was prof. priyambada mohanty hejmadi from orissa? | CREATE TABLE "1998" (
"year" real,
"name" text,
"field" text,
"state" text,
"country" text
); | SELECT SUM("year") FROM "1998" WHERE "state"='orissa' AND "name"='prof. priyambada mohanty hejmadi'; | 2-17364906-4 |
Which event was part of the World Cross Country championships? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text
); | SELECT "event" FROM "achievements" WHERE "competition"='world cross country championships'; | 2-16682451-1 |
What department as 6 years experience? | CREATE TABLE "external_links" (
"college_code" text,
"faculty_name" text,
"designation" text,
"qualification" text,
"department" text,
"experience" text
); | SELECT "department" FROM "external_links" WHERE "experience"='6 years'; | 2-17384764-1 |
What is the designation for the m.tech (e.c.e) qualification? | CREATE TABLE "external_links" (
"college_code" text,
"faculty_name" text,
"designation" text,
"qualification" text,
"department" text,
"experience" text
); | SELECT "designation" FROM "external_links" WHERE "qualification"='m.tech (e.c.e)'; | 2-17384764-1 |
What department has an m.phil (physics) qualification? | CREATE TABLE "external_links" (
"college_code" text,
"faculty_name" text,
"designation" text,
"qualification" text,
"department" text,
"experience" text
); | SELECT "department" FROM "external_links" WHERE "qualification"='m.phil (physics)'; | 2-17384764-1 |
hat is the Result F– A when they played against Leeds United? | CREATE TABLE "league_cup" (
"date" text,
"round" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"attendance" real
); | SELECT "result_f_a" FROM "league_cup" WHERE "opponents"='leeds united'; | 2-17577144-5 |
What is the round when they played against Middlesbrough, and the h/a was h? | CREATE TABLE "league_cup" (
"date" text,
"round" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"attendance" real
); | SELECT "round" FROM "league_cup" WHERE "opponents"='middlesbrough' AND "h_a"='h'; | 2-17577144-5 |
How many games have 61-16 as the record? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT COUNT("game") FROM "game_log" WHERE "record"='61-16'; | 2-17344651-9 |
What date has 104-113 as the score? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "score"='104-113'; | 2-17344651-9 |
What date has 113-115 (ot) as the score? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "score"='113-115 (ot)'; | 2-17344651-9 |
What is the mean game played on January 9? | 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 AVG("game") FROM "game_log" WHERE "date"='january 9'; | 2-17323529-7 |
Which game number includes a record of 1-2? | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "game" FROM "playoffs" WHERE "record"='1-2'; | 2-17058178-12 |
For the game where Joel Przybilla (4) received high assists, what was the final score? | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "score" FROM "playoffs" WHERE "high_assists"='joel przybilla (4)'; | 2-17058178-12 |
For the game that had an end record of 2-4, who was the high points scorer? | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_points" FROM "playoffs" WHERE "record"='2-4'; | 2-17058178-12 |
What is the attendance of the game against the New Orleans Saints before game 11? | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"falcons_points" real,
"opponents" real,
"record" text,
"streak" text,
"attendance" real
); | SELECT AVG("attendance") FROM "schedule" WHERE "opponent"='new orleans saints' AND "game"<11; | 2-16710742-3 |
On what date was the streak at lost 7? | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"falcons_points" real,
"opponents" real,
"record" text,
"streak" text,
"attendance" real
); | SELECT "date" FROM "schedule" WHERE "streak"='lost 7'; | 2-16710742-3 |
What was the date for Round 2r? | CREATE TABLE "singles_7" (
"edition" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"result" text
); | SELECT "date" FROM "singles_7" WHERE "round"='2r'; | 2-16741821-8 |
What date did the opponent George Khrikadze play? | CREATE TABLE "singles_7" (
"edition" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"result" text
); | SELECT "date" FROM "singles_7" WHERE "opponent"='george khrikadze'; | 2-16741821-8 |
What round resulted in 6-0, 6-1, 6-2? | CREATE TABLE "singles_7" (
"edition" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"result" text
); | SELECT "round" FROM "singles_7" WHERE "result"='6-0, 6-1, 6-2'; | 2-16741821-8 |
What round was the opponent Sergiy Stakhovsky? | CREATE TABLE "singles_7" (
"edition" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"result" text
); | SELECT "round" FROM "singles_7" WHERE "opponent"='sergiy stakhovsky'; | 2-16741821-8 |
What is the record on December 11? | CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "record" FROM "regular_season" WHERE "date"='december 11'; | 2-17511295-5 |
What date was the game that resulted in L 30-27? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "date" FROM "schedule" WHERE "result"='l 30-27'; | 2-16710940-2 |
What was the highest attendance of games that resulted in L 23-20? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT MAX("attendance") FROM "schedule" WHERE "result"='l 23-20'; | 2-16710940-2 |
What was the result when the opponent was manchester united in venue h? | CREATE TABLE "fa_cup" (
"date" text,
"round" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
); | SELECT "result" FROM "fa_cup" WHERE "opponent"='manchester united' AND "venue"='h'; | 2-16924792-4 |
What's the greatest 1st RU that has a 2nd RU less than 0? | CREATE TABLE "by_country_tally" (
"rank" real,
"country" text,
"miss_united_continent" real,
"virreina" real,
"1st_ru" real,
"2nd_ru" real,
"3rd_ru" real,
"4th_ru" real,
"semifinalists" real,
"total" real
); | SELECT MAX("1st_ru") FROM "by_country_tally" WHERE "2nd_ru"<0; | 2-17522854-6 |
How many semifinalists had a total less than 2, 1st RU greater than 0, 2nd RU was 0 and Miss United Continent of 0? | CREATE TABLE "by_country_tally" (
"rank" real,
"country" text,
"miss_united_continent" real,
"virreina" real,
"1st_ru" real,
"2nd_ru" real,
"3rd_ru" real,
"4th_ru" real,
"semifinalists" real,
"total" real
); | SELECT COUNT("semifinalists") FROM "by_country_tally" WHERE "miss_united_continent"=0 AND "2nd_ru"=0 AND "1st_ru">0 AND "total"<2; | 2-17522854-6 |
What rank was Peru with a total greater than 3? | CREATE TABLE "by_country_tally" (
"rank" real,
"country" text,
"miss_united_continent" real,
"virreina" real,
"1st_ru" real,
"2nd_ru" real,
"3rd_ru" real,
"4th_ru" real,
"semifinalists" real,
"total" real
); | SELECT MAX("rank") FROM "by_country_tally" WHERE "country"='peru' AND "total">3; | 2-17522854-6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.