input
stringlengths
20
5.6k
output
stringlengths
0
17.9k
[ header: year | artist | album | chart position | role row 1 : 1961 | eddie harris | "exodus" (single) | #16 r&b, #36 us | remastering engineer row 2 : 1968 | eddie harris | "it's crazy" (single | #88 us | remastering engineer row 3 : 1969 | eddie harris & | swiss movement | #1 jazz, #2 r&b, # | remixing & remastering engineer row 4 : 1969 | r.b. greaves | r.b. greaves | #24 r&b, #85 us | mixing engineer row 5 : 1971 | eddie harris & | second movement | #1 jazz, # 41 us | recording and remastering engineer row 6 : 1971 | les mccann | invitation to openness | #8 jazz | remastering engineer row 7 : 1971 | donny hathaway | donny hathaway | #6 r&b, #89 us | recording engineer row 8 : 1972 | roberta flack & | roberta flack & | #3 us, #2 r&b, # | recording engineer row 9 : 1972 | cream | live cream volume ii | #27 us | remixing engineer row 10 : 1972 | herbie mann | hold on, i'm coming | #7 jazz | mixing engineer row 11 : 1973 | bette midler | bette midler | #6 us | recording engineer row 12 : 1973 | hall & oates | abandoned luncheonette | #33 us | recording engineer row 13 : 1973 | willie nelson | shotgun willie | #41 us | recording engineer row 14 : 1973 | les mccann | layers | #5 jazz | remastering engineer row 15 : 1973 | the modern jazz quartet | blues on bach | #34 jazz | recording and mixing engineer row 16 : 1973 | donny hathaway | extension of a man | #18 r&b, #69 us | recording engineer row 17 : 1973 | bee gees | mr. natural | #178 us | recording engineer row 18 : 1974 | the modern jazz quartet | the complete last concert | #34 jazz | mixing engineer row 19 : 1976 | the rolling stones | black and blue | #1 us | recording engineer row 20 : 1976 | willie nelson | the troublemaker | #1 country, #60 us | recording engineer row 21 : 1979 | bette midler | thighs and whispers | #65 us | recording engineer row 22 : 1983 | paul simon | hearts and bones | #35 us | recording engineer row 23 : 1993 | david "fathead" newman | bigger & better | #10 jazz, #42 r&b | remastering engineer row 24 : 1998 | various artists | jazz for the open road | #1 jazz | mastering engineer row 25 : 1998 | various artists | jazz for the quiet times | #1 jazz | mastering engineer row 26 : 1999 | various artists | jazz for when you're alone | #1 jazz | mastering engineer row 27 : 1999 | various artists | jazz for a lazy day | #4 jazz | mastering engineer row 28 : 2000 | various artists | jazz for a rainy afternoon | #1 jazz | mastering engineer row 29 : 2000 | jane monheit | never never land | #2 jazz | mixing & mastering engineer row 30 : 2000 | various artists | jazz for when you're in love | #9 jazz | mastering engineer row 31 : 2001 | jane monheit | come dream with me | #1 jazz | mixing & mastering engineer row 32 : 2002 | jane monheit | in the sun | #2 jazz | recording, mixing & mastering engineer row 33 : 2003 | various artists | jazz for those peaceful moments | #4 jazz | mastering engineer row 34 : 2007 | mocean worker | cinco de mowo! | #16 electronic | mastering engineer ] Execute this SQL based on the above table: select count ( * ) where role = 'recording, mixing & mastering engineer'
1
[ header: games | host city | dates | nations | participants | events row 1 : 1904 summer olympics | st. louis, missouri | 1 july - 23 november | 12 | 651 | 91 row 2 : 1932 winter olympics | lake placid, new york | 7 - 15 february | 17 | 252 | 14 row 3 : 1932 summer olympics | los angeles, californi | 30 july - 14 august | 37 | 1332 | 117 row 4 : 1960 winter olympics | squaw valley, californ | 2 - 20 february | 30 | 665 | 27 row 5 : 1980 winter olympics | lake placid, new york | 13 - 24 february | 37 | 1072 | 38 row 6 : 1984 summer olympics | los angeles, californi | 20 july - 18 august | 140 | 6829 | 221 row 7 : 1996 summer olympics | atlanta, georgia | 18 july - 4 august | 197 | 1318 | 271 row 8 : 2002 winter olympics | salt lake city, utah | 8 - 24 february | 77 | 2399 | 78 ] Execute this SQL based on the above table: select count ( * ) where host city = 'los angeles, california'
2
[ header: ship name | desig | status | notes | links row 1 : west virginia | bb-48 | sunk, floated, rebuilt by | moored outboard of tenness | row 2 : phoenix | cl-46 | undamaged | berth c-6 | row 3 : honolulu | cl-48 | minor damage from a bomb near miss | moored at berth b | row 4 : macdonough | dd-351 | undamaged | berth x-2, nested | row 5 : worden | dd-352 | undamaged | moored berth x-2 | row 6 : cummings | dd-365 | minor damage from bomb fragments | nested at berth b-15 | row 7 : shaw | dd-373 | heavily damaged, lost bow, repaired by ju | yfd-2) | row 8 : mugford | dd-389 | undamaged | moored port side to the s | row 9 : montgomery | dm-17 | undamaged | moored in berth d | row 10 : ramapo | ao-12 | undamaged | moored in berth b | row 11 : medusa | ar-1 | undamaged | moored berth x- | row 12 : vestal | ar-4 | damaged, struck by 2 bombs and adjacent to | moored port side to the port side | row 13 : castor | aks-1 | undamaged | berthed at merry point | row 14 : antares | aks-3 | undamaged, docked at hon | operating at harbor entrance | row 15 : keosanqua | at-38 | None | operating at harbor entrance with antares | row 16 : condor | amc-14 | undamaged | returned to harbor from sweeping 0525 | row 17 : taney | whec-37 | undamaged. moored in ho | on july 25, 1941, the coast guard | ] Execute this SQL based on the above table: select desig where ship name = 'keosanqua' order by status desc limit 1
at-38
[ header: res. | record | opponent | method | event | date | round | time | location | notes row 1 : loss | 21-7 | kenji osawa | decision (unanimous) | vale tudo japan 2012 | december 24, 2012 | 3 | 5:00 | tokyo, japan | None row 2 : win | 20-5 | koichiro matsumoto | tko (punches) | dream: fight for japan! | may 29, 2011 | 1 | 6:51 | saitama, japan | None row 3 : loss | 18-4 | hatsu hioki | decision (split) | shooto: the way of shooto 3: | may 30, 2010 | 3 | 5:00 | tokyo, japan | lost shooto lightweight (143 lbs.) row 4 : win | 18-3 | gerald lovato | submission (armbar) | shooto: the way of shooto 1: | january 23, 2010 | 3 | 4:11 | tokyo, japan | None row 5 : loss | 14-3 | savant young | decision (unanimous) | shooto tradition 1 | may 3, 2008 | 2 | 5:00 | tokyo, japan | None row 6 : win | 13-2 | marc duncan | submission (rear-naked choke) | shooto: back to our roots 4 | july 15, 2007 | 1 | 3:16 | tokyo, japan | None row 7 : loss | 12-2 | akitoshi tamura | decision (unanimous) | shooto: back to our roots 3 | may 18, 2007 | 3 | 5:00 | tokyo, japan | lost shooto lightweight (143 lbs.) row 8 : win | 10-1 | cole miller | decision (unanimous) | shooto 2006: 7/21 in kor | july 21, 2006 | 3 | 5:00 | tokyo, japan | None row 9 : win | 8-1 | makoto ishikawa | decision (unanimous) | shooto: the victory of the truth | february 17, 2006 | 3 | 5:00 | tokyo, japan | None row 10 : win | 7-1 | akitoshi tamura | decision (majority) | shooto 2005: 11/6 in koraku | november 6, 2005 | 2 | 5:00 | tokyo, japan | None row 11 : loss | 6-1 | antonio carvalho | decision (majority) | shooto: alive road | august 20, 2005 | 3 | 5:00 | yokohama, japan | None row 12 : win | 6-0 | jin kazeta | submission (rear-naked choke) | shooto: 3/11 in korakuen | march 11, 2005 | 2 | 4:17 | tokyo, japan | None row 13 : win | 1-0 | hayate usui | decision (unanimous) | shooto: shooter's dream 2 | may 30, 2003 | 2 | 5:00 | tokyo, japan | None ] Execute this SQL based on the above table: select date order by time desc limit 1
may 29, 2011
[ header: season | division one | division two | division three row 1 : 1983-84 | whitehawk | portfield | east preston row 2 : 1984-85 | steyning town | shoreham | oakwood row 3 : 1985-86 | steyning town | wick | seaford town row 4 : 1986-87 | arundel | pagham | langney sports row 5 : 1987-88 | pagham | langney sports | midway row 6 : 1988-89 | pagham | seaford town | saltdean united row 7 : 1989-90 | wick | bexhill town | worthing united row 8 : 1990-91 | littlehampton town | newhaven | ifield row 9 : 1991-92 | peacehaven & telscombe | portfield | hassocks row 10 : 1992-93 | peacehaven & telscombe | crowborough athletic | withdean row 11 : 1993-94 | wick | shoreham | bosham row 12 : 1994-95 | peacehaven & telscombe | mile oak | midhurst & easebourne row 13 : 1995-96 | peacehaven & telscombe | saltdean united | ifield row 14 : 1996-97 | burgess hill town | littlehampton town | sidlesham row 15 : 1997-98 | burgess hill town | east preston | lingfield row 16 : 1998-99 | burgess hill town | sidley united | oving social club row 17 : 1999-2000 | langney sports | sidlesham | bosham row 18 : 2000-01 | sidley united | southwick | rye united row 19 : 2001-02 | burgess hill town | rye & iden united | pease pottage village row 20 : 2002-03 | burgess hill town | rye & iden united | midhurst & easebourne row 21 : 2003-04 | chichester city united | littlehampton town | crowborough athletic row 22 : 2004-05 | horsham y m | crowborough athletic | storrington row 23 : 2005-06 | horsham y m | oakwood | peacehaven & telscombe row 24 : 2006-07 | eastbourne town | pagham | rustington row 25 : 2007-08 | crowborough athletic | east grinstead town | loxwood row 26 : 2008-09 | eastbourne united association | peacehaven & telscombe | clymping row 27 : 2009-10 | whitehawk | rye united | bosham row 28 : 2010-11 | crawley down | a.f.c. uckfield | dorking wanderers row 29 : 2011-12 | three bridges | east preston | newhaven row 30 : 2012-13 | peacehaven & telscombe | littlehampton town | sidlesham ] Execute this SQL based on the above table: select count ( division two ) where division one = 'burgess hill town'
5
[ header: date | site | winning team | winning team | losing team | losing team | series row 1 : 1959 | ames | missouri | 14 | iowa state | 0 | missouri 30-16-6 row 2 : 1960 | columbia | missouri | 34 | iowa state | 8 | missouri 31-16-6 row 3 : 1962 | columbia | missouri | 21 | iowa state | 6 | missouri 33-16-6 row 4 : 1963 | ames | missouri | 7 | iowa state | 0 | missouri 34-16-6 row 5 : 1964 | columbia | missouri | 10 | iowa state | 0 | missouri 35-16-6 row 6 : 1965 | ames | missouri | 23 | iowa state | 7 | missouri 36-16-6 row 7 : 1967 | ames | missouri | 23 | iowa state | 7 | missouri 37-16-7 row 8 : 1969 | ames | missouri | 40 | iowa state | 13 | missouri 39-16-7 row 9 : 1971 | ames | iowa state | 45 | missouri | 17 | missouri 39-18-7 row 10 : 1973 | ames | iowa state | 17 | missouri | 7 | missouri 40-19-7 row 11 : 1974 | columbia | missouri | 10 | iowa state | 7 | missouri 41-19-7 row 12 : 1976 | columbia | iowa state | 21 | missouri | 17 | missouri 42-20-7 row 13 : 1977 | ames | iowa state | 7 | missouri | 0 | missouri 42-21-7 row 14 : 1978 | columbia | missouri | 26 | iowa state | 13 | missouri 43-21-7 row 15 : 1980 | columbia | missouri | 14 | iowa state | 10 | missouri 45-21-7 row 16 : 1982 | columbia | iowa state | 17 | missouri | 17 | missouri 45-22-8 row 17 : 1983 | ames | missouri | 41 | iowa state | 18 | missouri 46-22-8 row 18 : 1985 | ames | missouri | 28 | iowa state | 27 | missouri 47-22-9 row 19 : 1988 | columbia | iowa state | 21 | missouri | 3 | missouri 48-24-9 row 20 : 1992 | ames | iowa state | 28 | missouri | 14 | missouri 48-28-9 row 21 : 1995 | columbia | missouri | 45 | iowa state | 31 | missouri 51-28-9 row 22 : 1998 | ames | #21 missouri | 35 | iowa state | 19 | missouri 53-29-9 row 23 : 1999 | columbia | iowa state | 24 | missouri | 21 | missouri 53-30-9 row 24 : 2000 | ames | iowa state | 39 | missouri | 20 | missouri 53-31-9 row 25 : 2001 | columbia | iowa state | 20 | missouri | 14 | missouri 53-32-9 row 26 : 2004 | ames | missouri | 17 | iowa state | 14 | missouri 55-33-9 row 27 : 2007 | columbia | #13 missouri | 42 | iowa state | 28 | missouri 57-34-9 row 28 : 2008 | ames | #11 missouri | 52 | iowa state | 20 | missouri 58-34-9 row 29 : 2009 | columbia | missouri | 34 | iowa state | 24 | missouri 59-34-9 row 30 : 2010 | ames | #15 missouri | 14 | iowa state | 0 | missouri 60-34-9 ] Execute this SQL based on the above table: select winning team order by winning team limit 1
missouri
[ 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 ( award ) where year = 0
0
[ header: name | position | year | league apps | league goals | total apps | total goals | notes row 1 : walter langton | lb / cf | 1887-1905 | 45 | 28 | 48 | 48 | doncaster's longest serving player appearance stats row 2 : tom keetley | fw | 1923-1929 | 231 | 180 | 241 | 186 | record all time goalscorer. most goals in row 3 : fred emery | wh | 1924-1936 | 417 | 30 | 439 | 32 | record league appearances manager of doncaster 1936-19 row 4 : paddy mcconnell | if | 1925-1930 | 137 | 20 | 143 | 21 | the first current doncaster player to represent his country row 5 : syd bycroft | df | 1936-1951 | 333 | 2 | 355 | 2 | including wartime league matches, he played row 6 : eddie perry | cf | 1936-1938 | 98 | 44 | 102 | None | welsh international whilst at don row 7 : clarrie jordan | fw | 1945-1948 | 60 | 48 | 67 | 50 | most doncaster league goals in one season (42 row 8 : charlie williams | df | 1948-1959 | 158 | 1 | 174 | 1 | famous comedian row 9 : peter doherty | if | 1949-1953 | 103 | 55 | 109 | 58 | ireland international player and manager of northern row 10 : len graham | mf | 1949-1958 | 312 | 3 | 332 | 3 | northern ireland international whilst at row 11 : kit lawlor | if | 1950-1954 | 127 | 47 | 143 | 49 | republic of ireland international whilst row 12 : harry gregg | gk | 1952-1957 | 94 | 0 | 99 | 0 | northern ireland international whilst at row 13 : alick jeffrey | fw | 1954-1956, 1963-1968 | 262 | 129 | 293 | 140 | youngest doncaster player (15 years 229 days row 14 : colin douglas | fw | 1981-1986, 1988-1993 | 404 | 53 | 444 | 62 | record total appearances (not including the wartime row 15 : brian stock | mf | 2006-2012 | 193 | 18 | 216 | 23 | welsh international whilst at don row 16 : billy sharp | fw | 2009-2012, 2014- | 92 | 44 | 96 | 45 | record transfer fee paid: £1,150,000 ] Execute this SQL based on the above table: select ( select count ( * ) where name = 'clarrie jordan' ) - ( select count ( * ) where name = 'peter doherty' )
0
[ header: place | team | matches | won | drawn | lost | difference | points row 1 : 1 | canada | 6 | 6 | 0 | 0 | 62-6 | 12 row 2 : 2 | sweden | 6 | 4 | 1 | 1 | 33-14 | 9 row 3 : 3 | switzerland | 6 | 4 | 1 | 1 | 28-12 | 9 row 4 : 4 | norway | 6 | 2 | 0 | 4 | 10-27 | 4 row 5 : 5 | great britain | 6 | 1 | 1 | 4 | 18-42 | 3 row 6 : 6 | united states | 6 | 1 | 1 | 4 | 14-42 | 3 row 7 : 7 | finland | 6 | 1 | 0 | 5 | 15-37 | 2 ] Execute this SQL based on the above table: select count ( * ) where difference = '1' and team in ( 1817 , 1083 )
0
[ header: name | rank | age | years until mandatory retirement | appointed by | year appointed row 1 : anabelle rodriguez | associate justice | 64 | 6 years | sila maria calderon | 2004 row 2 : edgardo rivera garcia | associate justice | 59 | 11 years | luis fortuno | 2010 row 3 : erick kolthoff caraball | associate justice | 53 | 17 years | luis fortuno | 2009 row 4 : federico hernandez denton | chief justice | 70 | 0 year | sila maria calderon | 2004 row 5 : liana fiol matta | associate justice | 68 | 2 years | sila maria calderon | 2004 row 6 : luis estrella martinez | associate justice | 43 | 27 years | luis fortuno | 2011 row 7 : mildred pabon charneco | associate justice | 57 | 13 years | luis fortuno | 2009 row 8 : rafael martinez | associate justice | 55 | 15 years | luis fortuno | 2009 row 9 : roberto feliberti c | associate justice | 51 | 19 years | luis fortuno | 2011 ] Execute this SQL based on the above table: select appointed by order by years until mandatory retirement desc limit 1
luis fortuno
[ header: country | gdp (usd bln, 2012) | gdp (usd bln, 2017) | gdp (usd ppp bln, 2012) | gdp (usd ppp bln, 2017) | per capita (usd, 2012) | per capita (usd, 2017) | per capita (usd ppp, 2012) | per capita (usd ppp, 2017) row 1 : albania | 12.39 | 14.75 | 25.86 | 31.55 | 3,821.09 | 4,435.73 | 7,975.86 | 9,489.11 row 2 : azerbaijan | 71.04 | 109.95 | 98.24 | 123.35 | 7,726.65 | 11,491.29 | 10,684.95 | 12,891.89 row 3 : bangladesh | 118.69 | 177.66 | 305.51 | 462.42 | 791.09 | 1,122.90 | 2,036.23 | 2,922.78 row 4 : brunei darussalam | 16.85 | 18.15 | 21.94 | 28.31 | 38,801.27 | 37,516.64 | 50,526.35 | 58,522.83 row 5 : cote d'ivoire | 24.27 | 37.03 | 39.64 | 61.66 | 1,038.74 | 1,366.89 | 1,696.15 | 2,276.02 row 6 : egypt | 255.00 | 339.33 | 537.76 | 756.42 | 3,109.47 | 3,729.36 | 6,557.38 | 8,313.47 row 7 : gabon | 16.80 | 18.00 | 26.71 | 32.68 | 10,908.38 | 10,881.51 | 17,338.98 | 19,762.74 row 8 : indonesia | 894.85 | 1,842.78 | 1,211.96 | 1,814.58 | 3,660.42 | 7,022.67 | 4,957.55 | 6,915.24 row 9 : iran | 483.78 | 671.01 | 1,006.54 | 1,173.48 | 6,355.74 | 8,269.55 | 13,103.90 | 14,462.05 row 10 : jordan | 31.35 | 46.33 | 38.67 | 51.61 | 4,901.28 | 6,464.77 | 6,044.40 | 7,201.71 row 11 : kuwait | 174.63 | 193.10 | 165.94 | 212.73 | 46,142.29 | 44,467.96 | 43,846.72 | 48,990.11 row 12 : lebanon | 41.77 | 56.25 | 63.69 | 82.99 | 10,416.17 | 13,149.68 | 15,884.07 | 19,401.42 row 13 : libya | 85.11 | 117.76 | 87.91 | 145.08 | 12,878.85 | 16,141.08 | 13,303.20 | 19,886.33 row 14 : morocco | 97.17 | 140.01 | 170.95 | 242.78 | 2,987.92 | 4,099.70 | 5,256.55 | 7,109.34 row 15 : mozambique | 14.64 | 23.76 | 26.22 | 41.71 | 652.00 | 958.25 | 1,167.30 | 1,682.38 row 16 : nigeria | 272.55 | 388.42 | 450.54 | 676.25 | 1,654.31 | 2,058.57 | 2,734.63 | 3,584.02 row 17 : pakistan | 230.53 | 274.82 | 514.56 | 662.44 | 1,288.50 | 1,391.71 | 2,876.08 | 3,354.68 row 18 : qatar | 184.57 | 237.85 | 188.96 | 274.46 | 100,377.54 | 106,320.28 | 102,768.69 | 122,684.13 ] Execute this SQL based on the above table: select country order by country asc limit 1
albania
[ header: medal | name | sport | event | date row 1 : gold | louis chaillot, maurice | cycling | men's tandem | august 3 row 2 : gold | xavier lesage | equestrian | individual dressage | august 10 row 3 : gold | andre jousseaume, | equestrian | team dressage | august 10 row 4 : gold | georges buchard, philippe | fencing | men's team epee | august 7 row 5 : gold | rene bondoux, rene | fencing | men's team foil | august 1 row 6 : gold | jacques lebrun | sailing | snowbird class | august 12 row 7 : gold | raymond suvigny | weightlifting | men's 60 kg | july 31 row 8 : gold | rene duverger | weightlifting | men's 67.5 kg | july 30 row 9 : gold | louis hostin | weightlifting | men's 82.5 kg | july 30 row 10 : gold | charles pacome | wrestling | men's freestyle lightweight | august 3 row 11 : silver | louis chaillot | cycling | men's sprint | august 3 row 12 : silver | paul chocque, amedee fourni | cycling | men's team pursuit | august 2 row 13 : silver | charles marion | equestrian | individual dressage | august 10 row 14 : silver | georges buchard | fencing | men's epee | august 9 row 15 : silver | jean taris | swimming | men's 400 m freestyle | august 10 row 16 : bronze | paul winter | athletics | men's discus throw | august 3 row 17 : bronze | charles rampelberg | cycling | men's 1000 m time trial | august 1 row 18 : bronze | pierre brunet, anselme | rowing | men's coxed pair | august 13 row 19 : bronze | louis francois | wrestling | men's greco-roman bant | august 7 ] Execute this SQL based on the above table: select name , event where id = 4
georges buchard, philippe cattiau, fernand jourdant, jean piot, bernard schmetz, georges tainturier, men's team epee
[ header: pos | class | no | team | drivers | chassis | engine | laps row 1 : 19 | p +5.0 | 7 | chaparral cars inc | phil hill mike spence | chaparral 2f | chevrolet 7.0l v | 225 row 2 : 26 | s 5.0 | 16 | ford france s.a | pierre dumay henri greder | ford gt40 mk. | ford 4.7l v8 | 179 row 3 : 27 | p +5.0 | 5 | holman & moody | roger mccluskey | ford gt40 mk. | ford 7.0l v8 | 179 row 4 : 28 | gt +5.0 | 9 | dana chevrolet inc | bob bondurant dick guld | chevrolet corvette | chevrolet 7.0l v | 167 row 5 : 29 | p 2.0 | 29 | equipe matra sports | jean-pierre beltoise | matra ms630 | brm 2.0l v8 | 155 row 6 : 32 | gt 2.0 | 60 | philippe farjon | philippe farjon andre wick | porsche 911s | porsche 2.0l flat-6 | 126 row 7 : 36 | p +5.0 | 8 | chaparral cars inc | bob johnson bruce jenning | chaparral 2f | chevrolet 7.0l v | 91 row 8 : 39 | p 2.0 | 39 | porsche system engineering | udo schutz joe buzz | porsche 910/6l | porsche 2.0l flat-6 | 84 row 9 : 41 | p +5.0 | 14 | john wyer automotive engineering | david piper richard thomp | mirage m1 (ford gt | ford 5.7l v8 | 59 row 10 : 45 | p 1.15 | 53 | s.e.c. automobiles | andre guilhaudin ala | cd sp66c | peugeot 1.1l i4 | 35 row 11 : 46 | p 5.0 | 26 | north american racing team (nart) | ricardo rodriguez chuck | ferrari 365 p2 | ferrari 4.4l v12 | 30 row 12 : 47 | p +5.0 | 15 | john wyer automotive engineering | jacky ickx brian mu | mirage m1 (ford gt | ford 5.7l v8 | 29 row 13 : 49 | p +5.0 | 12 | lola cars ltd. / | peter de klerk chr | lola t70 mk.i | aston martin 5.0l | 25 row 14 : 50 | s 5.0 | 62 | john wyer automotive engineering / vis | mike salmon brian redman | ford gt40 mk. | ford 4.7l v8 | 20 ] Execute this SQL based on the above table: select chassis order by pos limit 1
chaparral 2f
[ header: make | origin | in service | notes row 1 : dodge charger | canada | 2006-present | photo row 2 : dodge magnum | canada | 2006-present | photo row 3 : ford taurus | united states | 2002-present | photo row 4 : chevrolet impala | canada | 2002-present | photo row 5 : ford crown victoria police interceptor | canada | 1998-present | photo row 6 : ford freestar ride vehicle | canada | 2005-present | photo row 7 : chrysler pt cruiser | mexico | 2003-2005 | photo row 8 : chevrolet taho | united states | None | photo row 9 : ford f350 | united states | None | photo row 10 : ford expedition | united states | None | photo row 11 : ford explorer | united states | None | photo row 12 : jeep cherokee | united states | None | photo row 13 : dodge polara | united states | 1970s | retired, photo row 14 : chevrolet caprice | canada | 1970s-1998 | retired ] Execute this SQL based on the above table: select origin where id = ( select id where origin = 'mexico' ) + 1
united states
[ header: season | level | division | section | position | movements row 1 : 1999 | tier 5 | division 4 | gotland | 6th | varserier (spring series) row 2 : None | tier 5 | division 4 | gotland | 5th | hostserier (autumn series) row 3 : 2000 | tier 5 | division 4 | gotland | 2nd | varserier (spring series) row 4 : None | tier 5 | division 4 | uppland/gotland host | 10th | hostserier (autumn series) row 5 : 2001 | tier 5 | division 4 | gotland | 4th | varserier (spring series) row 6 : None | tier 5 | division 4 | gotland | 4th | slutspel a ( row 7 : 2002 | tier 5 | division 4 | gotland | 3rd | promotion playoffs row 8 : 2003 | tier 5 | division 4 | gotland | 6th | None row 9 : 2004 | tier 5 | division 4 | gotland | 4th | None row 10 : 2005 | tier 5 | division 4 | gotland | 1st | None row 11 : 2006 | tier 5 | division 3 | ostra svealand | 12th | relegated row 12 : 2007 | tier 6 | division 4 | gotland | 2nd | None row 13 : 2008 | tier 6 | division 4 | gotland | 3rd | None row 14 : 2009 | tier 6 | division 4 | gotland | 7th | None row 15 : 2010 | tier 6 | division 4 | gotland | 2nd | None row 16 : 2011 | tier 6 | division 4 | gotland | 4th | None ] Execute this SQL based on the above table: select ( select season where season = 2005 ) - ( select season where season = 2009 )
-4
[ header: date | opponent# | rank# | site | result | attendance row 1 : september 12 | #1 michigan | None | camp randall stadium • madison, | w 21-14 | 68733 row 2 : september 19 | #9 ucla | #20 | camp randall stadium • madison, | l 13-31 | 71496 row 3 : september 26 | western michigan | None | camp randall stadium • madison, | w 21-10 | 67196 row 4 : october 3 | purdue | None | camp randall stadium • madison, | w 20-14 | 68603 row 5 : october 10 | #18 ohio state | None | camp randall stadium • madison, | w 24-21 | 78973 row 6 : october 17 | at michigan state | #14 | spartan stadium • east lans | l 14-33 | 67352 row 7 : october 24 | at illinois | None | memorial stadium • champaign, il | l 21-23 | 67413 row 8 : october 31 | northwestern | None | camp randall stadium • madison, | w 52-0 | 70035 row 9 : november 7 | at indiana | None | memorial stadium • bloomington, in | w 28-7 | 44218 row 10 : november 14 | iowa | None | camp randall stadium • madison, | l 7-17 | 78731 row 11 : november 21 | at minnesota | None | memorial stadium • minneapolis, | w 26-21 | 47125 row 12 : december 13 | vs. tennessee | None | giants stadium • east rutherford, | l 21-28 | 53220 ] Execute this SQL based on the above table: select sum ( attendance ) where opponent# in ( 'western michigan' , 'western michigan' )
67196.0
[ header: year | title | role | notes row 1 : 1999 | bob rizzo's simply | himself | as matthew j. morrison row 2 : 2003 | marci x | boyz r us | as matthew j. morrison row 3 : 2005 | once upon a mattress | sir harry | None row 4 : 2006 | blinders | scott | None row 5 : 2007 | music and lyrics | ray | None row 6 : 2007 | dan in real life | policeman | None row 7 : 2007 | i think i love my wife | salesman #2 | None row 8 : 2011 | the muppets | mahna mahna host | None row 9 : 2012 | what to expect when you're expecting | evan | None ] Execute this SQL based on the above table: select year where title = 'music and lyrics'
2007
[ header: position | team | points | played | won | drawn | lost | for | against | difference row 1 : 1 | paulistano | 30 | 18 | 14 | 2 | 2 | 62 | 19 | 43 row 2 : 2 | palestra italia-sp | 29 | 18 | 14 | 1 | 3 | 59 | 21 | 38 row 3 : 3 | corinthians | 26 | 18 | 12 | 2 | 4 | 51 | 16 | 35 row 4 : 4 | ypiranga-sp | 25 | 18 | 11 | 3 | 4 | 56 | 34 | 22 row 5 : 5 | aa sao bento | 16 | 18 | 7 | 2 | 9 | 38 | 44 | -6 row 6 : 6 | santos | 13 | 18 | 6 | 1 | 11 | 36 | 43 | -7 row 7 : 7 | sc internacional de sa | 11 | 15 | 3 | 5 | 7 | 26 | 44 | -18 row 8 : 8 | minas gerais | 10 | 15 | 4 | 2 | 9 | 18 | 49 | -31 row 9 : 9 | aa das palmeiras | 6 | 15 | 3 | 0 | 12 | 27 | 57 | -30 row 10 : 10 | mackenzie | 2 | 15 | 1 | 0 | 14 | 11 | 57 | -46 ] Execute this SQL based on the above table: select team where team != 'ypiranga-sp' and lost = ( select lost where team = 'ypiranga-sp' )
corinthians
[ header: title | year | peak chart positions us | peak chart positions us alt. | peak chart positions us main. rock | peak chart positions aus | peak chart positions aut | peak chart positions fin | peak chart positions ger | peak chart positions nld | peak chart positions swi | peak chart positions uk | album row 1 : "toxic" | 1999 | None | None | None | None | None | None | None | None | None | None | the gift of game row 2 : "darkside" | 2000 | None | None | None | None | None | None | None | None | None | None | the gift of game row 3 : "butterfly" | 2000 | 1 | 1 | 21 | 4 | 1 | 2 | 1 | 8 | 1 | 3 | the gift of game row 4 : "revolving door" | 2001 | None | None | None | 76 | 29 | 19 | 26 | 71 | 43 | 23 | the gift of game row 5 : "drowning" | 2002 | None | 24 | 24 | None | 45 | None | 45 | None | None | 50 | darkhorse row 6 : "hurt you so bad" | 2003 | None | None | None | None | None | None | None | None | None | None | darkhorse ] Execute this SQL based on the above table: select title where peak chart positions us main. rock = 24 order by peak chart positions uk limit 1
"drowning"
[ header: season | pitcher | decision | final score | opponent | location row 1 : 1963 | turk farrell | l | 2-9 | san francisco giants | colt stadium row 2 : 1964 | ken johnson | w | 6-3 | cincinnati reds | crosley field row 3 : 1965 | bob bruce | l | 0-2 | philadelphia phillies | astrodome row 4 : 1966 | robin roberts | l | 2-3 | los angeles dodgers | dodger stadium row 5 : 1968 | larry dierker | w | 5-4 | pittsburgh pirates | astrodome row 6 : 1970 | larry dierker (2) | w | 8-5 | san francisco giants | candlestick park row 7 : 1971 | larry dierker (3) | w | 5-2 | los angeles dodgers | astrodome row 8 : 1973 | dave roberts | nd (w) | 2-1 | atlanta braves | atlanta-fulton county stadium row 9 : 1976 | j.r. richard | l | 5-11 | cincinnati reds | riverfront stadium row 10 : 1980 | j.r. richard (5) | w | 3-2 | los angeles dodgers | astrodome row 11 : 1981 | joe niekro | l | 0-2 | los angeles dodgers | dodger stadium row 12 : 1982 | nolan ryan | l | 3-14 | st. louis cardinals | astrodome row 13 : 1983 | joe niekro (2) | nd (l) | 7-16 | los angeles dodgers | astrodome row 14 : 1984 | joe niekro (3) | l | 2-4 | montreal expos | astrodome row 15 : 1985 | nolan ryan (2) | w | 2-1 | los angeles dodgers | astrodome row 16 : 1987 | mike scott | w | 4-3 | los angeles dodgers | astrodome row 17 : 1988 | mike scott (2) | w | 6-3 | san diego padres | astrodome row 18 : 1989 | mike scott (3) | w | 10-3 | atlanta braves | astrodome row 19 : 1992 | pete harnisch | l | 0-2 | atlanta braves | astrodome row 20 : 1994 | pete harnisch (2) | nd (w) | 6-5 | montreal expos | astrodome row 21 : 1998 | shane reynolds | nd (l) | 4-9 | san francisco giants | astrodome row 22 : 1999 | shane reynolds | w | 4-2 | chicago cubs | astrodome row 23 : 2000 | shane reynolds | w | 5-2 | pittsburgh pirates | three rivers stadium row 24 : 2001 | scott elarton | w | 11-3 | milwaukee brewers | enron field row 25 : 2002 | wade miller | l | 3-9 | milwaukee brewers | astros field row 26 : 2003 | roy oswalt | w | 10-4 | colorado rockies | minute maid park row 27 : 2004 | roy oswalt (2) | nd (l) | 4-5 | san francisco giants | minute maid park row 28 : 2005 | roy oswalt (3) | l | 3-7 | st. louis cardinals | minute maid park row 29 : 2006 | roy oswalt (4) | w | 1-0 | florida marlins | minute maid park ] Execute this SQL based on the above table: select ( select min ( season ) where season > 2002 ) - 2002
1
[ header: place | team | played | won | draw | lost | goals scored | goals conceded | +/- | points row 1 : 1 | c.d. fas | 18 | 10 | 6 | 2 | 27 | 13 | 14 | 36 row 2 : 2 | c.d. aguila | 18 | 9 | 4 | 5 | 38 | 26 | 12 | 31 row 3 : 3 | c.d. luis angel fir | 18 | 7 | 7 | 4 | 25 | 18 | 7 | 28 row 4 : 4 | san salvador f.c | 18 | 8 | 4 | 6 | 31 | 27 | 4 | 28 row 5 : 5 | alianza f.c | 18 | 8 | 4 | 6 | 26 | 24 | 2 | 28 row 6 : 6 | a.d. isidro | 18 | 4 | 9 | 5 | 20 | 23 | -3 | 21 row 7 : 7 | municipal limeno | 18 | 5 | 5 | 8 | 27 | 29 | -2 | 20 row 8 : 8 | c.d. arcense | 18 | 2 | 11 | 5 | 23 | 32 | -11 | 17 row 9 : 9 | chalatenango | 18 | 4 | 5 | 9 | 13 | 22 | -9 | 17 row 10 : 10 | c.d. atletico balb | 18 | 4 | 3 | 11 | 15 | 31 | -24 | 15 ] Execute this SQL based on the above table: select count ( team ) where won = 394
0
[ 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 fourth place where team = 'michigan state'
4
[ header: month | jan | feb | mar | apr | may | jun | jul | aug | sep | oct | nov | dec | year row 1 : record high °c (°f) | 38 (100) | 40 (104) | 43 (109) | 48 (118) | 46 (115) | 45 (113) | 42.5 (108.5) | 42.5 (108.5) | 41 (106) | 39 (102) | 39 (102) | 39 (102) | 48 (118) row 2 : average high °c (°f) | 20.7 (69.3) | 23.2 (73.8) | 26.9 (80.4) | 30 (86) | 32.2 (90) | 33.8 (92.8) | 34.8 (94.6) | 34.5 (94.1) | 31.5 (88.7) | 27.6 (81.7) | 24.1 (75.4) | 21.2 (70.2) | 28.4 (83.1) row 3 : daily mean °c (°f) | 14.4 (57.9) | 16.6 (61.9) | 20 (68) | 23.4 (74.1) | 26.2 (79.2) | 27.9 (82.2) | 28.6 (83.5) | 28.5 (83.3) | 26.2 (79.2) | 22.4 (72.3) | 18.4 (65.1) | 15.1 (59.2) | 22.3 (72.1) row 4 : average low °c (°f) | 8.2 (46.8) | 10 (50) | 13.2 (55.8) | 16.7 (62.1) | 20.2 (68.4) | 22 (72) | 22.3 (72.1) | 22.5 (72.5) | 20.9 (69.6) | 17.2 (63) | 12.7 (54.9) | 9.1 (48.4) | 16.3 (61.3) row 5 : record low °c (°f) | -7 (19) | -7 (19) | -1 (30) | 5 (41) | 8 (46) | 11.5 (52.7) | 11 (52) | 12.2 (54) | 2 (36) | 2 (36) | -5 (23) | -7.5 (18.5) | -7.5 (18.5) row 6 : precipitation mm (inches) | 16.6 (0.654) | 16.5 (0.65) | 19.9 (0.783) | 29.7 (1.169) | 52.3 (2.059) | 68.4 (2.693) | 43 (1.69) | 79.6 (3.134) | 150.6 (5.929) | 77.2 (3.039) | 23 (0.91) | 14.1 (0.555) | 590.9 (23.264) row 7 : avg. precipitation days (≥ | 4.2 | 3.8 | 3.4 | 4.5 | 5.7 | 5.6 | 3.9 | 6.4 | 8.2 | 6.5 | 4.1 | 3.4 | 59.7 row 8 : avg. snowy days | 0.03 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03 row 9 : % humidity | 67 | 64 | 58 | 61 | 66 | 66 | 63 | 63 | 69 | 71 | 68 | 69 | 65 row 10 : mean monthly sunshine hours | 193 | 137 | 155 | 167 | 163 | 178 | 194 | 226 | 167 | 142 | 196 | 185 | 2,104 ] Execute this SQL based on the above table: select count ( month ) where month = 'daily mean °c (°f)'
1
[ header: party | candidate | votes | % row 1 : labour | martin o'neill | 16004 | 45.3 row 2 : snp | keith brown | 10655 | 30.2 row 3 : conservative | alasdair campbell | 4235 | 12 row 4 : liberal democrat | paul edie | 3253 | 9.2 row 5 : scottish socialist | pauline thomson | 751 | 2.1 row 6 : monster raving loony | flash gordon approaching | 405 | 1.1 row 7 : majority | majority | 5349 | 15.2 row 8 : turnout | turnout | 35303 | 61.3 row 9 : labour hold | labour hold | swing | 2.3 ] Execute this SQL based on the above table: select count ( distinct party ) where id > ( select id where party = 'snp' )
7
[ header: name | position | length [km] | drainage basin area [km2] | confluence [by lahn-km] | mouth elevation [m above msl] row 1 : feudinge (ruppersbach) | left | 6.3 | 21.2 | 9.8 | 388 row 2 : ilse | right | 8.4 | 11.8 | 10.5 | 382 row 3 : banfe | right | 11.5 | 38.9 | 18.5 | 326 row 4 : laasphe | left | 8.3 | 19.6 | 19.4 | 324 row 5 : perf | right | 20 | 113.1 | 24.7 | 285 row 6 : dautphe | left | 8.8 | 41.8 | 37.5 | 245 row 7 : wetschaft | left | 29 | 196.2 | 56.3 | 192 row 8 : ohm | left | 59.7 | 983.8 | 58.7 | 188 row 9 : allna | right | 19.1 | 92 | 77.1 | 172 row 10 : zwester ohm | left | 20 | 69.5 | 84 | 165 row 11 : salzbode | right | 27.6 | 137.8 | 87.4 | 164 row 12 : lumda | left | 30 | 131.5 | 93.6 | 160 row 13 : wieseck | left | 24.3 | 119.6 | 102.2 | 155 row 14 : bieber | right | 13.6 | 34.7 | 105.1 | 151 row 15 : kleebach | left | 26.9 | 164.6 | 106.2 | 150 row 16 : wetzbach | left | 11.7 | 32.9 | 119.6 | 147 row 17 : dill | right | 55 | 717.7 | 120.4 | 147 row 18 : solmsbach | left | 24.6 | 112.5 | 128.1 | 141 row 19 : iserbach (mottbach) | left | 19.2 | 31.2 | 131.4 | 139 row 20 : ulmbach | right | 22.9 | 60.9 | 138.2 | 135 row 21 : kallenbach | right | 14.6 | 84.7 | 141.3 | 132 row 22 : weil | left | 46.6 | 247.9 | 149.4 | 130 row 23 : kerkerbach | right | 20.7 | 70.2 | 176 | 112 row 24 : emsbach | left | 39.1 | 321.8 | 181 | 110 row 25 : elbbach | right | 40.7 | 323.7 | None | 109 row 26 : aar | left | 49.7 | 312.6 | None | 103 row 27 : dorsbach | left | 32 | 114 | None | 94 row 28 : gelbach (aubach) | right | 39.7 | 221.2 | None | 93 row 29 : muhlbach | left | 32.1 | 171.9 | None | 85 row 30 : emsbach | right | 11.5 | 29.4 | None | 75 ] Execute this SQL based on the above table: select count ( position ) where position = 'left'
17
[ header: model | released | usage | features | storage row 1 : betsie/dottie | None | used for calculating odds for bookmakers | None | None row 2 : mark 2 | 1973 | sales order processing | totally new processor with hardware interrupt stacking, | fabritek or emm fer row 3 : mark 3 | None | None | designation not used but was effectively the 3me/6 | None row 4 : mark 4 | None | sop, livestock markets, paper merchants, | developed after the demise of bcl | core memory or static ram, introduced the row 5 : mark 5 | 1984 | sop, livestock markets, paper merchants, | basically a re engineering of the 6me | initially large-format ampex ferrite core row 6 : None | 1990 | sop, livestock markets, paper merchants, | a single board processor was developed to replace the | support for seven additional external lark 2 or row 7 : distributor ep | 1989 | sop, livestock markets | enhanced version of the distributor | scsi disk and tape support ] Execute this SQL based on the above table: select count ( features ) where model = 'mark 4'
1
[ header: | year | name | city | country | guests of honor | size row 1 : 1st | 1939 | nycon i | new york, new york | united states | frank r. paul | 200 row 2 : 3rd | 1941 | denvention i | denver, colorado | united states | robert a. hein | 90 row 3 : 7th | 1949 | cinvention | cincinnati, ohio | united states | lloyd a. e | 190 row 4 : 9th | 1951 | nolacon i | new orleans, louisiana | united states | fritz leiber | 190 row 5 : 18th | 1960 | pittcon | pittsburgh, pennsyl | united states | james blish | 568 row 6 : 21st | 1963 | discon i | washington, d.c | united states | murray leinster | 600 row 7 : 32nd | 1974 | discon ii | washington, d.c | united states | roger zelazny ( | 3587 row 8 : 35th | 1977 | suncon | miami beach, florida | united states | jack williamson (pro) | 3,240 (4,200) row 9 : 42nd | 1984 | l.a.con ii | anaheim, california | united states | gordon r. dickson | 8365 row 10 : 46th | 1988 | nolacon ii | new orleans, louisiana | united states | donald a. wollheim ( | 5300 row 11 : 50th | 1992 | magicon | orlando, florida | united states | jack vance (pro) vincent | 5,319 (6,368) row 12 : 51st | 1993 | confrancisco | san francisco, califor | united states | larry niven alicia | 6602 row 13 : 64th | 2006 | l.a.con iv | anaheim, california | united states | connie willis (author) james | 5,738 (6,291) row 14 : 66th | 2008 | denvention 3 | denver, colorado | united states | lois mcmaster bujold ( | 3752 ] Execute this SQL based on the above table: select count ( country ) where year > 1553
14
[ header: year | total | romanians | hungarians | roma row 1 : 1850 | 4,541 | 69.3% | 23.9% | 6.5% row 2 : 1880 | 4,636 | 63.0% | 30.2% | None row 3 : 1890 | 5,499 | 62.7% | 31.6% | None row 4 : 1900 | 5,553 | 64.3% | 29.7% | None row 5 : 1910 | 6,234 | 64.6% | 30.4% | None row 6 : 1920 | 5,887 | 71.6% | 27.9% | None row 7 : 1930 | 6,456 | 70.5% | 22.8% | 2.6% row 8 : 1941 | 6,981 | 78.3% | 19.4% | None row 9 : 1956 | 6,649 | 74.7% | 19.0% | 6.0% row 10 : 1966 | 6,991 | 80.9% | 17.3% | 1.7% row 11 : 1977 | 7,089 | 78.1% | 16.9% | 4.9% row 12 : 1992 | 5,723 | 74.1% | 14.2% | 11.6% row 13 : 2002 | 5,506 | 74.4% | 12.0% | 13.6% row 14 : 2011 | 4,574 | 70.7% | 11.2% | 17.9% ] Execute this SQL based on the above table: select abs ( ( select total where hungarians = '19.0%' ) - ( select total where hungarians = '14.2%' ) )
926.0
[ header: year | political rights | civil liberties | status | president row 1 : 1972 | 6 | 6 | not free | hamani diori row 2 : 1973 | 6 | 6 | not free | hamani diori row 3 : 1974 | 7 | 6 | not free | hamani diori row 4 : 1975 | 7 | 6 | not free | seyni kountche row 5 : 1976 | 7 | 6 | not free | seyni kountche row 6 : 1977 | 7 | 6 | not free | seyni kountche row 7 : 1978 | 7 | 6 | not free | seyni kountche row 8 : 1979 | 7 | 6 | not free | seyni kountche row 9 : 1980 | 7 | 6 | not free | seyni kountche row 10 : 1981 | 7 | 6 | not free | seyni kountche row 11 : 1982 | 7 | 6 | not free | seyni kountche row 12 : 1983 | 7 | 6 | not free | seyni kountche row 13 : 1984 | 7 | 6 | not free | seyni kountche row 14 : 1985 | 7 | 6 | not free | seyni kountche row 15 : 1986 | 7 | 6 | not free | seyni kountche row 16 : 1987 | 7 | 6 | not free | seyni kountche row 17 : 1988 | 6 | 6 | not free | ali saibou row 18 : 1989 | 7 | 6 | not free | ali saibou row 19 : 1990 | 6 | 5 | not free | ali saibou row 20 : 1991 | 6 | 5 | partly free | ali saibou row 21 : 1992 | 5 | 4 | partly free | ali saibou row 22 : 1993 | 3 | 4 | partly free | ali saibou row 23 : 1994 | 3 | 5 | partly free | mahamane ousmane row 24 : 1995 | 3 | 5 | partly free | mahamane ousmane row 25 : 1996 | 7 | 5 | not free | mahamane ousmane row 26 : 1997 | 7 | 5 | not free | ibrahim bare mainass row 27 : 1998 | 7 | 5 | not free | ibrahim bare mainass row 28 : 1999 | 5 | 5 | partly free | ibrahim bare mainass row 29 : 2000 | 4 | 4 | partly free | mamadou tandja row 30 : 2001 | 4 | 4 | partly free | mamadou tandja row 31 : 2002 | 4 | 4 | partly free | mamadou tandja row 32 : 2003 | 4 | 4 | partly free | mamadou tandja row 33 : 2004 | 3 | 3 | partly free | mamadou tandja row 34 : 2005 | 3 | 3 | partly free | mamadou tandja row 35 : 2006 | 3 | 3 | partly free | mamadou tandja row 36 : 2007 | 3 | 4 | partly free | mamadou tandja row 37 : 2008 | 3 | 4 | partly free | mamadou tandja row 38 : 2009 | 5 | 4 | partly free | mamadou tandja row 39 : 2010 | 5 | 4 | partly free | mamadou tandja row 40 : 2011 | 3 | 4 | partly free | salou djibo ] Execute this SQL based on the above table: select status order by political rights desc limit 1
not free
[ header: pos. | city | population (ab) | surface (km2) | density (ab/km2) | altitude (mslm) row 1 : 1st | bergamo | 121.316 | 39.6 | 3064 | 249 row 2 : 2nd | treviglio | 29.334 | 31.54 | 930 | 125 row 3 : 3rd | seriate | 25.036 | 12.41 | 2017 | 247 row 4 : 4th | dalmine | 23.237 | 11.6 | 2003 | 207 row 5 : 5th | romano di lombardia | 19.472 | 18.03 | 1080 | 120 row 6 : 6th | albino | 18.232 | 31.32 | 582 | 342 row 7 : 7th | caravaggio | 16.258 | 32.81 | 496 | 111 row 8 : 8th | alzano lombardo | 13.821 | 13.43 | 1029 | 304 row 9 : 9th | stezzano | 12.999 | 9.25 | 1405 | 211 row 10 : 10th | osio sotto | 12.083 | 7.45 | 1622 | 182 ] Execute this SQL based on the above table: select count ( altitude (mslm) ) > 1883 where pos. = '6th'
0
[ header: rank | country | winners | runners-up | finals total row 1 : 1 | spain | 17 | 8 | 25 row 2 : 2 | germany east germany | 11 1 12 | 10 3 13 | 21 4 25 row 3 : 3 | soviet union russia | 2 1 3 | 1 0 1 | 3 1 4 row 4 : 4 | hungary | 2 | 3 | 5 row 5 : 5 | belarus | 2 | 0 | 2 row 6 : 6 | france | 1 | 3 | 4 row 7 : 7 | sweden | 0 | 2 | 2 row 8 : 8 | bosnia & herzegov | 0 | 1 | 1 row 9 : 8 | croatia | 0 | 1 | 1 row 10 : 8 | czech republic | 0 | 1 | 1 row 11 : 8 | denmark | 0 | 1 | 1 row 12 : 8 | romania | 0 | 1 | 1 row 13 : 8 | serbia | 0 | 1 | 1 row 14 : 8 | switzerland | 0 | 1 | 1 row 15 : total | total | 37 | 37 | 74 ] Execute this SQL based on the above table: select abs ( ( select finals total where rank = '1' ) - ( select finals total where rank = '2' ) )
4.0
[ header: rank | athlete | qual | final | total | notes row 1 : None | silvia sperber (frg | 590 | 95.6 | 685.6 | or row 2 : None | vesela letcheva (bul) | 583 | 100.2 | 683.2 | None row 3 : None | valentina cherkasova ( | 586 | 95.4 | 681.4 | None row 4 : 4 | katja klepp (gdr | 584 | 96.5 | 680.5 | None row 5 : 5 | sharon bowes (can) | 584 | 96.5 | 680.5 | None row 6 : 6 | anna maloukhina (urs) | 585 | 93.4 | 678.4 | None row 7 : 7 | launi meili (usa) | 582 | 94.5 | 676.5 | None row 8 : 8 | anita karlsson (s | 583 | 93.4 | 676.4 | None ] Execute this SQL based on the above table: select count ( * ) where athlete < athlete
0
[ header: year | date | winner | make | pole | make | results row 1 : 1970 | october 4 | dave sorg | mercury | ron north | oldsmobile | report row 2 : 1971 | october 3 | denny miles | chevrolet | les snow | plymouth | report row 3 : 1972 | october 1 | dave sorg | chevrolet | larry moore | chevrolet | report row 4 : 1975 | september 28 | bob senneker | chevrolet | larry moore | chevrolet | report row 5 : 1976 | october 4 | bob senneker | chevrolet | bob senneker | chevrolet | report row 6 : 1977 | october 2 | bob senneker | chevrolet | bob senneker | chevrolet | report row 7 : 1980 | october 5 | terry senneker | chevrolet | mark martin | chevrolet | report row 8 : 1983 | october 2 | mike eddy | pontiac | dick trickle | pontiac | report row 9 : 1985 | september 29 | mark martin | ford | mark martin | ford | report row 10 : 1986 | october 5 | mark martin | ford | mark martin | pontiac | report row 11 : 1989 | october 1 | butch miller | chevrolet | kenny wallace | pontiac | report row 12 : 1990 | september 30 | bob senneker | chevrolet | dave jackson | chevrolet | report row 13 : 1992 | october 4 | tim steele | chevrolet | mike garvey | ford | report row 14 : 1993 | october 3 | mike cope | oldsmobile | hal goodson | ford | report row 15 : 1995 | october 1 | mike cope | chevrolet | ron barfield, jr | ford | report row 16 : 1999 | september 26 | brian ross | chevrolet | matt hagans | ford | report row 17 : 2000 | october 1 | gary st. amant | chevrolet | larry foyt | pontiac | report row 18 : 2001 | september 23 | joey clanton | chevrolet | david stremme | ford | report row 19 : 2002 | october 6 | gary st. amant | chevrolet | david stremme | chevrolet | report row 20 : 2003 | october 5 | bobby parsley | chevrolet | dave jackson | chevrolet | report row 21 : 2004 | None | None | None | None | None | None row 22 : 2005 | None | None | None | None | None | None row 23 : 2006 | october 15 | scott hantz | chevrolet | danny jackson | None | report row 24 : 2008 | october 12 | david stremme | dodge | chris gabehart | None | report row 25 : 2009 | october 18 | kyle busch | toyota | chris gabehart | None | report row 26 : 2010 | october 17 | chase elliott | ford | johnny vandoorn | None | report row 27 : 2012 | october 14 | ross kenseth | ford | rick turner | ford | report row 28 : 2013 | october 13 | erik jones | toyota | chase elliott | chevrolet | report ] Execute this SQL based on the above table: select max ( year ) - min ( year )
43
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | united states | 5 | 6 | 5 | 16 row 2 : 2 | jamaica | 4 | 1 | 1 | 6 row 3 : 3 | netherlands | 2 | 0 | 0 | 2 row 4 : 4 | bahamas | 1 | 1 | 0 | 2 row 5 : 5 | ukraine | 1 | 0 | 1 | 2 row 6 : 6 | east germany | 1 | 0 | 0 | 1 row 7 : 6 | greece | 1 | 0 | 0 | 1 row 8 : 6 | soviet union | 1 | 0 | 0 | 1 row 9 : 9 | ivory coast | 0 | 2 | 0 | 2 row 10 : 9 | united kingdom | 0 | 2 | 0 | 2 row 11 : 11 | belgium | 0 | 1 | 1 | 2 row 12 : 12 | bulgaria | 0 | 1 | 0 | 1 row 13 : 12 | russia | 0 | 1 | 0 | 1 row 14 : 12 | germany | 0 | 1 | 0 | 1 row 15 : 15 | canada | 0 | 0 | 2 | 2 row 16 : 15 | france | 0 | 0 | 2 | 2 row 17 : 17 | belarus | 0 | 0 | 1 | 1 row 18 : 17 | cuba | 0 | 0 | 1 | 1 row 19 : 17 | gabon | 0 | 0 | 1 | 1 row 20 : 17 | british virgin islands | 0 | 0 | 1 | 1 row 21 : total | total | 16 | 16 | 16 | 48 ] Execute this SQL based on the above table: select count ( nation ) where bronze >= 879
0
[ header: name | builder | type | date | works number | notes row 1 : None | w.g. bagnall | 0-4-0t | late 1880s | 1050 | small inverted saddle tank locomotive; sold by 18 row 2 : None | w.g. bagnall | 0-4-0t | 1892 | 1232 | larger version of the first bagnall locomotive; row 3 : None | lowca engineering | 0-4-0st | 1884 | 241 | scrapped 1950 row 4 : None | manning wardle | 0-4-0st | 1888 | None | built for the construction of the ashworth row 5 : None | manning wardle | 0-4-0st | 1888 | None | built for the construction of the ashworth row 6 : prince charlie | hunslet | 4-6-0t | 1917 | 1276 | built as a 2 ft (610 row 7 : vyrnwy | orenstein and koppel | 0-4-0wt | 1930 | None | built reservoir construction; purchased in 1947. sold to ] Execute this SQL based on the above table: select count ( type ) where works number > 1550
0
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | venezuela | 7 | 4 | 3 | 14 row 2 : 2 | bolivia | 2 | 2 | 2 | 6 row 3 : 2 | chile | 2 | 2 | 2 | 6 row 4 : 4 | peru | 1 | 3 | 3 | 7 row 5 : 5 | ecuador | 1 | 1 | 1 | 3 row 6 : 6 | colombia | 0 | 1 | 2 | 3 row 7 : total | total | 13 | 13 | 13 | 39 ] Execute this SQL based on the above table: select nation where rank = 2
bolivia, chile
[ header: team | location | home ground | first year in qld cup | last year in qld cup | qld cup premierships row 1 : aspley broncos | brisbane | bishop park | 2007 | 2007 | nil row 2 : brothers-valleys | brisbane | o'callaghan park | 2004 | 2004 | nil row 3 : bundaberg grizzlies | bundaberg | salter oval | 1996 | 1998 | nil row 4 : cairns cyclones | cairns | barlow park | 1996 | 2000 | nil row 5 : central capras | rockhampton | browne park | 1996 | 1997 | nil row 6 : gold coast vikings | gold coast | owen park and carrara stadium | 1998 | 1998 | nil row 7 : logan scorpions | logan city | meakin park | 1996 | 2002 | nil row 8 : mackay sea eagles | mackay | mackay junior rugby league ground | 1996 | 1996 | nil row 9 : north queensland young guns | townsville | dairy farmers stadium | 2002 | 2007 | 2005 row 10 : past brothers | brisbane | corbett park, crosby park, | 1996 | 1998 | nil row 11 : port moresby vipers | port moresby | lloyd robson oval | 1996 | 1997 | nil row 12 : souths magpies | brisbane | davies park | 1996 | 2002 | nil row 13 : sunshine coast falcons | sunshine coast | quad park | 1996 | 1996 | nil row 14 : townsville stingers | townsville | dairy farmers stadium, townsville sports reserve | 1998 | 1998 | nil row 15 : toowoomba clydesdales | toowoomba | athletic oval (clive berghofer | 1996 | 2006 | 1996, 2001 row 16 : wests panthers | brisbane | purtell park | 1996 | 2003 | nil ] Execute this SQL based on the above table: select location where location in ( 'toowoomba' , 'mackay' ) order by last year in qld cup asc limit 1
mackay
[ header: year | round | against | score | scorers row 1 : 1930 | group b | yugoslavia | 1-2 | preguinho row 2 : 1930 | group b | bolivia | 4-0 | moderato (2), preguinho (2) row 3 : 1934 | round 1 | spain | 1-3 | leonidas row 4 : 1938 | round 1 | poland | 6-5 (aet) | leonidas (3), romeu, row 5 : 1938 | semi-final | italy | 1-2 | romeu row 6 : 1950 | group a | switzerland | 2-2 | alfredo, baltazar row 7 : 1950 | final round | spain | 6-1 | ademir (2), jair, row 8 : 1950 | final round | uruguay | 1-2 | friaca row 9 : 1954 | group a | mexico | 5-0 | baltazar, didi, ping row 10 : 1954 | quarter-final | hungary | 2-4 | djalma santo row 11 : 1962 | quarter-final | england | 3-1 | garrincha (2), vava row 12 : 1962 | semi-final | chile | 4-2 | garrincha (2), vava (2) row 13 : 1970 | group c | czechoslovakia | 4-1 | rivelino, pele, row 14 : 1970 | group c | romania | 3-2 | pele (2), jairzinho row 15 : 1970 | semi-final | uruguay | 3-1 | clodoaldo, j row 16 : 1974 | group b | yugoslavia | 0-0 | None row 17 : 1974 | group b | scotland | 0-0 | None row 18 : 1974 | group a round 2 | east germany | 1-0 | rivelino row 19 : 1978 | group c | austria | 1-0 | roberto dinamite row 20 : 1978 | bronze final | italy | 2-1 | nelinho, dirceu row 21 : 1982 | group f | soviet union | 2-1 | socrates, eder row 22 : 1982 | group f | new zealand | 4-0 | zico (2), falcao, serg row 23 : 1982 | group c round 2 | argentina | 3-1 | zico, serginho, junior row 24 : 1986 | group d | spain | 1-0 | socrates row 25 : 1986 | group d | northern ireland | 3-0 | careca (2), josimar row 26 : 1986 | round of 16 | poland | 4-0 | socrates, josimar, e row 27 : 1986 | quarter-final | france | 1-1 (aet) | careca row 28 : 1990 | group c | costa rica | 1-0 | muller row 29 : 1994 | final | italy | 0-0 (aet) | None row 30 : 1998 | semi-final | netherlands | 1-1 (aet) | ronaldo row 31 : 2002 | group c | turkey | 2-1 | ronaldo, rivaldo row 32 : 2002 | round of 16 | belgium | 2-0 | rivaldo, ronaldo row 33 : 2002 | quarter-final | england | 2-1 | rivaldo, ronaldinho row 34 : 2010 | round of 16 | chile | 3-0 | juan, luis fabian row 35 : 2010 | quarter-final | netherlands | 1-2 | robinho ] Execute this SQL based on the above table: select count ( round ) where score = 'semi-final'
0
[ header: year | tournament | venue | played | won | lost | tied | n/r | result row 1 : 1989-90 | world series | australia | 8 | 6 | 2 | 0 | 0 | won row 2 : 1990-91 | world series | australia | 10 | 9 | 1 | 0 | 0 | won row 3 : 1991-92 | world series | australia | 10 | 7 | 2 | 0 | 1 | won row 4 : 1992 | 5th world cup | aust/nz | 8 | 4 | 4 | 0 | 0 | eliminated row 5 : 1992 | v sri lanka | sri lanka | 3 | 1 | 2 | 0 | 0 | lost row 6 : 1993 | v new zealand | new zealand | 5 | 3 | 2 | 0 | 0 | won row 7 : 1993 | texaco trophy | england | 3 | 3 | 0 | 0 | 0 | won row 8 : 1993-94 | world series | australia | 11 | 7 | 4 | 0 | 0 | won row 9 : 1994 | v south africa | south africa | 8 | 4 | 4 | 0 | 0 | drawn row 10 : 1994 | wills triangular series | pakistan | 6 | 5 | 1 | 0 | 0 | won row 11 : 1994-95 | world series | australia | 4 | 3 | 1 | 0 | 0 | won row 12 : 1995 | nz centenary t'ment | new zealand | 4 | 3 | 1 | 0 | 0 | won row 13 : 1995 | v west indies | west indies | 5 | 1 | 4 | 0 | 0 | lost row 14 : 1995-96 | world series | australia | 10 | 7 | 3 | 0 | 0 | won row 15 : 1996 | singer world series | sri lanka | 4 | 2 | 2 | 0 | 0 | runner-up row 16 : 1996 | titan cup | india | 5 | 0 | 5 | 0 | 0 | eliminated row 17 : 1997 | v south africa | south africa | 7 | 4 | 3 | 0 | 0 | won row 18 : 1997 | texaco trophy | england | 3 | 0 | 3 | 0 | 0 | lost row 19 : 1998 | v new zealand | australia | 4 | 2 | 2 | 0 | 0 | drawn row 20 : 1998 | pepsi triangular series | india | 5 | 3 | 2 | 0 | 0 | won row 21 : 1998 | coca-cola cup | sharjah | 5 | 4 | 1 | 0 | 0 | runner-up row 22 : 1998 | wills cup | bangladesh | 1 | 0 | 1 | 0 | 0 | eliminated row 23 : 1998 | v pakistan | pakistan | 3 | 3 | 0 | 0 | 0 | won row 24 : 1999 | cub series | australia | 12 | 9 | 3 | 0 | 0 | won row 25 : 1999 | v west indies | west indies | 7 | 3 | 3 | 1 | 0 | drawn row 26 : 1999 | 7th world cup | uk/ire/neth | 10 | 7 | 2 | 1 | 0 | won row 27 : 1999 | aiwa cup | sri lanka | 5 | 4 | 1 | 0 | 0 | runner-up row 28 : 1999 | v zimbabwe | zimbabwe | 3 | 3 | 0 | 0 | 0 | won ] Execute this SQL based on the above table: select min ( lost )
0.0
[ header: year | position row 1 : 1957 | did not enter row 2 : 1959 | did not enter row 3 : 1962 | did not enter row 4 : 1963 | did not enter row 5 : 1965 | did not enter row 6 : 1968 | did not qualify row 7 : 1970 | did not qualify row 8 : 1972 | round 1 row 9 : 1974 | withdrew row 10 : 1976 | did not qualify row 11 : 1978 | did not qualify row 12 : 1980 | did not qualify row 13 : 1982 | did not qualify row 14 : 1984 | round 1 row 15 : 1986 | did not qualify row 16 : 1988 | did not qualify row 17 : 1990 | withdrew row 18 : 1992 | did not qualify row 19 : 1994 | withdrew during qualifying row 20 : 1996 | did not qualify row 21 : 1998 | round 1 row 22 : 2000 | round 1 row 23 : 2002 | round 1 row 24 : 2004 | did not qualify row 25 : 2006 | round 1 row 26 : 2008 | did not qualify row 27 : 2010 | withdrew due to rebel attack row 28 : 2012 | did not qualify row 29 : 2013 | quarter-final ] Execute this SQL based on the above table: select year where position = 'withdrew during qualifying'
1994
[ header: abbreviation | settlement | district | official name | division | cup | other information row 1 : taaja | taalintehdas | turku | taalintehtaan | vitonen | 2 | None row 2 : tampere united | tampere | tampere | tampere united | veikkausliiga | 3 | None row 3 : tapa 2 | tampere | tampere | tampereen palloil | kutonen | 1 | None row 4 : tarmo | kalvia, kokkola | keski-pohjanma | kalvian tarmo | kutonen | 1 | None row 5 : team vanpa | vantaa | uusimaa | team vanpa | vitonen | 1 | None row 6 : tips | tikkurila, vantaa | uusimaa | tikkurilan palloseura | kolmonen | 2 | None row 7 : tjk liepo | tampere | tampere | tampereen jalkapall | vitonen | 1 | None row 8 : tkt | tampere | tampere | tampereen kisat | kolmonen | 2 | None row 9 : tops-90 | tohmajarvi | ita-suomi | tohmajarven palloseura-90 | nelonen | 2 | None row 10 : torre calcio | turku | turku | torre calcio | kutonen | 1 | None row 11 : tota | tornio | pohjois-suomi | tornion tarmo | kolmonen | 1 | None row 12 : tote/ap | toukola | helsinki | toukolan teras / | vitonen | 2 | None row 13 : tou/2 | toivala, siilinjarvi | ita-suomi | toivalan urheilijat | vitonen | 1 | None row 14 : tove | pori | satakunta | toejoen veikot | kolmonen | 2 | None row 15 : tp-47 | tornio | pohjois-suomi | tornion pallo-47 | kakkonen | 3 | None row 16 : tp-49 | toijala, akaa | tampere | toijalan pallo-49 | nelonen | 2 | also abbreviated as toip row 17 : tp-seinajoki | seinajoki | vaasa | tp-seinajoki ( | nelonen | 1 | None row 18 : tps | turku | turku | turun palloseura | veikkausliiga | 3 | None row 19 : tpv | tampere | tampere | tampereen palloveiko | ykkonen | 3 | None row 20 : tpv 2 | tampere | tampere | tampereen pallo- | kolmonen | 2 | None row 21 : trafk | jarvenpaa | uusimaa | traskanda fotboll k | kutonen | 1 | None ] Execute this SQL based on the above table: select official name where cup = ( select cup where official name = 'taalintehtaan janteva' order by cup desc limit 1 ) + 1
tampere united, tornion pallo-47, turun palloseura, tampereen palloveikot
[ header: year | competition | venue | position | notes row 1 : 2002 | asian junior championships | bangkok, thailand | 3rd | 1.76 m row 2 : 2004 | asian junior championships | ipoh, malaysia | 1st | 1.84 m row 3 : 2004 | world junior championships | grosseto, italy | 7th | 1.84 m row 4 : 2005 | universiade | izmir, turkey | 7th | 1.80 m row 5 : 2005 | asian championships | incheon, south korea | 3rd | 1.84 m row 6 : 2005 | asian indoor games | bangkok, thailand | 2nd | 1.84 m row 7 : 2006 | asian games | doha, qatar | 6th | 1.84 m row 8 : 2007 | asian championships | amman, jordan | 3rd | 1.91 m row 9 : 2007 | universiade | bangkok, thailand | 3rd | 1.90 m row 10 : 2007 | world championships | osaka, japan | 20th (q) | 1.88 m row 11 : 2007 | asian indoor games | macau | 3rd | 1.88 m row 12 : 2008 | asian indoor championships | doha, qatar | 2nd | 1.91 m row 13 : 2009 | universiade | belgrade, serbia | 14th (q) | 1.80 m row 14 : 2010 | asian indoor championships | tehran, iran | 2nd | 1.86 m row 15 : 2010 | world indoor championships | istanbul, turkey | 20th (q) | 1.81 m row 16 : 2010 | asian games | guangzhou, china | 3rd | 1.90 m row 17 : 2011 | asian championships | kobe, japan | 4th | 1.85 m row 18 : 2011 | universiade | shenzhen, china | 10th | 1.84 m ] Execute this SQL based on the above table: select count ( * ) where competition = 'asian championships'
3
[ header: rank | player | from | to | transfer fee (€ million) | year row 1 : 1 | miralem sulejman | heerenveen | ajax | 16.25 | 2008 row 2 : 2 | strootman & merten | utrecht | psv | 13 | 2011 row 3 : 3 | mateja kezman | partizan | psv | 11.3 | 2000 row 4 : 4 | klaas-jan huntelaar | heerenveen | ajax | 9 | 2006 row 5 : 5 | nikos machlas | vitesse | ajax | 8.6 | 1999 row 6 : 6 | zlatan ibrahimovic | malmo ff | ajax | 8.4 | 2001 row 7 : 7 | jan vennegoor of h | twente | psv | 8.2 | 2001 row 8 : 8 | luis suarez | groningen | ajax | 7.5 | 2007 row 9 : 9 | dario cvitanich | banfield | ajax | 7.5 | 2008 row 10 : 10 | ferdi vierklau | tenerife | ajax | 7.3 | 1998 row 11 : 11 | adam maher | az | psv | 6.5 | 2013 ] Execute this SQL based on the above table: select count ( * ) where from < ( select from where player = 'dario cvitanich' )
1
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 30 may 1928 | olympic stadium (amsterdam | mexico | 1-0 | 7-1 | 1928 summer olympics row 2 : 2 | 30 may 1928 | olympic stadium (amsterdam | mexico | 3-0 | 7-1 | 1928 summer olympics row 3 : 3 | 22 june 1930 | bologna, italy | italy | 1-0 | 3-2 | friendly row 4 : 4 | 22 june 1930 | bologna, italy | italy | 3-1 | 3-2 | friendly row 5 : 5 | 13 december 1931 | dublin, ireland | ireland | 3-0 | 5-0 | friendly row 6 : 6 | 13 december 1931 | dublin, ireland | ireland | 5-0 | 5-0 | friendly row 7 : 7 | 24 april 1932 | oviedo, spain | yugoslavia | 1-0 | 2-1 | friendly row 8 : 8 | 21 june 1933 | madrid, spain | bulgaria | 8-0 | 13-0 | friendly row 9 : 9 | 21 june 1933 | madrid, spain | bulgaria | 12-0 | 13-0 | friendly row 10 : 10 | 11 march 1934 | madrid, spain | portugal | 4-0 | 9-0 | 1934 world cup qualifier row 11 : 11 | 11 march 1934 | madrid, spain | portugal | 6-0 | 9-0 | 1934 world cup qualifier row 12 : 12 | 21 june 1934 | firenze, italy | italy | 1-0 | 1-1 | 1934 fifa world cup row 13 : 13 | 24 january 1935 | madrid, spain | bulgaria | 1-0 | 2-0 | friendly row 14 : 14 | 19 january 1936 | madrid, spain | austria | 2-4 | 4-5 | friendly row 15 : 15 | 19 january 1936 | madrid, spain | austria | 4-4 | 4-5 | friendly row 16 : 16 | 23 february 1936 | barcelona, spain | germany | 1-2 | 1-2 | friendly ] Execute this SQL based on the above table: select opponent order by id desc limit 1
germany
[ header: season | tier | division | pos. | notes row 1 : 2002-03 | 3 | 1a estatal | 9th | None row 2 : 2003-04 | 3 | 1a estatal | 3rd | None row 3 : 2004-05 | 3 | 1a estatal | 3rd | None row 4 : 2005-06 | 3 | 1a estatal | 2nd | promoted row 5 : 2006-07 | 2 | honor b | 10th | None row 6 : 2007-08 | 2 | honor b | 11th | None row 7 : 2008-09 | 2 | honor b | 11th | None row 8 : 2009-10 | 2 | plata | 5th | None row 9 : 2010-11 | 2 | plata | 9th | None row 10 : 2011-12 | 2 | plata | 2nd | promoted row 11 : 2012-13 | 1 | asobal | 16th | relegated row 12 : 2013-14 | 2 | plata | None | None ] Execute this SQL based on the above table: select pos. where division > ( select division where pos. = '11th' ) order by division limit 1
5th
[ header: tournament | games played | points per game | rebounds per game | assists per game row 1 : 2003 eurobasket | 6 | 6.8 | 5.3 | 0.7 row 2 : 2005 eurobasket | 7 | 7.6 | 7.1 | 0.6 row 3 : 2006 fiba world championship | 9 | 9.7 | 6.7 | 0.6 row 4 : 2007 eurobasket | 7 | 8.9 | 3.7 | 0.6 row 5 : 2009 eurobasket | 8 | 6.5 | 2.9 | 1.1 row 6 : 2010 fiba world championship | 4 | 4.5 | 4.8 | 1.5 row 7 : 2011 eurobasket | 11 | 2.6 | 3.4 | 0.8 row 8 : 2012 olympics | 6 | 4.5 | 2.8 | 0.5 row 9 : 2013 eurobasket | 11 | 1.9 | 3.5 | 0.2 ] Execute this SQL based on the above table: select points per game where points per game in ( '9.7' , '7.6' ) order by points per game desc limit 1
9.7
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 7 | jo bonnier | brm | 75 | 2:05:26.8 | 1 | 8 row 2 : 2 | 8 | jack brabham | cooper-climax | 75 | + 14.2 | 2 | 6 row 3 : 3 | 9 | masten gregory | cooper-climax | 75 | + 1:23.0 | 7 | 4 row 4 : 4 | 12 | innes ireland | lotus-climax | 74 | + 1 lap | 9 | 3 row 5 : 5 | 1 | jean behra | ferrari | 74 | + 1 lap | 4 | 2 row 6 : 6 | 3 | phil hill | ferrari | 73 | + 2 laps | 12 | None row 7 : 7 | 14 | graham hill | lotus-climax | 73 | + 2 laps | 5 | None row 8 : 8 | 10 | maurice trintignant | cooper-climax | 73 | + 2 laps | 11 | None row 9 : 9 | 16 | cliff allison | ferrari | 71 | + 4 laps | 15 | None row 10 : 10 | 15 | carel godin de beaufort | porsche | 68 | + 7 laps | 14 | None row 11 : ret | 11 | stirling moss | cooper-climax | 62 | gearbox | 3 | 1 row 12 : ret | 6 | harry schell | brm | 46 | gearbox | 6 | None row 13 : ret | 2 | tony brooks | ferrari | 42 | oil leak | 8 | None row 14 : ret | 5 | carroll shelby | aston martin | 25 | engine | 10 | None row 15 : ret | 4 | roy salvadori | aston martin | 3 | engine | 13 | None ] Execute this SQL based on the above table: select grid where pos = 1 and grid in ( 14 , 1 )
1
[ header: date | result | opponent | event | location | method | round | time row 1 : 2013-12-14 | loss | mohamed diaby | victory, semi finals | paris, france | decision | 3 | 3:00 row 2 : 2013-03-09 | None | juanma chacon | enfusion live: barcelona | barcelona, spain | None | None | None row 3 : 2012-05-27 | loss | murthel groenhart | k-1 world max 2012 world championship tournament final | madrid, spain | ko (punches) | 3 | 3:00 row 4 : 2012-02-11 | win | francesco tadiello | sporthal de zandbergen | sint-job-in-'t- | ko | 1 | None row 5 : 2012-01-28 | win | chris ngimbi | it's showtime 2012 in leeu | leeuwarden, netherlands | tko (cut) | 2 | 1:22 row 6 : 2011-09-24 | loss | andy souwer | bfn group & music hall presents | brussels, belgium | extra round decision (split) | 4 | 3:00 row 7 : 2011-04-09 | win | lahcen ait ouss | le grande ko xi | liege, belgium | ko | 1 | None row 8 : 2011-02-12 | win | henri van opstal | war of the ring | amsterdam, netherlands | decision (unanimous) | 3 | 3:00 row 9 : 2010-09-10 | win | edson fortes | ring sensation gala | utrecht, netherlands | decision | 3 | 3:00 row 10 : 2010-03-21 | loss | mohamed khamal | k-1 world max 2010 west europe tournament | utrecht, netherlands | ko (punch) | 2 | None row 11 : 2009-11-21 | win | seo doo won | it's showtime 2009 barneveld | barneveld, netherlands | tko (referee stop | 1 | None row 12 : 2009-09-24 | win | chris ngimbi | it's showtime 2009 lommel | lommel, belgium | extra round decision | 4 | 4:00 row 13 : 2009-04-11 | win | farid riffi | almelo fight for delight | almelo, netherlands | tko | None | None row 14 : 2009-03-14 | win | viktor sarezki | war of the ring | belgium | ko (punch to the body) | 1 | None row 15 : 2009-02-21 | win | pedro sedarous | turnhout gala | turnhout, belgium | decision | 5 | 3:00 row 16 : 2009-01-31 | win | dahou naim | tielrode gala | tielrode, belgium | 2nd extra round decision | 5 | 3:00 row 17 : 2008-09-20 | win | abdallah mabel | s-cup europe 2008, reserve bout | gorinchem, netherlands | decision | 3 | 3:00 row 18 : 2008-09-14 | win | jordy sloof | the outland rumble | rotterdam, netherlands | ko (right cross) | 1 | None row 19 : 2008-03-08 | win | naraim ruben | lommel gala | lommel, belgium | tko (retirement) | 3 | None row 20 : 2008-02-23 | win | pierre petit | st. job gala | st. job, belgium | ko (right punch) | 2 | None ] Execute this SQL based on the above table: select opponent where round = ( select round where opponent = 'chris ngimbi' ) and result = 'win'
chris ngimbi, pierre petit
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | south korea | 7 | 6 | 1 | 14 row 2 : 2 | china | 5 | 5 | 2 | 12 row 3 : 3 | japan | 3 | 1 | 5 | 9 row 4 : 4 | hong kong | 2 | 3 | 5 | 10 row 5 : 5 | chinese taipei | 2 | 0 | 0 | 2 row 6 : 6 | iran | 1 | 3 | 2 | 6 row 7 : 7 | thailand | 1 | 2 | 3 | 6 row 8 : 8 | malaysia | 1 | 1 | 5 | 7 row 9 : 9 | kyrgyzstan | 1 | 0 | 0 | 1 row 10 : 10 | kazakhstan | 0 | 1 | 0 | 1 row 11 : 10 | uzbekistan | 0 | 1 | 0 | 1 row 12 : total | total | 23 | 23 | 23 | 69 ] Execute this SQL based on the above table: select ( select gold where nation = 'uzbekistan' ) - ( select gold where nation = 'hong kong' )
-2.0
[ header: name | height m (ft) | completed | country | location | coordinates | remarks row 1 : high roller | 168 (551) | 2014 | us | las vegas, nevada | 36°07′03′′n 115° | world's tallest since 2014 row 2 : singapore flyer | 165 (541) | 2008 | singapore | marina centre, downtown core | 1°17′22′′n 103° | world's tallest 2008-2014 row 3 : london eye | 135 (443) | 2000 | uk | south bank, lambeth, lon | 51°30′12′′n 0° | world's tallest 2000-2006 row 4 : zhengzhou ferris wheel | 120 (394) | 2003 | china | century amusement park, henan | 34°43′58′′n 113° | None row 5 : sky dream fukuoka | 120 (394) | 2002 | japan | evergreen marinoa, fukuok | 33°35′44′′n 130°19 | closed september 2009 row 6 : daikanransha | 115 (377) | 1999 | japan | palette town, odaiba, hon | 35°37′35′′n 139° | world's tallest 1999-2000 row 7 : harbin ferris wheel | 110 (361) | 2003 | china | harbin, heilongji | 45°46′40′′n 126° | picture row 8 : shanghai ferris wheel | 108 (354) | 2002 | china | jinjiang action park, s | 31°08′24′′n 121° | None row 9 : cosmo clock 21 (1st installation) | 107.5 (353) | 1989 | japan | minato mirai 21, yoko | None | world's tallest 1989-1997 row 10 : space eye | 100 (328) | None | japan | space world, kitakyushu, | 33°52′18′′n 130°48 | picture row 11 : aurora wheel | 90 (295) | None | japan | nagashima spa land, mie | 35°01′47′′n 136° | picture row 12 : eurowheel | 90 (295) | 1999 | italy | mirabilandia, ravenna | 44°20′21′′n 12°15 | None row 13 : sky wheel | 88 (289) | None | taiwan | janfusun fancyworld, gu | 23°37′13′′n 120°34 | None row 14 : the original ferris wheel | 80.4 (264) | 1893 | us | chicago (1893-1903); s | ferris wheel coordinates | world's tallest 1893-1894 ] Execute this SQL based on the above table: select location where completed is null
space world, kitakyushu, kyushu, nagashima spa land, mie, honshu, janfusun fancyworld, gukeng
[ 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 ecclesiastical jurisdictions where area (km2) > 17206 order by area (km2) asc limit 1
ndalatando
[ header: pos | no | driver | team | laps | time/retired | grid | points row 1 : 1 | 6 | michael andretti | newman-haas racing | 150 | 1:33:39.268 | 8 | 20+1 row 2 : 2 | 99 | greg moore | forsythe racing | 150 | 0.075 | 1 | 16+1 row 3 : 3 | 1 | alex zanardi | chip ganassi racing | 150 | 0.918 | 6 | 14 row 4 : 4 | 11 | christian fittipaldi | newman-haas racing | 150 | 3.359 | 4 | 12 row 5 : 5 | 20 | scott pruett | patrick racing | 150 | 5.257 | 12 | 10 row 6 : 6 | 40 | adrian fernandez | patrick racing | 150 | 5.926 | 5 | 8 row 7 : 7 | 5 | gil de ferran | walker racing | 150 | 6.81 | 11 | 6 row 8 : 8 | 8 | bryan herta | team rahal | 150 | 9.866 | 16 | 5 row 9 : 9 | 27 | dario franchitti | team kool green | 150 | 10.275 | 13 | 4 row 10 : 10 | 17 | mauricio gugelmin | pacwest racing group | 150 | 10.855 | 10 | 3 row 11 : 11 | 33 | patrick carpentier | forsythe racing | 150 | 11.382 | 9 | 2 row 12 : 12 | 18 | mark blundell | pacwest racing group | 150 | 29.029 | 7 | 1 row 13 : 13 | 10 | richie hearn | della penna motorsports | 149 | +1 lap | 15 | None row 14 : 14 | 9 | jj lehto | hogan racing | 149 | +1 lap | 29 | None row 15 : 15 | 15 | roberto moreno | project indy | 149 | +1 lap | 23 | None row 16 : 16 | 12 | jimmy vasser | chip ganassi racing | 148 | +2 laps | 3 | None row 17 : 17 | 3 | andre ribeiro | marlboro team penske | 148 | +2 laps | 2 | None row 18 : 18 | 36 | alex barron | all american racing | 148 | +2 laps | 27 | None row 19 : 19 | 7 | bobby rahal | team rahal | 147 | +3 laps | 17 | None row 20 : 20 | 98 | p. j. jones | all american racing | 146 | +4 laps | 26 | None row 21 : 21 | 77 | arnd meier | davis racing | 136 | +14 laps | 28 | None row 22 : 22 | 2 | al unser, jr | marlboro team penske | 122 | transmission | 14 | None row 23 : 23 | 24 | hiro matsushita | arciero-wells racing | 121 | contact | 24 | None row 24 : 24 | 16 | helio castro-neves | bettenhausen racing | 97 | contact | 22 | None row 25 : 25 | 34 | dennis vitolo | payton/coyne racing | 90 | withdrew | 25 | None row 26 : 26 | 25 | max papis | arciero-wells racing | 83 | wheel bearing | 20 | None row 27 : 27 | 26 | paul tracy | team kool green | 79 | suspension | 21 | None row 28 : 28 | 19 | michel jourdain jr | payton/coyne racing | 78 | handling | 19 | None row 29 : 29 | 21 | tony kanaan | tasman motorsports group | 32 | contact | 18 | None ] Execute this SQL based on the above table: select sum ( pos )
435.0
[ header: year | team | games | attempts | yards | ypc | long | tds row 1 : 1983 | los angeles rams | 16 | 390 | 1808 | 4.6 | 85 | 18 row 2 : 1984 | los angeles rams | 16 | 379 | 2105 | 5.6 | 66 | 14 row 3 : 1985 | los angeles rams | 14 | 292 | 1234 | 4.2 | 43 | 12 row 4 : 1986 | los angeles rams | 16 | 404 | 1821 | 4.5 | 42 | 11 row 5 : 1987 | los angeles rams | 3 | 60 | 277 | 4.6 | 57 | 1 row 6 : 1987 | indianapolis colts | 9 | 223 | 1011 | 4.5 | 53 | 5 row 7 : 1988 | indianapolis colts | 16 | 388 | 1659 | 4.3 | 41 | 14 row 8 : 1989 | indianapolis colts | 15 | 314 | 1311 | 4.2 | 21 | 7 row 9 : 1990 | indianapolis colts | 11 | 166 | 677 | 4.1 | 43 | 4 row 10 : 1991 | indianapolis colts | 10 | 167 | 536 | 3.2 | 28 | 2 row 11 : 1992 | los angeles raiders | 16 | 187 | 729 | 3.9 | 40 | 2 row 12 : 1993 | atlanta falcons | 4 | 26 | 91 | 3.5 | 10 | 0 row 13 : career | None | 146 | 2996 | 13259 | 4.4 | 85 | 90 ] Execute this SQL based on the above table: select team order by yards asc limit 1
atlanta falcons
[ header: date | opponent# | rank# | site | result | attendance | record row 1 : 11/26/1985 | vs. loyola (chi | #7 | assembly hall • champaign, il | w 95-64 | 13143 | 1-0 row 2 : 11/29/1985 | vs. #13 oklahom | #7 | kaneohe armory • hon | l 57-59 | 300 | 2-1 row 3 : 12/4/1985 | vs. wisconsin-green | #12 | assembly hall • champaign, il | w 84-34 | 13417 | 3-1 row 4 : 12/7/1985 | vs. utah state | #12 | assembly hall • champaign (illini classic | w 115-64 | 13980 | 5-1 row 5 : 12/10/1985 | vs. tennessee | #10 | mabee center • tulsa, | l 51-54 | 12700 | 5-2 row 6 : 12/14/1985 | vs. houston | #10 | assembly hall • champaign, il | w 102-92 | 15564 | 6-2 row 7 : 12/23/1985 | vs. howard | #15 | assembly hall • champaign, il | w 67-55 | 10043 | 8-2 row 8 : 12/30/1985 | vs. iowa state | #16 | rosemont horizon • rosemont, il | w 64-62 | 9876 | 9-2 row 9 : 1/2/1986 | vs. minnesota | #14 | assembly hall • champaign, il | w 76-57 | 13329 | 10-2 (1-0) row 10 : 1/4/1986 | vs. iowa | #14 | assembly hall • champaign, il | l 59-60 | 16676 | 10-3 (1-1) row 11 : 1/8/1986 | @ #2 michigan | #18 | crisler arena • ann arbor, | l 59-61 | 13609 | 10-4 (1-2) row 12 : 1/16/1986 | vs. wisconsin | #nr | assembly hall • champaign, il | w 73-54 | 12829 | 11-5 (2-3) row 13 : 1/18/1986 | vs. northwestern | #nr | assembly hall • champaign, il | w 72-46 | 13891 | 12-5 (3-3) row 14 : 1/23/1986 | @ ohio state | #nr | st. john arena • colum | w 67-65 | 13071 | 13-5 (4-3) row 15 : 2/8/1986 | vs. michigan | #nr | assembly hall • champaign, il | w 83-79 ot | 16353 | 15-7 (6-5) row 16 : 2/13/1986 | @ northwestern | #nr | welsh-ryan arena • | w 75-52 | 8117 | 16-7 (7-5) row 17 : 2/15/1986 | @ wisconsin | #nr | wisconsin field house • madison | w 82-74 | 10605 | 17-7 (8-5) row 18 : 2/20/1986 | vs. #15 indiana | #nr | assembly hall • champaign, il | l 60-61 | 16349 | 17-8 (8-6) row 19 : 2/22/1986 | vs. ohio state | #nr | assembly hall • champaign, il | w 66-62 | 16376 | 18-8 (8-7) row 20 : 3/1/1986 | @ #4 georgia tech | #12 | alexander memorial coliseum • | w 59-57 | 15148 | 20-8 ] Execute this SQL based on the above table: select attendance group by attendance order by count ( result ) desc limit 1
9876
[ header: | 1965 | 1960 | 1960 | 1970 | 1970 row 1 : world | 3334874000 | 3021475000 | 313399000 | 3692492000 | 357618000 row 2 : africa | 313744000 | 277398000 | 36346000 | 357283000 | 43539000 row 3 : asia | 1899424000 | 1701336000 | 198088000 | 2143118000 | 243694000 row 4 : europe | 634026000 | 604401000 | 29625000 | 655855000 | 21829000 row 5 : latin america | 250452000 | 218300000 | 1270000 | 284856000 | 34404000 row 6 : northern america | 219570000 | 204152000 | 15418000 | 231937000 | 12367000 row 7 : oceania | 17657000 | 15888000 | 1769000 | 19443000 | 1786000 ] Execute this SQL based on the above table: select order by asc limit 1
africa
[ header: designation | classification | constellation | apparent magnitude row 1 : comet galaxy | s | sculptor | None row 2 : eso 269-57 | sb(r)a | centaurus | 12.49 row 3 : ic 342 | sab(rs)cd | camelopardalis | 9.1 row 4 : ic 442 | s | camelopardalis | 13.8 row 5 : ic 1296 | sbbc | lyra | 14.8 row 6 : m31, andromeda | sa(s)b | andromeda | 4.36 row 7 : m61 | sab(rs)bc | virgo | 10.2 row 8 : m77 | (r)sa(rs)b | cetus | 9.6 row 9 : m81 | sa(s)ab | ursa major | 7.9 row 10 : m95 | sb(r)b | leo | 11.4 row 11 : m96 | sab(rs)ab | leo | 10.1 row 12 : m104, sombrero galaxy | sa(s)a | virgo | 9 row 13 : m106 | sab(s)bc | canes venatici | 9.1 row 14 : m109 | sb(rs)bc | ursa major | 10.6 row 15 : maffei 2 | sab(rs)bc | cassiopeia | 16 row 16 : ngc 2 | sab | pegasus | 15 row 17 : ngc 247 | sab(s)d | cetus | 9.9 row 18 : ngc 253, sculptor galaxy | sab(s)c | sculptor | 8 row 19 : ngc 300 | sa(s)d | sculptor | 9 row 20 : ngc 514 | sab(rs)c | pisces | 12.2 row 21 : ngc 1032 | s0/a | cetus | 12.6 row 22 : ngc 1042 | sab(rs)cd | cetus | 14 row 23 : ngc 1055 | sbb:ii-ii | cetus | 11.6 row 24 : ngc 1090 | sb(rs)bc | cetus | 12.5 row 25 : ngc 1300 | (r')sb(s)b | eridanus | 11.4 row 26 : ngc 2903 | sb(s)d | leo | 9.7 row 27 : ngc 2997 | sa(s)c | antlia | 10.1 row 28 : ngc 3223 | None | antlia | 12 row 29 : ngc 3486 | sb | leo minor | 11 row 30 : ngc 3521 | sabbc | leo | 10 row 31 : ngc 3596 | sab(rs)c | leo | 12 row 32 : ngc 3877 | sc | ursa major | 12.1 row 33 : ngc 3949 | sa(s)bc | ursa major | 11.5 row 34 : ngc 3953 | sb(r)bc | ursa major | 10.8 row 35 : ngc 4395 | sa(s)m | canes venatici | 10.6 row 36 : ngc 4625 | sab(rs)m pe | canes venatici | 13.2 row 37 : ngc 4911 | sb | coma berenices | None row 38 : ngc 4945 | sb(s)cd | centaurus | 9.3 row 39 : ngc 5068 | sb(s)d | virgo | 10.5 ] Execute this SQL based on the above table: select classification group by classification order by count ( designation ) desc limit 1
sb(s)d
[ header: title | release date | developer(s) | publisher(s) | genre(s) row 1 : 187 ride or die | 2005-08-23 | ubisoft | ubisoft | driving row 2 : 50 cent: bulletproof | 2005-11-17 | genuine games | sierra entertainment | None row 3 : 50 cent: blood on the sand | 2009-02-20 | swordfish studios | thq | None row 4 : 25 to life | 2006-01-17 | avalanche software, ritual entertainment | eidos interactive | None row 5 : gangland (video game) | 2004-02-14 | mediamobsters | whiptail interactive | None row 6 : gangsters: organized crime | 1998-11-30 | hothouse creations | eidos interactive | None row 7 : gangsters 2 | 2001-06-01 | hothouse creations | eidos interactive | None row 8 : the godfather: the game | 2006-03-21 | ea redwood shores | electronic arts | None row 9 : the godfather ii | 2009-04-07 | ea redwood shores | electronic arts | None row 10 : grand theft auto iii | 2001-10-22 | dma design | rockstar games | None row 11 : grand theft auto: vice city | 2002-10-22 | rockstar north | rockstar games | None row 12 : grand theft auto: san andreas | 2004-10-24 | rockstar north | rockstar games | None row 13 : mafia: the city of lost heaven | 2002-08-28 | illusion softworks | gathering of developers | None row 14 : mafia ii | 2010-08-24 | 2k czech, massive bear studio | 2k games, 1c company | None row 15 : mob rule | 1999-9-30 | simon & schuster interactive | studio 3 interactive | None row 16 : saints row | 2006-08-29 | volition | thq | None row 17 : saints row 2 | 2008-10-14 | volition, inc | thq | None row 18 : omerta - city of | 2013-01-31 | haemimont games | kalypso media | building simulation, rpg ] Execute this SQL based on the above table: select publisher(s) where publisher(s) = 'whiptail interactive'
whiptail interactive
[ header: country | zone | national federation | #gm | #fide | national championship row 1 : australia | 3.6 | australian chess federation | 2 | 468 | australian chess championship row 2 : belarus | 1.8 | belarus chess federation | 13 | 425 | belarusian chess championship row 3 : bulgaria | 1.4 | българска ф | 25 | 606 | bulgarian chess championship row 4 : costa rica | 2.3c | federacion central de ajed | 1 | 88 | costa rican chess championship row 5 : england | 1.1a | english chess federation | 35 | 1211 | british chess championship row 6 : fiji | 3.6 | fiji chess federation | 0 | 9 | fijian chess championship row 7 : germany | 1.2a | deutscher schachbund | 66 | 10897 | german chess championship row 8 : guyana | None | guyana chess federation | None | None | guyanese chess championship row 9 : iceland | 1.3 | skaksamband islands | 11 | 227 | icelandic chess championship row 10 : luxembourg | 1.1b | federation luxembourgeoise des e | 1 | 99 | luxembourgian chess championship row 11 : morocco | 4.1 | fed. royale marocaine des e | 1 | 68 | moroccan chess championship row 12 : nepal | 3.5 | nepal chess association | 1 | 155 | nepal chess championship row 13 : peru | 2.4 | federacion peruana de | 1 | 258 | peruvian chess championship row 14 : singapore | 3.3 | singapore chess federation | 4 | 132 | singaporean chess championship row 15 : slovakia | 1.4 | slovensky sachovy z | 9 | 1152 | slovak chess championship row 16 : slovenia | 1.2a | sahovska zveza | 5 | 548 | slovenian chess championship row 17 : tajikistan | 3.4 | federazijai shakhmati | 1 | 17 | tajikistani chess championship row 18 : turkey | 1.5a | turkiye satranc | 2 | 545 | turkish chess championship row 19 : united states | 2.1 | united states chess federation | 61 | 1785 | u.s. chess championship row 20 : venezuela | 2.3c | fed. venezolana de a | 1 | 136 | venezuelan chess championship row 21 : zambia | 4.3 | chess federation of zambi | 1 | 21 | zambian chess championship ] Execute this SQL based on the above table: select zone order by #gm desc limit 1
1.2a
[ header: # | district | land area (km2) | population (2010 census) | density (persons/km2) row 1 : 1 | anse la raye | 30.9 | 6247 | 210 row 2 : 2 | praslin | 16 | 2044 | 119 row 3 : 3 | castries | 79.5 | 65656 | 776 row 4 : 4 | choiseul | 31.3 | 6098 | 206 row 5 : 5 | dennery | 69.7 | 12599 | 182 row 6 : 6 | forest reserve | 78 | 0 | 0 row 7 : 7 | gros islet | 101.5 | 25210 | 196 row 8 : 8 | laborie | 37.8 | 6701 | 210 row 9 : 9 | micoud | 77.7 | 16284 | 220 row 10 : 10 | soufriere | 50.5 | 8472 | 144 row 11 : 11 | vieux fort | 43.8 | 16284 | 371 row 12 : None | saint lucia | 608.7 | 165595 | 256 ] Execute this SQL based on the above table: select district where district = 'choiseul'
choiseul
[ header: class | name | company | residence | term expires dec 31 | notes row 1 : a | max t. wake | jones national bank & trust co | seward, nebraska | 2013 | None row 2 : a | vacancy | None | None | 2014 | None row 3 : a | david w. brownback | citizens state bank & trust company | ellsworth, kansas | 2015 | None row 4 : b | vacancy | None | None | 2013 | None row 5 : b | richard k. ratcliffe | ratcliffe's inc | weatherford, oklahoma | 2014 | None row 6 : b | john t. stout, | plaza belmont management group llc | shawnee mission, kans | 2015 | None row 7 : c | rose washington | otulsa economic development corporation | tulsa, oklahoma | 2013 | None row 8 : c | barbara mowry | gorecreek advisors | greenwood village, colorado | 2014 | chairman row 9 : c | steve maestas | nai maestas and | albuquerque, new mexico | 2015 | deputy chairman ] Execute this SQL based on the above table: select max ( class ) where notes = 'deputy chairman'
c
[ header: election | member | party row 1 : 1885 | william james beadel | conservative row 2 : 1892 | thomas usborne | conservative row 3 : 1900 | sir carne rasch, bt | conservative row 4 : 1908 | e. g. pretyman | conservative row 5 : 1918 | e. g. pretyman | coalition conservative row 6 : 1922 | e. g. pretyman | conservative row 7 : 1923 | sydney walter rob | liberal row 8 : 1924 | sir henry honywood cur | conservative row 9 : 1926 | charles kenneth howard- | conservative row 10 : 1931 | sir vivian leonard | conservative row 11 : 1935 | john macnamara | conservative row 12 : 1945 | ernest millington | common wealth row 13 : 1946 | ernest millington | labour row 14 : 1950 | sir hubert ashton | conservative row 15 : 1964 | norman st john-stevas | conservative row 16 : 1987 | simon burns | conservative row 17 : 1997 | constituency abolished - see west | constituency abolished - see west ] Execute this SQL based on the above table: select abs ( ( select election where member = 'ernest millington' ) - ( select election where member = 'e. g. pretyman' ) )
37
[ header: typ | construction time | cylinders | capacity | power | top speed row 1 : vis-a-vis | 1900-1903 | 1 | 400 cc | 2,6 kw (3,5 p | 30 km/h (19 mph) row 2 : 45 ps (33 kw; | 1900-1903 | 1 | 510 cc | 3,3 kw (4,5 ps | 35 km/h (22 mph) row 3 : 24/28 ps | 1904-1905 | 4 inline | 4,016 cc | 20,6 kw (28 ps | 65 km/h (40 mph) row 4 : 8/12 (8/14) ps | 1904-1906 | 2 inline | 2,008 cc | 8,8-10,3 kw (12-14 | 50 km/h (31 mph) row 5 : 4/8 ps | 1906-1907 | 2 v | 1,032 cc | 5,9 kw (8 ps) | 55 km/h (34 mph) row 6 : 5/9 ps | 1907-1909 | 2 inline | 1,134 cc | 6,6 kw (9 ps) | 60 km/h (37 mph) row 7 : 11/18 ps | 1907-1910 | 4 inline | 2,799 cc | 13,2 kw (18 ps) | 55 km/h (34 mph) row 8 : 23/50 ps | 1909-1912 | 4 inline | 5,800 cc | 42,6 kw (58 p | None row 9 : 13/30 ps | 1909-1912 | 4 inline | 3,180 cc | 25,7 kw (35 ps | None row 10 : 10/28 ps | 1909-1912 | 4 inline | 2,612 cc | 22 kw (30 ps) | None row 11 : k 7/15 ps | 1910-1913 | 4 inline | 1,768 cc | 11 kw (15 ps) | 60 km/h (37 mph) row 12 : 30/70 ps | 1911-1914 | 4 inline | 7,853 cc | 51 kw (70 ps) | 115 km/h (71 mph) row 13 : 15/40 ps | 1913-1914 | 4 inline | 3,866 cc | 33 kw (45 ps) | 90 km/h (56 mph) row 14 : 25/55 ps | 1913-1914 | 4 inline | 6,457 cc | 44 kw (60 ps) | None row 15 : 12/30 ps | 1914 | 4 inline | 3,115 cc | 25,7 kw (35 ps | None row 16 : 9/24 (9/30) ps | 1921-1924 | 4 inline | 2,298 cc | 17,6-22 kw (24-30 | 65 km/h (40 mph)- row 17 : 18/60 ps | 1921-1924 | 4 inline | 4,712 cc | 44 kw (60 ps) | 100 km/h (62 mph) row 18 : 18/80 ps | 1925-1927 | 6 inline | 4,704 cc | 59 kw (80 ps | 100 km/h (62 mph) row 19 : standard 8 | 1928-1933 | 8 inline | 3,887 cc | 51-59 kw (70-80 | 100 km/h (62 mph)- row 20 : standard 6 3u | 1933-1934 | 6 inline | 2,916 cc | 44 kw (60 ps) | 100 km/h (62 mph) ] Execute this SQL based on the above table: select count ( * ) where typ = 'vis-a-vis'
1
[ header: ep# | title | broadcast date | written by | directed by row 1 : 1 | "birth of a legend" | april 18, 1995 | michael piller & bill dial | charles correll row 2 : 2 | "mr. pratt goes to | april 25, 1995 | michael piller & bill dial | william gereghty row 3 : 3 | "legend on his president's secret service | may 2, 1995 | bob wilcox | michael vejar row 4 : 4 | "custer's next to last stand" | may 9, 1995 | bill dial | william gereghty row 5 : 5 | "the life, death, and life of wild | may 16, 1995 | peter allan fields | michael caffey row 6 : 6 | "knee-high noon" | may 23, 1995 | steve stolier & fr | james l. conway row 7 : 7 | "the gospel according to legend" | june 12, 1995 | john considine | michael vejar row 8 : 8 | "bone of contention" | june 20, 1995 | george geiger | charles correll row 9 : 9 | "revenge of the herd" | july 4, 1995 | tim burns | bob balaban row 10 : 10 | "fall of a legend" | july 18, 1995 | bob shane & r | michael vejar row 11 : 11 | "clueless in san franci | july 25, 1995 | carol caldwell & marianne clark | charles correll row 12 : 12 | "skeletons in the closet" | august 8, 1995 | david rich | steve shaw ] Execute this SQL based on the above table: select ep# where directed by = 'michael caffey'
5
[ header: release date | single title | uk singles chart position | french charts | german charts | irish charts | various row 1 : 1976 | "sister mary" (duet | None | None | None | 2 | None row 2 : may 1976 | "who's that lady with my man" | None | 5 | None | None | None row 3 : october 1976 | "help me" | None | 17 | None | None | None row 4 : 1976 | "goodbye venice goodbye" | None | None | None | None | None row 5 : february 1977 | "all we need is love" | None | None | None | None | None row 6 : june 1977 | "run to me" | None | None | None | None | #22 (netherlands), #5 ( row 7 : february 1978 | "make love to me" | None | None | None | None | #5 (australia), #2 ( row 8 : august 1978 | "loving just for fun" | None | None | None | None | None row 9 : november 1978 | "take me to paradise" | None | None | None | None | None row 10 : january 1979 | "if i can't have you" | None | None | None | None | None row 11 : august 1979 | "feels like i'm in love | None | None | None | None | None row 12 : may 1980 | "feels like i'm in love | 1 | None | 5 | 3 | #6 (australia), #6 row 13 : november 1980 | "loving just for fun" (re- | 21 | None | 20 | 22 | None row 14 : february 1981 | "hot love" | 22 | None | 25 | 13 | None row 15 : may 1981 | "love trial" | 51 | None | 75 | None | None row 16 : august 1981 | "don't stop your love" | None | None | None | None | None row 17 : january 1982 | "i need your love" | None | None | None | None | None row 18 : april 1982 | "i feel love comin' on" | None | None | None | None | None row 19 : july 1982 | "love's got a hold on | None | None | None | None | None row 20 : october 1982 | "don't take your love to h | None | None | None | None | None row 21 : september 1983 | "silent treatment" | None | None | None | None | None row 22 : july 1984 | "break out" | 90 | None | None | None | None row 23 : october 1984 | "i'm on fire" | None | None | None | None | None row 24 : september 1986 | "feels like i'm in love | None | None | None | None | None row 25 : 1988 | "stealing my time" | None | None | None | None | #2 (denmark) row 26 : 1988 | "halfway to paradise" | None | None | None | None | None row 27 : 1998 | "i'm in the mood for dancing" | None | None | None | None | None row 28 : february 2001 | "hot love 2001" | None | None | None | None | None ] Execute this SQL based on the above table: select count ( * ) where various = 'None'
0
[ header: year | league | record | finish | manager | playoffs | notes row 1 : 1947 | sunset league | 69-69 | 4th | thomas lloyd | None | None row 2 : 1955 | california league | 40-106 | 8th | leonard noren | None | channel cities moved to reno july row 3 : 1956 | california league | 73-67 | 4th | ray perry | lost in 1st round | None row 4 : 1957 | california league | 79-59 | 2nd | ray perry | lost league finals | None row 5 : 1958 | california league | 68-69 | 6th | ray perry | None | None row 6 : 1959 | california league | 81-58 | 2nd | ray perry | None | None row 7 : 1960 | california league | 89-51 | 1st | tom saffell | league champs | None row 8 : 1961 | california league | 97-43 | 1st | roy smalley | league champs | None row 9 : 1962 | california league | 70-68 | 4th | roy smalley | lost league finals | None row 10 : 1963 | california league | 71-69 | 5th | tom saffell | None | None row 11 : 1964 | california league | 66-71 | 6th | tom saffell / har | none | None row 12 : 1966 | california league | 69-71 | 4th (t) | phil cavarretta | None | None row 13 : 1967 | california league | 56-82 | 8th | phil cavarretta | None | None row 14 : 1968 | california league | 67-72 | 5th | clay bryant | None | None row 15 : 1969 | california league | 72-68 | 3rd (t) | ken aspromonte | None | None row 16 : 1970 | california league | 79-61 | 2nd | pinky may | none | None row 17 : 1971 | california league | 64-75 | 7th | pinky may | None | None row 18 : 1972 | california league | 50-88 | 8th | lou klimchock | None | None row 19 : 1973 | california league | 70-70 | 4th (t) | lou klimchock | None | None row 20 : 1976 | california league | 75-62 | 3rd | johnny goryl | league champs | None row 21 : 1977 | california league | 59-81 | 5th | glenn ezell | None | None row 22 : 1978 | california league | 62-78 | 5th | eddie watt | None | None row 23 : 1979 | california league | 74-67 | 3rd | eddie watt | None | None row 24 : 1980 | california league | 75-66 | 2nd (t) | jack maloof | None | None row 25 : 1981 | california league | 81-58 | 2nd | jack maloof | lost in 1st round | None row 26 : 1988 | california league | 39-103 | 10th | nate oliver | None | None row 27 : 1989 | california league | 68-74 | 6th | eli grba | None | None row 28 : 1992 | california league | 65-71 | 8th | gary jones | None | None ] Execute this SQL based on the above table: select manager where manager = 'phil cavarretta' order by year desc limit 1
phil cavarretta
[ header: affiliation | house members 2000 election results | house members at dissolution | senate members on election day 2000 | senate members at dissolution row 1 : liberal party of canada | 172 | 168 | 55 | 65 row 2 : canadian alliance | 66 | None | 1 | None row 3 : bloc quebecois | 38 | 33 | 0 | 0 row 4 : new democratic party | 13 | 14 | 0 | 0 row 5 : progressive conservative | 12 | None | 35 | None row 6 : progressive conservative (senate caucus | None | None | None | 3 row 7 : conservative party of canada | None | 72 | None | 24 row 8 : independent | 0 | 10 | 5 | 5 row 9 : total members | 301 | 297 | 96 | 97 row 10 : vacant | 0 | 4 | 9 | 8 row 11 : total seats | 301 | 301 | 105 | 105 ] Execute this SQL based on the above table: select ( select house members at dissolution where affiliation = 'conservative party of canada' ) - ( select house members at dissolution where affiliation = 'independent' )
62.0
[ header: province | capital | population | density | municipalities | legal districts row 1 : almeria | almeria | 702819 | 72.5 /km2 (188 / | 102 municipalities | 8 row 2 : cadiz | cadiz | 1243519 | 158.8 /km2 (411 | 44 municipalities | 14 row 3 : cordoba | cordoba | 805857 | 72.4 /km2 (188 / | 75 municipalities | 12 row 4 : granada | granada | 924550 | 68.7 /km2 (178 | 169 municipalities | 9 row 5 : huelva | huelva | 521968 | 47.7 /km2 (124 | 79 municipalities | 6 row 6 : jaen | jaen | 670600 | 49.1 /km2 (127 | 97 municipalities | 10 row 7 : malaga | malaga | 1625827 | 204.1 /km2 (529 / | 101 municipalities | 11 row 8 : seville | seville | 1928962 | 129.2 /km2 (335 | 105 municipalities | 15 ] Execute this SQL based on the above table: select province where population > 784
almeria, cadiz, cordoba, granada, huelva, jaen, malaga, seville
[ header: year | group | award | result | notes row 1 : 1994 | venice film festival | best actor | won | before the rain (1994 film) row 2 : 1996 | new zealand film and tv | best foreign performer | won | broken english (1996 film) row 3 : 2006 | monaco international film festival | best actor | won | short order row 4 : 2007 | rome film fest | best actor | won | fugitive pieces (film) row 5 : 2008 | satellite awards | best actor in a supporting role | nominated | fugitive pieces (film) row 6 : 2008 | vancouver film critics circle | best supporting actor in a canadian film | nominated | fugitive pieces (film) row 7 : 2009 | genie awards | best performance by an actor in a supporting role | nominated | fugitive pieces (film) row 8 : 2012 | tetouan international mediterra | best actor | won | io sono li ] Execute this SQL based on the above table: select count ( * ) where result = 'won' and year = 1994
1
[ header: name | faith | type | gov | opened | intake | dcsf number | ofsted number | web | coordinates row 1 : ashfield | None | junior | vc | 1845 | 60 | 3012 | 117391 | w | 51°38′22′′n 0° row 2 : bournehall | None | primary | cy | 1969 | 30 | 2360 | 117296 | w | 51°39′00′′n 0° row 3 : bushey heath | None | primary | cy | 1879 | 30 | 2012 | 117088 | w | 51°38′12′′n 0° row 4 : bushey manor | None | junior | cy | 1907 | 60 | 2261 | 117242 | w | 51°38′49′′n 0° row 5 : falconer | None | special | cy | None | None | 7033 | 117686 | w | 51°38′49′′n 0° row 6 : hartsbourne | None | primary | cy | None | 30 | 2372 | 117300 | w | 51°37′52′′n 0° row 7 : highwood | None | primary | cy | 1949 | 60 | 2013 | 117089 | w | 51°39′57′′n 0° row 8 : little reddings | None | primary | fd | None | 51 | 5208 | 117568 | w | 51°38′51′′n 0° row 9 : meadow wood | None | special | cy | None | None | 7043 | 117691 | w | 51°38′54′′n 0° row 10 : merry hill | None | infants | cy | 1885 | 60 | 2014 | 117090 | w | 51°38′17′′n 0° row 11 : sacred heart | rc | primary | va | 1970 | 40 | 3415 | 117488 | w | 51°38′38′′n 0° ] Execute this SQL based on the above table: select count ( name )
11
[ header: place | position | number | name | nasl | playoffs | cfu club championship | concacaf champions league | total row 1 : 1 | fw | 11 | nicholas addlery | 9 | 0 | 0 | 1 | 10 row 2 : 2 | fw | 9 | jonathan fana | 4 | 0 | 4 | 0 | 8 row 3 : 3 | fw | 7 | david foley | 6 | 1 | 0 | 0 | 7 row 4 : 3 | fw | 24 | hector ramos | 3 | 0 | 2 | 2 | 7 row 5 : 5 | df | 33 | jay needham | 3 | 0 | 0 | 0 | 3 row 6 : 5 | fw | 22 | gregory richardson | 1 | 0 | 1 | 1 | 3 row 7 : 7 | mf | 20 | josh hansen | 0 | 0 | 2 | 0 | 2 row 8 : 7 | None | None | own goal | 0 | 0 | 2 | 0 | 2 row 9 : 9 | df | 3 | richard martinez | 1 | 0 | 0 | 0 | 1 row 10 : 9 | df | 16 | anthony vazquez | 1 | 0 | 0 | 0 | 1 row 11 : 9 | df | 5 | noah delgado | 1 | 0 | 0 | 0 | 1 row 12 : 9 | mf | 14 | jarad van schaik | 1 | 0 | 0 | 0 | 1 row 13 : 9 | mf | 17 | tyler wilson | 1 | 0 | 0 | 0 | 1 row 14 : 9 | mf | 24 | justin fojo | 1 | 0 | 0 | 0 | 1 row 15 : None | None | None | totals | 32 | 1 | 11 | 4 | 48 ] Execute this SQL based on the above table: select concacaf champions league where position != 'df' order by concacaf champions league desc limit 1
2
[ header: jurisdiction | adherents | bishops | priests | monastics | monasteries | parishes row 1 : constantinople (details) | 5200000 | 125 | None | 1800 | 142 | 648 row 2 : alexandria (details | 1200000 | 41 | None | None | None | None row 3 : antioch (details) | 2000000 | 36 | None | None | None | None row 4 : jerusalem (details) | 700000 | 20 | None | None | None | None row 5 : russia (details) | 150000000 | 217 | 30675 | None | 807 | 30142 row 6 : georgia (details) | 3500000 | 37 | 437 | None | None | 600 row 7 : bulgaria (details) | 10000000 | 15 | 1500 | None | 120 | 2600 row 8 : serbia (details) | 11000000 | 44 | None | None | 49 | 3100 row 9 : romania (details) | 17000000 | 53 | 15068 | 7605 | 359 | 15717 row 10 : cyprus (details) | 700000 | 16 | None | None | 67 | None row 11 : greece (details) | 6000000 | 101 | 10000 | 3541 | 541 | None row 12 : albania (details) | 700000 | 6 | 135 | None | 150 | 909 row 13 : poland (details) | 600000 | 12 | None | None | None | 400 row 14 : czech lands & s | 100000 | 6 | None | None | None | 172 row 15 : orthodox church in america (details | 85000 | 10 | None | None | 20 | 700 row 16 : total | 208785000 | 729 | 54382 | 12946 | 2236 | 54239 ] Execute this SQL based on the above table: select count ( parishes ) where bishops >= 15717 and bishops <= 172 and priests >= 720
0
[ header: tournament | games played | points per game | rebounds per game | assists per game row 1 : 2003 eurobasket | 6 | 6.8 | 5.3 | 0.7 row 2 : 2005 eurobasket | 7 | 7.6 | 7.1 | 0.6 row 3 : 2006 fiba world championship | 9 | 9.7 | 6.7 | 0.6 row 4 : 2007 eurobasket | 7 | 8.9 | 3.7 | 0.6 row 5 : 2009 eurobasket | 8 | 6.5 | 2.9 | 1.1 row 6 : 2010 fiba world championship | 4 | 4.5 | 4.8 | 1.5 row 7 : 2011 eurobasket | 11 | 2.6 | 3.4 | 0.8 row 8 : 2012 olympics | 6 | 4.5 | 2.8 | 0.5 row 9 : 2013 eurobasket | 11 | 1.9 | 3.5 | 0.2 ] Execute this SQL based on the above table: select tournament where tournament != '2012 olympics' and tournament = '2009 eurobasket'
2009 eurobasket
[ header: margin | teams | venue | season row 1 : 192 runs | kent (205 & 512-9 | county ground, chelmsford | 2009 row 2 : 72 runs | kent (117 & 332) beat | woodbridge road, guildford | 1992 row 3 : 57 runs | kent (151 & 348) beat | hesketh park, dartford | 1976 row 4 : 36 runs | kent (127 & 198) | st lawrence ground, canter | 1893 row 5 : 24 runs | kent (115 & 389) beat | mote park, maidstone | 1925 row 6 : 16 runs | kent (120 & 176) beat | mote park, maidstone | 1863 ] Execute this SQL based on the above table: select venue order by venue desc limit 1
woodbridge road, guildford
[ header: pick # | nfl team | player | position | college row 1 : 81 | philadelphia eagles | paul fanning | back | kansas state row 2 : 82 | brooklyn dodgers | ed nowogrowski | back | university of washington row 3 : 83 | chicago cardinals | dwight hafeli | back | washington (st. louis) row 4 : 84 | new york giants | dwight scheyer | end | washington state row 5 : 85 | pittsburgh pirates | matt patanelli | tackle | michigan row 6 : 86 | boston redskins | bill docherty | guard | temple row 7 : 87 | detroit lions | larry kelley | guard | yale row 8 : 88 | chicago bears | al guepe | end | marquette row 9 : 89 | green bay packers | gordon dahlgren | guard | michigan state row 10 : 90 | cleveland rams | ray johnson | tackle | denver ] Execute this SQL based on the above table: select position where pick # = ( select pick # where position = 'back' ) + 1
back
[ header: title | year | platform | developer | publisher row 1 : swat 3: close quarters battle | 1999 | microsoft windows | sierra northwest | sierra entertainment row 2 : swat: global strike team | 2003 | playstation 2, xbox | argonaut games | argonaut games sierra entertainment row 3 : swat 4 | 2005 | microsoft windows | irrational games | vivendi universal games sierra entertainment row 4 : swat 4: the stetchkov | 2006 | microsoft windows | irrational games | vivendi universal games sierra entertainment row 5 : swat force | 2006 | mobile phones | kaolink | vivendi games mobile row 6 : swat: target liberty | 2007 | playstation portable | 3g studios | sierra entertainment row 7 : swat elite troops | 2008 | mobile phones | rovio mobile | vivendi games mobile ] Execute this SQL based on the above table: select publisher where year >= 6
sierra entertainment, argonaut games sierra entertainment, vivendi universal games sierra entertainment, vivendi universal games sierra entertainment, vivendi games mobile, sierra entertainment, vivendi games mobile
[ header: | | | | | | | | | | row 1 : 2010s | 2010 | 2011 | 2012 | 2013 | 2014 | 2015 | 2016 | 2017 | 2018 | None row 2 : 2000s | 2000 | 2001 | 2002 | 2003 | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 row 3 : 1990s | 1990 | 1991 | 1992 | 1993 | 1994 | 1995 | 1996 | 1997 | 1998 | 1999 row 4 : 1980s | 1980 | 1981 | 1982 | 1983 | 1984 | 1985 | 1986 | 1987 | 1988 | 1989 row 5 : 1970s | 1970 | 1971 | 1972 | 1973 | 1974 | 1975 | 1976 | 1977 | 1978 | 1979 row 6 : 1960s | 1960 | 1961 | 1962 | 1963 | 1964 | 1965 | 1966 | 1967 | 1968 | 1969 row 7 : 1950s | 1950 | 1951 | 1952 | 1953 | 1954 | 1955 | 1956 | 1957 | 1958 | 1959 row 8 : 1940s | 1940 | 1941 | 1942 | 1943 | 1944 | 1945 | 1946 | 1947 | 1948 | 1949 row 9 : 1930s | 1930 | 1931 | 1932 | 1933 | 1934 | 1935 | 1936 | 1937 | 1938 | 1939 row 10 : 1920s | 1920 | 1921 | 1922 | 1923 | 1924 | 1925 | 1926 | 1927 | 1928 | 1929 row 11 : 1910s | 1910 | 1911 | 1912 | 1913 | 1914 | 1915 | 1916 | 1917 | 1918 | 1919 row 12 : 1900s | 1900 | 1901 | 1902 | 1903 | 1904 | 1905 | 1906 | 1907 | 1908 | 1909 row 13 : 1890s | 1890 | 1891 | 1892 | 1893 | 1894 | 1895 | 1896 | 1897 | 1898 | 1899 row 14 : 1880s | 1880 | 1881 | 1882 | 1883 | 1884 | 1885 | 1886 | 1887 | 1888 | 1889 row 15 : 1870s | 1870 | 1871 | 1872 | 1873 | 1874 | 1875 | 1876 | 1877 | 1878 | 1879 ] Execute this SQL based on the above table: select count ( ) where > ( select where = '1940s' )
7
[ header: name | party | took office | left office row 1 : glenlyon campbell | conservative | 1903 | 1908 row 2 : duncan cameron | conservative | 1908 | 1910 row 3 : sam hughes | conservative | 1910 | 1915 row 4 : william findlater | liberal | 1915 | 1922 row 5 : arthur berry | progressive | 1922 | 1932 row 6 : None | liberal-progressive | 1932 | 1936 row 7 : stanley fox | social credit | 1936 | 1940 row 8 : None | social credit (coalition) | 1940 | 1949 row 9 : ray mitchell | liberal-progressive | 1949 | 1958 ] Execute this SQL based on the above table: select min ( abs ( left office - left office ) )
0
[ header: type | gauge | railway | works no. | year | builder row 1 : 0-4-0+0-4-0 | 600 mm | c.f.vicinaux du may | 1953-1956 | 1921 | st. leonard, bel row 2 : 0-4-0+0-4-0 | 600 mm | c.f.vicinaux du may | 2021-2025 | 1924 | st. leonard, bel row 3 : 0-4-0+0-4-0 | 600 mm | c.f.vicinaux du may | 2056-2059 | 1926 | st. leonard, bel row 4 : 0-4-0+0-4-0 | 750 mm | mines du zaccar, alg | 1752 | 1936 | du haine saint-pierre row 5 : 0-4-0+0-4-0 | 1000 mm | piracicaba sugar co., bra | 2108 | 1927 | st. leonard, bel row 6 : 2-6-0+0-6-2 | 2 ft 6 in | victorian government railways, australia | 6267-6268 | 1926 | beyer, peacock row 7 : 2-6-0+0-6-2 | 3 ft 6 in | western australian government railways | 46-55 | 1930 | western australian government r'ys row 8 : 2-6-0+0-6-2 | 4 ft 81⁄2 in | argentine north eastern (fcne | 6349-6352 | 1927 | beyer, peacock row 9 : 2-6-2+2-6-2 | 1000 mm | great western of brazil | 1024-1025 | 1929 | armstrong whitworth row 10 : 2-6-2+2-6-2 | 3 ft 6 in | guayaquil & qui | 6527-6529 | 1929 | beyer, peacock row 11 : 2-6-2+2-6-2 | 3 ft 6 in | rhodesia railways | 6510-6515 | 1929 | beyer, peacock row 12 : 2-6-2+2-6-2 | 3 ft 6 in | south african railways | 1043-1068 | 1928 | krupp row 13 : 2-6-2+2-6-2 | 3 ft 6 in | south african railways | 3115-3119 | 1929 | linke-hofmann row 14 : 2-6-2+2-6-2 | 3 ft 6 in | trans zambezia, mocambi | 6380 | 1930 | beyer, peacock row 15 : 2-6-2+2-6-2 | 5 ft 6 in | sao paulo railway, bra | 6367-6372 | 1927 | beyer, peacock row 16 : 2-8-0+0-8-2 | 4 ft 81⁄2 in | ottoman railways, turkey | 6324 | 1927 | beyer, peacock row 17 : 2-8-2+2-8-2 | 3 ft 6 in | rhodesia railways | 6562-6569 | 1929-30 | beyer, peacock row 18 : 4-4-2+2-4-4 | 4 ft 81⁄2 in | entre rios railway (fcer), argent | 6360-6364 | 1927 | beyer, peacock row 19 : 4-6-2+2-6-4 | 3 ft 6 in | nigerian railways | 7051-7056 | 1943 | beyer, peacock row 20 : 4-8-2+2-8-4 | 1000 mm | cf d'afrique occidental | 2748-2754 | 1941 | franco-belge, france row 21 : 4-8-2+2-8-4 | 1000 mm | kenya uganda railway | 6516-6523 | 1928 | beyer, peacock ] Execute this SQL based on the above table: select railway where works no. = 2108 and builder = 'st. leonard, belgium' and railway != 'franco-belge, france'
piracicaba sugar co., brazil
[ header: tenure | coach | years | record | pct. row 1 : 1892 | shelby fletcher | 1 | 1-0 | 1 row 2 : 1893 | w. m. walker | 1 | 4-6-1 | 0.409 row 3 : 1894 | j. h. lyons | 1 | 10-3 | 0.769 row 4 : 1895 | j. f. jenkins | 1 | 9-3 | 0.75 row 5 : 1896 | eli abbott | 1 | 5-5 | 0.5 row 6 : 1897 | "kid" peeples | 1 | 10-0 | 1 row 7 : 1898 | joseph black | 1 | 2-3 | 0.4 row 8 : 1899 | f. c. owen | 1 | 3-6 | 0.333 row 9 : 1900 | ardis smith | 1 | 9-3 | 0.75 row 10 : 1901-1905 | thomas stouch | 5 | 49-25-1 | 0.66 row 11 : 1906 | schwartz | 1 | 4-16-1 | 0.214 row 12 : 1907-1910 | j. w. h. poll | 4 | 66-22-1 | 0.747 row 13 : 1911 | guy lowman | 1 | 12-5 | 0.706 row 14 : 1912-1915 | d. v. graves | 4 | 66-30-1 | 0.686 row 15 : 1916-1919 | b. l. noojin | 4 | 55-18 | 0.753 row 16 : 1920 | gordon w. lewis | 1 | 15-2 | 0.882 row 17 : 1921-1923 | charles bernier | 3 | 28-35-4 | 0.448 row 18 : 1924-1927 | wallace wade | 4 | 61-32-2 | 0.653 row 19 : 1928 | hank crisp | 1 | 12-7-2 | 0.619 row 20 : 1929-1930 | jess neely | 2 | 28-15-2 | 0.644 row 21 : 1931-1932 | sam hinton | 2 | 23-7-2 | 0.75 row 22 : 1933-1934 | jennings b. whitworth | 2 | 21-11 | 0.656 row 23 : 1943 | paul burnham | 1 | 12-6 | 0.667 row 24 : 1946 | dixie howell | 1 | 13-7 | 0.65 row 25 : 1935-1942 1947-1963 | tilden campbell | 25 | 355-168-4 | 0.677 row 26 : 1964-1969 | joe sewell | 6 | 106-79 | 0.573 row 27 : 1970-1979 | hayden riley | 10 | 236-206-1 | 0.533 row 28 : 1980-1994 | barry shollenberger | 15 | 487-334-1 | 0.593 row 29 : 1995-2009 | jim wells | 15 | 625-322 | 0.656 row 30 : 2010-present | mitch gaspard | 4 | 133-115 | 0.536 row 31 : totals | 30 coaches | 121 seasons | 2,461-1,490-23 | 0.623 ] Execute this SQL based on the above table: select years where record = '10-3'
1.0
[ header: year | song | chart positions us country | chart positions can country | album row 1 : 1968 | "god help you woman" | 32 | 24 | singles only row 2 : 1969 | "please take me back" | 40 | None | singles only row 3 : 1969 | "i'm not through loving you" | 52 | None | singles only row 4 : 1969 | "molly" | 53 | None | singles only row 5 : 1973 | "i see his love all over you" | 67 | None | singles only row 6 : 1974 | "fool passin' through" | 68 | None | singles only row 7 : 1974 | "forgettin' 'bout | 51 | None | singles only row 8 : 1975 | "one, two, three (never | 88 | None | singles only row 9 : 1975 | "woman, woman" | 43 | 46 | singles only row 10 : 1976 | "she's free but she's | 66 | None | singles only row 11 : 1977 | "chasin' my tail" | 88 | None | singles only row 12 : 1977 | "don't let my love stand in your | 86 | None | singles only row 13 : 1983 | "when you're not a lady" | 16 | None | the man in the mirror row 14 : 1983 | "you got me running" | 28 | None | the man in the mirror row 15 : 1983 | "the man in the mirror" | 17 | None | the man in the mirror row 16 : 1984 | "if i could only dance with you" | 10 | 10 | the man in the mirror row 17 : 1984 | "you're gettin' to me | 1 | 3 | the man in the mirror row 18 : 1984 | "let me down easy" | 16 | 33 | the man in the mirror row 19 : 1985 | "i'll be your fool tonight" | 54 | None | past the point of no return row 20 : 1985 | "in another minute" | 27 | None | past the point of no return row 21 : 1986 | "if i don't love you" | 53 | None | past the point of no return row 22 : 1986 | "the lights of albuquerque" | 40 | None | everybody knows i'm yours ] Execute this SQL based on the above table: select album order by song desc limit 1
the man in the mirror
[ header: season | team | country | competition | matches | goals row 1 : 1999 | djurgardens if | sweden | allsvenskan | 15 | 1 row 2 : 2000 | djurgardens if | sweden | superettan | 15 | 3 row 3 : 2001 | djurgardens if | sweden | allsvenskan | 22 | 7 row 4 : 2002-2003 | grazer ak | austria | bundesliga | 24 | 6 row 5 : 2003 | denizlispor | turkey | super lig | 3 | 0 row 6 : 2003 | landskrona bois | sweden | allsvenskan | 11 | 3 row 7 : 2004 | landskrona bois | sweden | allsvenskan | 22 | 4 row 8 : 2005 | djurgardens if | sweden | allsvenskan | 24 | 12 row 9 : 2006 | djurgardens if | sweden | allsvenskan | 17 | 6 row 10 : 2007 | djurgardens if | sweden | allsvenskan | 23 | 4 row 11 : 2008 | djurgardens if | sweden | allsvenskan | 29 | 6 row 12 : 2008-09 | esbjerg fb | denmark | superliga | 6 | 0 row 13 : 2010 | aab | denmark | superliga | 3 | 1 row 14 : 2011 | assyriska ff | sweden | superettan | 19 | 5 row 15 : total | total | total | total | 233 | 58 ] Execute this SQL based on the above table: select count ( team ) where id < ( select id where team = 'grazer ak' )
3
[ header: country | url | opening date | closing date row 1 : australia (links to habbo english due | habbo.com.au | november 2004 | june 2, 2010 row 2 : austria (links to habbo | habbo.at | may 2006 | None row 3 : belgium (links to habb | habbo.be | may 2006 | None row 4 : brazil | habbo.com.br habb | february 2006 april 2012 | None row 5 : canada (links to habbo english due | habbo.ca | june 2004 | may 5, 2010 row 6 : chile (links to habbo | habbo.cl | july 2006 | None row 7 : people's republic of china (closed/ | habbo.cn | july 2006 | august 24, 2007 row 8 : colombia (links to habb | habbo.com.co | july 2006 | None row 9 : denmark | habbo.dk | december 2004 | None row 10 : ecuador (links to habb | habbo.es | None | None row 11 : france | habbo.fr | november 2004 | None row 12 : germany | habbo.de | march 2004 | None row 13 : italy | habbo.it | september 2003 | None row 14 : japan (links to english) | habbo.jp | february 2003 | april 16, 2009 row 15 : netherlands | habbo.nl | february 2004 | None row 16 : peru (links to habbo spa | habbo.com.pe | None | None row 17 : english-language uk & ie | habbo.com | may 5, 2010 | None row 18 : turkey | habbo.com.tr | august 2012 | None row 19 : malaysia (links to habb | habbo.com.my | july 2006 | None row 20 : netherlands | habbo.nl | february 2004 | None row 21 : norway | habbo.no | june 2004 | None row 22 : russia (used to link to the habb | habbo.ru | september 2007 | february 6, 2009 row 23 : paraguay (links to habb | habbo.es | None | None row 24 : spain | habbo.es | september 2003 | None row 25 : sweden | habbo.se | december 2003 | None row 26 : switzerland (links to hab | habbo.ch | august 2001 | october 4, 2010 row 27 : united states (links to habbo english | habbo.com | september 2004 | june 10, 2010 row 28 : uk & ireland (link | habbo.co.uk habbo | january 4, 2001 | june 10, 2010 row 29 : poland (links to habbo | habbo.com | february 2011 | january 2012 row 30 : panama (links to habbo | habbo.es | None | None ] Execute this SQL based on the above table: select url where url = 'habbo.at'
habbo.at
[ header: city of licence | analog channel | digital channel | virtual channel | callsign | network | notes row 1 : brandon | 4 | None | None | ckyb-tv | ctv | satellite of cky-dt winn row 2 : dauphin | 12 | None | None | ckyd-tv | ctv | satellite of cky-dt winn row 3 : fisher branch | 8 | None | None | ckya-tv | ctv | satellite of cky-dt winn row 4 : flin flon | 13 | None | None | ckyf-tv | ctv | satellite of cky-dt winn row 5 : mccreary | 13 | None | None | ckyb-tv | ctv | satellite of cky-dt winn row 6 : minnedosa | 2 | None | None | cknd-tv-2 | global | None row 7 : the pas | 12 | None | None | ckyp-tv | ctv | satellite of cky-dt winn row 8 : portage la prairie | None | 13 | 13.1 | chmi-dt | city | None row 9 : thompson | 9 | None | None | ckyt-tv | ctv | satellite of cky-dt winn row 10 : winnipeg | None | 51 | 3.1 | cbwft-dt | r-c | None row 11 : winnipeg | None | 27 | 6.1 | cbwt-dt | cbc | None row 12 : winnipeg | None | 7 | 7.1 | cky-dt | ctv | None row 13 : winnipeg | None | 40 | 9.1 | cknd-dt | global | None row 14 : winnipeg | None | 13 | 13.1 | chmi-dt | city | mts tv hd row 15 : winnipeg | None | 35 | 35.1 | ciit-dt | religious independent | None ] Execute this SQL based on the above table: select count ( city of licence ) where city of licence = 'winnipeg'
6
[ header: locomotive | named | serial no | entered service | gauge | livery row 1 : bl26 | bob hawke | 83-1010 | march 1983 | standard | pacific national blue & yellow row 2 : bl27 | None | 83-1011 | august 1983 | standard | pacific national blue & yellow row 3 : bl28 | None | 83-1012 | september 1983 | standard | pacific national blue & yellow row 4 : bl29 | None | 83-1013 | october 1983 | broad | pacific national blue & yellow row 5 : bl30 | None | 83-1014 | december 1983 | standard | pacific national blue & yellow row 6 : bl31 | None | 83-1015 | november 1983 | standard | pacific national blue & yellow row 7 : bl32 | None | 83-1016 | february 1984 | broad | national rail orange & grey row 8 : bl33 | None | 83-1017 | april 1984 | standard | pacific national blue & yellow row 9 : bl34 | None | 83-1018 | june 1984 | broad | pacific national blue & yellow row 10 : bl35 | None | 83-1019 | july 1984 | standard | pacific national blue & yellow ] Execute this SQL based on the above table: select count ( gauge )
10
[ header: district | counties represented | delegate | party | first elected | committee row 1 : 1a | allegany, garrett | wendell r. beitzel | republican | 2006 | health and government operations row 2 : 1b | allegany | kevin kelly | democratic | 1986 | judiciary row 3 : 1c | allegany, washington | leroy e. myers, j | republican | 2002 | appropriations row 4 : 2a | washington | andrew a. serafini | republican | 2008 | ways and means row 5 : 2b | washington | christopher b. shank | republican | 1998 | judiciary row 6 : 2c | washington | john p. donoghu | democratic | 1990 | health and government operations row 7 : 3a | frederick | galen r. clagett | democratic | 2002 | appropriations row 8 : 3a | frederick | sue hecht | democratic | 1994 | economic matters row 9 : 3b | frederick, washington | michael hough | republican | 2002 | health and government operations row 10 : 4a | frederick | joseph r. bartlet | republican | 1998 | ways and means row 11 : 4a | frederick | kelly m. schulz | republican | 2011 | environmental matters row 12 : 4b | carroll, frederick | donald b. elliot | republican | 1986 | health and government operations row 13 : 5a | carroll | tanya thornton shewell | republican | 2004 | environmental matters row 14 : 5a | carroll | nancy r. stocksdale | republican | 1994 | appropriations row 15 : 9b | carroll | susan w. krebs | republican | 2002 | ways and means ] Execute this SQL based on the above table: select first elected where counties represented = 'frederick'
2002, 1994, 1998, 2011
[ header: year | tournament | venue | result | rank | event row 1 : 1993 | world championships | stuttgart, germany | 7911 | 12th | decathlon row 2 : 1993 | universiade | buffalo, united states | 7864 | 2nd | decathlon row 3 : 1994 | european indoor championships | paris, france | 5888 | 7th | heptathlon row 4 : 1994 | hypo-meeting | gotzis, austria | 7779 | 18th | decathlon row 5 : 1994 | european championships | helsinki, finland | 7272 | 20th | decathlon row 6 : 1995 | hypo-meeting | gotzis, austria | 8041 | 12th | decathlon row 7 : 1995 | universiade | fukuoka, japan | 7943 | 5th | decathlon row 8 : 1995 | world championships | gothenburg, sweden | 8042 | 11th | decathlon row 9 : 1996 | olympic games | atlanta, usa | None | dnf | decathlon row 10 : 1997 | world championships | athens, greece | 8140 | 11th | decathlon row 11 : 1998 | european indoor championships | valencia, spain | 6055 (pb) | 7th | heptathlon row 12 : 1998 | hypo-meeting | gotzis, austria | 8179 (pb) | 9th | decathlon row 13 : 1999 | hypo-meeting | gotzis, austria | 7925 | 10th | decathlon row 14 : 1999 | world championships | seville, spain | 7851 | 12th | decathlon row 15 : 2000 | hypo-meeting | gotzis, austria | 7876 | 16th | decathlon row 16 : 2000 | olympic games | sydney, australia | 7932 | 17th | decathlon ] Execute this SQL based on the above table: select year where year in ( 1995 , 1996 ) order by event limit 1
1995
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | russia | 3 | 0 | 2 | 5 row 2 : 2 | italy | 1 | 1 | 0 | 2 row 3 : 3 | finland | 0 | 1 | 0 | 1 row 4 : 3 | germany | 0 | 1 | 0 | 1 row 5 : 3 | switzerland | 0 | 1 | 0 | 1 row 6 : 6 | france | 0 | 0 | 1 | 1 row 7 : 6 | georgia | 0 | 0 | 1 | 1 row 8 : None | total | 4 | 4 | 4 | 12 ] Execute this SQL based on the above table: select nation where id = ( select id where nation = 'france' ) + 1
georgia
[ header: tie no | home team | score | away team | attendance row 1 : 1 | chesterfield | 1-0 | nottingham forest | 15 february 1997 row 2 : 2 | leicester city | 2-2 | chelsea | 16 february 1997 row 3 : replay | chelsea | 1-0 | leicester city | 26 february 1997 row 4 : 3 | derby county | 3-2 | coventry city | 26 february 1997 row 5 : 4 | manchester city | 0-1 | middlesbrough | 15 february 1997 row 6 : 5 | bradford city | 0-1 | sheffield wednesday | 16 february 1997 row 7 : 6 | wimbledon | 2-1 | queens park rangers | 15 february 1997 row 8 : 7 | leeds united | 2-3 | portsmouth | 15 february 1997 row 9 : 8 | birmingham city | 1-3 | wrexham | 15 february 1997 ] Execute this SQL based on the above table: select tie no where tie no in ( 4 , 1 ) group by tie no order by count ( home team ) desc limit 1
4
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 5 | nigel mansell | williams-renault | 65 | 1:56:10.674 | 1 | 10 row 2 : 2 | 19 | michael schumacher | benetton-ford | 65 | + 23.914 | 2 | 6 row 3 : 3 | 27 | jean alesi | ferrari | 65 | + 26.462 | 8 | 4 row 4 : 4 | 2 | gerhard berger | mclaren-honda | 65 | + 1:20.647 | 7 | 3 row 5 : 5 | 9 | michele alboreto | footwork-mugen-honda | 64 | + 1 lap | 16 | 2 row 6 : 6 | 22 | pierluigi martini | dallara-ferrari | 63 | + 2 laps | 13 | 1 row 7 : 7 | 10 | aguri suzuki | footwork-mugen-honda | 63 | + 2 laps | 19 | None row 8 : 8 | 16 | karl wendlinger | march-ilmor | 63 | + 2 laps | 9 | None row 9 : 9 | 1 | ayrton senna | mclaren-honda | 62 | spun off | 3 | None row 10 : 10 | 28 | ivan capelli | ferrari | 62 | spun off | 5 | None row 11 : 11 | 23 | christian fittipaldi | minardi-lamborghini | 61 | + 4 laps | 22 | None row 12 : 12 | 17 | paul belmondo | march-ilmor | 61 | + 4 laps | 23 | None row 13 : ret | 21 | jj lehto | dallara-ferrari | 56 | spun off | 12 | None row 14 : ret | 15 | gabriele tarquini | fondmetal-ford | 56 | spun off | 18 | None row 15 : ret | 11 | mika hakkinen | lotus-ford | 56 | spun off | 21 | None row 16 : ret | 26 | erik comas | ligier-renault | 55 | spun off | 10 | None row 17 : ret | 29 | bertrand gachot | larrousse-lamborghini | 35 | engine | 24 | None row 18 : ret | 3 | olivier grouillard | tyrrell-ilmor | 30 | spun off | 15 | None row 19 : ret | 24 | gianni morbidelli | minardi-lamborghini | 26 | handling | 25 | None row 20 : ret | 33 | mauricio gugelmin | jordan-yamaha | 24 | spun off | 17 | None row 21 : ret | 14 | andrea chiesa | fondmetal-ford | 22 | spun off | 20 | None row 22 : ret | 6 | riccardo patrese | williams-renault | 19 | spun off | 4 | None row 23 : ret | 12 | johnny herbert | lotus-ford | 13 | spun off | 26 | None row 24 : ret | 25 | thierry boutsen | ligier-renault | 11 | engine | 14 | None row 25 : ret | 20 | martin brundle | benetton-ford | 4 | spun off | 6 | None row 26 : ret | 4 | andrea de cesaris | tyrrell-ilmor | 2 | engine | 11 | None row 27 : dnq | 30 | ukyo katayama | larrousse-lamborghini | None | None | None | None row 28 : dnq | 32 | stefano modena | jordan-yamaha | None | None | None | None row 29 : dnpq | 34 | roberto moreno | moda-judd | None | None | None | None ] Execute this SQL based on the above table: select count ( * ) ( select pos group by pos having count ( * ) >= 5 )
1
[ header: year | tournament | surface | round | winner | score row 1 : 1991 | basel | hard | s | john mcenroe | 6-1, 6-3 row 2 : 1989 | toulouse | hard | f | jimmy connors | 6-3, 6-3 row 3 : 1987 | montreal / toronto | hard | q | jimmy connors | 6-3, 3-6, 6-3 row 4 : 1986 | san francisco | carpet | f | john mcenroe | 7-6, 6-3 row 5 : 1985 | chicago | carpet | f | john mcenroe | None row 6 : 1984 | montreal / toronto | hard | s | john mcenroe | 2-6, 6-2, 6-3 row 7 : 1984 | wimbledon | grass | f | john mcenroe | 6-1, 6-1, 6-2 row 8 : 1984 | roland garros | clay | s | john mcenroe | 7-5, 6-1, 6-2 row 9 : 1984 | dallas wct | carpet | f | john mcenroe | 6-1, 6-2, 6-3 row 10 : 1983 | cincinnati | hard | s | john mcenroe | 6-7, 6-1, 6-4 row 11 : 1982 | san francisco | carpet | f | john mcenroe | 6-1, 6-3 row 12 : 1982 | wimbledon | grass | f | jimmy connors | 3-6, 6-3, 6-7, 7 row 13 : 1982 | london, queen's club | grass | f | jimmy connors | 7-5, 6-3 row 14 : 1982 | philadelphia | carpet | f | john mcenroe | 6-3, 6-3, 6-1 row 15 : 1981 | new york city | carpet | rr | john mcenroe | 6-2, 7-5 row 16 : 1981 | wembley | carpet | f | jimmy connors | 3-6, 2-6, 6-3, row 17 : 1980 | us open | hard | s | john mcenroe | 6-4, 5-7, 0-6, row 18 : 1980 | wimbledon | grass | s | john mcenroe | 6-3, 3-6, 6-3, row 19 : 1980 | dallas wct | carpet | f | jimmy connors | 2-6, 7-6, 6-1, row 20 : 1980 | memphis | carpet | f | john mcenroe | 7-6, 7-6 row 21 : 1979 | us open | hard | s | john mcenroe | 6-3, 6-3, 7-5 row 22 : 1979 | las vegas | hard | s | jimmy connors | 7-5, 6-4 row 23 : 1979 | pepsi grand slam | clay | s | jimmy connors | 6-3, 6-4 row 24 : 1978 | masters | carpet | rr | john mcenroe | 7-5, 3-0, ret row 25 : 1978 | us open | hard | s | jimmy connors | 6-2, 6-2, 7-5 row 26 : 1977 | boston | clay | r32 | jimmy connors | 5-7, 6-2, 7-5 row 27 : 1977 | wimbledon | grass | s | jimmy connors | 6-3, 6-3, 4-6, ] Execute this SQL based on the above table: select count ( winner ) where tournament = 'us open'
3
[ header: launch date | operator | name | sample origin | samples returned | recovery date | mission result row 1 : june 14, 1969 | None | luna e-8-5 no.402 | the moon | none | None | failure launch failure row 2 : july 13, 1969 | None | luna 15 | the moon | none | None | failure crash-landed on the moon row 3 : 23 september 1969 | None | cosmos 300 | the moon | none | None | failure failed to leave earth orbit row 4 : 22 october 1969 | None | cosmos 305 | the moon | none | None | failure failed to leave earth orbit row 5 : 6 february 1970 | None | luna e-8-5 no.405 | the moon | none | None | failure launch failure row 6 : september 12, 1970 | None | luna 16 | the moon | 101 grams (3.6 oz) of lunar | september 24, 1970 | success row 7 : september 2, 1971 | None | luna 18 | the moon | none | None | failure crash-landed on the moon row 8 : february 14, 1972 | None | luna 20 | the moon | 55 grams (1.9 oz) of lunar | february 25, 1972 | success row 9 : november 2, 1974 | None | luna 23 | the moon | none | None | failure drilling device damaged on moon landing mission abandoned row 10 : october 16, 1975 | None | luna e-8-5m no.412 | the moon | none | None | failure launch failure row 11 : august 9, 1976 | None | luna 24 | the moon | 170 grams (6.0 oz) of | august 22, 1976 | success row 12 : 1979 (planned) (canceled 1977) | None | mars 79 ("mars 5m") | mars | None | None | canceled in 1977 planned to return 500 grams (18 row 13 : february 7, 1999 | None | stardust | 81p/wild (comet | over 1 million comet particles | january 15, 2006 | success row 14 : august 8, 2001 | None | genesis | solar wind | solar wind particles | september 8, 2004 | partial success return capsule damaged after failed parachute row 15 : may 9, 2003 | None | hayabusa | 25143 itokawa (asteroid surface) | 1,500 grains of asteroid particles | june 13, 2010 | partial success planned to return several hundred milligram row 16 : november 8, 2011 | None | fobos-grunt | phobos (mars satellite soil) | none | None | failure failed to leave earth orbit crashed into the southern row 17 : july 2014 (planned, earliest) | None | hayabusa 2 | planned for (162173) 1999 ju3 | None | 2020 (planned) | None row 18 : 2016 (planned) | None | osiris-rex | planned for 101955 bennu ( | None | 2023 (planned) | planned to return between 60 g to 2 kg row 19 : 2017 (planned) | None | chang'e 5 | the moon | None | 2017 (planned) | planned to return at least 2 kilograms (4.4 row 20 : 2020-2022 (proposed) | None | marcopolo-r | near-earth object (asteroid surface) | None | to be determined | to return samples from a yet to be determined row 21 : 2020/2021 (planned) | None | luna-grunt | the moon | None | 2021 (planned) | planned to return up to 1 kilogram (2.2 row 22 : mid-2020s (proposed) | None | meji msr | mars | None | to be determined | to be determined row 23 : mid-2020s (proposed) | None | mars-grunt | mars | None | to be determined | intended to return about 200 grams (7.1 o row 24 : by 2030 | None | chinese mars sample return mission | mars | None | to be determined | to be determined ] Execute this SQL based on the above table: select count ( * ) where id < ( select id where launch date = 'november 8, 2011' ) and operator = 'luna 23'
0
[ header: player | matches | innings | not out | runs | high score | average | strike rate | 100s | 50s row 1 : anthony mcgrath | 9 | 9 | 2 | 392 | 72 | 56 | 132.43 | 0 | 4 row 2 : jacques rudolph | 9 | 8 | 1 | 191 | 56 | 27.29 | 129.05 | 0 | 1 row 3 : darren gough | 9 | 4 | 3 | 26 | 20 | 26 | 136.84 | 0 | 0 row 4 : gerard brophy | 9 | 9 | 1 | 177 | 57 | 22.13 | 113.46 | 0 | 1 row 5 : andrew gale | 9 | 9 | 2 | 106 | 45 | 15.14 | 86.18 | 0 | 0 row 6 : michael vaughan | 7 | 7 | 0 | 104 | 34 | 14.86 | 138.67 | 0 | 0 row 7 : craig white | 2 | 2 | 0 | 26 | 26 | 13 | 92.86 | 0 | 0 row 8 : tim bresnan | 9 | 8 | 3 | 58 | 15 | 11.6 | 85.29 | 0 | 0 row 9 : chris taylor | 2 | 2 | 1 | 10 | 10 | 10 | 111.11 | 0 | 0 row 10 : simon guy | 4 | 2 | 0 | 11 | 7 | 5.5 | 78.57 | 0 | 0 row 11 : richard pyrah | 9 | 5 | 2 | 16 | 8 | 5.33 | 114.29 | 0 | 0 row 12 : adil rashid | 8 | 6 | 2 | 18 | 10 | 4.5 | 94.74 | 0 | 0 row 13 : adam lyth | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 row 14 : david wainwright | 2 | 1 | 1 | 3 | 3 | None | 33.33 | 0 | 0 row 15 : matthew hoggard | 9 | 0 | 0 | 0 | 0 | None | None | 0 | 0 row 16 : azeem rafi | 1 | 0 | 0 | 0 | 0 | None | None | 0 | 0 row 17 : total batting | 99 | 73 | 18 | 1138 | 72 | 20.69 | 116 | 0 | 6 ] Execute this SQL based on the above table: select not out where player = 'azeem rafiq' and average is null
0.0
[ header: rank | name | nationality | time (hand) | notes row 1 : 1 | tommy green | great britain | 4:50:10 | or row 2 : 2 | janis dalins | latvia | 4:57:20 | None row 3 : 3 | ugo frigerio | italy | 4:59:06 | None row 4 : 4 | karl hahnel | germany | 5:06:06 | None row 5 : 5 | ettore rivolta | italy | 5:07:39 | None row 6 : 6 | paul sievert | germany | 5:16:41 | None row 7 : 7 | henri quintric | france | 5:27:25 | None row 8 : 8 | ernie crosbie | united states | 5:28:02 | None row 9 : 9 | bill chisholm | united states | 5:51:00 | None row 10 : 10 | alfred maasik | estonia | 6:19:00 | None row 11 : None | henry cieman | canada | None | dnf row 12 : None | john moralis | greece | None | dnf row 13 : None | francesco pretti | italy | None | dnf row 14 : None | arthur tell schwab | switzerland | None | dnf row 15 : None | harry hinkel | united states | None | dnf ] Execute this SQL based on the above table: select time (hand) where nationality = 'united states'
5, 5
[ header: no. | player | birth date | weight | height | position | current club row 1 : 4 | ardo kreek | august 7, 1986 (age 27) | 96 | 203 | middle blocker | paris volley row 2 : 5 | kert toobal | june 3, 1979 (age 35) | 78 | 189 | setter | sivas 4 eylul row 3 : 6 | martti juhkami | june 6, 1988 (age 26) | 96 | 196 | spiker | tv buhl row 4 : 7 | argo meresaar | january 13, 1980 (age 34) | 107 | 206 | opposite | bigbank tartu row 5 : 8 | kusti nolvak | november 6, 1991 (age 22) | 81 | 186 | setter | ttu vk row 6 : 9 | robert taht | august 15, 1993 (age 20) | 80 | 190 | spiker | bigbank tartu row 7 : 11 | oliver venno | may 23, 1990 (age 24) | 105 | 210 | opposite | rennes volley 35 row 8 : 14 | rait rikberg | august 30, 1982 (age 31) | 80 | 174 | libero | bigbank tartu row 9 : 16 | edgar jarvekulg | june 12, 1988 (age 26) | 77 | 186 | libero | parnu vk row 10 : 17 | siim ennemuist | december 5, 1989 (age 24) | 89 | 196 | middle blocker | ttu vk row 11 : 18 | jaanus nommsalu | january 19, 1981 (age 33) | 94 | 200 | spiker | ttu vk row 12 : 19 | andri aganits | september 7, 1993 (age 20) | 99 | 207 | middle blocker | tv buhl ] Execute this SQL based on the above table: select count ( current club ) where height > 1549
0
[ header: iso/iec standard | title | status | description | wg row 1 : iso/iec tr 1975 | software engineering - guide to the software engineering body | published (2005) | identifies and describes the subset of body | 20 row 2 : iso/iec 15288 | systems and software engineering - system life cycle processes | published (2008) | establishes a common framework for describing | 7 row 3 : iso/iec 12207 | systems and software engineering - software life cycle processes | published (2008) | establishes a common framework for software life | 7 row 4 : iso/iec 20000-1 | information technology - service management - part 1 | published (2011) | specifies requirements for the service provider to plan, | 25 row 5 : iso/iec 15504-1 | information technology - process assessment - part 1 | published (2004) | provides overall information on the concepts of process assessment and | 10 row 6 : iso/iec/iee | systems and software engineering - architecture description | published (2011) | addresses the creation, analysis, and sustainment of | 42 row 7 : iso/iec tr 29 | software engineering - lifecycle profiles for very small | published (2011) | introduces the characteristics and requirements of a | 24 row 8 : iso/iec tr 9 | software engineering - product quality - part 2 | published (2003) | provides external metrics for measuring attributes of six external quality | None row 9 : iso/iec 10746-1 | information technology - open distributed processing - reference | published (1998) | provides: an introduction and motivation for od | 19 row 10 : iso/iec 19770-1 | information technology - software asset management - part | published (2012) | establishes a baseline for an integrated set | 21 row 11 : iso/iec/iee | systems and software engineering - requirements for managers of | published (2011) | specifies procedures for managing user documentation throughout the software | 2 row 12 : iso/iec/iee | systems and software engineering -- requirements for acquirers | published (2011) | defines the documentation process from the acquirer's | 2 row 13 : iso/iec/iee | systems and software engineering - requirements for testers | published (2009) | defines the process in which user documentation products are tested | 2 row 14 : iso/iec/iee | systems and software engineering - requirements for designers and | published (2008) | specifies the structure, content, and format for | 2 row 15 : iso/iec/iee | systems and software engineering - developing user documentation in | published (2011) | specifies the way in which user documentation can be | 2 ] Execute this SQL based on the above table: select count ( title )
15
[ header: pos | country | gold | silver | bronze | total row 1 : 1 | italy (ita) | 3 | 3 | 1 | 7 row 2 : 2 | united states (usa) | 3 | 0 | 1 | 4 row 3 : 3 | poland (pol) | 1 | 3 | 3 | 7 row 4 : 4 | soviet union (urs) | 1 | 2 | 2 | 5 row 5 : 5 | hungary (hun) | 1 | 0 | 0 | 1 row 6 : 5 | czechoslovakia (t | 1 | 0 | 1 | 2 row 7 : 7 | ghana (gha) | 0 | 1 | 0 | 1 row 8 : 7 | south africa (rsa) | 0 | 1 | 1 | 2 row 9 : 9 | great britain (gbr) | 0 | 0 | 3 | 3 row 10 : 10 | australia (aus) | 0 | 0 | 2 | 2 row 11 : 11 | japan (jpn) | 0 | 0 | 1 | 1 row 12 : 11 | united arab republic (egy) | 0 | 0 | 1 | 1 row 13 : 11 | finland (fin) | 0 | 0 | 1 | 1 row 14 : 11 | argentina (arg) | 0 | 0 | 1 | 1 row 15 : 11 | romania (rou) | 0 | 0 | 1 | 1 row 16 : 11 | germany (eua) | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select count ( country ) where bronze = 1392
0
[ header: year | competition | venue | position | notes row 1 : 2002 | asian junior championships | bangkok, thailand | 3rd | 1.76 m row 2 : 2004 | asian junior championships | ipoh, malaysia | 1st | 1.84 m row 3 : 2004 | world junior championships | grosseto, italy | 7th | 1.84 m row 4 : 2005 | universiade | izmir, turkey | 7th | 1.80 m row 5 : 2005 | asian championships | incheon, south korea | 3rd | 1.84 m row 6 : 2005 | asian indoor games | bangkok, thailand | 2nd | 1.84 m row 7 : 2006 | asian games | doha, qatar | 6th | 1.84 m row 8 : 2007 | asian championships | amman, jordan | 3rd | 1.91 m row 9 : 2007 | universiade | bangkok, thailand | 3rd | 1.90 m row 10 : 2007 | world championships | osaka, japan | 20th (q) | 1.88 m row 11 : 2007 | asian indoor games | macau | 3rd | 1.88 m row 12 : 2008 | asian indoor championships | doha, qatar | 2nd | 1.91 m row 13 : 2009 | universiade | belgrade, serbia | 14th (q) | 1.80 m row 14 : 2010 | asian indoor championships | tehran, iran | 2nd | 1.86 m row 15 : 2010 | world indoor championships | istanbul, turkey | 20th (q) | 1.81 m row 16 : 2010 | asian games | guangzhou, china | 3rd | 1.90 m row 17 : 2011 | asian championships | kobe, japan | 4th | 1.85 m row 18 : 2011 | universiade | shenzhen, china | 10th | 1.84 m ] Execute this SQL based on the above table: select competition where id = ( select id where competition = 'asian games' and year = 2010 ) + 1
asian championships
[ header: date | championship | location | category | surface | prev. result | prev. points | new points | outcome row 1 : 29 december 2013- 5 janu | brisbane international | brisbane (aus) | wta premier | hard | sf | 200 | 305 | final lost to serena williams row 2 : 14 january 2014- 27 jan | australian open | melbourne (aus) | grand slam | hard | w | 2000 | 430 | quarter-finals lost to agnies row 3 : 10 february 2014- 16 february | qatar total open | doha (qat) | wta premier 5 | hard | w | 900 | 0 | withdrew due to left foot injury row 4 : 3 march 2014- 16 march 2014 | indian wells | indian wells (usa) | wta premier mandatory | hard | qf | 250 | 45 | second round lost to lauren davis row 5 : 17 march 2013- 30 march 2014 | sony open tennis | miami (usa) | wta premier mandatory | hard | dnp | 0 | 0 | withdrew due to left foot injury row 6 : 5 may 2014- 11 may 2014 | mutua madrid masters | madrid (esp) | wta premier mandatory | clay | 2r | 60 | None | pending row 7 : 12 may 2014- 18 may 2014 | internazionali bnl | rome (ita) | wta premier 5 | clay | f | 700 | None | pending row 8 : 25 may 2014- 8 june 2014 | french open | paris (fra) | grand slam | clay | sf | 900 | None | pending row 9 : 23 june 2014- 6 july | wimbledon | london (gbr) | grand slam | grass | 2r | 100 | None | pending row 10 : 4 august 2014- 10 august 2014 | rogers cup | toronto (can) | wta premier 5 | hard | dnp | 0 | None | pending row 11 : 11 august 2014- 17 august 2014 | western and southern open | cincinnati (usa) | wta premier 5 | hard | w | 900 | None | pending row 12 : 25 august 2014- 8 september 2014 | us open | new york (usa) | grand slam | hard | f | 1400 | None | pending row 13 : 22 september 2014- 27 september 2014 | toray pan pacific open | wuhan (chn) | wta premier 5 | hard | 2r | 60 | None | pending row 14 : 27 september 2014- 5 octo | china open | beijing (chn) | wta premier mandatory | hard | 1r | 5 | None | pending row 15 : 20 october 2013- 26 | wta tour championships | singapore (sin) | wta tour championships | hard (i) | rr | 400 | None | pending ] Execute this SQL based on the above table: select prev. result where prev. points = 900
w, sf, w
[ 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 took office where party = 'nps'
29 december 1990, 16 september 1991, 12 august 2000
[ header: year | film | language | character | co-star | music | banner row 1 : 1941 | bhaktimala | telugu | radha | None | None | bhaskar films row 2 : 1941 | dharmapatni | tamil | None | None | None | famous films row 3 : 1944 | tahsildar | telugu | kamala | None | None | None row 4 : 1946 | gruhapravesam | telugu | janaki | None | None | sarati films row 5 : 1947 | ratnamala | telugu | ratnamala | c. s. r. an | c. r. subburaman | bharani pictures row 6 : 1949 | laila majnu | telugu | laila | a. nageswara r | c. r. subburaman | bharani pictures row 7 : 1949 | apoorva sagodhar | tamil | kanchana | m. k. radha | s. rajeswara | gemini studios row 8 : 1951 | malleeswari | telugu | malleeswari | n. t. rama r | adepalli rama r | vijaya studios row 9 : 1951 | mangala | hindi | mangala | None | None | gemini studios row 10 : 1952 | rani | tamil | None | s. balachander | c. r. subburaman | jupiter pictures row 11 : 1952 | rani | hindi | None | anoop kumar | c. r. subburaman | jupiter pictures row 12 : 1953 | chandirani | hindi | champa & chandi | dilip kumar | c. r. subburaman | bharani pictures row 13 : 1957 | makkalai petra magarasi | tamil | rangamma | sivaji ganesan | k. v. mahadevan | sri lakshmi row 14 : 1961 | batasari | telugu | madhavi | a. nageswara r | master venu | bharani pictures row 15 : 1965 | antastulu | telugu | None | a. nageswara r | k. v. mahadevan | None row 16 : 1967 | grihalakshmi | telugu | laxmi | None | None | None row 17 : 1967 | pattatthu rani | tamil | None | gemini ganesan | t. k. ramamoorth | None row 18 : 1984 | mangamma gari manavadu | telugu | mangamma | None | None | None row 19 : 1988 | attagaru swagatham | telugu | None | None | None | None ] Execute this SQL based on the above table: select character order by year asc limit 1
radha