inputs
stringlengths
291
3.71k
targets
stringlengths
1
2.65k
[ header: official name | designation | area km2 | population | parish row 1 : moncton | city | 141.17 | 69074 | moncton row 2 : dieppe | city | 51.17 | 23310 | moncton row 3 : beaubassin east | rural community | 291.04 | 6200 | shediac row 4 : shediac | town | 11.97 | 6053 | shediac row 5 : sackville | town | 74.32 | 5558 | sackville row 6 : memramcook | village | 185.71 | 4831 | dorchester row 7 : cap-pele | village | 23.78 | 2256 | botsford row 8 : salisbury | village | 13.68 | 2208 | salisbury row 9 : petitcodiac | village | 17.22 | 1429 | salisbury row 10 : dorchester | village | 5.74 | 1167 | dorchester row 11 : port elgin | village | 2.61 | 418 | westmorland ] Execute this SQL based on the above table: select official name order by area km2 desc limit 1
beaubassin east
[ header: country | masters | u.s. open | the open | pga | total row 1 : united states | 57 | 80 | 42 | 79 | 258 row 2 : scotland | 1 | 12 | 41 | 0 | 54 row 3 : england | 3 | 8 | 22 | 2 | 35 row 4 : south africa | 5 | 5 | 10 | 2 | 22 row 5 : australia | 1 | 2 | 9 | 4 | 16 row 6 : jersey | 0 | 2 | 7 | 0 | 9 row 7 : spain | 4 | 0 | 3 | 0 | 7 row 8 : northern ireland | 0 | 2 | 2 | 1 | 5 row 9 : argentina | 1 | 1 | 1 | 0 | 3 row 10 : fiji | 1 | 0 | 0 | 2 | 3 row 11 : germany | 2 | 0 | 0 | 1 | 3 row 12 : ireland | 0 | 0 | 2 | 1 | 3 row 13 : zimbabwe | 0 | 0 | 1 | 2 | 3 row 14 : new zealand | 0 | 1 | 1 | 0 | 2 row 15 : canada | 1 | 0 | 0 | 0 | 1 row 16 : france | 0 | 0 | 1 | 0 | 1 row 17 : south korea | 0 | 0 | 0 | 1 | 1 row 18 : wales | 1 | 0 | 0 | 0 | 1 ] Execute this SQL based on the above table: select count ( country )
18
[ header: tie no | home team | score | away team row 1 : 50 | sjomarkens if (d | 1-4 | bk slatta damm ( row 2 : 53 | falkopings fk (d4) | 2-0 | ganghesters sk (d row 3 : 56 | lindas bk (d4) | 1-3 | hultsfreds f row 4 : 58 | bredaryds ik ( | 3-0 | ulricehamns ifk ( row 5 : 59 | hovslatts ik | 0-9 | tidaholms g row 6 : 60 | torpa ais (d4) | 0-2 | bk zeros (d3) row 7 : 61 | fiskeby if (wc) | 2-1 (gg) | vasterviks ff (d4) row 8 : 62 | gnosjo if (d4) | 1-3 | skovde aik (d row 9 : 63 | savsjo ff ( | 5-3 | skillingaryds is (d4) row 10 : 65 | lsw if (d4) | 2-1 | husqvarna ff (d row 11 : 67 | rorviks if (d4) | 0-2 | lunds bk (d2) row 12 : 69 | if eksjo (d4) | 1-4 | kalmar ff (d2) row 13 : 71 | bankeryds sk (d4) | 4-1 | hjulsbro ik ( row 14 : 73 | gullspangs if ( | 0-7 | rynninge ik (d3) row 15 : 74 | skara fc (d4) | 0-4 | karlslunds if ( row 16 : 75 | bratens ik (d4) | 0-4 | vivalla-lundby if row 17 : 76 | finnerodja if(d4) | 3-1 | ifk mariestad (d4) row 18 : 77 | skollersta if (d4) | 1-3 | hemgardarnas bk (d row 19 : 78 | simonstorps if (d4) | 0-5 | nykopings bis (d2) row 20 : 82 | harad if (d4) | 2-3 (gg) | ifk vasteras (d2) row 21 : 83 | kolsva if (d4) | 0-3 | karlstad bk (d row 22 : 85 | ransta ik (d4) | 1-3 | ifk hallsberg (d4) row 23 : 86 | skyllbergs ik (wc | 0-4 | ifk kristinehamn ( row 24 : 87 | filipstads ff (d | 3-1 | kungsors sk ( row 25 : 89 | bk hird (d4) | 0-5 | hargs bk (d2) row 26 : 91 | frovi ik (wc) | 1-9 | skiljebo sk (d row 27 : 95 | new mill ff (wc) | 4-2 | vartans sk (d3) ] Execute this SQL based on the above table: select away team where home team > ( select home team where away team = 'nykopings bis (d2)' ) order by home team asc limit 1
bk slatta damm (d3)
[ header: season | head coach | conf. | overall row 1 : 1940-41 | henry swasey | 3-5 | 9-8 row 2 : 1941-42 | henry swasey | 0-8 | 4-15 row 3 : 1942-43 | henry swasey | 2-6 | 4-14 row 4 : 1945-46 | henry swasey | 0-4 | 3-7 row 5 : 1946-47 | ed stanczyk | 0-5 | 6-11 row 6 : 1947-48 | ed stanczyk | 2-5 | 5-12 row 7 : 1948-49 | ed stanczyk | 2-6 | 7-10 row 8 : 1949-50 | ed stanczyk | 1-5 | 4-11 ] Execute this SQL based on the above table: select count ( head coach )
8
[ header: pos | no. | rider | manufacturer | laps | time/retired | grid | points row 1 : 1 | 75 | mattia pasini | aprilia | 27 | 39:44.091 | 3 | 25 row 2 : 2 | 19 | alvaro bautista | aprilia | 27 | 0.01 | 2 | 20 row 3 : 3 | 52 | lukas pesek | derbi | 27 | 0.111 | 1 | 16 row 4 : 5 | 24 | simone corsi | gilera | 27 | 9.372 | 9 | 11 row 5 : 6 | 1 | thomas luthi | honda | 27 | 10.57 | 13 | 10 row 6 : 7 | 18 | nicolas terol | derbi | 27 | 11.835 | 5 | 9 row 7 : 8 | 36 | mika kallio | ktm | 27 | 11.905 | 4 | 8 row 8 : 9 | 6 | joan olive | aprilia | 27 | 26.017 | 16 | 7 row 9 : 10 | 33 | sergio gadea | aprilia | 27 | 26.172 | 12 | 6 row 10 : 11 | 32 | fabrizio lai | honda | 27 | 26.361 | 6 | 5 row 11 : 12 | 38 | bradley smith | honda | 27 | 26.389 | 14 | 4 row 12 : 13 | 11 | sandro cortese | honda | 27 | 26.48 | 11 | 3 row 13 : 14 | 14 | gabor talmacsi | honda | 27 | 26.606 | 7 | 2 row 14 : 15 | 71 | tomoyoshi koyama | malaguti | 27 | 27.068 | 15 | 1 row 15 : 16 | 54 | randy krummenacher | ktm | 27 | 27.192 | 21 | None row 16 : 18 | 17 | stefan bradl | ktm | 27 | 46.201 | 18 | None row 17 : 19 | 95 | georg frohlich | honda | 27 | 56.274 | 28 | None row 18 : 20 | 35 | raffaele de rosa | aprilia | 27 | 56.549 | 25 | None row 19 : 21 | 26 | vincent braillard | aprilia | 27 | 56.782 | 31 | None row 20 : 23 | 15 | michele pirro | aprilia | 27 | 57.474 | 22 | None row 21 : 24 | 29 | andrea iannone | aprilia | 27 | 57.707 | 20 | None row 22 : 25 | 7 | alexis masbou | malaguti | 27 | +1:04.698 | 37 | None row 23 : 26 | 16 | michele conti | honda | 27 | +1:04.793 | 32 | None row 24 : 28 | 43 | manuel hernandez | aprilia | 27 | +1:17.323 | 30 | None row 25 : 29 | 23 | lorenzo baroni | honda | 27 | +1:17.507 | 26 | None row 26 : 30 | 21 | mateo tunez | aprilia | 27 | +1:20.583 | 29 | None row 27 : 32 | 98 | toni wirsing | honda | 26 | +1 lap | 42 | None row 28 : ret | 44 | karel abraham | aprilia | 16 | retirement | 33 | None row 29 : ret | 13 | dino lombardi | aprilia | 13 | retirement | 41 | None row 30 : ret | 37 | joey litjens | honda | 11 | retirement | 38 | None row 31 : ret | 22 | pablo nieto | aprilia | 9 | retirement | 8 | None ] Execute this SQL based on the above table: select sum ( laps ) where manufacturer != 'honda'
524.0
[ header: player | rec. | yards | avg. | td's | long row 1 : charles frederick | 115 | 1385 | 12 | 27 | 42 row 2 : jerel myers | 104 | 1183 | 11.4 | 21 | 38 row 3 : anthony hines | 58 | 822 | 14.2 | 12 | 39 row 4 : boo williams | 45 | 474 | 10.5 | 17 | 35 row 5 : ira gooch | 24 | 339 | 14.1 | 6 | 32 row 6 : sam simmons | 15 | 197 | 13.1 | 2 | 30 row 7 : kevin beard | 10 | 87 | 8.7 | 0 | 21 row 8 : dawan moss | 7 | 39 | 5.6 | 1 | 12 row 9 : cyron brown | 3 | 17 | 5.7 | 1 | 8 row 10 : larrell johnson | 3 | 14 | 4.7 | 0 | 6 row 11 : jamarr wood | 1 | 13 | 13 | 0 | 13 row 12 : cecil moore | 2 | 9 | 4.5 | 2 | 8 row 13 : raymond philyaw | 1 | -6 | -6 | 0 | -6 ] Execute this SQL based on the above table: select player where yards > 4 and yards > 87
charles frederick, jerel myers, anthony hines, boo williams, ira gooch, sam simmons
[ header: year | competition | venue | position | event | notes row 1 : 2002 | central american and caribbean junior championships | bridgetown, barbados | 1st | 5 km | 21:24.33 cr row 2 : 2004 | central american and caribbean junior championships | coatzacoalcos, mexico | 1st | 10 km | 43:22.0 row 3 : 2004 | world junior championships | grosseto, italy | 4th | 10 km | 41:01.6 row 4 : 2005 | world championships | helsinki, finland | 8th | 20 km | 1:20:45 row 5 : 2006 | central american and caribbean games | cartagena, colombia | 2nd | 20 km | 1:26:30 row 6 : 2007 | world championships | osaka, japan | 4th | 20 km | 1:23:36 row 7 : 2008 | olympic games | beijing, pr china | 15th | 20 km | 1:21:53 row 8 : 2009 | world championships | berlin, germany | 3rd | 20 km | 1:19:22 row 9 : 2010 | central american and caribbean games | mayaguez, puerto ric | 1st | 20 km | 1:22:32 gr row 10 : 2011 | world championships | daegu, korea | 15th | 20 km | 1:23:05 row 11 : 2011 | pan american games | guadalajara, me | 6th | 20 km | 1:25:00 ] Execute this SQL based on the above table: select sum ( year ) where venue = 'cartagena, colombia'
2006
[ header: province | capital | population | density | municipalities | legal districts row 1 : almeria | almeria | 702819 | 72.5 /km2 (188 / | 102 municipalities | 8 row 2 : cadiz | cadiz | 1243519 | 158.8 /km2 (411 | 44 municipalities | 14 row 3 : cordoba | cordoba | 805857 | 72.4 /km2 (188 / | 75 municipalities | 12 row 4 : granada | granada | 924550 | 68.7 /km2 (178 | 169 municipalities | 9 row 5 : huelva | huelva | 521968 | 47.7 /km2 (124 | 79 municipalities | 6 row 6 : jaen | jaen | 670600 | 49.1 /km2 (127 | 97 municipalities | 10 row 7 : malaga | malaga | 1625827 | 204.1 /km2 (529 / | 101 municipalities | 11 row 8 : seville | seville | 1928962 | 129.2 /km2 (335 | 105 municipalities | 15 ] Execute this SQL based on the above table: select count ( * ) where province = 'jaen'
1
[ header: painter | composition | drawing | color | expression row 1 : andrea del sarto | 12 | 16 | 9 | 8 row 2 : federico barocci | 14 | 15 | 6 | 10 row 3 : jacopo bassano | 6 | 8 | 17 | 0 row 4 : giovanni bellini | 4 | 6 | 14 | 0 row 5 : sebastian bourdon | 10 | 8 | 8 | 4 row 6 : charles le brun | 16 | 16 | 8 | 16 row 7 : i carracci | 15 | 17 | 13 | 13 row 8 : cavalier d'arpino | 10 | 10 | 6 | 2 row 9 : correggio | 13 | 13 | 15 | 12 row 10 : daniele da volterra | 12 | 15 | 5 | 8 row 11 : abraham van diepenbeeck | 11 | 10 | 14 | 6 row 12 : il domenichino | 15 | 17 | 9 | 17 row 13 : albrecht durer | 8 | 10 | 10 | 8 row 14 : giorgione | 8 | 9 | 18 | 4 row 15 : giovanni da udine | 10 | 8 | 16 | 3 row 16 : giulio romano | 15 | 16 | 4 | 14 row 17 : guercino | 18 | 10 | 10 | 4 row 18 : guido reni | x | 13 | 9 | 12 row 19 : holbein | 9 | 10 | 16 | 3 row 20 : jacob jordaens | 10 | 8 | 16 | 6 row 21 : lucas jordaens | 13 | 12 | 9 | 6 row 22 : giovanni lanfranco | 14 | 13 | 10 | 5 row 23 : leonardo da vinci | 15 | 16 | 4 | 14 row 24 : lucas van leyden | 8 | 6 | 6 | 4 row 25 : michelangelo | 8 | 17 | 4 | 8 row 26 : caravaggio | 6 | 6 | 16 | 0 row 27 : murillo | 6 | 8 | 15 | 4 row 28 : otho venius | 13 | 14 | 10 | 10 row 29 : palma il vecchio | 5 | 6 | 16 | 0 row 30 : palma il giovane | 12 | 9 | 14 | 6 row 31 : il parmigianino | 10 | 15 | 6 | 6 row 32 : gianfrancesco penni | 0 | 15 | 8 | 0 row 33 : perin del vaga | 15 | 16 | 7 | 6 row 34 : sebastiano del piombo | 8 | 13 | 16 | 7 row 35 : primaticcio | 15 | 14 | 7 | 10 row 36 : raphael | 17 | 18 | 12 | 18 row 37 : rembrandt | 15 | 6 | 17 | 12 row 38 : rubens | 18 | 13 | 17 | 17 row 39 : francesco salviati | 13 | 15 | 8 | 8 row 40 : eustache le sueur | 15 | 15 | 4 | 15 row 41 : teniers | 15 | 12 | 13 | 6 row 42 : pietro testa | 11 | 15 | 0 | 6 row 43 : tintoretto | 15 | 14 | 16 | 4 row 44 : titian | 12 | 15 | 18 | 6 row 45 : van dyck | 15 | 10 | 17 | 13 row 46 : vanius | 15 | 15 | 12 | 13 row 47 : veronese | 15 | 10 | 16 | 3 row 48 : taddeo zuccari | 13 | 14 | 10 | 9 row 49 : federico zuccari | 10 | 10 | 8 | 8 ] Execute this SQL based on the above table: select count ( drawing ) where composition >= 1995
0
[ header: tournament | 2000 | 2001 | 2002 | 2003 | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 | 2010 | 2011 | 2012 | sr | w-l row 1 : australian open | a | a | 1r | a | 2r | 3r | 2r | 3r | w | 2r | 1r | 2r | 1r | 1 / 10 | 13-9 row 2 : french open | a | a | a | a | 3r | a | 2r | 3r | 3r | 1r | sf | 1r | 2r | 0 / 8 | 12-8 row 3 : wimbledon | a | 2r | a | sf | 1r | 3r | 3r | 2r | qf | 3r | 3r | 1r | 2r | 0 / 11 | 17-11 row 4 : us open | a | 1r | a | 1r | 1r | qf | 3r | 3r | 2r | sf | 1r | 2r | 2r | 0 / 11 | 14-11 row 5 : win-loss | 0-0 | 1-2 | 0-1 | 4-2 | 3-4 | 5-3 | 6-4 | 7-4 | 12-3 | 7-4 | 6-4 | 2-4 | 3-4 | 1 / 40 | 56-39 row 6 : indian wells | a | a | a | a | 2r | 2r | 1r | f | w | f | qf | 2r | None | 1 / 8 | 17-7 row 7 : miami | a | a | a | a | 2r | qf | sf | 1r | 1r | w | 1r | qf | None | 1 / 8 | 13-7 row 8 : monte carlo | a | a | a | a | 2r | a | 2r | 2r | qf | qf | 1r | 1r | None | 0 / 7 | 2-7 row 9 : rome | a | a | a | a | 1r | 1r | f | 2r | 2r | qf | 1r | a | None | 0 / 7 | 4-7 row 10 : madrid (stuttgart | a | a | a | a | 1r | 1r | qf | 1r | 1r | 2r | qf | 1r | None | 0 / 8 | 3-8 row 11 : canada | a | a | a | a | qf | f | 2r | sf | 2r | f | 2r | a | None | 0 / 7 | 10-7 row 12 : cincinnati | a | a | a | a | qf | 1r | sf | w | f | 2r | qf | a | None | 1 / 7 | 13-6 row 13 : shanghai | not held | not held | not held | not held | not held | not held | not held | not held | not held | 2r | 1r | a | None | 0 / 2 | 1-2 row 14 : paris | a | a | a | a | a | qf | 1r | 1r | qf | 2r | f | 1r | None | 0 / 7 | 6-7 row 15 : hamburg | a | a | a | a | 1r | 1r | qf | sf | 2r | nm1 | nm1 | nm1 | nm1 | 0 / 5 | 3-5 row 16 : win-loss | 0-0 | 0-0 | 0-0 | 0-0 | 6-8 | 8-8 | 10-9 | 12-8 | 10-8 | 15-8 | 8-9 | 3-5 | None | 3 / 66 | 66-63 ] Execute this SQL based on the above table: select count ( tournament ) where 2004 != '1r'
11
[ header: institution | location | nickname | founded | type | enrollment | joined row 1 : aib college of business | des moines, iowa | eagles | 1921 | private | 1000 | 2010 row 2 : clarke university | dubuque, iowa | crusaders | 1843 | private/roman catholic | 1230 | 19881 row 3 : grand view university | des moines, iowa | vikings | 1896 | private/lutheran (elca | 1750 | 1989 row 4 : mount mercy university | cedar rapids, iowa | mustangs | 1928 | private/roman catholic | 1490 | 1988 row 5 : saint ambrose university | davenport, iowa | fighting bees (men's) queen | 1882 | private/roman catholic | 3623 | 1990 row 6 : viterbo university | la crosse, wisconsin | v-hawks | 1923 | private/roman catholic | 2991 | 1988 row 7 : william penn university | oskaloosa, iowa | statesmen (men's) lady statesmen | 1873 | private/quaker | 1550 | 2001 ] Execute this SQL based on the above table: select count ( * ) where institution = 'grand view university'
1
[ header: | code | symbol | name | value row 1 : 🚹 | u+1f6b9 | 🚹 | mens symbol | men's restroom row 2 : 🚺 | u+1f6ba | 🚺 | womens symbol | women's restroom row 3 : 🚻 | u+1f6bb | 🚻 | restroom | restrooms or unisex restroom row 4 : 🚼 | u+1f6bc | 🚼 | baby symbol | baby changing station row 5 : ♿ | u+267f | ♿ | wheelchair symbol | disabled accessible facilities row 6 : 🚽 | u+1f6bd | 🚽 | toilet | restroom row 7 : 🚾 | u+1f6be | 🚾 | water closet | restroom with flush toilet row 8 : 🚿 | u+1f6bf | 🚿 | shower | shower facilities row 9 : 🛀 | u+1f6c0 | 🛀 | bath | bathing facilities row 10 : 🛁 | u+1f6c1 | 🛁 | bathtub | bath facilities ] Execute this SQL based on the above table: select code group by code order by count ( * ) desc limit 1
u+267f
[ header: team #1 | agg. | team #2 | 1st match | 2nd match row 1 : topolniky | 51 - 25 | union landhaus | 28 - 14 | 23 - 11 row 2 : svendborg | 41 - 30 | goteborgs kvinnliga | 17 - 15 | 24 - 15 row 3 : tresnjevka | 45 - 46 | sekulic sombor | 19 - 19 | 26 - 27 row 4 : avtomobilist baku | 62 - 37 | ayete | 25 - 15 | 37 - 22 row 5 : bakony vegyesz | 57 - 19 | zurich | 31 - 9 | 26 - 10 row 6 : avanti lebbeke | 23 - 35 | niloc amsterdam | 5 - 19 | 18 - 16 row 7 : engelskirchen | 27 - 34 | vestar | 15 - 15 | 12 - 19 row 8 : empor rostock | 70 - 19 | conflans | 40 - 8 | 30 - 11 ] Execute this SQL based on the above table: select agg. group by agg. order by count ( * ) desc limit 1
70 - 19
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | soviet union (urs) | 4 | 1 | 6 | 11 row 2 : 2 | yugoslavia (yu | 2 | 0 | 1 | 3 row 3 : 3 | west germany (frg) | 1 | 1 | 1 | 3 row 4 : 4 | bulgaria (bul) | 1 | 1 | 0 | 2 row 5 : 4 | czechoslovakia (t | 1 | 1 | 0 | 2 row 6 : 4 | east germany (gdr) | 1 | 1 | 0 | 2 row 7 : 4 | great britain (gbr) | 1 | 1 | 0 | 2 row 8 : 8 | norway (nor) | 1 | 0 | 0 | 1 row 9 : 8 | romania (rou) | 1 | 0 | 0 | 1 row 10 : 10 | china (chn) | 0 | 1 | 1 | 2 row 11 : 11 | chile (chi) | 0 | 1 | 0 | 1 row 12 : 11 | france (fra) | 0 | 1 | 0 | 1 row 13 : 11 | japan (jpn) | 0 | 1 | 0 | 1 row 14 : 11 | south korea (kor) | 0 | 1 | 0 | 1 row 15 : 11 | sweden (swe) | 0 | 1 | 0 | 1 row 16 : 11 | united states (usa) | 0 | 1 | 0 | 1 row 17 : 17 | hungary (hun) | 0 | 0 | 2 | 2 row 18 : 18 | belgium (bel) | 0 | 0 | 1 | 1 row 19 : 18 | spain (esp) | 0 | 0 | 1 | 1 row 20 : total | total | 13 | 13 | 13 | 39 ] Execute this SQL based on the above table: select nation order by gold desc limit 1
total
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 10 october 2004 | estadio cuscatlan, | el salvador | 2-0 | 2-0 | 2006 fifa world cup qualification row 2 : 2 | 13 october 2004 | rfk stadium, washington, | panama | 3-0 | 6-0 | 2006 fifa world cup qualification row 3 : 3 | 13 october 2004 | rfk stadium, washington, | panama | 4-0 | 6-0 | 2006 fifa world cup qualification row 4 : 4 | 13 october 2004 | rfk stadium, washington, | panama | 5-0 | 6-0 | 2006 fifa world cup qualification row 5 : 5 | 17 november 2004 | columbus crew stadium, columbus, | jamaica | 1-0 | 1-1 | 2006 fifa world cup qualification row 6 : 6 | 9 february 2005 | queen's park oval, port of spain | trinidad and tobago | 1-0 | 2-1 | 2006 fifa world cup qualification row 7 : 7 | 19 march 2005 | university stadium, albuquerque, united | honduras | 1-0 | 1-0 | friendly row 8 : 8 | 30 march 2005 | legion field, birmingham, united | guatemala | 1-0 | 2-0 | 2006 fifa world cup qualification row 9 : 9 | 19 february 2006 | pizza hut park, frisco, united states | guatemala | 3-0 | 4-0 | friendly row 10 : 10 | 9 june 2007 | the home depot center, carson, united states | trinidad and tobago | 2-0 | 2-0 | 2007 concacaf gold cup row 11 : 11 | 28 june 2007 | estadio jose pachencho | argentina | 1-0 | 1-4 | 2007 copa america row 12 : 12 | 15 june 2008 | the home depot center, carson, united states | barbados | 6-0 | 8-0 | 2010 fifa world cup qualification row 13 : 13 | 12 october 2012 | sir vivian richards stadium | antigua and barbuda | 1-0 | 2-1 | 2014 fifa world cup qualification row 14 : 14 | 12 october 2012 | sir vivian richards stadium | antigua and barbuda | 2-1 | 2-1 | 2014 fifa world cup qualification row 15 : 15 | 12 june 2013 | centurylink field, seattle, united states | panama | 2-0 | 2-0 | 2014 fifa world cup qualification row 16 : 16 | 21 july 2013 | m&t bank stadium, balti | el salvador | 3-1 | 5-1 | 2013 concacaf gold cup row 17 : 17 | 24 july 2013 | cowboys stadium, arlington, united | honduras | 1-0 | 3-1 | 2013 concacaf gold cup row 18 : 18 | 14 august 2013 | asim ferhatovic hase stadium, | bosnia and herzegovin | 1-2 | 4-3 | friendly row 19 : 19 | 10 september 2013 | columbus crew stadium, columbus, | mexico | 1-0 | 2-0 | 2014 fifa world cup qualification ] Execute this SQL based on the above table: select count ( distinct result )
11
[ 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 ( share of seats ) where election > 1288
8
[ header: season | club | country | competition | apps. | goals row 1 : 1997/98 | rapide club lebbeke | belgium | fourth division | None | None row 2 : 1998/99 | ksc eendracht a | belgium | jupiler league | 30 | 7 row 3 : 1999/00 | ksc eendracht a | belgium | jupiler league | 31 | 7 row 4 : 2000/01 | ksc eendracht a | belgium | jupiler league | 30 | 6 row 5 : 2001/02 | omonia nicosia | cyprus | cypriot first division | 22 | 8 row 6 : 2002/03 | fc denderleeuw | belgium | belgian second division | 32 | 23 row 7 : 2003/04 | 1. fc saarbrucken | germany | regionalliga sud | 33 | 16 row 8 : 2004/05 | 1. fc saarbrucken | germany | 2. bundesliga | 14 | 7 row 9 : 2005/06 | 1. fc saarbrucken | germany | 2. bundesliga | 10 | 0 row 10 : 2005/06 | s.v. zulte | belgium | jupiler league | 14 | 1 row 11 : 2006/07 | fcv dender eh | belgium | belgian second division | 33 | 21 row 12 : 2007/08 | mvv | netherlands | eerste divisie | 33 | 22 row 13 : 2008/09 | mvv | netherlands | eerste divisie | 32 | 20 row 14 : total | None | None | None | 302 | 132 ] Execute this SQL based on the above table: select count ( country ) where goals = 0
1
[ header: rank | title | studio | director | actors | gross row 1 : 1 | the sound of music | 20th century fox | robert wise | julie andrews, christ | $163,214,286 row 2 : 2 | doctor zhivago | metro-goldwyn-mayer | david lean | omar sharif, ju | $111,721,910 row 3 : 4 | those magnificent men in their flying machines | 20th century fox | ken annakin | stuart whitman, sara | $31,111,111 row 4 : 8 | what's new pussycat? | united artists | clive donner | peter sellers, peter o'tool | $18,820,000 row 5 : 9 | shenandoah | universal pictures | andrew v. mclagle | james stewart, doug | $17,268,889 row 6 : 10 | von ryan's express | 20th century fox | mark robson | frank sinatra, trevor | $17,111,111 row 7 : 12 | for a few dollars more | united artists | sergio leone | clint eastwood, lee van | $15,000,000 row 8 : 13 | the sandpiper | metro-goldwyn-mayer | vincente minnelli | elizabeth tay | $13,691,111 row 9 : 16 | help! | united artists | richard lester | john lennon, paul | $12,066,667 row 10 : 19 | the agony and the ecsta | 20th century fox | carol reed | charlton heston, rex | $8,000,000 ] Execute this SQL based on the above table: select abs ( ( select gross where title = 'the sound of music' ) - ( select gross where title = 'shenandoah' ) )
145945397.0
[ header: rank | name | height ft / m | floors | year | notes row 1 : 1 | rhodes state office tower | 629 / 192 | 41 | 1973 | has been the tallest building in columbus row 2 : 2 | leveque tower | 555 / 169 | 47 | 1927 | tallest building constructed in columbus in the row 3 : 3 | william green building | 530 / 162 | 33 | 1990 | tallest building constructed in columbus in the row 4 : 4 | huntington center | 512 / 156 | 37 | 1984 | tallest building constructed in columbus in the row 5 : 5 | vern riffe state office tower | 503 / 153 | 32 | 1988 | None row 6 : 6 | one nationwide plaza | 485 / 148 | 40 | 1976 | None row 7 : 7 | franklin county courthouse | 464 / 141 | 27 | 1991 | None row 8 : 8 | aep building | 456 / 139 | 31 | 1983 | None row 9 : 9 | borden building | 438 / 134 | 34 | 1974 | None row 10 : 10 | three nationwide plaza | 408 / 124 | 27 | 1989 | None row 11 : 11 | one columbus center | 366 / 112 | 26 | 1987 | None row 12 : 12 | columbus center | 357 / 109 | 25 | 1964 | tallest building constructed in columbus in the row 13 : 13 | capitol square | 350 / 107 | 26 | 1984 | None row 14 : 14 | continental center | 348 / 106 | 26 | 1973 | None row 15 : 15 | pnc bank building | 317 / 97 | 25 | 1977 | None row 16 : 16 | miranova condominiums | 314 / 96 | 26 | 2001 | tallest residential building in the state of o row 17 : 17 | fifth third center | 302 / 92 | 25 | 1998 | None row 18 : 18 | motorists mutual building | 286 / 87 | 21 | 1973 | None row 19 : 19 | midland building | 280 / 85 | 21 | 1970 | None row 20 : 20 | the condominiums at north bank park | 267 / 81 | 20 | 2007 | None row 21 : 21= | lincoln tower dormitory | 260 / 79 | 26 | 1967 | None row 22 : 21= | morrill tower dormitory | 260 / 79 | 26 | 1967 | None row 23 : 23 | hyatt regency columbus | 256 / 78 | 20 | 1980 | None row 24 : 24 | key bank building | 253 / 77 | 20 | 1963 | None row 25 : 25 | adam's mark hotel | 243 / 74 | 16 | 1961 | None row 26 : 26 | town center | 226 / 69 | 17 | 1974 | None row 27 : 27 | 8 east broad street | 212 / 64.6 | 17 | 1906 | None row 28 : 28 | huntington building | 202 / 59.4 | 13 | 1926 | None row 29 : 29 | ohio judicial center | 200 / 57.9 | 14 | 1933 | None row 30 : 30 | 16 east broad street | 180 / 64.4 | 13 | 1900 | None ] Execute this SQL based on the above table: select name where name <= 'leveque tower' order by year asc limit 1
16 east broad street
[ header: draft order round | draft order choice | player | position | height | weight | college row 1 : 1 | 1 | matthew stafford | qb | 6 ft 2 in (1.88 | 223 lb (101 kg) | georgia row 2 : 1 | 20 | brandon pettigrew | te | 6 ft 5 in (1.96 | 263 lb (119 kg) | oklahoma state row 3 : 2 | 33 | louis delmas | s | 5 ft 11 in (1.80 | 202 lb (92 kg) | western michigan row 4 : 3 | 76 | deandre levy | olb | 6 ft 2 in (1.88 | 236 lb (107 kg) | wisconsin row 5 : 3 | 82 | derrick williams | wr | 5 ft 11 in (1.80 | 197 lb (89 kg) | penn state row 6 : 4 | 115 | sammie lee hill | dt | 6 ft 4 in (1.93 | 329 lb (149 kg) | stillman row 7 : 6 | 192 | aaron brown | rb | 6 ft 1 in (1.85 | 196 lb (89 kg) | texas christian row 8 : 7 | 228 | lydon murtha | ot | 6 ft 7 in (2.01 | 315 lb (143 kg) | nebraska row 9 : 7 | 235 | zack follett | olb | 6 ft 1 in (1.85 | 238 lb (108 kg) | california row 10 : 7 | 255 | dan gronkowski | te | 6 ft 6 in (1.98 | 255 lb (116 kg) | maryland ] Execute this SQL based on the above table: select height where college = 'texas christian'
6 ft 1 in (1.85 m)
[ 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 album where year = 1992
change your world released: september 1, 1992 label: reunion format: cd
[ header: name | elected party | constituency | elected date | military service row 1 : john pallett | progressive conservative | peel | march 22, 1954 | canadian army (1942-1946) row 2 : william albert patterson | conservative | colchester | march 5, 1891 | militia row 3 : william hector payne | progressive conservative | coast-capilano | march 31, 1958 | canadian army (1941-1945) row 4 : george randolph pearkes | progressive conservative | nanaimo | june 11, 1945 | canadian army (1915-1945) row 5 : lester bowles pearson | liberal | algoma east | october 25, 1948 | canadian army (1914-1917), royal row 6 : cyrus wesley peck | unionist | skeena | december 17, 1917 | canadian army (1914-1925) row 7 : charles alphonse pantaleon | liberal | kamouraska | february 17, 1869 | militia row 8 : irenee pelletier | liberal | sherbrooke | october 30, 1972 | royal canadian air force (1960-1962 row 9 : louis-philippe pelletier | conservative | quebec county | september 21, 1911 | militia row 10 : lawrence t. pennell | liberal | brant-haldimand | june 18, 1962 | royal canadian air force row 11 : robert pennock | progressive conservative | etobicoke north | september 4, 1984 | canadian army (1951-1952), royal row 12 : arnold peters | cooperative commonwealth federation | timiskaming | june 10, 1957 | royal canadian air force (1942-1945 row 13 : orville h. phillips | progressive conservative | prince | june 10, 1957 | royal canadian air force (1942-1945 row 14 : elmore philpott | liberal | vancouver south | august 10, 1953 | canadian army (1915-1919) row 15 : bernard pilon | liberal | chambly-rouville | june 18, 1962 | canadian army (1941-1945) row 16 : alfred pinsonneault | conservative | laprairie | september 20, 1867 | militia (1855-1862) row 17 : d'arcy britton plu | conservative | victoria | december 6, 1928 | royal flying corps row 18 : william albert pommer | liberal | lisgar | august 10, 1953 | canadian army row 19 : john henry pope | liberal-conservative | compton | september 20, 1867 | militia row 20 : john poupore | conservative | pontiac | september 17, 1878 | militia (1869-) row 21 : charles gavan power | liberal | quebec south | december 17, 1917 | canadian army (1915-1918) row 22 : russ powers | liberal | ancaster--dundas-- | june 28, 2004 | canadian forces land force command row 23 : david price | progressive conservative | compton-stanstead | june 2, 1997 | canadian army (1959-1965) row 24 : william price | conservative | quebec west | october 26, 1908 | canadian army row 25 : robert william pritt | new democratic | burnaby-richmond | june 18, 1962 | royal canadian air force (1938-1945 row 26 : john oliver probe | cooperative commonwealth federation | regina city | june 11, 1945 | canadian army (1941-1944) ] Execute this SQL based on the above table: select elected party where elected party > ( select elected party where elected party = 'conservative' ) order by elected party limit 1
cooperative commonwealth federation
[ header: title | release | genre | computer | console | handheld | smartphone row 1 : bionicle heroes | 2006 | third-person shooter | windows | playstation 2, gamecube, xbox | nintendo ds | None row 2 : bionicle: matoran adventures | 2002 | platformer | None | None | game boy advance | None row 3 : bionicle: maze of shadows | 2005 | turn based rpg | None | None | game boy advance | None row 4 : bionicle: the game | 2003 | adventure | windows, os x | playstation 2, gamecube, xbox | game boy advance | None row 5 : drome racers | 2002 | racing | windows | playstation 2, gamecube, xbox | game boy advance | None row 6 : island xtreme stunts | 2002 | action-adventure | windows | playstation 2 | game boy advance | None row 7 : lego alpha team | 2000 | action | windows | None | game boy color | None row 8 : lego battles | 2009 | real-time strategy | None | None | nintendo ds | None row 9 : lego battles: ninjago | 2011 | real-time strategy | None | None | nintendo ds | ios row 10 : lego chess | 1998 | strategy | windows | None | None | None row 11 : lego city undercover | 2013 | open world, platform game | None | wii u | None | None row 12 : lego city undercover: the chase begins | 2013 | open world, platform game | None | None | nintendo 3ds | None row 13 : lego creationary | 2011 | puzzle | None | None | None | ios, android row 14 : lego creator: knights kingdom | 2000 | construction and management simulation | windows | None | None | None row 15 : lego friends | 2013 | miscellaneous | None | None | nintendo ds, | None row 16 : lego island | 1997 | action-adventure | windows | None | None | None row 17 : lego island 2 the brickster's revenge | 2001 | action-adventure | windows | playstation | game boy color, game boy advance | None row 18 : lego knights' kingdom | 2004 | action-adventure | None | None | game boy advance | None row 19 : lego legends of chima online | 2014 | massively multiplayer online (mmo) | windows | None | None | None row 20 : lego legends of chima: speed | 2013 | racing | windows | None | None | ios row 21 : lego loco | 1998 | virtual world | windows | None | None | None row 22 : lego minifigures online | 2014 | massively multiplayer online (mmo) | windows | None | None | ios, android row 23 : lego my style kindergarten | 2000 | educational | windows, mac os | None | None | None row 24 : lego my style preschool | 2000 | educational | windows, mac os | None | None | None row 25 : lego ninjago: the final | 2013 | platformer | windows | None | None | None row 26 : lego racers | 1999 | racing | windows | playstation, nintendo 64 | game boy color | None row 27 : lego racers 2 | 2001 | racing | windows | playstation 2 | game boy advance | None row 28 : lego rock raiders | 1999 | real-time strategy, action | windows | playstation | None | None row 29 : lego soccer mania | 2002 | sport | windows | playstation 2 | game boy advance | None row 30 : lego stunt rally | 2000 | racing | windows | None | game boy color | None row 31 : lego universe | 2010 | massively multiplayer online (mmo) | windows, os x | None | None | None row 32 : legoland | 1999 | simulation strategy | windows | None | None | None ] Execute this SQL based on the above table: select computer where title = 'lego legends of chima online'
windows
[ header: no. | date/time | aircraft | foe | result | location | notes row 1 : u/c | 14 june 1917 | nieuport 17 | enemy aircraft | None | mount verena | victory originally confirmed, but disallowed postwar row 2 : 1 | 25 october 1917 @ 0800 | None | enemy aircraft | forced to land | marcesina | None row 3 : 2 | 7 november 1917 circa 1615 hours | None | enemy aircraft | forced to land | fonsazo | awarded silver medal for military valor row 4 : 3 | 7 december 1917 @ 1130 hours | None | enemy aircraft | None | val d'assa | None row 5 : 4 | 13 december 1917 ca. 1130 hours | None | enemy aircraft | None | asiago | None row 6 : 5 | 30 january 1918 @ 1000 hours | None | enemy two-seater | None | col d'eshele, | awarded silver medal for military valor row 7 : u/c | 4 february 1918 ca. 1100 hours | None | black enemy fighter craft | None | valstagna | claim shared with antonio reali row 8 : 6 | 5 february 1918 ca. 0830 hours | None | enemy two-seater | forced to land | case girardi | shared with marziale cerutti row 9 : 7 | 13 february 1918 @ 0915 hours | None | enemy fighter | None | marcesina | None row 10 : u/c | 24 february 1918 | None | enemy aircraft | None | mount grappa | None row 11 : 8 | 4 may 1918 @ 0850 hours | nieuport 27 | enemy aircraft | None | montello | austro-hungarians reported no matching loss row 12 : 9 | 4 may 1918 @ 1025 hours | nieuport 27 | enemy fighter | None | montello | austro-hungarians reported no matching loss ] Execute this SQL based on the above table: select aircraft where no. > 8
nieuport 27
[ header: artist | song | soundtrack | episode(s) | notes row 1 : the 88 | "hide another mistake" | None | 3.01 | row 2 : alexi murdoch | "all my days" | None | 4.03 | row 3 : april march | "garcon glacon" | None | 4.11 | row 4 : athlete | "tourist" | None | 2.12 | row 5 : beulah | "popular mechanics for lovers" | mix 2 | 1.15 | row 6 : bloc party | "i still remember" | None | 4.14 | row 7 : the bravery | "an honest mistake" | None | 2.24 | row 8 : carmen rizzo (featuring | "travel in time" | None | 3.07 | row 9 : cham pain | "show me" | None | 1.01 | row 10 : clearlake | "good clean fun" (nobody remix | None | 4.06 | row 11 : cobra verde | "get the party started" | None | 3.02 | row 12 : cobra verde | "waiting for a girl like you" | None | 3.17 | row 13 : damien rice | "cannonball" | None | 1.17 | row 14 : death cab for cutie | "a movie script ending" | None | 1.07, 2.20 | row 15 : death cab for cutie | "the sound of settling" | None | 2.2 | row 16 : firstcom | "hannukah lights" | None | 1.13 | row 17 : firstcom | "silent night" | None | 1.13, 3.10 | row 18 : the go find | "summer quest" | None | 2.11 | row 19 : guster | "keep it together" | None | 1.08 | row 20 : ian broudie | "song for no one" | None | 3.01 | row 21 : imogen heap | "hide and seek" | mix 5 | 2.24 | row 22 : the invisible men | "make it bounce" | None | 3.09 | row 23 : james horner | "sing, sing, sing, (with | None | 1.03 | row 24 : jet | "shine on" | None | 4.16 | row 25 : jimmy eat world | "last christmas" | mix 3 | None | row 26 : journey | "open arms" | None | 2.08 | row 27 : juana molina | "tres cosas" | None | 2.2 | row 28 : the long winters | "christmas with you is best" | mix 3 | None | row 29 : love as laughter | "dirty lives" | None | 2.23 | row 30 : the m's | "come into our room" (clinic | mix 6 | None | row 31 : mastersource | "something for you" | None | 1.21 | row 32 : mastersource | "walkin' the walk" | None | 1.21 | row 33 : pennywise | "knocked down" | None | 3.06 | row 34 : the pogues | "love you 'till the end | None | 4.04 | row 35 : poster children | "western springs" | None | 2.1 | row 36 : ranchera all stars | "pa todo el an | None | 4.04 | row 37 : the shins | "turn on me" | None | 4.1 | row 38 : soledad brothers | "cage that tiger" | None | 2.22 | row 39 : youth group | "start today tomorrow" | None | 4.13 | ] Execute this SQL based on the above table: select song where artist = 'beulah'
"popular mechanics for lovers"
[ header: # | employer | # of employees row 1 : 1 | medline | 1200 row 2 : 2 | mundelein park district | 422 row 3 : 3 | amcor | 350 row 4 : 4 | fremont school district 79 | 287 row 5 : 5 | university of saint mary of the lake | 220 row 6 : 6 | mundelein elementary school district 75 | 213 row 7 : 7 | mundelein high school | 211 row 8 : 8 | village of mundelein | 183 ] Execute this SQL based on the above table: select # order by employer desc limit 1
8
[ header: season | club | league | apps | goals row 1 : 2003-04 | podgrmec | fbih first league | 23 | 16 row 2 : 2004-05 | nk zagreb | prva hnl | 26 | 3 row 3 : 2005-06 | nk zagreb | prva hnl | 25 | 3 row 4 : 2006-07 | nk zagreb | prva hnl | 17 | 4 row 5 : 2007-08 | nk zagreb | prva hnl | 31 | 12 row 6 : 2008-09 | hajduk split | prva hnl | 30 | 12 row 7 : 2009-10 | hajduk split | prva hnl | 29 | 17 row 8 : 2010-11 | hajduk split | prva hnl | 17 | 6 row 9 : 2011-12 | lokomotiv | rfpl | 28 | 4 row 10 : 2012-13 | gaziantepspor | super lig | 1 | 1 ] Execute this SQL based on the above table: select club where id = ( select id where club = 'lokomotiv' ) + 1
gaziantepspor
[ header: sheriff | start of term row 1 : josiah hobart | 1683 row 2 : john mulford | 1701 row 3 : hugh gray | 1702 row 4 : john brush | 1710 row 5 : daniel youngs | 1718 row 6 : samuel dayton | 1723 row 7 : william sell | 1728 row 8 : joseph smith | 1730 row 9 : david corrie | 1731 row 10 : jacob conklin | 1734 row 11 : thomas higbe | 1740 row 12 : james muirson | 1774 row 13 : thomas wickes | 1785 row 14 : silas halsey | 1787 row 15 : thomas wickes | 1791 row 16 : phinaes carll | 1799 row 17 : josiah reeve | 1803 row 18 : phinaes smith | 1807 row 19 : josiah reeve | 1808 row 20 : benjamin brewster | 1810 row 21 : josiah reeve | 1811 row 22 : benjamin brewster | 1812 row 23 : nathaniel conklin | 1814 row 24 : josiah reeve | 1815 row 25 : samuel smith | 1826 row 26 : abraham gardiner | 1829 row 27 : richard smith | 1832 row 28 : silas horton | 1835 row 29 : samuel miller | 1838 row 30 : david brush | 1841 row 31 : henry penny | 1844 row 32 : david rose | 1847 row 33 : john clark | 1850 row 34 : samuel phillips | 1855 row 35 : george carman | 1856 row 36 : daniel osborn | 1862 row 37 : george smith | 1868 row 38 : j. henry perkins | 1871 row 39 : egbert lewis | 1874 row 40 : george cooper | 1877 row 41 : robert petty | 1888 row 42 : selah brewster | 1883 row 43 : henry halsey | 1886 row 44 : robert petty | 1888 row 45 : a. m. darling | 1891 row 46 : benjamin wood | 1897 row 47 : j. sheridan wells | 1900 row 48 : henry preston | 1903 row 49 : john wells | 1906 row 50 : charles platt | 1909 row 51 : melville brush | 1912 row 52 : d. henry brown | 1913 row 53 : charles o'dell | 1914 row 54 : john kelly | 1920 row 55 : amza biggs | 1923 row 56 : burton howe | 1926 row 57 : ellis taylor | 1929 row 58 : joseph warta | 1932 row 59 : william mccollom | 1935 row 60 : jacob dreyer | 1938 row 61 : john levy | 1941 row 62 : william mccollom | 1942 row 63 : charles dominy | 1957 row 64 : frank gross | 1962 row 65 : philip corso | 1970 row 66 : donald dilworth | 1976 row 67 : john finnerty | 1977 row 68 : eugene dooley | 1986 row 69 : patrick mahoney | 1990 row 70 : alfred c. tisch | 2002 row 71 : vincent f. demarco | 2006 ] Execute this SQL based on the above table: select sheriff where start of term = 1855
samuel phillips
[ header: year | title | peak chart positions swe | peak chart positions swi | peak chart positions uk | album row 1 : 2003 | "znaj da znam" | None | None | None | naj, najbolja row 2 : 2003 | "naj, najbolja" | None | None | None | naj, najbolja row 3 : 2003 | "gorka cokolada" | None | None | None | bez ljubavi row 4 : 2004 | "bol do ludila" | None | None | None | bez ljubavi row 5 : 2005 | "ponuda" | None | None | None | ponuda cds row 6 : 2005 | "agonija" | None | None | None | agonija cds row 7 : 2005 | "u nedelju" | None | None | None | bez ljubavi row 8 : 2006 | "bez ljubavi" | None | None | None | bez ljubavi row 9 : 2006 | "101" | None | None | None | bez ljubavi row 10 : 2007 | "molitva" | 9 | 19 | 112 | molitva cds, row 11 : 2008 | "nisam anđeo" | None | None | None | nisam anđeo row 12 : 2009 | "sta da zaboravim" | None | None | None | anđeo row 13 : 2010 | "jedan vidi sve" | None | None | None | anđeo ] Execute this SQL based on the above table: select min ( peak chart positions swe )
9.0
[ header: year | driver | constructor | location | report row 1 : 1992 | nigel mansell | williams-renault | hermanos rodriguez | report row 2 : 1991 | riccardo patrese | williams-renault | hermanos rodriguez | report row 3 : 1990 | alain prost | ferrari | hermanos rodriguez | report row 4 : 1989 | ayrton senna | mclaren-honda | hermanos rodriguez | report row 5 : 1988 | alain prost | mclaren-honda | hermanos rodriguez | report row 6 : 1987 | nigel mansell | williams-honda | hermanos rodriguez | report row 7 : 1986 | gerhard berger | benetton-bmw | hermanos rodriguez | report row 8 : 1985 - 1971 | None | None | None | not held row 9 : 1970 | jacky ickx | ferrari | magdalena mixhuca | report row 10 : 1969 | denny hulme | mclaren-ford | magdalena mixhuca | report row 11 : 1968 | graham hill | lotus-ford | magdalena mixhuca | report row 12 : 1967 | jim clark | lotus-ford | magdalena mixhuca | report row 13 : 1966 | john surtees | cooper-maserati | magdalena mixhuca | report row 14 : 1965 | richie ginther | honda | magdalena mixhuca | report row 15 : 1964 | dan gurney | brabham-climax | magdalena mixhuca | report row 16 : 1963 | jim clark | lotus-climax | magdalena mixhuca | report row 17 : 1962 | trevor taylor j | lotus-climax | magdalena mixhuca | report ] Execute this SQL based on the above table: select count ( * )
17
[ header: place | player | country | score | to par | money ($) row 1 : t1 | larry nelson | united states | 70-72-73-72=287 | -1 | playoff row 2 : t1 | lanny wadkins | united states | 70-70-74-73=287 | -1 | playoff row 3 : t3 | scott hoch | united states | 74-74-71-69=2 | e | 58750 row 4 : t3 | d. a. weibring | united states | 73-72-67-76=2 | e | 58750 row 5 : t5 | mark mccumber | united states | 74-69-69-77=2 | 1 | 37500 row 6 : t5 | don pooley | united states | 73-71-73-72=2 | 1 | 37500 row 7 : t7 | ben crenshaw | united states | 72-70-74-74=290 | 2 | 27500 row 8 : t7 | bobby wadkins | united states | 68-74-71-77=290 | 2 | 27500 row 9 : 9 | curtis strange | united states | 70-76-71-74=291 | 3 | 22500 row 10 : t10 | seve ballesteros | spain | 72-70-72-78=292 | 4 | 17000 row 11 : t10 | david frost | south africa | 75-70-71-76=292 | 4 | 17000 row 12 : t10 | tom kite | united states | 72-77-71-72=292 | 4 | 17000 row 13 : t10 | nick price | zimbabwe | 76-71-70-75=29 | 4 | 17000 ] Execute this SQL based on the above table: select max ( to par ) where to par < 1262
4.0
[ header: rank | airport | passengers handled | % change 2011 / 12 row 1 : 1 | netherlands - amsterdam | 105349 | None row 2 : 2 | united kingdom - belfast-international | 92502 | None row 3 : 3 | portugal - faro | 71676 | None row 4 : 4 | spain - barcelona | 66565 | None row 5 : 5 | spain - alicante | 64090 | None row 6 : 6 | spain - malaga | 59175 | None row 7 : 7 | ireland - dublin | 35524 | None row 8 : 8 | jersey - jersey | 35169 | 1128 row 9 : 9 | ireland - waterford | 31907 | 25 row 10 : 10 | spain - palma de mallorca | 27718 | None ] Execute this SQL based on the above table: select airport order by airport desc limit 1
united kingdom - belfast-international
[ header: year | category | nominee(s) | episode | result row 1 : 1983 | outstanding individual achievement in graphic design and title sequences | james castle, bruce bry | "show down: part 1" | won row 2 : 1983 | outstanding achievement in music and lyrics | gary portnoy, judy | "give me a ring sometime" | nominated row 3 : 1983 | outstanding art direction for a series | george gaines, richard | "give me a ring sometime" | nominated row 4 : 1983 | outstanding film editing for a series | andrew chulack | "endless slumper" | nominated row 5 : 1984 | outstanding live and tape sound mixing and sound effects for | sam black, douglas gray, | "no help wanted" | nominated row 6 : 1986 | outstanding editing for a series (multi-cam | andy ackerman | "birth, death, love and rice" | nominated row 7 : 1986 | outstanding editing for a series (multi-cam | douglas hines | "the triangle" | nominated row 8 : 1987 | outstanding sound mixing for a comedy series or | michael ballin, bob do | "the proposal" | won row 9 : 1987 | outstanding editing for a series (multi-cam | andy ackerman | "cheers: the motion picture" | nominated row 10 : 1988 | outstanding editing for a series (multi-cam | andy ackerman | "the big kiss-off" | won row 11 : 1988 | outstanding sound mixing for a comedy series or | bob douglas, doug grey | "the last angry mailman" | nominated row 12 : 1989 | outstanding sound mixing for a comedy series or | sam black, robert | "jumping jerks" | nominated row 13 : 1990 | outstanding sound mixing for a comedy series or | sam black, robert | "the stork brings a crane" | won row 14 : 1991 | outstanding editing for a miniseries or | andy ackerman | "cheers 200th anniversary special" | nominated row 15 : 1991 | outstanding editing for a series (multi-cam | andy ackerman | "the days of wine and neuroses" | nominated row 16 : 1991 | outstanding editing for a series (multi-cam | sheila amos | "rat girl" | nominated row 17 : 1992 | outstanding individual achievement in editing for a series ( | robert bramwell, peter | "an old fashioned wedding" | nominated row 18 : 1992 | outstanding individual achievement in sound mixing for a comedy | sam black, robert | "bar wars iv: this time | nominated row 19 : 1993 | outstanding individual achievement in editing for a series ( | robert bramwell | "one for the road" | won ] Execute this SQL based on the above table: select nominee(s) where nominee(s) = 'robert bramwell' order by year asc limit 1
robert bramwell
[ header: model | released | usage | features | storage row 1 : betsie/dottie | None | used for calculating odds for bookmakers | None | None row 2 : mark 2 | 1973 | sales order processing | totally new processor with hardware interrupt stacking, | fabritek or emm fer row 3 : mark 3 | None | None | designation not used but was effectively the 3me/6 | None row 4 : mark 4 | None | sop, livestock markets, paper merchants, | developed after the demise of bcl | core memory or static ram, introduced the row 5 : mark 5 | 1984 | sop, livestock markets, paper merchants, | basically a re engineering of the 6me | initially large-format ampex ferrite core row 6 : None | 1990 | sop, livestock markets, paper merchants, | a single board processor was developed to replace the | support for seven additional external lark 2 or row 7 : distributor ep | 1989 | sop, livestock markets | enhanced version of the distributor | scsi disk and tape support ] Execute this SQL based on the above table: select released where storage = 'fabritek or emm ferrite core memory. introduced the dd1600 cdc 9427 top-loading disk drive one fixed one removable and/or a large multi-platter cdc removable disk drive'
1973
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | russia | 8 | 12 | 10 | 30 row 2 : 2 | china | 7 | 4 | 2 | 13 row 3 : 3 | ukraine | 7 | 1 | 1 | 9 row 4 : 4 | poland | 3 | 4 | 2 | 9 row 5 : 5 | belarus | 2 | 2 | 2 | 6 row 6 : 6 | germany | 2 | 1 | 2 | 5 row 7 : 6 | south africa | 2 | 1 | 2 | 5 row 8 : 7 | australia | 2 | 1 | 1 | 4 row 9 : 8 | japan | 2 | 0 | 1 | 3 row 10 : 9 | france | 1 | 3 | 0 | 4 row 11 : 10 | romania | 1 | 2 | 2 | 5 row 12 : 11 | hungary | 1 | 2 | 1 | 4 row 13 : 12 | great britain | 1 | 1 | 2 | 4 row 14 : 12 | spain | 1 | 1 | 2 | 4 row 15 : 14 | morocco | 1 | 1 | 1 | 3 row 16 : 15 | brazil | 1 | 0 | 3 | 3 row 17 : 16 | czech republic | 1 | 0 | 2 | 3 row 18 : 17 | moldova | 1 | 0 | 0 | 1 row 19 : 18 | finland | 0 | 2 | 1 | 3 row 20 : 19 | estonia | 0 | 1 | 1 | 2 row 21 : 19 | north korea | 0 | 1 | 1 | 2 row 22 : 19 | south korea | 0 | 1 | 1 | 2 row 23 : 22 | denmark | 0 | 1 | 0 | 1 row 24 : 22 | ireland | 0 | 1 | 0 | 1 row 25 : 22 | jamaica | 0 | 1 | 0 | 1 row 26 : 22 | kazakhstan | 0 | 1 | 0 | 1 row 27 : 22 | uganda | 0 | 1 | 0 | 1 row 28 : 27 | croatia | 0 | 0 | 2 | 2 row 29 : 28 | canada | 0 | 0 | 1 | 1 row 30 : 28 | cyprus | 0 | 0 | 1 | 1 row 31 : 28 | italy | 0 | 0 | 1 | 1 row 32 : 28 | switzerland | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select nation where id = ( select id where nation = 'estonia' ) + 1
north korea
[ header: team | winners | runners-up | years won | years runner-up row 1 : liverpool | 8 | 3 | 1981, 1982, 1983, 1984, 1995, | 1978, 1987, 2005 row 2 : aston villa | 5 | 3 | 1961, 1975, 1977, 1994, 1996 | 1963, 1971, 2010 row 3 : manchester united | 4 | 4 | 1992, 2006, 2009, 2010 | 1983, 1991, 1994, 2003 row 4 : tottenham hotspur | 4 | 3 | 1971, 1973, 1999, 2008 | 1982, 2002, 2009 row 5 : chelsea | 4 | 2 | 1965, 1998, 2005, 2007 | 1972, 2008 row 6 : nottingham forest | 4 | 2 | 1978, 1979, 1989, 1990 | 1980, 1992 row 7 : leicester city | 3 | 2 | 1964, 1997, 2000 | 1965, 1999 row 8 : manchester city | 3 | 1 | 1970, 1976, 2014 | 1974 row 9 : arsenal | 2 | 5 | 1987, 1993 | 1968, 1969, 1988, 2007, 2011 row 10 : norwich city | 2 | 2 | 1962, 1985 | 1973, 1975 row 11 : birmingham city | 2 | 1 | 1963, 2011 | 2001 row 12 : wolverhampton wanderers | 2 | 0 | 1974, 1980 | None row 13 : west bromwich albion | 1 | 2 | 1966 | 1967, 1970 row 14 : middlesbrough | 1 | 2 | 2004 | 1997, 1998 row 15 : queens park rangers | 1 | 1 | 1967 | 1986 row 16 : leeds united | 1 | 1 | 1968 | 1996 row 17 : stoke city | 1 | 1 | 1972 | 1964 row 18 : luton town | 1 | 1 | 1988 | 1989 row 19 : sheffield wednesday | 1 | 1 | 1991 | 1993 row 20 : swindon town | 1 | 0 | 1969 | None row 21 : oxford united | 1 | 0 | 1986 | None row 22 : blackburn rovers | 1 | 0 | 2002 | None row 23 : swansea city | 1 | 0 | 2013 | None row 24 : west ham united | 0 | 2 | None | 1966, 1981 row 25 : everton | 0 | 2 | None | 1977, 1984 row 26 : bolton wanderers | 0 | 2 | None | 1995, 2004 row 27 : sunderland | 0 | 2 | None | 1985, 2014 row 28 : rotherham united | 0 | 1 | None | 1961 row 29 : rochdale | 0 | 1 | None | 1962 row 30 : newcastle united | 0 | 1 | None | 1976 row 31 : southampton | 0 | 1 | None | 1979 row 32 : oldham athletic | 0 | 1 | None | 1990 row 33 : tranmere rovers | 0 | 1 | None | 2000 row 34 : wigan athletic | 0 | 1 | None | 2006 row 35 : cardiff city | 0 | 1 | None | 2012 row 36 : bradford city | 0 | 1 | None | 2013 ] Execute this SQL based on the above table: select years runner-up where runners-up = 2
1972, 2008, 1980, 1992, 1965, 1999, 1973, 1975, 1967, 1970, 1997, 1998, 1966, 1981, 1977, 1984, 1995, 2004, 1985, 2014
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | china | 9 | 3 | 2 | 14 row 2 : 2 | malaysia | 3 | 3 | 1 | 7 row 3 : 3 | japan | 2 | 3 | 6 | 11 row 4 : 4 | south korea | 2 | 2 | 5 | 9 row 5 : 5 | kazakhstan | 1 | 3 | 0 | 4 row 6 : 6 | chinese taipei | 1 | 1 | 3 | 5 row 7 : 7 | iran | 1 | 1 | 0 | 2 row 8 : 8 | hong kong | 1 | 0 | 2 | 3 row 9 : 9 | kyrgyzstan | 1 | 0 | 0 | 1 row 10 : 10 | uzbekistan | 0 | 3 | 1 | 4 row 11 : 11 | thailand | 0 | 1 | 1 | 2 row 12 : 12 | indonesia | 0 | 1 | 0 | 1 row 13 : total | total | 21 | 21 | 21 | 63 ] Execute this SQL based on the above table: select count ( nation ) where nation = 'total'
1
[ header: pos | class | no | team | drivers | chassis | engine | laps row 1 : 19 | p +5.0 | 7 | chaparral cars inc | phil hill mike spence | chaparral 2f | chevrolet 7.0l v | 225 row 2 : 26 | s 5.0 | 16 | ford france s.a | pierre dumay henri greder | ford gt40 mk. | ford 4.7l v8 | 179 row 3 : 27 | p +5.0 | 5 | holman & moody | roger mccluskey | ford gt40 mk. | ford 7.0l v8 | 179 row 4 : 28 | gt +5.0 | 9 | dana chevrolet inc | bob bondurant dick guld | chevrolet corvette | chevrolet 7.0l v | 167 row 5 : 29 | p 2.0 | 29 | equipe matra sports | jean-pierre beltoise | matra ms630 | brm 2.0l v8 | 155 row 6 : 32 | gt 2.0 | 60 | philippe farjon | philippe farjon andre wick | porsche 911s | porsche 2.0l flat-6 | 126 row 7 : 36 | p +5.0 | 8 | chaparral cars inc | bob johnson bruce jenning | chaparral 2f | chevrolet 7.0l v | 91 row 8 : 39 | p 2.0 | 39 | porsche system engineering | udo schutz joe buzz | porsche 910/6l | porsche 2.0l flat-6 | 84 row 9 : 41 | p +5.0 | 14 | john wyer automotive engineering | david piper richard thomp | mirage m1 (ford gt | ford 5.7l v8 | 59 row 10 : 45 | p 1.15 | 53 | s.e.c. automobiles | andre guilhaudin ala | cd sp66c | peugeot 1.1l i4 | 35 row 11 : 46 | p 5.0 | 26 | north american racing team (nart) | ricardo rodriguez chuck | ferrari 365 p2 | ferrari 4.4l v12 | 30 row 12 : 47 | p +5.0 | 15 | john wyer automotive engineering | jacky ickx brian mu | mirage m1 (ford gt | ford 5.7l v8 | 29 row 13 : 49 | p +5.0 | 12 | lola cars ltd. / | peter de klerk chr | lola t70 mk.i | aston martin 5.0l | 25 row 14 : 50 | s 5.0 | 62 | john wyer automotive engineering / vis | mike salmon brian redman | ford gt40 mk. | ford 4.7l v8 | 20 ] Execute this SQL based on the above table: select no where engine = 'ford 7.0l v8'
5
[ header: name | canton | district | area (km2) | population (as of 2005) | date of law row 1 : diekirch dikrech | diekirch | diekirch | 12.42 | 6165 | 24 february 1843 row 2 : differdange deifferdeng | esch-sur-alzette | luxembourg | 22.18 | 19005 | 4 august 1907 row 3 : dudelange diddeleng | esch-sur-alzette | luxembourg | 21.38 | 17618 | 4 august 1907 row 4 : echternach iechternach | echternach | grevenmacher | 20.49 | 4507 | 24 february 1843 row 5 : esch-sur-alzette | esch-sur-alzette | luxembourg | 14.35 | 28000 | 29 may 1906 row 6 : ettelbruck ettelbreck | diekirch | diekirch | 15.18 | 7364 | 4 august 1907 row 7 : grevenmacher greiwemaa | grevenmacher | grevenmacher | 16.48 | 3966 | 24 february 1843 row 8 : luxembourg city letzebuerg | luxembourg | luxembourg | 51.46 | 76420 | 24 february 1843 row 9 : remich reimech | remich | grevenmacher | 5.29 | 2986 | 24 february 1843 row 10 : rumelange remeleng | esch-sur-alzette | luxembourg | 6.83 | 4495 | 4 august 1907 row 11 : vianden veianen | vianden | diekirch | 9.67 | 1561 | 24 february 1843 row 12 : wiltz wolz | wiltz | diekirch | 19.37 | 4587 | 24 february 1843 ] Execute this SQL based on the above table: select ( select name where district = 'luxembourg' ) < ( select name where district = 'diekirch' )
0
[ header: date | team | name | position | years in nba | notes row 1 : april 23, 2009 | houston rockets | dikembe mutombo | c | 18 | suffered a season-ending injury row 2 : may 21, 2009 | free agent | sam cassell | g | 15 | became an assistant coach of the wizards row 3 : september 3, 2009 | free agent | bruce bowen | f | 12 | None row 4 : october 22, 2009 | free agent | mark madsen | f | 9 | became an assistant coach of the uta row 5 : october 23, 2009 | free agent | bobby jackson | g | 12 | None row 6 : october 23, 2009 | free agent | tyronn lue | g | 11 | became the director of basketball development of the celtics row 7 : november 5, 2009 | free agent | darrick martin | g | 14 | named assistant director of player development of timberwolves ] Execute this SQL based on the above table: select notes order by id desc limit 1
named assistant director of player development of timberwolves
[ header: ranking | company | industry | revenue (usd billions) | fy | capitalization (usd billions) | employees | listing | headquarters | ceo row 1 : 1 | wal-mart stores, inc | retail | $469 | january 31, 2013 | $248 | 2200000 | nyse: wmt | bentonville, arkansas | doug mcmillon row 2 : 3 | exxon mobil corporation | oil and gas | $453 | december 31, 2012 | $406 | 76900 | nyse: xom | irving, texas | rex w. tillerson row 3 : 4 | china national petroleum corporation | oil and gas | $425 | december 31, 2012 | None | 1668072 | None | beijing | zhou jiping row 4 : 10 | samsung | conglomerate | $268 | december 31, 2014 | None | 427000 | krx: 005930; | samsung town | lee kun-hee row 5 : 12 | chevron | oil and gas | $242 | december 31, 2012 | $211 | 61000 | nyse: cvx | san ramon, califor | john watson row 6 : 13 | total | oil and gas | $240 | december 31, 2013 | $120 | 111000 | euronext: fp | courbevoie | christophe de margerie row 7 : 20 | eni | oil and gas | $167 | december 31, 2012 | $94 | 78000 | bit: eni | rome | paolo scaroni row 8 : 21 | gazprom | oil and gas | $164 | december 31, 2012 | $145 | 432000 | mcx: gazp | moscow | alexei miller row 9 : 22 | berkshire hathaway | conglomerate | $162 | december 31, 2012 | $201 | 217000 | nyse: brka; | omaha, nebra | warren buffett row 10 : 23 | general motors | automotive | $152 | december 31, 2012 | $40 | 284000 | nyse: gm | detroit, michigan | daniel akerson row 11 : 27 | petrobras | oil and gas | $144 | december 31, 2012 | $171 | 81000 | bovespa: petr3; bove | rio de janeiro | maria das gracas foster row 12 : 29 | valero energy | oil and gas | $139 | december 31, 2012 | $16 | 22000 | nyse: vlo | san antonio, | william r. klesse row 13 : 30 | lukoil | oil and gas | $139 | december 31, 2012 | $51 | 120000 | mcx: lkoh | moscow | vagit alekperov row 14 : 35 | statoil | oil and gas | $130 | december 31, 2012 | $86 | 23000 | ose: stl | stavanger | helge lund row 15 : 36 | gdf suez | electricity and gas utility | $128 | december 31, 2012 | $58 | 161000 | euronext: sze | paris | gerard mestrallet row 16 : 38 | pemex | oil and gas | $127 | december 31, 2012 | None | 138000 | None | mexico city | juan jose suarez c row 17 : 40 | cvs caremark | retail | $123 | december 31, 2012 | $59 | 202000 | nyse: cvs | woonsocket, rh | larry j. merlo ] Execute this SQL based on the above table: select industry order by id desc limit 1
retail
[ 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 where id = ( select id where percentage = '38.05%' ) + 1
36.15%
[ header: rank | country | winners | runners-up | finals total row 1 : 1 | spain | 17 | 8 | 25 row 2 : 2 | germany east germany | 11 1 12 | 10 3 13 | 21 4 25 row 3 : 3 | soviet union russia | 2 1 3 | 1 0 1 | 3 1 4 row 4 : 4 | hungary | 2 | 3 | 5 row 5 : 5 | belarus | 2 | 0 | 2 row 6 : 6 | france | 1 | 3 | 4 row 7 : 7 | sweden | 0 | 2 | 2 row 8 : 8 | bosnia & herzegov | 0 | 1 | 1 row 9 : 8 | croatia | 0 | 1 | 1 row 10 : 8 | czech republic | 0 | 1 | 1 row 11 : 8 | denmark | 0 | 1 | 1 row 12 : 8 | romania | 0 | 1 | 1 row 13 : 8 | serbia | 0 | 1 | 1 row 14 : 8 | switzerland | 0 | 1 | 1 row 15 : total | total | 37 | 37 | 74 ] Execute this SQL based on the above table: select country where rank = 8
bosnia & herzegovina, croatia, czech republic, denmark, romania, serbia, switzerland
[ header: no | test no | 1st team | 2nd team | winner | margin | toss | bat | date row 1 : 1 | 745 | india | west indies | west indies | 267 runs | won | 2nd | 22-11-1974 row 2 : 2 | 794 | india | england | india | 140 runs | won | 1st | 28-1-1977 row 3 : 3 | 837 | india | west indies | draw | None | lost | 2nd | 15-12-1978 row 4 : 4 | 856 | india | australia | draw | None | lost | 2nd | 19-9-1979 row 5 : 5 | 861 | india | pakistan | draw | None | lost | 2nd | 21-11-1979 row 6 : 6 | 912 | india | england | draw | None | lost | 2nd | 9-12-1981 row 7 : 7 | 961 | india | pakistan | draw | None | won | 1st | 14-9-1983 row 8 : 8 | 1073 | india | pakistan | pakistan | 16 runs | lost | 2nd | 13-3-1987 row 9 : 9 | 1107 | india | new zealand | india | 172 runs | won | 1st | 12-11-1988 row 10 : 10 | 1245 | india | sri lanka | india | inns & 95 runs | won | 1st | 26-1-1994 row 11 : 11 | 1308 | india | new zealand | india | 8 wickets | lost | 2nd | 18-10-1995 row 12 : 12 | 1413 | india | australia | australia | 8 wickets | won | 1st | 25-3-1998 row 13 : 13 | 1486 | india | south africa | south africa | inns & 71 runs | won | 1st | 2-3-2000 row 14 : 14 | 1578 | india | england | draw | None | lost | 2nd | 19-12-2001 row 15 : 15 | 1713 | india | australia | australia | 217 runs | lost | 2nd | 6-10-2004 row 16 : 16 | 1743 | india | pakistan | pakistan | 168 runs | lost | 2nd | 24-3-2005 row 17 : 17 | 1852 | india | pakistan | draw | None | won | 1st | 8-12-2007 row 18 : 18 | 1887 | india | australia | draw | None | lost | 2nd | 9-10-2008 row 19 : 19 | 1973 | india | australia | india | 7 wickets | lost | 2nd | 9-10-2010 row 20 : 20 | 2055 | india | new zealand | india | 5 wickets | lost | 2nd | 25-5-2008 ] Execute this SQL based on the above table: select count ( * ) where bat = 1918
0
[ header: call sign | frequency | city of license | licensee | format row 1 : kmsa | 91.3 fm | grand junction | colorado mesa university | aaa row 2 : kmgj | 93.1 fm | grand junction | mbc grand broadcasting, inc | top 40 (chr)/contempor row 3 : kkvt | 100.7 fm | grand junction | mbc grand broadcasting, inc | country row 4 : klfv | 90.3 fm | grand junction | educational media foundation | christian contemporary row 5 : kmoz-fm | 92.3 fm | grand junction | mbc grand broadcasting, inc | adult hits row 6 : kgjn-lp | 106.7 fm | grand junction | colorado, state of, telecom | news talk information row 7 : kjol | 620 am | grand junction | united ministries | christian contemporary row 8 : kcic | 88.5 fm | grand junction | pear park baptist schools | religious row 9 : kbkl | 107.9 fm | grand junction | townsquare media group | oldies row 10 : kafm | 88.1 fm | grand junction | grand valley public radio co, inc | variety row 11 : kexo | 1230 am | grand junction | townsquare media group | regional mexican/talk row 12 : knzz | 1100 am | grand junction | mbc grand broadcasting, inc | news/talk row 13 : kmxy | 104.3 fm | grand junction | townsquare media group | hot adult contemporary row 14 : kprn | 89.5 fm | grand junction | public broadcasting of colorado, in | public/news/talk row 15 : ktmm | 1340 am | grand junction | mbc grand broadcasting, inc | sports/talk row 16 : kaai | 98.5 fm | palisade, colorado | educational media foundation | christian rock row 17 : kmzk (fm) | 106.9 fm | clifton | charles d. hall | None row 18 : kekb | 99.9 fm | fruita | townsquare media group | country row 19 : krzx | 106.1 fm | redlands | cochise media licenses llc | None row 20 : kzks | 105.3 fm | rifle, colorado | western slope communications | classic hits row 21 : knoz | 97.7 fm | orchard mesa | paul varecha | all-news radio row 22 : ktun | 93.5 fm | new castle, colorado | wildcat communications | spanish hits row 23 : kknn | 95.1 fm | delta, colorado | townsquare media group | active rock row 24 : kstr-fm | 96.1 fm | montrose, colorado | mbc grand broadcasting | classic rock row 25 : kubc | 580 am | montrose, colorado | cherry creek radio | news/talk ] Execute this SQL based on the above table: select licensee where id = ( select id where licensee = 'mbc grand broadcasting' ) + 1
cherry creek radio
[ header: version | date | development cycle | size (in kb) | download | notes row 1 : 0.1 | 9 june 1993 | beta | None | evolt | None row 2 : 0.2 | 14 june 1993 | beta | None | None | changelog row 3 : 0.3 | 16 june 1993 | beta | None | None | changelog row 4 : 0.4 | 18 june 1993 | beta | None | None | changelog row 5 : 0.5 | 24 june 1993 | beta | None | None | changelog row 6 : 0.6 | 30 june 1993 | beta | None | None | changelog row 7 : 0.8 | 5 november 1993 | beta | None | None | changelog (distinct version discontinued) row 8 : 0.9 | 12 november 1993 | beta-pre | None | None | None row 9 : 0.9 | 16 november 1993 | beta | None | None | changelog row 10 : 0.9 | 22 november 1993 | winsock alpha r9.2 | None | None | None row 11 : 1 | 17 february 1994 | release | None | evolt | None row 12 : 1.01 | None | release | None | None | None row 13 : 1.01a | 17 march 1994 | release | 521 | [5], evolt | changelog row 14 : 2 | None | alpha | None | None | development ceased ] Execute this SQL based on the above table: select count ( distinct notes )
3
[ header: candidate | votes | percentage | counties | delegates row 1 : john mccain | 701761 | 36% | 45 | 57 row 2 : mitt romney | 604932 | 31.03% | 18 | 0 row 3 : rudy giuliani | 286089 | 14.68% | 0 | 0 row 4 : mike huckabee | 262681 | 13.47% | 4 | 0 row 5 : ron paul | 62887 | 3.23% | 0 | 0 row 6 : fred thompson | 22668 | 1.16% | 0 | 0 row 7 : alan keyes | 4060 | 0.21% | 0 | 0 row 8 : duncan hunter | 2847 | 0.15% | 0 | 0 row 9 : tom tancredo | 1573 | 0.08% | 0 | 0 row 10 : totals | 1949498 | 100% | 67 | 57 ] Execute this SQL based on the above table: select abs ( ( select counties where candidate = 'fred thompson' ) - ( select counties where candidate = 'mike huckabee' ) )
4.0
[ header: # | district | land area (km2) | population (2010 census) | density (persons/km2) row 1 : 1 | anse la raye | 30.9 | 6247 | 210 row 2 : 2 | praslin | 16 | 2044 | 119 row 3 : 3 | castries | 79.5 | 65656 | 776 row 4 : 4 | choiseul | 31.3 | 6098 | 206 row 5 : 5 | dennery | 69.7 | 12599 | 182 row 6 : 6 | forest reserve | 78 | 0 | 0 row 7 : 7 | gros islet | 101.5 | 25210 | 196 row 8 : 8 | laborie | 37.8 | 6701 | 210 row 9 : 9 | micoud | 77.7 | 16284 | 220 row 10 : 10 | soufriere | 50.5 | 8472 | 144 row 11 : 11 | vieux fort | 43.8 | 16284 | 371 row 12 : None | saint lucia | 608.7 | 165595 | 256 ] Execute this SQL based on the above table: select district where id = 1
anse la raye
[ 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 date where squad # = 6
9 january 2013
[ header: # | title | directed by | written by | original air date | production code row 1 : 1 | "pilot" | michael dinner | peter elkoff | june 14, 2004 | 1aje01 row 2 : 2 | "tessa" | patrick norris | liz heldens | june 21, 2004 | 1aje02 row 3 : 3 | "surprise party" | james marshall | kevin falls & matt m | june 28, 2004 | 1aje03 row 4 : 4 | "meteor shower" | craig zisk | kevin falls & matt m | july 5, 2004 | 1aje04 row 5 : 5 | "my boyfriend's back" | david straiton | dana baratta | july 12, 2004 | 1aje05 row 6 : 6 | "secret service" | david grossman | jeff rake | july 19, 2004 | 1aje06 row 7 : 7 | "more" | michael fresco | liz heldens | august 2, 2004 | 1aje07 row 8 : 8 | "burned" | kevin hooks | karyn usher | august 9, 2004 | 1aje08 row 9 : 9 | "ties that bind" | patrick norris | gretchen j. berg | september 6, 2004 | 1aje09 row 10 : 10 | "vice" | kenneth biller | kenneth biller | september 13, 2004 | 1aje10 row 11 : 11 | "alexandra" | steve miner | chris brancato | september 20, 2004 | 1aje11 row 12 : 12 | "bellport" | patrick norris | peter elkoff | september 27, 2004 | 1aje12 row 13 : 13 | "leverage" | elodie keene | kevin falls & matt m | november 4, 2004 | 1aje13 row 14 : 14 | "illusions" | george mendeluk | kimberly costello | november 11, 2004 | 1aje14 row 15 : 15 | "the big one" | patrick norris | gretchen j. berg | november 18, 2004 | 1aje15 row 16 : 16 | "the cook, the waitress, the | kenneth biller | kenneth biller & dan | december 2, 2004 | 1aje16 row 17 : 17 | "sucker punch" | perry lang | liz heldens | december 9, 2004 | 1aje17 row 18 : 18 | "catwalk" | michael fresco | colleen mcguinness | december 16, 2004 | 1aje18 row 19 : 19 | "shark" | alan myerson | kevin falls & matt m | january 6, 2005 | 1aje19 row 20 : 20 | "the ex-games" | fred gerber | amy berg & andrew col | january 13, 2005 | 1aje20 row 21 : 21 | "the end" | elodie keene | karyn usher | unaired | 1aje21 ] Execute this SQL based on the above table: select count ( title ) where # = 0
0
[ header: week | date | opponent | result | attendance row 1 : 1 | september 15, 1968 | at green bay packers | l 30-13 | 50,861 row 2 : 2 | september 22, 1968 | new york giants | l 34-25 | 60,858 row 3 : 3 | september 29, 1968 | dallas cowboys | l 45-13 | 60,858 row 4 : 4 | october 6, 1968 | at washington redskins | l 17-14 | 50,816 row 5 : 5 | october 13, 1968 | at dallas cowboys | l 34-14 | 72,083 row 6 : 6 | october 20, 1968 | chicago bears | l 29-16 | 60,858 row 7 : 7 | october 27, 1968 | at pittsburgh steelers | l 6-3 | 26,908 row 8 : 8 | november 3, 1968 | st. louis cardinals | l 45-17 | 59,208 row 9 : 9 | november 10, 1968 | washington redskins | l 16-10 | 59,133 row 10 : 10 | november 17, 1968 | at new york giants | l 7-6 | 62,896 row 11 : 11 | november 24, 1968 | at cleveland browns | l 47-13 | 62,338 row 12 : 12 | november 28, 1968 | at detroit lions | w 12-0 | 47,909 row 13 : 13 | december 8, 1968 | new orleans saints | w 29-17 | 57,128 row 14 : 14 | december 15, 1968 | minnesota vikings | l 24-17 | 54,530 ] Execute this SQL based on the above table: select date order by week desc limit 1
december 15, 1968
[ header: year | title | peak chart positions us air | peak chart positions us main | peak chart positions us mod | album row 1 : 1990 | "dig a hole" | None | None | None | non-album single row 2 : 1993 | "mister love" | None | None | None | velvet row 3 : 1994 | "mister love" | None | None | None | rubberneck row 4 : 1995 | "possum kingdom" | 40 | 9 | 4 | rubberneck row 5 : 1995 | "away" | None | 23 | 28 | rubberneck row 6 : 1996 | "tyler" | None | None | None | rubberneck row 7 : 1996 | "backslider" | None | None | None | rubberneck row 8 : 2001 | "push the hand" | None | 34 | None | hell below/stars above row 9 : 2008 | "no deliverance" | None | 38 | None | no deliverance row 10 : 2009 | "song i hate" | None | None | None | no deliverance row 11 : 2012 | "summer of the strange" | None | None | None | play.rock.music ] Execute this SQL based on the above table: select title where id <= 10 group by title order by count ( * ) desc limit 1
"mister love"
[ header: pos | no. | rider | manufacturer | laps | time/retired | grid | points row 1 : 1 | 75 | mattia pasini | aprilia | 27 | 39:44.091 | 3 | 25 row 2 : 2 | 19 | alvaro bautista | aprilia | 27 | 0.01 | 2 | 20 row 3 : 3 | 52 | lukas pesek | derbi | 27 | 0.111 | 1 | 16 row 4 : 5 | 24 | simone corsi | gilera | 27 | 9.372 | 9 | 11 row 5 : 6 | 1 | thomas luthi | honda | 27 | 10.57 | 13 | 10 row 6 : 7 | 18 | nicolas terol | derbi | 27 | 11.835 | 5 | 9 row 7 : 8 | 36 | mika kallio | ktm | 27 | 11.905 | 4 | 8 row 8 : 9 | 6 | joan olive | aprilia | 27 | 26.017 | 16 | 7 row 9 : 10 | 33 | sergio gadea | aprilia | 27 | 26.172 | 12 | 6 row 10 : 11 | 32 | fabrizio lai | honda | 27 | 26.361 | 6 | 5 row 11 : 12 | 38 | bradley smith | honda | 27 | 26.389 | 14 | 4 row 12 : 13 | 11 | sandro cortese | honda | 27 | 26.48 | 11 | 3 row 13 : 14 | 14 | gabor talmacsi | honda | 27 | 26.606 | 7 | 2 row 14 : 15 | 71 | tomoyoshi koyama | malaguti | 27 | 27.068 | 15 | 1 row 15 : 16 | 54 | randy krummenacher | ktm | 27 | 27.192 | 21 | None row 16 : 18 | 17 | stefan bradl | ktm | 27 | 46.201 | 18 | None row 17 : 19 | 95 | georg frohlich | honda | 27 | 56.274 | 28 | None row 18 : 20 | 35 | raffaele de rosa | aprilia | 27 | 56.549 | 25 | None row 19 : 21 | 26 | vincent braillard | aprilia | 27 | 56.782 | 31 | None row 20 : 23 | 15 | michele pirro | aprilia | 27 | 57.474 | 22 | None row 21 : 24 | 29 | andrea iannone | aprilia | 27 | 57.707 | 20 | None row 22 : 25 | 7 | alexis masbou | malaguti | 27 | +1:04.698 | 37 | None row 23 : 26 | 16 | michele conti | honda | 27 | +1:04.793 | 32 | None row 24 : 28 | 43 | manuel hernandez | aprilia | 27 | +1:17.323 | 30 | None row 25 : 29 | 23 | lorenzo baroni | honda | 27 | +1:17.507 | 26 | None row 26 : 30 | 21 | mateo tunez | aprilia | 27 | +1:20.583 | 29 | None row 27 : 32 | 98 | toni wirsing | honda | 26 | +1 lap | 42 | None row 28 : ret | 44 | karel abraham | aprilia | 16 | retirement | 33 | None row 29 : ret | 13 | dino lombardi | aprilia | 13 | retirement | 41 | None row 30 : ret | 37 | joey litjens | honda | 11 | retirement | 38 | None row 31 : ret | 22 | pablo nieto | aprilia | 9 | retirement | 8 | None ] Execute this SQL based on the above table: select rider where rider != 'toni wirsing' and time/retired = ( select time/retired where rider = 'toni wirsing' )
alexis masbou, michele conti, manuel hernandez, lorenzo baroni, mateo tunez
[ header: version | length | album | remixed by | year | comment row 1 : album/single version | 4:30 | avant que l'ombre | None | 2005 | see the previous sections row 2 : radio edit | 3:55 | None | None | 2005 | the musical introduction is almost fully deleted, as well row 3 : instrumental | 4:32 | None | laurent boutonnat | 2005 | this instrumental version is identical to the album version, row 4 : the martyr's remix | 5:20 | None | y-front | 2005 | this version contains all the lyrics of the album version row 5 : mother f... dub mix | 7:50 | None | joachim garraud | 2005 | all the lyrics from the original version are deleted, row 6 : mother f... vocal club mix | 8:30 | None | joachim garraud | 2005 | devoted to the nightclubs, this techno row 7 : music video | 5:02 | music videos iv | None | 2005 | None row 8 : live version (recorded in 2006) | 6:42 (audio) 8:18 ( | avant que l'ombre... a | None | 2006 | this version is similar to the album one, with ] Execute this SQL based on the above table: select album where year = 2005
avant que l'ombre, music videos iv
[ header: round | 100 yd (91 m) | 80 yd (73 m) | 60 yd (55 m) | 50 yd (46 m) | 40 yd (37 m) row 1 : york | 6 doz | 4 doz | 2 doz | None | None row 2 : hereford | None | 6 doz | 4 doz | 2 doz | None row 3 : st. george | 3 doz | 3 doz | 3 doz | None | None row 4 : albion | None | 3 doz | 3 doz | 3 doz | None row 5 : windsor | None | None | 3 doz | 3 doz | 3 doz row 6 : new western | 4 doz | 4 doz | None | None | None row 7 : long western | None | 4 doz | 4 doz | None | None row 8 : western | None | None | 4 doz | 4 doz | None row 9 : american | None | None | 2 1⁄2 doz | 2 1⁄2 doz | 2 1⁄2 doz row 10 : new national | 4 doz | 2 doz | None | None | None row 11 : long national | None | 4 doz | 2 doz | None | None row 12 : national | None | None | 4 doz | 2 doz | None row 13 : new warwick | 2 doz | 2 doz | None | None | None row 14 : long warwick | None | 2 doz | 2 doz | None | None row 15 : warwick | None | None | 2 doz | 2 doz | None ] Execute this SQL based on the above table: select count ( round ) where round = 'long national'
1
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | france | 1 | 3 | 0 | 4 row 2 : 2 | england | 1 | 2 | 1 | 4 row 3 : 3 | ireland | 1 | 1 | 0 | 2 row 4 : 3 | sweden | 1 | 1 | 0 | 2 row 5 : 5 | belgium | 1 | 0 | 2 | 3 row 6 : 6 | hungary | 1 | 0 | 0 | 1 row 7 : 6 | netherlands | 1 | 0 | 0 | 1 row 8 : 6 | spain | 1 | 0 | 0 | 1 row 9 : 9 | scotland | 0 | 1 | 0 | 1 row 10 : 10 | czechoslovakia | 0 | 0 | 2 | 2 row 11 : 10 | italy | 0 | 0 | 2 | 2 row 12 : 12 | denmark | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select count ( distinct nation )
12
[ header: date | opponent | time | score | record row 1 : 10/9/2009 | university of new hampshire | 7 p.m | loss, 4-0 | 0-1-0 row 2 : 10/10/2009 | boston college | 5 p.m | None | None row 3 : 10/16/2009 | providence college | 7 p.m | 1-4 | None row 4 : 10/17/2009 | university of connecticut | 4 p.m | None | None row 5 : 10/23/2009 | wayne state university | 7 p.m | None | None row 6 : 10/24/2009 | wayne state university | 2 p.m | None | None row 7 : 10/30/2009 | harvard university | 7 p.m | None | None row 8 : 10/31/2009 | dartmouth college | 3:30 p.m | None | None row 9 : 11/6/2009 | rensselaer | 2:30 p.m | None | None row 10 : 11/7/2009 | union college | 2:30 p.m | 4-0 | None row 11 : 11/13/2009 | st. lawrence university | 7 p.m | None | None row 12 : 11/14/2009 | clarkson university | 4 p.m | None | None row 13 : 11/20/2009 | quinnipiac university | 7 p.m | None | None row 14 : 11/21/2009 | princeton university | 4 p.m | None | None row 15 : 11/24/2009 | syracuse university | 7 p.m | None | None row 16 : 11/27/2009 | mercyhurst college | 7 p.m | None | None row 17 : 11/28/2009 | mercyhurst college | 2 p.m | None | None row 18 : 12/4/2009 | brown university | 7 p.m | None | None row 19 : 12/5/2009 | yale university | 4 p.m | None | None row 20 : 1/2/2010 | syracuse university | 7 p.m | None | None row 21 : 1/8/2010 | niagara university | 7 p.m | None | None row 22 : 1/9/2010 | niagara university | 4 p.m | None | None row 23 : 1/15/2010 | dartmouth college | 7 p.m | None | None row 24 : 1/16/2010 | harvard university | 4 p.m | None | None row 25 : 1/22/2010 | cornell university | 3 p.m | None | None row 26 : 1/23/2010 | cornell university | 3 p.m | None | None row 27 : 1/29/2010 | clarkson university | 7 p.m | None | None row 28 : 1/30/2010 | st. lawrence university | 4 p.m | None | None row 29 : 2/5/2010 | princeton university | 7 p.m | None | None row 30 : 2/6/2010 | quinnipiac university | 4 p.m | None | None row 31 : 2/12/2010 | yale university | 7 p.m | None | None row 32 : 2/13/2010 | brown university | 4 p.m | None | None row 33 : 2/19/2010 | union college | 7 p.m | 2-1 | None row 34 : 2/20/2010 | rensselaer | 4 p.m | None | None ] Execute this SQL based on the above table: select count ( opponent ) where time = '4 p.m'
0
[ header: number | serial no | entered service | withdrawn | kilometres travelled row 1 : 4101 | 1000 | 1 dec 1953 | 6 jun 1973 | 463,514 row 2 : 4102 | 1002 | 30 oct 1953 | 30 jun 1975 | 492,650 row 3 : 4103 | 1003 | 18 jan 1954 | 2 apr 1974 | 462,871 row 4 : 4104 | 1004 | 13 jan 1954 | 12 oct 1973 | 440,810 row 5 : 4105 | 1005 | 8 feb 1954 | None | None row 6 : 4106 | 1006 | 21 jan 1954 | 4 aug 1972 | 406,288 row 7 : 4107 | 1007 | 25 jan 1954 | 11 aug 1973 | 446,167 row 8 : 4108 | 1008 | 22 feb 1954 | 20 dec 1967 | 402,026 row 9 : 4109 | 1009 | 11 mar 1954 | 9 feb 1972 | 426,074 row 10 : 4110 | 1010 | 10 feb 1955 | 20 may 1974 | 476,489 ] Execute this SQL based on the above table: select number group by number order by sum ( withdrawn ) limit 1
4105.0
[ header: year | competition | venue | position | notes row 1 : 2002 | asian junior championships | bangkok, thailand | 3rd | 1.76 m row 2 : 2004 | asian junior championships | ipoh, malaysia | 1st | 1.84 m row 3 : 2004 | world junior championships | grosseto, italy | 7th | 1.84 m row 4 : 2005 | universiade | izmir, turkey | 7th | 1.80 m row 5 : 2005 | asian championships | incheon, south korea | 3rd | 1.84 m row 6 : 2005 | asian indoor games | bangkok, thailand | 2nd | 1.84 m row 7 : 2006 | asian games | doha, qatar | 6th | 1.84 m row 8 : 2007 | asian championships | amman, jordan | 3rd | 1.91 m row 9 : 2007 | universiade | bangkok, thailand | 3rd | 1.90 m row 10 : 2007 | world championships | osaka, japan | 20th (q) | 1.88 m row 11 : 2007 | asian indoor games | macau | 3rd | 1.88 m row 12 : 2008 | asian indoor championships | doha, qatar | 2nd | 1.91 m row 13 : 2009 | universiade | belgrade, serbia | 14th (q) | 1.80 m row 14 : 2010 | asian indoor championships | tehran, iran | 2nd | 1.86 m row 15 : 2010 | world indoor championships | istanbul, turkey | 20th (q) | 1.81 m row 16 : 2010 | asian games | guangzhou, china | 3rd | 1.90 m row 17 : 2011 | asian championships | kobe, japan | 4th | 1.85 m row 18 : 2011 | universiade | shenzhen, china | 10th | 1.84 m ] Execute this SQL based on the above table: select count ( venue ) where venue is null
0
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | nigeria | 14 | 12 | 9 | 35 row 2 : 2 | algeria | 9 | 4 | 4 | 17 row 3 : 3 | kenya | 8 | 11 | 4 | 23 row 4 : 4 | ethiopia | 2 | 4 | 7 | 13 row 5 : 5 | ghana | 2 | 2 | 2 | 6 row 6 : 6 | ivory coast | 2 | 1 | 3 | 6 row 7 : 7 | egypt | 2 | 1 | 0 | 3 row 8 : 8 | senegal | 1 | 1 | 5 | 7 row 9 : 9 | morocco | 1 | 1 | 1 | 3 row 10 : 10 | tunisia | 0 | 3 | 1 | 4 row 11 : 11 | madagascar | 0 | 1 | 1 | 2 row 12 : 12 | rwanda | 0 | 0 | 1 | 1 row 13 : 12 | zimbabwe | 0 | 0 | 1 | 1 row 14 : 12 | seychelles | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select nation where nation in ( 'ethiopia' , 'kenya' ) order by total desc limit 1
kenya
[ header: year | tournament | venue | result | rank | event row 1 : 1993 | world championships | stuttgart, germany | 7911 | 12th | decathlon row 2 : 1993 | universiade | buffalo, united states | 7864 | 2nd | decathlon row 3 : 1994 | european indoor championships | paris, france | 5888 | 7th | heptathlon row 4 : 1994 | hypo-meeting | gotzis, austria | 7779 | 18th | decathlon row 5 : 1994 | european championships | helsinki, finland | 7272 | 20th | decathlon row 6 : 1995 | hypo-meeting | gotzis, austria | 8041 | 12th | decathlon row 7 : 1995 | universiade | fukuoka, japan | 7943 | 5th | decathlon row 8 : 1995 | world championships | gothenburg, sweden | 8042 | 11th | decathlon row 9 : 1996 | olympic games | atlanta, usa | None | dnf | decathlon row 10 : 1997 | world championships | athens, greece | 8140 | 11th | decathlon row 11 : 1998 | european indoor championships | valencia, spain | 6055 (pb) | 7th | heptathlon row 12 : 1998 | hypo-meeting | gotzis, austria | 8179 (pb) | 9th | decathlon row 13 : 1999 | hypo-meeting | gotzis, austria | 7925 | 10th | decathlon row 14 : 1999 | world championships | seville, spain | 7851 | 12th | decathlon row 15 : 2000 | hypo-meeting | gotzis, austria | 7876 | 16th | decathlon row 16 : 2000 | olympic games | sydney, australia | 7932 | 17th | decathlon ] Execute this SQL based on the above table: select tournament where tournament != 'world championships' and year = ( select year where tournament = 'world championships' )
universiade
[ header: place | player | country | score | to par | money ($) row 1 : 1 | larry nelson | united states | 70-66-66-71=273 | -7 | 60000 row 2 : 2 | fuzzy zoeller | united states | 70-68-68-71=277 | -3 | 40000 row 3 : 3 | dan pohl | united states | 69-67-73-69=2 | -2 | 25000 row 4 : t4 | isao aoki | japan | 75-68-66-70=279 | -1 | 13146 row 5 : t4 | keith fergus | united states | 71-71-69-68=2 | -1 | 13146 row 6 : t4 | bob gilder | united states | 74-69-70-66=2 | -1 | 13146 row 7 : t4 | tom kite | united states | 71-67-69-72=2 | -1 | 13146 row 8 : t4 | bruce lietzke | united states | 70-70-71-68=279 | -1 | 13146 row 9 : t4 | jack nicklaus | united states | 71-68-71-69=2 | -1 | 13146 row 10 : t4 | greg norman | australia | 73-67-68-71=2 | -1 | 13146 ] Execute this SQL based on the above table: select abs ( place - player ) where score = '74-69-70-66=279'
0
[ header: year | title | role | notes row 1 : 1978 | the big fix | pool man | None row 2 : 1979 | french postcards | sayyid | None row 3 : 1979 | last embrace | first commuter | None row 4 : 1980 | night of the juggler | allesandro the cabbie | None row 5 : 1981 | ragtime | tateh | None row 6 : 1983 | yentl | avigdor | nominated-golden globe award for best row 7 : 1983 | daniel | paul isaacson | None row 8 : 1985 | maxie | nick | None row 9 : 1986 | tenku no shiro rap | louis | None row 10 : 1987 | the princess bride | inigo montoya | None row 11 : 1988 | alien nation | detective samuel 'ge | nominated-saturn award for best row 12 : 1988 | the house on carroll street | ray salwen | None row 13 : 1990 | dick tracy | 88 keys | None row 14 : 1991 | true colors | john palmeri | None row 15 : 1991 | impromptu | alfred de musset | None row 16 : 1991 | the doctor | dr. murray kaplan | None row 17 : 1993 | the music of chance | jim nashe | None row 18 : 1993 | life with mikey | irate man | None row 19 : 1994 | squanto: a warrior's | brother daniel | None row 20 : 1998 | lulu on the bridge | philip kleinman | None row 21 : 1998 | men with guns | andrew | None row 22 : 1999 | the adventures of elmo in | huxley | None row 23 : 2001 | pinero | joseph papp | None row 24 : 2002 | run ronnie run | himself | None row 25 : 2003 | celebrity train layouts: mandy patin | himself | None row 26 : 2005 | the choking man | rick | None row 27 : 2006 | everyone's hero | stanley irving | None row 28 : 2010 | 4.3.2.1 ... the countdown begins | jago l | None row 29 : 2014 | wish i was here | saul bloom | None ] Execute this SQL based on the above table: select role order by year asc limit 1
pool man
[ header: year | title | role | notes row 1 : 1980 | the flintstone comedy hour | freaky frankenstone | voice episode: "rv fever/birthday row 2 : 1980 | steve martin: comedy is not | unnamed terrorist | reubens played an unnamed terrorist row 3 : 1980 | steve martin: all commercials | multiple roles | reubens played multiple roles in multiple ski row 4 : 1981 | mork & mindy | dickie nimitz | episode: "long before we met" row 5 : 1981 | the pee-wee herman show | pee-wee herman | tv movie row 6 : 1982 | madame's place | pee-wee herman | episode: "episode #1. row 7 : 1984 | faerie tale theatre | pinocchio | episode: "pinocchio" row 8 : 1985 | saturday night live | pee-wee herman | host episode: "pee-wee her row 9 : 1986-1990 | pee-wee's playhouse | pee-wee herman | creator, writer, director of 3 episodes daytime row 10 : 1988 | sesame street | pee-wee herman | episode:"put down the duckie" row 11 : 1995-1997 | murphy brown | andrew j. lansing | 6 episodes nominated - primetime row 12 : 2001 | ally mcbeal | louis | episode: "cloudy skies, chance of parade row 13 : 2006 | campus ladies | drama instructor | episode: "drama class" row 14 : 2006 | reno 911! | rick | episode: "rick's on it" row 15 : 2006 | tom goes to the mayor | paul | voice episode: "puddins" row 16 : 2006 | re-animated | golly gopher | voice tv movie row 17 : 2007 | area 57 | alien | unaired pilot row 18 : 2007 | 30 rock | gerhardt hapsburg | episode: "black tie" row 19 : 2007 | tim and eric awesome show, great | the moon | episode: "cats" row 20 : 2007-2009 | chowder | reuben | voice 3 episodes row 21 : 2007 | pushing daisies | oscar vibenius | 2 episodes row 22 : 2009-2011 | batman: the brave and the bold | bat-mite | voice 4 episodes row 23 : 2012-2013 | tron: uprising | pavel | voice 17 episodes row 24 : 2012 | robot chicken dc comics special | the riddler | voice tv movie row 25 : 2013 | comedy bang! bang! | pee-wee herman | episode: "pee wee herman wear ] Execute this SQL based on the above table: select count ( notes ) where role = 'andrew j. lansing iii'
1
[ header: year | competition | venue | position | notes row 1 : 2002 | european championships | munich, germany | 6th | 7.78 m row 2 : 2003 | world championships | paris, france | 9th | 7.93 m row 3 : 2004 | olympic games | athens, greece | 5th | 8.25 m row 4 : 2006 | european championships | gothenburg, sweden | 9th | 7.74 m row 5 : 2008 | world indoor championships | valencia, spain | 2nd | 8.06 m row 6 : 2008 | olympic games | beijing, china | 27th | 7.70 m row 7 : 2009 | world championships | berlin, germany | 8th | 8.06 m row 8 : 2010 | european championships | barcelona, spain | 3rd | 8.23 m row 9 : 2011 | european team championships | stockholm, sweden | 3rd | 8.12 m row 10 : 2011 | world championships | daegu, south korea | 11th | 7.87 m row 11 : 2012 | olympic games | london, england | 6th | 8.07 m row 12 : 2013 | european indoor championships | gothenburg, sweden | 7th | 7.95 m ] Execute this SQL based on the above table: select year group by year order by count ( * ) asc limit 1
2002
[ header: rank | city | passengers | ranking | airline row 1 : 1 | united states, los angeles | 14749 | None | alaska airlines row 2 : 2 | united states, houston | 5465 | None | united express row 3 : 3 | canada, calgary | 3761 | None | air transat, westjet row 4 : 4 | canada, saskatoon | 2282 | 4 | None row 5 : 5 | canada, vancouver | 2103 | None | air transat row 6 : 6 | united states, phoenix | 1829 | 1 | us airways row 7 : 7 | canada, toronto | 1202 | 1 | air transat, canjet row 8 : 8 | canada, edmonton | 110 | None | None row 9 : 9 | united states, oakland | 107 | None | None ] Execute this SQL based on the above table: select rank where airline = 'air transat, canjet' and airline = 'air transat, canjet'
7
[ header: year | location | gold | silver | bronze row 1 : 1950 | basel | helena rakoczy | tereza kocis | stefania reindlova row 2 : 1954 | rome | tamara manina | eva bosakova | maria gorokovskaya row 3 : 1958 | moscow | eva bosakova | larisa latynina | keiko tanaka row 4 : 1962 | prague | larisa latynina | irina pervuschina | vera caslavska row 5 : 1974 | varna | ludmila turicheva | olga korbut | elvira saad row 6 : 1978 | strasbourg | nellie kim elena | None | emilia eberle ka row 7 : 1983 | budapest | ekaterina szabo | olga mostepanova | boriana stoyanova row 8 : 1985 | montreal | oksana omelianchik | elena shushunova | ulrike klotz row 9 : 1991 | indianapolis | cristina bontas ok | None | kim zmeskal row 10 : 1993 | birmingham | shannon miller | gina gogean | natalia bobrova row 11 : 1994 | brisbane | dina kochetkova | lavinia milosovici | gina gogean row 12 : 1995 | sabae | gina gogean | ji liya | ludivine furnon row 13 : 1996 | san juan | kui yuan-yu | None | liubov sheremet row 14 : 1997 | lausanne | gina gogean | svetlana khorkin | elena produnova row 15 : 1999 | tianjin | andreea raducan | simona amanar | svetlana khorkin row 16 : 2001 | ghent | andreea raducan | daniele hypolito | svetlana khorkin row 17 : 2005 | melbourne | alicia sacramone | anastasia liukin | suzanne harmes row 18 : 2006 | aarhus | cheng fei | jana bieger | vanessa ferrari row 19 : 2009 | london | elizabeth tweddle | lauren mitchell | sui lu row 20 : 2010 | rotterdam | lauren mitchell | aliya mustafina | None row 21 : 2011 | tokyo | ksenia afanasy | sui lu | aly raisman row 22 : 2014 | nanning | None | None | None row 23 : 2015 | glasgow | None | None | None ] Execute this SQL based on the above table: select silver where year < 1996
tereza kocis, eva bosakova, larisa latynina, irina pervuschina, olga korbut, olga mostepanova, elena shushunova, gina gogean, lavinia milosovici, ji liya
[ 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 group by nation order by count ( * ) desc limit 1
united states
[ header: year | date | winner | make | pole | make | results row 1 : 1970 | october 4 | dave sorg | mercury | ron north | oldsmobile | report row 2 : 1971 | october 3 | denny miles | chevrolet | les snow | plymouth | report row 3 : 1972 | october 1 | dave sorg | chevrolet | larry moore | chevrolet | report row 4 : 1975 | september 28 | bob senneker | chevrolet | larry moore | chevrolet | report row 5 : 1976 | october 4 | bob senneker | chevrolet | bob senneker | chevrolet | report row 6 : 1977 | october 2 | bob senneker | chevrolet | bob senneker | chevrolet | report row 7 : 1980 | october 5 | terry senneker | chevrolet | mark martin | chevrolet | report row 8 : 1983 | october 2 | mike eddy | pontiac | dick trickle | pontiac | report row 9 : 1985 | september 29 | mark martin | ford | mark martin | ford | report row 10 : 1986 | october 5 | mark martin | ford | mark martin | pontiac | report row 11 : 1989 | october 1 | butch miller | chevrolet | kenny wallace | pontiac | report row 12 : 1990 | september 30 | bob senneker | chevrolet | dave jackson | chevrolet | report row 13 : 1992 | october 4 | tim steele | chevrolet | mike garvey | ford | report row 14 : 1993 | october 3 | mike cope | oldsmobile | hal goodson | ford | report row 15 : 1995 | october 1 | mike cope | chevrolet | ron barfield, jr | ford | report row 16 : 1999 | september 26 | brian ross | chevrolet | matt hagans | ford | report row 17 : 2000 | october 1 | gary st. amant | chevrolet | larry foyt | pontiac | report row 18 : 2001 | september 23 | joey clanton | chevrolet | david stremme | ford | report row 19 : 2002 | october 6 | gary st. amant | chevrolet | david stremme | chevrolet | report row 20 : 2003 | october 5 | bobby parsley | chevrolet | dave jackson | chevrolet | report row 21 : 2004 | None | None | None | None | None | None row 22 : 2005 | None | None | None | None | None | None row 23 : 2006 | october 15 | scott hantz | chevrolet | danny jackson | None | report row 24 : 2008 | october 12 | david stremme | dodge | chris gabehart | None | report row 25 : 2009 | october 18 | kyle busch | toyota | chris gabehart | None | report row 26 : 2010 | october 17 | chase elliott | ford | johnny vandoorn | None | report row 27 : 2012 | october 14 | ross kenseth | ford | rick turner | ford | report row 28 : 2013 | october 13 | erik jones | toyota | chase elliott | chevrolet | report ] Execute this SQL based on the above table: select make order by year desc limit 1
chevrolet
[ header: dutch language group electoral district (as of 2012) | dutch language group seats | french language group electoral district (as of 2012) | french language group seats row 1 : antwerp | 24 | brussels capital region | 13/14 row 2 : brussels capital region | 1/2 | hainaut | 18 row 3 : east flanders | 20 | liege | 15 row 4 : flemish brabant | 15 | luxembourg | 4 row 5 : limburg | 12 | namur | 6 row 6 : west flanders | 16 | walloon brabant | 5 row 7 : total | 88 | total | 62 ] Execute this SQL based on the above table: select count ( dutch language group electoral district (as of 2012) )
7
[ header: composer | title | genre | date | notes row 1 : flor alpaerts | salome | incidental music | None | None row 2 : granville bantock | dance of the seven veils | incidental music | 1918 | staged london, 1918 row 3 : leonard bernstein | salome | incidental music | 1955 | chamber orchestra with 8 players and vocal soloists row 4 : peter maxwell davies | salome | ballet | 1978 | premiered copenhagen, 10 nov row 5 : pete doherty | salome | popular music | 2009 | appears on his album grace/wastelands row 6 : alexander glazunov | introduction and dance, op. 90 | incidental music | 1908 | None row 7 : henry hadley | salome, op. 55 | symphonic poem | 1905 | this was written after hadley had seen a row 8 : alexander krein | salome, op. 19 | symphonic poem | 1929 | None row 9 : constant lambert | salome | incidental music | 1929 | clarinet, cello, trumpet, row 10 : antoine mariotte | salome | opera | 1905 | premiered 1908; he was involved in row 11 : emil petrovics | salome | ballet | 1978 | flute, trumpet, harp and percussion row 12 : richard strauss | salome, op. 54 | opera | 1905 | trans. hedwig lachmann; row 13 : alexander tcherepnin | salome | incidental music | None | None ] Execute this SQL based on the above table: select notes order by date desc limit 1
appears on his album grace/wastelands
[ header: year | time | windspeed | city | date | row 1 : 2000 | 11.45 | -2.3 | kingston | 13 march | the progression of powell's 100 m row 2 : 2001 | 10.5 | 0.4 | kingston | 22 june | the progression of powell's 100 m row 3 : 2002 | 10.12 | 1.3 | rovereto | 28 august | the progression of powell's 100 m row 4 : 2003 | 10.02 | 0.8 | brussels | 5 september | the progression of powell's 100 m row 5 : 2004 | 9.87 | 0.2 | brussels | 3 september | the progression of powell's 100 m row 6 : 2005 | 9.77 | 1.6 | athens | 14 june | the progression of powell's 100 m row 7 : 2006 | 9.77 | 1 | zurich | 15 august | the progression of powell's 100 m row 8 : 2007 | 9.74 | 1.7 | rieti | 9 september | the progression of powell's 100 m row 9 : 2008 | 9.72 | 0.2 | lausanne | 2 september | the progression of powell's 100 m row 10 : 2009 | 9.82 | 1.4 | szczecin | 15 september | the progression of powell's 100 m row 11 : 2010 | 9.82 | 0.6 | rome | 10 june | the progression of powell's 100 m row 12 : 2011 | 9.78 | 1 | lausanne | 30 june | the progression of powell's 100 m ] Execute this SQL based on the above table: select date order by windspeed limit 1
13 march
[ header: election year | # of constituency votes | % of constituency votes | +/- | # of party list votes | % of party list votes | +/- | # of overall seats won row 1 : 1965 | 587216 | 1.8 | 1.8 | 664193 | 2 | 2 | 0 / 518 row 2 : 1969 | 1189375 | 3.6 | 1.8 | 1422010 | 4.3 | 2.3 | 0 / 518 row 3 : 1972 | 194389 | 0.5 | 3.1 | 207465 | 0.6 | 3.7 | 0 / 518 row 4 : 1976 | 136.023 | 0.4 | 0.1 | 122661 | 0.3 | 0.3 | 0 / 518 row 5 : 1980 | None | None | None | 68096 | 0.2 | 0.1 | 0 / 497 row 6 : 1983 | 57112 | 0.1 | 0.3 | 91095 | 0.2 | 0 | 0 / 498 row 7 : 1987 | 182880 | 0.5 | 0.4 | 227054 | 0.6 | 0.4 | 0 / 497 row 8 : 1990 | 190105 | 0.4 | 0.1 | 145776 | 0.3 | 0.3 | 0 / 662 row 9 : 1998 | 45043 | 0.1 | 0.3 | 126571 | 0.3 | 0 | 0 / 669 row 10 : 2002 | 103209 | 0.1 | 0.1 | 215232 | 0.4 | 0.1 | 0 / 603 row 11 : 2005 | 857.777 | 1.8 | 1.6 | 748568 | 1.6 | 1.2 | 0 / 614 row 12 : 2009 | 768442 | 1.8 | 0 | 635525 | 1.5 | 0.1 | 0 / 620 row 13 : 2013 | 634842 | 1.5 | 0.3 | 560660 | 1.3 | 0.2 | 0 / 630 ] Execute this SQL based on the above table: select # of overall seats won where # of constituency votes <= 1624
0 / 518, 0 / 614
[ header: year | nw rank | venue | opp rank | opponent | score | w/l | round | notes row 1 : 1996 | 2 | away | None | northern colorado | 26-27 | l | quarterfinal | None row 2 : 1998 | 2 | maryville | 11 | texas a&m-king | 49-34 | w | semifinal | None row 3 : 1998 | 2 | braly stadium | 3 | carson-newman | 24-6 | w | finals | None row 4 : 2000 | 1 | maryville | 5 | north dakota state | 17-13 | l | 1st round | None row 5 : 2002 | 4 | maryville | 7 | northern colorado | 12-23 | l | quarterfinal | None row 6 : 2004 | 4 | maryville | 6 | texas a&m-king | 34-14 | w | 1st round | None row 7 : 2005 | 21 | away | 12 | washburn | 42-32 | w | 2nd round | None row 8 : 2006 | 2 | maryville | 18 | midwestern state | 27-0 | w | 2nd round (first round bye) | None row 9 : 2006 | 2 | braly stadium | 1 | grand valley state | 14-17 | l | finals | None row 10 : 2007 | 5 | away | 2 | chadron state | 26-13 | w | quarterfinal | None row 11 : 2007 | 5 | maryville | 1 | grand valley state | 34-16 | w | semifinal | None row 12 : 2008 | 3 | braly stadium | 6 | minnesota-duluth | 14-21 | l | finals | None row 13 : 2009 | 2 | away | 1 | central washington | 21-20 | w | quarterfinal | None row 14 : 2010 | 3 | away | 1 | minnesota-duluth | 13-17 | l | semifinal | played during snowstorm that collapsed the huber row 15 : 2013 | 2 | maryville | 5 | minnesota-duluth | 59-21 | w | second round (first round bye) | None row 16 : 2013 | 2 | maryville | 12 | minnesota-st. cloud | 59-21 | w | quarterfinal | None row 17 : 2013 | 2 | maryville | 22 | grand valley state | 27-13 | w | semifinal | game was attend by missouri governor jay ] Execute this SQL based on the above table: select count ( w/l )
17
[ header: year | title | role | notes row 1 : 1984 | no small affair | mona | film debut row 2 : 1985 | moving violations | amy hopkins | None row 3 : 1987 | inside out | amy | None row 4 : 1988 | johnny be good | connie hisler | None row 5 : 1988 | high spirits | miranda | None row 6 : 1989 | let it ride | vicki | None row 7 : 1989 | the fabulous baker boys | blanche "monica" moran | None row 8 : 1991 | the doors | okie girl | uncredited row 9 : 1991 | scorchers | talbot | None row 10 : 1992 | shadow of the wolf | igiyook | None row 11 : 1993 | made in america | stacy | None row 12 : 1994 | bullets over broadway | olive neal | None row 13 : 1994 | embrace of the vampire | marika | None row 14 : 1995 | bird of prey | kily griffith | None row 15 : 1995 | man with a gun | rena rushton/kathy | None row 16 : 1996 | the pompatus of love | tarzaan | None row 17 : 1996 | house arrest | cindy figler | None row 18 : 1996 | bound | violet | None row 19 : 1996 | american strays | patty mae | None row 20 : 1997 | liar liar | samantha cole | None row 21 : 1997 | edie & pen | edie piper | None row 22 : 1997 | bella mafia | moyra luciano | None row 23 : 1997 | the wrong guy | lynn holden | None row 24 : 1998 | relax...it's just sex | tara ricotto | None row 25 : 1998 | hoods | mary crippa | None row 26 : 1998 | bride of chucky | tiffany | None row 27 : 1998 | music from another room | nina | None row 28 : 1999 | goosed | charlene | None row 29 : 1999 | do not disturb | cathryn | None row 30 : 1999 | bartok the magnificent | piloff | voice only direct-to-video row 31 : 1999 | play it to the bone | ringside fan | None row 32 : 2000 | cord | helen | None row 33 : 2000 | bruno | dolores | None row 34 : 2000 | dancing at the blue iguana | jo | None row 35 : 2000 | the crew | ferris 'aka maureen' low | None row 36 : 2001 | fast sofa | ginger quail | None row 37 : 2001 | ball in the house | dot | None row 38 : 2001 | the cat's meow | louella parsons | None row 39 : 2003 | the haunted mansion | madame leota | None row 40 : 2003 | jericho mansions | donna cherry | None row 41 : 2004 | second best | carole | None row 42 : 2004 | perfect opposites | elyse steinberg | None row 43 : 2004 | home on the range | grace | voice only row 44 : 2004 | el padrino | sebeva | None row 45 : 2004 | love on the side | alma kerns | None row 46 : 2005 | lil' pimp | miss de la croix | voice only row 47 : 2005 | the civilization of maxwell bright | dr. o'shannon | None row 48 : 2005 | tideland | queen gunhilda | None row 49 : 2006 | the poker movie | herself | None row 50 : 2007 | intervention | None | None row 51 : 2008 | deal | karen 'razor' jo | None row 52 : 2008 | the caretaker | miss perry | None row 53 : 2008 | inconceivable | salome 'sally' marsh | None ] Execute this SQL based on the above table: select notes order by title - role desc limit 1
film debut
[ header: ecclesiastical jurisdictions | latin name | type | rite | ecclesiastical province | established | area (km2) row 1 : benguela | benguelensis | diocese | roman | huambo | 6 june 1970 | 49920 row 2 : cabinda | cabindanus | diocese | roman | luanda | 2 july 1984 | 7120 row 3 : caxito | caxitonsis | diocese | roman | luanda | 6 june 2007 | 25133 row 4 : dundo | dundensis | diocese | roman | luanda | 9 november 2001 | 103130 row 5 : huambo | huambensis | metropolitan archdiocese | roman | huambo | 4 september 1940 | 29500 row 6 : kwito-bie | kvitobiensis | diocese | roman | huambo | 4 september 1940 | 71000 row 7 : luanda | luandensis | metropolitan archdiocese | roman | luanda | 1596 | 1074 row 8 : lubango | lubangensis | metropolitan archdiocese | roman | lubango | 27 july 1955 | 118000 row 9 : lwena | lvenanus | diocese | roman | saurimo | 1 july 1963 | 199786 row 10 : malanje | malaniensis | metropolitan archdiocese | roman | malanje | 25 november 1957 | 107000 row 11 : mbanza congo | mbanzacongensis | diocese | roman | luanda | 7 november 1984 | 39459 row 12 : menongue | menonguensis | diocese | roman | lubango | 10 august 1975 | 213309 row 13 : namibe | namibanus | diocese | roman | lubango | 21 march 2009 | 57097 row 14 : ndalatando | ndalatandensis | diocese | roman | malanje | 26 march 1990 | 20159 row 15 : ondjiva | ondiivanus | diocese | roman | lubango | 10 august 1975 | 83900 row 16 : saurimo | saurimoensis | metropolitan archdiocese | roman | saurimo | 10 august 1975 | 77000 row 17 : sumbe | sumbensis | diocese | roman | luanda | 10 august 1975 | 60000 row 18 : uije | uiiensis | diocese | roman | luanda | 14 march 1967 | 63530 row 19 : viana | viananensis | diocese | roman | luanda | 6 june 2007 | 17206 ] Execute this SQL based on the above table: select ( select area (km2) where area (km2) = 199786 ) - ( select area (km2) where area (km2) = 25133 )
174653.0
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | brazil | 45 | 33 | 36 | 114 row 2 : 2 | china | 37 | 28 | 34 | 99 row 3 : 3 | italy | 14 | 13 | 24 | 51 row 4 : 4 | poland | 13 | 19 | 11 | 43 row 5 : 5 | france | 11 | 3 | 3 | 17 row 6 : 6 | south korea | 8 | 6 | 8 | 22 row 7 : 7 | north korea | 7 | 2 | 3 | 12 row 8 : 8 | kenya | 6 | 5 | 5 | 16 row 9 : 9 | germany | 5 | 19 | 11 | 35 row 10 : 10 | ukraine | 5 | 4 | 9 | 18 row 11 : 11 | iran | 5 | 3 | 4 | 12 row 12 : 12 | norway | 4 | 5 | 2 | 11 row 13 : 13 | qatar | 3 | 1 | 2 | 6 row 14 : 14 | chile | 2 | 4 | 2 | 8 row 15 : 15 | austria | 2 | 2 | 2 | 6 row 16 : 16 | lithuania | 2 | 1 | 2 | 5 row 17 : 17 | belarus | 2 | 0 | 4 | 6 row 18 : 18 | latvia | 2 | 0 | 2 | 4 row 19 : 19 | sweden | 2 | 0 | 0 | 2 row 20 : 20 | morocco | 1 | 7 | 1 | 9 row 21 : 21 | turkey | 1 | 5 | 4 | 10 row 22 : 22 | kazakhstan | 1 | 3 | 6 | 10 row 23 : 22 | venezuela | 1 | 3 | 6 | 10 row 24 : 24 | switzerland | 1 | 3 | 5 | 9 row 25 : 25 | slovenia | 1 | 2 | 6 | 9 row 26 : 26 | bahrain | 1 | 2 | 4 | 7 row 27 : 26 | finland | 1 | 2 | 4 | 7 row 28 : 28 | algeria | 1 | 2 | 3 | 6 row 29 : 29 | estonia | 1 | 2 | 2 | 5 row 30 : 30 | united states | 1 | 1 | 3 | 5 row 31 : 31 | netherlands | 1 | 1 | 2 | 4 row 32 : 32 | syria | 1 | 1 | 0 | 2 row 33 : 33 | belgium | 1 | 0 | 2 | 3 row 34 : 33 | romania | 1 | 0 | 2 | 3 row 35 : 35 | canada | 1 | 0 | 1 | 2 row 36 : 35 | uganda | 1 | 0 | 1 | 2 row 37 : 37 | croatia | 1 | 0 | 0 | 1 row 38 : 37 | denmark | 1 | 0 | 0 | 1 row 39 : 37 | ecuador | 1 | 0 | 0 | 1 row 40 : 40 | greece | 0 | 5 | 3 | 8 row 41 : 41 | tunisia | 0 | 3 | 1 | 4 row 42 : 42 | dominican republic | 0 | 1 | 2 | 3 row 43 : 43 | jordan | 0 | 1 | 1 | 2 row 44 : 44 | egypt | 0 | 1 | 0 | 1 row 45 : 44 | hungary | 0 | 1 | 0 | 1 row 46 : 46 | india | 0 | 0 | 3 | 3 row 47 : 47 | cameroon | 0 | 0 | 2 | 2 row 48 : 47 | namibia | 0 | 0 | 2 | 2 row 49 : 47 | sri lanka | 0 | 0 | 2 | 2 row 50 : 47 | uruguay | 0 | 0 | 2 | 2 row 51 : 51 | argentina | 0 | 0 | 1 | 1 row 52 : 51 | pakistan | 0 | 0 | 1 | 1 row 53 : 51 | suriname | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select nation where id = 1
brazil
[ 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 position = position
6
[ header: round | circuit | location | date | pole position | fastest lap | winning driver | headline event row 1 : 1 | albert whitted airport | st. petersburg, florid | february 23 | leonardo maia | dan di leo | leonardo maia | grand prix of st. petersburg row 2 : 2 | fundidora park | monterrey | march 23 | leonardo maia | david martinez | david martinez | monterrey grand prix row 3 : 3 | milwaukee mile | west allis, wisconsin | june 1 | victor gonzalez, j | scott poirier | leonardo maia | milwaukee mile centennial 250 row 4 : 4 | mazda raceway laguna sec | monterey, californi | june 15 | memo rojas | leonardo maia | dan di leo | grand prix of monterey row 5 : 5 | portland international raceway | portland, oregon | june 22 | leonardo maia | leonardo maia | leonardo maia | g.i. joe's row 6 : 6 | burke lakefront airport | cleveland, ohio | july 5 | leonardo maia | leonardo maia | leonardo maia | u.s. bank cleveland row 7 : 7 | exhibition place | toronto | july 13 | leonardo maia | leonardo maia | memo rojas | molson indy toronto row 8 : 8 | concord pacific place | vancouver | july 27 | leonardo maia | david martinez | leonardo maia | molson indy vancouver row 9 : 9 | mid-ohio sports car course | lexington, ohio | august 3 | leonardo maia | leonardo maia | leonardo maia | champ car grand prix of mid-ohi row 10 : 10 | circuit gilles villeneuve | montreal | august 24 | memo rojas | leonardo maia | memo rojas | molson indy montreal ] Execute this SQL based on the above table: select winning driver where id = ( select id where winning driver = 'david martinez' ) - 1
leonardo maia
[ header: state | passed | referendum | vote row 1 : s. carolina | december 20, 1860 | None | None row 2 : mississippi | january 9, 1861 | None | None row 3 : florida | january 10, 1861 | None | None row 4 : alabama | january 11, 1861 | None | None row 5 : georgia | january 19, 1861 | None | None row 6 : louisiana | january 26, 1861 | None | None row 7 : texas | february 1, 1861 | february 23 | 46,153-14,747 row 8 : virginia | april 17, 1861 | may 23 | 132,201-37,451 row 9 : arkansas | may 6, 1861 | None | None row 10 : tennessee | may 6, 1861 | june 8 | 104,471-47,183 row 11 : n. carolina | may 20, 1861 | None | None row 12 : missouri | october 31, 1861 | None | None row 13 : kentucky | november 20, 1861 | None | None ] Execute this SQL based on the above table: select passed where passed in ( 'february 1, 1861' , 'november 20, 1861' ) order by vote asc limit 1
november 20, 1861
[ header: operators | named trains | destination | year begun | year discontinued row 1 : baltimore and ohio | capitol limited | chicago, illinois via | 1923 | 1958 row 2 : baltimore and ohio | metropolitan special | st. louis, missouri | ca. 1920 | 1958 row 3 : baltimore and ohio | national limited | st. louis, missouri | 1925 | 1958 row 4 : baltimore and ohio | royal blue | washington, d.c | 1890 | 1958 row 5 : central railroad of new jersey | blue comet | atlantic city, new jersey | 1929 | 1941 row 6 : reading railroad with the central railroad of new jersey | crusader | philadelphia, pennsy | 1937 | 1967 row 7 : reading railroad with the central railroad of new jersey | harrisburg special | harrisburg, pennsyl | None | None row 8 : reading railroad with the central railroad of new jersey | queen of the valley | harrisburg, pennsyl | None | 1967 row 9 : reading railroad with the central railroad of new jersey | wall street | philadelphia, pennsy | None | None row 10 : reading railroad with the central railroad of new jersey | williamsporter | williamsport, pennsyl | None | None ] Execute this SQL based on the above table: select year discontinued where year discontinued not null
1958, 1958, 1958, 1958, 1941, 1967, 1967
[ header: team | competition | category | appearances start | appearances sub | goals | team record row 1 : japan | 2006 afc u-17 championship qualification | u-15 | 1 | 0 | 0 | qualified row 2 : japan | 2006 afc u-17 championship | u-16 | 4 | 1 | 4 | champions row 3 : japan | 2007 fifa u-17 world cup | u-17 | 1 | 2 | 2 | round 1 row 4 : japan | 2008 afc youth championship qualification | u-18 | 4 | 0 | 2 | qualified row 5 : japan | 2008 afc u-19 championship | u-19 | 1 | 1 | 0 | quarterfinal row 6 : japan | 2013 eaff east asian cup | senior | 2 | 0 | 3 | champions ] Execute this SQL based on the above table: select category where appearances start = ( select appearances start where category = 'u-15' and competition = '2006 afc u-17 championship qualification' ) + 1
senior
[ header: # | title | producer(s) | performer (s) | time row 1 : 1 | "i see dead people" | phd | grand puba, lord jamar, | 4:26 row 2 : 2 | "hunny" | grant parks | grand puba | 4:04 row 3 : 3 | "it is what it is" | phd | grand puba, tiffani davis | 5:03 row 4 : 4 | "how long?" | elements | grand puba | 3:22 row 5 : 5 | "good to go" | q-tip | grand puba, q-tip | 3:53 row 6 : 6 | "same old drama" | large professor | grand puba, large professor | 1:29 row 7 : 7 | "get that money" | phd | grand puba | 3:29 row 8 : 8 | "this joint right here" | grand puba | grand puba, kid capri | 3:17 row 9 : 9 | "go hard" | grand puba | grand puba, talee | 3:35 row 10 : 10 | "reality check" | phd | grand puba, sarah martine | 3:09 row 11 : 11 | "cold cold world" | grand puba | grand puba, khadija mo | 3:31 row 12 : 12 | "smile" | big throwback | grand puba, big phill | 1:55 row 13 : 13 | "the joint right here (remix)" | grand puba | grand puba, kid capri, lor | 3:23 ] Execute this SQL based on the above table: select title order by time desc limit 1
"it is what it is"
[ header: year | film | role | language | notes row 1 : 2007 | chirutha | sanjna | telugu | debut telugu film row 2 : 2009 | kurradu | hema | telugu | None row 3 : 2010 | crook: it's good to be | suhani | hindi | debut hindi film row 4 : 2012 | teri meri kahaani | meera | hindi | special appearance row 5 : 2012 | kyaa super kool | simran | hindi | None row 6 : 2013 | jayantabhai ki | simran | hindi | None row 7 : 2013 | yamla pagla deewana | suman | hindi | None row 8 : 2014 | youngistaan | anwita chauhan | hindi | None ] Execute this SQL based on the above table: select film group by film order by count ( film ) desc limit 1
youngistaan
[ header: year | competition | venue | position | event | notes row 1 : 1987 | european junior championships | birmingham, united kingdom | None | 20 km walk | dq row 2 : 1990 | european championships | split, yugoslavia | 4th | 20 km walk | 1:23.47 row 3 : 1991 | world championships | tokyo, japan | 10th | 20 km walk | 1:21:32 row 4 : 1991 | world championships | tokyo, japan | None | 50 km walk | dnf row 5 : 1992 | olympic games | barcelona, spain | None | 20 km walk | dnf row 6 : 1992 | olympic games | barcelona, spain | None | 50 km walk | dq row 7 : 1993 | world indoor championships | toronto, canada | 2nd | 5000 m walk | 18:35.91 row 8 : 1993 | world championships | stuttgart, germany | None | 50 km walk | dq row 9 : 1994 | european championships | helsinki, finland | None | 50 km walk | dq row 10 : 1994 | european championships | helsinki, finland | 5th | 50 km walk | 3:45:57 row 11 : 1995 | world championships | gothenburg, sweden | 3rd | 50 km walk | 3:45.57 row 12 : 1996 | olympic games | atlanta, united states | 8th | 20 km walk | 1:21:13 row 13 : 1996 | olympic games | atlanta, united states | 1st | 50 km walk | 3:43:30 row 14 : 1997 | world championships | athens, greece | 1st | 50 km walk | 3:44:46 row 15 : 1998 | european championships | budapest, hungary | 1st | 50 km walk | 3:43:51 row 16 : 1999 | world race walking cup | mezidon-canon, france | 4th | 20 km walk | 1:20:52 row 17 : 1999 | world championships | seville, spain | None | 50 km walk | dq row 18 : 2000 | european race walking cup | eisenhuttenstadt, germany | 1st | 20 km walk | 1:18:29 row 19 : 2000 | olympic games | sydney, australia | 1st | 20 km walk | 1:18:59 (or) row 20 : 2000 | olympic games | sydney, australia | 1st | 50 km walk | 3:42:22 row 21 : 2001 | world championships | edmonton, canada | 1st | 50 km walk | 3:42.08 row 22 : 2001 | goodwill games | brisbane, australia | 2nd | 20,000 m walk | 1:19:52.0 row 23 : 2002 | european championships | munich, germany | 1st | 50 km walk | 3:36:39 (wr) row 24 : 2003 | world championships | paris, france | 1st | 50 km walk | 3:36:03 row 25 : 2004 | olympic games | athens, greece | 1st | 50 km walk | 3:38:46 ] Execute this SQL based on the above table: select ( select avg ( event ) ) > 1023
0
[ header: # | season | competition | date | round | opponent | h / a | result | scorer (s) row 1 : 35 | 2011 | afc champions league | 2011-03-02 | group stage | al-ain | a | 1-0 | s : dejan damjanovic row 2 : 36 | 2011 | afc champions league | 2011-03-15 | group stage | hangzhou greentown | h | 3-0 | s : dejan damjanovic, row 3 : 37 | 2011 | afc champions league | 2011-04-06 | group stage | nagoya grampus | a | 1-1 | s : choi hy row 4 : 39 | 2011 | afc champions league | 2011-05-04 | group stage | al-ain | h | 3-0 | s : dejan damjanovic (2) row 5 : 41 | 2011 | afc champions league | 2011-05-25 | round of 16 | kashima antlers | h | 3-0 | s : bang seung-h row 6 : 42 | 2011 | afc champions league | 2011-09-14 | quarter-finals 1st leg | al-ittihad | a | 1-3 | s : choi ta row 7 : 43 | 2011 | afc champions league | 2011-09-27 | quarter-finals 2nd leg | al-ittihad | h | 1-0 | s : mauricio molina row 8 : 44 | 2013 | afc champions league | 2013-02-26 | group stage | jiangsu sainty | h | 5-1 | s : dejan damjanovic (2) row 9 : 45 | 2013 | afc champions league | 2013-03-12 | group stage | buriram united | a | 0-0 | None row 10 : 46 | 2013 | afc champions league | 2013-04-02 | group stage | vegalta sendai | h | 2-1 | s : sergio escudero row 11 : 48 | 2013 | afc champions league | 2013-04-24 | group stage | jiangsu sainty | a | 2-0 | s : koh myong row 12 : 49 | 2013 | afc champions league | 2013-05-01 | group stage | buriram united | h | 2-2 | s : jung seung-y row 13 : 50 | 2013 | afc champions league | 2013-05-14 | round of 16 1st leg | beijing guoan | a | 0-0 | None row 14 : 53 | 2013 | afc champions league | 2013-09-18 | quarter-finals 2nd leg | al-ahli | h | 1-0 | s : dejan damjanovic row 15 : 55 | 2013 | afc champions league | 2013-10-02 | semi-finals 2nd leg | esteghlal | a | 2-2 | s : ha dae-sung ] Execute this SQL based on the above table: select ( select count ( * ) where season = 'group stage' ) > 313
0
[ header: country | zone | national federation | #gm | #fide | national championship row 1 : australia | 3.6 | australian chess federation | 2 | 468 | australian chess championship row 2 : belarus | 1.8 | belarus chess federation | 13 | 425 | belarusian chess championship row 3 : bulgaria | 1.4 | българска ф | 25 | 606 | bulgarian chess championship row 4 : costa rica | 2.3c | federacion central de ajed | 1 | 88 | costa rican chess championship row 5 : england | 1.1a | english chess federation | 35 | 1211 | british chess championship row 6 : fiji | 3.6 | fiji chess federation | 0 | 9 | fijian chess championship row 7 : germany | 1.2a | deutscher schachbund | 66 | 10897 | german chess championship row 8 : guyana | None | guyana chess federation | None | None | guyanese chess championship row 9 : iceland | 1.3 | skaksamband islands | 11 | 227 | icelandic chess championship row 10 : luxembourg | 1.1b | federation luxembourgeoise des e | 1 | 99 | luxembourgian chess championship row 11 : morocco | 4.1 | fed. royale marocaine des e | 1 | 68 | moroccan chess championship row 12 : nepal | 3.5 | nepal chess association | 1 | 155 | nepal chess championship row 13 : peru | 2.4 | federacion peruana de | 1 | 258 | peruvian chess championship row 14 : singapore | 3.3 | singapore chess federation | 4 | 132 | singaporean chess championship row 15 : slovakia | 1.4 | slovensky sachovy z | 9 | 1152 | slovak chess championship row 16 : slovenia | 1.2a | sahovska zveza | 5 | 548 | slovenian chess championship row 17 : tajikistan | 3.4 | federazijai shakhmati | 1 | 17 | tajikistani chess championship row 18 : turkey | 1.5a | turkiye satranc | 2 | 545 | turkish chess championship row 19 : united states | 2.1 | united states chess federation | 61 | 1785 | u.s. chess championship row 20 : venezuela | 2.3c | fed. venezolana de a | 1 | 136 | venezuelan chess championship row 21 : zambia | 4.3 | chess federation of zambi | 1 | 21 | zambian chess championship ] Execute this SQL based on the above table: select zone where #gm = 1 and #gm = 1
2.3c, 1.1b, 4.1, 3.5, 2.4, 3.4, 2.3c, 4.3
[ header: player | country | year(s) won | r1 | r2 | total | to par row 1 : don january | united states | 1967 | 76 | 74 | 150 | 6 row 2 : jack burke, jr | united states | 1956 | 75 | 75 | 150 | 6 row 3 : raymond floyd | united states | 1969 | 77 | 74 | 151 | 7 row 4 : jay hebert | united states | 1960 | 74 | 79 | 153 | 9 row 5 : dow finsterwald | united states | 1958 | 79 | 74 | 153 | 9 row 6 : doug ford | united states | 1955 | 77 | 80 | 154 | 14 row 7 : jerry barber | united states | 1961 | 78 | 80 | 158 | 14 row 8 : gene sarazen | united states | 1922, 1923, 1933 | 81 | 79 | 160 | 16 row 9 : walter burkemo | united states | 1953 | 83 | 79 | 162 | 18 row 10 : denny shute | united states | 1936, 1937 | 81 | 87 | 168 | 24 ] Execute this SQL based on the above table: select count ( r1 ) where r1 >= 1723
0
[ 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 notes: order by times: asc limit 1
logan defeated zbyszko and ricky landell in a triple threat match. shortly thereafter, mountaineer wrestling association of west virginia, the promotion for which logan primarily performs, pulled out of awa superstars of wrestling to form american wrestling affiliates with several other promotions. the title was returned to zbyszko, and logan's reign was never officially recognized by awa superstars of wrestling
[ header: name | nation | position | league apps | league goals | fa cup apps | fa cup goals | total apps | total goals row 1 : ned barkas | england | df | 4 | 0 | 0 | 0 | 4 | 0 row 2 : harry brough | england | df | 9 | 0 | 0 | 0 | 9 | 0 row 3 : george brown | england | fw | 6 | 4 | 0 | 0 | 6 | 4 row 4 : jack byers | england | mf | 5 | 1 | 0 | 0 | 5 | 1 row 5 : harry cawthorne | england | df | 5 | 0 | 0 | 0 | 5 | 0 row 6 : ted davis | england | gk | 27 | 0 | 7 | 0 | 34 | 0 row 7 : ernie islip | england | fw | 34 | 11 | 9 | 4 | 43 | 15 row 8 : billy johnston | england | fw | 21 | 2 | 2 | 0 | 23 | 2 row 9 : robert jones | england | mf | 2 | 1 | 0 | 0 | 2 | 1 row 10 : frank mann | england | fw | 40 | 5 | 8 | 4 | 48 | 9 row 11 : len marlow | england | fw | 1 | 0 | 0 | 0 | 1 | 0 row 12 : colin mckay | scotland | df | 14 | 2 | 0 | 0 | 14 | 2 row 13 : sandy mutch | scotland | gk | 15 | 0 | 2 | 0 | 17 | 0 row 14 : stan pearson | england | mf | 1 | 0 | 1 | 0 | 2 | 0 row 15 : george richardson | england | mf | 14 | 1 | 8 | 1 | 22 | 2 row 16 : charlie slade | england | df | 25 | 0 | 9 | 0 | 34 | 0 row 17 : billy e. smith | england | fw | 1 | 0 | 0 | 0 | 1 | 0 row 18 : billy h. smith | england | mf | 40 | 8 | 9 | 4 | 49 | 12 row 19 : clem stephenson | england | fw | 39 | 9 | 9 | 6 | 48 | 15 row 20 : jack swann | england | fw | 9 | 3 | 0 | 0 | 9 | 3 row 21 : sam wadsworth | england | df | 39 | 1 | 9 | 0 | 48 | 1 row 22 : billy watson | england | df | 36 | 0 | 9 | 1 | 45 | 1 row 23 : tom wilson | england | df | 39 | 1 | 9 | 0 | 48 | 1 row 24 : james wood | england | df | 36 | 0 | 9 | 0 | 45 | 0 ] Execute this SQL based on the above table: select nation where total goals = 2
england, scotland, england
[ header: year | single | peak chart positions ger | peak chart positions ire | peak chart positions uk | peak chart positions us | peak chart positions us main | peak chart positions us dance | certifications (sales thresholds) | album row 1 : 1970 | "memo from turner" | 23 | None | 32 | None | None | None | | performance (soundtrack) row 2 : 1978 | "don't look back" (with pe | None | None | 43 | 81 | None | None | | bush doctor (peter tosh album) row 3 : 1984 | "state of shock" (with the jack | 23 | 8 | 14 | 3 | 3 | None | | victory (the jacksons album) row 4 : 1985 | "just another night" | 16 | 21 | 32 | 12 | 1 | 11 | | she's the boss row 5 : 1985 | "lonely at the top" | None | None | None | None | 9 | None | | she's the boss row 6 : 1985 | "lucky in love" | 44 | None | 91 | 38 | 5 | 11 | | she's the boss row 7 : 1985 | "hard woman" | 57 | None | None | None | None | None | | she's the boss row 8 : 1985 | "dancing in the street" (with | 6 | 1 | 1 | 7 | 3 | 4 | | single only row 9 : 1986 | "ruthless people" | None | None | None | 51 | 14 | 29 | | ruthless people (soundtrack) row 10 : 1987 | "let's work" | 29 | 24 | 31 | 39 | 7 | 32 | | primitive cool row 11 : 1987 | "throwaway" | None | None | None | 67 | 7 | None | | primitive cool row 12 : 1987 | "say you will" | None | None | None | None | 39 | None | | primitive cool row 13 : 1993 | "sweet thing" | 23 | None | 24 | 84 | 34 | None | | wandering spirit row 14 : 1993 | "wired all night" | None | None | None | None | 3 | None | | wandering spirit row 15 : 1993 | "don't tear me up" | 77 | None | 86 | None | 1 | None | | wandering spirit row 16 : 1993 | "out of focus" | 70 | None | None | None | None | None | | wandering spirit row 17 : 2001 | "god gave me everything" | 60 | None | None | None | 24 | None | | goddess in the doorway row 18 : 2002 | "visions of paradise" | 77 | None | 43 | None | None | None | | goddess in the doorway row 19 : 2004 | "old habits die hard" (with dave | 62 | None | 45 | None | None | None | | alfie (soundtrack) row 20 : 2008 | "charmed life" | None | None | None | None | None | 18 | | the very best of mick jagger row 21 : 2011 | "miracle worker" (with superhe | None | None | 136 | None | None | None | | superheavy (superheavy album) row 22 : 2011 | "t.h.e (the hardest ever | None | 13 | 3 | 36 | None | None | | #willpower (will.i.am album ] Execute this SQL based on the above table: select count ( single ) where year > 1738
22
[ 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 count ( number )
18
[ header: rnd | date | race name | circuit | city/location | pole position | fastest lap | winning driver | winning team | report row 1 : 1 | march 5 | marlboro grand prix of miami presented by | bicentennial park | miami, florida | michael andretti | scott pruett | jacques villeneuve | team green | report row 2 : 2 | march 19 | australian indycar grand prix | surfers paradise street circuit | surfers paradise, australia | michael andretti | michael andretti | paul tracy | newman/haas racing | report row 3 : 3 | april 2 | slick 50 200 | phoenix international raceway | phoenix, arizona | bryan herta | emerson fittipaldi | robby gordon | walker racing | report row 4 : 4 | april 9 | toyota grand prix of long beach | streets of long beach | long beach, california | michael andretti | michael andretti | al unser, jr | marlboro team penske | report row 5 : 5 | april 23 | bosch spark plug grand prix | nazareth speedway | nazareth, pennsylvani | robby gordon | emerson fittipaldi | emerson fittipaldi | marlboro team penske | report row 6 : 6 | may 28 | 79th indianapolis 500 | indianapolis motor speedway | speedway, indiana | scott brayton | scott goodyear | jacques villeneuve | team green | report row 7 : 7 | june 4 | miller genuine draft 200 | milwaukee mile | west allis, wisconsin | teo fabi | teo fabi | paul tracy | newman/haas racing | report row 8 : 8 | june 11 | itt automotive grand prix of detroit | the raceway on belle isle park | detroit, michigan | robby gordon | michael andretti | robby gordon | walker racing | report row 9 : 9 | june 25 | budweiser/g. i. | portland international raceway | portland, oregon | jacques villeneuve | al unser, jr | al unser, jr | marlboro team penske | report row 10 : 10 | july 9 | texaco/havoline 200 | road america | elkhart lake, wiscons | jacques villeneuve | jacques villeneuve | jacques villeneuve | team green | report row 11 : 11 | july 16 | molson indy toronto | exhibition place | toronto, ontario | jacques villeneuve | bobby rahal | michael andretti | newman/haas racing | report row 12 : 12 | july 23 | budweiser grand prix of clevel | cleveland burke lakefront airport | cleveland, ohio | gil de ferran | jacques villeneuve | jacques villeneuve | team green | report row 13 : 14 | august 13 | miller genuine draft 200 | mid-ohio sports car course | lexington, ohio | jacques villeneuve | al unser, jr | al unser, jr | marlboro team penske | report row 14 : 17 | september 10 | toyota grand prix of monter | laguna seca raceway | monterey, californi | jacques villeneuve | gil de ferran | gil de ferran | jim hall racing | report ] Execute this SQL based on the above table: select ( select count ( winning driver ) where rnd = 2 ) - ( select count ( winning driver ) where rnd = 3 )
0
[ header: | name | took office | left office | party | notes/events row 1 : 4 | uriah forrest | march 4, 1793 | november 8, 1794 | pro-administration | resigned row 2 : 7 | william craik | december 5, 1796 | march 3, 1801 | federalist | None row 3 : 10 | philip barton key | march 4, 1807 | march 3, 1813 | federalist | None row 4 : 11 | alexander contee hanson | march 4, 1813 | 1816 | federalist | resigned row 5 : 12 | george peter | october 7, 1816 | march 3, 1819 | federalist | None row 6 : 13 | henry ridgely warfield | march 4, 1819 | march 3, 1823 | federalist | None row 7 : 13 | henry ridgely warfield | march 4, 1823 | march 3, 1825 | adams federalist | None row 8 : 15 | george corbin washington | march 4, 1827 | march 3, 1829 | adams | None row 9 : 15 | george corbin washington | march 4, 1829 | march 3, 1833 | anti-jacksonian | None row 10 : 17 | james turner | march 4, 1833 | march 3, 1837 | jacksonian | None row 11 : 18 | john tolley hood worthington | march 4, 1837 | march 3, 1841 | democratic | None row 12 : 19 | james wray williams | march 4, 1841 | december 2, 1842 | democratic | died row 13 : 21 | john wethered | march 4, 1843 | march 3, 1845 | whig | None row 14 : 27 | henry winter davis | march 4, 1863 | march 3, 1865 | unconditional unionist | None row 15 : 29 | thomas swann | march 4, 1869 | march 3, 1873 | democratic | redistricted to the 4th district row 16 : 30 | william james o'bri | march 4, 1873 | march 3, 1877 | democratic | None row 17 : 31 | william kimmel | march 4, 1877 | march 3, 1881 | democratic | None row 18 : 32 | fetter schrier hoblitzell | march 4, 1881 | march 3, 1885 | democratic | None row 19 : 36 | frank charles wachter | march 4, 1899 | march 3, 1907 | democratic | None row 20 : 37 | harry benjamin wolf | march 4, 1907 | march 3, 1909 | democratic | None row 21 : 39 | george konig | march 4, 1911 | may 31, 1913 | democratic | died row 22 : 40 | charles pearce coady | november 4, 1913 | march 3, 1921 | democratic | None row 23 : 41 | john boynton philip clayton | march 4, 1921 | march 3, 1927 | republican | None row 24 : 43 | thomas d'alesandro | january 3, 1939 | may 16, 1947 | democratic | resigned to become mayor of balti row 25 : 44 | edward garmatz | july 15, 1947 | january 3, 1973 | democratic | None row 26 : 45 | paul sarbanes | january 3, 1973 | january 3, 1977 | democratic | redistricted from the 4th district row 27 : 46 | barbara mikulski | january 3, 1977 | january 3, 1987 | democratic | None row 28 : 47 | benjamin cardin | january 3, 1987 | january 3, 2007 | democratic | None ] Execute this SQL based on the above table: select took office order by desc limit 1
january 3, 1987
[ header: year | film | role | notes row 1 : 1986 | love 86 | vikram doshi | None row 2 : 1987 | khudgarz | kumar saxena | None row 3 : 1987 | sindoor | ravi | None row 4 : 1988 | paap ko jalaa | deepak malhotra | None row 5 : 1988 | halaal ki kamai | kabir khanna | None row 6 : 1988 | shiv shakti | shakti | None row 7 : 1989 | sachai ki ta | sagar singh | None row 8 : 1989 | taaqatwar | john d'mello | None row 9 : 1990 | maha-sangram | arjun 'munna' | None row 10 : 1990 | izzatdaar | vijay | None row 11 : 1990 | naya khoon | dr. anand | None row 12 : 1990 | taqdeer ka tama | satya | None row 13 : 1990 | awaargi | dhiren kumar | critically acclaimed role row 14 : 1992 | baaz | deva | None row 15 : 1994 | andaz apna a | himself | special appearance row 16 : 1994 | beta ho to aisa | raju | None row 17 : 1996 | maahir | bhola | None row 18 : 1996 | apne dam par | himself | special appearance row 19 : 1997 | deewana mastana | bunnu | nominated - filmfare best actor row 20 : 1997 | do ankhen barah hath | sagar | None row 21 : 1998 | achanak | arjun | None row 22 : 1998 | naseeb | krishna prasa | None row 23 : 2000 | kunwara | raju | nominated -filmfare award for row 24 : 2001 | aamdani atthani k | bhishma | None row 25 : 2001 | albela | rocky hiranandani | None row 26 : 2001 | censor | himself | special appearance row 27 : 2002 | pyaar diwana hota | sunder | None row 28 : 2002 | chalo ishq ladaa | pappu | None row 29 : 2003 | three roses | himself | tamil film - guest appearance row 30 : 2005 | ssukh | chandraprakash sharma | None row 31 : 2007 | partner | bhaskar diwakar chow | iifa best comedian award zee row 32 : 2013 | samadhi | deputy inspector general of police | bengali debut row 33 : 2014 | kill dil | negative role | filming (releasing on 5 september 2014) row 34 : 2014 | hero | None | filming, (releasing on 12th dec ] Execute this SQL based on the above table: select max ( year )
2014
[ header: episode # | original air date (uk) | episode title | guest cast | dvd # 1 row 1 : 1-01 | 22 october 1976 | "the eagle's nest" | peter cushing, derek farr | 1.01 row 2 : 1-02 | 29 october 1976 | "house of cards" | peter jeffrey, mark burn | 1.03 row 3 : 1-03 | 5 november 1976 | "the last of the cybernauts?" | robert lang, oscar | 1.04 row 4 : 1-04 | 12 november 1976 | "the midas touch" | john carson, ronald | 1.02 row 5 : 1-05 | 19 november 1976 | "cat amongst the pigeon | vladek sheybal, basil dig | 1.06 row 6 : 1-06 | 26 november 1976 | "target" | keith barron, frede | 1.07 row 7 : 1-07 | 3 december 1976 | "to catch a rat" | ian hendry, barry | 1.05 row 8 : 1-08 | 10 december 1976 | "the tale of the big why" | derek waring, jenny | 1.09 row 9 : 1-09 | 17 december 1976 | "faces" | david de keyser, edward | 1.08 row 10 : 1-10 | 21 december 1976 | "gnaws" | julian holloway, peter cell | 1.11 row 11 : 1-11 | 7 january 1977 | "dirtier by the dozen" | john castle, shaun curry, al | 1.13 row 12 : 1-12 | 14 january 1977 | "sleeper" | keith buckley, sara | 1.12 row 13 : 1-13 | 21 january 1977 | "three-handed game" | stephen greif, tony | 1.1 ] Execute this SQL based on the above table: select episode title order by dvd # 1 desc limit 1
"dirtier by the dozen"
[ header: year | competition | venue | position | event | notes row 1 : 1992 | carifta games (u20) | nassau, bahamas | 1st | discus throw | 37.86 m row 2 : 1992 | carifta games (u20) | nassau, bahamas | 3rd | javelin throw | 36.37 m row 3 : 1999 | central american and caribbean championships | bridgetown, barbados | 2nd | javelin throw | 54.24 m row 4 : 2000 | olympic games | sydney, australia | 21st (q) | javelin throw | 56.36 m row 5 : 2005 | central american and caribbean championships | nassau, bahamas | 2nd | javelin throw | 61.10 m row 6 : 2005 | world championships | helsinki, finland | 14th (q) | javelin throw | 58.49 m row 7 : 2006 | commonwealth games | melbourne, australia | 3rd | javelin throw | 58.27 m row 8 : 2006 | central american and caribbean games | cartagena, colombia | 4th | javelin throw | 56.82 m row 9 : 2008 | olympic games | beijing, china | 34th (q) | javelin throw | 55.51 m row 10 : 2011 | pan american games | guadalajara, me | 7th | javelin throw | 51.40 m ] Execute this SQL based on the above table: select event where event != 'javelin throw'
discus throw
[ header: year | team | co-drivers | car | class | laps | pos. | class pos. row 1 : 2001 | team den bla avis team goh | john nielsen hiroki | dome s101-judd | lmp900 | 66 | dnf | dnf row 2 : 2003 | rn motorsport | john nielsen hayanari | dba4 03s-zytek | lmp675 | 288 | 22nd | 2nd row 3 : 2004 | lister racing | john nielsen jens | lister storm lmp-chevrole | lmp1 | 279 | 24th | 9th row 4 : 2006 | zytek engineering team essex invest | john nielsen philip and | zytek 06s | lmp1 | 269 | nc | nc row 5 : 2007 | aston martin racing larbre | christophe bouchut f | aston martin dbr | gt1 | 341 | 7th | 3rd row 6 : 2008 | team essex | john nielsen sasch | porsche rs spyder evo | lmp2 | 347 | 12th | 2nd row 7 : 2009 | team essex | kristian poulsen e | porsche rs spyder evo | lmp2 | 357 | 10th | 1st row 8 : 2011 | hope racing | steve zacchia jan | oreca 01-swiss | lmp1 | 115 | dnf | dnf ] Execute this SQL based on the above table: select count ( pos. ) where year < 1804
0
[ 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 max ( tonnage ) where id < ( select id where fate = 'sunk at 45°00′n 11°21′w / 45.000°n 11.350°w' )
6607.0
[ header: year | film | role | notes row 1 : 1976 | liebesfallen | liane bruckner | None row 2 : 1976 | unser stiller mann | regina | None row 3 : 1979 | bildnis einer trinkerin | singer in a taxi drivers' bar | None row 4 : 1979 | cha-cha | None | None row 5 : 1983 | pankow '95 | jungfrau maria | None row 6 : 1996 | lilien in der bank | suzanne | None row 7 : 2000 | vasilisa | the witch | None row 8 : 2004 | 7 dwarves - men alone | the evil queen | hagen's daughter cosma played snow row 9 : 2006 | 7 zwerge - der wald | the evil queen | hagen's daughter cosma played snow ] Execute this SQL based on the above table: select count ( role ) where year >= 1976
8