inputs
stringlengths
291
3.71k
targets
stringlengths
1
2.65k
[ header: sl no | constituency name | constituency number | member of legislative assembly | political party row 1 : 2 | abhayapuri south | 35 | chandan kumar sarkar | indian national congress row 2 : 4 | amguri | 103 | anjan dutta | indian national congress row 3 : 9 | barhampur | 87 | prafulla kumar mahanta | asom gana parishad row 4 : 15 | bihali | 77 | pallab lochan das | indian national congress row 5 : 16 | bihpuria | 109 | bhupen kumar bor | indian national congress row 6 : 17 | bijni | 33 | kamalshing narzary | bodoland peoples front row 7 : 21 | bokajan | 17 | klengdoon engti | indian national congress row 8 : 35 | dhemaji | 113 | sumitra doley patir | indian national congress row 9 : 49 | gauripur | 24 | banendra kumar mushahary | bodoland peoples front row 10 : 53 | golakganj | 25 | abu taher bepari | indian national congress row 11 : 56 | hajo | 55 | dwipen pathak | all india trinamool congress row 12 : 59 | howraghat | 18 | khorsing engti | indian national congress row 13 : 60 | jagiroad | 79 | bibekananda dalai | indian national congress row 14 : 62 | jalukbari | 51 | himanta biswa sarma | indian national congress row 15 : 63 | jamunamukh | 90 | mohammed sirajuddin a | all india united democratic front row 16 : 64 | jania | 44 | rafiqul islam | all india united democratic front row 17 : 65 | jonai | 114 | pradan baruah | indian national congress row 18 : 73 | katlicherra | 7 | gautam roy | indian national congress row 19 : 76 | kokrajhar west | 29 | pradip kumar brahma | bodoland peoples front row 20 : 83 | majuli | 99 | sri rajib lochan | indian national congress row 21 : 87 | mazbat | 70 | rakheswar brahma | bodoland peoples front row 22 : 95 | nowgong | 86 | dr. durlav chandra | indian national congress row 23 : 101 | rangapara | 74 | bhimananda tanti | indian national congress row 24 : 105 | sadiya | 126 | bolin chetia | indian national congress row 25 : 111 | sidli | 31 | sri chandan brahm | bodoland peoples front row 26 : 114 | sonai | 10 | anamul haque | indian national congress row 27 : 115 | sonari | 106 | sarat borkotoky | indian national congress row 28 : 116 | sootea | 75 | padma hazarika | asom gana parishad row 29 : 119 | teok | 102 | membar gogoi | indian national congress row 30 : 122 | tingkhong | 119 | atuwa munda | indian national congress row 31 : 123 | tinsukia | 122 | rajendra prasad singh | indian national congress ] Execute this SQL based on the above table: select member of legislative assembly where constituency number < 51 order by constituency number desc limit 1
rafiqul islam
[ header: rank | name | nationality | time row 1 : None | mark henderson | united states | 54.11 row 2 : None | eduardo piccinini | brazil | 54.63 row 3 : None | brian alderman | united states | 54.75 row 4 : 4 | francisco sanchez | venezuela | 54.99 row 5 : 5 | edward parenti | canada | 55.23 row 6 : 6 | diego cuenca | colombia | 55.67 row 7 : 7 | jose meolans | argentina | 55.91 row 8 : 8 | ruben calderon | el salvador | 56.04 ] Execute this SQL based on the above table: select name where nationality = 'el salvador'
ruben calderon
[ header: year | name | source | definition row 1 : c. 486 bc | hidush | naksh-i-rustam | "says darius the king: by row 2 : c.400-300 bc | hodu | book of esther | says "now it took place in the days of row 3 : c. 440 bc | india | herodotus | "eastward of india lies a tract which row 4 : 320 ce or later | bharatam | vishnu purana | "उततर यतसमदरसय हिमादरशचव दकषिणम । row 5 : c. 650 | five indies | xuanzang | "the circumference of 五印 (modern row 6 : 1298 | india the greater india the minor middle india | marco polo | "india the greater is that which extends row 7 : c. 1328 | india | friar jordanus | "what shall i say? the great- ] Execute this SQL based on the above table: select definition where definition != '"india the greater is that which extends from maabar to kesmacoran (i.e. from coromandel to mekran), and it contains 13 great kingdoms. . . . india the lesser extends from the province of champa to mutfili (i.e. from cochin-china to the kistna delta), and contains 8 great kingdoms. . . . abash (abyssinia) is a very great province, and you must know that it constitutes the middle india."' group by definition having count ( * ) = ( select count ( * ) where definition = '"india the greater is that which extends from maabar to kesmacoran (i.e. from coromandel to mekran), and it contains 13 great kingdoms. . . . india the lesser extends from the province of champa to mutfili (i.e. from cochin-china to the kistna delta), and contains 8 great kingdoms. . . . abash (abyssinia) is a very great province, and you must know that it constitutes the middle india."' )
"eastward of india lies a tract which is entirely sand. indeed, of all the inhabitants of asia, concerning whom anything is known, the indians dwell nearest to the east, and the rising of the sun.", "says darius the king: by the grace of ormazd these (are) the countries which i have acquired besides persia. i have established my power over them. they have brought tribute to me. that which has been said to them by me they have done. they have obeyed my law. medea... arachotia (harauvatish), sattagydia (thatagush), gandaria (gadara), india (hidush)....", "the circumference of 五印 (modern chinese: wu yin, the five indies) is about 90,000 li; on three sides it is bounded by a great sea; on the north it is backed by snowy mountains. it is wide at the north and narrow at the south; its figure is that of a half-moon.", "what shall i say? the great- ness of this india is beyond description. but let this much suffice concerning india the greater and the less. of india tertia i will say this, that i have not indeed seen its many marvels, not having been there. . . .", "उततर यतसमदरसय हिमादरशचव दकषिणम । वरष तद भारत नाम भारती यतर सततिः ।।" i.e. "the country (varsam) that lies north of the ocean and south of the snowy mountains is called bharatam; there dwell the descendants of bharata.", says "now it took place in the days of ahasuerus, the ahasuerus who reigned from hodu(india) to cush(ethiopia) over 127 provinces"
[ header: | name | date | location | county | description row 1 : 1 | diamond head | None | honolulu | oahu | state monument row 2 : 2 | i'ao valley | None | wailuku | maui | state monument row 3 : 3 | kanaha pond | june 1971 | kahului | maui | bird sanctuary row 4 : 4 | koʻolau range pali | None | None | oahu | None row 5 : 5 | makalawena marsh | june 1972 | north kona | hawaiʻi | bird sanctuary row 6 : 6 | mauna kea | november 1972 | saddle road | hawaiʻi | u.s. state high point row 7 : 7 | north shore cliffs | december 1972 | molokaʻi | maui | None ] Execute this SQL based on the above table: select count ( * ) where name = 'kanaha pond'
1
[ header: against | played | won | drawn | lost | win % row 1 : andorra | 3 | 3 | 0 | 0 | 100% row 2 : argentina | 4 | 0 | 0 | 4 | 0% row 3 : australia | 1 | 0 | 0 | 1 | 0% row 4 : australia emerging | 1 | 0 | 1 | 0 | 0% row 5 : belgium | 14 | 12 | 1 | 1 | 85.71% row 6 : canada | 1 | 0 | 0 | 1 | 0% row 7 : chile | 4 | 2 | 0 | 2 | 50% row 8 : croatia | 2 | 1 | 1 | 0 | 50% row 9 : denmark | 1 | 1 | 0 | 0 | 100% row 10 : england a | 7 | 0 | 0 | 7 | 0% row 11 : england counties | 1 | 0 | 0 | 1 | 0% row 12 : royal air force rugby team | 4 | 0 | 2 | 2 | 0% row 13 : fiji | 1 | 0 | 0 | 1 | 0% row 14 : france | 24 | 0 | 0 | 24 | 0% row 15 : france a | 2 | 0 | 0 | 2 | 0% row 16 : france u | 2 | 1 | 0 | 1 | 50% row 17 : french protectorate of morocco | 4 | 1 | 1 | 2 | 25% row 18 : georgia | 12 | 3 | 1 | 8 | 25% row 19 : germany | 7 | 6 | 0 | 1 | 85.71% row 20 : hungary | 1 | 1 | 0 | 0 | 100% row 21 : italy | 27 | 3 | 1 | 23 | 11.11% row 22 : japan | 3 | 0 | 0 | 3 | 0% row 23 : moldova | 1 | 1 | 0 | 0 | 100% row 24 : morocco | 17 | 10 | 1 | 6 | 58.82% row 25 : namibia | 2 | 2 | 0 | 0 | 100% row 26 : netherlands | 13 | 12 | 1 | 0 | 92.31% row 27 : new zealand services | 2 | 0 | 0 | 2 | 0% row 28 : poland | 16 | 10 | 0 | 6 | 62.50% row 29 : portugal | 33 | 21 | 2 | 10 | 63.63% row 30 : czech republic | 8 | 2 | 0 | 6 | 75% row 31 : romania | 29 | 2 | 0 | 27 | 6.90% row 32 : russia | 16 | 2 | 0 | 14 | 12.50% row 33 : scotland | 8 | 0 | 0 | 8 | 0% row 34 : slovenia | 1 | 1 | 0 | 0 | 100% row 35 : south africa | 1 | 0 | 0 | 1 | 0% row 36 : south africa "a" | 1 | 0 | 0 | 1 | 0% row 37 : soviet union | 7 | 0 | 0 | 7 | 0% row 38 : sweden | 2 | 2 | 0 | 0 | 100% row 39 : switzerland | 1 | 1 | 0 | 0 | 100% row 40 : tunisia | 6 | 1 | 0 | 5 | 83.33% row 41 : ukraine | 2 | 2 | 0 | 0 | 100% row 42 : uruguay | 7 | 3 | 0 | 4 | 42.86% row 43 : united states | 3 | 0 | 0 | 3 | 0% row 44 : wales a | 3 | 0 | 0 | 3 | 0% row 45 : yugoslavia | 4 | 4 | 0 | 0 | 100% row 46 : zimbabwe | 7 | 5 | 0 | 2 | 71.43% row 47 : total | 336 | 126 | 14 | 197 | 37.50% ] Execute this SQL based on the above table: select win % order by against desc limit 1
71.43%
[ header: represent | contestant | age | height | hometown row 1 : 1 | mildred kincaid adame | 20 | 1.65 mts | panama city row 2 : 2 | catherine henderson tudi | 20 | 1.66 mts | panama city row 3 : 3 | giovanna alida loa | 21 | 1.67 mts | panama city row 4 : 4 | reyna royo | 24 | 1.69 mts | panama city row 5 : 5 | ivonne ileana correa | 23 | 1.70 mts | panama city row 6 : 6 | karol guevara | 22 | 1.70 mts | panama city row 7 : 7 | betzy janette achurr | 20 | 1.70 mts | panama city row 8 : 8 | marisela moreno montero | 24 | 1.73 mts | panama city row 9 : 9 | patricia de leon | 19 | 1.74 mts | panama city row 10 : 10 | marichelle julieta r | 20 | 1.74 mts | panama city row 11 : 11 | betsy milena batista | 21 | 1.75 mts | panama city row 12 : 12 | lourdes rodriguez | 21 | 1.75 mts | panama city row 13 : 13 | janessy jasiell contreras | 18 | 1.75 mts | panama city row 14 : 14 | gina larissa correa hils | 20 | 1.76 mts | panama city row 15 : 15 | swany cisney castill | 23 | 1.78 mts | panama city row 16 : 16 | michelle krisko sugasti | 20 | 1.80mts | panama city ] Execute this SQL based on the above table: select represent where contestant = 'swany cisney castillo'
15.0
[ header: courthouse | city | street address | jurisdiction | dates of use | named for row 1 : u.s. post office and court house | brattleboro | None | d. vt | 1917-present | row 2 : u.s. post office and court house | burlington | 175 main street | d. vt | 1870-1982 destroyed by fire in 1982 | row 3 : federal building, post office and court house | burlington | 11 elmwood avenue | d. vt | 1958-present | row 4 : u.s. post office and court house | montpelier | None | d. vt | 1894-1948 razed ca. | row 5 : federal building | montpelier | state street | d. vt | 1964-1996 still in use as a post | row 6 : u.s. court house, post office | newport | None | d. vt | 1904-1948 now the orleans county | row 7 : u.s. court house and post office | rutland | 10 court street | d. vt | 1859-1933 now the rutland | row 8 : u.s. court house and post office | rutland | None | d. vt | 1933-present | row 9 : u.s. court house and post office | windsor | 57 main st | d. vt | 1858-present still in use as a | ] Execute this SQL based on the above table: select street address where courthouse = 'federal building, post office and court house'
11 elmwood avenue
[ header: pos. | rider | semi-final points | final points | final heats | total points row 1 : 1 | jack milne | 13 | 15 | (3,3,3,3,3) | 28 row 2 : 2 | wilbur lamoreaux | 12 | 13 | (3,3,3,1,3) | 25 row 3 : 3 | cordy milne | 11 | 12 | (2,3,2,3,2) | 23 row 4 : 4 | jack parker | 11 | 10 | (2,3,1,2,2) | 21 row 5 : 5 | ginger lees | 10 | 9 | (1,1,2,2,3) | 19 row 6 : 6 | frank charles | 10 | 7 | (0,0,1,3,3) | 17 row 7 : 7 | lionel van praag | 11 | 6 | (3,0,-,3,0) | 17 row 8 : 8 | bill kitchen | 7 | 9 | (1,2,2,2,2) | 16 row 9 : 9 | george newton | 11 | 5 | (3,0,0,0,2) | 16 row 10 : 10 | eric langton | 12 | 4 | (1,0,0,3,0) | 16 row 11 : 11 | morian hansen | 7 | 8 | (1,2,3,1,1) | 15 row 12 : 12 | eric chitty | 11 | 4 | (0,2,0,1,1) | 15 row 13 : 13 | joe abbott | 8 | 6 | (2,1,1,2,0) | 14 row 14 : 14 | arthur atkinson | 8 | 6 | (2,0,2,1,1) | 14 row 15 : 15 | frank varey | 8 | 3 | (0,1,1,0,1) | 11 row 16 : 16 | tommy croombs | 6 | 2 | (0,2,0,0,0) | 8 row 17 : 17 | bob harrison | 7 | None | None | 7 row 18 : 18 | alec statham | 6 | 0 | (0) | 6 ] Execute this SQL based on the above table: select rider where rider = 'tommy croombs' order by semi-final points desc limit 1
tommy croombs
[ header: game | december | opponent | score | record row 1 : 9 | 4 | @ montreal canadiens | 5 - 4 | 3-4-2 row 2 : 10 | 6 | @ toronto maple leafs | 4 - 2 | 3-5-2 row 3 : 11 | 9 | ottawa senators | 3 - 2 | 4-5-2 row 4 : 12 | 14 | detroit falcons | 3 - 0 | 5-5-2 row 5 : 13 | 18 | boston bruins | 4 - 2 | 5-6-2 row 6 : 14 | 20 | @ boston bruins | 2 - 2 ot | 5-6-3 row 7 : 15 | 23 | montreal canadiens | 5 - 1 | 6-6-3 row 8 : 16 | 25 | @ ottawa senators | 4 - 1 | 7-6-3 row 9 : 17 | 28 | philadelphia quakers | 4 - 2 | 8-6-3 row 10 : 18 | 30 | @ new york americans | 2 - 2 ot | 8-6-4 ] Execute this SQL based on the above table: select count ( record )
10
[ header: season | tier | division | place row 1 : 1963-86 | 5 | regional | None row 2 : 1986/87 | 5 | preferente | 2nd row 3 : 1987/88 | 4 | 3a | 15th row 4 : 1988/89 | 4 | 3a | 15th row 5 : 1989/90 | 4 | 3a | 17th row 6 : 1990/91 | 4 | 3a | 12th row 7 : 1991/92 | 4 | 3a | 18th row 8 : 1992/93 | 5 | preferente | 1st row 9 : 1993/94 | 4 | 3a | 14th row 10 : 1994/95 | 4 | 3a | 16th row 11 : 1995/96 | 4 | 3a | 19th row 12 : 1996/97 | 5 | preferente | 1st row 13 : 1997/98 | 4 | 3a | 7th row 14 : 1998/99 | 4 | 3a | 18th ] Execute this SQL based on the above table: select division where place = '19th' order by id desc limit 1
3a
[ header: outcome | no. | date | tournament | surface | opponent | score row 1 : runner-up | 1 | 23 august 2004 | la paz, bolivia | clay | jenifer widjaja | 6-3, 4-6, 0-6 row 2 : runner-up | 2 | 6 june 2005 | santa tecla, e | clay | andrea benitez | 3-6, 0-6 row 3 : runner-up | 2 | 22 august 2005 | bogota, colombia | clay | carla tiene | 4-6, 0-6 row 4 : runner-up | 4 | 15 may 2006 | ciudad obregon, mexico | hard | ellah nze | 6-4, 3-6, 3-6 row 5 : winner | 1 | 5 june 2006 | xalapa, mexico | hard | maria irigoyen | 6-1, 3-6, 6-4 row 6 : winner | 2 | 7 september 2009 | mazatlan, mexico | hard | fernanda hermenegildo | 6-1, 6-2 row 7 : winner | 3 | 2 november 2009 | bogota, colombia | clay | yuliana lizarazo | 7-6(7-5), 6-4 row 8 : runner-up | 5 | 16 november 2009 | asuncion, paraguay | clay | paula ormaechea | 6-4, 4-6, 2-6 row 9 : winner | 4 | 8 november 2010 | bogota, colombia | clay | patricia ku flores | 6-1, 7-5 row 10 : winner | 5 | 29 november 2010 | santiago, chile | clay | veronica cepede royg | 6-2, 6-2 row 11 : winner | 6 | 18 july 2011 | ribeirao preto, brazil | clay | vivian segnini | 6-2, 6-2 row 12 : runner-up | 6 | 8 august 2011 | santa cruz de la sierra | clay | maria irigoyen | 2-6, 3-6 row 13 : winner | 7 | 15 august 2011 | la paz, bolivia | clay | maria irigoyen | 6-0, 7-6(7-1) row 14 : runner-up | 7 | 3 october 2011 | yerevan, armenia | clay | julia cohen | 6-7(6-8), 2-6 row 15 : runner-up | 8 | 19 march 2012 | bangalore, india | hard | donna vekic | 2-6, 4-6 row 16 : runner-up | 9 | 8 may 2012 | brasilia, brazil | clay | gabriela paz | 3-6, 3-6 row 17 : winner | 8 | 19 november 2012 | barranquilla, colombia | clay | karolina nowak | 7-6(7-4), 6-0 row 18 : winner | 9 | 21 october 2013 | bogota, colombia | hard | anna katalina alzate | 6-3, 6-3 row 19 : winner | 10 | 11 november 2013 | lima, peru | clay | patricia ku flores | 7-5, 6-7(4-7), row 20 : winner | 11 | 25 november 2013 | bogota, colombia | clay | naomi totka | 6-1, 6-1 row 21 : runner-up | 10 | 2 december 2013 | barranquilla, colombia | clay | maria fernanda herazo | 4-6, 2-6 ] Execute this SQL based on the above table: select outcome order by no. desc limit 1
winner
[ header: year | competition | venue | position | notes row 1 : 2002 | european championships | munich, germany | 6th | 7.78 m row 2 : 2003 | world championships | paris, france | 9th | 7.93 m row 3 : 2004 | olympic games | athens, greece | 5th | 8.25 m row 4 : 2006 | european championships | gothenburg, sweden | 9th | 7.74 m row 5 : 2008 | world indoor championships | valencia, spain | 2nd | 8.06 m row 6 : 2008 | olympic games | beijing, china | 27th | 7.70 m row 7 : 2009 | world championships | berlin, germany | 8th | 8.06 m row 8 : 2010 | european championships | barcelona, spain | 3rd | 8.23 m row 9 : 2011 | european team championships | stockholm, sweden | 3rd | 8.12 m row 10 : 2011 | world championships | daegu, south korea | 11th | 7.87 m row 11 : 2012 | olympic games | london, england | 6th | 8.07 m row 12 : 2013 | european indoor championships | gothenburg, sweden | 7th | 7.95 m ] Execute this SQL based on the above table: select position order by venue desc limit 1
2nd
[ header: township | fips | population center | population | population density /km2 (/sq mi) | land area km2 (sq mi) | water area km2 (sq mi) | water % | geographic coordinates row 1 : alexandria | 1100 | None | 859 | 7 (18) | 123 (48) | 1 (0) | 0.62% | 39°16′8′′n 95°7 row 2 : delaware | 17450 | None | 1361 | 22 (57) | 62 (24) | 3 (1) | 4.19% | 39°14′50′′n 94° row 3 : easton | 19625 | None | 1245 | 11 (30) | 109 (42) | 0 (0) | 0.11% | 39°21′57′′n 95°7 row 4 : fairmount | 22325 | basehor | 6266 | 61 (159) | 102 (39) | 0 (0) | 0.39% | 39°8′4′′n 94° row 5 : high prairie | 32125 | None | 1768 | 14 (37) | 124 (48) | 0 (0) | 0.27% | 39°15′30′′n 95°0 row 6 : kickapoo | 36700 | None | 1760 | 15 (40) | 114 (44) | 3 (1) | 2.39% | 39°20′45′′n 94° row 7 : reno | 58950 | None | 1143 | 10 (27) | 111 (43) | 2 (1) | 1.56% | 39°1′8′′n 95°8 row 8 : sherman | 65000 | None | 2367 | 22 (57) | 108 (42) | 3 (1) | 2.44% | 39°0′59′′n 95°0 row 9 : stranger | 68500 | None | 2451 | 19 (50) | 127 (49) | 0 (0) | 0.17% | 39°8′16′′n 95°2 row 10 : tonganoxie | 70825 | tonganoxie (part) | 4852 | 35 (91) | 137 (53) | 1 (0) | 0.66% | 39°7′0′′n 95°6 ] Execute this SQL based on the above table: select geographic coordinates where geographic coordinates in ( 'None' , '39°16′8′′n 95°7′33′′w / 39.26889°n 95.12583°w' ) order by population limit 763
39°16′8′′n 95°7′33′′w / 39.26889°n 95.12583°w
[ header: no | peak | location | elevation (m) | prominence (m) | col height (m) | col location | parent row 1 : 1 | mont blanc | france/ italy | 4810 | 4697 | 113 | near lake kubenskoye | everest row 2 : 5 | piz bernina | switzerland | 4049 | 2234 | 1815 | maloja pass | finsteraarhorn1 / m row 3 : 7 | monte rosa | switzerland | 4634 | 2165 | 2469 | great st bernard pass | mont blanc row 4 : 10 | monte viso | italy | 3841 | 2062 | 1779 | le mauvais pass | mont blanc row 5 : 11 | triglav | slovenia | 2864 | 2052 | 812 | camporosso pass | marmolada1 / m row 6 : 12 | barre des ecrins | france | 4102 | 2045 | 2057 | col du lautaret | mont blanc row 7 : 15 | monte baldo/cima | italy | 2218 | 1950 | 268 | near san giovanni pass in | ortler1 / mb2 row 8 : 16 | gran paradiso | italy | 4061 | 1891 | 2170 | near little st bernard pass | mont blanc row 9 : 19 | dents du midi | switzerland | 3257 | 1796 | 1461 | col des montets | mont blanc row 10 : 20 | chamechaude | france | 2082 | 1771 | 311 | chambery | mont blanc row 11 : 21 | zugspitze | germany/ austria | 2962 | 1746 | 1216 | near fern pass | finsteraarhorn1 / m row 12 : 25 | großer priel | austria | 2515 | 1700 | 810 | near pichl-kainisch | hoher dachstein1 / m row 13 : 27 | monte bondone | italy | 2180 | 1679 | 501 | near cadine in trento | ortler1 / mb2 row 14 : 29 | birnhorn | austria | 2634 | 1665 | 969 | hochfilzen | großglockner1 / mb row 15 : 31 | pointe percee | france | 2750 | 1643 | 1107 | near pont d'arbon near mege | mont blanc row 16 : 33 | molltaler polinik | austria | 2784 | 1579 | 1205 | iselsberg pass | großglockner1 / mb row 17 : 35 | birkkarspitze | austria | 2749 | 1569 | 1180 | seefeld in tirol | zugspitze1 / mb2 row 18 : 37 | grande tete de l'obiou | france | 2790 | 1542 | 1248 | col bayard | barre des ecrins1 / row 19 : 39 | hochtor | austria | 2369 | 1520 | 849 | schober pass | großglockner1 / mb row 20 : 41 | grand combin | switzerland | 4314 | 1517 | 2797 | fenetre de durand | monte rosa row 21 : 44 | piz kesch | switzerland | 3418 | 1502 | 1916 | lukmanier pass | finsteraarhorn1 / m ] Execute this SQL based on the above table: select count ( * ) where parent = 'mont blanc'
7
[ header: mlb season | team season | league | division | finish | wins | losses | win % | gb | postseason | awards row 1 : 1969 | 1969 | al | west | 6th | 64 | 98 | 0.395 | 33 | None | None row 2 : 1970 | 1970 | al | west | 4th | 65 | 97 | 0.401 | 33 | None | None row 3 : 1971 | 1971 | al | west | 6th | 69 | 92 | 0.429 | 32 | None | None row 4 : 1973 | 1973 | al | east | 5th | 74 | 88 | 0.457 | 23 | None | None row 5 : 1974 | 1974 | al | east | 5th | 76 | 86 | 0.469 | 15 | None | None row 6 : 1976 | 1976 | al | east | 6th | 66 | 95 | 0.41 | 32 | None | None row 7 : 1977 | 1977 | al | east | 6th | 67 | 95 | 0.414 | 33 | None | None row 8 : 1979 | 1979 | al | east | 2nd | 95 | 66 | 0.59 | 8 | None | None row 9 : 1981 | 1981 | al | east | 3rd | 31 | 25 | 0.554 | 3 | lost alds vs. new york | rollie fingers (mvp, row 10 : 1981 | 1981 | al | east | 1st | 31 | 22 | 0.585 | None | lost alds vs. new york | rollie fingers (mvp, row 11 : 1982 | 1982 | al | east | 1st | 95 | 67 | 0.586 | None | won alcs vs. cali | robin yount (mvp row 12 : 1983 | 1983 | al | east | 5th | 87 | 75 | 0.537 | 11 | None | cecil cooper (rca) row 13 : 1984 | 1984 | al | east | 7th | 67 | 94 | 0.416 | 361⁄2 | None | None row 14 : 1988 | 1988 | al | east | 3rd | 87 | 75 | 0.537 | 2 | None | None row 15 : 1993 | 1993 | al | east | 7th | 69 | 93 | 0.426 | 26 | None | None row 16 : 1997 | 1997 | al | central | 3rd | 78 | 83 | 0.484 | 8 | None | None row 17 : 1999 | 1999 | nl | central | 5th | 74 | 87 | 0.46 | 221⁄2 | None | None row 18 : 2000 | 2000 | nl | central | 3rd | 73 | 89 | 0.451 | 22 | None | None row 19 : 2001 | 2001 | nl | central | 4th | 68 | 94 | 0.42 | 25 | None | None row 20 : 2002 | 2002 | nl | central | 6th | 56 | 106 | 0.346 | 41 | None | None row 21 : 2003 | 2003 | nl | central | 6th | 68 | 94 | 0.412 | 20 | None | None row 22 : 2004 | 2004 | nl | central | 6th | 67 | 94 | 0.411 | 371⁄2 | None | None row 23 : 2007 | 2007 | nl | central | 2nd | 83 | 79 | 0.512 | 2 | None | ryan braun (roy) prince field row 24 : 2008 | 2008 | nl | central | 2nd | 90 | 72 | 0.556 | 71⁄2 | lost nlds vs. | None row 25 : 2009 | 2009 | nl | central | 3rd | 80 | 82 | 0.494 | 11 | None | None ] Execute this SQL based on the above table: select count ( finish )
25
[ header: product | main functionality | input format | output format | platform | license and cost | notes row 1 : graphstream | dynamic graph library | graphstream(.dgs), graphviz | graphstream(.dgs), graphviz | any system supporting java | open source | with graphstream you deal with graphs. static row 2 : java universal network/graph (jung) framework | network and graph manipulation, analysis, and visualization | built-in support for graphml, pa | built-in support for graphml, pa | any platform supporting java | open source (bsd license) | jung is a java api and row 3 : svat | visual analytics for investigation | graphviz(.dot), graphlet | guess(.gdf), gephi( | any system supporting java 1.6 and openg | closed source modules, open source modules from gephi | commercial tool based on gephi ] Execute this SQL based on the above table: select license and cost where license and cost in ( 'manchester united' , 'closed source modules, open source modules from gephi' ) order by product desc limit 1
closed source modules, open source modules from gephi
[ 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 count ( player ) where to par - to par > 3
0
[ header: polling firm | month | link | favor | oppose row 1 : rutgers-eagleton | march 2014 | None | 64 | 28 row 2 : quinnipiac | july 2013 | None | 60 | 31 row 3 : rutgers-eagleton | june 2013 | None | 59 | 30 row 4 : quinnipiac | march 2013 | None | 64 | 30 row 5 : public policy polling | november 2012 | None | 53 | 36 row 6 : quinnipiac | february 2012 | None | 57 | 37 row 7 : rutgers-eagleton | february 2012 | None | 54 | 35 row 8 : quinnipiac | january 2012 | None | 52 | 42 row 9 : rutgers-eagleton | october 2011 | None | 52 | 39 row 10 : rutgers-eagleton | august 2011 | None | 52 | 32 row 11 : public policy polling | july 2011 | None | 47 | 42 row 12 : quinnipiac | november 2009 | None | 46 | 49 row 13 : rutgers-eagleton | november 2009 | None | 50 | 42 row 14 : quinnipiac | april 2009 | None | 49 | 43 row 15 : zogby international | august 2008 | None | 50 | 42 row 16 : zogby international | august 2007 | None | 48.1 | 44.6 row 17 : rasmussen reports | july 2006 | None | 42 | 54 row 18 : rutgers-eagleton | june 2006 | pdf | 49 | 44 row 19 : zogby international | february 2006 | None | 56 | 39 row 20 : zogby international | april 2005 | html | 54.5 | 40.1 row 21 : rutgers-eagleton | september 2003 | pdf | 43 | 50 row 22 : zogby international | july 2003 | None | 55 | 41 ] Execute this SQL based on the above table: select polling firm order by favor asc limit 1
rasmussen reports
[ header: site name | reason for designation biological interest | reason for designation geological interest | area hectares | area acres | coordinates & grid ref | year in which notified | other designations | map & citation row 1 : bradwell meadows | | | 0.9 | 2.3 | 53°19′19′′n 1°44 | 1990 | None | map row 2 : cawdor quarry | | | 4.7 | 11.7 | 53°08′28′′n 1°34 | 1963 | gcr | map row 3 : cressbrook dale | | | 120.4 | 297.6 | 53°15′47′′n 1°44 | 1954 | gcr, nnr, | map row 4 : duckmanton railway cutting | | | 3.8 | 9.4 | 53°13′41′′n 1°22 | 1974 | gcr | map row 5 : fox hole cave | | | 0.2 | 0.4 | 53°11′31′′n 1°51 | 1986 | gcr | map row 6 : goyt valley | | | 1,332.6 | 3,292.9 | 53°16′05′′n 1°57 | 1951 | spa, sac | map row 7 : hipley hill | | | 22.1 | 54.6 | 53°05′24′′n 1°40 | 1963 | None | map row 8 : jumble coppice | | | 0.7 | 1.8 | 53°14′42′′n 1°36 | 1985 | gcr | map row 9 : leek moors | | | 3,970.8 | 9,812.2 | 53°10′52′′n 1°59 | 1954 | spa, esa, gc | map row 10 : long dale, hartington | | | 53.5 | 132.1 | 53°09′04′′n 1°47 | 1997 | sac | map row 11 : moss valley | | | 26.1 | 64.5 | 53°18′58′′n 1°22 | 1951 | None | map row 12 : moss valley woods | | | 17.9 | 44.2 | 53°19′01′′n 1°26 | 1993 | None | map row 13 : pleasley vale railway | | | 3.5 | 8.7 | 53°10′41′′n 1°13 | 1981 | lnr | map row 14 : teversal to pleasley railway | | | 5 | 12.4 | 53°09′54′′n 1°16 | 1982 | lnr, wt | map row 15 : upper lathkill | | | 26.8 | 66.3 | 53°12′18′′n 1°47 | 1989 | gcr, np | map ] Execute this SQL based on the above table: select abs ( other designations - other designations ) where site name = 'leek moors'
0
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 5 | fernando alonso | renault | 56 | 1:31:33.736 | 1 | 10 row 2 : 2 | 16 | jarno trulli | toyota | 56 | 24.327 | 2 | 8 row 3 : 3 | 8 | nick heidfeld | williams-bmw | 56 | 32.188 | 10 | 6 row 4 : 4 | 10 | juan pablo montoya | mclaren-mercedes | 56 | 41.631 | 11 | 5 row 5 : 5 | 17 | ralf schumacher | toyota | 56 | 51.854 | 5 | 4 row 6 : 6 | 14 | david coulthard | red bull-cosworth | 56 | +1:12.543 | 8 | 3 row 7 : 7 | 1 | michael schumacher | ferrari | 56 | +1:19.988 | 13 | 2 row 8 : 8 | 15 | christian klien | red bull-cosworth | 56 | +1:20.835 | 7 | 1 row 9 : 9 | 9 | kimi raikkonen | mclaren-mercedes | 56 | +1:21.580 | 6 | None row 10 : 10 | 12 | felipe massa | sauber-petronas | 55 | +1 lap | 14 | None row 11 : 11 | 19 | narain karthikeyan | jordan-toyota | 54 | +2 laps | 17 | None row 12 : 12 | 18 | tiago monteiro | jordan-toyota | 53 | +3 laps | 18 | None row 13 : 13 | 21 | christijan albers | minardi-cosworth | 52 | +4 laps | 19 | None row 14 : ret | 2 | rubens barrichello | ferrari | 49 | handling | 12 | None row 15 : ret | 6 | giancarlo fisichella | renault | 36 | collision | 3 | None row 16 : ret | 7 | mark webber | williams-bmw | 36 | collision | 4 | None row 17 : ret | 11 | jacques villeneuve | sauber-petronas | 26 | spun off | 16 | None row 18 : ret | 3 | jenson button | bar-honda | 2 | engine | 9 | None row 19 : ret | 4 | anthony davidson | bar-honda | 2 | engine | 15 | None row 20 : ret | 20 | patrick friesacher | minardi-cosworth | 2 | spun off | 20 | None ] Execute this SQL based on the above table: select time/retired where grid = 14
1.0
[ header: date | opponents | h / a | result f - a | scorers | attendance row 1 : 26 august 1933 | plymouth argyle | a | 0 - 4 | None | 25700 row 2 : 30 august 1933 | nottingham forest | h | 0 - 1 | None | 16934 row 3 : 2 september 1933 | lincoln city | h | 1 - 1 | green | 16987 row 4 : 7 september 1933 | nottingham forest | a | 1 - 1 | stewart | 10650 row 5 : 9 september 1933 | bolton wanderers | h | 1 - 5 | stewart | 21779 row 6 : 16 september 1933 | brentford | a | 4 - 3 | brown (2), frame, hine | 17180 row 7 : 23 september 1933 | burnley | h | 5 - 2 | dewar (4), brown | 18411 row 8 : 14 october 1933 | bradford park avenue | a | 1 - 6 | hine | 11033 row 9 : 21 october 1933 | bury | a | 1 - 2 | byrne | 15008 row 10 : 25 november 1933 | bradford city | h | 2 - 1 | dewar, own goal | 20902 row 11 : 2 december 1933 | port vale | a | 3 - 2 | black, brown, dewar | 10316 row 12 : 9 december 1933 | notts county | h | 1 - 2 | dewar | 15564 row 13 : 16 december 1933 | swansea town | a | 1 - 2 | hine | 6591 row 14 : 23 december 1933 | millwall | h | 1 - 1 | dewar | 12043 row 15 : 26 december 1933 | grimsby town | a | 3 - 7 | byrne (2), frame | 15801 row 16 : 6 january 1934 | lincoln city | a | 1 - 5 | brown | 6075 row 17 : 20 january 1934 | bolton wanderers | a | 1 - 3 | ball | 11887 row 18 : 3 february 1934 | burnley | a | 4 - 1 | cape (2), green, stewart | 9906 row 19 : 10 february 1934 | oldham athletic | h | 2 - 3 | cape, green | 24480 row 20 : 24 february 1934 | bradford park avenue | h | 0 - 4 | None | 13389 row 21 : 3 march 1934 | bury | h | 2 - 1 | ball, gallimore | 11176 row 22 : 10 march 1934 | hull city | a | 1 - 4 | ball | 5771 row 23 : 17 march 1934 | fulham | h | 1 - 0 | ball | 17565 row 24 : 24 march 1934 | southampton | a | 0 - 1 | None | 4840 row 25 : 30 march 1934 | west ham united | h | 0 - 1 | None | 29114 row 26 : 31 march 1934 | blackpool | h | 2 - 0 | cape, hine | 20038 row 27 : 2 april 1934 | west ham united | a | 1 - 2 | cape | 20085 row 28 : 7 april 1934 | bradford city | a | 1 - 1 | cape | 9258 row 29 : 14 april 1934 | port vale | h | 2 - 0 | brown, mcmillen | 14777 row 30 : 21 april 1934 | notts county | a | 0 - 0 | None | 9645 row 31 : 28 april 1934 | swansea town | h | 1 - 1 | topping | 16678 row 32 : 5 may 1934 | millwall | a | 2 - 0 | cape, manley | 24003 ] Execute this SQL based on the above table: select result f - a where attendance = 24003
2 - 0
[ header: rebounds | off | def | player | team | date | opponent | score | minutes played | points | assists | steals | blocks | 20-20 | led the league in rebounding | notes row 1 : 37 | 19 | 18 | moses malone | houston rockets | february 9, 1979 | new orleans jazz | 106-99 | 44 | 33 | 2 | None | None | yes | yes | 14 rebounds in the first quarter row 2 : 35 | 16 | 19 | charles oakley | chicago bulls | april 22, 1988 | cleveland cavaliers | 103-107 | 41 | 26 | 3 | 1 | 0 | yes | no | second to last game of season, in a row 3 : 34 | 5 | 29 | kareem abdul-ja | los angeles lakers | december 14, 1975 | detroit pistons | 110-100 | 42 | 27 | 6 | None | None | yes | yes | nba single-game record for defensive row 4 : 34 | 18 | 16 | dennis rodman | detroit pistons | march 4, 1992 | indiana pacers | 110-107 | 45 | 10 | 3 | 2 | 0 | no | yes | overtime. 21 rebounds in the second half, row 5 : 32 | 4 | 28 | elvin hayes | capital bullets | november 17, 1973 | atlanta hawks | 115-109 | 48 | 43 | 0 | None | None | yes | yes | on hayes's 28th birthday row 6 : 32 | 7 | 25 | robert parish | golden state warriors | march 30, 1979 | new york knicks | 114-98 | 36 | 30 | 5 | 1 | 2 | yes | no | 11 rebounds in the first quarter. 15 row 7 : 32 | 7 | 25 | swen nater (2) | san diego clippers | december 14, 1979 | denver nuggets | 112-108 | 44 | 12 | 3 | None | None | no | yes | 21 rebounds in the second half. 18 defensive row 8 : 32 | 9 | 23 | dennis rodman (3) | san antonio spurs | january 22, 1994 | dallas mavericks | 103-83 | 43 | 8 | 5 | 1 | 1 | no | yes | 13 defensive rebounds in the first half row 9 : 31 | 14 | 17 | larry smith | golden state warriors | march 28, 1981 | denver nuggets | 139-142 | 45 | 23 | 5 | None | 0 | yes | no | rookie. last warriors home game of season row 10 : 31 | 8 | 23 | dikembe mutombo | denver nuggets | march 26, 1996 | charlotte hornets | 112-119 | 51 | 16 | 0 | 1 | 6 | no | no | double overtime row 11 : 30 | 10 | 20 | george t. johnson | golden state warriors | march 15, 1974 | los angeles lakers | 112-107 | 48 | 14 | 7 | None | 1 | no | no | elmore smith of the lakers row 12 : 30 | 6 | 24 | wes unseld | washington bullets | april 6, 1975 | new orleans jazz | 119-103 | 46 | 11 | 5 | None | None | no | yes | last game of season; won season rebounding title row 13 : 30 | 7 | 23 | kareem abdul-ja | los angeles lakers | february 3, 1978 | new jersey nets | 105-99 | 48 | 37 | 5 | None | None | yes | no | overtime ] Execute this SQL based on the above table: select abs ( ( select def where opponent = 'new jersey nets' ) - ( select def where opponent = 'indiana pacers' ) )
7.0
[ header: event | record | athlete(s) | date | time (s) row 1 : bobsleigh - two-man | start | beat hefti & thomas | 6 february 2009 | 4.7 row 2 : bobsleigh - two-man | track | thomas florschutz & | 20 february 2010 21 february 2010 | 51.57 row 3 : bobsleigh - four-man | start | andre lange, kevin kuske | 26 february 2010 | 4.7 row 4 : bobsleigh - four-man | track | steve holcomb, justin | 26 february 2010 | 50.86 row 5 : bobsleigh - two-woman | start | kaillie humphries | 23 february 2010 24 february 2010 | 5.11 row 6 : bobsleigh - two-woman | track | kaillie humphries | 24 february 2010 | 52.85 row 7 : men's skeleton | start | alexander tretiakov (rus | 18 february 2010 | 4.48 row 8 : men's skeleton | track | jon montgomery (can) | 19 february 2010 | 52.2 row 9 : women's skeleton | start | anja huber (ger) | 18 february 2010 | 4.9 row 10 : women's skeleton | track | amy williams (gbr | 19 february 2010 | 53.68 row 11 : luge - men's singles | start | andi langenhan (ger) | 21 february 2009 | 3.541 row 12 : luge - men's singles | track | felix loch (ger) | 21 february 2009 | 46.808 row 13 : luge - women's singles | start | natalie geisenberger (ger | 20 february 2009 | 7.183 row 14 : luge - women's singles | track | natalie geisenberger (ger | 20 february 2009 | 48.992 row 15 : luge - men's doubles | start | tobias wendl & tobia | 20 february 2009 | 7.054 row 16 : luge - men's doubles | track | patric leitner & alexander | 20 february 2009 | 48.608 ] Execute this SQL based on the above table: select record order by time (s) desc limit 1
track
[ header: season | average | high | low | season tickets row 1 : 2001-02 serie a | 17956 | 27498 | 14704 | 12156 row 2 : 2002-03 serie a | 16306 | 25603 | 12980 | 11544 row 3 : 2003-04 serie a | 15904 | 23663 | 11463 | 10439 row 4 : 2004-05 serie a | 14044 | 23010 | 10711 | 9923 row 5 : 2005-06 serie a | 14372 | 23116 | 11575 | 10639 row 6 : 2006-07 serie a | 14644 | 20488 | 11946 | 11120 row 7 : 2007-08 serie a | 15427 | 25149 | 11890 | 11386 row 8 : 2008-09 serie b | 10031 | 12265 | 9261 | None row 9 : 2009-10 serie a | 17061 | 21323 | 11870 | 13691 row 10 : 2010-11 serie a | 14524 | 19615 | 11975 | 10578 row 11 : 2011-12 serie a | 13646 | 19481 | 10800 | 9620 row 12 : 2012-13 serie a | 12740 | 19073 | 9627 | 10546 ] Execute this SQL based on the above table: select low where low = 12980
12980
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 10 january 1996 | edison international field, ana | honduras | 1-0 | 3-1 | 1996 concacaf gold cup row 2 : 2 | 30 august 1996 | commonwealth stadium, edmont | panama | 3-1 | 3-1 | 1998 fifa world cup qualification row 3 : 3 | 12 october 1997 | commonwealth stadium, edmont | mexico | 2-1 | 2-2 | 1998 fifa world cup qualification row 4 : 4 | 8 october 1999 | los angeles memorial coliseum | el salvador | 1-0 | 2-1 | 2000 concacaf gold cup qualification play off row 5 : 5 | 10 october 1999 | los angeles memorial coliseum | haiti | 1-0 | 2-1 | 2000 concacaf gold cup qualification play off row 6 : 6 | 10 october 1999 | los angeles memorial coliseum | haiti | 2-0 | 2-2 | 2000 concacaf gold cup qualification play off row 7 : 7 | 13 february 2000 | qualcomm stadium, san die | costa rica | 1-1 | 2-2 | 2000 concacaf gold cup row 8 : 8 | 13 february 2000 | qualcomm stadium, san die | costa rica | 2-2 | 2-2 | 2000 concacaf gold cup row 9 : 9 | 20 february 2000 | qualcomm stadium, san die | mexico | 1-1 | 2-1 | 2000 concacaf gold cup row 10 : 10 | 27 february 2000 | los angeles memorial coliseum | colombia | 2-0 | 2-0 | 2000 concacaf gold cup row 11 : 11 | 18 january 2004 | bridgetown, barbados | barbados | 1-0 | 1-0 | friendly match ] Execute this SQL based on the above table: select count ( * ) where # > #
0
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 1 may 2000 | rasmee dhandu | maldives | 1-1 | 1-1 | 2000 mff golden jubile row 2 : 2 | 25 august 2000 | ho chi minh city, vietnam | vietnam | 2-1 | 2-2 | 2000 hcm cup row 3 : 3 | 28 march 2001 | colombo, sri lan | cambodia | 1-0 | 1-0 | friendly row 4 : 5 | 30 may 2001 | suphachalasai stadium, ban | pakistan | 1-0 | 3-1 | 2002 fifa world cup qualification (af row 5 : 6 | 30 may 2001 | supachalasai stadium | pakistan | 3-0 | 3-1 | 2002 fifa world cup qualification (af row 6 : 7 | 4 april 2002 | sugathadasa stadium, colo | maldives | 1-0 | 1-0 | friendly row 7 : 10 | 3 december 2003 | sugathadasa stadium, colo | laos | 2-0 | 3-0 | 2006 fifa world cup qualification (af row 8 : 12 | 12 april 2006 | ma aziz stadium, chittagong | nepal | 1-0 | 1-1 | 2006 afc challenge cup row 9 : 13 | 24 march 2007 | sugathadasa stadium, colo | malaysia | 1-4 | 1-4 | friendly row 10 : 14 | 2 april 2008 | chungshan stadium, tai | guam | 5-1 | 5-1 | 2008 afc challenge cup qualification row 11 : 15 | 4 april 2008 | chungshan stadium, tai | pakistan | 1-0 | 7-1 | 2008 afc challenge cup qualification row 12 : 16 | 4 april 2008 | chungshan stadium, tai | pakistan | 4-1 | 7-1 | 2008 afc challenge cup qualification row 13 : 17 | 4 april 2008 | chungshan stadium, tai | pakistan | 7-1 | 7-1 | 2008 afc challenge cup qualification row 14 : 19 | 2 august 2008 | gachibowli athletic stadium, | myanmar | 1-1 | 1-3 | 2008 afc challenge cup row 15 : 20 | 4 april 2009 | sugathadasa stadium, colo | brunei | 1-0 | 5-1 | 2010 afc challenge cup qualification row 16 : 21 | 4 april 2009 | sugathadasa stadium, colo | brunei | 3-0 | 5-1 | 2010 afc challenge cup qualification row 17 : 22 | 4 april 2009 | sugathadasa stadium, colo | brunei | 4-0 | 5-1 | 2010 afc challenge cup qualification row 18 : 23 | 4 april 2009 | sugathadasa stadium, colo | brunei | 5-0 | 5-1 | 2010 afc challenge cup qualification row 19 : 24 | 6 april 2009 | sugathadasa stadium, colo | chinese taipei | 1-0 | 2-1 | 2010 afc challenge cup qualification ] Execute this SQL based on the above table: select date where score = '1-0' and competition > ( select competition where score = '1-0' order by competition limit 1 ) order by competition limit 1
12 april 2006
[ header: year | team | games | combined tackles | tackles | assisted tackles | sacks | forced fumbles | fumble recoveries | fumble return yards | interceptions | interception return yards | yards per interception return | longest interception return | interceptions returned for touchdown | passes defended row 1 : 2002 | buf | 16 | 96 | 71 | 25 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 row 2 : 2003 | buf | 16 | 28 | 24 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 row 3 : 2004 | buf | 12 | 25 | 14 | 11 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 row 4 : 2005 | buf | 13 | 9 | 6 | 3 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 row 5 : 2006 | buf | 16 | 23 | 13 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 row 6 : 2007 | buf | 7 | 4 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 row 7 : 2008 | atl | 16 | 34 | 28 | 6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 row 8 : 2009 | atl | 16 | 17 | 15 | 2 | 0 | 1 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 row 9 : 2010 | atl | 15 | 12 | 8 | 4 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 row 10 : career | None | 127 | 248 | 182 | 66 | 5 | 2 | 4 | 0 | 0 | 0 | 0 | 0 | 0 | 5 ] Execute this SQL based on the above table: select ( select passes defended where team = 'buf' ) = ( select passes defended where team = 'buf' )
1
[ header: date | time | opponent# | rank# | site | tv | result | attendance row 1 : august 31 | 6:00 pm | at #13 michigan state | #22 | spartan stadium • east lans | espn | l 13-17 | 78709 row 2 : september 15 | 2:00 pm | miami (oh) | None | bronco stadium • boise, i | nbcsn | w 39-12 | 34178 row 3 : september 20 | 7:00 pm | byu | None | bronco stadium • boise, i | espn | w 7-6 | 36864 row 4 : september 29 | 4:00 pm | at new mexico | None | university stadium • albuequerque, | ktvb | w 32-29 | 28270 row 5 : october 6 | 10:00 am | at southern miss | #25 | m. m. robert | fsn | w 40-14 | 25337 row 6 : october 13 | 1:30 pm | fresno state | #22 | bronco stadium • boise, i | nbcsn | w 20-10 | 35742 row 7 : october 20 | 1:30 pm | unlv | #22 | bronco stadium • boise, i | nbcsn | w 32-7 | 36012 row 8 : october 27 | 1:30 pm | at wyoming | #18 | war memorial stadium • laramie, | cbssn | w 45-14 | 17855 row 9 : november 3 | 8:30 pm | san diego state | #14 | bronco stadium • boise, i | cbssn | l 19-21 | 36084 row 10 : november 10 | 5:00 pm | at hawaiʻi | #24 | aloha stadium • honolul | nbcsn | w 49-14 | 29471 row 11 : november 17 | 1:30 pm | colorado state | #22 | bronco stadium • boise, i | nbcsn | w 42-14 | 33545 row 12 : december 1 | 1:30 pm | at nevada | #15 | mackay stadium • reno, n | abc | w 27-21 | 30017 row 13 : december 22 | 1:30 pm | vs. washington | #15 | sam boyd stadium • whit | espn | w 28-26 | 33217 ] Execute this SQL based on the above table: select rank# where rank# in ( '#15' , '#15' ) order by attendance desc limit 1
#15
[ header: year | competition | venue | position | event | notes row 1 : 1997 | central american games | san pedro sul | 2nd | 10,000 m | None row 2 : 2001 | central american and caribbean championships | guatemala city, guate | 6th | 5000 m | 14:57.04 row 3 : 2001 | central american and caribbean championships | guatemala city, guate | 3rd | 10,000 m | 30:53.52 row 4 : 2001 | central american games | guatemala city, guate | 1st | 5000 m | 14:28.91 a row 5 : 2001 | central american games | guatemala city, guate | 2nd | 10,000 m | 30:43.86 a row 6 : 2002 | central american championships | san jose, costa ric | 2nd | 5000 m | 14:30.14 row 7 : 2002 | central american championships | san jose, costa ric | 1st | 10,000 m | 30:05.31 row 8 : 2003 | central american championships | guatemala city, guate | 1st | 5000 m | 15:19.35 row 9 : 2003 | central american championships | guatemala city, guate | 1st | 10,000 m | 30:16.25 row 10 : 2003 | pan american games | santo domingo, dominican | None | 5000 m | dnf row 11 : 2003 | pan american games | santo domingo, dominican | 7th | 10,000 m | 30:26.61 row 12 : 2004 | olympic games | athens, greece | 64th | marathon | 2:27:13 row 13 : 2005 | central american championships | san jose, costa ric | 1st | 10,000 m | 30:11.54 row 14 : 2006 | ibero-american championships | ponce, puerto rico | 8th | 5000 m | 14:31.55 row 15 : 2006 | central american and caribbean games | cartagena, colombia | 6th | 5000 m | 14:27.54 row 16 : 2006 | central american and caribbean games | cartagena, colombia | 4th | 10,000 m | 30:09.31 row 17 : 2007 | central american championships | san jose, costa ric | 1st | 5000 m | 14:42.08 row 18 : 2007 | central american championships | san jose, costa ric | 1st | 10,000 m | 29:53.61 row 19 : 2007 | nacac championships | san salvador, el | 1st | 5000 m | 14:33.31 row 20 : 2007 | nacac championships | san salvador, el | 1st | 10,000 m | 29:42.11 row 21 : 2007 | pan american games | rio de janeiro, bra | 2nd | marathon | 2:14:27 row 22 : 2008 | olympic games | beijing, pr china | 35th | marathon | 2:20:15 row 23 : 2009 | central american championships | guatemala city, guate | 1st | 5000 m | 14:55.44 row 24 : 2010 | central american and caribbean games | mayaguez, puerto ric | 1st | marathon | 2:21:35 row 25 : 2011 | pan american games | guadalajara, me | 5th | marathon | 2:20:27 sb row 26 : 2012 | olympic games | london, united kingdom | 38th | marathon | 2:18:23 ] Execute this SQL based on the above table: select ( select year where venue = 'beijing, pr china' ) - 2004
4
[ 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 count ( change ) where change = '-0.9%'
1
[ header: draw | artist | song | points | place row 1 : 1 | yehuda ta | "na'ara" | 43 | 4th (tie) row 2 : 2 | shlishiyat adama | "la ve'li" | 17 | 10th (tie) row 3 : 3 | miri aloni | "kmo ha'emuna" | 26 | 8th row 4 : 4 | moti giladi and | "yavo yom" | 66 | 1st row 5 : 5 | boaz sharabi | "halevai" | 1 | 12th row 6 : 6 | doron mazar | "nagni li balala | 56 | 2nd row 7 : 7 | rita | "shvil ha'bricha" | 43 | 4th (tie) row 8 : 8 | shula chen | "gitara" | 17 | 10th (tie) row 9 : 9 | arba lev adom | "yesh" | 24 | 9th row 10 : 10 | isolir band | "kafe o te" | 40 | 6th row 11 : 11 | tzvika pick | "layla layla" | 27 | 7th row 12 : 12 | chaim moshe | "le'chaim" | 46 | 3rd ] Execute this SQL based on the above table: select place where points = 1
12th
[ header: year | track | number | team | car | round result row 1 : 1996 | pukekohe park raceway | 1 | holden racing team | holden vr commodore | 1st row 2 : 2001 | pukekohe park raceway | 51 | k-mart racing team | holden vx commodore | 1st row 3 : 2002 | pukekohe park raceway | 51 | k-mart racing team | holden vx commodore | 1st row 4 : 2003 | pukekohe park raceway | 51 | k-mart racing team | holden vy commodore | 1st row 5 : 2004 | pukekohe park raceway | 51 | k-mart racing team | holden vy commodore | 3rd row 6 : 2005 | pukekohe park raceway | 51 | paul weel racing | holden vz commodore | 1st row 7 : 2006 | pukekohe park raceway | 51 | paul weel racing | holden vz commodore | 15th row 8 : 2007 | pukekohe park raceway | 51 | tasman motorsport | holden ve commodore | 11th row 9 : 2008 | hamilton street circuit | 51 | tasman motorsport | holden ve commodore | 25th row 10 : 2009 | hamilton street circuit | 51 | tasman motorsport | holden ve commodore | 22nd row 11 : 2010 | hamilton street circuit | 51 | paul morris motorsport | holden ve commodore | 14th row 12 : 2011 | hamilton street circuit | 11 | pepsi max crew | holden ve commodore | 24th row 13 : 2012 | hamilton street circuit | 51 | pepsi max crew | holden ve commodore | 24th ] Execute this SQL based on the above table: select count ( * ) where car = 'holden vz commodore'
2
[ header: year | champion | score | runner-up | coach row 1 : 1954 | boston college | 4-1 | harvard | john "snooks" kelley row 2 : 1956 | boston college | 4-2 | harvard | john "snooks" kelley row 3 : 1957 | boston college | 5-4 (ot) | boston university | john "snooks" kelley row 4 : 1959 | boston college | 7-4 | boston university | john "snooks" kelley row 5 : 1961 | boston college | 4-2 | harvard | john "snooks" kelley row 6 : 1963 | boston college | 3-1 | harvard | john "snooks" kelley row 7 : 1964 | boston college | 6-5 | boston university | john "snooks" kelley row 8 : 1965 | boston college | 5-4 | boston university | john "snooks" kelley row 9 : 1976 | boston college | 6-3 | boston university | len ceglarski row 10 : 1983 | boston college | 8-2 | northeastern | len ceglarski row 11 : 1994 | boston college | 2-1 (ot) | harvard | steve cedorchuck row 12 : 2001 | boston college | 5-3 | boston university | jerry york row 13 : 2004 | boston college | 2-1 (ot) | boston university | jerry york row 14 : 2008 | boston college | 6-5 (ot) | harvard | jerry york row 15 : 2010 | boston college | 4-3 | boston university | jerry york row 16 : 2011 | boston college | 7-6 (ot) | northeastern | jerry york row 17 : 2012 | boston college | 3-2 (ot) | boston university | jerry york row 18 : 2013 | boston college | 6-3 | northeastern | jerry york row 19 : 2014 | boston college | 4-1 | northeastern | jerry york ] Execute this SQL based on the above table: select score order by year desc limit 1
4-1
[ header: season | level | division | section | position | movements row 1 : 1985 | tier 4 | division 3 | norra norrland | 5th | None row 2 : 1986 | tier 4 | division 3 | norra norrland | 4th | promoted row 3 : 1987 | tier 3 | division 2 | norra | 5th | None row 4 : 1988 | tier 3 | division 2 | norra | 1st | promoted row 5 : 1989 | tier 2 | division 1 | norra | 3rd | None row 6 : 1990 | tier 2 | division 1 | norra | 6th | None row 7 : 1991 | tier 2 | division 1 | norra | 1st | spring row 8 : None | tier 2 | division 1 | kvalsvenskan | 8th | autumn row 9 : 1992 | tier 2 | division 1 | norra | 7th | spring row 10 : None | tier 2 | division 1 | norra | 8th | autumn - relegated row 11 : 1993 | tier 3 | division 2 | norrland | 1st | promoted row 12 : 1994 | tier 2 | division 1 | norra | 13th | relegated row 13 : 1995 | tier 3 | division 2 | norrland | 9th | None row 14 : 1996 | tier 3 | division 2 | norrland | 8th | None row 15 : 1997 | tier 3 | division 2 | norrland | 6th | None row 16 : 1998 | tier 3 | division 2 | norrland | 7th | None row 17 : 1999 | tier 3 | division 2 | norrland | 3rd | None row 18 : 2000 | tier 3 | division 2 | norrland | 8th | None row 19 : 2001 | tier 3 | division 2 | norrland | 10th | relegation playoffs row 20 : 2002 | tier 3 | division 2 | norrland | 10th | relegation playoffs row 21 : 2003 | tier 3 | division 2 | norrland | 10th | relegation playoffs row 22 : 2004 | tier 3 | division 2 | norrland | 7th | None row 23 : 2005 | tier 3 | division 2 | norrland | 4th | promoted row 24 : 2006 | tier 3 | division 1 | norra | 14th | relegated row 25 : 2007 | tier 4 | division 2 | norrland | 10th | relegation playoffs row 26 : 2008 | tier 4 | division 2 | norrland | 12th | relegated row 27 : 2009 | tier 5 | division 3 | norra norrland | 8th | None row 28 : 2010 | tier 5 | division 3 | norra norrland | 3rd | None row 29 : 2011 | tier 5 | division 3 | norra norrland | 2nd | promotion playoffs row 30 : 2012 | tier 5 | division 3 | norra norrland | 3rd | None ] Execute this SQL based on the above table: select position where season < ( select season where position = '8th' and level = 'tier 3' ) order by season desc limit 1
9th
[ header: pos | no | driver | constructor | laps | time/retired | grid row 1 : 1 | 12 | clay regazzoni | ferrari | 60 | 1:01:25.34 | 3 row 2 : 2 | 4 | patrick depailler | tyrrell-ford | 60 | + 0:08.35 | 5 row 3 : 3 | 2 | jochen mass | mclaren-ford | 60 | + 0:15.44 | 4 row 4 : 4 | 5 | ronnie peterson | lotus-ford | 60 | + 0:40.14 | 10 row 5 : 5 | 18 | john watson | surtees-ford | 60 | + 0:45.55 | 6 row 6 : 6 | 8 | carlos pace | brabham-ford | 60 | + 0:45.90 | 7 row 7 : 7 | 16 | tom pryce | shadow-ford | 60 | + 0:46.66 | 8 row 8 : 8 | 24 | james hunt | hesketh-ford | 59 | + 1 lap | 11 row 9 : 9 | 31 | chris amon | ensign-ford | 59 | + 1 lap | 9 row 10 : 10 | 21 | jacques laffite | williams-ford | 59 | + 1 lap | 13 row 11 : 11 | 9 | vittorio brambilla | march-ford | 58 | + 2 laps | 12 row 12 : 12 | 22 | rolf stommelen | hill-ford | 58 | + 2 laps | 14 row 13 : 13 | 35 | tony trimmer | maki-ford | 54 | + 6 laps | 16 row 14 : nc | 20 | jo vonlanthen | williams-ford | 51 | + 9 laps | 15 row 15 : ret | 17 | jean-pierre jarier | shadow-ford | 33 | transmission | 1 row 16 : ret | 1 | emerson fittipaldi | mclaren-ford | 6 | clutch | 2 ] Execute this SQL based on the above table: select constructor where constructor != 'hesketh-ford' and laps = ( select laps where constructor = 'hesketh-ford' )
ensign-ford, williams-ford
[ header: township | fips | population | population density /km2 (/sq mi) | land area km2 (sq mi) | water area km2 (sq mi) | water % | geographic coordinates row 1 : alta | 1500 | 221 | 2 (6) | 93 (36) | 0 (0) | 0.48% | 38°7′27′′n 97° row 2 : burrton | 9600 | 1143 | 12 (32) | 93 (36) | 0 (0) | 0.17% | 38°1′32′′n 97° row 3 : darlington | 17025 | 601 | 7 (17) | 92 (35) | 0 (0) | 0.10% | 37°57′5′′n 97° row 4 : emma | 21025 | 4181 | 45 (116) | 93 (36) | 0 (0) | 0% | 38°8′10′′n 97° row 5 : garden | 25300 | 294 | 3 (8) | 93 (36) | 0 (0) | 0% | 38°7′44′′n 97° row 6 : halstead | 29625 | 353 | 4 (10) | 92 (35) | 0 (0) | 0.07% | 38°2′9′′n 97° row 7 : highland | 31875 | 415 | 5 (12) | 92 (35) | 0 (0) | 0.19% | 38°7′38′′n 97° row 8 : lake | 37825 | 173 | 2 (5) | 92 (36) | 1 (0) | 1.05% | 37°57′46′′n 97° row 9 : lakin | 38150 | 357 | 4 (10) | 92 (35) | 0 (0) | 0.06% | 37°57′18′′n 97° row 10 : macon | 43925 | 1056 | 11 (30) | 92 (36) | 0 (0) | 0% | 38°2′8′′n 97° row 11 : newton | 50500 | 1950 | 28 (73) | 69 (27) | 0 (0) | 0.07% | 38°3′27′′n 97° row 12 : pleasant | 56250 | 439 | 5 (12) | 93 (36) | 1 (0) | 0.81% | 38°2′27′′n 97° row 13 : richland | 59350 | 360 | 4 (10) | 94 (36) | 0 (0) | 0.20% | 37°57′39′′n 97° row 14 : sedgwick | 63825 | 1711 | 18 (48) | 93 (36) | 0 (0) | 0% | 37°56′24′′n 97° row 15 : walton | 75225 | 552 | 6 (15) | 95 (37) | 0 (0) | 0.06% | 38°7′26′′n 97° ] Execute this SQL based on the above table: select ( select count ( township ) ) > 1877
0
[ header: species | common name | ncbi accession # | ncbi name | length | sequence identity | sequence similarity | years since divergence from human (mya) row 1 : pan troglodytes | chimpanzee | xp_003317262 | depdc5 | 1572 aa | 99% | 99% | 6.4 row 2 : nomascus leucogenys | gibbon | xp_003258163 | depdc5 | 1602 aa | 99% | 99% | 20.4 row 3 : mus musculus | mouse | np_001164038 | depdc5 | 1591 aa | 94% | 96% | 92.4 row 4 : bos taurus | cow | xp_002694678 | depdc5 | 1593 aa | 94% | 96% | 94.4 row 5 : sorex araneus | shrew | ace77702 | depdc5 | 1570 aa | 94% | 96% | 94.4 row 6 : monodelphis domestica | possum | xp_001378772 | depdc5 | 1522 aa | 89% | 93% | 163.9 row 7 : gallus gallus | chicken | xp_415249 | depdc5 | 1592 aa | 88% | 93% | 301.7 row 8 : meleagris gallopavo | turkey | xp_003211073 | depdc5 | 1592 aa | 88% | 93% | 301.7 row 9 : taeniopygi | zebra finch | xp_002199825 | depdc5 | 1572 aa | 87% | 92% | 301.7 row 10 : xenopus tropicalis | frog | xp_002931964 | depdc5-like | 1574 aa | 79% | 86% | 371.2 row 11 : danio rerio | zebra fish | xp_691450 | depdc5-like | 1590 aa | 75% | 84% | 400.1 row 12 : oreochromis niloticus | cichlid | xp_003459226 | depdc5 | 1577 aa | 74% | 82% | 400.1 row 13 : strongylocentrotus purpuratus | sea urchin | xp_794020 | similar to depdc5 | 1608 aa | 43% | 57% | 742.9 row 14 : drosophila melanogaster | drosophila | np_647618 | gc12090 | 1471 aa | 41% | 57% | 782.7 row 15 : pediculus humanus corporis | louse | xp_002429401 | depdc, putative | 1538 aa | 38% | 53% | 782.7 row 16 : anopheles gambiae | mosquito | xp_308760 | agap007010-pa | 1640 aa | 36% | 51% | 782.7 row 17 : ascaris suum | ascaris | ady40551 | depdcp5 | 1359 aa | 31% | 51% | 937.5 row 18 : ustilago maydis | corn smut | xp_757759 | vacuolar-associated protein iml1 | 1867 aa | 23% | 52% | 1215.8 row 19 : saccharomyces cerevisiae | yeast | np_012672 | iml1p | 1584 aa | 20% | 50% | 1215.8 row 20 : albugo laibachii | white rust | cca27519 | vacuolar membrane-associated protein putative | 1591 aa | 20% | 46% | 1362 ] Execute this SQL based on the above table: select years since divergence from human (mya) where species = 'gallus gallus'
301.7
[ header: no. in series | no. in season | title | directed by | written by | original air date | prod. code row 1 : 68 | 1 | "you can go home again" | jeff mccracken | mark blutman & howard bus | september 20, 1996 | b720 row 2 : 69 | 2 | "hair today, goon tomorrow" | jeff mccracken | susan estelle jansen | september 27, 1996 | b721 row 3 : 71 | 4 | "fishing for virna" | jeff mccracken | matthew nelson | october 11, 1996 | b723 row 4 : 72 | 5 | "shallow boy" | jeff mccracken | jeff sherman | october 18, 1996 | b724 row 5 : 73 | 6 | "janitor dad" | jeff mccracken | jeff menell | october 25, 1996 | b725 row 6 : 74 | 7 | "singled out" | jeff mccracken | steve hibbert | november 1, 1996 | b727 row 7 : 75 | 8 | "dangerous secret" | jeff mccracken | jeff sherman | november 8, 1996 | b726 row 8 : 76 | 9 | "sixteen candles and four-hund | jeff mccracken | matthew nelson | november 15, 1996 | b728 row 9 : 77 | 10 | "turkey day" | jeff mccracken | susan estelle jansen | november 22, 1996 | b729 row 10 : 79 | 12 | "easy street" | jeff mccracken | jeff menell | december 13, 1996 | b732 row 11 : 80 | 13 | "b & b's b | jeff mccracken | mark blutman & howard bus | january 3, 1997 | b733 row 12 : 81 | 14 | "wheels" | jeff mccracken | jeff sherman | january 17, 1997 | b734 row 13 : 82 | 15 | "chick like me" | jeff mccracken | steve hibbert | january 31, 1997 | b731 row 14 : 83 | 16 | "a long walk to pittsburgh ( | jeff mccracken | matthew nelson | february 7, 1997 | b736 row 15 : 84 | 17 | "a long walk to pittsburgh ( | jeff mccracken | mark blutman & howard bus | february 14, 1997 | b737 row 16 : 85 | 18 | "uncle daddy" | jeff mccracken | steve young | february 28, 1997 | b738 row 17 : 86 | 19 | "quiz show" | jeff mccracken | steve hibbert | march 21, 1997 | b735 row 18 : 87 | 20 | "security guy" | jeff mccracken | steve hibbert | april 25, 1997 | b740 row 19 : 88 | 21 | "cult fiction" | jeff mccracken | jeff menell | may 2, 1997 | b739 row 20 : 89 | 22 | "learning to fly" | jeff mccracken | jeff sherman | may 9, 1997 | b741 ] Execute this SQL based on the above table: select original air date order by prod. code desc limit 1
may 9, 1997
[ header: year | australian open | french open | wimbledon | us open row 1 : 1891 | None | None | None | mabel cahill (1/2) emm row 2 : 1892 | None | None | None | mabel cahill (2/2) adeline row 3 : 1896 | None | None | None | elisabeth moore row 4 : 1938 | thelma coyne long (3 | simone mathieu (8/9) | sarah palfrey cooke | sarah palfrey cooke row 5 : 1946 | joyce fitch mary bevis haw | louise brough clapp (5 | louise brough clapp (6 | louise brough clapp (7 row 6 : 1948 | thelma coyne long (7 | doris hart (2/14) patricia cann | louise brough clapp (10 | louise brough clapp (1 row 7 : 1949 | thelma coyne long (8 | louise brough clapp (12 | louise brough clapp ( | louise brough clapp ( row 8 : 1973 | margaret court (16/19) virgini | margaret court (17/19) virgini | rosemary casals (7/9) billie | margaret court (18/19) virgini row 9 : 1978 | betsy nagelsen ( | mima jausovec virgini | kerry melville reid | billie jean king (14/16 row 10 : 1979 | judy chaloner dianne ever | betty stove (5/6) wendy | billie jean king (15/16) | betty stove (6/6) wendy row 11 : 1981 | kathy jordan (4/5) | rosalyn fairbank nide | martina navratilova (8 | kathy jordan (3/5) row 12 : 1982 | martina navratilova ( | martina navratilova (9 | martina navratilova (10 | rosemary casals (9/9) wendy turn ] Execute this SQL based on the above table: select count ( australian open ) where year = 1891
0
[ header: round | 100 yd (91 m) | 80 yd (73 m) | 60 yd (55 m) | 50 yd (46 m) | 40 yd (37 m) row 1 : york | 6 doz | 4 doz | 2 doz | None | None row 2 : hereford | None | 6 doz | 4 doz | 2 doz | None row 3 : st. george | 3 doz | 3 doz | 3 doz | None | None row 4 : albion | None | 3 doz | 3 doz | 3 doz | None row 5 : windsor | None | None | 3 doz | 3 doz | 3 doz row 6 : new western | 4 doz | 4 doz | None | None | None row 7 : long western | None | 4 doz | 4 doz | None | None row 8 : western | None | None | 4 doz | 4 doz | None row 9 : american | None | None | 2 1⁄2 doz | 2 1⁄2 doz | 2 1⁄2 doz row 10 : new national | 4 doz | 2 doz | None | None | None row 11 : long national | None | 4 doz | 2 doz | None | None row 12 : national | None | None | 4 doz | 2 doz | None row 13 : new warwick | 2 doz | 2 doz | None | None | None row 14 : long warwick | None | 2 doz | 2 doz | None | None row 15 : warwick | None | None | 2 doz | 2 doz | None ] Execute this SQL based on the above table: select 80 yd (73 m) where round = 'new national' and 50 yd (46 m) is null
2.0
[ header: episode # | original air date (uk) | episode title | guest cast | dvd # 1 row 1 : 1-01 | 22 october 1976 | "the eagle's nest" | peter cushing, derek farr | 1.01 row 2 : 1-02 | 29 october 1976 | "house of cards" | peter jeffrey, mark burn | 1.03 row 3 : 1-03 | 5 november 1976 | "the last of the cybernauts?" | robert lang, oscar | 1.04 row 4 : 1-04 | 12 november 1976 | "the midas touch" | john carson, ronald | 1.02 row 5 : 1-05 | 19 november 1976 | "cat amongst the pigeon | vladek sheybal, basil dig | 1.06 row 6 : 1-06 | 26 november 1976 | "target" | keith barron, frede | 1.07 row 7 : 1-07 | 3 december 1976 | "to catch a rat" | ian hendry, barry | 1.05 row 8 : 1-08 | 10 december 1976 | "the tale of the big why" | derek waring, jenny | 1.09 row 9 : 1-09 | 17 december 1976 | "faces" | david de keyser, edward | 1.08 row 10 : 1-10 | 21 december 1976 | "gnaws" | julian holloway, peter cell | 1.11 row 11 : 1-11 | 7 january 1977 | "dirtier by the dozen" | john castle, shaun curry, al | 1.13 row 12 : 1-12 | 14 january 1977 | "sleeper" | keith buckley, sara | 1.12 row 13 : 1-13 | 21 january 1977 | "three-handed game" | stephen greif, tony | 1.1 ] Execute this SQL based on the above table: select count ( * ) ( select episode # group by episode # having count ( original air date (uk) ) >= 2 )
0
[ header: year | award | group | result | notes row 1 : 2004 | black reel awards | best actor: drama | nominated | the human stain (film) row 2 : 2004 | black reel awards | best breakthrough performance | nominated | the human stain (film) row 3 : 2006 | academy of science fiction, fantasy & horror films | best actor on television | nominated | prison break row 4 : 2006 | teen choice awards | tv - choice actor | nominated | prison break row 5 : 2006 | teen choice awards | tv - choice breakout star | nominated | prison break row 6 : 2006 | golden globes awards | best performance by an actor in a television series | nominated | prison break row 7 : 2007 | teen choice awards | choice tv actor: drama | nominated | prison break row 8 : 2008 | teen choice awards | choice tv actor: action adventure | nominated | prison break row 9 : 2014 | fangoria chainsaw awards | best screenplay | pending | stoker (film) ] Execute this SQL based on the above table: select abs ( ( select year where year = 2004 ) - ( select year where year = 2007 ) )
3
[ 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 count ( * ) where location = 'san luis obispo, california'
1
[ header: team | winners | runners-up | years won | years runner-up row 1 : liverpool | 8 | 3 | 1981, 1982, 1983, 1984, 1995, | 1978, 1987, 2005 row 2 : aston villa | 5 | 3 | 1961, 1975, 1977, 1994, 1996 | 1963, 1971, 2010 row 3 : manchester united | 4 | 4 | 1992, 2006, 2009, 2010 | 1983, 1991, 1994, 2003 row 4 : tottenham hotspur | 4 | 3 | 1971, 1973, 1999, 2008 | 1982, 2002, 2009 row 5 : chelsea | 4 | 2 | 1965, 1998, 2005, 2007 | 1972, 2008 row 6 : nottingham forest | 4 | 2 | 1978, 1979, 1989, 1990 | 1980, 1992 row 7 : leicester city | 3 | 2 | 1964, 1997, 2000 | 1965, 1999 row 8 : manchester city | 3 | 1 | 1970, 1976, 2014 | 1974 row 9 : arsenal | 2 | 5 | 1987, 1993 | 1968, 1969, 1988, 2007, 2011 row 10 : norwich city | 2 | 2 | 1962, 1985 | 1973, 1975 row 11 : birmingham city | 2 | 1 | 1963, 2011 | 2001 row 12 : wolverhampton wanderers | 2 | 0 | 1974, 1980 | None row 13 : west bromwich albion | 1 | 2 | 1966 | 1967, 1970 row 14 : middlesbrough | 1 | 2 | 2004 | 1997, 1998 row 15 : queens park rangers | 1 | 1 | 1967 | 1986 row 16 : leeds united | 1 | 1 | 1968 | 1996 row 17 : stoke city | 1 | 1 | 1972 | 1964 row 18 : luton town | 1 | 1 | 1988 | 1989 row 19 : sheffield wednesday | 1 | 1 | 1991 | 1993 row 20 : swindon town | 1 | 0 | 1969 | None row 21 : oxford united | 1 | 0 | 1986 | None row 22 : blackburn rovers | 1 | 0 | 2002 | None row 23 : swansea city | 1 | 0 | 2013 | None row 24 : west ham united | 0 | 2 | None | 1966, 1981 row 25 : everton | 0 | 2 | None | 1977, 1984 row 26 : bolton wanderers | 0 | 2 | None | 1995, 2004 row 27 : sunderland | 0 | 2 | None | 1985, 2014 row 28 : rotherham united | 0 | 1 | None | 1961 row 29 : rochdale | 0 | 1 | None | 1962 row 30 : newcastle united | 0 | 1 | None | 1976 row 31 : southampton | 0 | 1 | None | 1979 row 32 : oldham athletic | 0 | 1 | None | 1990 row 33 : tranmere rovers | 0 | 1 | None | 2000 row 34 : wigan athletic | 0 | 1 | None | 2006 row 35 : cardiff city | 0 | 1 | None | 2012 row 36 : bradford city | 0 | 1 | None | 2013 ] Execute this SQL based on the above table: select count ( team ) where winners = 0
13
[ header: month | day | visitor | score | home | score row 1 : dec | 28 | spokane | 5 | portland | 4 row 2 : jan | 1 | portland | 7 | seattle | 4 row 3 : jan | 4 | vancouver | 3 | portland | 5 row 4 : jan | 8 | seattle | 1 | spokane | 5 row 5 : jan | 11 | spokane | 1 | seattle | 3 row 6 : jan | 14 | portland | 4 | vancouver | 5 row 7 : jan | 16 | vancouver | 3 | seattle | 12 row 8 : jan | 18 | portland | 3 | spokane | 5 row 9 : jan | 22 | vancouver | 8 | spokane | 5 row 10 : jan | 25 | spokane | 5 | portland | 4 row 11 : jan | 28 | seattle | 2 | vancouver | 3 row 12 : jan | 30 | spokane | 2 | seattle | 4 row 13 : feb | 4 | seattle | 5 | vancouver | 6 (10:45 ot) row 14 : feb | 6 | portland | 3 | seattle | 9 row 15 : feb | 8 | vancouver | 4 | portland | 8 row 16 : feb | 11 | portland | 3 | vancouver | 6 row 17 : feb | 13 | vancouver | 1 | seattle | 3 row 18 : feb | 15 | seattle | 2 | portland | 4 row 19 : feb | 18 | seattle | 1 | vancouver | 8 row 20 : feb | 20 | portland | 2 | seattle | 6 row 21 : feb | 22 | vancouver | 1 | portland | 2 (20:20 ot) row 22 : feb | 25 | portland | 4 | vancouver | 9 row 23 : feb | 27 | vancouver | 1 | seattle | 2 (22:20 ot) row 24 : march | 1 | seattle | 3 | portland | 1 row 25 : march | 4 | portland | 4 | vancouver | 8 row 26 : march | 6 | vancouver | 3 | seattle | 4 (2:58 ot) row 27 : march | 8 | seattle | 6 | portland | 9 ] Execute this SQL based on the above table: select count ( visitor ) where home = 'seattle'
9
[ header: alumni chapters and clubs | location | founding date | years active | province row 1 : zeta alpha | detroit, mi | 1925 | None | beta row 2 : zeta beta | columbus, oh | december 14, 1926 | None | alpha north row 3 : zeta gamma | cincinnati, oh | december 14, 1926 | None | alpha south row 4 : zeta epsilon | chicago, il | may 21, 1928 | None | None row 5 : zeta zeta | denver, co | november 23, 1940 | None | gamma row 6 : zeta eta | bloomington-normal, il | december 13, 1941 | None | delta row 7 : zeta lambda | baton rouge, la | 1946 | None | None row 8 : zeta nu | ann arbor, mi | december 1948 | None | None row 9 : zeta xi | oakland county, mi | july 7, 1953 | None | None row 10 : zeta omicron | akron-kent, o | may 27, 1956 | 1956-present | alpha north row 11 : zeta rho | kearney, ne | march 7, 1959 | None | None row 12 : zeta tau | st. petersburg, f | december 10, 1960 | None | None row 13 : zeta upsilon | washington, d.c | december 18, 1961 | None | None row 14 : zeta chi | dayton, oh | february 14, 1967 | 1967-present | alpha south row 15 : zeta psi | philadelphia, pa | june 4, 1967 | None | None row 16 : zeta omega | spartanburg-greenville, | april 12, 1969 | None | None row 17 : eta alpha | pueblo, co | may 25, 1969 | None | None row 18 : eta beta | brownwood, tx | november 14, 1969 | None | None row 19 : eta gamma | ft. collins, co | march 7, 1970 | None | None row 20 : eta epsilon | atlanta, ga | february 23, 1971 | None | None row 21 : eta zeta | buffalo, ny | may 2, 1971 | None | None row 22 : eta theta | dallas, tx | november 9, 1975 | None | None row 23 : eta iota | huntsville, al | september 24, 1978 | None | None row 24 : eta kappa | phoenix, az | january 26, 1980 | None | None row 25 : eta lambda | lithonia, ga | may 18, 2003 | 2004-2011 | iota row 26 : eta mu | atlanta, ga | july 18, 2004 | 2004-2011 | iota row 27 : champaign-urbana alumni club | chambaign-urbana, il | None | None | delta row 28 : lincoln alumni club | lincoln, ne | None | None | theta row 29 : kearney alumni club | kearney, ne | None | None | theta row 30 : atlanta alumni club | atlanta, ga | None | None | iota row 31 : middle tennessee alumni club | murfreesboro, tn | 2013 | 2013-present | zeta west ] Execute this SQL based on the above table: select founding date where alumni chapters and clubs < ( select alumni chapters and clubs where founding date = 'december 10, 1960' ) order by alumni chapters and clubs desc limit 1
march 7, 1959
[ header: year | competition | venue | position | notes row 1 : 1985 | european indoor championships | athens, greece | 1st | long jump row 2 : 1986 | european championships | stuttgart, west germany | 2nd | long jump row 3 : 1987 | european indoor championships | lievin, france | 2nd | long jump row 4 : 1988 | european indoor championships | budapest, hungary | 2nd | long jump row 5 : 1988 | summer olympics | seoul, south korea | 3rd | long jump row 6 : 1989 | european indoor championships | the hague, netherlands | 1st | long jump row 7 : 1989 | world indoor championships | budapest, hungary | 1st | long jump row 8 : 1990 | european indoor championships | glasgow, scotland | 1st | long jump row 9 : 1990 | european indoor championships | glasgow, scotland | 1st | triple jump ] Execute this SQL based on the above table: select year group by year order by sum ( year ) desc limit 1
1990
[ header: no. | name | term of office | president(s) served under row 1 : 1 | william bennett | 1989 - 1991 | george h. w. bush row 2 : 2 | bob martinez | march 28, 1991 - january 20, | george h. w. bush row 3 : 3 | lee p. brown | january 1993 - december | bill clinton row 4 : 4 | barry mccaffrey | february 29, 1996 - janu | bill clinton row 5 : 5 | john p. walters | december 7, 2001 - janu | george w. bush row 6 : 6 | gil kerlikowske | may 7, 2009 - march 6, 2014 | barack obama row 7 : acting | michael botticelli | march 6, 2014 - | barack obama ] Execute this SQL based on the above table: select name order by abs ( no. ) desc limit 1
gil kerlikowske
[ header: pos | class | no | team | drivers | chassis | engine | laps row 1 : 22 | s 5.0 | 8 | david brown | reg parnell roy salvadori | aston martin db3 | aston martin 2.9l super | 222 row 2 : 26 | s 750 | 58 | automobiles panhard et levass | pierre chancel robert chancel | monopole x88 | panhard 0.6l flat-2 | 157 row 3 : 27 | s 1.5 | 41 | porsche kg | hans herrmann helmut | porsche 550/4 rs 1500 spy | porsche 1.5l flat-4 | 148 row 4 : 31 | s 5.0 | 6 | briggs cunningham | phil walters john fitch | ferrari 375mm | ferrari 4.5l v12 | 120 row 5 : 36 | s 5.0 | 12 | jaguar cars ltd | stirling moss peter walker | jaguar d-type | jaguar 3.4l i6 | 92 row 6 : 37 | s 5.0 | 3 | scuderia ferrari | umberto maglioli paolo | ferrari 375 plus | ferrari 5.0l v12 | 88 row 7 : 41 | s 3.0 | 22 | david brown | carroll shelby paul frere | aston martin db3 | aston martin 2.9l | 74 row 8 : 42 | s 750 | 50 | guy michel et andre | guy michel andre guillard | renault 4cv | renault 0.7l i4 | 73 row 9 : 43 | s 3.0 | 21 | david brown | ian stewart graham whitehead | aston martin db3 | aston martin 2.9l | 64 row 10 : 46 | s 2.0 | 37 | automobiles frazer nash lt | rodney f. peacock ger | frazer nash le mans | bristol 2.0l i6 | 49 row 11 : 47 | s 5.0 | 10 | pierre levegh | pierre levegh lino | talbot-lago t26 | talbot-lago 4.4l | 33 row 12 : 50 | s 750 | 66 | jacques faucher | jacques faucher jean | renault 4cv | renault 0.7l i4 | 20 row 13 : 51 | s 750 | 51 | automobiles deutsch et bonnet | pierre-louis dreyf | db hbr | renault 0.7l i4 | 8 row 14 : 52 | s 750 | 53 | nardi et co | alexandre gacon dr. | nardi 750lm | crosley 0.7l i4 | 7 row 15 : 53 | s 5.0 | 18 | luigi chinetti | porfirio rubirosa innocente | ferrari 375mm berlinetta | ferrari 4.5l v12 | 5 row 16 : 54 | s 750 | 60 | automobiles panhard et levass | lucien pailler jacques dew | panhard x88 | panhard 0.6l flat-2 | 5 row 17 : 55 | s 1.5 | 40 | porsche kg | richard von frankenberg helm | porsche 550/4 rs 1500 spy | porsche 1.5l flat-4 | 4 ] Execute this SQL based on the above table: select chassis where team = 'jacques faucher'
renault 4cv
[ header: seed | school | conf (overall) | tiebreaker row 1 : #1 | georgetown | 14-4 (24-5) | 2-1 vs. louisville/ row 2 : #2 | louisville | 14-4 (26-5) | 1-1 vs. georgetown row 3 : #3 | marquette | 14-4 (23-7) | 1-2 vs. georgetown row 4 : #4 | pittsburgh | 12-6 (24-7) | None row 5 : #5 | syracuse | 11-7 (23-8) | 1-0 vs. notre dame row 6 : #6 | notre dame | 11-7 (23-8) | 0-1 vs. sy row 7 : #7 | villanova | 10-8 (19-12) | None row 8 : #8 | providence | 9-9 (17-13) | 1-0 vs. cincinnati row 9 : #9 | cincinnati | 9-9 (21-10) | 0-1 vs. providence row 10 : #10 | st. john's | 8-10 (16-14) | None row 11 : #11 | rutgers | 5-13 (14-15) | None row 12 : #12 | seton hall | 3-15 (14-17) | 1-0 vs. south florida row 13 : #13 | south florida | 3-15 (12-18) | 0-1 vs. seton hall row 14 : #14 | depaul | 2-16 (11-20) | None ] Execute this SQL based on the above table: select conf (overall) where id = ( select id where conf (overall) = '12-6 (24-7)' ) - 1
14-4 (23-7)
[ header: representative | title | presentation of credentials | termination of mission | appointed by row 1 : solon borland | envoy extraordinary and minister plenipot | None | april 17, 1854 | franklin pierce row 2 : richard h. rousseau | minister resident | october 10, 1866 | august 10, 1869 | andrew johnson row 3 : henry baxter | minister resident | august 10, 1869 | june 30, 1873 | ulysses s. grant row 4 : george williamson | minister resident | february 19, 1874 | january 31, 1879 | ulysses s. grant row 5 : cornelius a. logan | minister resident | october 10, 1879 | april 15, 1882 | rutherford b. hayes row 6 : romualdo pacheco | envoy extraordinary and minister plenipot | april 17, 1891 | june 12, 1893 | benjamin harrison row 7 : macgrane coxe | envoy extraordinary and minister plenipot | None | june 30, 1897 | grover cleveland row 8 : philip marshall brown | envoy extraordinary and minister plenipot | february 21, 1909 | february 26, 1910 | theodore roosevel row 9 : fenton r. mc | envoy extraordinary and minister plenipot | march 10, 1910 | july 2, 1911 | william h. taf row 10 : charles dunning white | envoy extraordinary and minister plenipot | september 9, 1911 | november 4, 1913 | william h. taf row 11 : franklin e. morales | envoy extraordinary and minister plenipot | january 18, 1922 | march 2, 1925 | warren g. harding row 12 : george t. summerlin | envoy extraordinary and minister plenipot | november 21, 1925 | december 17, 1929 | calvin coolidge row 13 : julius g. lay | envoy extraordinary and minister plenipot | may 31, 1930 | march 17, 1935 | herbert hoover row 14 : john draper erwin | ambassador extraordinary and plenipotentiary | april 27, 1943 | april 16, 1947 | franklin d. ro row 15 : paul c. daniels | ambassador extraordinary and plenipotentiary | june 23, 1947 | october 30, 1947 | harry s. truman row 16 : charles r. burrows | ambassador extraordinary and plenipotentiary | november 3, 1960 | june 28, 1965 | dwight d. eis row 17 : phillip v. sanchez | ambassador extraordinary and plenipotentiary | june 15, 1973 | july 17, 1976 | richard nixon row 18 : jack r. binns | ambassador extraordinary and plenipotentiary | october 10, 1980 | october 31, 1981 | jimmy carter row 19 : john d. negroponte | ambassador extraordinary and plenipotentiary | november 11, 1981 | may 30, 1985 | ronald reagan row 20 : james f. creagan | ambassador extraordinary and plenipotentiary | august 29, 1996 | july 20, 1999 | bill clinton row 21 : larry leon palmer | ambassador extraordinary and plenipotentiary | october 8, 2002 | may 7, 2005 | george w. bush ] Execute this SQL based on the above table: select appointed by where id = ( select id where appointed by = 'rutherford b. hayes' ) - 1
ulysses s. grant
[ 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 count ( date )
21
[ header: pos | country | gold | silver | bronze | total row 1 : 1 | italy (ita) | 3 | 3 | 1 | 7 row 2 : 2 | united states (usa) | 3 | 0 | 1 | 4 row 3 : 3 | poland (pol) | 1 | 3 | 3 | 7 row 4 : 4 | soviet union (urs) | 1 | 2 | 2 | 5 row 5 : 5 | hungary (hun) | 1 | 0 | 0 | 1 row 6 : 5 | czechoslovakia (t | 1 | 0 | 1 | 2 row 7 : 7 | ghana (gha) | 0 | 1 | 0 | 1 row 8 : 7 | south africa (rsa) | 0 | 1 | 1 | 2 row 9 : 9 | great britain (gbr) | 0 | 0 | 3 | 3 row 10 : 10 | australia (aus) | 0 | 0 | 2 | 2 row 11 : 11 | japan (jpn) | 0 | 0 | 1 | 1 row 12 : 11 | united arab republic (egy) | 0 | 0 | 1 | 1 row 13 : 11 | finland (fin) | 0 | 0 | 1 | 1 row 14 : 11 | argentina (arg) | 0 | 0 | 1 | 1 row 15 : 11 | romania (rou) | 0 | 0 | 1 | 1 row 16 : 11 | germany (eua) | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select country where country > ( select country where country = 'australia (aus)' ) and country = 'poland (pol)'
poland (pol)
[ header: # | event year | season | flag bearer row 1 : 7 | 2012 | summer | ele opeloge row 2 : 6 | 2008 | summer | ele opeloge row 3 : 5 | 2004 | summer | uati maposua row 4 : 4 | 2000 | summer | pauga lalau row 5 : 3 | 1996 | summer | bob gasio row 6 : 2 | 1988 | summer | henry smith row 7 : 1 | 1984 | summer | apelu ioane ] Execute this SQL based on the above table: select count ( flag bearer ) where # is null
0
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | united states (usa) | 25 | 16 | 7 | 48 row 2 : 2 | canada (can) | 5 | 4 | 7 | 16 row 3 : 3 | jamaica (jam) | 4 | 3 | 4 | 11 row 4 : 4 | cuba (cub) | 3 | 8 | 4 | 15 row 5 : 5 | mexico (mex) | 0 | 3 | 3 | 6 row 6 : 6 | brazil (bra) | 0 | 2 | 1 | 3 row 7 : 7 | puerto rico (pur) | 0 | 1 | 1 | 2 row 8 : 8 | colombia (col) | 0 | 0 | 3 | 3 row 9 : 9 | peru (per) | 0 | 0 | 2 | 2 row 10 : 9 | trinidad and tobago (tri) | 0 | 0 | 2 | 2 row 11 : 11 | chile (chi) | 0 | 0 | 1 | 1 row 12 : 11 | uruguay (uru) | 0 | 0 | 1 | 1 row 13 : 11 | venezuela (ven) | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select count ( nation ) where total < 1958
13
[ header: year | title | peak chart positions us air | peak chart positions us main | peak chart positions us mod | album row 1 : 1990 | "dig a hole" | None | None | None | non-album single row 2 : 1993 | "mister love" | None | None | None | velvet row 3 : 1994 | "mister love" | None | None | None | rubberneck row 4 : 1995 | "possum kingdom" | 40 | 9 | 4 | rubberneck row 5 : 1995 | "away" | None | 23 | 28 | rubberneck row 6 : 1996 | "tyler" | None | None | None | rubberneck row 7 : 1996 | "backslider" | None | None | None | rubberneck row 8 : 2001 | "push the hand" | None | 34 | None | hell below/stars above row 9 : 2008 | "no deliverance" | None | 38 | None | no deliverance row 10 : 2009 | "song i hate" | None | None | None | no deliverance row 11 : 2012 | "summer of the strange" | None | None | None | play.rock.music ] Execute this SQL based on the above table: select count ( album )
11
[ header: district | area size (km2) | population | density per km2 row 1 : yamato flat inland plain | 837.27 | 1,282 | 1,531 row 2 : (share in %) | 22.7% | 89.7% | None row 3 : yamato highland | 506.89 | 56 | 110 row 4 : (share in %) | 13.7% | 3.9% | None row 5 : gojo, yoshino | 2,346.84 | 92 | 39 row 6 : (share in %) | 63.6% | 6.4% | None row 7 : total prefecture | 3,691.09 | 1,430 | 387 row 8 : (share in %) | 100.0% | 100.0% | None ] Execute this SQL based on the above table: select count ( population ) where density per km2 is null
4
[ header: # | title | celebrity guest(s) | directed by | written by | original airdate row 1 : 1 (1) | "nelson the online predator" | toby anstis | adam miller | daniel peak jon brown | 22 june 2010 row 2 : 2 (2) | "destiny the reluctant sniffer dog" | christopher biggins gemma bis | adam miller | jon brown | 29 june 2010 row 3 : 3 (3) | "marion the young lover" | terry nutkins chris | adam miller | jon brown | 6 july 2010 row 4 : 4 (4) | "nelson the stroke virgin" | clive anderson jeff brazier | adam miller | jon brown | 13 july 2010 row 5 : 5 (5) | "kali the genetic engineer" | scott mills | adam miller | jon brown | 20 july 2010 row 6 : 6 (6) | "destiny the infection risk" | christopher hughes | adam miller | daniel peak | 27 july 2010 row 7 : 7 (7) | "marion the superfluous feed character" | vicki butler-henderson | adam miller | jon brown | 3 august 2010 row 8 : 8 (8) | "nelson the naughty ar | eamonn holmes | adam miller | daniel peak | 10 august 2010 row 9 : 9 (9) | "mongrels uncovered" | None | samantha peters | None | 11 august 2010 ] Execute this SQL based on the above table: select original airdate group by original airdate order by count ( title ) desc limit 1
6 july 2010
[ header: name | place | map ref | date | notes | image row 1 : salisbury cathedral school | the close, salisbury. sp | 51°03′50′′n 1°47 | 13/15th century | initially residential, now a private school | None row 2 : the walton canonry | no. 96 west walk, the close, | 51°03′47′′n 1°47 | 1720 | a private residence, named from earlier resident, | None row 3 : john halle's hall | the new canal, salisbury. s | 51°05′13′′n 1°47 | 15th century with late 19th century frontage | originally residential, now entrance to odeon | no image row 4 : 91 crane street | salisbury sp1 2pu | 51°04′03′′n 1°47 | mid 14th century | residential. previously called 'le crane' in | None row 5 : the old george inn | 15-17 the high street, salisbury. | 51°04′04′′n 1°47 | 14th century | this old inn has a number of literary | None row 6 : school of arts annexe | 4 new street, salisbury. s | 51°04′02′′n 1°47 | 18th century | originally part of salisbury school of art, | None row 7 : trinity street almshouses | nos. 1-13 trinity street salis | 51°04′01′′n 1°47 | 1379 | 2 storied medieval hospital and accommodation rebuilt in | None row 8 : crane bridge | cranebridge road, salisbury. s | 51°04′04′′n 1°47 | 15th century | 4 span bridge over river avon | None row 9 : remains of old sarum castle and cathedral | castle road, salisbury. sp | 51°05′34′′n 1°48 | 12th century | originally an important town and citadel, now | None ] Execute this SQL based on the above table: select notes order by notes desc limit 1
this old inn has a number of literary and historical connections, now, with ground floor removed, entrance to shopping mall. no longer an inn
[ header: year | venue | standard result | venue | latin result row 1 : 1996 | berlin | tc ludwigsburg, | vilnius | tsc schwarz-gelb row 2 : 1999 | elblag | jantar elblag jan | vilnius | klaipeda university zuvedra team row 3 : 2001 | berlin | dsc kodryanka | bremerhaven | tsg bremerhaven, row 4 : 2002 | kishinev | dsc kodryanka | vilnius | klaipeda university zuvedra team row 5 : 2003 | stuttgart | dsc kodryanka | essen | klaipeda university zuvedra team row 6 : 2004 | brunswick | braunschweiger tsc, | minsk | klaipeda university team zuvedra row 7 : 2005 | elblag | braunschweiger tsc, | munich | klaipeda university zuvedra team row 8 : 2008 | kishinev | dsc kodryanka | wiener neustadt, austria | zuvedra klaipeda university, row 9 : 2009 | ludwigsburg germany | tc ludwigsburg german | bremen, germany | grun-gold-club bremen german row 10 : 2010 | elblag, poland | fs lotos-jantar ( | moscow, russia | vera tyumen, russia ] Execute this SQL based on the above table: select venue where year = 2003 - 1
kishinev
[ header: institution | location | established | gained university status | vice-chancellor | total number of students | research funding (£,000) row 1 : birkbeck, university of lon | london | 1823 | 1920 | professor david latchman | 19020 | 9985 row 2 : university of east anglia | norwich | 1963 | 1963 | professor edward acton | 19585 | 16482 row 3 : university of essex | colchester | 1964 | 1964 | professor anthony forster | 11690 | 9967 row 4 : goldsmiths, university of london | london | 1891 | 1904 | dr pat loughrey | 7615 | 8539 row 5 : institute of education, university of london | london | 1902 | 1932 | professor chris husbands | 7215 | 7734 row 6 : university of lancaster | lancaster | 1964 | 1964 | professor mark smith | 12695 | 18640 row 7 : university of leicester | leicester | 1921 | 1957 | professor robert burgess | 16160 | 22225 row 8 : loughborough university | loughborough | 1909 | 1966 | professor robert allison | 17825 | 22398 row 9 : royal holloway, university of lon | egham | 1849 | 1900 | professor paul layzell (principal | 7620 | 13699 row 10 : soas, university of london | london | 1916 | 1916 | professor paul webley | 4525 | 7238 row 11 : university of sussex | brighton | 1961 | 1961 | professor michael farthing | 12415 | 16196 ] Execute this SQL based on the above table: select count ( distinct total number of students )
11
[ header: pick # | player | position | nationality | nhl team | college/junior/club team row 1 : 123 | paul ames | defence | united states | pittsburgh penguins | billerica high school (ushs-m row 2 : 124 | joe reekie | defence | canada | hartford whalers | north bay centennials (ohl row 3 : 125 | greg evtushevski | right wing | canada | new jersey devils | kamloops blazers (w row 4 : 126 | bob pierson | left wing | canada | detroit red wings | london knights (ohl row 5 : 127 | tim burgess | defence | canada | los angeles kings | oshawa generals (ohl row 6 : 128 | cam plante | defence | canada | toronto maple leafs | brandon wheat kings (whl row 7 : 129 | iain duncan | left wing | canada | winnipeg jets | north york rangers (ojhl row 8 : 130 | terry maki | left wing | canada | vancouver canucks | brantford alexanders (oh row 9 : 131 | jeff hogg | goaltender | canada | calgary flames | oshawa generals (ohl row 10 : 132 | craig mack | defence | united states | quebec nordiques | east grand forks high school (ushs row 11 : 133 | steve orth | centre | united states | new york rangers | st. cloud state university (wcha row 12 : 134 | christian ruutt | centre | finland | buffalo sabres | pori (finland) row 13 : 135 | dwaine hutton | centre | canada | washington capitals | kelowna wings (whl) row 14 : 136 | sean toomey | left wing | united states | minnesota north stars | cretin-derham hall high school ( row 15 : 137 | jim sprenger | defence | united states | new york islanders | cloquet high school (ushs- row 16 : 138 | vladislav tretiak | goaltender | soviet union | montreal canadiens | moscow cska (ussr row 17 : 139 | scott birnie | rignt wing | canada | chicago black hawks | cornwall royals (ohl) row 18 : 140 | dale derkatch | centre | canada | edmonton oilers | regina pats (whl) row 19 : 141 | bob mormina | right wing | canada | philadelphia flyers | longueuil chevaliers (qmjh row 20 : 142 | ian armstrong | defence | canada | boston bruins | peterborough petes (ohl) ] Execute this SQL based on the above table: select count ( nhl team ) where pick # >= 3 or pick # >= 136
20
[ header: name | location served | governorate | utilization | helipads | runways | shelters | squadrons | coordinates row 1 : tha'lah military airbase | tha'lah | as-suwayda | military | 0 | 1 | 16 | 765 squadron mi-25 766 squad | 32°42′19′′n 36°24 row 2 : hama military airport | hama | hama | military | 10 | 1 | 20 | 679 squadron mig-21mf | 35°07′05′′n 36°42 row 3 : hamdan military airbase | abu kamal | deir ez-zor | military | None | None | None | None | 34°28′55′′n 40°53 row 4 : khalkhalah military airbase | khalkhalah | as-suwayda | military | 20 | 2 | 30 | 945 squadron mig-21bis 9 | 33°03′40′′n 36°33 row 5 : kowaires military airbase | kowaires | aleppo | military flight training school | 0 | 1 | 11 | 3 squadron l-39za, | 36°11′13′′n 37°34 row 6 : marj al-sultan military | marj al-sultan | damascus | military | 35 | 1 | 0 | 525 squadron mi-8 hip c | 33°29′13′′n 36°28 row 7 : mezzeh military airport | mezzeh | damascus | military | 12 | 1 | 22 | 976 squadron sa-324 | 33°28′39′′n 36°13 row 8 : qabr al-sitt | beit sahem | rif dimashq | military | 20 | 1 | 0 | 532 squadron mi-2, mi-8 | 33°27′30′′n 36°21 row 9 : sayqal military airbase | sayqal | damascus | military | 0 | 2 | 44 | 697 squadron mig-29 6 | 33°40′56′′n 37°12 row 10 : shayrat air base | shayrat | homs | military | 0 | 2 | 40 | 675 squadron mig-23m | 34°29′24′′n 36°54 ] Execute this SQL based on the above table: select governorate where governorate < ( select governorate where governorate = 'homs' ) order by governorate desc limit 1
hama
[ header: name | dates | grt | propulsion | port | notes row 1 : arataki i | 1948-84 | 74 | 320 bhp diesel, 10 knot | None | us navy harbour tug row 2 : arataki ii | 1984-99 | 143 | 1100 bhp diesel, 12 knot | timaru | harbour tug row 3 : hipi | 1942-56 | 39 | 100 bhp diesel, 8 knots | auckland | towing lighters row 4 : kahanui | 1942-45 | 207 | 800 ihp sr t | wanganui | harbour tug row 5 : manawanui i | 1948-52 | 74 | 329 bhp diesel, 10 knot | auckland | us navy harbour tug row 6 : meola | 1961- | 19 | 76 bhp diesel, 9 knot | auckland | work boat row 7 : toia | 1926-49 | 423 | 1250 ihp sr | wellington | world war i saint class naval tug, ] Execute this SQL based on the above table: select port order by dates desc limit 1
timaru
[ header: n° | name | position | date of birth | nationality row 1 : 1 | marcus popp | s | 23 settembre 1981 | germany row 2 : 2 | stanislav simin | c | 4 ottobre 1986 | serbia row 3 : 3 | gerald hardy-dessources | c | 9 febbraio 1983 | france row 4 : 4 | soane falafala | s | 16 aprile 1993 | france row 5 : 5 | cyril guitte | l | 13 agosto 1992 | france row 6 : 6 | david konecny | s/o | 10 ottobre 1982 | czech republic row 7 : 7 | jean-francois exiga | l | 9 marzo 1982 | france row 8 : 8 | nuno pinheiro | p | 31 dicembre 1984 | portugal row 9 : 10 | guillaume di betta | s | 8 settembre 1994 | france row 10 : 12 | maxime dillies | p | 11 aprile 1984 | france row 11 : 13 | kamil baranek | s | 2 maggio 1983 | czech republic row 12 : 14 | renaud lachaise | p | 12 maggio 1991 | france row 13 : 15 | david smith | c | 15 maggio 1985 | united states row 14 : 16 | emmanuel ragon | s | 6 agosto 1987 | france row 15 : 17 | victor le guennec | s | 19 giugno 1994 | france row 16 : 18 | thibault szymkowi | c | 19 settembre 1991 | france ] Execute this SQL based on the above table: select count ( * ) where position = 'c'
4
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | india | 102 | 58 | 37 | 197 row 2 : 2 | nepal | 32 | 10 | 24 | 65 row 3 : 3 | sri lanka | 16 | 42 | 62 | 120 row 4 : 4 | pakistan | 10 | 36 | 30 | 76 row 5 : 5 | bangladesh | 2 | 10 | 35 | 47 row 6 : 6 | bhutan | 1 | 6 | 7 | 14 row 7 : 7 | maldives | 0 | 0 | 4 | 4 ] Execute this SQL based on the above table: select nation order by silver asc limit 1
maldives
[ header: administrative area | area km2 | area sq mi | population | administrative centre row 1 : saint helena | 122 | 47 | 5809 | jamestown row 2 : ascension island | 91 | 35 | 1532 | georgetown row 3 : tristan da cunha | 184 | 71 | 388 | edinburgh of the seven seas row 4 : tristan da cunha | 98 | 38 | 382 | edinburgh of the seven seas row 5 : inaccessible island | 14 | 5 | 0 | denstone hut row 6 : nightingale island | 3.2 | 1 | 0 | west landing row 7 : gough island | 68 | 26 | 6 | transvaal bay row 8 : total | 397 | 153 | 7729 | jamestown ] Execute this SQL based on the above table: select administrative area order by id desc limit 1
total
[ header: rank | athlete | nationality | time | notes row 1 : None | valeriy borchin | russia | 1:19:56 | None row 2 : None | vladimir kanay | russia | 1:20:27 | None row 3 : None | luis fernando lopez | colombia | 1:20:38 | sb row 4 : 4 | wang zhen | china | 1:20:54 | None row 5 : 5 | stanislav emelyanov | russia | 1:21:11 | None row 6 : 6 | kim hyun-sub | south korea | 1:21:17 | None row 7 : 7 | ruslan dmytrenko | ukraine | 1:21:31 | sb row 8 : 8 | yusuke suzuki | japan | 1:21:39 | None row 9 : 9 | alex schwazer | italy | 1:21:50 | sb row 10 : 10 | erick barrondo | guatemala | 1:22:08 | None row 11 : 11 | chu yafei | china | 1:22:10 | None row 12 : 12 | sergey morozov | russia | 1:22:37 | None row 13 : 14 | matej toth | slovakia | 1:22:55 | None row 14 : 15 | eder sanchez | mexico | 1:23:05 | None row 15 : 16 | joao vieira | portugal | 1:23:26 | None row 16 : 17 | miguel angel lopez | spain | 1:23:41 | None row 17 : 18 | anton kucmin | slovakia | 1:23:57 | None row 18 : 19 | james rendon | colombia | 1:24:08 | sb row 19 : 20 | horacio nava | mexico | 1:24:15 | None row 20 : 21 | christopher linke | germany | 1:24:17 | None row 21 : 22 | caio bonfim | brazil | 1:24:29 | None row 22 : 23 | trevor barron | united states | 1:24:33 | None row 23 : 24 | rafał augustyn | poland | 1:24:47 | None row 24 : 25 | byun youngjun | south korea | 1:24:48 | None row 25 : 28 | recep celik | turkey | 1:25:39 | None row 26 : 29 | nazar kovalenko | ukraine | 1:25:50 | None row 27 : 31 | babubhai panucha | india | 1:26:53 | None row 28 : 32 | david kimutai | kenya | 1:27:20 | sb row 29 : 33 | yerko araya | chile | 1:27:47 | None row 30 : 34 | hedi teraoui | tunisia | 1:29:48 | None row 31 : 35 | diego flores | mexico | 1:30:00 | None row 32 : 37 | emerson hernandez | el salvador | 1:30:48 | sb row 33 : 38 | ronald quispe | bolivia | 1:32:09 | pb row 34 : None | moacir zimmermann | brazil | dsq | None row 35 : None | gustavo restrepo | colombia | dsq | None row 36 : None | giorgio rubino | italy | dsq | None row 37 : None | anatole ibanez | sweden | dsq | None row 38 : None | adam rutter | australia | dnf | None row 39 : None | mauricio arteaga | ecuador | dnf | None ] Execute this SQL based on the above table: select min ( rank ) where nationality = 'mexico'
15.0
[ header: mine | province | coordinates | town | dates | comments row 1 : barton mine | ontario | 47°07′08.75′′n 79 | temagami | 1906-1918 | secondary products included gold, silver, copper and bis row 2 : beanland mine | ontario | 47°05′28.71′′n | temagami | 1937-1938 | also produced silver row 3 : big dan mine | ontario | 47°05′28.53′′n | temagami | 1906-1907 | also produced silver and arsenic row 4 : copperfields mine | ontario | 46°57′44.41′′n 80 | temagami | 1954-1972 | secondary products included cobalt, gold, nickel row 5 : dome mine | ontario | None | timmins | None | None row 6 : golden giant mine | ontario | None | hemlo | 1985-2006 | None row 7 : hermiston-mccauley mine | ontario | 47°05′54.30′′n | temagami | 1935-1940 | None row 8 : kanichee mine | ontario | 47°06′13.07′′n | temagami | 1937-1948, 1948-1949, 1973-19 | secondary products included gold, palladium, silver row 9 : leckie mine | ontario | 47°05′36.34′′n | temagami | ~1900-1909, 1933-1937 | also produced arsenic, copper and silver row 10 : mcintyre mines | ontario | None | None | None | None row 11 : norrie mine | ontario | 47°06′59.59′′n | temagami | prior to 1920 | secondary products included lead, gold, zinc and silver row 12 : northland pyrite mine | ontario | 47°10′26.24′′n | temagami | 1906-1911 | secondary products included cobalt, copper, zinc row 13 : red lake mine | ontario | None | red lake | None | None row 14 : temagami-lorrain mine | ontario | 47°06′39.79′′n | temagami | prior to 1912 | also produced cobalt, arsenic ] Execute this SQL based on the above table: select ( select mine where town = 'temagami' ) < ( select mine where town = 'temagami' )
0
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 1 | emerson fittipaldi | mclaren-ford | 53 | 1:39:26.29 | 5 | 9 row 2 : 2 | 24 | james hunt | hesketh-ford | 53 | + 5.91 | 6 | 6 row 3 : 3 | 7 | carlos reutemann | brabham-ford | 53 | + 17.06 | 3 | 4 row 4 : 4 | 11 | clay regazzoni | ferrari | 53 | + 35.79 | 7 | 3 row 5 : 5 | 4 | patrick depailler | tyrrell-ford | 53 | + 54.25 | 8 | 2 row 6 : 6 | 12 | niki lauda | ferrari | 53 | + 1:19.65 | 4 | 1 row 7 : 7 | 28 | mark donohue | penske-ford | 52 | + 1 lap | 16 | None row 8 : 8 | 6 | jacky ickx | lotus-ford | 52 | + 1 lap | 18 | None row 9 : 9 | 9 | vittorio brambilla | march-ford | 52 | + 1 lap | 12 | None row 10 : 10 | 22 | graham hill | lola-ford | 52 | + 1 lap | 21 | None row 11 : 11 | 3 | jody scheckter | tyrrell-ford | 52 | + 1 lap | 9 | None row 12 : 12 | 16 | tom pryce | shadow-ford | 51 | transmission | 14 | None row 13 : 13 | 23 | rolf stommelen | lola-ford | 51 | + 2 laps | 19 | None row 14 : 14 | 2 | jochen mass | mclaren-ford | 50 | + 3 laps | 13 | None row 15 : ret | 8 | carlos pace | brabham-ford | 46 | engine | 2 | None row 16 : nc | 20 | arturo merzario | williams-ford | 44 | not classified | 20 | None row 17 : ret | 27 | mario andretti | parnelli-ford | 27 | transmission | 10 | None row 18 : ret | 14 | mike wilds | brm | 24 | engine | 22 | None row 19 : ret | 5 | ronnie peterson | lotus-ford | 15 | engine | 11 | None row 20 : ret | 21 | jacques laffite | williams-ford | 15 | gearbox | 17 | None row 21 : ret | 30 | wilson fittipaldi | fittipaldi-ford | 12 | accident | 23 | None row 22 : dsq | 18 | john watson | surtees-ford | 6 | disqualified | 15 | None row 23 : dns | 17 | jean-pierre jarier | shadow-ford | 0 | transmission | 1 | None ] Execute this SQL based on the above table: select grid where driver = 'mario andretti'
10
[ header: year | place | gold | silver | bronze row 1 : 1962 | cairo | mercedes mata (ven) | marjorie annan (usa) | elena shebashova (urs row 2 : 1966 | wiesbaden | claudia smirnova (urs | mercedes garcia (ven) | michele valery (fra) row 3 : 1967 | bologna | larisa gurvich (urs | claudia smirnova (urs | mirella lenzini (ita) row 4 : 1970 | phoenix | larissa korchinskaya (urs | nuria ortiz (mex | kari linden (nor) row 5 : 1971 | bologna | nuria ortiz (mex | larissa korchinskaya (urs | kari linden (nor) row 6 : 1974 | bern | larissa korchinskaya (urs | saskia brixner ( | evior melander (swe) row 7 : 1975 | munich | larisa gurvich (urs | pinky le grelle (bel) | ruth jordan (frg row 8 : 1977 | antibes | ruth jordan (frg | ila hill (usa) | bianca rosa hansberg row 9 : 1979 | montecatini terme | bianca rosa hansberg | larisa gurvich (urs | svetlana yakimova row 10 : 1981 | tucuman | lanying wu (chn) | ila hill (usa) | bianca rosa hansberg row 11 : 1982 | caracas | svetlana yakimova | meimei feng (chn) | weiping shao (chn) row 12 : 1986 | suhl | svetlana demina ( | michaela rink (frg | connie schiller (usa) row 13 : 1987 | valencia | meimei feng (chn) | bonnie mc laurin (us | nuria ortiz (mex row 14 : 1989 | montecatini terme | shan zhang (chn) | antonella parrini (it | erzsebet vasvari row 15 : 1991 | perth | jong ran pak (prk | svetlana demina ( | erzsebet vasvari row 16 : 1994 | fagnano | erdzhanik avetisyan | diana igaly (hun) | daniela bolis (ita row 17 : 1999 | tampere | erdzhanik avetisyan | cristina vitali (ita) | svetlana demina ( row 18 : 2001 | cairo | zemfira meftakhe | olga panarina ( | cristina vitali (ita) row 19 : 2002 | lahti | diana igaly (hun) | andrea stranovska (svk | elena little (gbr) row 20 : 2003 | nicosia | ning wei (chn) | katiuscia spada (it | diana igaly (hun) ] Execute this SQL based on the above table: select place where id = ( select id where place = 'wiesbaden' ) + 1
bologna
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 5 | fernando alonso | renault | 56 | 1:31:33.736 | 1 | 10 row 2 : 2 | 16 | jarno trulli | toyota | 56 | 24.327 | 2 | 8 row 3 : 3 | 8 | nick heidfeld | williams-bmw | 56 | 32.188 | 10 | 6 row 4 : 4 | 10 | juan pablo montoya | mclaren-mercedes | 56 | 41.631 | 11 | 5 row 5 : 5 | 17 | ralf schumacher | toyota | 56 | 51.854 | 5 | 4 row 6 : 6 | 14 | david coulthard | red bull-cosworth | 56 | +1:12.543 | 8 | 3 row 7 : 7 | 1 | michael schumacher | ferrari | 56 | +1:19.988 | 13 | 2 row 8 : 8 | 15 | christian klien | red bull-cosworth | 56 | +1:20.835 | 7 | 1 row 9 : 9 | 9 | kimi raikkonen | mclaren-mercedes | 56 | +1:21.580 | 6 | None row 10 : 10 | 12 | felipe massa | sauber-petronas | 55 | +1 lap | 14 | None row 11 : 11 | 19 | narain karthikeyan | jordan-toyota | 54 | +2 laps | 17 | None row 12 : 12 | 18 | tiago monteiro | jordan-toyota | 53 | +3 laps | 18 | None row 13 : 13 | 21 | christijan albers | minardi-cosworth | 52 | +4 laps | 19 | None row 14 : ret | 2 | rubens barrichello | ferrari | 49 | handling | 12 | None row 15 : ret | 6 | giancarlo fisichella | renault | 36 | collision | 3 | None row 16 : ret | 7 | mark webber | williams-bmw | 36 | collision | 4 | None row 17 : ret | 11 | jacques villeneuve | sauber-petronas | 26 | spun off | 16 | None row 18 : ret | 3 | jenson button | bar-honda | 2 | engine | 9 | None row 19 : ret | 4 | anthony davidson | bar-honda | 2 | engine | 15 | None row 20 : ret | 20 | patrick friesacher | minardi-cosworth | 2 | spun off | 20 | None ] Execute this SQL based on the above table: select count ( * ) where driver = 'christian klien'
1
[ header: date | team | name | position | years in nba | notes row 1 : april 23, 2009 | houston rockets | dikembe mutombo | c | 18 | suffered a season-ending injury row 2 : may 21, 2009 | free agent | sam cassell | g | 15 | became an assistant coach of the wizards row 3 : september 3, 2009 | free agent | bruce bowen | f | 12 | None row 4 : october 22, 2009 | free agent | mark madsen | f | 9 | became an assistant coach of the uta row 5 : october 23, 2009 | free agent | bobby jackson | g | 12 | None row 6 : october 23, 2009 | free agent | tyronn lue | g | 11 | became the director of basketball development of the celtics row 7 : november 5, 2009 | free agent | darrick martin | g | 14 | named assistant director of player development of timberwolves ] Execute this SQL based on the above table: select date order by date desc limit 1
november 5, 2009
[ header: year | album | song | duration | artist row 1 : 2010 | trax mini album volume up | "healing" | None | with trax row 2 : 2010 | oh! | "boys & girls" | None | with girls' generation row 3 : 2010 | 1st asia tour "into the | "barbie girl" | None | duet with jessica row 4 : 2012 | history of salary man ost | "bravo" | 03:12 | duet with leeteuk row 5 : 2012 | one dream (single) | "one dream" | 02:29 | with boa & henry row 6 : 2012 | mama | "two moons" | 02:59 | with exo row 7 : 2012 | only one | "one dream" | 02:29 | with boa & henry row 8 : 2014 | toheart | "delicious" | None | duet with woohyun from infinite ] Execute this SQL based on the above table: select album group by album order by count ( * ) asc limit 1
1st asia tour "into the new world"
[ header: date | opponent# | rank# | site | result | attendance row 1 : september 1 | delta state | None | m.m. roberts | w 12-0 | 17590 row 2 : september 8 | at #13 alabama | None | legion field • birmingham, al | w 27-24 | 75962 row 3 : september 15 | at georgia | None | sanford stadium • athens, | l 17-18 | 79812 row 4 : september 22 | at mississippi state | None | scott field • starkville, m | l 10-13 | 40115 row 5 : september 29 | louisville | None | m.m. roberts | w 25-13 | 20545 row 6 : october 6 | at east carolina | None | ficklen memorial stadium • greenville, | w 16-7 | 31305 row 7 : october 13 | at tulane | None | louisiana superdome • new orle | w 20-14 | 26662 row 8 : october 20 | memphis state | None | m.m. roberts | w 23-7 | 24520 row 9 : october 27 | at virginia tech | None | lane stadium • blacksburg, va | l 16-20 | 37462 row 10 : november 3 | at sw louisiana | None | cajun field • lafayette, | w 14-13 | 17860 row 11 : november 10 | at #15 auburn | None | jordan-hare stadium • auburn | w 13-12 | 85214 row 12 : december 28 | vs. nc state | #23 | legion field • birmingham, al | l 27-31 | 44000 ] Execute this SQL based on the above table: select attendance - attendance where opponent# = 'at sw louisiana'
0.0
[ header: battle | location | date(s) | engagement remarks | victor row 1 : battle of gonzales | gonzales | october 2, 1835 | this battle resulted in the first casualties | t row 2 : battle of goliad | goliad | october 10, 1835 | texians captured presidio la bah | t row 3 : battle of concepcion | san antonio de be | october 28, 1835 | in the last offensive ordered by general martin | t row 4 : grass fight | san antonio de be | november 26, 1835 | texans attack a large mexi | t row 5 : battle of san patricio | san patricio | february 27, 1836 | this was the first battle of the goli | m row 6 : battle of the alamo | san antonio de be | february 23 - march 6, 1836 | mexican president antonio | m row 7 : battle of refugio | refugio | march 14, 1836 | third battle of the goliad campaign | m ] Execute this SQL based on the above table: select count ( engagement remarks ) where date(s) > 'october 10, 1835'
2
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 22 june 2008 | addis abeba | mauritania | 6-1 | win | 2010 wc qualification row 2 : 2 | 30 november 2009 | nairobi | djibouti | 5-0 | win | 2009 cecafa cup row 3 : 3 | 8 october 2011 | addis abeba | madagascar | 4-2 | win | 2012 caf qualification row 4 : 4 | 2 december 2011 | dar es salaam | malawi | 1-1 | draw | 2011 cecafa cup row 5 : 5 | 17 june 2012 | cotonou | benin | 1-1 | draw | 2013 africa cup of nations qualifier row 6 : 6 | 8 september 2012 | khartoum | sudan | 3-5 | loss | 2013 africa cup of nations qualifier row 7 : 7 | 14 september 2012 | addis abeba | sudan | 2-0 | win | 2013 africa cup of nations qualifier row 8 : 8 | 21 january 2013 | nelspruit | zambia | 1-1 | draw | 2013 africa cup of nations ] Execute this SQL based on the above table: select opponent where competition > ( select competition where opponent = 'malawi' ) order by competition limit 1
madagascar
[ header: number | builder | entered service | withdrawn | notes row 1 : 439 | nzr addington | 9-1-1909 | 2-3-1957 | converted to 4-cylinder simple, 6-1949 row 2 : 440 | nzr addington | 25-3-1909 | 2-3-1957 | converted to 4-cylinder simple, 7-1948 row 3 : 441 | nzr addington | 10-5-1909 | 2-3-1957 | None row 4 : 442 | nzr addington | 10-7-1909 | 4-3-1944 | converted to 4-cylinder simple, 6-1943. row 5 : 443 | nzr addington | 1-12-1909 | 2-3-1957 | converted to 4-cylinder simple, 7-1947 row 6 : 444 | nzr addington | 3-2-1910 | 2-3-1957 | converted to 4-cylinder simple, 12-1949 row 7 : 445 | nzr addington | 24-5-1910 | 26-5-1949 | None row 8 : 446 | nzr addington | 30-4-1910 | 6-12-1946 | converted to 4-cylinder simple, 12-1946. row 9 : 588 | nzr addington | 14-10-1913 | 2-3-1957 | converted to 4-cylinder simple, 5-1951 row 10 : 589 | nzr addington | 11-11-1949 | 6-1949 | None row 11 : 590 | nzr addington | 27-1-1914 | 2-3-1957 | None row 12 : 591 | nzr addington | 17-3-1914 | 2-3-1957 | converted to 4-cylinder simple, 12-1950 row 13 : 592 | nzr addington | 22-6-1914 | 2-3-1957 | converted to 4-cylinder simple, 10-1950 row 14 : 593 | nzr addington | 3-9-1914 | 2-3-1957 | converted to 4-cylinder simple, 6-1950 row 15 : 594 | nzr addington | 31-10-1914 | 2-3-1957 | converted to 4-cylinder simple, 5-1945 row 16 : 595 | nzr addington | 3-12-1914 | 2-3-1957 | None row 17 : 596 | nzr addington | 26-1-1915 | 2-3-1957 | converted to 4-cylinder simple, 12-1949 row 18 : 597 | nzr addington | 1-4-1915 | 2-3-1957 | None ] Execute this SQL based on the above table: select withdrawn where id = 1 + 1
2-3-1957
[ header: # | wrestlers | reign | date | days held | location | event | notes row 1 : 4 | ric converse | 1 | july 20, 2002 | 231 | graham, north carolina | payback (2002) | None row 2 : 6 | xsiris | 1 | november 8, 2003 | 161 | burlington, north carolina | live event | in november 2003, the title was row 3 : 7 | geestar | 1 | april 17, 2004 | 70 | burlington, north carolina | live event | None row 4 : 10 | mitch connor | 1 | september 17, 2005 | 112 | burlington, north carolina | live event | None row 5 : 11 | rob mcbride | 1 | january 7, 2006 | 133 | burlington, north carolina | live event | None row 6 : 12 | michael mcallister | 1 | may 20, 2006 | 70 | burlington, north carolina | live event | None row 7 : 13 | brass munkey | 1 | july 29, 2006 | 154 | burlington, north carolina | cwf championship wrestling | None row 8 : 14 | steve greene | 1 | december 30, 2006 | 168 | burlington, north carolina | battlecade vii (2006) | None row 9 : 17 | tank lawson | 1 | may 17, 2008 | 112 | burlington, north carolina | revelation (2008) | None row 10 : 18 | marcellus king | 1 | september 6, 2008 | 133 | burlington, north carolina | sumner civitans superbrawl | None row 11 : 19 | lee valiant | 2 | january 17, 2009 | 273 | burlington, north carolina | night of challenges (2009) | None row 12 : 20 | joey silva | 1 | october 17, 2009 | 77 | burlington, north carolina | cwf rumble (2009) | None row 13 : 21 | lee valiant | 3 | january 2, 2010 | 14 | burlington, north carolina | battlecade x (2010) | this was a no-disqualification row 14 : 22 | roy wilkins | 1 | february 6, 2010 | 133 | burlington, north carolina | title turmoil (2010) | wilkins defeated arik royal to row 15 : 23 | arik royal | 1 | june 19, 2010 | 182 | burlington, north carolina | absolute justice iv (2010) | None row 16 : 24 | ray kandrack | 1 | december 18, 2010 | 168 | burlington, north carolina | battlecade xi (2010) | None row 17 : 25 | steve greene | 3 | june 4, 2011 | 0 | burlington, north carolina | title turmoil (2011) | greene announced his retirement after the win, row 18 : 26 | ray kandrack | 2 | june 19, 2011 | 179 | burlington, north carolina | absolute justice 5 (2011) | kandrack defeated jason miller to row 19 : 27 | donnie dollar$ | 1 | december 15, 2011 | 282 | burlington, north carolina | battlecade 12 (2011) | None row 20 : 28 | trevor lee | 1 | september 22, 2012 | 641 | burlington, north carolina | converse vs. king (2012) | None ] Execute this SQL based on the above table: select date where date != 'may 20, 2006' and days held = ( select days held where date = 'may 20, 2006' )
april 17, 2004
[ header: name | height m (ft) | completed | country | location | coordinates | remarks row 1 : high roller | 168 (551) | 2014 | us | las vegas, nevada | 36°07′03′′n 115° | world's tallest since 2014 row 2 : singapore flyer | 165 (541) | 2008 | singapore | marina centre, downtown core | 1°17′22′′n 103° | world's tallest 2008-2014 row 3 : london eye | 135 (443) | 2000 | uk | south bank, lambeth, lon | 51°30′12′′n 0° | world's tallest 2000-2006 row 4 : zhengzhou ferris wheel | 120 (394) | 2003 | china | century amusement park, henan | 34°43′58′′n 113° | None row 5 : sky dream fukuoka | 120 (394) | 2002 | japan | evergreen marinoa, fukuok | 33°35′44′′n 130°19 | closed september 2009 row 6 : daikanransha | 115 (377) | 1999 | japan | palette town, odaiba, hon | 35°37′35′′n 139° | world's tallest 1999-2000 row 7 : harbin ferris wheel | 110 (361) | 2003 | china | harbin, heilongji | 45°46′40′′n 126° | picture row 8 : shanghai ferris wheel | 108 (354) | 2002 | china | jinjiang action park, s | 31°08′24′′n 121° | None row 9 : cosmo clock 21 (1st installation) | 107.5 (353) | 1989 | japan | minato mirai 21, yoko | None | world's tallest 1989-1997 row 10 : space eye | 100 (328) | None | japan | space world, kitakyushu, | 33°52′18′′n 130°48 | picture row 11 : aurora wheel | 90 (295) | None | japan | nagashima spa land, mie | 35°01′47′′n 136° | picture row 12 : eurowheel | 90 (295) | 1999 | italy | mirabilandia, ravenna | 44°20′21′′n 12°15 | None row 13 : sky wheel | 88 (289) | None | taiwan | janfusun fancyworld, gu | 23°37′13′′n 120°34 | None row 14 : the original ferris wheel | 80.4 (264) | 1893 | us | chicago (1893-1903); s | ferris wheel coordinates | world's tallest 1893-1894 ] Execute this SQL based on the above table: select count ( remarks )
10
[ header: round | round | country | circuit | date | pole position | fastest lap | winning rider | winning team | report row 1 : 1 | r1 | qatar | losail | 23 february | troy corser | noriyuki haga | troy bayliss | xerox ducati | report row 2 : 2 | r1 | australia | phillip island | 2 march | troy bayliss | troy bayliss | troy bayliss | xerox ducati | report row 3 : 2 | r2 | australia | phillip island | 2 march | troy bayliss | max biaggi | troy bayliss | xerox ducati | report row 4 : 3 | r1 | spain | valencia | 6 april | max neukirchner | noriyuki haga | lorenzo lanzi | team r.g | report row 5 : 4 | r1 | netherlands | assen | 27 april | troy bayliss | max neukirchner | troy bayliss | xerox ducati | report row 6 : 4 | r2 | netherlands | assen | 27 april | troy bayliss | troy bayliss | troy bayliss | xerox ducati | report row 7 : 5 | r1 | italy | monza | 11 may | troy bayliss | noriyuki haga | max neukirchner | alstare suzuki | report row 8 : 5 | r2 | italy | monza | 11 may | troy bayliss | noriyuki haga | noriyuki haga | yamaha motor italia | report row 9 : 6 | r1 | united states | miller motorsports park | 1 june | carlos checa | carlos checa | carlos checa | ten kate honda | report row 10 : 6 | r2 | united states | miller motorsports park | 1 june | carlos checa | carlos checa | carlos checa | ten kate honda | report row 11 : 7 | r1 | germany | nurburgring | 15 june | max neukirchner | troy bayliss | noriyuki haga | yamaha motor italia | report row 12 : 8 | r1 | san marino | misano adriatico | 29 june | troy corser | jakub smrz | max neukirchner | alstare suzuki | report row 13 : 8 | r2 | san marino | misano adriatico | 29 june | troy corser | troy corser | ruben xaus | sterilgarda go eleven | report row 14 : 10 | r1 | great britain | brands hatch | 3 august | troy bayliss | ryuichi kiyonari | ryuichi kiyonari | ten kate honda | report row 15 : 10 | r2 | great britain | brands hatch | 3 august | troy bayliss | michel fabrizio | ryuichi kiyonari | ten kate honda | report row 16 : 11 | r1 | europe | donington park | 7 september | troy bayliss | troy bayliss | troy bayliss | xerox ducati | report row 17 : 12 | r1 | italy | vallelunga | 21 september | troy bayliss | carlos checa | noriyuki haga | yamaha motor italia | report ] Execute this SQL based on the above table: select count ( distinct fastest lap ) where round > 5
6
[ 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 count ( performer (s) )
15
[ 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 record order by event desc limit 1
2-0
[ header: pos. | driver | co-driver | car | time | difference | points row 1 : 1 | sebastien loeb | daniel elena | citroen c4 wr | 3:59:18.9 | 0 | 10 row 2 : 2 | dani sordo | marc marti | citroen c4 wr | 3:59;36.4 | 17.5 | 8 row 3 : 3 | mikko hirvonen | jarmo lehtinen | ford focus rs wrc | 4:00:00.4 | 41.5 | 6 row 4 : 4 | petter solberg | phil mills | subaru impreza wrc | 4:02:07.8 | 2:48.9 | 5 row 5 : 5 | urmo aava | kuldar sikk | citroen c4 wr | 4:02:49.6 | 3:30.7 | 4 row 6 : 6 | pg andersson | jonas andersson | suzuki sx4 wr | 4:06:56.3 | 7:37.4 | 3 row 7 : 7 | toni gardemeister | tomi tuominen | suzuki sx4 wr | 4:07:13.8 | 7:54.9 | 2 row 8 : 8 | federico villagra | jorge perez companc | ford focus rs wrc | 4:07:53.9 | 8:35.0 | 1 row 9 : 1. (10.) | martin prokop | jan tomanek | mitsubishi lancer evo ix | 4:13:07.9 | 0 | 10 row 10 : 2. (11.) | patrik sandell | emil axelsson | mitsubishi lancer evo ix | 4:13:44.1 | 36.2 | 8 row 11 : 3. (12.) | martin rauam | silver kutt | mitsubishi lancer evo ix | 4:14:05.7 | 57.8 | 6 ] Execute this SQL based on the above table: select co-driver where co-driver != 'daniel elena' and difference = ( select difference where co-driver = 'daniel elena' )
jan tomanek
[ header: club | founded | nickname | location | home ground | entered competition | most recent promotion row 1 : bundoora football club | 1974 | bulls | bundoora | yulong reserve | 1981 | 1982 row 2 : eltham football club | 1909 | panthers | eltham | central park | 1922 | 2003 row 3 : greensborough football club | 1905 | boro | greensborough | war memorial park | 1922 | 2007 row 4 : heidelberg football club | 1876 | tigers | heidelberg | warringal park | 1923 | 1983 row 5 : lalor football club | 1955 | bloods | lalor | lalor reserve | 1968 | 2011 row 6 : macleod football club | 1946 | kangaroos | rosanna | de winton park | 1947 | 2010 row 7 : montmorency football club | 1924 | magpies | montmorency | montmorency park, north oval | 1924 | None row 8 : north heidelberg football club | 1958 | bulldogs | heidelberg heights | shelley street reserve | 1958 | None row 9 : northcote park football club | 1952 | cougars | northcote | bill lawry oval | 1982 | 1995 row 10 : west preston lakeside football club | 1998 | roosters | reservoir | j e moore park | 1996 | 1997 ] Execute this SQL based on the above table: select entered competition where club = 'north heidelberg football club'
1958
[ header: year | single | us cashbox | us hot 100 | uk singles row 1 : 1969 | "rock & roll holiday" | None | None | None row 2 : 1970 | "be-bop confidential" | None | None | None row 3 : 1971 | "roadrunner" | None | None | None row 4 : 1971 | "that's fine" | None | None | None row 5 : 1972 | "the red back spider" | 85 | 96 | None row 6 : 1973 | "let your yeah be yeah" | 60 | 57 | 52 row 7 : 1973 | "smokin' in the boys room | 2 | 3 | 27 row 8 : 1974 | "i'm the leader of the gang | 26 | 48 | None row 9 : 1974 | "kings of the party" | 31 | 31 | None row 10 : 1974 | "i got it bad for you" | None | None | None row 11 : 1977 | "lady (put the light on me | 44 | 46 | None row 12 : 1977 | "the martian boogie" | 45 | 59 | None row 13 : 1979 | "love stealer" | None | None | None ] Execute this SQL based on the above table: select count ( * )
13
[ 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 min ( enrollment )
1300.0
[ header: position | team | points | played | won | drawn | lost | for | against | difference row 1 : 1 | palestra italia-sp | 18 | 9 | 9 | 0 | 0 | 33 | 8 | 25 row 2 : 2 | auto | 14 | 9 | 7 | 0 | 2 | 25 | 14 | 11 row 3 : 3 | corinthians | 13 | 9 | 6 | 1 | 2 | 26 | 9 | 17 row 4 : 4 | santos | 11 | 9 | 5 | 1 | 3 | 24 | 17 | 7 row 5 : 5 | silex | 8 | 9 | 3 | 2 | 4 | 17 | 26 | -9 row 6 : 6 | sirio | 7 | 9 | 3 | 1 | 5 | 21 | 20 | 1 row 7 : 7 | ypiranga-sp | 7 | 9 | 3 | 1 | 5 | 16 | 22 | -6 row 8 : 8 | portuguesa | 7 | 9 | 2 | 3 | 4 | 17 | 26 | -9 row 9 : 9 | aa sao bento | 4 | 9 | 2 | 0 | 7 | 9 | 31 | -22 row 10 : 10 | sc internacional de sa | 1 | 9 | 0 | 1 | 8 | 9 | 24 | -15 ] Execute this SQL based on the above table: select team where lost = 0
palestra italia-sp
[ header: week | date | opponent | result | attendance row 1 : 1 | september 6, 1981 | new orleans saints | w 27-0 | 57,406 row 2 : 2 | september 13, 1981 | at green bay packers | w 31-17 | 55,382 row 3 : 3 | september 20, 1981 | san francisco 49ers | w 34-17 | 56,653 row 4 : 4 | september 27, 1981 | at cleveland browns | l 28-17 | 78,283 row 5 : 5 | october 5, 1981 | at philadelphia eagle | l 16-13 | 71,488 row 6 : 6 | october 11, 1981 | los angeles rams | l 37-35 | 57,841 row 7 : 7 | october 18, 1981 | st. louis cardinals | w 41-20 | 51,428 row 8 : 8 | october 25, 1981 | new york giants | l 27-24 | 48,410 row 9 : 9 | november 1, 1981 | at new orleans saints | w 41-10 | 63,637 row 10 : 10 | november 8, 1981 | at san francisco 49ers | l 17-14 | 59,127 row 11 : 11 | november 15, 1981 | pittsburgh steelers | l 34-20 | 57,485 row 12 : 12 | november 23, 1981 | minnesota vikings | w 31-30 | 54,086 row 13 : 13 | november 29, 1981 | at houston oilers | w 31-27 | 40,201 row 14 : 14 | december 6, 1981 | at tampa bay buccaneers | l 24-23 | 69,221 row 15 : 15 | december 14, 1981 | at los angeles rams | l 21-16 | 57,054 row 16 : 16 | december 20, 1981 | cincinnati bengals | l 30-28 | 35,972 ] Execute this SQL based on the above table: select date order by attendance - week desc limit 1
september 27, 1981
[ header: date | opponent# | rank# | site | result | attendance row 1 : 1959-09-26 | at #16 georgia tech | #6 | grant field • atlanta, ga | l 12-16 | 43000 row 2 : 1959-10-03 | #15 navy | None | cotton bowl • dallas, t | w 20-7 | 46000 row 3 : 1959-10-09 | missouri | #15 | cotton bowl • dallas, t | w 23-2 | 33000 row 4 : 1959-10-17 | at rice | #16 | rice stadium • houston, tx | t 13-13 | 65000 row 5 : 1959-10-24 | texas tech | None | cotton bowl • dallas, t | w 21-13 | 30000 row 6 : 1959-10-31 | #4 texas | None | cotton bowl • dallas, t | l 0-21 | 65000 row 7 : 1959-11-07 | at texas a&m | None | kyle field • college station, t | w 14-11 | 19000 row 8 : 1959-11-14 | #20 arkansas | None | cotton bowl • dallas, t | l 14-17 | 31000 row 9 : 1959-11-21 | at baylor | None | floyd casey stadium • waco, | w 30-14 | 25000 row 10 : 1959-11-28 | at #8 texas christi | None | amon g. carter stadium • for | l 0-19 | 40000 ] Execute this SQL based on the above table: select opponent# where result = 'l 12-16'
at #16 georgia tech
[ header: year | title | role | notes row 1 : 1989-1993 | short attention span theater | host | co-presented four seasons row 2 : 1993-1995 | the jon stewart show | host | creator, executive producer, writer row 3 : 1996 | the larry sanders show | himself | 6 episodes from 1996-1998 row 4 : 1997 | the nanny | bobby | episode: "kissing cousins" row 5 : 1997 | newsradio | andrew | episode: "twins" row 6 : 1997 | dr katz, professional therapist | jon | voice, episode "guess who" row 7 : 1997 | space ghost coast to coast | himself | episode: "mayonnaise" row 8 : 1997 | mr. show | himself | episode: "a white man set them free" row 9 : 1998 | elmopalooza | himself | tv special row 10 : 1999 | spin city | parker | episode: "wall street" row 11 : 1999-present | the daily show | host | executive producer, writer row 12 : 2001 | 43rd annual grammy awards | host | tv special row 13 : 2002 | 44th annual grammy awards | host | tv special row 14 : 2002 | saturday night live | host | episode: "jon stewart/india. row 15 : 2006 | 78th academy awards | host | tv special row 16 : 2006 | american dad | himself | voice, episode: "irregarding row 17 : 2007 | jack's big music show | brunk stinegrouber | episode: "groundhog day" row 18 : 2008 | the simpsons | himself | voice, episode: "e pluribus row 19 : 2008 | 80th academy awards | host | tv special row 20 : 2012 | robot chicken | matt trakker, serpentor | voice, episode: "executed by the row 21 : 2013 | big time rush | himself | episode: "big time invasion" ] Execute this SQL based on the above table: select notes order by year desc limit 1
episode: "big time invasion"
[ header: | marker name | location | city or town | marker text row 1 : 2 | early sawmill | on w. side nys 52 | callicoon, new york | built 1834 by sam m. row 2 : 3 | first clearing | on nys 52 1 mi. young | callicoon, new york | in 1807 j.s. jack row 3 : 5 | old toll road | on e. side nys 52 | callicoon, new york | callicoon and cochecton turn row 4 : 6 | old turnpike | on nys 52 about 11⁄2 | callicoon, new york | old turnpike jeffersonville to mon row 5 : 8 | sullivan volkblatt | on no. side main st. between | callicoon, new york | local german language newspaper published here 1870german row 6 : 9 | tannery of henry inder | on so. side nys 52 near | callicoon, new york | beef hides were converted into sole leather by use row 7 : 13 | battle of minisink | on nys 97 about 11⁄ | highland, new york | col. joseph brant led 40 row 8 : 14 | battle of minisink | on nys 97 at minis | highland, new york | entrance to battlefield where july 22, 1779 row 9 : 17 | brant's camp | on nys 97 at barry | highland, new york | the mohawk leader of raid on minisink row 10 : 19 | bridge | on nys 97 at minis | highland, new york | built by john a. ro row 11 : 22 | robertsonville | on nys 52 at white s | highland, new york | jonathan bradley rober row 12 : 23 | d. & h. canal | on nys 97 at mouth of | lumberland, new york | d. & h. canal dry row 13 : 29 | michel helm | on us 209 about 2 miles north of | mamakating, new york | killed and scalped here during french and in ] Execute this SQL based on the above table: select count ( marker text ) where marker text = 'built 1834 by sam m. young followed in turn by turning mill, apple brandy distillery and milk manufacturing plant'
1
[ header: order in position | president of the republic | length of the presidential action | rank by length of term(s) | notes row 1 : 1 | k. j. stahlberg | 5 years, 220 days | 8 | 1 term serving row 2 : 2 | lauri kristian relander | 6 years, 0 days one leap year (19 | 6 | 1 term serving row 3 : 3 | p. e. svinh | 5 years, 364 days two leap years (19 | 6 | 1 term serving row 4 : 4 | kyosti kallio | 3 years, 293 days | 9 | resigned due to poor health row 5 : 5 | risto ryti | 3 years, 229 days | 10 | resigned due to agreement with nazi german row 6 : 6 | gustaf mannerheim | 1 year, 219 days | 11 | resigned due to poor health and after not row 7 : 7 | j. k. paasiki | 9 years, 356 days | 4 | 2 terms serving (remainder of mannerheim row 8 : 8 | urho kekkonen | 25 years, 332 days | 1 | 3 whole terms serving (the 3rd exceptionally row 9 : 9 | mauno koivisto | 12 years, 33 days | 2 | 2 terms serving row 10 : 10 | martti ahtisa | 6 years, 0 days two leap years (19 | 5 | 1 term serving row 11 : 11 | tarja halonen | 12 years, 0 days | 3 | 2 terms serving row 12 : 12 | sauli niinisto | 2 years, 115 days | None | incumbent: first term serving ] Execute this SQL based on the above table: select president of the republic where rank by length of term(s) = 6
lauri kristian relander, p. e. svinhufvud
[ header: order in position | president of the republic | length of the presidential action | rank by length of term(s) | notes row 1 : 1 | k. j. stahlberg | 5 years, 220 days | 8 | 1 term serving row 2 : 2 | lauri kristian relander | 6 years, 0 days one leap year (19 | 6 | 1 term serving row 3 : 3 | p. e. svinh | 5 years, 364 days two leap years (19 | 6 | 1 term serving row 4 : 4 | kyosti kallio | 3 years, 293 days | 9 | resigned due to poor health row 5 : 5 | risto ryti | 3 years, 229 days | 10 | resigned due to agreement with nazi german row 6 : 6 | gustaf mannerheim | 1 year, 219 days | 11 | resigned due to poor health and after not row 7 : 7 | j. k. paasiki | 9 years, 356 days | 4 | 2 terms serving (remainder of mannerheim row 8 : 8 | urho kekkonen | 25 years, 332 days | 1 | 3 whole terms serving (the 3rd exceptionally row 9 : 9 | mauno koivisto | 12 years, 33 days | 2 | 2 terms serving row 10 : 10 | martti ahtisa | 6 years, 0 days two leap years (19 | 5 | 1 term serving row 11 : 11 | tarja halonen | 12 years, 0 days | 3 | 2 terms serving row 12 : 12 | sauli niinisto | 2 years, 115 days | None | incumbent: first term serving ] Execute this SQL based on the above table: select length of the presidential action where president of the republic = 'risto ryti'
3 years, 229 days
[ header: pos. | car # | driver | make | team row 1 : 1 | 38 | jason leffler | toyota | braun racing row 2 : 2 | 16 | greg biffle | ford | roush fenway racing row 3 : 3 | 99 | david reutimann | toyota | michael waltrip racing row 4 : 4 | 60 | carl edwards | ford | roush fenway racing row 5 : 5 | 77 | ron hornaday | chevrolet | kevin harvick incorporated row 6 : 6 | 20 | aric almirola | chevrolet | joe gibbs racing row 7 : 7 | 29 | scott wimmer | chevrolet | richard childress racing row 8 : 8 | 42 | kevin hamlin | dodge | chip ganassi racing row 9 : 9 | 10 | mike bliss | toyota | braun racing row 10 : 10 | 88 | brad keselowski | chevrolet | jr motorsports ] Execute this SQL based on the above table: select driver order by pos. desc limit 1
brad keselowski
[ 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 count ( * ) where year > 1998
20
[ header: poll company | source | publication date | psuv | opposition | undecided row 1 : gis xxi | radio nacional de venezuela | march 2010 | 32 | 22 | 36 row 2 : gis xxi | radio nacional de venezuela | may 2010 | 36 | 23 | 33 row 3 : gis xxi | radio nacional de venezuela | june 2010 | 44 | 20 | None row 4 : hinterlaces | hinterlaces el universal | july 2010 | 27 | 28 | 23 row 5 : gis xxi | correo del orinoco | august 2010 | 50 | 44 | None row 6 : ivad | el universal | august 2010 | 45 | 43 | None row 7 : keller & asociados | el universal | august 2010 | 32 | 46 | None row 8 : keller & asociados | el universal | 2 september 2010 | 43 | 57 | 0 row 9 : datanalisis | abc.es | september 2010 | 52 | 48 | None row 10 : hinterlaces | union radio descifrado | september 2010 | 41 | 37 | None row 11 : ivad | union radio descifrado | september 2010 | 54 | 46 | None ] Execute this SQL based on the above table: select ( select undecided where source = 'radio nacional de venezuela' ) < ( select undecided where source = 'radio nacional de venezuela' )
0
[ header: game | date | opponent | venue | result | attendance | goalscorers row 1 : 1 | 19 august 1978 | hereford united | away | 0-0 | 5674 | None row 2 : 3 | 26 august 1978 | reading | away | 0-2 | 4788 | None row 3 : 5 | 9 september 1978 | wimbledon | away | 1-2 | 3217 | corrigan row 4 : 6 | 13 september 1978 | rochdale | home | 3-0 | 5746 | wright, corrigan, hinn row 5 : 8 | 23 september 1978 | york city | away | 1-0 | 3307 | gore row 6 : 10 | 30 september 1978 | scunthorpe united | home | 1-0 | 4459 | brownbill row 7 : 12 | 14 october 1978 | doncaster rovers | home | 1-0 | 5788 | ward row 8 : 13 | 18 october 1978 | halifax town | home | 1-0 | 5216 | hinnigan row 9 : 14 | 21 october 1978 | barnsley | away | 0-0 | 9841 | None row 10 : 16 | 3 november 1978 | stockport county | away | 1-0 | 8357 | hinnigan row 11 : 20 | 16 december 1978 | halifax town | away | 2-1 | 2437 | moore, purdie row 12 : 21 | 26 december 1978 | crewe alexandra | home | 1-0 | 7586 | houghton row 13 : 22 | 30 december 1978 | aldershot | home | 3-2 | 7289 | moore, houghton (2) row 14 : 23 | 9 january 1979 | port vale | away | 1-2 | 3744 | wright (pen.) row 15 : 24 | 3 february 1979 | portsmouth | home | 2-0 | 8289 | wright, corrigan row 16 : 25 | 14 february 1979 | wimbledon | home | 1-2 | 6704 | purdie (pen.) row 17 : 26 | 17 february 1979 | huddersfield town | home | 2-1 | 7420 | ward (2) row 18 : 27 | 24 february 1979 | doncaster rovers | away | 1-0 | 4612 | wright row 19 : 28 | 28 february 1979 | york city | home | 1-1 | 5896 | houghton row 20 : 29 | 3 march 1979 | barnsley | home | 1-1 | 9427 | wright row 21 : 30 | 10 march 1979 | northampton town | away | 4-2 | 2275 | brownbill (2), purdie, corrig row 22 : 32 | 17 march 1979 | stockport county | home | 2-0 | 7610 | wright, smart row 23 : 33 | 19 march 1979 | rochdale | away | 2-0 | 3621 | purdie, moore row 24 : 34 | 24 march 1979 | grimsby town | away | 1-3 | 8252 | wigginton (o.g.) row 25 : 36 | 31 march 1979 | bournemouth | home | 1-0 | 5527 | houghton row 26 : 37 | 3 april 1979 | hartlepool united | away | 1-1 | 2081 | houghton row 27 : 41 | 16 april 1979 | hartlepool united | home | 2-2 | 8217 | wright, purdie row 28 : 42 | 21 april 1979 | aldershot | away | 0-1 | 5466 | None row 29 : 43 | 28 april 1979 | darlington | home | 2-2 | 6153 | moore, brownbill row 30 : 44 | 1 may 1979 | scunthorpe united | away | 1-0 | 1582 | gore row 31 : 45 | 5 may 1979 | bournemouth | away | 1-2 | 3063 | purdie row 32 : 46 | 7 may 1979 | bradford city | away | 1-1 | 3748 | moore ] Execute this SQL based on the above table: select abs ( ( select game where opponent = 'halifax town' ) - ( select game where opponent = 'halifax town' ) )
0.0
[ header: rank | cyclist | team | laps down | notes row 1 : 1 | iryna shpylova | ukraine | None | q row 2 : 2 | jessie daams | belgium | None | q row 3 : 3 | eunmi park | south korea | -1 | q row 4 : 4 | evgeniya romanyu | russia | -1 | q row 5 : 5 | andrea wolfer | switzerland | -1 | q row 6 : 6 | giorgia bronzini | italy | -1 | q row 7 : 7 | leire olaberria dorrons | spain | -1 | q row 8 : 8 | joanne kiesanowski | new zealand | -1 | q row 9 : 9 | dulce pliego | mexico | -1 | q row 10 : 10 | jessie maclean | verducci breakaway racing | -1 | q row 11 : 11 | lisa brennauer | germany | -1 | q row 12 : 12 | ashlee ankudinoff | australia | -1 | q row 13 : 13 | wan yiu jamie wong | hong kong | -1 | None row 14 : 14 | lauren franges | united states | -1 | None row 15 : 15 | skye lee armstrong | rodin | -1 | None row 16 : 16 | rosy mccall | gis | -1 | None row 17 : 17 | fatehah mustapa | malaysia | -1 | None row 18 : 18 | yekatsiryna bar | belarus | -1 | None ] Execute this SQL based on the above table: select ( select rank where notes = 'q' ) > ( select rank where notes = 'q' )
0
[ header: year | final | semi row 1 : 1975 | finland | None row 2 : 1976 | united kingdom | None row 3 : 1977 | france | None row 4 : 1978 | israel | None row 5 : 1979 | spain | None row 6 : 1980 | ireland | None row 7 : 1981 | france | None row 8 : 1982 | germany | None row 9 : 1983 | netherlands | None row 10 : 1984 | ireland | None row 11 : 1985 | turkey | None row 12 : 1986 | sweden | None row 13 : 1987 | ireland | None row 14 : 1988 | luxembourg | None row 15 : 1989 | greece | None row 16 : 1990 | france | None row 17 : 1991 | spain | None row 18 : 1992 | france | None row 19 : 1993 | ireland | None row 20 : 1994 | ireland | None row 21 : 1995 | relegated | None row 22 : 1996 | ireland | unknown\ row 23 : 1997 | united kingdom | None row 24 : 1998 | germany | None row 25 : 1999 | relegated | None row 26 : 2000 | germany | None row 27 : 2001 | relegated | None row 28 : 2002 | spain | None row 29 : 2003 | relegated | None row 30 : 2004 | serbia and montenegro | serbia and montenegro row 31 : 2005 | serbia and montenegro | portugal row 32 : 2006 | bosnia and herzegovin | bosnia and herzegovin row 33 : 2007 | serbia | serbia row 34 : 2008 | serbia | portugal row 35 : 2009 | turkey | turkey row 36 : 2010 | germany | ireland row 37 : 2011 | bosnia and herzegovin | serbia row 38 : 2012 | albania | albania row 39 : 2013 | italy | hungary ] Execute this SQL based on the above table: select count ( final ) where final = 'germany'
4