inputs
stringlengths
291
3.71k
targets
stringlengths
1
2.65k
[ header: community | currency | region | target date | notes row 1 : economic and monetary community of central africa (ce | central african cfa franc | africa | None | not yet functioning common market row 2 : west african economic and monetary union (u | west african cfa franc | africa | None | not yet functioning common market row 3 : gulf cooperation council (gcc) | khaleeji | middle east | 2013 | possibly gold backed, but postponed row 4 : east african community (eac) | east african shilling | africa | 2015 | to be used by the future east african row 5 : caribbean single market and economy (a | None | latin america /caribbean | 2015 | to supplement the oecs eastern ca row 6 : southern african customs union (sacu | south african rand | africa | 2015 | de facto for the cma member when the row 7 : southern african development community (sadc | south african rand (interim proposal) | africa | 2016 | to supplement or succeed the cma and southern africa row 8 : south asian association for regional cooperation | None | south asia | 2016 | None row 9 : union of south american nations (unasur) | latino | latin america /caribbean | 2019 | None row 10 : economic community of central african states (ecca | None | africa | None | to supplement the economic and monetary community of central row 11 : economic community of west african states (eco | None | africa | None | to succeed uemoa and wa row 12 : african economic community | None | africa | 2028 | see african monetary union row 13 : union state of russia and belarus | russian ruble | europe | None | None row 14 : arab league | arab dinar | arab states | None | arab dinar has been proposed ever since the creation ] Execute this SQL based on the above table: select notes where notes in ( 'to supplement the oecs eastern caribbean currency union' , 'see african monetary union' ) order by target date limit 1
to supplement the oecs eastern caribbean currency union
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 10 january 1996 | edison international field, ana | honduras | 1-0 | 3-1 | 1996 concacaf gold cup row 2 : 2 | 30 august 1996 | commonwealth stadium, edmont | panama | 3-1 | 3-1 | 1998 fifa world cup qualification row 3 : 3 | 12 october 1997 | commonwealth stadium, edmont | mexico | 2-1 | 2-2 | 1998 fifa world cup qualification row 4 : 4 | 8 october 1999 | los angeles memorial coliseum | el salvador | 1-0 | 2-1 | 2000 concacaf gold cup qualification play off row 5 : 5 | 10 october 1999 | los angeles memorial coliseum | haiti | 1-0 | 2-1 | 2000 concacaf gold cup qualification play off row 6 : 6 | 10 october 1999 | los angeles memorial coliseum | haiti | 2-0 | 2-2 | 2000 concacaf gold cup qualification play off row 7 : 7 | 13 february 2000 | qualcomm stadium, san die | costa rica | 1-1 | 2-2 | 2000 concacaf gold cup row 8 : 8 | 13 february 2000 | qualcomm stadium, san die | costa rica | 2-2 | 2-2 | 2000 concacaf gold cup row 9 : 9 | 20 february 2000 | qualcomm stadium, san die | mexico | 1-1 | 2-1 | 2000 concacaf gold cup row 10 : 10 | 27 february 2000 | los angeles memorial coliseum | colombia | 2-0 | 2-0 | 2000 concacaf gold cup row 11 : 11 | 18 january 2004 | bridgetown, barbados | barbados | 1-0 | 1-0 | friendly match ] Execute this SQL based on the above table: select venue group by venue order by count ( result ) desc limit 1
los angeles memorial coliseum, los angeles, united states
[ header: year | div. | pos. | cup | top scorer (league) | score row 1 : 2003 | uzl | 12th | 1/4 | None | None row 2 : 2004 | uzl | 7th | 1/4 | rahmat inogamov | 8 row 3 : 2005 | uzl | 12th | 1/2 | alisher kholiqov | 6 row 4 : 2006 | uzl | 11th | 1/4 | alisher kholiqov | 9 row 5 : 2007 | uzl | 9th | r16 | None | None row 6 : 2008 | uzl | 15th | 1/4 | lochin soliev | 8 row 7 : 2009 | uzl | 15th | 1/4 | None | None row 8 : 2010 | 1st | 1st | r32 | abdulatif juraev | 27 row 9 : 2011 | uzl | 9th | r32 | sukhrob nematov | 7 row 10 : 2012 | uzl | 7th | 1/2 | vokhid shodiev | 5 row 11 : 2013 | uzl | 6th | r16 | vokhid shodiev | 12 ] Execute this SQL based on the above table: select pos. order by score desc limit 1
1st
[ header: season | level | division | section | administration | position | movements row 1 : 1999 | tier 2 | ykkonen (first division) | south group | finnish fa (suo | 9th | relegation group - relegate row 2 : 2000 | tier 3 | kakkonen (second division) | south group | finnish fa (suo | 2nd | play-offs - promoted row 3 : 2001 | tier 2 | ykkonen (first division) | south group | finnish fa (suo | 9th | relegated row 4 : 2002 | tier 3 | kakkonen (second division) | south group | finnish fa (suo | 2nd | None row 5 : 2003 | tier 3 | kakkonen (second division) | south group | finnish fa (suo | 11th | relegated row 6 : 2004 | tier 4 | kolmonen (third division) | section 3 | helsinki & u | 8th | None row 7 : 2005 | tier 4 | kolmonen (third division) | section 3 | helsinki & u | 6th | None row 8 : 2006 | tier 4 | kolmonen (third division) | section 2 | helsinki & u | 7th | None row 9 : 2007 | tier 4 | kolmonen (third division) | section 3 | helsinki & u | 2nd | None row 10 : 2008 | tier 4 | kolmonen (third division) | section 3 | helsinki & u | 2nd | None row 11 : 2009 | tier 4 | kolmonen (third division) | section 2 | helsinki & u | 1st | promoted row 12 : 2010 | tier 3 | kakkonen (second division) | group a | finnish fa (suo | None | None ] Execute this SQL based on the above table: select division order by season desc limit 1
kakkonen (second division)
[ header: pos | driver | entrant | constructor | time/retired | grid row 1 : 1 | jim clark | team lotus | lotus-climax | 2.02:58.6 | 1 row 2 : 2 | richie ginther | owen racing organisation | brm | + 22.6 s | 3 row 3 : 3 | graham hill | owen racing organisation | brm | + 28.2 s | 2 row 4 : 4 | jack brabham | brabham racing organisation | brabham-climax | + 52.0 s | 11 row 5 : 5 | tony maggs | cooper car company | cooper-climax | 72 laps | 6 row 6 : 6 | bruce mclaren | cooper | cooper-climax | 72 laps | 7 row 7 : 7 | mike hailwood | reg parnell (racing) | lola-climax | 70 laps | 9 row 8 : 8 | ian burgess | scirocco-powell (racing | scirocco-brm | 69 laps | 18 row 9 : 9 | peter revson | reg parnell (racing) | lotus-brm | 69 laps | 15 row 10 : 10 | carel godin de beaufort | ecurie maarsbergen | porsche | 67 laps | 20 row 11 : 11 | jo siffert | siffert racing team | lotus-brm | engine (66 laps) | 12 row 12 : 12 | andre pilette | andre pilette | lotus-climax | 63 laps | 21 row 13 : 13 | innes ireland | british racing partnership | lotus-brm | oil pressure (56 laps) | 5 row 14 : 14 | bernard collomb | bernard collomb | lotus-climax | oil pressure (46 laps) | 19 row 15 : ret | ian raby | ian raby (racing) | gilby-brm | ignition | 13 row 16 : ret | dan gurney | brabham racing organisation | brabham-climax | oil leak | 16 row 17 : ret | mike beckwith | british racing partnership | lotus-brm | accident | 17 row 18 : ret | masten gregory | tim parnell | lotus-brm | cam follower | 14 row 19 : ret | trevor taylor | team lotus | lotus-climax | crownwheel & pinion | 4 row 20 : ret | jo bonnier | rob walker racing team | cooper-climax | oil pressure | 8 row 21 : ret | tony settember | scirocco-powell (racing | scirocco-brm | valve gear | 22 row 22 : ret | bob anderson | dw racing enterprises | lola-climax | gearbox | 10 row 23 : wd | peter arundell | team lotus | lotus-climax | car not ready | None ] Execute this SQL based on the above table: select pos where driver = 'peter revson'
9
[ header: | | | row 1 : 1962 | the trial/le proces | hilda | notes row 2 : 1949 | in the good old summertime | baby | uncredited row 3 : 1954 | the long, long trailer | wedding guest | scenes deleted row 4 : 1967 | charlie bubbles | eliza | None row 5 : 1969 | the sterile cuckoo | 'pookie' (mary ann | david di donatello for best foreign actress row 6 : 1970 | tell me that you love me, juni | junie moon | None row 7 : 1972 | cabaret | sally bowles | academy award for best actress bafta award row 8 : 1974 | just one more time | herself | uncredited (short subject) row 9 : 1974 | that's entertainment! | herself (narrator) | None row 10 : 1974 | journey back to oz | dorothy | voice (recorded in 1963, released row 11 : 1975 | lucky lady | claire | nominated - golden globe award for best row 12 : 1976 | silent movie | herself | None row 13 : 1976 | a matter of time | nina | None row 14 : 1977 | new york, new york | francine evans | nominated - golden globe award for best row 15 : 1981 | arthur | linda marolla | nominated - golden globe award for best row 16 : 1983 | the king of comedy | herself | scenes deleted row 17 : 1984 | the muppets take manhattan | herself | None row 18 : 1985 | that's dancing! | herself - host | None row 19 : 1987 | rent-a-cop | della roberts | golden raspberry award for worst actress row 20 : 1988 | arthur 2: on the rocks | linda marolla bach | golden raspberry award for worst actress row 21 : 1991 | stepping out | mavis turner | None row 22 : 1994 | a century of cinema | herself | documentary row 23 : 1995 | unzipped | herself - uncredited | documentary row 24 : 2006 | the oh in ohio | alyssa donahue | None row 25 : 2010 | broadway: beyond the golden age | herself | documentary row 26 : 2010 | sex and the city 2 | wedding minister/herself | cameo appearance row 27 : 2011 | lady gaga presents the monster ball tour: at | herself | guest appearance row 28 : 2013 | smash | herself | guest appearance ] Execute this SQL based on the above table: select count ( * ) where = 'unzipped'
1
[ header: choke | constriction (inch) | percentage of lead shot in 30-inch circle at 40 yards | identification (notches) | identification (stars) (spanish shotguns) row 1 : cylinder | 0 | 40 at 40 yd 70 at 25 | 5 | 5 row 2 : skeet 1 | 0.005 | 45 at 40 yd 75 at 25 | None | None row 3 : 2 | 0.01 | 50 | 4 | 4 row 4 : skeet 2 (light mod.) | 0.015 | 55 | None | None row 5 : modified | 0.02 | 60 | 3 | 3 row 6 : 3 | 0.025 | 65 | 2 | 2 row 7 : full | 0.03 | 70 | 1 | 1 row 8 : extra full | 0.04 | 73 | 1 | None row 9 : turkey | 0.045 plus | 75 plus | 1 | None ] Execute this SQL based on the above table: select count ( choke ) where identification (notches) > ( select identification (notches) where choke = 'skeet 1' )
0
[ header: no. | date | tournament | winning score | margin of victory | runner(s)-up row 1 : 1 | may 27, 1956 | dallas centennial open | -12 (64-67-70-67 | 1 stroke | dow finsterwald, doug for row 2 : 2 | feb 21, 1960 | tucson open invitational | -9 (67-67-68-69 | 3 strokes | bob harris row 3 : 3 | jul 9, 1961 | st. paul open invitational | -19 (66-71-68-64=26 | 1 stroke | buster cupit row 4 : 4 | feb 17, 1963 | tucson open invitational | -22 (65-67-69-65 | 11 strokes | gene littler, phil rodgers row 5 : 5 | aug 28, 1966 | philadelphia golf classic | -10 (69-69-68-71 | 1 stroke | jack nicklaus row 6 : 6 | jul 24, 1967 | pga championship | -7 (71-72-70-68 | playoff | don massengale row 7 : 7 | apr 21, 1968 | tournament of champions | -8 (70-68-69-69 | 1 stroke | julius boros row 8 : 8 | mar 23, 1970 | greater jacksonville open | -9 (68-75-70-66=27 | playoff | dale douglass row 9 : 9 | oct 19, 1975 | san antonio tex | -13 (71-67-71-66 | playoff | larry hinson row 10 : 10 | apr 18, 1976 | mony tournament of champions | -11 (71-68-69-69 | 5 strokes | hubert green ] Execute this SQL based on the above table: select date order by no. asc limit 1
may 27, 1956
[ header: model | class | length | fuel | starting price row 1 : tour | class a | 42' | diesel | $362,285 row 2 : journey | class a | 35'-43' | diesel | $246,736 row 3 : adventurer | class a | 32'-37' | gas | $150,711 row 4 : via | class a | 25' | diesel | $126,476 row 5 : sightseer | class a | 31'-37' | gas | $126,162 row 6 : vista | class a | 26'-35' | gas | $107,717 row 7 : view | class c | 24'-25' | diesel | $100,955 row 8 : aspect | class c | 29'-31' | gas | $95,948 row 9 : access | class c | 25'-31' | gas | $74,704 ] Execute this SQL based on the above table: select count ( model ) where starting price not null and starting price not null and length is null
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 competition where competition in ( 'olympic games' , 'world championships' ) order by notes desc limit 1
olympic games
[ header: kilometers | name | location | intersecting routes row 1 : 0 | mahanayim junction | mahanayim, near hatz | highway 90 (israel) row 2 : 7 | gadot junction | gadot | route 918 row 3 : 12 | customs house junction | customs office | route 888 row 4 : 15 | nashot junction | northwest of katzrin | route 9088 row 5 : 21 | None | golan heights | petroleum road row 6 : 22 | hashiryon junction | golan heights | route 978 row 7 : 23 | shipon junction | shipon (spelt) mountain | route 9099 row 8 : 27 | avital junction | mount avital | route 9881 row 9 : 28 | zivan junction | ein zivan | highway 98 (israel) ] Execute this SQL based on the above table: select count ( name ) where kilometers = 1999
0
[ header: genre | date | japanese title (original title) | english title | scoring | notes row 1 : orchestral | 1988 | トゥリー・ライン | tree line | for chamber orchestra | early title: 並木 (namiki?) row 2 : concertante | 1971 | カシオヘア | cassiopeia | for percussion solo and orchestra | None row 3 : concertante | 1981 | 海へ ii 夜 白鯨 | toward the sea ii the night moby | for alto flute, harp and string | None row 4 : concertante | 1995 | スヘクトラル・カンティクル | spectral canticle | for violin, guitar and orchestra | None row 5 : chamber music | 1965 | ソナント | sonant | for 2 flutes, violin, cello, | revised as valeria in 1969 row 6 : chamber music | 1982 | クロス・ハッチ | cross hatch | for marimba and vibraphone (or 2 | None row 7 : chamber music | 1987 | オール・イン・トワイライト - キターのための四つの小品 - | all in twilight, 4 pieces | for guitar | written for julian bream row 8 : keyboard | 1948 | かけひ | kakehi (conduit) | for piano | None row 9 : keyboard | 1949 | 二つの小品 | 2 pieces | for piano | None row 10 : keyboard | 1950 | 二つのレント | lento in due movimenti | for piano | revised as litany in 1989 row 11 : choral | 1963 | 三重県伊賀市上野西小学校校歌 | kamino nishi elementary school song | None | school song; words by keiji hash row 12 : choral | 1982 | 芝生 | grass | for male chorus | words by shuntaro ta row 13 : vocal | 1955 | 小さな部屋て | in a small room (chiisana | for voice and piano | words by akira kawaji row 14 : vocal | 1963 | 雲に向かって起つ | take off for the clouds (kumo | None | song for a television drama; words by row 15 : vocal | 1985 | 明日ハ晴レカナ、曇リカナ | will tomorrow, i wonder, be cloudy | for voice and piano | words by the composer row 16 : stage | 1956 | タンタロスの踊り | tantalos no odori | None | incidental music for the play by ri row 17 : stage | 1961 | おまえの敵はおまえた | omae no teki wa | None | incidental music for the play by jun is row 18 : electronic music | 1970 | None | years of ear - what is music? | for tape | None row 19 : commercial music | 1982 | サントリーリサーフ | suntory reserve | None | None row 20 : film scores | 1955 | 北斎 | hokusai | None | not produced row 21 : film scores | 1962 | 切腹 | harakiri | None | directed by masaki kobayashi row 22 : film scores | 1964 | 乾いた花 | pale flower | None | directed by masahiro shinod row 23 : film scores | 1965 | 美しさと哀しみと | with beauty and sadness | None | directed by masahiro shinod row 24 : film scores | 1965 | 四谷怪談 | yotsuya ghost story | None | directed by shiro toyod row 25 : film scores | 1966 | 他人の顔 | the face of another | None | directed by hiroshi teshiga ] Execute this SQL based on the above table: select count ( * ) where japanese title (original title) = notes
0
[ header: week | room | winning couple | 2nd couple | 3rd couple | chumps row 1 : 1 | guest bedroom 1 | alisa and lysandra | kyal and kara/brad | chantelle and steve | None row 2 : 2 | downstairs bathrooms, laundry & terrace | brad and dale | alisa and lysandra | chantelle and steve | kyal and kara row 3 : 3 | guest bedroom 2 | kyal and kara | chantalle and steve | alisa and lysandra | brad and dale row 4 : 4 | upstairs bathroom | kyal and kara | brad and dale | chantelle and steve | alisa and lysandra row 5 : 5 | kitchen | alisa and lysandra | kyal and kara | brad and dale | chantelle and steve row 6 : 6 | living room and dining room | chantelle and steve | alisa and lysandra | brad and dale / kyal | None row 7 : 7 | master bedroom and ensuite | brad and dale | chantelle and steve | alisa and lysandra | kyal and kara row 8 : 8 | rooftop/outside terrace | kyal and kara | brad and dale | alisa and lysandra | chantelle and steve ] Execute this SQL based on the above table: select 2nd couple where id = ( select id where 2nd couple = 'chantelle and steve' ) - 1
alisa and lysandra
[ header: date | time | opponent# | rank# | site | tv | result | attendance row 1 : august 30 | 8:00 pm | vs. alabama | #9 | georgia dome • atlanta, | abc | l 10-34 | 70097 row 2 : september 6 | 3:30 pm | the citadel | #22 | memorial stadium • clemson, s | None | w 45-17 | 76794 row 3 : september 13 | 12:00 pm | nc state | #23 | memorial stadium • clemson, s | raycom | w 27-9 | 77071 row 4 : september 20 | 1:00 pm | sc state | #21 | memorial stadium • clemson, s | None | w 54-0 | 78607 row 5 : september 27 | 12:00 pm | maryland | #19 | memorial stadium • clemson, s | raycom | l 17-20 | 81500 row 6 : october 9 | 7:45 pm | at wake forest | None | bb&t field • winston- | espn | l 7-12 | 33988 row 7 : october 18 | 12:00 pm | georgia tech | None | memorial stadium • clemson, s | espn | l 17-21 | 81500 row 8 : november 1 | 3:30 pm | at boston college | None | alumni stadium • chestnut hill, ma (o | espnu | w 27-21 | 41863 row 9 : november 8 | 3:30 pm | at #24 florida state | None | doak campbell stadium • tallahasse | abc | l 27-41 | 77013 row 10 : november 15 | 12:00 pm | duke | None | memorial stadium • clemson, s | raycom | w 31-7 | 76217 row 11 : november 22 | 12:00 pm | at virginia | None | scott stadium • charlottesville, | raycom | w 13-3 | 51979 row 12 : november 29 | 12:00 pm | south carolina | None | memorial stadium • clemson, s | espn2 | w 31-14 | 82456 row 13 : january 1, 2009 | 1:00 pm | vs. nebraska | None | jacksonville municipal stadium • jackson | cbs | l 21-26 | 67282 ] Execute this SQL based on the above table: select attendance where attendance = 70097
70097.0
[ header: # | wrestlers | reign | date | days held | location | event | notes row 1 : 1 | the super destroyers (a.j. pe | 1 | 23-jun-92 | 283 | philadelphia, pa | live event | petrucci and stahl won the titles row 2 : 9 | kevin sullivan and the | 1 | 4-dec-93 | 92 | philadelphia, pa | hardcore tv #35 | defeat dreamer and shane dou row 3 : 12 | the public enemy | 2 | 5-nov-94 | 91 | philadelphia, pa | november to remember (1994) | None row 4 : 15 | the public enemy | 3 | 8-apr-95 | 83 | philadelphia, pa | three way dance | also def. rick steiner ( row 5 : 16 | raven and stevie richards | 1 | 30-jun-95 | 78 | jim thorpe, pa | hardcore tv #115 | aired 7-4-95 on t row 6 : 17 | the pitbulls (pitbull #1 and pit | 1 | 16-sep-95 | 21 | philadelphia, pa | gangsta's paradise | None row 7 : 25 | the dudley boyz (buh bu | 1 | 15-mar-97 | 29 | philadelphia, pa | hostile city showdown | aired 3/20/97 on hardcore row 8 : 26 | the eliminators | 3 | 13-apr-97 | 68 | philadelphia, pa | barely legal | None row 9 : 30 | the gangstanators (kronus | 1 | 20-sep-97 | 28 | philadelphia, pa | as good as it gets | aired 9-27-97 on row 10 : 31 | full blooded italians (little gui | 1 | 18-oct-97 | 48 | philadelphia, pa | hardcore tv #236 | aired 11-1-97 on t row 11 : 32 | doug furnas and phil | 1 | 5-dec-97 | 1 | waltham, ma | live event | None row 12 : 35 | the dudley boyz | 4 | 24-oct-98 | 8 | cleveland, oh | hardcore tv #288 | aired 10-28-98 on t row 13 : 37 | the dudley boyz | 5 | 6-nov-98 | 37 | new york, ny | hardcore tv #290 | aired 11-11-98 on t row 14 : 40 | spike dudley and balls mahoney | 1 | 18-jul-99 | 26 | dayton, oh | heat wave (1999) | None row 15 : 43 | the dudley boyz | 8 | 26-aug-99 | 0 | new york, ny | ecw on tnn# | aired 9-3-99 on t row 16 : 44 | tommy dreamer (2) and raven (3) | 1 | 26-aug-99 | 136 | new york, ny | ecw on tnn# | aired 9-3-99 on t row 17 : 46 | tommy dreamer (3) and masato | 1 | 26-feb-00 | 7 | cincinnati, oh | hardcore tv #358 | aired 3-7-00 on t ] Execute this SQL based on the above table: select count ( # ) where date = 507
0
[ header: season | level | division | section | position | movements row 1 : 1993 | tier 3 | division 2 | vastra gotaland | 1st | None row 2 : 1994 | tier 2 | division 1 | sodra | 7th | None row 3 : 1995 | tier 2 | division 1 | sodra | 5th | None row 4 : 1996 | tier 2 | division 1 | sodra | 2nd | promoted row 5 : 1997 | tier 1 | allsvenskan | None | 14th | panos ljungskile s row 6 : 1998 | tier 2 | division 1 | sodra | 6th | panos ljungskile s row 7 : 1999 | tier 2 | division 1 | sodra | 4th | panos ljungskile s row 8 : 2000 | tier 2 | superettan | None | 15th | panos ljungskile s row 9 : 2001 | tier 3 | division 2 | vastra gotaland | 1st | panos ljungskile s row 10 : 2002 | tier 3 | division 2 | vastra gotaland | 6th | panos ljungskile s row 11 : 2003 | tier 3 | division 2 | vastra gotaland | 2nd | None row 12 : 2004 | tier 3 | division 2 | vastra gotaland | 1st | promotion playoffs - promoted row 13 : 2005 | tier 2 | superettan | None | 4th | None row 14 : 2006 | tier 2 | superettan | None | 6th | None row 15 : 2007 | tier 2 | superettan | None | 2nd | promoted row 16 : 2008 | tier 1 | allsvenskan | None | 14th | relegation playoffs - re row 17 : 2009 | tier 2 | superettan | None | 9th | None row 18 : 2010 | tier 2 | superettan | None | 6th | None row 19 : 2011 | tier 2 | superettan | None | 8th | None row 20 : 2012 | tier 2 | superettan | None | 5th | None row 21 : 2013 | tier 2 | superettan | None | 9th | None ] Execute this SQL based on the above table: select count ( division )
21
[ header: match | date | round | home/away | opponent team | score | scorers row 1 : 1 | 17 september 2007 | group stage | home | benfica | 2-1 | pirlo 9', inzaghi row 2 : 2 | 3 october 2007 | group stage | away | celtic | 2-1 | kaka 68' (pen.) row 3 : 3 | 24 october 2007 | group stage | home | shakhtar donetsk | 4-1 | gilardino 6', 14 row 4 : 4 | 6 november 2007 | group stage | away | shakhtar donetsk | 0-3 | inzaghi 66', 90+3 row 5 : 5 | 28 november 2007 | group stage | away | benfica | 1-1 | pirlo 15' row 6 : 6 | 4 december 2007 | group stage | home | celtic | 1-0 | inzaghi 70' row 7 : 7 | 20 february 2008 | round of 16 | away | arsenal | 0-0 | None row 8 : 8 | 4 march 2008 | round of 16 | home | arsenal | 0-2 | None ] Execute this SQL based on the above table: select score where match > ( select match where score = '4-1' ) order by match limit 1
0-3
[ header: opponent | played | won | lost | drawn | % won overall row 1 : australia | 4 | 4 | 0 | 0 | 100% row 2 : canada | 21 | 19 | 2 | 0 | 90.48% row 3 : france | 34 | 24 | 10 | 0 | 70.59% row 4 : germany | 1 | 1 | 0 | 0 | 100% row 5 : ireland | 19 | 18 | 1 | 0 | 94.74% row 6 : italy | 12 | 12 | 0 | 0 | 100% row 7 : kazakhstan | 3 | 3 | 0 | 0 | 100% row 8 : netherlands | 4 | 4 | 0 | 0 | 100% row 9 : new zealand | 22 | 7 | 14 | 1 | 34.09% row 10 : russia | 2 | 2 | 0 | 0 | 100% row 11 : samoa | 1 | 1 | 0 | 0 | 100% row 12 : scotland | 23 | 21 | 2 | 0 | 91.34% row 13 : south africa | 5 | 5 | 0 | 0 | 100% row 14 : spain | 14 | 12 | 1 | 1 | 89.29% row 15 : sweden | 3 | 3 | 0 | 0 | 100% row 16 : united states | 13 | 12 | 1 | 0 | 92.31% row 17 : wales | 30 | 29 | 1 | 0 | 96.67% row 18 : total | 210 | 176 | 32 | 2 | 83.10% ] Execute this SQL based on the above table: select opponent order by % won overall desc limit 1
wales
[ header: year | division | league | regular season | playoffs | open cup row 1 : 2002 | 4 | usl pdl | 3rd, mid atlantic | did not qualify | did not qualify row 2 : 2003 | 4 | usl pdl | 1st, mid atlantic | conference semifinals | did not qualify row 3 : 2004 | 4 | usl pdl | 3rd, mid atlantic | did not qualify | did not qualify row 4 : 2005 | 4 | usl pdl | 1st, mid atlantic | national semifinals | 2nd round row 5 : 2006 | 4 | usl pdl | 5th, mid atlantic | did not qualify | did not qualify row 6 : 2007 | 4 | usl pdl | 6th, mid atlantic | did not qualify | did not qualify row 7 : 2008 | 4 | usl pdl | 6th, mid atlantic | did not qualify | did not qualify ] Execute this SQL based on the above table: select open cup where year = ( select year where open cup = 'did not qualify' ) + 1
did not qualify
[ header: year | laureate | relation | category | rationale row 1 : 1922 | otto fritz meyerhof | research professor in physiological chemistry, 1940-1951 | physiology or medicine | "for his discovery of the fixed relationship between the row 2 : 1955 | vincent du vigneaud | assistant in biochemistry, graduate school of medicine, | chemistry | "for his work on sulphur compounds row 3 : 1964 | martin luther king | graduate student, 1950-51 | nobel peace prize | for being "the first person in the western world row 4 : 1967 | ragnar granit | research fellow, 1929-1931; sc | physiology or medicine | "for their discoveries concerning the primary physiological and chemical row 5 : 1971 | simon kuznets | assistant professor of economic statistics, 1930-1934; | economics | "for his empirically founded interpretation of economic growth row 6 : 1985 | michael stuart brown | a.b., 1962; m | physiology or medicine | "for their discoveries concerning the regulation of cholesterol metabolism row 7 : 2000 | alan macdiarmid | department of chemistry, 1955- ; blanc | chemistry | "for their discovery and development of conductive poly row 8 : 2000 | hideki shirakawa | department of chemistry, post-doctoral | chemistry | "for their discovery and development of conductive poly row 9 : 2004 | edward c. prescott | assistant professor, 1967-1971 | economics | "for their contributions to dynamic macroeconomics: row 10 : 2006 | edmund phelps | professor, 1966-1971 | economics | "for his analysis of intertemporal tradeoff row 11 : 2009 | george e. smith | b.s., 1955 | physics | "for the invention of an imaging semiconductor circuit row 12 : 2009 | oliver e. williamson | professor, 1965-1983 | economics | "for his analysis of economic governance, especially the row 13 : 2010 | ei'ichi negishi | ph.d., 1963 | chemistry | "for palladium-catalyze row 14 : 2011 | thomas j. sargent | professor, 1970-1971 | economics | "for their empirical research on cause and effect in ] Execute this SQL based on the above table: select year where id = ( select id where year = 2009 ) + 1
2009
[ header: year | association | category | nominated work | result row 1 : 1991 | tony awards | best actress in a play | our country's good | nominated row 2 : 1995 | drama desk awards | outstanding actress in a play | the heiress | won row 3 : 1995 | tony awards | best actress in a play | the heiress | won row 4 : 1998 | drama desk awards | outstanding actress in a play | pride's crossing | won row 5 : 2000 | tony awards | best actress in a play | a moon for the misbegotten | nominated row 6 : 2004 | glaad media awards | vito russo award | herself | won row 7 : 2005 | drama desk awards | outstanding actress in a play | doubt | won row 8 : 2005 | tony awards | best actress in a play | doubt | won row 9 : 2006 | drama desk awards | outstanding actress in a play | faith healer | nominated row 10 : 2009 | primetime emmy awards | outstanding supporting actress in a drama series | 24 | won row 11 : 2009 | satellite awards | best supporting actress - series, miniseries | 24 | nominated ] Execute this SQL based on the above table: select category where year > 2005
outstanding actress in a play, outstanding supporting actress in a drama series, best supporting actress - series, miniseries or television film
[ header: player | year | round | result | opponent row 1 : raymond van barneveld | 2009 | quarter-final | won | jelle klaasen row 2 : raymond van barneveld | 2010 | 2nd round | won | brendan dolan row 3 : adrian lewis | 2011 | final | won | gary anderson row 4 : dean winstanley | 2013 | 2nd round | lost | vincent van der voort row 5 : michael van gerwen | 2013 | semi final | won | james wade row 6 : terry jenkins | 2014 | 1st round | lost | per laursen row 7 : kyle anderson | 2014 | 1st round | lost | ian white ] Execute this SQL based on the above table: select opponent where year > ( select year where opponent = 'vincent van der voort' ) order by year limit 1
per laursen
[ header: # | title | time | performer(s) | songwriters | producer(s) | samples and notes row 1 : 1 | "everything man" | 3:16 | talib kweli, | talib kweli greene | madlib | "everything man" by daybreak row 2 : 3 | "hostile gospel (part 1) (deliver | 5:22 | talib kweli | talib kweli greene | just blaze | "deliverance" by space row 3 : 4 | "say something" | 3:43 | talib kweli, | talib kweli greene | will.i.am | "theme for la's team" by row 4 : 6 | "holy moly" | 2:08 | talib kweli | talib kweli greene | pete rock | "border song (holy moses)" row 5 : 7 | "eat to live" | 3:07 | talib kweli | talib kweli greene | madlib | "ghetto lament" by row 6 : 11 | "more or less" | 4:40 | talib kweli, di | talib kweli greene | hi-tek | None row 7 : 13 | "hot thing" | 3:48 | talib kweli, will | talib kweli greene | will.i.am | "we're no exception" by john row 8 : 14 | "space fruit" (interlude) | 1:31 | sa-ra | om'mas keith, sh | sa-ra | None row 9 : 16 | "oh my stars" | 3:40 | talib kweli, | talib kweli greene | dj khalil | None row 10 : 18 | "go with us" | 3:59 | talib kweli, strong | talib kweli greene | e. jones | None row 11 : 19 | "hostile gospel (part 2) (deliver | 4:21 | talib kweli, si | talib kweli greene | dj khalil | "tight rope" by steel pulse row 12 : 21 | "hush" | 3:55 | talib kweli, | talib kweli greene | chad beatz | lp edition #19 & itune ] Execute this SQL based on the above table: select songwriters where producer(s) < ( select producer(s) where producer(s) = 'e. jones' ) order by producer(s) desc limit 1
talib kweli greene, talib johnson, khalil abdul-rahman, amani fela greene
[ header: name of place | number of counties | principal county | lower zip code row 1 : yager junction | 1 | humboldt county | None row 2 : yale | 1 | riverside county | 92544 row 3 : yankee hill | 1 | butte county | 95965 row 4 : yankee hill | 1 | tuolumne county | None row 5 : yankee jims | 1 | placer county | 95713 row 6 : yarmouth | 1 | san joaquin county | None row 7 : yellowjacket | 1 | tehama county | None row 8 : yerba buena island | 1 | san francisco county | None row 9 : yermo | 1 | san bernardino county | 92398 row 10 : yettem | 1 | tulare county | 93670 row 11 : ygnacio valley | 1 | contra costa county | 94598 row 12 : yokohl | 1 | tulare county | None row 13 : yolano | 1 | solano county | 95620 row 14 : yolo | 1 | yolo county | 95697 row 15 : yontocket | 1 | del norte county | None row 16 : yorba | 1 | los angeles county | 91767 row 17 : yorba linda | 1 | orange county | 92686 row 18 : york | 1 | los angeles county | 90050 row 19 : yorkville | 1 | mendocino county | 95494 row 20 : yosemite forks | 1 | madera county | None row 21 : yosemite junction | 1 | tuolumne county | 95389 row 22 : yosemite lakes | 1 | madera county | None row 23 : yosemite lakes park | 1 | madera county | None row 24 : yosemite lodge | 1 | mariposa county | 95389 row 25 : yosemite national park | 3 | madera county | 95389 row 26 : yosemite national park | 3 | mariposa county | 95389 row 27 : yosemite national park | 3 | tuolumne county | 95389 row 28 : yosemite national park | 1 | mariposa county | 95389 row 29 : yosemite valley | 1 | mariposa county | None row 30 : yosemite village | 1 | mariposa county | None row 31 : you bet | 1 | nevada county | None row 32 : youngstown | 1 | san joaquin county | None row 33 : yountville | 1 | napa county | 94599 row 34 : yreka | 1 | siskiyou county | 96097 row 35 : yreka city | 1 | siskiyou county | 96097 row 36 : yuba city | 1 | sutter county | 95991 row 37 : yuba city farm labor center | 1 | sutter county | 95991 row 38 : yuba pass | 1 | nevada county | None row 39 : yuba-sutter area | 2 | sutter county yuba county | None row 40 : yucaipa | 1 | san bernardino county | 92399 row 41 : yucca inn | 1 | san bernardino county | None row 42 : yucca valley | 1 | san bernardino county | 92284 row 43 : yurok indian reservation | 2 | del norte county | 95546 ] Execute this SQL based on the above table: select abs ( ( select lower zip code where principal county = 'mariposa county' ) - ( select lower zip code where principal county = 'san bernardino county' ) )
2991.0
[ header: national park | region | land area (km2) | established | visitation (2009) | coordinates row 1 : archipelago | finland proper | 500 | 1982 | 53500 | 59°54′53′′n 21° row 2 : bothnian sea | None | None | 2011 | None | None row 3 : ekenas archipelago | uusimaa | 52 | 1989 | 44500 | 59°49′22′′n 23° row 4 : isojarvi | central finland | 19 | 1982 | 10500 | 61°41′54′′n 25° row 5 : kolovesi | southern savonia | 23 | 1990 | 7500 | 62°15′27′′n 28° row 6 : lauhanvuori | southern ostrobothnia | 53 | 1982 | 10000 | 62°09′7′′n 22° row 7 : linnansaari | southern savonia / northern | 38 | 1956 | 31000 | 62°6′38′′n 28° row 8 : nuuksio | uusimaa | 45 | 1994 | 179500 | 60°18′27′′n 24°29 row 9 : pyha-hakki | central finland | 13 | 1956 | 17000 | 62°50′44′′n 25° row 10 : riisitunturi | lapland | 77 | 1982 | 15000 | 66°14′n 28°30′ row 11 : rokua | northern ostrobothnia / | 4.3 | 1956 | 23500 | 64°33′22′′n 26°30 row 12 : sipoonkorpi | uusimaa | 18.6 | 2011 | None | 60°18′54′′n 25°13 row 13 : syote | northern ostrobothnia / | 299 | 2000 | 40000 | 65°44′51′′n 27°54 ] Execute this SQL based on the above table: select region where region in ( '77' , 'southern savonia / northern savonia' ) order by national park limit 1
southern savonia / northern savonia
[ header: record | date | result | opponent | location | method | round row 1 : 13-0 | 07/12/2013 | win | igor pylypenko | porsche arena, stuttgart, | unanimous decision | 6 row 2 : 12-0 | 27/10/2013 | win | alphonce mchumiatumb | sarajevo, bosn | decision | 8 row 3 : 11-0 | 06/07/2013 | win | alexander vasiliev | westfalenhalle, dortmund, | tko | 2 row 4 : 10-0 | 02/02/2013 | win | niko falin | iss dome, dusseldorf, germany | unanimous decision | 6 row 5 : 9-0 | 02/12/2012 | win | ladislav kovarik | esprit arena, dusseldorf, germany | unanimous decision | 6 row 6 : 8-0 | 06/08/2012 | win | ivica perkovic | sarajevo, bosn | unanimous decision | 12 row 7 : 7-0 | 04/13/2012 | win | aliaksandr makaranka | lanxess arena, c | ko | 1 row 8 : 6-0 | 12/17/2011 | win | ferenc zsalek | sarajevo, bosn | ko | 3 row 9 : 5-0 | 12/02/2011 | win | liridon memishi | sap arena, mannheim, germany | unanimous decision | 6 row 10 : 4-0 | 06/25/2011 | win | werner kreiskott | lanxess arena, c | unanimous decision | 6 row 11 : 3-0 | 02/19/2011 | win | ergin solmaz | porsche arena, stuttgart, | unanimous decision | 4 row 12 : 2-0 | 09/03/2004 | win | tomasz zeprzalka | gorazde, bosnia and | tko | 2 row 13 : 1-0 | 02/07/2004 | win | ergin solmaz | sarajevo, bosn | unanimous decision | 4 ] Execute this SQL based on the above table: select method order by round desc limit 1
unanimous decision
[ header: model | launch | code name | fab (nm) | bus interface | memory (mib) | core clock (mhz) | memory clock (mhz) | config core1 | fillrate moperations/s | fillrate mpixels/s | fillrate mtextels/s | fillrate mvertices/s | memory bandwidth (gb/s) | memory bus type | memory bus width (bit) | directx support row 1 : voodoo graphics | october 1, 1996 | sst1 | 500 | pci | 2, 4 | 50 | 50 | 1:0:1:1 | 50 | 50 | 50 | 0 | 0.8 | edo | 128 | 3 row 2 : voodoo rush | april 1997 | sst96 | 500 | agp 2x, pc | 2, 4 | 50 | 50 | 1:0:1:1 | 50 | 50 | 50 | 0 | 0.4 | edo | 64 | 3 row 3 : voodoo2 | march 1, 1998 | sst96 | 350 | pci | 8, 12 | 90 | 90 | 1:0:2:1 | 90 | 90 | 180 | 0 | 0.72 | edo | 64 | 3 row 4 : voodoo banshee | june 22, 1998 | banshee | 350 | agp 2x, pc | 8, 16 | 100 | 100 | 1:0:1:1 | 100 | 100 | 100 | 0 | 1.6 | sdr | 128 | 6 row 5 : velocity 200 | july 26, 1999 | avenger | 250 | agp 2x | 12 | 143 | 143 | 1:0:2:1 | 143 | 143 | 286 | 0 | 2.288 | sdr | 128 | 6 row 6 : voodoo3 1000 | march 1999 | avenger | 250 | agp 2x, pc | 8, 16 | 125 | 125 | 1:0:2:1 | 125 | 125 | 250 | 0 | 2 | sdr | 128 | 6 row 7 : voodoo3 2000 | april 3, 1999 | avenger | 250 | agp 2x, pc | 16 | 143 | 143 | 1:0:2:1 | 143 | 143 | 286 | 0 | 2.288 | sdr | 128 | 6 row 8 : voodoo3 3500 | june 1999 | avenger | 250 | agp 2x, pc | 16 | 183 | 183 | 1:0:2:1 | 183 | 183 | 366 | 0 | 2.928 | sdr | 128 | 6 row 9 : voodoo4 4200 | never released | vsa-100 | 250 | agp 4x, pc | 32 | 183 | 183 | 2:0:2:2 | 366 | 366 | 366 | 0 | 1.464 | sdr | 64 | 6 row 10 : voodoo4 4500 | october 13, 2000 | vsa-100 | 250 | agp 4x, pc | 32 | 166 | 166 | 2:0:2:2 | 332 | 332 | 332 | 0 | 2.656 | sdr | 128 | 6 row 11 : voodoo4 4800 | never released | vsa-100 | 250 | agp 4x, pc | 32 | 200 | 200 | 2:0:2:2 | 400 | 400 | 400 | 0 | 3.2 | sdr | 128 | 6 ] Execute this SQL based on the above table: select memory bus type where id = 1
edo
[ header: date | round | opponents | h / a | result f-a | scorers | attendance row 1 : 19 september 1984 | round 1 first leg | raba eto gyor | h | 3-0 | robson, muhren, hughes | 33119 row 2 : 3 october 1984 | round 1 second leg | raba eto gyor | a | 2-2 | brazil, muhren (pen) | 26000 row 3 : 24 october 1984 | round 2 first leg | psv eindhoven | a | 0-0 | None | 27500 row 4 : 7 november 1984 | round 2 second leg | psv eindhoven | h | 1-0 | strachan (pen) | 39281 row 5 : 28 november 1984 | round 3 first leg | dundee united | h | 2-2 | strachan (pen), robson | 48278 row 6 : 12 december 1984 | round 3 second leg | dundee united | a | 3-2 | hughes, mcginn | 21821 row 7 : 6 march 1985 | quarter-final first leg | videoton | h | 1-0 | stapleton | 35432 row 8 : 20 march 1985 | quarter-final second leg | videoton | a | 0-1 (4-5 p) | None | 25000 ] Execute this SQL based on the above table: select date order by attendance desc limit 1
28 november 1984
[ header: year | name | date | stages | distance | winner | time row 1 : 1982 | marlboro tour | 22 april-9 may | 15 | 2,192 km | jacinto sicam (phi) | 61:29:17 row 2 : 1983 | marlboro tour | 16 april-1 may | 14 | 2,313.11 km | romeo bonzo (phi) | 63:54:31 row 3 : 1984 | marlboro tour | 26 may-10 june | 14 | 2,464 km | ruben carino (phi) | 68:08:49 row 4 : 1985 | marlboro tour | 18 april-12 may | 21 | 3,668.97 km | pepito calip (phi) | 97:04:42 row 5 : 1986 | marlboro tour | 26 april-11 may | 10 | 2,900.77 km | rolando pagnanaw | 77:39:53 row 6 : 1987 | marlboro tour | 21 may-7 june | 17 | 3,282 km | reynaldo dequito | 88:06:50 row 7 : 1988 | marlboro tour | 28 april-15 may | 17 | 3,544.53 km | armando catalan (phi) | 94:44:03 row 8 : 1989 | marlboro tour | 26 april-14 may | 18 | 3,539.47 km | gerardo igos (phi | 95:40:23 row 9 : 1990 | marlboro tour | 18 april-6 may | 18 | 3,317.42 km | manuel buenaventura (phi) | 95:58:38 row 10 : 1991 | marlboro tour | 25 april-12 may | 17 | 2,373.61 km | bernardo llentad | 63:33:17 row 11 : 1992 | marlboro tour | 21 may-7 june | 17 | 2,731.38 km | renato dolosa (phi) | 71:21:49 row 12 : 1993 | marlboro tour | 17 april-9 may | 21 | 3,480 km | carlo guieb (phi) | 91:41:54 row 13 : 1994 | marlboro tour | 17 april-9 may | 20 | 3,563 km | carlo guieb (phi) | 91:24:13 row 14 : 1995 | marlboro tour | 18 march-8 april | 19 | 3,280.33 km | renato dolosa (phi) | 83:43:39 row 15 : 1996 | marlboro tour | 14 april-5 may | 19 | 3,257.29 km | victor espiritu (phi | 80:50:46 row 16 : 1997 | marlboro tour | 16 april-4 may | 16 | 2,472 km | wong kam-po (hkg) | 62:06:28 row 17 : 1998 | marlboro centennial tour | 15 april-3 may | 16 | 2,494 km | warren davadilla (phi) | 64:58:57 row 18 : 1999-2001 | cancelled | cancelled | cancelled | cancelled | cancelled | cancelled ] Execute this SQL based on the above table: select winner where id = ( select id where winner = 'carlo guieb (phi)' ) + 1
carlo guieb (phi)
[ header: town/village | population | postal code | municipality | island | location row 1 : dalur | 48 | fo 235 | husavikar | sandoy | 61°46′56′′n 6° row 2 : depil | 2 | fo 735 | hvannasunds | borðoy | 62°17′10′′n 6° row 3 : famjin | 113 | fo 870 | famjins | suðuroy | 61°31′35′′n 6° row 4 : funningur | 83 | fo 475 | funnings | eysturoy | 62°17′17′′n 6° row 5 : gøtugjogv | 53 | fo 511 | gøtu | eysturoy | 62°11′25′′n 6° row 6 : haldarsvik | 164 | fo 440 | sunda | streymoy | 62°16′37′′n 7° row 7 : hellur | 26 | fo 695 | fuglafjarðar | eysturoy | 62°15′49′′n 6° row 8 : klaksvik | 4681 | fo 700 | klaksvikar | borðoy | 62°13′26′′n 6° row 9 : lambi | 142 | fo 627 | runavikar | eysturoy | 62°8′33′′n 6° row 10 : miðvagur | 1032 | fo 370 | miðvags | vagar | 62°3′4′′n 7° row 11 : nes, vagur | 30 | fo 925 | vags | suðuroy | 61°28′20′′n 6° row 12 : saltnes | 153 | fo 656 | nes | eysturoy | 62°6′19′′n 6° row 13 : sandur | 596 | fo 210 | sands | sandoy | 61°50′10′′n 6° row 14 : selatrað | 63 | fo 497 | sjovar | eysturoy | 62°9′31′′n 6° row 15 : skalabotnur | 100 | fo 485 | runavikar | eysturoy | 62°11′52′′n 6° row 16 : strendur | 817 | fo 490 | sjovar | eysturoy | 62°6′46′′n 6° ] Execute this SQL based on the above table: select island , town/village where id = ( select id where island = 'sandoy' ) + 1
borðoy, depil
[ header: year | derby winner | galaxy | draw | chivas row 1 : 2005 | galaxy | 5 | 0 | 0 row 2 : 2006 | galaxy | 2 | 1 | 1 row 3 : 2007 | chivas | 1 | 1 | 2 row 4 : 2008 | galaxy | 1 | 2 | 0 row 5 : 2009 | galaxy | 3 | 2 | 0 row 6 : 2010 | galaxy | 2 | 0 | 0 row 7 : 2011 | galaxy | 2 | 0 | 0 row 8 : 2012 | galaxy | 2 | 0 | 1 row 9 : 2013 | galaxy | 2 | 1 | 0 row 10 : total | None | 20 | 7 | 4 ] Execute this SQL based on the above table: select year where derby winner = 'galaxy'
2005, 2006, 2008, 2009, 2010, 2011, 2012, 2013
[ header: year | laureate | relation | category | rationale row 1 : 1922 | otto fritz meyerhof | research professor in physiological chemistry, 1940-1951 | physiology or medicine | "for his discovery of the fixed relationship between the row 2 : 1955 | vincent du vigneaud | assistant in biochemistry, graduate school of medicine, | chemistry | "for his work on sulphur compounds row 3 : 1964 | martin luther king | graduate student, 1950-51 | nobel peace prize | for being "the first person in the western world row 4 : 1967 | ragnar granit | research fellow, 1929-1931; sc | physiology or medicine | "for their discoveries concerning the primary physiological and chemical row 5 : 1971 | simon kuznets | assistant professor of economic statistics, 1930-1934; | economics | "for his empirically founded interpretation of economic growth row 6 : 1985 | michael stuart brown | a.b., 1962; m | physiology or medicine | "for their discoveries concerning the regulation of cholesterol metabolism row 7 : 2000 | alan macdiarmid | department of chemistry, 1955- ; blanc | chemistry | "for their discovery and development of conductive poly row 8 : 2000 | hideki shirakawa | department of chemistry, post-doctoral | chemistry | "for their discovery and development of conductive poly row 9 : 2004 | edward c. prescott | assistant professor, 1967-1971 | economics | "for their contributions to dynamic macroeconomics: row 10 : 2006 | edmund phelps | professor, 1966-1971 | economics | "for his analysis of intertemporal tradeoff row 11 : 2009 | george e. smith | b.s., 1955 | physics | "for the invention of an imaging semiconductor circuit row 12 : 2009 | oliver e. williamson | professor, 1965-1983 | economics | "for his analysis of economic governance, especially the row 13 : 2010 | ei'ichi negishi | ph.d., 1963 | chemistry | "for palladium-catalyze row 14 : 2011 | thomas j. sargent | professor, 1970-1971 | economics | "for their empirical research on cause and effect in ] Execute this SQL based on the above table: select relation , year where id = ( select id where relation = 'department of chemistry, 1955- ; blanchard professor of chemistry, 1988-' ) + 1
department of chemistry, post-doctoral researcher, 1976, 2000
[ header: year | title | role | notes row 1 : 1991 | let him have it | derek bentley | None row 2 : 1992 | death and the compass | alonso zunz | None row 3 : 1993 | anchoress | priest | None row 4 : 1994 | shallow grave | david | None row 5 : 1996 | jude | jude fawley | None row 6 : 1998 | elizabeth | duke of norfolk | None row 7 : 1998 | a price above rubies | sender horowitz | None row 8 : 1999 | heart | gary ellis | None row 9 : 1999 | existenz | seminar leader | None row 10 : 1999 | with or without you | vincent boyd | None row 11 : 2000 | gone in 60 seconds | raymond calitri | None row 12 : 2000 | the tyre | salesman | short film row 13 : 2001 | the others | charles stewart | None row 14 : 2001 | the invisible circus | wolf | None row 15 : 2001 | this little piggy | cabbie | short film row 16 : 2002 | 24 hour party people | boethius | None row 17 : 2002 | i am dina | leo zhukovsky | None row 18 : 2002 | revengers tragedy | vindici | None row 19 : 2002 | 28 days later | major henry west | None row 20 : 2007 | the dark is rising | the rider | None row 21 : 2008 | new orleans, mon amour | dr. henry | None row 22 : 2009 | g.i. joe: the | james mccullen | None row 23 : 2009 | amelia | fred noonan | None row 24 : 2009 | the happiness salesman | salesman | short film row 25 : 2012 | song for marion | james harris | None row 26 : 2013 | thor: the dark world | malekith | None ] Execute this SQL based on the above table: select sum ( year ) where title in ( '28 days later' , 'anchoress' )
3995
[ header: rank | player | points | points defending | points won | new points | withdrew due to row 1 : 5 | juan martin del potr | 5115 | 720 | 0 | 4395 | right wrist surgery row 2 : 6 | nikolay davydenko | 5145 | 360 | 0 | 4785 | broken wrist row 3 : 20 | radek stepanek | 1705 | 90 | 0 | 1615 | fatigue row 4 : 23 | tommy haas | 1660 | 180 | 0 | 1480 | right hip surgery row 5 : 32 | gilles simon | 1395 | 90 | 0 | 1305 | right knee injury row 6 : 36 | ivo karlovic | 1295 | 10 | 0 | 1285 | right foot injury row 7 : 10 | kim clijsters | 3890 | 0 | 0 | 3890 | left foot injury ] Execute this SQL based on the above table: select player order by points defending asc limit 1
kim clijsters
[ header: rank | circuit | headquarters | screens | sites row 1 : 1 | regal entertainment group | knoxville,tn | 7318 | 574 row 2 : 2 | amc entertainment inc | kansas city, mo | 4988 | 344 row 3 : 3 | cinemark theatres | plano, tx | 4434 | 332 row 4 : 4 | carmike cinemas, inc | columbus, ga | 2476 | 249 row 5 : 5 | cineplex entertainment | toronto, on | 1672 | 136 row 6 : 6 | marcus theatres | milwaukee, wi | 687 | 55 row 7 : 7 | harkins theatres | phoenix, az | 440 | 31 row 8 : 8 | national amusements | dedham, ma | 423 | 32 row 9 : 9 | bow tie cinemas | ridgefield, ct | 388 | 63 row 10 : 10 | georgia theatre company | st. simon's island, | 326 | 32 ] Execute this SQL based on the above table: select circuit where circuit > ( select circuit where circuit = 'georgia theatre company' ) order by circuit limit 1
harkins theatres
[ header: name | dates | grt | propulsion | port | notes row 1 : arataki i | 1948-84 | 74 | 320 bhp diesel, 10 knot | None | us navy harbour tug row 2 : arataki ii | 1984-99 | 143 | 1100 bhp diesel, 12 knot | timaru | harbour tug row 3 : hipi | 1942-56 | 39 | 100 bhp diesel, 8 knots | auckland | towing lighters row 4 : kahanui | 1942-45 | 207 | 800 ihp sr t | wanganui | harbour tug row 5 : manawanui i | 1948-52 | 74 | 329 bhp diesel, 10 knot | auckland | us navy harbour tug row 6 : meola | 1961- | 19 | 76 bhp diesel, 9 knot | auckland | work boat row 7 : toia | 1926-49 | 423 | 1250 ihp sr | wellington | world war i saint class naval tug, ] Execute this SQL based on the above table: select count ( port ) where grt = 0
0
[ header: # | name | age | disappeared | found row 1 : 1 | wendy lee coffield | 16 | july 8, 1982 | july 15, 1982 row 2 : 3 | debra lynn bonner | 23 | july 25, 1982 | august 12, 1982 row 3 : 4 | marcia fay chapman | 31 | august 1, 1982 | august 15, 1982 row 4 : 5 | cynthia jean hind | 17 | august 11, 1982 | august 15, 1982 row 5 : 6 | opal charmaine mills | 16 | august 12, 1982 | august 15, 1982 row 6 : 7 | terry rene milligan | 16 | august 29, 1982 | april 1, 1984 row 7 : 9 | debra lorraine estes | 15 | september 20, 1982 | may 30, 1988 row 8 : 11 | denise darcel bush | 23 | october 8, 1982 | june 12, 1985 row 9 : 13 | shirley marie sherrill | 18 | october 20-22, 1982 | june 1985 row 10 : 14 | rebecca "becky" marr | 20 | december 3, 1982 | december 21, 2010 row 11 : 15 | colleen renee brock | 15 | december 24, 1982 | may 26, 1984 row 12 : 18 | delores laverne willi | 17 | march 8-14, 1983 | march 31, 1984 row 13 : 19 | gail lynn mathews | 23 | april 10, 1983 | september 18, 1983 row 14 : 20 | andrea m. childers | 19 | april 14, 1983 | october 11, 1989 row 15 : 21 | sandra kay gabbert | 17 | april 17, 1983 | april 1, 1984 row 16 : 22 | kimi-kai pitsor | 16 | april 17, 1983 | december 15, 1983 row 17 : 23 | marie m. malvar | 18 | april 30, 1983 | september 26, 2003 row 18 : 24 | carol ann christensen | 21 | may 3, 1983 | may 8, 1983 row 19 : 25 | martina theresa authorlee | 18 | may 22, 1983 | november 14, 1984 row 20 : 26 | cheryl lee wims | 18 | may 23, 1983 | march 22, 1984 row 21 : 27 | yvonne "shelly" anto | 19 | may 31, 1983 | october 15, 1983 row 22 : 28 | carrie ann rois | 15 | may 31 - june 13, 1983 | march 10, 1985 row 23 : 31 | tina marie thomp | 21 | july 25, 1983 | april 20, 1984 row 24 : 32 | april dawn buttram | 16 | august 18, 1983 | august 30, 2003 row 25 : 34 | tracy ann winston | 19 | september 12, 1983 | march 27, 1986 row 26 : 36 | mary sue bello | 25 | october 11, 1983 | october 12, 1984 row 27 : 37 | pammy annette avent | 15 | october 26, 1983 | august 16, 2003 row 28 : 38 | delise louise plager | 22 | october 30, 1983 | february 14, 1984 row 29 : 39 | kimberly l. nels | 21 | november 1, 1983 | june 14, 1986 row 30 : 40 | lisa yates | 19 | december 23, 1983 | march 13, 1984 row 31 : 42 | cindy anne smith | 17 | march 21, 1984 | june 27, 1987 row 32 : 45 | marta reeves | 36 | march 5, 1990 | september 20, 1990 row 33 : 46 | patricia yellowrobe | 38 | january 1998 | august 6, 1998 row 34 : 47 | unidentified white female | 12-17 | died prior to may 1983 | march 21, 1984 row 35 : 49 | unidentified female | 13-24 | 1973-1993 | august 2003 ] Execute this SQL based on the above table: select count ( * ) where found = 'march 27, 1986'
1
[ header: sheriff | start of term row 1 : josiah hobart | 1683 row 2 : john mulford | 1701 row 3 : hugh gray | 1702 row 4 : john brush | 1710 row 5 : daniel youngs | 1718 row 6 : samuel dayton | 1723 row 7 : william sell | 1728 row 8 : joseph smith | 1730 row 9 : david corrie | 1731 row 10 : jacob conklin | 1734 row 11 : thomas higbe | 1740 row 12 : james muirson | 1774 row 13 : thomas wickes | 1785 row 14 : silas halsey | 1787 row 15 : thomas wickes | 1791 row 16 : phinaes carll | 1799 row 17 : josiah reeve | 1803 row 18 : phinaes smith | 1807 row 19 : josiah reeve | 1808 row 20 : benjamin brewster | 1810 row 21 : josiah reeve | 1811 row 22 : benjamin brewster | 1812 row 23 : nathaniel conklin | 1814 row 24 : josiah reeve | 1815 row 25 : samuel smith | 1826 row 26 : abraham gardiner | 1829 row 27 : richard smith | 1832 row 28 : silas horton | 1835 row 29 : samuel miller | 1838 row 30 : david brush | 1841 row 31 : henry penny | 1844 row 32 : david rose | 1847 row 33 : john clark | 1850 row 34 : samuel phillips | 1855 row 35 : george carman | 1856 row 36 : daniel osborn | 1862 row 37 : george smith | 1868 row 38 : j. henry perkins | 1871 row 39 : egbert lewis | 1874 row 40 : george cooper | 1877 row 41 : robert petty | 1888 row 42 : selah brewster | 1883 row 43 : henry halsey | 1886 row 44 : robert petty | 1888 row 45 : a. m. darling | 1891 row 46 : benjamin wood | 1897 row 47 : j. sheridan wells | 1900 row 48 : henry preston | 1903 row 49 : john wells | 1906 row 50 : charles platt | 1909 row 51 : melville brush | 1912 row 52 : d. henry brown | 1913 row 53 : charles o'dell | 1914 row 54 : john kelly | 1920 row 55 : amza biggs | 1923 row 56 : burton howe | 1926 row 57 : ellis taylor | 1929 row 58 : joseph warta | 1932 row 59 : william mccollom | 1935 row 60 : jacob dreyer | 1938 row 61 : john levy | 1941 row 62 : william mccollom | 1942 row 63 : charles dominy | 1957 row 64 : frank gross | 1962 row 65 : philip corso | 1970 row 66 : donald dilworth | 1976 row 67 : john finnerty | 1977 row 68 : eugene dooley | 1986 row 69 : patrick mahoney | 1990 row 70 : alfred c. tisch | 2002 row 71 : vincent f. demarco | 2006 ] Execute this SQL based on the above table: select count ( * ) where sheriff = 'john levy'
1
[ header: # | title | date | director | story | synopsis | notes row 1 : 13 | sacre bleu cross | february 1, 1967 | gerry chiniquy | john w. dunn | when they go after hassan the ass | the commissioner does not appear row 2 : 14 | le quiet squad | may 17, 1967 | robert mckimson | jim ryan | the commissioner is overworked and needs absolute | sgt. deux-deux does row 3 : 15 | bomb voyage | may 22, 1967 | robert mckimson | tony benedict | the commissioner is kidnapped by alien | music score is set to ottorin row 4 : 16 | le pig-al patrol | may 24, 1967 | gerry chiniquy | jim ryan | the inspector is sent after biker pig al | sgt. deux-deux does row 5 : 17 | le bowser bagger | may 30, 1967 | gerry chiniquy | jim ryan | the inspector is given private bowser, | sgt. deux-deux does row 6 : 18 | le escape goat | june 29, 1967 | gerry chiniquy | jim ryan | after being fired for letting louie le | sgt. deux-deux does row 7 : 19 | le cop on le rocks | july 3, 1967 | george singer | jim ryan | the inspector is sent to prison having been mistaken | sgt. deux-deux and row 8 : 20 | crow de guerre | august 16, 1967 | gerry chiniquy | john w. dunn | the inspector is continually outwitted by a | sgt. deux-deux and row 9 : 21 | canadian can-can | september 20, 1967 | gerry chiniquy | john w. dunn | sent to canada on an exchange programme, the inspector | sgt. deux-deux does row 10 : 22 | tour de farce | october 25, 1967 | gerry chiniquy | jim ryan | through his own mistake, the inspector is strand | sgt. deux-deux and row 11 : 23 | the shooting of caribou lou | december 20, 1967 | gerry chiniquy | john w. dunn | on holiday in canada as a mountie | sgt. deux-deux and ] Execute this SQL based on the above table: select # order by # asc limit 1
13
[ header: category | speed (km/h) | speed (mph) | vehicle | pilot | date row 1 : rocket-powered aircraft | 7258 | 4510 | north american x-15 | william j. knight | 3 oct 1967 row 2 : manned air-breathing craft | 3530 | 2194 | lockheed sr-71 blackbird | eldon w. joersz | 28 jul 1976 row 3 : propeller-driven aircraft | 870 | 541 | tupolev tu-114 | ivan soukhomline | 1960 row 4 : piston-engined propeller-driven aircraft | 850.1 | 528.33 | grumman f8f bearcat rare | lyle shelton | 21 aug 1989 row 5 : helicopter | 401 | 249.1 | westland lynx 800 g | john egginton | 11 aug 1986 row 6 : glider (sailplane) | 306.8 | 190.6 | schempp-hirth nim | klaus ohlmann and | 22 dec 2006 row 7 : human-powered aircraft | 32 | 19.8 | mit monarch b | frank scarabino | 1 may 1984 ] Execute this SQL based on the above table: select speed (mph) order by speed (km/h) desc limit 1
4510
[ header: round | pick | player | pos. | nationality | team | aba team | signing price row 1 : 1 | 1 | artis gilmore^ | c | united states | chicago bulls | kentucky colonels | $ 1,100,000 row 2 : 1 | 2 | maurice lucas | f/c | united states | portland trail blazers (from | kentucky colonels | $ 300,000 row 3 : 1 | 3 | ron boone | g/f | united states | kansas city kings | spirits of st. louis | $ 250,000 row 4 : 1 | 4 | marvin barnes | f/c | united states | detroit pistons | spirits of st. louis | $ 500,000 row 5 : 1 | 5 | moses malone^ | f/c | united states | portland trail blazers | spirits of st. louis | $ 350,000 row 6 : 1 | 6 | randy denton | c | united states | new york knicks | spirits of st. louis | $ 50,000 row 7 : 1 | 7 | bird averitt | g | united states | buffalo braves (from milwaukee | kentucky colonels | $ 125,000 row 8 : 1 | 8 | wil jones | f | united states | indiana pacers | kentucky colonels | $ 50,000 row 9 : 1 | 9 | ron thomas | g/f | united states | houston rockets | kentucky colonels | $ 15,000 row 10 : 1 | 10 | louie dampier | g | united states | san antonio spurs | kentucky colonels | $ 20,000 row 11 : 1 | 11 | jan van breda kolf | g/f | united states | new york nets | kentucky colonels | $ 60,000 row 12 : 2 | 12 | mike barr | g | united states | kansas city kings | spirits of st. louis | $ 15,000 ] Execute this SQL based on the above table: select aba team order by pos. desc limit 1
spirits of st. louis
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | japan (jpn) | 9 | 0 | 1 | 10 row 2 : 2 | iran (iri) | 1 | 2 | 1 | 4 row 3 : 3 | syria (syr | 1 | 1 | 0 | 2 row 4 : 4 | indonesia (ina) | 0 | 3 | 2 | 5 row 5 : 5 | vietnam (vie) | 0 | 2 | 0 | 2 row 6 : 6 | chinese taipei | 0 | 1 | 3 | 4 row 7 : 7 | kuwait (kuw) | 0 | 1 | 1 | 2 row 8 : 7 | saudi arabia (ksa) | 0 | 1 | 1 | 2 row 9 : 9 | malaysia (mas) | 0 | 0 | 3 | 3 row 10 : 10 | brunei (bru) | 0 | 0 | 2 | 2 row 11 : 10 | philippines (phi) | 0 | 0 | 2 | 2 row 12 : 12 | macau (mac) | 0 | 0 | 1 | 1 row 13 : 12 | nepal (nep) | 0 | 0 | 1 | 1 row 14 : 12 | tajikistan (tjk) | 0 | 0 | 1 | 1 row 15 : 12 | united arab emirates (uae | 0 | 0 | 1 | 1 row 16 : total | total | 11 | 11 | 20 | 42 ] Execute this SQL based on the above table: select nation where silver = 1
syria (syr), chinese taipei (tpe), kuwait (kuw), saudi arabia (ksa)
[ header: polling firm | month | link | favor | oppose row 1 : rutgers-eagleton | march 2014 | None | 64 | 28 row 2 : quinnipiac | july 2013 | None | 60 | 31 row 3 : rutgers-eagleton | june 2013 | None | 59 | 30 row 4 : quinnipiac | march 2013 | None | 64 | 30 row 5 : public policy polling | november 2012 | None | 53 | 36 row 6 : quinnipiac | february 2012 | None | 57 | 37 row 7 : rutgers-eagleton | february 2012 | None | 54 | 35 row 8 : quinnipiac | january 2012 | None | 52 | 42 row 9 : rutgers-eagleton | october 2011 | None | 52 | 39 row 10 : rutgers-eagleton | august 2011 | None | 52 | 32 row 11 : public policy polling | july 2011 | None | 47 | 42 row 12 : quinnipiac | november 2009 | None | 46 | 49 row 13 : rutgers-eagleton | november 2009 | None | 50 | 42 row 14 : quinnipiac | april 2009 | None | 49 | 43 row 15 : zogby international | august 2008 | None | 50 | 42 row 16 : zogby international | august 2007 | None | 48.1 | 44.6 row 17 : rasmussen reports | july 2006 | None | 42 | 54 row 18 : rutgers-eagleton | june 2006 | pdf | 49 | 44 row 19 : zogby international | february 2006 | None | 56 | 39 row 20 : zogby international | april 2005 | html | 54.5 | 40.1 row 21 : rutgers-eagleton | september 2003 | pdf | 43 | 50 row 22 : zogby international | july 2003 | None | 55 | 41 ] Execute this SQL based on the above table: select polling firm group by polling firm order by count ( link ) desc limit 1
rutgers-eagleton
[ header: year | division | league | regular season | playoffs | open cup row 1 : 2008 | 4 | npsl | 2nd, mid atlantic | did not qualify | did not qualify row 2 : 2009 | 4 | npsl | 5th, atlantic | did not qualify | did not enter row 3 : 2010 | 4 | npsl | 5th, atlantic | did not qualify | did not enter row 4 : 2010-11 | 5 | csl i | in progress | None | None row 5 : 2011 | 4 | npsl | 4th, atlantic | did not qualify | did not enter row 6 : 2012 | 4 | npsl | 3rd, atlantic | did not qualify | did not enter row 7 : 2013 | 4 | npsl | 3rd, atlantic | did not qualify | did not enter ] Execute this SQL based on the above table: select max ( division )
5.0
[ header: kategori | 1995 | 2004 | 2005 | 2006 | 2007 row 1 : best movie | pencet sana pencet sini | arisan | janji joni | berbagi suami | nagabonar jadi 2 row 2 : best director | arizal (pencet s | nia dinata (aris | garin nugroho (rindu kam | riri riza (gie | john de rantau (denias row 3 : most favourite movie | catatan si emon | eiffel i'm in love | ungu violet | heart | None row 4 : most favourite actor | onky alexander (catatan tant | samuel rizal ( | nicholas saputra (ja | nicholas saputra (gie | tora sudiro (nagabon row 5 : most favorite actress | ayu azhari (cat | nirina zubir(30 | dian sastrowardoyo | titi kamal (mendadak d | dinna olivia (mengejar row 6 : most favourite supporting actor | didi petet (catatan si | surya saputra (arisan | fauzi baadila ( | tio pakusadew | winky wiryawan (badai row 7 : most favourite supporting actress | cornelia agatha (lupus | titi kamal (eiffel i | mariana renata (janji | ria irawan (ber | wulan guritno ( row 8 : best crying scene | nita tilana ( | winky wiryawan (mengejar | putri mulia (rindu | sita nursanti (gie) | None row 9 : most favourite heart melting moment | onky alexander and paramitha | vino bastian and maria agnes | None | nirina zubir and | None row 10 : best song in the movie | kisah cinta | mengejar matahari - ari | tentang dia - melly goeslaw | my heart - irwansyah | pulang - float[disambigu row 11 : most favourite rising star | krisdayanti (lupus | None | laudya chintya bell | jonathan mulia (gie | albert fakdawer (d row 12 : lifetime achievement | christine hakim | None | benyamin sueb | warkop dki | deddy mizwar row 13 : best scary scene | hantu tinta | None | None | None | kuntilanak row 14 : best running scene | None | None | None | None | maaf, saya menghamili ] Execute this SQL based on the above table: select count ( distinct 2004 )
10
[ header: language | number | percentage (%) | males | females row 1 : polish | 447685 | 80.86 | 216794 | 230891 row 2 : yiddish | 51215 | 9.25 | 24538 | 26677 row 3 : german | 35931 | 6.49 | 17409 | 18522 row 4 : russian | 15137 | 2.73 | 13551 | 1586 row 5 : ukrainian | 2350 | 0.42 | 2302 | 48 row 6 : other | 1285 | 0.23 | 1041 | 244 row 7 : persons that didn't name their native language | 27 | >0.01 | 14 | 13 row 8 : total | 553633 | 100 | 275652 | 277981 ] Execute this SQL based on the above table: select count ( language ) where males not null
8
[ header: team | seasons | games | wins | ties | losses | goals for | goals against | goal diff | points row 1 : montreal canadiens | 94 | 6,120 | 3,135 | 837 | 2,148 | 19,929 | 16,416 | 3,513 | 7,203 row 2 : boston bruins | 87 | 5,960 | 2,856 | 791 | 2,313 | 19,109 | 17,459 | 1,650 | 6,609 row 3 : philadelphia flyers | 44 | 3,506 | 1,756 | 457 | 1,293 | 11,783 | 10,270 | 1,513 | 4,060 row 4 : buffalo sabres | 41 | 3,280 | 1,569 | 409 | 1,302 | 10,868 | 9,875 | 993 | 3,630 row 5 : los angeles kings | 44 | 3,506 | 1,428 | 424 | 1,654 | 11,306 | 12,016 | -710 | 3,373 row 6 : vancouver canucks | 41 | 3,280 | 1,353 | 391 | 1,536 | 10,378 | 1,1024 | -646 | 3,179 row 7 : washington capitals | 37 | 2,968 | 1,305 | 303 | 1,360 | 9,407 | 9,739 | -332 | 3,004 row 8 : new jersey devils (kansas | 37 | 2,968 | 1,260 | 328 | 1380 | 8,931 | 9,590 | -659 | 2,915 row 9 : colorado avalanche (que | 32 | 2,568 | 1,174 | 261 | 1,133 | 8,564 | 8,417 | 147 | 2,681 row 10 : phoenix coyotes (win | 32 | 2,568 | 1,063 | 266 | 1,239 | 8,058 | 8,809 | -756 | 2,473 row 11 : carolina hurricanes (hartford whaler | 32 | 2,568 | 1,049 | 263 | 1,256 | 7,808 | 8,599 | -791 | 2,447 row 12 : san jose sharks | 20 | 1,608 | 721 | 121 | 766 | 4,553 | 4,744 | -191 | 1,657 row 13 : ottawa senators | 19 | 1,528 | 679 | 115 | 734 | 4,401 | 4,506 | -105 | 1,556 row 14 : anaheim ducks | 18 | 1,444 | 638 | 107 | 699 | 3,863 | 4,021 | -158 | 1,477 row 15 : tampa bay lightning | 19 | 1,528 | 588 | 112 | 828 | 4,058 | 4,842 | -784 | 1,384 row 16 : minnesota wild | 11 | 902 | 405 | 55 | 442 | 2,259 | 2,338 | -79 | 945 row 17 : winnipeg jets (atlant | 12 | 984 | 379 | 45 | 550 | 2,690 | 3,260 | -570 | 891 row 18 : new york americans (1925-1941) | 17 | 784 | 255 | 127 | 402 | 1,643 | 2,182 | -539 | 637 row 19 : montreal maroons | 14 | 622 | 271 | 91 | 260 | 1,474 | 1,405 | 69 | 633 row 20 : quebec bulldogs (1919-1920 | 6 | 150 | 51 | 1 | 98 | 505 | 652 | -147 | 103 row 21 : montreal wanderers | 1 | 6 | 1 | 0 | 5 | 17 | 35 | -18 | 2 ] Execute this SQL based on the above table: select team where id = ( select id where ties = 328 ) - 1
washington capitals
[ 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 min ( picture )
60
[ header: line | year opened | termini | termini row 1 : j church | 1917 | embarcadero station | balboa park station row 2 : k ingleside | 1918 | embarcadero station | balboa park station row 3 : l taraval | 1919 | embarcadero station | 46th avenue and wawona s row 4 : m ocean view | 1925 | embarcadero station | san jose and geneva balb row 5 : n judah | 1928 | 4th and king station caltrain depot | judah and la playa ocean beach row 6 : t third street | 2007 | west portal station | sunnydale station row 7 : s castro shuttle (peak hours & | None | embarcadero station 4th and | castro station west portal station (game days) ] Execute this SQL based on the above table: select count ( * ) where year opened < 341
0
[ header: # | name (birth-death) | took office | left office | monarch | prime minister row 1 : 1 | the viscount gladstone (1854-1930) | 31 may 1910 | 8 september 1914 | george v | botha row 2 : 2 | the viscount buxton (1853-1934) | 8 september 1914 | 17 november 1920 | george v | botha row 3 : 3 | hrh prince arthur of conn | 17 november 1920 | 21 january 1924 | george v | smuts row 4 : 4 | the earl of athlone (1874 | 21 january 1924 | 26 january 1931 | george v | smuts row 5 : 5 | the earl of clarendon (1877 | 26 january 1931 | 5 april 1937 | george v | hertzog row 6 : 6 | sir patrick duncan (1870-19 | 5 april 1937 | 17 july 1943 | george vi | hertzog row 7 : 6 | nicolaas jacobus de | 17 july 1943 | 1 january 1946 | george vi | smuts row 8 : 7 | gideon brand van zyl (18 | 1 january 1946 | 1 january 1951 | george vi | smuts row 9 : 8 | ernest george jans | 1 january 1951 | 25 november 1959 | george vi | malan row 10 : 8 | lucas cornelius stey | 26 november 1959 | 11 december 1959 | elizabeth ii | verwoerd row 11 : 9 | charles robberts swar | 11 december 1959 | 30 april 1961 | elizabeth ii | verwoerd row 12 : 9 | lucas cornelius stey | 30 april 1961 | 31 may 1961 | elizabeth ii | verwoerd ] Execute this SQL based on the above table: select name (birth-death) order by # asc limit 1
the viscount gladstone (1854-1930)
[ header: year | film | function | notes row 1 : 2002 | the bacchae | producer | screen adaptation of euripides' classic row 2 : 2004 | shakespeare's merchant | producer | adaptation of shakespeare's the merchant row 3 : 2004 | the trojan women | producer/actress | documentary film of brad mays' 2003 los row 4 : 2007 | schooled | co-producer | None row 5 : 2008 | sing*ularity | producer | documentary about the world-famous operaworks row 6 : 2008 | the watermelon | producer | oddball romantic comedy, written by michae row 7 : 2008 | the audacity of democracy | producer | documentary film of the 2008 democratic presidential primary, shot row 8 : 2011 | customer diss-service | co-producer | web series directed by brad mays and row 9 : 2012 | beginning blue | producer, writer | feature film about an all-girl rock band determined row 10 : 2012 | the donut shop | co-producer | comedy short directed by brad mays, and row 11 : 2013 | i grew up in princeton | producer | feature documentary directed by brad mays ] Execute this SQL based on the above table: select ( select function where film = 'the bacchae' ) < ( select function where film = 'customer diss-service' )
0
[ header: no. | title (latin) | title (english translation) | subject | date row 1 : 1 | qui pluribus | None | on faith and religion | 9 november 1846 row 2 : 2 | praedecessores nostros | None | on aid for ireland | 25 march 1847 row 3 : 4 | ubi primum | None | on immaculate conception | 2 february 1849 row 4 : 5 | nostis et nobiscum | None | on the church in the papal states | 8 december 1849 row 5 : 6 | exultavit cor nostrum | None | on the effects of the jubilee | 21 november 1851 row 6 : 7 | nemo certe ignorat | None | on discipline for clergy | 25 march 1852 row 7 : 8 | probe noscitis venerabiles | None | on the discipline for clergy | 17 may 1852 row 8 : 9 | inter multiplices | None | pleading for unity of spirit | 21 march 1853 row 9 : 10 | neminem vestrum | None | on the persecution of armenians | 2 february 1854 row 10 : 11 | optime noscitis | None | on the proposed catholic university of irel | 20 march 1854 row 11 : 13 | optime noscitis | None | on episcopal meetings | 5 november 1855 row 12 : 14 | singulari quidem | None | on the church in austria | 17 march 1856 row 13 : 15 | cum nuper | None | on care for clerics | 20 january 1858 row 14 : 16 | amantissimi redemptoris | None | on priests and the care of souls | 3 may 1858 row 15 : 17 | cum sancta mater eccle | None | pleading for public prayer | 27 april 1859 row 16 : 18 | qui nuper | None | on the pontifical states | 18 june 1859 row 17 : 19 | nullis certe verbis | None | on the need for civil sovereignty | 19 january 1860 row 18 : 20 | amantissimus | None | on the care of the churches | 8 april 1862 row 19 : 22 | incredibili | None | on the persecution in new granada | 17 september 1863 row 20 : 24 | quanta cura | None | condemning current errors | 8 december 1864 row 21 : 25 | meridionali americae | None | on the seminary for the native clergy | 30 september 1865 row 22 : 26 | levate | None | on the affiliations of church | 27 october 1867 row 23 : 27 | respicientes | None | protesting the taking of the pontifical states | 1 november 1870 row 24 : 28 | ubi nos | "our city" | on the pontifical states | 15 may 1871 row 25 : 29 | beneficia dei | None | on the 25th anniversary of his pontificate | 4 june 1871 row 26 : 30 | saepe venerabiles | None | thanksgiving for 25 years of pontificate | 5 august 1871 row 27 : 31 | quae in patriarchatu | None | on the church in chaldea | 16 november 1872 row 28 : 32 | quartus supra | None | on the church in armenia | january 1873 row 29 : 34 | vix dum a nobis | None | on the church in austria | 7 march 1874 row 30 : 35 | omnem sollicitudinem | None | on the greek-ruthenian rite | 13 may 1874 row 31 : 36 | gravibus ecclesia | None | proclaiming a jubilee | 24 december 1874 row 32 : 37 | quod nunquam | None | on the church in prussia | 5 february 1875 row 33 : 38 | graves ac diuturnae | None | on the church in switzerland | 23 march 1875 ] Execute this SQL based on the above table: select subject order by no. desc limit 1
on the church in switzerland
[ 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 notes where time = '23.75' and lane = 3
q
[ header: airline | destination(s) | aircraft scheduled | service date(s) | comments row 1 : air florida | new york jfk, tamp | boeing 737-200, d | jfk: 6/14/79 | None row 2 : airtran airways | atlanta, dayton, o | boeing 737-200, d | 11/14/1996-2/28/1998 | None row 3 : air wisconsin | akron-canton, chica | bae 146, bae atp, | None | original and operating as united express row 4 : allegiant air | las vegas | md-80 | 12/15/2005-4/24/2006 | None row 5 : america west express | columbus, flint | beech 1900 | None | operated by mesa dba superior row 6 : american eagle airlines | dallas/fort worth | erj-145 | None | operated by simmons airlines (now american row 7 : atlantic coast airlines | cincinnati | dornier 328jet | None | dba delta connection row 8 : atlantic southeast airlines | atlanta, cincinnati | atr 72, crj-200, cr | None | dba delta connection row 9 : beaver aviation / bas airlines | beaver falls (pa), d | piper navajo | early 1980s | None row 10 : capital airlines | akron, chicago, | viscount, dc-3, d | 1/8/1948-05-31-1961 | merged with united. * at the time, row 11 : comair | atlanta, cincinnati, colum | piper chieftain, piper | 1979, 01/03/1981-? | original and as delta connection row 12 : continental express | cleveland | emb-120, beech 1900, dash | None | None row 13 : delta air lines | atlanta, cincinnati, dayt | convair 440, boeing 7 | None | None row 14 : eastern airlines | columbus | constellation l-1049g, locheed elect | None | None row 15 : liberty airlines | chicago midway & o' | convair 440 | 02/1982-5/16/1983 | plans for cmh, cle, s row 16 : piedmont airlines | dayton | boeing 727-200, boe | None | merged with usair ] Execute this SQL based on the above table: select destination(s) where service date(s) <= 163
atlanta, dayton, orlando, las vegas, akron, chicago, cleveland, detroit, flint, grand rapids, lansing, muskegon, pittsburgh, philadelphia, chicago midway & o'hare
[ 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 where id = ( select id where interval name = 'lesser tridecimal 2/3rd tone' ) - 1
great limma
[ header: rank | name | nation(s) | born | ascended | years reigned row 1 : 1 | bhumibol adulya | thailand | 5 december 1927 | 9 june 1946 | 68 years, 3 days row 2 : 7 | qaboos bin said al said | oman | 18 november 1940 | 23 july 1970 | 43 years, 324 days row 3 : 10 | carl xvi gustaf | sweden | 30 april 1946 | 15 september 1973 | 40 years, 270 days row 4 : 16 | mswati iii | swaziland | 19 april 1968 | 25 april 1986 | 28 years, 48 days row 5 : 17 | akihito | japan | 23 december 1933 | 7 january 1989 | 25 years, 156 days row 6 : 19 | hans-adam ii | liechtenstein | 14 february 1945 | 13 november 1989 | 24 years, 211 days row 7 : 21 | harald v | norway | 21 february 1937 | 17 january 1991 | 23 years, 146 days row 8 : 24 | mizan zainal abidin | terengganu (malaysia | 22 january 1962 | 15 may 1998 | 16 years, 28 days row 9 : 25 | abdullah ii | jordan | 30 january 1962 | 7 february 1999 | 15 years, 125 days row 10 : 26 | hamad bin isa al k | bahrain | 28 january 1950 | 6 march 1999 | 15 years, 98 days row 11 : 30 | tuanku syed sir | perlis (malaysia) | 16 may 1943 | 17 april 2000 | 14 years, 56 days row 12 : 31 | henri | luxembourg | 16 april 1955 | 7 october 2000 | 13 years, 248 days row 13 : 33 | norodom sihamoni | cambodia | 14 may 1953 | 14 october 2004 | 9 years, 241 days row 14 : 37 | mohammed bin rashid al ma | dubai (united arab emir | 22 july 1949 | 4 january 2006 | 8 years, 159 days row 15 : 39 | tuheitia paki | maori king (new zealand | 21 april 1955 | 21 august 2006 | 7 years, 295 days row 16 : 41 | kapiliele faupala | wallis island (uvea) (wall | 1940 | 25 june 2008 | 5 years, 352 days row 17 : 45 | ibrahim ismail | johor (malaysia | 22 november 1958 | 22 january 2010 | 4 years, 141 days row 18 : 47 | muhammad v | kelantan (malaysia | 6 october 1969 | 13 september 2010 | 3 years, 272 days row 19 : 49 | tupou vi | tonga | 12 july 1959 | 18 march 2012 | 2 years, 86 days row 20 : 50 | francis | vatican city | 17 december 1936 | 13 march 2013 | 1 year, 91 days row 21 : 51 | willem-alexander | netherlands | 27 april 1967 | 30 april 2013 | 1 year, 43 days row 22 : 53 | philippe | belgium | 15 april 1960 | 21 july 2013 | 0 years, 326 days ] Execute this SQL based on the above table: select rank order by rank desc limit 1
53
[ header: outcome | no. | year | championship | opponent in the final | score row 1 : winner | 2 | 1988 | british open | mike hallett | 13-2 row 2 : winner | 3 | 1989 | asian open | james wattana | 9-2 row 3 : winner | 4 | 1989 | dubai classic | doug mountjoy | 9-2 row 4 : winner | 6 | 1990 | world snooker championship | jimmy white | 18-12 row 5 : winner | 8 | 1990 | asian open (2) | dennis taylor | 9-3 row 6 : runner-up | 4 | 1991 | classic | jimmy white | 4-10 row 7 : winner | 12 | 1991 | grand prix (3) | steve davis | 10-6 row 8 : runner-up | 5 | 1992 | classic (2) | steve davis | 8-9 row 9 : winner | 14 | 1992 | world snooker championship (2) | jimmy white | 18-14 row 10 : runner-up | 6 | 1992 | dubai classic | john parrott | 8-9 row 11 : runner-up | 7 | 1993 | european open (2) | steve davis | 4-10 row 12 : winner | 16 | 1993 | world snooker championship (3) | jimmy white | 18-5 row 13 : winner | 17 | 1993 | dubai classic (3) | steve davis | 9-3 row 14 : winner | 19 | 1994 | world snooker championship (4) | jimmy white | 18-17 row 15 : winner | 20 | 1994 | uk championship (3) | ken doherty | 10-5 row 16 : winner | 21 | 1994 | european open (2) | john parrott | 9-3 row 17 : winner | 23 | 1995 | grand prix (4) | john higgins | 9-5 row 18 : winner | 27 | 1997 | welsh open (2) | mark king | 9-2 row 19 : winner | 28 | 1997 | international open (2) | tony drago | 9-1 row 20 : runner-up | 9 | 1997 | british open | mark williams | 2-9 row 21 : runner-up | 10 | 1997 | world snooker championship | ken doherty | 12-18 row 22 : runner-up | 11 | 1997 | uk championship (3) | ronnie o'sulliv | 6-10 row 23 : winner | 29 | 1998 | thailand masters (3) | john parrott | 9-6 row 24 : runner-up | 12 | 1998 | british open (2) | john higgins | 8-9 row 25 : runner-up | 13 | 1999 | welsh open | mark williams | 8-9 row 26 : winner | 30 | 1999 | scottish open (3) | graeme dott | 9-1 row 27 : winner | 31 | 1999 | world snooker championship (7) | mark williams | 18-11 row 28 : winner | 32 | 1999 | british open (3) | peter ebdon | 9-1 row 29 : runner-up | 14 | 2000 | thailand masters | mark williams | 5-9 row 30 : winner | 35 | 2003 | british open (4) | ronnie o'sulliv | 9-6 row 31 : runner-up | 18 | 2003 | uk championship (4) | matthew stevens | 8-10 row 32 : winner | 36 | 2005 | malta cup (4) | graeme dott | 9-7 row 33 : runner-up | 20 | 2005 | china open | ding junhui | 5-9 row 34 : runner-up | 21 | 2006 | uk championship (5) | peter ebdon | 6-10 ] Execute this SQL based on the above table: select year - year where score = '9-6'
0, 0
[ header: ecclesiastical jurisdictions | latin name | type | rite | ecclesiastical province | established | area (km2) row 1 : benguela | benguelensis | diocese | roman | huambo | 6 june 1970 | 49920 row 2 : cabinda | cabindanus | diocese | roman | luanda | 2 july 1984 | 7120 row 3 : caxito | caxitonsis | diocese | roman | luanda | 6 june 2007 | 25133 row 4 : dundo | dundensis | diocese | roman | luanda | 9 november 2001 | 103130 row 5 : huambo | huambensis | metropolitan archdiocese | roman | huambo | 4 september 1940 | 29500 row 6 : kwito-bie | kvitobiensis | diocese | roman | huambo | 4 september 1940 | 71000 row 7 : luanda | luandensis | metropolitan archdiocese | roman | luanda | 1596 | 1074 row 8 : lubango | lubangensis | metropolitan archdiocese | roman | lubango | 27 july 1955 | 118000 row 9 : lwena | lvenanus | diocese | roman | saurimo | 1 july 1963 | 199786 row 10 : malanje | malaniensis | metropolitan archdiocese | roman | malanje | 25 november 1957 | 107000 row 11 : mbanza congo | mbanzacongensis | diocese | roman | luanda | 7 november 1984 | 39459 row 12 : menongue | menonguensis | diocese | roman | lubango | 10 august 1975 | 213309 row 13 : namibe | namibanus | diocese | roman | lubango | 21 march 2009 | 57097 row 14 : ndalatando | ndalatandensis | diocese | roman | malanje | 26 march 1990 | 20159 row 15 : ondjiva | ondiivanus | diocese | roman | lubango | 10 august 1975 | 83900 row 16 : saurimo | saurimoensis | metropolitan archdiocese | roman | saurimo | 10 august 1975 | 77000 row 17 : sumbe | sumbensis | diocese | roman | luanda | 10 august 1975 | 60000 row 18 : uije | uiiensis | diocese | roman | luanda | 14 march 1967 | 63530 row 19 : viana | viananensis | diocese | roman | luanda | 6 june 2007 | 17206 ] Execute this SQL based on the above table: select area (km2) where type = 'metropolitan archdiocese'
29500, 1074, 118000, 107000, 77000
[ header: rank | bib | athlete | country | time | deficit | note row 1 : 8 | 37 | laure barthelemy | france | 3:08.53 | 4.64 | q row 2 : 10 | 27 | magda genuin | italy | 3:09.91 | 6.02 | q row 3 : 11 | 16 | arianna follis | italy | 3:10.41 | 6.52 | q row 4 : 12 | 24 | celine brun-lie | norway | 3:10.45 | 6.56 | q row 5 : 21 | 40 | riikka sarasoja | finland | 3:13.49 | 9.6 | q row 6 : 24 | 9 | perianne jones | canada | 3:13.95 | 10.06 | q row 7 : 26 | 21 | anastasia dotsenko | russia | 3:15.03 | 11.14 | q row 8 : 27 | 33 | daria gaiazova | canada | 3:15.10 | 11.21 | q row 9 : 29 | 7 | jessica diggins | united states | 3:15.24 | 11.35 | q row 10 : 32 | 38 | natalya korostelyova | russia | 3:15.83 | 11.94 | None row 11 : 37 | 26 | madoka natsumi | japan | 3:17.89 | 14 | None row 12 : 38 | 28 | pirjo muranen | finland | 3:18.21 | 14.32 | None row 13 : 39 | 54 | elena soboleva | russia | 3:19.55 | 15.66 | None row 14 : 40 | 11 | elena kolomina | kazakhstan | 3:20.17 | 16.28 | None row 15 : 53 | 59 | rosamund musgrave | united kingdom | 3:26.34 | 22.45 | None row 16 : 54 | 1 | anastasia slonova | kazakhstan | 3:26.51 | 22.62 | None row 17 : 56 | 4 | piret pormeister | estonia | 3:27.34 | 23.45 | None row 18 : 57 | 64 | maryna antsybor | ukraine | 3:28.17 | 24.28 | None row 19 : 62 | 63 | monika gyorgy | romania | 3:32.20 | 28.31 | None row 20 : 63 | 71 | niviaq chemnitz | denmark | 3:32.56 | 28.67 | None row 21 : 67 | 67 | zoya zaviediei | ukraine | 3:38.21 | 31.32 | None row 22 : 74 | 86 | irina khodiakov | kyrgyzstan | 3:52.24 | 48.35 | None row 23 : 78 | 77 | agnes simon | hungary | 4:04.44 | +1:00.55 | None row 24 : 82 | 73 | syuzanna varosyan | armenia | 4:25.77 | +1:21.88 | None row 25 : 84 | 76 | valya varosyan | armenia | 4:30.74 | +1:26.85 | None row 26 : 85 | 80 | zane eglite | latvia | 4:37.37 | +1:33.48 | None row 27 : None | 61 | brooke gosling | canada | dns | None | None ] Execute this SQL based on the above table: select count ( * )
27
[ header: terminal | operator | depth (m) | berths | quay length (m) | quay cranes | area (m2) | capacity (kteus) row 1 : terminal 1 (ct1) | mtl | 14 | 1 | None | 4 | None | None row 2 : terminal 2 (ct2) | mtl | 14 | 1 | None | 5 | None | None row 3 : terminal 3 (ct3) | dpi | 14 | 1 | 305 | 6 | 167000 | >1,200 row 4 : terminal 4 (ct4) | hit | 12.5 | 3 | None | 8 | None | None row 5 : terminal 5 (ct5) | mtl | 14 | 1 | None | 4 | None | None row 6 : terminal 6 (ct6) | hit | 12.5-15.5 | 3 | None | 11 | None | None row 7 : terminal 7 (ct7) | hit | 15.5 | 4 | None | 15 | None | None row 8 : terminal 8 east (ct8e) | hit/cosco | 15.5 | 2 | 640 | 9 | 300000 | 1800 row 9 : terminal 8 west (ct8w) | act | 15.5 | 2 | 740 | 8 | 285000 | >2,000 row 10 : terminal 9 north (ct9n) | hit | 15.5 | 2 | 700 | 9 | 190000 | >2,600 (n&s) row 11 : terminal 9 south (ct9s) | mtl | 15.5 | 4 | 1240 | 13 | 490000 | None ] Execute this SQL based on the above table: select terminal where berths = 1
terminal 1 (ct1), terminal 2 (ct2), terminal 3 (ct3), terminal 5 (ct5)
[ header: state | city/county | population served | charter type | station name | web site row 1 : mo | cape girardeau; jackson | None | pg | public access cable tv (cg99 | http://www.cityofcapegirard row 2 : mo | columbia | 108500 | e | university of missouri tv (mut | http://mutv.missouri.e row 3 : mo | florissant | None | g | florissant city tv | http://tv.florissantmo row 4 : mo | independence | 116830 | g | independence city 7 | http://www.ci.independence row 5 : mo | jefferson city | 40000 | p | jefferson city access tv 81 | http://www.facebook.com/page row 6 : mo | kansas city | None | g | kansas city (kcc | http://www.kcmo.org row 7 : mo | lebanon | None | peg | lebanon community access channel (jtv | http://www.lebanon.k12. row 8 : mo | liberty | None | pe | liberty school district cable tv - channel | http://www.liberty.k12. row 9 : mo | rolla | 19559 | pg | rolla - channel 16 | http://www.rollachannel6.com row 10 : mo | springfield | None | p | springfield cable 25 | http://mappingaccess.org/n row 11 : mo | springfield | None | g | springfield cityview | http://www.springfieldmo.gov row 12 : mo | st. joseph | None | e | missouri western state university educational access - | http://www.missouriwestern.e row 13 : mo | st. louis | 319294 | e | st. louis higher education channel ( | http://www.hectv.org row 14 : mo | st. louis | 319294 | e | st. louis tv ( | http://stltv.net row 15 : mo | warrensburg | None | e | university of central missouri - central | http://www.ucmo.e ] Execute this SQL based on the above table: select charter type where population served > 1281
e, g, p, pg, e, e
[ header: year | award | category | nominated work | result row 1 : 2005 | mbc drama awards | best new actor | be strong, geum-soon! | won row 2 : 2005 | mbc drama awards | excellence award, actor | be strong, geum-soon! | won row 3 : 2007 | kbs drama awards | best couple award with han ji- | capital scandal | won row 4 : 2007 | kbs drama awards | excellence award, actor in a miniseries | capital scandal | won row 5 : 2008 | 44th baeksang arts awards | popularity award | hong gil-dong | won row 6 : 2008 | 28th korean association of film critic | best new actor | rough cut | won row 7 : 2008 | 29th blue dragon film awards | best new actor | rough cut | won row 8 : 2008 | 7th korean film awards | best new actor | rough cut | won row 9 : 2008 | kbs drama awards | best couple award with sung yu | hong gil-dong | won row 10 : 2008 | kbs drama awards | netizen award | hong gil-dong | won row 11 : 2009 | 45th baeksang arts awards | best new actor | rough cut | won row 12 : 2009 | 10th pusan film critics awards | best new actor | rough cut | won row 13 : 2009 | 46th grand bell awards | best new actor | my girlfriend is an agent | won row 14 : 2009 | 5th university film festival of korea | best new actor | my girlfriend is an agent | won row 15 : 2011 | 6th seoul international drama awards | outstanding korean actor | coffee house | nominated row 16 : 2011 | sbs drama awards | excellence award, actor in a special planning drama | lie to me | nominated row 17 : 2013 | sbs drama awards | top excellence award, actor in a drama special | incarnation of money | nominated row 18 : 2014 | 9th asia model festival awards | asia star award | None | won ] Execute this SQL based on the above table: select count ( * ) where year > 2005 and result = 482
0
[ header: stage | date | route | terrain | length | winner row 1 : 1a | 30 june | leiden - st willebro | plain stage | 135 km (84 mi) | jan raas (ne row 2 : 1b | 30 june | st willebrord - | plain stage | 100 km (62 mi) | walter planckaert (bel row 3 : 2 | 1 july | brussel - st amand | plain stage | 199 km (124 mi) | jacques esclassan (f row 4 : 3 | 2 july | st amand les eaux - | plain stage | 244 km (152 mi) | klaus-peter thaler ( row 5 : 4 | 3 july | evreux - caen | team time trial | 153 km (95 mi) | ti-raleigh row 6 : 5 | 4 july | caen - maze montgeoffroy | plain stage | 244 km (152 mi) | freddy maertens (bel) row 7 : 6 | 5 july | maze montgeoffroy - poit | plain stage | 162 km (101 mi) | sean kelly (ire) row 8 : 7 | 6 july | poitiers - bordeaux | plain stage | 242 km (150 mi) | freddy maertens (bel) row 9 : 8 | 7 july | st emilion - | individual time trial | 59 km (37 mi) | bernard hinault (fra row 10 : 9 | 8 july | bordeaux - biarritz | plain stage | 233 km (145 mi) | miguel maria lasa (es row 11 : 14 | 14 july | besse en chandesse | individual time trial | 52 km (32 mi) | joop zoetemel row 12 : 15 | 15 july | st dier d'auver | hilly stage | 196 km (122 mi) | bernard hinault (fra row 13 : 17 | 18 july | grenoble - morzine | stage with mountain(s) | 225 km (140 mi) | christian seznec row 14 : 19 | 20 july | lausanne - belfort | plain stage | 182 km (113 mi) | marc demeyer (bel) row 15 : 20 | 21 july | metz - nancy | individual time trial | 72 km (45 mi) | bernard hinault (fra row 16 : 22 | 23 july | st germain en laye | plain stage | 162 km (101 mi) | gerrie knetemann (n ] Execute this SQL based on the above table: select length group by length order by count ( terrain ) desc limit 1
244 km (152 mi)
[ header: rank | athlete | time | notes | q row 1 : 1 | habtamu fayisa | 5:38.62 | pb | fa row 2 : 2 | peter matheka mutuku ( | 5:38.72 | pb | fa row 3 : 3 | zakaria kiprotich ( | 5:44.51 | pb | fa row 4 : 4 | waleed elayah (ye | 5:51.58 | pb | fa row 5 : 5 | bilal tabti (alg) | 5:56.21 | pb | fa row 6 : 6 | yousif daifalla (su | 5:56.46 | pb | fa row 7 : 7 | salem attiatalla (eg | 6:03.41 | None | fa row 8 : 8 | daniel wong (usa | 6:05.92 | pb | fa row 9 : 9 | david morcillo (esp | 6:10.90 | None | fb row 10 : 10 | laurentiu rosu (rou | 6:12.77 | None | fb row 11 : 11 | grant gwynne (aus) | 6:16.83 | None | fb row 12 : 12 | ioran etchechury (bra | 6:39.87 | None | fb row 13 : 13 | bacem salhi (tun | 6:43.17 | None | fb row 14 : None | ahmed burhan (ksa | dsq | None | fb row 15 : None | zak seddon (gbr | dsq | None | fb ] Execute this SQL based on the above table: select count ( notes ) where notes = 'None'
0
[ header: township | fips | population center | population | population density /km2 (/sq mi) | land area km2 (sq mi) | water area km2 (sq mi) | water % | geographic coordinates row 1 : alexandria | 1100 | None | 859 | 7 (18) | 123 (48) | 1 (0) | 0.62% | 39°16′8′′n 95°7 row 2 : delaware | 17450 | None | 1361 | 22 (57) | 62 (24) | 3 (1) | 4.19% | 39°14′50′′n 94° row 3 : easton | 19625 | None | 1245 | 11 (30) | 109 (42) | 0 (0) | 0.11% | 39°21′57′′n 95°7 row 4 : fairmount | 22325 | basehor | 6266 | 61 (159) | 102 (39) | 0 (0) | 0.39% | 39°8′4′′n 94° row 5 : high prairie | 32125 | None | 1768 | 14 (37) | 124 (48) | 0 (0) | 0.27% | 39°15′30′′n 95°0 row 6 : kickapoo | 36700 | None | 1760 | 15 (40) | 114 (44) | 3 (1) | 2.39% | 39°20′45′′n 94° row 7 : reno | 58950 | None | 1143 | 10 (27) | 111 (43) | 2 (1) | 1.56% | 39°1′8′′n 95°8 row 8 : sherman | 65000 | None | 2367 | 22 (57) | 108 (42) | 3 (1) | 2.44% | 39°0′59′′n 95°0 row 9 : stranger | 68500 | None | 2451 | 19 (50) | 127 (49) | 0 (0) | 0.17% | 39°8′16′′n 95°2 row 10 : tonganoxie | 70825 | tonganoxie (part) | 4852 | 35 (91) | 137 (53) | 1 (0) | 0.66% | 39°7′0′′n 95°6 ] Execute this SQL based on the above table: select min ( water % ) where township = 'delaware'
4.19%
[ header: date | week (stage) | song choice | original artist | theme | result row 1 : 11 february 2011 | week 1 (top 9) | "just the way you are" | bruno mars | free choice | safe row 2 : 18 february 2011 | week 2 (top 8) | "can't buy me love" | the beatles | the beatles songs | safe row 3 : 25 february 2011 | week 3 (top 7) | "de første kæ | tv.2 | songs from the 2000s | safe row 4 : 4 march 2011 | week 4 (top 6) | "numb" | linkin park | rock songs | safe row 5 : 11 march 2011 | week 5 (top 5) | "hurt" | christina aguilera | free choice (with danish national chamber orchestra | safe row 6 : 18 march 2011 | week 6 (top 4) | "dj got us fallin' in love | usher feat. pitbull | dj night with rune rk | safe row 7 : 18 march 2011 | week 6 (top 4) | "baby" | justin bieber | free choice | safe row 8 : 25 march 2011 | week 7 (final 3) | "the flood" | take that | joint song with guest take that performed jointly with the | third row 9 : 25 march 2011 | week 7 (final 3) | "all the right moves" | onerepublic | free choice | third row 10 : 25 march 2011 | week 7 (final 3) | "back to the 80s" | aqua | joint song with guest aqua | third ] Execute this SQL based on the above table: select count ( date )
10
[ header: pos. | driver | co-driver | car | time row 1 : 1 | giandomenico basso | lorenzo granai | peugeot 207 s2000 | 2h28m50.8s row 2 : 2 | bruno magalhaes | nuno r. silva | peugeot 207 s2000 | +07.3s row 3 : 3 | miguel nunes | joao paulo | mitsubishi lancer x r4 | + 3m30.8s row 4 : 4 | pedro meireles | mario castro | skoda fabia s2000 | +3m42.5s row 5 : 5 | luca betti | francesco pezzoli | ford fiesta s2000 | +4m04.1s row 6 : 6 | filipe freitas | daniel figueiroa | mitsubishi lancer x r4 | +5m36s row 7 : 7 | filipe pires | vasco rodrigues | mitsubishi lancer x | +9m11.2s row 8 : 8 | luis serrado | joao sousa | peugeot 206 s1600 | +10m53.7s row 9 : 9 | jose camacho | fernando spinola | peugeot 206 s1600 | +13m08.3s row 10 : 10 | rui conceicao | duarte coelho | ford escort cosworth | +16m50.1s ] Execute this SQL based on the above table: select driver where car = 'peugeot 206 s1600' and co-driver = 'fernando spinola'
jose camacho
[ header: place | player | country | score | to par | money ($) row 1 : t1 | bobby jones (a) | united states | 69-75-71-79=2 | 6 | playoff row 2 : t1 | al espinosa | united states | 70-72-77-75=294 | 6 | playoff row 3 : t3 | gene sarazen | united states | 71-71-76-78=2 | 8 | 700 row 4 : t3 | denny shute | united states | 73-71-76-76=2 | 8 | 700 row 5 : t5 | tommy armour | scotland united states | 74-71-76-76=2 | 9 | 550 row 6 : t5 | george von elm (a | united states | 79-70-74-74=2 | 9 | 0 row 7 : 7 | henry ciuci | united states | 78-74-72-75=2 | 11 | 450 row 8 : t8 | leo diegel | united states | 74-74-76-77=301 | 13 | 300 row 9 : t8 | peter o'hara | united states | 74-76-73-78=301 | 13 | 300 row 10 : 10 | horton smith | united states | 76-77-74-75=30 | 14 | 150 ] Execute this SQL based on the above table: select count ( country )
10
[ header: year | competition | venue | position | event | notes row 1 : 1979 | grandma's marathon | duluth, united states | 1st | marathon | 2:37:37 row 2 : 1980 | grandma's marathon | duluth, united states | 1st | marathon | 2:38:35 row 3 : 1981 | grandma's marathon | duluth, united states | 1st | marathon | 2:29:35 row 4 : 1984 | boston marathon | boston, united states | 1st | marathon | 2:29:28 row 5 : 1984 | olympic games | los angeles, united states | 5th | marathon | 2:28:54 row 6 : 1986 | osaka ladies marathon | osaka, japan | 1st | marathon | 2:30:24 row 7 : 1986 | commonwealth games | edinburgh, scotl | 2nd | marathon | 2:28:17 row 8 : 1987 | osaka ladies marathon | osaka, japan | 1st | marathon | 2:30:40 row 9 : 1987 | world championships | rome, italy | 21st | 10,000 m | 34:07.26 row 10 : 1988 | olympic games | seoul, south korea | 33rd | marathon | 2:37:52 row 11 : 1989 | osaka ladies marathon | osaka, japan | 1st | marathon | 2:30:21 row 12 : 1989 | hokkaido marathon | sapporo, japan | 1st | marathon | 2:36:39 row 13 : 1991 | hokkaido marathon | sapporo, japan | 1st | marathon | 2:33:20 row 14 : 1992 | olympic games | barcelona, spain | 3rd | marathon | 2:33:59 row 15 : 1996 | olympic games | atlanta, united states | 46th | marathon | 2:42:21 ] Execute this SQL based on the above table: select min ( competition )
boston marathon
[ header: no. in series | no. in season | title | directed by | written by | original air date row 1 : 1 | 1 | "dream house / ufo encounter | allan kroeker | will dixon / james n | september 28, 1996 row 2 : 2 | 2 | "possession / man out of time" | john bell / allan kroe | james nadler / la | october 5, 1996 row 3 : 3 | 3 | "reptilian revenge / ghostly | giles walker / allan | will dixon / richard ol | october 12, 1996 row 4 : 4 | 4 | "creeping darkness / power" | john bell / allan kroe | david preston / gerald | october 19, 1996 row 5 : 5 | 5 | "free fall / presence" | milan cheylov / john | larry raskin / | october 26, 1996 row 6 : 6 | 6 | "the infestation / human apportation" | giles walker / john | damian kindler / denise | november 2, 1996 row 7 : 7 | 7 | "the underneath / phantom | milan cheylov / allan | robert c. cooper / | november 9, 1996 row 8 : 8 | 8 | "the transient / two lost old men | giles walker | damian kindler / ian | november 16, 1996 row 9 : 9 | 9 | "ufo duplication / clara | marc voizard | robert c. cooper / | november 23, 1996 row 10 : 10 | 10 | "the hunter / the healer" | john bell | damian kindler / larry | november 30, 1996 row 11 : 11 | 11 | "the curse / angel on a plane | marc voizard / ken gir | will dixon / ian wei | january 18, 1997 row 12 : 12 | 12 | "anasazi cave / de | marc voizard / ken gir | sherman snukal / | january 25, 1997 row 13 : 13 | 13 | "the undead / the stalker | clay boris | will dixon / alex pugsley | february 1, 1997 row 14 : 14 | 14 | "the forbidden north / reincarnation | ken girotti | damian kindler / peter | february 8, 1997 row 15 : 15 | 15 | "the greenhouse effect / the buzz" | clay boris | damian kindler / sherman | february 15, 1997 row 16 : 16 | 16 | "the light" | milan cheylov | will dixon | february 22, 1997 row 17 : 17 | 17 | "the 13th floor / the believer | clay boris / craig | jean hurtubise / dami | april 12, 1997 row 18 : 18 | 18 | "the fog / house on garden street" | clay boris | robert c. cooper / | april 19, 1997 row 19 : 19 | 19 | "second sight / chocolate soldier" | milan cheylov | sherman snukal / | april 26, 1997 ] Execute this SQL based on the above table: select ( select count ( * ) where original air date = 'april 19, 1997' and title = '"the forbidden north / reincarnation"' ) > 311
0
[ header: year | winner | jockey | trainer | owner | breeder row 1 : 1919 | sir barton | johnny loftus | h. guy bedwell | j. k. l. | None row 2 : 1930 | gallant fox | earl sande | jim fitzsimmons | belair stud | belair stud row 3 : 1935 | omaha | willie saunders | jim fitzsimmons | belair stud | belair stud row 4 : 1937 | war admiral | charley kurtsinger | george h. conway | samuel d. rid | samuel d. rid row 5 : 1941 | whirlaway | eddie arcaro | ben a. jones | calumet farm | calumet farm row 6 : 1943 | count fleet | johnny longden | don cameron | fannie hertz | fannie hertz row 7 : 1946 | assault | warren mehrtens | max hirsch | king ranch | king ranch row 8 : 1948 | citation | eddie arcaro | horace a. jones | calumet farm | calumet farm row 9 : 1973 | secretariat | ron turcotte | lucien laurin | meadow stable | meadow stud row 10 : 1977 | seattle slew | jean cruguet | william h. turner, | karen l. tay | ben s. castleman row 11 : 1978 | affirmed | steve cauthen | laz barrera | harbor view farm | harbor view farm ] Execute this SQL based on the above table: select count ( distinct owner )
9
[ header: year | domestic passengers | international passengers | total passengers | change row 1 : 2006 | 764831 | 83115 | 847946 | +4.6% row 2 : 2007 | 764674 | 75276 | 839950 | -0.9% row 3 : 2008 | 709779 | 92176 | 801955 | -4.5% row 4 : 2009 | 605534 | 82424 | 687958 | -14.3% row 5 : 2010 | 595457 | 105119 | 700576 | +1.7% row 6 : 2011 | 850305 | 123607 | 973912 | +39.1% row 7 : 2012 | 899854 | 178679 | 1078533 | +10.7% row 8 : 2013 | 745178 | 131902 | 877080 | -18.7% ] Execute this SQL based on the above table: select change order by year asc limit 1721
+4.6%, -0.9%, -4.5%, -14.3%, +1.7%, +39.1%, +10.7%, -18.7%
[ header: # | club | winner | last win | runner-up | last losing final row 1 : 1 | esteghlal (taj) | 6 | 2012 | 3 | 2004 row 2 : 2 | persepolis | 5 | 2011 | 2 | 2013 row 3 : 3 | sepahan | 4 | 2013 | 0 | None row 4 : 4 | malavan | 3 | 1990 | 4 | 2011 row 5 : 5 | zob ahan | 2 | 2009 | 1 | 2001 row 6 : 6 | bahman | 1 | 1995 | 2 | 2000 row 7 : 6 | fajr sepasi | 1 | 2001 | 2 | 2003 row 8 : 6 | tractor sazi | 1 | 2014 | 2 | 1995 row 9 : 8 | bargh shiraz | 1 | 1997 | 1 | 1996 row 10 : 8 | saba qom (saba | 1 | 2005 | 1 | 2007 row 11 : 10 | saipa | 1 | 1994 | 0 | None row 12 : 10 | shahin ahvaz | 1 | 1988 | 0 | None row 13 : 13 | homa | 0 | None | 1 | 1977 row 14 : 13 | kheibar khorramabad | 0 | None | 1 | 1986 row 15 : 13 | jonoob ahvaz | 0 | None | 1 | 1994 row 16 : 13 | aboomoslem | 0 | None | 1 | 2005 row 17 : 13 | damash (pegah) | 0 | None | 1 | 2008 row 18 : 13 | rah ahan | 0 | None | 1 | 2009 row 19 : 13 | gostaresh foolad | 0 | None | 1 | 2010 row 20 : 13 | shahin bushehr | 0 | None | 1 | 2012 row 21 : 13 | mes kerman | 0 | None | 1 | 2014 ] Execute this SQL based on the above table: select club order by club asc limit 1
aboomoslem
[ header: year | driver | constructor | location | report row 1 : 1992 | nigel mansell | williams-renault | hermanos rodriguez | report row 2 : 1991 | riccardo patrese | williams-renault | hermanos rodriguez | report row 3 : 1990 | alain prost | ferrari | hermanos rodriguez | report row 4 : 1989 | ayrton senna | mclaren-honda | hermanos rodriguez | report row 5 : 1988 | alain prost | mclaren-honda | hermanos rodriguez | report row 6 : 1987 | nigel mansell | williams-honda | hermanos rodriguez | report row 7 : 1986 | gerhard berger | benetton-bmw | hermanos rodriguez | report row 8 : 1985 - 1971 | None | None | None | not held row 9 : 1970 | jacky ickx | ferrari | magdalena mixhuca | report row 10 : 1969 | denny hulme | mclaren-ford | magdalena mixhuca | report row 11 : 1968 | graham hill | lotus-ford | magdalena mixhuca | report row 12 : 1967 | jim clark | lotus-ford | magdalena mixhuca | report row 13 : 1966 | john surtees | cooper-maserati | magdalena mixhuca | report row 14 : 1965 | richie ginther | honda | magdalena mixhuca | report row 15 : 1964 | dan gurney | brabham-climax | magdalena mixhuca | report row 16 : 1963 | jim clark | lotus-climax | magdalena mixhuca | report row 17 : 1962 | trevor taylor j | lotus-climax | magdalena mixhuca | report ] Execute this SQL based on the above table: select year where location = 'magdalena mixhuca'
1970, 1969, 1968, 1967, 1966, 1965, 1964, 1963, 1962
[ 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 count ( team ) where no - no = 9
0
[ header: tournament | 2000 | 2001 | 2002 | 2003 | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 | 2010 | 2011 | 2012 | sr | w-l row 1 : australian open | a | a | 1r | a | 2r | 3r | 2r | 3r | w | 2r | 1r | 2r | 1r | 1 / 10 | 13-9 row 2 : french open | a | a | a | a | 3r | a | 2r | 3r | 3r | 1r | sf | 1r | 2r | 0 / 8 | 12-8 row 3 : wimbledon | a | 2r | a | sf | 1r | 3r | 3r | 2r | qf | 3r | 3r | 1r | 2r | 0 / 11 | 17-11 row 4 : us open | a | 1r | a | 1r | 1r | qf | 3r | 3r | 2r | sf | 1r | 2r | 2r | 0 / 11 | 14-11 row 5 : win-loss | 0-0 | 1-2 | 0-1 | 4-2 | 3-4 | 5-3 | 6-4 | 7-4 | 12-3 | 7-4 | 6-4 | 2-4 | 3-4 | 1 / 40 | 56-39 row 6 : indian wells | a | a | a | a | 2r | 2r | 1r | f | w | f | qf | 2r | None | 1 / 8 | 17-7 row 7 : miami | a | a | a | a | 2r | qf | sf | 1r | 1r | w | 1r | qf | None | 1 / 8 | 13-7 row 8 : monte carlo | a | a | a | a | 2r | a | 2r | 2r | qf | qf | 1r | 1r | None | 0 / 7 | 2-7 row 9 : rome | a | a | a | a | 1r | 1r | f | 2r | 2r | qf | 1r | a | None | 0 / 7 | 4-7 row 10 : madrid (stuttgart | a | a | a | a | 1r | 1r | qf | 1r | 1r | 2r | qf | 1r | None | 0 / 8 | 3-8 row 11 : canada | a | a | a | a | qf | f | 2r | sf | 2r | f | 2r | a | None | 0 / 7 | 10-7 row 12 : cincinnati | a | a | a | a | qf | 1r | sf | w | f | 2r | qf | a | None | 1 / 7 | 13-6 row 13 : shanghai | not held | not held | not held | not held | not held | not held | not held | not held | not held | 2r | 1r | a | None | 0 / 2 | 1-2 row 14 : paris | a | a | a | a | a | qf | 1r | 1r | qf | 2r | f | 1r | None | 0 / 7 | 6-7 row 15 : hamburg | a | a | a | a | 1r | 1r | qf | sf | 2r | nm1 | nm1 | nm1 | nm1 | 0 / 5 | 3-5 row 16 : win-loss | 0-0 | 0-0 | 0-0 | 0-0 | 6-8 | 8-8 | 10-9 | 12-8 | 10-8 | 15-8 | 8-9 | 3-5 | None | 3 / 66 | 66-63 ] Execute this SQL based on the above table: select 2001 order by 2010 desc limit 1
a
[ header: pos. | driver | co-driver | car | time | difference | points row 1 : 1 | raffaele pinto | arnaldo bernacchini | fiat abarth 124 rallye | 6:26:15 | 0 | 20 row 2 : 2 | alcide paganelli | ninni russo | fiat abarth 124 rallye | 6:30:12 | 3.57 | None row 3 : 3 | markku alen | ilkka kivimaki | fiat abarth 124 rallye | 6:37:17 | 11.02 | None row 4 : 4 | ove andersson | arne hertz | toyota corolla | 6:40:54 | 14.39 | 10 row 5 : 5 | harry kallstrom | claes billstam | datsun 260z | 6:54:27 | 28.12 | 8 row 6 : 6 | bob neyret | yveline vanoni | alpine-renault a110 1800 | 7:04:18 | 38.03 | 6 row 7 : 7 | georg fischer | harald gottlieb | bmw 2002 | 7:05:02 | 38.47 | 4 row 8 : 8 | francisco romaozinho | jose bernardo | citroen gs | 7:17:04 | 50.49 | 3 row 9 : 9 | chris sclater | neil wilson | ford escort rs1 | 7:26:59 | 1:00.44 | 2 row 10 : 10 | antonio borges | miguel sottomayor | fiat 124 sport spyder | 7:27:55 | 1:01.40 | None ] Execute this SQL based on the above table: select max ( difference ) where car = 'fiat 124 sport spyder'
1.0
[ header: represented | contestant | age | height | hometown row 1 : azua | patricia tomas ferro | 21 | 1.78 m (5 ft 10 in | santo domingo row 2 : com. dom. nueva york | carol maria arciniegas j | 20 | 1.78 m (5 ft 10 in | washington heights row 3 : dajabon | elizabeth rondon garcia | 18 | 1.75 m (5 ft 9 in | loma de cabrera row 4 : distrito nacional | melanie pimentel de la | 26 | 1.69 m (5 ft 6 1 | los alcarrizos row 5 : duverge | yilda santana | 22 | 1.80 m (5 ft 10 3 | santo domingo row 6 : hato mayor | sarah maria reyes | 20 | 1.75 m (5 ft 9 in | san cristobal row 7 : la romana | suanny frontaan de la cruz | 22 | 1.82 m (5 ft 11 3 | la romana row 8 : licey al medio | ana carolina frometa cru | 22 | 1.77 m (5 ft 9 3 | santiago de los caballe row 9 : moca | cindy arias morton | 25 | 1.80 m (5 ft 10 3 | moca row 10 : monte cristi | carolina ayala cro | 18 | 1.71 m (5 ft 7 1 | san felipe de puerto row 11 : neiba | sandra castellanos de fermin | 21 | 1.76 m (5 ft 9 1 | santo domingo row 12 : samana | lucrecia vargas camacho | 20 | 1.74 m (5 ft 8 1 | moca row 13 : san cristobal | elisa mercedes | 19 | 1.74 m (5 ft 8 1 | san cristobal row 14 : san francisco de macoris | johanna del carmen espa | 19 | 1.76 m (5 ft 9 1 | san francisco de macoris row 15 : san jose de las mata | karina german fernandez | 24 | 1.77 m (5 ft 9 3 | santiago de los caballe row 16 : san juan | lizette de los santos | 23 | 1.78 m (5 ft 10 in | san juan de la magu row 17 : santiago | amelia victoria vega | 17 | 1.85 m (6 ft 3⁄ | santiago de los caballe row 18 : santiago rodriguez | martha zamora ta | 20 | 1.83 m (6 ft 0 | santiago de los caballe row 19 : santo domingo oeste | aurora sardena fiallo | 25 | 1.79 m (5 ft 10 1 | santo domingo row 20 : valverde | lourdes medina acosta | 21 | 1.72 m (5 ft 7 3 | laguna salada ] Execute this SQL based on the above table: select avg ( age )
21.15
[ header: city | country | airport | begin | end row 1 : aberdeen | united kingdom | aberdeen airport | 1999 | None row 2 : alesund | norway | alesund airport, vigra | 1971 | None row 3 : alta | norway | alta airport | 1974 | None row 4 : batsfjord | norway | batsfjord airport | 1999 | None row 5 : bodø | norway | bodø airport | 1968 | None row 6 : brønnøysund | norway | brønnøysund airport, | 1968 | None row 7 : fagernes | norway | fagernes airport, leirin | 1999 | 2000 row 8 : florø | norway | florø airport | 1971 | None row 9 : førde | norway | førde airport, bringel | 1986 | None row 10 : førde | norway | førde airport, øy | 1971 | 1986 row 11 : glasgow | united kingdom | glasgow international airport | 1997 | 1999 row 12 : gothenburg | sweden | gothenburg-landvetter airport | 1996 | None row 13 : hammerfest | norway | hammerfest airport | 1974 | None row 14 : haugesund | norway | haugesund airport, karmø | 2010 | None row 15 : harstad/narvik | norway | harstad/narvik airport, | 1975 | None row 16 : kirkenes | norway | kirkenes airport, hø | 1974 | None row 17 : kristiansand | norway | kristiansand airport, kje | 1991 | None row 18 : lakselv | norway | lakselv airport, banak | 1974 | None row 19 : leknes | norway | leknes airport | 1972 | None row 20 : lerwick | united kingdom | sumburgh airport | 1995 | 2005 row 21 : london | united kingdom | london stansted airport | 1989 | 1992 row 22 : molde | norway | molde airport, arø | 1972 | None row 23 : murmansk | russia | murmansk airport | 1994 | 2000 row 24 : narvik | norway | narvik airport, framnes | 1975 | None row 25 : namsos | norway | namsos airport, hø | 1968 | None row 26 : newcastle | united kingdom | newcastle airport | 2006 | None row 27 : ørland | norway | ørland airport | 1971 | 1987 row 28 : ørsta/volda | norway | ørsta-volda airport, | 1971 | None row 29 : oslo | norway | oslo airport, forne | 1974 | 1998 row 30 : oslo | norway | oslo airport, gardermo | 1998 | None row 31 : rønne | denmark | bornholm airport | 2007 | None row 32 : sandefjord | norway | sandefjord airport, to | 1989 | None row 33 : sandnessjøen | norway | sandnessjøen airport, | 1968 | None row 34 : sogndal | norway | sogndal airport, haukas | 1971 | None row 35 : stavanger | norway | stavanger airport, sola | 1989 | None row 36 : svolvær | norway | svolvær airport, helle | 1972 | None row 37 : tromsø | norway | tromsø airport | 1974 | None row 38 : umea | sweden | umea airport | 1995 | 1995 ] Execute this SQL based on the above table: select city where city in ( 'russia' , 'gothenburg' ) order by country limit 1
gothenburg
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | algeria | 8 | 3 | 0 | 11 row 2 : 2 | tunisia | 4 | 3 | 5 | 12 row 3 : 3 | egypt | 3 | 3 | 3 | 9 row 4 : 4 | cameroon | 1 | 1 | 5 | 7 row 5 : 5 | morocco | 0 | 1 | 5 | 5 row 6 : 6 | south africa | 0 | 1 | 1 | 2 row 7 : 7 | angola | 0 | 1 | 0 | 1 row 8 : 7 | burkina faso | 0 | 1 | 0 | 1 row 9 : 7 | gabon | 0 | 1 | 0 | 1 row 10 : 7 | madagascar | 0 | 1 | 0 | 1 row 11 : 11 | nigeria | 0 | 0 | 3 | 3 row 12 : 12 | senegal | 0 | 0 | 2 | 2 row 13 : 13 | congo republic | 0 | 0 | 1 | 1 row 14 : 13 | ivory coast | 0 | 0 | 1 | 1 row 15 : 13 | guinea | 0 | 0 | 1 | 1 row 16 : 13 | niger | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select rank where silver = 0
11.0, 12.0, 13.0, 13.0, 13.0, 13.0
[ header: date | home team | score | away team | notes row 1 : 17 december 2007 | foolad | 4-4 | esteghlal ahvaz | foolad progress 8-7 on penalties row 2 : 21 december 2007 | rah ahan | 2-2 | steel azin | rah ahan progress 5-2 row 3 : 21 december 2007 | zob ahan | 1-1 | esteghlal | esteghlal progress 3-1 on penalties row 4 : 21 december 2007 | bargh shiraz | 1-0 | paykan tehran | None row 5 : 21 december 2007 | shahin bushehr | 2-2 | saba battery | shahin bushehr progress 6-5 on penalties row 6 : 24 december 2007 | pas hamedan | 3-0 | persepolis | None row 7 : 26 february 2008 | moghavemat sepasi | 1-2 | sepahan | None row 8 : 4 march 2008 | sanaye arak | 0-1 | pegah gilan | None ] Execute this SQL based on the above table: select count ( away team ) where notes = 'esteghlal progress 3-1 on penalties'
1
[ header: opponent | played | won | lost | drawn | % won overall row 1 : australia | 4 | 4 | 0 | 0 | 100% row 2 : canada | 21 | 19 | 2 | 0 | 90.48% row 3 : france | 34 | 24 | 10 | 0 | 70.59% row 4 : germany | 1 | 1 | 0 | 0 | 100% row 5 : ireland | 19 | 18 | 1 | 0 | 94.74% row 6 : italy | 12 | 12 | 0 | 0 | 100% row 7 : kazakhstan | 3 | 3 | 0 | 0 | 100% row 8 : netherlands | 4 | 4 | 0 | 0 | 100% row 9 : new zealand | 22 | 7 | 14 | 1 | 34.09% row 10 : russia | 2 | 2 | 0 | 0 | 100% row 11 : samoa | 1 | 1 | 0 | 0 | 100% row 12 : scotland | 23 | 21 | 2 | 0 | 91.34% row 13 : south africa | 5 | 5 | 0 | 0 | 100% row 14 : spain | 14 | 12 | 1 | 1 | 89.29% row 15 : sweden | 3 | 3 | 0 | 0 | 100% row 16 : united states | 13 | 12 | 1 | 0 | 92.31% row 17 : wales | 30 | 29 | 1 | 0 | 96.67% row 18 : total | 210 | 176 | 32 | 2 | 83.10% ] Execute this SQL based on the above table: select lost where played = 22
14.0
[ header: # | title | songwriters | producer(s) | performer (s) row 1 : 1 | "a dream" | l. lynn, w | will.i.am | common, will.i.am row 2 : 2 | "listen!!!" | t.k. greene, k | kwame | talib kweli row 3 : 3 | "it's r time [lenky | j. ortega, v. | None | jeannie ortega row 4 : 4 | "when the ship goes down (dia | l. freese, l. | dj muggs | cypress hill row 5 : 5 | "hip hop hooray" | v. brown, a. cri | naughty by nature | naughty by nature row 6 : 6 | "keep ya head up" | t. shakur, d | dj daryl | 2pac row 7 : 7 | "code of the streets" | k. elam, c | dj premier | gang starr row 8 : 8 | "rebirth of slick (cool like | i. butler, c. | butterfly | digable planets row 9 : 9 | "officer" | t. hardson, j. mar | j-swift | the pharcyde row 10 : 10 | "this is how we do it" | m. jordan, o. | montell jordan, oji pier | montell jordan row 11 : 11 | "colors" | w. adams | will.i.am | will.i.am row 12 : 12 | "bus ride" | w. adams | will.i.am | will.i.am row 13 : 13 | "riots" | m. isham, w. | None | mark isham, miri ben-ari row 14 : 14 | "eva's theme" | m. isham | None | mark isham row 15 : 15 | "anne frank" | m. isham | None | mark isham, miri ben-ari ] Execute this SQL based on the above table: select songwriters where songwriters not null and producer(s) is null
j. ortega, v. santiago, l. vazquez, r. ramirez, k. ravenell, e. almonte, m. isham, w. adams, m. isham, m. isham
[ header: township | fips | population center | population | population density (/mi2) | population density (/km2) | land area (mi2) | land area (km2) | water area (mi2) | water area (km2) | geographic coordinates row 1 : center | 90735 | None | 515 | 36.8 | 14.2 | 13.99 | 36.23 | 0.0339 | 0.0878 | 35°24′20′′n 92° row 2 : clark | 90813 | london | 2969 | 115.3 | 44.6 | 25.73 | 66.64 | 6.0444 | 15.6549 | 35°19′45′′n 93° row 3 : convenience | 90921 | None | 933 | 50.4 | 19.4 | 18.53 | 47.99 | 0.0942 | 0.244 | 35°20′00′′n 92° row 4 : dover | 91134 | dover | 5277 | 119.1 | 46 | 44.29 | 114.7 | 0.3637 | 0.942 | 35°23′30′′n 93° row 5 : freeman | 91377 | None | 98 | 0.8 | 0.3 | 119.78 | 310.2 | 0 | 0 | 35°39′10′′n 93° row 6 : galla | 91407 | pottsville | 3523 | 88.7 | 34.3 | 39.71 | 102.8 | 1.841 | 4.7682 | 35°13′15′′n 93° row 7 : griffin | 91536 | None | 901 | 26.5 | 10.2 | 33.96 | 87.96 | 0.1106 | 0.2865 | 35°25′30′′n 92° row 8 : illinois | 91812 | russellville | 25841 | 540.9 | 208.9 | 47.77 | 123.7 | 6.6022 | 17.0996 | 35°17′00′′n 93° row 9 : liberty | 92181 | None | 805 | 14.2 | 5.5 | 56.64 | 146.7 | 0.0028 | 0.0073 | 35°29′40′′n 93° row 10 : martin | 92415 | None | 1482 | 23.7 | 9.2 | 62.46 | 161.8 | 0.3931 | 1.0181 | 35°28′25′′n 93° row 11 : phoenix | 92871 | None | 334 | 26.7 | 10.3 | 12.51 | 32.4 | 0 | 0 | 35°24′30′′n 93° row 12 : smyrna | 93420 | None | 173 | 2.4 | 0.9 | 70.69 | 183.1 | 0.0218 | 0.0565 | 35°38′10′′n 92° row 13 : valley | 93765 | None | 2776 | 125.7 | 48.5 | 22.09 | 57.21 | 0.0144 | 0.0373 | 35°20′05′′n 93° ] Execute this SQL based on the above table: select sum ( population density (/km2) ) where township in ( 'smyrna' , 'clark' )
45.5
[ header: date | position | name | from | fee row 1 : 5 july 2001 | mf | andy hughes | notts county | £250,000 by a tribunal row 2 : 5 july 2001 | df | adrian whitbread | portsmouth | free row 3 : 18 july 2001 | df | alex smith | port vale | free row 4 : 30 november 2001 | gk | antony malessa | oxford united | free row 5 : 28 january 2002 | mf | john salako | charlton athletic | £50,000 row 6 : 13 march 2002 | gk | frank talia | sheffield united | free row 7 : 15 march 2002 | mf | kevin watson | charlton athletic | £150,000 ] Execute this SQL based on the above table: select date where position = 'mf' and date = '15 march 2002'
15 march 2002
[ header: payload type (pt) | name | type | no. of channels | clock rate (hz) | frame size (ms) | default packet size (ms) | description | references row 1 : 5 | dvi4 | audio | 1 | 8000 | any | 20 | ima adpcm audio 32 | rfc 3551 row 2 : 11 | l16 | audio | 1 | 44100 | any | 20 | linear pcm 16-bit audio 70 | rfc 3551, page 27 row 3 : 15 | g728 | audio | 1 | 8000 | 2.5 | 20 | itu-t g.728 audio | rfc 3551 row 4 : 18 | g729 | audio | 1 | 8000 | 10 | 20 | itu-t g.729 and | rfc 3551, page 20 row 5 : 26 | jpeg | video | 1 | 90000 | None | None | jpeg video | rfc 2435 row 6 : 33 | mp2t | audio/video | 1 | 90000 | None | None | mpeg-2 transport stream video | rfc 2250 row 7 : 34 | h263 | video | None | 90000 | None | None | h.263 video, first version ( | rfc 3551, rf row 8 : 72 - 76 | reserved for rtcp conflict avoidance | None | None | None | None | None | None | rfc 3551, page 32 row 9 : dynamic | h263-2000 | video | None | 90000 | None | None | h.263 video, third version | rfc 4629 row 10 : dynamic (or profile) | h264 | video | None | 90000 | None | None | h.264 video (mpeg-4 | rfc 6184, previously r row 11 : dynamic | pcma-wb | audio | None | 16000 | 5 | None | itu-t g.711.1, | rfc 5391 row 12 : dynamic | g7221 | audio | None | 32000, 16000 | 20 | None | itu-t g.722.1 | rfc 5577 row 13 : dynamic | g726-24 | audio | 1 | 8000 | any | 20 | itu-t g.726 audio | rfc 3551 row 14 : dynamic | g7291 | audio | None | 16000 | 20 | None | itu-t g.729.1 | rfc 4749 row 15 : dynamic (or profile) | speex | audio | 1 | 8000, 16000 or 32000 | 20 | None | rtp payload format for the spe | rfc 5574 row 16 : dynamic (or profile) | mp4v-es | video | None | 90000 or others | None | recommended same as frame size | rtp payload format for mp | rfc 6416 (previously row 17 : dynamic (or profile) | mpeg4-generic | audio/video | None | 90000 or other | None | None | rtp payload format for transport of | rfc 3640 row 18 : dynamic | vp8 | video | None | 90000 | None | None | rtp payload format for transport of | draft-ietf-payload- row 19 : dynamic | l8 | audio | (various) | (various) | any | 20 | linear pcm 8-bit audio with | rfc 3551 section 4.5. ] Execute this SQL based on the above table: select references group by references order by count ( * ) desc limit 1
rfc 3551
[ header: no. in series | no. in season | title | directed by | written by | original air date | production code row 1 : 125 | 1 | "burnin' down the house" | madeline cripe | joel madison & | september 18, 1995 | 60101 row 2 : 126 | 2 | "get a job" | shelley jensen | mort scrivner | september 25, 1995 | 60102 row 3 : 127 | 3 | "stress related" | shelley jensen | larry wilmore | october 2, 1995 | 60103 row 4 : 128 | 4 | "bourgie sings the blues" | shelley jensen | tom devanney | october 9, 1995 | 60104 row 5 : 129 | 5 | "the script formerly known as..." | shelley jensen | felicia d. henderson | october 16, 1995 | 60105 row 6 : 130 | 6 | "not i barbecue" | madeline cripe | matt tarses & kand | october 23, 1995 | 60106 row 7 : 132 | 8 | "viva lost wages" | shelley jensen | robert bruce | november 13, 1995 | 60108 row 8 : 133 | 9 | "there's the rub" (part 1) | shelley jensen | joel madison | november 20, 1995 | 60109 row 9 : 134 | 10 | "there's the rub" (part 2) | shelley jensen | joel madison | november 20, 1995 | 60110 row 10 : 135 | 11 | "i, ooh, baby, | alfonso ribeiro | adam markowitz & tom | december 11, 1995 | 60111 row 11 : 136 | 12 | "boxing helena" | shelley jensen | michael soccio | january 8, 1996 | 60112 row 12 : 137 | 13 | "i, clownius" | shelley jensen | story: david wyatt | january 15, 1996 | 60115 row 13 : 138 | 14 | "breaking up is hard to do" (part | shelley jensen | lisa rosenthal | february 12, 1996 | 60113 row 14 : 139 | 15 | "breaking up is hard to do" (part | shelley jensen | lisa rosenthal | february 19, 1996 | 60114 row 15 : 140 | 16 | "i, bowl buster" | shelley jensen | michael soccio | february 26, 1996 | 60117 row 16 : 141 | 17 | "the butler's son did it" | madeline cripe | lisa rosenthal | march 18, 1996 | 60116 row 17 : 142 | 18 | "hare today..." | shelley jensen | robert bruce | april 8, 1996 | 60119 row 18 : 143 | 19 | "i, whoops, there it is" | shelley jensen | tanya ward & mary | april 15, 1996 | 60124 row 19 : 144 | 20 | "i, stank horse" | shelley jensen | tom devanney | april 22, 1996 | 60120 row 20 : 145 | 21 | "i, stank hole in one" | werner walian | matt tarses & michae | may 6, 1996 | 60121 row 21 : 146 | 22 | "eye, tooth" | shelley jensen | adam markowitz | may 13, 1996 | 60118 ] Execute this SQL based on the above table: select ( select production code where original air date = 'march 18, 1996' ) > ( select production code where original air date = 'october 16, 1995' )
1
[ header: # | name (birth-death) | took office | left office | monarch | prime minister row 1 : 1 | the viscount gladstone (1854-1930) | 31 may 1910 | 8 september 1914 | george v | botha row 2 : 2 | the viscount buxton (1853-1934) | 8 september 1914 | 17 november 1920 | george v | botha row 3 : 3 | hrh prince arthur of conn | 17 november 1920 | 21 january 1924 | george v | smuts row 4 : 4 | the earl of athlone (1874 | 21 january 1924 | 26 january 1931 | george v | smuts row 5 : 5 | the earl of clarendon (1877 | 26 january 1931 | 5 april 1937 | george v | hertzog row 6 : 6 | sir patrick duncan (1870-19 | 5 april 1937 | 17 july 1943 | george vi | hertzog row 7 : 6 | nicolaas jacobus de | 17 july 1943 | 1 january 1946 | george vi | smuts row 8 : 7 | gideon brand van zyl (18 | 1 january 1946 | 1 january 1951 | george vi | smuts row 9 : 8 | ernest george jans | 1 january 1951 | 25 november 1959 | george vi | malan row 10 : 8 | lucas cornelius stey | 26 november 1959 | 11 december 1959 | elizabeth ii | verwoerd row 11 : 9 | charles robberts swar | 11 december 1959 | 30 april 1961 | elizabeth ii | verwoerd row 12 : 9 | lucas cornelius stey | 30 april 1961 | 31 may 1961 | elizabeth ii | verwoerd ] Execute this SQL based on the above table: select name (birth-death) where left office = '25 november 1959'
ernest george jansen (1881-1959)
[ header: year | competition | venue | position | notes row 1 : 1989 | european indoor championships | the hague, netherlands | 10th | None row 2 : 1989 | world indoor championships | budapest, hungary | 9th | None row 3 : 1991 | world indoor championships | lisbon, portugal | 6th | None row 4 : 1991 | world championships | tokyo, japan | 5th | 5.75 m nr row 5 : 1992 | european indoor championships | genoa, italy | 5th | None row 6 : 1993 | world championships | stuttgart, germany | 11th | None ] Execute this SQL based on the above table: select count ( * ) where competition = 'world championships'
2
[ header: home team | score | away team | date | agg row 1 : aberdeen | 7-1 | hamilton academical | 11-10-1978 | 8-1 row 2 : airdrieonians | 1-2 | arbroath | 10-10-1978 | 2-3 row 3 : ayr united | 1-1 | falkirk | 11-10-1978 | 3-1 row 4 : clydebank | 1-1 | hibernian | 11-10-1978 | 1-2 row 5 : morton | 5-2 | kilmarnock | 11-10-1978 | 5-4 row 6 : montrose | 5-1 | raith rovers | 11-10-1978 | 5-4 row 7 : motherwell | 1-4 | celtic | 11-10-1978 | 2-4 row 8 : st. mirren | 0-0 | rangers | 11-10-1978 | 2-3 ] Execute this SQL based on the above table: select count ( * ) where away team = 'raith rovers'
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 count ( team ) where years participated >= 1106
0
[ header: | year | city | country | date | venue | no. of events | no. of athletes row 1 : 1st | 2000 | monterrey | mexico | august 3-5 | universidad autonoma de nuevo | 45 | 184 row 2 : 2nd | 2002 | san antonio | united states | august 9-11 | e.m. stevens stadium | 45 | 245 row 3 : 3rd | 2004 | sherbrooke | canada | july 30 - august 1 | universite de sherbrooke stadium | 42 | 243 row 4 : 4th | 2006 | santo domingo | dominican republic | july 7-9 | estadio felix san | 44 | 373 row 5 : 5th | 2008 | toluca | mexico | july 18-20 | estadio universitario alber | 44 | None row 6 : 6th | 2010 | miramar | united states | july 9-11 | ansin sports complex | 44 | None row 7 : 7th | 2012 | irapuato | mexico | july 6-8 | centro paralimpico nacional | 44 | None row 8 : 8th | 2014 | kamloops | canada | august 8-10 | hillside stadium | None | None ] Execute this SQL based on the above table: select year where = '8th' - 1
2012
[ header: year | competition | venue | position | event | notes row 1 : 2003 | world youth championships | sherbrooke, canada | 7th | hammer | 54.43 m row 2 : 2005 | alba games | la habana, cuba | 1st | hammer | 63.30 m row 3 : 2005 | central american and caribbean championships | nassau, bahamas | 4th | hammer | 60.49 m row 4 : 2005 | pan american junior championships | windsor, canada | 1st | hammer | 64.80 m row 5 : 2006 | nacac u23 championships | santo domingo, dominican | 2nd | hammer | 66.28 m row 6 : 2007 | pan american games | rio de janeiro, bra | 2nd | hammer | 68.70 m row 7 : 2007 | world championships | osaka, japan | 9th | hammer | 70.20 m row 8 : 2008 | olympic games | beijing, china | 15th (q) | hammer | 68.74 m row 9 : 2009 | alba games | la habana, cuba | 2nd | hammer | 68.89 m row 10 : 2009 | central american and caribbean championships | havana, cuba | 1st | hammer | 71.32 m row 11 : 2009 | world championships | berlin, germany | 16th (q) | hammer | 69.97 m row 12 : 2011 | pan american games | guadalajara, me | 4th | hammer | 68.88 m row 13 : 2012 | olympic games | london, united kingdom | 23rd (q) | hammer | 67.93 m ] Execute this SQL based on the above table: select position order by year desc limit 1
23rd (q)
[ header: publication | score | review row 1 : 1up.com | b | → row 2 : weekly famitsu | 36 of 40 | print row 3 : gamepro.com | 6.5 of 10 | → row 4 : gamespot | 7.5 of 10 | → row 5 : hardcore gamer magazine | 9.5 of 10 | print row 6 : ign.com | 7.9 of 10 | → row 7 : nintendo power | 8 of 10 | print row 8 : play magazine | 7 of 10 | print row 9 : metacritic | 76 of 100 | → ] Execute this SQL based on the above table: select review where publication = 'gamepro.com'
[ header: | year | location | name | guest(s) of honour row 1 : 1 | 1998 | linkoping | confuse 98 | paul j. mcauley row 2 : 2 | 1999 | uppsala | upsala: 1999 | michael swanwick row 3 : 3 | 2000 | stockholm | nasacon 2000 | brian m. stableford, row 4 : 4 | 2001 | stockholm | fantastika 2001 | robin hobb, rober row 5 : 5 | 2002 | linkoping | confuse 2002 | china mieville, gwyneth row 6 : 6 | 2003 | uppsala | upsala sf-mote | alastair reynolds, row 7 : 7 | 2004 | stockholm | swecon 2004 | m. john harrison, da row 8 : 8 | 2005 | gothenburg | conceive | charles stross, e row 9 : 9 | 2006 | stockholm | imagicon | joe haldeman, geoff row 10 : 10 | 2007 | gothenburg | conviction | richard morgan, john a row 11 : 11 | 2008 | linkoping | confuse 2008 | cory doctorow, adam rob row 12 : 12 | 2009 | stockholm | imagicon 2 | liz williams, graham row 13 : 13 | 2010 | gothenburg | condense | justina robson, nen row 14 : 14 | 2011 | stockholm | eurocon 2011 | elizabeth bear, i row 15 : 15 | 2012 | uppsala | kontrast | sara bergmark elfgren, row 16 : 16 | 2013 | stockholm | fantastika 2013 | lavie tidhar, jo ] Execute this SQL based on the above table: select count ( distinct guest(s) of honour ) where location = 1952
0
[ 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 count ( against )
47
[ 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 count ( * ) where driver = 'ryan dalziel'
1
[ header: rank | athlete | ski time | penalties p+s+p+s | total row 1 : None | zhang qing (chn) | 59:53.2 | 1+1+0+1 | 1:02:53.2 row 2 : None | dmitriy pozdn | 1:01:01.0 | 0+2+0+0 | 1:03:01.0 row 3 : None | dmitriy pantov ( | 59:24.8 | 1+2+0+1 | 1:03:24.8 row 4 : 4 | hideki yamamoto (jpn) | 1:02:55.5 | 0+1+3+0 | 1:06:55.5 row 5 : 5 | qiu lianhai (ch | 1:03:18.9 | 1+1+0+2 | 1:07:18.9 row 6 : 6 | shin byung-gook (kor | 1:02:49.3 | 1+2+1+1 | 1:07:49.3 row 7 : 7 | son hae-kwon (kor) | 1:02:58.3 | 1+1+2+1 | 1:07:58.3 row 8 : 8 | wang xin (chn) | 1:04:42.4 | 2+1+1+1 | 1:09:42.4 row 9 : 9 | naoki shindo | 1:03:08.5 | 3+1+0+3 | 1:10:08.5 row 10 : 9 | jeon jae-won (kor) | 1:02:08.5 | 2+2+2+2 | 1:10:08.5 row 11 : 11 | alexey karevskiy ( | 1:03:28.8 | 3+1+1+2 | 1:10:28.8 row 12 : 12 | sergey abdukarov (kaz | 1:05:11.4 | 1+2+1+3 | 1:12:11.4 row 13 : 13 | takashi shindo ( | 1:01:15.0 | 3+3+2+4 | 1:13:15.0 row 14 : 14 | shinji ebisawa (jp | 1:04:13.6 | 3+3+1+3 | 1:14:13.6 row 15 : 15 | choi neung-chul | 1:08:50.6 | 3+2+0+1 | 1:14:50.6 row 16 : 16 | byamba enkh-amgalan | 1:15:20.4 | 4+5+2+2 | 1:28:20.4 ] Execute this SQL based on the above table: select penalties p+s+p+s where penalties p+s+p+s in ( '1:07:49.3' , '1+2+1+3' ) order by total desc limit 1
1+2+1+3
[ header: place | team | played | won | draw | lost | goals scored | goals conceded | +/- | points row 1 : 1 | c.d. aguila | 18 | 9 | 5 | 4 | 24 | 19 | 5 | 32 row 2 : 2 | c.d. fas | 18 | 6 | 8 | 4 | 26 | 17 | 9 | 26 row 3 : 3 | c.d. vista hermosa | 18 | 8 | 2 | 8 | 27 | 22 | 5 | 26 row 4 : 4 | a.d. isidro | 18 | 7 | 5 | 6 | 21 | 22 | -1 | 26 row 5 : 5 | alianza f.c | 18 | 7 | 4 | 7 | 29 | 26 | 3 | 25 row 6 : 6 | c.d. atletico balb | 18 | 6 | 5 | 7 | 26 | 25 | 1 | 23 row 7 : 7 | san salvador f.c | 18 | 6 | 5 | 7 | 28 | 32 | -4 | 23 row 8 : 8 | c.d. chalatenango | 18 | 5 | 7 | 6 | 19 | 26 | -3 | 22 row 9 : 9 | once municipal | 18 | 5 | 6 | 7 | 24 | 30 | -6 | 21 row 10 : 10 | c.d. luis angel fir | 18 | 5 | 5 | 8 | 18 | 23 | -5 | 20 ] Execute this SQL based on the above table: select count ( team ) where points >= 23
7
[ header: mlb season | team season | league | division | finish | wins | losses | win % | gb | postseason | awards row 1 : 1969 | 1969 | al | west | 6th | 64 | 98 | 0.395 | 33 | None | None row 2 : 1970 | 1970 | al | west | 4th | 65 | 97 | 0.401 | 33 | None | None row 3 : 1971 | 1971 | al | west | 6th | 69 | 92 | 0.429 | 32 | None | None row 4 : 1973 | 1973 | al | east | 5th | 74 | 88 | 0.457 | 23 | None | None row 5 : 1974 | 1974 | al | east | 5th | 76 | 86 | 0.469 | 15 | None | None row 6 : 1976 | 1976 | al | east | 6th | 66 | 95 | 0.41 | 32 | None | None row 7 : 1977 | 1977 | al | east | 6th | 67 | 95 | 0.414 | 33 | None | None row 8 : 1979 | 1979 | al | east | 2nd | 95 | 66 | 0.59 | 8 | None | None row 9 : 1981 | 1981 | al | east | 3rd | 31 | 25 | 0.554 | 3 | lost alds vs. new york | rollie fingers (mvp, row 10 : 1981 | 1981 | al | east | 1st | 31 | 22 | 0.585 | None | lost alds vs. new york | rollie fingers (mvp, row 11 : 1982 | 1982 | al | east | 1st | 95 | 67 | 0.586 | None | won alcs vs. cali | robin yount (mvp row 12 : 1983 | 1983 | al | east | 5th | 87 | 75 | 0.537 | 11 | None | cecil cooper (rca) row 13 : 1984 | 1984 | al | east | 7th | 67 | 94 | 0.416 | 361⁄2 | None | None row 14 : 1988 | 1988 | al | east | 3rd | 87 | 75 | 0.537 | 2 | None | None row 15 : 1993 | 1993 | al | east | 7th | 69 | 93 | 0.426 | 26 | None | None row 16 : 1997 | 1997 | al | central | 3rd | 78 | 83 | 0.484 | 8 | None | None row 17 : 1999 | 1999 | nl | central | 5th | 74 | 87 | 0.46 | 221⁄2 | None | None row 18 : 2000 | 2000 | nl | central | 3rd | 73 | 89 | 0.451 | 22 | None | None row 19 : 2001 | 2001 | nl | central | 4th | 68 | 94 | 0.42 | 25 | None | None row 20 : 2002 | 2002 | nl | central | 6th | 56 | 106 | 0.346 | 41 | None | None row 21 : 2003 | 2003 | nl | central | 6th | 68 | 94 | 0.412 | 20 | None | None row 22 : 2004 | 2004 | nl | central | 6th | 67 | 94 | 0.411 | 371⁄2 | None | None row 23 : 2007 | 2007 | nl | central | 2nd | 83 | 79 | 0.512 | 2 | None | ryan braun (roy) prince field row 24 : 2008 | 2008 | nl | central | 2nd | 90 | 72 | 0.556 | 71⁄2 | lost nlds vs. | None row 25 : 2009 | 2009 | nl | central | 3rd | 80 | 82 | 0.494 | 11 | None | None ] Execute this SQL based on the above table: select postseason order by wins limit 1
lost alds vs. new york yankees, 3-2