question
stringlengths
11
244
context
stringlengths
16
512
dsl
stringlengths
11
354
sql
stringlengths
20
170
source
stringclasses
2 values
version
int64
0
0
In which of North Melbourne's away games was there the lowest crowd?
Home team|Home team score|Away team|Away team score|Venue|Crowd|Date || 2-10808089-13
[`Crowd`:min] [`Away team`: 0: "north melbourne"] [] []
{"agg":2,"conds":[[2,0,"north melbourne"]],"sel":5}
wikisql
0
What years did the Nashville Metros have Usisl Indoor League?
Year|Division|League|Regular Season|Playoffs || 2-1214035-2
[] [`League`: 0: "usisl indoor"] [] []
{"agg":0,"conds":[[2,0,"usisl indoor"]],"sel":0}
wikisql
0
WHAT COUNTRY HAS A SCORE OF 68-70=138?
Place|Player|Country|Score|To par || 2-17129548-4
[] [`Score`: 0: "68-70=138"] [] []
{"agg":0,"conds":[[3,0,"68-70=138"]],"sel":2}
wikisql
0
What is the total net profit when earnings per share is 27.4, and profit/loss befor tax was smaller than 194.6 million?
Year ended|Revenue (£million)|Profit/(loss) before tax (£m)|Net profit (£m)|Earnings per share (p) || 2-17202278-1
[`Net profit (£m)`:sum] [`Earnings per share (p)`: 0: 27.4 |and| `Profit/(loss) before tax (£m)`: 2: 194.6] [] []
{"agg":4,"conds":[[4,0,27.4],[2,2,194.6]],"sel":3}
wikisql
0
Tell me the sum of top 5 with events less than 12 and top 25 less than 0
Tournament|Wins|Top-5|Top-25|Events|Cuts made || 2-1085651-4
[`Top-5`:sum] [`Events`: 2: 12.0 |and| `Top-25`: 2: 0.0] [] []
{"agg":4,"conds":[[4,2,12],[3,2,0]],"sel":2}
wikisql
0
What is High Points, when Game is "3"?
Game|Date|Team|Score|High points|High rebounds|High assists|Location Attendance|Series || 2-17197926-5
[] [`Game`: 0: 3.0] [] []
{"agg":0,"conds":[[0,0,3]],"sel":4}
wikisql
0
If the average is 1.2803, what is the total points maximum?
Pos|Team|07 Pts|08 Pts|09 Pts|Total Pts|Total Pld|Avg || 1-22011138-7
[`Total Pts`:max] [`Avg`: 0: 1.2803] [] []
{"agg":1,"conds":[[7,0,"1.2803"]],"sel":5}
wikisql
0
who is number 98?
Position|Number|Name|Height|Weight|Class|Hometown|Games↑ || 1-14966667-19
[] [`Number`: 0: 98.0] [] []
{"agg":0,"conds":[[1,0,"98"]],"sel":2}
wikisql
0
What nationality is listed when the college/junior/club team is oshawa generals (ohl)?
Pick #|Player|Position|Nationality|NHL team|College/junior/club team || 1-2850912-7
[] [`College/junior/club team`: 0: "Oshawa Generals (OHL)"] [] []
{"agg":0,"conds":[[5,0,"Oshawa Generals (OHL)"]],"sel":3}
wikisql
0
What is the venue when the score was 8-2?
Date|Venue|Score|Result|Competition || 2-15553431-1
[] [`Score`: 0: "8-2"] [] []
{"agg":0,"conds":[[2,0,"8-2"]],"sel":1}
wikisql
0
What 2nd Member has a 1st Party of conservative, and a 1st Member of william edward dowdeswell?
Election|1st Member|1st Party|2nd Member|2nd Party || 2-1826125-1
[] [`1st Party`: 0: "conservative" |and| `1st Member`: 0: "william edward dowdeswell"] [] []
{"agg":0,"conds":[[2,0,"conservative"],[1,0,"william edward dowdeswell"]],"sel":3}
wikisql
0
what's the total number of candidates for first elected in 1948 , 1964
District|Incumbent|Party|First elected|Result|Candidates || 1-1341472-15
[`Candidates`:count] [`First elected`: 0: "1948 , 1964"] [] []
{"agg":3,"conds":[[3,0,"1948 , 1964"]],"sel":5}
wikisql
0
Who was the home team at Princes Park?
Home team|Home team score|Away team|Away team score|Venue|Crowd|Date || 2-10808346-4
[] [`Venue`: 0: "princes park"] [] []
{"agg":0,"conds":[[4,0,"princes park"]],"sel":1}
wikisql
0
Which rider had fewer than 10 laps for the Aprilia manufacturer, finishing in retirement?
Rider|Manufacturer|Laps|Time/Retired|Grid || 2-12779644-2
[] [`Laps`: 2: 10.0 |and| `Manufacturer`: 0: "aprilia" |and| `Time/Retired`: 0: "retirement"] [] []
{"agg":0,"conds":[[2,2,10],[1,0,"aprilia"],[3,0,"retirement"]],"sel":0}
wikisql
0
How many weeks have an attendance greater than 55,121, and l 27-7 as the result?
Week|Date|Opponent|Result|Attendance || 2-18842963-2
[`Week`:sum] [`Attendance`: 1: "55,121" |and| `Result`: 0: "l 27-7"] [] []
{"agg":4,"conds":[[4,1,"55,121"],[3,0,"l 27-7"]],"sel":0}
wikisql
0
Which Player has a To par of –4?
Place|Player|Country|Score|To par || 2-17162179-3
[] [`To par`: 0: "–4"] [] []
{"agg":0,"conds":[[4,0,"\u20134"]],"sel":1}
wikisql
0
Which Oracle Corporation product has a Java EE compatibility of 1.4?
Product|Vendor|Edition|Release date|Java EE compatibility|License || 2-1699556-1
[] [`Java EE compatibility`: 0: 1.4 |and| `Vendor`: 0: "oracle corporation"] [] []
{"agg":0,"conds":[[4,0,"1.4"],[1,0,"oracle corporation"]],"sel":0}
wikisql
0
Which Team has a Year larger than 2010?
Year|Team|Co-Drivers|Class|Laps|Pos.|Class Pos. || 2-17402144-1
[] [`Year`: 1: 2010.0] [] []
{"agg":0,"conds":[[0,1,2010]],"sel":1}
wikisql
0
How few laps were finished in 17?
Year|Start|Qual|Rank|Finish|Laps || 2-1145778-1
[`Laps`:min] [`Finish`: 0: 17.0] [] []
{"agg":2,"conds":[[4,0,"17"]],"sel":5}
wikisql
0
What club had a score of 18.1?
Rank|Score|Player|Club|Opponent|Year|Round|Venue || 2-12161422-15
[] [`Score`: 0: 18.1] [] []
{"agg":0,"conds":[[1,0,"18.1"]],"sel":3}
wikisql
0
What is the name of the episode written by karina csolty?
No. in series|Title|Directed by|Written by|Original air date|Production|U.S. viewers (in millions) || 1-27969432-2
[] [`Written by`: 0: "Karina Csolty"] [] []
{"agg":0,"conds":[[3,0,"Karina Csolty"]],"sel":1}
wikisql
0
What is the lowest number of delegates when John McCain was the candidate with less than 45 candidates?
Candidate|Votes|Percentage|Counties|Delegates || 2-15315799-1
[`Delegates`:min] [`Candidate`: 0: "john mccain" |and| `Counties`: 2: 45.0] [] []
{"agg":2,"conds":[[0,0,"john mccain"],[3,2,45]],"sel":4}
wikisql
0
What is every status with a weekly schedule of Monday to Thursday @ 11:00 pm?
Country|TV Network(s)|Series Premiere|Weekly Schedule|Status || 1-18821196-1
[] [`Weekly Schedule`: 0: "Monday to Thursday @ 11:00 pm"] [] []
{"agg":0,"conds":[[3,0,"Monday to Thursday @ 11:00 pm"]],"sel":4}
wikisql
0
When 86 is the amount of points what is the position?
Year|Class|Team name|Bike|Riders|Races|Wins|Podiums|Poles|F.laps|Points|Pos. || 1-22737506-1
[] [`Points`: 0: 86.0] [] []
{"agg":0,"conds":[[10,0,86]],"sel":11}
wikisql
0
What soap opera was on 1960–1965, 1965–1983, 1984–2010?
Rank|Actor|Character|Soap Opera|Years|Duration || 2-18772558-1
[] [`Years`: 0: "1960–1965, 1965–1983, 1984–2010"] [] []
{"agg":0,"conds":[[4,0,"1960\u20131965, 1965\u20131983, 1984\u20132010"]],"sel":3}
wikisql
0
What was the earliest Year the Linto Team had less than 15 Points with more than 0 Wins?
Year|Class|Team|Points|Wins || 2-15194193-3
[`Year`:min] [`Wins`: 1: 0.0 |and| `Team`: 0: "linto" |and| `Points`: 2: 15.0] [] []
{"agg":2,"conds":[[4,1,0],[2,0,"linto"],[3,2,15]],"sel":0}
wikisql
0
What is the Attendance of the game with a Result of L 20-14?
Week|Date|Opponent|Result|Attendance || 2-18733395-1
[] [`Result`: 0: "l 20-14"] [] []
{"agg":0,"conds":[[3,0,"l 20-14"]],"sel":4}
wikisql
0
Which constructor had a Time/Retired of collision, where the grid number was less than 18 and Nick Heidfeld was the driver?
Driver|Constructor|Laps|Time/Retired|Grid || 2-1123421-2
[] [`Time/Retired`: 0: "collision" |and| `Grid`: 2: 18.0 |and| `Driver`: 0: "nick heidfeld"] [] []
{"agg":0,"conds":[[3,0,"collision"],[4,2,18],[0,0,"nick heidfeld"]],"sel":1}
wikisql
0
What is the average of all the wickets that were 27?
Player|County|Balls|Wickets|Average|Economy|BBI|4wi|5wi || 1-28797906-3
[] [`Wickets`: 0: 27.0] [] []
{"agg":0,"conds":[[3,0,27]],"sel":4}
wikisql
0
Name the singer for bruce forsyth
Episode|Broadcast date|Guest(s)|Singer(s)|Comedian|Ratings || 1-29135051-2
[] [`Guest(s)`: 0: "Bruce Forsyth"] [] []
{"agg":0,"conds":[[2,0,"Bruce Forsyth"]],"sel":3}
wikisql
0
Which Week has a Date of december 8, 1991?
Week|Date|Opponent|Result|Attendance || 2-16729059-1
[`Week`:avg] [`Date`: 0: "december 8, 1991"] [] []
{"agg":5,"conds":[[1,0,"december 8, 1991"]],"sel":0}
wikisql
0
What are the names of all the countries that became independent after 1950?
Code|Name|Continent|Region|SurfaceArea|IndepYear|Population|LifeExpectancy|GNP|GNPOld|LocalName|GovernmentForm|HeadOfState|Capital|Code2 || country
[] [`IndepYear`: 1: 1950.0] [] []
SELECT Name FROM country WHERE IndepYear > 1950
spider
0
Which team has a 59.8% completion rate?
Year|Team|Attempts|Completions|Completion %|Yards || 2-12857517-1
[] [`Completion %`: 0: "59.8%"] [] []
{"agg":0,"conds":[[4,0,"59.8%"]],"sel":1}
wikisql
0
Who is sezen aksu's producer?
Track|Title|Songwriter(s)|Producer(s)|Length || 2-16431493-1
[] [`Songwriter(s)`: 0: "sezen aksu"] [] []
{"agg":0,"conds":[[2,0,"sezen aksu"]],"sel":3}
wikisql
0
What year was the player pick number 15 picked?
Year|Pick|Player|Position|College || 2-17568045-2
[] [`Pick`: 0: 15.0] [] []
{"agg":0,"conds":[[1,0,"15"]],"sel":0}
wikisql
0
What is the title for Hui that ruled from 864 BC?
State|Type|Name|Title|Royal house|From || 2-17338025-12
[] [`Name`: 0: "hui" |and| `From`: 0: "864 bc"] [] []
{"agg":0,"conds":[[2,0,"hui"],[5,0,"864 bc"]],"sel":3}
wikisql
0
Which Constructor has Rounds, All and Driver, Bruno Giacomelli?
Entrant|Constructor|Chassis|Engine|Tyres|Driver|Rounds || 2-1140076-1
[] [`Rounds`: 0: "all" |and| `Driver`: 0: "bruno giacomelli"] [] []
{"agg":0,"conds":[[6,0,"all"],[5,0,"bruno giacomelli"]],"sel":1}
wikisql
0
what is the fa trophy when the leading scorer is lee gregory (8)?
Year|League|Position|Leading Scorer|FA Cup|FA Trophy || 2-18443295-5
[] [`Leading Scorer`: 0: "lee gregory (8)"] [] []
{"agg":0,"conds":[[3,0,"lee gregory (8)"]],"sel":5}
wikisql
0
What is the entry for Upper index Kcal/ Nm 3 for the row with an entry that has a Lower index MJ/ Nm 3 larger than 47.91, for propylene, and an Upper index MJ/ Nm 3 larger than 77.04?
Fuel gas|Upper index Kcal/ Nm 3|Lower index Kcal/ Nm 3|Upper index MJ/ Nm 3|Lower index MJ/ Nm 3 || 2-1868929-1
[`Upper index Kcal/ Nm 3`:sum] [`Lower index MJ/ Nm 3`: 1: 47.91 |and| `Fuel gas`: 0: "propylene" |and| `Upper index MJ/ Nm 3`: 1: 77.04] [] []
{"agg":4,"conds":[[4,1,47.91],[0,0,"propylene"],[3,1,77.04]],"sel":1}
wikisql
0
When "helpful tracy" is the original title how many numbers are there?
#|Original title|Directed by|Written by|Original airdate|Prod. code|Viewers || 1-20124413-1
[`#`:count] [`Original title`: 0: ""Helpful Tracy""] [] []
{"agg":3,"conds":[[1,0,"\"Helpful Tracy\""]],"sel":0}
wikisql
0
In which series was season 18?
No. in series|No. in season|Title|Directed by|Written by|Original air date|Production code || 1-2409041-6
[`No. in series`:count] [`No. in season`: 0: 18.0] [] []
{"agg":3,"conds":[[1,0,18]],"sel":0}
wikisql
0
Which is the lowest crop total with New South Wales at 42 kilotonnes and Victorian at less than 68 kilotonnes?
Crop (kilotonnes)|New South Wales|Victoria|Queensland|Western Australia|South Australia|Tasmania|Total || 2-1057262-2
[`Total`:min] [`New South Wales`: 0: 42.0 |and| `Victoria`: 2: 68.0] [] []
{"agg":2,"conds":[[1,0,42],[2,2,68]],"sel":7}
wikisql
0
What tournament location has 1 stroke as the margin of victory, with 1,200,000 as the purse ($)?
Year|Dates|Champion|Country|Winning score|To par|Margin of victory|Tournament location|Purse ( $ )|Winner's share ($) || 2-17424546-2
[] [`Margin of victory`: 0: "1 stroke" |and| `Purse ( $ )`: 0: "1,200,000"] [] []
{"agg":0,"conds":[[6,0,"1 stroke"],[8,0,"1,200,000"]],"sel":7}
wikisql
0
What was the score of the game that took place on october 22, 1976?
Date|Visitor|Score|Home|Record || 2-16386910-2
[] [`Date`: 0: "october 22, 1976"] [] []
{"agg":0,"conds":[[0,0,"october 22, 1976"]],"sel":2}
wikisql
0
What was Lee Smith's highest number of goals when he made fewer than 364 appearances?
Name|Career|Goals|Appearances|Goals/Game Ratio || 2-1575505-3
[`Goals`:max] [`Name`: 0: "lee smith" |and| `Appearances`: 2: 364.0] [] []
{"agg":1,"conds":[[0,0,"lee smith"],[3,2,364]],"sel":2}
wikisql
0
What is the time of kenya, which is ranked 2?
Rank|Time|Athlete|Nation|Date|Race || 2-17370134-2
[] [`Nation`: 0: "kenya" |and| `Rank`: 0: 2.0] [] []
{"agg":0,"conds":[[3,0,"kenya"],[0,0,"2"]],"sel":1}
wikisql
0
What is the year where the runner-up outcome was at its basic minimum?
Outcome|Year|Championship|Surface|Opponent in final|Score in final || 1-22858557-1
[`Year`:min] [`Outcome`: 0: "Runner-up"] [] []
{"agg":2,"conds":[[0,0,"Runner-up"]],"sel":1}
wikisql
0
When was series premiere on the pilot episode
Series|Episodes|Series premiere|Series finale|Region 1|Region 2|Region 4 || 1-15823956-1
[] [`Series`: 0: "Pilot"] [] []
{"agg":0,"conds":[[0,0,"Pilot"]],"sel":2}
wikisql
0
What is the sum of the points for the player who was a rank of 61t?
Rank|Player|Position|Career|Points || 2-14083821-2
[`Points`:sum] [`Rank`: 0: "61t"] [] []
{"agg":4,"conds":[[0,0,"61t"]],"sel":4}
wikisql
0
what is the party when the incumbent is sidney r. yates?
District|Incumbent|Party|First elected|Result|Candidates || 1-1341718-14
[] [`Incumbent`: 0: "Sidney R. Yates"] [] []
{"agg":0,"conds":[[1,0,"Sidney R. Yates"]],"sel":2}
wikisql
0
What was the film title that emma thompson was the actress nominated for best supporting actress?
Year (Ceremony)|Actor/Actress|Category|Film title used in nomination|Result || 2-18638067-1
[] [`Actor/Actress`: 0: "emma thompson" |and| `Category`: 0: "best supporting actress"] [] []
{"agg":0,"conds":[[1,0,"emma thompson"],[2,0,"best supporting actress"]],"sel":3}
wikisql
0
What was the rank of the park that had a value of 5,040,000 in 2010?
Rank|Location|2008|2009|2010|2011|2012 || 2-16578883-2
[] [`2010`: 0: "5,040,000"] [] []
{"agg":0,"conds":[[4,0,"5,040,000"]],"sel":0}
wikisql
0
What is the total number of years that has a chassis of Ferrari 625 and 2 points?
Year|Entrant|Chassis|Engine|Points || 2-1235883-1
[`Year`:count] [`Chassis`: 0: "ferrari 625" |and| `Points`: 0: 2.0] [] []
{"agg":3,"conds":[[2,0,"ferrari 625"],[4,0,"2"]],"sel":0}
wikisql
0
On what date was the poll showing John Kennedy with 45% and Mary Landrieu with 38%?
Poll Source|Dates administered|Democrat: Mary Landrieu|Republican: John Kennedy|Lead Margin || 2-16751596-4
[] [`Republican: John Kennedy`: 0: "45%" |and| `Democrat: Mary Landrieu`: 0: "38%"] [] []
{"agg":0,"conds":[[3,0,"45%"],[2,0,"38%"]],"sel":1}
wikisql
0
Find the maximum and minimum durations of tracks in milliseconds.
TrackId|Name|AlbumId|MediaTypeId|GenreId|Composer|Milliseconds|Bytes|UnitPrice || Track
[`Milliseconds`:max, `Milliseconds`:min] [] [] []
SELECT max(Milliseconds) , min(Milliseconds) FROM TRACK
spider
0
What are the chip model and screen mode of the phone with hardware model name "LG-P760"?
Company_name|Hardware_Model_name|Accreditation_type|Accreditation_level|Date|chip_model|screen_mode || phone
[] [`Hardware_Model_name`: 0: "LG-P760"] [] []
SELECT chip_model , screen_mode FROM phone WHERE Hardware_Model_name = "LG-P760";
spider
0
IN WHAT ISSUE OF PLAYBOY WAS SHEPARD SMITH INTERVIEWED?
Date|Cover model|Centerfold model|Interview subject|20 Questions|Pictorials || 1-1566852-7
[] [`Interview subject`: 0: "Shepard Smith"] [] []
{"agg":0,"conds":[[3,0,"Shepard Smith"]],"sel":0}
wikisql
0
What race happened at pocono on 08-02-2008?
Date|Race|Track|Winner|Reports || 2-16919628-2
[] [`Track`: 0: "pocono" |and| `Date`: 0: "08-02-2008"] [] []
{"agg":0,"conds":[[2,0,"pocono"],[0,0,"08-02-2008"]],"sel":1}
wikisql
0
Which post had the horse named chocolate candy?
Post|Horse name|Trainer|Jockey|Opening Odds|Starting Odds|Finishing Pos. || 1-22517564-3
[] [`Horse name`: 0: "Chocolate Candy"] [] []
{"agg":0,"conds":[[1,0,"Chocolate Candy"]],"sel":0}
wikisql
0
What is the 2nd leg of dinamo minsk team #2?
Round|Team #1|Agg.|Team #2|1st leg|2nd leg || 2-17335271-3
[] [`Team #2`: 0: "dinamo minsk"] [] []
{"agg":0,"conds":[[3,0,"dinamo minsk"]],"sel":5}
wikisql
0
What's the sum of WIns with Draws that's larger than 1, Losses that's smaller than 4, and Conceded of 20?
Position|Team|Played|Wins|Draws|Losses|Scored|Conceded|Points || 2-14911550-1
[`Wins`:sum] [`Draws`: 1: 1.0 |and| `Losses`: 2: 4.0 |and| `Conceded`: 0: 20.0] [] []
{"agg":4,"conds":[[4,1,1],[5,2,4],[7,0,20]],"sel":3}
wikisql
0
Name the tournament for clay surface and outcome is winner with score is 6–3, 6–2
Outcome|Date|Tournament|Surface|Partner|Opponents|Score || 2-11983898-7
[] [`Surface`: 0: "clay" |and| `Outcome`: 0: "winner" |and| `Score`: 0: "6–3, 6–2"] [] []
{"agg":0,"conds":[[3,0,"clay"],[0,0,"winner"],[6,0,"6\u20133, 6\u20132"]],"sel":2}
wikisql
0
Where did the Gould Rex Mays Classic 150 occur?
Sanctioning|Race Name|Circuit|City/Location|Date || 2-10527215-2
[] [`Race Name`: 0: "gould rex mays classic 150"] [] []
{"agg":0,"conds":[[1,0,"gould rex mays classic 150"]],"sel":3}
wikisql
0
Na,e the number of field goals for right tackle
Player|Position|Starter|Touchdowns|Extra points|Field goals|Points || 1-14342480-5
[`Field goals`:count] [`Position`: 0: "Right tackle"] [] []
{"agg":3,"conds":[[1,0,"Right tackle"]],"sel":5}
wikisql
0
Name the player for 22 events
#|Player|Country|Points|Reset points|Events || 1-24108789-6
[] [`Events`: 0: 22.0] [] []
{"agg":0,"conds":[[5,0,22]],"sel":1}
wikisql
0
When was Walter Evans a representative?
Representative|Years|State|Party|Lifespan || 2-12600781-1
[] [`Representative`: 0: "walter evans"] [] []
{"agg":0,"conds":[[0,0,"walter evans"]],"sel":1}
wikisql
0
If class a is canadian and class aaa is wimberley, which possible school years could this fall on?
School Year|Class A|Class AA|Class AAA|Class AAAA|Class AAAAA || 1-14603212-1
[] [`Class AAA`: 0: "Wimberley" |and| `Class A`: 0: "Canadian"] [] []
{"agg":0,"conds":[[3,0,"Wimberley"],[1,0,"Canadian"]],"sel":0}
wikisql
0
What was the stadium in which the 2007-08 season placement was 8th in Serie c1/a?
Club|City|Stadium|Capacity|2007–08 season || 2-17605092-1
[] [`2007–08 season`: 0: "8th in serie c1/a"] [] []
{"agg":0,"conds":[[4,0,"8th in serie c1/a"]],"sel":2}
wikisql
0
What french open tournament happened in 2010 and has a 2004 1r?
Tournament|2000|2001|2002|2003|2004|2005|2006|2007|2008|2009|2010|2011|2012 || 2-1554464-7
[] [`2004`: 0: "1r" |and| `Tournament`: 0: "french open"] [] []
{"agg":0,"conds":[[5,0,"1r"],[0,0,"french open"]],"sel":11}
wikisql
0
What is the measure number for the bill described as obscenity and sexual conduct bill?
meas. num.|passed|YES votes|NO votes|% YES|Const. Amd.?|type|description || 1-256286-61
[] [`description`: 0: "Obscenity and sexual conduct bill"] [] []
{"agg":0,"conds":[[7,0,"Obscenity and sexual conduct bill"]],"sel":0}
wikisql
0
What is the location of South Adelaide?
Team|Coach|Home Ground|Location|Founded || 2-1742186-16
[] [`Team`: 0: "south adelaide"] [] []
{"agg":0,"conds":[[0,0,"south adelaide"]],"sel":3}
wikisql
0
What is the total population and average area of countries in the continent of North America whose area is bigger than 3000 ?
Code|Name|Continent|Region|SurfaceArea|IndepYear|Population|LifeExpectancy|GNP|GNPOld|LocalName|GovernmentForm|HeadOfState|Capital|Code2 || country
[`Population`:sum, `SurfaceArea`:avg] [`Continent`: 0: "north america" |and| `SurfaceArea`: 1: 3000.0] [] []
select sum(population) , avg(surfacearea) from country where continent = "north america" and surfacearea > 3000
spider
0
Who wrote the title with production code 7acx14?
No. in series|No. in season|Title|Directed by|Written by|Original air date|Production code|U.S. viewers (millions) || 1-22269839-1
[] [`Production code`: 0: "7ACX14"] [] []
{"agg":0,"conds":[[6,0,"7ACX14"]],"sel":4}
wikisql
0
Which position has a Player of chad hutchinson?
Player|Position|School|Hometown|MLB Draft || 2-11677100-3
[] [`Player`: 0: "chad hutchinson"] [] []
{"agg":0,"conds":[[0,0,"chad hutchinson"]],"sel":1}
wikisql
0
What is the sum of the final for finland, who placed greater than 2 and had an all around larger than 18.9?
Place|Nation|All Around|Final|Total || 2-18170681-11
[`Final`:sum] [`Place`: 1: 2.0 |and| `Nation`: 0: "finland" |and| `All Around`: 1: 18.9] [] []
{"agg":4,"conds":[[0,1,2],[1,0,"finland"],[2,1,18.9]],"sel":3}
wikisql
0
Who was the winner when the finalist was fsv frankfurt?
Year|Winner|Finalist|Result|Date|Venue|Attendance || 2-17418169-2
[] [`Finalist`: 0: "fsv frankfurt"] [] []
{"agg":0,"conds":[[2,0,"fsv frankfurt"]],"sel":1}
wikisql
0
Which deputy prime minister left office in 1981?
Deputy Prime Minister|Took office|Left office|Prime Minister|Term|Party || 2-1289651-1
[] [`Left office`: 0: 1981.0] [] []
{"agg":0,"conds":[[2,0,"1981"]],"sel":0}
wikisql
0
Who won after 2007 when deyra cimen was the 1st runner up?
Host city|Year|Winner|1st runner up|2nd runner up || 2-18150755-1
[] [`Year`: 1: 2007.0 |and| `1st runner up`: 0: "deyra cimen"] [] []
{"agg":0,"conds":[[1,1,2007],[3,0,"deyra cimen"]],"sel":2}
wikisql
0
Which Team that has a Position in table of 15th (a) and a Outgoing manager of claudio borghi?
Team|Outgoing manager|Manner of departure|Date of vacancy|Replaced by|Date of appointment|Position in table || 2-18226336-2
[] [`Position in table`: 0: "15th (a)" |and| `Outgoing manager`: 0: "claudio borghi"] [] []
{"agg":0,"conds":[[6,0,"15th (a)"],[1,0,"claudio borghi"]],"sel":0}
wikisql
0
How many votes were tallied in 1956 with a % of national vote larger than 11.47?
Date|Candidates nominated|Candidates elected|Votes|% of national vote || 2-1489496-1
[`Votes`:sum] [`Date`: 0: 1956.0 |and| `% of national vote`: 1: 11.47] [] []
{"agg":4,"conds":[[0,0,"1956"],[4,1,11.47]],"sel":3}
wikisql
0
What player is from Wales?
Place|Player|Country|Score|To par || 2-18131508-6
[] [`Country`: 0: "wales"] [] []
{"agg":0,"conds":[[2,0,"wales"]],"sel":1}
wikisql
0
How much money does the player with a 69-70-72-64=275 score have?
Place|Player|Country|Score|To par|Money ( £ ) || 2-18135501-6
[] [`Score`: 0: "69-70-72-64=275"] [] []
{"agg":0,"conds":[[3,0,"69-70-72-64=275"]],"sel":5}
wikisql
0
Where was the universiade held in 1959?
Year|Tournament|Venue|Result|Extra || 2-11881236-1
[] [`Tournament`: 0: "universiade" |and| `Year`: 0: 1959.0] [] []
{"agg":0,"conds":[[1,0,"universiade"],[0,0,1959]],"sel":2}
wikisql
0
What is the College of Rice's highest overall for the guard position?
Round|Pick #|Overall|Name|Position|College || 2-15198842-1
[`Overall`:max] [`Position`: 0: "guard" |and| `College`: 0: "rice"] [] []
{"agg":1,"conds":[[4,0,"guard"],[5,0,"rice"]],"sel":2}
wikisql
0
What is the lowest Silver in the Total Sport has less than 1 Gold and more than 1 Bronze?
Sport|Gold|Silver|Bronze|Total || 2-10882501-10
[`Silver`:min] [`Bronze`: 1: 1.0 |and| `Sport`: 0: "total" |and| `Gold`: 2: 1.0] [] []
{"agg":2,"conds":[[3,1,1],[0,0,"total"],[1,2,1]],"sel":2}
wikisql
0
List all department names ordered by their starting date.
Dname|Dnumber|Mgr_ssn|Mgr_start_date || department
[] [] [] [`Mgr_start_date`:asc]
SELECT dname FROM department ORDER BY mgr_start_date
spider
0
what's the college/junior/club team with nhl team being california golden seals
Pick #|Player|Position|Nationality|NHL team|College/junior/club team || 1-1473672-9
[] [`NHL team`: 0: "California Golden Seals"] [] []
{"agg":0,"conds":[[4,0,"California Golden Seals"]],"sel":5}
wikisql
0
Name the syrian christians for kollam
District|SC/ST|Nairs|Ezhavas|Syrian Christians|Latin Christians|Muslims|Others|Total || 1-23214055-2
[] [`District`: 0: "Kollam"] [] []
{"agg":0,"conds":[[0,0,"Kollam"]],"sel":4}
wikisql
0
What are the different affiliations, and how many schools with each affiliation have an enrollment size of over 20000?
School_ID|School|Location|Founded|Affiliation|Enrollment|Nickname|Primary_conference || university
[`School`:count] [`Enrollment`: 1: 20000.0] [`Affiliation`] []
SELECT count(*) , affiliation FROM university WHERE enrollment > 20000 GROUP BY affiliation
spider
0
What was the length of release 3.6?
Title|Series|Release|Featuring|Writer|Director|Length|Release Date || 2-16279520-1
[] [`Release`: 0: 3.6] [] []
{"agg":0,"conds":[[2,0,3.6]],"sel":6}
wikisql
0
When was the start of the construction of the unit that's been in commercial operation since 04.03.1987?
Unit|Type|Net power|Total power|Construction start|Construction finish|Commercial operation|Shut down || 1-12983929-1
[] [`Commercial operation`: 0: "04.03.1987"] [] []
{"agg":0,"conds":[[6,0,"04.03.1987"]],"sel":4}
wikisql
0
Which grid has a Time/Retired of +5.004?
Driver|Constructor|Laps|Time/Retired|Grid || 2-1123350-2
[`Grid`:min] [`Time/Retired`: 0: "+5.004"] [] []
{"agg":2,"conds":[[3,0,"+5.004"]],"sel":4}
wikisql
0
Name the stations for zone 5 and 1 platform by tramlink
Stations|Place|Managed By|Platforms|Zone || 2-11802780-15
[] [`Managed By`: 0: "tramlink" |and| `Zone`: 0: 5.0 |and| `Platforms`: 0: 1.0] [] []
{"agg":0,"conds":[[2,0,"tramlink"],[4,0,5],[3,0,1]],"sel":0}
wikisql
0
who isthe jockey in 10th position?
Position|Number|Horse|Jockey|Age|Handicap|SP|Distance || 1-25429986-1
[] [`Position`: 0: "10th"] [] []
{"agg":0,"conds":[[0,0,"10th"]],"sel":3}
wikisql
0
What tournament had an A in 2012 and Q2 in 2010?
Tournament|2008|2009|2010|2011|2012 || 2-18621753-1
[] [`2012`: 0: "a" |and| `2010`: 0: "q2"] [] []
{"agg":0,"conds":[[5,0,"a"],[3,0,"q2"]],"sel":0}
wikisql
0
Find the number of matches happened in each year.
best_of|draw_size|loser_age|loser_entry|loser_hand|loser_ht|loser_id|loser_ioc|loser_name|loser_rank|loser_rank_points|loser_seed|match_num|minutes|round|score|surface|tourney_date|tourney_id|tourney_level|tourney_name|winner_age|winner_entry|winner_hand|winner_ht|winner_id|winner_ioc|winner_name|winner_rank|winner_rank_points|winner_seed|year || matches
[`draw_size`:count] [] [`year`] []
SELECT count(*) , YEAR FROM matches GROUP BY YEAR
spider
0
what artist cam from uruguay
Statue|Liberator|Country|Year Erected|Artist || 2-13846706-1
[] [`Country`: 0: "uruguay"] [] []
{"agg":0,"conds":[[2,0,"uruguay"]],"sel":4}
wikisql
0
Name the pronunciation for 傳
Word|Pronunciation a|Meaning a|Pronunciation b|Meaning b || 2-151830-3
[] [`Word`: 0: "傳"] [] []
{"agg":0,"conds":[[0,0,"傳"]],"sel":1}
wikisql
0
How many people were in attendance for the game week 15?
Week|Date|Opponent|Result|Attendance || 2-15378789-1
[`Attendance`:count] [`Week`: 0: 15.0] [] []
{"agg":3,"conds":[[0,0,15]],"sel":4}
wikisql
0
What party was the winning one in the elections in the California 30 district?
District|Incumbent|Party|First elected|Result|Candidates || 1-1341663-6
[] [`District`: 0: "California 30"] [] []
{"agg":0,"conds":[[0,0,"California 30"]],"sel":2}
wikisql
0
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
2
Edit dataset card