inputs
stringlengths
291
3.71k
targets
stringlengths
1
2.65k
[ header: year | div. | pos. | cup | top scorer (league) | score row 1 : 2003 | uzl | 12th | 1/4 | None | None row 2 : 2004 | uzl | 7th | 1/4 | rahmat inogamov | 8 row 3 : 2005 | uzl | 12th | 1/2 | alisher kholiqov | 6 row 4 : 2006 | uzl | 11th | 1/4 | alisher kholiqov | 9 row 5 : 2007 | uzl | 9th | r16 | None | None row 6 : 2008 | uzl | 15th | 1/4 | lochin soliev | 8 row 7 : 2009 | uzl | 15th | 1/4 | None | None row 8 : 2010 | 1st | 1st | r32 | abdulatif juraev | 27 row 9 : 2011 | uzl | 9th | r32 | sukhrob nematov | 7 row 10 : 2012 | uzl | 7th | 1/2 | vokhid shodiev | 5 row 11 : 2013 | uzl | 6th | r16 | vokhid shodiev | 12 ] Execute this SQL based on the above table: select cup where year = 2003
1/4
[ header: name | lifetime | nationality | notable as | notes row 1 : paul iacono | b. 1988 | american | actor | g row 2 : janis ian | b. 1951 | american | folk musician | l row 3 : witi ihimaera | b. 1944 | new zealand | author | g row 4 : william inge | 1913-1973 | american | playwright, novelist | g row 5 : per imerslund | 1912-1943 | norwegian | nazi socialist soldier, writer | g row 6 : john inman | 1935-2007 | english | actor | g row 7 : daniela irasch | b. 1983 | austrian | ski jumper | l row 8 : doug ireland | b. 1946 | american | journalist, blogger | g row 9 : jim ireton | b. ? | american | politician | g row 10 : evelyn irons | 1900-2000 | scottish | journalist | l row 11 : hakan isacson | 1958-2002 | swedish | intelligence agent | g row 12 : richard isay | b. 1934 | american | author, psychiatrist | g row 13 : sharon isbin | b. 1956 | american | classical musician | l row 14 : taiga ishikawa | b. 1974 | japanese | politician, activist | g row 15 : sam irvin | b. 1956 | american | director | g row 16 : elisabeth ir | 1880-1942 | american | educator, psychologist, reformer | l row 17 : christopher isherwood | 1904-1986 | english | author | g row 18 : arturo islas | 1938-1991 | american | academic | g row 19 : maja ivarsson | b. 1979 | swedish | rock musician (the sounds) | b row 20 : george cecil ives | 1867-1950 | british | poet, writer, penal reformer, gay rights | g row 21 : james ivory | b. 1928 | american | filmmaker | g row 22 : boris izaguirre | b. 1965 | venezuelan | writer | g ] Execute this SQL based on the above table: select notable as where id = ( select id where notable as = 'journalist' ) - 1
politician
[ header: team | county | wins | years won row 1 : greystones | wicklow | 1 | 2011 row 2 : ballymore eustace | kildare | 1 | 2010 row 3 : maynooth | kildare | 1 | 2009 row 4 : ballyroan abbey | laois | 1 | 2008 row 5 : fingal ravens | dublin | 1 | 2007 row 6 : confey | kildare | 1 | 2006 row 7 : crettyard | laois | 1 | 2005 row 8 : wolfe tones | meath | 1 | 2004 row 9 : dundalk gaels | louth | 1 | 2003 ] Execute this SQL based on the above table: select team order by wins limit 1907
greystones, ballymore eustace, maynooth, ballyroan abbey, fingal ravens, confey, crettyard, wolfe tones, dundalk gaels
[ 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 ( host city ) where host city = 'salt lake city, utah'
1
[ header: tramway | country | city | height of pylons | span width, leaning straight line | span width, horizontal measurement | height of cable over ground | year of inauguration | notes row 1 : peak 2 peak gondola | canada | whistler | 65m | 3024 m | 3019 m | 436 m | 2008 | 3s aerial tramway constructed by doppel row 2 : hut of regensburg material transport aerial railway | austria | falbeson | None | None | None | 430 m | None | None row 3 : vanoise express | france | vanoise | none | 1850 m | 1800 m | 380 m | 2003 | None row 4 : aiguille du midi | france | chamonix | none | 2867 m | 2500 m | None | 1955 | 2nd section row 5 : vallee blanche aerial tramway | france | mont blanc | none | 2831 m, 1684 m | span is almost horizontal | appr. 300 m | 1958 | rock anchored support structure row 6 : 3s aerial tramway | austria | kitzbuhel | 0 m, 80m | 2507 m | None | 400 m | 2004 | None row 7 : sandia peak tramway | usa | albuquerque | 70.7 m, 21.33 m | 2353 m | None | 274 m | 1966 | None row 8 : feldmoos-chli-tit | switzerland | titlis | 37.6 m | 3476,2 m | None | None | 1979 | temp. site tramway, demolished in ] Execute this SQL based on the above table: select country order by tramway - notes limit 1
austria
[ header: place | player | country | score | to par row 1 : t1 | ed sneed | united states | 68-67=135 | -9 row 2 : t1 | craig stadler | united states | 69-66=135 | -9 row 3 : t3 | raymond floyd | united states | 70-68=138 | -6 row 4 : t3 | leonard thompson | united states | 68-70=138 | -6 row 5 : t5 | miller barber | united states | 75-64=139 | -5 row 6 : t5 | tom watson | united states | 68-71=139 | -5 row 7 : t5 | joe inman | united states | 68-71=139 | -5 row 8 : t8 | seve ballesteros | spain | 72-68=140 | -4 row 9 : t8 | jack nicklaus | united states | 69-71=140 | -4 row 10 : t8 | lou graham | united states | 69-71=140 | -4 ] Execute this SQL based on the above table: select count ( score ) where country = '68-67=135'
0
[ header: year | place | gold | silver | bronze row 1 : 1962 | cairo | mercedes mata (ven) | marjorie annan (usa) | elena shebashova (urs row 2 : 1966 | wiesbaden | claudia smirnova (urs | mercedes garcia (ven) | michele valery (fra) row 3 : 1967 | bologna | larisa gurvich (urs | claudia smirnova (urs | mirella lenzini (ita) row 4 : 1970 | phoenix | larissa korchinskaya (urs | nuria ortiz (mex | kari linden (nor) row 5 : 1971 | bologna | nuria ortiz (mex | larissa korchinskaya (urs | kari linden (nor) row 6 : 1974 | bern | larissa korchinskaya (urs | saskia brixner ( | evior melander (swe) row 7 : 1975 | munich | larisa gurvich (urs | pinky le grelle (bel) | ruth jordan (frg row 8 : 1977 | antibes | ruth jordan (frg | ila hill (usa) | bianca rosa hansberg row 9 : 1979 | montecatini terme | bianca rosa hansberg | larisa gurvich (urs | svetlana yakimova row 10 : 1981 | tucuman | lanying wu (chn) | ila hill (usa) | bianca rosa hansberg row 11 : 1982 | caracas | svetlana yakimova | meimei feng (chn) | weiping shao (chn) row 12 : 1986 | suhl | svetlana demina ( | michaela rink (frg | connie schiller (usa) row 13 : 1987 | valencia | meimei feng (chn) | bonnie mc laurin (us | nuria ortiz (mex row 14 : 1989 | montecatini terme | shan zhang (chn) | antonella parrini (it | erzsebet vasvari row 15 : 1991 | perth | jong ran pak (prk | svetlana demina ( | erzsebet vasvari row 16 : 1994 | fagnano | erdzhanik avetisyan | diana igaly (hun) | daniela bolis (ita row 17 : 1999 | tampere | erdzhanik avetisyan | cristina vitali (ita) | svetlana demina ( row 18 : 2001 | cairo | zemfira meftakhe | olga panarina ( | cristina vitali (ita) row 19 : 2002 | lahti | diana igaly (hun) | andrea stranovska (svk | elena little (gbr) row 20 : 2003 | nicosia | ning wei (chn) | katiuscia spada (it | diana igaly (hun) ] Execute this SQL based on the above table: select year where bronze = 'connie schiller (usa)'
1986
[ header: rank | athlete | ski time | penalties p+s+p+s | total row 1 : None | zhang qing (chn) | 59:53.2 | 1+1+0+1 | 1:02:53.2 row 2 : None | dmitriy pozdn | 1:01:01.0 | 0+2+0+0 | 1:03:01.0 row 3 : None | dmitriy pantov ( | 59:24.8 | 1+2+0+1 | 1:03:24.8 row 4 : 4 | hideki yamamoto (jpn) | 1:02:55.5 | 0+1+3+0 | 1:06:55.5 row 5 : 5 | qiu lianhai (ch | 1:03:18.9 | 1+1+0+2 | 1:07:18.9 row 6 : 6 | shin byung-gook (kor | 1:02:49.3 | 1+2+1+1 | 1:07:49.3 row 7 : 7 | son hae-kwon (kor) | 1:02:58.3 | 1+1+2+1 | 1:07:58.3 row 8 : 8 | wang xin (chn) | 1:04:42.4 | 2+1+1+1 | 1:09:42.4 row 9 : 9 | naoki shindo | 1:03:08.5 | 3+1+0+3 | 1:10:08.5 row 10 : 9 | jeon jae-won (kor) | 1:02:08.5 | 2+2+2+2 | 1:10:08.5 row 11 : 11 | alexey karevskiy ( | 1:03:28.8 | 3+1+1+2 | 1:10:28.8 row 12 : 12 | sergey abdukarov (kaz | 1:05:11.4 | 1+2+1+3 | 1:12:11.4 row 13 : 13 | takashi shindo ( | 1:01:15.0 | 3+3+2+4 | 1:13:15.0 row 14 : 14 | shinji ebisawa (jp | 1:04:13.6 | 3+3+1+3 | 1:14:13.6 row 15 : 15 | choi neung-chul | 1:08:50.6 | 3+2+0+1 | 1:14:50.6 row 16 : 16 | byamba enkh-amgalan | 1:15:20.4 | 4+5+2+2 | 1:28:20.4 ] Execute this SQL based on the above table: select penalties p+s+p+s where penalties p+s+p+s = 1
1+1+0+1, 1+2+0+1, 1+1+0+2, 1+2+1+1, 1+1+2+1, 1+2+1+3
[ header: rank | player | county | tally | total | opposition row 1 : 1 | nicky english | tipperary | 2-12 | 18 | antrim row 2 : 2 | mark corrigan | offaly | 3-7 | 16 | kilkenny row 3 : 3 | joe hennessy | kerry | 3-5 | 14 | limerick row 4 : 3 | finbarr delaney | cork | 1-11 | 14 | waterford row 5 : 5 | nicky english | tipperary | 0-13 | 13 | waterford row 6 : 5 | adrian ronan | kilkenny | 1-10 | 13 | westmeath row 7 : 7 | nicky english | tipperary | 2-5 | 11 | limerick row 8 : 7 | danny mcnaughton | antrim | 2-5 | 11 | down row 9 : 9 | m. j. ryan | dublin | 1-7 | 10 | laois row 10 : 10 | gary kirby | limerick | 1-6 | 9 | kerry row 11 : 10 | pat murphy | waterford | 3-0 | 9 | cork ] Execute this SQL based on the above table: select county where total = 10
dublin
[ header: institution | location | nickname | founded | type | enrollment | joined mac row 1 : delaware valley college | doylestown, pennsyl | aggies | 1917 | private/non-sectarian | 2241 | 1965 row 2 : desales university | center valley, pennsylvania | bulldogs | 1965 | private/catholic | 3199 | 1997 row 3 : eastern university | st. davids, penn | eagles | 1952 | private/baptist | 4235 | 2008 row 4 : fairleigh dickinson university-flor | madison, new jersey | devils | 1942 | private/non-sectarian | 3288 | 1977 row 5 : king's college | wilkes-barre, penn | monarchs | 1946 | private/catholic | 2725 | 1977 row 6 : manhattanville college | purchase, new york | valiants | 1841 | private/non-sectarian | 2695 | 2007 row 7 : misericordia university | dallas, pennsyl | cougars | 1924 | private/catholic | 2830 | 2008 row 8 : wilkes university | wilkes-barre, penn | colonels | 1933 | private/non-sectarian | 5136 | 1946 ] Execute this SQL based on the above table: select institution group by institution order by count ( * ) desc limit 1
wilkes university
[ header: place | team | played | won | draw | lost | goals scored | goals conceded | +/- | points row 1 : 1 | c.d. aguila | 18 | 9 | 5 | 4 | 24 | 19 | 5 | 32 row 2 : 2 | c.d. fas | 18 | 6 | 8 | 4 | 26 | 17 | 9 | 26 row 3 : 3 | c.d. vista hermosa | 18 | 8 | 2 | 8 | 27 | 22 | 5 | 26 row 4 : 4 | a.d. isidro | 18 | 7 | 5 | 6 | 21 | 22 | -1 | 26 row 5 : 5 | alianza f.c | 18 | 7 | 4 | 7 | 29 | 26 | 3 | 25 row 6 : 6 | c.d. atletico balb | 18 | 6 | 5 | 7 | 26 | 25 | 1 | 23 row 7 : 7 | san salvador f.c | 18 | 6 | 5 | 7 | 28 | 32 | -4 | 23 row 8 : 8 | c.d. chalatenango | 18 | 5 | 7 | 6 | 19 | 26 | -3 | 22 row 9 : 9 | once municipal | 18 | 5 | 6 | 7 | 24 | 30 | -6 | 21 row 10 : 10 | c.d. luis angel fir | 18 | 5 | 5 | 8 | 18 | 23 | -5 | 20 ] Execute this SQL based on the above table: select count ( * ) where goals conceded > lost and goals conceded > points
6
[ header: club | league | sport | venue | established | championships row 1 : madison mustangs | ifl | american football | breitenbach stadium | 1997 | 4 consecutive ironbowls row 2 : madison mallards | nl | baseball | warner park | 2001 | 1 championship row 3 : madison 56ers | npsl | soccer | breese stevens field | 2005 | 0 championships row 4 : wisconsin rugby club | wrfu | rugby | wisconsin rugby club sports complex | 1962 | 2 championships row 5 : madison minotaurs | wrfu | rugby | yahara rugby field | 2007 | 0 bingham cups row 6 : wisconsin badgers | big ten, ncaa div | 23 varsity teams | camp randall stadium, kohl center | 1849 | 27 championships row 7 : edgewood eagles | nacc, ncaa div | 16 varsity teams | edgedome | 1974 | 35 championships row 8 : madison college wolfpack | n4c, njcaa | 8 varsity teams | redsten gymnasium, roberts | 1912 | 21 championships row 9 : mad rollin' dolls | wftda | roller derby | alliant energy center | 2005 | 0 championships row 10 : madison blues | glhl | hockey | capitol ice arena | 2010 | 0 championships ] Execute this SQL based on the above table: select league where id = ( select id where league = 'nl' ) + 1
npsl
[ header: seat | state | majority | member | party row 1 : hinkler | qld | 0 | paul neville | npa row 2 : solomon | nt | 0.1 | dave tollner | lib row 3 : adelaide | sa | 0.2 | hon trish worth | lib row 4 : canning | wa | 0.4 | don randall | lib row 5 : dobell | nsw | 0.4 | ken ticehurst | lib row 6 : parramatta | nsw | 1.1 | ross cameron | lib row 7 : mcewen | vic | 1.2 | fran bailey | lib row 8 : paterson | nsw | 1.4 | bob baldwin | lib row 9 : herbert | qld | 1.6 | peter lindsay | lib row 10 : richmond | nsw | 1.6 | hon larry anthony | npa row 11 : deakin | vic | 1.7 | philip barresi | lib row 12 : eden-monaro | nsw | 1.7 | gary nairn | lib row 13 : hindmarsh | sa | 1.9 | hon christine gallus | lib ] Execute this SQL based on the above table: select state where majority = '1.6'
qld, nsw
[ header: city/municipality | city/municipality | no. of barangays | area (hectares) | population (2010) | income class (2010) | mayor (2010-2013) row 1 : None | baao | 30 | 10663 | 54971 | 3rd class | melquiades i. gait row 2 : None | balatan | 17 | 9309 | 28699 | 4th class | ernesto a. bagas row 3 : None | bato | 33 | 10712 | 48306 | 3rd class | jeanette r. bernal row 4 : None | buhi | 38 | 24665 | 73809 | 1st class | rey p. lacoste row 5 : None | bula | 33 | 16764 | 68011 | 2nd class | benjamin s. decen row 6 : None | calabanga | 48 | 16380 | 78119 | 1st class | eduardo severo row 7 : None | camaligan | 13 | 468 | 22254 | 5th class | marilou marquez-hirose row 8 : None | caramoan | 49 | 27600 | 44945 | 2nd class | constantino h. cordial, row 9 : None | gainza | 8 | 1475 | 10345 | 5th class | william angeles abilay row 10 : None | garchitorena | 23 | 24380 | 25204 | 4th class | solon o.demetriou j row 11 : None | goa | 34 | 20618 | 58503 | 2nd class | antero s. lim row 12 : None | iriga city | 36 | 13735 | 105919 | 4th class | madeleine a. gazmen row 13 : None | lagonoy | 38 | 37790 | 51814 | 2nd class | delfin r. pilapil row 14 : None | libmanan | 75 | 34282 | 100002 | 1st class | marilyn a. jimenez row 15 : None | lupi | 38 | 19912 | 30118 | 3rd class | raul m. matamoros row 16 : None | magarao | 15 | 4497 | 24274 | 4th class | salvador a. senar row 17 : None | milaor | 20 | 3364 | 28474 | 4th class | rogelio a. row 18 : None | nabua | 42 | 9620 | 80111 | 1st class | delia c. simbulan row 19 : 25px | naga city | 27 | 8448 | 174931 | 2nd class | john g. bongat row 20 : None | ocampo | 25 | 11833 | 43523 | 3rd class | fidel c. carido row 21 : None | pamplona | 17 | 8060 | 34471 | 4th class | gimeno a. imperial row 22 : None | pasacao | 19 | 14954 | 45946 | 3rd class | asuncion v. arseni row 23 : None | pili | 26 | 12625 | 82307 | 1st class | tomas p. bongalonta, row 24 : None | presentacion | 18 | 14380 | 20023 | 4th class | joey a. delen row 25 : None | sagnay | 19 | 15476 | 31314 | 4th class | evelyn b. fuente row 26 : None | san fernando | 22 | 7176 | 33281 | 4th class | eugenio "jun" ] Execute this SQL based on the above table: select city/municipality where mayor (2010-2013) = 'constantino h. cordial, jr' and city/municipality != 'ocampo'
caramoan
[ 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 time order by round desc limit 1
5:00
[ header: season | tier | division | place row 1 : 2005/06 | 5 | 1a aut. pref | None row 2 : 2006/07 | 4 | 3a | 19th row 3 : 2007/08 | 5 | 1a aut. pref | 2nd row 4 : 2008/09 | 4 | 3a | 18th row 5 : 2009/10 | 5 | 1a aut. pref | 3rd row 6 : 2010/11 | 5 | 1a aut. pref | 9th row 7 : 2011/12 | 5 | 1a aut. pref | 8th row 8 : 2012/13 | 5 | 1a aut. pref | 11th row 9 : 2013/14 | 5 | 1a aut. pref | None ] Execute this SQL based on the above table: select tier + tier + tier where division = '1a aut. pref'
15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0
[ header: date | city | opponent | results | scorers | type of game row 1 : march 3, 2010 | algiers, algeria | algeria | 3:0 (1:0) | pantelic (16') kuzman | friendly row 2 : april 7, 2010 | osaka, japan | japan | 3:0 (2:0) | mrđa (15', 23' | friendly row 3 : may 29, 2010 | klagenfurt, austria | new zealand | 0:1 (0:1) | smeltz (22') | friendly row 4 : june 2, 2010 | kufstein, austria | poland | 0:0 (0:0) | None | friendly row 5 : june 5, 2010 | belgrade, serbia | cameroon | 4:3 (4:2) | webo (5', 20') kra | friendly row 6 : june 13, 2010 | pretoria, south africa | ghana | 0:1 (0:0) | gyan (85') | wc 2010 row 7 : june 18, 2010 | port elizabeth, south africa | germany | 1:0 (1:0) | jovanovic (38') | wc 2010 row 8 : june 23, 2010 | nelspruit, south africa | australia | 1:2 (0:0) | cahill (69') holman ( | wc 2010 row 9 : august 11, 2010 | belgrade, serbia | greece | 0:1 (0:0) | salpingidis (45') | friendly row 10 : september 3, 2010 | torshavn, faroe islands | faroe islands | 3:0 (2:0) | lazovic (14') stank | euro 2012 q row 11 : september 7, 2010 | belgrade, serbia | slovenia | 1:1 (0:0) | novakovic (63') zig | euro 2012 q row 12 : october 8, 2010 | belgrade, serbia | estonia | 1:3 (0:0) | zigic (60') kink | euro 2012 q row 13 : october 12, 2010 | genoa, italy | italy | abandoned 0:3 | game abandoned after six minutes on account of crowd disturbance | euro 2012 q row 14 : november 17, 2010 | sofia, bulgaria | bulgaria | 1:0 (0:0) | zigic (80') | friendly ] Execute this SQL based on the above table: select count ( distinct date ) where type of game = 'friendly'
7
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | south korea | 11 | 1 | 2 | 14 row 2 : 2 | chinese taipei | 2 | 2 | 5 | 9 row 3 : 3 | spain | 2 | 0 | 4 | 6 row 4 : 4 | egypt | 1 | 0 | 0 | 1 row 5 : 5 | france | 0 | 2 | 1 | 3 row 6 : 5 | iran | 0 | 2 | 1 | 3 row 7 : 7 | china | 0 | 1 | 1 | 2 row 8 : 7 | cuba | 0 | 1 | 1 | 2 row 9 : 7 | greece | 0 | 1 | 1 | 2 row 10 : 7 | turkey | 0 | 1 | 1 | 2 row 11 : 11 | canada | 0 | 1 | 0 | 1 row 12 : 11 | germany | 0 | 1 | 0 | 1 row 13 : 11 | morocco | 0 | 1 | 0 | 1 row 14 : 11 | philippines | 0 | 1 | 0 | 1 row 15 : 11 | russia | 0 | 1 | 0 | 1 row 16 : 16 | mexico | 0 | 0 | 4 | 4 row 17 : 17 | australia | 0 | 0 | 3 | 3 row 18 : 18 | croatia | 0 | 0 | 2 | 2 row 19 : 18 | united states | 0 | 0 | 2 | 2 row 20 : 20 | ecuador | 0 | 0 | 1 | 1 row 21 : 20 | saudi arabia | 0 | 0 | 1 | 1 row 22 : 20 | thailand | 0 | 0 | 1 | 1 row 23 : 20 | yugoslavia | 0 | 0 | 1 | 1 row 24 : total | total | 16 | 16 | 32 | 64 ] Execute this SQL based on the above table: select count ( nation ) where gold = 0
19
[ header: place | player | country | score | to par row 1 : 1 | dustin johnson | united states | 71-70-66=207 | -6 row 2 : 2 | graeme mcdowell | northern ireland | 71-68-71=210 | -3 row 3 : 3 | tiger woods | united states | 74-72-66=212 | -1 row 4 : t4 | ernie els | south africa | 73-68-72=213 | e row 5 : t4 | gregory havret | france | 73-71-69=213 | e row 6 : 6 | phil mickelson | united states | 75-66-73=214 | 1 row 7 : t7 | alex cejka | germany | 70-72-74=216 | 3 row 8 : t7 | tim clark | south africa | 72-72-72=216 | 3 row 9 : t7 | ryo ishikawa | japan | 70-71-75=216 | 3 row 10 : t10 | martin kaymer | germany | 74-71-72=217 | 4 row 11 : t10 | davis love iii | united states | 75-74-68=217 | 4 row 12 : t10 | sean o'hair | united states | 76-71-70=217 | 4 ] Execute this SQL based on the above table: select ( select count ( * ) where place != 2 and to par = ( select to par where place = 2 ) ) > 0
0
[ header: state | no. of candidates | no. of elected | total no. of seats in assembly | year of election row 1 : andhra pradesh | 12 | 6 | 294 | 2004 row 2 : assam | 19 | 1 | 126 | 2001 row 3 : bihar | 153 | 5 | 324 | 2000 row 4 : chhattisgarh | 18 | 0 | 90 | 2003 row 5 : delhi | 2 | 0 | 70 | 2003 row 6 : goa | 3 | 0 | 40 | 2002 row 7 : gujarat | 1 | 0 | 181 | 2002 row 8 : haryana | 10 | 0 | 90 | 2000 row 9 : himachal pradesh | 7 | 0 | 68 | 2003 row 10 : jammu and kashmir | 5 | 0 | 87 | 2002 row 11 : karnataka | 5 | 0 | 224 | 2004 row 12 : kerala | 22 | 17 | 140 | 2006 row 13 : madhya pradesh | 17 | 0 | 230 | 2003 row 14 : maharashtra | 19 | 0 | 288 | 1999 row 15 : manipur | 16 | 4 | 60 | 2006 row 16 : meghalaya | 3 | 0 | 60 | 2003 row 17 : mizoram | 4 | 0 | 40 | 2003 row 18 : odisha | 6 | 1 | 147 | 2004 row 19 : puducherry | 2 | 0 | 30 | 2001 row 20 : punjab | 11 | 0 | 117 | 2006 row 21 : rajasthan | 15 | 0 | 200 | 2003 row 22 : tamil nadu | 8 | 6 | 234 | 2006 row 23 : tripura | 2 | 1 | 60 | 2003 row 24 : uttar pradesh | 5 | 0 | 402 | 2002 row 25 : uttarakhand | 14 | 0 | 70 | 2002 row 26 : west bengal | 13 | 8 | 294 | 2006 ] Execute this SQL based on the above table: select state order by no. of candidates desc limit 1
bihar
[ 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 to = 1576 and from = 1632
0
[ 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 count ( distinct team )
10
[ header: rank | city | population | area (km2) | density (inhabitants/km2) | altitude (mslm) row 1 : 1st | alessandria | 94191 | 203.97 | 461.8 | 95 row 2 : 2nd | casale monferrato | 36039 | 86.32 | 417.5 | 116 row 3 : 3rd | novi ligure | 28581 | 54.22 | 527.1 | 197 row 4 : 4th | tortona | 27476 | 99.29 | 276.7 | 122 row 5 : 5th | acqui terme | 20426 | 33.42 | 611.2 | 156 row 6 : 6th | valenza | 20282 | 50.05 | 405.2 | 125 row 7 : 7th | ovada | 11912 | 35.33 | 337.2 | 186 row 8 : 8th | serravalle scrivia | 6445 | 16.02 | 402.3 | 225 row 9 : 9th | arquata scrivia | 6260 | 30.36 | 206.2 | 248 row 10 : 10th | castelnuovo scrivia | 5473 | 45.42 | 120.5 | 85 ] Execute this SQL based on the above table: select count ( * ) where city = 'novi ligure'
1
[ header: year | nw rank | venue | opp rank | opponent | score | w/l | round | notes row 1 : 1996 | 2 | away | None | northern colorado | 26-27 | l | quarterfinal | None row 2 : 1998 | 2 | maryville | 11 | texas a&m-king | 49-34 | w | semifinal | None row 3 : 1998 | 2 | braly stadium | 3 | carson-newman | 24-6 | w | finals | None row 4 : 2000 | 1 | maryville | 5 | north dakota state | 17-13 | l | 1st round | None row 5 : 2002 | 4 | maryville | 7 | northern colorado | 12-23 | l | quarterfinal | None row 6 : 2004 | 4 | maryville | 6 | texas a&m-king | 34-14 | w | 1st round | None row 7 : 2005 | 21 | away | 12 | washburn | 42-32 | w | 2nd round | None row 8 : 2006 | 2 | maryville | 18 | midwestern state | 27-0 | w | 2nd round (first round bye) | None row 9 : 2006 | 2 | braly stadium | 1 | grand valley state | 14-17 | l | finals | None row 10 : 2007 | 5 | away | 2 | chadron state | 26-13 | w | quarterfinal | None row 11 : 2007 | 5 | maryville | 1 | grand valley state | 34-16 | w | semifinal | None row 12 : 2008 | 3 | braly stadium | 6 | minnesota-duluth | 14-21 | l | finals | None row 13 : 2009 | 2 | away | 1 | central washington | 21-20 | w | quarterfinal | None row 14 : 2010 | 3 | away | 1 | minnesota-duluth | 13-17 | l | semifinal | played during snowstorm that collapsed the huber row 15 : 2013 | 2 | maryville | 5 | minnesota-duluth | 59-21 | w | second round (first round bye) | None row 16 : 2013 | 2 | maryville | 12 | minnesota-st. cloud | 59-21 | w | quarterfinal | None row 17 : 2013 | 2 | maryville | 22 | grand valley state | 27-13 | w | semifinal | game was attend by missouri governor jay ] Execute this SQL based on the above table: select venue where opp rank = 1
braly stadium, maryville, away, away
[ header: year | world car of the year | world performance car | world green car | world car design of the year row 1 : 2006 | bmw 3-series (winner) | porsche cayman s (winner | honda civic hybrid (winner) citr | citroen c4 (winner row 2 : 2007 | lexus ls 460 (win | audi rs4 (winner | mercedes-benz e320 blue | audi tt (winner) row 3 : 2008 | mazda2 / demio | audi r8 (winner) | bmw 118d (winner) smart | audi r8 (winner) ] Execute this SQL based on the above table: select count ( world green car ) where world performance car = 'audi r8 (winner) audi s5 coupe bmw m3 mercedes-benz cl 63 amg mercedes-benz s 63 amg aston martin v8 vantage roadster honda civic type r maserati granturismo mercedes-benz clk63 amg black series renault clio f1 team r27'
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 position where year > ( select year where position = 'round 1' ) order by year asc limit 1
withdrew
[ header: district | representative | party | residence | counties represented row 1 : 1 | ogden driskill | republican | devils tower | converse, crook, goshen row 2 : 2 | jim anderson | republican | glenrock | converse, platte row 3 : 3 | curt meier | republican | lagrange | goshen, platte row 4 : 4 | tony ross | republican | cheyenne | laramie row 5 : 5 | fred emerich | republican | cheyenne | laramie row 6 : 6 | wayne johnson | republican | cheyenne | laramie row 7 : 7 | leslie nutting | republican | cheyenne | laramie row 8 : 8 | floyd esquibel | democratic | cheyenne | laramie row 9 : 9 | chris rothfuss | democratic | laramie | albany row 10 : 10 | phil nicholas | republican | laramie | albany row 11 : 11 | larry s. hicks | republican | baggs | albany, carbon row 12 : 12 | bernadine craft | democratic | rock springs | fremont, sweetwater row 13 : 13 | john hastert | democratic | green river | sweetwater row 14 : 14 | stan cooper | republican | kemmerer | lincoln, sublette, sweet row 15 : 15 | paul barnard | republican | evanston | uinta row 16 : 16 | dan dockstader | republican | afton | lincoln, sublette, row 17 : 17 | leland christensen | republican | alta | fremont, teton row 18 : 18 | hank coe | republican | cody | park row 19 : 19 | r. ray peterson | republican | cowley | big horn, park row 20 : 20 | gerald geis | republican | worland | big horn, hot springs, park, row 21 : 21 | bruce burns | republican | sheridan | sheridan row 22 : 22 | john schiffer | republican | kaycee | sheridan, johnson row 23 : 23 | john hines | republican | gillette | campbell row 24 : 24 | michael von flatern | republican | gillette | campbell row 25 : 25 | cale case | republican | lander | fremont row 26 : 26 | eli bebout | republican | riverton | fremont row 27 : 27 | bill landen | republican | casper | natrona row 28 : 28 | james lee anderson | republican | casper | natrona row 29 : 29 | drew perkins | republican | casper | natrona row 30 : 30 | charles scott | republican | casper | natrona ] Execute this SQL based on the above table: select counties represented where id = ( select id where district = 4 ) + 1
laramie
[ header: treaty | organization | introduced | signed | ratified row 1 : convention on the prevention and punishment of the crime of | united nations | 1948 | None | 1958 row 2 : international convention on the elimination of all forms of | united nations | 1966 | 1967 | 1970 row 3 : international covenant on economic, social and cultural rights | united nations | 1966 | 1977 | 1979 row 4 : international covenant on civil and political rights | united nations | 1966 | 1977 | 1979 row 5 : first optional protocol to the international covenant on civil and | united nations | 1966 | None | None row 6 : convention on the non-applicability of | united nations | 1968 | None | None row 7 : international convention on the suppression and punishment of the crime | united nations | 1973 | None | None row 8 : convention on the elimination of all forms of discrimination | united nations | 1979 | None | 1993 row 9 : convention against torture and other cruel, inhuman or | united nations | 1984 | 1986 | 1993 row 10 : convention on the rights of the child | united nations | 1989 | 1990 | 1993 row 11 : second optional protocol to the international covenant on civil and | united nations | 1989 | None | None row 12 : international convention on the protection of the rights of all | united nations | 1990 | 1991 | 1993 row 13 : optional protocol to the convention on the elimination of all | united nations | 1999 | None | None row 14 : optional protocol to the convention on the rights of the | united nations | 2000 | 2000 | 2002 row 15 : optional protocol to the convention on the rights of the | united nations | 2000 | 2000 | 2001 row 16 : convention on the rights of persons with disabilities | united nations | 2006 | 2007 | 2009 row 17 : optional protocol to the convention on the rights of persons | united nations | 2006 | None | 2009 row 18 : international convention for the protection of all persons from enforce | united nations | 2006 | 2007 | 2013 row 19 : optional protocol to the international covenant on economic, social | united nations | 2008 | None | None row 20 : optional protocol to the convention on the rights of the | united nations | 2011 | 2012 | None ] Execute this SQL based on the above table: select organization order by treaty limit 1
united nations
[ header: rnd. | pick # | nfl team | player | pos. | college | conf. | notes row 1 : 1 | 1 | oakland raiders | jamarcus russell | qb | lsu | sec | None row 2 : 1 | 6 | washington redskins | laron landry | s | lsu | sec | None row 3 : 1 | 22 | cleveland browns | brady quinn | qb | notre dame | ind | from dallas row 4 : 2 | 35 | tampa bay buccaneers | arron sears | g | tennessee | sec | None row 5 : 2 | 52 | st. louis rams | brian leonard | fb | rutgers | big east | None row 6 : 3 | 71 | miami dolphins | lorenzo booker | rb | florida state | acc | None row 7 : 3 | 77 | pittsburgh steelers | matt spaeth | te | minnesota | big ten | None row 8 : 3 | 78 | green bay packers | james jones | wr | san jose state | wac | None row 9 : 3 | 79 | jacksonville jaguars | mike sims-walker | wr | central florida | c-usa | None row 10 : 3 | 85 | seattle seahawks | brandon mebane | dt | california | pac-10 | None row 11 : 4 | 127 | new england patriots | kareem brown | dt | miami (fl) | acc | None row 12 : 5 | 161 | seattle seahawks | will herring | lb | auburn | sec | None row 13 : 5 | 164 | carolina panthers | tim shaw | lb | penn state | big ten | from new york jets row 14 : 6 | 177 | new york jets | jacob bender | ot | nicholls state | southland | from tampa bay row 15 : 6 | 178 | dallas cowboys | nick folk | k | arizona | pac-10 | from cleveland row 16 : 6 | 204 | tennessee titans | jacob ford | de | central arkansas | ind | from san diego row 17 : 7 | 214 | tampa bay buccaneers | chris denman | ot | fresno state | wac | None row 18 : 7 | 217 | minnesota vikings | tyler thigpen | qb | coastal carolina | big south | None row 19 : 7 | 222 | buffalo bills | derek schouman | te | boise state | wac | None row 20 : 7 | 230 | cincinnati bengals | dan santucci | g | notre dame | ind | None row 21 : 7 | 248 | st. louis rams | keith jackson, jr | dt | arkansas | sec | None ] Execute this SQL based on the above table: select pick # where conf. != 'pac-10' order by pick # desc limit 1
248
[ header: year | title | image | dimensions | collection | comments row 1 : 1942 | assassination of heydrich | view | 61.4 × 76.1 cm. (24.2 | the national archives, kew, richmond | subject: ss-general reinhard row 2 : 1944 | production of tanks (original may have been untitled | view | 51.3 × 61.5 cm. (20.2 | the national archives, kew, richmond | scene: workers manufacture churchill tanks on a row 3 : 1968 | express engines at tyseley, | view view | 75 × 100 cm. (29.5 × | None | scene: rolling stock-london, mid row 4 : 1972 | field marshall viscount montgomery of | view | 125 × 100 cm. (49. | defence academy of the united kingdom, shriven | subject: field marshal bernard law row 5 : 1971 | sir edward heath | view | 123 × 99 cm. (48. | balliol college, university of o | subject: sir edward heath row 6 : 1972 | self portrait | None | None | None | None row 7 : None | her majesty the queen with her dogs | see cuneo society website | None | None | subject: queen elizabeth row 8 : None | bentley vs the blue train | view see cuneo society website | None | None | scene: 1930 cannes to calais ] Execute this SQL based on the above table: select count ( comments ) where year > ( select year where comments = 'subject: queen elizabeth ii (b. 1926)' )
0
[ header: rank | name | nationality | 1,62 | 1,67 | 1,72 | 1,75 | notes row 1 : 1 | dior delophont | france | None | o | o | o | q row 2 : 1 | ligia grozav | romania | None | o | o | o | q row 3 : 3 | iryna herashchenko | ukraine | None | o | xo | o | q row 4 : 4 | lucija zupzic | croatia | o | o | o | xo | q row 5 : 4 | chanice porter | jamaica | None | None | None | xo | q row 6 : 6 | alexandra plaza | germany | o | xo | o | xxo | q row 7 : 7 | nikola parilova | czech republic | o | o | o | xxx | q row 8 : 7 | ioanna koltsid | greece | o | o | o | xxx | q row 9 : 9 | leontia kallenou | cyprus | None | xo | xo | xxx | None row 10 : 10 | anna pau | italy | xxo | o | xxo | xxx | None row 11 : 11 | emily crutcher | australia | o | o | xxx | None | None row 12 : 11 | keeley o'hagan | new zealand | o | o | xxx | None | None row 13 : 13 | dace dreimane | latvia | xo | o | xxx | None | None row 14 : 14 | vivien baglyos | hungary | o | xo | xxx | None | None row 15 : 15 | thea lafond | dominica | xo | xxx | None | None | None ] Execute this SQL based on the above table: select nationality where name < ( select name where nationality = 'latvia' ) order by name desc limit 1
jamaica
[ header: department | total deputies | uninominal deputies | plurinominal deputies | special indigenous or campesino deputies | senators row 1 : la paz | 29 | 14 | 14 | 1 | 4 row 2 : santa cruz | 28 | 14 | 13 | 1 | 4 row 3 : cochabamba | 19 | 9 | 9 | 1 | 4 row 4 : potosi | 13 | 7 | 6 | 0 | 4 row 5 : chuquisaca | 10 | 5 | 5 | 0 | 4 row 6 : oruro | 9 | 4 | 4 | 1 | 4 row 7 : tarija | 9 | 4 | 4 | 1 | 4 row 8 : beni | 8 | 4 | 3 | 1 | 4 row 9 : pando | 5 | 2 | 2 | 1 | 4 row 10 : total | 130 | 63 | 60 | 7 | 36 ] Execute this SQL based on the above table: select count ( department ) where special indigenous or campesino deputies >= 1321
0
[ header: parish | locality | parish priest | founded | closed row 1 : st mary | bacup | fr frank thorpe | 1852 | None row 2 : our immaculate mother & st | whitworth | fr frank thorpe | 1860 | None row 3 : st joseph | stacksteads | None | 1947 | 2005 row 4 : st joseph & | newchurch-in-rossendale | fr philip boast | 1915 | None row 5 : the immaculate conception | haslingden | fr canon john mackie | 1854 | None row 6 : st veronica (chapel of | helmshore | served from the immaculate conception | 1959 | None row 7 : st james the less | rawtenstall | fr david lupton, rural de | 1828 | None ] Execute this SQL based on the above table: select founded where parish priest = 'fr frank thorpe'
1852, 1860
[ header: season | division | tier | position | cup row 1 : 1994-95 | regionalliga sud | iii | 7 | quarter-final row 2 : 1995-96 | regionalliga sud | iii | 13 | round 1 row 3 : 1997-97 | regionalliga sud | iii | 8 | dnq row 4 : 1997-98 | regionalliga sud | iii | 6 | dnq row 5 : 1998-99 | regionalliga sud | iii | 8 | dnq row 6 : 1999-00 | regionalliga sud | iii | 5 | dnq row 7 : 2000-01 | regionalliga sud | iii | 9 | dnq row 8 : 2001-02 | regionalliga sud | iii | 10 | dnq row 9 : 2002-03 | regionalliga sud | iii | 4 | round 1 row 10 : 2003-04 | regionalliga sud | iii | 1 | dnq row 11 : 2004-05 | regionalliga sud | iii | 6 | quarter-final row 12 : 2005-06 | regionalliga sud | iii | 11 | dnq row 13 : 2006-07 | regionalliga sud | iii | 8 | dnq row 14 : 2007-08 | regionalliga sud | iii | 8 | dnq row 15 : 2008-09 | 3. liga | iii | 5 | None row 16 : 2009-10 | 3. liga | iii | 8 | None row 17 : 2010-11 | 3. liga | iii | 20 | None row 18 : 2011-12 | regionalliga sud | iv | 14 | None row 19 : 2012-13 | regionalliga bayern | iv | 2 | None ] Execute this SQL based on the above table: select tier order by id desc limit 1
iv
[ header: no. in series | no. in season | performer | appearance | air date row 1 : 268 | 1 | tom segura | only | 21 january 2011 row 2 : 269 | 2 | michael kosta | only | 21 january 2011 row 3 : 270 | 3 | sheng wang | only | 28 january 2011 row 4 : 271 | 4 | chelsea peretti | only | 28 january 2011 row 5 : 272 | 5 | chris d'elia | only | 4 february 2011 row 6 : 273 | 6 | nate bargatze | only | 4 february 2011 row 7 : 274 | 7 | hari kondabolu | only | 11 february 2011 row 8 : 275 | 8 | jack whitehall | only | 11 february 2011 row 9 : 276 | 9 | al jackson | only | 18 february 2011 row 10 : 277 | 10 | kyle kinane | only | 25 february 2011 row 11 : 278 | 11 | matt fulchiron | only | 25 february 2011 row 12 : 279 | 12 | mike vecchione | only | 4 march 2011 row 13 : 280 | 13 | jessi klein | only | 4 march 2011 row 14 : 281 | 14 | louis katz | only | 11 march 2011 row 15 : 282 | 15 | jay larson | only | 11 march 2011 row 16 : 283 | 16 | natasha leggero | only | 25 march 2011 ] Execute this SQL based on the above table: select appearance where no. in season > ( select no. in season where appearance = 'only' ) order by no. in season asc limit 1
only
[ header: name | street address | years as tallest | height ft (m) | floors row 1 : globe building | 4th street south | 1882-1886 | 157 (48) | 8 row 2 : lumber exchange building | 10 5th street south | 1886-1887 | 165 (50) | 12 row 3 : industrial exposition building | central avenue southeast and main street southeast | 1887-1890 | 240 (73) | 8 row 4 : metropolitan building | 308 2nd avenue south | 1890-1895 | 258 (79) | 12 row 5 : minneapolis city hall | 350 5th street south | 1895-1929 | 341 (104) | 14 row 6 : foshay tower | 821 marquette avenue | 1929-1973 | 448 (137) | 32 row 7 : ids tower | 80 8th street south | 1973-present | 792 (241) | 55 ] Execute this SQL based on the above table: select count ( * )
7
[ 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