question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
On 11 July 2003, which athlete performed? | CREATE TABLE "women" (
"event" text,
"record" text,
"athlete" text,
"nationality" text,
"date" text
); | SELECT "athlete" FROM "women" WHERE "date"='11 july 2003'; | 2-1108909-3 |
What was the away team that played luton town? | CREATE TABLE "fifth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "away_team" FROM "fifth_round_proper" WHERE "home_team"='luton town'; | 2-11584129-7 |
Name the D 45 √ when it has D 41√ of r 20 | CREATE TABLE "senate_composition_as_a_result_of_the_el" (
"d_50_o" text,
"d_49" text,
"d_48" text,
"d_47" text,
"d_46" text,
"d_45" text,
"d_44" text,
"d_43" text,
"d_42" text,
"d_41" text
); | SELECT "d_45" FROM "senate_composition_as_a_result_of_the_el" WHERE "d_41"='r 20'; | 2-1177289-3 |
Name the D 41 √ when it has D 43 √ of r 18 | CREATE TABLE "senate_composition_as_a_result_of_the_el" (
"d_50_o" text,
"d_49" text,
"d_48" text,
"d_47" text,
"d_46" text,
"d_45" text,
"d_44" text,
"d_43" text,
"d_42" text,
"d_41" text
); | SELECT "d_41" FROM "senate_composition_as_a_result_of_the_el" WHERE "d_43"='r 18'; | 2-1177289-3 |
Name the D 49 √ for when D 46 √ of i 1 @ | CREATE TABLE "senate_composition_as_a_result_of_the_el" (
"d_50_o" text,
"d_49" text,
"d_48" text,
"d_47" text,
"d_46" text,
"d_45" text,
"d_44" text,
"d_43" text,
"d_42" text,
"d_41" text
); | SELECT "d_49" FROM "senate_composition_as_a_result_of_the_el" WHERE "d_46"='i 1 @'; | 2-1177289-3 |
Name the D 43 √ when it has D 46 √ of d 26 | CREATE TABLE "senate_composition_as_a_result_of_the_el" (
"d_50_o" text,
"d_49" text,
"d_48" text,
"d_47" text,
"d_46" text,
"d_45" text,
"d_44" text,
"d_43" text,
"d_42" text,
"d_41" text
); | SELECT "d_43" FROM "senate_composition_as_a_result_of_the_el" WHERE "d_46"='d 26'; | 2-1177289-3 |
Name the D 44 √ for when it has D 41 √ of r 41 + | CREATE TABLE "senate_composition_as_a_result_of_the_el" (
"d_50_o" text,
"d_49" text,
"d_48" text,
"d_47" text,
"d_46" text,
"d_45" text,
"d_44" text,
"d_43" text,
"d_42" text,
"d_41" text
); | SELECT "d_44" FROM "senate_composition_as_a_result_of_the_el" WHERE "d_41"='r 41 +'; | 2-1177289-3 |
Name the D 42 √ for when it has D 49 √ of r 12 | CREATE TABLE "senate_composition_as_a_result_of_the_el" (
"d_50_o" text,
"d_49" text,
"d_48" text,
"d_47" text,
"d_46" text,
"d_45" text,
"d_44" text,
"d_43" text,
"d_42" text,
"d_41" text
); | SELECT "d_42" FROM "senate_composition_as_a_result_of_the_el" WHERE "d_49"='r 12'; | 2-1177289-3 |
What were the goals in the game with the 26-28 final score? | CREATE TABLE "2000_fixtures_and_results" (
"date" text,
"competition" text,
"venue" text,
"result" text,
"score" text,
"goals" text
); | SELECT "goals" FROM "2000_fixtures_and_results" WHERE "score"='26-28'; | 2-10814470-4 |
What was the score of the game on 19/3/00? | CREATE TABLE "2000_fixtures_and_results" (
"date" text,
"competition" text,
"venue" text,
"result" text,
"score" text,
"goals" text
); | SELECT "score" FROM "2000_fixtures_and_results" WHERE "date"='19/3/00'; | 2-10814470-4 |
Which competition was on 17/9/00? | CREATE TABLE "2000_fixtures_and_results" (
"date" text,
"competition" text,
"venue" text,
"result" text,
"score" text,
"goals" text
); | SELECT "competition" FROM "2000_fixtures_and_results" WHERE "date"='17/9/00'; | 2-10814470-4 |
Which competition ended with a score of 58-4? | CREATE TABLE "2000_fixtures_and_results" (
"date" text,
"competition" text,
"venue" text,
"result" text,
"score" text,
"goals" text
); | SELECT "competition" FROM "2000_fixtures_and_results" WHERE "score"='58-4'; | 2-10814470-4 |
Where was the game that had a final score of 30-20? | CREATE TABLE "2000_fixtures_and_results" (
"date" text,
"competition" text,
"venue" text,
"result" text,
"score" text,
"goals" text
); | SELECT "venue" FROM "2000_fixtures_and_results" WHERE "score"='30-20'; | 2-10814470-4 |
When was the game at the boulevard that ended with an 8-8 score? | CREATE TABLE "2000_fixtures_and_results" (
"date" text,
"competition" text,
"venue" text,
"result" text,
"score" text,
"goals" text
); | SELECT "date" FROM "2000_fixtures_and_results" WHERE "venue"='the boulevard' AND "score"='8-8'; | 2-10814470-4 |
Name the report for 6 may | CREATE TABLE "other_grands_prix" (
"name" text,
"circuit" text,
"date" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
); | SELECT "report" FROM "other_grands_prix" WHERE "date"='6 may'; | 2-12105157-2 |
Tell me the report with winner of louis wagner | CREATE TABLE "other_grands_prix" (
"name" text,
"circuit" text,
"date" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
); | SELECT "report" FROM "other_grands_prix" WHERE "winning_driver"='louis wagner'; | 2-12105157-2 |
Name the report with cuban race | CREATE TABLE "other_grands_prix" (
"name" text,
"circuit" text,
"date" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
); | SELECT "report" FROM "other_grands_prix" WHERE "name"='cuban race'; | 2-12105157-2 |
Name the circuit for darracq and name of cuban race | CREATE TABLE "other_grands_prix" (
"name" text,
"circuit" text,
"date" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
); | SELECT "circuit" FROM "other_grands_prix" WHERE "winning_constructor"='darracq' AND "name"='cuban race'; | 2-12105157-2 |
Name the winning driver for havana | CREATE TABLE "other_grands_prix" (
"name" text,
"circuit" text,
"date" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
); | SELECT "winning_driver" FROM "other_grands_prix" WHERE "circuit"='havana'; | 2-12105157-2 |
What is the listed crowd when the home team's score is 27.13 (175)? | CREATE TABLE "round_20" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "crowd" FROM "round_20" WHERE "home_team_score"='27.13 (175)'; | 2-10887379-20 |
What is the home team's score when st kilda is away? | CREATE TABLE "round_20" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_20" WHERE "away_team"='st kilda'; | 2-10887379-20 |
No Decision listed above has a visitor of Montreal. | CREATE TABLE "december" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "decision" FROM "december" WHERE "visitor"='montreal'; | 2-11766617-5 |
On December 4, Tampa Bay has a record of 12-13-2. | CREATE TABLE "december" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "record" FROM "december" WHERE "home"='tampa bay' AND "date"='december 4'; | 2-11766617-5 |
What are the remarks for the entry ranked greater than 2 with a skyteam (2012) alliance? | CREATE TABLE "passengers_carried_in_2010" (
"rank" real,
"airline" text,
"country" text,
"passengers_carried" real,
"remarks" text,
"alliance" text
); | SELECT "remarks" FROM "passengers_carried_in_2010" WHERE "rank">2 AND "alliance"='skyteam (2012)'; | 2-11898258-6 |
How many airlines have the star alliance and are in brazil? | CREATE TABLE "passengers_carried_in_2010" (
"rank" real,
"airline" text,
"country" text,
"passengers_carried" real,
"remarks" text,
"alliance" text
); | SELECT COUNT("rank") FROM "passengers_carried_in_2010" WHERE "alliance"='star alliance' AND "country"='brazil'; | 2-11898258-6 |
What was the percentage of Slovenes in 1951 in the village that had 10.1% in 1991? | CREATE TABLE "references" (
"village_german" text,
"village_slovenian" text,
"number_of_people_1991" real,
"percent_of_slovenes_1991" text,
"percent_of_slovenes_1951" text
); | SELECT "percent_of_slovenes_1951" FROM "references" WHERE "percent_of_slovenes_1991"='10.1%'; | 2-10797365-1 |
What was Rut's Slovenes percentage in 1991? | CREATE TABLE "references" (
"village_german" text,
"village_slovenian" text,
"number_of_people_1991" real,
"percent_of_slovenes_1991" text,
"percent_of_slovenes_1951" text
); | SELECT "percent_of_slovenes_1991" FROM "references" WHERE "village_slovenian"='rut'; | 2-10797365-1 |
What is the status of the Hamaoka-3 unit? | CREATE TABLE "reactor_data" (
"unit" text,
"reactor_type" text,
"net_capacity" text,
"gross_capacity" text,
"construction_start" text,
"grid_connection" text,
"commercial_operation" text,
"status" text
); | SELECT "status" FROM "reactor_data" WHERE "unit"='hamaoka-3'; | 2-11971819-1 |
What is the gross capacity of the unit that started commercial operation on August 28, 1987? | CREATE TABLE "reactor_data" (
"unit" text,
"reactor_type" text,
"net_capacity" text,
"gross_capacity" text,
"construction_start" text,
"grid_connection" text,
"commercial_operation" text,
"status" text
); | SELECT "gross_capacity" FROM "reactor_data" WHERE "commercial_operation"='august 28, 1987'; | 2-11971819-1 |
When was commercial operation where construction started June 10, 1971? | CREATE TABLE "reactor_data" (
"unit" text,
"reactor_type" text,
"net_capacity" text,
"gross_capacity" text,
"construction_start" text,
"grid_connection" text,
"commercial_operation" text,
"status" text
); | SELECT "commercial_operation" FROM "reactor_data" WHERE "construction_start"='june 10, 1971'; | 2-11971819-1 |
What is the gross capacity where the reactor is ABWR type? | CREATE TABLE "reactor_data" (
"unit" text,
"reactor_type" text,
"net_capacity" text,
"gross_capacity" text,
"construction_start" text,
"grid_connection" text,
"commercial_operation" text,
"status" text
); | SELECT "gross_capacity" FROM "reactor_data" WHERE "reactor_type"='abwr'; | 2-11971819-1 |
When was the Hamaoka-4 unit commercial operation date? | CREATE TABLE "reactor_data" (
"unit" text,
"reactor_type" text,
"net_capacity" text,
"gross_capacity" text,
"construction_start" text,
"grid_connection" text,
"commercial_operation" text,
"status" text
); | SELECT "commercial_operation" FROM "reactor_data" WHERE "unit"='hamaoka-4'; | 2-11971819-1 |
What is the status of the unit with a net capacity of 1212 MW? | CREATE TABLE "reactor_data" (
"unit" text,
"reactor_type" text,
"net_capacity" text,
"gross_capacity" text,
"construction_start" text,
"grid_connection" text,
"commercial_operation" text,
"status" text
); | SELECT "status" FROM "reactor_data" WHERE "net_capacity"='1212 mw'; | 2-11971819-1 |
Which school did player Rodney Purvis belong to? | CREATE TABLE "2012_boys_team" (
"player" text,
"height" text,
"school" text,
"hometown" text,
"college" text,
"nba_draft" text
); | SELECT "school" FROM "2012_boys_team" WHERE "player"='rodney purvis'; | 2-11677760-34 |
What was the NBA draft status for Northeast High School? | CREATE TABLE "2012_boys_team" (
"player" text,
"height" text,
"school" text,
"hometown" text,
"college" text,
"nba_draft" text
); | SELECT "nba_draft" FROM "2012_boys_team" WHERE "school"='northeast high school'; | 2-11677760-34 |
Which players college was Baylor? | CREATE TABLE "2012_boys_team" (
"player" text,
"height" text,
"school" text,
"hometown" text,
"college" text,
"nba_draft" text
); | SELECT "player" FROM "2012_boys_team" WHERE "college"='baylor'; | 2-11677760-34 |
What was the college for Alex Poythress? | CREATE TABLE "2012_boys_team" (
"player" text,
"height" text,
"school" text,
"hometown" text,
"college" text,
"nba_draft" text
); | SELECT "college" FROM "2012_boys_team" WHERE "player"='alex poythress'; | 2-11677760-34 |
What is Alex Poythress height? | CREATE TABLE "2012_boys_team" (
"player" text,
"height" text,
"school" text,
"hometown" text,
"college" text,
"nba_draft" text
); | SELECT "height" FROM "2012_boys_team" WHERE "player"='alex poythress'; | 2-11677760-34 |
What was Allison Fouch score in the year larger than 2000? | CREATE TABLE "winners" (
"year" real,
"champion" text,
"winning_score" text,
"low_amateur" text,
"low_professional" text
); | SELECT "winning_score" FROM "winners" WHERE "year">2000 AND "champion"='allison fouch'; | 2-11177356-1 |
How many release dates have a Country of west germany, and a Release format of vinyl? | CREATE TABLE "release_history" (
"release_format" text,
"country" text,
"label" text,
"cat_no" text,
"release_date" real
); | SELECT COUNT("release_date") FROM "release_history" WHERE "country"='west germany' AND "release_format"='vinyl'; | 2-11432640-2 |
Which label is from Spain? | CREATE TABLE "release_history" (
"release_format" text,
"country" text,
"label" text,
"cat_no" text,
"release_date" real
); | SELECT "label" FROM "release_history" WHERE "country"='spain'; | 2-11432640-2 |
What's the save when the loss was santiago (2–2)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"save" text,
"attendance" real,
"record" text
); | SELECT "save" FROM "game_log" WHERE "loss"='santiago (2–2)'; | 2-11633481-5 |
Which season was 2nd position? | CREATE TABLE "season_by_season_national_league_records" (
"season" text,
"division" text,
"position" text,
"played" text,
"lost" text,
"points" text
); | SELECT "season" FROM "season_by_season_national_league_records" WHERE "position"='2nd'; | 2-11678695-1 |
What's the value for played when the division is nbl div2 with 12th position? | CREATE TABLE "season_by_season_national_league_records" (
"season" text,
"division" text,
"position" text,
"played" text,
"lost" text,
"points" text
); | SELECT "played" FROM "season_by_season_national_league_records" WHERE "division"='nbl div2' AND "position"='12th'; | 2-11678695-1 |
What's the points when the division is ebl div1 with 22 played? | CREATE TABLE "season_by_season_national_league_records" (
"season" text,
"division" text,
"position" text,
"played" text,
"lost" text,
"points" text
); | SELECT "points" FROM "season_by_season_national_league_records" WHERE "division"='ebl div1' AND "played"='22'; | 2-11678695-1 |
What's the value for played when points is 8 and position is 11th? | CREATE TABLE "season_by_season_national_league_records" (
"season" text,
"division" text,
"position" text,
"played" text,
"lost" text,
"points" text
); | SELECT "played" FROM "season_by_season_national_league_records" WHERE "position"='11th' AND "points"='8'; | 2-11678695-1 |
Who was driving with a Grid of 13? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "driver" FROM "classification" WHERE "grid"=13; | 2-1122409-1 |
For Laps smaller than 6, what does the Grid add up to? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT SUM("grid") FROM "classification" WHERE "laps"<6; | 2-1122409-1 |
What is the report status of Hockenheimring circuit? | CREATE TABLE "season_review" (
"race" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"tyre" text,
"report" text
); | SELECT "report" FROM "season_review" WHERE "circuit"='hockenheimring'; | 2-1140091-1 |
Who was the winning driver of the race with Clay Regazzoni as the fastest lap and Jackie stewart as the pole position? | CREATE TABLE "season_review" (
"race" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"tyre" text,
"report" text
); | SELECT "winning_driver" FROM "season_review" WHERE "fastest_lap"='clay regazzoni' AND "pole_position"='jackie stewart'; | 2-1140091-1 |
Which race had Jacky Ickx as the winner and Clay Regazzoni with the fastest lap? | CREATE TABLE "season_review" (
"race" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"tyre" text,
"report" text
); | SELECT "race" FROM "season_review" WHERE "winning_driver"='jacky ickx' AND "fastest_lap"='clay regazzoni'; | 2-1140091-1 |
What was the military rank for the person killed in 1918, born after 1865, and has a MP's Seat in Edinburgh South? | CREATE TABLE "first_world_war" (
"rank_in_military" text,
"name" text,
"born" real,
"killed" real,
"political_party" text,
"mp_s_seat" text
); | SELECT "rank_in_military" FROM "first_world_war" WHERE "killed"=1918 AND "born">1865 AND "mp_s_seat"='edinburgh south'; | 2-11921877-4 |
How much time does it take for jean alesi and grids lesser than 5? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "race" WHERE "grid"<5 AND "driver"='jean alesi'; | 2-1123266-2 |
What is the low grid for gerhard berger for laps over 56? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MIN("grid") FROM "race" WHERE "driver"='gerhard berger' AND "laps">56; | 2-1123266-2 |
If the grid is 13 who is driving? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "driver" FROM "classification" WHERE "grid"=13; | 2-1123534-1 |
What is the purse total for the royal caribbean golf classic? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT SUM("purse") FROM "tournament_results" WHERE "tournament"='royal caribbean golf classic'; | 2-11602885-1 |
Which home team scored a 15.16 (106)? | CREATE TABLE "round_21" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team" FROM "round_21" WHERE "home_team_score"='15.16 (106)'; | 2-10887680-21 |
Which away team scored at 15.17 (107) at an away game? | CREATE TABLE "round_21" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_21" WHERE "away_team_score"='15.17 (107)'; | 2-10887680-21 |
Which title is 3:38 long? | CREATE TABLE "track_listing" (
"track" real,
"title" text,
"author_s" text,
"recorded" text,
"length" text
); | SELECT "title" FROM "track_listing" WHERE "length"='3:38'; | 2-11221498-1 |
Which title is 3:43 long? | CREATE TABLE "track_listing" (
"track" real,
"title" text,
"author_s" text,
"recorded" text,
"length" text
); | SELECT "title" FROM "track_listing" WHERE "length"='3:43'; | 2-11221498-1 |
What Dance has the Visual Arts of Bryon Kim? | CREATE TABLE "references" (
"year" real,
"film_video" text,
"visual_arts" text,
"theatre" text,
"dance" text,
"music" text
); | SELECT "dance" FROM "references" WHERE "visual_arts"='bryon kim'; | 2-10996831-1 |
In 2004, what is the Dance? | CREATE TABLE "references" (
"year" real,
"film_video" text,
"visual_arts" text,
"theatre" text,
"dance" text,
"music" text
); | SELECT "dance" FROM "references" WHERE "year"=2004; | 2-10996831-1 |
What artist had 1 draw? | CREATE TABLE "national_final_7_february_1999" (
"draw" real,
"artist" text,
"song" text,
"points" real,
"place" real
); | SELECT "artist" FROM "national_final_7_february_1999" WHERE "draw"=1; | 2-11522647-1 |
Name the IATA for jeddah | CREATE TABLE "destinations" (
"city" text,
"country" text,
"airport" text,
"iata" text,
"icao" text
); | SELECT "iata" FROM "destinations" WHERE "city"='jeddah'; | 2-11529564-2 |
Name the IATA for jessore | CREATE TABLE "destinations" (
"city" text,
"country" text,
"airport" text,
"iata" text,
"icao" text
); | SELECT "iata" FROM "destinations" WHERE "city"='jessore'; | 2-11529564-2 |
Name the city for thailand | CREATE TABLE "destinations" (
"city" text,
"country" text,
"airport" text,
"iata" text,
"icao" text
); | SELECT "city" FROM "destinations" WHERE "country"='thailand'; | 2-11529564-2 |
Name the IATA of wmkk | CREATE TABLE "destinations" (
"city" text,
"country" text,
"airport" text,
"iata" text,
"icao" text
); | SELECT "iata" FROM "destinations" WHERE "icao"='wmkk'; | 2-11529564-2 |
When did the away team carlton play? | CREATE TABLE "round_18" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_18" WHERE "away_team"='carlton'; | 2-10826072-18 |
Where did a home team score 8.14 (62)? | CREATE TABLE "round_18" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_18" WHERE "home_team_score"='8.14 (62)'; | 2-10826072-18 |
Which constructor is from ITA with a rank less than 13? | CREATE TABLE "by_constructor" (
"rank" real,
"country" text,
"constructor" text,
"wins" real,
"active" text,
"first_win" text,
"last_win" text
); | SELECT "constructor" FROM "by_constructor" WHERE "country"='ita' AND "rank"<13; | 2-11830125-2 |
Who was the opponent in the Week 4 game? | CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"score" text,
"result" text,
"attendance" text,
"record" text
); | SELECT "opponent" FROM "season_schedule" WHERE "week"=4; | 2-11994830-4 |
Who are the co-drivers before 2010 with under 326 laps? | CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"laps" real,
"pos" text,
"class_pos" text
); | SELECT "co_drivers" FROM "24_hours_of_le_mans_results" WHERE "year"<2010 AND "laps"<326; | 2-1157079-3 |
Who are the co-drivers the risi competizione gt2 class that went under 329 laps and recorded a DNF? | CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"laps" real,
"pos" text,
"class_pos" text
); | SELECT "co_drivers" FROM "24_hours_of_le_mans_results" WHERE "laps"<329 AND "class"='gt2' AND "team"='risi competizione' AND "pos"='dnf'; | 2-1157079-3 |
Tell me the highest laps for time/retired of +2 laps and driver of felice bonetto | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MAX("laps") FROM "race" WHERE "time_retired"='+2 laps' AND "driver"='felice bonetto'; | 2-1122058-2 |
I want to know the driver when grid is greater than 13 and laps is less than 60 with time/retired of accident | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "driver" FROM "race" WHERE "grid">13 AND "laps"<60 AND "time_retired"='accident'; | 2-1122058-2 |
Name the album for years after 2007 | CREATE TABLE "singles" (
"year" real,
"song" text,
"aria_singles_chart" text,
"triple_j_hottest_100" text,
"uk_indie_singles_chart" text,
"uk_singles_chart" text,
"album" text
); | SELECT "album" FROM "singles" WHERE "year">2007; | 2-12053641-1 |
What was the score on october 17, 2007? | CREATE TABLE "national_team" (
"date" text,
"venue" text,
"score" text,
"competition" text,
"turkey_scorers" text,
"match_report" text
); | SELECT "score" FROM "national_team" WHERE "date"='october 17, 2007'; | 2-11213301-2 |
What was the competition for score of 3-0 | CREATE TABLE "national_team" (
"date" text,
"venue" text,
"score" text,
"competition" text,
"turkey_scorers" text,
"match_report" text
); | SELECT "competition" FROM "national_team" WHERE "score"='3-0'; | 2-11213301-2 |
Which venue had a score of 1-1? | CREATE TABLE "national_team" (
"date" text,
"venue" text,
"score" text,
"competition" text,
"turkey_scorers" text,
"match_report" text
); | SELECT "venue" FROM "national_team" WHERE "score"='1-1'; | 2-11213301-2 |
I want the date for nihat kahveci | CREATE TABLE "national_team" (
"date" text,
"venue" text,
"score" text,
"competition" text,
"turkey_scorers" text,
"match_report" text
); | SELECT "date" FROM "national_team" WHERE "turkey_scorers"='nihat kahveci'; | 2-11213301-2 |
What is the smallest pick with a Reg GP less than 0? | CREATE TABLE "list_of_vancouver_canucks_draft_picks" (
"rd_num" real,
"pick_num" real,
"player" text,
"team_league" text,
"reg_gp" real
); | SELECT MIN("pick_num") FROM "list_of_vancouver_canucks_draft_picks" WHERE "reg_gp"<0; | 2-11636955-39 |
What is the total of pick numbers with a Reg GP larger than 0? | CREATE TABLE "list_of_vancouver_canucks_draft_picks" (
"rd_num" real,
"pick_num" real,
"player" text,
"team_league" text,
"reg_gp" real
); | SELECT COUNT("pick_num") FROM "list_of_vancouver_canucks_draft_picks" WHERE "reg_gp">0; | 2-11636955-39 |
What is the total points when there is a refusal fault and the rider is H.R.H. Prince Abdullah Al-Soud? | CREATE TABLE "round_1" (
"rider" text,
"horse" text,
"time_s" text,
"faults" text,
"total_time_s" text,
"points" real
); | SELECT SUM("points") FROM "round_1" WHERE "faults"='refusal' AND "rider"='h.r.h. prince abdullah al-soud'; | 2-11939305-2 |
What is the total points when the horse is Chippison? | CREATE TABLE "round_1" (
"rider" text,
"horse" text,
"time_s" text,
"faults" text,
"total_time_s" text,
"points" real
); | SELECT COUNT("points") FROM "round_1" WHERE "horse"='chippison'; | 2-11939305-2 |
What is the total time (s) for the horse Pinot Grigio? | CREATE TABLE "round_1" (
"rider" text,
"horse" text,
"time_s" text,
"faults" text,
"total_time_s" text,
"points" real
); | SELECT "total_time_s" FROM "round_1" WHERE "horse"='pinot grigio'; | 2-11939305-2 |
What is the average amount of points when the time (s) is 81.78? | CREATE TABLE "round_1" (
"rider" text,
"horse" text,
"time_s" text,
"faults" text,
"total_time_s" text,
"points" real
); | SELECT AVG("points") FROM "round_1" WHERE "time_s"='81.78'; | 2-11939305-2 |
What is the position of the player from Glades Day School? | CREATE TABLE "2012_team" (
"player" text,
"position" text,
"school" text,
"hometown" text,
"college" text
); | SELECT "position" FROM "2012_team" WHERE "school"='glades day school'; | 2-11677691-11 |
What is the position of the player who went to college of notre dame? | CREATE TABLE "2012_team" (
"player" text,
"position" text,
"school" text,
"hometown" text,
"college" text
); | SELECT "position" FROM "2012_team" WHERE "college"='notre dame'; | 2-11677691-11 |
What is the school of the player who went to the college of michigan and originally comes from Wheaton, Illinois? | CREATE TABLE "2012_team" (
"player" text,
"position" text,
"school" text,
"hometown" text,
"college" text
); | SELECT "school" FROM "2012_team" WHERE "college"='michigan' AND "hometown"='wheaton, illinois'; | 2-11677691-11 |
What Chassis was driven by Otto Stuppacher? | CREATE TABLE "teams_and_drivers" (
"constructor" text,
"chassis" text,
"engine" text,
"tyre" text,
"driver" text,
"rounds" text
); | SELECT "chassis" FROM "teams_and_drivers" WHERE "driver"='otto stuppacher'; | 2-1140084-1 |
Who drove the car with the n175 chassis in round 13? | CREATE TABLE "teams_and_drivers" (
"constructor" text,
"chassis" text,
"engine" text,
"tyre" text,
"driver" text,
"rounds" text
); | SELECT "driver" FROM "teams_and_drivers" WHERE "chassis"='n175' AND "rounds"='13'; | 2-1140084-1 |
What chassis did John Watson drive? | CREATE TABLE "teams_and_drivers" (
"constructor" text,
"chassis" text,
"engine" text,
"tyre" text,
"driver" text,
"rounds" text
); | SELECT "chassis" FROM "teams_and_drivers" WHERE "driver"='john watson'; | 2-1140084-1 |
what is the right ascension (j2000) when the constellation is sextans and the declination (j2000) is °28′01″? | CREATE TABLE "3101_3200" (
"ngc_number" real,
"object_type" text,
"constellation" text,
"right_ascension_j2000" text,
"declination_j2000" text
); | SELECT "right_ascension_j2000" FROM "3101_3200" WHERE "constellation"='sextans' AND "declination_j2000"='°28′01″'; | 2-11097691-2 |
what is the constellation when the Right ascension ( J2000 ) is 10h18m58.4s? | CREATE TABLE "3101_3200" (
"ngc_number" real,
"object_type" text,
"constellation" text,
"right_ascension_j2000" text,
"declination_j2000" text
); | SELECT "constellation" FROM "3101_3200" WHERE "right_ascension_j2000"='10h18m58.4s'; | 2-11097691-2 |
what is the highest ngc number when the declination (j2000) is °25′26″? | CREATE TABLE "3101_3200" (
"ngc_number" real,
"object_type" text,
"constellation" text,
"right_ascension_j2000" text,
"declination_j2000" text
); | SELECT MAX("ngc_number") FROM "3101_3200" WHERE "declination_j2000"='°25′26″'; | 2-11097691-2 |
What is the score for Collingwood as the home team? | CREATE TABLE "round_6" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_6" WHERE "home_team"='collingwood'; | 2-10826385-6 |
What away team had a score of 14.14 (98)? | CREATE TABLE "round_6" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_6" WHERE "away_team_score"='14.14 (98)'; | 2-10826385-6 |
What did the home team score at Princes Park? | CREATE TABLE "round_6" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_6" WHERE "venue"='princes park'; | 2-10826385-6 |
What is the home team score when the away team scored 13.12 (90)? | CREATE TABLE "round_6" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_6" WHERE "away_team_score"='13.12 (90)'; | 2-10826385-6 |
When did the home team score 14.22 (106)? | CREATE TABLE "round_6" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_6" WHERE "home_team_score"='14.22 (106)'; | 2-10826385-6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.