inputs
stringlengths
291
3.71k
targets
stringlengths
1
2.65k
[ header: country | total gdp (nominal) (billion us$) | gdp per capita (us$, ppp) | gdp growth, 2007-2011 (in %) | hdi row 1 : algeria | 188.7 | 8715 | 2.7 | 0.733 row 2 : angola | 101 | 5930 | 9.1 | 0.446 row 3 : benin | 7.3 | 1628 | 3.9 | 0.437 row 4 : botswana | 17.6 | 14753 | 3 | 0.654 row 5 : burkina faso | 10.2 | 1310 | 4.9 | 0.37 row 6 : cameroon | 25.5 | 2383 | 3.1 | 0.532 row 7 : chad | 9.5 | 1531 | 2.9 | 0.388 row 8 : comoros | 0.6 | 1117 | 1.5 | 0.561 row 9 : democratic republic of the congo | 15.6 | 375 | 5.9 | 0.411 row 10 : congo | 14.7 | 4429 | 4.9 | 0.548 row 11 : ivory coast | 24.1 | 1803 | 1.1 | 0.432 row 12 : egypt | 229.5 | 6324 | 5.2 | 0.708 row 13 : equatorial guinea | 19.8 | 36515 | 8.8 | 0.642 row 14 : eritrea | 2.6 | 589 | 1.3 | 0.483 row 15 : ethiopia | 31.7 | 1116 | 9.7 | 0.406 row 16 : gabon | 17.1 | 15960 | 3.6 | 0.677 row 17 : ghana | 39.2 | 1884 | 8.3 | 0.553 row 18 : guinea | 5.1 | 1128 | 2.4 | 0.456 row 19 : guinea-bissau | 1 | 1251 | 3.6 | 0.374 row 20 : kenya | 33.6 | 1718 | 4.2 | 0.521 row 21 : lesotho | 2.4 | 1715 | 4.9 | 0.549 row 22 : liberia | 1.2 | 577 | 11.6 | None row 23 : libya | 62.4 (2009) | 16,855 (2009) | 4 | 0.769 row 24 : malawi | 5.7 | 918 | 6.8 | 0.437 row 25 : mali | 10.6 | 1099 | 4.5 | 0.38 row 26 : mauritania | 4.1 | 2571 | 2.8 | 0.55 row 27 : mauritius | 11.3 | 14523 | 4.5 | 0.804 row 28 : morocco | 100.2 | 4986 | 4.3 | 0.646 row 29 : mozambique | 12.8 | 982 | 6.9 | 0.384 row 30 : namibia | 12.3 | 6826 | 3.7 | 0.65 row 31 : niger | 6 | 732 | 4.3 | 0.374 row 32 : nigeria | 235.9 | 2532 | 6.8 | 0.67 row 33 : reunion (france) | 15.98 | 8,233 (nominal) | None | 0.850 (2003) row 34 : rwanda | 6.4 | 1251 | 7.3 | 0.452 row 35 : sao tome and principe | 0.2 | 2058 | 5.7 | 0.654 row 36 : senegal | 14.3 | 1981 | 3.5 | 0.499 row 37 : seychelles | 1 | 26420 | 4.2 | 0.843 row 38 : sierra leone | 2.2 | 877 | 5.2 | 0.336 row 39 : somalia | (n/a) | None | None | None row 40 : south africa | 408.2 | 11035 | 2.7 | 0.674 row 41 : south sudan | None | None | None | None row 42 : sudan | 55.1 | 2141 | 4.1 | 0.526 row 43 : swaziland | 4 | 6099 | 2.1 | 0.547 row 44 : tanzania | 23.7 | 1521 | 6.8 | 0.467 ] Execute this SQL based on the above table: select avg ( gdp growth, 2007-2011 (in %) ) where country = 'ethiopia'
9.7
[ header: week | date | opponent | home/away | result | bye row 1 : 1 | february 8 | new orleans voodoo | home | l 42-34 | 0 row 2 : 2 | february 15 | dallas desperados | away | l 51-47 | 0 row 3 : 3 | february 21 | columbus destroyers | home | w 56-34 | 0 row 4 : 4 | february 29 | tampa bay storm | away | l 40-37 | 0 row 5 : 5 | march 7 | chicago rush | home | w 53-47 | 0 row 6 : 6 | march 13 | columbus destroyers | away | l 43-41 | 0 row 7 : 7 | march 21 | colorado crush | home | l 40-33 | 0 row 8 : 8 | march 28 | austin wranglers | away | w 65-60 | 0 row 9 : 9 | april 4 | dallas desperados | home | w 47-31 | 0 row 10 : 10 | None | None | week | None | 1 row 11 : 11 | april 17 | carolina cobras | away | l 63-59 | 0 row 12 : 12 | april 24 | new york dragons | home | w 60-58 | 0 row 13 : 13 | may 1 | colorado crush | away | l 58-40 | 0 row 14 : 14 | may 8 | las vegas gladiators | home | l 63-35 | 0 row 15 : 15 | may 15 | carolina cobras | home | l 46-43 | 0 row 16 : 16 | may 22 | san jose sabercat | away | l 48-36 | 0 row 17 : 17 | may 30 | new york dragons | away | l 69-54 | 0 ] Execute this SQL based on the above table: select count ( * ) where opponent = 'new york dragons'
2
[ header: year | song | us r&b | us rap | album row 1 : 1991 | "mistadobalina" | 55 | 6 | i wish my brother george was here row 2 : 1991 | "sleepin' on my couch" | None | None | i wish my brother george was here row 3 : 1992 | "dr. bombay.." | None | None | i wish my brother george was here row 4 : 1993 | "catch a bad one" | None | None | no need for alarm row 5 : 1994 | "wrong place" | None | 48 | no need for alarm row 6 : 1999 | "phoney phranchise" | None | 47 | both sides of the brain row 7 : 2000 | "if you must" | None | 27 | both sides of the brain row 8 : 2008 | "workin' it" | None | None | eleventh hour row 9 : 2011 | "one out of a million" | None | None | golden era ] Execute this SQL based on the above table: select count ( * ) where song = '"catch a bad one"' and us rap < 1616
0
[ header: week | date | opponent | result | attendance row 1 : 1 | september 3, 1978 | at new orleans saints | l 31-24 | 54,187 row 2 : 2 | september 11, 1978 | denver broncos | w 12-9 | 46,508 row 3 : 3 | september 17, 1978 | tampa bay buccaneers | l 16-10 | 46,152 row 4 : 4 | september 25, 1978 | at chicago bears | w 24-20 | 53,551 row 5 : 5 | october 1, 1978 | at tampa bay buccaneers | w 24-7 | 65,972 row 6 : 6 | october 8, 1978 | at seattle seahawks | l 29-28 | 62,031 row 7 : 7 | october 15, 1978 | los angeles rams | l 34-17 | 46,551 row 8 : 8 | october 22, 1978 | green bay packers | w 21-7 | 47,411 row 9 : 9 | october 26, 1978 | at dallas cowboys | w 21-10 | 61,848 row 10 : 10 | november 5, 1978 | detroit lions | w 17-7 | 46,008 row 11 : 11 | november 12, 1978 | chicago bears | w 17-14 | 43,286 row 12 : 12 | november 19, 1978 | san diego chargers | l 13-7 | 38,859 row 13 : 13 | november 26, 1978 | at green bay packers | t 10-10 (ot) | 51,737 row 14 : 14 | december 3, 1978 | philadelphia eagles | w 28-27 | 38,722 row 15 : 15 | december 9, 1978 | at detroit lions | l 45-14 | 78,685 row 16 : 16 | december 17, 1978 | at oakland raiders | l 27-20 | 44,643 ] Execute this SQL based on the above table: select date where week < ( select week where date = 'november 26, 1978' ) order by week desc limit 1
november 19, 1978
[ header: creature (other planes) | page | other appearances | variants | description row 1 : aerial servant | 39 | rules cyclopedia (1991) | None | None row 2 : basilisk | 39 | d&d expert rules (1981), | None | describes additional abilities/penalties applicable to native row 3 : cockatrice | 39 | d&d expert rules (1981), | None | describes additional abilities/penalties applicable to native row 4 : djinni, lesser | 39 | d&d expert rules (1981), | None | describes additional abilities/penalties applicable to native row 5 : djinni, greater | 39 | rules cyclopedia (1991) | None | None row 6 : efreeti, lesser | 39 | d&d expert rules (1981), | None | describes additional abilities/penalties applicable to native row 7 : efreeti, greater | 39-40 | rules cyclopedia (1991) | None | None row 8 : elemental | 40 | d&d expert rules (1981), | None | describes additional statistics and abilities/penalties applicable row 9 : gorgon | 40 | d&d expert rules (1981), | None | describes additional abilities/penalties applicable to native row 10 : helion | 40 | rules cyclopedia (1991) | None | None row 11 : horde | 41 | rules cyclopedia (1991) | None | None row 12 : hydrax | 41 | rules cyclopedia (1991) | None | None row 13 : invisible stalker | 41 | d&d expert rules (1981), | None | describes additional abilities/penalties applicable to native row 14 : kryst | 42 | rules cyclopedia (1991) | None | None row 15 : medusa | 42 | d&d basic rules (1981), | None | describes additional abilities/penalties applicable to native row 16 : plasm | 42 | rules cyclopedia (1991) | normal and giant | None row 17 : salamander | 42 | d&d expert rules (1981), | None | describes additional abilities/penalties applicable to native row 18 : undine | 42 | rules cyclopedia (1991) | None | None ] Execute this SQL based on the above table: select count ( creature (other planes) ) where page = 588
0
[ header: pos | rider | manufacturer | time/retired | points row 1 : 1 | loris capirossi | honda | 43:06.089 | 25 row 2 : 2 | doriano romboni | honda | 0.689 | 20 row 3 : 3 | max biaggi | aprilia | 1.181 | 16 row 4 : 4 | ralf waldmann | honda | 5.123 | 13 row 5 : 5 | jean-michel bayle | aprilia | 5.528 | 11 row 6 : 6 | nobuatsu aoki | honda | 5.821 | 10 row 7 : 7 | jean philippe ruggia | aprilia | 9.018 | 9 row 8 : 8 | tetsuya harada | yamaha | 24.059 | 8 row 9 : 9 | tadayuki okad | honda | 29.043 | 7 row 10 : 10 | wilco zeelenberg | honda | 36.273 | 6 row 11 : 11 | toshihiko honma | yamaha | 41.787 | 5 row 12 : 12 | adrien bosshard | honda | 52.489 | 4 row 13 : 13 | carlos checa | honda | 57.206 | 3 row 14 : 14 | eskil suter | aprilia | +1:01.503 | 2 row 15 : 15 | luis maurel | honda | +1:03.353 | 1 row 16 : 16 | patrick vd goorbergh | aprilia | +1:04.277 | None row 17 : 17 | adolf stadler | honda | +1:16.427 | None row 18 : 18 | juan borja | honda | +1:19.607 | None row 19 : 19 | chrisrian boudinot | aprilia | +1:20.163 | None row 20 : 20 | bernd kassner | aprilia | +1:20.761 | None row 21 : 21 | andreas preining | aprilia | +1:26.864 | None row 22 : 22 | noel ferro | honda | +1:27.009 | None row 23 : 23 | sebastien scarnato | honda | +1:36.321 | None row 24 : 24 | krisse kaas | yamaha | +1 lap | None row 25 : 25 | donnie hough | honda | +1 lap | None row 26 : ret | rodney fee | honda | retirement | None row 27 : ret | jurgen vd goorbergh | aprilia | retirement | None row 28 : ret | luis d'antin | honda | retirement | None row 29 : ret | manuel hernandez | aprilia | retirement | None row 30 : ret | frederic protat | honda | retirement | None row 31 : ret | giuseppe fiorillo | honda | retirement | None row 32 : ret | jose luis cardoso | aprilia | retirement | None row 33 : ret | enrique de juan | aprilia | retirement | None row 34 : ret | alessandro gramigni | aprilia | retirement | None ] Execute this SQL based on the above table: select points order by points desc limit 1
25
[ header: year | team | co-drivers | car | class | laps | pos. | class pos. row 1 : 2001 | team den bla avis team goh | john nielsen hiroki | dome s101-judd | lmp900 | 66 | dnf | dnf row 2 : 2003 | rn motorsport | john nielsen hayanari | dba4 03s-zytek | lmp675 | 288 | 22nd | 2nd row 3 : 2004 | lister racing | john nielsen jens | lister storm lmp-chevrole | lmp1 | 279 | 24th | 9th row 4 : 2006 | zytek engineering team essex invest | john nielsen philip and | zytek 06s | lmp1 | 269 | nc | nc row 5 : 2007 | aston martin racing larbre | christophe bouchut f | aston martin dbr | gt1 | 341 | 7th | 3rd row 6 : 2008 | team essex | john nielsen sasch | porsche rs spyder evo | lmp2 | 347 | 12th | 2nd row 7 : 2009 | team essex | kristian poulsen e | porsche rs spyder evo | lmp2 | 357 | 10th | 1st row 8 : 2011 | hope racing | steve zacchia jan | oreca 01-swiss | lmp1 | 115 | dnf | dnf ] Execute this SQL based on the above table: select year where laps = 288
2003
[ header: year | film | role | notes row 1 : 1976 | liebesfallen | liane bruckner | None row 2 : 1976 | unser stiller mann | regina | None row 3 : 1979 | bildnis einer trinkerin | singer in a taxi drivers' bar | None row 4 : 1979 | cha-cha | None | None row 5 : 1983 | pankow '95 | jungfrau maria | None row 6 : 1996 | lilien in der bank | suzanne | None row 7 : 2000 | vasilisa | the witch | None row 8 : 2004 | 7 dwarves - men alone | the evil queen | hagen's daughter cosma played snow row 9 : 2006 | 7 zwerge - der wald | the evil queen | hagen's daughter cosma played snow ] Execute this SQL based on the above table: select count ( role )
8
[ header: pos | no. | rider | manufacturer | laps | time/retired | grid | points row 1 : 1 | 75 | mattia pasini | aprilia | 27 | 39:44.091 | 3 | 25 row 2 : 2 | 19 | alvaro bautista | aprilia | 27 | 0.01 | 2 | 20 row 3 : 3 | 52 | lukas pesek | derbi | 27 | 0.111 | 1 | 16 row 4 : 5 | 24 | simone corsi | gilera | 27 | 9.372 | 9 | 11 row 5 : 6 | 1 | thomas luthi | honda | 27 | 10.57 | 13 | 10 row 6 : 7 | 18 | nicolas terol | derbi | 27 | 11.835 | 5 | 9 row 7 : 8 | 36 | mika kallio | ktm | 27 | 11.905 | 4 | 8 row 8 : 9 | 6 | joan olive | aprilia | 27 | 26.017 | 16 | 7 row 9 : 10 | 33 | sergio gadea | aprilia | 27 | 26.172 | 12 | 6 row 10 : 11 | 32 | fabrizio lai | honda | 27 | 26.361 | 6 | 5 row 11 : 12 | 38 | bradley smith | honda | 27 | 26.389 | 14 | 4 row 12 : 13 | 11 | sandro cortese | honda | 27 | 26.48 | 11 | 3 row 13 : 14 | 14 | gabor talmacsi | honda | 27 | 26.606 | 7 | 2 row 14 : 15 | 71 | tomoyoshi koyama | malaguti | 27 | 27.068 | 15 | 1 row 15 : 16 | 54 | randy krummenacher | ktm | 27 | 27.192 | 21 | None row 16 : 18 | 17 | stefan bradl | ktm | 27 | 46.201 | 18 | None row 17 : 19 | 95 | georg frohlich | honda | 27 | 56.274 | 28 | None row 18 : 20 | 35 | raffaele de rosa | aprilia | 27 | 56.549 | 25 | None row 19 : 21 | 26 | vincent braillard | aprilia | 27 | 56.782 | 31 | None row 20 : 23 | 15 | michele pirro | aprilia | 27 | 57.474 | 22 | None row 21 : 24 | 29 | andrea iannone | aprilia | 27 | 57.707 | 20 | None row 22 : 25 | 7 | alexis masbou | malaguti | 27 | +1:04.698 | 37 | None row 23 : 26 | 16 | michele conti | honda | 27 | +1:04.793 | 32 | None row 24 : 28 | 43 | manuel hernandez | aprilia | 27 | +1:17.323 | 30 | None row 25 : 29 | 23 | lorenzo baroni | honda | 27 | +1:17.507 | 26 | None row 26 : 30 | 21 | mateo tunez | aprilia | 27 | +1:20.583 | 29 | None row 27 : 32 | 98 | toni wirsing | honda | 26 | +1 lap | 42 | None row 28 : ret | 44 | karel abraham | aprilia | 16 | retirement | 33 | None row 29 : ret | 13 | dino lombardi | aprilia | 13 | retirement | 41 | None row 30 : ret | 37 | joey litjens | honda | 11 | retirement | 38 | None row 31 : ret | 22 | pablo nieto | aprilia | 9 | retirement | 8 | None ] Execute this SQL based on the above table: select rider where rider = 'pablo nieto'
pablo nieto
[ header: | name | took office | left office | party | notes/events row 1 : 4 | uriah forrest | march 4, 1793 | november 8, 1794 | pro-administration | resigned row 2 : 7 | william craik | december 5, 1796 | march 3, 1801 | federalist | None row 3 : 10 | philip barton key | march 4, 1807 | march 3, 1813 | federalist | None row 4 : 11 | alexander contee hanson | march 4, 1813 | 1816 | federalist | resigned row 5 : 12 | george peter | october 7, 1816 | march 3, 1819 | federalist | None row 6 : 13 | henry ridgely warfield | march 4, 1819 | march 3, 1823 | federalist | None row 7 : 13 | henry ridgely warfield | march 4, 1823 | march 3, 1825 | adams federalist | None row 8 : 15 | george corbin washington | march 4, 1827 | march 3, 1829 | adams | None row 9 : 15 | george corbin washington | march 4, 1829 | march 3, 1833 | anti-jacksonian | None row 10 : 17 | james turner | march 4, 1833 | march 3, 1837 | jacksonian | None row 11 : 18 | john tolley hood worthington | march 4, 1837 | march 3, 1841 | democratic | None row 12 : 19 | james wray williams | march 4, 1841 | december 2, 1842 | democratic | died row 13 : 21 | john wethered | march 4, 1843 | march 3, 1845 | whig | None row 14 : 27 | henry winter davis | march 4, 1863 | march 3, 1865 | unconditional unionist | None row 15 : 29 | thomas swann | march 4, 1869 | march 3, 1873 | democratic | redistricted to the 4th district row 16 : 30 | william james o'bri | march 4, 1873 | march 3, 1877 | democratic | None row 17 : 31 | william kimmel | march 4, 1877 | march 3, 1881 | democratic | None row 18 : 32 | fetter schrier hoblitzell | march 4, 1881 | march 3, 1885 | democratic | None row 19 : 36 | frank charles wachter | march 4, 1899 | march 3, 1907 | democratic | None row 20 : 37 | harry benjamin wolf | march 4, 1907 | march 3, 1909 | democratic | None row 21 : 39 | george konig | march 4, 1911 | may 31, 1913 | democratic | died row 22 : 40 | charles pearce coady | november 4, 1913 | march 3, 1921 | democratic | None row 23 : 41 | john boynton philip clayton | march 4, 1921 | march 3, 1927 | republican | None row 24 : 43 | thomas d'alesandro | january 3, 1939 | may 16, 1947 | democratic | resigned to become mayor of balti row 25 : 44 | edward garmatz | july 15, 1947 | january 3, 1973 | democratic | None row 26 : 45 | paul sarbanes | january 3, 1973 | january 3, 1977 | democratic | redistricted from the 4th district row 27 : 46 | barbara mikulski | january 3, 1977 | january 3, 1987 | democratic | None row 28 : 47 | benjamin cardin | january 3, 1987 | january 3, 2007 | democratic | None ] Execute this SQL based on the above table: select name where = 43
thomas d'alesandro, jr
[ header: title | release date | developer(s) | publisher(s) | genre(s) row 1 : 187 ride or die | 2005-08-23 | ubisoft | ubisoft | driving row 2 : 50 cent: bulletproof | 2005-11-17 | genuine games | sierra entertainment | None row 3 : 50 cent: blood on the sand | 2009-02-20 | swordfish studios | thq | None row 4 : 25 to life | 2006-01-17 | avalanche software, ritual entertainment | eidos interactive | None row 5 : gangland (video game) | 2004-02-14 | mediamobsters | whiptail interactive | None row 6 : gangsters: organized crime | 1998-11-30 | hothouse creations | eidos interactive | None row 7 : gangsters 2 | 2001-06-01 | hothouse creations | eidos interactive | None row 8 : the godfather: the game | 2006-03-21 | ea redwood shores | electronic arts | None row 9 : the godfather ii | 2009-04-07 | ea redwood shores | electronic arts | None row 10 : grand theft auto iii | 2001-10-22 | dma design | rockstar games | None row 11 : grand theft auto: vice city | 2002-10-22 | rockstar north | rockstar games | None row 12 : grand theft auto: san andreas | 2004-10-24 | rockstar north | rockstar games | None row 13 : mafia: the city of lost heaven | 2002-08-28 | illusion softworks | gathering of developers | None row 14 : mafia ii | 2010-08-24 | 2k czech, massive bear studio | 2k games, 1c company | None row 15 : mob rule | 1999-9-30 | simon & schuster interactive | studio 3 interactive | None row 16 : saints row | 2006-08-29 | volition | thq | None row 17 : saints row 2 | 2008-10-14 | volition, inc | thq | None row 18 : omerta - city of | 2013-01-31 | haemimont games | kalypso media | building simulation, rpg ] Execute this SQL based on the above table: select developer(s) order by publisher(s) asc limit 1
2k czech, massive bear studios
[ header: office | name | dates | notes row 1 : economic secretary to the treasury | john edwards | 19 october 1950 | None row 2 : lords of the treasur | joseph henderson | 4 august 1945 - 1 january | None row 3 : parliamentary secretary to the ministry of agriculture and fish | the earl of huntingdon | 4 august 1945 - 22 november 1950 | None row 4 : parliamentary secretary to the ministry of agriculture and fish | george brown | 7 october 1947 - 26 | None row 5 : under-secretary of state for air | john strachey | 4 august 1945 | None row 6 : minister of aircraft production | john wilmot | 4 august 1945 | office abolished 1 april 1946 row 7 : minister of civil aviation | the lord ogmore | 1 june 1951 | None row 8 : parliamentary secretary to the minister of food | edith summerskill | 4 august 1945 | None row 9 : parliamentary secretary to the minister of food | stanley evans | 2 march 1950 | None row 10 : parliamentary secretary to the minister of fuel and power | harold neal | 26 april 1951 | None row 11 : parliamentary secretary to the ministry of health | charles key | 4 august 1945 | None row 12 : secretary of state for india and burma | the lord pethick-lawr | 3 august 1945 | None row 13 : minister of information | the earl of listowel | 26 february 1946 | office abolished 31 march 1946 row 14 : minister of labour and national service | alfred robens | 24 april 1951 | None row 15 : chancellor of the duchy of lan | the viscount alexander of hillsborough | 28 february 1950 | None row 16 : minister of national insurance | edith summerskill | 28 february 1950 | None row 17 : minister for pensions | wilfred paling | 3 august 1945 | None row 18 : minister for pensions | george isaacs | 17 january 1951 | None row 19 : postmaster general | the earl of listowel | 4 august 1945 | None row 20 : assistant postmaster general | wilfrid burke | 10 august 1945 | None row 21 : under-secretary of state for scot | george buchanan | 4 august 1945 - 7 octo | None row 22 : under-secretary of state for scot | margaret herbison | 2 march 1950 - 26 octo | None row 23 : president of the board of trade | harold wilson | 29 september 1947 | None row 24 : parliamentary secretary to the board of trade | john edwards | 1 february 1949 | None row 25 : secretary for overseas trade | hilary marquand | 4 august 1945 | None row 26 : secretary of state for war | jack lawson | 3 august 1945 | None row 27 : under-secretary of state for war | the lord pakenham | 4 october 1946 - 17 | office combined with financial secretary row 28 : minister of works | george brown | 26 april 1951 | None row 29 : vice-chamberlain of the household | ernest popplewell | 16 october 1947 | None row 30 : captain of the yeomen of the | the lord shepherd | 6 july 1949 | None row 31 : lords in waiting | the lord pakenham | 14 october 1945 - 4 | None ] Execute this SQL based on the above table: select dates where office = 'economic secretary to the treasury'
19 october 1950
[ header: s.no. | name of kingdom | name of king | no. of villages | capital | names of districts row 1 : 1 | sihag | chokha singh | 150 | suin | rawatsar, baramsar, row 2 : 2 | beniwal | raisal singh | 150 | rasalana | bhukarka, sand row 3 : 3 | johiya | sher singh | 600 | bhurupal | jaitpur, kumanu, ma row 4 : 4 | punia | kanha singh | 300 | luddi | bhadra, ajitpura row 5 : 5 | saharan | pula singh | 300 | bhadang | khejra, phoglo row 6 : 6 | godara | pandu singh | 700 | shekhsar | shekhsar, pundrasar row 7 : 7 | kaswan | kanwarpal singh | 400 | sidhmukh | None ] Execute this SQL based on the above table: select names of districts where s.no. = ( select s.no. where capital = 'rasalana' ) - 1
rawatsar, baramsar, purabsar dandusar, gandaisi
[ header: year | vidhan sabha | members of legislative assembly | winning party | nearest contesting party row 1 : 1951 | 01st vidhan sab | shri hari prasad | sop | inc row 2 : 1957 | 02nd vidhan sabha | shri bhihari lal | psp | inc row 3 : 1962 | 03rd vidhan sab | shri durga prasad | inc | psp row 4 : 1967 | 04th vidhan sabha | shri munendra pal singh | psp | bjs row 5 : 1969 | 05th vidhan sab | shri tej bhah | bkd | bjs row 6 : 1974 | 06th vidhan sabha | shri tej bhah | inc | bjs row 7 : 1977 | 07th vidhan sabha | shri munendra pal singh | jnp | inc row 8 : 1980 | 08th vidhan sabha | shri tej bhah | inc | jnp row 9 : 1985 | 09th vidhan sabha | shri tej bhah | inc | jnp row 10 : 1989 | 10th vidhan sabha | shri harish kumar | jnp | bjp row 11 : 1991 | 11th vidhan sabha | shri ram saran verm | bjp | inc row 12 : 1993 | 12th vidhan sabha | shri ram saran verm | bjp | inc row 13 : 1996 | 13th vidhan sabha | shri anish ahemd k | bsp | bjp row 14 : 2002 | 14th vidhan sabha | shri anish ahemd k | bsp | bjp row 15 : 2007 | 15th vidhan sabha | shri anish ahemd k | bsp | bjp row 16 : 2012 | 16th vidhan sabha | shri ram saran verm | bjp | inc ] Execute this SQL based on the above table: select members of legislative assembly order by id desc limit 1
shri ram saran verma
[ header: component | model 01 | model 01+ | model 02 | model e2 | model 2+ (pre-production) | model 03 (china copy) row 1 : cpu | transmeta crusoe 1 g | transmeta crusoe 1 g | via c7m ulv 1.6 | via c7m ulv 1.6 | intel atom z540 1.86 | intel atom z550 1.2 row 2 : ram | 256mb ddr | 512mb ddr | 1gb ddr2 | 1gb ddr2 | 2gb ddr2 | 2gb ddr2 row 3 : hard drive | 20gb hdd | 30gb hdd | 120gb hdd or 64g | 120gb hdd or 64g | 120gb hdd or 64g | 120gb hdd or 64g row 4 : display | 5" transflective 800x480 l | 5" transflective 800x480 l | 5" 800x480 lcd | 5" 800x480 lcd | 5" active matrix 800x480 oled | 4.8" active matrix 1024x600 row 5 : usb | 1.1 | 2 | 2 | 2 | 2 | 2 row 6 : wi-fi | 802.11b | 802.11b | 802.11a/b/g | 802.11a/b/g | 802.11a/b/g | 802.11a/b/g/n row 7 : wwan | None | None | evdo from sprint or veri | hsdpa | ev-do and hspa | hsdpa 3g row 8 : bluetooth | 1.1 | 1.1 | 2 | 2 | 2 | 2.1 row 9 : wacom | yes | yes (improved accuracy) | yes | yes | yes | None row 10 : gpu | silicon motion lynx 3dm | silicon motion lynx 3dm | via vx700 | via vx700 | intel gma500 | intel gma500 row 11 : removable battery | 4,000 mah or 8,000 mah | 4,000 mah or 8,000 mah | 4,500 mah or 9,000 mah | 4,500 mah or 9,000 mah | 4,500 mah or 9,000 mah | 4,500 mah or 9,000 mah row 12 : battery type | lithium polymer | lithium polymer | lithium ion polymer | lithium ion polymer | lithium ion polymer | None row 13 : docking cable | usb 1.1 | usb 2.0 | replaced by dongle or dock | replaced by dongle or dock | replaced by dongle or dock | replaced by dongle or dock row 14 : dock | zinc stand | zinc stand | gloss black w/ optical drive | gloss black w/ optical drive | gloss black w/ optical drive | gloss black w/ optical drive row 15 : ethernet | 10baset | 100baset | 100baset | 100baset | 100baset | 100baset row 16 : dongle | None | None | rj45 & vga | rj45 & vga | None | None row 17 : keyboard | 57 key | 57 key | 58 key | 58 key | 58 key | 58 key row 18 : weight | 397g | 397g | 413g | 413g | 413g | 426g ] Execute this SQL based on the above table: select model 03 (china copy) where model 01 < 748
2gb ddr2, 120gb hdd or 64gb ssd, 4.8" active matrix 1024x600 oled, 2, 2.1, 4,500 mah or 9,000 mah, 100baset, 58 key, 426g
[ header: year | nominated work | award | category | result row 1 : 1984 | what becomes a semi-legend most? | grammy award | best comedy album | nominated row 2 : 1990 | the joan rivers show | daytime emmy award | outstanding talk show host | won row 3 : 1991 | the joan rivers show | daytime emmy award | outstanding talk show host | nominated row 4 : 1992 | the joan rivers show | daytime emmy award | outstanding writing - special class | nominated row 5 : 1992 | the joan rivers show | daytime emmy award | outstanding talk show host | nominated row 6 : 1993 | the joan rivers show | daytime emmy award | outstanding writing - special class | nominated row 7 : 1993 | the joan rivers show | daytime emmy award | outstanding talk show host | nominated row 8 : 1994 | sally marr...and her esc | tony award | best actress in a play | nominated row 9 : 2009 | arthur | daytime emmy award | outstanding performer in an animated program | nominated ] Execute this SQL based on the above table: select award order by year desc limit 1
daytime emmy award
[ header: rank | country | winners | runners-up | finals total row 1 : 1 | spain | 17 | 8 | 25 row 2 : 2 | germany east germany | 11 1 12 | 10 3 13 | 21 4 25 row 3 : 3 | soviet union russia | 2 1 3 | 1 0 1 | 3 1 4 row 4 : 4 | hungary | 2 | 3 | 5 row 5 : 5 | belarus | 2 | 0 | 2 row 6 : 6 | france | 1 | 3 | 4 row 7 : 7 | sweden | 0 | 2 | 2 row 8 : 8 | bosnia & herzegov | 0 | 1 | 1 row 9 : 8 | croatia | 0 | 1 | 1 row 10 : 8 | czech republic | 0 | 1 | 1 row 11 : 8 | denmark | 0 | 1 | 1 row 12 : 8 | romania | 0 | 1 | 1 row 13 : 8 | serbia | 0 | 1 | 1 row 14 : 8 | switzerland | 0 | 1 | 1 row 15 : total | total | 37 | 37 | 74 ] Execute this SQL based on the above table: select rank group by rank order by count ( * ) desc limit 1
8
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 3 | michael schumacher | ferrari | 71 | 1:34:45.026 | 2 | 10 row 2 : 2 | 4 | eddie irvine | ferrari | 71 | 19.575 | 4 | 6 row 3 : 3 | 8 | mika hakkinen | mclaren-mercedes | 71 | 19.747 | 1 | 4 row 4 : 4 | 1 | jacques villeneuve | williams-mecachrome | 71 | +1:06.965 | 5 | 3 row 5 : 5 | 6 | alexander wurz | benetton-playlife | 70 | +1 lap | 10 | 2 row 6 : 6 | 7 | david coulthard | mclaren-mercedes | 70 | +1 lap | 3 | 1 row 7 : 7 | 14 | jean alesi | sauber-petronas | 70 | +1 lap | 11 | None row 8 : 8 | 15 | johnny herbert | sauber-petronas | 70 | +1 lap | 13 | None row 9 : 9 | 5 | giancarlo fisichella | benetton-playlife | 70 | +1 lap | 9 | None row 10 : 10 | 18 | rubens barrichello | stewart-ford | 69 | +2 laps | 14 | None row 11 : 11 | 11 | olivier panis | prost-peugeot | 69 | +2 laps | 16 | None row 12 : 12 | 19 | jos verstappen | stewart-ford | 69 | +2 laps | 15 | None row 13 : 13 | 17 | mika salo | arrows | 69 | +2 laps | 19 | None row 14 : 14 | 16 | pedro diniz | arrows | 69 | +2 laps | 17 | None row 15 : 15 | 2 | heinz-harald frent | williams-mecachrome | 68 | suspension | 8 | None row 16 : 16 | 10 | ralf schumacher | jordan-mugen-honda | 68 | +3 laps | 6 | None row 17 : 17 | 22 | shinji nakano | minardi-ford | 65 | engine | 21 | None row 18 : ret | 21 | toranosuke takagi | tyrrell-ford | 60 | engine | 20 | None row 19 : ret | 12 | jarno trulli | prost-peugeot | 55 | spun off | 12 | None row 20 : ret | 23 | esteban tuero | minardi-ford | 41 | gearbox | 22 | None row 21 : ret | 9 | damon hill | jordan-mugen-honda | 19 | hydraulics | 7 | None row 22 : ret | 20 | ricardo rosset | tyrrell-ford | 16 | hydraulics | 18 | None ] Execute this SQL based on the above table: select constructor where constructor != 'mclaren-mercedes' and driver = 'mika salo'
arrows
[ header: episode | original broadcast date | average | rank | remarks row 1 : 1 | 8 april 2012 | 1 | 5 | this includes bloopers row 2 : 2 | 15 april 2012 | 0.91 | 5 | None row 3 : 3 | 22 april 2012 | 0.92 | 5 | None row 4 : 4 | 29 april 2012 | 0.76 | 3 | None row 5 : 5 | 6 may 2012 | 0.67 | 3 | None row 6 : 6 | 13 may 2012 | 0.67 | 3 | None row 7 : 7 | 20 may 2012 | 0.64 | 3 | None row 8 : 8 | 27 may 2012 | 0.7 | 2 | None row 9 : 9 | 3 june 2012 | 0.58 | 4 | None row 10 : 10 | 10 june 2012 | 0.6 | 3 | None row 11 : 11 | 17 june 2012 | 0.81 | 2 | None row 12 : 12 | 24 june 2012 | 0.66 | 3 | None row 13 : 13 | 1 july 2012 | 0.86 | 3 | None row 14 : average | average | 0.75 | None | None ] Execute this SQL based on the above table: select ( select average where episode = 5 ) > ( select average where episode = 10 )
1
[ header: | year | city | country | date | venue | no. of events | no. of athletes row 1 : 1st | 2000 | monterrey | mexico | august 3-5 | universidad autonoma de nuevo | 45 | 184 row 2 : 2nd | 2002 | san antonio | united states | august 9-11 | e.m. stevens stadium | 45 | 245 row 3 : 3rd | 2004 | sherbrooke | canada | july 30 - august 1 | universite de sherbrooke stadium | 42 | 243 row 4 : 4th | 2006 | santo domingo | dominican republic | july 7-9 | estadio felix san | 44 | 373 row 5 : 5th | 2008 | toluca | mexico | july 18-20 | estadio universitario alber | 44 | None row 6 : 6th | 2010 | miramar | united states | july 9-11 | ansin sports complex | 44 | None row 7 : 7th | 2012 | irapuato | mexico | july 6-8 | centro paralimpico nacional | 44 | None row 8 : 8th | 2014 | kamloops | canada | august 8-10 | hillside stadium | None | None ] Execute this SQL based on the above table: select count ( * ) where venue = 'universite de sherbrooke stadium'
1
[ header: school | location | control | type | enrollment | founded row 1 : air force institute of technology | wright-patterson af | public | dru | 719 | 1919 row 2 : california institute of technology | pasadena, californi | private | ru/vh | 2231 | 1891 row 3 : california polytechnic state | san luis obispo, | public | master's l | 18762 | 1901 row 4 : california state polytechnic | pomona, california | public | master's l | 22273 | 1938 row 5 : clarkson university | potsdam, ny | private | ru/h | 3187 | 1896 row 6 : colorado school of mines | golden, colorado | public | ru/h | 4296 | 1874 row 7 : colorado technical university | colorado springs, colorad | private | dru | 30020 | 1965 row 8 : florida institute of technology | melbourne, florida | private | dru | 8985 | 1958 row 9 : georgia institute of technology | atlanta, georgia | public | ru/vh | 20487 | 1885 row 10 : illinois institute of technology | chicago, illinois | private | ru/h | 7787 | 1890 row 11 : massachusetts institute of technology | cambridge, massachusetts | private | ru/vh | 10894 | 1861 row 12 : michigan technological university | houghton, michigan | public | ru/h | 6957 | 1885 row 13 : missouri university of science and technology | rolla, missouri | public | ru/h | 7521 | 1870 row 14 : montana tech of the university of montan | butte, montana | public | bac/diverse | 2694 | 1900 row 15 : new jersey institute of technology | newark, new jersey | private | ru/h | 9558 | 1881 row 16 : new mexico institute of mining and technology | socorro, new mexico | public | master's m | 1921 | 1889 row 17 : oregon institute of technology | klamath falls, oregon | public | bac/diverse | 3927 | 1947 row 18 : polytechnic institute of new york university | brooklyn, new york | private | ru/h | 4514 | 1854 row 19 : rensselaer polytechnic institute | troy, new york | private | ru/vh | 7521 | 1824 row 20 : rochester institute of technology | henrietta, new york | private | master's l | 17652 | 1829 row 21 : rose-hulman institute of technology | terre haute, indiana | private | spec/engg | 1970 | 1874 row 22 : south dakota school of mines and technology | rapid city, south dakota | public | spec/engg | 2354 | 1885 row 23 : southern polytechnic state university | marietta, georgia | public | master's m | 6202 | 1948 row 24 : stevens institute of technology | hoboken, new jersey | private | ru/h | 5260 | 1870 row 25 : texas tech university | lubbock, texas | public | ru/h | 32327 | 1923 row 26 : university of wisconsin-stout | menomonie, wisconsin | public | master's l | 9339 | 1891 row 27 : virginia polytechnic institute and state university | blacksburg, virginia | public | ru/vh | 30739 | 1872 ] Execute this SQL based on the above table: select location where location in ( 'potsdam, ny' , 'butte, montana' ) order by founded desc limit 1
butte, montana
[ header: year | laetare medalist | position row 1 : 1884 | patrick charles keely | architect row 2 : 1889 | anna hanson dorsey | novelist row 3 : 1890 | william j. onahan | organizer of the american catholic congress row 4 : 1892 | henry f. brownson | philosopher and author row 5 : 1899 | mary gwendolin caldwell | philanthropist row 6 : 1906 | francis j. quinlan | physician row 7 : 1908 | james c. monaghan | economist row 8 : 1911 | agnes repplier | author row 9 : 1913 | charles george herbermann | editor of the catholic encyclopedia row 10 : 1916 | james joseph wals | physician and author row 11 : 1917 | admiral william shepherd benson | chief of naval operations row 12 : 1922 | charles patrick neill | economist row 13 : 1923 | walter george smith | lawyer row 14 : 1924 | charles donagh maginnis | architect row 15 : 1925 | albert francis zahm | scientist row 16 : 1927 | margaret anglin | actress row 17 : 1932 | stephen j. maher | physician row 18 : 1936 | richard reid | journalist and lawyer row 19 : 1941 | william thomas wals | journalist and author row 20 : 1942 | helen constance white | author and teacher row 21 : 1944 | anne o'hare mc | journalist row 22 : 1945 | gardiner howland shaw | diplomat row 23 : 1947 | william g. bruce | publisher and civic leader row 24 : 1950 | general joseph l. collin | soldier row 25 : 1952 | thomas e. murray | member of the u.s. atomic row 26 : 1953 | i.a. o'sh | philanthropist row 27 : 1956 | general alfred m. gruent | soldier row 28 : 1958 | frank m. folsom | industrialist row 29 : 1964 | phyllis mcginley | poet row 30 : 1966 | patrick f. & patricia car | founders of the christian movement row 31 : 1967 | j. peter grace | industrialist row 32 : 1968 | robert sargent shriver | diplomat row 33 : 1977 | mike mansfield | former senate majority leader row 34 : 1979 | helen hayes | actress row 35 : 1980 | thomas p. (tip) | speaker of the house row 36 : 1982 | john francis cardinal dearden | archbishop emeritus of row 37 : 1984 | john t. noonan, j | lawyer row 38 : 1990 | sister thea bowman (posthumously) | educator row 39 : 1996 | sister helen prejean | death penalty abolitionist row 40 : 1998 | dr. edmund | medical ethicist and educator row 41 : 1999 | philip gleason | professor emeritus of history, notre row 42 : 2008 | martin sheen | actor row 43 : 2009 | not awarded (see below) | None row 44 : 2010 | dana gioia | former chairman of national endowment for the arts row 45 : 2011 | sister mary scullion, r | social advocates ] Execute this SQL based on the above table: select count ( laetare medalist ) where position = 'speaker of the house'
1
[ header: number | date | name | age (at execution) | age (at offense) | race | state | method row 1 : 1 | november 2, 1984 | velma margie barfield | 52 | 45 | white | north carolina | lethal injection row 2 : 2 | february 3, 1998 | karla faye t | 38 | 23 | white | texas | lethal injection row 3 : 3 | march 30, 1998 | judias v. buen | 54 | 28 | white | florida | electrocution row 4 : 4 | february 24, 2000 | betty lou beets | 62 | 46 | white | texas | lethal injection row 5 : 5 | may 2, 2000 | christina marie riggs | 28 | 26 | white | arkansas | lethal injection row 6 : 6 | january 11, 2001 | wanda jean allen | 41 | 29 | black | oklahoma | lethal injection row 7 : 7 | may 1, 2001 | marilyn kay plantz | 40 | 27 | white | oklahoma | lethal injection row 8 : 8 | december 4, 2001 | lois nadean smith | 61 | 41 | white | oklahoma | lethal injection row 9 : 9 | may 10, 2002 | lynda lyon block | 54 | 45 | white | alabama | electrocution row 10 : 10 | october 9, 2002 | aileen carol wuor | 46 | 33 | white | florida | lethal injection row 11 : 11 | september 14, 2005 | frances elaine newton | 40 | 21 | black | texas | lethal injection row 12 : 12 | september 23, 2010 | teresa wilson bean | 41 | 33 | white | virginia | lethal injection row 13 : 13 | june 26, 2013 | kimberly lagayle | 52 | 36 | black | texas | lethal injection row 14 : 14 | february 5, 2014 | suzanne margaret basso | 59 | 44 | white | texas | lethal injection ] Execute this SQL based on the above table: select name where age (at execution) > ( select age (at execution) where name = 'velma margie barfield' )
judias v. buenoano, betty lou beets, lois nadean smith, lynda lyon block, suzanne margaret basso
[ header: no. | title | directed by | written by | original air date row 1 : 1 | "reunion" | bryan spicer | patrick massett & john | january 27, 2003 row 2 : 2 | "antarctica" | perry lang | patrick massett & john | february 3, 2003 row 3 : 3 | "skulls" | adam nimoy | patrick massett & john | february 10, 2003 row 4 : 4 | "heist" | rick kolbe | rick kellard | march 10, 2003 row 5 : 5 | "the wheel of dharma" | r. w. goodwin | stephanie bloch-chambers | None row 6 : 6 | "sangraal" | perry lang | gabrielle stanton & harry | None row 7 : 7 | "mummy virus" | vern gillum | rick kellard & thani | None row 8 : 8 | "name of god" | michael nankin | brad falchuk | None row 9 : 9 | "devil's child" | tom wright | thania st. john | None row 10 : 10 | "avalon" | dwight little | i. c. rapoport | None row 11 : 11 | "the lost codex" | tom wright | gabrielle stanton & harry | None row 12 : 12 | "eternal" | fred gerber | thania st. john | None row 13 : 13 | "helmholtz resonance" | larry shaw | patrick massett & john | None ] Execute this SQL based on the above table: select written by where no. > ( select no. where written by = 'rick kellard & thania st. john' )
brad falchuk, thania st. john, i. c. rapoport, gabrielle stanton & harry werksman, jr, thania st. john & chad hodge, patrick massett & john zinman
[ header: term (french) | description | temperature range | temperature range | usda recommended row 1 : extra-rare or blue (bleu) | very red and cold | 46-49 °c | 115-120 °f | None row 2 : rare (saignant) | cold red center; soft | 52-55 °c | 125-130 °f | None row 3 : medium rare (a point) | warm red center; firmer | 55-60 °c | 130-140 °f | 145 °f row 4 : medium (demi-anglais) | pink and firm | 60-65 °c | 140-150 °f | 160 °f row 5 : medium well (cuit) | small amount of pink in the center | 65-69 °c | 150-155 °f | None row 6 : well done (bien cuit) | gray-brown throughout; firm | 71-100 °c | 160-212 °f | 170 °f row 7 : over cooked (trop cuit, carbonise | blacken throughout; hard | > 100 °c | > 212 °f | 300 °f ] Execute this SQL based on the above table: select description order by description desc limit 1
warm red center; firmer
[ header: date | name | nationality | tonnage (grt) | fate row 1 : 7 october 1941 | svend foyn | united kingdom | 14795 | damaged row 2 : 16 february 1942 | monagas | venezuela | 2650 | sunk row 3 : 16 february 1942 | san nicholas | united kingdom | 2391 | sunk row 4 : 16 february 1942 | tia juana | united kingdom | 2395 | sunk row 5 : 22 february 1942 | j.n.pew | united states | 9033 | sunk row 6 : 23 february 1942 | sun | united states | 9002 | damaged row 7 : 23 february 1942 | thalia | panama | 8329 | sunk row 8 : 11 may 1942 | cape of good hope | united kingdom | 4963 | sunk row 9 : 24 may 1942 | goncalves dias | brazil | 4996 | sunk row 10 : 28 may 1942 | alcoa pilgrim | united states | 6759 | sunk row 11 : 3 june 1942 | m.f. elllio | united states | 6940 | sunk row 12 : 9 june 1942 | bruxelles | belgium | 5085 | sunk row 13 : 9 june 1942 | franklin k. lane | united states | 6589 | sunk row 14 : 15 june 1942 | cold harbor | panama | 5010 | sunk row 15 : 15 june 1942 | scottsburg | united states | 8010 | sunk row 16 : 15 june 1942 | west hardaway | united states | 5702 | sunk ] Execute this SQL based on the above table: select count ( name ) where tonnage (grt) >= 10
16
[ header: pollutant | units | emission standard | coal-fired | petroleum coke-fired row 1 : so2 | lb/mmbtu | ≤ 0.15 | 0.0-0.04 | 0.03-0.13 row 2 : nox | lb/mmbtu | ≤ 0.09 | 0.04-0.06 | 0.02 row 3 : solid particulate | lb/mmbtu | ≤ 0.011 | 0.004 | 0.007 row 4 : pm10 | lb/mmbtu | ≤ 0.011 | 0.006 | 0.004 row 5 : so3 | lb/hour | ≤ 1.1 | 0.43 | 0 row 6 : fluoride | lb/mmbtu | ≤ 1.57×10-4 | 1.06×10-4 | 0.95×10-4 row 7 : lead | lb/mmbtu | ≤ 2.6×10-5 | 0.56×10-5 | 0.59×10-5 row 8 : mercury | lb/mmbtu | ≤ 1.05×10-5 | 0.095×10-5 | 0.028×10-5 ] Execute this SQL based on the above table: select units where emission standard in ( select emission standard group by emission standard having count ( * ) > 1 )
lb/mmbtu, lb/mmbtu
[ header: sheriff | start of term row 1 : josiah hobart | 1683 row 2 : john mulford | 1701 row 3 : hugh gray | 1702 row 4 : john brush | 1710 row 5 : daniel youngs | 1718 row 6 : samuel dayton | 1723 row 7 : william sell | 1728 row 8 : joseph smith | 1730 row 9 : david corrie | 1731 row 10 : jacob conklin | 1734 row 11 : thomas higbe | 1740 row 12 : james muirson | 1774 row 13 : thomas wickes | 1785 row 14 : silas halsey | 1787 row 15 : thomas wickes | 1791 row 16 : phinaes carll | 1799 row 17 : josiah reeve | 1803 row 18 : phinaes smith | 1807 row 19 : josiah reeve | 1808 row 20 : benjamin brewster | 1810 row 21 : josiah reeve | 1811 row 22 : benjamin brewster | 1812 row 23 : nathaniel conklin | 1814 row 24 : josiah reeve | 1815 row 25 : samuel smith | 1826 row 26 : abraham gardiner | 1829 row 27 : richard smith | 1832 row 28 : silas horton | 1835 row 29 : samuel miller | 1838 row 30 : david brush | 1841 row 31 : henry penny | 1844 row 32 : david rose | 1847 row 33 : john clark | 1850 row 34 : samuel phillips | 1855 row 35 : george carman | 1856 row 36 : daniel osborn | 1862 row 37 : george smith | 1868 row 38 : j. henry perkins | 1871 row 39 : egbert lewis | 1874 row 40 : george cooper | 1877 row 41 : robert petty | 1888 row 42 : selah brewster | 1883 row 43 : henry halsey | 1886 row 44 : robert petty | 1888 row 45 : a. m. darling | 1891 row 46 : benjamin wood | 1897 row 47 : j. sheridan wells | 1900 row 48 : henry preston | 1903 row 49 : john wells | 1906 row 50 : charles platt | 1909 row 51 : melville brush | 1912 row 52 : d. henry brown | 1913 row 53 : charles o'dell | 1914 row 54 : john kelly | 1920 row 55 : amza biggs | 1923 row 56 : burton howe | 1926 row 57 : ellis taylor | 1929 row 58 : joseph warta | 1932 row 59 : william mccollom | 1935 row 60 : jacob dreyer | 1938 row 61 : john levy | 1941 row 62 : william mccollom | 1942 row 63 : charles dominy | 1957 row 64 : frank gross | 1962 row 65 : philip corso | 1970 row 66 : donald dilworth | 1976 row 67 : john finnerty | 1977 row 68 : eugene dooley | 1986 row 69 : patrick mahoney | 1990 row 70 : alfred c. tisch | 2002 row 71 : vincent f. demarco | 2006 ] Execute this SQL based on the above table: select count ( distinct sheriff ) where start of term >= 1711
60
[ header: episode | name | synopsis | sent home | highest seller row 1 : 1 | vegas meltdown | nine aspiring restaurateurs arrive in las | ammerah, kimmy | patrick row 2 : 2 | tantrum in temecula | the restaurant express bus arrives in temecula, | johnathan | eric row 3 : 3 | express: impossible | the restaurant express bus arrives in los angeles | bianca | none row 4 : 4 | battle by the beach | the restaurant express bus arrives at the iconic balb | patrick | eric row 5 : 5 | going, going, gone! | the remaining four contestants are given their biggest budget | eric | adam row 6 : 6 | the truck stops here! | the three remaining chefs are each given a food | none | adam row 7 : 7 | vegas or bust | jan and seonkyoung battle to | jan, adam | seonkyoung ] Execute this SQL based on the above table: select episode where name = 'the truck stops here!'
6
[ header: date | tournament | winner | purse ($) | notes row 1 : 25 feb | pinamar open | miguel rodriguez | 70000 | None row 2 : 3 mar | south open | rafael gomez | 100000 | None row 3 : 10 mar | parana open | julio zapata | 70000 | None row 4 : 8 apr | norpatagonico open | luciano dodda (amateur | None | pga argentina- no row 5 : 15 apr | center open | angel cabrera | 200000 | co-sanctioned by the row 6 : 22 apr | angel cabrera classic | rafael gomez | 120000 | None row 7 : 29 apr | chaco open | fabian gomez | 70000 | None row 8 : 9 jun | north open | ricardo gonzalez, | 80000 | None row 9 : 10 jul | metropolitano open | jose coceres | None | pga argentina- no row 10 : 11 aug | misiones open | sergio acevedo | 70000 | None row 11 : 19 aug | carlos franco invitational | marco ruiz | 93000 | None row 12 : 29 sep | salta open | andres romero | 80000 | None row 13 : 7 oct | tandil open | diego ortiz | 70000 | None row 14 : 27 oct | argentine masters | angel cabrera | 420000 | co-sanctioned by the row 15 : 4 nov | mendoza open | rafael echen | 80000 | None row 16 : 11 nov | roberto de vicenzo classic | miguel guzman | 120000 | None row 17 : 25 nov | san luis open | emilio dominguez | 450000 | co-sanctioned by the row 18 : 2 dec | abierto del litoral | miguel rodriguez | 520000 | co-sanctioned by the row 19 : 9 dec | argentine open | marco ruiz | 600000 | co-sanctioned by the ] Execute this SQL based on the above table: select notes order by purse ($) desc limit 1
co-sanctioned by the tla and challenge tour
[ header: release | artist | title | notes | album row 1 : 2004 | hiroshi itsuki feat. | deigo to hanasu ( | None | onna no ehon row 2 : 2005 | chikuzen sato with | boku no mune de oya | features on "rimits: best duet songs | the selection of cornerstones 1995-2004 row 3 : 2005 | rimi natsukawa | 'aa koshien' | None | ningen manyoka: y row 4 : 2005 | kaoru kurosawa duet | manten no hoshi no yoru | features on "rimits: best duet songs | love anthem row 5 : 2006 | andrea bocelli duet with rim | somos novios (ai no | features on "umui kaji" | amore (japanese edition row 6 : 2008 | taiyo yamazawa | utabito (歌人 singer?) | None | music tree row 7 : 2009 | chage with rimi natsu | boku wa do kana (僕はとうかな what | None | many happy returns row 8 : 2009 | rimi natsukawa | tada sore dake ( | None | katsuhisa hattori ] Execute this SQL based on the above table: select album order by release desc limit 1
many happy returns
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | russia | 8 | 12 | 10 | 30 row 2 : 2 | china | 7 | 4 | 2 | 13 row 3 : 3 | ukraine | 7 | 1 | 1 | 9 row 4 : 4 | poland | 3 | 4 | 2 | 9 row 5 : 5 | belarus | 2 | 2 | 2 | 6 row 6 : 6 | germany | 2 | 1 | 2 | 5 row 7 : 6 | south africa | 2 | 1 | 2 | 5 row 8 : 7 | australia | 2 | 1 | 1 | 4 row 9 : 8 | japan | 2 | 0 | 1 | 3 row 10 : 9 | france | 1 | 3 | 0 | 4 row 11 : 10 | romania | 1 | 2 | 2 | 5 row 12 : 11 | hungary | 1 | 2 | 1 | 4 row 13 : 12 | great britain | 1 | 1 | 2 | 4 row 14 : 12 | spain | 1 | 1 | 2 | 4 row 15 : 14 | morocco | 1 | 1 | 1 | 3 row 16 : 15 | brazil | 1 | 0 | 3 | 3 row 17 : 16 | czech republic | 1 | 0 | 2 | 3 row 18 : 17 | moldova | 1 | 0 | 0 | 1 row 19 : 18 | finland | 0 | 2 | 1 | 3 row 20 : 19 | estonia | 0 | 1 | 1 | 2 row 21 : 19 | north korea | 0 | 1 | 1 | 2 row 22 : 19 | south korea | 0 | 1 | 1 | 2 row 23 : 22 | denmark | 0 | 1 | 0 | 1 row 24 : 22 | ireland | 0 | 1 | 0 | 1 row 25 : 22 | jamaica | 0 | 1 | 0 | 1 row 26 : 22 | kazakhstan | 0 | 1 | 0 | 1 row 27 : 22 | uganda | 0 | 1 | 0 | 1 row 28 : 27 | croatia | 0 | 0 | 2 | 2 row 29 : 28 | canada | 0 | 0 | 1 | 1 row 30 : 28 | cyprus | 0 | 0 | 1 | 1 row 31 : 28 | italy | 0 | 0 | 1 | 1 row 32 : 28 | switzerland | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select abs ( nation - nation ) where bronze = 2
0, 0, 0, 0, 0, 0, 0, 0, 0, 0
[ header: res. | record | opponent | method | event | date | round | time | location | notes row 1 : win | 12-3 | mike hayes | ko (punch) | ksw 25: khali | december 7, 2013 | 1 | 1:12 | wrocław, poland | None row 2 : win | 11-3 | nick moghadden | tko (punches) | bellator 99 | september 13, 2013 | 1 | 3:22 | temecula, california | bellator debut row 3 : loss | 10-3 | guto inocente | decision (unanimous) | strikeforce: barnett vs. cor | may 19, 2012 | 3 | 5:00 | san jose, californ | light heavyweight debut row 4 : win | 10-2 | brett albee | tko (strikes) | strikeforce: diaz vs. | april 9, 2011 | 1 | 1:46 | san diego, californ | None row 5 : loss | 9-2 | lavar johnson | ko (punches) | strikeforce challengers: bowling v | october 22, 2010 | 1 | 2:17 | fresno, californ | None row 6 : win | 9-1 | eddie sapp | submission (rear-naked choke) | native fighting championship 6 | august 14, 2010 | 1 | 2:01 | campo, california, | None row 7 : loss | 8-1 | cody goodale | decision (unanimous) | gladiator challenge: maximum force | april 25, 2010 | 3 | 5:00 | san jacinto, cali | None row 8 : win | 8-0 | ovince st. preux | tko (punches) | top combat championship 1 | september 26, 2009 | 2 | 0:46 | san juan, puerto | None row 9 : win | 7-0 | william richey | decision (unanimous) | called out mma 1 | august 15, 2009 | 3 | 5:00 | ontario, california | None row 10 : win | 6-0 | buckley acosta | tko (punches) | gladiator challenge: venom | april 23, 2009 | 1 | 2:59 | pauma valley, californi | None row 11 : win | 5-0 | dave diaz | submission | gc 85: cross fire | october 25, 2008 | 1 | 1:41 | san diego, californ | None row 12 : win | 4-0 | abraham ramirez | tko (punches) | apocalypse fights | august 7, 2008 | 1 | None | None | None row 13 : win | 3-0 | ty montgomery | tko (punches) | galaxy productions | august 24, 2007 | 1 | 0:41 | california, united states | None row 14 : win | 2-0 | tom hubert | tko (doctor stoppage | total combat 10 | october 15, 2005 | 2 | 1:54 | san diego, californ | None row 15 : win | 1-0 | denis hall | tko (punches) | cff: cobra classic 9 | april 16, 2003 | 1 | 0:58 | anza, california, | None ] Execute this SQL based on the above table: select location where time = 0
san juan, puerto rico, california, united states, anza, california, united states
[ header: rank | athlete | ski time | penalties p+s+p+s | total row 1 : None | zhang qing (chn) | 59:53.2 | 1+1+0+1 | 1:02:53.2 row 2 : None | dmitriy pozdn | 1:01:01.0 | 0+2+0+0 | 1:03:01.0 row 3 : None | dmitriy pantov ( | 59:24.8 | 1+2+0+1 | 1:03:24.8 row 4 : 4 | hideki yamamoto (jpn) | 1:02:55.5 | 0+1+3+0 | 1:06:55.5 row 5 : 5 | qiu lianhai (ch | 1:03:18.9 | 1+1+0+2 | 1:07:18.9 row 6 : 6 | shin byung-gook (kor | 1:02:49.3 | 1+2+1+1 | 1:07:49.3 row 7 : 7 | son hae-kwon (kor) | 1:02:58.3 | 1+1+2+1 | 1:07:58.3 row 8 : 8 | wang xin (chn) | 1:04:42.4 | 2+1+1+1 | 1:09:42.4 row 9 : 9 | naoki shindo | 1:03:08.5 | 3+1+0+3 | 1:10:08.5 row 10 : 9 | jeon jae-won (kor) | 1:02:08.5 | 2+2+2+2 | 1:10:08.5 row 11 : 11 | alexey karevskiy ( | 1:03:28.8 | 3+1+1+2 | 1:10:28.8 row 12 : 12 | sergey abdukarov (kaz | 1:05:11.4 | 1+2+1+3 | 1:12:11.4 row 13 : 13 | takashi shindo ( | 1:01:15.0 | 3+3+2+4 | 1:13:15.0 row 14 : 14 | shinji ebisawa (jp | 1:04:13.6 | 3+3+1+3 | 1:14:13.6 row 15 : 15 | choi neung-chul | 1:08:50.6 | 3+2+0+1 | 1:14:50.6 row 16 : 16 | byamba enkh-amgalan | 1:15:20.4 | 4+5+2+2 | 1:28:20.4 ] Execute this SQL based on the above table: select rank where penalties p+s+p+s = '2+1+1+1'
8
[ header: model | frame | years mfg'd | caliber(s) | production | barrel | notes row 1 : remington-beals army model revolve | large | 1861-1862 | 0.44 | 1,900 (estimated) | 8 inch octagon | None row 2 : remington-beals navy model revolve | medium | 1861-1862 | 0.36 | 14,500 (estimated) | 7 1/2 inch octagon | None row 3 : 1861 army revolver (old model army) | large | 1862 | 0.44 | 6,000 (estimated) | 8 inch octagon | None row 4 : 1861 navy revolver | medium | 1862 | 0.36 | 7,000 (estimated) | 7 3/8 inch octagon | None row 5 : new model army revolver | large | 1863-1875 | 0.44 | 122,000 (approximately) | 8 inch octagon | used for factory conversions in .46 row 6 : new model navy revolver | medium | 1863-1875 | 0.36 | 28,000 (approximately) | 7 3/8 inch octagon | used for factory and u.s. navy row 7 : new model single action belt revolver | large | 1863-1875 | .36 percussion and .38 | 2,500 - 3,000 (estimated | 6 1/2 inch octagon | factory conversion production started in 1873 row 8 : remington-rider double action new | large | 1863-1873 | .36 percussion and .38 | 3,000 - 5,000 (estimated | 6 1/2 inch octagon | 1863-1865 available with fluted cylinder row 9 : new model police revolver | medium | 1865-1873 | .36 percussion and .38 | 25,000 (estimated) | 3 1/2, 4 1/2, 5 1/2, 6 | conversions all believed to be rimfire only row 10 : new model pocket revolver | medium | 1865-1873 | .31 percussion and .32 | 25,000 (estimated) | 3, 3 1/2, 4, 4 1/2 | majority produced as conversions or cartridge ] Execute this SQL based on the above table: select count ( production ) where years mfg'd = '1861-1862'
2
[ header: rank | airport | passengers handled | % change 2011 / 12 row 1 : 1 | netherlands - amsterdam | 105349 | None row 2 : 2 | united kingdom - belfast-international | 92502 | None row 3 : 3 | portugal - faro | 71676 | None row 4 : 4 | spain - barcelona | 66565 | None row 5 : 5 | spain - alicante | 64090 | None row 6 : 6 | spain - malaga | 59175 | None row 7 : 7 | ireland - dublin | 35524 | None row 8 : 8 | jersey - jersey | 35169 | 1128 row 9 : 9 | ireland - waterford | 31907 | 25 row 10 : 10 | spain - palma de mallorca | 27718 | None ] Execute this SQL based on the above table: select airport group by airport order by count ( airport ) desc limit 1
united kingdom - belfast-international
[ header: edition | year | men's winner | time (h:m:s) | women's winner | time (h:m:s) row 1 : 34th | 2013 | sean hehir (irl) | 2:18:19 | maria mccambridge (ir | 2:38:51 row 2 : 33rd | 2012 | geoffrey ndungu (ken) | 2:11:09 | magdalene mukunza ( | 2:30:46 row 3 : 29th | 2008 | andriy naumov (uk | 2:11:06 | larisa zyuzko | 2:29:55 row 4 : 26th | 2005 | dmytro osa | 2:13:14 | zinaida semenova (rus) | 2:32:53 row 5 : 25th | 2004 | lezan kipkosgei ki | 2:13:07 | yelena burykina ( | 2:32:53 row 6 : 24th | 2003 | onesmus musyoka kil | 2:17:03 | ruth kutol (ken) | 2:27:22 row 7 : 23rd | 2002 | frederick cherono (ken | 2:14:25 | lidiya vasilevskay | 2:32:58 row 8 : 17th | 1996 | joseph kahugu ( | 2:17:42 | cathy shum (irl | 2:38:56 row 9 : 16th | 1995 | william musyoki (ken | 2:16:57 | trudi thomson (g | 2:38:23 row 10 : 15th | 1994 | steve brace (gbr) | 2:17:13 | linda rushmere (gbr | 2:40:17 row 11 : 14th | 1993 | john treacy (irl) | 2:14:40 | cathy shum (irl | 2:38:14 row 12 : 13th | 1992 | jerry kiernan (i | 2:17:19 | karen cornwall (gbr) | 2:41:58 row 13 : 12th | 1991 | tommy hughes (gbr | 2:14:46 | christine kennedy (i | 2:35:56 row 14 : 11th | 1990 | john bolger (irl) | 2:17:17 | christine kennedy (i | 2:41:27 row 15 : 10th | 1989 | john griffin (irl) | 2:16:44 | pauline nolan (irl) | 2:44:32 row 16 : 9th | 1988 | john griffin (irl) | 2:16:02 | moira o'neill ( | 2:37:06 row 17 : 8th | 1987 | pavel klimes (tch) | 2:14:21 | carolyn naisby ( | 2:42:08 row 18 : 6th | 1985 | dick hooper (irl | 2:13:48 | julia gates (gbr | 2:41:26 row 19 : 5th | 1984 | svend-erik kristen | 2:18:25 | ailish smyth (i | 2:47:30 row 20 : 4th | 1983 | ronny agten (bel) | 2:14:19 | mary purcell (irl) | 2:46:09 row 21 : 2nd | 1981 | neil cusack (irl | 2:13:58 | emily dowling (ir | 2:48:22 ] Execute this SQL based on the above table: select year where edition = '24th'
2003
[ header: outcome | year | championship | surface | opponent | score row 1 : runner-up | 2002 | canada (toronto) (1) | hard | guillermo canas | 4-6, 5-7 row 2 : winner | 2003 | montreal | hard | david nalbandian | 6-1, 6-3 row 3 : winner | 2003 | cincinnati | hard | mardy fish | 4-6, 7-6(7-3), 7 row 4 : winner | 2004 | miami | hard | guillermo coria | 6-7(2-7), 6-3, 6 row 5 : runner-up | 2004 | toronto (2) | hard | roger federer | 5-7, 3-6 row 6 : runner-up | 2005 | cincinnati | hard | roger federer | 3-6, 5-7 row 7 : winner | 2006 | cincinnati (2) | hard | juan carlos ferrero | 6-3, 6-4 row 8 : runner-up | 2010 | indian wells | hard | ivan ljubicic | 6-7(3-7), 6-7(5-7 row 9 : winner | 2010 | miami (2) | hard | tomas berdych | 7-5, 6-4 ] Execute this SQL based on the above table: select surface where year < ( select year where surface = 'hard' and year = 2010 ) order by year desc limit 1
hard
[ header: team | year | regular season won | regular season lost | regular season win % | regular season finish | postseason won | postseason lost | postseason win % | postseason result row 1 : cle | 1991 | 32 | 53 | 0.376 | 7th in al east | None | None | None | None row 2 : cle | 1992 | 76 | 86 | 0.469 | 5th in al east | None | None | None | None row 3 : cle | 1993 | 76 | 86 | 0.469 | 6th in al east | None | None | None | None row 4 : cle | 1994 | 66 | 47 | 0.584 | 2nd in al central | None | None | None | no mlb postseason row 5 : cle | 1995 | 100 | 44 | 0.694 | 1st in al central | 9 | 6 | 0.6 | lost ws to atl row 6 : cle | 1996 | 99 | 62 | 0.615 | 1st in al central | 1 | 3 | 0.25 | lost lds to bal row 7 : cle | 1997 | 86 | 75 | 0.534 | 1st in al central | 10 | 8 | 0.556 | lost ws to fla row 8 : cle | 1998 | 89 | 73 | 0.549 | 1st in al central | 5 | 5 | 0.5 | lost lcs to nyy row 9 : cle | 1999 | 97 | 65 | 0.599 | 1st in al central | 2 | 3 | 0.4 | lost lds to bos row 10 : bal | 2000 | 74 | 88 | 0.457 | 4th in al east | None | None | None | None row 11 : bal | 2001 | 63 | 98 | 0.391 | 4th in al east | None | None | None | None row 12 : bal | 2002 | 67 | 95 | 0.414 | 4th in al east | None | None | None | None row 13 : bal | 2003 | 71 | 91 | 0.438 | 4th in al east | None | None | None | None row 14 : sea | 2005 | 69 | 93 | 0.426 | 4th in al west | None | None | None | None row 15 : sea | 2006 | 78 | 84 | 0.481 | 4th in al west | None | None | None | None row 16 : sea | 2007 | 45 | 33 | 0.571 | 2nd in al west | None | None | None | None row 17 : cle total | cle total | 721 | 591 | 0.55 | None | 27 | 25 | 0.519 | None row 18 : bal total | bal total | 275 | 372 | 0.425 | None | 0 | 0 | 0 | None row 19 : sea total | sea total | 192 | 210 | 0.478 | None | 0 | 0 | 0 | None row 20 : total | total | 1188 | 1173 | 0.503 | None | 27 | 25 | 0.519 | None ] Execute this SQL based on the above table: select regular season finish where id = ( select id where regular season finish = '4th in al east' ) + 1
4th in al east
[ header: # | wrestlers | reign | date | days held | location | notes row 1 : 1 | kuishinbo kamen | 1 | january 4, 2001 | 758 | osaka, japan | kamen defeated ebessan to row 2 : 2 | ebessan | 1 | february 1, 2003 | 56 | osaka, japan | None row 3 : 3 | pero | 1 | march 29, 2003 | 7 | osaka, japan | None row 4 : 4 | ebessan | 2 | april 5, 2003 | 92 | osaka, japan | None row 5 : 5 | tigers mask | 1 | july 6, 2003 | 90 | osaka, japan | None row 6 : None | vacant | None | october 4, 2003 | None | None | tigers mask vacated the title to row 7 : 6 | miracle man | 1 | december 7, 2003 | 55 | osaka, japan | miracle man won a 4-way match which included row 8 : 7 | ebessan | 3 | january 31, 2004 | 21 | osaka, japan | None row 9 : 8 | kuishinbo kamen | 2 | february 21, 2004 | 665 | osaka, japan | None row 10 : None | stripped | None | december 17, 2005 | None | None | kamen was stripped of the title due to row 11 : 9 | policeman | 1 | february 18, 2006 | 311 | osaka, japan | None row 12 : 10 | okita-kun | 1 | february 26, 2006 | 314 | osaka, japan | okita-kun won an eight row 13 : None | vacant | None | january 6, 2007 | None | None | okita-hun vacated row 14 : 11 | sgt. suchi | 1 | february 12, 2007 | 194 | osaka, japan | sgt. suchi is a row 15 : 12 | ebessan iii | 1 | august 25, 2007 | 113 | osaka, japan | None row 16 : 13 | kuishinbo kamen | 3 | december 16, 2007 | 84 | tokyo, japan | None row 17 : 14 | miracle man | 2 | march 9, 2008 | 51 | tokyo, japan | None row 18 : 15 | kanjyuro matsuyama | 1 | april 29, 2008 | 0 | tokyo, japan | matsuyama retires the title immediately after row 19 : 16 | kuishinbo kamen | 4 | april 29, 2010 | 59 | osaka, japan | kamen wins both the owarai championship row 20 : 17 | kyusei ninja ranmar | 1 | june 27, 2010 | 22 | osaka, japan | ranmaru wins both titles row 21 : 18 | kuishinbo kamen | 5 | july 19, 2010 | 1435 | osaka, japan | kamen wins both titles ] Execute this SQL based on the above table: select reign group by reign order by count ( date ) desc limit 1
1
[ header: class | name | company | residence | term expires dec 31 | notes row 1 : a | max t. wake | jones national bank & trust co | seward, nebraska | 2013 | None row 2 : a | vacancy | None | None | 2014 | None row 3 : a | david w. brownback | citizens state bank & trust company | ellsworth, kansas | 2015 | None row 4 : b | vacancy | None | None | 2013 | None row 5 : b | richard k. ratcliffe | ratcliffe's inc | weatherford, oklahoma | 2014 | None row 6 : b | john t. stout, | plaza belmont management group llc | shawnee mission, kans | 2015 | None row 7 : c | rose washington | otulsa economic development corporation | tulsa, oklahoma | 2013 | None row 8 : c | barbara mowry | gorecreek advisors | greenwood village, colorado | 2014 | chairman row 9 : c | steve maestas | nai maestas and | albuquerque, new mexico | 2015 | deputy chairman ] Execute this SQL based on the above table: select count ( term expires dec 31 ) where notes = 2014 and residence = 1782
0
[ header: # | weekend end date | film | weekend gross (millions) | notes row 1 : 1 | january 6, 2008 | national treasure: book of secrets | $1.65 | None row 2 : 3 | january 20, 2008 | cloverfield | $2.26 | None row 3 : 4 | january 27, 2008 | rambo | $1.71 | meet the spartans was #1 in north row 4 : 6 | february 10, 2008 | fool's gold | $1.55 | None row 5 : 7 | february 17, 2008 | jumper | $2.06 | None row 6 : 8 | february 24, 2008 | vantage point | $1.55 | None row 7 : 11 | march 16, 2008 | horton hears a who! | $2.89 | None row 8 : 12 | march 23, 2008 | horton hears a who! | $1.99 | None row 9 : 13 | march 30, 2008 | 21 | $2.17 | None row 10 : 14 | april 6, 2008 | 21 | $1.63 | None row 11 : 15 | april 13, 2008 | prom night | $1.25 | None row 12 : 18 | may 4, 2008 | iron man | $7.49 | None row 13 : 19 | may 11, 2008 | iron man | $3.93 | None row 14 : 20 | may 18, 2008 | the chronicles of narnia: prince | $4.11 | None row 15 : 21 | may 25, 2008 | indiana jones and the kingdom of | $7.00 | None row 16 : 22 | june 1, 2008 | sex and the city | $4.88 | None row 17 : 26 | june 29, 2008 | wanted | $3.10 | wall-e was #1 in north america row 18 : 27 | july 6, 2008 | hancock | $3.67 | None row 19 : 28 | july 13, 2008 | hellboy ii: the golden army | $2.50 | None row 20 : 29 | july 20, 2008 | the dark knight | $10.53 | the dark knight had the highest weekend debut of 2008 row 21 : 31 | august 3, 2008 | the dark knight | $3.65 | None row 22 : 32 | august 10, 2008 | the dark knight | $2.39 | None row 23 : 33 | august 17, 2008 | tropic thunder | $2.11 | None row 24 : 34 | august 24, 2008 | tropic thunder | $1.45 | None row 25 : 35 | august 31, 2008 | tropic thunder | $1.48 | None row 26 : 37 | september 14, 2008 | burn after reading | $1.75 | None row 27 : 38 | september 21, 2008 | burn after reading | $1.15 | lakeview terrace was #1 in north america row 28 : 39 | september 28, 2008 | eagle eye | $2.20 | None row 29 : 40 | october 5, 2008 | eagle eye | $1.16 | beverly hills chihuah row 30 : 41 | october 12, 2008 | body of lies | $1.18 | beverly hills chihuah row 31 : 42 | october 19, 2008 | max payne | $1.50 | None row 32 : 44 | november 2, 2008 | zack & miri make a | $1.53 | high school musical 3: senior year was #1 in row 33 : 46 | november 16, 2008 | quantum of solace | $7.64 | None row 34 : 47 | november 23, 2008 | twilight | $5.30 | None row 35 : 49 | december 7, 2008 | twilight | $1.52 | four christmases was #1 in north america row 36 : 50 | december 14, 2008 | the day the earth stood still | $1.81 | None row 37 : 51 | december 21, 2008 | yes man | $1.22 | None row 38 : 52 | december 28, 2008 | the curious case of benjamin button | $2.22 | marley & me was #1 in north ] Execute this SQL based on the above table: select film where weekend end date = 'june 29, 2008' and # < 51
wanted
[ header: title | year | director | country | genre | notes row 1 : 101 reykjavik | 2000 | baltasar kormakur | iceland | comedy | None row 2 : big eden | 2000 | thomas bezucha | united states | romantic drama | None row 3 : billy elliot | 2000 | stephen daldry | england france | comedy drama | None row 4 : borstal boy | 2000 | peter sheridan | england ireland | romantic drama | None row 5 : chuck & buck | 2000 | miguel arteta | united states | comedy drama | None row 6 : citizens of perpetual indulgence | 2000 | alex monty canawati | united states | drama | None row 7 : doors cut down | 2000 | antonio hens | spain | short comedy | aka en malas companias row 8 : faites comme si je n'eta | 2000 | olivier jahan | france | drama | None row 9 : the girl | 2000 | sande zeig | united states france | romantic drama | None row 10 : an intimate friendship | 2000 | angela evers hughey | united states | romance, drama | None row 11 : the iron ladies (satree lek | 2000 | youngyooth thongkonthun | thailand | comedy | based on a true story of a row 12 : just a question of love | 2000 | christian faure | france belgium | drama | None row 13 : km. 0 | 2000 | yolanda garcia serran | spain | romantic comedy drama | None row 14 : the legend of rita | 2000 | volker schlondorff | germany | romantic drama | None row 15 : marlene | 2000 | joseph vilsmaier | germany italy | biography drama music | None row 16 : mercy | 2000 | damian harris | united states | mystery, thriller | None row 17 : the monkey's mask | 2000 | samantha lang | australia | crime thriller | None row 18 : the next best thing | 2000 | john schlesinger | united states | romantic comedy drama | None row 19 : no one sleeps | 2000 | jochen hick | germany | drama, mystery | None row 20 : once in a lifetime | 2000 | susanne bier | denmark sweden | music comedy drama | None row 21 : our lady of the assassins | 2000 | barbet schroeder | spain france colombia | romantic crime drama | aka la virgen de los s row 22 : the perfect son | 2000 | leonard farlinger | canada | drama | None row 23 : the phantom | 2000 | joao pedro rodr | portugal | drama | aka o fantasma row 24 : presque rien | 2000 | sebastien lifshitz | france belgium | romantic drama | aka come undone and almost nothing row 25 : red dirt | 2000 | tag purvis | united states | romantic drama | None row 26 : revoir julie | 2000 | jeanne crepeau | quebec | comedy, drama | None row 27 : sordid lives | 2000 | del shores | united states | comedy | None row 28 : straightman | 2000 | ben berkowitz | united states | drama | None row 29 : things you can tell just by looking at her | 2000 | garcia rodrigo | united states | romantic drama | None row 30 : together | 2000 | lukas moodysson | sweden denmark italy | comedy drama | None row 31 : water drops on burning rocks | 2000 | francois ozon | france | drama | None ] Execute this SQL based on the above table: select title order by year desc limit 1
101 reykjavik
[ header: month | jan | feb | mar | apr | may | jun | jul | aug | sep | oct | nov | dec | year row 1 : record high °f (°c) | 97 (36) | 100 (38) | 104 (40) | 110 (43) | 121 (49) | 123 (51) | 125 (52) | 121 (49) | 122 (50) | 115 (46) | 101 (38) | 96 (36) | 125 (52) row 2 : average high °f (°c) | 71.9 (22.2) | 75.3 (24.1) | 81.3 (27.4) | 87.5 (30.8) | 95.7 (35.4) | 103.1 (39.5) | 107.3 (41.8) | 106.6 (41.4) | 102.0 (38.9) | 91.9 (33.3) | 79.6 (26.4) | 71.0 (21.7) | 89.5 (31.9) row 3 : average low °f (°c) | 44.6 (7) | 48.0 (8.9) | 54.8 (12.7) | 60.7 (15.9) | 67.7 (19.8) | 74.2 (23.4) | 80.3 (26.8) | 80.3 (26.8) | 74.0 (23.3) | 63.7 (17.6) | 51.8 (11) | 44.2 (6.8) | 62.1 (16.7) row 4 : record low °f (°c) | 13 (-11) | 20 (-7) | 25 (-4) | 33 (1) | 38 (3) | 45 (7) | 59 (15) | 56 (13) | 46 (8) | 31 (-1) | 23 (-5) | 17 (-8) | 13 (-11) row 5 : precipitation inches (mm) | 0.56 (14.2) | 0.64 (16.3) | 0.43 (10.9) | 0.05 (1.3) | 0.07 (1.8) | 0.01 (0.3) | 0.04 (1) | 0.54 (13.7) | 0.04 (1) | 0.26 (6.6) | 0.18 (4.6) | 0.62 (15.7) | 3.44 (87.4) ] Execute this SQL based on the above table: select count ( * ) where month = '48.0 (8.9)' and month - month > 779
0
[ header: season | club | league | apps | goals row 1 : 2003-04 | podgrmec | fbih first league | 23 | 16 row 2 : 2004-05 | nk zagreb | prva hnl | 26 | 3 row 3 : 2005-06 | nk zagreb | prva hnl | 25 | 3 row 4 : 2006-07 | nk zagreb | prva hnl | 17 | 4 row 5 : 2007-08 | nk zagreb | prva hnl | 31 | 12 row 6 : 2008-09 | hajduk split | prva hnl | 30 | 12 row 7 : 2009-10 | hajduk split | prva hnl | 29 | 17 row 8 : 2010-11 | hajduk split | prva hnl | 17 | 6 row 9 : 2011-12 | lokomotiv | rfpl | 28 | 4 row 10 : 2012-13 | gaziantepspor | super lig | 1 | 1 ] Execute this SQL based on the above table: select league where goals = 3
prva hnl, prva hnl
[ header: no. in series | no. in season | title | directed by | written by | original air date row 1 : 1 | 1 | "dream house / ufo encounter | allan kroeker | will dixon / james n | september 28, 1996 row 2 : 2 | 2 | "possession / man out of time" | john bell / allan kroe | james nadler / la | october 5, 1996 row 3 : 3 | 3 | "reptilian revenge / ghostly | giles walker / allan | will dixon / richard ol | october 12, 1996 row 4 : 4 | 4 | "creeping darkness / power" | john bell / allan kroe | david preston / gerald | october 19, 1996 row 5 : 5 | 5 | "free fall / presence" | milan cheylov / john | larry raskin / | october 26, 1996 row 6 : 6 | 6 | "the infestation / human apportation" | giles walker / john | damian kindler / denise | november 2, 1996 row 7 : 7 | 7 | "the underneath / phantom | milan cheylov / allan | robert c. cooper / | november 9, 1996 row 8 : 8 | 8 | "the transient / two lost old men | giles walker | damian kindler / ian | november 16, 1996 row 9 : 9 | 9 | "ufo duplication / clara | marc voizard | robert c. cooper / | november 23, 1996 row 10 : 10 | 10 | "the hunter / the healer" | john bell | damian kindler / larry | november 30, 1996 row 11 : 11 | 11 | "the curse / angel on a plane | marc voizard / ken gir | will dixon / ian wei | january 18, 1997 row 12 : 12 | 12 | "anasazi cave / de | marc voizard / ken gir | sherman snukal / | january 25, 1997 row 13 : 13 | 13 | "the undead / the stalker | clay boris | will dixon / alex pugsley | february 1, 1997 row 14 : 14 | 14 | "the forbidden north / reincarnation | ken girotti | damian kindler / peter | february 8, 1997 row 15 : 15 | 15 | "the greenhouse effect / the buzz" | clay boris | damian kindler / sherman | february 15, 1997 row 16 : 16 | 16 | "the light" | milan cheylov | will dixon | february 22, 1997 row 17 : 17 | 17 | "the 13th floor / the believer | clay boris / craig | jean hurtubise / dami | april 12, 1997 row 18 : 18 | 18 | "the fog / house on garden street" | clay boris | robert c. cooper / | april 19, 1997 row 19 : 19 | 19 | "second sight / chocolate soldier" | milan cheylov | sherman snukal / | april 26, 1997 ] Execute this SQL based on the above table: select count ( title )
19
[ header: name | quadrant | sector | ward | type | 2012 population rank | population (2012) | population (2011) | % change | dwellings (2012) | area (km2) | population density row 1 : bridlewood | sw | south | 13 | residential | 18 | 11835 | 11641 | 1.7 | 4200 | 3.2 | 3698.4 row 2 : burns industrial | se | centre | 9 | industrial | 211 | 0 | 11 | -100 | 2 | 2.9 | 0 row 3 : cliff bungalow | sw | centre | 8 | residential | 155 | 1936 | 1912 | 1.3 | 1377 | 0.4 | 4840 row 4 : collingwood | nw | northwest | 7 | residential | 146 | 2222 | 2231 | -0.4 | 978 | 1.6 | 1388.8 row 5 : cougar ridge | sw | west | 6 | residential | 83 | 5874 | 5813 | 1 | 1908 | 2.2 | 2670 row 6 : country hills | nw | north | 4 | residential | 116 | 3728 | 3720 | 0.2 | 1426 | 1.9 | 1962.1 row 7 : coventry hills | ne | north | 3 | residential | 7 | 15969 | 15722 | 1.6 | 5322 | 4.1 | 3894.9 row 8 : downtown west end | sw | centre | 8 | residential | 142 | 2322 | 2483 | -6.5 | 1628 | 0.4 | 5805 row 9 : falconridge | ne | northeast | 5 | residential | 32 | 10381 | 10043 | 3.4 | 3478 | 2.2 | 4718.6 row 10 : greenview | ne | north | 4 | residential | 153 | 1975 | 1956 | 1 | 1120 | 0.5 | 3950 row 11 : manchester | sw | centre | 9 | residential | 186 | 618 | 669 | -7.6 | 448 | 0.5 | 1236 row 12 : mount pleasant | nw | centre | 7 | residential | 99 | 4851 | 4718 | 2.8 | 2654 | 1.9 | 2553.2 row 13 : nolan hill | nw | north | 2 | residential | 222 | 0 | 0 | None | 23 | 2.1 | 0 row 14 : parkdale | nw | centre | 7 | residential | 143 | 2296 | 2317 | -0.9 | 1020 | 1.1 | 2087.3 row 15 : parkland | se | south | 14 | residential | 115 | 3785 | 3772 | 0.3 | 1448 | 1.8 | 2102.8 row 16 : residual ward 6 | sw | west | 6 | residual area | 203 | 37 | 36 | 2.8 | 13 | None | None row 17 : rideau park | sw | centre | 9 | residential | 183 | 636 | 627 | 1.4 | 342 | 0.3 | 2120 row 18 : sandstone valley | nw | north | 4 | residential | 73 | 6253 | 6142 | 1.8 | 2120 | 1.8 | 3473.9 row 19 : section 23 | se | southeast | 9 | industrial | 228 | 0 | 0 | None | 1 | 3.1 | 0 row 20 : skyline west | ne | north | 4 | industrial | 252 | 0 | 0 | None | 0 | 0.8 | 0 row 21 : skyview ranch | ne | northeast | 3 | residential | 129 | 2990 | 1805 | 65.7 | 1306 | 4.6 | 650 row 22 : taradale | ne | northeast | 3 | residential | 5 | 16841 | 16110 | 4.5 | 4559 | 2.9 | 5807.2 ] Execute this SQL based on the above table: select type order by population density desc limit 1
residential
[ header: name | # | position | height | weight | year | home town | high school row 1 : harrison barnes | 40 | forward | 8-jun | 210 | freshman | ames, ia | ames row 2 : daniel bolick | 3 | guard | 10-may | 175 | senior | carrboro, nc | chapel hill row 3 : reggie bullock | 35 | guard | 7-jun | 190 | freshman | kinston, nc | kinston row 4 : stewart cooper | 15 | forward | 5-jun | 205 | junior | winston-salem, n | forsyth county day row 5 : patrick crouch | 30 | guard | 11-may | 175 | junior | asheville, nc | t.c. roberson row 6 : larry drew ii | 11 | guard | 2-jun | 180 | junior | encino, ca | woodland hills taft row 7 : david dupont | 22 | forward | 5-jun | 195 | junior | greensboro, nc | grimsley row 8 : van hatchell | 13 | forward | 4-jun | 185 | senior | chapel hill, nc | cresset christian row 9 : john henson | 31 | forward | 10-jun | 210 | sophomore | tampa, fl | sickles row 10 : d.j. johnston | 32 | forward | 4-jun | 195 | junior | lower gwynedd, pa | germantown row 11 : justin knox | 25 | forward | 9-jun | 240 | graduate | tuscaloosa, al | central row 12 : kendall marshall | 5 | guard | 3-jun | 186 | freshman | dumfries, va | bishop o'connell row 13 : leslie mcdonald | 15 | guard | 4-jun | 215 | sophomore | memphis, tn | briarcrest christian row 14 : dexter strickland | 1 | guard | 3-jun | 180 | sophomore | rahway, nj | st. patrick row 15 : justin watts | 24 | guard | 4-jun | 210 | junior | durham, nc | jordan row 16 : tyler zeller | 44 | forward | jul-00 | 250 | junior | washington, in | washington ] Execute this SQL based on the above table: select name order by # desc limit 1
tyler zeller
[ header: part | number | first public release date (first edition) | latest public release date (edition) | latest amendment | title | description row 1 : part 1 | iso/iec 15938-1 | 2002 | 2002 | 2006 | systems | the architectural framework of mpeg-7, row 2 : part 2 | iso/iec 15938-2 | 2002 | 2002 | None | description definition language | None row 3 : part 3 | iso/iec 15938-3 | 2002 | 2002 | 2010 | visual | None row 4 : part 4 | iso/iec 15938-4 | 2002 | 2002 | 2006 | audio | None row 5 : part 5 | iso/iec 15938-5 | 2003 | 2003 | 2008 | multimedia description schemes | None row 6 : part 6 | iso/iec 15938-6 | 2003 | 2003 | 2010 (2011) | reference software | None row 7 : part 7 | iso/iec 15938-7 | 2003 | 2003 | 2010 (2011) | conformance testing | None row 8 : part 8 | iso/iec tr | 2002 | 2002 | 2010 | extraction and use of mpeg-7 descriptions | None row 9 : part 9 | iso/iec 15938-9 | 2005 | 2005 | (2011) | profiles and levels | None row 10 : part 10 | iso/iec 15938-10 | 2005 | 2005 | None | schema definition | None row 11 : part 11 | iso/iec tr | 2005 | 2005 | None | mpeg-7 profile schemas | None row 12 : part 12 | iso/iec 15938-12 | 2008 | 2008 | (2011) | query format | None ] Execute this SQL based on the above table: select latest public release date (edition) where title = 'query format'
2008
[ header: kilometers | name | location | intersecting routes row 1 : 0 | mahanayim junction | mahanayim, near hatz | highway 90 (israel) row 2 : 7 | gadot junction | gadot | route 918 row 3 : 12 | customs house junction | customs office | route 888 row 4 : 15 | nashot junction | northwest of katzrin | route 9088 row 5 : 21 | None | golan heights | petroleum road row 6 : 22 | hashiryon junction | golan heights | route 978 row 7 : 23 | shipon junction | shipon (spelt) mountain | route 9099 row 8 : 27 | avital junction | mount avital | route 9881 row 9 : 28 | zivan junction | ein zivan | highway 98 (israel) ] Execute this SQL based on the above table: select location where kilometers < 21 order by kilometers desc limit 1
northwest of katzrin
[ header: place | nation | 5 hoops | 3 balls, 2 ribbons | total row 1 : 1 | bulgaria | 19.800 (1) | 19.800 (1) | 39.600 row 2 : 2 | spain | 19.700 (3) | 19.700 (2) | 39.400 row 3 : 3 | belarus | 19.733 (2) | 19.600 (3) | 39.333 row 4 : 4 | russia | 19.600 (4) | 19.566 (4) | 39.166 row 5 : 5 | ukraine | 19.366 (5) | 15.500 (5) | 38.866 row 6 : 6 | japan | 19.166 (6) | 19.333 (7) | 38.499 row 7 : 7 | italy | 19.066 (7) | 19.400 (6) | 38.466 row 8 : 8 | hungary | 18.766 (8) | 19.166 (8) | 37.932 ] Execute this SQL based on the above table: select nation where nation in ( 'bulgaria' , 'bulgaria' ) order by place limit 1
bulgaria
[ header: location | name of mill and grid reference | type | maps | first mention or built | last mention or demise row 1 : chesfield | None | post | None | 1318 | 1372 row 2 : chesfield | chesfield park | titt iron wind engine | None | 1896 | None row 3 : cheshunt | tl 317 036 | post | None | 1843 | demolished c. 1860 row 4 : cheshunt | goff's oak mill tl | tower | None | c. 1860 | demolished 1953 row 5 : cheshunt | turner's hill mill tl 3 | None | 1822 | 1822 | 1861 row 6 : chipperfield | tl 037 014 | post | None | 1594 | 1594 row 7 : chipperfield | tl 037 014 | smock | 1822 | 1822 | 1881, gone by 1896 row 8 : chipping | approximately tl 350 319 | post | 1720 1728 | 1720 | 1728 row 9 : clothall | approximately tl 264 326 | post | None | 1370 | 1370 row 10 : codicote | codicote heath approximately tl | smock | None | 1841 | 1855, gone by 1881 row 11 : colney heath | colney heath mill tl 205 | tower | None | 1854 | windmill world row 12 : cottered | None | post | None | 1581 | 1581 row 13 : cromer | None | None | None | 1192 | 1576 row 14 : cromer | cromer mill tl 304 2 | post | 1720 1728 1749 1766 1800 18 | 1720 | windmill world row 15 : croxley green | croxley green mill tq 06 | tower | None | c. 1860 | windmill world ] Execute this SQL based on the above table: select first mention or built where location = 'chesfield'
1318, 1896
[ header: year | domestic passengers | international passengers | total passengers | change row 1 : 2006 | 764831 | 83115 | 847946 | +4.6% row 2 : 2007 | 764674 | 75276 | 839950 | -0.9% row 3 : 2008 | 709779 | 92176 | 801955 | -4.5% row 4 : 2009 | 605534 | 82424 | 687958 | -14.3% row 5 : 2010 | 595457 | 105119 | 700576 | +1.7% row 6 : 2011 | 850305 | 123607 | 973912 | +39.1% row 7 : 2012 | 899854 | 178679 | 1078533 | +10.7% row 8 : 2013 | 745178 | 131902 | 877080 | -18.7% ] Execute this SQL based on the above table: select year where change = '-18.7%'
2013
[ header: week | date | opponent | result | record | game site | tv time | attendance | bye row 1 : 1 | september 1, 1996 | arizona cardinals | w 20-13 | 1-0 | rca dome | fox 1:00 pm | 48133 | 0 row 2 : 2 | september 8, 1996 | at new york jets | w 21-7 | 2-0 | the meadowlands | nbc 4:15 pm | 63534 | 0 row 3 : 3 | september 15, 1996 | at dallas cowboys | w 25-24 | 3-0 | texas stadium | nbc 4:15 pm | 63021 | 0 row 4 : 4 | september 23, 1996 | miami dolphins | w 10-6 | 4-0 | rca dome | abc 9:00 pm | 60891 | 0 row 5 : 5 | None | None | None | None | None | None | None | 1 row 6 : 6 | october 6, 1996 | at buffalo bills | l 13-16 | 4-1 | rich stadium | nbc 4:15 pm | 79401 | 0 row 7 : 7 | october 13, 1996 | baltimore ravens | w 26-21 | 5-1 | rca dome | tnt 8:15 pm | 56978 | 0 row 8 : 8 | october 20, 1996 | new england patriots | l 9-27 | 5-2 | rca dome | nbc 1:00 pm | 58725 | 0 row 9 : 9 | october 27, 1996 | at washington redskins | l 16-31 | 5-3 | rfk stadium | nbc 1:00 pm | 54254 | 0 row 10 : 10 | november 3, 1996 | san diego chargers | l 19-26 | 5-4 | rca dome | nbc 1:00 pm | 58484 | 0 row 11 : 11 | november 10, 1996 | at miami dolphins | l 13-37 | 5-5 | joe robbie stadium | nbc 1:00 pm | 66623 | 0 row 12 : 12 | november 17, 1996 | new york jets | w 34-29 | 6-5 | rca dome | nbc 1:00 pm | 48322 | 0 row 13 : 13 | november 24, 1996 | at new england patriots | l 13-27 | 6-6 | foxboro stadium | nbc 1:00 pm | 58226 | 0 row 14 : 14 | december 1, 1996 | buffalo bills | w 13-10 | 7-6 | rca dome | nbc 4:15 pm | 53804 | 0 row 15 : 15 | december 5, 1996 | philadelphia eagles | w 37-10 | 8-6 | rca dome | espn 8:15 pm | 52689 | 0 row 16 : 16 | december 15, 1996 | at kansas city chiefs | w 24-19 | 9-6 | arrowhead stadium | nbc 4:15 pm | 71136 | 0 row 17 : 17 | december 22, 1996 | at cincinnati bengals | l 24-31 | 9-7 | cinergy field | nbc 1:00 pm | 49389 | 0 ] Execute this SQL based on the above table: select game site where tv time < ( select tv time where game site = 'rca dome' )
rca dome, rca dome
[ header: model | availability | introduced | length of use | last of whiteness row 1 : crest whitestrips classic previously crest | discontinued | may 2001 | 14 days | 12 months row 2 : crest whitestrips professional | discontinued | 2001 | 10 days | 12 months row 3 : crest whitestrips supreme | dentist and online | september 2003 | 21 days | 18 months row 4 : crest whitestrips premium | discontinued | january 2004 | 7 days | 12 months row 5 : crest whitestrips pro previously crest | discontinued | april 2005 | 10 days | 18 months row 6 : crest whitestrips renewal | discontinued | january 2006 | 10 days | 18 months row 7 : crest whitestrips daily multicare | discontinued | march 2007 | daily | white after using system row 8 : crest whitestrips advanced seal | discontinued | february 2009 | 14 days | 18 months row 9 : crest whitestrips 3d vivid | instore and online | 2009 | 10 days | 12 months row 10 : crest whitestrips 3d advanced vivid | instore and online | march 2010 | 14 days | 12 months row 11 : crest whitestrips 3d professional effects | instore and online | march 2010 | 20 days | 12 months row 12 : crest 3d white 2 hour express | instore and online | 2010 | 2 hours | 3 months row 13 : crest 3d intensive professional effects | instore and online | 2011 | 7 days | 12 months ] Execute this SQL based on the above table: select model where model != 'crest whitestrips premium' and introduced = ( select introduced where model = 'crest whitestrips premium' )
crest whitestrips renewal
[ header: year | title | role | notes row 1 : 1991 | they came from outer space | mrs. morley | episode: "hair today, gone tomorrow" row 2 : 1991 | parker lewis can't lose | melinda | episode: "love handles" row 3 : 1991 | married... with children | jill | episode: "if al had a ham row 4 : 1992 | married... with children | kara | episode: "the mystery of skull island" row 5 : 1992 | matlock | lisa loomis | episode: "the big payoff" row 6 : 1992 | silk stalkings | tessa shaver | episode: "goodtime charlie" row 7 : 1992 | dark justice | lucy | episode: "a better mousetrap" row 8 : 1992 | baywatch | lifeguard | episode: "war of nerves" row 9 : 1993 | the cover girl murders | hetty barnett | movie row 10 : 1994 | red shoe diaries | luscious lola | episode: "luscious lola" row 11 : 1994 | honor thy father and mother: the true | jamie pisarcik | movie row 12 : 1994 | fortune hunter | kelly owen | episode: "stowaway" row 13 : 1994 | baywatch | kim | episode: "red wind" row 14 : 1995 | pointman | brenner | episode: "models" row 15 : 1995 | the watcher | lori danforth | 8 episodes row 16 : 1995-96 | murder one | julie costello | 15 episodes row 17 : 1996 | the x-files | dr. bambi berenbaum | episode: "war of the coprophages row 18 : 1996 | boy meets world | louanne | episode: "i never sang for my legal guard row 19 : 1996-97 | the cape | navy pilot lt. cmdr. | 17 episodes row 20 : 1997 | stargate sg-1 | kynthia | episode: "brief candle" row 21 : 1998 | house rules | dr. chris cavan | episode: "riley's new job" row 22 : 1998 | chameleon | kam | movie row 23 : 1998 | two guys and a girl | shawn | episode: "two guys, a girl and row 24 : 1999 | two guys and a girl | shawn | episode: "two guys, a girl and row 25 : 1999 | chameleon ii: death match | kam | movie row 26 : 1999 | the magnificent seven | None | episode: "wagon train: part 1" row 27 : 1999 | the crow: stairway to heaven | hannah foster / talon | episode: "birds of a feather" row 28 : 1999 | the strip | lilly briscoe | episode: "winner takes it all" row 29 : 2000 | two guys and a girl | shawn | episode: "another moving script" row 30 : 2000 | hustle | maya / corinna | m<vie row 31 : 2000 | chameleon 3: dark angel | kam | movie row 32 : 2001 | seven days | raven | episode: "raven" row 33 : 2001 | dharma & greg | anna | episode: "dream a little dream of her ] Execute this SQL based on the above table: select notes where notes = 'episode: "a better mousetrap"'
episode: "a better mousetrap"
[ header: season | date | location | discipline | place row 1 : 2007 | 18 mar 2007 | lenzerheide, switze | giant slalom | 2nd row 2 : 2009 | 10 jan 2009 | maribor, slovenia | giant slalom | 3rd row 3 : 2010 | 28 nov 2009 | aspen, usa | giant slalom | 1st row 4 : 2010 | 28 dec 2009 | lienz, austria | giant slalom | 1st row 5 : 2010 | 24 jan 2010 | cortina d'ampezzo | giant slalom | 3rd row 6 : 2010 | 11 mar 2010 | garmisch, germany | giant slalom | 2nd row 7 : 2011 | 23 oct 2010 | solden, austria | giant slalom | 2nd row 8 : 2011 | 27 nov 2010 | aspen, usa | giant slalom | 3rd row 9 : 2011 | 28 dec 2010 | semmering, austria | giant slalom | 3rd ] Execute this SQL based on the above table: select season where location = 'lenzerheide, switzerland'
2007
[ header: date | time | opponent# | rank# | site | tv | result | attendance row 1 : september 1 | 2:30 pm | nevada | #19 | memorial stadium • lincoln, | abc | w 52-10 | 84078 row 2 : september 8 | 11:00 am | at wake forest | #17 | bb&t field • winston- | espn | w 20-17 | 32483 row 3 : september 15 | 7:00 pm | #1 usc | #14 | memorial stadium • lincoln, | abc | l 31-49 | 84959 row 4 : september 22 | 11:30 am | ball state | #22 | memorial stadium • lincoln, | fsn ppv | w 41-40 | 84294 row 5 : september 29 | 1:05 pm | iowa state | #22 | memorial stadium • lincoln, | None | w 35-17 | 84703 row 6 : october 6 | 8:15 pm | at #17 missouri | #23 | faurot field • columbia | espn | l 6-41 | 70049 row 7 : october 13 | 11:30 am | oklahoma state | None | memorial stadium • lincoln, | ppv | l 14-45 | 84334 row 8 : october 20 | 1:05 pm | texas a&m | None | memorial stadium • lincoln, | None | l 14-36 | 84473 row 9 : october 27 | 2:30 pm | at #16 texas | None | darrell k royal-texas memorial | abc | l 25-28 | 85968 row 10 : november 3 | 11:30 am | at #8 kansas | None | memorial stadium • lawrence, ks | fsn | l 39-76 | 51910 row 11 : november 10 | 11:30 am | kansas state | None | memorial stadium • lincoln, | versus | w 73-31 | 84665 row 12 : november 23 | 11:00 am | at colorado | None | folsom field • boulder, co (rival | abc | l 51-65 | 51403 ] Execute this SQL based on the above table: select site where time = ( select time where site = 'memorial stadium • lincoln, ne' ) - 1
memorial stadium • lincoln, ne, memorial stadium • lincoln, ne
[ header: place | player | country | score | to par row 1 : 1 | dustin johnson | united states | 71-70-66=207 | -6 row 2 : 2 | graeme mcdowell | northern ireland | 71-68-71=210 | -3 row 3 : 3 | tiger woods | united states | 74-72-66=212 | -1 row 4 : t4 | ernie els | south africa | 73-68-72=213 | e row 5 : t4 | gregory havret | france | 73-71-69=213 | e row 6 : 6 | phil mickelson | united states | 75-66-73=214 | 1 row 7 : t7 | alex cejka | germany | 70-72-74=216 | 3 row 8 : t7 | tim clark | south africa | 72-72-72=216 | 3 row 9 : t7 | ryo ishikawa | japan | 70-71-75=216 | 3 row 10 : t10 | martin kaymer | germany | 74-71-72=217 | 4 row 11 : t10 | davis love iii | united states | 75-74-68=217 | 4 row 12 : t10 | sean o'hair | united states | 76-71-70=217 | 4 ] Execute this SQL based on the above table: select min ( to par )
-6.0
[ header: # | artist | featuring | title | version | length row 1 : 1 | benassi bros | dhany | rocket in the sky | original extended mix | 5:43 row 2 : 2 | benassi bros | sandy | illusion | sfaction mix | 5:08 row 3 : 3 | benassi bros | dhany | every single day | original version | 4:45 row 4 : 4 | benassi bros | sandy | castaway | original version | 6:06 row 5 : 5 | benassi bros | dhany | make me feel | original version | 5:30 row 6 : 6 | benassi bros | sandy | i feel so fine | sfaction mix | 5:26 row 7 : 7 | benassi bros | dhany | run to me | sfaction version | 5:09 row 8 : 8 | benassi bros | sandy | get better | sflow version | 4:05 row 9 : 9 | benassi bros | dhany | hit my heart | sfaction mix | 5:08 row 10 : 10 | benassi bros | sandy | turn me up | sfaction mix | 5:48 row 11 : 11 | benassi bros | dhany | somebody to touch me | sflow version | 5:49 row 12 : 12 | benassi bros | sandy | light | original version | 7:30 row 13 : 13 | benassi bros | None | megamix | None | 3:31 row 14 : 14 | benassi bros | None | summer megamix 2005 | None | 4:11 row 15 : 15 | benassi bros | dhany | make me feel | dave leatherman remix | 4:11 ] Execute this SQL based on the above table: select artist order by id asc limit 1
benassi bros
[ header: name | date | nation | displacement | speed | number | notes row 1 : fmr-class | 1943 | us | 1,200 tons | 21 knots | 85 | None row 2 : gmt-class | 1943 | us | 1,140 tons | 21 knots | 72 | None row 3 : det-class | 1943 | us | 1,240 tons | 21 knots | 72 | None row 4 : tacoma-class frigate | 1943 | us | 1,430 tons | 20 knots | 96 | None row 5 : type b kaibokan | 1943 | japan | 940 tons | 19 knots | 37 | None row 6 : tev-class | 1944 | us | 1,450 tons | 24 knots | 22 | None row 7 : bay-class frigates | 1945 | uk | 1,580 tons | 20 knots | 26 | anti-aircraft row 8 : dealey-class | 1954 | us | 1,450 tons | 25 knots | 13 | None row 9 : type e50 frigate | 1955 | france | 1,290 tons | 28 knots | 4 | fast row 10 : type 14 frigate | 1955 | uk | 1,180 tons | 24 knots | 8 | anti-submarine row 11 : st. laurent-class | 1955 | canada | 2,263 tons | 28 knots | 7 | anti-submarine row 12 : type b | 1956 | japan | 1,070 tons | 25 knots | 2 | diesel row 13 : type 12 frigate | 1956 | uk | 2,150 tons | 31 knots | 6 | anti-submarine row 14 : almirante clemente-class light | 1956 | venezuela | 1,300 tons | 32 knots | 6 | fast row 15 : type 61 frigate | 1957 | uk | 2,170 tons | 24 knots | 4 | aircraft direction row 16 : canopo-class frigate | 1957 | italy | 1,807 tons | 26 knots | 4 | None row 17 : azopardo-class frigate | 1957 | argentina | 1,160 tons | 20 knots | 2 | None row 18 : restigouche-class | 1958 | canada | 2,366 tons | 28 knots | 7 | anti-submarine row 19 : claud jones-class | 1959 | us | 1,450 tons | 22 knots | 4 | None row 20 : type 12m frigate | 1960 | uk | 2,380 tons | 30 knots | 12 | anti-submarine row 21 : koln-class frigate | 1961 | germany | 2,100 tons | 30 knots | 6 | fast row 22 : river-class | 1961 | australia | 2,100 tons | 30 knots | 6 | None row 23 : river-class | 1961 | japan | 1,490 tons | 25 knots | 4 | None row 24 : type 81 frigate | 1961 | uk | 2,300 tons | 28 knots | 7 | general purpose row 25 : mackenzie-class | 1962 | canada | 2,366 tons | 28 knots | 4 | anti-submarine row 26 : hvidbjørnen- | 1962 | denmark | 1,345 tons | 18 knots | 4 | fishery protection row 27 : type 12i frigate | 1963 | uk | 2,450 tons | 30 knots | 26 | general purpose row 28 : bronstein-class | 1963 | us | 2,360 tons | 26 knots | 2 | None row 29 : garcia-class | 1964 | us | 2,620 tons | 27 knots | 10 | None row 30 : oslo-class frigate | 1966 | norway | 1,450 tons | 25 knots | 5 | None row 31 : brooke-class | 1966 | us | 2,640 tons | 27 knots | 6 | guided missile row 32 : peder skram-class frigate | 1966 | denmark | 2,030 tons | 28 knots | 2 | fast row 33 : van speijk-class frigate | 1967 | netherlands | 2,200 tons | 28 knots | 6 | None row 34 : alpino-class frigate | 1968 | italy | 2,000 tons | 28 knots | 2 | None ] Execute this SQL based on the above table: select count ( * ) where date > 1957 and nation = 'us'
4
[ header: name | date | nation | displacement | speed | number | notes row 1 : fmr-class | 1943 | us | 1,200 tons | 21 knots | 85 | None row 2 : gmt-class | 1943 | us | 1,140 tons | 21 knots | 72 | None row 3 : det-class | 1943 | us | 1,240 tons | 21 knots | 72 | None row 4 : tacoma-class frigate | 1943 | us | 1,430 tons | 20 knots | 96 | None row 5 : type b kaibokan | 1943 | japan | 940 tons | 19 knots | 37 | None row 6 : tev-class | 1944 | us | 1,450 tons | 24 knots | 22 | None row 7 : bay-class frigates | 1945 | uk | 1,580 tons | 20 knots | 26 | anti-aircraft row 8 : dealey-class | 1954 | us | 1,450 tons | 25 knots | 13 | None row 9 : type e50 frigate | 1955 | france | 1,290 tons | 28 knots | 4 | fast row 10 : type 14 frigate | 1955 | uk | 1,180 tons | 24 knots | 8 | anti-submarine row 11 : st. laurent-class | 1955 | canada | 2,263 tons | 28 knots | 7 | anti-submarine row 12 : type b | 1956 | japan | 1,070 tons | 25 knots | 2 | diesel row 13 : type 12 frigate | 1956 | uk | 2,150 tons | 31 knots | 6 | anti-submarine row 14 : almirante clemente-class light | 1956 | venezuela | 1,300 tons | 32 knots | 6 | fast row 15 : type 61 frigate | 1957 | uk | 2,170 tons | 24 knots | 4 | aircraft direction row 16 : canopo-class frigate | 1957 | italy | 1,807 tons | 26 knots | 4 | None row 17 : azopardo-class frigate | 1957 | argentina | 1,160 tons | 20 knots | 2 | None row 18 : restigouche-class | 1958 | canada | 2,366 tons | 28 knots | 7 | anti-submarine row 19 : claud jones-class | 1959 | us | 1,450 tons | 22 knots | 4 | None row 20 : type 12m frigate | 1960 | uk | 2,380 tons | 30 knots | 12 | anti-submarine row 21 : koln-class frigate | 1961 | germany | 2,100 tons | 30 knots | 6 | fast row 22 : river-class | 1961 | australia | 2,100 tons | 30 knots | 6 | None row 23 : river-class | 1961 | japan | 1,490 tons | 25 knots | 4 | None row 24 : type 81 frigate | 1961 | uk | 2,300 tons | 28 knots | 7 | general purpose row 25 : mackenzie-class | 1962 | canada | 2,366 tons | 28 knots | 4 | anti-submarine row 26 : hvidbjørnen- | 1962 | denmark | 1,345 tons | 18 knots | 4 | fishery protection row 27 : type 12i frigate | 1963 | uk | 2,450 tons | 30 knots | 26 | general purpose row 28 : bronstein-class | 1963 | us | 2,360 tons | 26 knots | 2 | None row 29 : garcia-class | 1964 | us | 2,620 tons | 27 knots | 10 | None row 30 : oslo-class frigate | 1966 | norway | 1,450 tons | 25 knots | 5 | None row 31 : brooke-class | 1966 | us | 2,640 tons | 27 knots | 6 | guided missile row 32 : peder skram-class frigate | 1966 | denmark | 2,030 tons | 28 knots | 2 | fast row 33 : van speijk-class frigate | 1967 | netherlands | 2,200 tons | 28 knots | 6 | None row 34 : alpino-class frigate | 1968 | italy | 2,000 tons | 28 knots | 2 | None ] Execute this SQL based on the above table: select name where number = 2
type b, azopardo-class frigate, bronstein-class, peder skram-class frigate, alpino-class frigate
[ header: year | actor | award | category | role | episode | result row 1 : 1992 | nancy cartwright | primetime emmy award | outstanding voice-over performance | bart simpson | "separate vocations" | won row 2 : 1992 | dan castellaneta | primetime emmy award | outstanding voice-over performance | homer simpson | "lisa's pony" | won row 3 : 1992 | julie kavner | primetime emmy award | outstanding voice-over performance | marge simpson | "i married marge" | won row 4 : 1992 | jackie mason | primetime emmy award | outstanding voice-over performance | rabbi hyman k | "like father, like clown" | won row 5 : 1992 | yeardley smith | primetime emmy award | outstanding voice-over performance | lisa simpson | "lisa the greek" | won row 6 : 1992 | marcia wallace | primetime emmy award | outstanding voice-over performance | edna krabappel | "bart the lover" | won row 7 : 1993 | dan castellaneta | primetime emmy award | outstanding voice-over performance | homer simpson | "mr. plow" | won row 8 : 1995 | nancy cartwright | annie award | voice acting in the field of animation | bart simpson | "radio bart" | won row 9 : 1997 | maggie roswell | annie award | best voice acting by a female performer | shary bobbins | "simpsoncalifragilisticex | nominated row 10 : 1998 | hank azaria | primetime emmy award | outstanding voice-over performance | apu nahasapee | None | won row 11 : 2001 | hank azaria | primetime emmy award | outstanding voice-over performance | various | "worst episode ever" | won row 12 : 2003 | hank azaria | primetime emmy award | outstanding voice-over performance | various | "moe baby blues" | won row 13 : 2004 | dan castellaneta | primetime emmy award | outstanding voice-over performance | various characters | "today i am a clown" | won row 14 : 2006 | kelsey grammer | primetime emmy award | outstanding voice-over performance | sideshow bob | "the italian bob" | won row 15 : 2007 | julie kavner | annie award | best voice acting in an animated feature | marge simpson | the simpsons movie | nominated row 16 : 2009 | hank azaria | primetime emmy award | outstanding voice-over performance | moe szyslak | "eeny teeny maya mo | nominated row 17 : 2009 | dan castellaneta | primetime emmy award | outstanding voice-over performance | homer simpson | "father knows worst" | won row 18 : 2009 | harry shearer | primetime emmy award | outstanding voice-over performance | mr. burns, smithers | "the burns and the bees" | nominated row 19 : 2010 | hank azaria | primetime emmy award | outstanding voice-over performance | moe szyslak, | "moe letter blues" | nominated row 20 : 2010 | dan castellaneta | primetime emmy award | outstanding voice-over performance | homer simpson, grampa | "thursday with abie" | nominated ] Execute this SQL based on the above table: select role where year = 2006
sideshow bob
[ header: episode number | original airdate | title | disc | description row 1 : 48 | 30 january 1983 | "the frozen turkey man" | 1 | for a joke, compo and cle row 2 : 49 | 6 february 1983 | "the white man's grave" | 1 | the trio have clegg stand in for wall row 3 : 50 | 13 february 1983 | "the waist land" | 1 | foggy attempts to earn some ready cash by row 4 : 51 | 20 february 1983 | "cheering up ludovic | 1 | clegg is roped in to drive row 5 : 52 | 27 february 1983 | "the three astaires" | 1 | the trio help out at a church concert, row 6 : 53 | 6 march 1983 | "the arts of concealment" | 1 | foggy lands himself in trouble with a ] Execute this SQL based on the above table: select count ( original airdate ) where original airdate = '6 february 1983'
1
[ header: medal | name | sport | event | date row 1 : gold | louis chaillot, maurice | cycling | men's tandem | august 3 row 2 : gold | xavier lesage | equestrian | individual dressage | august 10 row 3 : gold | andre jousseaume, | equestrian | team dressage | august 10 row 4 : gold | georges buchard, philippe | fencing | men's team epee | august 7 row 5 : gold | rene bondoux, rene | fencing | men's team foil | august 1 row 6 : gold | jacques lebrun | sailing | snowbird class | august 12 row 7 : gold | raymond suvigny | weightlifting | men's 60 kg | july 31 row 8 : gold | rene duverger | weightlifting | men's 67.5 kg | july 30 row 9 : gold | louis hostin | weightlifting | men's 82.5 kg | july 30 row 10 : gold | charles pacome | wrestling | men's freestyle lightweight | august 3 row 11 : silver | louis chaillot | cycling | men's sprint | august 3 row 12 : silver | paul chocque, amedee fourni | cycling | men's team pursuit | august 2 row 13 : silver | charles marion | equestrian | individual dressage | august 10 row 14 : silver | georges buchard | fencing | men's epee | august 9 row 15 : silver | jean taris | swimming | men's 400 m freestyle | august 10 row 16 : bronze | paul winter | athletics | men's discus throw | august 3 row 17 : bronze | charles rampelberg | cycling | men's 1000 m time trial | august 1 row 18 : bronze | pierre brunet, anselme | rowing | men's coxed pair | august 13 row 19 : bronze | louis francois | wrestling | men's greco-roman bant | august 7 ] Execute this SQL based on the above table: select medal where id = ( select id where medal = 'silver' ) - 1
gold
[ header: locomotive | named | serial no | entered service | gauge | livery row 1 : bl26 | bob hawke | 83-1010 | march 1983 | standard | pacific national blue & yellow row 2 : bl27 | None | 83-1011 | august 1983 | standard | pacific national blue & yellow row 3 : bl28 | None | 83-1012 | september 1983 | standard | pacific national blue & yellow row 4 : bl29 | None | 83-1013 | october 1983 | broad | pacific national blue & yellow row 5 : bl30 | None | 83-1014 | december 1983 | standard | pacific national blue & yellow row 6 : bl31 | None | 83-1015 | november 1983 | standard | pacific national blue & yellow row 7 : bl32 | None | 83-1016 | february 1984 | broad | national rail orange & grey row 8 : bl33 | None | 83-1017 | april 1984 | standard | pacific national blue & yellow row 9 : bl34 | None | 83-1018 | june 1984 | broad | pacific national blue & yellow row 10 : bl35 | None | 83-1019 | july 1984 | standard | pacific national blue & yellow ] Execute this SQL based on the above table: select serial no where gauge = 'standard'
83-1010, 83-1011, 83-1012, 83-1014, 83-1015, 83-1017, 83-1019
[ header: edition | year | men's winner | time (m:s) | women's winner | time (m:s) row 1 : 1st | 1990 | marti ten kate (n | 47:52 | alison gooderham (gbr | 56:09 row 2 : 2nd | 1991 | thomas naali (t | 47:11 | olga bondarenko (urs | 53:16 row 3 : 3rd | 1992 | boay akonay (t | 47:04 | iulia negura (rom) | 53:19 row 4 : 4th | 1993 | gary staines (gbr) | 46:11 | iulia negura (rom) | 53:01 row 5 : 5th | 1994 | gary staines (gbr) | 47:00 | gitte karlshø | 54:49 row 6 : 6th | 1995 | benson masya (ken) | 45:56 | liz mccolgan (gb | 53:12 row 7 : 7th | 1996 | gary staines (gbr) | 46:57 | derartu tulu (eth) | 52:39 row 8 : 8th | 1997 | christopher kelong (ken) | 46:53 | liz mccolgan (gb | 52:00 row 9 : 9th | 1998 | stephane franke (ger) | 47:40 | marian sutton (gbr) | 54:17 row 10 : 10th | 1999 | simon kasimili (ken) | 47:42 | esther kiplagat (ken) | 54:42 row 11 : 11th | 2000 | gert thys (rs | 48:26 | restituta joseph (tan | 55:10 row 12 : 12th | 2001 | khalid skah (mar) | 46:17 | restituta joseph (tan | 52:36 row 13 : 13th | 2002 | simon kasimili (ken) | 47:27 | sonia o'sullivan | 51:00 row 14 : 14th | 2003 | john yuda (tan | 46:35 | sonia o'sullivan | 53:26 row 15 : 15th | 2004 | hendrick ramaala (r | 47:14 | benita johnson (aus) | 52:32 row 16 : 16th | 2005 | john yuda (tan | 46:45 | derartu tulu (eth) | 51:27 row 17 : 17th | 2006 | simon arusei (ken) | 47:17 | jo pavey (gbr) | 52:46 row 18 : 18th | 2007 | luke kibet (ken | 47:31 | rose cheruiyot (ken | 53:44 row 19 : 19th | 2008 | bernard kipyego ( | 46:42 | paula radcliffe (gb | 51:11 row 20 : 20th | 2009 | mo farah (gbr) | 46:25 | ines monteiro (por) | 52:32 row 21 : 21st | 2010 | joseph ebuya (ken | 45:15 | grace momanyi (ken) | 52:03 row 22 : 22nd | 2011 | leonard komon (ken) | 46:18 | aselefech mergia (eth | 52:55 row 23 : 23rd | 2012 | stephen mokoka (rsa | 46:40 | jo pavey (grb) | 53:01 row 24 : 24th | 2013 | emmanuel bett ( | 48:03 | florence kiplagat (ken) | 53:53 ] Execute this SQL based on the above table: select men's winner where edition = '16th'
john yuda (tan)
[ header: week | room | winning couple | 2nd couple | 3rd couple | chumps row 1 : 1 | guest bedroom 1 | alisa and lysandra | kyal and kara/brad | chantelle and steve | None row 2 : 2 | downstairs bathrooms, laundry & terrace | brad and dale | alisa and lysandra | chantelle and steve | kyal and kara row 3 : 3 | guest bedroom 2 | kyal and kara | chantalle and steve | alisa and lysandra | brad and dale row 4 : 4 | upstairs bathroom | kyal and kara | brad and dale | chantelle and steve | alisa and lysandra row 5 : 5 | kitchen | alisa and lysandra | kyal and kara | brad and dale | chantelle and steve row 6 : 6 | living room and dining room | chantelle and steve | alisa and lysandra | brad and dale / kyal | None row 7 : 7 | master bedroom and ensuite | brad and dale | chantelle and steve | alisa and lysandra | kyal and kara row 8 : 8 | rooftop/outside terrace | kyal and kara | brad and dale | alisa and lysandra | chantelle and steve ] Execute this SQL based on the above table: select week where id = 1
1
[ header: # | name (birth-death) | took office | left office | monarch | prime minister row 1 : 1 | the viscount gladstone (1854-1930) | 31 may 1910 | 8 september 1914 | george v | botha row 2 : 2 | the viscount buxton (1853-1934) | 8 september 1914 | 17 november 1920 | george v | botha row 3 : 3 | hrh prince arthur of conn | 17 november 1920 | 21 january 1924 | george v | smuts row 4 : 4 | the earl of athlone (1874 | 21 january 1924 | 26 january 1931 | george v | smuts row 5 : 5 | the earl of clarendon (1877 | 26 january 1931 | 5 april 1937 | george v | hertzog row 6 : 6 | sir patrick duncan (1870-19 | 5 april 1937 | 17 july 1943 | george vi | hertzog row 7 : 6 | nicolaas jacobus de | 17 july 1943 | 1 january 1946 | george vi | smuts row 8 : 7 | gideon brand van zyl (18 | 1 january 1946 | 1 january 1951 | george vi | smuts row 9 : 8 | ernest george jans | 1 january 1951 | 25 november 1959 | george vi | malan row 10 : 8 | lucas cornelius stey | 26 november 1959 | 11 december 1959 | elizabeth ii | verwoerd row 11 : 9 | charles robberts swar | 11 december 1959 | 30 april 1961 | elizabeth ii | verwoerd row 12 : 9 | lucas cornelius stey | 30 april 1961 | 31 may 1961 | elizabeth ii | verwoerd ] Execute this SQL based on the above table: select left office order by # desc limit 1
30 april 1961
[ header: year | competition | venue | position | notes row 1 : 1996 | world junior championships | sydney, australia | 15th (q) | 7.43 m row 2 : 1996 | asian junior championships | new delhi, india | 1st | 7.68 m row 3 : 1999 | world championships | seville, spain | 6th | 8.01 m row 4 : 2001 | east asian games | osaka, japan | 3rd | 7.77 m row 5 : 2002 | asian championships | colombo, sri lan | 3rd | 7.91 m (w) row 6 : 2002 | asian games | busan, south korea | 4th | 7.75 m row 7 : 2003 | universiade | daegu, south korea | 7th | 7.78 m ] Execute this SQL based on the above table: select venue where id = 1
sydney, australia
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 21 december 2004 | rajamangala stadium, bang | thailand | 3–1 | 5–1 | friendly row 2 : 5 | 15 june 2005 | commerzbank-arena, | australia | 4–2 | 4–3 | fifa confederations cup 2005 row 3 : 7 | 29 june 2005 | zentralstadion, leip | mexico | 1–0 | 4–3 | fifa confederations cup 2005 row 4 : 9 | 7 september 2005 | olympiastadion | south africa | 3–1 | 4–2 | friendly row 5 : 10 | 7 september 2005 | olympiastadion | south africa | 4–2 | 4–2 | friendly row 6 : 11 | 27 may 2006 | badenova stadion, freiburg | luxembourg | 3–0 | 7–0 | friendly row 7 : 12 | 27 may 2006 | badenova stadion, freiburg | luxembourg | 5–0 | 7–0 | friendly row 8 : 14 | 24 june 2006 | allianz arena, munich, germany | sweden | 1–0 | 2–0 | fifa world cup 2006 row 9 : 19 | 6 september 2006 | stadio olimpico, ser | san marino | 8–0 | 13–0 | uefa euro 2008 qualifying row 10 : 22 | 11 october 2006 | tehelne pole stad | slovakia | 4–1 | 4–1 | uefa euro 2008 qualifying row 11 : 23 | 12 september 2007 | rhein-energie stadion | romania | 3–1 | 3–1 | friendly row 12 : 24 | 17 november 2007 | awd arena, hanover, | cyprus | 3–0 | 4–0 | uefa euro 2008 qualifying row 13 : 27 | 8 june 2008 | worthersee stadion, k | poland | 2–0 | 2–0 | uefa euro 2008 row 14 : 28 | 12 june 2008 | worthersee stadion, k | croatia | 1–2 | 1–2 | uefa euro 2008 row 15 : 30 | 6 september 2008 | rheinpark stadion, | liechtenstein | 2–0 | 6–0 | fifa world cup 2010 qualifying row 16 : 31 | 11 october 2008 | signal iduna park, dortm | russia | 1–0 | 2–1 | fifa world cup 2010 qualifying row 17 : 33 | 29 may 2009 | shanghai stadium, shang | china pr | 1–1 | 1–1 | friendly row 18 : 37 | 18 november 2009 | veltins-arena, | ivory coast | 2–2 | 2–2 | friendly row 19 : 38 | 29 may 2010 | stadium puskas ferenc, | hungary | 1–0 | 3–0 | friendly row 20 : 39 | 13 june 2010 | moses mabhida stadium, d | australia | 1–0 | 4–0 | fifa world cup 2010 row 21 : 41 | 7 september 2010 | rheinenergiestadion, | azerbaijan | 2–0 | 6–1 | uefa euro 2012 qualifying ] Execute this SQL based on the above table: select count ( date ) where result = '13–0'
1
[ header: name | population (2002 census) | population (2007 estimation) | population (2011 census) | area (km2) | density (pop/km2) row 1 : brasov | 283901 | 277945 | 253200 | 267.32 | 1204 row 2 : codlea | 24256 | 24550 | 21708 | 132.79 | 182 row 3 : sacele | 30044 | 31796 | 30798 | 320 | 93 row 4 : ghimbav | 5100 | 5357 | 4698 | 28.08 | 181.62 row 5 : predeal | 5625 | 5174 | 4755 | 58.4 | 96.14 row 6 : rasnov | 15436 | 16055 | 15022 | 164.36 | 94 row 7 : cristian | 3952 | 4300 | 4490 | 27.73 | 142.51 row 8 : sanpetru | 3401 | 3759 | 4819 | 30.74 | 110.63 row 9 : halchiu | 4072 | 4560 | 4218 | 56.67 | 71.85 row 10 : tarlungeni | 7413 | 7996 | 8320 | 135.66 | 54.65 row 11 : prejmer | 8323 | 8876 | 8472 | 60.48 | 137.61 row 12 : harman | 4437 | 4775 | 5402 | 52.79 | 84.05 row 13 : bod | 3942 | 4173 | 3994 | 33.56 | 117.46 row 14 : total | 399902 | 399316 | 369896 | 1368.58 | 270 ] Execute this SQL based on the above table: select name where name = 'codlea' and area (km2) = '132.79'
codlea
[ header: date | time | opponent | site | tv | result | attendance | record row 1 : 11/09/2013 | 2:00 pm | indiana institute of technology | emil and patricia jones | csu tv | w 74-51 | 369 | 1-0 row 2 : 11/16/2013 | 1:00 pm | at miami (oh) | millett hall • oxford | None | l 39-55 | 406 | 1-2 row 3 : 11/26/2013 | 7:00 pm | purdue calumet | emil and patricia jones | csu tv | l 62-68 | 279 | 1-5 row 4 : 12/01/2013 | 2:00 pm | western michigan | emil and patricia jones | csu tv | l 49-67 | 242 | 1-6 row 5 : 12/06/2013 | 3:30 pm | vs. valparaiso | savage arena • toledo, | None | l 50-74 | None | 1-7 row 6 : 12/07/2013 | 1:00 pm | vs. detroit | savage arena • toledo, | None | l 64-85 | None | 1-8 row 7 : 12/20/2013 | 6:00 pm | at southern illinois | siu arena • carbondale, il | None | w 55-51 | 405 | 2-8 row 8 : 12/31/2013 | 2:00 pm | loyola | emil and patricia jones | csu tv | l 63-77 | 316 | 2-10 row 9 : 01/02/2014 | 7:00 pm | seattle | emil and patricia jones | csu tv | l 58-85 | 202 | 2-11 (0-1) row 10 : 01/04/2014 | 2:00 pm | idaho | emil and patricia jones | csu tv | l 42-92 | 200 | 2-12 (0-2) row 11 : 01/08/2014 | 7:00 pm | indiana northwest | emil and patricia jones | csu tv | w 68-50 | 212 | 3-12 row 12 : 01/11/2014 | 2:00 pm | at umkc | municipal auditorium • kansas city | None | l 60-83 | 380 | 3-13 (0-3) row 13 : 01/16/2014 | 7:00 pm | at new mexico state | pan american center • las cruces, | None | l 61-82 | 942 | 3-14 (0-4) row 14 : 01/30/2014 | 8:00 pm | at grand canyon | gcu arena • phoenix, | cox7 | l 53-84 | 581 | 3-18 (0-8) row 15 : 02/13/2014 | 7:00 pm | texas-pan american | emil and patricia jones | csu tv | l 52-75 | 207 | 3-20 (0-10) row 16 : 02/20/2014 | 8:00 pm | at utah valley | uccu center • orem, | None | l 62-84 | 191 | 3-22 (0-12) row 17 : 02/22/204 | 3:00 pm | at cal state bakersfield | icardo center • bakersfield | None | l 58-99 | 213 | 3-23 (0-13) ] Execute this SQL based on the above table: select count ( time ) where site = 'emil and patricia jones convocation center • chicago, il'
8
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | soviet union | 50 | 27 | 22 | 99 row 2 : 2 | united states | 33 | 31 | 30 | 94 row 3 : 3 | east germany (gdr) | 20 | 23 | 23 | 66 row 4 : 4 | west germany (frg) | 13 | 11 | 16 | 40 row 5 : 5 | japan | 13 | 8 | 8 | 29 row 6 : 6 | australia | 8 | 7 | 2 | 17 row 7 : 7 | poland | 7 | 5 | 9 | 21 row 8 : 8 | hungary | 6 | 13 | 16 | 35 row 9 : 9 | bulgaria | 6 | 10 | 5 | 21 row 10 : 10 | italy | 5 | 3 | 10 | 18 ] Execute this SQL based on the above table: select count ( total ) where nation = 'soviet union'
1
[ header: stage | date | route | terrain | length | winner row 1 : 1 | 22 june | rennes - lisieux | plain stage | 215 km (134 mi) | edward sels (bel) row 2 : 2 | 23 june | lisieux - amiens | plain stage | 208 km (129 mi) | andre darrigade (fra row 3 : 3a | 24 june | amiens - forest | plain stage | 197 km (122 mi) | bernard vandekerkhove ( row 4 : 4 | 25 june | forest - metz | plain stage | 292 km (181 mi) | rudi altig (ger) row 5 : 5 | 26 june | metz - freiburg | plain stage | 161 km (100 mi) | willy derboven (bel) row 6 : 6 | 27 june | freiburg - besancon | plain stage | 200 km (120 mi) | henk nijdam (n row 7 : 7 | 28 june | besancon - thonon | plain stage | 195 km (121 mi) | jan janssen (ned) row 8 : 8 | 29 june | thonon-les-bains | stage with mountain(s) | 249 km (155 mi) | federico bahamontes (es row 9 : 9 | 30 june | briancon - monaco | stage with mountain(s) | 239 km (149 mi) | jacques anquetil (fr row 10 : 10a | 1 july | monaco - hyeres | plain stage | 187 km (116 mi) | jan janssen (ned) row 11 : 10b | 1 july | hyeres - toulon | individual time trial | 21 km (13 mi) | jacques anquetil (fr row 12 : 11 | 2 july | toulon - montpellier | plain stage | 250 km (160 mi) | edward sels (bel) row 13 : 12 | 3 july | montpellier - perpignan | plain stage | 174 km (108 mi) | jo de roo (ne row 14 : 13 | 4 july | perpignan - andorra | stage with mountain(s) | 170 km (110 mi) | julio jimenez ( row 15 : 15 | 7 july | toulouse - luchon | stage with mountain(s) | 203 km (126 mi) | raymond poulidor (fra row 16 : 16 | 8 july | luchon - pau | stage with mountain(s) | 197 km (122 mi) | federico bahamontes (es row 17 : 17 | 9 july | peyrehorade - bayonne | individual time trial | 43 km (27 mi) | jacques anquetil (fr row 18 : 18 | 10 july | bayonne - bordeaux | plain stage | 187 km (116 mi) | andre darrigade (fra row 19 : 19 | 11 july | bordeaux - brive | plain stage | 215 km (134 mi) | edward sels (bel) row 20 : 20 | 12 july | brive - puy de dome | stage with mountain(s) | 217 km (135 mi) | julio jimenez ( row 21 : 21 | 13 july | clermont-ferrand - | plain stage | 311 km (193 mi) | jean stablinski (fra) ] Execute this SQL based on the above table: select terrain order by stage desc limit 1
stage with mountain(s)
[ header: # | title | songwriters | producer(s) | performer (s) row 1 : 1 | "a dream" | l. lynn, w | will.i.am | common, will.i.am row 2 : 2 | "listen!!!" | t.k. greene, k | kwame | talib kweli row 3 : 3 | "it's r time [lenky | j. ortega, v. | None | jeannie ortega row 4 : 4 | "when the ship goes down (dia | l. freese, l. | dj muggs | cypress hill row 5 : 5 | "hip hop hooray" | v. brown, a. cri | naughty by nature | naughty by nature row 6 : 6 | "keep ya head up" | t. shakur, d | dj daryl | 2pac row 7 : 7 | "code of the streets" | k. elam, c | dj premier | gang starr row 8 : 8 | "rebirth of slick (cool like | i. butler, c. | butterfly | digable planets row 9 : 9 | "officer" | t. hardson, j. mar | j-swift | the pharcyde row 10 : 10 | "this is how we do it" | m. jordan, o. | montell jordan, oji pier | montell jordan row 11 : 11 | "colors" | w. adams | will.i.am | will.i.am row 12 : 12 | "bus ride" | w. adams | will.i.am | will.i.am row 13 : 13 | "riots" | m. isham, w. | None | mark isham, miri ben-ari row 14 : 14 | "eva's theme" | m. isham | None | mark isham row 15 : 15 | "anne frank" | m. isham | None | mark isham, miri ben-ari ] Execute this SQL based on the above table: select # order by # desc limit 1
15
[ header: title | year | platform | developer | publisher row 1 : swat 3: close quarters battle | 1999 | microsoft windows | sierra northwest | sierra entertainment row 2 : swat: global strike team | 2003 | playstation 2, xbox | argonaut games | argonaut games sierra entertainment row 3 : swat 4 | 2005 | microsoft windows | irrational games | vivendi universal games sierra entertainment row 4 : swat 4: the stetchkov | 2006 | microsoft windows | irrational games | vivendi universal games sierra entertainment row 5 : swat force | 2006 | mobile phones | kaolink | vivendi games mobile row 6 : swat: target liberty | 2007 | playstation portable | 3g studios | sierra entertainment row 7 : swat elite troops | 2008 | mobile phones | rovio mobile | vivendi games mobile ] Execute this SQL based on the above table: select count ( publisher ) where year < 8
0
[ header: year | song | chart positions us country | chart positions can country | album row 1 : 1968 | "god help you woman" | 32 | 24 | singles only row 2 : 1969 | "please take me back" | 40 | None | singles only row 3 : 1969 | "i'm not through loving you" | 52 | None | singles only row 4 : 1969 | "molly" | 53 | None | singles only row 5 : 1973 | "i see his love all over you" | 67 | None | singles only row 6 : 1974 | "fool passin' through" | 68 | None | singles only row 7 : 1974 | "forgettin' 'bout | 51 | None | singles only row 8 : 1975 | "one, two, three (never | 88 | None | singles only row 9 : 1975 | "woman, woman" | 43 | 46 | singles only row 10 : 1976 | "she's free but she's | 66 | None | singles only row 11 : 1977 | "chasin' my tail" | 88 | None | singles only row 12 : 1977 | "don't let my love stand in your | 86 | None | singles only row 13 : 1983 | "when you're not a lady" | 16 | None | the man in the mirror row 14 : 1983 | "you got me running" | 28 | None | the man in the mirror row 15 : 1983 | "the man in the mirror" | 17 | None | the man in the mirror row 16 : 1984 | "if i could only dance with you" | 10 | 10 | the man in the mirror row 17 : 1984 | "you're gettin' to me | 1 | 3 | the man in the mirror row 18 : 1984 | "let me down easy" | 16 | 33 | the man in the mirror row 19 : 1985 | "i'll be your fool tonight" | 54 | None | past the point of no return row 20 : 1985 | "in another minute" | 27 | None | past the point of no return row 21 : 1986 | "if i don't love you" | 53 | None | past the point of no return row 22 : 1986 | "the lights of albuquerque" | 40 | None | everybody knows i'm yours ] Execute this SQL based on the above table: select song order by chart positions can country limit 1
"please take me back"
[ header: line | year opened | termini | termini row 1 : j church | 1917 | embarcadero station | balboa park station row 2 : k ingleside | 1918 | embarcadero station | balboa park station row 3 : l taraval | 1919 | embarcadero station | 46th avenue and wawona s row 4 : m ocean view | 1925 | embarcadero station | san jose and geneva balb row 5 : n judah | 1928 | 4th and king station caltrain depot | judah and la playa ocean beach row 6 : t third street | 2007 | west portal station | sunnydale station row 7 : s castro shuttle (peak hours & | None | embarcadero station 4th and | castro station west portal station (game days) ] Execute this SQL based on the above table: select termini where id = 1
balboa park station
[ header: place | player | country | score | to par | money ($) row 1 : 1 | larry nelson | united states | 70-66-66-71=273 | -7 | 60000 row 2 : 2 | fuzzy zoeller | united states | 70-68-68-71=277 | -3 | 40000 row 3 : 3 | dan pohl | united states | 69-67-73-69=2 | -2 | 25000 row 4 : t4 | isao aoki | japan | 75-68-66-70=279 | -1 | 13146 row 5 : t4 | keith fergus | united states | 71-71-69-68=2 | -1 | 13146 row 6 : t4 | bob gilder | united states | 74-69-70-66=2 | -1 | 13146 row 7 : t4 | tom kite | united states | 71-67-69-72=2 | -1 | 13146 row 8 : t4 | bruce lietzke | united states | 70-70-71-68=279 | -1 | 13146 row 9 : t4 | jack nicklaus | united states | 71-68-71-69=2 | -1 | 13146 row 10 : t4 | greg norman | australia | 73-67-68-71=2 | -1 | 13146 ] Execute this SQL based on the above table: select count ( place )
10
[ header: genre | year | title | episode | role | notes row 1 : short film | 1992 | the bet | None | henry | 21 minutes row 2 : short film | 1996 | sin #8 | None | None | None row 3 : tv series | 1997 | nothing sacred | "speaking in tongues" | dr. elliott | None row 4 : film | 1998 | finding north | None | travis furlong | None row 5 : tv series | 1998 | sex and the city | "oh come all ye faithful" | tom | None row 6 : tv series | 1999 | homicide: life on the street | "zen and the art of murder" | dennis kohler | None row 7 : film | 1999 | the general's daughter | None | captain goodson | None row 8 : tv series | 2000 | law & order: special victims unit | "misleader" "nocturne" | assistant district attorney | None row 9 : film | 2001 | the anniversary party | None | jerry adams | None row 10 : tv series | 2001 | the guardian | "loyalties" | the hudson's attorney | None row 11 : tv film | 2001 | life with judy garland: me and | None | roger edens | None row 12 : tv series | 2002 | hack | "obsession" | dr. martin shan | None row 13 : tv series | 2005 | law & order | "mammon" | aaron solomon | 5 episodes total row 14 : tv series | 2006 | brothers & sisters | "light the lights" | major guinness | None row 15 : tv series | 2006 | justice | "wrongful death" | lloyd barrett | None row 16 : tv series | 2006 | law & order | "profiteer" | aaron solomon | 5 episodes total row 17 : tv series | 2007 | critical situation | "nightmare on mt. | narrator | voice actor; also known as situation critical row 18 : tv series | 2007 | undercover history | "the hunt for hitler" "the hunt | narrator | voice actor; 6 episodes total row 19 : tv series | 2008 | undercover history | "unabomber: the secret history" | narrator/himself | voice actor; 6 episodes total row 20 : film | 2009 | the taking of pelham 123 | None | deputy mayor lasalle | None row 21 : tv series | 2009 | timewatch | "the real bonnie and clyde | narrator | voice actor row 22 : tv series | 2010 | the big c | "pilot" "summer time" "there | sean tolkey | 36 episodes total row 23 : tv series | 2011 | a gifted man | "in case of exposure" | ben tucker | None row 24 : tv series | 2011 | the good wife | "great firewall" | neil gross | 3 episodes total row 25 : tv series | 2012 | the big c | "thin ice" "what's | sean tolkey | 36 episodes total ] Execute this SQL based on the above table: select sum ( year ) where year in ( 2006 , 2009 , 1998 )
14032
[ header: title | genre | sub­divisions | libretto | premiere date | place, theatre | notes row 1 : primislao, primo re di | dramma per musica | 3 acts | giulio cesare corradi | 1697, autumn | venice, teatro s | music lost row 2 : aminta | dramma regio pastorale | 3 acts | apostolo zeno | 1703, autumn | florence, cocomero | music lost row 3 : il piu fedel tra | dramma per musica | 3 acts | francesco silvani | 1705, autumn | genoa, falcone | music lost row 4 : la prosperita di elio | dramma per musica | 3 acts | nicolo minato | 1707, carnival | genoa, falcone | music lost row 5 : la fortezza al cimento | melodramma | 2 acts | francesco silvani | 1707 | piacenza, ducale | music lost row 6 : engelberta | dramma per musica | 3 acts | apostolo zeno and pi | 1709, carnival | venice, teatro s | 4th and 5th acts by francesco row 7 : ciro | dramma per musica | 3 acts | pietro pariati | 1710, carnival | venice, teatro s | music lost row 8 : il tiranno eroe | dramma per musica | 3 acts | vincenzo cassani | 1711, carnival | venice, teatro s | None row 9 : le gare generose | dramma per musica | 3 acts | antonio zaniboni | 1712, autumn | venice, teatro s | music lost, except five arias row 10 : eumene | dramma per musica | 3 acts | antonio salvi | 1717, autumn | venice, teatro s | music lost, except one aria row 11 : meleagro | dramma per musica | 3 acts | pietro antonio bern | 1718, carnival | venice, teatro s | music lost row 12 : scipione nelle spagne | dramma per musica | 3 acts | apostolo zeno | 1724, ascension | venice, teatro s | music lost row 13 : didone abbandonata | tragedia | 3 acts | metastasio | 1725, carnival | venice, teatro s | music lost row 14 : l'impresario delle is | intermezzo | 2 acts | metastasio | 1725, carnival | venice, teatro s | music lost row 15 : ardelinda | dramma | 3 acts | bartolomeo vitturi | 1732, autumn | venice, teatro s | music lost, except five arias row 16 : artamene | dramma per musica | 3 acts | bartolomeo vitturi | 1741, carnival | venice, teatro s | music lost ] Execute this SQL based on the above table: select notes where place, theatre = 'venice, teatro san giovanni grisostomo'
music lost, except one aria
[ header: name | current use | completed | namesake | info row 1 : ritter library | library | 1958 | george ritter (alumn | ritter library is one of three libraries on row 2 : health center | health center | 1986 | None | built at the same time as the lou hig row 3 : lindsay-crossman chapel | chapel | 1870 | lindsay-crossman (trustee | originally called the emmanuel row 4 : historian's house | office | None | None | house dedicated by the university to hold historical records and row 5 : presidents house | home | 1935 | None | the president's house went through renovations in row 6 : alumni house | offices | None | None | the building was formally called victoria row 7 : newman center | newman center | None | None | the building is used by the newman student organization row 8 : tudor house | campus security | None | None | the building is used by bw safety row 9 : student activities center (sac) | student activity center | 1913-14 | None | originally built to be a women's gymnas row 10 : black cultural center | cultural center | None | None | the building is used as meeting space for student organizations row 11 : strosacker hall (union) | student activities center | 1965 | charles strosacker (alum | the building is home to administrative offices, student organizations row 12 : bonds hall | administrative building | None | alfred bonds (president) | former home of the admissions offices the building houses row 13 : durst welcome center | administrative building | 2011 | richard durst (president) | home to the university's admissions offices ] Execute this SQL based on the above table: select max ( completed )
2011
[ header: name | position | length [km] | drainage basin area [km2] | confluence [by lahn-km] | mouth elevation [m above msl] row 1 : feudinge (ruppersbach) | left | 6.3 | 21.2 | 9.8 | 388 row 2 : ilse | right | 8.4 | 11.8 | 10.5 | 382 row 3 : banfe | right | 11.5 | 38.9 | 18.5 | 326 row 4 : laasphe | left | 8.3 | 19.6 | 19.4 | 324 row 5 : perf | right | 20 | 113.1 | 24.7 | 285 row 6 : dautphe | left | 8.8 | 41.8 | 37.5 | 245 row 7 : wetschaft | left | 29 | 196.2 | 56.3 | 192 row 8 : ohm | left | 59.7 | 983.8 | 58.7 | 188 row 9 : allna | right | 19.1 | 92 | 77.1 | 172 row 10 : zwester ohm | left | 20 | 69.5 | 84 | 165 row 11 : salzbode | right | 27.6 | 137.8 | 87.4 | 164 row 12 : lumda | left | 30 | 131.5 | 93.6 | 160 row 13 : wieseck | left | 24.3 | 119.6 | 102.2 | 155 row 14 : bieber | right | 13.6 | 34.7 | 105.1 | 151 row 15 : kleebach | left | 26.9 | 164.6 | 106.2 | 150 row 16 : wetzbach | left | 11.7 | 32.9 | 119.6 | 147 row 17 : dill | right | 55 | 717.7 | 120.4 | 147 row 18 : solmsbach | left | 24.6 | 112.5 | 128.1 | 141 row 19 : iserbach (mottbach) | left | 19.2 | 31.2 | 131.4 | 139 row 20 : ulmbach | right | 22.9 | 60.9 | 138.2 | 135 row 21 : kallenbach | right | 14.6 | 84.7 | 141.3 | 132 row 22 : weil | left | 46.6 | 247.9 | 149.4 | 130 row 23 : kerkerbach | right | 20.7 | 70.2 | 176 | 112 row 24 : emsbach | left | 39.1 | 321.8 | 181 | 110 row 25 : elbbach | right | 40.7 | 323.7 | None | 109 row 26 : aar | left | 49.7 | 312.6 | None | 103 row 27 : dorsbach | left | 32 | 114 | None | 94 row 28 : gelbach (aubach) | right | 39.7 | 221.2 | None | 93 row 29 : muhlbach | left | 32.1 | 171.9 | None | 85 row 30 : emsbach | right | 11.5 | 29.4 | None | 75 ] Execute this SQL based on the above table: select position where id = ( select id where position = 'left' ) + 1
right
[ header: outcome | no. | date | tournament | surface | partner | opponents in the final | score in the final row 1 : runner-up | 1 | 1986 | toronto indoor, canada | carpet | danie visser | wojtek fibak joakim | 3-6, 6-7 row 2 : winner | 1 | 1986 | milan, italy | carpet | colin dowdeswell | brian levine laurie warder | 6-3, 4-6, 6-1 row 3 : runner-up | 2 | 1986 | atlanta, u.s | carpet | danie visser | andy kohlberg robert van | 2-6, 3-6 row 4 : winner | 2 | 1986 | bristol, england | grass | danie visser | mark edmondson wally masur | 6-7, 7-6, 12-10 row 5 : runner-up | 3 | 1986 | cincinnati, u.s | hard | danie visser | mark kratzmann kim warwick | 3-6, 4-6 row 6 : runner-up | 4 | 1986 | tel aviv, israel | hard | danie visser | john letts peter lund | 3-6, 6-3, 3-6 row 7 : runner-up | 5 | 1987 | philadelphia, u.s | carpet | danie visser | sergio casal emilio s | 6-3, 1-6, 6-7 ] Execute this SQL based on the above table: select count ( * ) where score in the final > surface
0
[ header: no. in series | no. in season | performer | appearance | air date row 1 : 268 | 1 | tom segura | only | 21 january 2011 row 2 : 269 | 2 | michael kosta | only | 21 january 2011 row 3 : 270 | 3 | sheng wang | only | 28 january 2011 row 4 : 271 | 4 | chelsea peretti | only | 28 january 2011 row 5 : 272 | 5 | chris d'elia | only | 4 february 2011 row 6 : 273 | 6 | nate bargatze | only | 4 february 2011 row 7 : 274 | 7 | hari kondabolu | only | 11 february 2011 row 8 : 275 | 8 | jack whitehall | only | 11 february 2011 row 9 : 276 | 9 | al jackson | only | 18 february 2011 row 10 : 277 | 10 | kyle kinane | only | 25 february 2011 row 11 : 278 | 11 | matt fulchiron | only | 25 february 2011 row 12 : 279 | 12 | mike vecchione | only | 4 march 2011 row 13 : 280 | 13 | jessi klein | only | 4 march 2011 row 14 : 281 | 14 | louis katz | only | 11 march 2011 row 15 : 282 | 15 | jay larson | only | 11 march 2011 row 16 : 283 | 16 | natasha leggero | only | 25 march 2011 ] Execute this SQL based on the above table: select appearance order by no. in series limit 1
only
[ header: rank | npc | gold | silver | bronze | total row 1 : 1 | china (chn) | 95 | 71 | 65 | 231 row 2 : 2 | russia (rus) | 36 | 38 | 28 | 102 row 3 : 3 | great britain (gbr) | 34 | 43 | 43 | 120 row 4 : 4 | ukraine (ukr) | 32 | 24 | 28 | 84 row 5 : 5 | australia (aus) | 32 | 23 | 30 | 85 row 6 : 6 | united states (usa) | 31 | 29 | 38 | 98 row 7 : 7 | brazil (bra) | 21 | 14 | 8 | 43 row 8 : 8 | germany (ger) | 18 | 26 | 22 | 66 row 9 : 9 | poland (pol) | 14 | 13 | 9 | 36 row 10 : 10 | netherlands (ned) | 10 | 10 | 19 | 39 row 11 : total (75 npcs) | total (75 npcs) | 503 | 503 | 516 | 1522 ] Execute this SQL based on the above table: select npc where rank = ( select rank where npc = 'brazil (bra)' ) + 1
germany (ger)
[ header: # | title | songwriters | producer(s) | performer row 1 : 1 | "shalom a leck" | p. chapman, k-de | k-def | tragedy row 2 : 2 | "hoodlum intro" | None | None | interlude row 3 : 3 | "underground" | p. chapman, k-de | k-def | tragedy row 4 : 4 | "funk mode" | p. chapman, k-de | k-def | tragedy row 5 : 5 | "grand groove" | p. chapman, k-de | k-def | tragedy row 6 : 6 | "at large" | p. chapman, k-de | k-def, marley marl | tragedy row 7 : 7 | "death row" | p. chapman, k-de | k-def, marley marl | tragedy row 8 : 8 | "speech [check the time]" | None | kool tee | interlude row 9 : 9 | "mad brothas know his name" | p. chapman, k-de | k-def, marley marl | tragedy row 10 : 10 | "pass the teck" | p. chapman, k-de | k-def | tragedy, havoc row 11 : 11 | "street life" | p. chapman, epitome of | epitome of scratch | tragedy row 12 : 12 | "pump the funk" | p. chapman, m. will | marley marl | tragedy row 13 : 13 | "role model" | p. chapman, koo | kool tee | tragedy row 14 : 14 | "the posse [shoot | p. chapman, mr. | mr. freaknasti | tragedy row 15 : 15 | "grand groove [bonus mix]" | p. chapman, k-de | k-def | tragedy row 16 : 16 | "funky roll outro" | None | None | interlude ] Execute this SQL based on the above table: select ( select id where title = '"death row"' ) = ( select id where title = '"underground"' )
0
[ header: # | title | performer(s) | film | length row 1 : 1 | "a dream is a wish your heart makes | disney channel stars | cinderella | 3:46 row 2 : 2 | "zip-a-dee-do | miley cyrus | song of the south | 3:06 row 3 : 3 | "if i never knew you" | the cheetah girls | pocahontas | 3:16 row 4 : 4 | "who's afraid of the big bad | b5 | three little pigs | 3:32 row 5 : 5 | "reflection" (remix) | christina aguilera | mulan | 3:15 row 6 : 6 | "i'll try" | jesse mccartney | return to never land | 3:51 row 7 : 7 | "look through my eyes" | everlife | brother bear | 3:11 row 8 : 8 | "candle on the water" | anneliese van der pol | pete's dragon | 3:08 row 9 : 9 | "you'll be in my heart" | teddy geiger | tarzan | 4:15 row 10 : 10 | "yo ho (a pirate's life | jonas brothers | pirates of the caribbean | 2:04 row 11 : 11 | "someday my prince will come (feat | ashley tisdale | snow white and the seven dwarfs | 3:31 row 12 : 12 | "hawaiian roller coaster ride | baha men | lilo & stitch | 3:30 row 13 : 13 | "can you feel the love tonight" | sara paxton | the lion king | 3:40 row 14 : 14 | "super cali (boiob | orlando brown | mary poppins | 3:32 row 15 : 15 | "monkey's uncle" | devo 2.0 | the monkey's uncle | 2:24 row 16 : 16 | "cruella de vil" 1 | skye sweetnam | 101 dalmatians | 2:55 row 17 : 17 | "go the distance" 1 | k-ci & jojo | hercules | 4:10 ] Execute this SQL based on the above table: select title where title in ( '"can you feel the love tonight"' , '"a dream is a wish your heart makes"' ) order by # desc limit 1
"can you feel the love tonight"
[ header: institution | city | state | team name | affiliation | enrollment | home conference row 1 : augustana college (illinois) | rock island | illinois | vikings | private/lutheran | 2500 | cciw row 2 : aurora university | aurora | illinois | spartans | private/non-sectarian | 1685 | northern row 3 : beloit college | beloit | wisconsin | buccaneers | private/non-sectarian | 1300 | midwest row 4 : benedictine university | lisle | illinois | eagles | private/catholic | 3282 | northern row 5 : carthage college | kenosha | wisconsin | red men | private/lutheran | 2188 | cciw row 6 : concordia university wisconsin | mequon | wisconsin | falcons | private/lutheran | 1608 | northern row 7 : university of dubuque | dubuque | iowa | spartans | private/presbyterian | 1559 | iiac row 8 : elmhurst college | elmhurst | illinois | bluejays | private/united church of christ | 3400 | cciw row 9 : fontbonne university | st. louis | missouri | griffins | private/catholic | 2924 | sliac row 10 : college of mount st. josep | cincinnati | ohio | lions | private/catholic | 1334 | hcac row 11 : north central college | naperville | illinois | cardinals | private/methodist | 2900 | cciw ] Execute this SQL based on the above table: select count ( city ) where institution = 'fontbonne university'
1
[ header: name of place | counties | principal county | lower zip code row 1 : campbell hall | 1 | orange county | 10916 row 2 : canaan | 1 | columbia county | 12029 row 3 : canajoharie | 1 | montgomery county | None row 4 : canoe place | 1 | suffolk county | 11946 row 5 : careys corners | 1 | oneida county | None row 6 : carman | 1 | schenectady county | 12303 row 7 : carpenters corners | 1 | fulton county | None row 8 : cass | 1 | erie county | 14206 row 9 : castle point | 1 | dutchess county | 12511 row 10 : catfish corners | 1 | oswego county | None row 11 : catskill (town) | 1 | greene county | 12414 row 12 : cayuta | 1 | schuyler county | 14824 row 13 : cedar hill | 1 | albany county | 12158 row 14 : cedarville station | 1 | herkimer county | None row 15 : central nyack | 1 | rockland county | 10960 row 16 : chase lake | 1 | lewis county | 13343 row 17 : chelsea | 1 | dutchess county | 12512 row 18 : chemung | 1 | chemung county | None row 19 : chili junction | 1 | monroe county | None row 20 : chittenango springs | 1 | madison county | None row 21 : churchville | 1 | monroe county | 14428 row 22 : clarkson | 1 | monroe county | 14430 row 23 : claverack | 1 | columbia county | None row 24 : clifton heights | 1 | erie county | 14085 row 25 : clinton county airport | 1 | clinton county | None row 26 : coldbrook | 1 | erie county | 14072 row 27 : colemans mills | 1 | oneida county | 13492 row 28 : coleman station | 1 | dutchess county | None row 29 : colonial acres | 1 | albany county | 12077 row 30 : colonial acres | 1 | westchester county | 10583 row 31 : columbus quarter | 1 | chenango county | None row 32 : como | 1 | cayuga county | None row 33 : congers | 1 | rockland county | 10920 row 34 : connelly park | 1 | chautauqua county | 14710 row 35 : conquest | 1 | cayuga county | None row 36 : cooperstown junction | 1 | otsego county | 12116 row 37 : craterclub | 1 | essex county | 12936 row 38 : crescent beach | 1 | monroe county | 14612 row 39 : crestwood | 1 | westchester county | 10707 row 40 : crestwood | 1 | westchester county | None row 41 : crittenden | 1 | erie county | 14038 row 42 : croghan | 1 | lewis county | 13327 row 43 : croghan | 1 | lewis county | None ] Execute this SQL based on the above table: select count ( distinct counties ) where principal county = 'monroe county'
1
[ header: name | country | top rugby league level | top union level | top representation level | rugby league debut | rugby union debut row 1 : karmichael hunt | new zealand, australia | national rugby league | top 14, biarritz olymp | australia (rl) | 2004 | 2009 row 2 : chris ashton | england | super league | english premiership | england (rl), eng | 2005 | 2007 row 3 : lee smith | england | super league | english premiership | england (rl), great | 2005 | 2009 row 4 : berrick barnes | australia | nrl | super rugby | australia (ru) | 2005 | 2006 row 5 : nathan blacklock | australia | nrl/super league | super 12 | australia (rl) | 1995 | 2003 row 6 : willie carne | australia | nrl | super rugby | australia (rl) | 1990 | 1997 row 7 : brian carney | ireland | super league/nrl | celtic league | great britain (rl), | 1999 | 2007 row 8 : andy farrell | england | super league | english premiership | great britain (rl), | 1991 | 2005 row 9 : paul franze | australia | nrl | english premiership | australia (rl), london | 2002 | 2006 row 10 : iestyn harris | wales | super league | heineken cup, celtic league | great britain (rl), | 1993 | 2001 row 11 : sam harris | australia | nrl | super rugby | australian schoolboys (ru), city | 2003 | 2007 row 12 : wise kativerata | australia | nrl | shute shield | australia sevens (ru) | 2001 | 2004 row 13 : ben macdougall | australia | nrl | celtic league | scotland (ru) | 1998 | 2006 row 14 : henry paul | new zealand | nrl | english premiership | new zealand (rl), | 1993 | 2001 row 15 : jason robinson | england | super league | english premiership | great britain (rl), | 1991 | 1996 row 16 : mat rogers | australia | nrl | super rugby | australia (rl/ru) | 1995 | 2002 row 17 : clinton schifcofske | australia | nrl/super league | super rugby | state of origin {rl), australia | 1996 | 2006 row 18 : timana tahu | australia | nrl | super rugby | australia (rl/ru) | 1999 | 2008 row 19 : alan tait | scotland | super league | celtic league | scotland (rl/r | 1988 | 1996 row 20 : brad thorn | australia | nrl | super rugby | australia (rl), new zealand | 1994 | 2001 row 21 : andrew walker | australia | nrl | super rugby | australia (rl/ru) | 1991 | 2000 row 22 : chev walker | england | super league | english premiership | great britain (rl), | 1999 | 2007 row 23 : craig wing | australia | nrl | top league | australian kangaroos (r | 2002 | 2010 ] Execute this SQL based on the above table: select count ( top union level ) where top rugby league level = 'nrl'
12
[ header: no | test no | 1st team | 2nd team | winner | margin | toss | bat | date row 1 : 1 | 745 | india | west indies | west indies | 267 runs | won | 2nd | 22-11-1974 row 2 : 2 | 794 | india | england | india | 140 runs | won | 1st | 28-1-1977 row 3 : 3 | 837 | india | west indies | draw | None | lost | 2nd | 15-12-1978 row 4 : 4 | 856 | india | australia | draw | None | lost | 2nd | 19-9-1979 row 5 : 5 | 861 | india | pakistan | draw | None | lost | 2nd | 21-11-1979 row 6 : 6 | 912 | india | england | draw | None | lost | 2nd | 9-12-1981 row 7 : 7 | 961 | india | pakistan | draw | None | won | 1st | 14-9-1983 row 8 : 8 | 1073 | india | pakistan | pakistan | 16 runs | lost | 2nd | 13-3-1987 row 9 : 9 | 1107 | india | new zealand | india | 172 runs | won | 1st | 12-11-1988 row 10 : 10 | 1245 | india | sri lanka | india | inns & 95 runs | won | 1st | 26-1-1994 row 11 : 11 | 1308 | india | new zealand | india | 8 wickets | lost | 2nd | 18-10-1995 row 12 : 12 | 1413 | india | australia | australia | 8 wickets | won | 1st | 25-3-1998 row 13 : 13 | 1486 | india | south africa | south africa | inns & 71 runs | won | 1st | 2-3-2000 row 14 : 14 | 1578 | india | england | draw | None | lost | 2nd | 19-12-2001 row 15 : 15 | 1713 | india | australia | australia | 217 runs | lost | 2nd | 6-10-2004 row 16 : 16 | 1743 | india | pakistan | pakistan | 168 runs | lost | 2nd | 24-3-2005 row 17 : 17 | 1852 | india | pakistan | draw | None | won | 1st | 8-12-2007 row 18 : 18 | 1887 | india | australia | draw | None | lost | 2nd | 9-10-2008 row 19 : 19 | 1973 | india | australia | india | 7 wickets | lost | 2nd | 9-10-2010 row 20 : 20 | 2055 | india | new zealand | india | 5 wickets | lost | 2nd | 25-5-2008 ] Execute this SQL based on the above table: select ( select 2nd team where test no = 1486 ) > ( select 2nd team where test no = 1073 )
1
[ header: rank | name | nationality | time row 1 : None | gustavo borges | brazil | 1:49.41 row 2 : None | scott tucker | united states | 1:50.99 row 3 : None | leonardo costa | brazil | 1:51.29 row 4 : None | mark johnston | canada | 1:51.29 row 5 : 5 | nate boyle | united states | 1:52.83 row 6 : 6 | yannick lupien | canada | 1:52.92 row 7 : 7 | joshua ilika | mexico | 1:53.73 row 8 : 8 | javier diaz | mexico | 1:54.01 ] Execute this SQL based on the above table: select nationality , name order by rank desc limit 1
mexico, javier diaz
[ header: year 1958 | title {the rebel | role | notes row 1 : 1958 | sea hunt | seminard | 1 episode row 2 : 1960 | bourbon street beat | joe leslie | 1 episode row 3 : 1960 | surfside 6 | mr. beamish | 1 episode row 4 : 1961 | the everglades | wikkament | 1 episode row 5 : 1962 | the new breed | manrique | 1 episode row 6 : 1962 | perry mason | forsette | 1 episode row 7 : 1962 | perry mason | alexander glovatsky | 1 episode row 8 : 1963 | ge true | charles colvin | 1 episode row 9 : 1965 | voyage to the bottom of the sea | dr. tabor ulrich | 1 episode row 10 : 1965 | bob hope presents the chrysler | general leo chareet | 3 episodes row 11 : 1966 | the man from u.n.c. | colonel hubris | 1 episode row 12 : 1966 | batman | king tut | 8 episodes row 13 : 1966 | i spy | karafatma | 1 episode row 14 : 1967 | the girl from u.n.c. | sir cecil seabrook | 1 episode row 15 : 1967 | t.h.e. cat | general burek | 1 episode row 16 : 1967 | daniel boone | milo quaife | 1 episode row 17 : 1968 | the wild wild west | count mario vincenzo robespier | 2 episodes row 18 : 1969 | the flying nun | marko "the magnificent" antoni | 1 episode row 19 : 1969 | here's lucy | mr. vermillion | 1 episode row 20 : 1969 | it takes a thief | mr. kent | 1 episode row 21 : 1970 | get smart | hannibal day | 1 episode row 22 : 1970 | o'hara, u.s. | al connors | 1 episode row 23 : 1973 | mannix | hamilton starr | 1 episode row 24 : 1973 | hawaii five-o | eric damien | 1 episode row 25 : 1973 and 1975 | the odd couple | dr. clove/hugo love | 2 episodes row 26 : 1976 | ellery queen | dr. friedland | 1 episode row 27 : 1976 | the tony randall show | judge bernard gluck | 1 episode row 28 : 1976 | alice | mr. james | 1 episode row 29 : 1977 | the hardy boys/nancy dre | seth taylor | 1 episode row 30 : 1979 | supertrain | misto | 1 episode row 31 : 1979 | man from atlantis | dr. schubert | 9 episodes row 32 : 1980 | taxi | james caldwell | 1 episode row 33 : 1980 | fantasy island | dr. albert z. fell | 1 episode row 34 : 1980-1981 | vega$ | "diamond" jim | 4 episodes row 35 : 1981 | here's boomer | dr. frankenstein | 1 episode ] Execute this SQL based on the above table: select title {the rebel where role = 'king tut' order by notes limit 1336
batman
[ header: category | speed (km/h) | speed (mph) | vehicle | pilot | date row 1 : rocket-powered aircraft | 7258 | 4510 | north american x-15 | william j. knight | 3 oct 1967 row 2 : manned air-breathing craft | 3530 | 2194 | lockheed sr-71 blackbird | eldon w. joersz | 28 jul 1976 row 3 : propeller-driven aircraft | 870 | 541 | tupolev tu-114 | ivan soukhomline | 1960 row 4 : piston-engined propeller-driven aircraft | 850.1 | 528.33 | grumman f8f bearcat rare | lyle shelton | 21 aug 1989 row 5 : helicopter | 401 | 249.1 | westland lynx 800 g | john egginton | 11 aug 1986 row 6 : glider (sailplane) | 306.8 | 190.6 | schempp-hirth nim | klaus ohlmann and | 22 dec 2006 row 7 : human-powered aircraft | 32 | 19.8 | mit monarch b | frank scarabino | 1 may 1984 ] Execute this SQL based on the above table: select vehicle where vehicle in ( 'schempp-hirth nimbus-4dm' , 'mit monarch b' ) order by speed (mph) desc limit 1
schempp-hirth nimbus-4dm
[ header: season | level | division | section | administration | position | movements row 1 : 1999 | tier 2 | ykkonen (first division) | south group | finnish fa (suo | 9th | relegation group - relegate row 2 : 2000 | tier 3 | kakkonen (second division) | south group | finnish fa (suo | 2nd | play-offs - promoted row 3 : 2001 | tier 2 | ykkonen (first division) | south group | finnish fa (suo | 9th | relegated row 4 : 2002 | tier 3 | kakkonen (second division) | south group | finnish fa (suo | 2nd | None row 5 : 2003 | tier 3 | kakkonen (second division) | south group | finnish fa (suo | 11th | relegated row 6 : 2004 | tier 4 | kolmonen (third division) | section 3 | helsinki & u | 8th | None row 7 : 2005 | tier 4 | kolmonen (third division) | section 3 | helsinki & u | 6th | None row 8 : 2006 | tier 4 | kolmonen (third division) | section 2 | helsinki & u | 7th | None row 9 : 2007 | tier 4 | kolmonen (third division) | section 3 | helsinki & u | 2nd | None row 10 : 2008 | tier 4 | kolmonen (third division) | section 3 | helsinki & u | 2nd | None row 11 : 2009 | tier 4 | kolmonen (third division) | section 2 | helsinki & u | 1st | promoted row 12 : 2010 | tier 3 | kakkonen (second division) | group a | finnish fa (suo | None | None ] Execute this SQL based on the above table: select position where level < ( select level where position = '8th' ) order by level desc limit 1
2nd
[ header: name | pos. | caps | goals | club row 1 : olle ahlund | mf | 1 | 0 | degerfors if row 2 : sune "mona-lisa | mf | 5 | 0 | aik solna row 3 : henry "garvis" carls | fw | 2 | 0 | aik solna row 4 : rune "killing" emanu | mf | 2 | 0 | ifk goteborg row 5 : thure grahn | df | 1 | 0 | is halmia halmsta row 6 : gunnar "il professore" gren | fw | 5 | 5 | ifk goteborg row 7 : sven "jack" jacobs | mf | 1 | 0 | gais goteborg row 8 : egon "hemliga" jons | fw | 1 | 0 | malmo ff row 9 : borje leander | mf | 1 | 0 | aik solna row 10 : nils "lidas"/" | fw | 6 | 5 | ifk norrkoping row 11 : torsten "lindy" lindberg | gk | 5 | 0 | ifk norrkoping row 12 : lennart lindskog | fw | 1 | 0 | degerfors if row 13 : malte "svarta bli | fw | 2 | 0 | halsingborgs if row 14 : erik nilsson | df | 4 | 0 | malmo ff row 15 : harry nilsson | df | 2 | 0 | aik solna row 16 : ove nilsson | gk | 1 | 0 | djurgardens if stockhol row 17 : stellan nilsson | fw | 4 | 0 | malmo ff row 18 : bertil nordahl | mf | 4 | 0 | degerfors if row 19 : gunnar nordahl | fw | 6 | 8 | ifk norrkoping row 20 : knut nordahl | df | 5 | 0 | ifk norrkoping row 21 : stig nystrom | fw | 1 | 1 | djurgardens if stockhol row 22 : kjell rosen | mf/fw | 4 | 0 | malmo ff row 23 : birger "bian" rosengren | mf | 1 | 0 | ifk norrkoping row 24 : rolf svensson | fw | 1 | 0 | halsingborgs if row 25 : borje tapper | fw | 1 | 1 | malmo ff ] Execute this SQL based on the above table: select count ( name ) where caps = 4
4
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | cuba | 9 | 11 | 12 | 32 row 2 : 2 | jamaica | 7 | 5 | 4 | 16 row 3 : 3 | colombia | 4 | 2 | 3 | 9 row 4 : 4 | puerto rico | 4 | 2 | 1 | 7 row 5 : 5 | mexico | 3 | 3 | 4 | 10 row 6 : 6 | trinidad and tobago | 2 | 5 | 1 | 8 row 7 : 7 | barbados | 1 | 1 | 1 | 3 row 8 : 8 | guatemala | 1 | 0 | 0 | 1 row 9 : 8 | bahamas | 1 | 0 | 0 | 1 row 10 : 10 | venezuela | 0 | 2 | 5 | 7 row 11 : 11 | u.s. virgin islands | 0 | 1 | 1 | 2 ] Execute this SQL based on the above table: select nation where nation = 'cuba'
cuba
[ header: edition | year | men's winner | time (m:s) | women's winner | time (m:s) row 1 : 1st | 1990 | marti ten kate (n | 47:52 | alison gooderham (gbr | 56:09 row 2 : 2nd | 1991 | thomas naali (t | 47:11 | olga bondarenko (urs | 53:16 row 3 : 3rd | 1992 | boay akonay (t | 47:04 | iulia negura (rom) | 53:19 row 4 : 4th | 1993 | gary staines (gbr) | 46:11 | iulia negura (rom) | 53:01 row 5 : 5th | 1994 | gary staines (gbr) | 47:00 | gitte karlshø | 54:49 row 6 : 6th | 1995 | benson masya (ken) | 45:56 | liz mccolgan (gb | 53:12 row 7 : 7th | 1996 | gary staines (gbr) | 46:57 | derartu tulu (eth) | 52:39 row 8 : 8th | 1997 | christopher kelong (ken) | 46:53 | liz mccolgan (gb | 52:00 row 9 : 9th | 1998 | stephane franke (ger) | 47:40 | marian sutton (gbr) | 54:17 row 10 : 10th | 1999 | simon kasimili (ken) | 47:42 | esther kiplagat (ken) | 54:42 row 11 : 11th | 2000 | gert thys (rs | 48:26 | restituta joseph (tan | 55:10 row 12 : 12th | 2001 | khalid skah (mar) | 46:17 | restituta joseph (tan | 52:36 row 13 : 13th | 2002 | simon kasimili (ken) | 47:27 | sonia o'sullivan | 51:00 row 14 : 14th | 2003 | john yuda (tan | 46:35 | sonia o'sullivan | 53:26 row 15 : 15th | 2004 | hendrick ramaala (r | 47:14 | benita johnson (aus) | 52:32 row 16 : 16th | 2005 | john yuda (tan | 46:45 | derartu tulu (eth) | 51:27 row 17 : 17th | 2006 | simon arusei (ken) | 47:17 | jo pavey (gbr) | 52:46 row 18 : 18th | 2007 | luke kibet (ken | 47:31 | rose cheruiyot (ken | 53:44 row 19 : 19th | 2008 | bernard kipyego ( | 46:42 | paula radcliffe (gb | 51:11 row 20 : 20th | 2009 | mo farah (gbr) | 46:25 | ines monteiro (por) | 52:32 row 21 : 21st | 2010 | joseph ebuya (ken | 45:15 | grace momanyi (ken) | 52:03 row 22 : 22nd | 2011 | leonard komon (ken) | 46:18 | aselefech mergia (eth | 52:55 row 23 : 23rd | 2012 | stephen mokoka (rsa | 46:40 | jo pavey (grb) | 53:01 row 24 : 24th | 2013 | emmanuel bett ( | 48:03 | florence kiplagat (ken) | 53:53 ] Execute this SQL based on the above table: select count ( men's winner ) where men's winner > 352
24