question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
---|---|---|---|
Name the Years of schools with a Roll Larger than 23 and a Decile greater than 5. | CREATE TABLE "kaikoura_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
); | SELECT "years" FROM "kaikoura_district" WHERE "roll">23 AND "decile">5; | 2-12256602-1 |
What is the total number of Rolls of State schools in Hapuku with a Decile greater than 4? | CREATE TABLE "kaikoura_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
); | SELECT COUNT("roll") FROM "kaikoura_district" WHERE "authority"='state' AND "area"='hapuku' AND "decile">4; | 2-12256602-1 |
What is the D45 associated with a D42 of r 22? | CREATE TABLE "senate_composition_before_the_elections" (
"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_before_the_elections" WHERE "d_42"='r 22'; | 2-1305075-1 |
What is the D43 associated with a D41 of r 21? | CREATE TABLE "senate_composition_before_the_elections" (
"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_before_the_elections" WHERE "d_41"='r 21'; | 2-1305075-1 |
What is the D42 associated with a D47 of d 27? | CREATE TABLE "senate_composition_before_the_elections" (
"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_before_the_elections" WHERE "d_47"='d 27'; | 2-1305075-1 |
What is the D43 associated with a D41 of r 16? | CREATE TABLE "senate_composition_before_the_elections" (
"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_before_the_elections" WHERE "d_41"='r 16'; | 2-1305075-1 |
What is the record for the game when the loss was hargan (14β13)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "loss"='hargan (14β13)'; | 2-12195635-7 |
What is the record for the game with a score of 7β5? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "score"='7β5'; | 2-12195635-7 |
What date was the game with loss of Aker (3β8)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "loss"='aker (3β8)'; | 2-12195635-7 |
What team was the opponent when the score was 7β1? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "score"='7β1'; | 2-12195635-7 |
What was the score when the opponent was the Orioles and the loss shows morehead (5β4)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "opponent"='orioles' AND "loss"='morehead (5β4)'; | 2-12195635-7 |
Name the opponent with a record of 60-61 | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "record"='60-61'; | 2-12207222-6 |
Who had a perfection percentage of 77.96%? | CREATE TABLE "final_results_2007_fai_world_grand_prix" (
"rank" real,
"name" text,
"nationality" text,
"score" text,
"perfection" text
); | SELECT "name" FROM "final_results_2007_fai_world_grand_prix" WHERE "perfection"='77.96%'; | 2-12963707-2 |
What was the rank of Svetlana Fedorenko? | CREATE TABLE "final_results_2007_fai_world_grand_prix" (
"rank" real,
"name" text,
"nationality" text,
"score" text,
"perfection" text
); | SELECT "rank" FROM "final_results_2007_fai_world_grand_prix" WHERE "name"='svetlana fedorenko'; | 2-12963707-2 |
Who had a perfection percentage of 73.24%? | CREATE TABLE "final_results_2007_fai_world_grand_prix" (
"rank" real,
"name" text,
"nationality" text,
"score" text,
"perfection" text
); | SELECT "name" FROM "final_results_2007_fai_world_grand_prix" WHERE "perfection"='73.24%'; | 2-12963707-2 |
What was the score of the game on June 1? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "date"='june 1'; | 2-12195635-4 |
What was the score against andrei pavel? | CREATE TABLE "futures_and_challengers_singles_titles" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "score" FROM "futures_and_challengers_singles_titles" WHERE "opponent"='andrei pavel'; | 2-12598104-8 |
When was the tournament of bologna? | CREATE TABLE "futures_and_challengers_singles_titles" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "date" FROM "futures_and_challengers_singles_titles" WHERE "tournament"='bologna'; | 2-12598104-8 |
Who played on clay and had a score of 6β1, 7β6? | CREATE TABLE "futures_and_challengers_singles_titles" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "opponent" FROM "futures_and_challengers_singles_titles" WHERE "surface"='clay' AND "score"='6β1, 7β6'; | 2-12598104-8 |
Who played on clay on 3 march 2012? | CREATE TABLE "futures_and_challengers_singles_titles" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "opponent" FROM "futures_and_challengers_singles_titles" WHERE "surface"='clay' AND "date"='3 march 2012'; | 2-12598104-8 |
What was the score against fabrice martin? | CREATE TABLE "futures_and_challengers_singles_titles" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "score" FROM "futures_and_challengers_singles_titles" WHERE "opponent"='fabrice martin'; | 2-12598104-8 |
What was the surface of the score of 7β5, 3β6, 7β6? | CREATE TABLE "futures_and_challengers_singles_titles" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "surface" FROM "futures_and_challengers_singles_titles" WHERE "score"='7β5, 3β6, 7β6'; | 2-12598104-8 |
What's the Order with an Elector of Marino Bulcani? | CREATE TABLE "cardinal_electors" (
"elector" text,
"order" text,
"title" text,
"elevated" text,
"elevator" text
); | SELECT "order" FROM "cardinal_electors" WHERE "elector"='marino bulcani'; | 2-12141437-1 |
What's the Elevator that has Elevated: 1378, September 18, an Order of Cardinal-Priest, and an Elector of Poncello Orsini? | CREATE TABLE "cardinal_electors" (
"elector" text,
"order" text,
"title" text,
"elevated" text,
"elevator" text
); | SELECT "elevator" FROM "cardinal_electors" WHERE "elevated"='1378, september 18' AND "order"='cardinal-priest' AND "elector"='poncello orsini'; | 2-12141437-1 |
What is listed as the Elector with the Title of Deacon of S. Maria in Domnica? | CREATE TABLE "cardinal_electors" (
"elector" text,
"order" text,
"title" text,
"elevated" text,
"elevator" text
); | SELECT "elector" FROM "cardinal_electors" WHERE "title"='deacon of s. maria in domnica'; | 2-12141437-1 |
What's listed for the Elevated category that has an Order of Cardinal-Bishop? | CREATE TABLE "cardinal_electors" (
"elector" text,
"order" text,
"title" text,
"elevated" text,
"elevator" text
); | SELECT "elevated" FROM "cardinal_electors" WHERE "order"='cardinal-bishop'; | 2-12141437-1 |
The Milford School has what Division Record? | CREATE TABLE "2006_regular_season_football_standings" (
"school" text,
"team" text,
"division_record" text,
"overall_record" text,
"season_outcome" text
); | SELECT "division_record" FROM "2006_regular_season_football_standings" WHERE "school"='milford'; | 2-13054553-7 |
What is the name of the School of the Sussex Tech's Team? | CREATE TABLE "2006_regular_season_football_standings" (
"school" text,
"team" text,
"division_record" text,
"overall_record" text,
"season_outcome" text
); | SELECT "team" FROM "2006_regular_season_football_standings" WHERE "school"='sussex tech'; | 2-13054553-7 |
What was Arnold Palmer's score in the tournamnet? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money_us" real
); | SELECT "score" FROM "final_leaderboard" WHERE "player"='arnold palmer'; | 2-13166318-1 |
What the name of Peter White's party? | CREATE TABLE "see_also" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"term_in_office" text
); | SELECT "party" FROM "see_also" WHERE "member"='peter white'; | 2-1247756-1 |
What term did an Electorate of indi have in office? | CREATE TABLE "see_also" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"term_in_office" text
); | SELECT "term_in_office" FROM "see_also" WHERE "electorate"='indi'; | 2-1247756-1 |
What term did hon ralph hunt serve in office? | CREATE TABLE "see_also" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"term_in_office" text
); | SELECT "term_in_office" FROM "see_also" WHERE "member"='hon ralph hunt'; | 2-1247756-1 |
What party is Peter Fisher from Vic serve in office? | CREATE TABLE "see_also" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"term_in_office" text
); | SELECT "party" FROM "see_also" WHERE "state"='vic' AND "member"='peter fisher'; | 2-1247756-1 |
How many laps were done in 2012? | 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 SUM("laps") FROM "24_hours_of_le_mans_results" WHERE "year"=2012; | 2-1233974-3 |
On what day was the score of 1β6 6β1 3β6 achieved? | CREATE TABLE "singles_6_6" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "date" FROM "singles_6_6" WHERE "score"='1β6 6β1 3β6'; | 2-12641767-2 |
Name the average gold for czech republic and bronze less than 1 when total is less than 14 | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("gold") FROM "medal_table" WHERE "total"<14 AND "bronze"<1 AND "nation"='czech republic'; | 2-12392757-3 |
Name the highest rank when silver is 4 and bronze is less than 3 | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("rank") FROM "medal_table" WHERE "silver"=4 AND "bronze"<3; | 2-12392757-3 |
Name the total number of total for bronze of 4 and silver more than 6 | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("total") FROM "medal_table" WHERE "bronze"=4 AND "silver">6; | 2-12392757-3 |
When the Surface was Carpet (i), what was the Outcome? | CREATE TABLE "doubles_19_5_14" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
); | SELECT "outcome" FROM "doubles_19_5_14" WHERE "surface"='carpet (i)'; | 2-12774720-2 |
What is the draw number of the song with a place lower than 6 and more than 38 votes? | CREATE TABLE "eurolaul_26_january_2002" (
"draw" real,
"artist" text,
"song" text,
"votes" real,
"place" real
); | SELECT SUM("draw") FROM "eurolaul_26_january_2002" WHERE "place">6 AND "votes">38; | 2-12676284-1 |
What is the total number of votes Sahlene with a place below 1 has? | CREATE TABLE "eurolaul_26_january_2002" (
"draw" real,
"artist" text,
"song" text,
"votes" real,
"place" real
); | SELECT COUNT("votes") FROM "eurolaul_26_january_2002" WHERE "artist"='sahlene' AND "place">1; | 2-12676284-1 |
What is the highest place of the song with 38 votes and a draw great than 3? | CREATE TABLE "eurolaul_26_january_2002" (
"draw" real,
"artist" text,
"song" text,
"votes" real,
"place" real
); | SELECT MAX("place") FROM "eurolaul_26_january_2002" WHERE "votes"=38 AND "draw">3; | 2-12676284-1 |
How many votes did Yvetta Kadakas & Ivo Linna, who had less than 4 draws, have? | CREATE TABLE "eurolaul_26_january_2002" (
"draw" real,
"artist" text,
"song" text,
"votes" real,
"place" real
); | SELECT SUM("votes") FROM "eurolaul_26_january_2002" WHERE "draw"<4 AND "artist"='yvetta kadakas & ivo linna'; | 2-12676284-1 |
What year was there a finish of 3? | CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" text,
"finish" text,
"team" text
); | SELECT "year" FROM "indianapolis_500" WHERE "finish"='3'; | 2-1226543-6 |
What year was the start 33? | CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" text,
"finish" text,
"team" text
); | SELECT SUM("year") FROM "indianapolis_500" WHERE "start"='33'; | 2-1226543-6 |
When was there a team of Simon and the start was 3? | CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" text,
"finish" text,
"team" text
); | SELECT "year" FROM "indianapolis_500" WHERE "team"='simon' AND "start"='3'; | 2-1226543-6 |
What's the name of the 1985 city with a Spire (m) of 105, and a Roof (m) smaller than 96? | CREATE TABLE "completed" (
"rank" real,
"city" text,
"roof_m" real,
"spire_m" text,
"floors" real,
"built" real
); | SELECT "city" FROM "completed" WHERE "spire_m"='105' AND "roof_m"<96 AND "built"=1985; | 2-1253443-1 |
What's the average number of floors that were built in 2004, and have a roof (m) of 106? | CREATE TABLE "completed" (
"rank" real,
"city" text,
"roof_m" real,
"spire_m" text,
"floors" real,
"built" real
); | SELECT AVG("floors") FROM "completed" WHERE "built"=2004 AND "roof_m"=106; | 2-1253443-1 |
What's the total number of floors built after 2006, and have a rank of 12? | CREATE TABLE "completed" (
"rank" real,
"city" text,
"roof_m" real,
"spire_m" text,
"floors" real,
"built" real
); | SELECT SUM("floors") FROM "completed" WHERE "built">2006 AND "rank"=12; | 2-1253443-1 |
What is the sum of attendance for H/A values of "n"? | CREATE TABLE "league_cup" (
"date" text,
"round" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"attendance" real
); | SELECT SUM("attendance") FROM "league_cup" WHERE "h_a"='n'; | 2-12817505-5 |
Name the score which has opponent of stefano galvani | CREATE TABLE "singles" (
"outcome" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "score" FROM "singles" WHERE "opponent"='stefano galvani'; | 2-12923427-3 |
Name the score with opponent of javier genaro-martinez | CREATE TABLE "singles" (
"outcome" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "score" FROM "singles" WHERE "opponent"='javier genaro-martinez'; | 2-12923427-3 |
Name the outcome for dunlop world challenge | CREATE TABLE "singles" (
"outcome" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "outcome" FROM "singles" WHERE "tournament"='dunlop world challenge'; | 2-12923427-3 |
Who was the visiting team on December 6? | CREATE TABLE "1998" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
); | SELECT "visiting_team" FROM "1998" WHERE "date"='december 6'; | 2-13193466-13 |
Who was the host team on October 4? | CREATE TABLE "1998" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
); | SELECT "host_team" FROM "1998" WHERE "date"='october 4'; | 2-13193466-13 |
In New Zealand, what's the value that has an unknown date and is an energy business? | CREATE TABLE "list_of_subsidiaries" (
"date" text,
"company" text,
"business" text,
"country" text,
"value_usd" text
); | SELECT "value_usd" FROM "list_of_subsidiaries" WHERE "date"='unknown' AND "business"='energy' AND "country"='new zealand'; | 2-12752072-1 |
What company has an unknown date and is an energy business? | CREATE TABLE "list_of_subsidiaries" (
"date" text,
"company" text,
"business" text,
"country" text,
"value_usd" text
); | SELECT "company" FROM "list_of_subsidiaries" WHERE "business"='energy' AND "date"='unknown'; | 2-12752072-1 |
In the United Kingdom, what company has an unknown date and is an energy business? | CREATE TABLE "list_of_subsidiaries" (
"date" text,
"company" text,
"business" text,
"country" text,
"value_usd" text
); | SELECT "company" FROM "list_of_subsidiaries" WHERE "business"='energy' AND "date"='unknown' AND "country"='united kingdom'; | 2-12752072-1 |
For the United Kingdom, what's the date? | CREATE TABLE "list_of_subsidiaries" (
"date" text,
"company" text,
"business" text,
"country" text,
"value_usd" text
); | SELECT "date" FROM "list_of_subsidiaries" WHERE "country"='united kingdom'; | 2-12752072-1 |
For the Enernoc Australia Pty Ltd, what's the country with an unknown date? | CREATE TABLE "list_of_subsidiaries" (
"date" text,
"company" text,
"business" text,
"country" text,
"value_usd" text
); | SELECT "country" FROM "list_of_subsidiaries" WHERE "date"='unknown' AND "company"='enernoc australia pty ltd'; | 2-12752072-1 |
Which date is associated with a venue of Luxembourg? | CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "date" FROM "international_goals" WHERE "venue"='luxembourg'; | 2-1311489-1 |
What is the year with a Kurtis Kraft 500a chassis, and less than 1.5 points? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT SUM("year") FROM "complete_formula_one_world_championship_" WHERE "chassis"='kurtis kraft 500a' AND "points"<1.5; | 2-1235879-3 |
What is the year with a kurtis kraft 500a chassis? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT SUM("year") FROM "complete_formula_one_world_championship_" WHERE "chassis"='kurtis kraft 500a'; | 2-1235879-3 |
What is the lowest Pick # of Saint Vincent College? | CREATE TABLE "indianapolis_colts_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MIN("pick_num") FROM "indianapolis_colts_draft_history" WHERE "college"='saint vincent college'; | 2-13312898-5 |
What is the Overall for Pick # less than 5 Jack Harmon? | CREATE TABLE "indianapolis_colts_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MIN("overall") FROM "indianapolis_colts_draft_history" WHERE "name"='jack harmon' AND "pick_num"<5; | 2-13312898-5 |
Which rank has a Total GDP (β¬ bn) of β¬11.243?? | CREATE TABLE "eurostat_data_for_2009" (
"rank" text,
"region" text,
"total_gdp_bn" text,
"pct_growth" text,
"per_capita" text
); | SELECT "rank" FROM "eurostat_data_for_2009" WHERE "total_gdp_bn"='β¬11.243'; | 2-12113-7 |
What is the Region that has a Total GDP (β¬ bn ) of β¬11,745.353? | CREATE TABLE "eurostat_data_for_2009" (
"rank" text,
"region" text,
"total_gdp_bn" text,
"pct_growth" text,
"per_capita" text
); | SELECT "region" FROM "eurostat_data_for_2009" WHERE "total_gdp_bn"='β¬11,745.353'; | 2-12113-7 |
Which Region that has a growth of β3.6%? | CREATE TABLE "eurostat_data_for_2009" (
"rank" text,
"region" text,
"total_gdp_bn" text,
"pct_growth" text,
"per_capita" text
); | SELECT "region" FROM "eurostat_data_for_2009" WHERE "pct_growth"='β3.6'; | 2-12113-7 |
What is the per capita of Greece? | CREATE TABLE "eurostat_data_for_2009" (
"rank" text,
"region" text,
"total_gdp_bn" text,
"pct_growth" text,
"per_capita" text
); | SELECT "per_capita" FROM "eurostat_data_for_2009" WHERE "region"='greece'; | 2-12113-7 |
What is the fewest number of silver medals received by a nation who received 40 bronze medals and more than 42 gold medals? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("silver") FROM "medal_table" WHERE "bronze"=40 AND "gold">42; | 2-1280856-2 |
What is the lowest number of silver medals received by Austria when they receive more than 3 total medals, more than 22 bronze medals, and fewer than 395 gold medals? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("silver") FROM "medal_table" WHERE "total">3 AND "bronze">22 AND "gold"<395 AND "nation"='austria'; | 2-1280856-2 |
What is the average number of silver medals with more than 6 gold meals and less than 5 bronze medals? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("silver") FROM "medal_table" WHERE "gold">6 AND "bronze"<5; | 2-12392655-3 |
How many ranks are for Switzerland with more than 2 total medals? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("rank") FROM "medal_table" WHERE "nation"='switzerland' AND "total">2; | 2-12392655-3 |
What is the event of the match with a round larger than 2 and ended with a method of ko (kick)? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "event" FROM "mixed_martial_arts_record" WHERE "round">2 AND "method"='ko (kick)'; | 2-12675952-2 |
What is the method of the match after round 1 in the k-1 andy memorial 2001 japan gp final? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "method" FROM "mixed_martial_arts_record" WHERE "round">1 AND "event"='k-1 andy memorial 2001 japan gp final'; | 2-12675952-2 |
What is the highest round of the match with Rene Rooze as the opponent in Saitama, Japan? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT MAX("round") FROM "mixed_martial_arts_record" WHERE "opponent"='rene rooze' AND "location"='saitama, japan'; | 2-12675952-2 |
What is the highest round of the match with a time of 0:57? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT MAX("round") FROM "mixed_martial_arts_record" WHERE "time"='0:57'; | 2-12675952-2 |
How many points did the Club score that has a try bonus of 7 and 52 tries for ? | CREATE TABLE "2011_2012_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "points_for" FROM "2011_2012_table" WHERE "tries_for"='52' AND "try_bonus"='7'; | 2-12792876-1 |
What is the Losing bonus of the club that has 80 tries against ? | CREATE TABLE "2011_2012_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "losing_bonus" FROM "2011_2012_table" WHERE "tries_against"='80'; | 2-12792876-1 |
How many tries for does waunarlwydd rfc have ? | CREATE TABLE "2011_2012_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "tries_for" FROM "2011_2012_table" WHERE "club"='waunarlwydd rfc'; | 2-12792876-1 |
How many losses did the club with 47 points have ? | CREATE TABLE "2011_2012_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "lost" FROM "2011_2012_table" WHERE "points"='47'; | 2-12792876-1 |
How many points against does the club that has a try bonus of 6 and tries against of 54 have ? | CREATE TABLE "2011_2012_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "points_against" FROM "2011_2012_table" WHERE "try_bonus"='6' AND "tries_against"='54'; | 2-12792876-1 |
Who were the co-drivers in 2008? | 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"=2008; | 2-1226567-5 |
What was the position in 2006? | 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 "pos" FROM "24_hours_of_le_mans_results" WHERE "year"=2006; | 2-1226567-5 |
What was the class when there were 325 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 "class" FROM "24_hours_of_le_mans_results" WHERE "laps"=325; | 2-1226567-5 |
What was the position in a year after 2005 with a class position of 5th? | 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 "pos" FROM "24_hours_of_le_mans_results" WHERE "year">2005 AND "class_pos"='5th'; | 2-1226567-5 |
What is the English title of the film from 2001? | CREATE TABLE "2000s" (
"year" real,
"english_title" text,
"original_title" text,
"country" text,
"director_s" text
); | SELECT "english_title" FROM "2000s" WHERE "year"=2001; | 2-12788276-5 |
What is the original title of the film from Japan/Taiwan before 2003? | CREATE TABLE "2000s" (
"year" real,
"english_title" text,
"original_title" text,
"country" text,
"director_s" text
); | SELECT "original_title" FROM "2000s" WHERE "year"<2003 AND "country"='japan/taiwan'; | 2-12788276-5 |
What is the English title of the film directed by Fernando Meirelles? | CREATE TABLE "2000s" (
"year" real,
"english_title" text,
"original_title" text,
"country" text,
"director_s" text
); | SELECT "english_title" FROM "2000s" WHERE "director_s"='fernando meirelles'; | 2-12788276-5 |
What is the country of the original title Cidade de deus? | CREATE TABLE "2000s" (
"year" real,
"english_title" text,
"original_title" text,
"country" text,
"director_s" text
); | SELECT "country" FROM "2000s" WHERE "original_title"='cidade de deus'; | 2-12788276-5 |
What is the earliest year of a film from Mexico? | CREATE TABLE "2000s" (
"year" real,
"english_title" text,
"original_title" text,
"country" text,
"director_s" text
); | SELECT MIN("year") FROM "2000s" WHERE "country"='mexico'; | 2-12788276-5 |
What is the average year of the film from France/Hong Kong? | CREATE TABLE "2000s" (
"year" real,
"english_title" text,
"original_title" text,
"country" text,
"director_s" text
); | SELECT AVG("year") FROM "2000s" WHERE "country"='france/hong kong'; | 2-12788276-5 |
Name the country for t3 place | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "second_round" WHERE "place"='t3'; | 2-12523044-5 |
Name the country with +2 to par | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "second_round" WHERE "to_par"='+2'; | 2-12523044-5 |
Name the to par for colin montgomerie | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "second_round" WHERE "player"='colin montgomerie'; | 2-12523044-5 |
Name the score for scotland | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "second_round" WHERE "country"='scotland'; | 2-12523044-5 |
What island has a population over 76, a height over 210, and an area larger than 12068? | CREATE TABLE "main_list" (
"island" text,
"location" text,
"area_ha" real,
"population" real,
"height_m" real
); | SELECT "island" FROM "main_list" WHERE "population">76 AND "height_m">210 AND "area_ha">12068; | 2-12725824-1 |
What is the highest population of Trondra Island in the Scalloway Islands? | CREATE TABLE "main_list" (
"island" text,
"location" text,
"area_ha" real,
"population" real,
"height_m" real
); | SELECT MAX("population") FROM "main_list" WHERE "location"='scalloway islands' AND "island"='trondra'; | 2-12725824-1 |
How many matches were drawn associated with a percentage of 7.14% and more than 12 losses? | CREATE TABLE "rugby_spain_internationals_1989" (
"first_game" real,
"played" real,
"drawn" real,
"lost" real,
"percentage" text
); | SELECT COUNT("drawn") FROM "rugby_spain_internationals_1989" WHERE "percentage"='7.14%' AND "lost">12; | 2-13099139-1 |
Which percentage has a first game before 1997, fewer than 2 losses, and fewer than 5 matches played? | CREATE TABLE "rugby_spain_internationals_1989" (
"first_game" real,
"played" real,
"drawn" real,
"lost" real,
"percentage" text
); | SELECT "percentage" FROM "rugby_spain_internationals_1989" WHERE "first_game"<1997 AND "lost"<2 AND "played"<5; | 2-13099139-1 |
Subsets and Splits