inputs
stringlengths
291
3.71k
targets
stringlengths
1
2.65k
[ header: place | team | matches | won | drawn | lost | difference | points row 1 : 1 | canada | 6 | 6 | 0 | 0 | 62-6 | 12 row 2 : 2 | sweden | 6 | 4 | 1 | 1 | 33-14 | 9 row 3 : 3 | switzerland | 6 | 4 | 1 | 1 | 28-12 | 9 row 4 : 4 | norway | 6 | 2 | 0 | 4 | 10-27 | 4 row 5 : 5 | great britain | 6 | 1 | 1 | 4 | 18-42 | 3 row 6 : 6 | united states | 6 | 1 | 1 | 4 | 14-42 | 3 row 7 : 7 | finland | 6 | 1 | 0 | 5 | 15-37 | 2 ] Execute this SQL based on the above table: select team where team != 'switzerland' and drawn = ( select drawn where team = 'switzerland' )
sweden, great britain, united states
[ header: rank | bib | athlete | country | time | deficit | note row 1 : 8 | 37 | laure barthelemy | france | 3:08.53 | 4.64 | q row 2 : 10 | 27 | magda genuin | italy | 3:09.91 | 6.02 | q row 3 : 11 | 16 | arianna follis | italy | 3:10.41 | 6.52 | q row 4 : 12 | 24 | celine brun-lie | norway | 3:10.45 | 6.56 | q row 5 : 21 | 40 | riikka sarasoja | finland | 3:13.49 | 9.6 | q row 6 : 24 | 9 | perianne jones | canada | 3:13.95 | 10.06 | q row 7 : 26 | 21 | anastasia dotsenko | russia | 3:15.03 | 11.14 | q row 8 : 27 | 33 | daria gaiazova | canada | 3:15.10 | 11.21 | q row 9 : 29 | 7 | jessica diggins | united states | 3:15.24 | 11.35 | q row 10 : 32 | 38 | natalya korostelyova | russia | 3:15.83 | 11.94 | None row 11 : 37 | 26 | madoka natsumi | japan | 3:17.89 | 14 | None row 12 : 38 | 28 | pirjo muranen | finland | 3:18.21 | 14.32 | None row 13 : 39 | 54 | elena soboleva | russia | 3:19.55 | 15.66 | None row 14 : 40 | 11 | elena kolomina | kazakhstan | 3:20.17 | 16.28 | None row 15 : 53 | 59 | rosamund musgrave | united kingdom | 3:26.34 | 22.45 | None row 16 : 54 | 1 | anastasia slonova | kazakhstan | 3:26.51 | 22.62 | None row 17 : 56 | 4 | piret pormeister | estonia | 3:27.34 | 23.45 | None row 18 : 57 | 64 | maryna antsybor | ukraine | 3:28.17 | 24.28 | None row 19 : 62 | 63 | monika gyorgy | romania | 3:32.20 | 28.31 | None row 20 : 63 | 71 | niviaq chemnitz | denmark | 3:32.56 | 28.67 | None row 21 : 67 | 67 | zoya zaviediei | ukraine | 3:38.21 | 31.32 | None row 22 : 74 | 86 | irina khodiakov | kyrgyzstan | 3:52.24 | 48.35 | None row 23 : 78 | 77 | agnes simon | hungary | 4:04.44 | +1:00.55 | None row 24 : 82 | 73 | syuzanna varosyan | armenia | 4:25.77 | +1:21.88 | None row 25 : 84 | 76 | valya varosyan | armenia | 4:30.74 | +1:26.85 | None row 26 : 85 | 80 | zane eglite | latvia | 4:37.37 | +1:33.48 | None row 27 : None | 61 | brooke gosling | canada | dns | None | None ] Execute this SQL based on the above table: select count ( * ) where note = 'None'
0
[ header: rank | peak name | elevation | location | notes row 1 : 1 | saka haphong/mowd | 3,465 ft | thanchi,bandarban | unofficially the highest peak of banglades row 2 : 2 | zow tlang/mowd | 3,353 ft | thanchi,bandarban | elevation measured during the summit expedition by travelers of ban row 3 : 3 | dumlong | 3,314 ft | belaichori,rangamati | highest peak in rangamati. elevation measured row 4 : 4 | jogi haphong | 3,251 ft | thanchi,bandarban | elevation measured during the summit expedition by travelers of ban row 5 : 5 | keokradong | 3,235 ft | ruma,bandarban | most popular trekking route in bangladesh row 6 : 6 | rang tlang | unmeasured | belaichori,rangamati | None row 7 : 7 | thingdawl te t | 3,149 ft | ruma,bandarban | highest peak of lowmbok row range. elevation row 8 : 8 | mukhra thutha | 3,129 ft | belaichori,rangamati | elevation measured during the summit expedition by bd row 9 : 9 | kapital/capital | 3,090 ft | ruma,bandarban | this flat mountain top once used as a hide row 10 : 10 | kreikung taung | 3,083 ft | ruma,bandarban | elevation measured during the summit expedition by bd row 11 : 11 | taung mey | 3,060 ft | ruma,bandarban | near keokradong peak row 12 : 12 | laisra haphong | 3,041 ft | belaichori,rangamati | elevation measured during the summit expedition by bd row 13 : 13 | rang tlang 2 | unmeasured | belaichori,rangamati | None row 14 : 14 | nasai hum | 3,005 ft | thanchi,bandarban | most south-east corner peak of banglades ] Execute this SQL based on the above table: select location where rank >= 12
belaichori,rangamati, belaichori,rangamati, thanchi,bandarban
[ header: rank | name | nationality | time row 1 : None | sule utura | ethiopia | 15:38.70 row 2 : None | emebet anteneh men | ethiopia | 15:40.13 row 3 : None | pauline korikwiang | kenya | 15:40.93 row 4 : 4 | hyvin jepkemoi | kenya | 15:42.64 row 5 : 5 | esther ndiema | kenya | 15:43.48 row 6 : 6 | goytetom gebresil | ethiopia | 15:49.90 row 7 : 7 | angeline myiramsabimana | rwanda | 16:24.04 row 8 : 8 | mekdes weldu | eritrea | 16:42.69 row 9 : 9 | thandiwe nyathy | zimbabwe | 17:13.00 ] Execute this SQL based on the above table: select count ( * ) where time >= 1823
0
[ header: rank | name | nationality | time | notes row 1 : None | alberto garcia | spain | 7:43.89 | cr row 2 : None | antonio david jime | spain | 7:46.49 | pb row 3 : None | jesus espana | spain | 7:48.08 | pb row 4 : None | john mayock | great britain | 7:48.08 | None row 5 : 5 | michael buchleitner | austria | 7:54.39 | sb row 6 : 6 | mohammed mourhit | belgium | 7:59.79 | None row 7 : 7 | sergey ivanov | russia | 8:02.98 | None row 8 : 8 | mindaugas pukstas | lithuania | 8:03.21 | pb row 9 : 9 | irba lakhal | france | 8:03.38 | None row 10 : 10 | joakim johansson | denmark | 8:06.47 | None row 11 : 11 | harald steindorfer | austria | 8:09.21 | None row 12 : 12 | ferdinando vicari | italy | 8:17.46 | None row 13 : 13 | martin steinbauer | austria | 8:22.06 | None row 14 : 14 | christos papapetrou | cyprus | 8:30.59 | None ] Execute this SQL based on the above table: select nationality where nationality in ( 'spain' , 'austria' ) order by rank asc limit 841
spain, spain, spain, austria, austria, austria
[ header: no | date | race | track | winner | reports row 1 : 1 | 02-09-2008 | daytona arca 200 | daytona | michael annett | report row 2 : 2 | 04-13-2008 | kentuckiana ford dealers 200 | salem speedway | justin allgaier | report row 3 : 3 | 04-19-2008 | prairie meadows 250 | iowa speedway | matt hawkins | report row 4 : 4 | 04-25-2008 | kansas lottery $150 grand | kansas speedway | scott speed | report row 5 : 5 | 05-04-2008 | carolina 500 | rockingham | joey logano | report row 6 : 6 | 05-10-2008 | drive smart! 150 | kentucky | ricky stenhouse, jr | report row 7 : 7 | 05-18-2008 | hantz group 200 | toledo | matt carter | report row 8 : 8 | 06-07-2008 | pocono 200 | pocono | ricky stenhouse, jr | report row 9 : 9 | 06-14-2008 | racing for wildlife 200 | michigan | justin lofton | report row 10 : 10 | 06-29-2008 | cayuga arca re/max | cayuga | justin allgaier | report row 11 : 11 | 07-18-2008 | kentucky 150 | kentucky | scott speed | report row 12 : 12 | 07-26-2008 | berlin arca 200 | berlin | scott speed | report row 13 : 13 | 08-02-2008 | pennsylvania 200 | pocono | justin allgaier | report row 14 : 14 | 08-09-2008 | toyota arca 150 | nashville ss | scott speed | report row 15 : 15 | 08-17-2008 | allen crowe 100 | springfield | frank kimmel | report row 16 : 16 | 09-01-2008 | southern illinois 100 | duquoin | frank kimmel | report row 17 : 17 | 09-06-2008 | chicagoland arca 200 | chicagoland | scott lagasse jr | report row 18 : 18 | 09-13-2008 | eddie gilstrap motors | salem | frank kimmel | report row 19 : 19 | 09-28-2008 | loud energy drink 150 | njmp | justin allgaier | report row 20 : 20 | 10-03-2008 | food world 250 | talladega | justin allgaier | report row 21 : 21 | 10-12-2008 | toledo arca 200 | toledo | justin allgaier | report ] Execute this SQL based on the above table: select count ( * ) where reports = 'report' and no <= 14
14
[ header: outcome | edition | round | opponent team | surface | opponent | score row 1 : loser | 2010 | world group playoffs | slovakia | clay (i) | daniela hantuchova | 6-2, 6-2 row 2 : winner | 2010 | world group playoffs | slovakia | clay (i) | magdalena rybarikova | 6-1, 7-6(7-4) row 3 : winner | 2011 | world group ii | canada | hard (i) | aleksandra wozniak | 6-4, 7-5 row 4 : winner | 2011 | world group ii | canada | hard (i) | rebecca marino | 7-6(7-3), 6-3 row 5 : loser | 2011 | world group playoffs | slovakia | clay (i) | dominika cibulkova | 6-4, 3-6, 1-6 row 6 : loser | 2012 | world group | belgium | hard (i) | yanina wickmayer | 4-6, 4-6 row 7 : winner | 2012 | world group | belgium | hard (i) | kirsten flipkens | 6-2, 6-4 ] Execute this SQL based on the above table: select outcome where opponent > ( select opponent where outcome = 'winner' ) order by opponent asc limit 1
winner
[ header: rank | player | county | tally | total | opposition row 1 : 1 | nicky english | tipperary | 2-12 | 18 | antrim row 2 : 2 | mark corrigan | offaly | 3-7 | 16 | kilkenny row 3 : 3 | joe hennessy | kerry | 3-5 | 14 | limerick row 4 : 3 | finbarr delaney | cork | 1-11 | 14 | waterford row 5 : 5 | nicky english | tipperary | 0-13 | 13 | waterford row 6 : 5 | adrian ronan | kilkenny | 1-10 | 13 | westmeath row 7 : 7 | nicky english | tipperary | 2-5 | 11 | limerick row 8 : 7 | danny mcnaughton | antrim | 2-5 | 11 | down row 9 : 9 | m. j. ryan | dublin | 1-7 | 10 | laois row 10 : 10 | gary kirby | limerick | 1-6 | 9 | kerry row 11 : 10 | pat murphy | waterford | 3-0 | 9 | cork ] Execute this SQL based on the above table: select county order by rank desc limit 1
limerick
[ header: year | date | title | format(s) | award description(s) | result(s) row 1 : 1987 | july 28 | whitney | album | gold | won row 2 : 1987 | july 28 | whitney | album | platinum | won row 3 : 1987 | july 28 | whitney | album | 2× multi-platinum | won row 4 : 1987 | july 28 | "i wanna dance with somebody (who loves | single | gold | won row 5 : 1987 | august 4 | whitney | album | 3× multi-platinum | won row 6 : 1987 | september 30 | whitney | album | 4× multi-platinum | won row 7 : 1987 | november 20 | whitney | album | 5× multi-platinum | won row 8 : 1988 | april 18 | whitney | album | 6× multi-platinum | won row 9 : 1989 | february 13 | "i wanna dance with somebody (who loves | single | platinum | won row 10 : 1993 | june 23 | whitney | album | 7× multi-platinum | won row 11 : 1994 | november 29 | whitney | album | 8× multi-platinum | won row 12 : 1995 | november 29 | whitney | album | 9× multi-platinum | won row 13 : 1995 | december 6 | "so emotional" | single | gold | won ] Execute this SQL based on the above table: select title order by year desc limit 1
whitney
[ header: represent | contestant | age | height | hometown row 1 : alta verapaz | casetie lily dubo | 23 | 1.74 m (5 ft 8 1 | copan row 2 : chimaltenango | wendy karina albizures | 19 | 1.83 m (6 ft 0 | chimaltenango row 3 : ciudad capital | rita elizabeth med | 19 | 1.77 m (5 ft 9 1 | ciudad guatemala row 4 : guatemala | ana maribel arana r | 22 | 1.79 m (5 ft 10 1 | villa nueva row 5 : izabal | jessica jazmin donabo | 18 | 1.75 m (5 ft 9 in | puerto barrios row 6 : jalapa | luz yohana | 20 | 1.76 m (5 ft 9 1 | jalapa row 7 : quetzaltenango | clara jennifer chiong | 24 | 1.81 m (5 ft 11 1 | quetzaltenango ] Execute this SQL based on the above table: select represent where represent in ( 'chimaltenango' , 'alta verapaz' ) order by age asc limit 1
chimaltenango
[ 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 abs ( ( select age where contestant = 'reyna royo' ) - ( select age where contestant = 'gina larissa correa hils' ) )
4.0
[ header: place | team | matches | won | drawn | lost | difference | points row 1 : 1 | canada | 6 | 6 | 0 | 0 | 62-6 | 12 row 2 : 2 | sweden | 6 | 4 | 1 | 1 | 33-14 | 9 row 3 : 3 | switzerland | 6 | 4 | 1 | 1 | 28-12 | 9 row 4 : 4 | norway | 6 | 2 | 0 | 4 | 10-27 | 4 row 5 : 5 | great britain | 6 | 1 | 1 | 4 | 18-42 | 3 row 6 : 6 | united states | 6 | 1 | 1 | 4 | 14-42 | 3 row 7 : 7 | finland | 6 | 1 | 0 | 5 | 15-37 | 2 ] Execute this SQL based on the above table: select team where team in ( 'united states' , 'sweden' ) group by team order by count ( * ) desc limit 1
united states
[ header: year | award | category | work | result row 1 : 1992 | 8th soap opera digest awards | outstanding female newcomer: daytime | the young and the restless | nominated row 2 : 1994 | 10th soap opera digest awards | outstanding scene stealer | the young and the restless | won row 3 : 1994 | 26th naacp image award | outstanding actress in a daytime drama series | the young and the restless | won row 4 : 1995 | 11th soap opera digest awards | hottest female star | the young and the restless | nominated row 5 : 1996 | 27th naacp image award | outstanding actress in a daytime drama series | the young and the restless | won row 6 : 1996 | 23rd daytime emmy awards | outstanding supporting actress in a drama series | the young and the restless | nominated row 7 : 1997 | 24th daytime emmy awards | outstanding supporting actress in a drama series | the young and the restless | nominated row 8 : 1997 | 28th naacp image award | outstanding actress in a daytime drama series | the young and the restless | won row 9 : 1998 | 25th daytime emmy awards | outstanding supporting actress in a drama series | the young and the restless | nominated row 10 : 1998 | 29th naacp image award | outstanding actress in a daytime drama series | the young and the restless | won row 11 : 1999 | 30th naacp image award | outstanding actress in a daytime drama series | diagnosis murder | nominated row 12 : 1999 | 30th naacp image award | outstanding actress in a daytime drama series | the young and the restless | won row 13 : 2001 | 31st naacp image | outstanding actress in a daytime drama series | the young and the restless | won row 14 : 2003 | 34th naacp image award | outstanding actress in a daytime drama series | the young and the restless | won row 15 : 2003 | 18th soap opera digest awards | favorite return | the young and the restless | nominated row 16 : 2004 | 35th naacp image award | outstanding actress in a daytime drama series | the young and the restless | won row 17 : 2005 | 19th soap opera digest awards | outstanding actress in a supporting role | the young and the restless | nominated row 18 : 2005 | 36th naacp image award | outstanding actress in a daytime drama series | the young and the restless | won row 19 : 2006 | 37th naacp image award | outstanding actress in a daytime drama series | the young and the restless | won ] Execute this SQL based on the above table: select count ( result )
19
[ header: name | audition taken in | gang | notes row 1 : nauman sait | bangalore | om blues | winner of season 6 : hell down under. row 2 : longkiri timung (kiri) | kolkata | om blues | runner-up. won a hero row 3 : gurmeet kaur johal | bangalore | om blues | won a hero honda kariz row 4 : natasha sinha | chandigarh | brats | voted out in the 11th episode. brought row 5 : puneet malhotra (su | mumbai | None | won a hero honda kariz row 6 : paulami de | kolkata | om blues | voted out in the 12th episode row 7 : samrat kaushal | ahmedabad | om blues | won a hero honda kariz row 8 : tamanna sharma ( | chandigarh | om blues | got a hero honda kariz row 9 : sandeep singh (sandy | new delhi | brats | voted out in the 7th episode row 10 : bobby chopra | new delhi | brats | evicted in the 7th episode by row 11 : pradeep singh | new delhi | brats | evicted in the 7th episode by row 12 : suzanna mukherjee ( | mumbai | brats | voted out in the 6th episode row 13 : roop bhinder | new delhi | brats | voted out in the 5th episode row 14 : devarshi patel (dev) | ahmedabad | om blues | eliminated himself in the 5th episode by voluntarily row 15 : varisha hawelia | kolkata | om blues | voted out in the 2nd episode row 16 : sonia chauhan | chandigarh | None | evicted in the 1st episode row 17 : bhanu pratap singh ran | ahmedabad | None | evicted in the 1st episode row 18 : neha kapoor | new delhi | None | evicted in the 1st episode row 19 : ankur khanduja | chandigarh | None | evicted in the 1st episode ] Execute this SQL based on the above table: select count ( gang ) where gang = 'None'
0
[ header: rank | lane | name | nationality | time | notes row 1 : 1 | 4 | petra chocova | czech republic | 31.44 | q row 2 : 2 | 5 | sycerika mcma | ireland | 31.51 | q row 3 : 3 | 6 | concepcion badillo diaz | spain | 31.66 | q row 4 : 4 | 1 | katharina stiberg | norway | 31.84 | q row 5 : 5 | 3 | hrafnhildur | iceland | 31.95 | q row 6 : 6 | 8 | anastasia christoforou | cyprus | 31.98 | None row 7 : 7 | 2 | ivana ninkovic | bosnia and herzegovin | 32.26 | None row 8 : 8 | 7 | jenna laukkanen | finland | 32.26 | None ] Execute this SQL based on the above table: select name where name > 775
petra chocova, sycerika mcmahon, concepcion badillo diaz, katharina stiberg, hrafnhildur luthersdottir, anastasia christoforou, ivana ninkovic, jenna laukkanen
[ header: season | level | name | position | nationality | international caps row 1 : 1973 | 1 | kevin beattie | defender | england | 9 row 2 : 1974 | 1 | kevin beattie | defender | england | 9 row 3 : 1975 | 1 | colin viljoen | midfielder | england | 2 row 4 : 1976 | 1 | allan hunter | defender | northern ireland | 53 row 5 : 1977 | 1 | george burley | defender | scotland | 11 row 6 : 1978 | 1 | mick mills | defender | england | 42 row 7 : 1979 | 1 | arnold muhren | midfielder | netherlands | 23 row 8 : 1980 | 1 | frans thijssen | midfielder | netherlands | 14 row 9 : 1981 | 1 | paul cooper | goalkeeper | england | None row 10 : 1982 | 1 | alan brazil | striker | scotland | 13 row 11 : 1983 | 1 | paul mariner | striker | england | 35 row 12 : 1984 | 1 | trevor putney | midfielder | england | None row 13 : 1985 | 1 | terry butcher | defender | england | 77 row 14 : 1986 | 1 | terry butcher | defender | england | 77 row 15 : 1987 | 2 | romeo zondervan | midfielder | netherlands | 6 row 16 : 1988 | 2 | frank yallop | defender | canada | 52 row 17 : 1989 | 2 | john wark | midfielder | scotland | 29 row 18 : 1990 | 2 | john wark | midfielder | scotland | 29 row 19 : 1991 | 2 | david linighan | defender | england | None row 20 : 1992 | 2 | john wark | midfielder | scotland | 29 row 21 : 1993 | 1 | mick stockwell | midfielder | england | None row 22 : 1994 | 1 | john wark | midfielder | scotland | 29 row 23 : 1995 | 1 | craig forrest | goalkeeper | canada | 56 row 24 : 1996 | 2 | simon milton | midfielder | england | None row 25 : 1997 | 2 | mauricio taricco | defender | argentina | None row 26 : 1999 | 2 | jamie clapham | defender | england | None row 27 : 2000 | 2 | james scowcroft | striker | england | None row 28 : 2001 | 1 | marcus stewart | striker | england | None row 29 : 2002 | 1 | mark venus | defender | england | None row 30 : 2003 | 2 | matt holland | midfielder | ireland | 49 row 31 : 2004 | 2 | ian westlake | midfielder | england | None row 32 : 2005 | 2 | shefki kuqi | striker | finland | 60 row 33 : 2006 | 2 | fabian wilnis | defender | netherlands | None row 34 : 2007 | 2 | sylvain legwinski | midfielder | france | None row 35 : 2008 | 2 | jonathan walters | striker | ireland | 19 row 36 : 2009 | 2 | richard wright | goalkeeper | england | 2 row 37 : 2010 | 2 | gareth mcauley | defender | northern ireland | 21 row 38 : 2011 | 2 | jimmy bullard | midfielder | england | None row 39 : 2012 | 2 | aaron cresswell | defender | england | None row 40 : 2013 | 2 | tommy smith | defender | new zealand | 22 ] Execute this SQL based on the above table: select position where season = ( select season where position = 'defender' ) + 1
defender
[ header: season | division | tier | position | cup row 1 : 1994-95 | regionalliga sud | iii | 7 | quarter-final row 2 : 1995-96 | regionalliga sud | iii | 13 | round 1 row 3 : 1997-97 | regionalliga sud | iii | 8 | dnq row 4 : 1997-98 | regionalliga sud | iii | 6 | dnq row 5 : 1998-99 | regionalliga sud | iii | 8 | dnq row 6 : 1999-00 | regionalliga sud | iii | 5 | dnq row 7 : 2000-01 | regionalliga sud | iii | 9 | dnq row 8 : 2001-02 | regionalliga sud | iii | 10 | dnq row 9 : 2002-03 | regionalliga sud | iii | 4 | round 1 row 10 : 2003-04 | regionalliga sud | iii | 1 | dnq row 11 : 2004-05 | regionalliga sud | iii | 6 | quarter-final row 12 : 2005-06 | regionalliga sud | iii | 11 | dnq row 13 : 2006-07 | regionalliga sud | iii | 8 | dnq row 14 : 2007-08 | regionalliga sud | iii | 8 | dnq row 15 : 2008-09 | 3. liga | iii | 5 | None row 16 : 2009-10 | 3. liga | iii | 8 | None row 17 : 2010-11 | 3. liga | iii | 20 | None row 18 : 2011-12 | regionalliga sud | iv | 14 | None row 19 : 2012-13 | regionalliga bayern | iv | 2 | None ] Execute this SQL based on the above table: select tier order by position desc limit 1
iii
[ header: religious group | population % | growth (1991-2001) | sex ratio (total) | literacy (%) | work participation (%) | sex ratio (rural) | sex ratio (urban) | sex ratio (child) row 1 : hindu | 80.46% | 20.3% | 931 | 65.1% | 40.4% | 944 | 894 | 925 row 2 : muslim | 13.43% | 29.3% | 936 | 59.1% | 31.3% | 953 | 907 | 950 row 3 : christian | 2.34% | 22.6% | 1009 | 80.3% | 39.7% | 1001 | 1026 | 964 row 4 : sikh | 1.87% | 18.2% | 893 | 69.4% | 37.7% | 895 | 886 | 786 row 5 : buddhist | 0.77% | 18.2% | 953 | 72.7% | 40.6% | 958 | 944 | 942 row 6 : animist, others | 0.72% | 103.1% | 992 | 47.0% | 48.4% | 995 | 966 | 976 row 7 : jain | 0.41% | 26.0% | 940 | 94.1% | 32.9% | 937 | 941 | 870 ] Execute this SQL based on the above table: select sex ratio (child) order by literacy (%) limit 1
976.0
[ header: no | episode | title | original airdate | viewers | nightly rank row 1 : 1 | 2-01 | "the return" (part 1) | 16 may 2011 | 0.927 | 12 row 2 : 2 | 2-02 | "baby bumps" (part 2) | 16 may 2011 | 0.76 | 16 row 3 : 3 | 2-03 | "dates, decisions & divorces" | 23 may 2011 | 0.905 | 12 row 4 : 4 | 2-04 | "together we are one" | 30 may 2011 | 0.953 | 11 row 5 : 5 | 2-05 | "the way you are" | 6 june 2011 | 0.954 | 11 row 6 : 6 | 2-06 | "behind closed doors" | 13 june 2011 | 0.982 | 13 row 7 : 7 | 2-07 | "cheating on your test" | 20 june 2011 | 0.995 | 11 row 8 : 8 | 2-08 | "two different places" | 22 june 2011 | 0.904 | 10 row 9 : 9 | 2-09 | "just keep talking" | 27 june 2011 | 0.938 | 10 row 10 : 10 | 2-10 | "episode ten" | 29 june 2011 | 1.07 | 6 row 11 : 11 | 2-11 | "episode eleven" | 6 july 2011 | 0.825 | 14 row 12 : 12 | 2-12 | "episode twelve" | 13 july 2011 | 0.96 | 9 row 13 : 13 | 2-13 | "episode thirteen" | 20 july 2011 | 0.997 | 6 ] Execute this SQL based on the above table: select count ( nightly rank ) where viewers = 607
0
[ header: outcome | no. | date | tournament | surface | partner | opponents in the final | score in the final row 1 : winner | 1 | 9 may 2010 | estoril open, estoril, port | clay | marc lopez | pablo cuevas marcel grano | 6-7(1-7), 6-4, [ row 2 : runner-up | 1 | 1 may 2011 | estoril open, estoril, port | clay | marc lopez | eric butorac jean-ju | 3-6, 4-6 row 3 : runner-up | 2 | 21 may 2011 | open de nice cote d'a | clay | santiago gonzalez | eric butorac jean-ju | 3-6, 4-6 row 4 : runner-up | 3 | 24 september 2011 | brd nastase tiria | clay | julian knowle | daniele bracciali potito star | 6-3, 4-6, [8-10] row 5 : runner-up | 4 | 23 october 2011 | kremlin cup, mosco | hard (i) | carlos berlocq | frantisek cermak fi | 3-6, 1-6 row 6 : winner | 3 | 25 february 2012 | copa claro, buenos aires | clay | fernando verdasco | michal mertinak andre | 6-4, 6-4 row 7 : winner | 4 | 4 march 2012 | abierto mexicano tel | clay | fernando verdasco | marcel granollers marc lope | 6-3, 6-4 row 8 : runner-up | 5 | 6 may 2012 | estoril open, estoril, port | clay | julian knowle | aisam-ul-haq qu | 5-7, 5-7 row 9 : runner-up | 6 | 28 october 2012 | valencia open 500, valen | hard (i) | fernando verdasco | alexander peya bruno soare | 3-6, 2-6 row 10 : winner | 9 | 22 september 2013 | st. petersburg open, | hard (i) | fernando verdasco | dominic inglot denis istomin | 7-6(8-6), 6-3 row 11 : runner-up | 7 | 13 october 2013 | shanghai rolex masters, | hard | fernando verdasco | ivan dodig marcelo mel | 6-7(2-7), 7-6(8 row 12 : runner-up | 8 | 23 february 2014 | rio open, rio | clay | marcelo melo | juan sebastian cabal rob | 4-6, 2-6 ] Execute this SQL based on the above table: select count ( tournament ) where no. > 1641
0
[ header: date | opponent | result | goal scorers (season goals) | goalie saves | attendance row 1 : sept. 28 | union | w, 5-0 | matthews (1)-pp, kes | vetter, 5 | 463 row 2 : sept. 29 | union | w, 11-0 | duggan (1), keseley (2) | mccready, 14 | 326 row 3 : oct. 14 | ohio state* (10/10) | t, 2-2 | zaugg (2)-pp, deluce | vetter, 17 | 1461 row 4 : oct. 20 | st. cloud state | w, 5-0 | deluce (6)-pp, za | vetter, 12 | 287 row 5 : oct. 27 | minnesota state | w, 4-2 | zaugg (6)-pp, s | vetter, 16 | 1538 row 6 : nov. 24 | bemidji state | t, 0-0 | none | mccready, 14 | 125 row 7 : dec. 1 | minnesota duluth* | l, 3-2 (ot) | lawler (5)-pp, duggan | vetter, 22 | 1638 row 8 : dec. 8 | north dakota | w, 3-2 | knight (7), giles (3), | vetter, 12 | 425 row 9 : dec. 9 | north dakota | w, 4-0 | knight (8), nash (4), | vetter, 5 | 221 row 10 : jan. 4 | minnesota state | w, 4-1 | kranz (2), kranz | vetter, 17 | 304 row 11 : jan. 18 | ohio state | w, 3-2 | duggan (6), zaugg (9 | vetter, 25 | 231 row 12 : jan. 19 | ohio state | w, 4-1 | zaugg (10)-pp, knight (10 | vetter, 20 | 514 duggan (7) row 13 : jan. 25 | st. cloud state* (9/9) | w, 4-1 | sanders (10), deluce (10 | vetter, 22 | 1494 row 14 : jan. 26 | st. cloud state* (9/9) | w, 4-0 | zaugg (12)-pp, knight ( | vetter, 18 | 5377 row 15 : feb. 2 | north dakota | w, 6-1 | sanders (11), knight (12) | vetter, 16 | 2,219 knight (14)-pp-h row 16 : feb. 3 | north dakota | w, 5-2 | duggan (9)-pp, dug | vetter, 12 | 1,776 duggan (11)-h row 17 : feb. 8 | minnesota duluth* | w, 3-2 | sanders (13), duggan | vetter, 27 | 904 ] Execute this SQL based on the above table: select goal scorers (season goals) where id = ( select id where opponent = 'north dakota' ) - 1
lawler (5)-pp, duggan (5)-pp
[ header: rank | mountain peak | mountain range | elevation | prominence | isolation | location row 1 : 1 | mount whitney | sierra nevada | 14,505 ft 4421 m | 10,080 ft 3072 m | 1,646 mi 2,649 km | 36°34′43′′n 118° row 2 : 2 | mount williamson | sierra nevada | 14,379 ft 4383 m | 1,677 ft 511 m | 5.4 mi 8.7 km | 36°39′21′′n 118° row 3 : 4 | north palisade | sierra nevada | 14,248 ft 4343 m | 2,894 ft 882 m | 32 mi 52 km | 37°05′39′′n 118° row 4 : 5 | mount shasta | cascade range | 14,179 ft 4322 m | 9,832 ft 2997 m | 335 mi 539 km | 41°24′33′′n 122° row 5 : 6 | mount humphreys | sierra nevada | 13,992 ft 4265 m | 2,563 ft 781 m | 15 mi 24 km | 37°16′14′′n 118° row 6 : 7 | mount keith | sierra nevada | 13,982 ft 4262 m | 1,936 ft 590 m | 3.1 mi 5.0 km | 36°42′00′′n 118° row 7 : 10 | mount morgan | sierra nevada | 13,758 ft 4193 m | 2,648 ft 807 m | 10 mi 16 km | 37°24′19′′n 118° row 8 : 11 | mount gabb | sierra nevada | 13,747 ft 4190 m | 2,601 ft 793 m | 4.3 mi 6.9 km | 37°22′37′′n 118° row 9 : 12 | mount tom | sierra nevada | 13,657 ft 4163 m | 1,992 ft 607 m | 4.8 mi 7.7 km | 37°22′34′′n 119° row 10 : 13 | mount dubois | white mountains | 13,565 ft 4135 m | 2,339 ft 713 m | 10 mi 16 km | 37°47′00′′n 118° row 11 : 15 | red slate mountain | sierra nevada | 13,162 ft 4012 m | 1,736 ft 529 m | 8 mi 13 km | 37°30′27′′n 118° row 12 : 16 | mount ritter | sierra nevada | 13,149 ft 4008 m | 3,990 ft 1216 m | 22 mi 35 km | 37°41′21′′n 119° ] Execute this SQL based on the above table: select rank where id = 1
1
[ header: year | competition | venue | position | event | notes row 1 : 1975 | asian championships | seoul, south korea | 1st | 5,000m | 14:00.8 row 2 : 1979 | asian championships | tokyo, japan | 2nd | 10,000m | 29:00.2 row 3 : 1981 | asian championships | tokyo, japan | 1st | 10,000m | 28:53.3 row 4 : 1981 | fukuoka marathon | fukuoka, japan | 2nd | marathon | 2:09:37 row 5 : 1982 | fukuoka marathon | fukuoka, japan | 4th | marathon | 2:11:45 row 6 : 1983 | world championships | helsinki, finland | 28th | 10,000m | 29:49.0 ] Execute this SQL based on the above table: select count ( * ) where competition = 'asian championships' and event < 1142
2
[ header: year | competition | venue | position | notes row 1 : 1989 | european indoor championships | the hague, netherlands | 10th | None row 2 : 1989 | world indoor championships | budapest, hungary | 9th | None row 3 : 1991 | world indoor championships | lisbon, portugal | 6th | None row 4 : 1991 | world championships | tokyo, japan | 5th | 5.75 m nr row 5 : 1992 | european indoor championships | genoa, italy | 5th | None row 6 : 1993 | world championships | stuttgart, germany | 11th | None ] Execute this SQL based on the above table: select count ( * ) where venue = 'tokyo, japan'
1
[ header: rnd. | pick # | nfl team | player | pos. | college | conf. | notes row 1 : 1 | 1 | oakland raiders | jamarcus russell | qb | lsu | sec | None row 2 : 1 | 6 | washington redskins | laron landry | s | lsu | sec | None row 3 : 1 | 22 | cleveland browns | brady quinn | qb | notre dame | ind | from dallas row 4 : 2 | 35 | tampa bay buccaneers | arron sears | g | tennessee | sec | None row 5 : 2 | 52 | st. louis rams | brian leonard | fb | rutgers | big east | None row 6 : 3 | 71 | miami dolphins | lorenzo booker | rb | florida state | acc | None row 7 : 3 | 77 | pittsburgh steelers | matt spaeth | te | minnesota | big ten | None row 8 : 3 | 78 | green bay packers | james jones | wr | san jose state | wac | None row 9 : 3 | 79 | jacksonville jaguars | mike sims-walker | wr | central florida | c-usa | None row 10 : 3 | 85 | seattle seahawks | brandon mebane | dt | california | pac-10 | None row 11 : 4 | 127 | new england patriots | kareem brown | dt | miami (fl) | acc | None row 12 : 5 | 161 | seattle seahawks | will herring | lb | auburn | sec | None row 13 : 5 | 164 | carolina panthers | tim shaw | lb | penn state | big ten | from new york jets row 14 : 6 | 177 | new york jets | jacob bender | ot | nicholls state | southland | from tampa bay row 15 : 6 | 178 | dallas cowboys | nick folk | k | arizona | pac-10 | from cleveland row 16 : 6 | 204 | tennessee titans | jacob ford | de | central arkansas | ind | from san diego row 17 : 7 | 214 | tampa bay buccaneers | chris denman | ot | fresno state | wac | None row 18 : 7 | 217 | minnesota vikings | tyler thigpen | qb | coastal carolina | big south | None row 19 : 7 | 222 | buffalo bills | derek schouman | te | boise state | wac | None row 20 : 7 | 230 | cincinnati bengals | dan santucci | g | notre dame | ind | None row 21 : 7 | 248 | st. louis rams | keith jackson, jr | dt | arkansas | sec | None ] Execute this SQL based on the above table: select pick # order by rnd. desc limit 1
214
[ header: year | competition | venue | position | event | notes row 1 : 1990 | central american and caribbean games | mexico city, mexico | 1st | 3000 m s'chase | None row 2 : 1991 | pan american games | havana city, cuba | 6th | 3000 m s'chase | None row 3 : 1992 | olympic games | barcelona, spain | 6th | 10,000 m | None row 4 : 1993 | world championships | stuttgart, germany | 9th | 10,000 m | None row 5 : 1994 | world half marathon championships | oslo, norway | 2nd | half marathon | 1:00:28 pb row 6 : 1994 | new york city marathon | new york city, united states | 1st | marathon | None row 7 : 1994 | london marathon | london, england | 3rd | marathon | None row 8 : 1995 | world championships | gothenburg, sweden | 13th | 10,000 m | None row 9 : 1995 | new york city marathon | new york city, united states | 1st | marathon | None row 10 : 1996 | olympic games | atlanta, united states | 6th | marathon | None row 11 : 1997 | new york city marathon | new york city, united states | 5th | marathon | None row 12 : 1997 | boston marathon | boston, united states | 4th | marathon | None ] Execute this SQL based on the above table: select ( select year where venue = 'oslo, norway' ) + ( select year where venue = 'new york city, united states' )
3988
[ header: tie no | home team | score | away team | date row 1 : 1 | leicester city | 1-2 | manchester united | 14 february 1976 row 2 : 2 | bolton wanderers | 3-3 | newcastle united | 14 february 1976 row 3 : replay | newcastle united | 0-0 | bolton wanderers | 18 february 1976 row 4 : replay | bolton wanderers | 1-2 | newcastle united | 23 february 1976 row 5 : 3 | wolverhampton wanderers | 3-0 | charlton athletic | 14 february 1976 row 6 : 4 | west bromwich albion | 1-1 | southampton | 14 february 1976 row 7 : replay | southampton | 4-0 | west bromwich albion | 17 february 1976 row 8 : 5 | derby county | 1-0 | southend united | 14 february 1976 row 9 : 6 | norwich city | 1-2 | bradford city | 23 february 1976 row 10 : 7 | chelsea | 2-3 | crystal palace | 14 february 1976 row 11 : 8 | stoke city | 0-0 | sunderland | 14 february 1976 row 12 : replay | sunderland | 2-1 | stoke city | 17 february 1976 ] Execute this SQL based on the above table: select count ( away team ) where id <= 15 and away team = 'manchester united'
1
[ header: week | date | opponent | result | attendance | bye row 1 : 1 | september 1, 1991 | minnesota vikings | w 10-6 | 64112 | 0 row 2 : 2 | september 8, 1991 | at tampa bay buccaneers | w 21-20 | 65625 | 0 row 3 : 3 | september 15, 1991 | new york giants | w 20-17 | 64829 | 0 row 4 : 4 | september 23, 1991 | new york jets | w 19-13 | 65255 | 0 row 5 : 5 | september 29, 1991 | at buffalo bills | l 35-20 | 80366 | 0 row 6 : 6 | october 6, 1991 | washington redskins | l 20-7 | 64941 | 0 row 7 : 7 | None | None | None | None | 1 row 8 : 8 | october 17, 1991 | at green bay packers | w 10-0 | 58435 | 0 row 9 : 9 | october 27, 1991 | at new orleans saints | w 20-17 | 68591 | 0 row 10 : 10 | november 3, 1991 | detroit lions | w 20-10 | 57281 | 0 row 11 : 11 | november 11, 1991 | at minnesota vikings | w 34-17 | 59001 | 0 row 12 : 12 | november 17, 1991 | at indianapolis colts | w 31-17 | 60519 | 0 row 13 : 13 | november 24, 1991 | miami dolphins | l 16-13 | 58288 | 0 row 14 : 14 | november 28, 1991 | at detroit lions | l 16-6 | 78879 | 0 row 15 : 15 | december 8, 1991 | green bay packers | w 27-13 | 62353 | 0 row 16 : 16 | december 14, 1991 | tampa bay buccaneers | w 27-0 | 54719 | 0 row 17 : 17 | december 23, 1991 | at san francisco 49ers | l 52-14 | 60419 | 0 ] Execute this SQL based on the above table: select bye where attendance > ( select attendance where bye = 0 )
0, 0, 0, 0, 0, 0, 0
[ header: pick | player | country of origin | pba team | college row 1 : 1 | danilo ildefons | philippines | formula shell zoom masters | national row 2 : 2 | noy castillo | united states | san miguel beermen | the citadel row 3 : 3 | ali peek | united states | pop cola 800s | saint mary row 4 : 4 | brixter encarnacion | philippines | pop cola 800s | san sebastian row 5 : 5 | william antonio | united states | san miguel beermen | chaminade university row 6 : 6 | banjo calpito | philippines | sta. lucia realtors | san sebastian row 7 : 7 | henry fernandez | philippines | purefoods carne norte beefies | visayas row 8 : 8 | steven smith | united states | gordon's gin boar | united states international university ] Execute this SQL based on the above table: select count ( country of origin ) where pick > 904
0
[ header: camp | div sec division | admin district | 9 feb | 11 feb | 16 feb | 25 feb | 27 feb | 2 mar | 4 mar | 6 mar | 11 mar | 13 mar | 24 mar | 30 mar | 31 mar row 1 : ariviththodam sivanantha | vengalachedikulam | vav | 581 | 581 | 581 | 581 | 584 | 584 | 585 | 585 | 583 | 583 | 601 | 601 | 601 row 2 : cheddikulam maha vidy | vengalachedikulam | vav | 1624 | 1624 | 1624 | 1965 | 1965 | 1965 | 1996 | 1996 | 2001 | 2001 | 1995 | 1995 | 1995 row 3 : nelukkulam kala | vavuniya | vav | 2829 | 2829 | 2829 | 3071 | 3084 | 3084 | 3084 | 3068 | 3068 | 3082 | 3101 | 3070 | 3070 row 4 : pampamadhu hostel school | vavuniya | vav | 2779 | 2779 | 4181 | 4131 | 4131 | 4131 | 4131 | 4108 | 4108 | 4108 | 4178 | 4178 | 4178 row 5 : ponthoodam government tamil mixed school | vavuniya | vav | 1351 | 1351 | 1351 | 1365 | 1310 | 1310 | 1310 | 1308 | 1308 | 1320 | 1327 | 1319 | 1319 row 6 : poonathoddam college of education | vavuniya | vav | 4406 | 4406 | 5302 | 5302 | 5009 | 5009 | 5009 | 5036 | 5036 | 5119 | 5236 | 5243 | 5243 row 7 : vavuniya tamil | vavuniya | vav | None | 1200 | 4390 | 3838 | 4085 | 4085 | 5475 | 3540 | 3390 | 3390 | 3963 | 3969 | 3969 row 8 : kaithady palmyra research | thenmarachchi | jaf | None | None | None | None | None | None | None | None | None | None | None | None | 357 row 9 : kodikamam government tam | thenmarachchi | jaf | None | None | 411 | 424 | 503 | 503 | 655 | 711 | 706 | 706 | 1006 | 1006 | 1006 row 10 : thirunagar old court house | jaffna | jaf | None | None | 73 | 74 | 49 | 49 | 108 | 108 | 113 | 113 | 114 | 114 | 140 row 11 : kalimoddai | nanaddan | man | None | None | 445 | 445 | 445 | 445 | 445 | 454 | 454 | 454 | 454 | 454 | 454 row 12 : mannar district general hospital | mannar town | man | None | None | None | None | 279 | 279 | 279 | 279 | 279 | 279 | 279 | 279 | 279 row 13 : sirukandal | nanaddan | man | None | None | 357 | 357 | 357 | 357 | 357 | 350 | 350 | 350 | 350 | 350 | 350 row 14 : thampalakamam peripheral unit | thampalakamam | tri | None | None | None | 33 | 76 | 79 | 77 | 77 | 75 | 75 | 35 | 35 | 35 row 15 : polonnaruwa general hospital | None | pol | None | None | None | 86 | 171 | 171 | 171 | 171 | 171 | 171 | 100 | 100 | 92 ] Execute this SQL based on the above table: select camp where admin district = 'vav'
ariviththodam sivanantha vidyalayam, menik farm, cheddikulam maha vidyalayam, nelukkulam kalaimahal maha vidyalayam, pampamadhu hostel school, ponthoodam government tamil mixed school, poonathoddam college of education, vavuniya tamil maha vidyalayam (senior)
[ header: rank | name | nationality | time | notes row 1 : 1 | janelle atkinson | jamaica | 4:16.89 | q row 2 : 2 | None | None | None | q row 3 : 3 | kaitlin sandeno | united states | 4:18.97 | q row 4 : 4 | julia stowers | united states | 4:19.84 | q row 5 : 5 | None | None | None | q row 6 : 6 | None | None | None | q row 7 : 7 | None | None | None | q row 8 : 8 | None | None | None | q ] Execute this SQL based on the above table: select time - time where notes = 'q'
0, 0, 0
[ header: party | active voters | inactive voters | total voters | percentage row 1 : republican | 13916 | 5342 | 19258 | 25.61% row 2 : democratic | 21493 | 7115 | 28608 | 38.05% row 3 : unaffiliated | 20118 | 7062 | 27180 | 36.15% row 4 : minor parties | 100 | 40 | 140 | 0.19% row 5 : total | 55627 | 19559 | 75186 | 100% ] Execute this SQL based on the above table: select percentage order by active voters limit 1492
0.19%, 25.61%, 36.15%, 38.05%, 100%
[ header: # | title | performer(s) | film | length row 1 : 1 | "a dream is a wish your heart makes | disney channel stars | cinderella | 3:46 row 2 : 2 | "zip-a-dee-do | miley cyrus | song of the south | 3:06 row 3 : 3 | "if i never knew you" | the cheetah girls | pocahontas | 3:16 row 4 : 4 | "who's afraid of the big bad | b5 | three little pigs | 3:32 row 5 : 5 | "reflection" (remix) | christina aguilera | mulan | 3:15 row 6 : 6 | "i'll try" | jesse mccartney | return to never land | 3:51 row 7 : 7 | "look through my eyes" | everlife | brother bear | 3:11 row 8 : 8 | "candle on the water" | anneliese van der pol | pete's dragon | 3:08 row 9 : 9 | "you'll be in my heart" | teddy geiger | tarzan | 4:15 row 10 : 10 | "yo ho (a pirate's life | jonas brothers | pirates of the caribbean | 2:04 row 11 : 11 | "someday my prince will come (feat | ashley tisdale | snow white and the seven dwarfs | 3:31 row 12 : 12 | "hawaiian roller coaster ride | baha men | lilo & stitch | 3:30 row 13 : 13 | "can you feel the love tonight" | sara paxton | the lion king | 3:40 row 14 : 14 | "super cali (boiob | orlando brown | mary poppins | 3:32 row 15 : 15 | "monkey's uncle" | devo 2.0 | the monkey's uncle | 2:24 row 16 : 16 | "cruella de vil" 1 | skye sweetnam | 101 dalmatians | 2:55 row 17 : 17 | "go the distance" 1 | k-ci & jojo | hercules | 4:10 ] Execute this SQL based on the above table: select # where title = '"cruella de vil" 1'
16.0
[ header: county | obama | votes | romney | votes | others | votes | total row 1 : colusa | 38.3% | 2,314 | 59.6% | 3,601 | 2.1% | 130 | 6,045 row 2 : contra costa | 66.2% | 290,824 | 31.1% | 136,517 | 2.7% | 11,804 | 439,145 row 3 : del norte | 43.4% | 3,791 | 52.8% | 4,614 | 3.8% | 331 | 8,736 row 4 : fresno | 49.7% | 129,129 | 47.9% | 124,490 | 1.8% | 6,078 | 259,697 row 5 : imperial | 65.2% | 25,136 | 33.2% | 12,776 | 1.6% | 620 | 38,532 row 6 : kern | 40.5% | 89,495 | 57.3% | 126,618 | 2.2% | 4,900 | 221,013 row 7 : lassen | 28.5% | 3,053 | 68.0% | 7,296 | 3.5% | 376 | 10,725 row 8 : madera | 40.2% | 16,018 | 57.3% | 22,852 | 2.5% | 996 | 39,866 row 9 : merced | 53.0% | 33,005 | 44.3% | 27,581 | 2.7% | 1,636 | 62,222 row 10 : modoc | 27.7% | 1,113 | 69.1% | 2,779 | 3.2% | 130 | 4,022 row 11 : mono | 52.9% | 2,733 | 44.2% | 2,285 | 2.9% | 150 | 5,168 row 12 : nevada | 47.7% | 24,663 | 48.4% | 24,986 | 3.9% | 2,026 | 51,675 row 13 : placer | 38.9% | 66,818 | 58.2% | 99,921 | 2.9% | 4,972 | 171,711 row 14 : plumas | 39.9% | 4,026 | 56.8% | 5,721 | 3.3% | 333 | 10,080 row 15 : san bernardino | 52.6% | 305,109 | 45.2% | 262,358 | 2.2% | 13,136 | 580,603 row 16 : san francisco | 83.4% | 301,723 | 13.0% | 47,076 | 3.4% | 12,996 | 361,795 row 17 : san joaquin | 55.6% | 114,121 | 41.9% | 86,071 | 2.5% | 5,172 | 205,364 row 18 : san luis obispo | 48.6% | 61,258 | 47.6% | 59,967 | 3.8% | 4,741 | 125,966 row 19 : santa cruz | 75.4% | 90,805 | 20.0% | 24,047 | 4.6% | 5,533 | 120,385 row 20 : sierra | 36.3% | 652 | 58.7% | 1,056 | 5.0% | 90 | 1,798 row 21 : siskiyou | 40.2% | 8,044 | 55.4% | 11,076 | 4.4% | 870 | 19,990 row 22 : solano | 63.3% | 96,783 | 34.1% | 52,092 | 2.6% | 3,965 | 152,840 row 23 : stanislaus | 49.9% | 77,724 | 47.1% | 73,459 | 3.0% | 4,633 | 155,816 row 24 : trinity | 46.6% | 2,674 | 47.3% | 2,716 | 6.1% | 349 | 5,739 row 25 : tulare | 41.2% | 41,752 | 56.2% | 56,956 | 2.6% | 2,571 | 101,279 row 26 : ventura | 52.2% | 170,929 | 45.1% | 147,958 | 2.7% | 8,825 | 327,712 ] Execute this SQL based on the above table: select county order by total desc limit 1
san bernardino
[ header: season | tier | division | place row 1 : 1991-98 | 5 | regional | None row 2 : 1998/99 | 4 | 3a | 8th row 3 : 1999/00 | 4 | 3a | 5th row 4 : 2000/01 | 4 | 3a | 7th row 5 : 2001/02 | 4 | 3a | 9th row 6 : 2002/03 | 4 | 3a | 9th row 7 : 2003/04 | 4 | 3a | 2nd row 8 : 2004/05 | 4 | 3a | 8th row 9 : 2005/06 | 4 | 3a | 6th ] Execute this SQL based on the above table: select count ( place )
8
[ header: club | league | sport | venue | established | championships row 1 : madison mustangs | ifl | american football | breitenbach stadium | 1997 | 4 consecutive ironbowls row 2 : madison mallards | nl | baseball | warner park | 2001 | 1 championship row 3 : madison 56ers | npsl | soccer | breese stevens field | 2005 | 0 championships row 4 : wisconsin rugby club | wrfu | rugby | wisconsin rugby club sports complex | 1962 | 2 championships row 5 : madison minotaurs | wrfu | rugby | yahara rugby field | 2007 | 0 bingham cups row 6 : wisconsin badgers | big ten, ncaa div | 23 varsity teams | camp randall stadium, kohl center | 1849 | 27 championships row 7 : edgewood eagles | nacc, ncaa div | 16 varsity teams | edgedome | 1974 | 35 championships row 8 : madison college wolfpack | n4c, njcaa | 8 varsity teams | redsten gymnasium, roberts | 1912 | 21 championships row 9 : mad rollin' dolls | wftda | roller derby | alliant energy center | 2005 | 0 championships row 10 : madison blues | glhl | hockey | capitol ice arena | 2010 | 0 championships ] Execute this SQL based on the above table: select count ( venue ) where championships = '21 championships' and established < 1300
0
[ header: capacitor type | capacity | volts | temp. | energy-to-weight ratio | power-to-weight ratio row 1 : act premlis lithium ion capacitor | 2000 f | 4.0 v | 25 °c | 54 kj/kg to 2.0 v | 44.4 w/kg @ 5 a row 2 : act premlis lithium ion capacitor | 2000 f | 4.0 v | 25 °c | 31 kj/kg to 2.0 v | 850 w/kg @ 10 a row 3 : nesccap electric double-layer capacitor | 5000 f | 2.7 v | 25 °c | 19.58 kj/kg to 1.35 | 5.44 w/kg c/1 ( row 4 : nesccap electric double-layer capacitor | 5000 f | 2.7 v | 25 °c | 5.2 kj/kg to 1.35 | 5,200 w/kg @ 2,547 row 5 : eestor eesu bar | 30.693 f | 3500 v | 85 °c | 1471.98 kj/kg | 80.35 w/kg c/5 row 6 : eestor eesu bar | 30.693 f | 3500 v | 85 °c | 1471.98 kj/kg | 8,035 w∕kg 20 c row 7 : general atomics 3330cmx22 | 20.5 mf | 3300 v | None | 2.3 kj/kg | 6.8 mw/kg @ 100 ] Execute this SQL based on the above table: select energy-to-weight ratio where energy-to-weight ratio = '1471.98 kj/kg'
1471.98 kj/kg, 1471.98 kj/kg
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | algeria | 8 | 3 | 0 | 11 row 2 : 2 | tunisia | 4 | 3 | 5 | 12 row 3 : 3 | egypt | 3 | 3 | 3 | 9 row 4 : 4 | cameroon | 1 | 1 | 5 | 7 row 5 : 5 | morocco | 0 | 1 | 5 | 5 row 6 : 6 | south africa | 0 | 1 | 1 | 2 row 7 : 7 | angola | 0 | 1 | 0 | 1 row 8 : 7 | burkina faso | 0 | 1 | 0 | 1 row 9 : 7 | gabon | 0 | 1 | 0 | 1 row 10 : 7 | madagascar | 0 | 1 | 0 | 1 row 11 : 11 | nigeria | 0 | 0 | 3 | 3 row 12 : 12 | senegal | 0 | 0 | 2 | 2 row 13 : 13 | congo republic | 0 | 0 | 1 | 1 row 14 : 13 | ivory coast | 0 | 0 | 1 | 1 row 15 : 13 | guinea | 0 | 0 | 1 | 1 row 16 : 13 | niger | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select nation where nation in ( 'ivory coast' , 'morocco' ) order by bronze desc limit 1
morocco
[ header: date | name of ship | nationality | tonnage | fate row 1 : 5 june 1940 | ss stancor | united kingdom | 798 | sunk at 58°48′n row 2 : 7 june 1940 | ss frances massey | united kingdom | 4212 | sunk at 55°33′n 08 row 3 : 7 june 1940 | ss eros | united kingdom | 5888 | damaged at 55°33′n 08°26 row 4 : 11 june 1940 | ss violando n go | greece | 2375 | sunk at 44°04′n 12 row 5 : 19 june 1940 | mv tudor | norway | 6607 | sunk at 45°10′n 11 row 6 : 19 june 1940 | ss baron loudoun | united kingdom | 3164 | sunk at 45°00′n 11 row 7 : 19 june 1940 | ss british monarch | united kingdom | 5661 | sunk at 45°00′n 11 row 8 : 20 june 1940 | mv moerdrecht | netherlands | 7493 | sunk at 43°34′n 14 row 9 : 16 august 1940 | ss hedrun | sweden | 2325 | sunk at 57°10′n row 10 : 19 august 1940 | ss ville de gand | belgium | 7590 | sunk at 55°28′n 15 row 11 : 24 august 1940 | ss la brea | united kingdom | 6666 | sunk at 57°24′n row 12 : 25 august 1940 | ss empire merlin | united kingdom | 5763 | sunk at 58°30′n row 13 : 25 august 1940 | mv athelcrest | united kingdom | 6825 | sunk at 58°24′n ] Execute this SQL based on the above table: select date where id = 7
19 june 1940
[ header: party | leader | from | to row 1 : scottish national party | gordon wallace | may 1974 | may 1978 row 2 : scottish national party | robert cunning | may 1978 | may 1980 row 3 : labour | None | may 1974 | may 1980 row 4 : labour | iain nicolson | may 1980 | may 1984 row 5 : labour | charles kennedy | may 1984 | jan 1989 row 6 : labour | andrew cochrane | jan 1989 | may 1992 row 7 : labour | robert coyle | may 1992 | may 1993 row 8 : labour | brian wallace | jun 1993 | sep 1994 row 9 : labour | charles kennedy | sep 1994 | apr 1996 row 10 : conservative | william leslie | may 1974 | may 1992 row 11 : conservative | ian young | may 1992 | april 1996 row 12 : sdp/liberal alliance | joyce shannon | february 1986 | may 1992 row 13 : independent | andrew archibald | may 1974 | may 1977 ] Execute this SQL based on the above table: select count ( party ) where leader = 'joyce shannon'
1
[ header: pos | rider | manufacturer | time/retired | points row 1 : 1 | max biaggi | aprilia | 40:36.299 | 25 row 2 : 2 | marcellino lucchi | aprilia | 6.914 | 20 row 3 : 3 | ralf waldmann | honda | 18.294 | 16 row 4 : 4 | olivier jacque | honda | 18.607 | 13 row 5 : 5 | jurgen fuchs | honda | 31.617 | 11 row 6 : 6 | tetsuya harada | yamaha | 31.649 | 10 row 7 : 7 | jean-philippe ruggia | honda | 31.683 | 9 row 8 : 8 | nobuatsu aoki | honda | 47.701 | 8 row 9 : 9 | luis d'antin | honda | 51.186 | 7 row 10 : 10 | cristiano migliorati | honda | 51.556 | 6 row 11 : 11 | massimo ottobre | aprilia | 51.563 | 5 row 12 : 12 | eskil suter | aprilia | 51.613 | 4 row 13 : 13 | luca boscoscuro | aprilia | 51.617 | 3 row 14 : 14 | regis laconi | honda | 52.394 | 2 row 15 : 15 | jurgen vd goorbergh | honda | 52.569 | 1 row 16 : 16 | sebastian porto | aprilia | +1:03.619 | None row 17 : 17 | jamie robinson | aprilia | +1:06.917 | None row 18 : 18 | olivier petrucciani | aprilia | +1:06.945 | None row 19 : 19 | alessandro antonello | aprilia | +1:07.099 | None row 20 : 20 | osamu miyazaki | aprilia | +1:32.873 | None row 21 : 21 | davide bulega | aprilia | +1:32.902 | None row 22 : 22 | yasumasa hatakeyama | honda | +1:34.039 | None row 23 : 23 | franco battaini | aprilia | +1:34.363 | None row 24 : 24 | sete gibernau | honda | +1:34.931 | None row 25 : 25 | christian boudinot | aprilia | +1:41.263 | None row 26 : 26 | jose barresi | yamaha | +1 lap | None row 27 : 27 | roberto rolfo | aprilia | +1 lap | None row 28 : 28 | cristophe cogan | honda | +1 lap | None row 29 : ret | gianluigi scalvini | honda | retirement | None row 30 : ret | roberto locatelli | aprilia | retirement | None row 31 : ret | takeshi tsujimura | honda | retirement | None ] Execute this SQL based on the above table: select pos where pos = 24 + 1
25
[ header: year | song | chart positions us country | chart positions can country | album row 1 : 1968 | "god help you woman" | 32 | 24 | singles only row 2 : 1969 | "please take me back" | 40 | None | singles only row 3 : 1969 | "i'm not through loving you" | 52 | None | singles only row 4 : 1969 | "molly" | 53 | None | singles only row 5 : 1973 | "i see his love all over you" | 67 | None | singles only row 6 : 1974 | "fool passin' through" | 68 | None | singles only row 7 : 1974 | "forgettin' 'bout | 51 | None | singles only row 8 : 1975 | "one, two, three (never | 88 | None | singles only row 9 : 1975 | "woman, woman" | 43 | 46 | singles only row 10 : 1976 | "she's free but she's | 66 | None | singles only row 11 : 1977 | "chasin' my tail" | 88 | None | singles only row 12 : 1977 | "don't let my love stand in your | 86 | None | singles only row 13 : 1983 | "when you're not a lady" | 16 | None | the man in the mirror row 14 : 1983 | "you got me running" | 28 | None | the man in the mirror row 15 : 1983 | "the man in the mirror" | 17 | None | the man in the mirror row 16 : 1984 | "if i could only dance with you" | 10 | 10 | the man in the mirror row 17 : 1984 | "you're gettin' to me | 1 | 3 | the man in the mirror row 18 : 1984 | "let me down easy" | 16 | 33 | the man in the mirror row 19 : 1985 | "i'll be your fool tonight" | 54 | None | past the point of no return row 20 : 1985 | "in another minute" | 27 | None | past the point of no return row 21 : 1986 | "if i don't love you" | 53 | None | past the point of no return row 22 : 1986 | "the lights of albuquerque" | 40 | None | everybody knows i'm yours ] Execute this SQL based on the above table: select song where id = ( select id where song = '"if i could only dance with you"' ) - 1
"the man in the mirror"
[ header: series number | key | composed | published | opus no. | brown | kobylanska | chominski | dedication | notes row 1 : None | g, b♭ | 1826 | 1826 | None | b. 16 | kk iia/2-3 | s 1/2 | None | revised versions (original versions were published in 1875 row 2 : 1-4 | f♯m, c♯m, | 1830 | 1832 | op. 6 | b. 60 | None | c. 51-54 | countess pauline plater | None row 3 : 14-17 | gm, c, a♭ | 1834-35 | 1836 | op. 24 | b. 89 | None | c. 64-67 | comte de perthuis | None row 4 : 18-21 | cm, bm, d♭, | 1836-37 | 1837 | op. 30 | b. 105 | None | c. 65-71 | princess maria czartoryska de | None row 5 : 27 | em | 1838 (28 november) | 1840 | op. 41/2 | b. 122 | None | c. 77 | None | None row 6 : 51 | am | 1840 | 1841 | None | b. 140 | kk iib/5 | s 2/5 | emile gaillard | in "album de pianistes polon row 7 : 30-32 | g, a♭, c♯ | 1841-42 | 1842 | op. 50 | b. 145 | None | c. 80-82 | leon szmitkowski | None row 8 : 45 | am | 1846 | 1855 | op. posth. 67/4 | b. 163 | None | c. 95 | None | None row 9 : 47 | am | 1827 | 1855 | op. posth. 68/2 | b. 18 | None | c. 97 | None | None row 10 : 46 | c | 1829 | 1855 | op. posth. 68/1 | b. 38 | None | c. 96 | None | None row 11 : None | c | 1833 | 1870 | None | b. 82 | kk ivb/3 | p 2/3 | None | None row 12 : None | d | 1829 | 1875 | None | b. 31 | kk iva/7 | p 1/7 | None | heavily revised 1832 (see b. row 13 : None | d | 1832 | 1880 | None | b. 71 | kk ivb/2 | p 1/7 | None | a heavily revised version of b.31 row 14 : None | d | 1820 | 1910 (20 february) | None | b. 4 | kk anh. ia/1 | a 1/1 | None | "mazurek"; doubtful row 15 : None | g | 1829 (22 august) | None | None | None | None | None | None | setting of a poem by ignac ma row 16 : None | None | 1832 (14 september) | None | None | None | kk ve/7 | None | None | listed in an auction catalogue, paris, 1906 ] Execute this SQL based on the above table: select count ( * ) where brown < 1523
0
[ header: year | song | us r&b | us rap | album row 1 : 1991 | "mistadobalina" | 55 | 6 | i wish my brother george was here row 2 : 1991 | "sleepin' on my couch" | None | None | i wish my brother george was here row 3 : 1992 | "dr. bombay.." | None | None | i wish my brother george was here row 4 : 1993 | "catch a bad one" | None | None | no need for alarm row 5 : 1994 | "wrong place" | None | 48 | no need for alarm row 6 : 1999 | "phoney phranchise" | None | 47 | both sides of the brain row 7 : 2000 | "if you must" | None | 27 | both sides of the brain row 8 : 2008 | "workin' it" | None | None | eleventh hour row 9 : 2011 | "one out of a million" | None | None | golden era ] Execute this SQL based on the above table: select count ( us rap ) where year = 0
0
[ header: year | team | games | attempts | yards | ypc | long | tds row 1 : 1983 | los angeles rams | 16 | 390 | 1808 | 4.6 | 85 | 18 row 2 : 1984 | los angeles rams | 16 | 379 | 2105 | 5.6 | 66 | 14 row 3 : 1985 | los angeles rams | 14 | 292 | 1234 | 4.2 | 43 | 12 row 4 : 1986 | los angeles rams | 16 | 404 | 1821 | 4.5 | 42 | 11 row 5 : 1987 | los angeles rams | 3 | 60 | 277 | 4.6 | 57 | 1 row 6 : 1987 | indianapolis colts | 9 | 223 | 1011 | 4.5 | 53 | 5 row 7 : 1988 | indianapolis colts | 16 | 388 | 1659 | 4.3 | 41 | 14 row 8 : 1989 | indianapolis colts | 15 | 314 | 1311 | 4.2 | 21 | 7 row 9 : 1990 | indianapolis colts | 11 | 166 | 677 | 4.1 | 43 | 4 row 10 : 1991 | indianapolis colts | 10 | 167 | 536 | 3.2 | 28 | 2 row 11 : 1992 | los angeles raiders | 16 | 187 | 729 | 3.9 | 40 | 2 row 12 : 1993 | atlanta falcons | 4 | 26 | 91 | 3.5 | 10 | 0 row 13 : career | None | 146 | 2996 | 13259 | 4.4 | 85 | 90 ] Execute this SQL based on the above table: select count ( * ) where team = 'los angeles rams'
5
[ header: year | competition | venue | position | notes row 1 : 1994 | world junior championships | lisbon, portugal | 2nd | 5,000 m row 2 : 1995 | all-africa games | harare, zimbabwe | 2nd | 5,000 m row 3 : 1995 | all-africa games | harare, zimbabwe | 2nd | 10,000 m row 4 : 1997 | world championships | athens, greece | 7th | 10,000 m row 5 : 1999 | all-africa games | johannesburg, south africa | 3rd | 10,000 m row 6 : 2001 | world championships | edmonton, canada | 9th | 10,000 m ] Execute this SQL based on the above table: select position where position != '7th' and notes = ( select notes where position = '7th' )
2nd, 3rd, 9th
[ header: make/model | series | model | year | notes row 1 : new flyer | 101-135 | d40lfr | 2010 | None row 2 : new flyer | 140-169 | d40lfr | 2011 | 140-143 145-153 155- row 3 : new flyer | 201-230 | d40lf | 2004 | 204 retired due to fire row 4 : new flyer | 231-260 | d40lf | 2005 | None row 5 : new flyer | 270-281 | d40lf | 2007 | None row 6 : mci | 301-334 | classic | 1988 | all retired row 7 : new flyer | 340-366 | d40 | 1992 | 365 remains, used only during rush hour row 8 : new flyer | 370-399 | d40 | 1994 | 370 371 372 373 374 row 9 : new flyer | 401-443 | d40lf | 1998 | all have been rebuilt row 10 : new flyer | 444-504 | d40lf | 1999 | all have been rebuilt row 11 : new flyer | 510-561 | d40lf | 2002 | being rebuilt 510 513 515 516 row 12 : new flyer | 570-599 | d40lf | 2003 | None row 13 : new flyer | 601-640 | d40lfr | 2011 | 601 603 605 wrap for r row 14 : new flyer | 671-699 | d40 | 1994 | 684 retired, used only during rush hour row 15 : new flyer | 701-733 | d40lfr | 2008 | None row 16 : new flyer | 735-799 | d40lfr | 2009 | None row 17 : new flyer | 800-829 | d40lfr | 2013 | 800-830 now inservice 822 had row 18 : new flyer | 901-910 | invero/d40i | 2004 | ex701-710 only used for rush hour row 19 : new flyer | 911-925 | d30lf | 1996 | all rebuild row 20 : new flyer | 930-949 | d30lf | 2001 | 931 rebuild row 21 : new flyer | 971-990 | d60lf | 2003 | ex octranspo most units are between row 22 : new flyer | 991-993 | d40lf | 1994 | all rebuilt, used only during rush hour ] Execute this SQL based on the above table: select ( select year where year = 2013 ) > ( select year where year = 1996 )
1
[ header: part | number | first public release date (first edition) | latest public release date (edition) | latest amendment | title | description row 1 : part 1 | iso/iec 15938-1 | 2002 | 2002 | 2006 | systems | the architectural framework of mpeg-7, row 2 : part 2 | iso/iec 15938-2 | 2002 | 2002 | None | description definition language | None row 3 : part 3 | iso/iec 15938-3 | 2002 | 2002 | 2010 | visual | None row 4 : part 4 | iso/iec 15938-4 | 2002 | 2002 | 2006 | audio | None row 5 : part 5 | iso/iec 15938-5 | 2003 | 2003 | 2008 | multimedia description schemes | None row 6 : part 6 | iso/iec 15938-6 | 2003 | 2003 | 2010 (2011) | reference software | None row 7 : part 7 | iso/iec 15938-7 | 2003 | 2003 | 2010 (2011) | conformance testing | None row 8 : part 8 | iso/iec tr | 2002 | 2002 | 2010 | extraction and use of mpeg-7 descriptions | None row 9 : part 9 | iso/iec 15938-9 | 2005 | 2005 | (2011) | profiles and levels | None row 10 : part 10 | iso/iec 15938-10 | 2005 | 2005 | None | schema definition | None row 11 : part 11 | iso/iec tr | 2005 | 2005 | None | mpeg-7 profile schemas | None row 12 : part 12 | iso/iec 15938-12 | 2008 | 2008 | (2011) | query format | None ] Execute this SQL based on the above table: select number group by number order by count ( * ) desc limit 1
iso/iec tr 15938-8
[ header: # | wrestlers | reign | date | days held | location | event | notes row 1 : 1 | the super destroyers (a.j. pe | 1 | 23-jun-92 | 283 | philadelphia, pa | live event | petrucci and stahl won the titles row 2 : 9 | kevin sullivan and the | 1 | 4-dec-93 | 92 | philadelphia, pa | hardcore tv #35 | defeat dreamer and shane dou row 3 : 12 | the public enemy | 2 | 5-nov-94 | 91 | philadelphia, pa | november to remember (1994) | None row 4 : 15 | the public enemy | 3 | 8-apr-95 | 83 | philadelphia, pa | three way dance | also def. rick steiner ( row 5 : 16 | raven and stevie richards | 1 | 30-jun-95 | 78 | jim thorpe, pa | hardcore tv #115 | aired 7-4-95 on t row 6 : 17 | the pitbulls (pitbull #1 and pit | 1 | 16-sep-95 | 21 | philadelphia, pa | gangsta's paradise | None row 7 : 25 | the dudley boyz (buh bu | 1 | 15-mar-97 | 29 | philadelphia, pa | hostile city showdown | aired 3/20/97 on hardcore row 8 : 26 | the eliminators | 3 | 13-apr-97 | 68 | philadelphia, pa | barely legal | None row 9 : 30 | the gangstanators (kronus | 1 | 20-sep-97 | 28 | philadelphia, pa | as good as it gets | aired 9-27-97 on row 10 : 31 | full blooded italians (little gui | 1 | 18-oct-97 | 48 | philadelphia, pa | hardcore tv #236 | aired 11-1-97 on t row 11 : 32 | doug furnas and phil | 1 | 5-dec-97 | 1 | waltham, ma | live event | None row 12 : 35 | the dudley boyz | 4 | 24-oct-98 | 8 | cleveland, oh | hardcore tv #288 | aired 10-28-98 on t row 13 : 37 | the dudley boyz | 5 | 6-nov-98 | 37 | new york, ny | hardcore tv #290 | aired 11-11-98 on t row 14 : 40 | spike dudley and balls mahoney | 1 | 18-jul-99 | 26 | dayton, oh | heat wave (1999) | None row 15 : 43 | the dudley boyz | 8 | 26-aug-99 | 0 | new york, ny | ecw on tnn# | aired 9-3-99 on t row 16 : 44 | tommy dreamer (2) and raven (3) | 1 | 26-aug-99 | 136 | new york, ny | ecw on tnn# | aired 9-3-99 on t row 17 : 46 | tommy dreamer (3) and masato | 1 | 26-feb-00 | 7 | cincinnati, oh | hardcore tv #358 | aired 3-7-00 on t ] Execute this SQL based on the above table: select count ( notes ) where # < 1411
12
[ header: rank | lane | athlete | time row 1 : None | 5 | olga teresh | 51.86 row 2 : None | 6 | manjeet kaur (ind) | 52.17 row 3 : None | 3 | asami tanno (jpn) | 53.04 row 4 : 4 | 4 | pinki pramanik (ind) | 53.06 row 5 : 5 | 1 | tang xiaoyin (chn | 53.66 row 6 : 6 | 8 | marina maslyonko (kaz | 53.99 row 7 : 7 | 7 | mayu kida (jpn) | 54.27 row 8 : 8 | 2 | chandrika subashini ( | 56.57 ] Execute this SQL based on the above table: select athlete order by lane desc limit 1
marina maslyonko (kaz)
[ header: transmitter | kw | bbca | bbcb | d3&4 | sdn | arqa | arqb | pol. | a.g. row 1 : allenheads | 0.002 | 27 | 21 | 24 | None | None | None | v | a k row 2 : alston | 0.08 | 39 | 45 | 42 | None | None | None | v | b e k row 3 : bellingham | 0.01 | 27 | 21 | 24 | None | None | None | v | a k row 4 : blaydon burn | 0.002 | 44 | 47 | 41 | None | None | None | v | b e k row 5 : byrness | 0.01 | 27 | 21 | 24 | None | None | None | v | a k row 6 : catton beacon | 0.028 | 40 | 46 | 43 | None | None | None | v | b e k row 7 : durham | 0.003 | 41 | 47 | 44 | None | None | None | v | b e k row 8 : esh | 0.0024 | 39 | 45 | 42 | None | None | None | v | b e k row 9 : felling | 0.002 | 40 | 43 | 46 | None | None | None | v | b e k row 10 : fenham | 0.4 | 27 | 21 | 24 | 25 | 22 | 28 | v | a k row 11 : haltwhistle | 0.4 | 59 | 55 | 62- | None | None | None | v | c/d e row 12 : haydon bridge | 0.02 | 44 | 41 | 47 | None | None | None | v | b e k row 13 : hedleyhope | 0.004 | 41 | 47 | 44 | None | None | None | v | b e k row 14 : humshaugh | 0.0118 | 39 | 45 | 42 | None | None | None | v | b e k row 15 : ireshopeburn | 0.0022 | 55 | 59 | 50 | None | None | None | v | c/d e row 16 : kielder | 0.0054 | 26 | 23 | 29 | None | None | None | v | a k row 17 : morpeth | 0.0088 | 22 | 28 | 25 | None | None | None | v | a k row 18 : newton | 0.4 | 26 | 23 | 29 | None | None | None | v | a k row 19 : seaham | 0.059 | 44 | 47 | 46 | None | None | None | v | b e k row 20 : shotleyfield | 0.04 | 22 | 28 | 25 | None | None | None | v | a k row 21 : staithes | 0.002 | 52 | 51 | 48 | None | None | None | v | b c/d e row 22 : sunderland | 0.006 | 52 | 51 | 48 | None | None | None | v | b c/d e row 23 : wall | 0.0042 | 52 | 51 | 48 | None | None | None | h | b c/d e row 24 : weardale | 0.2 | 44 | 41 | 47 | None | None | None | v | b e k row 25 : whitaside | 0.0025 | 44 | 41 | 47 | None | None | None | v | b e k ] Execute this SQL based on the above table: select abs ( ( select d3&4 where a.g. = 'a k' ) - ( select d3&4 where a.g. = 'c/d e' ) )
38.0
[ header: district | incumbent | party | first elected | result | candidates row 1 : pennsylvania 2 | james m. beck | republican | 1927 | resigned republican hold | william h. wilson row 2 : pennsylvania 5 | james j. connolly | republican | 1920 | lost re-election democratic gain | frank joseph gerard row 3 : pennsylvania 6 | edward l. sto | republican | 1931 | retired to run for governor democratic gain | michael j. stack (d row 4 : pennsylvania 7 | george p. darrow | republican | 1914 | re-elected | george p. darrow ( row 5 : pennsylvania 10 | j. roland kinzer | republican | 1930 | re-elected | j. roland kinzer ( row 6 : pennsylvania 14 | william emanuel rich | democratic | 1932 | re-elected | william emanuel rich row 7 : pennsylvania 17 | j. william ditter | republican | 1932 | re-elected | j. william ditter ( row 8 : pennsylvania 20 | thomas cunningham cochran | republican | 1926 | retired democratic gain | denis j. drisco row 9 : pennsylvania 22 | harry l. haines | democratic | 1930 | re-elected | harry l. haines (d row 10 : pennsylvania 23 | j. banks kurtz | republican | 1922 | lost re-election democratic gain | don gingery (d) 52.4% ] Execute this SQL based on the above table: select min ( first elected )
1914
[ header: year | show | role | channel | extra row 1 : 2004 | boogie woogie-chalo | dance contestant | set (sony entertainment television) | finalist (top 5) row 2 : 2007 (may-october) | saregamapa challenge | singing contestant | zee network | finalist (top 7) row 3 : 2008 (march-may) | rock n roll family | host | zee network | None row 4 : 2010 ( released dec. 5th) | ek anhonee (tele- | lead role (divyani) | zoom | None row 5 : 2011 (june-july) | khatron ke khiladi | celebrity contestant | colors | finalist (top 2) row 6 : 2012 (feb) | kahani comedy circus ki | guest appearance (15 episodes) | set (sony entertainment television) | None row 7 : 2013 (feb) | welcome - baazi mehma | herself | life ok | None ] Execute this SQL based on the above table: select channel where role > ( select role where channel = 'set (sony entertainment television)' ) order by role limit 1
set (sony entertainment television)
[ header: year | title | role | notes row 1 : 2006 | save the last dance 2 | mixx | direct to video row 2 : 2007 | nick cannon/wild 'n | himself | improv comedy row 3 : 2007 | stomp the yard | rich brown | film row 4 : 2011 | csi: ny | the hitman | episode 7.14 "smooth criminal" row 5 : 2011 | the fresh beat band | himself | special episode "band in a jam" row 6 : 2011 | battle: los angeles | specks | film row 7 : 2012 | empire girls: julissa | himself | reality-show row 8 : 2012 | red tails | andrew 'smoky' | film row 9 : 2012 | i heart tuesdays | none | (tv), creator row 10 : 2012 | the x factor | guest mentor | None row 11 : 2012 | never mind the buzzcocks | guest host | None row 12 : 2012 | 90210 | guest star | None ] Execute this SQL based on the above table: select year order by year limit 1
2006
[ header: rank | urban area | population (2001 census) | area (km2) | density (people/km2) | major subdivisions | metropolitan area row 1 : 1 | greater glasgow | 1,168,270 | 368.47 | 3,171.0 | glasgow, paisley, coat | glasgow row 2 : 2 | edinburgh | 452,194 | 120.11 | 3,765.0 | edinburgh, musselburg | edinburgh row 3 : 3 | aberdeen | 197,328 | 60.94 | 3,238 | aberdeen, cove bay, d | aberdeen row 4 : 4 | dundee | 154,674 | 67 | 3,298 | dundee | dundee row 5 : 5 | falkirk | 91,402 | 36.1 | 2,532 | falkirk, grangemouth, car | falkirk row 6 : 6 | east kilbride | 73,796 | 24.12 | 3,060 | east kilbride | glasgow row 7 : 7 | greenock | 73,595 | 20.69 | 3,557 | greenock, gourock, port glas | glasgow row 8 : 8 | blantyre/hamilton | 65,874 | 22.63 | 2,911 | blantyre, hamilton | glasgow row 9 : 9 | ayr/prestwick | 61,365 | 23.57 | 2,604 | ayr, prestwick | ayr row 10 : 10 | livingston | 59,511 | 26.07 | 2,283 | livingston, east calder, mid calder | edinburgh ] Execute this SQL based on the above table: select density (people/km2) where urban area = 'greater glasgow'
3171.0
[ header: pos | no | rider | bike | laps | time | grid | points row 1 : 1 | 21 | troy bayliss | ducati 999 f07 | 22 | 34:11.276 | 1 | 25 row 2 : 2 | 52 | james toseland | honda cbr1000rr | 22 | 2.096 | 2 | 20 row 3 : 3 | 3 | max biaggi | suzuki gsx-r1000 | 22 | 10.143 | 5 | 16 row 4 : 4 | 41 | noriyuki haga | yamaha yzf-r1 | 22 | 18.923 | 4 | 13 row 5 : 5 | 11 | troy corser | yamaha yzf-r1 | 22 | 19.742 | 3 | 11 row 6 : 6 | 57 | lorenzo lanzi | ducati 999 f07 | 22 | 24.765 | 10 | 10 row 7 : 7 | 111 | ruben xaus | ducati 999 f06 | 22 | 27.404 | 8 | 9 row 8 : 8 | 76 | max neukirchner | suzuki gsx-r1000 | 22 | 34.614 | 7 | 8 row 9 : 9 | 10 | fonsi nieto | kawasaki zx-10r | 22 | 35.339 | 6 | 7 row 10 : 10 | 99 | steve martin | honda cbr1000rr | 22 | 36.238 | 11 | 6 row 11 : 11 | 44 | roberto rolfo | honda cbr1000rr | 22 | 38.067 | 15 | 5 row 12 : 12 | 25 | josh brookes | honda cbr1000rr | 22 | 47.078 | 12 | 4 row 13 : 13 | 38 | shinichi nakatomi | yamaha yzf-r1 | 22 | 58.571 | 17 | 3 row 14 : 14 | 96 | jakub smrz | ducati 999 f05 | 22 | +1:08.000 | 14 | 2 row 15 : 15 | 53 | alex polita | suzuki gsx-r1000 | 22 | +1:22.584 | 18 | 1 row 16 : 16 | 73 | christian zaiser | mv agusta f4 | 22 | +1:28.374 | 19 | None row 17 : 17 | 42 | dean ellison | ducati 999rs | 22 | +1:30.184 | 21 | None row 18 : 18 | 36 | jiri drazdak | yamaha yzf-r1 | 21 | +1 lap | 20 | None row 19 : ret | 55 | regis laconi | kawasaki zx-10r | 16 | retirement | 9 | None row 20 : ret | 84 | michel fabrizio | honda cbr1000rr | 5 | retirement | 13 | None ] Execute this SQL based on the above table: select count ( * ) where bike = 'honda cbr1000rr'
5
[ header: party | active voters | inactive voters | total voters | percentage row 1 : republican | 13916 | 5342 | 19258 | 25.61% row 2 : democratic | 21493 | 7115 | 28608 | 38.05% row 3 : unaffiliated | 20118 | 7062 | 27180 | 36.15% row 4 : minor parties | 100 | 40 | 140 | 0.19% row 5 : total | 55627 | 19559 | 75186 | 100% ] Execute this SQL based on the above table: select active voters where percentage = '25.61%'
13916
[ header: player | hr | date reached 500 hr | team | seasons played row 1 : barry bonds | 762 | april 17, 2001 | san francisco giants | 1986-2007 row 2 : hank aaron | 755 | july 14, 1968 | atlanta braves | 1954-1976 row 3 : babe ruth | 714 | august 11, 1929 | new york yankees | 1914-1935 row 4 : willie mays | 660 | september 13, 1965 | san francisco giants | 1951-1952, 1954-1973 row 5 : alex rodriguez | 654 | august 4, 2007 | new york yankees | 1994- row 6 : ken griffey, jr | 630 | june 20, 2004 | cincinnati reds | 1989-2010 row 7 : jim thome | 612 | september 16, 2007 | chicago white sox | 1991-2012 row 8 : sammy sosa | 609 | april 4, 2003 | chicago cubs | 1989-2005, 2007 row 9 : frank robinson | 586 | september 13, 1971 | baltimore orioles | 1956-1976 row 10 : mark mcgwire | 583 | august 5, 1999 | st. louis cardinals | 1986-2001 row 11 : harmon killebrew | 573 | august 10, 1971 | minnesota twins | 1954-1975 row 12 : rafael palmeiro | 569 | may 11, 2003 | texas rangers | 1986-2005 row 13 : reggie jackson | 563 | september 17, 1984 | california angels | 1967-1987 row 14 : manny ramirez | 555 | may 31, 2008 | boston red sox | 1993-2011 row 15 : mike schmidt | 548 | april 18, 1987 | philadelphia phillies | 1972-1989 row 16 : mickey mantle | 536 | may 14, 1967 | new york yankees | 1951-1968 row 17 : jimmie foxx | 534 | september 24, 1940 | boston red sox | 1925-1942, 1944-1945 row 18 : ted williams | 521 | june 17, 1960 | boston red sox | 1939-1942, 1946-1960 row 19 : willie mccovey | 521 | june 30, 1978 | san francisco giants | 1959-1980 row 20 : frank thomas | 521 | june 28, 2007 | toronto blue jays | 1990-2008 row 21 : ernie banks | 512 | may 12, 1970 | chicago cubs | 1953-1971 row 22 : eddie mathews | 512 | july 14, 1967 | houston astros | 1952-1968 row 23 : mel ott | 511 | august 1, 1945 | new york giants | 1926-1947 row 24 : gary sheffield | 509 | april 17, 2009 | new york mets | 1988-2009 row 25 : eddie murray | 504 | september 6, 1996 | baltimore orioles | 1977-1997 ] Execute this SQL based on the above table: select player where hr > ( select hr where player = 'willie mccovey' ) order by hr limit 1
jimmie foxx
[ 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 opponent where game <= 9
@ montreal canadiens
[ header: year | title | role | notes row 1 : 1979 | california fever | lisa bannister | episode: "the girl from somewhere" row 2 : 1984 | faerie tale theatre | snow white | episode: "snow white and the seven dwarf row 3 : 1993 | performance | beatrice-joanna | episode: "the changeling" row 4 : 1995 | if not for you | jessie kent | 8 episodes row 5 : 1996 | tracey takes on | judge loring | episode: "vanity" row 6 : 1996 | tales from the crypt | laura kendall | episode: "horror in the night row 7 : 1999 | the scarlet pimpernel | lady margaret blakeney | 3 episodes row 8 : 2001 | table 12 | mel | episode: "preserves" row 9 : 2003 | the brotherhood of poland, new | helen shaw | 7 episodes row 10 : 2006 | three moons over milford | laura davis | 8 episodes row 11 : 2007 | law and order: special victims unit | dr. faith sutton | episode: "harm" row 12 : 2007-2008 | freezing | elizabeth | 3 episodes row 13 : 2008 | agatha christie: po | dame celia westholme | episode: "appointment with death" row 14 : 2009 | 10 minute tales | the ex-wife | episode: "the running of the deer" row 15 : 2010-present | downton abbey | cora, countess of grantham | 29 episodes screen actors guild award for outstanding performance by ] Execute this SQL based on the above table: select year where role = 'judge loring'
1996
[ header: song | artist(s) | concert | film | 1978 album | 2002 album row 1 : "up on cripple creek" | the band | 1 | 3 | 2 | 2 row 2 : "it makes no difference" | the band | 3 | 6 | 8 | 4 row 3 : "this wheel's on fire" | the band | 5 | None | None | 10 row 4 : "w.s. walcott medicine show | the band | 6 | None | None | 26 row 5 : "georgia on my mind" | the band | 7 | None | None | None row 6 : "ophelia" | the band | 8 | 20 | 16 | 18 row 7 : "king harvest (has surely come)" | the band | 9 | None | None | None row 8 : "rag mama rag" | the band | 12 | None | None | 15 row 9 : "such a night" | dr. john | 14 | 8 | 9 | 7 row 10 : "down south in new orleans" | bobby charles and dr | 15 | None | 15 | 9 row 11 : "mystery train" | paul butterfield | 16 | 15 | 11 | 11 row 12 : "caldonia" | muddy waters | 17 | None | None | 12 row 13 : "all our past times" | eric clapton | 19 | None | None | 16 row 14 : "further on up the road" | eric clapton | 20 | 17 | 13 | 17 row 15 : "four strong winds" | neil young | 22 | None | None | 20 row 16 : "shadows and light" | joni mitchell | 24 | None | None | 22 row 17 : "furry sings the blues" | joni mitchell | 25 | None | None | 23 row 18 : "dry your eyes" | neil diamond | 26 | 13 | 7 | 25 row 19 : "tura lura lural (that | van morrison | 27 | None | 17 | 27 row 20 : "caravan" | van morrison | 28 | 21 | 18 | 28 row 21 : "genetic method"/"chest fever | the band | 30 | 19 | None | 30 row 22 : "the last waltz suite: | the band | 31 | None | None | None row 23 : "baby, let me follow you down" | bob dylan | 33 | None | 20 | 31 row 24 : "hazel" | bob dylan | 34 | None | None | 32 row 25 : "i don't believe you" | bob dylan | 35 | None | 21 | 33 row 26 : "forever young" | bob dylan | 36 | 23 | 22 | 34 row 27 : "jam #2" | neil young, ronnie | 40 | None | None | 38 row 28 : "don't do it" | the band | 41 | 1 | None | 39 row 29 : "greensleeves" | the band | 42 | None | None | 40 row 30 : introduction to the canterbury tales in | michael mcclure | None | 7 | None | None row 31 : "the weight" (studio version) | the band and the staple singers | None | 11 | 29 | 44 row 32 : "evangeline" (studio version) | the band and emmylou | None | 18 | 27 | None row 33 : "loud prayer" | lawrence ferlinghetti | None | 22 | None | None ] Execute this SQL based on the above table: select count ( song ) where concert <= 1
1
[ header: year | vidhan sabha | members of legislative assembly | winning party | nearest contesting party row 1 : 1951 | 01st vidhan sab | shri hari prasad | sop | inc row 2 : 1957 | 02nd vidhan sabha | shri bhihari lal | psp | inc row 3 : 1962 | 03rd vidhan sab | shri durga prasad | inc | psp row 4 : 1967 | 04th vidhan sabha | shri munendra pal singh | psp | bjs row 5 : 1969 | 05th vidhan sab | shri tej bhah | bkd | bjs row 6 : 1974 | 06th vidhan sabha | shri tej bhah | inc | bjs row 7 : 1977 | 07th vidhan sabha | shri munendra pal singh | jnp | inc row 8 : 1980 | 08th vidhan sabha | shri tej bhah | inc | jnp row 9 : 1985 | 09th vidhan sabha | shri tej bhah | inc | jnp row 10 : 1989 | 10th vidhan sabha | shri harish kumar | jnp | bjp row 11 : 1991 | 11th vidhan sabha | shri ram saran verm | bjp | inc row 12 : 1993 | 12th vidhan sabha | shri ram saran verm | bjp | inc row 13 : 1996 | 13th vidhan sabha | shri anish ahemd k | bsp | bjp row 14 : 2002 | 14th vidhan sabha | shri anish ahemd k | bsp | bjp row 15 : 2007 | 15th vidhan sabha | shri anish ahemd k | bsp | bjp row 16 : 2012 | 16th vidhan sabha | shri ram saran verm | bjp | inc ] Execute this SQL based on the above table: select nearest contesting party where nearest contesting party in ( 'inc' , 'inc' ) order by year desc limit 1
inc
[ header: year | title | peak chart positions us country | peak chart positions us | album row 1 : 1950 | "make up your mind" | None | None | non-album singles row 2 : 1950 | "how far is heaven" | None | None | non-album singles row 3 : 1952 | "glory land march" | None | None | non-album singles row 4 : 1952 | "it wasn't god who made hon | 1 | 27 | country hit parade row 5 : 1952 | "a wedding ring ago" | None | None | the kitty wells story row 6 : 1953 | "the things i might have been" | None | 22 | country hit parade row 7 : 1953 | "paying for that back street affair" | 6 | None | country hit parade row 8 : 1953 | "honky tonk walt | None | None | country heart row 9 : 1953 | "i don't claim to be an angel | None | None | country hit parade row 10 : 1953 | "hey joe" | 8 | None | kitty wells' golden favorites row 11 : 1953 | "cheatin's a sin" | 9 | None | country hit parade row 12 : 1954 | "release me" | 8 | None | country hit parade row 13 : 1954 | "you're not so easy to forget" | None | None | after dark row 14 : 1954 | "thou shalt not steal" | 14 | None | kitty wells row 15 : 1955 | "making believe" | 2 | None | country hit parade row 16 : 1955 | "there's poison in your heart" | 9 | None | country hit parade row 17 : 1955 | "the lonely side of town" | 7 | None | after dark row 18 : 1956 | "how far is heaven" (with carol | 11 | None | singing on sunday row 19 : 1956 | "searching (for someone like you)" | 3 | None | kitty wells' golden favorites row 20 : 1956 | "repenting" | 6 | None | kitty wells' golden favorites row 21 : 1957 | "three ways (to love you)" | 7 | None | kitty wells' golden favorites row 22 : 1957 | "(i'll always be your) | 10 | None | kitty wells' golden favorites row 23 : 1958 | "i can't stop loving you" | 3 | None | kitty wells' golden favorites row 24 : 1958 | "jealousy" | 7 | 78 | kitty wells' golden favorites row 25 : 1958 | "touch and go heart" | 15 | None | the lonely side of town row 26 : 1959 | "mommy for a day" | 5 | None | kitty wells' golden favorites row 27 : 1959 | "your wild life's gonna get you | 12 | None | after dark row 28 : 1959 | "amigo's guitar" | 5 | None | seasons of my heart ] Execute this SQL based on the above table: select peak chart positions us country order by id desc limit 1
5
[ header: year | round | position | matches | wins | draws | losses | gf | ga row 1 : 1930 to 1990 | competed as part of yugoslav | None | None | None | None | None | None | None row 2 : 1994 | could not enter | None | None | None | None | None | None | None row 3 : 1998 | third place | 3 | 7 | 5 | 0 | 2 | 11 | 5 row 4 : / 2002 | group stage | 23 | 3 | 1 | 0 | 2 | 2 | 3 row 5 : 2006 | group stage | 22 | 3 | 0 | 2 | 1 | 2 | 3 row 6 : 2010 | did not qualify | None | None | None | None | None | None | None row 7 : 2014 | qualified | None | None | None | None | None | None | None row 8 : total | 4/5 | None | 13 | 6 | 2 | 5 | 15 | 11 ] Execute this SQL based on the above table: select count ( * ) where round - round >= 1449
0
[ header: year | car | start | qual | rank | finish | laps | led | retired row 1 : 1961 | 98 | 5 | 146.08 | 7 | 12 | 192 | 27 | flagged row 2 : 1962 | 98 | 1 | 150.37 | 1 | 7 | 200 | 120 | running row 3 : 1963 | 98 | 1 | 151.153 | 1 | 1 | 200 | 167 | running row 4 : 1964 | 98 | 4 | 155.099 | 4 | 23 | 55 | 7 | pit fire row 5 : 1965 | 98 | 5 | 158.625 | 5 | 2 | 200 | 0 | running row 6 : 1966 | 98 | 4 | 162.484 | 4 | 14 | 87 | 0 | wheel bearing row 7 : 1967 | 40 | 6 | 166.075 | 6 | 6 | 196 | 171 | bearing row 8 : totals | totals | totals | totals | totals | totals | 1130 | 492 | None ] Execute this SQL based on the above table: select year where id = ( select id where year = 1966 ) + 1
1967
[ header: number | builder | type | date | works number | notes row 1 : 51 | baldwin locomotive works | ds4-4-750 | 1949 | 74408 | acquired new 1949, retired 1970/wrecke row 2 : 52 | baldwin locomotive works | ds4-4-750 | 1949 | 74409 | acquired new 1949, retired in 1970 and scrapped row 3 : 53 | baldwin locomotive works | ds4-4-1000 | 1949 | 74193 | ex-pan american engineering w8380; row 4 : 54 | baldwin locomotive works | s-12 | 1952/1953 | 75823 | ex-nw (3307); n row 5 : 55 | baldwin locomotive works | rs-12 | 1955 | 76024 | decorated for the united states bicentennial row 6 : 56 | baldwin locomotive works | rs-12 | 1955 | 76105 | nee mr 33, acquired row 7 : 57 | baldwin locomotive works | s-12 | 1953 | 75914 | nee sp 1539, row 8 : 61 | american locomotive works | rs-11 | 1979 | None | former sp. status unknown row 9 : 62 | american locomotive works | rs-11 | 1979 | None | former sp. status unknown row 10 : 63 | american locomotive works | rs-11 | 1979 | None | former sp. sold to nv row 11 : 64 | electro-motive diesel | gp9m | 1987 | None | former sp # 3411. operational and in row 12 : 65 | electro-motive diesel | gp9m | 1987 | None | former sp # 3412. operational row 13 : 66 | electro-motive diesel | gp9m | 1956 | None | former c&o # 6145. acquired row 14 : 67 | electro-motive diesel | gp9m | 6/1954 | 19554 | built as bangor and aroosto row 15 : m-80 | mack | railbus | 1923 | None | purchased 1925. wrecked twice: in 1957 row 16 : m-100 | edwards rail car company | motor car | 1925 | None | acquired from moorhead & north fork row 17 : m-200 | ss&iw | motor car | 1927 | None | ex-trc #22; n row 18 : m-300 | american car and foundry company | motor car | 1935 | None | m-300 at fort bragg ex ] Execute this SQL based on the above table: select date where number = 'm-200'
1927
[ header: album title | format | year | original label | chart positions row 1 : distant plastic trees | lp | 1991 | red flame | None row 2 : the wayward bus | lp | 1992 | popup | None row 3 : the house of tomorrow | ep | 1992 | feel good all over | None row 4 : the charm of the highway strip | lp | 1994 | merge records | None row 5 : holiday | lp | 1994 | feel good all over | None row 6 : get lost | lp | 1995 | merge records | None row 7 : 69 love songs | lp | 1999 | merge records | None row 8 : i | lp | 2004 | nonesuch records | #152 (billboard 200) row 9 : distortion | lp | 2008 | nonesuch records | #77 (billboard 200) row 10 : realism | lp | 2010 | nonesuch records | #110 (billboard 200) row 11 : love at the bottom of the sea | lp | 2012 | merge records | #89 (billboard 200) ] Execute this SQL based on the above table: select year - year where original label = 'feel good all over'
0, 0
[ header: election | party name | total votes | share of votes | seats | share of seats | party leader(s) | notes row 1 : 1961 | progressive party | 69045 | 8.6% | 1 | 0.6% | jan steytler | national party (np) victory row 2 : 1966 | progressive party | 39717 | 3.1% | 1 | 0.6% | jan steytler | np victory row 3 : 1970 | progressive party | 51760 | 3.5% | 1 | 0.6% | jan steytler | np victory row 4 : 1974 | progressive party | 58768 | 5.3% | 7 | 4.1% | colin eglin | np victory row 5 : 1977 | progressive federal party | 177705 | 16.7% | 17 | 10.3% | colin eglin | np victory; pfp gains row 6 : 1981 | progressive federal party | 265297 | 19.4% | 27 | 15.2% | frederik van zyl slabbert | np victory; pfp remains row 7 : 1987 | progressive federal party | 288579 | 13.9% | 20 | 11.2% | colin eglin | np victory; pfp lose row 8 : 1989 | democratic party | 431444 | 20.0% | 34 | 19.1% | zach de beer, denis wor | np victory ] Execute this SQL based on the above table: select count ( notes )
8
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | germany | 17 | 9 | 14 | 40 row 2 : 2 | russia | 12 | 16 | 8 | 36 row 3 : 3 | ukraine | 6 | 11 | 9 | 26 row 4 : 4 | norway | 6 | 2 | 7 | 15 row 5 : 5 | france | 5 | 4 | 3 | 12 row 6 : 6 | switzerland | 3 | 5 | 3 | 11 row 7 : 7 | finland | 3 | 2 | 4 | 9 row 8 : 8 | japan | 2 | 2 | 1 | 5 row 9 : 9 | netherlands | 2 | 0 | 1 | 3 row 10 : 10 | sweden | 1 | 2 | 2 | 5 row 11 : 11 | denmark | 1 | 0 | 1 | 2 row 12 : 12 | unified team | 1 | 0 | 0 | 1 row 13 : 13 | austria | 0 | 4 | 0 | 4 row 14 : 14 | slovakia | 0 | 2 | 1 | 3 row 15 : 15 | italy | 0 | 0 | 1 | 1 row 16 : 15 | poland | 0 | 0 | 1 | 1 row 17 : 15 | canada | 0 | 0 | 1 | 1 row 18 : 15 | belarus | 0 | 0 | 1 | 1 row 19 : 15 | united states | 0 | 0 | 1 | 1 row 20 : total 19 nations | total 19 nations | 59 | 59 | 59 | 177 ] Execute this SQL based on the above table: select nation order by total desc limit 1
total 19 nations
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 8 february 2011 | stade georges pompidou, | mali | 1-0 | 1-0 | friendly row 2 : 2 | 11 may 2011 | stade felix houphouet- | namibia | 4-1 | 5-1 | friendly row 3 : 3 | 5 june 2011 | stade de l'amitie | benin | 0-1 | 2-6 | 2012 africa cup of nations qualification - group row 4 : 4 | 10 august 2011 | stade de geneve, geneve, | israel | 1-0 | 4-3 | friendly row 5 : 5 | 3 september 2011 | stade amahoro, ki | rwanda | 0-4 | 0-5 | 2012 africa cup of nations qualification - group row 6 : 6 | 14 november 2012 | linzer stadion, | austria | 0-1 | 0-3 | friendly row 7 : 7 | 14 january 2013 | al nahyan stadium, abu | egypt | 4-2 | 4-2 | friendly row 8 : 8 | 26 january 2013 | royal bafokeng stadium, rustenburg | tunisia | 3-0 | 3-0 | 2013 africa cup of nations ] Execute this SQL based on the above table: select # where venue = 'stade georges pompidou, valence, france'
1.0
[ header: description | total | poland | baltic states(resettled in poland during war) | resettled in poland during war(from ussr and romania) | sudetendeutsch | se europe (hungary, romania, yugoslavia & slovakia) row 1 : total population before flight & expulsion | 16199086 | 11038826 | 145615 | 365622 | 3160216 | 1488807 row 2 : violent deaths | 58256 | 44603 | 383 | 747 | 5596 | 6927 row 3 : suicides | 14356 | 10330 | 157 | 84 | 3411 | 374 row 4 : deported( forced labor ussr) | 49542 | 32947 | 1566 | 6465 | 705 | 7859 row 5 : in internment camps | 80522 | 27847 | 952 | 1037 | 6615 | 44071 row 6 : during the wartime flight | 93283 | 86860 | 2394 | 738 | 629 | 2662 row 7 : in the course of the expulsions | 63876 | 57814 | 3510 | 561 | 1481 | 510 row 8 : cause undetermined | 112612 | 106991 | 64 | 3116 | 379 | 2062 row 9 : other misc | 566 | None | 38 | 141 | 73 | 314 row 10 : total confirmed deaths | 473013 | 367392 | 9064 | 12889 | 18889 | 64779 row 11 : total unsolved cases | 1905991 | 1404993 | 19374 | 73794 | 287169 | 120661 ] Execute this SQL based on the above table: select description group by description order by count ( * ) desc limit 1
violent deaths
[ 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 result order by # asc limit 1
1-1
[ header: place | team | played | won | draw | lost | goals scored | goals conceded | +/- | points row 1 : 1 | c.d. aguila | 18 | 9 | 5 | 4 | 24 | 19 | 5 | 32 row 2 : 2 | c.d. fas | 18 | 6 | 8 | 4 | 26 | 17 | 9 | 26 row 3 : 3 | c.d. vista hermosa | 18 | 8 | 2 | 8 | 27 | 22 | 5 | 26 row 4 : 4 | a.d. isidro | 18 | 7 | 5 | 6 | 21 | 22 | -1 | 26 row 5 : 5 | alianza f.c | 18 | 7 | 4 | 7 | 29 | 26 | 3 | 25 row 6 : 6 | c.d. atletico balb | 18 | 6 | 5 | 7 | 26 | 25 | 1 | 23 row 7 : 7 | san salvador f.c | 18 | 6 | 5 | 7 | 28 | 32 | -4 | 23 row 8 : 8 | c.d. chalatenango | 18 | 5 | 7 | 6 | 19 | 26 | -3 | 22 row 9 : 9 | once municipal | 18 | 5 | 6 | 7 | 24 | 30 | -6 | 21 row 10 : 10 | c.d. luis angel fir | 18 | 5 | 5 | 8 | 18 | 23 | -5 | 20 ] Execute this SQL based on the above table: select count ( team ) where goals scored > 24
5
[ header: series | start date | end date | episodes row 1 : 1 | 29 october 1986 | 31 december 1986 | 10 row 2 : 2 | 15 april 1987 | 24 june 1987 | 10 row 3 : 3 | 17 september 1987 | 28 january 1988 | 20 row 4 : 4 | 4 october 1988 | 14 february 1989 | 20 row 5 : 5 | 25 december 1989 | 4 june 1990 | 21 row 6 : 6 | 25 september 1990 | 12 february 1991 | 21 row 7 : 7 | 23 september 1991 | 26 december 1991 | 13 row 8 : 8 | 21 september 1992 | 28 december 1992 | 12 row 9 : 9 | 27 september 1993 | 27 december 1993 | 14 row 10 : 10 | 13 september 1994 | 29 december 1994 | 14 row 11 : 11 | 12 december 1996 | 3 april 1997 | 16 row 12 : 12 | 8 september 1997 | 29 december 1997 | 16 row 13 : 13 | 17 september 1998 | 31 december 1998 | 16 row 14 : 14 | 7 june 1999 | 23 august 1999 | 12 ] Execute this SQL based on the above table: select count ( distinct series )
14
[ header: | year | location | name | guest(s) of honour row 1 : 1 | 1998 | linkoping | confuse 98 | paul j. mcauley row 2 : 2 | 1999 | uppsala | upsala: 1999 | michael swanwick row 3 : 3 | 2000 | stockholm | nasacon 2000 | brian m. stableford, row 4 : 4 | 2001 | stockholm | fantastika 2001 | robin hobb, rober row 5 : 5 | 2002 | linkoping | confuse 2002 | china mieville, gwyneth row 6 : 6 | 2003 | uppsala | upsala sf-mote | alastair reynolds, row 7 : 7 | 2004 | stockholm | swecon 2004 | m. john harrison, da row 8 : 8 | 2005 | gothenburg | conceive | charles stross, e row 9 : 9 | 2006 | stockholm | imagicon | joe haldeman, geoff row 10 : 10 | 2007 | gothenburg | conviction | richard morgan, john a row 11 : 11 | 2008 | linkoping | confuse 2008 | cory doctorow, adam rob row 12 : 12 | 2009 | stockholm | imagicon 2 | liz williams, graham row 13 : 13 | 2010 | gothenburg | condense | justina robson, nen row 14 : 14 | 2011 | stockholm | eurocon 2011 | elizabeth bear, i row 15 : 15 | 2012 | uppsala | kontrast | sara bergmark elfgren, row 16 : 16 | 2013 | stockholm | fantastika 2013 | lavie tidhar, jo ] Execute this SQL based on the above table: select location where location in ( 'uppsala' , 'linkoping' ) order by year desc limit 1
uppsala
[ header: position | nation | number | name | soproni liga | uefa cup | hungarian cup | league cup | total row 1 : 1 | | 14 | gergely rudolf | 16 | 3 | 0 | 0 | 19 row 2 : 2 | | 41 | lorant olah | 12 | 1 | 0 | 0 | 13 row 3 : 3 | | 99 | omagbemi dudu | 4 | 1 | 5 | 0 | 10 row 4 : 4 | | 55 | peter szakaly | 9 | 0 | 0 | 0 | 9 row 5 : 5 | | 77 | peter czvitkovics | 7 | 0 | 0 | 0 | 7 row 6 : 6 | | 4 | leandro de almeida | 5 | 0 | 1 | 0 | 6 row 7 : 7 | | 17 | norbert meszaros | 3 | 0 | 0 | 0 | 3 row 8 : 8 | | 8 | zsombor kerekes | 1 | 0 | 2 | 0 | 3 row 9 : 9 | | 10 | igor bogdanovic | 0 | 0 | 3 | 0 | 3 row 10 : 10 | | 2 | istvan szucs | 2 | 0 | 0 | 0 | 2 row 11 : 11 | | 30 | zoltan kiss | 2 | 0 | 0 | 0 | 2 row 12 : 12 | | 23 | peter szilagyi | 2 | 0 | 0 | 0 | 2 row 13 : 13 | | 7 | tibor dombi | 2 | 0 | 0 | 0 | 2 row 14 : 14 | | 13 | peter biro | 1 | 0 | 0 | 0 | 1 row 15 : 15 | | 27 | gabor demjen | 1 | 0 | 0 | 0 | 1 row 16 : 16 | | 19 | vinicius galvao leal | 1 | 0 | 0 | 0 | 1 row 17 : 17 | | 1 | vukasin poleksic | 1 | 0 | 0 | 0 | 1 row 18 : 18 | | 83 | zoltan varga | 0 | 0 | 1 | 0 | 1 row 19 : 19 | | 16 | adam komlosi | 0 | 0 | 1 | 0 | 1 row 20 : None | | None | own goals | 1 | 0 | 0 | 0 | 1 row 21 : None | | None | totals | 70 | 5 | 13 | 0 | 88 ] Execute this SQL based on the above table: select league cup - position where name = 'norbert meszaros'
-7.0
[ header: country | weapon designation | weapon description | year(s) delivered | quantity delivered row 1 : brazil | ee-11 urutu | apc | 1983-1984 | 350 row 2 : china | f-6 | fighter aircraft | 1982-1983 | 40 row 3 : china | type-63 107mm | multiple rocket launcher | 1984-1988 | 100 row 4 : china | wz-121/type 69 | tank | 1983-1987 | 1500 row 5 : china | hn-5a | portable sam | 1986-1987 | 1000 row 6 : czechoslovakia | bmp-2 | infantry fighting vehicle | 1987-1989 | 250 row 7 : czechoslovakia | t-55 | tank | 1982-1985 | 400 row 8 : denmark | al zahraa | landing ship | 1983 | 3 row 9 : east germany | t-55 | tank | 1981 | 50 row 10 : egypt | m-46 130mm | towed gun | 1981-1983 | 96 row 11 : france | sa-330 puma | helicopter | 1980-1981 | 20 row 12 : france | m-3 vtt | apc | 1983-1984 | 115 row 13 : france | trs-2100 tiger | air surv radar | 1988 | 1 row 14 : france | trs-2230/15 tiger | air surv radar | 1984-1985 | 6 row 15 : france | am-39 exocet | anti-ship missile | 1979-1988 | 352 row 16 : france | as-30l | asm | 1986-1990 | 240 row 17 : france | r-550 magic-1 | sraam | 1981-1985 | 534 row 18 : italy | a-109 hirundo | light helicopter | 1982 | 2 row 19 : poland | t-72m1 | tank | 1982-1990 | 500 row 20 : romania | t-55 | tank | 1982-1984 | 150 row 21 : yugoslavia | m-87 orkan 262mm | multiple rocket launcher | 1988 | 2 row 22 : united states | md-500md defender | light helicopter | 1983 | 30 row 23 : united states | md-530f | light helicopter | 1986 | 26 row 24 : soviet union | mig-21bis/fishbed-n | fighter aircraft | 1983-1984 | 61 row 25 : soviet union | mig-23bn/flogger- | fga aircraft | 1984-1985 | 50 row 26 : soviet union | su-22/fitter-h/j/ | fga aircraft | 1986-1987 | 61 row 27 : soviet union | su-25/frogfoot-a | ground attack aircraft | 1986-1987 | 84 row 28 : soviet union | 9p117/ss-1 scu | ssm launcher | 1983-1984 | 10 row 29 : soviet union | bm-21 grad 122mm | multiple rocket launcher | 1983-1988 | 560 row 30 : soviet union | d-30 122mm | towed gun | 1982-1988 | 576 row 31 : soviet union | sa-9/9p31 | aav(m) | 1982-1985 | 160 row 32 : soviet union | long track | air surv radar | 1980-1984 | 10 row 33 : soviet union | sa-8b/9k33m | mobile sam system | 1982-1985 | 50 row 34 : soviet union | thin skin | air surv radar | 1980-1984 | 5 row 35 : soviet union | 9m111/at-4 spigot | anti-tank missile | 1986-1989 | 3000 row 36 : soviet union | 9m37/sa-13 gopher | sam | 1985-1986 | 960 ] Execute this SQL based on the above table: select ( select quantity delivered where weapon designation = 'sa-330 puma' ) - ( select quantity delivered where weapon designation = 'trs-2100 tiger' )
19.0
[ header: # | player | country | score | to par | money ($) row 1 : 1 | louise suggs | united states | 78-75-75-74=302 | +14 | 900 row 2 : 2 | patty berg | united states | 79-77-73-74=303 | +15 | 675 row 3 : t3 | betsy rawls | united states | 79-75-72-80=306 | +18 | 445 row 4 : t3 | mickey wright | united states | 80-79-74-73=306 | +18 | 445 row 5 : 5 | betty jameson | united states | 80-74-77-78=309 | +21 | 405 row 6 : t6 | mary lena faulk | united states | 82-79-74-76=3 | +23 | 338 row 7 : t6 | beverly hanson | united states | 84-75-75-77=311 | +23 | 338 row 8 : t8 | fay crocker | uruguay | 92-70-76-75=3 | +25 | 248 row 9 : t8 | marlene hagge | united states | 78-80-79-76=3 | +25 | 248 row 10 : t10 | vonnie colby | united states | 80-79-78-78=315 | +27 | 113 row 11 : t10 | joyce ziske | united states | 83-82-77-73=3 | +27 | 113 ] Execute this SQL based on the above table: select score where country != 'united states' and country != 'united states'
92-70-76-75=313
[ header: rd. | grand prix | date | location | pole position | fastest lap | winning driver | constructor | report row 1 : 1 | brazilian grand prix | 26 march | jacarepagua | ayrton senna | riccardo patrese | nigel mansell | ferrari | report row 2 : 2 | san marino grand prix | 23 april | imola | ayrton senna | alain prost | ayrton senna | mclaren-honda | report row 3 : 3 | monaco grand prix | 7 may | monaco | ayrton senna | alain prost | ayrton senna | mclaren-honda | report row 4 : 4 | mexican grand prix | 28 may | hermanos rodriguez | ayrton senna | nigel mansell | ayrton senna | mclaren-honda | report row 5 : 5 | united states grand prix | 4 june | phoenix | ayrton senna | ayrton senna | alain prost | mclaren-honda | report row 6 : 6 | canadian grand prix | 18 june | circuit gilles villeneuve | alain prost | jonathan palmer | thierry boutsen | williams-renault | report row 7 : 7 | french grand prix | 9 july | paul ricard | alain prost | mauricio gugelmin | alain prost | mclaren-honda | report row 8 : 8 | british grand prix | 16 july | silverstone | ayrton senna | nigel mansell | alain prost | mclaren-honda | report row 9 : 9 | german grand prix | 30 july | hockenheimring | ayrton senna | ayrton senna | ayrton senna | mclaren-honda | report row 10 : 10 | hungarian grand prix | 13 august | hungaroring | riccardo patrese | nigel mansell | nigel mansell | ferrari | report row 11 : 11 | belgian grand prix | 27 august | spa-francorchamps | ayrton senna | alain prost | ayrton senna | mclaren-honda | report row 12 : 12 | italian grand prix | 10 september | monza | ayrton senna | alain prost | alain prost | mclaren-honda | report row 13 : 13 | portuguese grand prix | 24 september | estoril | ayrton senna | gerhard berger | gerhard berger | ferrari | report row 14 : 14 | spanish grand prix | 1 october | jerez | ayrton senna | ayrton senna | ayrton senna | mclaren-honda | report row 15 : 15 | japanese grand prix | 22 october | suzuka | ayrton senna | alain prost | alessandro nannini | benetton-ford | report row 16 : 16 | australian grand prix | 5 november | adelaide | ayrton senna | satoru nakajima | thierry boutsen | williams-renault | report ] Execute this SQL based on the above table: select ( select rd. where date = '16 july' ) - ( select rd. where date = '16 july' )
0.0
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | china (chn) | 14 | 10 | 12 | 36 row 2 : 2 | thailand (tha) | 13 | 9 | 6 | 28 row 3 : 3 | south korea (kor) | 6 | 7 | 10 | 23 row 4 : 4 | indonesia (ina) | 6 | 6 | 4 | 16 row 5 : 5 | chinese taipei | 3 | 6 | 6 | 15 row 6 : 6 | india (ind) | 2 | 0 | 1 | 3 row 7 : 7 | iran (iri) | 2 | 0 | 0 | 2 row 8 : 8 | japan (jpn) | 1 | 3 | 2 | 6 row 9 : 9 | afghanistan (afg | 1 | 0 | 0 | 1 row 10 : 9 | qatar (qat) | 1 | 0 | 0 | 1 row 11 : 11 | philippines (phi) | 0 | 2 | 2 | 4 row 12 : 12 | vietnam (vie) | 0 | 2 | 1 | 3 row 13 : 13 | kazakhstan (kaz) | 0 | 1 | 1 | 2 row 14 : 13 | pakistan (pak) | 0 | 1 | 1 | 2 row 15 : 15 | bahrain (brn) | 0 | 1 | 0 | 1 row 16 : 15 | turkmenistan (tkm) | 0 | 1 | 0 | 1 row 17 : 17 | sri lanka (sr | 0 | 0 | 2 | 2 row 18 : 18 | bangladesh (ban) | 0 | 0 | 1 | 1 row 19 : 18 | brunei (bru) | 0 | 0 | 1 | 1 row 20 : 18 | laos (lao) | 0 | 0 | 1 | 1 row 21 : 18 | mongolia (mgl) | 0 | 0 | 1 | 1 row 22 : 18 | palestine (ple) | 0 | 0 | 1 | 1 row 23 : 18 | singapore (sin) | 0 | 0 | 1 | 1 row 24 : total | total | 49 | 49 | 54 | 152 ] Execute this SQL based on the above table: select nation where bronze = 6
thailand (tha), chinese taipei (tpe)
[ header: # | title | featured guest(s) | producer(s) | length row 1 : 1 | "intro (skit)" | None | None | 1:50 row 2 : 2 | "zero" | None | lewis parker | 4:01 row 3 : 3 | "it's murda" | None | harry love | 5:01 row 4 : 4 | "jankrowville" | None | l. dolo | 5:26 row 5 : 5 | "parrowdice" | kyza and skriblah | harry love | 5:52 row 6 : 6 | "b 4 u die" | kyza and skriblah | joe buhdha | 4:09 row 7 : 7 | "all i got" | None | joe buhdha | 4:00 row 8 : 8 | "black rose" | None | joe buhdha | 4:04 row 9 : 9 | "lynching (skit)" | None | None | 1:12 row 10 : 10 | "our time" | None | lewis parker | 3:56 row 11 : 11 | "terra firma anthum (skit | None | None | 0:52 row 12 : 12 | "daggo mentality" | None | lewis parker | 4:01 row 13 : 13 | "neighbour (skit)" | None | None | 0:46 row 14 : 14 | "son of niah" | None | ac.war.ion | 4:54 ] Execute this SQL based on the above table: select title where id = ( select id where title = '"terra firma anthum (skit)"' ) - 1
"our time"
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 3 | michael schumacher | ferrari | 71 | 1:34:45.026 | 2 | 10 row 2 : 2 | 4 | eddie irvine | ferrari | 71 | 19.575 | 4 | 6 row 3 : 3 | 8 | mika hakkinen | mclaren-mercedes | 71 | 19.747 | 1 | 4 row 4 : 4 | 1 | jacques villeneuve | williams-mecachrome | 71 | +1:06.965 | 5 | 3 row 5 : 5 | 6 | alexander wurz | benetton-playlife | 70 | +1 lap | 10 | 2 row 6 : 6 | 7 | david coulthard | mclaren-mercedes | 70 | +1 lap | 3 | 1 row 7 : 7 | 14 | jean alesi | sauber-petronas | 70 | +1 lap | 11 | None row 8 : 8 | 15 | johnny herbert | sauber-petronas | 70 | +1 lap | 13 | None row 9 : 9 | 5 | giancarlo fisichella | benetton-playlife | 70 | +1 lap | 9 | None row 10 : 10 | 18 | rubens barrichello | stewart-ford | 69 | +2 laps | 14 | None row 11 : 11 | 11 | olivier panis | prost-peugeot | 69 | +2 laps | 16 | None row 12 : 12 | 19 | jos verstappen | stewart-ford | 69 | +2 laps | 15 | None row 13 : 13 | 17 | mika salo | arrows | 69 | +2 laps | 19 | None row 14 : 14 | 16 | pedro diniz | arrows | 69 | +2 laps | 17 | None row 15 : 15 | 2 | heinz-harald frent | williams-mecachrome | 68 | suspension | 8 | None row 16 : 16 | 10 | ralf schumacher | jordan-mugen-honda | 68 | +3 laps | 6 | None row 17 : 17 | 22 | shinji nakano | minardi-ford | 65 | engine | 21 | None row 18 : ret | 21 | toranosuke takagi | tyrrell-ford | 60 | engine | 20 | None row 19 : ret | 12 | jarno trulli | prost-peugeot | 55 | spun off | 12 | None row 20 : ret | 23 | esteban tuero | minardi-ford | 41 | gearbox | 22 | None row 21 : ret | 9 | damon hill | jordan-mugen-honda | 19 | hydraulics | 7 | None row 22 : ret | 20 | ricardo rosset | tyrrell-ford | 16 | hydraulics | 18 | None ] Execute this SQL based on the above table: select constructor where points > ( select points where constructor = 'benetton-playlife' ) order by points asc limit 1
williams-mecachrome
[ 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 min ( order in position ) where order in position > 10
11.0
[ header: match | date | ground | opponent | score1 | pos. | pts. | gd row 1 : 2 | 22 august | h | 1. fc kaiserslau | 1 - 0 | 1 | 4 | 4 row 2 : 4 | 29 august | h | dynamo dresden | 3 - 1 | 1 | 6 | 6 row 3 : 5 | 2 september | a | 1. fc koln | 3 - 1 | 1 | 8 | 8 row 4 : 6 | 5 september | h | hamburger sv | 4 - 0 | 1 | 10 | 12 row 5 : 7 | 19 september | h | sg wattenscheid 09 | 1 - 1 | 1 | 11 | 12 row 6 : 8 | 25 september | a | borussia dortmund | 2 - 1 | 1 | 13 | 13 row 7 : 9 | 3 october | h | borussia monchengladbach | 2 - 2 | 1 | 14 | 13 row 8 : 10 | 17 october | a | 1. fc saarbrucken | 1 - 1 | 1 | 15 | 13 row 9 : 11 | 24 october | h | werder bremen | 1 - 3 | 1 | 15 | 11 row 10 : 3 | 27 october | a | eintracht frankfurt | 1 - 1 | 1 | 16 | 11 row 11 : 12 | 31 october | a | vfb stuttgart | 3 - 2 | 1 | 18 | 12 row 12 : 14 | 21 november | a | bayer leverkusen | 4 - 2 | 1 | 22 | 15 row 13 : 15 | 28 november | h | karlsruher sc | 3 - 3 | 1 | 23 | 15 row 14 : 16 | 5 december | a | vfl bochum | 2 - 2 | 1 | 24 | 15 row 15 : 19 | 27 february | a | 1. fc kaiserslau | 3 - 1 | 1 | 29 | 19 row 16 : 20 | 6 march | h | eintracht frankfurt | 1 - 0 | 1 | 31 | 20 row 17 : 22 | 20 march | h | 1. fc koln | 3 - 0 | 1 | 34 | 23 row 18 : 23 | 28 march | a | hamburger sv | 1 - 3 | 1 | 34 | 21 row 19 : 24 | 2 april | a | sg wattenscheid 09 | 0 - 2 | 1 | 34 | 19 row 20 : 25 | 10 april | h | borussia dortmund | 2 - 0 | 1 | 36 | 21 row 21 : 26 | 17 april | a | borussia monchengladbach | 2 - 2 | 1 | 37 | 21 row 22 : 27 | 23 april | h | 1. fc saarbrucken | 6 - 0 | 1 | 39 | 27 row 23 : 28 | 26 april | a | werder bremen | 1 - 4 | 1 | 39 | 24 row 24 : 30 | 8 may | a | 1. fc nurnberg | 0 - 0 | 1 | 42 | 26 row 25 : 31 | 15 may | h | bayer leverkusen | 4 - 1 | 1 | 44 | 29 row 26 : 32 | 23 may | a | karlsruher sc | 2 - 4 | 1 | 44 | 27 row 27 : 33 | 29 may | h | vfl bochum | 3 - 1 | 2 | 46 | 29 row 28 : 34 | 5 june | a | schalke 04 | 3 - 3 | 2 | 47 | 29 ] Execute this SQL based on the above table: select score1 where score1 in ( '2 - 2' , '3 - 1' ) order by pos. limit 1781
3 - 1, 3 - 1, 2 - 2, 2 - 2, 3 - 1, 2 - 2, 3 - 1
[ header: year | title | role | notes row 1 : 1941 | the maltese falcon | kasper gutman | nominated - academy award for best supporting row 2 : 1941 | they died with their boots on | lt. gen. winfield | None row 3 : 1942 | across the pacific | dr. lorenz | None row 4 : 1942 | casablanca | signor ferrari | None row 5 : 1943 | background to danger | col. robinson | None row 6 : 1944 | passage to marseille | major duval | None row 7 : 1944 | between two worlds | rev. tim thompson | None row 8 : 1944 | the mask of dimitrios | mr. peters | None row 9 : 1944 | the conspirators | ricardo quintanilla | None row 10 : 1944 | hollywood canteen | himself | None row 11 : 1945 | pillow to post | col. michael otley | None row 12 : 1945 | conflict | dr. mark hamilton | None row 13 : 1945 | christmas in connecticut | alexander yardley | None row 14 : 1946 | three strangers | jerome k. arbutny | None row 15 : 1946 | devotion | william makepeace thacke | None row 16 : 1946 | the verdict | supt. george e | None row 17 : 1947 | that way with women | james p. alden | None row 18 : 1947 | the hucksters | evan llewellyn | None row 19 : 1948 | the velvet touch | capt. danbury | None row 20 : 1948 | ruthless | buck mansfield | None row 21 : 1948 | the woman in white | count alessandro fosco | None row 22 : 1949 | flamingo road | sheriff titus semple | None row 23 : 1949 | malaya | the dutchman | None ] Execute this SQL based on the above table: select count ( title ) where role <= 1592
0
[ header: # | title | producer(s) | featured guest(s) | length row 1 : 1 | "intro" | swizzo (of drum squad) | None | 1:41 row 2 : 2 | "interlude" | crown kingz productions (ckp) | None | 2:22 row 3 : 3 | "dem boyz" | nitti | p. diddy | 4:16 row 4 : 4 | "felonies" | jazze pha | None | 5:49 row 5 : 5 | "look" | drumma boy | None | 4:56 row 6 : 6 | "gangstas" | erick sermon | eazy-e | 3:49 row 7 : 7 | "don't put your hands on me" | dj toomp | None | 4:33 row 8 : 8 | "bitches & bizness" | nitti | rick ross (uncredited) | 4:21 row 9 : 9 | "trap niggas" | drumma boy | None | 3:37 row 10 : 10 | "still slizzard" | nitti | None | 5:07 row 11 : 11 | "no talkin" | sanchez | None | 5:25 row 12 : 12 | "happy jamz" | jazze pha | jazze pha | 4:48 row 13 : 13 | "if u a thug | keith mack | None | 5:09 row 14 : 14 | "lay it down" | jasper | None | 4:17 row 15 : 15 | "pussy m.f.' | horace "bubba" mitchell | trick daddy | 4:24 row 16 : 16 | "keep it hood 2nite" | midnight black | None | 3:23 ] Execute this SQL based on the above table: select featured guest(s) where title not null order by length limit 598
eazy-e, p. diddy, rick ross (uncredited), jazze pha, trick daddy
[ header: outcome | no. | date | tournament | surface | partner | opponents in the final | score in the final row 1 : winner | 1 | 12 march 1978 | dallas | carpet | martina navratilova | evonne goolagong bett | 6-3, 7-6 row 2 : runner-up | 3 | 18 february 1979 | los angeles | hard (i) | martina navratilova | rosemary casals chris evert | 4-6, 6-1, 3-6 row 3 : winner | 4 | 12 august 1979 | indianapolis | clay | kathy jordan | penny johnson paula smith | 6-1, 6-0 row 4 : winner | 5 | 28 october 1979 | tampa | hard | virginia ruzici | ilana kloss bett | 7-5, 4-6, 7-5 row 5 : winner | 6 | 25 november 1979 | brighton | carpet | ann kiyomura | ilana kloss laura | 6-2, 6-1 row 6 : runner-up | 5 | 2 december 1979 | melbourne | grass | dianne fromholtz | billie jean king wendy | 3-6, 3-6 row 7 : runner-up | 6 | 10 february 1980 | los angeles | hard (i) | kathy jordan | rosemary casals martina navrati | 6-7, 2-6 row 8 : winner | 8 | 7 june 1980 | french open | clay | kathy jordan | ivanna madruga ad | 6-1, 6-0 row 9 : runner-up | 10 | 5 october 1980 | minneapolis | carpet | paula smith | ann kiyomura candy | 3-6, 6-4, 1-6 row 10 : runner-up | 12 | 16 november 1980 | tampa | hard | paula smith | rosemary casals candy reynolds | 6-7, 5-7 row 11 : runner-up | 13 | 15 march 1981 | dallas | carpet | kathy jordan | martina navratilova pa | 5-7, 4-6 row 12 : runner-up | 14 | 21 june 1981 | eastbourne | grass | kathy jordan | martina navratilova pa | 7-6, 2-6, 1-6 row 13 : runner-up | 16 | 16 august 1981 | richmond | carpet | kathy jordan | sue barker ann kiyo | 6-4, 6-7, 4-6 row 14 : runner-up | 20 | 17 january 1982 | cincinnati | carpet | pam shriver | sue barker ann kiyo | 2-6, 6-7 row 15 : runner-up | 21 | 24 january 1982 | seattle | carpet | kathy jordan | rosemary casals wendy turnbull | 5-7, 4-6 row 16 : runner-up | 30 | 20 february 1983 | chicago | carpet | kathy jordan | martina navratilova pa | 1-6, 2-6 row 17 : runner-up | 32 | 3 april 1983 | tokyo | carpet | kathy jordan | billie jean king shar | 1-6, 1-6 row 18 : winner | 24 | 24 april 1983 | orlando | clay | billie jean king | martina navratilova pa | 6-3, 1-6, 7-6 row 19 : winner | 26 | 31 march 1985 | palm beach gardens | clay | joanne russell | laura arraya gabriela sa | 1-6, 6-1, 7-6(4) ] Execute this SQL based on the above table: select outcome group by outcome order by count ( tournament ) desc limit 1
runner-up
[ header: # | title | time | lead vocals | notes row 1 : 1 | savior more than life | 6:44 | keisha grandy | None row 2 : 2 | whatcha lookin' 4 | 4:25 | darrell blair, dal | None row 3 : 3 | melodies from heaven | 4:34 | the family | None row 4 : 4 | conquerors | 8:24 | dalon collins | None row 5 : 5 | don't take your joy away | 6:33 | tamela mann | None row 6 : 6 | when i think about jesus | 1:38 | None | None row 7 : 7 | mama's song | 4:16 | kirk franklin | None row 8 : 8 | jesus paid it all | 5:04 | kirk franklin, darrell | None row 9 : 9 | i love you jesus | 7:25 | teresa young, stephani | None row 10 : 10 | washed away | 5:20 | jeannette johnson, carrie | None row 11 : 11 | where the spirit is | 4:03 | jon drummond | None row 12 : 12 | let me touch you | 5:26 | dalon collins | None row 13 : 13 | anything 4 u | 5:08 | david mann, yoland | None row 14 : 14 | whatcha lookin' 4 (remix) | 4:36 | kirk franklin, d | drum & synth programming - buster row 15 : 15 | melodies from heaven (skate remix | 4:18 | kirk franklin | drum & synth programming - buster ] Execute this SQL based on the above table: select notes where time > 2 and # > 5
drum & synth programming - buster & shavoni mixed by craig burbridge, buster & shavoni, dalon collins, tamela mann, david mann, chris simpson,farrell mannings, drum & synth programming - buster & shavoni mixed by craig burbridge, buster & shavoni
[ header: date | race name | location | uci rating | winner | team row 1 : 16-21 january | la tropicale amissa bongo | gabon | 2.2 | frederic guesdon (fr | francaise des jeux row 2 : 8-14 february | tour d'egypte | egypt | 2.2 | waylon woolcock (rsa) | south africa (national team) row 3 : 16 february | gp of sharm el | egypt | 1.2 | jan sipeky (svk) | dukla trencin-merida row 4 : 24 february-9 march | tour du cameroun | cameroon | 2.2 | flavien chipault (fra) | leboulou row 5 : 6-11 march | giro del capo | south africa | 2.2 | alexander efimkin (rus | barloworld row 6 : 17-23 march | tour of libya | libya | 2.2 | ahmed mohamed ali ( | libya (national team) row 7 : 8 april | grand prix de la ville de tunis | tunisia | 1.2 | ahmed mraihi ( | tunisia (national team) row 8 : 28 april-5 may | tour de la pharmacie centrale de tunisie | tunisia | 2.2 | hassen ben nasser ( | pharmacie centrale row 9 : 14-20 may | boucle du coton | burkina faso | 2.2 | saidou rouamba (bur) | burkina faso (national row 10 : 8-17 june | tour du maroc | morocco | 2.2 | nicholas white (rsa | south africa (national team) row 11 : 30 august-8 september | tour du senegal | senegal | 2.2 | adil jelloul (mar) | frmc-maroc row 12 : 16 september | dome 2 dome cycling spectacular | south africa | 1.2 | jaco venter (rsa) | team neotel ] Execute this SQL based on the above table: select team order by uci rating desc limit 1
francaise des jeux
[ header: place | team | played | won | draw | lost | goals scored | goals conceded | +/- | points row 1 : 1 | c.d. aguila | 18 | 9 | 5 | 4 | 24 | 19 | 5 | 32 row 2 : 2 | c.d. fas | 18 | 6 | 8 | 4 | 26 | 17 | 9 | 26 row 3 : 3 | c.d. vista hermosa | 18 | 8 | 2 | 8 | 27 | 22 | 5 | 26 row 4 : 4 | a.d. isidro | 18 | 7 | 5 | 6 | 21 | 22 | -1 | 26 row 5 : 5 | alianza f.c | 18 | 7 | 4 | 7 | 29 | 26 | 3 | 25 row 6 : 6 | c.d. atletico balb | 18 | 6 | 5 | 7 | 26 | 25 | 1 | 23 row 7 : 7 | san salvador f.c | 18 | 6 | 5 | 7 | 28 | 32 | -4 | 23 row 8 : 8 | c.d. chalatenango | 18 | 5 | 7 | 6 | 19 | 26 | -3 | 22 row 9 : 9 | once municipal | 18 | 5 | 6 | 7 | 24 | 30 | -6 | 21 row 10 : 10 | c.d. luis angel fir | 18 | 5 | 5 | 8 | 18 | 23 | -5 | 20 ] Execute this SQL based on the above table: select team where lost = ( select lost where team = 'alianza f.c' ) - 1
a.d. isidro metapan, c.d. chalatenango
[ header: year | album | peak us | peak us holiday | certifications (sales threshold) row 1 : 1990 | go west young man released: octo | 74 | None | riaa: platinum mc row 2 : 1992 | change your world released: september 1, 1992 label | 86 | None | riaa: platinum row 3 : 1995 | i'll lead you home released: august | 16 | None | riaa: platinum row 4 : 1998 | live the life released: april 28, | 23 | None | riaa: gold row 5 : 1998 | christmastime released: october 13, | 90 | 4 | riaa: gold row 6 : 1999 | this is your time released: november 23, | 21 | None | riaa: gold ] Execute this SQL based on the above table: select max ( album ) where certifications (sales threshold) = 'riaa: gold'
this is your time released: november 23, 1999 label: reunion format: cd
[ header: rank | county | per capita income | median household income | median family income | population | number of households row 1 : 1 | mccone | $32,205 | $42,998 | $52,636 | 1,734 | 774 row 2 : 3 | stillwater | $27,168 | $57,227 | $65,438 | 9,117 | 3,796 row 3 : 4 | richland | $26,888 | $52,516 | $60,236 | 9,746 | 4,167 row 4 : 5 | fallon | $26,819 | $52,529 | $64,500 | 2,890 | 1,233 row 5 : 6 | sheridan | $26,537 | $39,578 | $55,313 | 3,384 | 1,587 row 6 : 10 | carbon | $24,983 | $49,010 | $59,823 | 10,078 | 4,571 row 7 : 13 | park | $24,717 | $38,830 | $50,252 | 15,636 | 7,310 row 8 : 15 | missoula | $24,343 | $42,887 | $58,302 | 109,299 | 45,926 row 9 : 17 | phillips | $24,227 | $36,453 | $55,362 | 4,253 | 1,819 row 10 : None | montana | $23,836 | $43,872 | $55,725 | 989,415 | 409,607 row 11 : 21 | granite | $23,222 | $36,052 | $47,685 | 3,079 | 1,417 row 12 : 22 | cascade | $22,963 | $42,389 | $53,540 | 81,327 | 33,809 row 13 : 23 | sweet grass | $22,785 | $43,723 | $56,552 | 3,651 | 1,590 row 14 : 24 | wibaux | $22,579 | $40,417 | $51,354 | 1,017 | 457 row 15 : 29 | powder river | $21,543 | $37,685 | $50,156 | 1,743 | 755 row 16 : 30 | hill | $21,420 | $43,606 | $55,963 | 16,096 | 6,275 row 17 : 33 | beaverhead | $21,110 | $38,264 | $53,036 | 9,246 | 4,014 row 18 : 34 | petroleum | $21,008 | $36,875 | $39,107 | 494 | 225 row 19 : 36 | musselshell | $20,875 | $37,033 | $47,860 | 4,538 | 2,046 row 20 : 38 | teton | $20,509 | $39,516 | $49,102 | 6,073 | 2,450 row 21 : 39 | toole | $20,464 | $42,949 | $54,722 | 5,324 | 2,015 row 22 : 40 | chouteau | $20,202 | $41,064 | $50,201 | 5,813 | 2,294 row 23 : 42 | rosebud | $19,844 | $44,776 | $56,282 | 9,233 | 3,395 row 24 : 43 | lincoln | $19,626 | $30,823 | $39,600 | 19,687 | 8,843 row 25 : 47 | liberty | $19,097 | $40,212 | $44,957 | 2,339 | 822 row 26 : 48 | pondera | $18,989 | $36,419 | $47,656 | 6,153 | 2,285 row 27 : 50 | sanders | $18,472 | $30,622 | $37,514 | 11,413 | 5,121 row 28 : 51 | powell | $17,849 | $39,851 | $45,339 | 7,027 | 2,466 row 29 : 52 | roosevelt | $17,821 | $37,451 | $50,146 | 10,425 | 3,553 row 30 : 55 | blaine | $16,813 | $37,034 | $40,890 | 6,491 | 2,357 ] Execute this SQL based on the above table: select avg ( rank )
28.655172413793103
[ header: first name | surname | death year | beginning of service | end of service | notes row 1 : pilzbach | johann adam | 1802 | 1772 | 1776 | None row 2 : fritsch | lorenz | None | 1794 | 1798 | None row 3 : aizele | matthias | 1856 | 1812 | 1836 | None row 4 : bottka | paul | 1872 | 1836 | 1845 | None row 5 : bartl | anton | 1897 | 1870 | 1893 | None row 6 : loschardt | ferdinand | 1914 | 1893 | 1899 | None row 7 : gehl | othmar | 1951 | 1892 | 1903 | None row 8 : schutz | nikolaus | None | 1899 | 1901 | None row 9 : eisele | matthias | 1944 | 1901 | 1906 | None row 10 : dietl | august gustav | 1928 | 1901 | 1912 | None row 11 : misenko | josef | None | 1902 | 1909 | None row 12 : palya | matthias | 1915 | 1903 | 1915 | None row 13 : elsner | josef | 1965 | 1911 | 1926 | None row 14 : schrotz | stefan | 1967 | 1912 | 1923 | None row 15 : fulda | paul | None | 1922 | None | None row 16 : rudolf | josef | None | 1912 | 1921 | None row 17 : waltner | josef | 1986 | 1920 | 1923 | None row 18 : szekely | franz | None | 1923 | 1930 | None row 19 : lischerong | matthias | 1950 | 1925 | 1950 | None row 20 : strubert | peter | 1956 | 1924 | 1932 | None row 21 : lindnder | wendelin | None | 1925 | 1929 | None row 22 : juhasz | tibor | None | 1930 | 1938 | None row 23 : benz | johannes | 1985 | 1936 | 1942 | None row 24 : hardt | alfons | None | 1927 | 1930 | None row 25 : hampel | karl | None | 1934 | 1937 | None row 26 : willw | andreas | None | 1941 | 1946 | None row 27 : gerstenengst | josef | 1992 | 1946 | 1958 | None row 28 : lackner | paul | 1987 | 1946 | 1987 | None row 29 : borth | nikolaus pater gottfried | None | 1958 | 1959 | None row 30 : neu | anton | None | 1963 | 1965 | None row 31 : fritz | anton | None | 1972 | 1974 | None row 32 : hajdu | josef | None | 1974 | 1976 | None row 33 : hoher | otto | 2006 | 1976 | 1978 | None row 34 : nagy | carol | None | 1979 | 1987 | None row 35 : mutiu | petru | None | 1983 | None | None row 36 : matei | peter gottlieb | None | 1983 | 1988 | None row 37 : pal | jozsef csaba | None | 1987 | None | None row 38 : szocs | laszlo | None | 1987 | 1988 | None row 39 : catici | gheorghe | None | 1988 | 1992 | None row 40 : balogh | andras | None | 1988 | 1989 | None row 41 : ebenspanger | ferenc | None | 1989 | 1990 | None row 42 : debert | reiner | None | 1993 | 1994 | None row 43 : conceanga | ulderic | None | 1997/2001 | 2003 | None row 44 : tampu | petru | None | 1999 | 2001 | None row 45 : rebegila | petru | None | 2004 | 2006 | None ] Execute this SQL based on the above table: select count ( first name ) where death year < 'None'
18
[ header: year | title | us hot 100 | us modern rock | us mainstream rock | album row 1 : 1994 | "neenah menasha" | None | None | None | rotting pinata row 2 : 1994 | "plowed" | None | 5 | 9 | rotting pinata row 3 : 1995 | "molly (16 candles down the drain)" | 55 | 3 | 11 | rotting pinata row 4 : 1995 | "rainin'" | None | 34 | 18 | rotting pinata row 5 : 1996 | "wax ecstatic (to | None | 15 | 11 | wax ecstatic row 6 : 1997 | "have you seen mary" | None | None | 7 | wax ecstatic row 7 : 1999 | "live here without you" | None | None | None | new pop sunday row 8 : 1999 | "1000 times" | None | None | None | new pop sunday row 9 : 2003 | "treat me wrong" | None | None | None | for all the drugs in the world row 10 : 2003 | "leave this world" | None | None | None | for all the drugs in the world row 11 : 2005 | "the man" | None | None | None | the man row 12 : 2005 | "higher (part 1)" | None | None | None | the man row 13 : 2009 | "come in from the rain" | None | None | None | destroy the boy ep row 14 : 2010 | "destroy the boy" | None | None | None | destroy the boy ep row 15 : 2013 | "fade from view" | None | None | None | stop the bleeding row 16 : 2013 | "lifes bitter pills" | None | None | None | stop the bleeding ] Execute this SQL based on the above table: select us mainstream rock where album = 'rotting pinata'
9, 11, 18
[ header: name | completed | architect | location | year of listing & ref(s) row 1 : 46-48 brown street | 1868 | george truefitt | None | None row 2 : 50 newton street | circa 1900 | clegg & knowles | newton street, piccadilly | 1988 row 3 : 53 king street | 1912 | charles heathcote | king street | None row 4 : albert hall | 1910 | w. j. morley | peter street | None row 5 : ancoats hospital | 1891 | lewis and crawcroft | ancoats | 1974 row 6 : apollo theatre | 1930 | None | ardwick | 1994 row 7 : barlow hall | 15th century (altered since) | None | chorlton-cum-hardy | 1974 (downgraded in 1994) row 8 : barnes hospital | 1875 | lawrence booth | didsbury | 1998 row 9 : bridgewater house | 1912 | harry fairhurst | whitworth street | None row 10 : cis tower | 1962 | gordon tait | miller street | 1995 row 11 : chancellors hotel & conference centre ( | 1851 | edward walters | fallowfield | 1974 row 12 : chancellors hotel & conference centre ( | 1851 | edward walters | fallowfield | 1974 row 13 : cooperative press | late 19th century | None | naples street, ancoats | 1994 row 14 : corn exchange | 1903 | None | exchange square | 1973 row 15 : derros building | 1899 | william sharpe | great ancoats street | 1998 row 16 : greenhayes centre | 1896 | None | moss side | 1994 row 17 : hanover building | 1909 | f.e.l harris | corporation street | 1988 row 18 : holyoake house | 1911 | f.e.l harris | dantzic street | 1988 row 19 : national and provoncial building society | circa. 1910 | c. r. cockerell | king street | 1974 row 20 : manchester deansgate railway station | 1896 | None | None | 1998 row 21 : manchester oxford road railway station | 1960 | w. r. headley and max | oxford road | 1995 row 22 : manchester victoria station | 1844 | None | hunts bank | 1988 row 23 : palace theatre | 1891 | alfred derbyshire and f. | oxford street | 1977 row 24 : the ritz | 1927 | None | whitworth street | 1994 row 25 : royal exchange | 1921 | bradshaw, gass & hope | cross street | None row 26 : redfern building | 1936 | w. a. johnson and | dantzic street | 1994 row 27 : sackville street building | 1912 | spalding and cross | sackville street | 1974 row 28 : st. james buildings | 1912 | clegg, fryer & penman | 65-95 oxford street | 1988 row 29 : st mary's hospital | 1909 | john ely | wilmslow road | 1994 row 30 : smithfield market hall | 1857 | None | swan street, ancoats | 1973 row 31 : strangeways prison ventilation and watch tower | 1868 | alfred waterhouse | sherborne street | 1974 row 32 : theatre royal | 1845 | irwin and chester | peter street | 1974 row 33 : the old wellington inn | mid-16th century | None | shambles square | 1952 row 34 : whitworth park mansions | circa 1840s | None | whitworth park | 1974 ] Execute this SQL based on the above table: select completed group by completed order by count ( * ) desc limit 1
1912
[ header: tenure | coach | years | record | pct. row 1 : 1892 | shelby fletcher | 1 | 1-0 | 1 row 2 : 1893 | w. m. walker | 1 | 4-6-1 | 0.409 row 3 : 1894 | j. h. lyons | 1 | 10-3 | 0.769 row 4 : 1895 | j. f. jenkins | 1 | 9-3 | 0.75 row 5 : 1896 | eli abbott | 1 | 5-5 | 0.5 row 6 : 1897 | "kid" peeples | 1 | 10-0 | 1 row 7 : 1898 | joseph black | 1 | 2-3 | 0.4 row 8 : 1899 | f. c. owen | 1 | 3-6 | 0.333 row 9 : 1900 | ardis smith | 1 | 9-3 | 0.75 row 10 : 1901-1905 | thomas stouch | 5 | 49-25-1 | 0.66 row 11 : 1906 | schwartz | 1 | 4-16-1 | 0.214 row 12 : 1907-1910 | j. w. h. poll | 4 | 66-22-1 | 0.747 row 13 : 1911 | guy lowman | 1 | 12-5 | 0.706 row 14 : 1912-1915 | d. v. graves | 4 | 66-30-1 | 0.686 row 15 : 1916-1919 | b. l. noojin | 4 | 55-18 | 0.753 row 16 : 1920 | gordon w. lewis | 1 | 15-2 | 0.882 row 17 : 1921-1923 | charles bernier | 3 | 28-35-4 | 0.448 row 18 : 1924-1927 | wallace wade | 4 | 61-32-2 | 0.653 row 19 : 1928 | hank crisp | 1 | 12-7-2 | 0.619 row 20 : 1929-1930 | jess neely | 2 | 28-15-2 | 0.644 row 21 : 1931-1932 | sam hinton | 2 | 23-7-2 | 0.75 row 22 : 1933-1934 | jennings b. whitworth | 2 | 21-11 | 0.656 row 23 : 1943 | paul burnham | 1 | 12-6 | 0.667 row 24 : 1946 | dixie howell | 1 | 13-7 | 0.65 row 25 : 1935-1942 1947-1963 | tilden campbell | 25 | 355-168-4 | 0.677 row 26 : 1964-1969 | joe sewell | 6 | 106-79 | 0.573 row 27 : 1970-1979 | hayden riley | 10 | 236-206-1 | 0.533 row 28 : 1980-1994 | barry shollenberger | 15 | 487-334-1 | 0.593 row 29 : 1995-2009 | jim wells | 15 | 625-322 | 0.656 row 30 : 2010-present | mitch gaspard | 4 | 133-115 | 0.536 row 31 : totals | 30 coaches | 121 seasons | 2,461-1,490-23 | 0.623 ] Execute this SQL based on the above table: select record where record in ( '55-18' , '3-6' ) order by years desc limit 1
55-18
[ header: # | president | president's party | senate with | senate opposed | house with | house opposed | years served | elections won row 1 : 1 | george washington | federalist-leaning | 8 | 0 | 6 | 2 | 8 | 2 row 2 : 3 | thomas jefferson | democratic-republican | 8 | 0 | 8 | 0 | 8 | 2 row 3 : 4 | james madison | democratic-republican | 8 | 0 | 8 | 0 | 8 | 2 row 4 : 7 | andrew jackson | democratic | 8 | 0 | 8 | 0 | 8 | 2 row 5 : 8 | martin van buren | democratic | 4 | 0 | 4 | 0 | 4 | 1 row 6 : 10 | john tyler | whig/none | 4 | 0 | 2 | 2 | 4 | 0 row 7 : 13 | millard fillmore | whig | 0 | 3 | 0 | 3 | 3 | 0 row 8 : 15 | james buchanan | democratic | 4 | 0 | 2 | 2 | 4 | 1 row 9 : 16 | abraham lincoln | republican | 4 | 0 | 4 | 0 | 4 | 2 row 10 : 17 | andrew johnson | democratic | 0 | 4 | 0 | 4 | 4 | 0 row 11 : 18 | ulysses grant | republican | 8 | 0 | 6 | 2 | 8 | 2 row 12 : 20 | james garfield | republican | 0 | 0.5 | 0.5 | 0 | 0.5 | 1 row 13 : 21 | chester arthur | republican | 4 | 0 | 2 | 2 | 4 | 0 row 14 : 24 | grover cleveland | democratic | 2 | 2 | 2 | 2 | 4 | 1 row 15 : 25 | william mckinley | republican | 4 | 0 | 4 | 0 | 4 | 2 row 16 : 26 | theodore roosevel | republican | 8 | 0 | 8 | 0 | 8 | 1 row 17 : 27 | william taft | republican | 4 | 0 | 2 | 2 | 4 | 1 row 18 : 28 | woodrow wilson | democratic | 6 | 2 | 6 | 2 | 8 | 2 row 19 : 29 | warren harding | republican | 2 | 0 | 2 | 0 | 2 | 1 row 20 : 30 | calvin coolidge | republican | 6 | 0 | 6 | 0 | 6 | 1 row 21 : 31 | herbert hoover | republican | 4 | 0 | 2 | 2 | 4 | 1 row 22 : 34 | dwight eisenhower | republican | 2 | 6 | 2 | 6 | 8 | 2 row 23 : 36 | lyndon johnson | democratic | 5 | 0 | 5 | 0 | 5 | 1 row 24 : 38 | gerald ford | republican | 0 | 2 | 0 | 2 | 2 | 0 row 25 : 39 | jimmy carter | democratic | 4 | 0 | 4 | 0 | 4 | 1 row 26 : 41 | george h. w. bush | republican | 0 | 4 | 0 | 4 | 4 | 1 row 27 : 42 | bill clinton | democratic | 2 | 6 | 2 | 6 | 8 | 2 row 28 : 43 | george w. bush | republican | 4.5 | 3.5 | 6 | 2 | 8 | 2 row 29 : 44 | barack obama | democratic | 6 | 0 | 2 | 4 | 6 | 2 ] Execute this SQL based on the above table: select count ( house opposed ) where years served >= 1706
0
[ header: squad # | position | player | transferred to | fee | date row 1 : 20 | df | lau nim yat | biu chun rangers | free transfer | 5 june 2012 row 2 : 16 | mf | leung chun pong | guangdong sunray cave | free transfer | 12 june 2012 row 3 : 3 | df | yeo jee-hoon | unattached (released) | None | 9 july 2012 row 4 : 8 | mf | xu deshuai | sun pegasus | free transfer (released) | 9 july 2012 row 5 : 11 | mf | li haiqiang | tuen mun | free transfer (released) | 9 july 2012 row 6 : 22 | fw | giovane alves da sil | biu chun rangers | free transfer (released) | 9 july 2012 row 7 : 23 | gk | zhang chunhui | sunray cave jc sun hei | free transfer (released) | 9 july 2012 row 8 : 26 | mf | chan pak hang | sun pegasus | free transfer (released) | 9 july 2012 row 9 : 7 | fw | chan siu ki | guangdong sunray cave | free transfer (released) | 10 july 2012 row 10 : None | mf | kot cho wai | sunray cave jc sun hei | undisclosed | 16 july 2012 row 11 : 6 | df | wong chin hung | biu chun rangers | free transfer | 9 january 2013 row 12 : 33 | fw | mauro rafael | unattached (released) | free transfer | 1 february 2013 ] Execute this SQL based on the above table: select position order by squad # desc limit 1
fw
[ header: # | title | producer(s) | featured guest(s) | length row 1 : 1 | "intro" | swizzo (of drum squad) | None | 1:41 row 2 : 2 | "interlude" | crown kingz productions (ckp) | None | 2:22 row 3 : 3 | "dem boyz" | nitti | p. diddy | 4:16 row 4 : 4 | "felonies" | jazze pha | None | 5:49 row 5 : 5 | "look" | drumma boy | None | 4:56 row 6 : 6 | "gangstas" | erick sermon | eazy-e | 3:49 row 7 : 7 | "don't put your hands on me" | dj toomp | None | 4:33 row 8 : 8 | "bitches & bizness" | nitti | rick ross (uncredited) | 4:21 row 9 : 9 | "trap niggas" | drumma boy | None | 3:37 row 10 : 10 | "still slizzard" | nitti | None | 5:07 row 11 : 11 | "no talkin" | sanchez | None | 5:25 row 12 : 12 | "happy jamz" | jazze pha | jazze pha | 4:48 row 13 : 13 | "if u a thug | keith mack | None | 5:09 row 14 : 14 | "lay it down" | jasper | None | 4:17 row 15 : 15 | "pussy m.f.' | horace "bubba" mitchell | trick daddy | 4:24 row 16 : 16 | "keep it hood 2nite" | midnight black | None | 3:23 ] Execute this SQL based on the above table: select producer(s) where id = ( select id where producer(s) = 'jazze pha' ) + 1
drumma boy
[ header: wrestler: | times: | date: | location: | notes: row 1 : jonnie stewart | 1 | june 6, 1996 | rochester, minnesota | defeated larry gligorovich to row 2 : king kong bundy | 1 | march 31, 1999 | oshkosh, wiscons | later stripped of the title by owner dale row 3 : the patriot (danny dominion) | 1 | july 29, 2000 | pine bluff, arkansa | defeated dale gagne in an impro row 4 : ricky enrique | 1 | july 29, 2000 | pine bluff, arkansa | None row 5 : eric priest | 1 | june 3, 2001 | hillside, illinois | None row 6 : evan karagias | 1 | march 22, 2002 | casa grande, arizona | None row 7 : horshu | 1 | october 12, 2002 | mercedes, texas | stripped of the title due to missing mandatory title defense row 8 : evan karagias | 2 | july 6, 2003 | lemoore, california | defeated eric priest to win the vac row 9 : steve corino | 1 | june 11, 2005 | bay city, michigan | None row 10 : shinjiro otani | 1 | january 22, 2006 | tokyo, japan | None row 11 : takao omori | 2 | april 1, 2006 | tokyo, japan | None row 12 : ric converse | 1 | june 14, 2006 | indianapolis, indiana | None row 13 : steve corino | 2 | january 7, 2007 | pottstown, pennsyl | on march 23, 2007, corino lost the title row 14 : takao omori | 3 | march 31, 2007 | yokohama, japan | None row 15 : masato tanaka | 1 | october 26, 2007 | tokyo, japan | None row 16 : larry zbyszko | 1 | february 5, 2008 | minneapolis, minnesot | title awarded row 17 : brian logan | None | april 20, 2008 | fayetteville, west virgini | logan defeated zbyszko row 18 : ricky landell | 1 | october 11, 2008 | indianapolis, indiana | title becomes known as the wsl world row 19 : keith walker | 1 | february 21, 2009 | michigan city, indiana | None ] Execute this SQL based on the above table: select count ( notes: )
9