input
stringlengths
20
5.6k
output
stringlengths
0
17.9k
[ header: year | tournaments played | cuts made | wins | 2nd | 3rd | top 10s | best finish | earnings (€) | money list rank | scoring average | scoring rank | rolex ranking row 1 : 2004 | 1 | 0 | 0 | 0 | 0 | 0 | cut | None | None | 77.5 | None | None row 2 : 2006 | 1 | 1 | 0 | 0 | 0 | 0 | t55 | None | None | 73.67 | None | None row 3 : 2007 | 1 | 1 | 0 | 0 | 0 | 0 | t11 | None | None | 71 | None | 647 row 4 : 2008 | 1 | 1 | 0 | 0 | 0 | 1 | t10 | None | None | 70.33 | None | 703 row 5 : 2009 | 17 | 14 | 0 | 0 | 0 | 1 | t5 | 48893 | 35 | 72.45 | 37 | 274 row 6 : 2010 | 20 | 14 | 0 | 3 | 1 | 7 | t2 | 121959 | 12 | 72.33 | 35 | 118 row 7 : 2011 | 15 | 13 | 1 | 2 | 1 | 6 | 1 | 161172 | 8 | 70.92 | 13 | 63 row 8 : 2012 | 6 | 3 | 2 | 0 | 0 | 2 | 1 | 104884 | 13 | 72 | None | 65 ] Execute this SQL based on the above table: select best finish where 3rd = 1
t2, 1
[ header: year | competition | venue | position | event | notes row 1 : 1998 | turin marathon | turin, italy | 3rd | marathon | 2:12:59 row 2 : 2003 | lisbon marathon | lisbon, portugal | 1st | marathon | 2:15:31 row 3 : 2004 | vienna marathon | vienna, austria | 3rd | marathon | 2:11:24 row 4 : 2004 | berlin marathon | berlin, germany | 5th | marathon | 2:09:08 row 5 : 2005 | world championships | helsinki, finland | 18th | marathon | 2:16:33 row 6 : 2006 | paris marathon | paris, france | 4th | marathon | 2:08:55 row 7 : 2006 | lisbon marathon | lisbon, portugal | 1st | marathon | 2:21:08 row 8 : 2007 | world championships | osaka, japan | None | marathon | dns ] Execute this SQL based on the above table: select count ( * ) where event = 'marathon' and venue = 1509
0
[ header: no. | train no: | origin | destination | train name row 1 : 1 | 56654 | mangalore central | kozhikode | passenger row 2 : 2 | 56324 | mangalore central | coimbatore city junction | fast passenger row 3 : 3 | 56656 | mangalore central | kannur | passenger row 4 : 4 | 56643/56645 | mangalore central | kabakaputtur | passenger row 5 : 5 | 56640 | mangalore central | verna | passenger row 6 : 6 | 56647 | mangalore central | subrahmanya road | passenger row 7 : 7 | 56661 | mangalore central | cheruvathur | passenger row 8 : 8 | 70106 | mangalore central | bhatkal | demu ] Execute this SQL based on the above table: select no. where destination = 'coimbatore city junction'
2
[ header: interval name | size (steps) | size (cents) | midi | just ratio | just (cents) | midi | error row 1 : perfect fifth | 42 | 700 | play (help·info) | 3:2 | 701.96 | play (help·info) | -1.96 row 2 : tridecimal tritone | 34 | 566.67 | play (help·info) | 18:13 | 563.38 | None | 3.28 row 3 : 11th harmonic | 33 | 550 | play (help·info) | 11:8 | 551.32 | play (help·info) | -1.32 row 4 : (15:11) augmented fourth | 32 | 533.33 | play (help·info) | 15:11 | 536.95 | None | -3.62 row 5 : perfect fourth | 30 | 500 | play (help·info) | 4:3 | 498.04 | play (help·info) | 1.96 row 6 : septimal narrow fourth | 28 | 466.66 | play (help·info) | 21:16 | 470.78 | play (help·info) | -4.11 row 7 : 17:13 narrow fourth | 28 | 466.66 | play (help·info) | 17:13 | 464.43 | None | 2.24 row 8 : tridecimal major third | 27 | 450 | play (help·info) | 13:10 | 454.21 | play (help·info) | -4.21 row 9 : septendecimal supermajor third | 27 | 450 | play (help·info) | 22:17 | 446.36 | None | 3.64 row 10 : septimal major third | 26 | 433.33 | play (help·info) | 9:7 | 435.08 | play (help·info) | -1.75 row 11 : undecimal major third | 25 | 416.67 | play (help·info) | 14:11 | 417.51 | play (help·info) | -0.84 row 12 : major third | 23 | 383.33 | play (help·info) | 5:4 | 386.31 | play (help·info) | -2.98 row 13 : neutral third | 21 | 350 | play (help·info) | 11:9 | 347.41 | play (help·info) | 2.59 row 14 : septendecimal supraminor third | 20 | 333.33 | None | 17:14 | 336.13 | None | -2.8 row 15 : minor third | 19 | 316.67 | play (help·info) | 6:5 | 315.64 | play (help·info) | 1.03 row 16 : tridecimal minor third | 17 | 283.33 | play (help·info) | 13:11 | 289.21 | play (help·info) | -5.88 row 17 : septimal minor third | 16 | 266.67 | play (help·info) | 7:6 | 266.87 | play (help·info) | -0.2 row 18 : tridecimal 5/4 tone | 15 | 250 | play (help·info) | 15:13 | 247.74 | None | 2.26 row 19 : whole tone, major tone | 12 | 200 | play (help·info) | 9:8 | 203.91 | play (help·info) | -3.91 row 20 : whole tone, minor tone | 11 | 183.33 | play (help·info) | 10:9 | 182.4 | play (help·info) | 0.93 row 21 : lesser undecimal neutral second | 9 | 150 | play (help·info) | 12:11 | 150.64 | play (help·info) | -0.64 row 22 : greater tridecimal 2/3 tone | 8 | 133.33 | None | 13:12 | 138.57 | None | -5.24 row 23 : great limma | 8 | 133.33 | None | 27:25 | 133.24 | None | 0.09 row 24 : lesser tridecimal 2/3rd tone | 8 | 133.33 | play (help·info) | 14:13 | 128.3 | None | 5.04 ] Execute this SQL based on the above table: select count ( midi ) where just (cents) < '203.91'
2
[ header: pos | rider | manufacturer | time/retired | points row 1 : 1 | loris capirossi | honda | 43:06.089 | 25 row 2 : 2 | doriano romboni | honda | 0.689 | 20 row 3 : 3 | max biaggi | aprilia | 1.181 | 16 row 4 : 4 | ralf waldmann | honda | 5.123 | 13 row 5 : 5 | jean-michel bayle | aprilia | 5.528 | 11 row 6 : 6 | nobuatsu aoki | honda | 5.821 | 10 row 7 : 7 | jean philippe ruggia | aprilia | 9.018 | 9 row 8 : 8 | tetsuya harada | yamaha | 24.059 | 8 row 9 : 9 | tadayuki okad | honda | 29.043 | 7 row 10 : 10 | wilco zeelenberg | honda | 36.273 | 6 row 11 : 11 | toshihiko honma | yamaha | 41.787 | 5 row 12 : 12 | adrien bosshard | honda | 52.489 | 4 row 13 : 13 | carlos checa | honda | 57.206 | 3 row 14 : 14 | eskil suter | aprilia | +1:01.503 | 2 row 15 : 15 | luis maurel | honda | +1:03.353 | 1 row 16 : 16 | patrick vd goorbergh | aprilia | +1:04.277 | None row 17 : 17 | adolf stadler | honda | +1:16.427 | None row 18 : 18 | juan borja | honda | +1:19.607 | None row 19 : 19 | chrisrian boudinot | aprilia | +1:20.163 | None row 20 : 20 | bernd kassner | aprilia | +1:20.761 | None row 21 : 21 | andreas preining | aprilia | +1:26.864 | None row 22 : 22 | noel ferro | honda | +1:27.009 | None row 23 : 23 | sebastien scarnato | honda | +1:36.321 | None row 24 : 24 | krisse kaas | yamaha | +1 lap | None row 25 : 25 | donnie hough | honda | +1 lap | None row 26 : ret | rodney fee | honda | retirement | None row 27 : ret | jurgen vd goorbergh | aprilia | retirement | None row 28 : ret | luis d'antin | honda | retirement | None row 29 : ret | manuel hernandez | aprilia | retirement | None row 30 : ret | frederic protat | honda | retirement | None row 31 : ret | giuseppe fiorillo | honda | retirement | None row 32 : ret | jose luis cardoso | aprilia | retirement | None row 33 : ret | enrique de juan | aprilia | retirement | None row 34 : ret | alessandro gramigni | aprilia | retirement | None ] Execute this SQL based on the above table: select time/retired where id = 24
1.0
[ header: category | age (ethnicity) | n | v1 | v2 | v3 | v4 | v5 | v6 row 1 : None | 1 week - 1 y | 210 | 92% | 74% | 27% | 20% | 0.50% | 0% row 2 : None | 1 y - 2 y | 154 | 96% | 85% | 39% | 10% | 0.70% | 0% row 3 : None | 2 y - 5 y | 202 | 98% | 50% | 22% | 7% | 1% | 0% row 4 : None | 5 y - 8 y | 94 | 91% | 25% | 14% | 5% | 1% | 1% row 5 : None | 8 y - 16 y | 90 | 62% | 7% | 2% | 0% | 0% | 0% row 6 : males | 12 y - 13 y | 209 | 47% | 7% | 0% | 0% | 0% | 0% row 7 : males | 13 y - 14 y | 260 | 35% | 4.60% | 0.80% | 0% | 0% | 0% row 8 : males | 16 y - 19 y (white | 50 | 32% | 0% | 0% | 0% | 0% | 0% row 9 : males | 16 y - 19 y (black | 310 | 46% | 7% | 2.90% | 1.30% | 0% | 0% row 10 : males | 20 - 30 y (whites) | 285 | 41% | 0% | 0% | 0% | 0% | 0% row 11 : males | 20 - 30 y (blacks) | 295 | 37% | 0% | 0% | 0% | 0% | 0% row 12 : females | 12 y - 13 y | 174 | 69% | 11% | 1.20% | 0% | 0% | 0% row 13 : females | 13 y - 14 y | 154 | 52% | 8.40% | 1.40% | 0% | 0% | 0% row 14 : females | 16 y - 19 y (white | 50 | 66% | 0% | 0% | 0% | 0% | 0% row 15 : females | 16 - 19 y (blacks) | 310 | 73% | 9% | 1.30% | 0.60% | 0% | 0% row 16 : females | 20 - 30 y (whites) | 280 | 55% | 0% | 0% | 0% | 0% | 0% row 17 : females | 20 - 30 y (blacks) | 330 | 55% | 2.40% | 1% | 0% | 0% | 0% ] Execute this SQL based on the above table: select n order by n desc limit 1
330
[ header: year | team | co-drivers | car | class | laps | pos. | class pos. row 1 : 1972 | ford motor company deutschland | jochen mass | ford capri 2600rs | s 3.0 | 152 | dnf | dnf row 2 : 1973 | bmw motorsport | chris amon | bmw 3.0csl | t 5.0 | 160 | dnf | dnf row 3 : 1980 | bmw motorsport gmbh | hans-georg burger dominique | bmw m1 | imsa | 283 | 15th | 5th row 4 : 1981 | basf cassetten team gs sport | jean-pierre jarier hel | bmw m1 | imsa gtx | 57 | dnf | dnf row 5 : 1982 | basf cassetten team gs sport | jean-louis schlesser | sauber shs c6-ford | c | 76 | dnf | dnf row 6 : 1985 | rothmans porsche | derek bell | porsche 962c | c1 | 367 | 3rd | 3rd row 7 : 1986 | rothmans porsche | derek bell al holbert | porsche 962c | c1 | 368 | 1st | 1st row 8 : 1987 | rothmans porsche ag | derek bell al holbert | porsche 962c | c1 | 368 | 1st | 1st row 9 : 1988 | porsche ag | klaus ludwig dere | porsche 962c | c1 | 394 | 2nd | 2nd row 10 : 1989 | joest racing | bob wollek | porsche 962c | c1 | 382 | 3rd | 3rd row 11 : 1990 | joest porsche racing | derek bell frank jelin | porsche 962c | c1 | 350 | 4th | 4th row 12 : 1991 | konrad motorsport | derek bell frank jelin | porsche 962c | c2 | 347 | 7th | 7th row 13 : 1993 | le mans porsche team | walter rohrl hurley | porsche 911 turbo s lm- | gt | 79 | dnf | dnf row 14 : 1994 | le mans porsche team joest racing | thierry boutsen danny | dauer 962 le mans | gt1 | 343 | 3rd | 2nd row 15 : 1995 | porsche kremer racing | thierry boutsen christoph | kremer k8 spyder | wsc | 289 | 6th | 2nd row 16 : 1996 | porsche ag | thierry boutsen bob | porsche 911 gt1 | gt1 | 353 | 2nd | 1st row 17 : 1997 | porsche ag | thierry boutsen bob | porsche 911 gt1 | gt1 | 238 | dnf | dnf row 18 : 1998 | team bmw motorsport | steve soper tom kristen | bmw v12 lm | lmp1 | 60 | dnf | dnf ] Execute this SQL based on the above table: select pos. where pos. = 1 order by class pos. asc limit 1802
1st, 1st
[ header: round | # | player | nationality | college/junior/club team (league) row 1 : 1 | 26 | cory schneider (g) | united states | phillips academy (us high school) row 2 : 3 | 91 | alexander edler (d) | sweden | jamtland (sweden) row 3 : 4 | 125 | andrew sarauer (lw | canada | langley hornets (bch row 4 : 5 | 159 | mike brown (rw) | united states | university of michigan (ccha) row 5 : 6 | 189 | julien ellis (g) | canada | shawinigan cataractes (qm row 6 : 8 | 254 | david schulz (d) | canada | swift current broncos (whl row 7 : 9 | 287 | jannik hansen (rw | denmark | malmo jr. (sj ] Execute this SQL based on the above table: select nationality order by round limit 1
united states
[ header: sport | gold | silver | bronze | total row 1 : athletics | 14 | 8 | 10 | 32 row 2 : weightlifting | 9 | 2 | 1 | 12 row 3 : swimming | 8 | 7 | 5 | 20 row 4 : taekwondo | 7 | 3 | 2 | 12 row 5 : boxing | 7 | 1 | 3 | 11 row 6 : judo | 5 | 3 | 6 | 14 row 7 : canoeing | 5 | 2 | 3 | 10 row 8 : sailing | 4 | 3 | 1 | 8 row 9 : sepak takraw | 4 | 0 | 0 | 4 row 10 : wrestling | 3 | 5 | 4 | 12 row 11 : rowing | 3 | 3 | 3 | 9 row 12 : gymnastic - artistic | 3 | 2 | 3 | 8 row 13 : fencing | 3 | 1 | 9 | 13 row 14 : petanque | 3 | 1 | 2 | 6 row 15 : cycling | 2 | 8 | 4 | 14 row 16 : paragliding | 3 | 1 | 2 | 6 row 17 : fin swimming | 2 | 3 | 7 | 12 row 18 : tennis | 2 | 3 | 4 | 9 row 19 : golf | 2 | 3 | 0 | 5 row 20 : water ski | 2 | 2 | 1 | 5 row 21 : ekuestrian | 2 | 2 | 1 | 5 row 22 : bridge | 2 | 1 | 2 | 5 row 23 : billiard & snooker | 2 | 1 | 1 | 4 row 24 : futsal | 2 | 0 | 0 | 2 row 25 : volleyball | 2 | 0 | 0 | 2 row 26 : shooting | 1 | 6 | 5 | 12 row 27 : badminton | 1 | 2 | 6 | 9 row 28 : gymnastic - aerobic | 1 | 1 | 1 | 3 row 29 : gymnastic - rhythmic | 1 | 1 | 0 | 2 row 30 : basketball | 1 | 1 | 0 | 2 row 31 : wushu | 1 | 0 | 3 | 4 row 32 : beach volleyball | 1 | 0 | 2 | 3 row 33 : chess | 1 | 0 | 0 | 1 row 34 : bowling | 1 | 0 | 0 | 1 row 35 : soft tennis | 0 | 4 | 5 | 9 row 36 : pencak silat | 0 | 4 | 3 | 7 row 37 : traditional boat race | 0 | 2 | 5 | 7 row 38 : karate-do | 0 | 2 | 4 | 6 row 39 : roller sport | 0 | 2 | 2 | 4 row 40 : wall climbing | 0 | 2 | 1 | 3 row 41 : archery | 0 | 1 | 4 | 5 row 42 : table tennis | 0 | 1 | 2 | 3 row 43 : synchronized swimming | 0 | 1 | 1 | 2 row 44 : softball | 0 | 1 | 0 | 1 row 45 : baseball | 0 | 0 | 1 | 1 row 46 : diving | 0 | 0 | 1 | 1 row 47 : total | 109 | 100 | 120 | 329 ] Execute this SQL based on the above table: select sport where bronze > ( select bronze where sport = 'synchronized swimming' ) order by bronze asc limit 1
taekwondo
[ header: name | | local names | sort | canton(s), neighboring countries | area in km2 | elevation m | max. depth in meter row 1 : lake geneva | None | lac leman, lac de geneve | geneva | geneva, vaud, vala | 580.03 | 372 | 310 row 2 : lake lucerne | None | vierwaldstattersee | lucerne | lucerne, nidwalden | 113.72 | 433.6 | 214 row 3 : lake lugano | None | ceresio, lago di lug | lugano | ticino, italy | 48.67 | 270.5 | 288 row 4 : lake thun | None | thunersee | thun | berne | 47.74 | 557.8 | 215 row 5 : lake biel | None | lac de bienne, bielersee | biel/bienne | berne, neuchatel | 39.51 | 429.1 | 74 row 6 : lake zug | None | zugersee | zug | lucerne, schwyz, | 38.41 | 413.6 | 198 row 7 : lake murten | None | murtensee, lac de morat | murten | fribourg, vaud | 22.8 | 429.2 | 46 row 8 : lake sempach | None | sempachersee | sempach | lucerne | 14.36 | 503.8 | 87 row 9 : lago di livigno | ↑ | lago di livigno | livignio | italy, grisons | 4.71 | 1805 | 119 row 10 : wagitalersee | ↑ | wagitalersee | waegital | schwyz | 4.18 | 900 | 65 row 11 : lago di lei | ↑ | lago di lei | lei | italy, grisons | 4.12 | 1931 | 133 row 12 : lake sils | None | silsersee, lej da se | sils | grisons | 4.1 | 1797 | 71 row 13 : lac des dix | ↑ | lac des dix | dix | valais | 3.65 | 2365 | 227 row 14 : lake wohlen | ↑ | wohlensee | wohlen | berne | 3.65 | 480 | 20 row 15 : grimselsee | ↑ | grimselsee | grimsel | berne | 2.63 | 1908 | 100 row 16 : lake lungern | None | lungerersee, lungernsee | lungern | obwalden | 2.01 | 688 | 68 row 17 : lac de mauvoisin | ↑ | lac de mauvoisin | mauvoisin | valais | 2.08 | 1961 | 180 row 18 : lago di vogorno | ↑ | lago di vogorno | vogorno | ticino | 1.68 | 470 | 204 row 19 : zervreilasee | ↑ | zervreilasee | zervreila | grisons | 1.61 | 1862 | 140 row 20 : oberaarsee | ↑ | oberaarsee | oberaar | berne | 1.47 | 2303 | 90 row 21 : lac de moiry | ↑ | lac de moiry | moiry | valais | 1.4 | 2249 | 120 row 22 : albigna lake | ↑ | lago da l'albigna | albigna | grisons | 1.13 | 2163 | 108 ] Execute this SQL based on the above table: select local names where elevation m = 688
lungerersee, lungernsee
[ header: rank | circuit | headquarters | screens | sites row 1 : 1 | regal entertainment group | knoxville,tn | 7318 | 574 row 2 : 2 | amc entertainment inc | kansas city, mo | 4988 | 344 row 3 : 3 | cinemark theatres | plano, tx | 4434 | 332 row 4 : 4 | carmike cinemas, inc | columbus, ga | 2476 | 249 row 5 : 5 | cineplex entertainment | toronto, on | 1672 | 136 row 6 : 6 | marcus theatres | milwaukee, wi | 687 | 55 row 7 : 7 | harkins theatres | phoenix, az | 440 | 31 row 8 : 8 | national amusements | dedham, ma | 423 | 32 row 9 : 9 | bow tie cinemas | ridgefield, ct | 388 | 63 row 10 : 10 | georgia theatre company | st. simon's island, | 326 | 32 ] Execute this SQL based on the above table: select circuit order by rank desc limit 1
georgia theatre company
[ header: year | competition | venue | position | event | notes row 1 : 2003 | world youth championships | sherbrooke, canada | 1st | 3000 m | 9:12.70 row 2 : 2004 | world junior championships | grosseto, italy | 3rd | 1500 m | 4:17.39 row 3 : 2004 | world junior championships | grosseto, italy | 3rd | 3000 m | 9:03.16 (pb) row 4 : 2007 | world athletics final | stuttgart, germany | 8th | 1500 m | 4:16.51 row 5 : 2007 | world championships | osaka, japan | 31st (h) | 1500 m | 4:22.12 row 6 : 2008 | world indoor championships | valencia, spain | 5th | 1500 m | 4:15.54 row 7 : 2008 | olympic games | beijing, china | 10th | 1500 m | 4:05.57 row 8 : 2009 | mediterranean games | pescara, italy | 4th | 1500 m | 4:12.83 row 9 : 2009 | world championships | berlin, germany | 29th (h) | 1500 m | 4:10.57 row 10 : 2009 | jeux de la francophonie | beirut, lebanon | 2nd | 1500 m | 4:21.56 row 11 : 2010 | african championships | nairobi, kenya | 11th | 1500 m | 4:20.98 row 12 : 2011 | world championships | daegu, south korea | 16th (sf) | 1500 m | 4:09.64 row 13 : 2011 | pan arab games | doha, qatar | 2nd | 1500 m | 4:20.83 row 14 : 2012 | world indoor championships | istanbul, turkey | 11th (h) | 1500 m | 4:11.69 row 15 : 2013 | mediterranean games | mersin, turkey | 2nd | 800 m | 2:00.79 row 16 : 2013 | mediterranean games | mersin, turkey | 1st | 1500 m | 4:04.06 row 17 : 2013 | world championships | moscow, russia | 11th | 1500 m | 4:09.16 row 18 : 2013 | jeux de la francophonie | nice, france | 4th | 800 m | 2:03.73 row 19 : 2013 | jeux de la francophonie | nice, france | 2nd | 1500 m | 4:18.89 row 20 : 2014 | world indoor championships | sopot, poland | 4th | 1500 m | 4:07.62 ] Execute this SQL based on the above table: select position where year = 2008
5th, 10th
[ header: week | date | opponent | result | attendance row 1 : 1 | september 13, 1987 | cleveland browns | w 28-21 | 59900 row 2 : 2 | september 20, 1987 | at philadelphia eagle | l 27-21 | 57485 row 3 : None | september 27, 1987 | atlanta falcons | None | None row 4 : 3 | october 4, 1987 | los angeles rams | w 37-10 | 29745 row 5 : 4 | october 11, 1987 | at st. louis cardinals | l 24-19 | 11795 row 6 : 5 | october 18, 1987 | at chicago bears | w 19-17 | 46813 row 7 : 6 | october 25, 1987 | san francisco 49ers | l 24-22 | 60497 row 8 : 7 | november 1, 1987 | at atlanta falcons | w 38-0 | 42196 row 9 : 8 | november 8, 1987 | at los angeles rams | w 31-14 | 43379 row 10 : 9 | november 15, 1987 | at san francisco 49ers | w 26-24 | 60436 row 11 : 10 | november 22, 1987 | new york giants | w 23-14 | 67639 row 12 : 11 | november 29, 1987 | at pittsburgh steelers | w 20-16 | 47896 row 13 : 12 | december 6, 1987 | tampa bay buccaneers | w 44-34 | 66471 row 14 : 13 | december 13, 1987 | houston oilers | w 24-10 | 68257 row 15 : 14 | december 20, 1987 | at cincinnati bengals | w 41-24 | 43424 row 16 : 15 | december 27, 1987 | green bay packers | w 33-24 | 68364 ] Execute this SQL based on the above table: select result order by week desc limit 1
w 33-24
[ header: national team | title(s) represented | first worn | number of stars | notes row 1 : brazil | world cup | 1971 | 5 | third win was in 1970; fourth and fifth stars row 2 : italy | world cup | 1982 | 4 | added after third win; fourth star added after the row 3 : germany | world cup | 1996 | 3 | 1954, 1974, third win was in 1990 row 4 : uruguay | world cup and olympics | 1930 | 4 | represent 2 world cups (1930 & 1950) row 5 : argentina | world cup | 2003 | 2 | 1978, second win was in 1986 row 6 : england | world cup | 2003 | 1 | title won in 1966. star added after a row 7 : france | world cup | 1998 | 1 | title won in 1998. star added above their badge row 8 : spain | world cup | 2010 | 1 | title won in 2010. spain played in their away ] Execute this SQL based on the above table: select max ( number of stars ) where number of stars < 4
3.0
[ header: season | series | team | races | wins | poles | f/laps | podiums | points | position row 1 : 2001 | formula bmw junior cup iberia | None | 3 | 0 | 0 | 0 | 0 | 38 | 18th row 2 : 2002 | formula bmw adac | viva racing | 20 | 9 | 5 | 1 | 13 | 264 | 1st row 3 : 2003 | formula 3 euro series | team rosberg | 20 | 1 | 1 | 2 | 5 | 45 | 8th row 4 : 2003 | masters of formula 3 | team rosberg | 1 | 0 | 0 | 0 | 0 | None | nc row 5 : 2003 | macau grand prix | carlin motorsport | 1 | 0 | 0 | 0 | 0 | None | nc row 6 : 2003 | korea super prix | carlin motorsport | 1 | 0 | 0 | 0 | 0 | None | 11th row 7 : 2004 | formula 3 euro series | team rosberg | 19 | 3 | 2 | 2 | 5 | 70 | 4th row 8 : 2004 | macau grand prix | team rosberg | 1 | 0 | 0 | 0 | 0 | None | nc row 9 : 2004 | masters of formula 3 | team rosberg | 1 | 0 | 0 | 0 | 0 | None | 6th row 10 : 2004 | bahrain superprix | team rosberg | 1 | 0 | 0 | 0 | 1 | None | 2nd row 11 : 2005 | gp2 series | art grand prix | 23 | 5 | 4 | 5 | 12 | 120 | 1st row 12 : 2005 | formula one | bmw williams f1 team | None | None | None | None | None | None | test driver row 13 : 2006 | formula one | williamsf1 team | 18 | 0 | 0 | 1 | 0 | 4 | 17th row 14 : 2007 | formula one | at&t williams | 17 | 0 | 0 | 0 | 0 | 20 | 9th row 15 : 2008 | formula one | at&t williams | 18 | 0 | 0 | 0 | 2 | 17 | 13th row 16 : 2009 | formula one | at&t williams | 17 | 0 | 0 | 1 | 0 | 34.5 | 7th row 17 : 2010 | formula one | mercedes gp petrona | 19 | 0 | 0 | 0 | 3 | 142 | 7th row 18 : 2011 | formula one | mercedes gp petrona | 19 | 0 | 0 | 0 | 0 | 89 | 7th row 19 : 2012 | formula one | mercedes amg petronas | 20 | 1 | 1 | 2 | 2 | 93 | 9th row 20 : 2013 | formula one | mercedes amg petronas | 19 | 2 | 3 | 0 | 4 | 171 | 6th row 21 : 2014 | formula one | mercedes amg petronas | 2 | 1 | 0 | 1 | 2 | 43 | 1st ] Execute this SQL based on the above table: select count ( series ) where wins = 3
1
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | russia | 7 | 3 | 0 | 10 row 2 : 2 | italy | 1 | 3 | 0 | 4 row 3 : 3 | france | 1 | 1 | 2 | 4 row 4 : 4 | austria | 1 | 1 | 0 | 2 row 5 : 4 | germany | 1 | 1 | 0 | 2 row 6 : 4 | iran | 1 | 1 | 0 | 2 row 7 : 4 | israel | 1 | 1 | 0 | 2 row 8 : 8 | poland | 1 | 0 | 5 | 6 row 9 : 9 | netherlands | 1 | 0 | 1 | 2 row 10 : 9 | romania | 1 | 0 | 1 | 2 row 11 : 11 | belgium | 1 | 0 | 0 | 1 row 12 : 11 | mexico | 1 | 0 | 0 | 1 row 13 : 13 | spain | 0 | 2 | 0 | 2 row 14 : 14 | sweden | 0 | 1 | 3 | 4 row 15 : 15 | colombia | 0 | 1 | 1 | 2 row 16 : 15 | ukraine | 0 | 1 | 1 | 2 row 17 : 17 | denmark | 0 | 1 | 0 | 1 row 18 : 17 | switzerland | 0 | 1 | 0 | 1 row 19 : 19 | algeria | 0 | 0 | 1 | 1 row 20 : 19 | greece | 0 | 0 | 1 | 1 row 21 : 19 | kazakhstan | 0 | 0 | 1 | 1 row 22 : 19 | slovenia | 0 | 0 | 1 | 1 row 23 : total | total | 18 | 18 | 18 | 54 ] Execute this SQL based on the above table: select bronze where silver = 0
5.0, 1.0, 1.0, 0.0, 0.0, 1.0, 1.0, 1.0, 1.0
[ header: rd. | grand prix | date | location | pole position | fastest lap | winning driver | constructor | report row 1 : 1 | brazilian grand prix | 26 march | jacarepagua | ayrton senna | riccardo patrese | nigel mansell | ferrari | report row 2 : 2 | san marino grand prix | 23 april | imola | ayrton senna | alain prost | ayrton senna | mclaren-honda | report row 3 : 3 | monaco grand prix | 7 may | monaco | ayrton senna | alain prost | ayrton senna | mclaren-honda | report row 4 : 4 | mexican grand prix | 28 may | hermanos rodriguez | ayrton senna | nigel mansell | ayrton senna | mclaren-honda | report row 5 : 5 | united states grand prix | 4 june | phoenix | ayrton senna | ayrton senna | alain prost | mclaren-honda | report row 6 : 6 | canadian grand prix | 18 june | circuit gilles villeneuve | alain prost | jonathan palmer | thierry boutsen | williams-renault | report row 7 : 7 | french grand prix | 9 july | paul ricard | alain prost | mauricio gugelmin | alain prost | mclaren-honda | report row 8 : 8 | british grand prix | 16 july | silverstone | ayrton senna | nigel mansell | alain prost | mclaren-honda | report row 9 : 9 | german grand prix | 30 july | hockenheimring | ayrton senna | ayrton senna | ayrton senna | mclaren-honda | report row 10 : 10 | hungarian grand prix | 13 august | hungaroring | riccardo patrese | nigel mansell | nigel mansell | ferrari | report row 11 : 11 | belgian grand prix | 27 august | spa-francorchamps | ayrton senna | alain prost | ayrton senna | mclaren-honda | report row 12 : 12 | italian grand prix | 10 september | monza | ayrton senna | alain prost | alain prost | mclaren-honda | report row 13 : 13 | portuguese grand prix | 24 september | estoril | ayrton senna | gerhard berger | gerhard berger | ferrari | report row 14 : 14 | spanish grand prix | 1 october | jerez | ayrton senna | ayrton senna | ayrton senna | mclaren-honda | report row 15 : 15 | japanese grand prix | 22 october | suzuka | ayrton senna | alain prost | alessandro nannini | benetton-ford | report row 16 : 16 | australian grand prix | 5 november | adelaide | ayrton senna | satoru nakajima | thierry boutsen | williams-renault | report ] Execute this SQL based on the above table: select count ( report ) where rd. = 16
1
[ header: year | competition | venue | position | notes row 1 : 1994 | commonwealth games | victoria, canada | 6th | 400 m h row 2 : 1995 | world championships | gothenburg, sweden | 6th | 400 m h row 3 : 1997 | world championships | athens, greece | 7th | 4x400 m relay row 4 : 1998 | commonwealth games | kuala lumpur, malaysi | 3rd | 400 m h row 5 : 1998 | african championships | dakar, senegal | 2nd | 400 m h row 6 : 1999 | all-africa games | johannesburg, south africa | 2nd | 400 m h ] Execute this SQL based on the above table: select abs ( ( select year where venue = 'kuala lumpur, malaysia' ) - ( select year where venue = 'athens, greece' ) )
1
[ header: boat # | name | builder | laid down | launched | completed | fate row 1 : 4918 | ha-208 | sasebo naval arsenal | 01-05-1945 | 26-05-1945 | 04-08-1945 | decommissioned 30-11-1945. scut row 2 : 4920 | ha-210 | sasebo naval arsenal | 14-05-1945 | 10-06-1945 | 11-08-1945 | decommissioned 30-11-1945. scut row 3 : 4925 | ha-215 | sasebo naval arsenal | 22-05-1945 | 15-05-1945 | None | incomplete until the end of war (95%). row 4 : 4931 | ha-221 | mitsubishi-kobe shipyard | 20-04-1945 | 04-08-1945 | None | incomplete until the end of war (85%). row 5 : 4933 | ha-223 | kawasaki-kobe shipyard | 01-05-1945 | None | None | incomplete until the end of war (60%). scrap row 6 : 4938 | ha-228 | sasebo naval arsenal | 21-06-1945 | 18-07-1945 | None | incomplete until the end of war (75%). row 7 : 4939 | ha-229 | sasebo naval arsenal | 27-06-1945 | 27-07-1945 | None | incomplete until the end of war (75%). scrap row 8 : 4942 | ha-232 | sasebo naval arsenal | 18-07-1945 | None | None | incomplete until the end of war (40%). later row 9 : 4944 | ha-234 | kawasaki-kobe shipyard | 15-05-1945 | None | None | incomplete until the end of war (50%). scrap row 10 : 4945 | ha-235 | kawasaki-senshu shipyard | 01-06-1945 | None | None | incomplete until the end of war (10%). later row 11 : 4946 | ha-236 | kawasaki-kobe shipyard | 01-06-1945 | None | None | incomplete until the end of war (40%). scrap row 12 : 4958 - 4989 | None | None | None | None | None | constructions were not started until the end of war ] Execute this SQL based on the above table: select count ( * ) where boat # = 4918
1
[ header: year | competition | venue | position | event | notes row 1 : 1982 | african championships | cairo, egyp | 1st | marathon | 2:21:05 row 2 : 1982 | commonwealth games | brisbane, australia | 2nd | marathon | 2:09:30 row 3 : 1983 | world championships | helsinki, finland | 15th | marathon | 2:13:11 row 4 : 1983 | melbourne marathon | melbourne, australia | 1st | marathon | 2:13:50 row 5 : 1984 | tokyo marathon | tokyo, japan | 1st | marathon | 2:10:49 row 6 : 1984 | olympic games | los angeles, united states | 6th | marathon | 2:11:10 row 7 : 1984 | melbourne marathon | melbourne, australia | 1st | marathon | 2:15:31 row 8 : 1986 | tokyo marathon | tokyo, japan | 1st | marathon | 2:08:10 row 9 : 1986 | fukuoka marathon | fukuoka, japan | 1st | marathon | 2:10:06 row 10 : 1987 | world championships | rome, italy | 6th | marathon | 2:13:43 row 11 : 1987 | beijing marathon | beijing, pr china | 1st | marathon | 2:12:19 row 12 : 1988 | olympic games | seoul, south korea | 7th | marathon | 2:13:06 row 13 : 1988 | boston marathon | boston, united states | 2nd | marathon | None row 14 : 1989 | new york city marathon | new york, united states | 1st | marathon | 2:08:01 row 15 : 1989 | boston marathon | boston, united states | 2nd | marathon | None row 16 : 1990 | boston marathon | boston, united states | 2nd | marathon | None row 17 : 1992 | olympic games | barcelona, spain | 34th | marathon | 2:19:34 row 18 : 1993 | world championships | stuttgart, germany | 21st | marathon | 2:24:23 row 19 : 1995 | world championships | gothenburg, sweden | 43rd | marathon | 2:30:53 ] Execute this SQL based on the above table: select sum ( year ) where venue = 'tokyo, japan'
3970
[ 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 count ( party ) where total voters < 19258
1
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 10 | juan pablo montoya | mclaren-mercedes | 60 | 1:24:29.588 | 3 | 10 row 2 : 2 | 5 | fernando alonso | renault | 60 | 2.739 | 1 | 8 row 3 : 3 | 9 | kimi raikkonen | mclaren-mercedes | 60 | 14.436 | 12 | 6 row 4 : 4 | 6 | giancarlo fisichella | renault | 60 | 17.914 | 6 | 5 row 5 : 5 | 3 | jenson button | bar-honda | 60 | 40.264 | 2 | 4 row 6 : 6 | 1 | michael schumacher | ferrari | 60 | +1:15.322 | 9 | 3 row 7 : 7 | 2 | rubens barrichello | ferrari | 60 | +1:16.567 | 5 | 2 row 8 : 8 | 17 | ralf schumacher | toyota | 60 | +1:19.212 | 8 | 1 row 9 : 9 | 16 | jarno trulli | toyota | 60 | +1:20.851 | 4 | None row 10 : 10 | 12 | felipe massa | sauber-petronas | 59 | +1 lap | 16 | None row 11 : 11 | 7 | mark webber | williams-bmw | 59 | +1 lap | 11 | None row 12 : 12 | 8 | nick heidfeld | williams-bmw | 59 | +1 lap | 14 | None row 13 : 13 | 14 | david coulthard | red bull-cosworth | 59 | +1 lap | 13 | None row 14 : 14 | 11 | jacques villeneuve | sauber-petronas | 59 | +1 lap | 10 | None row 15 : 15 | 15 | christian klien | red bull-cosworth | 59 | +1 lap | 15 | None row 16 : 16 | 4 | takuma sato | bar-honda | 58 | +2 laps | 7 | None row 17 : 17 | 18 | tiago monteiro | jordan-toyota | 58 | +2 laps | 20 | None row 18 : 18 | 21 | christijan albers | minardi-cosworth | 57 | +3 laps | 18 | None row 19 : 19 | 20 | patrick friesacher | minardi-cosworth | 56 | +4 laps | 19 | None row 20 : ret | 19 | narain karthikeyan | jordan-toyota | 10 | electrical | 17 | None ] Execute this SQL based on the above table: select driver where id = ( select id where pos = 3 and driver = 'kimi raikkonen' ) + 1
giancarlo fisichella
[ header: name | armenian | location | # of prisoners designed for | notes row 1 : nubarashen | «նուբարաշեն» | nubarashen, yerevan | 840 | None row 2 : kosh | «կոշ» | kosh, aragatsot | 640 | None row 3 : sevan | «սեւան» | hrazdan, kotayk | 548 | None row 4 : prison hospital | «դատապարտյալների հիվանդանոց» | kentron, yerevan | 464 | None row 5 : erebuni | «էրեբունի» | nubarashen, yerevan | 391 | None row 6 : artik | «արթիկ» | harich, shirak | 373 | None row 7 : abovyan | «աբովյան» | abovyan, kotay | 250 | for women and minors row 8 : vanadzor | «վանաձոր» | vanadzor, lori | 245 | None row 9 : goris | «գորիս» | goris, syunik | 215 | None row 10 : hrazdan | «հրազդան» | hrazdan, kotayk | 215 | None row 11 : vardashen | «վարդաշեն» | nubarashen, yerevan | 150 | for former policemen and military officers row 12 : yerevan-center | «երեւան-կենտրոն» | kentron, yerevan | 60 | None row 13 : total | total | total | 4391 | None ] Execute this SQL based on the above table: select notes order by location asc limit 1336
for women and minors, for former policemen and military officers
[ header: representative | title | from | to | appointed by row 1 : william shaler | special diplomatic agent | 1810 | 1812 | james madison row 2 : john h. robinson | special diplomatic agent | 1812 | 1814 | james madison row 3 : joel roberts po | minister | 1825 | 1829 | john quincy adams row 4 : anthony butler | charge d'affaires | 1829 | 1835 | None row 5 : powhatan ellis | charge d'affaires | 1836 | None | andrew jackson row 6 : powhatan ellis | minister | 1839 | 1842 | martin van buren row 7 : waddy thompson, j | minister | 1842 | 1844 | john tyler row 8 : gilbert l. tho | special diplomatic agent | 1844 | None | john tyler row 9 : wilson shannon | minister | 1844 | 1845 | john tyler row 10 : john slidell | minister | 1845 | None | james k. polk row 11 : david conner | special diplomatic agent | 1846 | None | james k. polk row 12 : nathan clifford | minister | 1848 | 1849 | james k. polk row 13 : robert greenhow | special diplomatic agent | 1850 | None | None row 14 : george g. goss | special diplomatic agent | 1850 | 1852 | None row 15 : edward smith | special diplomatic agent | 1852 | None | millard fillmore row 16 : george e. cooper | special diplomatic agent | 1853 | None | None row 17 : christopher l. ward | special diplomatic agent | 1853 | None | None row 18 : richard s. spofford | special diplomatic agent | 1854 | None | franklin pierce row 19 : william m. churchwell | special diplomatic agent | 1858 | None | james buchanan row 20 : alfred mordecai | special diplomatic agent | 1858 | None | james buchanan row 21 : duff green | special diplomatic agent | 1859 | None | james buchanan row 22 : david r. porter | special diplomatic agent | 1859 | None | james buchanan row 23 : robert milligan mclane | minister | 1859 | 1860 | james buchanan row 24 : henry roy de la reintrie | special diplomatic agent | 1860 | None | james buchanan row 25 : lewis d. campbell | minister | 1866 | 1867 | andrew johnson row 26 : marcus otterbourg | minister | 1867 | None | andrew johnson row 27 : william s. rosecrans | minister | 1868 | 1869 | andrew johnson row 28 : john w. foster | minister | 1873 | 1880 | ulysses s. grant row 29 : philip hicky morgan | minister | 1880 | 1885 | rutherford b. hayes row 30 : thomas courtland manning | minister | 1886 | 1887 | grover cleveland row 31 : thomas ryan | minister | 1889 | 1893 | None row 32 : matt whitaker ransom | minister | 1895 | 1897 | grover cleveland row 33 : powell clayton | minister | 1897 | 1898 | None ] Execute this SQL based on the above table: select appointed by where appointed by = 'john tyler'
john tyler, john tyler, john tyler
[ header: name | elected | term began | term ended row 1 : john t. jordan | elected july 10, 1871 | 1871 | 1872 row 2 : john collins | elected july 14, 1873 | 1873 | 1874 row 3 : henry yesler | elected july 13, 1874 | 1874 | 1875 row 4 : gideon a. weed | elected july 10, 1876 and ju | 1876 | 1878 row 5 : leonard purley smith | elected july 12, 1880 and ju | 1880 | 1882 row 6 : henry g. struve | elected july 10, 1882 and ju | 1882 | 1884 row 7 : john leary | elected july 14, 1884 | 1884 | 1885 row 8 : henry yesler | elected july 13, 1885 | 1885 | 1886 row 9 : dr. thomas t | elected july 11, 1887 | 1887 | 1888 row 10 : harry white | elected july 14, 1890 resigned | 1890 | 1891 row 11 : byron phelps | elected march 12, 1894 | 1894 | 1896 row 12 : richard a. ballinger | elected march 8, 1904 | 1904 | 1906 row 13 : john f. miller | elected march 3, 1908 | 1908 | 1910 row 14 : george w. dilling | appointed february 10, 1911[citation needed] | 1912 | None row 15 : george f. cotterill | elected march 5, 1912 | 1912 | 1914 row 16 : ole hanson | elected march 5, 1918 resigned august 28, 1919 | 1918 | 1919 row 17 : hugh m. caldwell | elected march 2, 1920 | 1920 | 1922 row 18 : edwin j. brown | elected may 2, 1922 and march 4, 1924 | 1922 | 1926 row 19 : frank e. edward | elected march 6, 1928 and march 4, 1930 recalled | 1928 | 1931 row 20 : robert h. harl | appointed july 14, 1931 | 1931 | 1932 row 21 : charles l. smith | elected march 6, 1934 | 1934 | 1936 row 22 : john f. dore | elected march 3, 1936 became gravely ill and | 1936 | 1938 row 23 : arthur b. langlie | elected march 8, 1938 appointed to take office early, | 1938 | 1941 row 24 : john e. carroll | appointed january 27, 1941 | 1941 | 1941 row 25 : william f. devin | elected march 3, 1942, march 7, 1944, march | 1942 | 1952 row 26 : allan pomeroy | elected march 4, 1952 | 1952 | 1956 row 27 : gordon s. clinton | elected march 6, 1956 and march 8, 1960 | 1956 | 1964 row 28 : james d'orma bra | elected march 10, 1964 resigned march 23, 1969 | 1964 | 1969 row 29 : floyd c. miller | appointed march 23, 1969 | 1969 | 1969 row 30 : wesley c. uhlman | elected november 4, 1969 and november | december 1, 1969 | january 1, 1978 row 31 : charles royer | elected november 8, 1977, november | january 1, 1978 | january 1, 1990 ] Execute this SQL based on the above table: select ( select name where name = 'john t. jordan' ) > ( select name where name = 'john t. jordan' )
0
[ header: outcome | no. | date | tournament | surface | partner | opponents in the final | score in the final row 1 : runner-up | 1 | 1972 | stockholm, sweden | hard (i) | roy emerson | tom okker marty ries | 5-7, 6-7 row 2 : runner-up | 2 | 1973 | miami wct, us | hard | terry addison | roy emerson rod laver | 4-6, 4-6 row 3 : runner-up | 3 | 1973 | richmond wct, us | carpet | terry addison | roy emerson rod laver | 6-3, 3-6, 4-6 row 4 : runner-up | 4 | 1973 | st. louis, us | carpet | terry addison | ove nils bengtson | 2-6, 5-7 row 5 : runner-up | 5 | 1973 | columbus, us | hard | charles pasarell | gerald battrick graham | 4-6, 6-7 row 6 : winner | 1 | 1973 | merion, us | grass | allan stone | john austin fred m | 7-6, 6-3 row 7 : winner | 2 | 1973 | hong kong | hard | rod laver | paul gerken brian gott | 6-3, 5-7, 17-15 row 8 : winner | 3 | 1974 | houston, us | clay | rod laver | arthur ashe roscoe t | 4-6, 7-6, 6-4 row 9 : runner-up | 7 | 1975 | orlando wct, us | hard | ray ruffels | brian gottfried raul | 4-6, 4-6 row 10 : winner | 6 | 1976 | palm springs, us | hard | sandy mayer | raymond moore erik van | 6-4, 6-7, 7-6 row 11 : winner | 7 | 1976 | palma, spain | clay | john andrews | mark edmondson john marks | 2-6, 6-3, 6-2 row 12 : runner-up | 8 | 1976 | madrid, spain | clay | john andrews | carlos kirmayr eduard | 6-7, 6-4, 6-8 row 13 : winner | 9 | 1977 | little rock, us | carpet | haroon rahim | bob hewitt frew | 6-7, 6-3, 6-3 row 14 : winner | 10 | 1977 | denver, us | carpet | geoff masters | syd ball kim warwick | 6-2, 6-3 row 15 : winner | 11 | 1977 | south orange, us | hard | wojtek fibak | ion tiriac guiller | 6-1, 7-5 row 16 : runner-up | 10 | 1978 | johannesburg, south africa | hard | geoff masters | bob hewitt frew | 5-7, 6-7 row 17 : runner-up | 11 | 1978 | newport, us | grass | bob giltinan | tim gullikson tom gul | 4-6, 4-6 row 18 : winner | 13 | 1978 | columbus, us | clay | bob giltinan | marcello lara elio | 6-2, 6-3 row 19 : runner-up | 13 | 1979 | tulsa, us | hard (i) | tom gullikson | francisco gonzalez e | 7-6, 5-7, 3-6 row 20 : runner-up | 14 | 1979 | stowe, us | hard | anand amritraj | mike cahill steve k | 6-3, 3-6, 4-6 ] Execute this SQL based on the above table: select count ( tournament )
20
[ header: week | opponent | result | game site | tv | time | attendance | bye row 1 : 1 | at denver broncos | l 3-19 | mile high stadium | nbc | 4:15pm | 75600 | row 2 : 2 | at oakland raiders | w 28-27 | network associates coliseum | abc | 9:00pm | 61523 | row 3 : 3 | buffalo bills | w 22-16 | arrowhead stadium | nbc | 1:00pm | 78169 | row 4 : 4 | at carolina panthers | w 35-14 | bank of america stadium | nbc | 1:00pm | 67402 | row 5 : 5 | seattle seahawks | w 20-17 ot | arrowhead stadium | nbc | 4:15pm | 77877 | row 6 : 6 | at miami dolphins | l 14-17 | pro player stadium | nbc | 1:00pm | 71794 | row 7 : 7 | None | None | None | None | None | None | row 8 : 8 | san diego chargers | w 31-3 | arrowhead stadium | tnt | 8:00pm | 77195 | row 9 : 9 | at st. louis rams | w 28-20 | edward jones dome | nbc | 1:00pm | 64864 | row 10 : 10 | pittsburgh steelers | w 13-10 | arrowhead stadium | abc | 9:00pm | 78301 | row 11 : 11 | at jacksonville jaguars | l 14-24 | alltel stadium | nbc | 1:00pm | 70444 | row 12 : 12 | denver broncos | w 24-22 | arrowhead stadium | nbc | 1:00pm | 77963 | row 13 : 13 | at seattle seahawks | w 19-14 | kingdome | nbc | 4:15pm | 66264 | row 14 : 14 | san francisco 49ers | w 44-9 | arrowhead stadium | fox | 1:00pm | 77535 | row 15 : 15 | oakland raiders | w 30-0 | arrowhead stadium | nbc | 1:00pm | 76379 | row 16 : 16 | at san diego chargers | w 29-7 | qualcomm stadium | nbc | 4:15pm | 54594 | row 17 : 17 | new orleans saints | w 25-13 | arrowhead stadium | fox | 1:00pm | 66772 | row 18 : divisional playoff | denver broncos | l 10-14 | arrowhead stadium | nbc | 4:15pm | 76965 | ] Execute this SQL based on the above table: select count ( * ) where opponent = 'at oakland raiders'
1
[ header: series | launch date | finale date | days | housemates | winner | main presenter | grand prize | liveshow audience millions row 1 : grande fratello 1 | 14 september 2000 | 21 december 2000 | 99 | 10 | cristina plevani | daria bignardi | £250,000,000 (nowadays €12 | 9.82 row 2 : grande fratello 2 | 20 september 2001 | 20 december 2001 | 92 | 16 | flavio montrucchio | daria bignardi | £250,000,000 (nowadays €12 | 8 row 3 : grande fratello 3 | 30 january 2003 | 8 may 2003 | 99 | 16 | floriana secondi | barbara d'urso | €241,000 (reduced from €300 | 8 row 4 : grande fratello 4 | 22 january 2004 | 6 may 2004 | 106 | 15 | serena garitta | barbara d'urso | €300,000 | 8.44 row 5 : grande fratello 5 | 23 september 2004 | 2 december 2004 | 71 | 17 | jonathan kashanian | barbara d'urso | €250,000 | 6.86 row 6 : grande fratello 6 | 19 january 2006 | 27 april 2006 | 99 | 18 | augusto de megni | alessia marcuzzi | €900,000 (reduced from € | 6.51 row 7 : grande fratello 7 | 18 january 2007 | 19 april 2007 | 92 | 19 | milo coretti | alessia marcuzzi | €500,000 | 5.57 row 8 : grande fratello 8 | 21 january 2008 | 21 april 2008 | 92 | 21 | mario ferretti | alessia marcuzzi | €500,000 | 5.46 row 9 : grande fratello 9 | 12 january 2009 | 20 april 2009 | 99 | 23 | ferdi berisa | alessia marcuzzi | €300,000 | 6.63 row 10 : grande fratello 10 | 26 october 2009 | 8 march 2010 | 134 | 26 | mauro marin | alessia marcuzzi | €250,000 | 6.16 row 11 : grande fratello 11 | 18 october 2010 | 18 april 2011 | 183 | 35 | andrea cocco | alessia marcuzzi | €300,000 (extended from €2 | 5.43 row 12 : grande fratello 12 | 24 october 2011 | 1 april 2012 | 161 | 36 | sabrina mbarek | alessia marcuzzi | €240,000 (reduced from €2 | 3.85 row 13 : grande fratello 13 | 3 march 2014 | early june | 92 | 15 | None | alessia marcuzzi | €250,000 | None ] Execute this SQL based on the above table: select winner order by series limit 1
cristina plevani
[ header: year | title | role | notes row 1 : 1999 | bob rizzo's simply | himself | as matthew j. morrison row 2 : 2003 | marci x | boyz r us | as matthew j. morrison row 3 : 2005 | once upon a mattress | sir harry | None row 4 : 2006 | blinders | scott | None row 5 : 2007 | music and lyrics | ray | None row 6 : 2007 | dan in real life | policeman | None row 7 : 2007 | i think i love my wife | salesman #2 | None row 8 : 2011 | the muppets | mahna mahna host | None row 9 : 2012 | what to expect when you're expecting | evan | None ] Execute this SQL based on the above table: select count ( * ) where year > 711
9
[ header: common names subspecies | pacific (critchfieldiana) | columbia (ponderosa) | rocky mountains (scopulorum) | southwestern (brachyptera) | central high plains (readiana) row 1 : years needles remain green | 3.9±0.25, n=30 | 4.7±0.14, n=50 | 5.7±0.28, n=23 | 4.3±0.18, n=24 | 4.7±0.18, n=5 row 2 : foliage length on branch, cm | 25.1±2.4, n=30 | 26.2±2.2, n=50 | 21.1±1.7, n=23 | 21.8±2.7, n=24 | 42.2±6.7, n=5 row 3 : needle length, cm | 19.8±0.44, n=30 | 16.8±0.29, n=48 | 11.2±0.27, n=23 | 14.7±0.45, n=24 | 15.6±0.57, n=5 row 4 : needles per fascicle | 3.0±0.00, n=30 | 3.0±0.00, n=48 | 2.6±0.06, n=23 | 3.0±0.03, n=24 | 2.4±0.11, n=5 row 5 : needle thickness | 45.9±0.49, n= | 47.8±0.51, n=48 | 46.4±0.68, n=23 | 44.8±0.87, n=24 | 49.7±0.61, n=5 row 6 : branches per whorl | 4.4±0.13, n=30 | 3.7±0.11, n=50 | 3.0±0.17, n=23 | 3.4±0.25, n=23 | 2.3±0.11, n=5 row 7 : branch angle ° from vert | 56±1.8, n=30 | 51±1.7, n=50 | 50±2.3, n=23 | 48±3.1, n=24 | 36±1.9, n=5 row 8 : seed cones length, mm | 101.4±2.48, n=25 | 88.7±1.24, n= | 70.7±2.20, n=22 | 74.9±2.51, n=20 | 71.1±2.46, n=5 row 9 : seed cones width, mm | 77.1±1.35, n=25 | 71.6±0.73, n=36 | 61.5±1.08, n=22 | 62.6±1.77, n=20 | 63.3±2.18, n=5 row 10 : seed cone form w/l | 0.80±0.03, n=25 | 0.84±0.03, n=36 | 0.90±0.02, n=22 | 0.86±0.02, n=20 | 0.90±0.03, n=5 row 11 : seed length, mm | 7.5±0.08, n=23 | 7.6±0.16, n=14 | 6.3±0.09, n=17 | 6.4±0.18, n=16 | 7.0±0.12, n=5 row 12 : seed width, mm | 4.9±0.05, n=23 | 4.9±0.08, n=14 | 4.1±0.05, n=17 | 4.3±0.09, n=16 | 4.5±0.10, n=5 row 13 : seed + wing length, mm | 32.3±0.58, n=23 | 24.8±0.62, n=14 | 22.9±0.63, n=17 | 23.3±0.68, n=15 | 23.1±0.78, n=5 row 14 : mature cone color | apple green to yellow green | green & red-brown to d | green & red-brown to d | None | green & red-brown to d ] Execute this SQL based on the above table: select count ( * ) where pacific (critchfieldiana) = '19.8±0.44, n=30'
1
[ header: season | east superleague | east premier league | east region south division | east region central division | east region north division row 1 : 2006-07 | linlithgow rose | glenrothes | newtongrange star | dundonald bluebell | forfar west end row 2 : 2007-08 | lochee united | bo'ness united | fauldhouse united | ballingry rovers | blairgowrie row 3 : 2008-09 | bonnyrigg rose athletic | musselburgh athletic | armadale thistle | st andrews united | montrose roselea row 4 : 2009-10 | bo'ness united | tayport | broxburn athletic | thornton hibs | broughty athletic row 5 : 2010-11 | bo'ness united | st. andrews united | sauchie juniors | oakley united | downfield row 6 : 2011-12 | bonnyrigg rose athletic | sauchie juniors | dalkeith thistle | jeanfield swifts | dundee violet row 7 : 2012-13 | linlithgow rose | newtongrange star | fauldhouse united | kinnoull | kirriemuir thistle ] Execute this SQL based on the above table: select east region south division where east region south division in ( 'armadale thistle' , 'sauchie juniors' ) group by east region south division order by count ( east premier league ) desc limit 1
sauchie juniors
[ header: tramway | country | city | height of pylons | span width, leaning straight line | span width, horizontal measurement | height of cable over ground | year of inauguration | notes row 1 : peak 2 peak gondola | canada | whistler | 65m | 3024 m | 3019 m | 436 m | 2008 | 3s aerial tramway constructed by doppel row 2 : hut of regensburg material transport aerial railway | austria | falbeson | None | None | None | 430 m | None | None row 3 : vanoise express | france | vanoise | none | 1850 m | 1800 m | 380 m | 2003 | None row 4 : aiguille du midi | france | chamonix | none | 2867 m | 2500 m | None | 1955 | 2nd section row 5 : vallee blanche aerial tramway | france | mont blanc | none | 2831 m, 1684 m | span is almost horizontal | appr. 300 m | 1958 | rock anchored support structure row 6 : 3s aerial tramway | austria | kitzbuhel | 0 m, 80m | 2507 m | None | 400 m | 2004 | None row 7 : sandia peak tramway | usa | albuquerque | 70.7 m, 21.33 m | 2353 m | None | 274 m | 1966 | None row 8 : feldmoos-chli-tit | switzerland | titlis | 37.6 m | 3476,2 m | None | None | 1979 | temp. site tramway, demolished in ] Execute this SQL based on the above table: select count ( height of cable over ground ) where span width, horizontal measurement >= '1800 m'
0
[ header: season | age | overall | slalom | giant slalom | super g | downhill | combined row 1 : 1967 | 16 | 27 | 19 | None | not run | None | not awarded row 2 : 1968 | 17 | 12 | 11 | 8 | not run | None | not awarded row 3 : 1969 | 18 | 7 | 4 | 11 | not run | 5 | not awarded row 4 : 1970 | 19 | 11 | 8 | 10 | not run | 12 | not awarded row 5 : 1971 | 20 | 14 | 13 | 9 | not run | 15 | not awarded row 6 : 1972 | 21 | 6 | 4 | 7 | not run | 10 | not awarded row 7 : 1973 | 22 | 4 | 2 | 8 | not run | 9 | not awarded row 8 : 1974 | 23 | 7 | 2 | 13 | not run | 11 | not awarded row 9 : 1975 | 24 | 3 | 7 | 7 | not run | 6 | not awarded row 10 : 1976 | 25 | 1 | 1 | 3 | not run | 9 | 1 ] Execute this SQL based on the above table: select max ( slalom )
19.0
[ header: rank | player | points | points defending | points won | new points | withdrew due to row 1 : 5 | juan martin del potr | 5115 | 720 | 0 | 4395 | right wrist surgery row 2 : 6 | nikolay davydenko | 5145 | 360 | 0 | 4785 | broken wrist row 3 : 20 | radek stepanek | 1705 | 90 | 0 | 1615 | fatigue row 4 : 23 | tommy haas | 1660 | 180 | 0 | 1480 | right hip surgery row 5 : 32 | gilles simon | 1395 | 90 | 0 | 1305 | right knee injury row 6 : 36 | ivo karlovic | 1295 | 10 | 0 | 1285 | right foot injury row 7 : 10 | kim clijsters | 3890 | 0 | 0 | 3890 | left foot injury ] Execute this SQL based on the above table: select count ( distinct player )
7
[ 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 max ( season ) - min ( season )
2
[ header: year | title | chart positions nor | chart positions aus | chart positions aut | chart positions bel | chart positions ger | chart positions nl | chart positions nz | chart positions swe | chart positions swi | chart positions uk | album row 1 : 2003 | "she's so high" | 1 | 60 | 42 | 9 | 25 | 16 | 38 | None | 91 | 25 | i row 2 : 2004 | "here she comes" | 12 | None | None | 53 | None | None | None | None | None | None | i row 3 : 2004 | "all you have to offer" | None | None | None | None | None | None | None | None | None | None | i row 4 : 2004 | "my street" | None | None | None | None | None | None | None | None | None | None | a part of me row 5 : 2004 | "before you leave" | None | None | None | 52 | None | None | None | None | None | None | a part of me row 6 : 2005 | "never easy" | None | None | None | None | None | None | None | None | None | None | a part of me row 7 : 2006 | "when the stars go blue" (feat | 14 | None | None | None | None | None | None | None | None | None | venke knutson's places row 8 : 2006 | "hallelujah" (with espen | 1 | None | None | None | None | None | None | None | None | None | hallelujah - live row 9 : 2006 | "boys of summer" (with espen | 12 | None | None | None | None | None | None | None | None | None | hallelujah - live row 10 : 2007 | "push, push" | 1 | None | None | None | None | None | None | None | None | None | push push row 11 : 2007 | "silence" | 9 | None | None | None | None | None | None | None | None | None | push push row 12 : 2008 | "reality kicks" | 20 | None | None | None | None | None | None | None | None | None | push push row 13 : 2008 | "lost highway" (featuring will | 1 | None | None | None | None | None | None | None | None | None | rise to the occasion row 14 : 2008 | "don't have what it takes" | 19 | None | None | None | None | None | None | None | None | None | rise to the occasion row 15 : 2008 | "rise to the occasion" | None | None | None | None | None | None | None | 38 | None | None | rise to the occasion row 16 : 2009 | "with or without you" (with espen | 1 | None | None | None | None | None | None | None | None | None | hallelujah - live volume 2 row 17 : 2010 | "himmel pa jord" | 5 | None | None | None | None | None | None | None | None | None | have yourself a merry little christmas row 18 : 2013 | "adieu" | 9 | None | None | None | None | None | None | None | None | None | None row 19 : 2013 | "engler i sneen | 7 | None | None | None | None | None | None | None | None | None | None ] Execute this SQL based on the above table: select count ( album ) where year > 125
17
[ header: year | award | category | nominated work | result row 1 : 1979 | olivier award | best actress in a revival | once in a lifetime | won row 2 : 1981 | tony award | best featured in a play | piaf! | nominated row 3 : 1981 | drama desk award | outstanding featured actress in a play | piaf! | nominated row 4 : 1984 | olivier award | best actress in a revival | twelfth night | nominated row 5 : 1984 | olivier award | best actress in a supporting role | the time of your life | nominated row 6 : 1985 | olivier award | best performance in a supporting role | mother courage | nominated row 7 : 1986 | tony award | best featured actress in a play | loot | nominated row 8 : 1986 | drama desk award | outstanding featured actress in a play | loot | nominated row 9 : 1989/90 | olivier award | best performance in a supporting role | othello | nominated row 10 : 1991 | olivier award | best actress in a supporting role | the crucible | nominated row 11 : 1992 | bafta tv award | best actress | prime suspect | nominated row 12 : 1993 | bafta tv award | best actress | love hurts | nominated row 13 : 1996 | olivier award | best actress | the glass menagerie | nominated row 14 : 1998 | bafta film award | best supporting actress | wilde | nominated row 15 : 1998 | olivier award | best actress | electra | won row 16 : 1999 | tony award | best actress in a play | electra | nominated row 17 : 1999 | drama desk award | outstanding actress in a play | electra | nominated row 18 : 2002 | olivier award | best actress | boston marriage | nominated row 19 : 2006 | tony award | best featured actress in a play | awake and sing! | nominated ] Execute this SQL based on the above table: select category where nominated work = 'the glass menagerie'
best actress
[ header: game | date | opponent | location | score | attendance | record row 1 : 1 | january 3, 2009 | toronto rock | prudential center | l 14-15 | 5,733 | 0-1 row 2 : 2 | january 10, 2009 | boston blazers | prudential center | w 19-14 | 3,208 | 1-1 row 3 : 3 | january 17, 2009 | @ boston blazers | td banknorth garden | w 13-9 | 9,313 | 2-1 row 4 : 4 | january 24, 2009 | @ rochester knighthawks | blue cross arena | w 8-7 | 6,739 | 3-1 row 5 : 5 | january 31, 2009 | @ colorado mammoth | pepsi center | l 8-12 | 15,023 | 3-2 row 6 : 6 | february 7, 2009 | @ boston blazers | td banknorth garden | l 8-9 | 5,713 | 3-3 row 7 : 7 | february 8, 2009 | philadelphia wings | prudential center | w 15-12 | 4,231 | 4-3 row 8 : 8 | february 15, 2009 | rochester knighthawks | prudential center | w 15-9 | 5,187 | 5-3 row 9 : 9 | february 21, 2009 | @ rochester knighthawks | blue cross arena | l 7-15 | 7,142 | 5-4 row 10 : 10 | february 28, 2009 | calgary roughnecks | prudential center | l 10-12 | 5,487 | 5-5 row 11 : 11 | march 1, 2009 | san jose stealth | prudential center | w 15-14 | 3,287 | 6-5 row 12 : 12 | march 28, 2009 | @ buffalo bandits | hsbc arena | w 11-9 | 18,550 | 7-5 row 13 : 13 | april 4, 2009 | philadelphia wings | prudential center | l 7-11 | 4,187 | 7-6 row 14 : 14 | april 5, 2009 | @ philadelphia wings | wachovia center | w 16-13 | 10,806 | 8-6 row 15 : 15 | april 11, 2009 | buffalo bandits | prudential center | w 12-9 | 6,222 | 9-6 row 16 : 16 | april 18, 2009 | @ minnesota swarm | xcel energy center | w 12-10 | 13,219 | 10-6 ] Execute this SQL based on the above table: select max ( game )
16.0
[ header: week | date | opponent | result | record | attendance | bye row 1 : 1 | september 11, 2005 | indianapolis colts | l 24-7 | 0-1-0 | 70501 | 0 row 2 : 2 | september 18, 2005 | at tennessee titans | l 25-10 | 0-2-0 | 69149 | 0 row 3 : 3 | None | None | None | None | None | 1 row 4 : 4 | october 2, 2005 | new york jets | w 13-3 | 1-2-0 | 70479 | 0 row 5 : 5 | october 9, 2005 | at detroit lions | l 35-17 | 1-3-0 | 61201 | 0 row 6 : 6 | october 16, 2005 | cleveland browns | w 16-3 | 2-3-0 | 70196 | 0 row 7 : 7 | october 23, 2005 | at chicago bears | l 10-6 | 2-4-0 | 62102 | 0 row 8 : 8 | october 31, 2005 | at pittsburgh steelers | l 20-19 | 2-5-0 | 64178 | 0 row 9 : 9 | november 6, 2005 | cincinnati bengals | l 21-9 | 2-6-0 | 70540 | 0 row 10 : 10 | november 13, 2005 | at jacksonville jaguars | l 30-3 | 2-7-0 | 66107 | 0 row 11 : 11 | november 20, 2005 | pittsburgh steelers | w 16-13 ot | 3-7-0 | 70601 | 0 row 12 : 12 | november 27, 2005 | at cincinnati bengals | l 42-29 | 3-8-0 | 65680 | 0 row 13 : 13 | december 4, 2005 | houston texans | w 16-15 | 4-8-0 | 69909 | 0 row 14 : 14 | december 11, 2005 | at denver broncos | l 12-10 | 4-9-0 | 75651 | 0 row 15 : 15 | december 19, 2005 | green bay packers | w 48-3 | 5-9-0 | 70604 | 0 row 16 : 16 | december 25, 2005 | minnesota vikings | w 30-23 | 6-9-0 | 70246 | 0 row 17 : 17 | january 1, 2006 | at cleveland browns | l 20-16 | 6-10-0 | 69871 | 0 ] Execute this SQL based on the above table: select sum ( attendance ) where record in ( '4-8-0' , 'None' )
69909.0
[ header: name | term start | term end row 1 : pier ruggero piccio | 1 january 1926 | 6 february 1927 row 2 : armando armani | 10 february 1927 | 13 october 1928 row 3 : giuseppe valle | 22 february 1930 | 23 november 1933 row 4 : antonio bosio | 23 november 1933 | 22 march 1934 row 5 : giuseppe valle | 22 march 1934 | 10 november 1939 row 6 : francesco pricolo | 10 november 1939 | 15 november 1941 row 7 : rino corso fougier | 15 november 1941 | 27 july 1943 row 8 : renato sandalli | 27 july 1943 | 18 june 1944 row 9 : pietro piacentini | 19 june 1944 | 13 december 1944 row 10 : mario ajmone cat | 13 december 1944 | 5 february 1951 row 11 : aldo urbani | 5 february 1951 | 10 november 1955 row 12 : ferdinando raffaelli | 10 november 1955 | 1 february 1958 row 13 : silvio napoli | 1 february 1958 | 1 september 1961 row 14 : aldo remondino | 1 september 1961 | 28 february 1968 row 15 : duilio s. fanali | 28 february 1968 | 1 november 1971 row 16 : vincenzo lucertini | 1 november 1971 | 27 february 1974 row 17 : dino ciarlo | 27 february 1974 | 20 june 1977 row 18 : alessandro mettimano | 20 june 1977 | 1 april 1980 row 19 : lamberto bartolucci | 2 april 1980 | 12 october 1983 row 20 : basilio cottone | 19 october 1983 | 17 september 1986 row 21 : franco pisano | 18 september 1986 | 15 april 1990 row 22 : stelio nardini | 16 april 1990 | 24 march 1993 row 23 : adelchi pillinini | 25 march 1993 | 3 june 1995 row 24 : mario arpino | 4 june 1995 | 5 february 1999 row 25 : andrea fornasiero | 5 february 1999 | 5 august 2001 row 26 : sandro ferracuti | 5 august 2001 | 4 august 2004 row 27 : leonardo tricarico | 5 august 2004 | 19 september 2006 row 28 : vincenzo camporini | 19 september 2006 | 30 january 2008 row 29 : daniele tei | 30 january 2008 | 25 february 2010 row 30 : giuseppe bernardis | 25 february 2010 | 25 february 2013 row 31 : pasquale preziosa | 25 february 2013 | incumbent ] Execute this SQL based on the above table: select count ( name ) + count ( name )
62
[ header: year | host | champion | second place | third place | fourth place row 1 : 2005 | ninh binh | tianjin bridgestone | chung shan | korea highway corporation | rahat cska row 2 : 2006 | manila | tianjin bridgestone | chung shan | sang som | rahat cska row 3 : 2008 | vinh phuc | tianjin bridgestone | sang som | toray arrows | sobaeksu row 4 : 2009 | nakhon pathom | federbrau | tianjin bridgestone | toray arrows | zhetysu almaty row 5 : 2010 | gresik | federbrau | zhetysu almaty | jt marvelous | tianjin bridgestone row 6 : 2011 | vinh phuc | chang | tianjin bridgestone | zhetysu almaty | thong tin lien viet bank row 7 : 2012 | nakhon ratchasima | tianjin bridgestone | toray arrows | chang | zhetysu almaty ] Execute this SQL based on the above table: select count ( distinct champion )
3
[ header: abbreviation | settlement | district | official name | division | cup | other information row 1 : taaja | taalintehdas | turku | taalintehtaan | vitonen | 2 | None row 2 : tampere united | tampere | tampere | tampere united | veikkausliiga | 3 | None row 3 : tapa 2 | tampere | tampere | tampereen palloil | kutonen | 1 | None row 4 : tarmo | kalvia, kokkola | keski-pohjanma | kalvian tarmo | kutonen | 1 | None row 5 : team vanpa | vantaa | uusimaa | team vanpa | vitonen | 1 | None row 6 : tips | tikkurila, vantaa | uusimaa | tikkurilan palloseura | kolmonen | 2 | None row 7 : tjk liepo | tampere | tampere | tampereen jalkapall | vitonen | 1 | None row 8 : tkt | tampere | tampere | tampereen kisat | kolmonen | 2 | None row 9 : tops-90 | tohmajarvi | ita-suomi | tohmajarven palloseura-90 | nelonen | 2 | None row 10 : torre calcio | turku | turku | torre calcio | kutonen | 1 | None row 11 : tota | tornio | pohjois-suomi | tornion tarmo | kolmonen | 1 | None row 12 : tote/ap | toukola | helsinki | toukolan teras / | vitonen | 2 | None row 13 : tou/2 | toivala, siilinjarvi | ita-suomi | toivalan urheilijat | vitonen | 1 | None row 14 : tove | pori | satakunta | toejoen veikot | kolmonen | 2 | None row 15 : tp-47 | tornio | pohjois-suomi | tornion pallo-47 | kakkonen | 3 | None row 16 : tp-49 | toijala, akaa | tampere | toijalan pallo-49 | nelonen | 2 | also abbreviated as toip row 17 : tp-seinajoki | seinajoki | vaasa | tp-seinajoki ( | nelonen | 1 | None row 18 : tps | turku | turku | turun palloseura | veikkausliiga | 3 | None row 19 : tpv | tampere | tampere | tampereen palloveiko | ykkonen | 3 | None row 20 : tpv 2 | tampere | tampere | tampereen pallo- | kolmonen | 2 | None row 21 : trafk | jarvenpaa | uusimaa | traskanda fotboll k | kutonen | 1 | None ] Execute this SQL based on the above table: select cup where cup in ( 1 , 2 ) order by official name limit 1
1
[ header: pos. | car # | driver | make | team row 1 : 1 | 38 | jason leffler | toyota | braun racing row 2 : 2 | 16 | greg biffle | ford | roush fenway racing row 3 : 3 | 99 | david reutimann | toyota | michael waltrip racing row 4 : 4 | 60 | carl edwards | ford | roush fenway racing row 5 : 5 | 77 | ron hornaday | chevrolet | kevin harvick incorporated row 6 : 6 | 20 | aric almirola | chevrolet | joe gibbs racing row 7 : 7 | 29 | scott wimmer | chevrolet | richard childress racing row 8 : 8 | 42 | kevin hamlin | dodge | chip ganassi racing row 9 : 9 | 10 | mike bliss | toyota | braun racing row 10 : 10 | 88 | brad keselowski | chevrolet | jr motorsports ] Execute this SQL based on the above table: select ( select pos. where make = 'toyota' ) > ( select pos. where make = 'chevrolet' )
0
[ header: polling firm | month | link | favor | oppose row 1 : rutgers-eagleton | march 2014 | None | 64 | 28 row 2 : quinnipiac | july 2013 | None | 60 | 31 row 3 : rutgers-eagleton | june 2013 | None | 59 | 30 row 4 : quinnipiac | march 2013 | None | 64 | 30 row 5 : public policy polling | november 2012 | None | 53 | 36 row 6 : quinnipiac | february 2012 | None | 57 | 37 row 7 : rutgers-eagleton | february 2012 | None | 54 | 35 row 8 : quinnipiac | january 2012 | None | 52 | 42 row 9 : rutgers-eagleton | october 2011 | None | 52 | 39 row 10 : rutgers-eagleton | august 2011 | None | 52 | 32 row 11 : public policy polling | july 2011 | None | 47 | 42 row 12 : quinnipiac | november 2009 | None | 46 | 49 row 13 : rutgers-eagleton | november 2009 | None | 50 | 42 row 14 : quinnipiac | april 2009 | None | 49 | 43 row 15 : zogby international | august 2008 | None | 50 | 42 row 16 : zogby international | august 2007 | None | 48.1 | 44.6 row 17 : rasmussen reports | july 2006 | None | 42 | 54 row 18 : rutgers-eagleton | june 2006 | pdf | 49 | 44 row 19 : zogby international | february 2006 | None | 56 | 39 row 20 : zogby international | april 2005 | html | 54.5 | 40.1 row 21 : rutgers-eagleton | september 2003 | pdf | 43 | 50 row 22 : zogby international | july 2003 | None | 55 | 41 ] Execute this SQL based on the above table: select count ( month )
22
[ header: year | position row 1 : 1957 | did not enter row 2 : 1959 | did not enter row 3 : 1962 | did not enter row 4 : 1963 | did not enter row 5 : 1965 | did not enter row 6 : 1968 | did not qualify row 7 : 1970 | did not qualify row 8 : 1972 | round 1 row 9 : 1974 | withdrew row 10 : 1976 | did not qualify row 11 : 1978 | did not qualify row 12 : 1980 | did not qualify row 13 : 1982 | did not qualify row 14 : 1984 | round 1 row 15 : 1986 | did not qualify row 16 : 1988 | did not qualify row 17 : 1990 | withdrew row 18 : 1992 | did not qualify row 19 : 1994 | withdrew during qualifying row 20 : 1996 | did not qualify row 21 : 1998 | round 1 row 22 : 2000 | round 1 row 23 : 2002 | round 1 row 24 : 2004 | did not qualify row 25 : 2006 | round 1 row 26 : 2008 | did not qualify row 27 : 2010 | withdrew due to rebel attack row 28 : 2012 | did not qualify row 29 : 2013 | quarter-final ] Execute this SQL based on the above table: select position where position in ( 'did not qualify' , 'quarter-final' ) order by year desc limit 1
quarter-final
[ header: match | date | round | home/away | opponent team | score | scorers row 1 : 1 | 17 september 2007 | group stage | home | benfica | 2-1 | pirlo 9', inzaghi row 2 : 2 | 3 october 2007 | group stage | away | celtic | 2-1 | kaka 68' (pen.) row 3 : 3 | 24 october 2007 | group stage | home | shakhtar donetsk | 4-1 | gilardino 6', 14 row 4 : 4 | 6 november 2007 | group stage | away | shakhtar donetsk | 0-3 | inzaghi 66', 90+3 row 5 : 5 | 28 november 2007 | group stage | away | benfica | 1-1 | pirlo 15' row 6 : 6 | 4 december 2007 | group stage | home | celtic | 1-0 | inzaghi 70' row 7 : 7 | 20 february 2008 | round of 16 | away | arsenal | 0-0 | None row 8 : 8 | 4 march 2008 | round of 16 | home | arsenal | 0-2 | None ] Execute this SQL based on the above table: select score where date = '6 november 2007'
0-3
[ header: pennant | name | hull builder | ordered | laid down | launched | accepted into service | commissioned | est. building cost | fate row 1 : f169 | amazon | vosper thornycroft, woolston | 26 march 1969 | 6 november 1969 | 26 april 1971 | 19 july 1974 | 11 may 1974 | £16.8m | to pakistan as babur row 2 : f170 | antelope | vosper thornycroft | 11 may 1970 | 23 march 1971 | 16 march 1972 | 30 june 1975 | 16 july 1975 | £14.4m | bombed by argentine a-4 row 3 : f172 | ambuscade | yarrow shipbuilders, scot | 11 november 1971 | 1 september 1971 | 18 january 1973 | 23 august 1975 | 5 september 1975 | £16.5m | to pakistan as tariq row 4 : f173 | arrow | ysl | 11 november 1971 | 28 september 1972 | 5 february 1974 | 16 may 1975 | 29 july 1976 | £20.2m | to pakistan as khaibar row 5 : f171 | active | vosper thornycroft | 11 may 1970 | 21 july 1971 | 23 november 1972 | 2 june 1977 | 17 june 1977 | £24.1m | to pakistan as shah ja row 6 : f174 | alacrity | ysl | 11 november 1971 | 5 march 1973 | 18 september 1974 | 2 april 1977 | 2 july 1977 | £23.8m | to pakistan as badr row 7 : f184 | ardent | ysl | 11 november 1971 | 26 february 1974 | 9 may 1975 | 10 september 1977 | 14 october 1977 | £26.3m | bombed by argentine a-4 row 8 : f185 | avenger | ysl | 11 november 1971 | 30 october 1974 | 20 november 1975 | 15 april 1978 | 15 april 1978 | £27.7m | to pakistan as tippu s ] Execute this SQL based on the above table: select commissioned group by commissioned order by count ( * ) desc limit 1
5 september 1975
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 30 may 1928 | olympic stadium (amsterdam | mexico | 1-0 | 7-1 | 1928 summer olympics row 2 : 2 | 30 may 1928 | olympic stadium (amsterdam | mexico | 3-0 | 7-1 | 1928 summer olympics row 3 : 3 | 22 june 1930 | bologna, italy | italy | 1-0 | 3-2 | friendly row 4 : 4 | 22 june 1930 | bologna, italy | italy | 3-1 | 3-2 | friendly row 5 : 5 | 13 december 1931 | dublin, ireland | ireland | 3-0 | 5-0 | friendly row 6 : 6 | 13 december 1931 | dublin, ireland | ireland | 5-0 | 5-0 | friendly row 7 : 7 | 24 april 1932 | oviedo, spain | yugoslavia | 1-0 | 2-1 | friendly row 8 : 8 | 21 june 1933 | madrid, spain | bulgaria | 8-0 | 13-0 | friendly row 9 : 9 | 21 june 1933 | madrid, spain | bulgaria | 12-0 | 13-0 | friendly row 10 : 10 | 11 march 1934 | madrid, spain | portugal | 4-0 | 9-0 | 1934 world cup qualifier row 11 : 11 | 11 march 1934 | madrid, spain | portugal | 6-0 | 9-0 | 1934 world cup qualifier row 12 : 12 | 21 june 1934 | firenze, italy | italy | 1-0 | 1-1 | 1934 fifa world cup row 13 : 13 | 24 january 1935 | madrid, spain | bulgaria | 1-0 | 2-0 | friendly row 14 : 14 | 19 january 1936 | madrid, spain | austria | 2-4 | 4-5 | friendly row 15 : 15 | 19 january 1936 | madrid, spain | austria | 4-4 | 4-5 | friendly row 16 : 16 | 23 february 1936 | barcelona, spain | germany | 1-2 | 1-2 | friendly ] Execute this SQL based on the above table: select result where # < 2
7-1
[ header: no. | name | took office | left office | president served under | notable for row 1 : 2 | carl l. alsberg m. | december 16, 1912 | july 15, 1921 | william howard taft | None row 2 : 3 | walter gilbert campbell | 7/16/1921 | 6/30/1924 | warren g. harding, cal | None row 3 : 4 | charles albert browne, j | 7/1/1924 | 6/30/1927 | calvin coolidge | None row 4 : 5 | paul b. dunbar, | 5/6/1944 | 5/31/1951 | franklin d. ro | None row 5 : 6 | charles w. crawford | 6/1/1951 | 7/31/1954 | harry s truman, | None row 6 : 8 | james lee goddard, | 1/17/1966 | 7/1/1968 | lyndon b. johnson | None row 7 : 9 | herbert leonard ley, j | 7/1/1968 | 12/12/1969 | lyndon b. johnson | None row 8 : 10 | charles c. edward | 12/13/1969 | 3/15/1973 | richard m. nixon | None row 9 : 11 | alexander mackay schmidt, | 7/20/1973 | 11/30/1976 | richard m. nixon, | None row 10 : 12 | donald kennedy, | 4/4/1977 | 6/30/1979 | jimmy carter | None row 11 : 13 | jere edwin goyan, | 10/21/1979 | 1/20/1981 | jimmy carter | None row 12 : 14 | arthur hull hayes jr. | 4/13/1981 | 9/11/1983 | ronald reagan | None row 13 : 15 | frank edward young, | 7/15/1984 | 12/17/1989 | ronald reagan | None row 14 : 16 | david aaron kessler | 11/8/1990 | 2/28/1997 | george h. w. bush | None row 15 : 17 | jane ellen henney, | 1/17/1999 | 1/19/2001 | bill clinton | None row 16 : 19 | lester mills crawford, | 7/18/2005 | 9/23/2005 | george w. bush | charged with conflict of interest and lying about stock row 17 : 20 | andrew c. von eschen | 12/13/2006 | 1/20/2009 | george w. bush | member of the board of directors of biotime ( row 18 : 21 | margaret a. hamburg | 5/22/2009 | present | barack obama | None ] Execute this SQL based on the above table: select name order by no. asc limit 1
carl l. alsberg m.d
[ header: season | date | driver | team | chassis | engine | race distance laps | race distance miles (km) | race time | average speed (mph) | report row 1 : 2005 | july 17 | sebastien bourdais | newman/haas racing | lola | ford-cosworth | 88 | 173.624 (279.42) | 1:38:55 | 105.302 | report row 2 : 2006 | july 23 | justin wilson | rusport | lola | ford-cosworth | 85 | 167.705 (269.895) | 1:40:30 | 100.112 | report row 3 : 2007 | july 22 | sebastien bourdais | newman/haas/lanigan racing | panoz | cosworth | 96 | 189.408 (304.822) | 1:45:41 | 107.517 | report row 4 : 2008 | july 26 | scott dixon | chip ganassi racing | dallara | honda | 91 | 179.543 (288.946) | 1:51:06 | 96.967 | report row 5 : 2009 | july 26 | will power | penske racing | dallara | honda | 95 | 187.435 (301.647) | 1:42:42 | 109.498 | report row 6 : 2010 | july 25 | scott dixon | chip ganassi racing | dallara | honda | 95 | 187.435 (301.647) | 1:50:37 | 101.666 | report row 7 : 2011 | july 24 | will power | penske racing | dallara | honda | 80 | 180.48 (290.454) | 1:57:23 | 90.949 | report row 8 : 2012 | july 22 | helio castroneves | penske racing | dallara | chevrolet | 75 | 169.2 (272.301) | 1:38:51 | 101.246 | report ] Execute this SQL based on the above table: select engine group by engine order by count ( * ) desc limit 1
honda
[ header: area served | city of license | vc | rf | callsign | network | notes row 1 : cape girardeau | ~harrisburg il | 3 | 34 | wsil-tv | abc | None row 2 : cape girardeau | ~paducah ky | 6 | 32 | wpsd-tv | nbc | None row 3 : cape girardeau | cape girardeau | 23 | 22 | kbsi | fox | None row 4 : cape girardeau | ~marion il | 27 | 17 | wtct | ind | None row 5 : cape girardeau | ~paducah ky | 49 | 49 | wdka | mnt | None row 6 : columbia/jefferson city | sedalia | 6 | 15 | kmos-tv | pbs | None row 7 : columbia/jefferson city | columbia | 17 | 17 | kmiz | abc | None row 8 : hannibal | ~quincy il | 10 | 10 | wgem-tv | nbc | None row 9 : hannibal | ~quincy il | 16 | 32 | wtjr | ind | None row 10 : joplin | ~pittsburg ks | 7 | 7 | koam-tv | cbs | None row 11 : joplin | joplin | 12 | 43 | kode-tv | abc | None row 12 : joplin | ~pittsburg ks | 14 | 13 | kfjx | fox | None row 13 : joplin | joplin | 26 | 25 | kozj | pbs | satellite of kozk ch. row 14 : kansas city | kansas city | 4 | 34 | wdaf-tv | fox | None row 15 : kansas city | kansas city | 5 | 24 | kctv | cbs | None row 16 : kansas city | kansas city | 9 | 29 | kmbc-tv | abc | None row 17 : kansas city | kansas city | 19 | 18 | kcpt | pbs | None row 18 : kansas city | kansas city | 29 | 31 | kcwe | cw | None row 19 : kansas city | kansas city | 41 | 42 | kshb-tv | nbc | None row 20 : kirksville | kirksville | 3 | 33 | ktvo | abc | None row 21 : kirksville | ~ottumwa i | 15 | 15 | kyou-tv | fox | None row 22 : st. louis | st. louis | 24 | 14 | knlc | ind | None row 23 : st. louis | ~east st. louis | 46 | 47 | wrbu | mnt | None row 24 : springfield | springfield | 3 | 44 | kytv | nbc | None row 25 : springfield | springfield | 27 | 28 | kozl-tv | ind | None row 26 : springfield | ~harrison ar | 31 | 31 | kwbm | ind | None row 27 : springfield | springfield | 33 | 19 | kspr | abc | k15cz (cw) on row 28 : springfield | osage beach | 49 | 49 | krbk | fox | None row 29 : springfield | springfield | 8 | 8 | krft-ld | mundofox | tnn on 8.2, my family ] Execute this SQL based on the above table: select vc where city of license = 'joplin'
12, 26
[ header: date | time | opponent# | rank# | site | tv | result | attendance row 1 : september 3 | 6:00 pm | missouri state | #15 | donald w. reyn | ppv | w 51-7 | 70607 row 2 : september 10 | 6:00 pm | new mexico | #14 | war memorial stadium • little rock, ar | espnu | w 52-3 | 52606 row 3 : september 17 | 6:30 pm | troy | #14 | donald w. reyn | css | w 38-28 | 69861 row 4 : september 24 | 2:30 pm | at #3 alabama | #14 | bryant-denny stadium • | cbs | l 14-38 | 101821 row 5 : october 1 | 11:00 am | vs. #14 texas | #18 | cowboys stadium • arlington, | espn | w 42-38 | 69838 row 6 : october 8 | 6:00 pm | #15 auburn | #10 | donald w. reyn | espn | w 38-14 | 74191 row 7 : october 22 | 11:21 am | at ole miss | #10 | vaught-hemingway stadium • | secn | w 29-24 | 57951 row 8 : october 29 | 11:21 am | at vanderbilt | #8 | vanderbilt stadium • nashville | secn | w 31-28 | 33247 row 9 : november 5 | 6:15 pm | #10 south carolina | #8 | donald w. reyn | espn | w 44-28 | 73804 row 10 : november 12 | 5:00 pm | tennessee | #8 | donald w. reyn | espn2 | w 49-7 | 72103 row 11 : november 19 | 2:30 pm | mississippi state | #6 | war memorial stadium • little rock, ar | cbs | w 44-17 | 55761 row 12 : november 25 | 1:30 pm | at #1 lsu | #3 | tiger stadium • baton rouge, la | cbs | l 17-41 | 93108 row 13 : january 6 | 7:00 pm | vs. #11 kansa | #7 | cowboys stadium • arlington, | fox | w 29-16 | 80956 ] Execute this SQL based on the above table: select result where attendance = 52606
w 52-3
[ header: location | name of mill and grid reference | type | maps | first mention or built | last mention or demise row 1 : chesfield | None | post | None | 1318 | 1372 row 2 : chesfield | chesfield park | titt iron wind engine | None | 1896 | None row 3 : cheshunt | tl 317 036 | post | None | 1843 | demolished c. 1860 row 4 : cheshunt | goff's oak mill tl | tower | None | c. 1860 | demolished 1953 row 5 : cheshunt | turner's hill mill tl 3 | None | 1822 | 1822 | 1861 row 6 : chipperfield | tl 037 014 | post | None | 1594 | 1594 row 7 : chipperfield | tl 037 014 | smock | 1822 | 1822 | 1881, gone by 1896 row 8 : chipping | approximately tl 350 319 | post | 1720 1728 | 1720 | 1728 row 9 : clothall | approximately tl 264 326 | post | None | 1370 | 1370 row 10 : codicote | codicote heath approximately tl | smock | None | 1841 | 1855, gone by 1881 row 11 : colney heath | colney heath mill tl 205 | tower | None | 1854 | windmill world row 12 : cottered | None | post | None | 1581 | 1581 row 13 : cromer | None | None | None | 1192 | 1576 row 14 : cromer | cromer mill tl 304 2 | post | 1720 1728 1749 1766 1800 18 | 1720 | windmill world row 15 : croxley green | croxley green mill tq 06 | tower | None | c. 1860 | windmill world ] Execute this SQL based on the above table: select location where type is null
cheshunt, cromer
[ header: z | element | observed or predicted | isolated (widely known) | observer | first isolator | notes row 1 : 42 | molybdenum | 1778 | 1781 | w. scheele | j. hjelm | scheele recognised the metal as a constituent row 2 : 74 | tungsten | 1781 | 1783 | t. bergman | j. and f. el | bergman obtained from scheelite an row 3 : 58 | cerium | 1803 | 1839 | h. klaproth, j | g. mosander | berzelius and hisinger discovered the element row 4 : 3 | lithium | 1817 | 1821 | a. arfwedson | w. t. brande | arfwedson discovered the alkali row 5 : 35 | bromine | 1825 | 1825 | j. balard and l. | j. balard and l. | they both discovered the element in the autumn of 18 row 6 : 90 | thorium | 1829 | None | j. berzelius | None | berzelius obtained the oxide of a row 7 : 69 | thulium | 1879 | 1879 | t. cleve | t. cleve | cleve split marignac's er row 8 : 10 | neon | 1898 | 1898 | w. ramsay and w. | w. ramsay and w. | in june 1898 ramsay separated row 9 : 86 | radon | 1898 | 1910 | e. dorn | w. ramsay and r. | dorn discovered a radioactive gas row 10 : 89 | actinium | 1899 | 1899 | a.-l. debierne | a.-l. debierne | debierne obtained from pitchblende row 11 : 71 | lutetium | 1906 | 1906 | g. urbain and c.a. | g. urbain and c.a. | urbain and von welsbach proved independently that row 12 : 75 | rhenium | 1908 | 1908 | m. ogawa | m. ogawa | ogawa found it in thori ] Execute this SQL based on the above table: select avg ( z ) where z <= 35
16.0
[ header: # | title | producer(s) | performer(s) | length row 1 : 1 | "ova here" | da beatminerz | krs-one | 2:56 row 2 : 2 | "things is about to change" | creative minds combined | krs-one | 2:34 row 3 : 3 | "splash" | a-sharp, pleasure king | krs-one | 2:24 row 4 : 4 | "my people" | alumni | krs-one | 0:19 row 5 : 5 | "kreditz" | milann miles, rick long | krs-one | 2:02 row 6 : 6 | "i remember" | j-roc, mad lion | krs-one | 4:03 row 7 : 7 | "down the charts" | milann miles, rick long | krs-one | 2:10 row 8 : 8 | "you really don't want it" | jim bean | None | 3:29 row 9 : 9 | "womanology" | soul supreme | krs-one | 3:54 row 10 : 10 | "2nd kreditz" | None | krs-one | 0:46 row 11 : 11 | "stop it" | krs-one, mad lion | None | 1:38 row 12 : 12 | "problemz" | vanguard | krs-one | 3:15 row 13 : 13 | "believe it!" | soul supreme | krs-one | 3:59 ] Execute this SQL based on the above table: select count ( * ) where producer(s) = '3:15'
0
[ header: year | film | language | character | co-star | music | banner row 1 : 1941 | bhaktimala | telugu | radha | None | None | bhaskar films row 2 : 1941 | dharmapatni | tamil | None | None | None | famous films row 3 : 1944 | tahsildar | telugu | kamala | None | None | None row 4 : 1946 | gruhapravesam | telugu | janaki | None | None | sarati films row 5 : 1947 | ratnamala | telugu | ratnamala | c. s. r. an | c. r. subburaman | bharani pictures row 6 : 1949 | laila majnu | telugu | laila | a. nageswara r | c. r. subburaman | bharani pictures row 7 : 1949 | apoorva sagodhar | tamil | kanchana | m. k. radha | s. rajeswara | gemini studios row 8 : 1951 | malleeswari | telugu | malleeswari | n. t. rama r | adepalli rama r | vijaya studios row 9 : 1951 | mangala | hindi | mangala | None | None | gemini studios row 10 : 1952 | rani | tamil | None | s. balachander | c. r. subburaman | jupiter pictures row 11 : 1952 | rani | hindi | None | anoop kumar | c. r. subburaman | jupiter pictures row 12 : 1953 | chandirani | hindi | champa & chandi | dilip kumar | c. r. subburaman | bharani pictures row 13 : 1957 | makkalai petra magarasi | tamil | rangamma | sivaji ganesan | k. v. mahadevan | sri lakshmi row 14 : 1961 | batasari | telugu | madhavi | a. nageswara r | master venu | bharani pictures row 15 : 1965 | antastulu | telugu | None | a. nageswara r | k. v. mahadevan | None row 16 : 1967 | grihalakshmi | telugu | laxmi | None | None | None row 17 : 1967 | pattatthu rani | tamil | None | gemini ganesan | t. k. ramamoorth | None row 18 : 1984 | mangamma gari manavadu | telugu | mangamma | None | None | None row 19 : 1988 | attagaru swagatham | telugu | None | None | None | None ] Execute this SQL based on the above table: select count ( character )
13
[ header: year | competition | venue | position | event | notes row 1 : 1975 | asian championships | seoul, south korea | 1st | 5,000m | 14:00.8 row 2 : 1979 | asian championships | tokyo, japan | 2nd | 10,000m | 29:00.2 row 3 : 1981 | asian championships | tokyo, japan | 1st | 10,000m | 28:53.3 row 4 : 1981 | fukuoka marathon | fukuoka, japan | 2nd | marathon | 2:09:37 row 5 : 1982 | fukuoka marathon | fukuoka, japan | 4th | marathon | 2:11:45 row 6 : 1983 | world championships | helsinki, finland | 28th | 10,000m | 29:49.0 ] Execute this SQL based on the above table: select position where year = 1982 order by venue desc limit 1
4th
[ header: date | opponent | score | overall record | scba record row 1 : april 3 | uc santa barbara | 5-1 | 28-6 | 4-0 row 2 : april 6 | san diego | 11-11 | 28-6-1 | 4-0-1 row 3 : april 7 | at san diego | 10-3 | 29-6-1 | 5-0-1 row 4 : april 7 | at san diego | 8-2 | 30-6-1 | 6-0-1 row 5 : april 8 | at loyola marymount | 2-1 | 31-6-1 | 7-0-1 row 6 : april 12 | vs. uc ir | 16-2 | 32-6-1 | None row 7 : april 13 | vs. chapman | 4-13 | 32-7-1 | None row 8 : april 13 | vs. uc ir | 11-2 | 33-7-1 | None row 9 : april 14 | vs. chapman | 5-2 | 34-7-1 | None row 10 : april 14 | vs. chapman | 5-6 | 34-8-1 | None row 11 : april 17 | cal state la | 12-6 | 35-8-1 | 7-2-1 row 12 : april 20 | pepperdine | 3-5 | 35-9-1 | 7-1-1 row 13 : april 21 | at pepperdine | 9-10 | 35-10-1 | 8-2-1 row 14 : april 21 | pepperdine | 8-7 | 36-10-1 | 9-2-1 row 15 : april 22 | hawaii | 12-4 | 37-10-1 | None row 16 : april 24 | san diego | 7-2 | 38-10-1 | 10-2-1 row 17 : april 27 | at long beach state | 6-9 | 38-11-1 | 10-3-1 row 18 : april 28 | long beach state | 7-1 | 39-11-1 | 11-3-1 row 19 : april 28 | long beach state | 5-3 | 40-11-1 | 12-3-1 ] Execute this SQL based on the above table: select date group by date order by count ( scba record ) desc limit 1
april 7
[ header: # | title | artist | highest pos. reached | weeks at no. 1 row 1 : 1 | "don't cry for me argentin | julie covington | 1 | 7 row 2 : 2 | "the way you that you do it" | pussyfoot | 1 | 7 row 3 : 3 | "i just want to be your everything" | andy gibb | 1 | 7 row 4 : 4 | "that's rock and roll" | shaun cassidy | 2 | None row 5 : 5 | "living next door to alice" | smokie | 2 | None row 6 : 6 | "i go to rio" | peter allen | 1 | 5 row 7 : 7 | "torn between two lovers" | mary mcgregor | 1 | 4 row 8 : 8 | "walk right in" | dr hook | 1 | 5 row 9 : 9 | "you're moving out today" | carole bayer sager | 1 | 4 row 10 : 10 | "if you leave me now" | chicago | 1 | 5 (pkd #1 in 76 row 11 : 11 | "don't give up on us" | david soul | 1 | 3 row 12 : 12 | "lido shuffle" / " | boz scaggs | 2 | None row 13 : 13 | "you and me" | alice cooper | 2 | None row 14 : 14 | "dance little lady dance" | tina charles | 4 | None row 15 : 15 | "when i need you" | leo sayer | 8 | None row 16 : 16 | "don't fall in love" | ferrets | 2 | None row 17 : 17 | "i feel love" | donna summer | 1 | 1 row 18 : 18 | "help is on its way" | little river band | 1 | 1 row 19 : 19 | "you gotta get up and dance" | supercharge | 3 | None row 20 : 20 | "mull of kintyre" | wings | 1 | 11 (pkd #1 in 77 row 21 : 21 | "don't leave me this way" | thelma houston | 6 | None row 22 : 22 | "ain't gonna bump no more | joe tex | 2 | None row 23 : 23 | "you're in my heart" | rod stewart | 1 | 1 row 24 : 24 | "ma baker" | boney m | 5 | None row 25 : 25 | "lucille" | kenny rogers | 7 | None ] Execute this SQL based on the above table: select count ( * ) where artist + title = 1
0
[ header: # | prime minister | date of birth | start date of (first) term | age at beginning of (first) term | end date of (final) term | total time in office | date of death | lifespan row 1 : 1 | edmund barton | 18 january 1849 | 1-jan-01 | 51 years, 348 days | 24-sep-03 | 996 days | 7-jan-20 | 25,920 days (70 years, 354 days row 2 : 2 | alfred deakin | 3 august 1856 | 24-sep-03 | 47 years, 52 days | 29-apr-10 | 1,774 days | 7-oct-19 | 23,074 days (63 years, 65 days row 3 : 3 | chris watson | 9 april 1867 | 27-apr-04 | 37 years, 18 days | 18-aug-04 | 113 days | 18-nov-41 | 27,251 days (74 years, 223 row 4 : 4 | george reid | 25 february 1845 | 18-aug-04 | 59 years, 175 days | 5-jul-05 | 321 days | 12-sep-18 | 26,861 days (73 years, 199 row 5 : 7 | billy hughes | 25 september 1862 | 27-oct-15 | 53 years, 32 days | 9-feb-23 | 2,662 days | 28-oct-52 | 32,905 days (90 years, 33 row 6 : 8 | stanley bruce | 15 april 1883 | 9-feb-23 | 39 years, 300 days | 22-oct-29 | 2,447 days | 25-aug-67 | 30,812 days (84 years, 132 row 7 : 9 | james scullin | 18 september 1876 | 22-oct-29 | 53 years, 34 days | 6-jan-32 | 806 days | 28-jan-53 | 27,890 days (76 years, 132 row 8 : 10 | joseph lyons | 15 september 1879 | 6-jan-32 | 52 years, 113 days | 7-apr-39 | 2,648 days | 7-apr-39 | 21,753 days (59 years, 204 row 9 : 11 | earle page | 8 august 1880 | 7-apr-39 | 58 years, 242 days | 26-apr-39 | 19 days | 20-dec-61 | 29,718 days (81 years, 134 row 10 : 12 | robert menzies | 20 december 1894 | 26-apr-39 | 44 years, 127 days | 26-jan-66 | 6,735 days | 15-may-78 | 30,461 days (83 years, 146 row 11 : 14 | john curtin | 8 january 1885 | 7-oct-41 | 56 years, 272 days | 5-jul-45 | 1,367 days | 5-jul-45 | 22,092 days (60 years, 178 row 12 : 15 | frank forde | 18 july 1890 | 6-jul-45 | 54 years, 353 days | 13-jul-45 | 7 days | 28-jan-83 | 33,796 days (92 years, 19 row 13 : 16 | ben chifley | 22 september 1885 | 13-jul-45 | 59 years, 294 days | 19-dec-49 | 1,620 days | 13-jun-51 | 24,004 days (65 years, 264 row 14 : 17 | harold holt | 5-aug-08 | 26-jan-66 | 57 years, 174 days | 19-dec-67 | 690 days | 17-dec-67 | 21,683 days (59 years, 134 ] Execute this SQL based on the above table: select count ( date of birth ) where total time in office > 793
9
[ header: # | title | songwriters | producer(s) | performer (s) row 1 : 1 | "creative control" | o. credle, l. bas | organized konfusion | o.c row 2 : 2 | "word...life" | o. credle, a. best | buckwild | o.c row 3 : 3 | "o-zone" | o. credle, a. best | buckwild | o.c row 4 : 4 | "born 2 live" | o. credle, a. best | buckwild | o.c row 5 : 5 | "time's up" | o. credle, a. best | buckwild | o.c row 6 : 6 | "point o' viewz" | o. credle, d. van | buckwild, prestige | o.c row 7 : 7 | "constables" | o. credle, l. bas | organized konfusion | o.c row 8 : 8 | "ga head" | o. credle, r. hall | lord finesse | o.c row 9 : 9 | "no main topic" | o. credle, g. | dj ogee/o. | o.c., prince po row 10 : 10 | "let it slide" | o. credle, a. best | buckwild | o.c., pharo row 11 : 11 | "ma dukes" | o. credle, a. best | buckwild | o.c row 12 : 12 | "story" | o. credle, g. | dj ogee/o. | o.c row 13 : 13 | "outtro (sabotage) | o. credle, a. best | buckwild | o.c row 14 : 14 | "born 2 live (remix)" | o. credle, a. best | organized konfusion | o.c ] Execute this SQL based on the above table: select count ( producer(s) ) where # > ( select # where producer(s) = 'buckwild' )
12
[ header: year | venue | standard result | venue | latin result row 1 : 1996 | berlin | tc ludwigsburg, | vilnius | tsc schwarz-gelb row 2 : 1999 | elblag | jantar elblag jan | vilnius | klaipeda university zuvedra team row 3 : 2001 | berlin | dsc kodryanka | bremerhaven | tsg bremerhaven, row 4 : 2002 | kishinev | dsc kodryanka | vilnius | klaipeda university zuvedra team row 5 : 2003 | stuttgart | dsc kodryanka | essen | klaipeda university zuvedra team row 6 : 2004 | brunswick | braunschweiger tsc, | minsk | klaipeda university team zuvedra row 7 : 2005 | elblag | braunschweiger tsc, | munich | klaipeda university zuvedra team row 8 : 2008 | kishinev | dsc kodryanka | wiener neustadt, austria | zuvedra klaipeda university, row 9 : 2009 | ludwigsburg germany | tc ludwigsburg german | bremen, germany | grun-gold-club bremen german row 10 : 2010 | elblag, poland | fs lotos-jantar ( | moscow, russia | vera tyumen, russia ] Execute this SQL based on the above table: select venue order by standard result limit 1384
brunswick, elblag, berlin, stuttgart, kishinev, kishinev, elblag, poland, elblag, ludwigsburg germany, berlin
[ header: number | event | type | matthew | mark | luke | john row 1 : 1 | pre-existence of christ | miscellaneous | None | None | None | john 01:01-18 row 2 : 3 | birth of john the baptist | nativity | None | None | luke 01:05-25 | None row 3 : 9 | circumcision of jesus | nativity | None | None | luke 02:21 | None row 4 : 10 | infant jesus at the temple | nativity | None | None | luke 02:22-38 | None row 5 : 14 | massacre of the innocents | nativity | matthew 02:16-18 | None | None | None row 6 : 18 | john the baptist | miscellaneous | None | mark 01:01-08 | None | None row 7 : 22 | marriage at cana | miracle | None | None | None | john 02:01-11 row 8 : 31 | beatitudes | sermon | matthew 05:02-12 | None | luke 06:20-23 | None row 9 : 35 | expounding of the law | sermon | matthew 05:17-48 | None | luke 06:29-42 | None row 10 : 43 | samaritan woman at the well | ministry | None | None | None | john 04:04-26 row 11 : 52 | exorcising at sunset | miracle | matthew 08:16-17 | mark 01:32-34 | luke 04:40-41 | None row 12 : 62 | commissioning the twelve apostles | ministry | matthew 10:02-04 | mark 03:13-19 | luke 06:12-16 | None row 13 : 64 | messengers from john the baptist | ministry | matthew 11:02-06 | None | luke 07:18-23 | None row 14 : 68 | the lord's prayer | ministry | None | None | luke 11:02-04 | None row 15 : 72 | jesus' true relatives | ministry | matthew 12:46-50 | mark 03:31-35 | luke 08:19-21 | None row 16 : 78 | parable of the mustard seed | parable | matthew 13:31-32 | mark 04:30-32 | luke 13:18-19 | None row 17 : 79 | the leaven | parable | matthew 13:33-33 | None | luke 13:20-21 | None row 18 : 89 | canaanite woman's daughter | miracle | matthew 15:21-28 | mark 07:24-30 | None | None row 19 : 90 | deaf mute of decapolis | miracle | None | mark 07:31-37 | None | None row 20 : 95 | boy possessed by a demon | miracle | matthew 17:14-21 | mark 09:14-29 | luke 09:37-49 | None row 21 : 96 | coin in the fish's mouth | miracle | matthew 17:24-27 | None | None | None row 22 : 99 | man with dropsy | miracle | None | None | luke 14:01-06 | None row 23 : 100 | counting the cost | parable | None | None | luke 14:25-33 | None row 24 : 101 | the lost sheep | parable | matthew 18:10-14 | None | luke 15:04-06 | None row 25 : 108 | the master and servant | parable | None | None | luke 17:07-10 | None row 26 : 109 | cleansing ten lepers | miracle | None | None | luke 17:11-19 | None row 27 : 112 | jesus and the rich young man | ministry | matthew 19:16-30 | mark 10:17-31 | luke 18:18-30 | None ] Execute this SQL based on the above table: select abs ( ( select number where type = 'miracle' ) - ( select number where type = 'sermon' ) )
9.0
[ header: rank | name | image | height ft (m) | floors | year | notes row 1 : 1 | key tower | | 947 (289) | 57 | 1991 | 104th-tallest building in the row 2 : 3 | 200 public square | | 658 (201) | 45 | 1985 | also known as the bp building tallest row 3 : 4 | tower at erieview | | 529 (161) | 40 | 1964 | tallest building constructed in cleveland in row 4 : 5 | one cleveland center | | 450 (137) | 31 | 1983 | None row 5 : 6 | fifth third center | | 446 (136) | 27 | 1992 | None row 6 : 7 | federal court house tower | | 430 (131) | 23 | 2002 | tallest building constructed in the city in the 2000 row 7 : 8 | justice center complex | | 420 (128) | 26 | 1977 | tallest building constructed in the city in the 1970 row 8 : 9 | anthony j. celebrezze | | 419 (128) | 31 | 1967 | None row 9 : 10 | pnc center | | 410 (125) | 35 | 1980 | originally known as the national city center; building was row 10 : 12 | at&t huron road building | | 365 (111) | 24 | 1927 | commonly known as ohio bell build row 11 : 13 | rhodes tower | | 363 (111) | 20 | 1971 | originally known as the university tower row 12 : 14 | eaton center | | 356 (109) | 28 | 1983 | None row 13 : 15 | ernst & young tower | | 330 (101) | 21 | 2013 | phase i of the flats east bank row 14 : 16 | marriott at key center | | 320 (98) | 28 | 1991 | tallest all-hotel building in the city row 15 : 17 | mcdonald investment center | | 308 (94) | 23 | 1968 | also known as key center formerly known as the row 16 : 18 | 55 public square | | 300 (91) | 22 | 1958 | tallest building constructed in the city the 1950s row 17 : 19 | huntington bank building | | 289 (88) | 21 | 1924 | None row 18 : 20 | north point tower | | 285 (87) | 20 | 1990 | None row 19 : 21 | diamond building | | 282 (86) | 23 | 1972 | None row 20 : 21 | standard building | | 282 (86) | 21 | 1925 | None row 21 : 23 | 1717 east ninth building | | 275 (84) | 21 | 1959 | also known as the east ohio row 22 : 24 | keith building | | 272 (83) | 21 | 1922 | None row 23 : 25 | east tower | | 266 (81) | 25 | 1973 | tallest all-residential building in the row 24 : 25 | embassy suites tower | | 266 (81) | 26 | 1969 | also known as embassy suites at reserve square row 25 : 27 | superior building | | 265 (81) | 22 | 1922 | None row 26 : 28 | fenn tower | | 265 (81) | 21 | 1930 | None row 27 : 29 | landmark office towers | | 260 (79) | 22 | 1930 | None row 28 : 30 | penton media building | | 253 (77) | 21 | 1972 | None ] Execute this SQL based on the above table: select ( select rank where name = 'east tower' ) - ( select rank where name = 'eaton center' )
11.0
[ header: name | | local names | sort | canton(s), neighboring countries | area in km2 | elevation m | max. depth in meter row 1 : lake geneva | None | lac leman, lac de geneve | geneva | geneva, vaud, vala | 580.03 | 372 | 310 row 2 : lake lucerne | None | vierwaldstattersee | lucerne | lucerne, nidwalden | 113.72 | 433.6 | 214 row 3 : lake lugano | None | ceresio, lago di lug | lugano | ticino, italy | 48.67 | 270.5 | 288 row 4 : lake thun | None | thunersee | thun | berne | 47.74 | 557.8 | 215 row 5 : lake biel | None | lac de bienne, bielersee | biel/bienne | berne, neuchatel | 39.51 | 429.1 | 74 row 6 : lake zug | None | zugersee | zug | lucerne, schwyz, | 38.41 | 413.6 | 198 row 7 : lake murten | None | murtensee, lac de morat | murten | fribourg, vaud | 22.8 | 429.2 | 46 row 8 : lake sempach | None | sempachersee | sempach | lucerne | 14.36 | 503.8 | 87 row 9 : lago di livigno | ↑ | lago di livigno | livignio | italy, grisons | 4.71 | 1805 | 119 row 10 : wagitalersee | ↑ | wagitalersee | waegital | schwyz | 4.18 | 900 | 65 row 11 : lago di lei | ↑ | lago di lei | lei | italy, grisons | 4.12 | 1931 | 133 row 12 : lake sils | None | silsersee, lej da se | sils | grisons | 4.1 | 1797 | 71 row 13 : lac des dix | ↑ | lac des dix | dix | valais | 3.65 | 2365 | 227 row 14 : lake wohlen | ↑ | wohlensee | wohlen | berne | 3.65 | 480 | 20 row 15 : grimselsee | ↑ | grimselsee | grimsel | berne | 2.63 | 1908 | 100 row 16 : lake lungern | None | lungerersee, lungernsee | lungern | obwalden | 2.01 | 688 | 68 row 17 : lac de mauvoisin | ↑ | lac de mauvoisin | mauvoisin | valais | 2.08 | 1961 | 180 row 18 : lago di vogorno | ↑ | lago di vogorno | vogorno | ticino | 1.68 | 470 | 204 row 19 : zervreilasee | ↑ | zervreilasee | zervreila | grisons | 1.61 | 1862 | 140 row 20 : oberaarsee | ↑ | oberaarsee | oberaar | berne | 1.47 | 2303 | 90 row 21 : lac de moiry | ↑ | lac de moiry | moiry | valais | 1.4 | 2249 | 120 row 22 : albigna lake | ↑ | lago da l'albigna | albigna | grisons | 1.13 | 2163 | 108 ] Execute this SQL based on the above table: select sort where id = ( select id where sort = 'zug' ) - 1
biel/bienne
[ header: | dingli | marsa | mellieha | mosta | qormi | senglea | st.georges | st.patrick | tarxien | vittoriosa row 1 : dingli | None | 6-2 | 2-2 | 0-2 | 2-0 | 0-1 | 2-2 | 2-0 | 1-3 | 0-0 row 2 : marsa | 0-3 | None | 0-1 | 2-4 | 3-4 | 0-5 | 1-3 | 1-0 | 2-3 | 1-4 row 3 : mellieha | 0-2 | 1-3 | None | 1-2 | 4-3 | 1-3 | 0-1 | 2-2 | 2-2 | 3-6 row 4 : mosta | 4-0 | 0-3 | 3-0 | None | 2-2 | 3-1 | 2-0 | 2-0 | 0-1 | 2-1 row 5 : qormi | 4-2 | 1-1 | 3-0 | 3-3 | None | 1-0 | 1-0 | 1-0 | 4-1 | 0-1 row 6 : senglea | 0-4 | 5-2 | 4-0 | 2-1 | 1-3 | None | 2-0 | 0-4 | 0-1 | 1-0 row 7 : st. george's | 4-2 | 6-0 | 1-2 | 2-2 | 0-0 | 0-4 | None | 2-1 | 2-0 | 3-7 row 8 : st. patrick | 0-2 | 1-1 | 3-1 | 0-1 | 1-3 | 1-1 | 4-1 | None | 1-1 | 1-3 row 9 : tarxien | 2-1 | 4-0 | 3-0 | 0-0 | 0-2 | 1-0 | 1-0 | 3-0 | None | 3-2 row 10 : vittoriosa | 1-3 | 2-1 | 2-1 | 0-1 | 1-2 | 1-2 | 2-0 | 0-2 | 0-3 | None ] Execute this SQL based on the above table: select st.patrick where mellieha = '3-0'
2-0, 1-0, 3-0
[ header: year | division | league | regular season | playoffs | open cup row 1 : 2006 | 4 | usl pdl | 4th, heartland | did not qualify | did not qualify row 2 : 2007 | 4 | usl pdl | 2nd, heartland | conference semifinals | did not qualify row 3 : 2008 | 4 | usl pdl | 4th, heartland | did not qualify | 1st round row 4 : 2009 | 4 | usl pdl | 4th, heartland | did not qualify | did not qualify row 5 : 2010 | 4 | usl pdl | 5th, heartland | did not qualify | did not qualify row 6 : 2011 | 4 | usl pdl | 5th, heartland | did not qualify | did not qualify row 7 : 2012 | 4 | usl pdl | 7th, heartland | did not qualify | did not qualify row 8 : 2013 | 4 | usl pdl | 5th, heartland | did not qualify | did not qualify ] Execute this SQL based on the above table: select count ( regular season ) where regular season = '7th, heartland'
1
[ header: team | winners | runners-up | years won | years runner-up row 1 : liverpool | 8 | 3 | 1981, 1982, 1983, 1984, 1995, | 1978, 1987, 2005 row 2 : aston villa | 5 | 3 | 1961, 1975, 1977, 1994, 1996 | 1963, 1971, 2010 row 3 : manchester united | 4 | 4 | 1992, 2006, 2009, 2010 | 1983, 1991, 1994, 2003 row 4 : tottenham hotspur | 4 | 3 | 1971, 1973, 1999, 2008 | 1982, 2002, 2009 row 5 : chelsea | 4 | 2 | 1965, 1998, 2005, 2007 | 1972, 2008 row 6 : nottingham forest | 4 | 2 | 1978, 1979, 1989, 1990 | 1980, 1992 row 7 : leicester city | 3 | 2 | 1964, 1997, 2000 | 1965, 1999 row 8 : manchester city | 3 | 1 | 1970, 1976, 2014 | 1974 row 9 : arsenal | 2 | 5 | 1987, 1993 | 1968, 1969, 1988, 2007, 2011 row 10 : norwich city | 2 | 2 | 1962, 1985 | 1973, 1975 row 11 : birmingham city | 2 | 1 | 1963, 2011 | 2001 row 12 : wolverhampton wanderers | 2 | 0 | 1974, 1980 | None row 13 : west bromwich albion | 1 | 2 | 1966 | 1967, 1970 row 14 : middlesbrough | 1 | 2 | 2004 | 1997, 1998 row 15 : queens park rangers | 1 | 1 | 1967 | 1986 row 16 : leeds united | 1 | 1 | 1968 | 1996 row 17 : stoke city | 1 | 1 | 1972 | 1964 row 18 : luton town | 1 | 1 | 1988 | 1989 row 19 : sheffield wednesday | 1 | 1 | 1991 | 1993 row 20 : swindon town | 1 | 0 | 1969 | None row 21 : oxford united | 1 | 0 | 1986 | None row 22 : blackburn rovers | 1 | 0 | 2002 | None row 23 : swansea city | 1 | 0 | 2013 | None row 24 : west ham united | 0 | 2 | None | 1966, 1981 row 25 : everton | 0 | 2 | None | 1977, 1984 row 26 : bolton wanderers | 0 | 2 | None | 1995, 2004 row 27 : sunderland | 0 | 2 | None | 1985, 2014 row 28 : rotherham united | 0 | 1 | None | 1961 row 29 : rochdale | 0 | 1 | None | 1962 row 30 : newcastle united | 0 | 1 | None | 1976 row 31 : southampton | 0 | 1 | None | 1979 row 32 : oldham athletic | 0 | 1 | None | 1990 row 33 : tranmere rovers | 0 | 1 | None | 2000 row 34 : wigan athletic | 0 | 1 | None | 2006 row 35 : cardiff city | 0 | 1 | None | 2012 row 36 : bradford city | 0 | 1 | None | 2013 ] Execute this SQL based on the above table: select team order by winners desc limit 1
liverpool
[ header: year | location | gold | silver | bronze row 1 : 1958 | tokyo | sachika kamo | desideria ampon | liu shang-ku row 2 : 1962 | jakarta | akiko fukui | reiko miyagi | desideria ampon patricia y row 3 : 1966 | bangkok | lany kaligis | kazuko kuromatsu | lita liem sugiarto row 4 : 1974 | tehran | lita liem sugiarto | paulina pesahov | lany kaligis row 5 : 1978 | bangkok | lee duk-hee | chen chuan | kiyoko nomura sonoe row 6 : 1982 | new delhi | etsuko inoue | kim soo-ok | yu liqiao row 7 : 1986 | seoul | li xinyi | lee jeong-soon | kim soo-ok row 8 : 1990 | beijing | akiko kijimuta | chen li | park mal-sim kim il- row 9 : 1994 | hiroshima | kimiko date | naoko sawamatsu | yayuk basuki chen row 10 : 1998 | bangkok | yayuk basuki | tamarine tanasugar | li fang yi j row 11 : 2002 | busan | iroda tulyaganova | tamarine tanasugar | shinobu asagoe row 12 : 2006 | doha | zheng jie | sania mirza | li na aiko row 13 : 2010 | guangzhou | peng shuai | akgul amanmuradova | kimiko date-krumm s ] Execute this SQL based on the above table: select bronze where id = ( select id where bronze = 'kim soo-ok' ) - 1
yu liqiao
[ header: | country | builder | location | ship | class / type row 1 : 6 march | united states | john roach and son | chester, pennsylvania | city of rio de janeiro | passenger ship row 2 : 13 may | germany | kaiserliche werft wil | wilhelmshaven | bayern | sachsen-class ironclad row 3 : 13 june | united kingdom | royal dockyard | devonport, devon | pegasus | doterel-class sloop row 4 : 31 august | united kingdom | royal dockyard | sheerness | gannet | doterel-class sloop row 5 : 23 october | norway | karljohansverns ver | horten | nor | vale-class gunboat row 6 : 1 november | norway | karljohansverns ver | horten | brage | vale-class gunboat row 7 : 9 november | germany | a. g. vulcan | stettin | wurttemberg | sachsen-class ironclad ] Execute this SQL based on the above table: select builder where builder != 'royal dockyard' and builder = 'kaiserliche werft wilhelmshaven'
kaiserliche werft wilhelmshaven
[ header: season | date | driver | team | chassis | engine | race distance laps | race distance miles (km) | race time | average speed (mph) | report row 1 : 2005 | july 17 | sebastien bourdais | newman/haas racing | lola | ford-cosworth | 88 | 173.624 (279.42) | 1:38:55 | 105.302 | report row 2 : 2006 | july 23 | justin wilson | rusport | lola | ford-cosworth | 85 | 167.705 (269.895) | 1:40:30 | 100.112 | report row 3 : 2007 | july 22 | sebastien bourdais | newman/haas/lanigan racing | panoz | cosworth | 96 | 189.408 (304.822) | 1:45:41 | 107.517 | report row 4 : 2008 | july 26 | scott dixon | chip ganassi racing | dallara | honda | 91 | 179.543 (288.946) | 1:51:06 | 96.967 | report row 5 : 2009 | july 26 | will power | penske racing | dallara | honda | 95 | 187.435 (301.647) | 1:42:42 | 109.498 | report row 6 : 2010 | july 25 | scott dixon | chip ganassi racing | dallara | honda | 95 | 187.435 (301.647) | 1:50:37 | 101.666 | report row 7 : 2011 | july 24 | will power | penske racing | dallara | honda | 80 | 180.48 (290.454) | 1:57:23 | 90.949 | report row 8 : 2012 | july 22 | helio castroneves | penske racing | dallara | chevrolet | 75 | 169.2 (272.301) | 1:38:51 | 101.246 | report ] Execute this SQL based on the above table: select team where id = 1
newman/haas racing
[ header: rank | bib | name | nationality | start | penalties (p+p+s+s) | time | deficit row 1 : None | 1 | emil hegle sven | norway | 0:00 | 1 (0+0+0+1) | 32:35.5 | None row 2 : 7 | 8 | fredrik lindstrom | sweden | 0:38 | 1 (0+0+1+0) | 33:18.9 | 43.4 row 3 : 8 | 6 | alexis bœuf | france | 0:25 | 2 (0+0+2+0) | 33:22.1 | 46.6 row 4 : 9 | 13 | bjorn ferry | sweden | 0:52 | 0 (0+0+0+0) | 33:23.6 | 48.1 row 5 : 12 | 10 | simon eder | austria | 0:39 | 3 (0+0+2+1) | 33:50.5 | +1:15.0 row 6 : 13 | 32 | lowell bailey | united states | 1:38 | 0 (0+0+0+0) | 33:56.4 | +1:20.9 row 7 : 14 | 12 | erik lesser | germany | 0:49 | 4 (1+0+2+1) | 34:06.0 | +1:30.5 row 8 : 16 | 9 | evgeny ustyugov | russia | 0:38 | 3 (0+1+2+0) | 34:16.7 | +1:41.2 row 9 : 17 | 18 | tarjei bø | norway | 1:14 | 3 (2+0+1+0) | 34:18.9 | +1:43.4 row 10 : 18 | 29 | simon schempp | germany | 1:36 | 1 (0+0+0+1) | 34:24.4 | +1:48.9 row 11 : 24 | 21 | klemen bauer | slovenia | 1:16 | 4 (1+0+3+0) | 34:55.4 | +2:19.9 row 12 : 25 | 26 | christian de lorenzi | italy | 1:30 | 1 (0+0+0+1) | 34:57.5 | +2:22.0 row 13 : 26 | 20 | jean-guillaume beatr | france | 1:15 | 4 (0+1+2+1) | 34:58.4 | +2:22.9 row 14 : 27 | 33 | daniel mesotit | austria | 1:39 | 3 (0+0+2+1) | 34:58.7 | +2:23.2 row 15 : 29 | 30 | matej kazar | slovakia | 1:36 | 5 (2+1+1+1) | 35:04.9 | +2:29.4 row 16 : 30 | 17 | andriy deryzemlya | ukraine | 1:13 | 4 (0+0+2+2) | 35:05.3 | +2:29.8 row 17 : 33 | 58 | dominik windisch | italy | 2:31 | 2 (0+0+1+1) | 35:36.4 | +3:00.9 row 18 : 35 | 25 | benjamin weger | switzerland | 1:28 | 3 (0+1+1+1) | 36:13.1 | +3:37.6 row 19 : 38 | 22 | tomas kaukenas | lithuania | 1:20 | 4 (0+0+2+2) | 36:33.4 | +3:57.9 row 20 : 42 | 27 | jaroslav soukup | czech republic | 1:32 | 6 (2+2+2+0) | 36:59.8 | +4:24.3 row 21 : 44 | 56 | hidenori isa | japan | 2:27 | 2 (0+0+0+2) | 37:13.9 | +4:38.4 row 22 : 51 | 48 | claudio bockli | switzerland | 2:13 | 3 (2+0+0+1) | 38:02.8 | +5:27.3 ] Execute this SQL based on the above table: select deficit group by deficit order by count ( * ) desc limit 1
2.0
[ header: opposition | matches | won | drawn | lost | for | against | win% row 1 : bhopal badshahs | 2 | 0 | 1 | 1 | 7 | 8 | 0.00% row 2 : chennai cheeta | 2 | 1 | 0 | 1 | 6 | 5 | 50.00% row 3 : delhi wizards | 2 | 2 | 0 | 0 | 4 | 2 | 100.00% row 4 : karnataka lions | 2 | 1 | 0 | 1 | 8 | 4 | 50.00% row 5 : mumbai marines | 2 | 2 | 0 | 0 | 9 | 5 | 100.00% row 6 : pune strykers | 3 | 2 | 0 | 1 | 11 | 8 | 66.67% row 7 : sher-e-punjab | 2 | 1 | 0 | 1 | 5 | 6 | 50.00% ] Execute this SQL based on the above table: select count ( * ) where opposition = 'delhi wizards' and against > 879
0
[ header: name of place | number of counties | principal county | lower zip code row 1 : yager junction | 1 | humboldt county | None row 2 : yale | 1 | riverside county | 92544 row 3 : yankee hill | 1 | butte county | 95965 row 4 : yankee hill | 1 | tuolumne county | None row 5 : yankee jims | 1 | placer county | 95713 row 6 : yarmouth | 1 | san joaquin county | None row 7 : yellowjacket | 1 | tehama county | None row 8 : yerba buena island | 1 | san francisco county | None row 9 : yermo | 1 | san bernardino county | 92398 row 10 : yettem | 1 | tulare county | 93670 row 11 : ygnacio valley | 1 | contra costa county | 94598 row 12 : yokohl | 1 | tulare county | None row 13 : yolano | 1 | solano county | 95620 row 14 : yolo | 1 | yolo county | 95697 row 15 : yontocket | 1 | del norte county | None row 16 : yorba | 1 | los angeles county | 91767 row 17 : yorba linda | 1 | orange county | 92686 row 18 : york | 1 | los angeles county | 90050 row 19 : yorkville | 1 | mendocino county | 95494 row 20 : yosemite forks | 1 | madera county | None row 21 : yosemite junction | 1 | tuolumne county | 95389 row 22 : yosemite lakes | 1 | madera county | None row 23 : yosemite lakes park | 1 | madera county | None row 24 : yosemite lodge | 1 | mariposa county | 95389 row 25 : yosemite national park | 3 | madera county | 95389 row 26 : yosemite national park | 3 | mariposa county | 95389 row 27 : yosemite national park | 3 | tuolumne county | 95389 row 28 : yosemite national park | 1 | mariposa county | 95389 row 29 : yosemite valley | 1 | mariposa county | None row 30 : yosemite village | 1 | mariposa county | None row 31 : you bet | 1 | nevada county | None row 32 : youngstown | 1 | san joaquin county | None row 33 : yountville | 1 | napa county | 94599 row 34 : yreka | 1 | siskiyou county | 96097 row 35 : yreka city | 1 | siskiyou county | 96097 row 36 : yuba city | 1 | sutter county | 95991 row 37 : yuba city farm labor center | 1 | sutter county | 95991 row 38 : yuba pass | 1 | nevada county | None row 39 : yuba-sutter area | 2 | sutter county yuba county | None row 40 : yucaipa | 1 | san bernardino county | 92399 row 41 : yucca inn | 1 | san bernardino county | None row 42 : yucca valley | 1 | san bernardino county | 92284 row 43 : yurok indian reservation | 2 | del norte county | 95546 ] Execute this SQL based on the above table: select abs ( ( select number of counties where principal county = 'placer county' ) - ( select number of counties where principal county = 'mariposa county' ) )
0.0
[ header: serial number | river | name | area (km2) | district | co-ordinate | altitude (m) row 1 : 1 | bharathapuzha | malampuzha | 23.13 | palakkad | 10°50′n 76°41′ | 104 row 2 : 2 | bharathapuzha | mangalam | 3.93 | palakkad | 10°31′n 76°32′ | 72 row 3 : 3 | bharathapuzha | meenkara | 2.59 | palakkad | 10°37′n 76°48′ | 152 row 4 : 4 | bharathapuzha | chulliar | 1.59 | palakkad | 10°35′n 76°46′ | 143 row 5 : 5 | bharathapuzha | pothundi | 3.63 | palakkad | 10°32′n 76°38′ | 93 row 6 : 9 | chalakkudy | thunakkadavu | 2.83 | palakkad | 10°25′59′′n 76° | 565 row 7 : 10 | chalakkudy | peruvaaripallam | None | palakkad | 10°26′49′′n 76° | 565 row 8 : 12 | chalakkudy | peringalkuthu dam | 2.63 | thrissur | None | None row 9 : 13 | kallada | parappar | 25.9 | kollam | 09° 57' 77° 4' | None row 10 : 15 | karuvanoor | peechi | 12.63 | thrissur | 10°32′n 76°23′ | 73 row 11 : 16 | keecheri | vazhani | 2.55 | thrissur | 10° 40' 76° 15' | None row 12 : 17 | kuttiadi | kuttiadi | 10.52 | kozhikode | 11° 36' 75° 49'27" | None row 13 : 19 | pamba | pamba | 5.7 | pathanamthitta | 09° 20' 76° 53' | None row 14 : 20 | pamba | kakki | 18 | pathanamthitta | None | None row 15 : 21 | periyar | idukki | 61.6 | idukki | 09° 48' 76° 53' | 720 row 16 : 22 | periyar | ponmudi | 2.6 | idukki | 09° 55' 77° 05' | None row 17 : 24 | periyar | kundala | 2.3 | idukki | 10° 0' 77° 0 | None row 18 : 26 | periyar | sengulam | 0.33 | idukki | 10° 00' 77° 05 | None row 19 : 27 | periyar | neriamangalam | 4.13 | idukki | None | None row 20 : 30 | valapattanam | pazhassi | 6.48 | kannur | None | None row 21 : 33 | chimmini dam | thrissur | 85.067 | thrissur | None | None ] Execute this SQL based on the above table: select count ( serial number )
21
[ header: rank | heat | country | cyclists | result | notes row 1 : 1 | 6 | great britain | chris hoy jason kenn | 42.95 | q, wr row 2 : 2 | 7 | france | gregory bauge kevin | 43.541 | q row 3 : 3 | 6 | germany | rene enders maximilian | 44.197 | q row 4 : 4 | 7 | netherlands | theo bos teun mul | 44.213 | q row 5 : 5 | 5 | australia | daniel ellis mark french | 44.335 | q row 6 : 6 | 1 | japan | kiyofumi nagai | 44.454 | q row 7 : 7 | 3 | malaysia | azizulhasni awang jos | 44.752 | q row 8 : 8 | 2 | united states | michael blatchford | 45.346 | q row 9 : 9 | 4 | china | feng yong li we | 45.556 | None row 10 : 10 | 3 | greece | athanasios mantz | 45.645 | None row 11 : 11 | 2 | czech republic | tomas babek adam | 45.678 | None row 12 : 12 | 5 | russia | sergey polynskiy denis | 45.964 | None row 13 : 13 | 1 | poland | maciej bielecki kamil | 45.266 | None ] Execute this SQL based on the above table: select cyclists order by id desc limit 1
maciej bielecki kamil kuczynski łukasz kwiatkowski
[ header: date | ship | nationality | tonnage | fate row 1 : 19 august 1941 | ss aguila | united kingdom | 3255 | sunk row 2 : 27 november 1941 | hmas parramatta | royal australian navy | 1060 | sunk row 3 : 23 december 1941 | ss shuntien | united kingdom | 3059 | sunk row 4 : 26 december 1941 | ss warszawa | poland | 2487 | sunk row 5 : 10 june 1942 | mv athene | norway | 4681 | sunk row 6 : 10 june 1942 | ss brambleleaf | united kingdom | 5917 | damaged ] Execute this SQL based on the above table: select ( select tonnage where ship = 'ss aguila' ) - ( select tonnage where ship = 'mv athene' )
-1426.0
[ header: represent | contestant | age | height | hometown row 1 : 1 | mildred kincaid adame | 20 | 1.65 mts | panama city row 2 : 2 | catherine henderson tudi | 20 | 1.66 mts | panama city row 3 : 3 | giovanna alida loa | 21 | 1.67 mts | panama city row 4 : 4 | reyna royo | 24 | 1.69 mts | panama city row 5 : 5 | ivonne ileana correa | 23 | 1.70 mts | panama city row 6 : 6 | karol guevara | 22 | 1.70 mts | panama city row 7 : 7 | betzy janette achurr | 20 | 1.70 mts | panama city row 8 : 8 | marisela moreno montero | 24 | 1.73 mts | panama city row 9 : 9 | patricia de leon | 19 | 1.74 mts | panama city row 10 : 10 | marichelle julieta r | 20 | 1.74 mts | panama city row 11 : 11 | betsy milena batista | 21 | 1.75 mts | panama city row 12 : 12 | lourdes rodriguez | 21 | 1.75 mts | panama city row 13 : 13 | janessy jasiell contreras | 18 | 1.75 mts | panama city row 14 : 14 | gina larissa correa hils | 20 | 1.76 mts | panama city row 15 : 15 | swany cisney castill | 23 | 1.78 mts | panama city row 16 : 16 | michelle krisko sugasti | 20 | 1.80mts | panama city ] Execute this SQL based on the above table: select count ( * ) where contestant = 'gina larissa correa hils'
1
[ 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 count ( money ($) ) where place = 518
0
[ header: 2011 rank | 2010 rank | 2009 rank | 2008 rank | 2007 rank | company (country) | 2011 arms sales (us$ m.) | 2010 arms sales (us$ m.) | 2009 arms sales (us$ m.) | 2008 arms sales (us$ m.) | 2007 arms sales (us$ m.) | arms sales as share of company's total sales (%), row 1 : 1 | 1 | 1 | 2 | 3 | lockheed martin | 36270 | 35730 | 33430 | 29880 | 29400 | 78 row 2 : 2 | 3 | 3 | 3 | 1 | boeing | 31830 | 31360 | 32300 | 29200 | 30480 | 46 row 3 : 3 | 2 | 2 | 1 | 2 | bae systems | 29150 | 32880 | 33250 | 32420 | 29860 | 95 row 4 : 4 | 5 | 5 | 5 | 5 | general dynamics | 23760 | 23940 | 25590 | 22780 | 21520 | 73 row 5 : 5 | 6 | 6 | 6 | 6 | raytheon | 22470 | 22980 | 21030 | 23080 | 19540 | 90 row 6 : 6 | 4 | 4 | 4 | 4 | northrop grumman | 21390 | 28150 | 27000 | 26090 | 24600 | 81 row 7 : 7 | 7 | 7 | 7 | 7 | airbus group | 16390 | 16360 | 17900 | 15930 | 13100 | 24 row 8 : 8 | 8 | 8 | 8 | 9 | finmeccanica | 14560 | 14410 | 13280 | 13020 | 9850 | 60 row 9 : 9 | 9 | 9 | 9 | 8 | l-3 communications | 12520 | 13070 | 13010 | 12160 | 11240 | 83 row 10 : 10 | 10 | 10 | 11 | 11 | united technologies corporation | 11640 | 11410 | 11110 | 9980 | 8760 | 20 row 11 : 11 | 11 | 11 | 10 | 10 | thales group | 9480 | 9950 | 10200 | 10760 | 9350 | 52 row 12 : 12 | 12 | 12 | 12 | 12 | saic | 7940 | 8230 | 8030 | 7350 | 6250 | 75 row 13 : 13 | None | None | None | None | huntington ingalls industries | 6380 | None | None | None | None | 97 row 14 : 14 | 15 | 14 | 15 | 15 | honeywell | 5280 | 5400 | 5380 | 5310 | 5020 | 14 row 15 : 15 | 16 | 16 | 25 | 14 | safran | 5240 | 4800 | 4740 | 3020 | 5230 | 32 row 16 : 16 | 14 | 13 | 14 | 13 | computer sciences corp | 4860 | 5940 | 6050 | 5710 | 5420 | 31 row 17 : 17 | 17 | 19 | 17 | 17 | rolls-royce | 4670 | 4330 | 4140 | 4720 | 4580 | 26 row 18 : 18 | 21 | None | None | None | united aircraft corporation | 4440 | 3440 | None | None | None | 80 row 19 : 19 | 13 | 27 | 37 | 45 | oshkosh corporation | 4370 | 7080 | 2770 | 2070 | 1570 | 58 row 20 : 20 | 18 | 18 | 22 | 20 | general electric | 4100 | 4300 | 4700 | 3650 | 3460 | 3 row 21 : 21 | 19 | 17 | 16 | 19 | itt corp | 4020 | 4000 | 4730 | 5170 | 3850 | 69 row 22 : 22 | 20 | 22 | 18 | 23 | almaz-antey | 3690 | 3950 | 3260 | 4340 | 2780 | 85 ] Execute this SQL based on the above table: select company (country) where id = 7
airbus group
[ header: team 1 | agg. | team 2 | 1st leg | 2nd leg row 1 : dr congo | None | chad | None | None row 2 : ethiopia | None | equatorial guinea | None | None row 3 : swaziland | None | mauritius | None | None row 4 : djibouti | None | madagascar | None | None row 5 : sierra leone | 2-2 (1-3 p) | liberia | 1-1 | 1-1 row 6 : somalia | 0-1 | sudan | 0-0 | 0-1 row 7 : botswana | 1-0 | namibia | 1-0 | 0-0 ] Execute this SQL based on the above table: select 2nd leg where agg. = '1-0'
0-0
[ header: round | date | score | opponent | opponent's score | result | venue | attendance | best on ground | team row 1 : 1 | saturday, 2 april | 14.20 (104) | richmond | 11.17 (83) | won by 21 points | kardinia park (stadium) | 20781 | alex ishchenko | west coast row 2 : 2 | friday, 8 april 7: | 26.19 (175) | essendon | 11.10 (76) | won by 99 points | waca ground | 24886 | john gastev | west coast row 3 : 4 | saturday, 23 april | 8.7 (55) | collingwood | 13.16 (94) | lost by 87 points | victoria park | 26276 | james manson | collingwood row 4 : 5 | friday, 29 april 7: | 14.16 (100) | footscray | 14.9 (93) | won by 7 points | waca ground | 17662 | ross glendinning | west coast row 5 : 6 | friday, 6 may 7:40pm | 17.8 (110) | north melbourne | 17.23 (123) | lost by 13 points | melbourne cricket ground | 10133 | donald mcdonald | north melbourne row 6 : 7 | friday, 13 may 7:40pm | 17.10 (112) | st kilda | 3.18 (36) | won by 76 points | waca ground | 12803 | alex ishchenko | west coast row 7 : 8 | sunday, 22 may 2:10pm | 9.9 (63) | hawthorn | 17.14 (116) | lost by 53 points | subiaco oval | 27344 | chris wittman | hawthorn row 8 : 9 | sunday, 29 may 2:10pm | 12.15 (87) | carlton | 15.10 (100) | lost by 13 points | subiaco oval | 27663 | ken hunter | carlton row 9 : 11 | monday, 13 june 2:10pm | 10.13 (73) | melbourne | 13.15 (93) | lost by 20 points | melbourne cricket ground | 28045 | alan johnson | melbourne row 10 : 13 | sunday, 26 june 2:10pm | 17.19 (121) | fitzroy | 13.9 (87) | won by 34 points | subiaco oval | 15028 | wally matera | west coast row 11 : 14 | saturday, 2 july 2:1 | 13.7 (85) | essendon | 16.16 (112) | lost by 27 points | windy hill | 10298 | simon madden | essendon row 12 : 15 | sunday, 10 july 2:10pm | 18.18 (126) | geelong | 16.10 (106) | won by 20 points | subiaco oval | 18537 | chris mainwaring | west coast row 13 : 16 | friday, 15 july 7:40 | 14.14 (98) | brisbane bears | 12.17 (89) | won by 9 points | waca ground | 16074 | mark withers | brisbane bears row 14 : 17 | friday, 22 july 7:40 | 8.16 (64) | fitzroy | 19.20 (134) | lost by 70 points | melbourne cricket ground | 7611 | john ironmonger | fitzroy row 15 : 18 | sunday, 31 july 2:10pm | 18.14 (122) | melbourne | 11.12 (78) | won by 44 points | subiaco oval | 16266 | murray rance | west coast row 16 : 19 | sunday, 7 august 2:10pm | 16.9 (115) | north melbourne | 12.12 (84) | won by 31 points | subiaco oval | 18193 | guy mckenna | west coast ] Execute this SQL based on the above table: select distinct opponent where team in ( 'west coast' , 'west coast' )
richmond, essendon, footscray, st kilda, fitzroy, geelong, melbourne, north melbourne
[ header: name | date built | builder | works no. | wheels | cylinders | notes | withdrawn row 1 : veteran | 1847 | None | None | 0-6-0 | inside | arr. 1847 | None row 2 : fairfield | 1847 | None | None | 0-6-0 | inside | arr. 1847 | None row 3 : waverley | None | henry hughes of lough | None | 0-4-0st | outside | None | 1889 row 4 : bee | None | None | None | 0-6-0t | None | None | None row 5 : spider | None | None | None | 0-6-0t | None | None | None row 6 : gillingham | None | aveling and porter | None | 0-6-0tg | None | arr. 1893 | 1893 row 7 : no.1 | 1880 | hunslet | 231 | 0-6-0st | inside | arr. 1893 | 1923 row 8 : no.2 | 1898 | peckett | 696 | 0-4-0st | outside | arr. 1904 | 1923 ] Execute this SQL based on the above table: select wheels order by date built desc limit 1
0-4-0st
[ header: league | league | position | teams | matches | win | lose row 1 : v.league | 7th (2000-01) | 4th | 10 | 18 | 9 | 9 row 2 : v.league | 8th (2001-02) | 4th | 9 | 16 | 14 | 2 row 3 : v.league | 9th (2002-03) | 3rd | 8 | 21 | 12 | 9 row 4 : v.league | 10th (2003-04) | runner-up | 10 | 18 | 13 | 5 row 5 : v.league | 11th (2004-05) | 8th | 10 | 27 | 11 | 16 row 6 : v.league | 12th (2005-06) | 4th | 10 | 27 | 20 | 7 row 7 : v・premier | 2006-07 | 6th | 10 | 27 | 11 | 16 row 8 : v・premier | 2007-08 | champion | 10 | 27 | 23 | 4 row 9 : v・premier | 2008-09 | champion | 10 | 27 | 20 | 7 row 10 : v・premier | 2009-10 | champion | 8 | 28 | 21 | 7 row 11 : v・premier | 2010-11 | runner-up | 8 | 26 | 19 | 7 row 12 : v・premier | 2011-12 | champion | 8 | 21 | 18 | 3 row 13 : v・premier | 2012-13 | runner-up | 8 | 28 | 20 | 8 ] Execute this SQL based on the above table: select count ( league ) where win = 20
3
[ header: title | character | broadcaster | episodes | date row 1 : rev | pip | bbc two | 1 | 2010 row 2 : the i.t. crowd | nikki | channel 4 | 1 | 2010 row 3 : eastenders: e20 | ava | bbc one | 15 | 2011 row 4 : fresh meat | caz | channel 4 | 1 | 2011 row 5 : phoneshop | daisy | channel 4 | 1 | 2011 row 6 : holby city | heidi hall | bbc one | 1 | 2012 row 7 : plebs | cynthia | itv2 | 6 | 2013 row 8 : blandings | valerie fanshawe | bbc | 2.5 | 2014 row 9 : death in paradise | helen walker | bbc | 3.4 | 2014 ] Execute this SQL based on the above table: select title where character = 'helen walker'
death in paradise
[ header: rank | bib | country | athletes | run 1 | run 2 | run 3 | run 4 | total | behind row 1 : None | 1 | canada (can-1) | kaillie humphries heat | 57.39 | 57.73 | 57.57 | 57.92 | 3:50.61 | None row 2 : None | 2 | united states (usa-1) | elana meyers laury | 57.26 | 57.63 | 57.69 | 58.13 | 3:50.71 | 0.1 row 3 : None | 3 | united states (usa-2) | jamie greubel aja evan | 57.45 | 58 | 58 | 58.16 | 3:51.61 | 1 row 4 : 4 | 9 | netherlands (ned-1) | esme kamphuis jud | 57.94 | 58.1 | 58.2 | 58.03 | 3:52.27 | 1.66 row 5 : 5 | 4 | germany (ger-1) | sandra kiriasis | 57.95 | 58.08 | 58.06 | 58.2 | 3:52.29 | 1.68 row 6 : 7 | 5 | germany (ger-2) | cathleen martini christ | 57.99 | 58.42 | 58.17 | 58.13 | 3:52.71 | 2.1 row 7 : 8 | 8 | switzerland (sui- | fabienne meyer tanja may | 58.18 | 58.34 | 58.29 | 58.39 | 3:53.20 | 2.59 row 8 : 9 | 11 | russia (rus-1) | olga stulneva | 58.03 | 58.24 | 58.45 | 58.74 | 3:53.46 | 2.85 row 9 : 10 | 6 | germany (ger-3) | anja schneiderheinze stephan | 58.17 | 58.3 | 58.53 | 58.74 | 3:53.74 | 3.13 row 10 : 11 | 7 | united states (usa-3) | jazmine fenlator lolo | 58.27 | 58.46 | 58.5 | 58.74 | 3:53.97 | 3.36 row 11 : 12 | 12 | great britain (gbr- | paula walker rebekah | 58.36 | 58.4 | 58.88 | 58.6 | 3:54.24 | 3.63 row 12 : 13 | 13 | canada (can-2) | jennifer ciochetti | 58.43 | 58.63 | 58.72 | 58.71 | 3:54.49 | 3.88 row 13 : 14 | 14 | australia (aus-1) | astrid radjenovic jan | 58.62 | 58.5 | 59.06 | 58.37 | 3:54.55 | 3.94 row 14 : 15 | 15 | austria (aut-1) | christina hengster viol | 58.59 | 58.56 | 58.73 | 58.91 | 3:54.79 | 4.18 row 15 : 16 | 17 | russia (rus-2) | nadezhda serge | 58.8 | 58.69 | 59.27 | 59.1 | 3:55.86 | 5.25 row 16 : 17 | 16 | romania (rou-1) | maria constantin andreea grecu | 59.04 | 59.08 | 59.38 | 59.09 | 3:56.59 | 5.98 ] Execute this SQL based on the above table: select sum ( behind )
45.33
[ header: year | single | peak chart positions us | peak chart positions us r&b | peak chart positions us a/c | peak chart positions uk row 1 : 1978 | "i'm coming home again" | None | 54 | None | None row 2 : 1979 | "am i too late" | None | 45 | None | None row 3 : 1981 | "when a child is born" (with | None | None | None | 74 row 4 : 1985 | "that's what friends are for" ( | 1 | 1 | 1 | 16 row 5 : 1986 | "loving on borrowed time (love theme | None | None | 16 | None row 6 : 1989 | "licence to kill" | None | 69 | 18 | 6 row 7 : 1990 | "if i knew then what i know | None | None | 10 | None row 8 : 1991 | "men" | None | 2 | None | None row 9 : 1991 | "superwoman" (with dionne warwick | None | 19 | None | None row 10 : 1991 | "meet me in the middle" | None | 78 | None | None row 11 : 1992 | "where would i be" | None | 66 | None | None row 12 : 1994 | "i don't want to know" | 113 | 32 | None | None row 13 : 1994 | "end of the road medley" | None | 76 | None | None row 14 : 1995 | "next time" | None | 30 | None | None row 15 : 1996 | "missing you" (with brandy, | 25 | 10 | 30 | None row 16 : 2010 | "settle" | None | None | None | None row 17 : 2011 | "i (who have nothing)" | None | None | None | None ] Execute this SQL based on the above table: select single where year = 1989
"licence to kill"
[ header: year | title | role | network | notes row 1 : 2000 | youth y2k 青春@y2 | cheng shasha | None | None row 2 : 2001 | the monkey king: quest for the sutra | purple orchid | tvb | None row 3 : 2001 | 藍寶石的夜空 | shek po-yi | tvb | eason chan's music video row 4 : 2002 | 一twins零一夜 | ah sa | tvb | music video row 5 : 2003 | triumph in the skies 衝上雲霄 | charlene | tvb | cameo row 6 : 2003 | all about boy'z 一起喝采 | langlang princess | now.com.hk | appearance in episode 2 row 7 : 2003 | 2半3更之困車立 | ah sa | now.com.hk | None row 8 : 2003 | 愛在陽光下 | aids patient | None | music video produced to support the global anti-aid row 9 : 2004 | kung fu soccer 功夫足球 | None | tvb | guest star row 10 : 2004 | sunshine heartbeat 赤沙印記@四葉草.2 | ah sa | tvb | guest star row 11 : 2004 | 家有寶貝 | ah sa | None | guest star row 12 : 2007 | colours of love 森之愛情 | wai-fong / ching- | tvb | None row 13 : 2007 | life off stage | None | None | None row 14 : 2010 | calling for love! 呼叫大明星 | chen dexin | cts | None row 15 : 2011 | the legend of swordman 劍俠情緣 | tang xiaowan / n | None | None row 16 : 2012 | happy marshal 歡樂元帥 | little dragon girl (xiao long nu) | None | None ] Execute this SQL based on the above table: select year where network = 'tvb' and year = 2007
2007
[ header: county | obama | votes | romney | votes | others | votes | total row 1 : bernalillo | 55.55% | 147,183 | 39.35% | 104,242 | 5.10% | 13,517 | 264,942 row 2 : catron | 26.38% | 560 | 70.37% | 1,494 | 3.25% | 69 | 2,123 row 3 : chaves | 32.28% | 6,641 | 64.77% | 13,327 | 2.95% | 607 | 20,575 row 4 : cibola | 60.18% | 4,907 | 36.37% | 2,966 | 3.45% | 281 | 8,154 row 5 : colfax | 49.05% | 2,828 | 46.83% | 2,700 | 4.11% | 237 | 5,765 row 6 : dona ana | 55.97% | 36,778 | 41.07% | 26,988 | 2.96% | 1,946 | 65,712 row 7 : eddy | 31.83% | 6,110 | 65.36% | 12,546 | 2.81% | 539 | 19,195 row 8 : grant | 55.00% | 7,009 | 41.48% | 5,286 | 3.52% | 449 | 12,744 row 9 : guadalupe | 69.68% | 1,478 | 26.12% | 554 | 4.20% | 89 | 2,121 row 10 : lea | 23.98% | 4,080 | 73.75% | 12,548 | 2.27% | 387 | 17,015 row 11 : los alamos | 48.72% | 5,191 | 45.02% | 4,796 | 6.26% | 667 | 10,654 row 12 : luna | 47.77% | 3,583 | 48.93% | 3,670 | 3.29% | 247 | 7,500 row 13 : mckinley | 72.08% | 15,363 | 25.43% | 5,420 | 2.49% | 530 | 21,313 row 14 : mora | 74.85% | 1,952 | 22.81% | 595 | 2.34% | 61 | 2,608 row 15 : otero | 34.15% | 6,811 | 62.23% | 12,412 | 3.62% | 723 | 19,946 row 16 : quay | 37.32% | 1,384 | 59.39% | 2,202 | 3.29% | 122 | 3,708 row 17 : roosevelt | 28.92% | 1,730 | 67.73% | 4,052 | 3.36% | 201 | 5,983 row 18 : san juan | 34.11% | 15,688 | 62.57% | 28,779 | 3.32% | 1,527 | 45,994 row 19 : san miguel | 76.86% | 8,751 | 20.04% | 2,281 | 3.10% | 353 | 11,385 row 20 : sandoval | 50.29% | 26,976 | 45.17% | 24,228 | 4.53% | 2,432 | 53,636 row 21 : santa fe | 73.37% | 50,097 | 22.48% | 15,351 | 4.15% | 2,832 | 68,280 row 22 : sierra | 38.49% | 1,964 | 57.39% | 2,928 | 4.12% | 210 | 5,102 row 23 : socorro | 56.37% | 4,047 | 37.89% | 2,720 | 5.74% | 412 | 7,179 row 24 : taos | 78.06% | 11,855 | 17.84% | 2,710 | 4.10% | 623 | 15,188 row 25 : torrance | 37.86% | 2,414 | 55.22% | 3,521 | 6.92% | 441 | 6,376 row 26 : union | 26.83% | 472 | 70.27% | 1,236 | 2.90% | 51 | 1,759 row 27 : valencia | 48.73% | 13,473 | 46.25% | 12,788 | 5.01% | 1,386 | 27,647 ] Execute this SQL based on the above table: select votes - votes where others = '5.01%'
0.0
[ header: date | winning team | score | losing team | score | ot | city | state/province | arena | attendance row 1 : october 21, 1993 | st. louis | 5 | san jose | 2 | None | sacramento | ca | arco arena | 7144 row 2 : october 31, 1993 | ny rangers | 4 | new jersey | 1 | None | halifax | ns | halifax metro centre | 8200 row 3 : november 3, 1993 | pittsburgh | 6 | buffalo | 2 | None | sacramento | ca | arco arena | 10117 row 4 : november 9, 1993 | anaheim | 4 | dallas | 2 | None | phoenix | az | america west arena | 8143 row 5 : november 18, 1993 | ny islanders | 5 | montreal | 1 | None | hamilton | on | copps coliseum | 17008 row 6 : december 9, 1993 | dallas | 6 | ottawa | 1 | None | minneapolis | mn | target center | 14058 row 7 : december 23, 1993 | vancouver | 4 | calgary | 3 | None | saskatoon | sk | saskplace | 11429 row 8 : december 31, 1993 | philadelphia | 4 | boston | 3 | None | minneapolis | mn | target center | 10855 row 9 : january 4, 1994 | tampa bay | 1 | toronto | 0 | None | hamilton | on | copps coliseum | 17526 row 10 : january 5, 1994 | montreal | 2 | quebec | 0 | None | phoenix | az | america west arena | 11393 row 11 : january 6, 1994 | st. louis | 2 | hartford | 1 | None | cleveland | oh | richfield coliseum | 6956 row 12 : january 17, 1994 | detroit | 6 | tampa bay | 3 | None | minneapolis | mn | target center | 8764 row 13 : january 23, 1994 | vancouver | 5 | edmonton | 4 | (ot) | saskatoon | sk | saskplace | None row 14 : january 24, 1994 | calgary | 3 | los angeles | 3 | (ot) | phoenix | az | america west arena | 14864 row 15 : february 2, 1994 | washington | 5 | philadelphia | 2 | None | cleveland | oh | richfield coliseum | 8312 row 16 : february 8, 1994 | san jose | 4 | chicago | 3 | None | sacramento | ca | arco arena | 14182 row 17 : february 22, 1994 | florida | 3 | winnipeg | 2 | None | hamilton | on | copps coliseum | 6291 row 18 : february 24, 1994 | detroit | 3 | hartford | 0 | None | cleveland | oh | richfield coliseum | 11621 row 19 : march 8, 1994 | chicago | 3 | anaheim | 0 | None | phoenix | az | america west arena | 13847 row 20 : march 9, 1994 | ny rangers | 7 | washington | 5 | None | halifax | ns | halifax metro centre | 9200 row 21 : march 18, 1994 | buffalo | 2 | ny islanders | 2 | (ot) | minneapolis | mn | target center | 8016 ] Execute this SQL based on the above table: select attendance where date = 'november 18, 1993' and winning team = 'ny islanders'
17008
[ header: year | national champion | score | runner-up | host or site row 1 : 2001 | ucla | 5-4 | stanford | stanford university, avery aquatic center row 2 : 2002 | stanford | 8-4 | ucla | usc, mcdonald' row 3 : 2003 | ucla (2) | 4-3 | stanford | uc san diego, canyon row 4 : 2004 | usc | 10-8 | loyola marymount | stanford university, avery aquatic center row 5 : 2005 | ucla (3) | 3-2 | stanford | university of michigan, canham nat row 6 : 2006 | ucla (4) | 9-8 | usc | uc davis, schaal row 7 : 2007 | ucla (5) | 5-4 | stanford | long beach state, joint forces training base, los row 8 : 2008 | ucla (6) | 6-3 | usc | stanford university, avery aquatic center row 9 : 2009 | ucla (7) | 5-4 | usc | university of maryland, eppley recreation row 10 : 2010 | usc (2) | 10-9 | stanford | san diego state, az row 11 : 2011 | stanford (2) | 9-5 | california | university of michigan, canham nat row 12 : 2012 | stanford (3) | 6-4 | usc | san diego state, az row 13 : 2013 | usc (3) | 10-9 5ot | stanford | harvard university, blodget row 14 : 2014 | None | None | None | usc, uytengsu ] Execute this SQL based on the above table: select runner-up group by runner-up having min ( year ) > 1179
california, loyola marymount, stanford, ucla, usc
[ header: date | opponent | score | result | record row 1 : may 19 | san antonio | 81-72 | win | 1-0 row 2 : may 23 | @ seattle | 87-100 | loss | 1-1 row 3 : may 25 | houston | 111-85 | win | 2-1 row 4 : may 29 | sacramento | 76-75 | win | 3-1 row 5 : may 31 | @ san antonio | 97-85 | win | 4-1 row 6 : june 5 | minnesota | 85-90 | loss | 4-4 row 7 : june 7 | chicago | 80-66 | win | 5-4 row 8 : june 9 | @ sacramento | 74-70 | win | 6-4 row 9 : june 13 | @ washington | 69-86 | loss | 6-5 row 10 : june 15 | @ indiana | 89-78 | win | 7-5 row 11 : june 20 | washington | 101-106 | loss | 7-6 row 12 : june 22 | detroit | 84-87 | loss | 7-7 row 13 : june 24 | houston | 90-85 | win | 8-7 row 14 : june 30 | @ houston | 92-75 | win | 9-7 row 15 : july 3 | @ minnesota | 95-79 | win | 10-7 row 16 : july 8 | @ detroit | 82-111 | loss | 11-8 row 17 : july 11 | san antonio | 77-87 | loss | 11-9 row 18 : july 20 | los angeles | 77-87 | loss | 12-10 row 19 : july 22 | minnesota | 106-93 | win | 13-10 row 20 : july 27 | @ chicago | 98-96 | win | 15-10 row 21 : july 29 | indiana | 80-75 | win | 16-10 row 22 : july 31 | @ houston | 76-74 | win | 17-10 row 23 : august 2 | @ san antonio | 84-79 | win | 18-10 row 24 : august 4 | @ seattle | 101-111 | loss | 18-11 row 25 : august 7 | @ los angeles | 96-93 | win | 19-11 row 26 : august 9 | new york | 97-86 | win | 20-11 row 27 : august 11 | los angeles | 100-83 | win | 21-11 row 28 : august 17 | @ sacramento | 101-91 | win | 22-11 row 29 : august 19 | sacramento | 87-73 | win | 23-11 row 30 : august 24 (first round, game 1) | @ seattle | 101-84 | win | 1-0 row 31 : august 26 (first round, game 2) | seattle | 95-89 | win | 2-0 row 32 : august 30 (west finals, game 1) | @ san antonio | 102-100 | win | 3-0 row 33 : september 1 (west finals, game 2) | san antonio | 98-92 | win | 4-0 row 34 : september 5 (wnba finals | @ detroit | 100-108 | loss | 4-1 row 35 : september 8 (wnba finals | @ detroit | 98-70 | win | 5-1 row 36 : september 11 (wnba finals | detroit | 83-88 | loss | 5-2 row 37 : september 13 (wnba finals | detroit | 77-76 | win | 6-2 row 38 : september 15 (wnba finals | @ detroit | 108-92 | win | 7-2 ] Execute this SQL based on the above table: select score order by id asc limit 1
81-72
[ header: capacitor type | capacity | volts | temp. | energy-to-weight ratio | power-to-weight ratio row 1 : act premlis lithium ion capacitor | 2000 f | 4.0 v | 25 °c | 54 kj/kg to 2.0 v | 44.4 w/kg @ 5 a row 2 : act premlis lithium ion capacitor | 2000 f | 4.0 v | 25 °c | 31 kj/kg to 2.0 v | 850 w/kg @ 10 a row 3 : nesccap electric double-layer capacitor | 5000 f | 2.7 v | 25 °c | 19.58 kj/kg to 1.35 | 5.44 w/kg c/1 ( row 4 : nesccap electric double-layer capacitor | 5000 f | 2.7 v | 25 °c | 5.2 kj/kg to 1.35 | 5,200 w/kg @ 2,547 row 5 : eestor eesu bar | 30.693 f | 3500 v | 85 °c | 1471.98 kj/kg | 80.35 w/kg c/5 row 6 : eestor eesu bar | 30.693 f | 3500 v | 85 °c | 1471.98 kj/kg | 8,035 w∕kg 20 c row 7 : general atomics 3330cmx22 | 20.5 mf | 3300 v | None | 2.3 kj/kg | 6.8 mw/kg @ 100 ] Execute this SQL based on the above table: select count ( energy-to-weight ratio ) where capacity > 456
4
[ header: location | name of mill and grid reference | type | maps | first mention or built | last mention or demise row 1 : chesfield | None | post | None | 1318 | 1372 row 2 : chesfield | chesfield park | titt iron wind engine | None | 1896 | None row 3 : cheshunt | tl 317 036 | post | None | 1843 | demolished c. 1860 row 4 : cheshunt | goff's oak mill tl | tower | None | c. 1860 | demolished 1953 row 5 : cheshunt | turner's hill mill tl 3 | None | 1822 | 1822 | 1861 row 6 : chipperfield | tl 037 014 | post | None | 1594 | 1594 row 7 : chipperfield | tl 037 014 | smock | 1822 | 1822 | 1881, gone by 1896 row 8 : chipping | approximately tl 350 319 | post | 1720 1728 | 1720 | 1728 row 9 : clothall | approximately tl 264 326 | post | None | 1370 | 1370 row 10 : codicote | codicote heath approximately tl | smock | None | 1841 | 1855, gone by 1881 row 11 : colney heath | colney heath mill tl 205 | tower | None | 1854 | windmill world row 12 : cottered | None | post | None | 1581 | 1581 row 13 : cromer | None | None | None | 1192 | 1576 row 14 : cromer | cromer mill tl 304 2 | post | 1720 1728 1749 1766 1800 18 | 1720 | windmill world row 15 : croxley green | croxley green mill tq 06 | tower | None | c. 1860 | windmill world ] Execute this SQL based on the above table: select name of mill and grid reference order by last mention or demise desc limit 1
goff's oak mill tl 317 036
[ header: outcome | no. | date | tournament | surface | partner | opponents in the final | score in the final row 1 : runner-up | 1 | 1972 | stockholm, sweden | hard (i) | roy emerson | tom okker marty ries | 5-7, 6-7 row 2 : runner-up | 2 | 1973 | miami wct, us | hard | terry addison | roy emerson rod laver | 4-6, 4-6 row 3 : runner-up | 3 | 1973 | richmond wct, us | carpet | terry addison | roy emerson rod laver | 6-3, 3-6, 4-6 row 4 : runner-up | 4 | 1973 | st. louis, us | carpet | terry addison | ove nils bengtson | 2-6, 5-7 row 5 : runner-up | 5 | 1973 | columbus, us | hard | charles pasarell | gerald battrick graham | 4-6, 6-7 row 6 : winner | 1 | 1973 | merion, us | grass | allan stone | john austin fred m | 7-6, 6-3 row 7 : winner | 2 | 1973 | hong kong | hard | rod laver | paul gerken brian gott | 6-3, 5-7, 17-15 row 8 : winner | 3 | 1974 | houston, us | clay | rod laver | arthur ashe roscoe t | 4-6, 7-6, 6-4 row 9 : runner-up | 7 | 1975 | orlando wct, us | hard | ray ruffels | brian gottfried raul | 4-6, 4-6 row 10 : winner | 6 | 1976 | palm springs, us | hard | sandy mayer | raymond moore erik van | 6-4, 6-7, 7-6 row 11 : winner | 7 | 1976 | palma, spain | clay | john andrews | mark edmondson john marks | 2-6, 6-3, 6-2 row 12 : runner-up | 8 | 1976 | madrid, spain | clay | john andrews | carlos kirmayr eduard | 6-7, 6-4, 6-8 row 13 : winner | 9 | 1977 | little rock, us | carpet | haroon rahim | bob hewitt frew | 6-7, 6-3, 6-3 row 14 : winner | 10 | 1977 | denver, us | carpet | geoff masters | syd ball kim warwick | 6-2, 6-3 row 15 : winner | 11 | 1977 | south orange, us | hard | wojtek fibak | ion tiriac guiller | 6-1, 7-5 row 16 : runner-up | 10 | 1978 | johannesburg, south africa | hard | geoff masters | bob hewitt frew | 5-7, 6-7 row 17 : runner-up | 11 | 1978 | newport, us | grass | bob giltinan | tim gullikson tom gul | 4-6, 4-6 row 18 : winner | 13 | 1978 | columbus, us | clay | bob giltinan | marcello lara elio | 6-2, 6-3 row 19 : runner-up | 13 | 1979 | tulsa, us | hard (i) | tom gullikson | francisco gonzalez e | 7-6, 5-7, 3-6 row 20 : runner-up | 14 | 1979 | stowe, us | hard | anand amritraj | mike cahill steve k | 6-3, 3-6, 4-6 ] Execute this SQL based on the above table: select opponents in the final where tournament = 'madrid, spain' order by outcome desc limit 1
carlos kirmayr eduardo mandarino
[ header: date | opponent# | rank# | site | tv | result | attendance row 1 : 9-4-2010 | miami (oh) | #4 | ben hill griffin stadium • gaine | espn | w 34-12 | 90178 row 2 : 9-11-2010 | south florida | #8 | ben hill griffin stadium • gaine | secn | w 38-14 | 90612 row 3 : 9-18-2010 | at tennessee | #10 | neyland stadium • knoxville | cbs | w 31-17 | 102455 row 4 : 9-25-2010 | kentucky | #9 | ben hill griffin stadium • gaine | espnu | w 48-14 | 90547 row 5 : 10-2-2010 | at #1 alabama | #7 | bryant-denny stadium • | cbs | l 6-31 | 101821 row 6 : 10-9-2010 | #12 lsu | #14 | ben hill griffin stadium • gaine | espn | l 29-33 | 90721 row 7 : 10-16-2010 | mississippi state | #22 | ben hill griffin stadium • gaine | espnu | l 7-10 | 90517 row 8 : 10-30-2010 | vs. georgia | None | everbank field • jacksonville, | cbs | w 34-31 ot | 84444 row 9 : 11-6-2010 | at vanderbilt | None | vanderbilt stadium • nashville | secn | w 55-14 | 33848 row 10 : 11-13-2010 | #22 south carolina | #24 | ben hill griffin stadium • gaine | espn | l 14-36 | 90885 row 11 : 11-20-2010 | appalachian state | None | ben hill griffin stadium • gaine | espn3 | w 48-10 | 90119 row 12 : 11-27-2010 | at #22 florida state | None | doak campbell stadium • tallahasse | abc | l 7-31 | 82324 row 13 : 1-1-2011 | vs. penn state | None | raymond james stadium • t | abc | w 37-24 | 60574 ] Execute this SQL based on the above table: select count ( tv ) where date - rank# < 1
0
[ header: year | place | gold | silver | bronze row 1 : 1970 | phoenix | united states of america sally carroll | soviet union nadezd | federal republic of germany ortrud f row 2 : 1974 | thun | soviet union galina zari | czechoslovakia ter | australia judith harrison en row 3 : 1978 | seoul | denmark kirsten broge bonnie | australia julie aitken patricia | united states of america sally carroll row 4 : 1982 | caracas | soviet union marina dobrantcheva | hungary palma balogh mart | people's republic of china jian row 5 : 1986 | suhl | soviet union marina dobrantcheva | france martine guepin eve | albania diana mata eman row 6 : 1990 | moscow | soviet union yauheniy | sweden kerstin bodin | people's republic of china haiying row 7 : 1994 | milan | people's republic of china xiaoping | korea soon hee boo | belarus zhanna shitik row 8 : 1998 | barcelona | people's republic of china yeq | korea eun kyung | mongolia munkhbayar row 9 : 2002 | lahti | people's republic of china luna ta | russia irina dolgat | united states of america elizabe row 10 : 2006 | zagreb | people's republic of china ying chen | belarus liudmila | germany munkhbayar dor ] Execute this SQL based on the above table: select count ( distinct ( gold ) ) where year = 1990
1
[ header: rank | name | nationality | 1,62 | 1,67 | 1,72 | 1,75 | notes row 1 : 1 | dior delophont | france | None | o | o | o | q row 2 : 1 | ligia grozav | romania | None | o | o | o | q row 3 : 3 | iryna herashchenko | ukraine | None | o | xo | o | q row 4 : 4 | lucija zupzic | croatia | o | o | o | xo | q row 5 : 4 | chanice porter | jamaica | None | None | None | xo | q row 6 : 6 | alexandra plaza | germany | o | xo | o | xxo | q row 7 : 7 | nikola parilova | czech republic | o | o | o | xxx | q row 8 : 7 | ioanna koltsid | greece | o | o | o | xxx | q row 9 : 9 | leontia kallenou | cyprus | None | xo | xo | xxx | None row 10 : 10 | anna pau | italy | xxo | o | xxo | xxx | None row 11 : 11 | emily crutcher | australia | o | o | xxx | None | None row 12 : 11 | keeley o'hagan | new zealand | o | o | xxx | None | None row 13 : 13 | dace dreimane | latvia | xo | o | xxx | None | None row 14 : 14 | vivien baglyos | hungary | o | xo | xxx | None | None row 15 : 15 | thea lafond | dominica | xo | xxx | None | None | None ] Execute this SQL based on the above table: select nationality order by rank desc limit 1
dominica
[ header: material | formula | refractive index(es) 589.3 nm | dispersion 431 - 687 nm | hardness (mohs' scale) | density (g/cm3) | thermal cond. | state of the art row 1 : diamond | c | 2.417 | 0.044 | 10 | 3.52 | excellent | (natural) row 2 : glasses | silica with pb, al, | ~ 1.6 | > 0.020 | < 6 | 2.4 - 4.2 | poor | 1700 - row 3 : white sapphire | al2o3 | 1.762 - 1.770 | 0.018 | 9 | 3.97 | poor | 1900-1947 row 4 : spinel | mgo·al2o3 | 1.727 | 0.02 | 8 | ~ 3.6 | poor | 1920-1947 row 5 : rutile | tio2 | 2.62 - 2.9 | 0.33 | ~ 6 | 4.25 | poor | 1947-1955 row 6 : strontium titanate | srtio3 | 2.41 | 0.19 | 5.5 | 5.13 | poor | 1955-1970 row 7 : yag | y3al5o12 | 1.83 | 0.028 | 8.25 | 4.55 - 4.65 | poor | 1970-1975 row 8 : ggg | gd3ga5o12 | 1.97 | 0.045 | 7 | 7.02 | poor | 1973-1975 row 9 : cubic zirconia | zro2(+ rare earths | ~ 2.2 | ~ 0.06 | ~ 8.3 | ~ 5.7 | poor | 1976 - row 10 : moissanite | sic | 2.648 - 2.691 | 0.104 | 8.5-9.25 | 3.2 | high | 1998 - row 11 : quartz | silica | 1.543 - 1.554 | None | 7- | 2.50 - 2.65 | None | ancient ] Execute this SQL based on the above table: select refractive index(es) 589.3 nm where formula = 'srtio3'
2.41
[ header: team | titles | runner-up | third place | fourth place | years participated row 1 : michigan | 15 | 13 | 10 | 6 | 44 row 2 : michigan state | 12 | 13 | 11 | 4 | 40 row 3 : michigan tech | 10 | 13 | 10 | 16 | 49 row 4 : western michigan | 2 | 1 | 0 | 1 | 4 row 5 : north dakota | 2 | 1 | 0 | 1 | 4 row 6 : toronto | 1 | 0 | 0 | 0 | 1 row 7 : new hampshire | 1 | 0 | 1 | 0 | 2 row 8 : colorado college | 1 | 1 | 0 | 1 | 3 row 9 : wisconsin | 1 | 1 | 1 | 0 | 3 row 10 : boston college | 1 | 0 | 3 | 0 | 4 row 11 : notre dame | 1 | 0 | 0 | 3 | 4 row 12 : boston university | 1 | 0 | 4 | 0 | 5 row 13 : harvard | 1 | 0 | 2 | 2 | 5 row 14 : maine | 0 | 1 | 0 | 0 | 1 row 15 : ohio state | 0 | 1 | 0 | 0 | 1 row 16 : rensselaer polytechnic institute | 0 | 2 | 0 | 0 | 2 row 17 : lake superior state | 0 | 1 | 1 | 1 | 3 row 18 : northern michigan | 0 | 1 | 2 | 2 | 5 row 19 : colgate | 0 | 0 | 1 | 0 | 1 row 20 : dartmouth | 0 | 0 | 1 | 0 | 1 row 21 : providence | 0 | 0 | 1 | 0 | 1 row 22 : brown | 0 | 0 | 1 | 1 | 2 row 23 : cornell | 0 | 0 | 0 | 1 | 1 row 24 : princeton | 0 | 0 | 0 | 1 | 1 row 25 : st lawrence | 0 | 0 | 0 | 1 | 1 row 26 : yale | 0 | 0 | 0 | 1 | 1 row 27 : bowling green | 0 | 0 | 0 | 2 | 2 row 28 : pennsylvania | 0 | 0 | 0 | 2 | 2 row 29 : western ontario | 0 | 0 | 0 | 2 | 2 ] Execute this SQL based on the above table: select count ( team ) where team not null and team not null
29