inputs
stringlengths
291
3.71k
targets
stringlengths
1
2.65k
[ header: episode number | original airdate | title | disc | description row 1 : 48 | 30 january 1983 | "the frozen turkey man" | 1 | for a joke, compo and cle row 2 : 49 | 6 february 1983 | "the white man's grave" | 1 | the trio have clegg stand in for wall row 3 : 50 | 13 february 1983 | "the waist land" | 1 | foggy attempts to earn some ready cash by row 4 : 51 | 20 february 1983 | "cheering up ludovic | 1 | clegg is roped in to drive row 5 : 52 | 27 february 1983 | "the three astaires" | 1 | the trio help out at a church concert, row 6 : 53 | 6 march 1983 | "the arts of concealment" | 1 | foggy lands himself in trouble with a ] Execute this SQL based on the above table: select sum ( disc ) where episode number < 299
6.0
[ header: date | city | opponent | results | scorers | type of game row 1 : march 3, 2010 | algiers, algeria | algeria | 3:0 (1:0) | pantelic (16') kuzman | friendly row 2 : april 7, 2010 | osaka, japan | japan | 3:0 (2:0) | mrđa (15', 23' | friendly row 3 : may 29, 2010 | klagenfurt, austria | new zealand | 0:1 (0:1) | smeltz (22') | friendly row 4 : june 2, 2010 | kufstein, austria | poland | 0:0 (0:0) | None | friendly row 5 : june 5, 2010 | belgrade, serbia | cameroon | 4:3 (4:2) | webo (5', 20') kra | friendly row 6 : june 13, 2010 | pretoria, south africa | ghana | 0:1 (0:0) | gyan (85') | wc 2010 row 7 : june 18, 2010 | port elizabeth, south africa | germany | 1:0 (1:0) | jovanovic (38') | wc 2010 row 8 : june 23, 2010 | nelspruit, south africa | australia | 1:2 (0:0) | cahill (69') holman ( | wc 2010 row 9 : august 11, 2010 | belgrade, serbia | greece | 0:1 (0:0) | salpingidis (45') | friendly row 10 : september 3, 2010 | torshavn, faroe islands | faroe islands | 3:0 (2:0) | lazovic (14') stank | euro 2012 q row 11 : september 7, 2010 | belgrade, serbia | slovenia | 1:1 (0:0) | novakovic (63') zig | euro 2012 q row 12 : october 8, 2010 | belgrade, serbia | estonia | 1:3 (0:0) | zigic (60') kink | euro 2012 q row 13 : october 12, 2010 | genoa, italy | italy | abandoned 0:3 | game abandoned after six minutes on account of crowd disturbance | euro 2012 q row 14 : november 17, 2010 | sofia, bulgaria | bulgaria | 1:0 (0:0) | zigic (80') | friendly ] Execute this SQL based on the above table: select ( select type of game where results = '1:0 (1:0)' ) > ( select type of game where results = '0:1 (0:1)' )
1
[ header: # | date | winner | score | location | notes row 1 : 47 | december 31, 1971 | west | 17-13 | san francisco, ca | None row 2 : 48 | december 30, 1972 | east | 9-3 | san francisco, ca | None row 3 : 49 | december 29, 1973 | east | 35-7 | san francisco, ca | None row 4 : 50 | december 28, 1974 | east | 16-14 | stanford, ca | None row 5 : 51 | january 3, 1976 | west | 21-14 | stanford, ca | None row 6 : 53 | december 31, 1977 | west | 23-3 | stanford, ca | None row 7 : 54 | january 6, 1979 | east | 56-17 | stanford, ca | None row 8 : 56 | january 10, 1981 | east | 21-3 | stanford, ca | None row 9 : 57 | january 9, 1982 | west | 20-13 | stanford, ca | None row 10 : 58 | january 15, 1983 | east | 26-25 | stanford, ca | None row 11 : 59 | january 7, 1984 | east | 27-19 | stanford, ca | None row 12 : 60 | january 5, 1985 | west | 21-10 | stanford, ca | None row 13 : 61 | january 11, 1986 | east | 18-7 | stanford, ca | None row 14 : 62 | january 10, 1987 | west | 24-21 | stanford, ca | None row 15 : 64 | january 15, 1989 | east | 24-6 | stanford, ca | None row 16 : 65 | january 21, 1990 | west | 22-21 | stanford, ca | None row 17 : 66 | january 26, 1991 | west | 24-21 | stanford, ca | None row 18 : 67 | january 19, 1992 | west | 14-6 | stanford, ca | None row 19 : 68 | january 24, 1993 | east | 31-17 | stanford, ca | None row 20 : 69 | january 15, 1994 | west | 29-28 | stanford, ca | None row 21 : 70 | january 14, 1995 | west | 30-28 | stanford, ca | None row 22 : 73 | january 10, 1998 | west | 24-7 | stanford, ca | None row 23 : 75 | january 15, 2000 | east | 35-21 | stanford, ca | None row 24 : 77 | january 12, 2002 | west | 21-13 | san francisco, ca | None row 25 : 78 | january 11, 2003 | east | 20-17 | san francisco, ca | None row 26 : 79 | january 10, 2004 | west | 28-7 | san francisco, ca | None row 27 : 80 | january 15, 2005 | east | 45-27 | san francisco, ca | None row 28 : 81 | january 21, 2006 | west | 35-31 | san antonio, | None row 29 : 82 | january 20, 2007 | west | 21-3 | houston, tx | None row 30 : 83 | january 19, 2008 | west | 31-13 | houston, tx | None row 31 : 84 | january 17, 2009 | east | 24-19 | houston, tx | None row 32 : 85 | january 23, 2010 | east | 13-10 | orlando, fl | notes row 33 : 86 | january 22, 2011 | east | 25-8 | orlando, fl | notes row 34 : 87 | january 21, 2012 | west | 24-17 | st. petersburg, f | notes row 35 : 89 | january 18, 2014 | east | 23-13 | st. petersburg, f | notes ] Execute this SQL based on the above table: select location - winner where date = 'january 14, 1995'
0
[ header: rank | lane | name | nationality | react | time | notes row 1 : 1 | 4 | yelizaveta bry | ukraine | 0.245 | 23.1 | q row 2 : 2 | 6 | myriam soumare | france | 0.179 | 23.22 | q row 3 : 3 | 3 | ksenija balta | estonia | 0.205 | 23.75 | q row 4 : 4 | 5 | niamh whelan | ireland | 0.253 | 23.78 | q row 5 : 5 | 7 | sabina veit | slovenia | 0.205 | 23.78 | None row 6 : 6 | 2 | elin backman | sweden | 0.217 | 24.13 | None ] Execute this SQL based on the above table: select name order by time desc limit 1
elin backman
[ header: call sign | frequency | city of license | licensee | format row 1 : kacl | 98.7 fm | bismarck | townsquare media bismarck license, ll | classic hits row 2 : kauj | 100.9 fm | grafton | simmons broadcasting | oldies row 3 : kbep-lp | 93.7 fm | bismarck | bismarck educational prayer association | None row 4 : kbmk | 88.3 fm | bismarck | educational media foundation | contemporary christian row 5 : kdkt | 1410 am | beulah | digital syndicate network | all sports row 6 : kdlr | 1240 am | devils lake | double z broadcasting | classic country row 7 : kdsr | 101.1 fm | williston | williston community broadcasting corp. d | adult hits row 8 : kegk | 106.9 fm | wahpeton | smahh communications ii | classic hits row 9 : keya | 88.5 fm | belcourt | keya, inc | country row 10 : keyz | 660 am | williston | ccr-williston i | news talk information row 11 : kfaa | 89.5 fm | horace | selah corporation | contemporary christian row 12 : kfgo | 790 am | fargo | midwest communications, inc | news talk information row 13 : kfnw | 1200 am | west fargo | northwestern college | religious row 14 : kjkr | 88.1 fm | jamestown | jamestown college | None row 15 : kkxl-fm | 92.9 fm | grand forks | citicasters licenses, inc | pop contemporary hit radio row 16 : kltc | 1460 am | dickinson | cc licenses, llc | classic country row 17 : kltq | 97.9 fm | beulah | synergy broadcast north dakota, | None row 18 : kmav-fm | 105.5 fm | mayville | kmsr, inc | country row 19 : kmsr | 1520 am | mayville | kmsr, inc | all sports row 20 : kmxa-fm | 99.9 fm | minot | cc licenses, llc | adult contemporary row 21 : kndc | 1490 am | hettinger | schweitzer media | country row 22 : kndk | 1080 am | langdon | kndk, inc | news talk information row 23 : knds-lp | 96.3 fm | fargo | alliance for the arts and humanities | None row 24 : knox | 1310 am | grand forks | leighton enterprises, inc | news talk information row 25 : koww-lp | 98.1 fm | burlington | pointe of view institute | None row 26 : kpfx | 107.9 fm | fargo | l&l licensee, llc | classic rock row 27 : kppr | 89.5 fm | williston | prairie public broadcasting, inc | variety row 28 : kqdj-fm | 101.1 fm | valley city | sioux valley broadcasting | pop contemporary hit radio row 29 : krrz | 1390 am | minot | aloha station trust, llc | oldies row 30 : krwk | 101.9 fm | fargo | midwest communications, inc | mainstream rock row 31 : ksjb | 600 am | jamestown | chesterman communications of jamestown, | classic country ] Execute this SQL based on the above table: select licensee where licensee > ( select licensee where licensee = 'leighton enterprises, inc' ) order by licensee limit 1
midwest communications, inc
[ header: | name | distance | date | location row 1 : 1 | seppo simola | 20.15 | july 19, 1972 | turku, finland row 2 : 2 | matti yrjola | 20.04 | august 2, 1972 | hameenkyro, f row 3 : 3 | bo grahn | 20.09 | august 3, 1972 | helsinki, finland row 4 : 4 | reijo stahlberg | 20.38 | july 26, 1973 | turku, finland row 5 : 5 | markku tuokko | 20.03 | august 18, 1979 | mikkeli, finland row 6 : 6 | aulis akonniemi | 20.12 | july 25, 1982 | ahtari, finland row 7 : 7 | janne ronkainen | 20.02 | may 11, 1986 | leselidse, soviet union row 8 : 8 | jari kuoppa | 20.17 | june 12, 1986 | ahtari, finland row 9 : 9 | kari toyryla | 20.05 | july 2, 1986 | kauhajoki, finland row 10 : 10 | markus koistinen | 20.31 | june 13, 1993 | luumaki, finland row 11 : 11 | mika halvari | 20.08 | august 4, 1993 | kotka, finland row 12 : 12 | arsi harju | 20.16 | march 2, 1997 | tampere, finland row 13 : 13 | timo aaltonen | 20.12 | june 20, 1998 | kuortane, finland row 14 : 14 | jani illikainen | 20.43 | january 23, 1999 | haaparanda, sweden row 15 : 15 | ville tiisanoja | 20.06 | july 31, 1999 | espoo, finland row 16 : 16 | jarkko haukijarvi | 20.2 | july 1, 2000 | eurajoki, finland row 17 : 17 | tepa reinikainen | 20.01 | february 13, 2000 | kuopio, finland row 18 : 18 | conny karlsson | 20.45 | may 31, 2001 | espoo, finland row 19 : 19 | robert haggblom | 20.13 | may 20, 2006 | halle, germany row 20 : 20 | mika vasara | 20.04 | june 4, 2006 | leppavirta, finland ] Execute this SQL based on the above table: select distance where name = 'jani illikainen'
20.43
[ header: # | date | opponent | score | win | loss | save | attendance | record row 1 : 107 | august 3 | red sox | 7 - 4 | green (5-1) | timlin (1-1) | putz (32) | 46235 | 60-47 row 2 : 110 | august 7 | @ orioles | 10 - 3 | weaver (3-10) | walker (1-2) | None | 25060 | 61-49 row 3 : 111 | august 8 | @ orioles | 8 - 4 | hernandez (8-6) | guthrie (7-4) | putz (33) | 17511 | 62-49 row 4 : 112 | august 9 | @ orioles | 13 - 8 | ramirez (7-3) | cabrera (8-12) | sherrill (1) | 18679 | 63-49 row 5 : 113 | august 10 | @ white sox | 5 - 3 | vazquez (10-6) | washburn (8-9) | jenks (33) | 38586 | 63-50 row 6 : 114 | august 11 | @ white sox | 7 - 6 | batista (12-8) | floyd (1-2) | putz (34) | 38210 | 64-50 row 7 : 115 | august 12 | @ white sox | 6 - 0 | weaver (4-10) | danks (6-10) | None | 36629 | 65-50 row 8 : 117 | august 14 | twins | 11 - 3 | garza () | ramirez (7-4) | None | 33729 | 66-51 row 9 : 118 | august 15 | twins | 6 - 1 | neshek (7-2) | washburn (8-10) | None | 42921 | 66-52 row 10 : 119 | august 17 | white sox | 5 - 4 | batista (13-8) | contreras (6-15) | putz (35) | 46170 | 67-52 row 11 : 120 | august 18 | white sox | 7 - 5 | weaver (5-10) | danks (6-11) | putz (36) | 41121 | 68-52 row 12 : 121 | august 19 | white sox | 11 - 5 | hernandez (9-6) | garland (8-9) | None | 45668 | 69-52 row 13 : 122 | august 20 | @ twins | 9 - 4 | ramirez (8-4) | garza (2-4) | None | 31755 | 70-52 row 14 : 123 | august 21 | @ twins | 7 - 2 | washburn (9-10) | baker (6-6) | None | 42373 | 71-52 row 15 : 124 | august 22 | @ twins | 8 - 4 | silva (10-12) | batista (13-9) | None | 29881 | 71-53 row 16 : 125 | august 23 | @ rangers | 9 - 4 | weaver (6-10) | loe (6-10) | None | 26963 | 72-53 row 17 : 127 | august 25 | @ rangers | 5 - 3 | benoit (7-3) | white (1-1) | wilson (8) | 47977 | 73-54 row 18 : 128 | august 26 | @ rangers | 5 - 3 | padilla (4-9) | washburn (9-11) | None | 25437 | 73-55 row 19 : 129 | august 27 | angels | 6 - 0 | lackey (16-8) | batista (13-10) | None | 45998 | 73-56 row 20 : 130 | august 28 | angels | 10 - 6 | speier (2-3) | morrow (3-3) | None | 44395 | 73-57 row 21 : 131 | august 29 | angels | 8 - 2 | weaver (10-6) | hernandez (10-7) | None | 46047 | 73-58 row 22 : 132 | august 30 | @ indians | 6 - 5 | borowski (3-5) | o'flaherty (7- | None | 25949 | 73-59 ] Execute this SQL based on the above table: select count ( win ) where # is null
0
[ header: network name | flagship | programming type | owner | affiliates row 1 : canal de las estrellas | xew 2 | soap operas, retro movies and sports | televisa | 1 row 2 : canal 5 | xhgc 5 | cartoons, movies, and series | televisa | 1 row 3 : azteca 7 | xhimt 7 | sports, series, and movies | tv azteca | 1 row 4 : galavision | xeq 9 | retro programming and sports | televisa | 1 row 5 : once tv | xeipn 11 | educational and cultural | national polytechnic institute | 1 row 6 : azteca 13 | xhdf 13 | news, soap operas, and sports | tv azteca | 1 row 7 : independent | None | varies | independent | 2 ] Execute this SQL based on the above table: select network name where programming type > ( select programming type where network name = 'canal 5' ) order by programming type asc limit 1
once tv
[ header: position | song title | artist | sales | highest position row 1 : 1 | unchained melody/white cliffs | robson green & jerome flyn | 1,844,000 | 1 row 2 : 2 | gangsta's paradise | coolio featuring l.v | 1,110,000 | 1 row 3 : 3 | i believe/up on the roof | robson green & jerome flyn | 1,049,000 | 1 row 4 : 4 | back for good | take that | 960,000 | 1 row 5 : 5 | think twice | celine dion | 928,000 | 1 row 6 : 6 | fairground | simply red | 782,000 | 1 row 7 : 7 | you are not alone | michael jackson | 714,000 | 1 row 8 : 8 | earth song | michael jackson | 802,000 | 1 row 9 : 9 | missing | everything but the girl | 696,000 | 3 row 10 : 10 | wonderwall | oasis | 665,000 | 2 row 11 : 11 | boom boom boom | outhere brothers | 652,000 | 1 row 12 : 12 | country house | blur | 642,000 | 1 row 13 : 13 | father and son | boyzone | 620,000 | 2 row 14 : 14 | don't stop (wiggle wiggle | outhere brothers | 617,000 | 1 row 15 : 15 | boombastic | shaggy | 557,000 | 1 row 16 : 16 | cotton eye joe | rednex | 512,000 | 1 row 17 : 17 | set you free | n-trance | 503,000 | 2 row 18 : 18 | living next door to alice | smokie featuring roy ch | 495,000 | 3 row 19 : 19 | hold me, thrill me, kiss me, kill | u2 | 471,000 | 2 row 20 : 20 | roll with it | oasis | 456,000 | 2 row 21 : 21 | guaglione | perez 'prez' prado | 445,000 | 2 row 22 : 22 | i'll be there for you | the rembrandts | 421,000 | 3 row 23 : 23 | two can play that game | bobby brown | 413,000 | 3 row 24 : 24 | here comes the hotstepper | ini kamoze | 407,000 | 4 row 25 : 25 | shy guy | diana king | 405,000 | 2 row 26 : 26 | it's oh so quiet | bjork | 404,000 | 4 row 27 : 27 | never forget | take that | 403,000 | 1 row 28 : 28 | don't give me your life | alex party | 395,000 | 2 row 29 : 29 | waterfalls | tlc | 355,000 | 4 row 30 : 30 | scatman (ski ba bop ba | scatman john | 352,000 | 2 row 31 : 31 | some might say | oasis | 346,000 | 1 row 32 : 32 | you'll see | madonna | 342,000 | 5 row 33 : 33 | thunder | east 17 | 339,000 | 4 row 34 : 34 | stayin' alive | n-trance featuring ricardo | 335,000 | 2 row 35 : 35 | i'd lie for you (and that | meat loaf | 334,000 | 2 row 36 : 36 | common people | pulp | 326,000 | 2 row 37 : 37 | fantasy | mariah carey | 323,000 | 4 row 38 : 38 | i've got a little something for | mn8 | 317,000 | 2 row 39 : 39 | kiss from a rose/i'm alive | seal | 310,000 | 4 row 40 : 40 | dreamer | livin' joy | 303,000 | 1 ] Execute this SQL based on the above table: select song title where position = ( select position where artist = 'east 17' ) + 1
stayin' alive
[ header: player | games played | minutes played | minutes played per game | rebounds | rebounds per game | assists | assists per game | field goal % | free throw % | 3-point % | points | points per game row 1 : allan houston | 78 | 2858 | 36.6 | 283 | 3.6 | 173 | 2.2 | 0.449 | 0.909 | 0.381 | 1459 | 18.7 row 2 : latrell sprewell | 77 | 3017 | 39.2 | 347 | 4.5 | 269 | 3.5 | 0.43 | 0.783 | 0.304 | 1364 | 17.7 row 3 : glen rice | 75 | 2212 | 29.5 | 307 | 4.1 | 89 | 1.2 | 0.44 | 0.852 | 0.389 | 899 | 12 row 4 : marcus camby | 63 | 2127 | 33.8 | 515 | 11.5 | 52 | 0.8 | 0.524 | 0.667 | 0.125 | 759 | 12 row 5 : kurt thomas | 77 | 2125 | 27.6 | 723 | 6.7 | 63 | 0.8 | 0.511 | 0.814 | 0.333 | 800 | 10.4 row 6 : larry johnson | 65 | 2105 | 32.4 | 363 | 5.6 | 127 | 2 | 0.411 | 0.797 | 0.313 | 645 | 9.9 row 7 : charlie ward | 61 | 1492 | 24.5 | 159 | 2.6 | 273 | 4.5 | 0.416 | 0.8 | 0.383 | 433 | 7.1 row 8 : othella harrington | 30 | 548 | 18.3 | 99 | 3.3 | 20 | 0.7 | 0.554 | 0.729 | None | 185 | 6.2 row 9 : mark jackson | 29 | 786 | 27.1 | 120 | 4.1 | 163 | 5.6 | 0.411 | 0.529 | 0.31 | 170 | 5.9 row 10 : chris childs | 51 | 1309 | 25.7 | 138 | 2.7 | 236 | 4.6 | 0.419 | 0.848 | 0.313 | 245 | 4.8 row 11 : erick strickland | 28 | 421 | 15 | 52 | 1.9 | 29 | 1 | 0.305 | 0.857 | 0.34 | 120 | 4.3 row 12 : lavor postell | 26 | 169 | 6.5 | 25 | 1 | 5 | 0.2 | 0.315 | 0.815 | 0.273 | 59 | 2.3 row 13 : felton spencer | 18 | 113 | 6.3 | 35 | 1.9 | 2 | 0.1 | 0.6 | 0.6 | None | 39 | 2.2 row 14 : luc longley | 25 | 301 | 12 | 66 | 2.6 | 7 | 0.3 | 0.333 | 0.765 | None | 49 | 2 row 15 : rick brunson | 15 | 66 | 4.4 | 12 | 0.8 | 7 | 0.5 | 0.421 | 0.667 | 0 | 20 | 1.3 row 16 : travis knight | 45 | 256 | 5.7 | 53 | 1.2 | 5 | 0.1 | 0.189 | 0.5 | 0 | 29 | 0.6 ] Execute this SQL based on the above table: select max ( points ) where player = 'charlie ward'
433.0
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 9 | kimi raikkonen | mclaren-mercedes | 44 | 1:30:01.295 | 2 | 10 row 2 : 2 | 5 | fernando alonso | renault | 44 | 28.394 | 4 | 8 row 3 : 3 | 3 | jenson button | bar-honda | 44 | 32.077 | 8 | 6 row 4 : 4 | 7 | mark webber | williams-bmw | 44 | +1:09.167 | 9 | 5 row 5 : 5 | 2 | rubens barrichello | ferrari | 44 | +1:18.136 | 12 | 4 row 6 : 6 | 11 | jacques villeneuve | sauber-petronas | 44 | +1:27.435 | 14 | 3 row 7 : 7 | 17 | ralf schumacher | toyota | 44 | +1:27.574 | 5 | 2 row 8 : 8 | 18 | tiago monteiro | jordan-toyota | 43 | +1 lap | 19 | 1 row 9 : 9 | 15 | christian klien | red bull-cosworth | 43 | +1 lap | 16 | None row 10 : 10 | 12 | felipe massa | sauber-petronas | 43 | +1 lap | 7 | None row 11 : 11 | 19 | narain karthikeyan | jordan-toyota | 43 | +1 lap | 20 | None row 12 : 12 | 21 | christijan albers | minardi-cosworth | 42 | +2 laps | 18 | None row 13 : 13 | 20 | robert doornbos | minardi-cosworth | 41 | +3 laps | 17 | None row 14 : 14 | 10 | juan pablo montoya | mclaren-mercedes | 40 | collision | 1 | None row 15 : 15 | 8 | antonio pizzonia | williams-bmw | 39 | collision | 15 | None row 16 : ret | 16 | jarno trulli | toyota | 34 | accident | 3 | None row 17 : ret | 14 | david coulthard | red bull-cosworth | 18 | engine | 11 | None row 18 : ret | 1 | michael schumacher | ferrari | 13 | collision | 6 | None row 19 : ret | 4 | takuma sato | bar-honda | 13 | collision | 10 | None row 20 : ret | 6 | giancarlo fisichella | renault | 10 | accident | 13 | None ] Execute this SQL based on the above table: select driver where id = ( select id where driver = 'jenson button' ) + 1
mark webber
[ header: month | year | player | county | club | position row 1 : april | 2006 | mark foley | limerick | adare | 4 row 2 : may | 2006 | eoin kelly | tipperary | mullinahone | 15 row 3 : june | 2006 | joe deane | cork | killeagh | 15 row 4 : august | 2006 | henry shefflin | kilkenny | ballyhale shamrocks | 14 row 5 : september | 2006 | james fitzpatrick | kilkenny | ballyhale shamrocks | 9 row 6 : may | 2007 | ronan curran | cork | st. finbarr's | 6 row 7 : june | 2007 | ollie moran | limerick | ahane | 11 row 8 : july | 2007 | dan shanahan | waterford | lismore | 10 row 9 : august | 2007 | andrew o'shaughness | limerick | kilmallock | 13 row 10 : september | 2007 | eddie brennan | kilkenny | graigue-ballycallan | 13 row 11 : april | 2008 | shane mcgrath | tipperary | ballinahinch | 9 row 12 : may | 2008 | david o'callaghan | dublin | st. mark's | 13 row 13 : june | 2008 | brian o'connell | clare | wolfe tones | 8 row 14 : july | 2008 | joe canning | galway | portumna | 14 row 15 : august | 2008 | derek lyng | kilkenny | emeralds | 9 row 16 : september | 2008 | eoin larkin | kilkenny | james stephens | 12 row 17 : may | 2009 | eoin cadogan | cork | douglas | 3 row 18 : june | 2009 | john mullane | waterford | de la salle | 13 row 19 : september | 2009 | tommy walsh | kilkenny | tullaroan | 5 row 20 : april | 2010 | ger farragher | galway | castlegar | 8 row 21 : may | 2010 | ger farragher | galway | castlegar | 8 row 22 : june | 2010 | damien hayes | galway | portumna | 14 row 23 : july | 2010 | michael walsh | waterford | stradbally | 6 row 24 : september | 2010 | lar corbett | tipperary | thurles sarsfield' | 11 row 25 : june | 2011 | padraic maher | tipperary | thurles sarsfield' | 6 row 26 : july | 2011 | lar corbett | tipperary | thurles sarsfield' | 12 row 27 : september | 2011 | tommy walsh | kilkenny | tullaroan | 5 row 28 : may | 2012 | willie hyland | laois | clough-ballacolla | 7 row 29 : june | 2012 | patrick maher | tipperary | lorrha-dorrha | 11 row 30 : september | 2012 | henry shefflin | kilkenny | ballyhale shamrocks | 15 row 31 : may | 2013 | cahir healy | laois | portlaoise | 8 row 32 : september | 2013 | shane o'donnell | clare | eire og | 14 ] Execute this SQL based on the above table: select count ( player ) where player = 'tommy walsh'
2
[ header: year | car | start | qual | rank | finish | laps | led | retired row 1 : 1956 | 14 | 23 | 142.535 | 16 | 7 | 200 | 0 | running row 2 : 1957 | 7 | 16 | 141.016 | 19 | 9 | 200 | 0 | running row 3 : 1958 | 14 | 4 | 144.881 | 4 | 26 | 1 | 0 | crash t3 row 4 : 1959 | 74 | 7 | 144.023 | 8 | 12 | 200 | 0 | running row 5 : 1960 | 44 | 25 | 143.363 | 23 | 8 | 200 | 0 | running row 6 : 1962 | 96 | 19 | 146.157 | 32 | 33 | 12 | 0 | engine row 7 : 1963 | 86 | 24 | 148.289 | 26 | 26 | 74 | 0 | valve row 8 : 1964 | 54 | 23 | 153.381 | 10 | 19 | 88 | 0 | piston row 9 : 1965 | 54 | 10 | 156.427 | 11 | 24 | 58 | 0 | piston row 10 : 1967 | 46 | 28 | 162.58 | 32 | 11 | 189 | 0 | flagged row 11 : 1968 | 16 | 24 | 163.495 | 24 | 11 | 196 | 0 | flagged row 12 : totals | totals | totals | totals | totals | totals | 1418 | 0 | None ] Execute this SQL based on the above table: select distinct retired where retired != 'flagged'
running, crash t3, engine, valve, piston
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | venezuela | 5 | 2 | 3 | 10 row 2 : 2 | colombia | 4 | 4 | 9 | 17 row 3 : 3 | dominican republic | 4 | 3 | 4 | 11 row 4 : 4 | peru | 3 | 3 | 8 | 14 row 5 : 5 | ecuador | 2 | 3 | 3 | 8 row 6 : 6 | guatemala | 1 | 1 | 1 | 3 row 7 : 7 | chile | 0 | 3 | 2 | 5 row 8 : 8 | panama | 0 | 0 | 3 | 3 row 9 : 9 | bolivia | 0 | 0 | 1 | 1 row 10 : 9 | paraguay | 0 | 0 | 1 | 1 row 11 : total | total | 19 | 19 | 35 | 73 ] Execute this SQL based on the above table: select nation where gold < ( select gold where nation = 'ecuador' ) order by gold desc limit 1
guatemala
[ 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 count ( 1,75 ) where rank < 4
3
[ header: player | team | date | opponent | venue row 1 : tony lazzeri | new york yankees | may 24, 1936 | philadelphia athletics | shibe park row 2 : jim tabor | boston red sox | 07/04/39 | philadelphia athletics | shibe park row 3 : rudy york | boston red sox | july 27, 1946 | st. louis browns | sportsman's park row 4 : jim gentile | baltimore orioles | may 9, 1961 | minnesota twins | metropolitan stadium row 5 : tony cloninger | atlanta braves | july 3, 1966 | san francisco giants | candlestick park row 6 : jim northrup | detroit tigers | june 24, 1968 | cleveland indians | cleveland stadium row 7 : frank robinson | baltimore orioles | june 26, 1970 | washington senators | rfk stadium row 8 : robin ventura | chicago white sox | september 4, 1995 | texas rangers | the ballpark in arlington row 9 : chris hoiles | baltimore orioles | august 14, 1998 | cleveland indians | jacobs field row 10 : fernando tatis | st. louis cardinals | april 23, 1999 | los angeles dodgers | dodger stadium row 11 : nomar garciaparra | boston red sox | may 10, 1999 | seattle mariners | fenway park row 12 : bill mueller | boston red sox | july 29, 2003 | texas rangers | the ballpark in arlington row 13 : josh willingham | washington nationals | july 27, 2009 | milwaukee brewers | miller park ] Execute this SQL based on the above table: select player where date = '07/04/39'
jim tabor
[ header: season | level | division | section | position | movements row 1 : 1985 | tier 4 | division 3 | norra norrland | 5th | None row 2 : 1986 | tier 4 | division 3 | norra norrland | 4th | promoted row 3 : 1987 | tier 3 | division 2 | norra | 5th | None row 4 : 1988 | tier 3 | division 2 | norra | 1st | promoted row 5 : 1989 | tier 2 | division 1 | norra | 3rd | None row 6 : 1990 | tier 2 | division 1 | norra | 6th | None row 7 : 1991 | tier 2 | division 1 | norra | 1st | spring row 8 : None | tier 2 | division 1 | kvalsvenskan | 8th | autumn row 9 : 1992 | tier 2 | division 1 | norra | 7th | spring row 10 : None | tier 2 | division 1 | norra | 8th | autumn - relegated row 11 : 1993 | tier 3 | division 2 | norrland | 1st | promoted row 12 : 1994 | tier 2 | division 1 | norra | 13th | relegated row 13 : 1995 | tier 3 | division 2 | norrland | 9th | None row 14 : 1996 | tier 3 | division 2 | norrland | 8th | None row 15 : 1997 | tier 3 | division 2 | norrland | 6th | None row 16 : 1998 | tier 3 | division 2 | norrland | 7th | None row 17 : 1999 | tier 3 | division 2 | norrland | 3rd | None row 18 : 2000 | tier 3 | division 2 | norrland | 8th | None row 19 : 2001 | tier 3 | division 2 | norrland | 10th | relegation playoffs row 20 : 2002 | tier 3 | division 2 | norrland | 10th | relegation playoffs row 21 : 2003 | tier 3 | division 2 | norrland | 10th | relegation playoffs row 22 : 2004 | tier 3 | division 2 | norrland | 7th | None row 23 : 2005 | tier 3 | division 2 | norrland | 4th | promoted row 24 : 2006 | tier 3 | division 1 | norra | 14th | relegated row 25 : 2007 | tier 4 | division 2 | norrland | 10th | relegation playoffs row 26 : 2008 | tier 4 | division 2 | norrland | 12th | relegated row 27 : 2009 | tier 5 | division 3 | norra norrland | 8th | None row 28 : 2010 | tier 5 | division 3 | norra norrland | 3rd | None row 29 : 2011 | tier 5 | division 3 | norra norrland | 2nd | promotion playoffs row 30 : 2012 | tier 5 | division 3 | norra norrland | 3rd | None ] Execute this SQL based on the above table: select division where season = 1990 and season = 1990
division 1
[ header: year | competition | venue | position | notes row 1 : 1996 | olympic games | atlanta, united states | 36th (q) | 5.55 m row 2 : 1998 | asian games | bangkok, thailand | 8th | 6.07 m row 3 : 1999 | world championships | seville, spain | 23rd (q) | 6.40 m row 4 : 2000 | olympic games | sydney, australia | 14th (q) | 6.57 m row 5 : 2001 | world championships | edmonton, canada | 13th (q) | 6.46 m row 6 : 2002 | asian championships | colombo, sri lan | 1st | 6.61 m row 7 : 2002 | asian games | busan, south korea | 3rd | 6.30 m row 8 : 2003 | world championships | paris, france | 23rd (q) | 6.13 m row 9 : 2003 | asian championships | manila, philippines | 6th | 6.23 m row 10 : 2004 | olympic games | athens, greece | 11th | 6.53 m ] Execute this SQL based on the above table: select venue where venue < ( select venue where position = '13th (q)' ) order by venue desc limit 1
colombo, sri lanka
[ header: institution | location | nickname | founded | historical affiliation | enrollment | primary conference row 1 : brown university | providence, rhode island | bears | 1764 | nonsectarian, founded by bapt | 7744 | ivy league row 2 : clarkson university | potsdam, new york | golden knights | 1896 | private/non-sectarian | 3100 | liberty league (d-iii) row 3 : colgate university | hamilton, new york | raiders | 1819 | private/non-sectarian, founded | 2800 | patriot league row 4 : cornell university | ithaca, new york | big red | 1865 | private/non-sectarian | 20400 | ivy league row 5 : dartmouth college | hanover, new hampshire | big green | 1769 | private/congregationalist | 5753 | ivy league row 6 : harvard university | cambridge, massachusetts | crimson | 1636 | private/unitarian | 20042 | ivy league row 7 : princeton university | princeton, new jersey | tigers | 1746 | nonsectarian, but founded by pres | 6677 | ivy league row 8 : quinnipiac university | hamden, connecticut | bobcats | 1929 | private/non-sectarian | 7700 | maac row 9 : rensselaer polytechnic institute | troy, new york | engineers | 1824 | private/non-sectarian | 6376 | liberty league (d-iii) row 10 : st. lawrence university | canton, new york | saints | 1856 | non-denominational, founded by universal | 2100 | liberty league (d-iii) row 11 : union college | schenectady, new york | dutchmen | 1795 | private/non-sectarian | 2100 | liberty league (d-iii) row 12 : yale university | new haven, connecticut | bulldogs | 1701 | private/congregationalist | 11483 | ivy league ] Execute this SQL based on the above table: select location where nickname = 'saints' and founded > ( select founded where location = 'troy, new york' ) order by founded limit 1
canton, new york
[ header: date | opponent | site | result | attendance | record row 1 : thu., dec. 5, 1940 | at loyola maryland | alumni gymnasium • baltimore, | l 32-36 | None | 0-1 row 2 : tue., dec. 10, | western maryland | riverside stadium • washington, dc | w 41-29 | None | 1-1 row 3 : thu., dec. 12, 1940 | at american | clendenen gymnasium • washington | w 41-35 | None | 2-1 row 4 : mon., dec. 16, 1940 | george washington | riverside stadium • washington, dc | w 50-42 | None | 3-1 row 5 : wed., dec. 18, 1940 | at loyola chicago | chicago stadium • chicago, | w 38-35 | None | 4-1 row 6 : wed, jan. 8, 1941 | at canisius | buffalo memorial auditorium • buffalo, ny | w 53-35 | None | 5-1 row 7 : fri., jan. 10, 1941 | at temple | philadelphia convention hall • phil | w 46-45 | None | 6-1 row 8 : wed., jan 15, 1941 | at army | hayes gymnasium • west point, n | w 40-28 | None | 7-1 row 9 : thu., jan. 16, 1941 | new york university | riverside stadium • washington, dc | w 36-27 | None | 8-1 row 10 : fri., jan. 17, 1941 | at maryland | ritchie coliseum • | w 51-34 | None | 9-1 row 11 : wed., jan. 22, 1941 | at navy | dahlgren hall • annapolis, | w 38-18 | None | 10-1 row 12 : wed, jan. 29, 1941 | penn state | riverside stadium • washington, dc | w 28-24 ot | None | 11-1 row 13 : wed., feb. 5, | at syracuse | archbold gymnasium • syrac | l 43-49 | None | 11-2 row 14 : thu., feb. | at colgate | huntington gymnasium • hamilton, | w 39-36 | None | 12-2 row 15 : fri., feb. 7, 1941 | at yale | payne whitney gymnasium • | w 41-39 | None | 13-2 row 16 : mon, feb. 10, 1941 | temple | riverside stadium • washington, dc | w 57-49 | 7000 | 14-2 row 17 : wed., feb. 19, | at penn state | recreation hall • state college, pa | l 38-45 | None | 14-3 row 18 : thu., feb. | at scranton | watres armory • scranton, | w 51-40 | None | 15-3 row 19 : fri., feb. 28, 1941 | at fordham | madison square garden • new york, | l 42-52 | None | 15-4 row 20 : thu., mar. 6, 1941 | at george washington | riverside stadium • washington, dc | w 41-34 | None | 16-4 ] Execute this SQL based on the above table: select site group by site order by count ( attendance ) desc limit 1
riverside stadium • washington, dc
[ header: mlb season | team season | league | division | finish | wins | losses | win % | gb | postseason | awards row 1 : 1969 | 1969 | al | west | 6th | 64 | 98 | 0.395 | 33 | None | None row 2 : 1970 | 1970 | al | west | 4th | 65 | 97 | 0.401 | 33 | None | None row 3 : 1971 | 1971 | al | west | 6th | 69 | 92 | 0.429 | 32 | None | None row 4 : 1973 | 1973 | al | east | 5th | 74 | 88 | 0.457 | 23 | None | None row 5 : 1974 | 1974 | al | east | 5th | 76 | 86 | 0.469 | 15 | None | None row 6 : 1976 | 1976 | al | east | 6th | 66 | 95 | 0.41 | 32 | None | None row 7 : 1977 | 1977 | al | east | 6th | 67 | 95 | 0.414 | 33 | None | None row 8 : 1979 | 1979 | al | east | 2nd | 95 | 66 | 0.59 | 8 | None | None row 9 : 1981 | 1981 | al | east | 3rd | 31 | 25 | 0.554 | 3 | lost alds vs. new york | rollie fingers (mvp, row 10 : 1981 | 1981 | al | east | 1st | 31 | 22 | 0.585 | None | lost alds vs. new york | rollie fingers (mvp, row 11 : 1982 | 1982 | al | east | 1st | 95 | 67 | 0.586 | None | won alcs vs. cali | robin yount (mvp row 12 : 1983 | 1983 | al | east | 5th | 87 | 75 | 0.537 | 11 | None | cecil cooper (rca) row 13 : 1984 | 1984 | al | east | 7th | 67 | 94 | 0.416 | 361⁄2 | None | None row 14 : 1988 | 1988 | al | east | 3rd | 87 | 75 | 0.537 | 2 | None | None row 15 : 1993 | 1993 | al | east | 7th | 69 | 93 | 0.426 | 26 | None | None row 16 : 1997 | 1997 | al | central | 3rd | 78 | 83 | 0.484 | 8 | None | None row 17 : 1999 | 1999 | nl | central | 5th | 74 | 87 | 0.46 | 221⁄2 | None | None row 18 : 2000 | 2000 | nl | central | 3rd | 73 | 89 | 0.451 | 22 | None | None row 19 : 2001 | 2001 | nl | central | 4th | 68 | 94 | 0.42 | 25 | None | None row 20 : 2002 | 2002 | nl | central | 6th | 56 | 106 | 0.346 | 41 | None | None row 21 : 2003 | 2003 | nl | central | 6th | 68 | 94 | 0.412 | 20 | None | None row 22 : 2004 | 2004 | nl | central | 6th | 67 | 94 | 0.411 | 371⁄2 | None | None row 23 : 2007 | 2007 | nl | central | 2nd | 83 | 79 | 0.512 | 2 | None | ryan braun (roy) prince field row 24 : 2008 | 2008 | nl | central | 2nd | 90 | 72 | 0.556 | 71⁄2 | lost nlds vs. | None row 25 : 2009 | 2009 | nl | central | 3rd | 80 | 82 | 0.494 | 11 | None | None ] Execute this SQL based on the above table: select finish where losses > ( select losses where finish = '6th' )
6th
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 22 june 2008 | addis abeba | mauritania | 6-1 | win | 2010 wc qualification row 2 : 2 | 30 november 2009 | nairobi | djibouti | 5-0 | win | 2009 cecafa cup row 3 : 3 | 8 october 2011 | addis abeba | madagascar | 4-2 | win | 2012 caf qualification row 4 : 4 | 2 december 2011 | dar es salaam | malawi | 1-1 | draw | 2011 cecafa cup row 5 : 5 | 17 june 2012 | cotonou | benin | 1-1 | draw | 2013 africa cup of nations qualifier row 6 : 6 | 8 september 2012 | khartoum | sudan | 3-5 | loss | 2013 africa cup of nations qualifier row 7 : 7 | 14 september 2012 | addis abeba | sudan | 2-0 | win | 2013 africa cup of nations qualifier row 8 : 8 | 21 january 2013 | nelspruit | zambia | 1-1 | draw | 2013 africa cup of nations ] Execute this SQL based on the above table: select competition where id = ( select id where competition = '2013 africa cup of nations qualifier' ) - 1
2011 cecafa cup
[ 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 interval name order by size (steps) asc limit 1
greater tridecimal 2/3 tone
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | china | 10 | 5 | 1 | 16 row 2 : 2 | north korea | 3 | 3 | 4 | 10 row 3 : 3 | japan | 1 | 3 | 3 | 7 row 4 : 4 | chinese taipei | 1 | 1 | 1 | 3 row 5 : 5 | hong kong | 0 | 1 | 0 | 1 row 6 : 6 | south korea | 0 | 0 | 3 | 3 row 7 : 7 | india | 0 | 0 | 1 | 1 row 8 : 7 | kazakhstan | 0 | 0 | 1 | 1 row 9 : 7 | syria | 0 | 0 | 1 | 1 row 10 : total | total | 15 | 13 | 15 | 43 ] Execute this SQL based on the above table: select total where rank < 435 order by gold desc limit 1
16
[ header: club | league | sport | venue | established | championships row 1 : madison mustangs | ifl | american football | breitenbach stadium | 1997 | 4 consecutive ironbowls row 2 : madison mallards | nl | baseball | warner park | 2001 | 1 championship row 3 : madison 56ers | npsl | soccer | breese stevens field | 2005 | 0 championships row 4 : wisconsin rugby club | wrfu | rugby | wisconsin rugby club sports complex | 1962 | 2 championships row 5 : madison minotaurs | wrfu | rugby | yahara rugby field | 2007 | 0 bingham cups row 6 : wisconsin badgers | big ten, ncaa div | 23 varsity teams | camp randall stadium, kohl center | 1849 | 27 championships row 7 : edgewood eagles | nacc, ncaa div | 16 varsity teams | edgedome | 1974 | 35 championships row 8 : madison college wolfpack | n4c, njcaa | 8 varsity teams | redsten gymnasium, roberts | 1912 | 21 championships row 9 : mad rollin' dolls | wftda | roller derby | alliant energy center | 2005 | 0 championships row 10 : madison blues | glhl | hockey | capitol ice arena | 2010 | 0 championships ] Execute this SQL based on the above table: select ( select established where established = 2001 ) > 2005
0
[ header: rank | name | nationality | time | notes row 1 : None | jill sterkel | united states | 1:00.53 | nr, gr row 2 : None | lisa buese | united states | 1:00.59 | None row 3 : None | nancy garapick | canada | 1:02.96 | None row 4 : 4 | shelley cramer | u.s. virgin islands | 1:03.51 | nr row 5 : 5 | susan sloan | canada | 1:03.52 | None row 6 : 6 | maria paris | costa rica | 1:03.58 | None row 7 : 7 | rosanna juncos | argentina | 1:04.75 | None row 8 : 8 | adriana pereira | brazil | 1:06.79 | None ] Execute this SQL based on the above table: select count ( notes )
2
[ header: pos | no | driver | constructor | lap | gap row 1 : 1 | 98 | walt faulkner | kurtis kraft-offenhaus | 4:27.97 | None row 2 : 2 | 28 | fred agabashian | kurtis kraft-offenhaus | 4:31.10 | + 3.13 row 3 : 3 | 31 | mauri rose | deidt-offenhauser | 4:32.07 | + 4.10 row 4 : 4 | 5 | george connor | lesovsky-offenhauser | 4:32.39 | + 4.42 row 5 : 5 | 1 | johnnie parsons | kurtis kraft-offenhaus | 4:32.43 | + 4.46 row 6 : 6 | 49 | jack mcgrath | kurtis kraft-offenhaus | 4:33.00 | + 5.03 row 7 : 7 | 69 | duke dinsmore | kurtis kraft-offenhaus | 4:34.67 | + 6.70 row 8 : 8 | 14 | tony bettenhausen | deidt-offenhauser | 4:34.92 | + 6.95 row 9 : 9 | 17 | joie chitwood | kurtis kraft-offenhaus | 4:35.32 | + 7.35 row 10 : 10 | 3 | bill holland | deidt-offenhauser | 4:35.90 | + 7.93 row 11 : 11 | 59 | pat flaherty | kurtis kraft-offenhaus | 4:37.76 | + 9.79 row 12 : 12 | 54 | cecil green | kurtis kraft-offenhaus | 4:30.86 | + 2.89 row 13 : 13 | 18 | duane carter | stevens-offenhauser | 4:33.42 | + 5.45 row 14 : 14 | 21 | spider webb | maserati-offenhauser | 4:37.46 | + 9.49 row 15 : 16 | 2 | myron fohr | marchese-offenhauser | 4:33.32 | + 5.35 row 16 : 17 | 24 | bayliss levrett | adams-offenhauser | 4:34.43 | + 6.46 row 17 : 18 | 45 | dick rathmann | watson-offenhauser | 4:34.96 | + 6.99 row 18 : 19 | 7 | paul russo | nichels-offenhauser | 4:35.25 | + 7.28 row 19 : 21 | 12 | henry banks | maserati-offenhauser | 4:37.68 | + 9.71 row 20 : 22 | 67 | bill schindler | snowberger-offenhauser | 4:31.31 | + 3.34 row 21 : 23 | 8 | lee wallard | moore-offenhauser | 4:31.83 | + 3.86 row 22 : 24 | 55 | troy ruttman | lesovsky-offenhauser | 4:32.91 | + 4.94 row 23 : 26 | 15 | mack hellings | kurtis kraft-offenhaus | 4:35.32 | + 7.35 row 24 : 27 | 22 | jimmy davies | ewing-offenhauser | 4:36.07 | + 8.10 row 25 : 29 | 27 | walt ader | rae-offenhauser | 4:37.05 | + 9.08 row 26 : 30 | 77 | jackie holmes | olson-offenhauser | 4:37.57 | + 9.60 row 27 : 32 | 61 | jimmy jackson | kurtis kraft-cummins | 4:38.62 | + 10.65 row 28 : 33 | 62 | johnny mcdowell | kurtis kraft-offenhaus | 4:37.58 | + 9.61 ] Execute this SQL based on the above table: select driver where pos < ( select pos where driver = 'walt ader' ) order by pos desc limit 1
jimmy davies
[ header: team #1 | agg. | team #2 | 1st leg | 2nd leg row 1 : florina | 0-3 | panachaiki | 0-1 | 0-2 row 2 : kilkisiakos | 1-2 | panarkadikos | 1-0 | 0-2 row 3 : kallithea | 2-7 | makedonikos | 2-2 | 0-5 row 4 : panathinaikos | 9-1 | panelefsiniakos | 5-0 | 4-1 row 5 : anagennisi arta | 1-6 | olympiacos | 1-1 | 0-5 row 6 : paok (a.g.) | 3-3 | aris | 2-0 | 1-3 row 7 : kavala (a.g.) | 2-2 | aiolikos | 1-0 | 1-2 row 8 : kozani | 2-1 | fostiras | 1-0 | 1-1 row 9 : diagoras | 3-4 | korinthos | 2-2 | 1-2 row 10 : larissa | 8-1 | neapoli piraeus | 7-0 | 1-1 row 11 : thiva | 2-3 | proodeftiki | 1-1 | 1-2 row 12 : edessaikos | 1-2 | levadiakos | 1-0 | 0-2 row 13 : pierikos | 2-1 | ethnikos asteras | 2-0 | 0-1 row 14 : ethnikos olymp | 2-1 | thriamvos | 2-1 | 0-0 row 15 : lamia | 4-3 | kastoria | 4-2 | 0-1 row 16 : panionios | 3-1 | pas giannina | 3-1 | 0-0 ] Execute this SQL based on the above table: select 2nd leg where 2nd leg != '0-1' and 1st leg = ( select 1st leg where 2nd leg = '0-1' )
1-3
[ header: rank | team | names | time | qualification row 1 : 1 | france | christophe capelle philippe | 4:09.570 | q row 2 : 2 | italy | adler capelli mauro trent | 4:09.695 | q row 3 : 3 | australia | bradley mcgee stuart | 4:09.750 | q row 4 : 4 | ukraine | bohdan bondaryev ol | 4:11.545 | q row 5 : 5 | russia | eduard gritsun | 4:11.665 | q row 6 : 6 | united states | dirk copeland mariano friedick | 4:11.950 | q row 7 : 7 | spain | juan martinez juan | 4:12.780 | q row 8 : 8 | new zealand | gregory henderson bren | 4:15.140 | q row 9 : 9 | germany | robert bartko gui | 4:15.140 | None row 10 : 10 | great britain | robert hayes matthew | 4:16.510 | None row 11 : 11 | lithuania | arturas kasputis re | 4:16.050 | None row 12 : 12 | netherlands | jarich bakker robertus | 4:16.175 | None row 13 : 13 | denmark | frederik bertelsen j | 4:16.175 | None row 14 : 14 | argentina | walter perez edgardo | 4:20.840 | None row 15 : 15 | south korea | dae-hong chun young chung | 4:25.215 | None row 16 : 16 | chile | jose medina luis sepulve | 4:25.960 | None row 17 : 17 | colombia | john garcia marlon perez | 4:26.400 | None ] Execute this SQL based on the above table: select qualification where rank = 2
q
[ header: no. | date | location | surface | opponent in final | score row 1 : 1 | 28 august 2000 | spoleto, italy $10,000 | clay | maret ani | 6-2 7-6(7) row 2 : 2 | 9 april 2001 | san luis potosi, | clay | martina muller | 6-4 7-5 row 3 : 3 | 16 april 2001 | coatzacoalcos, mexico | hard | gabriela volekova | 6-1 6-3 row 4 : 4 | 15 october 2002 | sedona, usa $25,000 | hard | brie rippner | 6-3 4-6 6-3 row 5 : 5 | 5 november 2002 | pittsburgh, usa $50,000 | hard | maria sharapova | 7-6(4) 6-2 row 6 : 6 | 14 april 2003 | san luis potosi, | clay | maria vanina garcia sokol | 6-0 6-4 row 7 : 7 | 27 april 2009 | cagnes-sur-mer, france | clay | zuzana ondraskova | 6-1 6-2 row 8 : 8 | 1 june 2009 | nottingham, england $50,000 | grass | stefanie vogele | 6-2 4-6 6-1 ] Execute this SQL based on the above table: select opponent in final where no. = ( select no. where opponent in final = 'maret ani' ) + 1
martina muller
[ header: position | player | free agency tag | date signed | 2013 team row 1 : qb | josh mccown | ufa | march 29 | chicago bears row 2 : rb | kahlil bell | ufa | august 11 | new york jets row 3 : og | lance louis | ufa | march 27 | miami dolphins row 4 : og | chris spencer | ufa | april 1 | tennessee titans row 5 : og | chilo rachal | ufa | april 10 | arizona cardinals row 6 : ot | jonathan scott | ufa | march 25 | chicago bears row 7 : de | israel idonije | ufa | june 25 | detroit lions row 8 : dt | amobi okoye | ufa | None | None row 9 : lb | geno hayes | ufa | march 13 | jacksonville jaguars row 10 : lb | nick roach | ufa | march 15 | oakland raiders row 11 : cb | zack bowman | ufa | march 15 | chicago bears row 12 : cb | d. j. moore | ufa | march 19 | carolina panthers row 13 : s | troy nolan | ufa | july 29 | tampa bay buccaneers row 14 : k | olindo mare | ufa | None | None ] Execute this SQL based on the above table: select position where id = ( select id where free agency tag = 'ufa' ) + 1
rb
[ header: year | award | result | category | series row 1 : 2004 | bet comedy awards | won | outstanding supporting actor in a comedy series | scrubs row 2 : 2002 | bet comedy awards | won | outstanding supporting actor in a comedy series | scrubs row 3 : 2004 | teen choice awards | nominated | choice tv sidekick | scrubs row 4 : 2005 | teen choice awards | nominated | choice tv sidekick | scrubs row 5 : 2006 | teen choice awards | nominated | choice tv sidekick | scrubs row 6 : 2007 | teen choice awards | nominated | choice tv sidekick | scrubs row 7 : 2005 | naacp image awards | nominated | outstanding supporting actor in a comedy series | scrubs row 8 : 2006 | naacp image awards | nominated | outstanding actor in a comedy series | scrubs row 9 : 2007 | naacp image awards | nominated | outstanding actor in a comedy series | scrubs row 10 : 2008 | naacp image awards | nominated | outstanding actor in a comedy series | scrubs ] Execute this SQL based on the above table: select count ( series )
10
[ header: | wine | rank | beer | rank | spirits | rank | total | rank↓ row 1 : yukon | 18.3 | 1 | 90.6 | 1 | 13.8 | 1 | 12.7 | 1 row 2 : northwest territories | 8.1 | 7 | 55.2 | 5 | 10.8 | 2 | 9.2 | 2 row 3 : alberta | 13.9 | 4 | 89.8 | 4 | 7.6 | 9 | 8.6 | 3 row 4 : newfoundland & labrador | 6.5 | 11 | 93.3 | 3 | 7.3 | 10 | 8 | 4 row 5 : british columbia | 14.5 | 3 | 76.6 | 12 | 9 | 7 | 7.8 | 5 row 6 : ontario | 11.8 | 5 | 84.3 | 6 | 8.8 | 8 | 7.8 | 6 row 7 : quebec | 17.4 | 2 | 93.9 | 2 | 4.1 | 12 | 7.8 | 7 row 8 : prince edward island | 7.4 | 10 | 78.9 | 9 | 9.7 | 3 | 7.5 | 8 row 9 : nova scotia | 8 | 8 | 79.5 | 8 | 9.1 | 5 | 7.5 | 9 row 10 : manitoba | 8 | 9 | 76.8 | 10 | 9.4 | 4 | 7.4 | 10 row 11 : saskatchewan | 5 | 12 | 76.8 | 11 | 9.1 | 6 | 7 | 11 row 12 : new brunswick | 8.4 | 6 | 79.8 | 7 | 6.8 | 11 | 6.7 | 12 row 13 : nunavut | None | None | None | None | None | None | None | None row 14 : canada | 13.1 | None | 85.6 | None | 7.5 | None | 7.8 | None ] Execute this SQL based on the above table: select wine where = 'manitoba'
8.0
[ header: year | competition | venue | position | notes row 1 : 2002 | european championships | munich, germany | 6th | 7.78 m row 2 : 2003 | world championships | paris, france | 9th | 7.93 m row 3 : 2004 | olympic games | athens, greece | 5th | 8.25 m row 4 : 2006 | european championships | gothenburg, sweden | 9th | 7.74 m row 5 : 2008 | world indoor championships | valencia, spain | 2nd | 8.06 m row 6 : 2008 | olympic games | beijing, china | 27th | 7.70 m row 7 : 2009 | world championships | berlin, germany | 8th | 8.06 m row 8 : 2010 | european championships | barcelona, spain | 3rd | 8.23 m row 9 : 2011 | european team championships | stockholm, sweden | 3rd | 8.12 m row 10 : 2011 | world championships | daegu, south korea | 11th | 7.87 m row 11 : 2012 | olympic games | london, england | 6th | 8.07 m row 12 : 2013 | european indoor championships | gothenburg, sweden | 7th | 7.95 m ] Execute this SQL based on the above table: select venue where year = 2004
athens, greece
[ header: entrant | constructor | chassis | engine | no | driver row 1 : team ensign | ensign | n180b | cosworth dfv v8 | 3 | jim crawford row 2 : team ensign | ensign | n180b | cosworth dfv v8 | 4 | joe castellano row 3 : colin bennett racing | mclaren | m29 | cosworth dfv v8 | 6 | arnold glass row 4 : colin bennett racing | march | 811 | cosworth dfv v8 | 7 | val musetti row 5 : team sanada | fittipaldi | f8 | cosworth dfv v8 | 8 | tony trimmer row 6 : warren booth | shadow | dn9 | cosworth dfv v8 | 11 | warren booth row 7 : john jordan | brm | p207 | brm 202 v12 | 12 | david williams row 8 : nick mason | tyrrell | 8 | cosworth dfv v8 | 14 | john brindley row 9 : emka productions | williams | fw07 | cosworth dfv v8 | 16 | steve o'rourke row 10 : team peru | williams | fw07 | cosworth dfv v8 | 82 | jorge koechlin ] Execute this SQL based on the above table: select constructor where no = 14
tyrrell
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 4 | robert kubica | bmw sauber | 70 | 1:36:24.227 | 2 | 10 row 2 : 2 | 3 | nick heidfeld | bmw sauber | 70 | 16.495 | 8 | 8 row 3 : 3 | 9 | david coulthard | red bull-renault | 70 | 23.352 | 13 | 6 row 4 : 4 | 12 | timo glock | toyota | 70 | 42.627 | 11 | 5 row 5 : 5 | 2 | felipe massa | ferrari | 70 | 43.934 | 6 | 4 row 6 : 6 | 11 | jarno trulli | toyota | 70 | 47.775 | 14 | 3 row 7 : 7 | 17 | rubens barrichello | honda | 70 | 53.597 | 9 | 2 row 8 : 8 | 15 | sebastian vettel | toro rosso-ferr | 70 | 54.12 | 19 | 1 row 9 : 9 | 23 | heikki kovalain | mclaren-mercedes | 70 | 54.433 | 7 | None row 10 : 10 | 7 | nico rosberg | williams-toyota | 70 | 54.749 | 5 | None row 11 : 11 | 16 | jenson button | honda | 70 | +1:07.540 | 20 | None row 12 : 12 | 10 | mark webber | red bull-renault | 70 | +1:11.299 | 10 | None row 13 : 13 | 14 | sebastien bourdais | toro rosso-ferr | 69 | +1 lap | 18 | None row 14 : ret | 21 | giancarlo fisichella | force india-ferrari | 51 | spun off | 17 | None row 15 : ret | 8 | kazuki nakajima | williams-toyota | 46 | accident | 12 | None row 16 : ret | 5 | fernando alonso | renault | 44 | spun off | 4 | None row 17 : ret | 6 | nelson piquet j | renault | 43 | brakes | 15 | None row 18 : ret | 1 | kimi raikkonen | ferrari | 19 | collision | 3 | None row 19 : ret | 22 | lewis hamilton | mclaren-mercedes | 19 | collision | 1 | None row 20 : ret | 20 | adrian sutil | force india-ferrari | 13 | gearbox | 16 | None ] Execute this SQL based on the above table: select count ( pos )
20
[ header: title | year | language | role | notes row 1 : shakti | 1982 | hindi | None | credited as "murliss" row 2 : maqbool | 2003 | hindi | devsare | None row 3 : market | 2003 | hindi | None | None row 4 : main hoon na | 2004 | hindi | khan | None row 5 : masti: sanam teri | 2004 | hindi | eunuch at band stand | None row 6 : mangal pandey: the rising | 2005 | hindi | sheikh paltu | None row 7 : apaharan | 2005 | hindi | muralidhar | None row 8 : chocolate | 2005 | hindi | None | None row 9 : teesri aank | 2006 | hindi | dinesh | None row 10 : rockin' meera | 2006 | None | prem | None row 11 : fight club - members only | 2006 | hindi | None | None row 12 : buddha mar gaya | 2006 | hindi | rohan alexander | None row 13 : dhol | 2007 | hindi | zicomo | None row 14 : athidi | 2007 | telugu | kaiser/ajay sastr | None row 15 : eik dasttak | 2007 | None | None | None row 16 : black friday | 2004 | hindi | None | None row 17 : laaga chunari mein daag | 2007 | hindi | None | None row 18 : one two three | 2008 | hindi | mm munde | None row 19 : jaane tu... ya | 2008 | hindi | inspector (special appearance) | None row 20 : mere khwabon mein jo | 2009 | None | None | None row 21 : chal chala chal | 2009 | hindi | gajendra singh | None row 22 : 13b: fear has a new address | 2009 | tamil/hindi | inspector shiva | None row 23 : saluun | 2009 | None | sipahi ji | None row 24 : rokkkit | 2010 | None | None | None row 25 : lamhaa | 2010 | hindi | news reporter | None row 26 : dabangg | 2010 | hindi | None | None row 27 : tees maar khan | 2010 | hindi | agent-mukherjee | None row 28 : oosaravelli | 2011 | telugu | chota gangleader | None row 29 : singham | 2011 | hindi | sp | None row 30 : chatur singh two star | 2011 | hindi | None | None row 31 : aalaap | 2012 | hindi | naxalite | None row 32 : jeena hai toh thok | 2012 | hindi | hanumant singh | None row 33 : chakravyuh | 2012 | hindi | None | None row 34 : krishnam vande jaga | 2012 | telugu | chakravarthi | None row 35 : karma yodha | 2012 | malayalam | None | None row 36 : hungame pe hungama | 2013 | hindi | None | None row 37 : platform no. 6 | 2013 | telugu | None | None row 38 : pattathu yaana | 2013 | tamil | marudhamuthu | None row 39 : zindagi 50-50 | 2013 | hindi | None | None row 40 : yevadu | 2013 | telugu | durani | None row 41 : karmachari | 2013 | telugu | None | None ] Execute this SQL based on the above table: select min ( year )
1982
[ header: seat | state | majority | member | party row 1 : hinkler | qld | 0 | paul neville | npa row 2 : solomon | nt | 0.1 | dave tollner | lib row 3 : adelaide | sa | 0.2 | hon trish worth | lib row 4 : canning | wa | 0.4 | don randall | lib row 5 : dobell | nsw | 0.4 | ken ticehurst | lib row 6 : parramatta | nsw | 1.1 | ross cameron | lib row 7 : mcewen | vic | 1.2 | fran bailey | lib row 8 : paterson | nsw | 1.4 | bob baldwin | lib row 9 : herbert | qld | 1.6 | peter lindsay | lib row 10 : richmond | nsw | 1.6 | hon larry anthony | npa row 11 : deakin | vic | 1.7 | philip barresi | lib row 12 : eden-monaro | nsw | 1.7 | gary nairn | lib row 13 : hindmarsh | sa | 1.9 | hon christine gallus | lib ] Execute this SQL based on the above table: select count ( * ) where majority = '0.2'
1
[ header: year 1958 | title {the rebel | role | notes row 1 : 1958 | sea hunt | seminard | 1 episode row 2 : 1960 | bourbon street beat | joe leslie | 1 episode row 3 : 1960 | surfside 6 | mr. beamish | 1 episode row 4 : 1961 | the everglades | wikkament | 1 episode row 5 : 1962 | the new breed | manrique | 1 episode row 6 : 1962 | perry mason | forsette | 1 episode row 7 : 1962 | perry mason | alexander glovatsky | 1 episode row 8 : 1963 | ge true | charles colvin | 1 episode row 9 : 1965 | voyage to the bottom of the sea | dr. tabor ulrich | 1 episode row 10 : 1965 | bob hope presents the chrysler | general leo chareet | 3 episodes row 11 : 1966 | the man from u.n.c. | colonel hubris | 1 episode row 12 : 1966 | batman | king tut | 8 episodes row 13 : 1966 | i spy | karafatma | 1 episode row 14 : 1967 | the girl from u.n.c. | sir cecil seabrook | 1 episode row 15 : 1967 | t.h.e. cat | general burek | 1 episode row 16 : 1967 | daniel boone | milo quaife | 1 episode row 17 : 1968 | the wild wild west | count mario vincenzo robespier | 2 episodes row 18 : 1969 | the flying nun | marko "the magnificent" antoni | 1 episode row 19 : 1969 | here's lucy | mr. vermillion | 1 episode row 20 : 1969 | it takes a thief | mr. kent | 1 episode row 21 : 1970 | get smart | hannibal day | 1 episode row 22 : 1970 | o'hara, u.s. | al connors | 1 episode row 23 : 1973 | mannix | hamilton starr | 1 episode row 24 : 1973 | hawaii five-o | eric damien | 1 episode row 25 : 1973 and 1975 | the odd couple | dr. clove/hugo love | 2 episodes row 26 : 1976 | ellery queen | dr. friedland | 1 episode row 27 : 1976 | the tony randall show | judge bernard gluck | 1 episode row 28 : 1976 | alice | mr. james | 1 episode row 29 : 1977 | the hardy boys/nancy dre | seth taylor | 1 episode row 30 : 1979 | supertrain | misto | 1 episode row 31 : 1979 | man from atlantis | dr. schubert | 9 episodes row 32 : 1980 | taxi | james caldwell | 1 episode row 33 : 1980 | fantasy island | dr. albert z. fell | 1 episode row 34 : 1980-1981 | vega$ | "diamond" jim | 4 episodes row 35 : 1981 | here's boomer | dr. frankenstein | 1 episode ] Execute this SQL based on the above table: select count ( role ) where title {the rebel = 'dr. clove/hugo lovelace'
0
[ header: state | last execution date | name | crime | method row 1 : united states federal government | 18 march 2003 | louis jones, jr | aggravated murder | lethal injection row 2 : united states military | 13 april 1961 | john a. bennett | rape and attempted murder | hanging row 3 : alabama | 25 july 2013 | andrew reid lackey | aggravated murder | lethal injection row 4 : california | 17 january 2006 | clarence ray allen | aggravated murder | lethal injection row 5 : colorado | 13 october 1997 | gary lee davis | aggravated murder | lethal injection row 6 : connecticut | 13 may 2005 | michael bruce ross | aggravated murder | lethal injection row 7 : delaware | 20 april 2012 | shannon m. johnson | aggravated murder | lethal injection row 8 : florida | 26 february 2014 | paul augustus howell | aggravated murder | lethal injection row 9 : georgia | 21 february 2013 | andrew allen cook | aggravated murder | lethal injection row 10 : idaho | 12 june 2012 | richard albert leavitt | aggravated murder | lethal injection row 11 : illinois | 17 march 1999 | andrew kokoraleis | aggravated murder | lethal injection row 12 : indiana | 11 december 2009 | matthew eric wrinkles | aggravated murder | lethal injection row 13 : iowa | 6 september 1962 | charles a. kelly | murder | hanging row 14 : kentucky | 21 november 2008 | marco allen chapman | aggravated murder | lethal injection row 15 : maine | 21 november 1885 | daniel wilkinson | murder | hanging row 16 : minnesota | 13 february 1906 | william williams | murder | hanging row 17 : mississippi | 20 june 2012 | gary carl simmons, | aggravated murder | lethal injection row 18 : missouri | 26 february 2014 | michael anthony t | aggravated murder | lethal injection row 19 : montana | 11 august 2006 | david thomas dawson | aggravated murder | lethal injection row 20 : nebraska | 2 december 1997 | robert e. william | aggravated murder | electric chair row 21 : new hampshire | 14 july 1939 | howard long | murder | hanging row 22 : new mexico | 6 november 2001 | terry d. clark | aggravated murder | lethal injection row 23 : ohio | 16 january 2014 | dennis b. mcguire | aggravated murder | lethal injection row 24 : oklahoma | 23 january 2014 | kenneth eugene ho | aggravated murder | lethal injection row 25 : pennsylvania | 6 july 1999 | gary m. heidnik | aggravated murder | lethal injection row 26 : south carolina | 6 may 2011 | jeffrey brian mott | aggravated murder | lethal injection row 27 : south dakota | 30 october 2012 | donald eugene moeller | aggravated murder | lethal injection row 28 : utah | 18 june 2010 | ronnie lee gardner | aggravated murder | firing squad row 29 : vermont | 8 december 1954 | donald demag | murder | electric chair row 30 : wisconsin | 21 august 1851 | john mccaffary | murder | hanging ] Execute this SQL based on the above table: select count ( * ) where crime = 1568
0
[ header: rank | hospital | city | county | # beds | type of hospital row 1 : 4 | sonoma developmental center | eldridge | sonoma | 1300 | mental health row 2 : 6 | fairview developmental center | costa mesa | orange | 1218 | mental health row 3 : 7 | porterville developmental center | porterville | tulare | 1210 | mental health row 4 : 10 | veterans home of california | yountville | napa | 1100 | veteran admin row 5 : 11 | metropolitan state hospital | norwalk | los angeles | 1096 | mental health row 6 : 12 | va palo alto health care system | palo alto | santa clara | 967 | veteran admin row 7 : 13 | cedars-sinai medical center | west hollywood | los angeles | 952 | general acute care row 8 : 14 | loma linda university medica center | loma linda | san bernardino | 822 | university/teaching row 9 : 15 | ucla medical center | los angeles | los angeles | 668 | general acute care row 10 : 18 | ucsd medical center | san diego | san diego | 594 | university/teaching row 11 : 19 | ucsf medical center mount zion | san francisco | san francisco | 579 | general acute care row 12 : 20 | ucd medical center | sacramento | sacramento | 577 | university/teaching row 13 : 23 | harbor ucla medical center | torrance | los angeles | 553 | general acute care row 14 : 24 | mission hospital regional medical center | mission viejo | orange | 552 | general acute care row 15 : 25 | alta bates summit medical center | berkeley | alameda | 551 | general acute care row 16 : 26 | san francisco general hospital | san francisco | san francisco | 550 | general acute care row 17 : 27 | ucsf medical center at parn | san francisco | san francisco | 536 | general acute care row 18 : 29 | santa clara valley medical center | san jose | santa clara | 524 | general acute care row 19 : 30 | scripps mercy hospital | san diego | san diego | 523 | general acute care row 20 : 31 | huntington memorial hospital | pasadena | los angeles | 522 | general acute care row 21 : 33 | grossmont hospital | la mesa | san diego | 481 | general acute care row 22 : 34 | doctors medical center | modesto | stanislaus | 465 | general acute care row 23 : 35 | st. bernardine medical | san bernardino | san bernardino | 463 | general acute care row 24 : 36 | uci medical center | orange | orange | 462 | general acute care row 25 : 37 | stanford medical center | stanford | santa clara | 460 | general acute care row 26 : 39 | methodist hospital | arcadia | los angeles | 455 | general acute care row 27 : 40 | providence st. joseph | burbank | los angeles | 455 | general acute care row 28 : 42 | agnews developmental center | san jose | santa clara | 450 | mental health row 29 : 43 | jewish home | san francisco | san francisco | 450 | nursing homes row 30 : 44 | st. joseph hospital orange | orange | orange | 448 | general acute care row 31 : 45 | presbyterian intercommunity | whittier | los angeles | 441 | general acute care ] Execute this SQL based on the above table: select county where county = 'tulare' limit 1
tulare
[ header: team | competition | category | appearances start | appearances sub | goals | team record row 1 : japan | 2006 afc u-17 championship qualification | u-15 | 1 | 0 | 0 | qualified row 2 : japan | 2006 afc u-17 championship | u-16 | 4 | 1 | 4 | champions row 3 : japan | 2007 fifa u-17 world cup | u-17 | 1 | 2 | 2 | round 1 row 4 : japan | 2008 afc youth championship qualification | u-18 | 4 | 0 | 2 | qualified row 5 : japan | 2008 afc u-19 championship | u-19 | 1 | 1 | 0 | quarterfinal row 6 : japan | 2013 eaff east asian cup | senior | 2 | 0 | 3 | champions ] Execute this SQL based on the above table: select team where goals = 0
japan, japan
[ header: year | show | role | channel | extra row 1 : 2004 | boogie woogie-chalo | dance contestant | set (sony entertainment television) | finalist (top 5) row 2 : 2007 (may-october) | saregamapa challenge | singing contestant | zee network | finalist (top 7) row 3 : 2008 (march-may) | rock n roll family | host | zee network | None row 4 : 2010 ( released dec. 5th) | ek anhonee (tele- | lead role (divyani) | zoom | None row 5 : 2011 (june-july) | khatron ke khiladi | celebrity contestant | colors | finalist (top 2) row 6 : 2012 (feb) | kahani comedy circus ki | guest appearance (15 episodes) | set (sony entertainment television) | None row 7 : 2013 (feb) | welcome - baazi mehma | herself | life ok | None ] Execute this SQL based on the above table: select show order by extra desc limit 1
saregamapa challenge
[ header: region | date | label | format | catalog row 1 : united kingdom | june 10, 1985 | i.r.s | vinyl lp | mirf1003 row 2 : united states | june 11, 1985 | i.r.s | lp | irs-5592 row 3 : united states | june 11, 1985 | i.r.s | cassette tape | irsc-5592 row 4 : united states | june 11, 1985 | i.r.s | compact disc | irsd-5592 row 5 : greece | 1985 | illegal | lp | 26525 row 6 : australia | 1985 | i.r.s./epic | lp | elps 4495 row 7 : the netherlands | 1985 | i.r.s | lp | 26525 row 8 : worldwide | 1990 | mca | compact disc | 5592 row 9 : worldwide | 1990 | i.r.s | cassette tape | irsc-5592 row 10 : the netherlands | august 6, 1992 | emi | compact disc | 7 13160 2 9 row 11 : united kingdom | 1992 | simply vinyl | 180-gram vinyl lp | svlp151 row 12 : worldwide | 1998 | capitol | compact disc | 93479 row 13 : europe | 1998 | emi | compact disc | 13160 row 14 : worldwide | 1999 | i.r.s | compact disc | 19016 row 15 : united states | 1999 | simply vinyl | lp | 151 row 16 : europe | 2000 | i.r.s | compact disc | 7131602 ] Execute this SQL based on the above table: select region where id = ( select id where region = 'united states' ) + 1
united states
[ header: # | date | opponent | score | win | loss | save | attendance | record row 1 : 85 | july 1 | @ marlins | 9-6 | balester (1-0) | hendrickson (7-7) | None | 12166 | 34-51 row 2 : 86 | july 2 | @ marlins | 4-2 | nolasco (9-4) | manning (0-2) | None | 23624 | 34-52 row 3 : 87 | july 3 | @ reds | 5-3 | cueto (7-8) | colome (2-2) | cordero (16) | 23259 | 34-53 row 4 : 88 | july 4 | @ reds | 3-0 | arroyo (6-7) | bergmann (1-6) | cordero (17) | 22626 | 34-54 row 5 : 89 | july 5 | @ reds | 3-2 | cordero (4-1) | hanrahan (5-3) | None | 37121 | 34-55 row 6 : 90 | july 6 | @ reds | 6-5 | volquez (11-3) | balester (1-1) | cordero (18) | 28814 | 34-56 row 7 : 91 | july 8 | d-backs | 2-0 | webb (13-4) | perez (2-6) | lyon (19) | 26820 | 34-57 row 8 : 92 | july 9 | d-backs | 5-0 | lannan (5-9) | owings (6-8) | None | 25862 | 35-57 row 9 : 93 | july 10 | d-backs | 7-5 (11) | qualls (2-6) | ayala (1-5) | None | 27330 | 35-58 row 10 : 96 | july 13 | astros | 5-0 | backe (6-9) | perez (2-7) | None | 31463 | 36-60 row 11 : 97 | july 18 | @ braves | 7-6 | hudson (10-7) | redding (7-4) | gonzalez (4) | 39861 | 36-61 row 12 : 98 | july 19 | @ braves | 8-2 | lannan (6-9) | jurrjens (9-5) | None | 43285 | 37-61 row 13 : 99 | july 20 | @ braves | 15-6 | perez (3-7) | reyes (3-9) | None | 29320 | 38-61 row 14 : 100 | july 22 | @ giants | 6-3 | zito (5-12) | bergmann (1-7) | wilson (26) | 34813 | 38-62 row 15 : 101 | july 23 | @ giants | 6-4 | espineli (1-0) | ayala (1-6) | wilson (27) | 35539 | 38-63 row 16 : 102 | july 24 | @ giants | 1-0 | cain (6-8) | redding (7-5) | None | 36963 | 38-64 row 17 : 103 | july 25 | @ dodgers | 3-2 | billingsley (10-9) | lannan (6-10) | broxton (3) | 47313 | 38-65 row 18 : 104 | july 26 | @ dodgers | 6-0 | lowe (8-8) | perez (3-8) | None | 42122 | 38-66 row 19 : 105 | july 27 | @ dodgers | 2-0 | kershaw (1-3) | bergmann (1-8) | broxton (4) | 38660 | 38-67 row 20 : 106 | july 29 | phillies | 2-1 | myers (4-9) | balester (1-3) | lidge (25) | 34039 | 38-68 row 21 : 107 | july 30 | phillies | 8-5 | moyer (10-6) | redding (7-6) | lidge (26) | 31798 | 38-69 ] Execute this SQL based on the above table: select date where attendance > ( select attendance where date = 'july 10' ) order by attendance limit 1
july 6
[ header: # | name | birth and death | office started | office ended row 1 : 1 | geir vidalin | 27 october 1761 - | 1801 | 1823 row 2 : 2 | steingrimur jonsson | None | 1824 | 1845 row 3 : 3 | helgi thordersen | 8 april 1794 - 4 | 1846 | 1866 row 4 : 4 | 'petur petursson | 3 october 1808 - | 1866 | 1889 row 5 : 5 | hallgrimur sveinsson | 5 april 1841 - 16 | 1889 | 1908 row 6 : 6 | þorhallur bjarnar | 2 december 1855 - 15 de | 1908 | 1916 row 7 : 7 | jon helgason | 1866 - 1942 | 1917 | 1939 row 8 : 8 | sigurgeir sigurðsson | 3 august 1890 - 13 oc | 1939 | 1953 row 9 : 9 | asmundur guðmunds | 6 october 1888 re | 1954 | 1989 row 10 : 10 | sigurbjorn einarsson | 30 june 1911 vestur-skaf | 1959 | 1981 row 11 : 11 | petur sigurgeirsson (son | 2 june 1919 - 3 jun | 1981 | 1989 row 12 : 12 | olafur skulason | 29 december 1929 - 9 jun | 1989 | 1997 row 13 : 13 | karl sigurbjornsson ( | 5 february 1947 reykja | 1998 | 2012 row 14 : 14 | agnes sigurðardottir | 19 october 1954 isaf | 24 june 2012 | incumbent ] Execute this SQL based on the above table: select count ( * ) where name != 'helgi thordersen'
13
[ header: p.s. # | school name | neighborhood | low grade | high grade | year closed | building status row 1 : 1 | school 1 | lakeview | k | 8 | 1976 | demolished row 2 : 2 | school 2 | downtown | k | 8 | 1961 | demolished row 3 : 4 | harbor heights elementary school | first ward | k | 8 | 2002 | vacant row 4 : 5 | school 5 | kaisertown | k | 8 | 1955 | demolished row 5 : 8 | follow through urban learning lab school | masten park | k | 8 | 2004 | vacant row 6 : 9 | school 9 | schiller park | k | 8 | 1980 | demolished row 7 : 11 | poplar academy | schiller park | k | 4 | 2009 | vacant row 8 : 12 | harriet ross tubman early | willert park | k | 4 | 2005 | house office of special education row 9 : 14 | school 14 | downtown | k | 8 | 1930s | demolished row 10 : 15 | school 15 | downtown | k | 8 | 1965 | demolished row 11 : 20 | school 20 | black rock | k | 8 | 1935 | demolished row 12 : 21 | school 21 | north park | k | 8 | 1980 | demolished row 13 : 23 | school 23 | genesee moselle | k | 8 | 1980 | demolished row 14 : 24 | school 24 | broadway-fillmore | k | 8 | 2002 | vacant row 15 : 34 | school 34 | first ward | k | 8 | 1976 | demolished row 16 : 35 | school 35 | south ellicott | k | 8 | 1933 | demolished row 17 : 36 | days park early childhood center | allentown | prek | 4 | 2009 | houses elmwood village charter school row 18 : 41 | school 41 | johnson | prek | 8 | 1976 | demolished row 19 : 44 | lincoln academy | lovejoy | k | 8 | 2005 | houses alternative high school row 20 : 47 | school 47 | willert park | prek | 8 | 1978 | demolished row 21 : 49 | school 49 | front park | k | 8 | 1980 | community services building row 22 : 50 | school 50 | emsilie | special | education | 1975 | demolished row 23 : 52 | school 52 | forest | k | 8 | 1980 | demolished row 24 : 55 | school 55 | broadway-fillmore | k | 8 | 1955 | demolished row 25 : 58 | school 58 | broadway-fillmore | k | 8 | 1961 | demolished row 26 : 59 | school 59 | mlk park | k | 8 | 1976 | demolished row 27 : 60 | riverside academy | riverside | prek | 4 | 2002 | renovation row 28 : 62 | school 62 | mlk park | k | 8 | 1980 | houses crucial human services row 29 : 63 | campus north school | lasalle | prek | 8 | 2007 | vacant row 30 : 70 | indian park academy | cazenovia park | k | 8 | 2002 | vacant row 31 : 71 | web early childhood center | schiller park | prek | 4 | 2007 | vacant row 32 : 75 | school 75 | emslie | k | 8 | 1979 | vacant row 33 : 78 | montessori e.c.c. | lasalle | prek | 8 | 2008 | vacant row 34 : 83 | school 83 | university heights | k | 4 | 1976 | houses anderson gallery for university at buffalo row 35 : 86 | st. lawrence academy | starin central | prek | 4 | 2004 | houses bps' adult learning program row 36 : 93 | school 93 | hamlin park | k | 4 | 1975 | community action organization row 37 : 142 | fulton academic complex | perry | k | 8 | 1982 | opportunity center ] Execute this SQL based on the above table: select max ( p.s. # ) - min ( p.s. # )
141.0
[ header: pos | no | driver | team | laps | time/retired | grid | points row 1 : 1 | 5 | will power | team australia | 73 | 1:45:58.568 | 7 | 31 row 2 : 2 | 21 | neel jani | pkv racing | 73 | 2.972 | 9 | 28 row 3 : 3 | 9 | justin wilson | rsports | 73 | 3.48 | 2 | 25 row 4 : 4 | 15 | simon pagenaud | team australia | 73 | 5.643 | 4 | 23 row 5 : 5 | 19 | bruno junqueira | dale coyne racing | 73 | 20.738 | 5 | 21 row 6 : 6 | 14 | robert doornbos | minardi team usa | 72 | + 1 lap | 12 | 19 row 7 : 7 | 28 | ryan dalziel | pacific coast motorsports | 72 | + 1 lap | 11 | 17 row 8 : 8 | 8 | alex tagliani | rsports | 71 | + 2 laps | 6 | 15 row 9 : 9 | 1 | sebastien bourdais | n/h/l racing | 67 | contact | 1 | 16 row 10 : 10 | 7 | oriol servia | forsythe racing | 56 | contact | 3 | 11 row 11 : 11 | 2 | graham rahal | n/h/l racing | 52 | contact | 15 | 10 row 12 : 12 | 4 | dan clarke | minardi team usa | 43 | contact | 13 | 9 row 13 : 13 | 34 | jan heylen | conquest racing | 1 | contact | 8 | 8 row 14 : 14 | 3 | paul tracy | forsythe racing | 0 | contact | 10 | 7 row 15 : 15 | 22 | tristan gommendy | pkv racing | 0 | contact | 14 | 6 row 16 : 16 | 11 | katherine legge | dale coyne racing | 0 | contact | 16 | 5 row 17 : 17 | 29 | alex figge | pacific coast motorsports | 0 | contact | 17 | 4 ] Execute this SQL based on the above table: select avg ( points ) where grid <= 1
16.0
[ header: name | type | elevation (ground station) | elevation (mountain station) | slope length | capacity (persons/hour) | construction year row 1 : fiesch- -alp 1+2 | cable car | 1074 | 2227 | 2940 | 800 | 1973 row 2 : fiesch- -alp 3+4 | cable car | 1071 | 2221 | 2937 | 270 | 1966 row 3 : fiescheralp-eggishorn | cable car | 2225 | 2879 | 1836 | 495 | 1968 row 4 : heimat | chairlift | 1858 | 2301 | 1144 | 1400 | 2000 row 5 : talegga | chairlift | 2208 | 2727 | 1782 | 2200 | 2010 row 6 : flesch | chairlift | 2208 | 2630 | 1357 | 2400 | 1993 row 7 : trainer 1 | surface lift | 2206 | 2264 | 218 | 1200 | 1987 row 8 : trainer 2 | surface lift | 2206 | 2264 | 218 | 1200 | 1987 row 9 : laxeralp 1 | surface lift | 2135 | 2179 | 396 | 1100 | 1981 row 10 : laxeralp 2 | surface lift | 2179 | 2280 | 394 | 1214 | 1981 ] Execute this SQL based on the above table: select max ( slope length )
2940.0
[ header: year | division | league | regular season | playoffs | open cup | avg. attendance row 1 : 2001 | 2 | usl a-league | 4th, western | quarterfinals | did not qualify | 7169 row 2 : 2002 | 2 | usl a-league | 2nd, pacific | 1st round | did not qualify | 6260 row 3 : 2003 | 2 | usl a-league | 3rd, pacific | did not qualify | did not qualify | 5871 row 4 : 2004 | 2 | usl a-league | 1st, western | quarterfinals | 4th round | 5628 row 5 : 2005 | 2 | usl first division | 5th | quarterfinals | 4th round | 6028 row 6 : 2006 | 2 | usl first division | 11th | did not qualify | 3rd round | 5575 row 7 : 2007 | 2 | usl first division | 2nd | semifinals | 2nd round | 6851 row 8 : 2008 | 2 | usl first division | 11th | did not qualify | 1st round | 8567 row 9 : 2009 | 2 | usl first division | 1st | semifinals | 3rd round | 9734 row 10 : 2010 | 2 | ussf d-2 pro league | 3rd, usl (3rd) | quarterfinals | 3rd round | 10727 ] Execute this SQL based on the above table: select regular season where year < ( select year where regular season = '1st, western' ) order by year desc limit 1
3rd, pacific
[ header: date | name | moving from | moving to | fee row 1 : 3 march 2009 | silvestre varela | estrela da amadora | porto | free row 2 : 14 april 2009 | mario rondon | pontassolense | nacional | free row 3 : 18 april 2009 | patric | sao caetano | benfica | undisclosed fee row 4 : 16 may 2009 | manuel jose | cluj | pacos de ferreira | free row 5 : 26 may 2009 | jonathan bru | aep paphos | academica de coimbra | free row 6 : 1 june 2009 | boris peskovic | academica de coimbra | cluj | free row 7 : 6 june 2009 | anselmo | estrela da amadora | nacional | free row 8 : 15 june 2009 | gustavo lazzaretti | atletico paranaense | vitoria de guimaraes | loan row 9 : 17 june 2009 | beto | leixoes | porto | undisclosed fee row 10 : 18 june 2009 | angelo pena | estudiantes de merida | braga | undisclosed fee row 11 : 23 june 2009 | kostas katsourani | benfica | panathinaikos | € 2,500,000 row 12 : 1 july 2009 | matias fernandez | villarreal | sporting cp | € 3,635,000 row 13 : 2 july 2009 | rodrigo possebon | manchester united | braga | loan row 14 : 2 july 2009 | tarik sektioui | porto | ajman club | free row 15 : 3 july 2009 | paulo machado | porto | toulouse | € 3,500,000 row 16 : 4 july 2009 | jean paul yontcha | otopeni | belenenses | free row 17 : 6 july 2009 | fernando belluschi | olympiacos | porto | € 5,000,000 row 18 : 7 july 2009 | ladji keita | aep paphos | vitoria de setubal | free row 19 : 8 july 2009 | cristian trombetta | nueva chicago | leixoes | free row 20 : 10 july 2009 | filipe da costa | levski sofia | nacional | free row 21 : 10 july 2009 | saulo | belenenses | celta vigo | free row 22 : 12 july 2009 | romeu ribeiro | benfica | trofense | loan row 23 : 13 july 2009 | fernando avalos | belenenses | nea salamis | free row 24 : 14 july 2009 | ibson | porto | spartak moscow | undisclosed fee row 25 : 14 july 2013 | pedro celestino | sporting cp | belenenses | free row 26 : 17 july 2009 | carlos carneiro | pacos de ferreira | vizela | free row 27 : 18 july 2009 | wanderley | cruzeiro | maritimo | € 750,000 row 28 : 18 july 2009 | ruben lima | benfica | vitoria de setubal | loan row 29 : 18 july 2009 | aly cissokho | porto | lyon | € 15,000,000 row 30 : 24 july 2009 | alberto | rio branco | uniao de leiria | free row 31 : 21 july 2009 | weldon | sport | benfica | € 276,000 ] Execute this SQL based on the above table: select date order by fee desc limit 1
18 july 2009
[ header: | ship | shipyard | laid down | launched | completed | fate row 1 : 白露 | shiratsuyu | sasebo naval arsenal | 14 november 1933 | 5 april 1935 | 20 august 1936 | collision 15 june 1944 row 2 : 時雨 | shigure | uraga dock company | 9 december 1933 | 18 may 1935 | 7 september 1936 | sunk in action 24 january row 3 : 村雨 | murasame | fujinagata shipyards | 1 february 1934 | 20 june 1935 | 7 january 1937 | sunk in action, 6 march 1943 row 4 : 夕立 | yudachi | sasebo naval arsenal | 16 october 1934 | 21 june 1936 | 7 january 1937 | sunk in action 13 november 1942 row 5 : 五月雨 | samidare | uraga dock company | 19 december 1934 | 6 july 1935 | 29 january 1937 | sunk in action 26 august 1944 row 6 : 春雨 | harusame | uraga dock company | 3 february 1935 | 21 september 1935 | 26 august 1937 | sunk in action 8 june 1944 row 7 : 山風 | yamakaze | uraga dock company | 25 may 1935 | 21 february 1936 | 30 june 1937 | sunk in action 23 june 1942 row 8 : 江風 | kawakaze | fujinagata shipyards | 25 april 1935 | 1 november 1936 | 30 april 1937 | sunk in action 6 august 1943 row 9 : 海風 | umikaze | maizuru naval arsenal | 4 may 1935 | 27 november 1936 | 31 may 1937 | sunk in action 1 february 1944 row 10 : 涼風 | suzukaze | uraga dock company | 9 july 1935 | 11 march 1937 | 31 august 1937 | sunk in action 25 january ] Execute this SQL based on the above table: select ship group by ship order by count ( * ) desc limit 1
yudachi
[ header: number | arrangement | year, builder | number | arrangement | year, builder | number | model | year, builder row 1 : governor markham | 2-4-2t | 1891, baldwin | number 7 | 0-6-0 | 1914, alco-brooks | number 20 | s2 | alco row 2 : number 2 | 0-4-2t | 1901, baldwin | number 8 | 0-6-0 | 1916 | number 21 | s2 | alco row 3 : number 3 | 0-4-2t | 1904, baldwin | number 9 | 0-6-0 | 1920, alco-brooks | number 22 | s2 | 1944, alco row 4 : number 4 | None | None | number 10 | 0-6-0 | 1923, baldwin | number 23 | s2 | 1944, alco row 5 : number 5 | None | None | number 11 | 0-6-0 | 1927 | number 24 | s2 | 1945, alco row 6 : number 6 | 0-6-0 | 1913, baldwin | number 12 | None | None | number 25 | s2 | alco ] Execute this SQL based on the above table: select year, builder where arrangement = '0-4-2t'
alco, 1944, alco
[ header: opponent | goals | wins | draws | losses | +- goals | matches | qualified | eliminated row 1 : partizani tirane | 28-25 | 13 | 7 | 8 | + 3 | 28 | 9 | 7 row 2 : dinamo tirane | 30-42 | 8 | 6 | 15 | -12 | 29 | 8 | 8 row 3 : ks vllazni | 25-18 | 13 | 4 | 8 | + 7 | 25 | 9 | 6 row 4 : ks teuta | 29-17 | 8 | 9 | 4 | 12 | 21 | 6 | 7 row 5 : ks elbasani | 40-17 | 11 | 4 | 4 | 23 | 19 | 8 | 2 row 6 : ks skenderbeu | 18- 5 | 9 | 1 | 1 | 13 | 11 | 7 | 1 row 7 : ks lushnja | 41-15 | 13 | 4 | 5 | 26 | 22 | 8 | 3 row 8 : luftetari gjirok | 19- 3 | 5 | 0 | 0 | 16 | 5 | 3 | None row 9 : beselidhja lezhe | 14- 2 | 5 | 0 | 1 | 12 | 6 | 3 | None row 10 : kf naftetari | 5- 0 | 2 | 0 | 0 | + 5 | 2 | 1 | None row 11 : kf laci | 13- 4 | 5 | 2 | 1 | + 9 | 8 | 2 | 1 row 12 : ks shkumbini | 19- 8 | 6 | 0 | 0 | 11 | 6 | 2 | None row 13 : ks sopoti librazh | 17- 7 | 2 | 3 | 1 | 10 | 6 | 3 | None row 14 : ks albpetrol | 19- 3 | 5 | 0 | 1 | 16 | 6 | 3 | None row 15 : ks burreli | 1- 2 | 1 | 0 | 1 | - 1 | 2 | 0 | 1 row 16 : ks kamza | 9- 2 | 4 | 0 | 0 | + 7 | 4 | 1 | None row 17 : kf erzeni shija | 13- 3 | 6 | 0 | 0 | 10 | 6 | 3 | None row 18 : ks shkendija | 8- 5 | 2 | 2 | 0 | + 3 | 4 | 2 | None row 19 : ks turbina cerrik | 13- 3 | 3 | 1 | 0 | 10 | 4 | 2 | None row 20 : ks terbuni puke | 8- 3 | 3 | 1 | 0 | + 5 | 4 | 2 | None row 21 : ks iliria | 7- 2 | 2 | 0 | 0 | + 5 | 2 | 1 | None row 22 : kf cakrani | 3- 1 | 1 | 0 | 1 | + 2 | 2 | 1 | None row 23 : ks ada velip | 5- 2 | 1 | 1 | 0 | + 3 | 2 | 1 | None row 24 : kf skrapari | 5- 0 | 2 | 0 | 0 | + 5 | 2 | 1 | None row 25 : luzi 2008 | 4- 3 | 1 | 0 | 1 | + 1 | 2 | 1 | None row 26 : dinamo shkoder | 3- 0 | 1 | 0 | 0 | + 3 | 1 | 1 | None row 27 : garnizoni durres | 4- 0 | 1 | 0 | 0 | + 4 | 1 | 1 | None row 28 : albanet | 3- 0 | 1 | 0 | 0 | + 3 | 1 | 1 | None row 29 : sk himare | 10- 1 | 2 | 0 | 0 | + 9 | 2 | 1 | None row 30 : 40 opponents | 592-272 | 195 | 62 | 65 | 320 | 322 | 173 | 44 ] Execute this SQL based on the above table: select opponent where opponent != 'luzi 2008' and matches > 112
40 opponents
[ header: year | competition | venue | position | notes row 1 : 1983 | pan american games | caracas, venezuela | 2nd | 78.34 m row 2 : 1985 | central american and caribbean championships | nassau, bahamas | 2nd | 76.88 m row 3 : 1986 | central american and caribbean games | santiago de los caballe | 1st | 77.32 m row 4 : 1987 | pan american games | indianapolis, united states | 2nd | 75.58 m row 5 : 1990 | central american and caribbean games | mexico city, mexico | 1st | 78.86 m row 6 : 1990 | goodwill games | seattle, united states | 2nd | 80.84 m row 7 : 1991 | pan american games | havana, cuba | 1st | 79.12 m row 8 : 1991 | world championships | tokyo, japan | 16th | 77.72 m ] Execute this SQL based on the above table: select competition where competition = 'pan american games' and year = 1983
pan american games
[ header: rank | name | height ft (m) | floors | year | coordinates | notes row 1 : 1 | ordway building | 404 (123) | 28 | 1970 | 37°48′36′′n 122° | tallest building in both oakland and in row 2 : 2 | kaiser center | 390 (119) | 28 | 1960 | 37°48′32′′n 122° | tallest building constructed in the 1960s row 3 : 4 | 1111 broadway | 360 (110) | 24 | 1990 | 37°48′10′′n 122° | tallest building constructed in the 1990s row 4 : 5 | kaiser engineering building | 336 (102) | 25 | 1984 | 37°48′21′′n 122° | None row 5 : 7= | em harris state office building | 328 (100) | 22 | 1998 | 37°48′23′′n 122° | None row 6 : 7= | ronald v. dellum | 328 (100) | 18 | 1994 | 37°48′16′′n 122° | None row 7 : 7= | ronald v. dellum | 328 (100) | 18 | 1994 | 37°48′18′′n 122° | None row 8 : 10 | oakland city hall | 320 (98) | 14 | 1914 | 37°48′19′′n 122° | tallest building constructed in the 1910s; national row 9 : 12 | 1330 broadway | 297 (91) | 21 | 1956-1959 | 37°48′14′′n 122° | None row 10 : 13 | pacific bell building | 296 (90) | 20 | 1985 | 37°48′37′′n 122° | None row 11 : 14 | 555 city center | 279 (85) | 20 | 2002 | 37°48′13′′n 122° | None row 12 : 15 | park bellevue tower | 270 (82) | 25 | 1969 | 37°48′28′′n 122° | None row 13 : 16 | st. paul's towers | 267 (81) | 22 | 1966 | 37°48′42′′n 122° | None row 14 : 17 | the grand apartments | 263 (80) | 22 | 2008 | 37°48′41′′n 122° | None row 15 : 18 | central building | 235 (72) | 15 | 1926 | 37°48′15′′n 122° | None row 16 : 19 | bank of america building | 225 (69) | 18 | 1907 | 37°48′10′′n 122° | tallest building constructed in the decade of 1900 ] Execute this SQL based on the above table: select coordinates where floors = 24
37°48′10′′n 122°16′22′′w / 37.80278°n 122.27278°w
[ header: # | event year | season | flag bearer row 1 : 7 | 2012 | summer | ele opeloge row 2 : 6 | 2008 | summer | ele opeloge row 3 : 5 | 2004 | summer | uati maposua row 4 : 4 | 2000 | summer | pauga lalau row 5 : 3 | 1996 | summer | bob gasio row 6 : 2 | 1988 | summer | henry smith row 7 : 1 | 1984 | summer | apelu ioane ] Execute this SQL based on the above table: select count ( flag bearer ) where event year > 65
7
[ 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 count ( position ) where competition = 'world indoor championships'
3
[ header: service | 2012/13 total cost (£million) | comparison with 2011/12 (£million) row 1 : bbc radio 1 | 54.2 | + 3.6 row 2 : bbc radio 1xtra | 11.8 | + 0.7 row 3 : bbc radio 2 | 62.1 | + 1.6 row 4 : bbc radio 3 | 54.3 | + 1.8 row 5 : bbc radio 4 | 122.1 | + 6.2 row 6 : bbc radio 4 extra | 7.2 | - 1 row 7 : bbc radio 5 live | 76 | + 6.7 row 8 : bbc radio 5 live sports extra | 5.6 | + 0.3 row 9 : bbc radio 6 music | 11.5 | - 0.2 row 10 : bbc asian network | 13 | 0 row 11 : bbc local radio | 152.5 | + 6 row 12 : bbc radio scotland | 32.7 | + 0.6 row 13 : bbc radio nan g | 6.3 | + 0.3 row 14 : bbc radio wales | 18.8 | + 1.1 row 15 : bbc radio cymr | 17.6 | + 1.7 row 16 : bbc radio ulster and | 23.8 | 0 ] Execute this SQL based on the above table: select count ( * ) where service = 'bbc radio nan gaidheal'
1
[ 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 id = ( select id where sport = 'taekwondo' ) - 1
swimming
[ header: lift name | type | top elevation (ft) | bottom elevation | vertical rise | length (ft) | slope (%) | capacity (rides/hr) | speed (ft/min) | lift manufacturer | year installed row 1 : bruno | fixed double | 5885 | 5840 | 45 | 368 | 12% | 630 | 300 | poma | 1987 row 2 : molly's express | detach quad | 5835 | 4990 | 845 | 5244 | 16% | 1200 | 1000 | doppelmayr | 2000 row 3 : pucci | fixed triple | 5920 | 5350 | 570 | 3398 | 17% | 1330 | 450 | poma | 1987 row 4 : stormin' norman | detach quad | 6245 | 5460 | 785 | 4396 | 18% | 1500 | 1000 | doppelmayr | 2000 row 5 : magic mile express | detach quad | 6990 | 5915 | 1075 | 5359 | 20% | 1600 | 950 | poma | 1992 row 6 : palmer express | detach quad | 8470 | 6940 | 1530 | 5468 | 29% | 1800 | 1000 | doppelmayr | 1996 row 7 : jeff flood express (still creek basin) | detach quad | 6020 | 4850 | 1170 | 6506 | 18% | 1800 | 1000 | doppelmayr | 2007 ] Execute this SQL based on the above table: select lift name where lift name > 916 order by lift name asc limit 367
bruno, jeff flood express (still creek basin), magic mile express, molly's express, palmer express, pucci, stormin' norman
[ header: rank | city | population (2011) | population (2001) | state/territory row 1 : 8 | surat | 4462002 | 2433835 | gujarat row 2 : 9 | pune | 3115431 | 2538473 | maharashtra row 3 : 14 | indore | 1960631 | 1474968 | madhya pradesh row 4 : 21 | ghaziabad | 1636068 | 968256 | uttar pradesh row 5 : 25 | faridabad | 1404653 | 1055938 | haryana row 6 : 26 | meerut | 1309023 | 1068772 | uttar pradesh row 7 : 29 | vasai-virar | 1221233 | None | maharashtra row 8 : 42 | vijayawada | 1048240 | 851282 | andhra pradesh row 9 : 44 | madurai | 1016885 | 928869 | tamil nadu row 10 : 51 | bareilly | 898167 | 718395 | uttar pradesh row 11 : 53 | mysore | 887446 | 755379 | karnataka row 12 : 73 | cuttack | 606007 | 534654 | orissa row 13 : 78 | durgapur | 566937 | 493405 | west bengal row 14 : 101 | tirupur | 444543 | 344543 | tamil nadu row 15 : 114 | muzaffarnagar | 392451 | 316729 | uttar pradesh row 16 : 117 | latur | 382754 | 299985 | maharashtra row 17 : 123 | muzaffarpur | 351838 | 305525 | bihar row 18 : 132 | shahjahanpur | 327975 | 296662 | uttar pradesh row 19 : 135 | shivamogga (shimoga | 322428 | 274352 | karnataka row 20 : 137 | junagadh | 320250 | 168686 | gujarat row 21 : 138 | thrissur | 315596 | 317526 | kerala row 22 : 148 | bihar sharif | 296889 | 232071 | bihar row 23 : 150 | darbhanga | 294116 | 267348 | bihar row 24 : 154 | ichalkaranji | 287570 | 257610 | maharashtra row 25 : 157 | bathinda | 285813 | 217256 | punjab row 26 : 164 | sonipat | 277053 | 214974 | haryana row 27 : 165 | farrukhabad | 275750 | 228333 | uttar pradesh row 28 : 170 | ratlam | 264810 | 222202 | madhya pradesh row 29 : 189 | raichur | 232456 | 207421 | karnataka row 30 : 193 | katihar | 225982 | 175169 | bihar ] Execute this SQL based on the above table: select population (2011) order by population (2001) desc limit 1
3115431
[ header: year | film | director | producer | writer | notes row 1 : 1953 | the sea around us | yes | yes | yes | documentary academy award for best documentary feature row 2 : 1954 | dangerous mission | None | yes | None | None row 3 : 1956 | the animal world | yes | yes | yes | documentary row 4 : 1957 | the story of mankind | yes | yes | yes | documentary row 5 : 1960 | the big circus | None | yes | yes | None row 6 : 1960 | the lost world | yes | yes | yes | None row 7 : 1961 | voyage to the bottom of the sea | yes | yes | yes | None row 8 : 1962 | five weeks in a balloon | yes | yes | yes | None row 9 : 1972 | the poseidon adventure | yes | yes | None | directed action sequences only nominated-gold row 10 : 1974 | the towering inferno | None | yes | None | nominated-academy award for best row 11 : 1978 | the swarm | yes | yes | None | None row 12 : 1979 | beyond the poseidon adventure | yes | yes | None | None row 13 : 1980 | when time ran out | None | yes | None | None row 14 : 1983 | cave-in! | None | yes | None | None ] Execute this SQL based on the above table: select count ( notes ) where notes = 'None' and year not null
0
[ header: rank | title | studio | actors | gross row 1 : 1 | star wars | lucasfilm/20th century fox | mark hamill, harrison ford | $460,998,007 row 2 : 2 | smokey and the bandit | universal/rastar | burt reynolds, | $300,000,000 row 3 : 3 | close encounters of the third kind | columbia | richard dreyfuss, | $166,000,000 row 4 : 7 | oh, god! | warner bros | george burns, john denver | $51,061,196 row 5 : 8 | a bridge too far | united artists | dirk bogarde, james ca | $50,800,000 row 6 : 10 | the spy who loved me | united artists | roger moore, barbara | $46,838,673 row 7 : 11 | annie hall | united artists | woody allen and diane keat | $38,251,425 row 8 : 12 | semi-tough | united artists | burt reynolds, | $37,187,139 row 9 : 13 | pete's dragon | disney | helen reddy, mickey | $36,000,000 row 10 : 15 | the turning point | 20th century fox | shirley maclaine, anne | $33,600,000 row 11 : 16 | heroes | universal | henry winkler, sally | $33,500,000 row 12 : 17 | high anxiety | 20th century fox | mel brooks, madeline ka | $31,063,038 row 13 : 18 | exorcist ii: the here | warner bros | linda blair, richard | $30,749,142 row 14 : 19 | airport '77 | universal | jack lemmon, lee grant and | $30,000,000 row 15 : 21 | slap shot | universal | paul newman and strother martin | $28,000,000 row 16 : 22 | the other side of midnight | 20th century fox | marie-france pisier, | $24,652,021 row 17 : 23 | looking for mr. goodbar | paramount | diane keaton, t | $22,512,655 row 18 : 24 | for the love of benji | mulberry square | benjean, patsy garret | $22,257,624 ] Execute this SQL based on the above table: select sum ( rank )
242.0
[ header: rank | name | nationality | result | notes row 1 : None | park ho-hyun | south korea | 55.58 | pb row 2 : None | lee young-sun | south korea | 55.29 | None row 3 : None | anne de silva | sri lanka | 54.86 | None row 4 : 4 | liliya dusmetova | uzbekistan | 54.52 | sb row 5 : 5 | zhang li | china | 54.11 | None row 6 : 6 | harumi yamamoto | japan | 52.6 | None row 7 : 7 | suman devi | india | 52.58 | None row 8 : 8 | emika yoshida | japan | 51.62 | None row 9 : 9 | nadeeka lakmali | sri lanka | 48.54 | None row 10 : 10 | jang ok-ju | north korea | 41.68 | pb row 11 : 11 | parveen akhtar | pakistan | 37.51 | None ] Execute this SQL based on the above table: select count ( nationality ) where result < '52.58'
4
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | netherlands | 20 | 9 | 0 | 29 row 2 : 2 | italy | 10 | 15 | 3 | 28 row 3 : 3 | belgium | 1 | 2 | 6 | 9 row 4 : 4 | spain | 1 | 1 | 13 | 15 row 5 : 5 | great britain | 0 | 2 | 0 | 2 row 6 : 6 | germany | 0 | 1 | 7 | 8 row 7 : 7 | greece | 0 | 1 | 0 | 1 row 8 : 7 | russia | 0 | 1 | 0 | 1 row 9 : 9 | sweden | 0 | 0 | 2 | 2 row 10 : 10 | france | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select silver where nation = 'great britain' and gold = 0
2
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | great britain (gbr) | 6 | 3 | 2 | 11 row 2 : 2 | south africa (rsa) | 1 | 2 | 1 | 4 row 3 : 3 | canada (can) | 1 | 1 | 0 | 2 row 4 : 4 | australia (aus) | 0 | 1 | 1 | 2 row 5 : 4 | hong kong (hkg) | 0 | 1 | 1 | 2 row 6 : 6 | israel (isr) | 0 | 0 | 2 | 2 row 7 : 7 | south korea (kor) | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select bronze order by total desc limit 1
2
[ header: team | no | driver | class | chassis | engine row 1 : carlin motorsport | 1 | james courtney | c | dallara f302 | mugen-honda row 2 : carlin motorsport | 2 | alan van der merwe | c | dallara f302 | mugen-honda row 3 : carlin motorsport | 21 | michael keohane | c | dallara f302 | mugen-honda row 4 : carlin motorsport | 22 | shinya hosokawa | c | dallara f302 | mugen-honda row 5 : fortec motorsport | 5 | fabio carbone | c | dallara f302 | renault sodemo row 6 : alan docking racing | 8 | mark mayall | c | dallara f302 | mugen-honda row 7 : alan docking racing | 13 | tor graves | c | dallara f302 | mugen-honda row 8 : team avanti | 9 | james andanson | c | ralt f302 | mugen-honda row 9 : promatecme uk | 11 | bruce jouanny | c | dallara f302 | mugen-honda row 10 : promatecme uk | 12 | ernani judice | c | dallara f302 | mugen-honda row 11 : promatecme uk | 12 | matthew gilmore | c | dallara f302 | mugen-honda row 12 : duma racing | 14 | john antoniadis | c | dallara f302 | mugen-honda row 13 : motaworld racing | 18 | andrew thompson | c | dallara f302 | ford row 14 : fred goddard racing | 52 | jason tahinci | s | dallara f301 | renault sodemo row 15 : fred goddard racing | 52 | earl goddard | s | dallara f301 | renault sodemo row 16 : meritus racing | 56 | stephen colbert | s | dallara f301 | mugen-honda row 17 : essential motorsport | 58 | ricardo teixeira | s | dallara f301 | toyota row 18 : essential motorsport | 59 | jesper carlsen | s | dallara f301 | toyota row 19 : sweeney racing | 61 | adam carroll | s | dallara f301 | mugen-honda row 20 : team park | 64 | stephen colbert | s | dallara f301 | opel spiess row 21 : team park | 64 | adam jones | s | dallara f301 | opel spiess row 22 : t-sport | 67 | clivio piccione | s | dallara f301 | mugen-honda row 23 : t-sport | 68 | karun chandhok | s | dallara f301 | mugen-honda row 24 : hill speed motorsport | 69 | luke stevens | s | dallara f301 | opel spiess ] Execute this SQL based on the above table: select chassis order by no desc limit 1
dallara f301
[ header: # | date | visitor | score | home | record | pts row 1 : 1 | december 21 | ottawa senators | 5-2 | montreal canadiens | 1-0-0 | 2 row 2 : 2 | december 26 | toronto arenas | 2-5 | ottawa senators | 2-0-0 | 4 row 3 : 3 | december 31 | ottawa senators | 2-4 | toronto arenas | 2-1-0 | 4 row 4 : 4 | january 2 | montreal canadiens | 2-7 | ottawa senators | 3-1-0 | 6 row 5 : 5 | january 4 | ottawa senators | 2-5 | montreal canadiens | 3-2-0 | 6 row 6 : 6 | january 9 | toronto arenas | 2-4 | ottawa senators | 4-2-0 | 8 row 7 : 7 | january 14 | ottawa senators | 2-5 | toronto arenas | 4-3-0 | 8 row 8 : 8 | january 16 | montreal canadiens | 10-6 | ottawa senators | 4-4-0 | 8 row 9 : 9 | january 18 | ottawa senators | 3-5 | montreal canadiens | 4-5-0 | 8 row 10 : 10 | january 23 | toronto arenas | 2-3 | ottawa senators | 5-5-0 | 10 row 11 : 11 | january 25 | ottawa senators | 1-0 | montreal canadiens | 1-0-0 | 2 row 12 : 12 | january 28 | ottawa senators | 2-1 | toronto arenas | 2-0-0 | 4 row 13 : 13 | january 30 | montreal canadiens | 2-3 | ottawa senators | 3-0-0 | 6 row 14 : 14 | february 6 | toronto arenas | 1-3 | ottawa senators | 4-0-0 | 8 row 15 : 15 | february 8 | ottawa senators | 3-4 | montreal canadiens | 4-1-0 | 18 row 16 : 16 | february 13 | montreal canadiens | 0-7 | ottawa senators | 5-1-0 | 10 row 17 : 17 | february 18 | ottawa senators | 4-3 | toronto arenas | 6-1-0 | 12 row 18 : 18 | february 20 | toronto arenas | 3-9 | ottawa senators | 7-1-0 | 14 ] Execute this SQL based on the above table: select abs ( ( select pts where visitor = 'toronto arenas' ) - ( select pts where visitor = 'ottawa senators' ) )
2.0
[ header: year | competition | venue | position | notes row 1 : 1996 | world junior championships | sydney, australia | 15th (q) | 7.43 m row 2 : 1996 | asian junior championships | new delhi, india | 1st | 7.68 m row 3 : 1999 | world championships | seville, spain | 6th | 8.01 m row 4 : 2001 | east asian games | osaka, japan | 3rd | 7.77 m row 5 : 2002 | asian championships | colombo, sri lan | 3rd | 7.91 m (w) row 6 : 2002 | asian games | busan, south korea | 4th | 7.75 m row 7 : 2003 | universiade | daegu, south korea | 7th | 7.78 m ] Execute this SQL based on the above table: select count ( venue )
7
[ header: pos. | driver | co-driver | car | time | difference | points row 1 : 1 | sebastien loeb | daniel elena | citroen c4 wr | 3:59:18.9 | 0 | 10 row 2 : 2 | dani sordo | marc marti | citroen c4 wr | 3:59;36.4 | 17.5 | 8 row 3 : 3 | mikko hirvonen | jarmo lehtinen | ford focus rs wrc | 4:00:00.4 | 41.5 | 6 row 4 : 4 | petter solberg | phil mills | subaru impreza wrc | 4:02:07.8 | 2:48.9 | 5 row 5 : 5 | urmo aava | kuldar sikk | citroen c4 wr | 4:02:49.6 | 3:30.7 | 4 row 6 : 6 | pg andersson | jonas andersson | suzuki sx4 wr | 4:06:56.3 | 7:37.4 | 3 row 7 : 7 | toni gardemeister | tomi tuominen | suzuki sx4 wr | 4:07:13.8 | 7:54.9 | 2 row 8 : 8 | federico villagra | jorge perez companc | ford focus rs wrc | 4:07:53.9 | 8:35.0 | 1 row 9 : 1. (10.) | martin prokop | jan tomanek | mitsubishi lancer evo ix | 4:13:07.9 | 0 | 10 row 10 : 2. (11.) | patrik sandell | emil axelsson | mitsubishi lancer evo ix | 4:13:44.1 | 36.2 | 8 row 11 : 3. (12.) | martin rauam | silver kutt | mitsubishi lancer evo ix | 4:14:05.7 | 57.8 | 6 ] Execute this SQL based on the above table: select time where driver = 'federico villagra'
4
[ header: # | date | film | gross | top ten places row 1 : 1 | january 5, 2014 | frozen | $2,441,278 | paranormal activity: the marked ones (#2) row 2 : 2 | january 12, 2014 | frozen | $1,193,153 | the wolf of wall street (#3) row 3 : 3 | january 19, 2014 | ¿que le dijiste a | $1,607,603 | jack ryan: shadow recruit (# row 4 : 4 | january 26, 2014 | i, frankenstein | $2,017,410 | grudge match (#10) row 5 : 5 | february 2, 2014 | 47 ronin | $1,916,620 | devil's due (#2) row 6 : 6 | february 9, 2014 | the lego movie | $3,823,198 | the legend of hercules (#4) row 7 : 7 | february 16, 2014 | casese quien pueda | $3,287,643 | robocop (#2), the monuments row 8 : 8 | february 23, 2014 | casese quien pueda | $2,228,705 | pompeii (#3), 12 years row 9 : 9 | march 2, 2014 | mr. peabody & she | $2,687,778 | fachon models (#6), august: row 10 : 10 | march 9, 2014 | 300: rise of an empire | $5,468,513 | homefront (#8), zip & row 11 : 11 | march 16, 2014 | 300: rise of an empire | $2,891,351 | el crimen del cacaro row 12 : 12 | march 23, 2014 | noah | $5,743,388 | muppets most wanted (#3) row 13 : 13 | march 30, 2014 | captain america: the winter soldier | $8,596,889 | None ] Execute this SQL based on the above table: select film order by # + # desc limit 1
captain america: the winter soldier
[ 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 # of prisoners designed for order by location asc limit 1
250
[ header: season | series | team | races | wins | poles | f/lap | podiums | points | position row 1 : 2009 | star mazda championship | andersen racing | 13 | 1 | 1 | 3 | 6 | 416 | 3rd row 2 : 2010 | star mazda championship | juncos racing | 13 | 7 | 9 | 7 | 12 | 539 | 1st row 3 : 2011 | indy lights | sam schmidt motorsports | 5 | 1 | 1 | 2 | 2 | 145 | 13th row 4 : 2011 | gp3 series | carlin motorsport | 16 | 0 | 0 | 0 | 0 | 10 | 17th row 5 : 2012 | gp3 series | lotus gp | 16 | 1 | 0 | 0 | 5 | 106 | 6th row 6 : 2012 | masters of formula 3 | double r racing | 1 | 0 | 0 | 0 | 0 | None | 15th row 7 : 2012-13 | mrf challenge formula 2000 | mrf challenge | 10 | 4 | 0 | 1 | 6 | 164 | 1st row 8 : 2013 | gp2 series | hilmer motorsport | 2 | 0 | 0 | 0 | 0 | 2 | 26th row 9 : 2013 | gp3 series | art grand prix | 16 | 1 | 1 | 1 | 6 | 126 | 3rd row 10 : 2013 | indycar series | a.j. foyt enterprises | 1 | 0 | 0 | 0 | 0 | 11 | 34th row 11 : 2013 | indy lights | team moore racing | 1 | 0 | 0 | 0 | 1 | 35 | 13th ] Execute this SQL based on the above table: select count ( series ) where series = 'gp3 series'
3
[ header: pos | no | driver | constructor | laps | time/retired | grid row 1 : 1 | 12 | clay regazzoni | ferrari | 60 | 1:01:25.34 | 3 row 2 : 2 | 4 | patrick depailler | tyrrell-ford | 60 | + 0:08.35 | 5 row 3 : 3 | 2 | jochen mass | mclaren-ford | 60 | + 0:15.44 | 4 row 4 : 4 | 5 | ronnie peterson | lotus-ford | 60 | + 0:40.14 | 10 row 5 : 5 | 18 | john watson | surtees-ford | 60 | + 0:45.55 | 6 row 6 : 6 | 8 | carlos pace | brabham-ford | 60 | + 0:45.90 | 7 row 7 : 7 | 16 | tom pryce | shadow-ford | 60 | + 0:46.66 | 8 row 8 : 8 | 24 | james hunt | hesketh-ford | 59 | + 1 lap | 11 row 9 : 9 | 31 | chris amon | ensign-ford | 59 | + 1 lap | 9 row 10 : 10 | 21 | jacques laffite | williams-ford | 59 | + 1 lap | 13 row 11 : 11 | 9 | vittorio brambilla | march-ford | 58 | + 2 laps | 12 row 12 : 12 | 22 | rolf stommelen | hill-ford | 58 | + 2 laps | 14 row 13 : 13 | 35 | tony trimmer | maki-ford | 54 | + 6 laps | 16 row 14 : nc | 20 | jo vonlanthen | williams-ford | 51 | + 9 laps | 15 row 15 : ret | 17 | jean-pierre jarier | shadow-ford | 33 | transmission | 1 row 16 : ret | 1 | emerson fittipaldi | mclaren-ford | 6 | clutch | 2 ] Execute this SQL based on the above table: select count ( * ) where constructor = 'shadow-ford' and grid >= 14 and grid < 1
0
[ header: title | author | date | length (first edition) row 1 : bull-dog drummond | h. c. mcn | 1920 | 320 pp row 2 : the black gang | h. c. mcn | 1922 | 318 pp row 3 : the third round | h. c. mcn | 1924 | 320 pp row 4 : the final count | h. c. mcn | 1926 | 319 pp row 5 : the female of the species | h. c. mcn | 1928 | 312 pp row 6 : temple tower | h. c. mcn | 1929 | 320 pp row 7 : the return of bulldog drummond | h. c. mcn | 1932 | 316 pp row 8 : knock-out | h. c. mcn | 1933 | 317 pp row 9 : bulldog drummond at bay | h. c. mcn | 1935 | 310 pp row 10 : challenge | h. c. mcn | 1937 | 311 pp row 11 : bulldog drummond on dartmoor | gerard fairlie | 1938 | 254 pp row 12 : bulldog drummond attacks | gerard fairlie | 1939 | 287 pp row 13 : captain bulldog drummond | gerard fairlie | 1945 | 256 pp row 14 : bulldog drummond stands fast | gerard fairlie | 1947 | 319 pp row 15 : hands off bulldog drummond | gerard fairlie | 1949 | 271 pp row 16 : calling bulldog drummond | gerard fairlie | 1951 | 255 pp row 17 : the return of the black gang | gerard fairlie | 1954 | 192 pp row 18 : deadlier than the male | henry reymond | 1967 | 192 pp row 19 : some girls do | henry reymond | 1969 | 192 pp ] Execute this SQL based on the above table: select author where id = 1
h. c. mcneile
[ header: year | competition | venue | position | event | notes row 1 : 2001 | asian junior championships | bandar seri begawan, brun | 1st | 110 m hurdles | 14.05 row 2 : 2002 | world junior championships | kingston, jamaica | 2nd | 110 m hurdles | 13.58 row 3 : 2002 | asian games | busan, south korea | 4th | 110 m hurdles | 13.92 row 4 : 2003 | world indoor championships | birmingham, united kingdom | 18th (h) | 60 m hurdles | 7.81 row 5 : 2003 | world championships | paris, france | 6th | 110 m hurdles | 13.55 row 6 : 2003 | asian championships | manila, philippines | 1st | 110 m hurdles | 13.5 row 7 : 2004 | world indoor championships | budapest, hungary | 17th (h) | 60 m hurdles | 7.75 row 8 : 2004 | olympic games | athens, greece | 33rd (h) | 110 m hurdles | 13.68 row 9 : 2005 | world championships | helsinki, finland | 9th (sf) | 110 m hurdles | 13.44 row 10 : 2005 | asian championships | incheon, south korea | 2nd | 110 m hurdles | 13.44 row 11 : 2006 | world indoor championships | moscow, russia | 8th (sf) | 60 m hurdles | 7.63 row 12 : 2006 | asian games | doha, qatar | 2nd | 110 m hurdles | 13.28 row 13 : 2007 | world championships | osaka, japan | 5th | 110 m hurdles | 13.19 row 14 : 2008 | world indoor championships | valencia, spain | 9th (sf) | 60 m hurdles | 7.65 row 15 : 2008 | olympic games | beijing, china | 8th (sf) | 110 m hurdles | 13.42 row 16 : 2009 | asian championships | guangzhou, china | 2nd | 110 m hurdles | 13.67 row 17 : 2009 | world championships | berlin, germany | 8th (sf) | 110 m hurdles | 13.42 row 18 : 2010 | world indoor championships | doha, qatar | 16th (sf) | 60 m hurdles | 7.82 row 19 : 2010 | asian games | guangzhou, china | 2nd | 110 m hurdles | 13.38 row 20 : 2011 | asian championships | kobe, japan | 2nd | 110 m hurdles | 13.56 row 21 : 2011 | world championships | daegu, south korea | 9th (sf) | 110 m hurdles | 13.57 row 22 : 2012 | world indoor championships | istanbul, turkey | 24th (h) | 60m hurdles | 8.15 row 23 : 2012 | olympic games | london, united kingdom | 37th (h) | 110 m hurdles | 13.78 ] Execute this SQL based on the above table: select count ( * ) where position = 1573
0
[ header: availability / production | | 2000 | 2001 | 2002 | 2003 | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 | 2010 | 2011 | 2012 row 1 : availability | hydro power | 1150 | 1161 | 1171 | 1247 | 1281 | 1293 | 1316 | 1326 | 1357 | 1379 | 1382 | 1401 | 1584 row 2 : availability | thermal | 685 | 835 | 1056 | 1233 | 1215 | 1155 | 1155 | 1155 | 1285 | 1290 | 1390 | 1690 | 1638 row 3 : availability | other renewables | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 15 | 45 | 50 | 90 row 4 : availability | total availability | 1838 | 1999 | 2230 | 2483 | 2499 | 2411 | 2434 | 2444 | 2645 | 2684 | 2818 | 3141 | 3312 row 5 : production | hydro power | 3197 | 3110 | 2962 | 3310 | 2960 | 3451 | 4634 | 3947 | 4130 | 3881 | 5634 | 4622 | 3292 row 6 : production | thermal | 3485 | 3407 | 3201 | 4298 | 5080 | 5314 | 4751 | 5864 | 5763 | 5975 | 4995 | 6785 | 8339 row 7 : production | other renewables | 3 | 3 | 4 | 3 | 3 | 5 | 4 | 4 | 8 | 27 | 86 | 121 | 169 row 8 : production | total production | 6685 | 6520 | 6167 | 7611 | 8043 | 8770 | 9389 | 9815 | 9901 | 9883 | 10715 | 11528 | 11800 ] Execute this SQL based on the above table: select where 2004 > 1037
hydro power, thermal, total availability, hydro power, thermal, total production
[ header: year | competition | venue | position | notes row 1 : 1997 | european u23 championships | turku, finland | 1st | 200 m row 2 : 1997 | world championships | athens, greece | 3rd | 4x100m relay row 3 : 1998 | european championships | budapest, hungary | 3rd | 200 metres row 4 : 1998 | european championships | budapest, hungary | 1st | 4x100m relay row 5 : 1998 | commonwealth games | kuala lumpur, malaysi | 1st | 200 metres row 6 : 1998 | commonwealth games | kuala lumpur, malaysi | 1st | 4x100m relay row 7 : 2000 | european indoor championships | ghent, belgium | 3rd | 200 metres ] Execute this SQL based on the above table: select competition where competition != 'commonwealth games' and notes = ( select notes where competition = 'commonwealth games' )
european championships, european indoor championships
[ header: rank | wrestler | no. of reigns | combined defenses | combined days row 1 : 1 | keiji mutoh | 4 | 19 | 1238 row 2 : 2 | hiroshi tanahashi | 6 | 27 | 1237 row 3 : 3 | shinya hashimoto | 3 | 20 | 1052 row 4 : 4 | tatsumi fujinami | 6 | 13 | 785 row 5 : 5 | kensuke sasaki | 5 | 9 | 647 row 6 : 6 | yuji nagata | 2 | 12 | 570 row 7 : 7 | kazuchika okada | 2 | 10 | 556 row 8 : 8 | kazuyuki fujita | 3 | 3 | 478 row 9 : 9 | big van vader | 3 | 4 | 451 row 10 : 10 | shinsuke nakamur | 3 | 9 | 390 row 11 : 11 | riki choshu | 3 | 5 | 383 row 12 : 12 | antonio inoki | 1 | 4 | 325 row 13 : 13 | brock lesnar | 1 | 3 | 280 row 14 : 14 | hiroyoshi tenzan | 4 | 2 | 197 row 15 : 15 | yoshihiro takayama | 1 | 3 | 185 row 16 : 16 | satoshi kojima | 2 | 2 | 168 row 17 : 17 | togi makabe | 1 | 3 | 161 row 18 : 18 | scott norton | 2 | 4 | 126 row 19 : 19 | nobuhiko takada | 1 | 1 | 116 row 20 : 20 | bob sapp | 1 | 1 | 66 row 21 : 21 | salman hashimikov | 1 | 0 | 48 row 22 : 21 | tadao yas | 1 | 1 | 48 row 23 : 23 | manabu nakanishi | 1 | 0 | 45 row 24 : 24 | masahiro chono | 1 | 0 | 44 row 25 : 25 | genichiro tenryu | 1 | 0 | 25 ] Execute this SQL based on the above table: select count ( wrestler ) where rank > 16
9
[ header: against | played | won | drawn | lost | win % row 1 : andorra | 3 | 3 | 0 | 0 | 100% row 2 : argentina | 4 | 0 | 0 | 4 | 0% row 3 : australia | 1 | 0 | 0 | 1 | 0% row 4 : australia emerging | 1 | 0 | 1 | 0 | 0% row 5 : belgium | 14 | 12 | 1 | 1 | 85.71% row 6 : canada | 1 | 0 | 0 | 1 | 0% row 7 : chile | 4 | 2 | 0 | 2 | 50% row 8 : croatia | 2 | 1 | 1 | 0 | 50% row 9 : denmark | 1 | 1 | 0 | 0 | 100% row 10 : england a | 7 | 0 | 0 | 7 | 0% row 11 : england counties | 1 | 0 | 0 | 1 | 0% row 12 : royal air force rugby team | 4 | 0 | 2 | 2 | 0% row 13 : fiji | 1 | 0 | 0 | 1 | 0% row 14 : france | 24 | 0 | 0 | 24 | 0% row 15 : france a | 2 | 0 | 0 | 2 | 0% row 16 : france u | 2 | 1 | 0 | 1 | 50% row 17 : french protectorate of morocco | 4 | 1 | 1 | 2 | 25% row 18 : georgia | 12 | 3 | 1 | 8 | 25% row 19 : germany | 7 | 6 | 0 | 1 | 85.71% row 20 : hungary | 1 | 1 | 0 | 0 | 100% row 21 : italy | 27 | 3 | 1 | 23 | 11.11% row 22 : japan | 3 | 0 | 0 | 3 | 0% row 23 : moldova | 1 | 1 | 0 | 0 | 100% row 24 : morocco | 17 | 10 | 1 | 6 | 58.82% row 25 : namibia | 2 | 2 | 0 | 0 | 100% row 26 : netherlands | 13 | 12 | 1 | 0 | 92.31% row 27 : new zealand services | 2 | 0 | 0 | 2 | 0% row 28 : poland | 16 | 10 | 0 | 6 | 62.50% row 29 : portugal | 33 | 21 | 2 | 10 | 63.63% row 30 : czech republic | 8 | 2 | 0 | 6 | 75% row 31 : romania | 29 | 2 | 0 | 27 | 6.90% row 32 : russia | 16 | 2 | 0 | 14 | 12.50% row 33 : scotland | 8 | 0 | 0 | 8 | 0% row 34 : slovenia | 1 | 1 | 0 | 0 | 100% row 35 : south africa | 1 | 0 | 0 | 1 | 0% row 36 : south africa "a" | 1 | 0 | 0 | 1 | 0% row 37 : soviet union | 7 | 0 | 0 | 7 | 0% row 38 : sweden | 2 | 2 | 0 | 0 | 100% row 39 : switzerland | 1 | 1 | 0 | 0 | 100% row 40 : tunisia | 6 | 1 | 0 | 5 | 83.33% row 41 : ukraine | 2 | 2 | 0 | 0 | 100% row 42 : uruguay | 7 | 3 | 0 | 4 | 42.86% row 43 : united states | 3 | 0 | 0 | 3 | 0% row 44 : wales a | 3 | 0 | 0 | 3 | 0% row 45 : yugoslavia | 4 | 4 | 0 | 0 | 100% row 46 : zimbabwe | 7 | 5 | 0 | 2 | 71.43% row 47 : total | 336 | 126 | 14 | 197 | 37.50% ] Execute this SQL based on the above table: select win % where win % = '25%' order by win % asc limit 29
25%, 25%
[ header: draw | country | language | artist | song | english translation | place | points row 1 : 1 | belgium | dutch | bobbejaan schoepen | "straatdeuntje" | street tune | 8 | 5 row 2 : 2 | luxembourg | french | daniele dupre | "amours mortes (tant de peine | dead love (so much sorrow) | 4 | 8 row 3 : 3 | united kingdom | english | patricia bredin | "all" | None | 7 | 6 row 4 : 4 | italy | italian | nunzio gallo | "corde della mia chi | strings of my guitar | 6 | 7 row 5 : 5 | austria | german | bob martin | "wohin, kleines pony?" | where to, little pony? | 10 | 3 row 6 : 6 | netherlands | dutch | corry brokken | "net als toen" | just like then | 1 | 31 row 7 : 7 | germany | german | margot hielscher | "telefon, telefon" | telephone, telephone | 4 | 8 row 8 : 8 | france | french | paule desjardins | "la belle amour" | beautiful love | 2 | 17 row 9 : 9 | denmark | danish | birthe wilke & gusta | "skibet skal sejle | the ship will sail tonight | 3 | 10 row 10 : 10 | switzerland | french | lys assia | "l'enfant que j'et | the child i was | 8 | 5 ] Execute this SQL based on the above table: select artist group by artist order by count ( * ) desc limit 1
paule desjardins
[ header: season | competition | round | club | home | away | aggregate row 1 : 2010-11 | uefa europa league | q3 | motherwell | 1-1 | 0-3 | 1-4 row 2 : 2011-12 | uefa europa league | q1 | neath | 4-1 | 2-0 | 6-1 row 3 : 2011-12 | uefa europa league | q2 | ferencvaros | 3-1(aet) | 1-2 | 4-3 row 4 : 2011-12 | uefa europa league | q3 | elfsborg | 4-0 | 1-1 | 5-1 row 5 : 2011-12 | uefa europa league | play-off | az | 2-1 | 0-6 | 2-7 row 6 : 2012-13 | uefa europa league | q2 | tirana | 5-0 | 1-1 | 6-1 row 7 : 2012-13 | uefa europa league | q3 | apoel | 0-1 | 1-2 | 1-3 ] Execute this SQL based on the above table: select away order by aggregate desc limit 1
2-0
[ header: season | series | team | races | wins | poles | f/laps | podiums | points | position row 1 : 2003 | formula renault 2.0 italy | cram competition | 12 | 0 | 1 | 1 | 3 | 118 | 7th row 2 : 2003 | formula renault 2000 masters season | cram competition | 8 | 0 | 0 | 0 | 0 | 0 | 28th row 3 : 2003 | formula renault 2.0 germany | cram competition | 2 | 0 | 0 | 0 | 0 | 3 | 43rd row 4 : 2003 | formula renault 2.0 italy winter cup | cram competition | None | None | None | None | None | None | 1st row 5 : 2004 | formula renault 2.0 italy | cram competition | 17 | 8 | 6 | 11 | 12 | 326 | 1st row 6 : 2004 | formula renault 2000 eurocup | cram competition | 15 | 2 | 0 | 1 | 3 | 134 | 8th row 7 : 2004 | formula renault v6 eurocup | cram competition | 2 | 0 | 0 | 0 | 0 | 12 | 21st row 8 : 2004 | formula one | minardi | test driver | test driver | test driver | test driver | test driver | test driver | test driver row 9 : 2005 | world series by renault | dams | 8 | 0 | 0 | 0 | 0 | 4 | 25th row 10 : 2005 | italian formula 3000 | sighinolfi auto racing | 4 | 1 | 1 | 1 | 1 | 14 | 9th row 11 : 2006 | world series by renault | draco racing | 17 | 3 | 5 | 6 | 5 | 103 | 3rd row 12 : 2007 | gp2 series | trident racing | 13 | 1 | 1 | 0 | 2 | 25 | 11th row 13 : 2007 | euroseries 3000 | g-tec | 2 | 1 | 1 | 1 | 1 | 12 | 10th row 14 : 2007 | formula 3000 italy | g-tec | 2 | 1 | 1 | 1 | 1 | 12 | 8th row 15 : 2008 | gp2 series | piquet sports | 20 | 1 | 2 | 3 | 6 | 60 | 5th row 16 : 2008 | international gt open - gt | scuderia latorre | 2 | 0 | 0 | 0 | 1 | 8 | 22nd row 17 : 2008 | euroseries 3000 | gp racing | 1 | 1 | 0 | 1 | 1 | 11 | 12th row 18 : 2008 | international gt open | scuderia latorre | None | None | None | None | None | 18 | 32nd row 19 : 2008-09 | gp2 asia series | art grand prix | 5 | 0 | 0 | 0 | 1 | 7 | 15th row 20 : 2009 | euroseries 3000 | teamcraft motorsport | 2 | 1 | 0 | 0 | 1 | 10 | 10th row 21 : 2009 | gp2 series | art grand prix | 20 | 2 | 0 | 0 | 2 | 36 | 6th row 22 : 2010 | gp2 series | rapax team | 20 | 6 | 0 | 5 | 8 | 87 | 1st row 23 : 2011 | formula one | at&t williams | 19 | 0 | 0 | 0 | 0 | 1 | 18th row 24 : 2012 | formula one | williams f1 team | 20 | 1 | 1 | 0 | 1 | 45 | 15th row 25 : 2013 | formula one | williams f1 team | 19 | 0 | 0 | 0 | 0 | 1 | 18th row 26 : 2014 | formula one | lotus f1 team | 2 | 0 | 0 | 0 | 0 | 0 | nc ] Execute this SQL based on the above table: select count ( series ) where races != 5
22
[ 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 finale date order by housemates desc limit 1
1 april 2012
[ header: name | year built | country | town | height | remarks row 1 : glacial aerial tramway kaprun i | 1966 | austria | kaprun | 113.6 m | the tallest pylon is on the third row 2 : mississippi aerial river transit | 1984 | usa | new orleans | 109 m | the tallest pylon on a row 3 : torre jaume i | 1931 | spain | barcelona | 107 m | intermediate stop of the harbour aerial tramway, also row 4 : gant hohtaelli aerial tram | None | switzerland | zermatt | 94 m | one pylon row 5 : london emirates air line | early 2012 | uk | london | 88 m | north main tower. river thames aerial row 6 : singapore cable car | 1972 | singapore | singapore | 88 m | pylon i row 7 : eibsee aerial tramway | 1962 | germany | garmisch-partenkirchen | 85 m | pylon ii row 8 : nizhny novgorod vol | 2012 | russia | nizhny novgorod | 82 m | None row 9 : mittersill goods aerial tramway | 1940s | austria | mittersill | 80 m | two pylons for a tramway row 10 : singapore cable car | 1972 | singapore | singapore | 80 m | pylon ii row 11 : 3s aerial tramway | 2004 | austria | kitzbuhel | 80 m | one pylon row 12 : torre sant sebasti | 1931 | spain | barcelona | 78 m | terminal of harbour aerial tramway row 13 : roosevelt island tram | 1976 | usa | new york city | 76 m | central pylon of commuter tramway row 14 : wendelstein aerial tramway | 1970 | germany | bayerischzell-osterhof | 75 m | None row 15 : vinpearl cable car | 2007 | vietnam | nha trang | 75 m | 7 pylons standing in the sea. row 16 : sandia peak tramway | 1965 | usa | albuquerque | 70.7 m | pylon 1, inclined at an angle of 18 row 17 : eibsee aerial tramway | 1962 | germany | garmisch-partenkirchen | 65 m | pylon i ] Execute this SQL based on the above table: select year built where year built = 1962
1962, 1962
[ header: rank | athlete | country | time | notes row 1 : None | nataliya petrusyova | soviet union | 1:24.10 | or row 2 : None | leah poulos | united states | 1:25.41 | None row 3 : None | sylvia albrecht | east germany | 1:26.46 | None row 4 : 4 | karin enke | east germany | 1:26.66 | None row 5 : 5 | beth heiden | united states | 1:27.01 | None row 6 : 6 | annie borckink | netherlands | 1:27.24 | None row 7 : 7 | sylvia burka | canada | 1:27.50 | None row 8 : 8 | ann-sofie jarnstrom | sweden | 1:28.10 | None row 9 : 9 | sylvia filipsson | sweden | 1:28.18 | None row 10 : 10 | annette carlen-karls | sweden | 1:28.25 | None row 11 : 11 | valentina lalenkova | soviet union | 1:28.27 | None row 12 : 12 | bjørg eva jen | norway | 1:28.55 | None row 13 : 13 | sijtje van der lende | netherlands | 1:28.72 | None row 14 : 14 | sarah docter | united states | 1:28.80 | None row 15 : 14 | haitske valentijn-pij | netherlands | 1:28.80 | None row 16 : 16 | erwina rys-feren | poland | 1:28.82 | None row 17 : 17 | miyoshi kato | japan | 1:28.97 | None row 18 : 18 | christa rothenburger | east germany | 1:29.69 | None row 19 : 19 | brenda webster | canada | 1:29.84 | None row 20 : 20 | irina kuleshova | soviet union | 1:29.94 | None row 21 : 21 | monika pflug | west germany | 1:30.13 | None row 22 : 22 | makiko nagaya | japan | 1:30.27 | None row 23 : 23 | sigrid smuda | west germany | 1:30.29 | None row 24 : 24 | kathy vogt | canada | 1:30.33 | None row 25 : 25 | yuko yaegashi- | japan | 1:30.72 | None row 26 : 26 | lee nam-sun | south korea | 1:31.30 | None row 27 : 27 | cao guifeng | china | 1:31.74 | None row 28 : 28 | anneli repola | finland | 1:31.76 | None row 29 : 29 | silvia brunner | switzerland | 1:31.79 | None row 30 : 30 | lee seong-ae | south korea | 1:32.04 | None row 31 : 31 | zhang li | china | 1:32.20 | None row 32 : 32 | shen zhenshu | china | 1:32.49 | None row 33 : 33 | brigitte flierl | west germany | 1:33.61 | None row 34 : 34 | kim yeong-hui | south korea | 1:34.17 | None row 35 : 35 | kim ferran | great britain | 1:34.19 | None row 36 : 36 | marzia peretti | italy | 1:35.66 | None row 37 : 37 | mandy horsepool | great britain | 1:36.31 | None ] Execute this SQL based on the above table: select max ( rank ) where rank >= 16
37.0
[ header: season | level | name | position | nationality | international caps row 1 : 1973 | 1 | kevin beattie | defender | england | 9 row 2 : 1974 | 1 | kevin beattie | defender | england | 9 row 3 : 1975 | 1 | colin viljoen | midfielder | england | 2 row 4 : 1976 | 1 | allan hunter | defender | northern ireland | 53 row 5 : 1977 | 1 | george burley | defender | scotland | 11 row 6 : 1978 | 1 | mick mills | defender | england | 42 row 7 : 1979 | 1 | arnold muhren | midfielder | netherlands | 23 row 8 : 1980 | 1 | frans thijssen | midfielder | netherlands | 14 row 9 : 1981 | 1 | paul cooper | goalkeeper | england | None row 10 : 1982 | 1 | alan brazil | striker | scotland | 13 row 11 : 1983 | 1 | paul mariner | striker | england | 35 row 12 : 1984 | 1 | trevor putney | midfielder | england | None row 13 : 1985 | 1 | terry butcher | defender | england | 77 row 14 : 1986 | 1 | terry butcher | defender | england | 77 row 15 : 1987 | 2 | romeo zondervan | midfielder | netherlands | 6 row 16 : 1988 | 2 | frank yallop | defender | canada | 52 row 17 : 1989 | 2 | john wark | midfielder | scotland | 29 row 18 : 1990 | 2 | john wark | midfielder | scotland | 29 row 19 : 1991 | 2 | david linighan | defender | england | None row 20 : 1992 | 2 | john wark | midfielder | scotland | 29 row 21 : 1993 | 1 | mick stockwell | midfielder | england | None row 22 : 1994 | 1 | john wark | midfielder | scotland | 29 row 23 : 1995 | 1 | craig forrest | goalkeeper | canada | 56 row 24 : 1996 | 2 | simon milton | midfielder | england | None row 25 : 1997 | 2 | mauricio taricco | defender | argentina | None row 26 : 1999 | 2 | jamie clapham | defender | england | None row 27 : 2000 | 2 | james scowcroft | striker | england | None row 28 : 2001 | 1 | marcus stewart | striker | england | None row 29 : 2002 | 1 | mark venus | defender | england | None row 30 : 2003 | 2 | matt holland | midfielder | ireland | 49 row 31 : 2004 | 2 | ian westlake | midfielder | england | None row 32 : 2005 | 2 | shefki kuqi | striker | finland | 60 row 33 : 2006 | 2 | fabian wilnis | defender | netherlands | None row 34 : 2007 | 2 | sylvain legwinski | midfielder | france | None row 35 : 2008 | 2 | jonathan walters | striker | ireland | 19 row 36 : 2009 | 2 | richard wright | goalkeeper | england | 2 row 37 : 2010 | 2 | gareth mcauley | defender | northern ireland | 21 row 38 : 2011 | 2 | jimmy bullard | midfielder | england | None row 39 : 2012 | 2 | aaron cresswell | defender | england | None row 40 : 2013 | 2 | tommy smith | defender | new zealand | 22 ] Execute this SQL based on the above table: select name where season = ( select season where name = 'james scowcroft' ) + 1
marcus stewart
[ header: year | team | gp | gs | mpg | fg% | 3p% | ft% | rpg | apg | spg | bpg | ppg row 1 : 1993-94 | golden state | 76 | 76 | 32.1 | 0.552 | 0 | 0.532 | 9.1 | 3.6 | 1.2 | 2.2 | 17.5 row 2 : 1994-95 | washington | 54 | 52 | 38.3 | 0.495 | 0.276 | 0.502 | 9.6 | 4.7 | 1.5 | 1.6 | 20.1 row 3 : 1995-96 | washington | 15 | 15 | 37.2 | 0.543 | 0.441 | 0.594 | 7.6 | 5 | 1.8 | 0.6 | 23.7 row 4 : 1996-97 | washington | 72 | 72 | 39 | 0.518 | 0.397 | 0.565 | 10.3 | 4.6 | 1.7 | 1.9 | 20.1 row 5 : 1997-98 | washington | 71 | 71 | 39.6 | 0.482 | 0.317 | 0.589 | 9.5 | 3.8 | 1.6 | 1.7 | 21.9 row 6 : 1998-99 | sacramento | 42 | 42 | 40.9 | 0.486 | 0.118 | 0.454 | 13 | 4.1 | 1.4 | 2.1 | 20 row 7 : 1999-00 | sacramento | 75 | 75 | 38.4 | 0.483 | 0.284 | 0.751 | 10.5 | 4.6 | 1.6 | 1.7 | 24.5 row 8 : 2000-01 | sacramento | 70 | 70 | 40.5 | 0.481 | 0.071 | 0.703 | 11.1 | 4.2 | 1.3 | 1.7 | 27.1 row 9 : 2001-02 | sacramento | 54 | 54 | 38.4 | 0.495 | 0.263 | 0.749 | 10.1 | 4.8 | 1.7 | 1.4 | 24.5 row 10 : 2002-03 | sacramento | 67 | 67 | 39.1 | 0.461 | 0.238 | 0.607 | 10.5 | 5.4 | 1.6 | 1.3 | 23 row 11 : 2003-04 | sacramento | 23 | 23 | 36.1 | 0.413 | 0.2 | 0.711 | 8.7 | 4.6 | 1.3 | 0.9 | 18.7 row 12 : 2004-05 | sacramento | 46 | 46 | 36.3 | 0.449 | 0.379 | 0.799 | 9.7 | 5.5 | 1.5 | 0.7 | 21.3 row 13 : 2004-05 | philadelphia | 21 | 21 | 33.4 | 0.391 | 0.267 | 0.776 | 7.9 | 3.1 | 1.2 | 0.9 | 15.6 row 14 : 2005-06 | philadelphia | 75 | 75 | 38.6 | 0.434 | 0.273 | 0.756 | 9.9 | 3.4 | 1.4 | 0.8 | 20.2 row 15 : 2006-07 | philadelphia | 18 | 18 | 30.2 | 0.387 | 0.4 | 0.643 | 8.3 | 3.4 | 1 | 0.8 | 11 row 16 : 2006-07 | detroit | 43 | 42 | 29.7 | 0.489 | 0.333 | 0.636 | 6.7 | 3 | 1 | 0.6 | 11.3 row 17 : 2007-08 | golden state | 9 | 8 | 14 | 0.484 | 0 | 0.417 | 3.6 | 2 | 0.4 | 0.7 | 3.9 row 18 : career | None | 831 | 827 | 37.1 | 0.479 | 0.299 | 0.649 | 9.8 | 4.2 | 1.4 | 1.4 | 20.7 row 19 : all-star | None | 4 | 4 | 19 | 0.371 | 0.333 | 0.375 | 6 | 3.3 | 1 | None | 7.5 ] Execute this SQL based on the above table: select team where id = 1
golden state
[ header: year | award | category | work | result row 1 : 1992 | 8th soap opera digest awards | outstanding female newcomer: daytime | the young and the restless | nominated row 2 : 1994 | 10th soap opera digest awards | outstanding scene stealer | the young and the restless | won row 3 : 1994 | 26th naacp image award | outstanding actress in a daytime drama series | the young and the restless | won row 4 : 1995 | 11th soap opera digest awards | hottest female star | the young and the restless | nominated row 5 : 1996 | 27th naacp image award | outstanding actress in a daytime drama series | the young and the restless | won row 6 : 1996 | 23rd daytime emmy awards | outstanding supporting actress in a drama series | the young and the restless | nominated row 7 : 1997 | 24th daytime emmy awards | outstanding supporting actress in a drama series | the young and the restless | nominated row 8 : 1997 | 28th naacp image award | outstanding actress in a daytime drama series | the young and the restless | won row 9 : 1998 | 25th daytime emmy awards | outstanding supporting actress in a drama series | the young and the restless | nominated row 10 : 1998 | 29th naacp image award | outstanding actress in a daytime drama series | the young and the restless | won row 11 : 1999 | 30th naacp image award | outstanding actress in a daytime drama series | diagnosis murder | nominated row 12 : 1999 | 30th naacp image award | outstanding actress in a daytime drama series | the young and the restless | won row 13 : 2001 | 31st naacp image | outstanding actress in a daytime drama series | the young and the restless | won row 14 : 2003 | 34th naacp image award | outstanding actress in a daytime drama series | the young and the restless | won row 15 : 2003 | 18th soap opera digest awards | favorite return | the young and the restless | nominated row 16 : 2004 | 35th naacp image award | outstanding actress in a daytime drama series | the young and the restless | won row 17 : 2005 | 19th soap opera digest awards | outstanding actress in a supporting role | the young and the restless | nominated row 18 : 2005 | 36th naacp image award | outstanding actress in a daytime drama series | the young and the restless | won row 19 : 2006 | 37th naacp image award | outstanding actress in a daytime drama series | the young and the restless | won ] Execute this SQL based on the above table: select work where work in ( 'diagnosis murder' , 'the young and the restless' ) order by year desc limit 1
the young and the restless
[ header: dates | location | attendance | official guests | notes row 1 : august 3-5, 1973 | pick-congress hotel | None | none | known as nostalgia '73, 2nd annual row 2 : july 5-7, 1985 | ramada o'hare | None | guest of honor: sergio aragones | 10th anniversary chicago comicon row 3 : july 17-19, 1998 | rosemont convention center | 25000 | guest of honor: todd mc | None row 4 : august 5-7, 2005 | rosemont convention center | None | None | None row 5 : august 9-12, 2012 | donald e. stephens convention | None | william shatner, jer | None ] Execute this SQL based on the above table: select location where attendance > 275 and location != 'pick-congress hotel'
rosemont convention center
[ header: availability / production | | 2000 | 2001 | 2002 | 2003 | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 | 2010 | 2011 | 2012 row 1 : availability | hydro power | 1150 | 1161 | 1171 | 1247 | 1281 | 1293 | 1316 | 1326 | 1357 | 1379 | 1382 | 1401 | 1584 row 2 : availability | thermal | 685 | 835 | 1056 | 1233 | 1215 | 1155 | 1155 | 1155 | 1285 | 1290 | 1390 | 1690 | 1638 row 3 : availability | other renewables | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 15 | 45 | 50 | 90 row 4 : availability | total availability | 1838 | 1999 | 2230 | 2483 | 2499 | 2411 | 2434 | 2444 | 2645 | 2684 | 2818 | 3141 | 3312 row 5 : production | hydro power | 3197 | 3110 | 2962 | 3310 | 2960 | 3451 | 4634 | 3947 | 4130 | 3881 | 5634 | 4622 | 3292 row 6 : production | thermal | 3485 | 3407 | 3201 | 4298 | 5080 | 5314 | 4751 | 5864 | 5763 | 5975 | 4995 | 6785 | 8339 row 7 : production | other renewables | 3 | 3 | 4 | 3 | 3 | 5 | 4 | 4 | 8 | 27 | 86 | 121 | 169 row 8 : production | total production | 6685 | 6520 | 6167 | 7611 | 8043 | 8770 | 9389 | 9815 | 9901 | 9883 | 10715 | 11528 | 11800 ] Execute this SQL based on the above table: select order by id desc limit 1
total production
[ header: year | crystal bicycle (best professional cyclist) | best young rider | best manager | crystal drop of sweat (best helper) row 1 : 1992 | dirk de wolf | not awarded | not awarded | not awarded row 2 : 1993 | johan museeuw | not awarded | not awarded | not awarded row 3 : 1994 | paul herygers | kristof trouve | not awarded | not awarded row 4 : 1995 | johan museeuw | leif hoste | not awarded | not awarded row 5 : 1996 | johan museeuw | glenn d'hollander | not awarded | not awarded row 6 : 1997 | johan museeuw | sven nys | not awarded | not awarded row 7 : 1998 | tom steels | sven nys | not awarded | not awarded row 8 : 1999 | frank vandenbroucke | kevin hulsmans | not awarded | not awarded row 9 : 2000 | andrei tchmil | jurgen van goolen | patrick lefevere & jo | not awarded row 10 : 2001 | rik verbrugghe | tom boonen | jef braeckevelt | not awarded row 11 : 2002 | johan museeuw | kevin de weert | johan bruyneel | not awarded row 12 : 2003 | peter van petegem | johan vansummeren | johan bruyneel | not awarded row 13 : 2004 | tom boonen | niels albert | patrick lefevere | not awarded row 14 : 2005 | tom boonen | niels albert | jose de cauwer | kevin hulsmans row 15 : 2006 | tom boonen | dominique cornu | patrick lefevere | gert steegmans row 16 : 2007 | sven nys | niels albert | johan bruyneel | johan vansummeren row 17 : 2008 | philippe gilbert | jan bakelants | johan bruyneel | mario aerts row 18 : 2009 | philippe gilbert | kris boeckmans | johan bruyneel | stijn vandenbergh row 19 : 2010 | philippe gilbert | yannick eijssen | marc sergeant | mario aerts row 20 : 2011 | philippe gilbert | tosh van der sande | john lelangue | jelle vanendert row 21 : 2012 | tom boonen | gijs van hoecke | carlo bomans | kevin de weert row 22 : 2013 | sven nys | igor decraene | patrick lefevere | stijn vandenbergh ] Execute this SQL based on the above table: select best young rider order by year limit 1
not awarded
[ header: rank | player | from | to | transfer fee (€ million) | year row 1 : 1 | miralem sulejman | heerenveen | ajax | 16.25 | 2008 row 2 : 2 | strootman & merten | utrecht | psv | 13 | 2011 row 3 : 3 | mateja kezman | partizan | psv | 11.3 | 2000 row 4 : 4 | klaas-jan huntelaar | heerenveen | ajax | 9 | 2006 row 5 : 5 | nikos machlas | vitesse | ajax | 8.6 | 1999 row 6 : 6 | zlatan ibrahimovic | malmo ff | ajax | 8.4 | 2001 row 7 : 7 | jan vennegoor of h | twente | psv | 8.2 | 2001 row 8 : 8 | luis suarez | groningen | ajax | 7.5 | 2007 row 9 : 9 | dario cvitanich | banfield | ajax | 7.5 | 2008 row 10 : 10 | ferdi vierklau | tenerife | ajax | 7.3 | 1998 row 11 : 11 | adam maher | az | psv | 6.5 | 2013 ] Execute this SQL based on the above table: select from where transfer fee (€ million) = '11.3' order by transfer fee (€ million) limit 1
partizan
[ header: year | car | start | qual | rank | finish | laps | led | retired row 1 : 1961 | 98 | 5 | 146.08 | 7 | 12 | 192 | 27 | flagged row 2 : 1962 | 98 | 1 | 150.37 | 1 | 7 | 200 | 120 | running row 3 : 1963 | 98 | 1 | 151.153 | 1 | 1 | 200 | 167 | running row 4 : 1964 | 98 | 4 | 155.099 | 4 | 23 | 55 | 7 | pit fire row 5 : 1965 | 98 | 5 | 158.625 | 5 | 2 | 200 | 0 | running row 6 : 1966 | 98 | 4 | 162.484 | 4 | 14 | 87 | 0 | wheel bearing row 7 : 1967 | 40 | 6 | 166.075 | 6 | 6 | 196 | 171 | bearing row 8 : totals | totals | totals | totals | totals | totals | 1130 | 492 | None ] Execute this SQL based on the above table: select year where year = 'totals'
totals
[ header: year | film | role | language | notes row 1 : 2004 | kyun! ho gaya na | diya's sister | hindi | None row 2 : 2007 | lakshmi kalyanam | lakshmi | telugu | None row 3 : 2007 | chandamama | mahalakshmi | telugu | None row 4 : 2008 | pourudu | samyukhta | telugu | None row 5 : 2008 | pazhani | deepti | tamil | None row 6 : 2008 | aatadista | sunnanda | telugu | None row 7 : 2008 | saroja | pooja | tamil | cameo appearance row 8 : 2008 | bommalattam | anitha | tamil | None row 9 : 2009 | modhi vilayadu | easwari laksh | tamil | None row 10 : 2009 | magadheera | yuvarani mithravind | telugu | dual role nominated- filmfare award row 11 : 2009 | ganesh just ganes | divya | telugu | None row 12 : 2009 | arya 2 | geethanjali | telugu | None row 13 : 2010 | om shanti | meghana | telugu | None row 14 : 2010 | darling | nandini | telugu | nominated- filmfare award for best row 15 : 2010 | naan mahaan alla | priya sudharsan | tamil | None row 16 : 2010 | brindaavanam | bhoomi | telugu | cinemaa award for best actress (telugu row 17 : 2011 | mr. perfect | priya | telugu | nominated- filmfare award for best row 18 : 2011 | veera | chitti | telugu | None row 19 : 2011 | singham | kavya bhosle | hindi | nominated- filmfare award for best row 20 : 2011 | dhada | rhea | telugu | None row 21 : 2012 | businessman | chitra | telugu | None row 22 : 2012 | maattrraan | anjali | tamil | None row 23 : 2012 | thuppakki | nisha | tamil | cinemaa award for best actress (tamil row 24 : 2012 | sarocharu | sandhya | telugu | None row 25 : 2013 | naayak | madhu | telugu | None row 26 : 2013 | special 26 | priya chauhan | hindi | None row 27 : 2013 | baadshah | janaki | telugu | None row 28 : 2013 | all in all azhagu raj | chitra devi priya | tamil | None row 29 : 2014 | jilla | shanthi | tamil | None row 30 : 2014 | yevadu | deepthi | telugu | special appearance row 31 : 2014 | govindudu andarivadele | None | telugu | filming row 32 : 2014 | 'untitled balaji mohan project | None | tamil | pre-production ] Execute this SQL based on the above table: select role where language = 'tamil'
deepti, pooja, anitha, easwari lakshmiram, priya sudharsan, anjali, nisha, chitra devi priya, shanthi
[ header: title | release | genre | computer | console | handheld | smartphone row 1 : bionicle heroes | 2006 | third-person shooter | windows | playstation 2, gamecube, xbox | nintendo ds | None row 2 : bionicle: matoran adventures | 2002 | platformer | None | None | game boy advance | None row 3 : bionicle: maze of shadows | 2005 | turn based rpg | None | None | game boy advance | None row 4 : bionicle: the game | 2003 | adventure | windows, os x | playstation 2, gamecube, xbox | game boy advance | None row 5 : drome racers | 2002 | racing | windows | playstation 2, gamecube, xbox | game boy advance | None row 6 : island xtreme stunts | 2002 | action-adventure | windows | playstation 2 | game boy advance | None row 7 : lego alpha team | 2000 | action | windows | None | game boy color | None row 8 : lego battles | 2009 | real-time strategy | None | None | nintendo ds | None row 9 : lego battles: ninjago | 2011 | real-time strategy | None | None | nintendo ds | ios row 10 : lego chess | 1998 | strategy | windows | None | None | None row 11 : lego city undercover | 2013 | open world, platform game | None | wii u | None | None row 12 : lego city undercover: the chase begins | 2013 | open world, platform game | None | None | nintendo 3ds | None row 13 : lego creationary | 2011 | puzzle | None | None | None | ios, android row 14 : lego creator: knights kingdom | 2000 | construction and management simulation | windows | None | None | None row 15 : lego friends | 2013 | miscellaneous | None | None | nintendo ds, | None row 16 : lego island | 1997 | action-adventure | windows | None | None | None row 17 : lego island 2 the brickster's revenge | 2001 | action-adventure | windows | playstation | game boy color, game boy advance | None row 18 : lego knights' kingdom | 2004 | action-adventure | None | None | game boy advance | None row 19 : lego legends of chima online | 2014 | massively multiplayer online (mmo) | windows | None | None | None row 20 : lego legends of chima: speed | 2013 | racing | windows | None | None | ios row 21 : lego loco | 1998 | virtual world | windows | None | None | None row 22 : lego minifigures online | 2014 | massively multiplayer online (mmo) | windows | None | None | ios, android row 23 : lego my style kindergarten | 2000 | educational | windows, mac os | None | None | None row 24 : lego my style preschool | 2000 | educational | windows, mac os | None | None | None row 25 : lego ninjago: the final | 2013 | platformer | windows | None | None | None row 26 : lego racers | 1999 | racing | windows | playstation, nintendo 64 | game boy color | None row 27 : lego racers 2 | 2001 | racing | windows | playstation 2 | game boy advance | None row 28 : lego rock raiders | 1999 | real-time strategy, action | windows | playstation | None | None row 29 : lego soccer mania | 2002 | sport | windows | playstation 2 | game boy advance | None row 30 : lego stunt rally | 2000 | racing | windows | None | game boy color | None row 31 : lego universe | 2010 | massively multiplayer online (mmo) | windows, os x | None | None | None row 32 : legoland | 1999 | simulation strategy | windows | None | None | None ] Execute this SQL based on the above table: select ( select release where title = 'drome racers' ) - ( select release where title = 'lego my style kindergarten' )
2
[ header: # | picture | name | took office | left office | party row 1 : 1 | None | johan ferrier | 25 november 1975 | 13 august 1980 (resigned after a febr | independent row 2 : 2 | None | hendrick chin a s | 15 august 1980 | 4 february 1982 | pnr row 3 : 3 | None | fred ramdat misier | 8 february 1982 | 25 january 1988 | independent row 4 : 4 | 60px | ramsewak shankar | 25 january 1988 | 24 december 1990 (deposed) | vhp row 5 : 5 | 60px | johan kraag | 29 december 1990 | 16 september 1991 | nps row 6 : 6 | None | ronald venetiaan | 16 september 1991 | 15 september 1996 | nps row 7 : 7 | None | jules wijdenbosch | 15 september 1996 | 12 august 2000 | ndp row 8 : (6) | None | ronald venetiaan | 12 august 2000 | 12 august 2010 | nps row 9 : 8 | None | desi bouterse | 12 august 2010 | incumbent | ndp ] Execute this SQL based on the above table: select count ( took office ) where took office = '29 december 1990'
1
[ 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 team order by third place asc limit 1
western michigan
[ header: goal | date | venue | opponent | score | result | competition row 1 : 1 | 10 october 1998 | tyencastle park, e | estonia | 1-1 | 3-2 | ecqg9 row 2 : 2 | 10 october 1998 | tyencastle park, e | estonia | 3-2 | 3-2 | ecqg9 row 3 : 3 | 14 october 1998 | pittodrie stadium, aberdeen | faroe islands | 2-0 | 2-1 | ecqg9 row 4 : 4 | 4 september 1999 | olimpijski stadion | bosnia and herzegovin | 2-1 | 2-1 | ecqg9 row 5 : 5 | 24 march 2001 | hampden park, glasgow | belgium | 1-0 | 2-2 | wcqg6 row 6 : 6 | 24 march 2001 | hampden park, glasgow | belgium | 2-0 | 2-2 | wcqg6 row 7 : 7 | 28 march 2001 | hampden park, glasgow | san marino | 3-0 | 4-0 | wcqg6 ] Execute this SQL based on the above table: select count ( score ) where competition = 'ecqg9'
4