inputs
stringlengths
291
3.71k
targets
stringlengths
1
2.65k
[ header: color & icon | name | name | mark | first section opened | last ex- tension | length | stations row 1 : yellow | line 1 | higashiyama line | h | 1957 | 1982 | 20.6 km (12.8 mi) | 22 row 2 : purple | line 2 | meijo line | m | 1965 | 1971 | 8.9 km (5.5 mi) | 12 row 3 : purple | line 4 | meijo line | m | 1974 | 2004 | 17.5 km (10.9 mi) | 17 row 4 : purple & white | line 2 | meiko line | e | 1971 | None | 6.0 km (3.7 mi) | 7 row 5 : blue | via trackage rights | meitetsu inuyama line | None | 1993 | None | 21.4 km (13.3 mi) | 13 row 6 : blue | line 3 | tsurumai line | t | 1977 | 1993 | 20.4 km (12.7 mi) | 20 row 7 : blue | via trackage rights | meitetsu toyot | None | 1979 | None | 15.2 km (9.4 mi) | 8 row 8 : blue | via trackage rights | meitetsu mikawa line | None | None | None | 1.4 km (0.87 mi) | 2 row 9 : red | line 6 | sakura-dori line | s | 1989 | 2011 | 19.1 km (11.9 mi) | 21 row 10 : pink | via trackage rights | meitetsu komaki line | None | 2003 | None | 18.3 km (11.4 mi) | 13 row 11 : pink | via trackage rights | meitetsu komaki line | None | 2003 | None | 2.3 km (1.4 mi) | 2 row 12 : pink | line 7 | kamiiida line | k | 2003 | None | 0.8 km (0.50 mi) | 2 ] Execute this SQL based on the above table: select count ( color & icon ) where id > ( select id where color & icon = 'pink' )
2
[ header: official name | designation | area km2 | population | parish row 1 : moncton | city | 141.17 | 69074 | moncton row 2 : dieppe | city | 51.17 | 23310 | moncton row 3 : beaubassin east | rural community | 291.04 | 6200 | shediac row 4 : shediac | town | 11.97 | 6053 | shediac row 5 : sackville | town | 74.32 | 5558 | sackville row 6 : memramcook | village | 185.71 | 4831 | dorchester row 7 : cap-pele | village | 23.78 | 2256 | botsford row 8 : salisbury | village | 13.68 | 2208 | salisbury row 9 : petitcodiac | village | 17.22 | 1429 | salisbury row 10 : dorchester | village | 5.74 | 1167 | dorchester row 11 : port elgin | village | 2.61 | 418 | westmorland ] Execute this SQL based on the above table: select official name where population < ( select population where official name = 'shediac' ) order by population desc limit 1
sackville
[ header: rank | title | studio | director | actors | gross row 1 : 1 | the sound of music | 20th century fox | robert wise | julie andrews, christ | $163,214,286 row 2 : 2 | doctor zhivago | metro-goldwyn-mayer | david lean | omar sharif, ju | $111,721,910 row 3 : 4 | those magnificent men in their flying machines | 20th century fox | ken annakin | stuart whitman, sara | $31,111,111 row 4 : 8 | what's new pussycat? | united artists | clive donner | peter sellers, peter o'tool | $18,820,000 row 5 : 9 | shenandoah | universal pictures | andrew v. mclagle | james stewart, doug | $17,268,889 row 6 : 10 | von ryan's express | 20th century fox | mark robson | frank sinatra, trevor | $17,111,111 row 7 : 12 | for a few dollars more | united artists | sergio leone | clint eastwood, lee van | $15,000,000 row 8 : 13 | the sandpiper | metro-goldwyn-mayer | vincente minnelli | elizabeth tay | $13,691,111 row 9 : 16 | help! | united artists | richard lester | john lennon, paul | $12,066,667 row 10 : 19 | the agony and the ecsta | 20th century fox | carol reed | charlton heston, rex | $8,000,000 ] Execute this SQL based on the above table: select director where rank = 13
vincente minnelli
[ header: year | title | us hot 100 | us modern rock | us mainstream rock | album row 1 : 1994 | "neenah menasha" | None | None | None | rotting pinata row 2 : 1994 | "plowed" | None | 5 | 9 | rotting pinata row 3 : 1995 | "molly (16 candles down the drain)" | 55 | 3 | 11 | rotting pinata row 4 : 1995 | "rainin'" | None | 34 | 18 | rotting pinata row 5 : 1996 | "wax ecstatic (to | None | 15 | 11 | wax ecstatic row 6 : 1997 | "have you seen mary" | None | None | 7 | wax ecstatic row 7 : 1999 | "live here without you" | None | None | None | new pop sunday row 8 : 1999 | "1000 times" | None | None | None | new pop sunday row 9 : 2003 | "treat me wrong" | None | None | None | for all the drugs in the world row 10 : 2003 | "leave this world" | None | None | None | for all the drugs in the world row 11 : 2005 | "the man" | None | None | None | the man row 12 : 2005 | "higher (part 1)" | None | None | None | the man row 13 : 2009 | "come in from the rain" | None | None | None | destroy the boy ep row 14 : 2010 | "destroy the boy" | None | None | None | destroy the boy ep row 15 : 2013 | "fade from view" | None | None | None | stop the bleeding row 16 : 2013 | "lifes bitter pills" | None | None | None | stop the bleeding ] Execute this SQL based on the above table: select count ( us hot 100 ) where title = '"live here without you"'
0
[ header: name | party | province | term expires | years in office row 1 : william atkinson | liberal | central | 1989 | 1983-1984 row 2 : colin bell | liberal | lower west | 1989 | 1983-1989 row 3 : joe berinson | labor | north central metropolitan | 1986 | 1980-1993 row 4 : james brown | labor | south-east | 1986 | 1980-1992 row 5 : eric charlton | national/np | central | 1989 | 1984-1998 row 6 : des dans | labor | south metropolitan | 1989 | 1971-1989 row 7 : peter dowding | labor | north | 1986 | 1980-1986 row 8 : graham edwards | labor | north metropolitan | 1989 | 1983-1997 row 9 : lyla elliott | labor | north-east metropolitan | 1986 | 1971-1986 row 10 : vic ferry | liberal | south-west | 1989 | 1965-1987 row 11 : harry gayfer | national/ncp | central | 1986 | 1974-1989 row 12 : clive griffiths | liberal | south central metropolitan | 1989 | 1965-1997 row 13 : kay hallahan | labor | south-east metropolitan | 1989 | 1983-1993 row 14 : bob hetherington | labor | south-east metropolitan | 1986 | 1977-1989 row 15 : garry kelly | labor | south metropolitan | 1986 | 1982-1993 row 16 : thomas knight | liberal | south | 1986 | 1974-1986 row 17 : sandy lewis | liberal | lower central | 1986 | 1974-1989 row 18 : phil lockyer | liberal | lower north | 1986 | 1980-1997 row 19 : margaret mcaleer | liberal | upper west | 1986 | 1974-1993 row 20 : fred mckenzie | labor | north-east metropolitan | 1989 | 1977-1993 row 21 : graham mackinnon | liberal | south west | 1986 | 1956-1986 row 22 : thomas mcneil | national/np | upper west | 1989 | 1977-1989 row 23 : gordon masters | liberal | west | 1986 | 1974-1989 row 24 : ian medcalf | liberal | metropolitan | 1986 | 1968-1986 row 25 : norman moore | liberal | lower north | 1989 | 1977-2013 row 26 : mark nevill | labor | south-east | 1989 | 1983-2001 row 27 : neil oliver | liberal | west | 1989 | 1977-1989 row 28 : phillip pendal | liberal | south central metropolitan | 1986 | 1980-1993 row 29 : sam piantadosi | labor | north central metropolitan | 1989 | 1983-1996 row 30 : ian pratt | liberal | lower west | 1986 | 1974-1986 row 31 : tom stephens | labor | north | 1989 | 1982-2004 row 32 : bill stretch | liberal | lower central | 1989 | 1983-2005 row 33 : peter wells | liberal | north metropolitan | 1986 | 1980-1986 row 34 : richard williams | liberal | metropolitan | 1989 | 1971-1989 row 35 : david wordsworth | liberal | south | 1989 | 1971-1993 ] Execute this SQL based on the above table: select ( select term expires where term expires = 1989 ) - ( select term expires where term expires = 1989 )
0
[ header: draw | country | language | artist | song | english translation | national final | place | points row 1 : 1 | malta | english | claudia faniello | "caravaggio" | None | 2nd | 13 | 53 row 2 : 2 | israel | hebrew | bo'az ma'uda | "parparim" | butterflies | 3rd | 8 | 90 row 3 : 3 | russia | english | sergey lazarev | "flyer" | None | 4th | 7 | 119 row 4 : 4 | estonia | english | rolf junior | "one on one" | None | 4th | 21 | 0 row 5 : 5 | belgium | english | sandrine | "i feel the same way" | None | 2nd | 10 | 64 row 6 : 6 | macedonia | macedonian | risto samardziev | "dojdi do mene" | come to me | 3rd | 19 | 7 row 7 : 7 | poland | english | man meadow | "viva la musica" | hail to the music | 3rd | 3 | 155 row 8 : 8 | finland | finnish | mikael konttinen | "milloin" | when | None | 14 | 46 row 9 : 9 | germany | german | carolin fortenbacher | "hinterm ozean" | beyond the ocean | 2nd | 6 | 129 row 10 : 10 | denmark | english | kendra lou | "until we're satisfied" | None | 4th | 18 | 21 row 11 : 11 | greece | english | kostas martakis | "always and forever" | None | 2nd | 4 | 140 row 12 : 12 | serbia | serbian | beauty queens | "zavet" | a pledge | 3rd | 9 | 68 row 13 : 13 | croatia | croatian | emilija kokic | "andjeo" | angel | 6th | 15 | 31 row 14 : 14 | lithuania | english | aiste pilvelyte | "troy on fire" | None | 2nd | 17 | 26 row 15 : 15 | ireland | english | leona daly | "not crazy after all" | None | None | 12 | 56 row 16 : 16 | united kingdom | english | the revelations | "it's you" | None | 3rd | 16 | 29 row 17 : 17 | portugal | portuguese | lisboa nao | "porto de encontro" | meeting harbour | 9th | 20 | 6 row 18 : 18 | sweden | english | sanna nielsen | "empty room" | None | 2nd | 1 | 269 row 19 : 19 | norway | english | veronica akselsen | "am i supposed to love again" | None | 4th | 5 | 139 row 20 : 20 | slovenia | slovene | brigita suler | "samara" | None | 3rd | 11 | 57 row 21 : 21 | spain | spanish | coral | "todo esta en t | everything is in your mind | 2nd | 2 | 178 ] Execute this SQL based on the above table: select song where place = ( select place where song = '"not crazy after all"' ) + 1
"caravaggio"
[ header: first issued | design | slogan | serial format | serials issued | notes row 1 : 1955 | white embossed digits with white border | "grand canyon state" embossed in white | a-12345 | None | coded by county of issuance row 2 : 1958 | white embossed digits with white border | grand canyon state embossed in white and | abc-123 | aaa-001 to bzz | None row 3 : 1960 | blue embossed digits with blue border | grand canyon state embossed in blue and | abc-123 | caa-001 to dzz-999 | None row 4 : 1963 | white embossed digits with white border | grand canyon state embossed in white and | abc-123 | eaa-001 to fzz | None row 5 : 1965 | black embossed digits with black border | grand canyon state embossed in black and | abc-123 | haa-001 to jzz-999 | None row 6 : 1968 | black embossed digits with black border | grand canyon state embossed in black and | abc-123 | kaa-001 to nzz- | None row 7 : 1972 | green embossed digits with green border | grand canyon state embossed in green and | abc-123 | paa-001 to wzz-999 | None row 8 : 1980 | white embossed digits with white emb | grand canyon state embossed in white and | abc-123 | aaa-001 to nzz | None row 9 : 1996 | dark green embossed digits on | grand canyon state in dark green thin plain letters at | 123·abc | 101·aaa to 999·z | awarded "plate of the year" for best new row 10 : 2008 | dark green screened digits on screened | grand canyon state in dark green thin plain letters at | abc1234 | aaa0001 to present | None ] Execute this SQL based on the above table: select sum ( first issued )
19725
[ header: rank | name | nationality | time | notes row 1 : None | chelsey gotell | canada | 2:28.15 | wr row 2 : None | kirby cote | canada | 2:28.65 | None row 3 : None | valerie grand maison | canada | 2:29.29 | None row 4 : 4 | kelley becherer | united states | 2:32.21 | None row 5 : 5 | prue watt | australia | 2:32.87 | None row 6 : 6 | teigan van roosmal | australia | 2:39.20 | None row 7 : 7 | lidia marta banos | spain | 2:48.80 | None row 8 : 8 | akari kasamoto | japan | 2:55.16 | None ] Execute this SQL based on the above table: select nationality order by time asc limit 1
canada
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | great britain (gbr) | 2 | 1 | 2 | 5 row 2 : 2 | brazil (bra) | 2 | 0 | 0 | 2 row 3 : 3 | spain (esp) | 1 | 2 | 0 | 3 row 4 : 4 | austria (aut) | 1 | 1 | 0 | 2 row 5 : 4 | greece (gre) | 1 | 1 | 0 | 2 row 6 : 4 | united states (usa) | 1 | 1 | 0 | 2 row 7 : 7 | france (fra) | 1 | 0 | 1 | 2 row 8 : 7 | israel (isr) | 1 | 0 | 0 | 1 row 9 : 7 | norway (nor) | 1 | 0 | 0 | 1 row 10 : 10 | ukraine (ukr) | 0 | 2 | 0 | 2 row 11 : 11 | china (chn) | 0 | 1 | 0 | 1 row 12 : 11 | czech republic (cze) | 0 | 1 | 0 | 1 row 13 : 11 | canada (can) | 0 | 1 | 0 | 1 row 14 : 14 | denmark (den) | 0 | 0 | 2 | 2 row 15 : 15 | argentina (arg) | 0 | 0 | 1 | 1 row 16 : 15 | italy (ita) | 0 | 0 | 1 | 1 row 17 : 15 | japan (jpn) | 0 | 0 | 1 | 1 row 18 : 15 | poland (pol) | 0 | 0 | 1 | 1 row 19 : 15 | slovenia (slo) | 0 | 0 | 1 | 1 row 20 : 15 | sweden (swe) | 0 | 0 | 1 | 1 row 21 : total | None | 11 | 11 | 11 | 33 ] Execute this SQL based on the above table: select count ( * ) where nation = 609
0
[ header: year | english title | japanese | romanization | type row 1 : 1991 | (toppu! minipato ta | 突風! ミニハト隊 アイキャッチ・シャンクション | toppu! minipato tai | video row 2 : 1991 | (redi hanta: kor | レティハンター 殺しのフレュート | redi hanta: koro | video row 3 : 1995 | (daisan no gokudo | 第三の極道 | daisan no gokudo | video row 4 : 1995 | osaka tough guys | なにわ遊侠伝 | naniwa yukyo | video row 5 : 1996 | the way to fight | 喧嘩の花道 大阪最強伝説 | kenka no hanamichi: | video row 6 : 1997 | full metal yakuza | full metal 極道 | full metal gokudo | video row 7 : 1998 | the bird people in china | 中国の鳥人 | chugoku no chojin | film row 8 : 1998 | blues harp | blues harp | None | film row 9 : 1999 | man, a natural girl | 天然少女萬 | tennen shojo man | tv row 10 : 1999 | ley lines | 日本黒社会 | nihon kuroshaka | film row 11 : 1999 | salaryman kintaro white collar worker | サラリーマン金太郎 | sarariiman kintaro | film row 12 : 2000 | the making of 'gemini' | (unknown) | tsukamoto shin' | tv documentary row 13 : 2001 | ichi the killer | 殺し屋1 | koroshiya 1 | film row 14 : 2002 | dead or alive: final | dead or alive final | None | film row 15 : 2002 | (onna kunishu ikk | おんな 国衆一揆 | onna kunishu ikk | (unknown) row 16 : 2003 | koshonin | 交渉人 | koshonin | tv row 17 : 2004 | zebraman | セフラーマン | zeburaman | film row 18 : 2006 | big bang love, juvenile a 4.6 | 46億年の恋 | 46-okunen no koi | film row 19 : 2006 | imprint episode from masters of horror | インフリント ~ほっけえ、きょうてえ~ | inpurinto ~bokke ky | tv episode row 20 : 2006 | waru: kanketsu-hen | None | waru: kanketsu-hen | video row 21 : 2009 | crows zero 2 | クロースzero 2 | kurozu zero 2 | film row 22 : 2011 | hara-kiri: death of a | 一命 | ichimei | film row 23 : 2012 | ace attorney | 逆転裁判 | gyakuten saiban | film row 24 : 2013 | shield of straw | 藁の楯 | wara no tate | film ] Execute this SQL based on the above table: select count ( type ) where english title = 'shield of straw'
1
[ header: date | name of ship | nationality | tonnage | fate row 1 : 5 june 1940 | ss stancor | united kingdom | 798 | sunk at 58°48′n row 2 : 7 june 1940 | ss frances massey | united kingdom | 4212 | sunk at 55°33′n 08 row 3 : 7 june 1940 | ss eros | united kingdom | 5888 | damaged at 55°33′n 08°26 row 4 : 11 june 1940 | ss violando n go | greece | 2375 | sunk at 44°04′n 12 row 5 : 19 june 1940 | mv tudor | norway | 6607 | sunk at 45°10′n 11 row 6 : 19 june 1940 | ss baron loudoun | united kingdom | 3164 | sunk at 45°00′n 11 row 7 : 19 june 1940 | ss british monarch | united kingdom | 5661 | sunk at 45°00′n 11 row 8 : 20 june 1940 | mv moerdrecht | netherlands | 7493 | sunk at 43°34′n 14 row 9 : 16 august 1940 | ss hedrun | sweden | 2325 | sunk at 57°10′n row 10 : 19 august 1940 | ss ville de gand | belgium | 7590 | sunk at 55°28′n 15 row 11 : 24 august 1940 | ss la brea | united kingdom | 6666 | sunk at 57°24′n row 12 : 25 august 1940 | ss empire merlin | united kingdom | 5763 | sunk at 58°30′n row 13 : 25 august 1940 | mv athelcrest | united kingdom | 6825 | sunk at 58°24′n ] Execute this SQL based on the above table: select sum ( tonnage )
65367.0
[ header: pick # | cfl team | player | position | college row 1 : 25 | montreal alouettes | shawn gifford | ot | charleston southern row 2 : 26 | toronto argonauts | kevin eiben | s | bucknell row 3 : 27 | winnipeg blue bombers | nick tsatsaronis | rb | memphis row 4 : 28 | hamilton tiger-cats | ryan donnelly | ol | mcmaster row 5 : 29 | montreal alouettes | peter moore | dl | syracuse row 6 : 30 | calgary stampeders | andrew carter | ol | bishop's row 7 : 31 | montreal alouettes | steven maheu | wr/qb | simon fraser row 8 : 32 | bc lions | kelly bates | ol | saskatchewan ] Execute this SQL based on the above table: select college order by pick # asc limit 1
charleston southern
[ header: year | title | album | us r&b | us pop | us dance row 1 : 1989 | "talk to myself"/sweet memories | adventures in paradise a | 4 | 49 | 18 row 2 : 1989 | "promises, promises"/lover | adventures in paradise a | 7 | None | None row 3 : 1990 | "one girl"/lover come back | adventures in paradise a | 31 | None | None row 4 : 1991 | "i'm dreamin'" | new jack city soundtrack | 1 | 89 | 16 row 5 : 1991 | "i wanna b ure lover" | f.s. effect featuring christoph | 52 | None | None row 6 : 1992 | "all i see" | changes | 19 | None | 46 row 7 : 1993 | "every little thing u do" | changes | 7 | 75 | None row 8 : 1993 | "come go with me" | changes | 74 | None | None row 9 : 1995 | "dance 4 me" | not a perfect man | 25 | None | None row 10 : 1995 | "if you say" | not a perfect man | 91 | None | None ] Execute this SQL based on the above table: select count ( album ) where year > 1441
10
[ header: player | country | year(s) won | r1 | r2 | total | to par row 1 : don january | united states | 1967 | 76 | 74 | 150 | 6 row 2 : jack burke, jr | united states | 1956 | 75 | 75 | 150 | 6 row 3 : raymond floyd | united states | 1969 | 77 | 74 | 151 | 7 row 4 : jay hebert | united states | 1960 | 74 | 79 | 153 | 9 row 5 : dow finsterwald | united states | 1958 | 79 | 74 | 153 | 9 row 6 : doug ford | united states | 1955 | 77 | 80 | 154 | 14 row 7 : jerry barber | united states | 1961 | 78 | 80 | 158 | 14 row 8 : gene sarazen | united states | 1922, 1923, 1933 | 81 | 79 | 160 | 16 row 9 : walter burkemo | united states | 1953 | 83 | 79 | 162 | 18 row 10 : denny shute | united states | 1936, 1937 | 81 | 87 | 168 | 24 ] Execute this SQL based on the above table: select r2 where year(s) won = 1961
80
[ header: year | title | role | notes row 1 : 2006 | save the last dance 2 | mixx | direct to video row 2 : 2007 | nick cannon/wild 'n | himself | improv comedy row 3 : 2007 | stomp the yard | rich brown | film row 4 : 2011 | csi: ny | the hitman | episode 7.14 "smooth criminal" row 5 : 2011 | the fresh beat band | himself | special episode "band in a jam" row 6 : 2011 | battle: los angeles | specks | film row 7 : 2012 | empire girls: julissa | himself | reality-show row 8 : 2012 | red tails | andrew 'smoky' | film row 9 : 2012 | i heart tuesdays | none | (tv), creator row 10 : 2012 | the x factor | guest mentor | None row 11 : 2012 | never mind the buzzcocks | guest host | None row 12 : 2012 | 90210 | guest star | None ] Execute this SQL based on the above table: select role where id = ( select id where role = 'himself' ) + 1
rich brown
[ header: creature (other planes) | page | other appearances | variants | description row 1 : aerial servant | 39 | rules cyclopedia (1991) | None | None row 2 : basilisk | 39 | d&d expert rules (1981), | None | describes additional abilities/penalties applicable to native row 3 : cockatrice | 39 | d&d expert rules (1981), | None | describes additional abilities/penalties applicable to native row 4 : djinni, lesser | 39 | d&d expert rules (1981), | None | describes additional abilities/penalties applicable to native row 5 : djinni, greater | 39 | rules cyclopedia (1991) | None | None row 6 : efreeti, lesser | 39 | d&d expert rules (1981), | None | describes additional abilities/penalties applicable to native row 7 : efreeti, greater | 39-40 | rules cyclopedia (1991) | None | None row 8 : elemental | 40 | d&d expert rules (1981), | None | describes additional statistics and abilities/penalties applicable row 9 : gorgon | 40 | d&d expert rules (1981), | None | describes additional abilities/penalties applicable to native row 10 : helion | 40 | rules cyclopedia (1991) | None | None row 11 : horde | 41 | rules cyclopedia (1991) | None | None row 12 : hydrax | 41 | rules cyclopedia (1991) | None | None row 13 : invisible stalker | 41 | d&d expert rules (1981), | None | describes additional abilities/penalties applicable to native row 14 : kryst | 42 | rules cyclopedia (1991) | None | None row 15 : medusa | 42 | d&d basic rules (1981), | None | describes additional abilities/penalties applicable to native row 16 : plasm | 42 | rules cyclopedia (1991) | normal and giant | None row 17 : salamander | 42 | d&d expert rules (1981), | None | describes additional abilities/penalties applicable to native row 18 : undine | 42 | rules cyclopedia (1991) | None | None ] Execute this SQL based on the above table: select creature (other planes) where page > ( select page where creature (other planes) = 'hydrax' ) order by page limit 1
kryst
[ header: number | year built | builder | status | notes row 1 : e371 | 1892 | david munro & co., | static display | on static display at maldon station row 2 : d3 619 | 1914 | newport workshops | stored | obtained from ssr bendigo in row 3 : d3 646 | 1905 | newport workshops | stored | non-operational. had been plinthed row 4 : k157 | 1940 | newport workshops | stored | non-operational. stored at maldon for row 5 : k160 | 1940 | newport workshops | overhaul | withdrawn from traffic mid 2012, transferred by road row 6 : j515 | 1954 | vulcan foundry | operational | returned to traffic in mid april 2012. row 7 : j549 | 1954 | vulcan foundry | operational | returned to service during november 2013 following ] Execute this SQL based on the above table: select status group by status order by count ( * ) desc limit 1
stored
[ header: no. in series | no. in season | title | directed by | written by | original air date | production code row 1 : 125 | 1 | "burnin' down the house" | madeline cripe | joel madison & | september 18, 1995 | 60101 row 2 : 126 | 2 | "get a job" | shelley jensen | mort scrivner | september 25, 1995 | 60102 row 3 : 127 | 3 | "stress related" | shelley jensen | larry wilmore | october 2, 1995 | 60103 row 4 : 128 | 4 | "bourgie sings the blues" | shelley jensen | tom devanney | october 9, 1995 | 60104 row 5 : 129 | 5 | "the script formerly known as..." | shelley jensen | felicia d. henderson | october 16, 1995 | 60105 row 6 : 130 | 6 | "not i barbecue" | madeline cripe | matt tarses & kand | october 23, 1995 | 60106 row 7 : 132 | 8 | "viva lost wages" | shelley jensen | robert bruce | november 13, 1995 | 60108 row 8 : 133 | 9 | "there's the rub" (part 1) | shelley jensen | joel madison | november 20, 1995 | 60109 row 9 : 134 | 10 | "there's the rub" (part 2) | shelley jensen | joel madison | november 20, 1995 | 60110 row 10 : 135 | 11 | "i, ooh, baby, | alfonso ribeiro | adam markowitz & tom | december 11, 1995 | 60111 row 11 : 136 | 12 | "boxing helena" | shelley jensen | michael soccio | january 8, 1996 | 60112 row 12 : 137 | 13 | "i, clownius" | shelley jensen | story: david wyatt | january 15, 1996 | 60115 row 13 : 138 | 14 | "breaking up is hard to do" (part | shelley jensen | lisa rosenthal | february 12, 1996 | 60113 row 14 : 139 | 15 | "breaking up is hard to do" (part | shelley jensen | lisa rosenthal | february 19, 1996 | 60114 row 15 : 140 | 16 | "i, bowl buster" | shelley jensen | michael soccio | february 26, 1996 | 60117 row 16 : 141 | 17 | "the butler's son did it" | madeline cripe | lisa rosenthal | march 18, 1996 | 60116 row 17 : 142 | 18 | "hare today..." | shelley jensen | robert bruce | april 8, 1996 | 60119 row 18 : 143 | 19 | "i, whoops, there it is" | shelley jensen | tanya ward & mary | april 15, 1996 | 60124 row 19 : 144 | 20 | "i, stank horse" | shelley jensen | tom devanney | april 22, 1996 | 60120 row 20 : 145 | 21 | "i, stank hole in one" | werner walian | matt tarses & michae | may 6, 1996 | 60121 row 21 : 146 | 22 | "eye, tooth" | shelley jensen | adam markowitz | may 13, 1996 | 60118 ] Execute this SQL based on the above table: select count ( * ) where title = '"eye, tooth"'
1
[ header: event | gold | silver | bronze | total | ranking row 1 : 1976 winter paralympics | 10 | 1 | 1 | 12 | 2nd row 2 : 1984 winter paralympics | 4 | 2 | 3 | 9 | 5th row 3 : 1988 winter paralympics | 5 | 16 | 16 | 37 | 7th row 4 : 1992 winter paralympics | 3 | 8 | 4 | 15 | 8th row 5 : 1994 winter paralympics | 2 | 9 | 5 | 16 | 11th row 6 : 1998 winter paralympics | 10 | 5 | 8 | 23 | 6th row 7 : 2002 winter paralympics | 6 | 4 | 2 | 12 | 7th row 8 : 2006 winter paralympics | 0 | 1 | 1 | 2 | 13th row 9 : 2010 winter paralympics | 1 | 2 | 0 | 3 | 13th ] Execute this SQL based on the above table: select ranking where silver = 16
7th
[ header: round | # | player | nationality | college/junior/club team (league) row 1 : 1 | 26 | cory schneider (g) | united states | phillips academy (us high school) row 2 : 3 | 91 | alexander edler (d) | sweden | jamtland (sweden) row 3 : 4 | 125 | andrew sarauer (lw | canada | langley hornets (bch row 4 : 5 | 159 | mike brown (rw) | united states | university of michigan (ccha) row 5 : 6 | 189 | julien ellis (g) | canada | shawinigan cataractes (qm row 6 : 8 | 254 | david schulz (d) | canada | swift current broncos (whl row 7 : 9 | 287 | jannik hansen (rw | denmark | malmo jr. (sj ] Execute this SQL based on the above table: select # where player = 'david schulz (d)'
254.0
[ header: by-election | date | incumbent | party | winner | party | cause | retained row 1 : stanstead | january 22, 1908 | henry lovell | liberal | charles henry lovell | liberal | death | yes row 2 : nicolet | december 30, 1907 | charles ramsay devlin | liberal | gustave-adolphe-n | liberal | resignation upon appointment to the provincial cabinet of quebe | yes row 3 : london | october 29, 1907 | c. s. hyman | liberal | thomas beattie | conservative | resignation | no row 4 : brockville | september 18, 1907 | daniel derbyshire | liberal | george perry graham | liberal | called to the senate | yes row 5 : city and county of st. john | september 18, 1907 | alfred stockton | conservative | william pugsley | liberal | death | no row 6 : richelieu | march 7, 1907 | arthur-aime bruneau | liberal | adelard lanctot | liberal | appointed a judge of the superior court of que | yes row 7 : three rivers and st. maurice | february 28, 1907 | jacques bureau | liberal | jacques bureau | liberal | recontested upon appointment as solicitor general | yes row 8 : st. mary | november 21, 1906 | camille piche | liberal | mederic martin | liberal | appointed police magistrate in montreal | yes row 9 : shelburne and queen's | october 31, 1906 | william stevens fielding | liberal | william stevens fielding | liberal | election declared void | yes row 10 : elgin east | october 14, 1906 | andrew b. ingram | liberal-conservative | david marshall | conservative | appointed vice chairman of the ontario railway and | yes row 11 : renfrew north | october 9, 1906 | peter white | conservative | gerald verner white | conservative | death | yes row 12 : strathcona | april 5, 1906 | peter talbot | liberal | wilbert mcinty | liberal | called to the senate | yes row 13 : victoria city | march 6, 1906 | george riley | liberal | william templeman | liberal | resignation to provide a seat for templeman | yes row 14 : maisonneuve | february 23, 1906 | raymond prefontaine | liberal | alphonse verville | labour | death | no row 15 : assiniboia west | february 6, 1906 | thomas walter scott | liberal | william erskine knowles | liberal | resignation to enter provincial politics in sas | yes row 16 : saskatchewan | february 6, 1906 | john henderson lamont | liberal | george ewan mccra | liberal | resignation to enter provincial politics in sas | yes row 17 : antigonish | november 22, 1905 | colin mcisaac | liberal | william chisholm | liberal | appointed a railway commissioner | yes row 18 : lambton west | november 22, 1905 | thomas george johnston | liberal | frederick forsyth parde | liberal | death | yes row 19 : wentworth | november 22, 1905 | e. d. smith | conservative | peter douglas mclean | conservative | election declared void | yes row 20 : edmonton | april 25, 1905 | frank oliver | liberal | frank oliver | liberal | recontested upon appointment as minister of the interior | yes ] Execute this SQL based on the above table: select count ( by-election ) where cause = 'yes' and by-election != 'richelieu'
0
[ header: week | date | opponent | result | attendance row 1 : 1 | september 12, 1982 | at new york jets | w 45-28 | 53,360 row 2 : 2 | september 19, 1982 | baltimore colts | w 24-20 | 51,999 row 3 : 3 | november 21, 1982 | at buffalo bills | w 9-7 | 52,945 row 4 : 4 | november 29, 1982 | at tampa bay buccaneers | l 17-23 | 65,854 row 5 : 5 | december 5, 1982 | minnesota vikings | w 22-14 | 45,721 row 6 : 6 | december 12, 1982 | at new england patriots | l 0-3 | 25,716 row 7 : 7 | december 18, 1982 | new york jets | w 20-19 | 67,702 row 8 : 8 | december 27, 1982 | buffalo bills | w 27-10 | 73,924 row 9 : 9 | january 2, 1983 | at baltimore colts | w 34-7 | 19,073 ] Execute this SQL based on the above table: select attendance where result = 'w 20-19'
67702.0
[ header: date | opponent# | rank# | site | result | attendance row 1 : september 11 | baylor | #14 | ohio stadium • columbus | w 21-14 | 88622 row 2 : september 18 | at michigan state | #12 | spartan stadium • east lans | w 31-10 | 73483 row 3 : september 25 | stanford | #13 | ohio stadium • columbus | l 20-23 | 89436 row 4 : october 2 | florida state | None | ohio stadium • columbus | l 17-34 | 89491 row 5 : october 9 | wisconsin | None | ohio stadium • columbus | l 0-6 | 88344 row 6 : october 16 | at #15 illinois | None | memorial stadium • champaign, il | w 26-21 | 73488 row 7 : october 23 | at indiana | None | memorial stadium • bloomington, in | w 49-25 | 52,04 row 8 : october 30 | purdue | None | ohio stadium • columbus | w 38-6 | 89341 row 9 : november 6 | minnesota | None | ohio stadium • columbus | w 35-10 | 87666 row 10 : november 13 | at northwestern | None | dyche stadium • evanston | w 40-28 | 30074 row 11 : november 20 | #13 michigan | None | ohio stadium • columbus | w 24-14 | 90252 row 12 : december 17 | vs. byu | #17 | jack murphy stadium • san die | w 47-17 | 52533 ] Execute this SQL based on the above table: select ( select attendance where date = 'october 16' ) = ( select attendance where date = 'november 13' )
0
[ header: year | division | league | regular season | playoffs | open cup row 1 : 2006 | 4 | usl pdl | 4th, heartland | did not qualify | did not qualify row 2 : 2007 | 4 | usl pdl | 2nd, heartland | conference semifinals | did not qualify row 3 : 2008 | 4 | usl pdl | 4th, heartland | did not qualify | 1st round row 4 : 2009 | 4 | usl pdl | 4th, heartland | did not qualify | did not qualify row 5 : 2010 | 4 | usl pdl | 5th, heartland | did not qualify | did not qualify row 6 : 2011 | 4 | usl pdl | 5th, heartland | did not qualify | did not qualify row 7 : 2012 | 4 | usl pdl | 7th, heartland | did not qualify | did not qualify row 8 : 2013 | 4 | usl pdl | 5th, heartland | did not qualify | did not qualify ] Execute this SQL based on the above table: select league order by year limit 1
usl pdl
[ header: no. | date | tournament | winning score | margin of victory | runner(s)-up row 1 : 4 | may 21, 1978 | coca-cola classic | -3 (69-71-70=210 | playoff | joanne carner row 2 : 8 | aug 6, 1978 | colgate european open | -7 (73-71-72-73 | 3 strokes | joanne carner, mary d row 3 : 9 | nov 12, 1978 | colgate far east open | e (75-69-72=216 | 2 strokes | silvia bertolaccini, row 4 : 11 | mar 25, 1979 | sahara national pro-am | -16 (72-67-66-69 | 2 strokes | donna caponi row 5 : 17 | sep 30, 1979 | mary kay classic | -14 (71-66-67-70 | 2 strokes | sandra post row 6 : 18 | mar 30, 1980 | women's kemper open | e (72-66-77-69 | 2 strokes | debbie massey, jo an row 7 : 19 | jun 29, 1980 | the sarah coventry | -9 (73-67-72-71 | 1 stroke | pat bradley row 8 : 20 | sep 1, 1980 | rail charity golf classic | -13 (65-71-71-68 | 1 stroke | joanne carner row 9 : 21 | mar 8, 1981 | arizona copper classic | -14 (70-72-68-68 | 4 strokes | pat bradley row 10 : 22 | apr 5, 1981 | colgate-dinah shore | -11 (71-73-69-64 | 2 strokes | carolyn hill row 11 : 28 | mar 4, 1984 | uniden lpga invitational | e (70-74-66-74=28 | 3 strokes | pat bradley row 12 : 29 | aug 19, 1984 | chevrolet world championship of women' | -7 (69-74-65-73=28 | 1 stroke | joanne carner row 13 : 30 | may 19, 1985 | chrysler-plymouth classic | -9 (69-69-72=210 | 3 strokes | pat bradley row 14 : 32 | jul 7, 1985 | mazda hall of fame championship | -7 (71-70-72-68 | 3 strokes | joanne carner, allison fin row 15 : 36 | sep 13, 1987 | cellular one-ping golf championship | -6 (72-67-71=210 | 1 stroke | kelly leadbetter, muffin s row 16 : 39 | may 15, 1988 | chrysler-plymouth classic | -12 (68-70-66=204 | 8 strokes | jan stephenson row 17 : 42 | sep 24, 1989 | nippon travel-mbs classic | -11 (73-69-65-70 | 2 strokes | alice ritzman, pamela row 18 : 43 | sep 23, 1990 | mbs lpga classic | -7 (69-70-74-68 | playoff | cathy gerring row 19 : 44 | may 5, 1991 | sara lee classic | -10 (65-70-71=206) | 2 strokes | kris monaghan row 20 : 47 | jul 11, 1993 | youngstown-warren lpg | -13 (68-68-67=203 | playoff | deb richard ] Execute this SQL based on the above table: select runner(s)-up where id = ( select id where runner(s)-up = 'pat bradley' ) + 1
joanne carner
[ header: year | game of the year | abstract strategy | advanced strategy | family | family card | family strategy | party | puzzle | word | historical simulation | other row 1 : 1992 | pipeline | terrace | None | showdown yahtzee | arcade: super tetris | real-life strategy: d-day | humm...ble | heaven & earth | wordsters | adventure: the lost files of sherlock | trivia: times to remember row 2 : 1993 | inklings | char | None | perpetual notion | arcade: ecco the dolphin | real-life: civilization | oodles | the incredible machine | pick two! | adventure: return to zork | trivia: celebrity challenge row 3 : 1994 | myst | the game of y | wargames: v for victory | peg poker | arcade: lode runner: the legend returns | real-life strategy: x-com: | the doonesbury game | breakthru! | boggle master | adventure: the elder scrolls: arena | trivia: quote unquote row 4 : 1995 | sharp shooters | strategy: quixo | conflict: colonial diplomacy | touche | phantoms of the ice | sports: dynasty league baseball | catch phrase | lights out | pre.fix | adventure & role playing: dragon dice: battle | trivia: chronicles ccg: on row 5 : 1997 | 25 words or less | transpose | strategy & conflict: field command | mole in the hole | take 6 | priceless | last chance | deluxe lights out | bethump'd with words | adventure & role-playing: dragonl | trivia: origins row 6 : 1998 | quoridor | balanx | strategy & conflict: princess ryan' | take it easy | get the goods | quandary | wise and otherwise | lost in a jigsaw | a to z | None | trivia: director's cut ccg row 7 : 1999 | fossil | gipf | conflict: atlantic storm | montgolfiere | bohnanza | el grande | say when!! | stormy seas | alpha blitz | None | trivia: where in time is carmen s row 8 : 2000 | torres | octi | memory: mamma mia | moonshot | buried treasure | tikal | apples to apples | ricochet robot | double quick! | None | trivia: bioviva ccg: row 9 : 2001 | aladdin's dragons | zertz | the princes of florence | cafe international | hellrail | web of power | democrazy | lunar lockout | None | paths of glory | two-player card: caesar row 10 : 2002 | evo | morisi | java | africa | babel | lord of the rings | hilarium | flip-it! | my word! | drive on paris | manual dexterity: space game row 11 : 2004 | new england | clans | wildlife | i'm the boss! | queen's necklace | zoosim | party/trivia: dibs | river crossing | crossword pyramids | hammer of the scots | two-player card: balloon cup row 12 : 2005 | buyword | yinsh | tahuantinsuy | vanished planet | victory & honor | alexandros | party/trivia: cranium ho | None | None | memoir '44 | None ] Execute this SQL based on the above table: select max ( year )
2005
[ header: rank | name | nationality | time | notes row 1 : None | alberto garcia | spain | 7:43.89 | cr row 2 : None | antonio david jime | spain | 7:46.49 | pb row 3 : None | jesus espana | spain | 7:48.08 | pb row 4 : None | john mayock | great britain | 7:48.08 | None row 5 : 5 | michael buchleitner | austria | 7:54.39 | sb row 6 : 6 | mohammed mourhit | belgium | 7:59.79 | None row 7 : 7 | sergey ivanov | russia | 8:02.98 | None row 8 : 8 | mindaugas pukstas | lithuania | 8:03.21 | pb row 9 : 9 | irba lakhal | france | 8:03.38 | None row 10 : 10 | joakim johansson | denmark | 8:06.47 | None row 11 : 11 | harald steindorfer | austria | 8:09.21 | None row 12 : 12 | ferdinando vicari | italy | 8:17.46 | None row 13 : 13 | martin steinbauer | austria | 8:22.06 | None row 14 : 14 | christos papapetrou | cyprus | 8:30.59 | None ] Execute this SQL based on the above table: select count ( nationality ) where name = 'joakim johansson'
1
[ header: party | votes | % | seats | +/- row 1 : swedish social democratic party | 1914426 | 36.4 | 131 | -30 row 2 : moderate party | 1204926 | 22.9 | 82 | 2 row 3 : left party | 631011 | 12 | 43 | 21 row 4 : christian democrats | 619046 | 11.8 | 42 | 27 row 5 : centre party | 269762 | 5.1 | 18 | -9 row 6 : liberal people's party | 248076 | 4.7 | 17 | -9 row 7 : green party | 236699 | 4.5 | 16 | -2 row 8 : sweden democrats | 19624 | 0.4 | 0 | 0 row 9 : other parties | 117552 | 2.2 | 0 | 0 row 10 : invalid/blank votes | 113466 | None | None | None row 11 : total | 5374588 | 100 | 349 | 0 row 12 : registered voters/turnout | 6603129 | 81.4 | None | None ] Execute this SQL based on the above table: select party where seats = 349
total
[ header: year | title | lead vocalist | aria chart position | album row 1 : 1985 | "time out (for serious fun)" | sandi chick | None | None row 2 : 1985 | "sweat it out" | peter blakeley | None | None row 3 : 1987 | "rhymes" | john kenny | None | tales of the city row 4 : 1987 | "new groove" | john kenny | None | tales of the city row 5 : 1988 | "what's it gonna be" | john kenny | None | tales of the city row 6 : 1988 | "jump" | wendy matthews | None | tales of the city row 7 : 1988 | "dreams in the empty city" | john kenny | None | tales of the city row 8 : 1988 | "boogietron" | ensemble | None | tales of the city row 9 : 1991 | "ain't no sunshine" | deni hines | 5 | form 1 planet row 10 : 1992 | "that word (l.o.v. | deni hines | 4 | form 1 planet row 11 : 1992 | "it's not over" | deni hines | 15 | form 1 planet row 12 : 1992 | "stronger together" | doug williams | None | form 1 planet row 13 : 1992 | "love's gonna bring you home | doug williams | None | form 1 planet row 14 : 1993 | "form one planet" | eric sebastian | None | form 1 planet row 15 : 2002 | "all i want is you" | jeremy gregory | 41 | rockies 3 row 16 : 2002 | "i ain't playin' | roxane lebrasse | 79 | rockies 3 row 17 : 2002 | "police woman 2002" (with groove quant | None | None | None ] Execute this SQL based on the above table: select album order by title desc limit 1
tales of the city
[ header: no. | dub no. | english dubbed title / english subbed title original japanese title | original air date | english air date row 1 : 6 | None | "protect the melody of love! usagi is | april 18, 1992 | None row 2 : 9 | 6 | "time bomb" / "usagi' | may 9, 1992 | september 18, 1995 row 3 : 12 | 9 | "cruise blues" / " | may 30, 1992 | september 21, 1995 row 4 : 14 | 11 | "match point for sailor moon" | june 13, 1992 | september 25, 1995 row 5 : 19 | 16 | "who is that masked man?" | july 25, 1992 | october 2, 1995 row 6 : 24 | 20 | "a friend in wolf's clothing" | august 29, 1992 | october 6, 1995 row 7 : 26 | 22 | "the power of friendship" / "b | september 12, 1992 | october 10, 1995 row 8 : 34 | 30 | "a crystal clear destiny" / "the | november 28, 1992 | october 20, 1995 row 9 : 36 | 32 | "bad hair day" / "usagi | december 12, 1992 | october 24, 1995 row 10 : 40 | 36 | "last resort" / "the legendary lake | january 16, 1993 | october 30, 1995 ] Execute this SQL based on the above table: select count ( * ) where original air date = 'august 29, 1992' and dub no. <= 16
0
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | venezuela | 9 | 8 | 6 | 23 row 2 : 2 | guatemala | 6 | 6 | 6 | 18 row 3 : 3 | peru | 5 | 8 | 9 | 22 row 4 : 4 | chile | 4 | 4 | 1 | 9 row 5 : 5 | el salvador | 4 | 0 | 2 | 6 row 6 : 6 | ecuador | 2 | 5 | 1 | 8 row 7 : 7 | bolivia | 2 | 1 | 2 | 5 row 8 : 8 | dominican republic | 1 | 0 | 2 | 3 row 9 : 9 | colombia | 0 | 1 | 3 | 4 row 10 : total | total | 33 | 33 | 32 | 98 ] Execute this SQL based on the above table: select nation where silver = 8
venezuela, peru
[ header: representative | title | from | to | appointed by row 1 : william shaler | special diplomatic agent | 1810 | 1812 | james madison row 2 : john h. robinson | special diplomatic agent | 1812 | 1814 | james madison row 3 : joel roberts po | minister | 1825 | 1829 | john quincy adams row 4 : anthony butler | charge d'affaires | 1829 | 1835 | None row 5 : powhatan ellis | charge d'affaires | 1836 | None | andrew jackson row 6 : powhatan ellis | minister | 1839 | 1842 | martin van buren row 7 : waddy thompson, j | minister | 1842 | 1844 | john tyler row 8 : gilbert l. tho | special diplomatic agent | 1844 | None | john tyler row 9 : wilson shannon | minister | 1844 | 1845 | john tyler row 10 : john slidell | minister | 1845 | None | james k. polk row 11 : david conner | special diplomatic agent | 1846 | None | james k. polk row 12 : nathan clifford | minister | 1848 | 1849 | james k. polk row 13 : robert greenhow | special diplomatic agent | 1850 | None | None row 14 : george g. goss | special diplomatic agent | 1850 | 1852 | None row 15 : edward smith | special diplomatic agent | 1852 | None | millard fillmore row 16 : george e. cooper | special diplomatic agent | 1853 | None | None row 17 : christopher l. ward | special diplomatic agent | 1853 | None | None row 18 : richard s. spofford | special diplomatic agent | 1854 | None | franklin pierce row 19 : william m. churchwell | special diplomatic agent | 1858 | None | james buchanan row 20 : alfred mordecai | special diplomatic agent | 1858 | None | james buchanan row 21 : duff green | special diplomatic agent | 1859 | None | james buchanan row 22 : david r. porter | special diplomatic agent | 1859 | None | james buchanan row 23 : robert milligan mclane | minister | 1859 | 1860 | james buchanan row 24 : henry roy de la reintrie | special diplomatic agent | 1860 | None | james buchanan row 25 : lewis d. campbell | minister | 1866 | 1867 | andrew johnson row 26 : marcus otterbourg | minister | 1867 | None | andrew johnson row 27 : william s. rosecrans | minister | 1868 | 1869 | andrew johnson row 28 : john w. foster | minister | 1873 | 1880 | ulysses s. grant row 29 : philip hicky morgan | minister | 1880 | 1885 | rutherford b. hayes row 30 : thomas courtland manning | minister | 1886 | 1887 | grover cleveland row 31 : thomas ryan | minister | 1889 | 1893 | None row 32 : matt whitaker ransom | minister | 1895 | 1897 | grover cleveland row 33 : powell clayton | minister | 1897 | 1898 | None ] Execute this SQL based on the above table: select appointed by where appointed by = 'james buchanan'
james buchanan, james buchanan, james buchanan, james buchanan, james buchanan, james buchanan
[ header: year | competition | date | location | opponent | score | result | bye row 1 : 1990 | world group, 1st round | 2-4 feb | barcelona (esp) | spain | 3-2 | win | row 2 : 1990 | world group, quarterfinals | 30 mar - 2 apr | vienna (aut) | italy | 5-0 | win | row 3 : 1990 | world group, semifinals | 21-23 sep | vienna (aut) | united states | 2-3 | loss | row 4 : 1991 | world group, 1st round | 1-3 feb | prague (tch) | czechoslovakia | 1-4 | loss | row 5 : 1991 | world group, relegation play-off | 20-22 sep | manchester (gbr) | great britain | 1-3 | loss | row 6 : 1992 | euro/african zone group i | None | None | None | None | None | row 7 : 1992 | euro/african zone group i | 1-3 may | helsinki (fin) | finland | 4-1 | win | row 8 : 1992 | world group, relegation play-off | 25-27 sep | vancouver (can) | canada | 3-1 | win | row 9 : 1993 | world group, 1st round | 26-28 mar | vienna (aut) | france | 1-4 | loss | row 10 : 1993 | world group, relegation play-off | 24-26 sep | christchurch (nzl) | new zealand | 3-2 | win | row 11 : 1994 | world group, 1st round | 26-28 mar | graz (aut) | germany | 2-3 | loss | row 12 : 1994 | world group, relegation play-off | 23-25 sep | montevideo (uru) | uruguay | 3-2 | win | row 13 : 1995 | world group, 1st round | 3-5 feb | vienna (aut) | spain | 4-1 | win | row 14 : 1995 | world group, quarterfinals | 31 mar - 2 apr | vaxjo (swe) | sweden | 0-5 | loss | row 15 : 1996 | world group, 1st round | 9-12 feb | johannesburg (rsa) | south africa | 2-3 | loss | row 16 : 1996 | world group, relegation play-off | 20-22 sep | sao paulo (bra) | brazil | 1-4 | loss | row 17 : 1997 | euro/african zone group i | None | None | None | None | None | row 18 : 1997 | euro/african zone group i | 4-6 apr | graz (aut) | croatia | 3-2 | win | row 19 : 1997 | world group, relegation play-off | 19-21 sep | harare (zim) | zimbabwe | 2-3 | loss | row 20 : 1998 | euro/african zone group i | 3-5 apr | ramat hasharon (isr) | israel | 1-4 | loss | row 21 : 1998 | euro/african zone group i | 25-27 sep | portschach (aut) | denmark | 5-0 | win | row 22 : 1999 | euro/african zone group i | 2-4 apr | wels (aut) | portugal | 4-1 | win | row 23 : 1999 | world group, relegation play-off | 24-26 sep | portschach (aut) | sweden | 3-2 | win | ] Execute this SQL based on the above table: select max ( score ) - min ( score )
5
[ header: year | division | league | regular season | playoffs | open cup row 1 : 2004 | 4 | usl pdl | 8th, mid south | did not qualify | did not qualify row 2 : 2005 | 4 | usl pdl | 2nd, mid south | conference finals | did not qualify row 3 : 2006 | 4 | usl pdl | 1st, mid south | national final | 1st round row 4 : 2007 | 4 | usl pdl | 1st, mid south | champions | did not qualify row 5 : 2008 | 4 | usl pdl | 2nd, mid south | national final | did not qualify row 6 : 2009 | 4 | usl pdl | 1st, mid south | conference finals | did not qualify row 7 : 2010 | 4 | usl pdl | 1st, mid south | conference semi-final | did not qualify row 8 : 2011 | 4 | usl pdl | 1st, mid south | national final | did not qualify row 9 : 2012 | 4 | usl pdl | 1st, mid south | conference semi-final | 2nd round row 10 : 2013 | 4 | usl pdl | 2nd, mid south | conference finals | 2nd round ] Execute this SQL based on the above table: select count ( * ) where division >= 161
0
[ header: wrestlers | times | date | location | notes row 1 : kyoko inoue and ko | 1 | february 25, 2000 | tokyo, japan | kyoki inoue is the first row 2 : koji nakagawa and | 2 | april 1, 2000 | yokosuka, japan | nakagawa and gedo are row 3 : jado and gedo | 1 | july 14, 2000 | takamatsu, japan | jado and gedo defeated h row 4 : masao inoue and yos | 1 | july 28, 2000 | tokyo, japan | None row 5 : tamon honda and na | 1 | august 22, 2000 | tokyo, japan | title change occurs in pro wrestling noah row 6 : kodo fuyuki and | 1 | december 23, 2000 | tokyo, japan | title change occurs in pro wrestling noah row 7 : masato tanaka and gedo | 1 | january 7, 2001 | tokyo, japan | gedo becomes the first person to hold the row 8 : goemon and onryo | 1 | may 5, 2001 | kawasaki, japan | goemon and onryo defeated nova row 9 : mr. gannosuke and | 1 | september 5, 2001 | sapporo, japan | None row 10 : hayabusa and tet | 1 | october 9, 2001 | tokyo, japan | the titles are vacated later in the month row 11 : tetsuhiro ku | 1 | december 21, 2001 | tokyo, japan | kuroda and gannosuke row 12 : kodo fuyuki and | 1 | february 4, 2002 | tokyo, japan | fuyuki and sandman defeated row 13 : kintaro kanemura and | 1 | march 11, 2003 | tokyo, japan | titles are vacated in march 2005 row 14 : tetsuhiro ku | 1 | march 12, 2005 | chiba, chiba, | defeated takashi sasaki row 15 : takashi sasaki and | 1 | august 6, 2006 | tokyo, japan | defeated tetsuhiro ] Execute this SQL based on the above table: select sum ( date ) where date = 9
0.0
[ header: location | region | coordinates (links to map & photo sources) | population | elevation row 1 : andahuaylas | apurimac | 13°39′20′′s 73° | 17444 | 3052 row 2 : barranca | lima | 10°45′00′′s 77° | 46290 | 64 row 3 : candarave | tacna | 17°16′04′′s 70°14 | 3415 | 3077 row 4 : checca | cusco | 14°28′22′′s 71° | 3810 | 3991 row 5 : chota | cajamarca | 6°33′s 78°39′ | 14240 | 2552 row 6 : independencia | lima | 11°59′24′′s 77° | 3987 | 390 row 7 : iquitos | loreto | 3°44′53′′s 73° | 437620 | 107 row 8 : junin | junin | 11°09′32′′s 75°59 | 15320 | 3999 row 9 : los aquijes | ica | 14°05′48′′s 75°41 | 7848 | 457 row 10 : mochumi | lambayeque | 6°32′49′′s 79° | 7460 | 151 row 11 : morrope | lambayeque | 6°32′30′′s 80°00 | 6662 | 116 row 12 : oyon | lima | 10°40′05′′s 76° | 6276 | 3553 row 13 : pangoa | cusco | 12°07′00′′s 73° | 6638 | 901 row 14 : pucallpa | ucayali | 8°22′45′′s 74° | 310750 | 158 row 15 : salaverry | la libertad | 8°14′00′′s 78° | 10066 | 70 row 16 : salinera colan | piura | 5°02′00′′s 81° | 14210 | 1 row 17 : san pedro de cachor | apurimac | 13°38′00′′s 72°53 | None | 2772 row 18 : sullana | piura | 4°54′14′′s 80°41 | 160789 | 67 row 19 : talara | piura | 4°34′38′′s 81° | 99074 | 14 ] Execute this SQL based on the above table: select coordinates (links to map & photo sources) order by elevation desc limit 1
11°09′32′′s 75°59′35′′w / 11.15889°s 75.99306°w
[ header: year | cast (nabucco, abigaille, zaccaria, ismaele, fenena) | conductor, opera house and orchestra | label row 1 : 1951 | paolo silveri, caterina | fernando previtali, orchestra | audio cd: warner fon row 2 : 1965 | tito gobbi, | lamberto gardelli, vienn | audio cd: decca cat: 4 row 3 : 1977-78 | matteo manuguerra, renat | riccardo muti, phil | audio cd: emi records row 4 : 1982 | piero cappuccilli, | giuseppe sinopoli, | audio cd: dg cat: row 5 : 1987 | renato bruson, g | riccardo muti, la | dvd: warner cat: 5050467 row 6 : 2002 | juan pons, maria | james levine, metropolitan opera | dvd: dg, live recording cat: row 7 : 2004 | alberto gazzale, susan | riccardo frizza, teatr | dvd: dynamic, live recording cat: 334 row 8 : 2004 | renato bruson, mauri | paolo carignani, teat | dvd: brilliant classics, live recording cat: row 9 : 2007 | leo nucci, maria guleg | daniel oren, arena di | dvd: decca, live recording cat: ] Execute this SQL based on the above table: select conductor, opera house and orchestra where id = 1
fernando previtali, orchestra sinfonica e coro di roma della rai
[ header: # | wrestlers | reign | date | days held | location | notes row 1 : 1 | kuishinbo kamen | 1 | january 4, 2001 | 758 | osaka, japan | kamen defeated ebessan to row 2 : 2 | ebessan | 1 | february 1, 2003 | 56 | osaka, japan | None row 3 : 3 | pero | 1 | march 29, 2003 | 7 | osaka, japan | None row 4 : 4 | ebessan | 2 | april 5, 2003 | 92 | osaka, japan | None row 5 : 5 | tigers mask | 1 | july 6, 2003 | 90 | osaka, japan | None row 6 : None | vacant | None | october 4, 2003 | None | None | tigers mask vacated the title to row 7 : 6 | miracle man | 1 | december 7, 2003 | 55 | osaka, japan | miracle man won a 4-way match which included row 8 : 7 | ebessan | 3 | january 31, 2004 | 21 | osaka, japan | None row 9 : 8 | kuishinbo kamen | 2 | february 21, 2004 | 665 | osaka, japan | None row 10 : None | stripped | None | december 17, 2005 | None | None | kamen was stripped of the title due to row 11 : 9 | policeman | 1 | february 18, 2006 | 311 | osaka, japan | None row 12 : 10 | okita-kun | 1 | february 26, 2006 | 314 | osaka, japan | okita-kun won an eight row 13 : None | vacant | None | january 6, 2007 | None | None | okita-hun vacated row 14 : 11 | sgt. suchi | 1 | february 12, 2007 | 194 | osaka, japan | sgt. suchi is a row 15 : 12 | ebessan iii | 1 | august 25, 2007 | 113 | osaka, japan | None row 16 : 13 | kuishinbo kamen | 3 | december 16, 2007 | 84 | tokyo, japan | None row 17 : 14 | miracle man | 2 | march 9, 2008 | 51 | tokyo, japan | None row 18 : 15 | kanjyuro matsuyama | 1 | april 29, 2008 | 0 | tokyo, japan | matsuyama retires the title immediately after row 19 : 16 | kuishinbo kamen | 4 | april 29, 2010 | 59 | osaka, japan | kamen wins both the owarai championship row 20 : 17 | kyusei ninja ranmar | 1 | june 27, 2010 | 22 | osaka, japan | ranmaru wins both titles row 21 : 18 | kuishinbo kamen | 5 | july 19, 2010 | 1435 | osaka, japan | kamen wins both titles ] Execute this SQL based on the above table: select wrestlers where id = ( select id where wrestlers = 'ebessan' ) - 1
kuishinbo kamen
[ header: affiliation | house members 2000 election results | house members at dissolution | senate members on election day 2000 | senate members at dissolution row 1 : liberal party of canada | 172 | 168 | 55 | 65 row 2 : canadian alliance | 66 | None | 1 | None row 3 : bloc quebecois | 38 | 33 | 0 | 0 row 4 : new democratic party | 13 | 14 | 0 | 0 row 5 : progressive conservative | 12 | None | 35 | None row 6 : progressive conservative (senate caucus | None | None | None | 3 row 7 : conservative party of canada | None | 72 | None | 24 row 8 : independent | 0 | 10 | 5 | 5 row 9 : total members | 301 | 297 | 96 | 97 row 10 : vacant | 0 | 4 | 9 | 8 row 11 : total seats | 301 | 301 | 105 | 105 ] Execute this SQL based on the above table: select house members 2000 election results order by house members at dissolution desc limit 1
301.0
[ header: | code | symbol | name | value row 1 : 🚹 | u+1f6b9 | 🚹 | mens symbol | men's restroom row 2 : 🚺 | u+1f6ba | 🚺 | womens symbol | women's restroom row 3 : 🚻 | u+1f6bb | 🚻 | restroom | restrooms or unisex restroom row 4 : 🚼 | u+1f6bc | 🚼 | baby symbol | baby changing station row 5 : ♿ | u+267f | ♿ | wheelchair symbol | disabled accessible facilities row 6 : 🚽 | u+1f6bd | 🚽 | toilet | restroom row 7 : 🚾 | u+1f6be | 🚾 | water closet | restroom with flush toilet row 8 : 🚿 | u+1f6bf | 🚿 | shower | shower facilities row 9 : 🛀 | u+1f6c0 | 🛀 | bath | bathing facilities row 10 : 🛁 | u+1f6c1 | 🛁 | bathtub | bath facilities ] Execute this SQL based on the above table: select count ( * ) where = '🛁'
1
[ header: | brand | active ingredient | therapeutic area | pathology row 1 : 1 | ebastel and others | ebastine | respiratory | allergy row 2 : 2 | prevencor | atorvastatin | cardiovascular | cholesterol row 3 : 3 | esertia | escitalopram | central nervous system | depression row 4 : 4 | plusvent | salmeterol+fluticasone | respiratory | asthma & copd row 5 : 5 | almogran and others | almotriptan | central nervous system | migraine row 6 : 6 | parapres | candesartan cilexetil | cardiovascular | hypertension row 7 : 7 | airtal and others | aceclofenac | osteomuscular | pain row 8 : 8 | opiren | lansoprazole | digestive | ulcer row 9 : 9 | dobupal | venlafaxine | central nervous system | depression row 10 : 10 | tesavel & efficib | sitagliptin & sitaglip | gastrointestinal | diabetes row 11 : 11 | solaraze | diclofenac solium + h | dermatology | actinic keratoses row 12 : 12 | almax and others | almagate | gastrointestinal | antacid row 13 : 13 | balneum and others | soya oil | dermatology | atopic dermatitis row 14 : 14 | pantopam | pantoprazole | gastrointestinal | gastroesophageal reflux row 15 : 15 | decoderm tri and others | fluprednidene | dermatology | mycotic dermatitis ] Execute this SQL based on the above table: select pathology where pathology != 'cholesterol' and therapeutic area = ( select therapeutic area where pathology = 'cholesterol' )
hypertension
[ header: rank | lane | name | nationality | time | notes row 1 : None | 5 | ryan lochte | united states | 1:53.94 | wr row 2 : None | 4 | aaron peirsol | united states | 1:54.33 | None row 3 : None | 8 | arkady vyatchan | russia | 1:54.93 | eu row 4 : 4 | 3 | markus rogan | austria | 1:55.49 | nr row 5 : 5 | 6 | ryosuke irie | japan | 1:55.72 | None row 6 : 6 | 1 | hayden stoeckel | australia | 1:56.39 | oc row 7 : 7 | 2 | razvan florea | romania | 1:56.52 | None row 8 : 8 | 7 | gregor tait | great britain | 1:57.00 | None ] Execute this SQL based on the above table: select ( select max ( lane ) ) - ( select min ( lane ) )
7
[ header: name | place | map ref | date | notes | image row 1 : salisbury cathedral school | the close, salisbury. sp | 51°03′50′′n 1°47 | 13/15th century | initially residential, now a private school | None row 2 : the walton canonry | no. 96 west walk, the close, | 51°03′47′′n 1°47 | 1720 | a private residence, named from earlier resident, | None row 3 : john halle's hall | the new canal, salisbury. s | 51°05′13′′n 1°47 | 15th century with late 19th century frontage | originally residential, now entrance to odeon | no image row 4 : 91 crane street | salisbury sp1 2pu | 51°04′03′′n 1°47 | mid 14th century | residential. previously called 'le crane' in | None row 5 : the old george inn | 15-17 the high street, salisbury. | 51°04′04′′n 1°47 | 14th century | this old inn has a number of literary | None row 6 : school of arts annexe | 4 new street, salisbury. s | 51°04′02′′n 1°47 | 18th century | originally part of salisbury school of art, | None row 7 : trinity street almshouses | nos. 1-13 trinity street salis | 51°04′01′′n 1°47 | 1379 | 2 storied medieval hospital and accommodation rebuilt in | None row 8 : crane bridge | cranebridge road, salisbury. s | 51°04′04′′n 1°47 | 15th century | 4 span bridge over river avon | None row 9 : remains of old sarum castle and cathedral | castle road, salisbury. sp | 51°05′34′′n 1°48 | 12th century | originally an important town and citadel, now | None ] Execute this SQL based on the above table: select count ( date ) where notes = '12th century'
0
[ header: place | team | titles | runners-up | winning years row 1 : 1 | maccabi tel aviv | 5 | 1 | 2007, 2010, 2011, 2012, 2013 row 2 : 2 | hapoel jerusalem | 2 | 3 | 2008, 2009 row 3 : 3 | ironi ashkelon | 1 | 0 | 2006 row 4 : 4 | maccabi rishon lezion | 0 | 1 | None row 5 : 4 | ironi nahariya | 0 | 1 | None row 6 : 4 | hapoel holon | 0 | 1 | None row 7 : 4 | maccabi ashdod | 0 | 1 | None ] Execute this SQL based on the above table: select titles where team = 'hapoel holon' and team = 'hapoel holon'
0.0
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 13 june 2013 | zhejiang dragon sports centre, | russia | 1 - 0 | 5 - 1 | friendly row 2 : 2 | 13 june 2013 | zhejiang dragon sports centre, | russia | 3 - 0 | 5 - 1 | friendly row 3 : 3 | 14 june 2013 | zhejiang dragon sports centre, | netherlands | None | 4 - 3 | friendly row 4 : 4 | 14 june 2013 | zhejiang dragon sports centre, | netherlands | None | 4 - 3 | friendly row 5 : 5 | 15 june 2013 | zhejiang dragon sports centre, | china | None | 5 - 2 | friendly row 6 : 6 | 1 july 2013 | songdo global university campus, incheon | iraq | 3 - 1 | 12 - 3 | 2013 asian indoor-martial arts games row 7 : 7 | 1 july 2013 | songdo global university campus, incheon | iraq | 4 - 1 | 12 - 3 | 2013 asian indoor-martial arts games row 8 : 8 | 6 july 2013 | songdo global university campus, incheon | japan | 5 - 2 | 5 - 2 | 2013 asian indoor-martial arts games row 9 : None | 19 october 2013 | sao keatano, | bank | 3 - 0 | 3 - 0 | unofficial friendly row 10 : 9 | 21 october 2013 | maringa's futsal stadium, | guatemala | None | 7 - 0 | friendly row 11 : 10 | 23 october 2013 | ginasio chico neto, | argentina | 2 - 1 | 2 - 2 | 2013 grand prix de futsal ] Execute this SQL based on the above table: select count ( competition ) where # > 50
0
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | russia | 6 | 3 | 7 | 16 row 2 : 2 | united states | 5 | 0 | 4 | 9 row 3 : 3 | japan | 3 | 4 | 1 | 8 row 4 : 4 | france | 3 | 1 | 1 | 5 row 5 : 5 | ukraine | 2 | 0 | 2 | 4 row 6 : 6 | turkey | 2 | 0 | 1 | 3 row 7 : 7 | sweden | 2 | 0 | 0 | 2 row 8 : 8 | iran | 1 | 2 | 1 | 4 row 9 : 9 | armenia | 1 | 1 | 2 | 4 row 10 : 10 | china | 1 | 1 | 1 | 3 row 11 : 11 | austria | 1 | 0 | 0 | 1 row 12 : 11 | bulgaria | 1 | 0 | 0 | 1 row 13 : 11 | south korea | 1 | 0 | 0 | 1 row 14 : 14 | germany | 0 | 3 | 4 | 7 row 15 : 15 | kazakhstan | 0 | 3 | 0 | 3 row 16 : 16 | cuba | 0 | 2 | 3 | 5 row 17 : 17 | norway | 0 | 2 | 0 | 2 row 18 : 18 | venezuela | 0 | 1 | 1 | 2 row 19 : 19 | canada | 0 | 1 | 0 | 1 row 20 : 19 | hungary | 0 | 1 | 0 | 1 row 21 : 19 | israel | 0 | 1 | 0 | 1 row 22 : 19 | moldova | 0 | 1 | 0 | 1 row 23 : 19 | poland | 0 | 1 | 0 | 1 row 24 : 19 | romania | 0 | 1 | 0 | 1 row 25 : 25 | uzbekistan | 0 | 0 | 1 | 1 row 26 : total | total | 29 | 29 | 29 | 87 ] Execute this SQL based on the above table: select nation where id = ( select id where nation = 'norway' ) + 1
venezuela
[ header: year | award | category | film | result row 1 : 2009 | anandalok awards | anandalok awards for best actor | challenge | won row 2 : 2009 | anandalok awards | anandalok awards for best action hero | challenge | won row 3 : 2010 | star jalsha entertainment awards 2010 | star jalsha entertainment awards 2010 for best | poran jaye jolia re | won row 4 : 2010 | star jalsha entertainment awards 2010 | star jalsha entertainment awards 2010 for best | dujone | nominated row 5 : 2010 | tele cine awards 2010 | tele cine awards 2010 for best actor | challenge | won row 6 : 2010 | kalakar awards 2010 | kalakar awards 2010 for best actor | challenge | won row 7 : 2010 | star ananda shera bangali | star ananda shera notun pro | None | won row 8 : 2010 | anandalok awards 2010 | anandalok awards 2010 for best actor ( | le chakka | won row 9 : 2011 | big bangla movie awards 2011 | big bangla movie awards 2011 for best actor of | None | won row 10 : 2011 | anandalok awards | anandalok awards for best actor | paglu | nominated row 11 : 2011 | star jalsha entertainment awards 2011 | star jalsha entertainment awards 2011 for best | None | won row 12 : 2011 | zee bangla awards 2011 | zee bangla awards 2011 for best actor | le chakka | nominated row 13 : 2012 | star guide bengali film awards 2012 | star guide bengali film awards 2012 for best | paglu | won row 14 : 2012 | anandalok awards 2012 | anandalok awards 2012 for best actor ( | paglu 2 | nominated row 15 : 2012 | zee bangla awards 2012 | zee bangla awards 2012 for best actor | khokababu | won row 16 : 2012 | 12th tele cine awards 2012 | 12th tele cine awards 2012 for best actor | paglu | won row 17 : 2012 | kalakar awards 2012 | kalakar awards 2012 for best actor | paglu | won row 18 : 2013 | 13th tele cine awards 2013 | 13th tele cine awards 2013 for best actor | challenge 2 | nominated row 19 : 2013 | star jalsha entertainment awards 2013 | star jalsha entertainment awards 2013 for best | None | won row 20 : 2013 | star jalsha entertainment awards 2013 | star jalsha entertainment awards 2013 for best | khokababu | won row 21 : 2014 | most desirable tollywood actor 2014 (public poll | best actor | khoka 420,rangbaa | won row 22 : 2014 | tollywood national award 2014 | best actor | chander pahar | won row 23 : 2014 | tollywood national award 2014 | best romantic hero | khoka 420 | nominated row 24 : 2014 | tollywood national award 2014 | best action hero | rangbaaz | won row 25 : 2014 | kalakar awards 2014 | kalakar awards 2014 for best actor | rangbaaz and chander | won row 26 : 2014 | bfja award for best actor 2014 | bfja award for best actor best actor | chander pahar | won row 27 : 2014 | zee bangla gourab som | best actor | chander pahar | won row 28 : 2014 | anandalok awards | best actor | chander pahar | won row 29 : 2014 | zee bangla gourab som | best dancing sensation | None | won row 30 : 2014 | filmfare awards east | global east people's choice filmfare award | None | won row 31 : 2014 | 14th tele cine awards 2014 | 14th tele cine awards for best actor | chander pahar | pending ] Execute this SQL based on the above table: select min ( year )
2009
[ header: language | number | percentage (%) | males | females row 1 : polish | 447685 | 80.86 | 216794 | 230891 row 2 : yiddish | 51215 | 9.25 | 24538 | 26677 row 3 : german | 35931 | 6.49 | 17409 | 18522 row 4 : russian | 15137 | 2.73 | 13551 | 1586 row 5 : ukrainian | 2350 | 0.42 | 2302 | 48 row 6 : other | 1285 | 0.23 | 1041 | 244 row 7 : persons that didn't name their native language | 27 | >0.01 | 14 | 13 row 8 : total | 553633 | 100 | 275652 | 277981 ] Execute this SQL based on the above table: select language where id = 1
polish
[ header: season | skip | third | second | lead | events row 1 : 1995-96 | arnold asham | david nedohin | sean nedohin | don rudd | None row 2 : 1996-97 | dale duguid | james kirkness | david nedohin | doug armstrong | None row 3 : 1997-98 | david nedohin (four | randy ferbey (skip | carter rycroft | pat mccallum | None row 4 : 1998-99 | david nedohin (four | randy ferbey (skip | scott pfeifer | carter rycroft | None row 5 : 2000-01 | david nedohin (four | randy ferbey (skip | scott pfeifer | marcel rocque | 2001 alta., brier, w row 6 : 2001-02 | david nedohin (four | randy ferbey (skip | scott pfeifer | marcel rocque | 2002 alta., brier, w row 7 : 2002-03 | david nedohin (four | randy ferbey (skip | scott pfeifer | marcel rocque | 2003 alta., brier, w row 8 : 2003-04 | david nedohin (four | randy ferbey (skip | scott pfeifer | marcel rocque | 2004 alta., brier row 9 : 2004-05 | david nedohin (four | randy ferbey (skip | scott pfeifer | marcel rocque | 2005 alta., brier, w row 10 : 2007-08 | david nedohin (four | randy ferbey (skip | scott pfeifer | marcel rocque | 2008 alta row 11 : 2008-09 | david nedohin (four | randy ferbey (skip | scott pfeifer | marcel rocque | 2009 alta row 12 : 2009-10 | david nedohin (four | randy ferbey (skip | scott pfeifer | marcel rocque | 2009 coct, 2010 alta row 13 : 2010-11 | randy ferbey | david nedohin | blayne iskiw | david harper | 2011 alta row 14 : 2011-12 | david nedohin (four | randy ferbey (skip | ted appelman | brendan melnyk | None row 15 : 2012-13 | david nedohin | colin hodgson | mike westlund | tom sallows | None row 16 : 2013-14 | kevin martin | david nedohin | marc kennedy | ben hebert | 2013 coct, 2014 alta ] Execute this SQL based on the above table: select count ( * ) where third = 'colin hodgson'
1
[ header: team | year | regular season won | regular season lost | regular season win % | regular season finish | postseason won | postseason lost | postseason win % | postseason result row 1 : cle | 1991 | 32 | 53 | 0.376 | 7th in al east | None | None | None | None row 2 : cle | 1992 | 76 | 86 | 0.469 | 5th in al east | None | None | None | None row 3 : cle | 1993 | 76 | 86 | 0.469 | 6th in al east | None | None | None | None row 4 : cle | 1994 | 66 | 47 | 0.584 | 2nd in al central | None | None | None | no mlb postseason row 5 : cle | 1995 | 100 | 44 | 0.694 | 1st in al central | 9 | 6 | 0.6 | lost ws to atl row 6 : cle | 1996 | 99 | 62 | 0.615 | 1st in al central | 1 | 3 | 0.25 | lost lds to bal row 7 : cle | 1997 | 86 | 75 | 0.534 | 1st in al central | 10 | 8 | 0.556 | lost ws to fla row 8 : cle | 1998 | 89 | 73 | 0.549 | 1st in al central | 5 | 5 | 0.5 | lost lcs to nyy row 9 : cle | 1999 | 97 | 65 | 0.599 | 1st in al central | 2 | 3 | 0.4 | lost lds to bos row 10 : bal | 2000 | 74 | 88 | 0.457 | 4th in al east | None | None | None | None row 11 : bal | 2001 | 63 | 98 | 0.391 | 4th in al east | None | None | None | None row 12 : bal | 2002 | 67 | 95 | 0.414 | 4th in al east | None | None | None | None row 13 : bal | 2003 | 71 | 91 | 0.438 | 4th in al east | None | None | None | None row 14 : sea | 2005 | 69 | 93 | 0.426 | 4th in al west | None | None | None | None row 15 : sea | 2006 | 78 | 84 | 0.481 | 4th in al west | None | None | None | None row 16 : sea | 2007 | 45 | 33 | 0.571 | 2nd in al west | None | None | None | None row 17 : cle total | cle total | 721 | 591 | 0.55 | None | 27 | 25 | 0.519 | None row 18 : bal total | bal total | 275 | 372 | 0.425 | None | 0 | 0 | 0 | None row 19 : sea total | sea total | 192 | 210 | 0.478 | None | 0 | 0 | 0 | None row 20 : total | total | 1188 | 1173 | 0.503 | None | 27 | 25 | 0.519 | None ] Execute this SQL based on the above table: select count ( team ) where postseason won = 'None'
0
[ header: outcome | no. | date | tournament | surface | partner | opponents in the final | score in the final row 1 : runner-up | 1 | 1969 | los angeles, u.s | hard | jim mcmanus | pancho gonzales ron | 3-6, 4-6 row 2 : runner-up | 2 | 1970 | merion, u.s | hard | jim mcmanus | william bowrey ray ruf | 6-3, 2-6, 5-7 row 3 : winner | 1 | 1971 | columbus, u.s | hard | jim mcmanus | jimmy connors ros | 4-6, 7-5, 6-2 row 4 : winner | 2 | 1971 | merion, u.s | hard | clark graebner | robert mckinley | 7-6, 6-3 row 5 : winner | 3 | 1971 | sacramento, u. | hard | jim mcmanus | bob maud frew m | 7-6, 6-3 row 6 : winner | 4 | 1972 | los angeles, u.s | outdoor | jim mcmanus | ilie nastase i | 6-2, 5-7, 6-4 row 7 : winner | 5 | 1972 | london/queen's club | grass | jim mcmanus | jurgen fassbender karl me | 4-6, 6-3, 7-5 row 8 : runner-up | 3 | 1972 | tanglewood, u.s | other | jim mcmanus | bob hewitt andrew | 4-6, 4-6 ] Execute this SQL based on the above table: select opponents in the final order by date limit 1709
pancho gonzales ron holmberg, william bowrey ray ruffels, jimmy connors roscoe tanner, robert mckinley dick stockton, bob maud frew mcmillan, ilie nastase ion tiriac, jurgen fassbender karl meiler, bob hewitt andrew pattison
[ header: car | engine | compression | power | torque | turbo | stock boost | turbine | compressor row 1 : '89 u12 bluebird l | redtop | 8.5:1 | 150 kw (201 hp) | 202 lb·ft (274 | t-25g | 7psi | None | None row 2 : '91-'95 u13 blue | redtop | 8.5:1 | 154 kw (206 hp | 202 lb·ft (274 | t-25g | 7psi | None | None row 3 : '95-'97 w10 | silvertop | 8.5:1 | 154 kw (206 hp | 202 lb·ft (274 | t-25g | 7psi | None | None row 4 : '97-'01 w11 | silvertop | 8.5:1 | 169 kw (227 hp | 203 lb·ft (275 | t-25bb | 9psi | None | None row 5 : '90-'94 n14 | redtop | 8.3:1 | 169 kw (227 hp | 210 lb·ft (280 | t-28 | 7psi | 79 trim 53 mm (2.1 in) | 60 trim 60 mm bci-1 row 6 : '91-'93 s13 si | redtop | 8.5:1 | 151 kw (202 hp | 203 lb·ft (275 | t-25g | 7psi | 62 trim 53.8 mm (2.1 in | 60 trim 56mm bci-1 row 7 : '94-'98 s13 180 | blacktop | 8.5:1 | 151 kw (202 hp | 203 lb·ft (275 | t-25g | 7psi | 62 trim 53.8 mm (2.1 in | 60 trim 56mm bci-1 row 8 : '95-'99 s14 si | blacktop | 8.5:1 | 162 kw (217 hp | 203 lb·ft (275 | t-28 | 7psi | 62 trim 53.8 mm (2.1 in | 60 trim 60 mm bci-1 row 9 : '99-02 s15 sil | blacktop | 8.5:1 | 183 kw (245 hp | 202 lb·ft (274 | t-28bb | 7psi | 62 trim 53.8 mm (2.1 in | 60 trim 60 mm bci-1 ] Execute this SQL based on the above table: select count ( power ) where stock boost >= '7psi'
0
[ header: rank | name | nationality | time | notes row 1 : None | jill sterkel | united states | 1:00.53 | nr, gr row 2 : None | lisa buese | united states | 1:00.59 | None row 3 : None | nancy garapick | canada | 1:02.96 | None row 4 : 4 | shelley cramer | u.s. virgin islands | 1:03.51 | nr row 5 : 5 | susan sloan | canada | 1:03.52 | None row 6 : 6 | maria paris | costa rica | 1:03.58 | None row 7 : 7 | rosanna juncos | argentina | 1:04.75 | None row 8 : 8 | adriana pereira | brazil | 1:06.79 | None ] Execute this SQL based on the above table: select count ( * ) where time >= 1389
0
[ header: week | date | tv time | opponent | result | game site | record | attendance | bye row 1 : 1 | september 7, 1998 | abc 7:00 pm mt | new england patriots | w 27-21 | mile high stadium (abc) | 1-0 | 74745 | 0 row 2 : 2 | september 13, 1998 | fox 2:00 pm mt | dallas cowboys | w 42-23 | mile high stadium (fox) | 2-0 | 75013 | 0 row 3 : 3 | september 20, 1998 | cbs 2:00 pm mt | at oakland raiders | w 34-17 | oakland-alameda county | 3-0 | 56578 | 0 row 4 : 4 | september 27, 1998 | cbs 11:00 am mt | at washington redskins | w 38-16 | fedex field (cbs) | 4-0 | 71880 | 0 row 5 : 5 | october 4, 1998 | fox 2:00 pm mt | philadelphia eagles | w 41-16 | mile high stadium (fox) | 5-0 | 73218 | 0 row 6 : 6 | october 11, 1998 | cbs 2:00 pm mt | at seattle seahawks | w 21-16 | kingdome (cbs) | 6-0 | 66258 | 0 row 7 : 7 | None | None | None | None | None | None | None | 1 row 8 : 8 | october 25, 1998 | cbs 2:00 pm mt | jacksonville jaguars | w 37-24 | mile high stadium (cbs) | 7-0 | 75217 | 0 row 9 : 9 | november 1, 1998 | cbs 11:00 am mt | at cincinnati bengals | w 33-26 | cinergy field (cbs) | 8-0 | 59974 | 0 row 10 : 10 | november 8, 1998 | cbs 2:00 pm mt | san diego chargers | w 27-10 | mile high stadium (cbs) | 9-0 | 74925 | 0 row 11 : 11 | november 16, 1998 | abc 7:00 pm mt | at kansas city chiefs | w 30-7 | arrowhead stadium (abc) | 10-0 | 78100 | 0 row 12 : 12 | november 22, 1998 | cbs 2:00 pm mt | oakland raiders | w 40-14 | mile high stadium (cbs) | 11-0 | 75325 | 0 row 13 : 13 | november 29, 1998 | espn 6:15 pm mt | at san diego chargers | w 31-16 | qualcomm stadium (espn | 12-0 | 66532 | 0 row 14 : 14 | december 6, 1998 | cbs 2:00 pm mt | kansas city chiefs | w 35-31 | mile high stadium (cbs) | 13-0 | 74962 | 0 row 15 : 15 | december 13, 1998 | cbs 11:00 am mt | at new york giants | l 16-20 | giants stadium (cbs) | 13-1 | 72336 | 0 row 16 : 16 | december 21, 1998 | abc 7:00 pm mt | at miami dolphins | l 21-31 | pro player stadium (abc) | 13-2 | 74363 | 0 row 17 : 17 | december 27, 1998 | cbs 2:15 pm mt | seattle seahawks | w 28-21 | mile high stadium (cbs) | 14-2 | 74057 | 0 ] Execute this SQL based on the above table: select count ( date ) where attendance >= '3'
16
[ header: code | district | headquarters | population (as of 2011) | area (km2) | density (/km2) row 1 : al | almora | almora | 621972 | 3083 | 202 row 2 : ba | bageshwar | bageshwar | 259840 | 2302 | 113 row 3 : cl | chamoli | chamoli gopeshwar | 391114 | 7613 | 51 row 4 : cp | champawat | champawat | 259315 | 1781 | 146 row 5 : dd | dehradun | dehradun | 1695860 | 3088 | 550 row 6 : ha | haridwar | haridwar | 1927029 | 2360 | 817 row 7 : na | nainital | nainital | 955128 | 3860 | 247 row 8 : pg | pauri garhwal | pauri | 686572 | 5399 | 127 row 9 : pi | pithoragarh | pithoragarh | 485993 | 7100 | 68 row 10 : rp | rudra prayag | rudraprayag | 236857 | 1890 | 125 row 11 : tg | tehri garhwal | new tehri | 616409 | 4080 | 151 row 12 : us | udham singh nagar | rudrapur | 1648367 | 2908 | 567 row 13 : ut | uttarkashi | uttarkashi | 329686 | 8016 | 41 ] Execute this SQL based on the above table: select population (as of 2011) where population (as of 2011) != 236857 and area (km2) = 1781
259315
[ header: year | champion | city | llws | record row 1 : 1957 | industrial ll | monterrey, nuevo leon | champions | 2-0 row 2 : 1958 | national league of gadsden ll | gadsden, alabama | third place | 2-1 row 3 : 1959 | national league of gadsden ll | gadsden, alabama | first round | 0-1 row 4 : 1961 | el campo ll | el campo, texas | runner-up | 2-1 row 5 : 1962 | val verde county ll | del rio, texa | fifth place | 2-1 row 6 : 1963 | north houston ll | north houston, texas | fifth place | 1-1 row 7 : 1966 | westbury american ll | houston, texas | champions | 3-0 row 8 : 1967 | west tampa ll | tampa, florida | fifth place (tie) | 1-1 row 9 : 1968 | tuckahoe ll | richmond, virginia | runner-up | 2-1 row 10 : 1969 | west tampa ll | tampa, florida | third place (tie) | 1-1 row 11 : 1970 | national optimist ll | nashville, tennessee | seventh place | 1-2 row 12 : 1971 | gardenside ll | lexington, kentucky | eighth place | 0-3 row 13 : 1972 | national ll | vienna, virginia | seventh place | 1-2 row 14 : 1973 | belmont heights ll | tampa, florida | third place | 2-1 row 15 : 1974 | american ll | jackson, tennessee | fifth place | 2-1 row 16 : 1975 | belmont heights ll | tampa, florida | runner-up | 1-1 row 17 : 1976 | tuckahoe american ll | richmond, virginia | third place (tie) | 1-1 row 18 : 1979 | burns park ll | north little rock, arkansas | third place | 2-1 row 19 : 1981 | belmont heights ll | tampa, florida | runner-up | 2-1 row 20 : 1983 | east marietta national ll | marietta, georgia | champions | 3-0 row 21 : 1984 | national ll | altamonte, florida | runner-up | 2-1 row 22 : 1985 | american ll | morristown, tennessee | third place | 2-1 row 23 : 1986 | american ll | sarasota, florid | third place | 2-1 row 24 : 1987 | american ll | morristown, tennessee | seventh place (tie) | 0-2 row 25 : 1988 | northwest 45 ll | spring, texas | third place | 2-1 row 26 : 1989 | northside ll | tampa, florida | fifth place | 2-1 row 27 : 1990 | cottage hill ll | mobile, alabama | fifth place (tie) | 1-1 row 28 : 1991 | national ll | dunedin, florida | sixth place | 1-2 row 29 : 1992 | south lake charles ll | lake charles, louisiana | group stage | 1-2 row 30 : 1993 | tuckahoe american ll | richmond, virginia | group stage | 0-3 row 31 : 1994 | central springfield ll | springfield, virginia | third place (tie) | 2-2 row 32 : 1995 | northwest 45 ll | spring, texas | runner-up | 3-2 row 33 : 1996 | r.l. turner ll | panama city, florida | third place (tie) | 3-1 ] Execute this SQL based on the above table: select city order by year limit 1
monterrey, nuevo leon
[ header: year | champion | score | runner-up | coach row 1 : 1954 | boston college | 4-1 | harvard | john "snooks" kelley row 2 : 1956 | boston college | 4-2 | harvard | john "snooks" kelley row 3 : 1957 | boston college | 5-4 (ot) | boston university | john "snooks" kelley row 4 : 1959 | boston college | 7-4 | boston university | john "snooks" kelley row 5 : 1961 | boston college | 4-2 | harvard | john "snooks" kelley row 6 : 1963 | boston college | 3-1 | harvard | john "snooks" kelley row 7 : 1964 | boston college | 6-5 | boston university | john "snooks" kelley row 8 : 1965 | boston college | 5-4 | boston university | john "snooks" kelley row 9 : 1976 | boston college | 6-3 | boston university | len ceglarski row 10 : 1983 | boston college | 8-2 | northeastern | len ceglarski row 11 : 1994 | boston college | 2-1 (ot) | harvard | steve cedorchuck row 12 : 2001 | boston college | 5-3 | boston university | jerry york row 13 : 2004 | boston college | 2-1 (ot) | boston university | jerry york row 14 : 2008 | boston college | 6-5 (ot) | harvard | jerry york row 15 : 2010 | boston college | 4-3 | boston university | jerry york row 16 : 2011 | boston college | 7-6 (ot) | northeastern | jerry york row 17 : 2012 | boston college | 3-2 (ot) | boston university | jerry york row 18 : 2013 | boston college | 6-3 | northeastern | jerry york row 19 : 2014 | boston college | 4-1 | northeastern | jerry york ] Execute this SQL based on the above table: select runner-up where id = ( select id where champion = 'boston college' and year = 1964 ) - 1
harvard
[ header: opposition | matches | won | drawn | lost | for | against | win% row 1 : bhopal badshahs | 2 | 0 | 1 | 1 | 7 | 8 | 0.00% row 2 : chennai cheeta | 2 | 1 | 0 | 1 | 6 | 5 | 50.00% row 3 : delhi wizards | 2 | 2 | 0 | 0 | 4 | 2 | 100.00% row 4 : karnataka lions | 2 | 1 | 0 | 1 | 8 | 4 | 50.00% row 5 : mumbai marines | 2 | 2 | 0 | 0 | 9 | 5 | 100.00% row 6 : pune strykers | 3 | 2 | 0 | 1 | 11 | 8 | 66.67% row 7 : sher-e-punjab | 2 | 1 | 0 | 1 | 5 | 6 | 50.00% ] Execute this SQL based on the above table: select win% where opposition = 'mumbai marines'
100.00%
[ header: season | competition | round | opponent | home | away | agg. | bye row 1 : 1964-65 | inter-cities fairs cup | r1 | everton | 2-5 | 2-4 | 4-9 | 0 row 2 : 1965-66 | inter-cities fairs cup | r2 | hearts | 1-3 | 0-1 | 1-4 | 0 row 3 : 1966-67 | european cup | r1 | 17 nentori tirana | None | None | None | 1 row 4 : 1966-67 | european cup | r2 | linfield | 1-4 | 1-1 | 2-5 | 0 row 5 : 1975-76 | uefa cup | r1 | athlone town | 1-1 | 1-3 | 2-4 | 0 row 6 : 1981-82 | cup winners' cup | r1 | legia warszawa | 2-2 | 1-4 | 3-6 | 0 row 7 : 1982-83 | european cup | pr | dinamo bucuresti | 2-1 | 1-3 | 3-4 | 0 row 8 : 1984-85 | european cup | r1 | sparta prague | 3-3 | 0-2 | 3-5 | 0 row 9 : 1985-86 | european cup | r1 | zenit leningrad | 0-2 | 0-2 | 0-4 | 0 row 10 : 1986-87 | uefa cup | r1 | beveren | 0-0 | 0-1 | 0-1 | 0 row 11 : 1998-99 | cup winners' cup | r1 | rapid bucuresti | 0-0 | 2-2 | 2-2 (a) | 0 row 12 : 1998-99 | cup winners' cup | r2 | besiktas | 1-0 | 3-3 | 4-3 | 0 row 13 : 1998-99 | cup winners' cup | qf | chelsea | 2-3 | 0-3 | 2-6 | 0 row 14 : 1999-2000 | intertoto cup | r1 | fk ventspils | 1-0 | 0-2 | 1-2 | 0 row 15 : 2003-04 | uefa cup | r1 | grazer ak | 0-0 | 1-1 | 1-1 (a) | 0 row 16 : 2003-04 | uefa cup | r2 | wisła krakow | 0-0 | 0-0 | 0-0 (4-3 p) | 0 row 17 : 2003-04 | uefa cup | r3 | newcastle united | 1-1 | 1-3 | 2-4 | 0 row 18 : 2005-06 | champions league | qr2 | haka | 1-0 | 4-1 | 5-1 | 0 row 19 : 2005-06 | champions league | qr3 | club brugge | 1-0 | 0-1 | 1-1 (3-4 p) | 0 row 20 : 2005-06 | uefa cup | r1 | steaua bucuresti | 0-3 | 1-3 | 1-6 | 0 row 21 : 2006-07 | champions league | qr2 | mlada boleslav | 2-2 | 1-3 | 3-5 | 0 row 22 : 2007-08 | uefa cup | qr1 | flora tallinn | 1-0 | 1-0 | 2-0 | 0 row 23 : 2007-08 | uefa cup | qr2 | ekranas | 6-0 | 1-1 | 7-1 | 0 row 24 : 2007-08 | uefa cup | r1 | austria wien | 2-2 | 0-2 | 2-4 | 0 row 25 : 2009-10 | europa league | qr3 | paok | 1-2 | 1-0 | 2-2 (a) | 0 row 26 : 2011-12 | europa league | qr2 | mika | 1-0 | 1-0 | 2-0 | 0 row 27 : 2011-12 | europa league | qr3 | paok | 0-2 | 0-3 | 0-5 | 0 ] Execute this SQL based on the above table: select season where id = ( select id where bye = 1 ) - 1
1965-66
[ header: tenure | coach | years | record | pct. row 1 : 1892 | shelby fletcher | 1 | 1-0 | 1 row 2 : 1893 | w. m. walker | 1 | 4-6-1 | 0.409 row 3 : 1894 | j. h. lyons | 1 | 10-3 | 0.769 row 4 : 1895 | j. f. jenkins | 1 | 9-3 | 0.75 row 5 : 1896 | eli abbott | 1 | 5-5 | 0.5 row 6 : 1897 | "kid" peeples | 1 | 10-0 | 1 row 7 : 1898 | joseph black | 1 | 2-3 | 0.4 row 8 : 1899 | f. c. owen | 1 | 3-6 | 0.333 row 9 : 1900 | ardis smith | 1 | 9-3 | 0.75 row 10 : 1901-1905 | thomas stouch | 5 | 49-25-1 | 0.66 row 11 : 1906 | schwartz | 1 | 4-16-1 | 0.214 row 12 : 1907-1910 | j. w. h. poll | 4 | 66-22-1 | 0.747 row 13 : 1911 | guy lowman | 1 | 12-5 | 0.706 row 14 : 1912-1915 | d. v. graves | 4 | 66-30-1 | 0.686 row 15 : 1916-1919 | b. l. noojin | 4 | 55-18 | 0.753 row 16 : 1920 | gordon w. lewis | 1 | 15-2 | 0.882 row 17 : 1921-1923 | charles bernier | 3 | 28-35-4 | 0.448 row 18 : 1924-1927 | wallace wade | 4 | 61-32-2 | 0.653 row 19 : 1928 | hank crisp | 1 | 12-7-2 | 0.619 row 20 : 1929-1930 | jess neely | 2 | 28-15-2 | 0.644 row 21 : 1931-1932 | sam hinton | 2 | 23-7-2 | 0.75 row 22 : 1933-1934 | jennings b. whitworth | 2 | 21-11 | 0.656 row 23 : 1943 | paul burnham | 1 | 12-6 | 0.667 row 24 : 1946 | dixie howell | 1 | 13-7 | 0.65 row 25 : 1935-1942 1947-1963 | tilden campbell | 25 | 355-168-4 | 0.677 row 26 : 1964-1969 | joe sewell | 6 | 106-79 | 0.573 row 27 : 1970-1979 | hayden riley | 10 | 236-206-1 | 0.533 row 28 : 1980-1994 | barry shollenberger | 15 | 487-334-1 | 0.593 row 29 : 1995-2009 | jim wells | 15 | 625-322 | 0.656 row 30 : 2010-present | mitch gaspard | 4 | 133-115 | 0.536 row 31 : totals | 30 coaches | 121 seasons | 2,461-1,490-23 | 0.623 ] Execute this SQL based on the above table: select tenure where record = '2-3'
1898
[ header: number | author | first line | notes row 1 : 1 | william shakespeare | "when my love swears that she is made | first publication, later appears as sonnet 138 row 2 : 2 | william shakespeare | "two loves i have, of comfort and | first publication, later appears as sonnet 144 row 3 : 3 | william shakespeare | "did not the heavenly rhetoric of thine | a version of longaville's son row 4 : 4 | None | "sweet cytherea, sitting by | on the theme of venus and adon row 5 : 5 | william shakespeare | "if love make me forsworn, how | a version of berowne's row 6 : 6 | None | "scarce had the sun dried up the | on the theme of venus and adon row 7 : 7 | None | "fair is my love, but not so fair | in the same six-line stanza row 8 : 8 | richard barnfield | "if music and sweet poetry agree" | first published in poems in diverse humours row 9 : 9 | None | "fair was the morn when the fair queen | on the theme of venus and adon row 10 : 10 | None | "sweet rose, fair flower, untimely | in the same six-line stanza row 11 : 11 | bartholomew griffin | "venus, with young adonis sitting | printed in fidessa (1596). on row 12 : 12 | thomas deloney? | "crabbed age and youth cannot live together | was reprinted with additional stanza row 13 : 13 | None | "beauty is but a va | in the same six-line stanza row 14 : 14 | None | "good-night, good rest, a | in the same six-line stanza row 15 : 15 | None | "it was a lording' | None row 16 : 16 | william shakespeare | "on a day (alack the day | dumaine's poem to catherine row 17 : 18 | None | "when as thine eye hath chose | three versions of the poem exist in manuscript miscell row 18 : 20 | richard barnfield | "as it fell upon a day" | first published in poems in divers humors (1598 ] Execute this SQL based on the above table: select ( select number where notes = 'three versions of the poem exist in manuscript miscellanies' ) > ( select number where notes = 'in the same six-line stanza format as venus and adonis' )
1
[ header: year | winners | score | runners up | notes row 1 : 1947 | wellington town reserves | 4-1 | walsall wood | None row 2 : 1949 | bilston town | 1-0 | oswestry town | None row 3 : 1950 | brereton social drew | None | None | None row 4 : 1951 | bloxwich strollers | 1-0 | walsall wood | after extra time row 5 : 1955 | shelfield athletic | 5-1 | walsall trinity | None row 6 : 1956 | shelfield athletic | 2-0 | ogley hay | None row 7 : 1959 | shelfield athletic | 4-0 | walsall wood | None row 8 : 1960 | shelfield athletic | 3-0 | walsall wood | None row 9 : 1965 | rushall olympic | 2-1 | brereton social | None row 10 : 1966 | lower gornal athletic | 4-2 | kidderminster harriers | after extra time row 11 : 1968 | wrockwardine wood | 2-1 | tamworth | None row 12 : 1971 | baddesley colliery | 4-3 | atherstone town | aggregate score, 1st leg 2-2, row 13 : 1973 | bilston town | 1-0 | darlaston | None row 14 : 1974 | brereton social | 3-2 | warley county borough | after extra time row 15 : 1977 | blakenall | 1-0 | bilston town | replay, 1st game 0-0 a row 16 : 1978 | sutton coldfield town | 2-0 | alvechurch | None row 17 : 1980 | sutton coldfield town | 1-0 | rushall olympic | None row 18 : 1981 | blakenall | 2-1 | sutton coldfield town | replay, 1st game 1-1 a row 19 : 1983 | coleshill town | 4-3 | wolverhampton united | None row 20 : 1984 | atherstone town | 4-0 | tividale | None row 21 : 1985 | harrisons | 2-0 | wolverhampton united | None row 22 : 1987 | boldmere st. michaels | 2-0 | bloxwich town | None row 23 : 1990 | meir ka | 2-1 | rushall olympic | replay, 1st game 0-0 a row 24 : 1991 | chasetown | 1-0 | blakenall | after extra time row 25 : 1992 | armitage 90 | 3-2 | meir ka | after extra time row 26 : 1993 | chasetown | 3-1 | pelsall villa | None row 27 : 1994 | newcastle town | 1-0 | oldbury united | after extra time row 28 : 1995 | newcastle town | 1-1 | knypersley victoria | after extra time, newcastle won on penalties row 29 : 1996 | blakenall | 0-0 | newcastle town | after extra time, blakenall won on row 30 : 1998 | blakenall | 2-1 | halesowen harriers | None row 31 : 1999 | blakenall | 3-2 | meir ka | None row 32 : 2000 | rushall olympic | 2-2 | rocester | after extra time, rushall won 5-4 on row 33 : 2001 | wolverhampton casuals | 2-0 | sutton coldfield town | None row 34 : 2002 | bolehall swifts | 4-4 | tividale | after extra time, bolehall won 4 row 35 : 2004 | sutton coldfield town | 3-1 | tividale | None row 36 : 2005 | chasetown | 2-1 | tividale | None row 37 : 2006 | boldmere st michaels | 1-0 | tipton town | None ] Execute this SQL based on the above table: select winners where year > 2000 and year > 1287
wolverhampton casuals, bolehall swifts, sutton coldfield town, chasetown, boldmere st michaels
[ header: season | tier | division | pos. | notes row 1 : 2003-04 | 1 | division de honor | 1st | league champion row 2 : 2004-05 | 1 | division de honor | 2nd | cup champion row 3 : 2005-06 | 1 | division de honor | 3rd | None row 4 : 2006-07 | 1 | division de honor | 3rd | None row 5 : 2007-08 | 1 | division de honor | 1st | league champion row 6 : 2008-09 | 1 | division de honor | 3rd | None row 7 : 2009-10 | 1 | division de honor | 2nd | None row 8 : 2010-11 | 1 | division de honor | 2nd | None row 9 : 2011-12 | 1 | division de honor | 9th | relegated row 10 : 2012-13 | 3 | primera nacional | 1st | None row 11 : 2013-14 | 3 | primera nacional | None | None ] Execute this SQL based on the above table: select division where pos. = ( select pos. where division = 'division de honor' ) + 1
division de honor, division de honor, division de honor
[ header: painter | composition | drawing | color | expression row 1 : andrea del sarto | 12 | 16 | 9 | 8 row 2 : federico barocci | 14 | 15 | 6 | 10 row 3 : jacopo bassano | 6 | 8 | 17 | 0 row 4 : giovanni bellini | 4 | 6 | 14 | 0 row 5 : sebastian bourdon | 10 | 8 | 8 | 4 row 6 : charles le brun | 16 | 16 | 8 | 16 row 7 : i carracci | 15 | 17 | 13 | 13 row 8 : cavalier d'arpino | 10 | 10 | 6 | 2 row 9 : correggio | 13 | 13 | 15 | 12 row 10 : daniele da volterra | 12 | 15 | 5 | 8 row 11 : abraham van diepenbeeck | 11 | 10 | 14 | 6 row 12 : il domenichino | 15 | 17 | 9 | 17 row 13 : albrecht durer | 8 | 10 | 10 | 8 row 14 : giorgione | 8 | 9 | 18 | 4 row 15 : giovanni da udine | 10 | 8 | 16 | 3 row 16 : giulio romano | 15 | 16 | 4 | 14 row 17 : guercino | 18 | 10 | 10 | 4 row 18 : guido reni | x | 13 | 9 | 12 row 19 : holbein | 9 | 10 | 16 | 3 row 20 : jacob jordaens | 10 | 8 | 16 | 6 row 21 : lucas jordaens | 13 | 12 | 9 | 6 row 22 : giovanni lanfranco | 14 | 13 | 10 | 5 row 23 : leonardo da vinci | 15 | 16 | 4 | 14 row 24 : lucas van leyden | 8 | 6 | 6 | 4 row 25 : michelangelo | 8 | 17 | 4 | 8 row 26 : caravaggio | 6 | 6 | 16 | 0 row 27 : murillo | 6 | 8 | 15 | 4 row 28 : otho venius | 13 | 14 | 10 | 10 row 29 : palma il vecchio | 5 | 6 | 16 | 0 row 30 : palma il giovane | 12 | 9 | 14 | 6 row 31 : il parmigianino | 10 | 15 | 6 | 6 row 32 : gianfrancesco penni | 0 | 15 | 8 | 0 row 33 : perin del vaga | 15 | 16 | 7 | 6 row 34 : sebastiano del piombo | 8 | 13 | 16 | 7 row 35 : primaticcio | 15 | 14 | 7 | 10 row 36 : raphael | 17 | 18 | 12 | 18 row 37 : rembrandt | 15 | 6 | 17 | 12 row 38 : rubens | 18 | 13 | 17 | 17 row 39 : francesco salviati | 13 | 15 | 8 | 8 row 40 : eustache le sueur | 15 | 15 | 4 | 15 row 41 : teniers | 15 | 12 | 13 | 6 row 42 : pietro testa | 11 | 15 | 0 | 6 row 43 : tintoretto | 15 | 14 | 16 | 4 row 44 : titian | 12 | 15 | 18 | 6 row 45 : van dyck | 15 | 10 | 17 | 13 row 46 : vanius | 15 | 15 | 12 | 13 row 47 : veronese | 15 | 10 | 16 | 3 row 48 : taddeo zuccari | 13 | 14 | 10 | 9 row 49 : federico zuccari | 10 | 10 | 8 | 8 ] Execute this SQL based on the above table: select count ( painter )
49
[ header: name | area | height | floors | year row 1 : ratan planet | opp. alimco, | 90 metres (295 ft) | 16 | 2013 row 2 : the landmark hotel | near navin market, mall road, downtown | 80 metres (262 ft) | 14 | 2000 row 3 : ratan orbit | mukherjee vihar, | 70 metres (230 ft) | 14 | 2011 row 4 : bsnl tower | opp. resrve bank | 65 metres (213 ft) | 15 | 2001 row 5 : som business square (el mart) | mega mall crossing, the mall, downtown | 80 metres (262 ft) | 15 | 2005 row 6 : akashganga heights | city bypass, chakeri | 60 metres (197 ft) | 15 | 1995 row 7 : krishna tower | opp. green park stadium, parw | 48 metres (157 ft) | 10 | 2003 ] Execute this SQL based on the above table: select ( select year where area = 'opp. resrve bank of india, mall road, downtown' ) - ( select year where area = 'mega mall crossing, the mall, downtown' )
-4
[ header: year | car | start | qual | rank | finish | laps | led | retired row 1 : 1956 | 14 | 23 | 142.535 | 16 | 7 | 200 | 0 | running row 2 : 1957 | 7 | 16 | 141.016 | 19 | 9 | 200 | 0 | running row 3 : 1958 | 14 | 4 | 144.881 | 4 | 26 | 1 | 0 | crash t3 row 4 : 1959 | 74 | 7 | 144.023 | 8 | 12 | 200 | 0 | running row 5 : 1960 | 44 | 25 | 143.363 | 23 | 8 | 200 | 0 | running row 6 : 1962 | 96 | 19 | 146.157 | 32 | 33 | 12 | 0 | engine row 7 : 1963 | 86 | 24 | 148.289 | 26 | 26 | 74 | 0 | valve row 8 : 1964 | 54 | 23 | 153.381 | 10 | 19 | 88 | 0 | piston row 9 : 1965 | 54 | 10 | 156.427 | 11 | 24 | 58 | 0 | piston row 10 : 1967 | 46 | 28 | 162.58 | 32 | 11 | 189 | 0 | flagged row 11 : 1968 | 16 | 24 | 163.495 | 24 | 11 | 196 | 0 | flagged row 12 : totals | totals | totals | totals | totals | totals | 1418 | 0 | None ] Execute this SQL based on the above table: select laps where retired = 'engine'
12
[ header: season | head coach | conf. | overall row 1 : 1940-41 | henry swasey | 3-5 | 9-8 row 2 : 1941-42 | henry swasey | 0-8 | 4-15 row 3 : 1942-43 | henry swasey | 2-6 | 4-14 row 4 : 1945-46 | henry swasey | 0-4 | 3-7 row 5 : 1946-47 | ed stanczyk | 0-5 | 6-11 row 6 : 1947-48 | ed stanczyk | 2-5 | 5-12 row 7 : 1948-49 | ed stanczyk | 2-6 | 7-10 row 8 : 1949-50 | ed stanczyk | 1-5 | 4-11 ] Execute this SQL based on the above table: select conf. where id = ( select id where conf. = '2-5' ) - 1
0-5
[ header: county | obama | votes | romney | votes | others | votes | total row 1 : colusa | 38.3% | 2,314 | 59.6% | 3,601 | 2.1% | 130 | 6,045 row 2 : contra costa | 66.2% | 290,824 | 31.1% | 136,517 | 2.7% | 11,804 | 439,145 row 3 : del norte | 43.4% | 3,791 | 52.8% | 4,614 | 3.8% | 331 | 8,736 row 4 : fresno | 49.7% | 129,129 | 47.9% | 124,490 | 1.8% | 6,078 | 259,697 row 5 : imperial | 65.2% | 25,136 | 33.2% | 12,776 | 1.6% | 620 | 38,532 row 6 : kern | 40.5% | 89,495 | 57.3% | 126,618 | 2.2% | 4,900 | 221,013 row 7 : lassen | 28.5% | 3,053 | 68.0% | 7,296 | 3.5% | 376 | 10,725 row 8 : madera | 40.2% | 16,018 | 57.3% | 22,852 | 2.5% | 996 | 39,866 row 9 : merced | 53.0% | 33,005 | 44.3% | 27,581 | 2.7% | 1,636 | 62,222 row 10 : modoc | 27.7% | 1,113 | 69.1% | 2,779 | 3.2% | 130 | 4,022 row 11 : mono | 52.9% | 2,733 | 44.2% | 2,285 | 2.9% | 150 | 5,168 row 12 : nevada | 47.7% | 24,663 | 48.4% | 24,986 | 3.9% | 2,026 | 51,675 row 13 : placer | 38.9% | 66,818 | 58.2% | 99,921 | 2.9% | 4,972 | 171,711 row 14 : plumas | 39.9% | 4,026 | 56.8% | 5,721 | 3.3% | 333 | 10,080 row 15 : san bernardino | 52.6% | 305,109 | 45.2% | 262,358 | 2.2% | 13,136 | 580,603 row 16 : san francisco | 83.4% | 301,723 | 13.0% | 47,076 | 3.4% | 12,996 | 361,795 row 17 : san joaquin | 55.6% | 114,121 | 41.9% | 86,071 | 2.5% | 5,172 | 205,364 row 18 : san luis obispo | 48.6% | 61,258 | 47.6% | 59,967 | 3.8% | 4,741 | 125,966 row 19 : santa cruz | 75.4% | 90,805 | 20.0% | 24,047 | 4.6% | 5,533 | 120,385 row 20 : sierra | 36.3% | 652 | 58.7% | 1,056 | 5.0% | 90 | 1,798 row 21 : siskiyou | 40.2% | 8,044 | 55.4% | 11,076 | 4.4% | 870 | 19,990 row 22 : solano | 63.3% | 96,783 | 34.1% | 52,092 | 2.6% | 3,965 | 152,840 row 23 : stanislaus | 49.9% | 77,724 | 47.1% | 73,459 | 3.0% | 4,633 | 155,816 row 24 : trinity | 46.6% | 2,674 | 47.3% | 2,716 | 6.1% | 349 | 5,739 row 25 : tulare | 41.2% | 41,752 | 56.2% | 56,956 | 2.6% | 2,571 | 101,279 row 26 : ventura | 52.2% | 170,929 | 45.1% | 147,958 | 2.7% | 8,825 | 327,712 ] Execute this SQL based on the above table: select others order by id desc limit 1
2.7%
[ header: courthouse | city | street address | jurisdiction | dates of use | named for row 1 : u.s. post office and court house | brattleboro | None | d. vt | 1917-present | row 2 : u.s. post office and court house | burlington | 175 main street | d. vt | 1870-1982 destroyed by fire in 1982 | row 3 : federal building, post office and court house | burlington | 11 elmwood avenue | d. vt | 1958-present | row 4 : u.s. post office and court house | montpelier | None | d. vt | 1894-1948 razed ca. | row 5 : federal building | montpelier | state street | d. vt | 1964-1996 still in use as a post | row 6 : u.s. court house, post office | newport | None | d. vt | 1904-1948 now the orleans county | row 7 : u.s. court house and post office | rutland | 10 court street | d. vt | 1859-1933 now the rutland | row 8 : u.s. court house and post office | rutland | None | d. vt | 1933-present | row 9 : u.s. court house and post office | windsor | 57 main st | d. vt | 1858-present still in use as a | ] Execute this SQL based on the above table: select named for where street address = 'state street'
@NULL@
[ header: # | date | venue | opponents | score | comp | denmark scorers row 1 : 167 | 1950-10-15 | rasunda stadium, stockhol | sweden | 0-4 | nc | None row 2 : 179 | 1952-07-25 | pallokentta, hel | yugoslavia | 3-5 | og | knud lundberg, row 3 : 180 | 1952-09-21 | idrætsparken, | netherlands | 3-2 | f | kurt "nikkelaj" nie row 4 : 182 | 1952-10-19 | idrætsparken, | norway | 1-3 | nc | per jensen row 5 : 186 | 1953-09-13 | ullevaal stadion, | norway | 1-0 | nc | bent sørensen row 6 : 190 | 1954-09-19 | idrætsparken, | switzerland | 1-1 | f | jørgen olesen row 7 : 195 | 1955-06-19 | idrætsparken, | finland | 2-1 | nc | jens peter hansen (2) row 8 : 210 | 1957-06-18 | olympic stadium, hel | finland | 0-2 | ot | None row 9 : 211 | 1957-06-19 | tammela stadion, | norway | 2-0 | ot | egon jensen, j row 10 : 214 | 1957-09-22 | ullevaal stadion, | norway | 2-2 | nc | poul pedersen, peder row 11 : 219 | 1958-06-29 | idrætsparken, | norway | 1-2 | nc | poul pedersen row 12 : 224 | 1959-06-21 | idrætsparken, | sweden | 0-6 | nc | None row 13 : 228 | 1959-09-13 | ullevaal stadion, | norway | 4-2 | ogq nc | harald nielsen, row 14 : 229 | 1959-09-23 | idrætsparken, | czechoslovakia | 2-2 | enq | poul pedersen, bent han ] Execute this SQL based on the above table: select venue where # = 219
idrætsparken, copenhagen (h)
[ header: # | player | σ points | qual. | final row 1 : 1 | karel hromadka | 9.5 | 3 | 6.5 row 2 : 2 | jan schulz (czechos | 9 | 4 | 5 row 3 : 3 | erwin voellmy (switz | 8.5 | 3.5 | 5 row 4 : 4 | karl behting (latvia | 8 | 2 | 6 row 5 : 4 | georges renaud (france | 8 | 3 | 5 row 6 : 4 | roberto grau (argentina | 8 | 3.5 | 4.5 row 7 : 4 | george koltanowski (bel | 8 | 3.5 | 4.5 row 8 : 8 | giovanni cenni (ital | 7.5 | 1.5 | 6 row 9 : 8 | endre steiner (hungary) | 7.5 | 2 | 5.5 row 10 : 8 | otto zimmermann (switz | 7.5 | 2.5 | 5 row 11 : 8 | dawid daniuszewski (poland | 7.5 | 2.5 | 5 row 12 : 8 | karoly sterk (hungary | 7.5 | 3 | 4.5 row 13 : 8 | damian reca (argentina) | 7.5 | 3.5 | 4 row 14 : 14-45 | etc | None | None | None ] Execute this SQL based on the above table: select count ( * ) where player = 'jan schulz (czechoslovakia)'
1
[ header: name | first held | country | earliest attendance figure known | 1998 attendance | 2000 attendance | 2002 attendance | 2004 attendance | 2006 attendance | 2008 attendance | 2010 attendance | 2012 attendance row 1 : animefest | 1992 | usa | 105 (1992) | 650 | 750 | 1800 | 2725 | 4127 | None | None | None row 2 : animeexpo | 1992 | usa | 1750 (1992) | 4883 | 9700 | 15250 | 25000 | 40647 | 43000 | 44000 | 49400 row 3 : fanimecon | 1994 | usa | 200 (1994) | 1700 | 2300 | 4600 | 6122 | 10000 | 14926 | 16000 | 21000 row 4 : otakon | 1994 | usa | 350 (1994) | 2500 | 7500 | 12880 | 20899 | 22302 | 26262 | 29274 | 32724 row 5 : katsucon | 1995 | usa | 500 (1995) | 1400 | 2300 | 3000 | 4300 | 5664 | 6300 | None | 12614 row 6 : nan desu kan | 2000 | usa | None | None | 1477 | 2467 | 2859 | 5018 | 5975 | None | None row 7 : animeiowa | 1997 | usa | 150 (1997) | 300 | 700 | None | None | None | None | None | None row 8 : otafest | 1999 | usa | 700 (1999) | None | 900 | None | None | None | 4042 | 3697 | None row 9 : sakura-con | 2000 | usa | 866(2000) | 313 | 866 | 2328 | 4425 | 7500 | 13600 | 18002 | 21457 row 10 : shoujocon | 2000 | usa | 456(2000) | 456 | 1229 | None | None | None | None | None | None row 11 : j-popcon | 2000 | denmark | None | None | 200 | None | None | 1000 | None | 2200 | None row 12 : sugoicon | 2000 | usa | 522(2000) | None | 522 | 930 | 1333 | 1400 | None | None | None row 13 : ohayocon | 2001 | usa | 654(2001) | None | None | 1200 | 3042 | 4257 | 7000 | 10120 | 40 row 14 : big apple anime fest | 2001 | usa | 3500(2001) | None | None | 7500 | None | None | None | None | None row 15 : manifest | 2001 | australia | 3500(2006) | None | None | None | None | 3500 | 4800 | None | None row 16 : anime detour | 2004 | usa | 1200(2004) | None | None | None | 1200 | 2464 | 3000 | None | None row 17 : portconmaine | 2002 | usa | 250(2002) | None | None | 250 | 811 | 1400 | 1650 | 2072 | 2306 row 18 : anime friends | 2003 | brazil | 25000(2004) | None | None | None | 25000 | 50000 | 120000 | None | None row 19 : anime nebraskon | 2004 | usa | None | None | None | None | 300 | None | None | 2000 | None row 20 : tsubasacon | 2004 | usa | 407(2004) | None | None | None | 407 | 564 | 723 | 1105 | 1320 row 21 : kawaii kon | 2005 | hawaii | 2610 (2005) | None | None | None | None | 2610 | 3495 | 4877 | 6077 row 22 : sac-anime | 2005 | usa | 2000(2006) | None | None | None | None | 2000 | None | None | 5000 row 23 : youmacon | 2005 | usa | 1078(2005) | None | None | None | None | 2125 | 4494 | None | 12156 row 24 : anime punch | 2005 | usa | 200(2005) | None | None | None | None | 977 | 1337 | 1206 | None ] Execute this SQL based on the above table: select count ( name ) where 2000 attendance = 'None'
0
[ header: # | wrestlers | reign | date | days held | location | notes row 1 : 1 | kuishinbo kamen | 1 | january 4, 2001 | 758 | osaka, japan | kamen defeated ebessan to row 2 : 2 | ebessan | 1 | february 1, 2003 | 56 | osaka, japan | None row 3 : 3 | pero | 1 | march 29, 2003 | 7 | osaka, japan | None row 4 : 4 | ebessan | 2 | april 5, 2003 | 92 | osaka, japan | None row 5 : 5 | tigers mask | 1 | july 6, 2003 | 90 | osaka, japan | None row 6 : None | vacant | None | october 4, 2003 | None | None | tigers mask vacated the title to row 7 : 6 | miracle man | 1 | december 7, 2003 | 55 | osaka, japan | miracle man won a 4-way match which included row 8 : 7 | ebessan | 3 | january 31, 2004 | 21 | osaka, japan | None row 9 : 8 | kuishinbo kamen | 2 | february 21, 2004 | 665 | osaka, japan | None row 10 : None | stripped | None | december 17, 2005 | None | None | kamen was stripped of the title due to row 11 : 9 | policeman | 1 | february 18, 2006 | 311 | osaka, japan | None row 12 : 10 | okita-kun | 1 | february 26, 2006 | 314 | osaka, japan | okita-kun won an eight row 13 : None | vacant | None | january 6, 2007 | None | None | okita-hun vacated row 14 : 11 | sgt. suchi | 1 | february 12, 2007 | 194 | osaka, japan | sgt. suchi is a row 15 : 12 | ebessan iii | 1 | august 25, 2007 | 113 | osaka, japan | None row 16 : 13 | kuishinbo kamen | 3 | december 16, 2007 | 84 | tokyo, japan | None row 17 : 14 | miracle man | 2 | march 9, 2008 | 51 | tokyo, japan | None row 18 : 15 | kanjyuro matsuyama | 1 | april 29, 2008 | 0 | tokyo, japan | matsuyama retires the title immediately after row 19 : 16 | kuishinbo kamen | 4 | april 29, 2010 | 59 | osaka, japan | kamen wins both the owarai championship row 20 : 17 | kyusei ninja ranmar | 1 | june 27, 2010 | 22 | osaka, japan | ranmaru wins both titles row 21 : 18 | kuishinbo kamen | 5 | july 19, 2010 | 1435 | osaka, japan | kamen wins both titles ] Execute this SQL based on the above table: select ( select avg ( reign ) where wrestlers = 'kyusei ninja ranmaru' ) > ( select avg ( reign ) where wrestlers = 'kuishinbo kamen' )
0
[ header: pos | no. | driver | team | laps | time/retired | grid | laps led | points row 1 : 2 | 4 | j. r. hilde | panther racing | 200 | 2.1086 | 12 | 7 | 44 row 2 : 3 | 38 | graham rahal | chip ganassi racing | 200 | 5.5949 | 29 | 6 | 38 row 3 : 4 | 82 | tony kanaan | kv racing technology - lotus | 200 | 7.487 | 22 | 0 | 36 row 4 : 5 | 9 | scott dixon (w)1 | chip ganassi racing | 200 | 9.5434 | 2 | 73 | 45 row 5 : 7 | 30 | bertrand baguette | rahal letterman lanigan racing | 200 | 23.9631 | 14 | 11 | 30 row 6 : 9 | 26 | marco andretti | andretti autosport | 200 | 25.7411 | 27 | 0 | 25 row 7 : 12 | 10 | dario franchitti (w) | chip ganassi racing | 200 | 56.4167 | 9 | 51 | 24 row 8 : 14 | 12 | will power | team penske | 199 | +1 lap | 5 | 0 | 26 row 9 : 15 | 14 | vitor meira | a. j. foyt enterprises | 199 | +1 lap | 11 | 0 | 19 row 10 : 17 | 3 | helio castroneves (w | team penske | 199 | +1 lap | 16 | 0 | 17 row 11 : 18 | 44 | buddy rice (w) | panther racing | 198 | +2 laps | 7 | 0 | 20 row 12 : 19 | 19 | alex lloyd | dale coyne racing | 198 | +2 laps | 30 | 0 | 15 row 13 : 20 | 36 | pippa mann (r) | conquest racing | 198 | +2 laps | 31 | 0 | 15 row 14 : 21 | 24 | ana beatriz | dreyer & reinbold racing | 197 | +3 laps | 32 | 0 | 15 row 15 : 22 | 43 | john andretti | andretti autosport | 197 | +3 laps | 17 | 0 | 16 row 16 : 24 | 11 | davey hamilton | dreyer & reinbold racing | 193 | +7 laps | 15 | 0 | 16 row 17 : 25 | 23 | paul tracy | dreyer & reinbold racing | 175 | +25 laps | 24 | 0 | 13 row 18 : 26 | 99 | townsend bell | sam schmidt motorsports | 157 | contact | 4 | 0 | 21 row 19 : 28 | 77 | alex tagliani | sam schmidt motorsports | 147 | contact | 1 | 20 | 25 row 20 : 29 | 6 | james hinchcliffe (r) | newman/haas racing | 99 | contact | 13 | 0 | 14 row 21 : 31 | 78 | simona de silvestro | hvm racing | 44 | handling | 23 | 0 | 14 row 22 : 33 | 5 | takuma sato | kv racing technology - lotus | 20 | contact | 10 | 0 | 14 ] Execute this SQL based on the above table: select pos group by pos order by count ( * ) desc limit 1
9
[ header: constituency | region | name | party | last elected row 1 : 1 | arica and parinacota tarapac | fulvio rossi | ps | 2009 row 2 : 2 | antofagasta | carlos cantero ojeda | ind | 2005 row 3 : 2 | antofagasta | jose antonio gomez | prsd | 2005 row 4 : 3 | atacama | isabel allende | ps | 2009 row 5 : 4 | coquimbo | gonzalo uriarte | udi | 2005 row 6 : 5 | valparaiso | ignacio walker | pdc | 2009 row 7 : 5 | valparaiso | lily perez | rn | 2009 row 8 : 6 | valparaiso | ricardo l. weber | ppd | 2009 row 9 : 6 | valparaiso | francisco chahuan | rn | 2009 row 10 : 7 | santiago | jovino novoa vasque | udi | 2005 row 11 : 8 | santiago | soledad alvear valenzue | pdc | 2005 row 12 : 9 | o'higgins | alejandro garcia-huidobro | udi | 2005 row 13 : 9 | o'higgins | juan pablo letelier morel | ps | 2005 row 14 : 10 | maule | ximena rincon | pdc | 2009 row 15 : 10 | maule | juan antonio colo | udi | 2009 row 16 : 11 | maule | hernan larrain fernandez | udi | 2009 row 17 : 12 | biobio | hosain sabag castill | pdc | 2005 row 18 : 13 | biobio | mariano ruiz-es | pdc | 2005 row 19 : 14 | araucania | jaime quintana | ppd | 2009 row 20 : 14 | araucania | alberto espina otero | rn | 2009 row 21 : 15 | araucania | eugenio tuma | ppd | 2009 row 22 : 15 | araucania | jose garcia ruminot | rn | 2009 row 23 : 16 | los rios (plus district 55) | carlos larrain pena | rn | 2005 row 24 : 16 | los rios (plus district 55) | eduardo frei rui | pdc | 2005 row 25 : 17 | los lagos (minus district 55) | camilo escalona medin | ps | 2005 row 26 : 17 | los lagos (minus district 55) | carlos kuschel silva | rn | 2005 row 27 : 18 | aisen | patricio walker | pdc | 2009 row 28 : 18 | aisen | antonio horvath | rn | 2001 row 29 : 19 | magallanes | carlos bianchi chelech (vic | ind | 2005 row 30 : 19 | magallanes | pedro munoz abur | ps | 2005 ] Execute this SQL based on the above table: select abs ( ( select constituency where region = 'biobio' ) - ( select constituency where region = 'biobio' ) )
0.0
[ header: season | tier | division | place row 1 : 1970-01 | 6 | regional | None row 2 : 2001/02 | 6 | 1a reg | None row 3 : 2002/03 | 5 | reg. pref | 11th row 4 : 2003/04 | 5 | reg. pref | 9th row 5 : 2004/05 | 5 | reg. pref | 1st row 6 : 2005/06 | 4 | 3a | 20th row 7 : 2006/07 | 5 | reg. pref | 3rd row 8 : 2007/08 | 5 | reg. pref | 1st row 9 : 2008/09 | 4 | 3a | 16th row 10 : 2009/10 | 4 | 3a | 17th row 11 : 2010/11 | 4 | 3a | 18th row 12 : 2011/12 | 5 | reg. pref | 2nd ] Execute this SQL based on the above table: select division where place = '20th' and tier < 5
3a
[ header: year | chassis | engine | start | finish row 1 : 1974 | eagle | offy | 21st | 7th row 2 : 1975 | eagle | offy | 18th | 4th row 3 : 1976 | eagle | offy | 6th | 5th row 4 : 1977 | eagle | offy | 8th | 15th row 5 : 1978 | lighning | cosworth | 21st | 24th row 6 : 1979 | lighning | cosworth | 17th | 20th row 7 : 1980 | penske | cosworth | 8th | 6th row 8 : 1981 | penske | cosworth | 10th | 28th row 9 : 1982 | march | cosworth | 10th | 3rd row 10 : 1983 | march | cosworth | 14th | 7th row 11 : 1984 | march | cosworth | 21st | 19th row 12 : 1985 | march | buick | 1st | 33rd row 13 : 1986 | lola | cosworth | 14th | 16th row 14 : 1987 | march | cosworth | 29th | 27th row 15 : 1988 | march | buick | qualifying crash | None row 16 : 1989 | lola | cosworth | 32nd | 22nd row 17 : 1990 | lola | cosworth | 22nd | 29th row 18 : 1991 | lola | buick | 32nd | 21st row 19 : 1992 | lola | buick | failed to qualify | None row 20 : 1994 | lola | chevrolet | failed to qualify | None ] Execute this SQL based on the above table: select engine where engine in ( 'cosworth' , 'cosworth' ) and chassis = 'lola' order by year desc limit 1
cosworth
[ header: rank | npc | gold | silver | bronze | total row 1 : 1 | china (chn) | 95 | 71 | 65 | 231 row 2 : 2 | russia (rus) | 36 | 38 | 28 | 102 row 3 : 3 | great britain (gbr) | 34 | 43 | 43 | 120 row 4 : 4 | ukraine (ukr) | 32 | 24 | 28 | 84 row 5 : 5 | australia (aus) | 32 | 23 | 30 | 85 row 6 : 6 | united states (usa) | 31 | 29 | 38 | 98 row 7 : 7 | brazil (bra) | 21 | 14 | 8 | 43 row 8 : 8 | germany (ger) | 18 | 26 | 22 | 66 row 9 : 9 | poland (pol) | 14 | 13 | 9 | 36 row 10 : 10 | netherlands (ned) | 10 | 10 | 19 | 39 row 11 : total (75 npcs) | total (75 npcs) | 503 | 503 | 516 | 1522 ] Execute this SQL based on the above table: select npc group by npc order by count ( * ) limit 1
australia (aus)
[ header: district | name | party | residence | first served row 1 : district 1 | nelson albano | dem | vineland | 2006 row 2 : district 1 | robert andrzejcza | dem | middle twp | 2013 row 3 : district 2 | john f. amodeo | rep | margate | 2008 row 4 : district 4 | paul moriarty | dem | washington twp | 2006 row 5 : district 4 | gabriela mosquera | dem | blackwood | 2012 row 6 : district 5 | angel fuentes | dem | camden | 2010 row 7 : district 7 | troy singleton | dem | palmyra | 2011 row 8 : district 8 | scott rudder | rep | medford | 2008 row 9 : district 9 | dianne gove | rep | long beach twp | 2009 row 10 : district 9 | brian e. rumpf | rep | little egg harbor | 2003 row 11 : district 10 | david w. wolfe | rep | brick | 1992 row 12 : district 11 | caroline casagrande | rep | colts neck | 2008 row 13 : district 13 | amy handlin | rep | lincroft | 2006 row 14 : district 14 | wayne deangelo | dem | hamilton twp | 2008 row 15 : district 16 | donna simon | rep | whitehouse station | 2012 row 16 : district 17 | upendra j. chivukul | dem | somerset | 2002 row 17 : district 18 | patrick j. diegnan | dem | south plainfield | 2002 row 18 : district 20 | joseph cryan | dem | union twp | 2002 row 19 : district 21 | nancy munoz | rep | summit | 2009 row 20 : district 22 | jerry green | dem | plainfield | 1992 row 21 : district 22 | linda stender | dem | scotch plains | 2002 row 22 : district 23 | john dimaio | rep | hackettstown | 2009 row 23 : district 23 | erik peterson | rep | franklin twp | 2009 row 24 : district 24 | alison littell mchose | rep | franklin | 2003 row 25 : district 25 | tony bucco | rep | boonton twp | 2010 row 26 : district 25 | michael patrick carroll | rep | morris twp | 1996 row 27 : district 26 | jay webber | rep | morris plains | 2008 row 28 : district 27 | john f. mckeon | dem | west orange | 2002 row 29 : district 28 | cleopatra tucker | dem | newark | 2008 row 30 : district 30 | sean t. kean | rep | wall twp | 2012 row 31 : district 30 | dave rible | rep | wall | 2008 row 32 : district 31 | jason o'donnell | dem | bayonne | 2010 row 33 : district 32 | angelica m. jimenez | dem | west new york | 2012 row 34 : district 32 | vincent prieto | dem | secaucus | 2004 row 35 : district 33 | ruben j. ramos | dem | hoboken | 2008 row 36 : district 34 | thomas p. giblin | dem | montclair | 2006 row 37 : district 36 | gary schaer | dem | passaic | 2006 row 38 : district 39 | bob schroeder | rep | washington twp | 2010 row 39 : district 40 | scott rumana | rep | wayne | 2008 ] Execute this SQL based on the above table: select ( select first served where residence = 'blackwood' ) - ( select first served where residence = 'south plainfield' )
10
[ header: name | age | hometown | occupation | culinary p.o.v. | eliminated row 1 : damaris phillips | 31 | louisville, ky | culinary teacher | "modern southern food" | winner row 2 : rodney henry | 47 | baltimore, md | pie shop owner | "pie style" | second place row 3 : russell jackson | 49 | san francisco, ca | underground chef | "seven culinary sins" | third place row 4 : stacey poon-kinney | 34 | san diego, ca | restaurant owner | "vintage with a modern twist" | week 10 row 5 : nikki dinki | 29 | new york, ny | food blogger/online host | "semi-vegetarian" | week 9 row 6 : chad rosenthal | 37 | ambler, pa | restaurant owner | "jewish bbq guy" | week 7 row 7 : chris hodgson | 26 | cleveland, oh | chef/restaurateur | "compassion for food" | week 6 row 8 : viet pham | 33 | salt lake city, ut | chef/restaurant owner | "the american dream" | week 5 row 9 : connie "lovely" jackson | 27 | los angeles, ca | caterer | "party on a plate" | week 4 & week 8(winner of row 10 : danushka lysek | 37 | new york, ny | private chef/model | "your private chef" | week 3 row 11 : andres guillama | 26 | waynesville, nc | childhood obesity prevention coach | "teaching men to cook" | week 2 row 12 : daniela perez-reyes | 28 | haleiwa, hi | bartender/caterer | "peruvian princess" | week 1 ] Execute this SQL based on the above table: select culinary p.o.v. where name = 'daniela perez-reyes'
"peruvian princess"
[ header: name | nationality | position | spartak career | appearances | goals row 1 : denis boyarintsev | russia | mf | 2005-07, 2009 | 91 | 9 row 2 : aleksandr bubnov | soviet union | df | 1983-89 | 169 | 3 row 3 : vladimir bukiye | soviet union | df | 1972-79, 1982 | 199 | 6 row 4 : fyodor cherenkov | russia | mf | 1977-90, 1991, 1993 | 398 | 95 row 5 : vadim evseev | russia | df | 1993-98, 1999 | 62 | 3 row 6 : edgar gess | soviet union | mf | 1979-83 | 114 | 26 row 7 : georgi glazkov | soviet union | fw | 1936-41, 1946-47 | 106 | 48 row 8 : nikolai gulyay | soviet union | mf | 1937-46 | 76 | 7 row 9 : anatoli ilyin | soviet union | fw | 1949-62 | 228 | 84 row 10 : anatoli isayev | soviet union | fw | 1953-62 | 159 | 53 row 11 : andrei ivanov | russia | df | 1983-85, 1988-89, 1990- | 109 | 0 row 12 : vadim ivanov | soviet union | df | 1969-71 | 75 | 2 row 13 : aleksandr kalashnikov | soviet union | fw | 1978-82 | 67 | 16 row 14 : maksym kalynych | ukraine | mf | 2000-08 | 134 | 22 row 15 : pavel kornilov | soviet union | fw | 1938-41 | 65 | 38 row 16 : dmitri kudryas | russia | mf | 2002 | 22 | 5 row 17 : boris kuznetsov | soviet union | df | 1985-88, 1989-90 | 90 | 0 row 18 : valeri masalitin | russia | fw | 1994-95 | 7 | 5 row 19 : anatoli maslyonkin | soviet union | df | 1954-63 | 216 | 8 row 20 : alexander mirzoyan | soviet union | df | 1979-83 | 80 | 9 row 21 : igor mitreski | macedonia | df | 2001-04 | 85 | 0 row 22 : yuriy nikiforov | russia | df | 1993-96 | 85 | 16 row 23 : sergei novikov | soviet union | mf | 1978-80, 1985-89 | 70 | 12 row 24 : sergei olshansky | soviet union | df | 1969-75 | 138 | 7 row 25 : viktor onopko | russia | df | 1992-95 | 108 | 23 row 26 : viktor papayev | soviet union | mf | 1968-73, 1975-76 | 174 | 10 row 27 : vadim pavlenko | soviet union | fw | 1977-78 | 47 | 16 row 28 : aleksandr piskaryov | soviet union | fw | 1971-75 | 117 | 33 row 29 : stipe pletikosa | croatia | gk | 2007-present | 63 | 0 row 30 : boris pozdnyakov | soviet union | df | 1978-84, 1989-91 | 145 | 3 row 31 : luis robson | brazil | fw | 1997-2001 | 102 | 32 ] Execute this SQL based on the above table: select appearances where goals = 38
65
[ header: part | number | first public release date (first edition) | latest public release date (edition) | latest amendment | title | description row 1 : part 1 | iso/iec 15938-1 | 2002 | 2002 | 2006 | systems | the architectural framework of mpeg-7, row 2 : part 2 | iso/iec 15938-2 | 2002 | 2002 | None | description definition language | None row 3 : part 3 | iso/iec 15938-3 | 2002 | 2002 | 2010 | visual | None row 4 : part 4 | iso/iec 15938-4 | 2002 | 2002 | 2006 | audio | None row 5 : part 5 | iso/iec 15938-5 | 2003 | 2003 | 2008 | multimedia description schemes | None row 6 : part 6 | iso/iec 15938-6 | 2003 | 2003 | 2010 (2011) | reference software | None row 7 : part 7 | iso/iec 15938-7 | 2003 | 2003 | 2010 (2011) | conformance testing | None row 8 : part 8 | iso/iec tr | 2002 | 2002 | 2010 | extraction and use of mpeg-7 descriptions | None row 9 : part 9 | iso/iec 15938-9 | 2005 | 2005 | (2011) | profiles and levels | None row 10 : part 10 | iso/iec 15938-10 | 2005 | 2005 | None | schema definition | None row 11 : part 11 | iso/iec tr | 2005 | 2005 | None | mpeg-7 profile schemas | None row 12 : part 12 | iso/iec 15938-12 | 2008 | 2008 | (2011) | query format | None ] Execute this SQL based on the above table: select count ( description )
1
[ header: pos | rider | manufacturer | laps | time/retired | grid | points row 1 : 1 | manuel poggiali | gilera | 25 | 41:18.211 | 1 | 25 row 2 : 2 | dani pedrosa | honda | 25 | 0.019 | 4 | 20 row 3 : 3 | steve jenkner | aprilia | 25 | 9.888 | 3 | 16 row 4 : 4 | lucio cecchinello | aprilia | 25 | 15.397 | 5 | 13 row 5 : 5 | simone sanna | aprilia | 25 | 15.452 | 8 | 11 row 6 : 6 | joan olive | honda | 25 | 15.486 | 20 | 10 row 7 : 7 | stefano bianco | aprilia | 25 | 15.549 | 11 | 9 row 8 : 8 | pablo nieto | aprilia | 25 | 16.218 | 2 | 8 row 9 : 9 | mika kallio | honda | 25 | 22.762 | 10 | 7 row 10 : 10 | mirko giansanti | honda | 25 | 22.839 | 16 | 6 row 11 : 11 | arnaud vincent | aprilia | 25 | 23.067 | 23 | 5 row 12 : 12 | andrea ballerini | honda | 25 | 23.134 | 18 | 4 row 13 : 13 | stefano perugini | italjet | 25 | 43.345 | 17 | 3 row 14 : 14 | jorge lorenzo | derbi | 25 | 43.973 | 7 | 2 row 15 : 15 | masao azuma | honda | 25 | 47.189 | 13 | 1 row 16 : 16 | jakub smrz | honda | 25 | 47.333 | 24 | None row 17 : 17 | gianluigi scalvini | aprilia | 25 | 52 | 22 | None row 18 : 18 | hector barbera | aprilia | 25 | +1:11.358 | 27 | None row 19 : 19 | mattia angeloni | gilera | 25 | +1:11.488 | 29 | None row 20 : 20 | alex baldolini | aprilia | 25 | +1:21.603 | 32 | None row 21 : 21 | jaroslav hules | aprilia | 25 | +1:21.681 | 15 | None row 22 : 22 | julian simon | honda | 25 | +1:31.723 | 26 | None row 23 : 23 | imre toth | honda | 25 | +1:31.794 | 31 | None row 24 : 24 | leon camier | italjet | 24 | +1 lap | 33 | None row 25 : ret | chaz davies | aprilia | 18 | retirement | 21 | None row 26 : ret | michel fabrizio | gilera | 14 | accident | 19 | None row 27 : ret | youichi ui | derbi | 13 | accident | 6 | None row 28 : ret | alex de angelis | aprilia | 13 | accident | 12 | None row 29 : ret | angel rodriguez | aprilia | 4 | retirement | 25 | None row 30 : ret | gino borsoi | aprilia | 0 | accident | 9 | None row 31 : ret | andrea dovizioso | honda | 0 | accident | 14 | None row 32 : ret | alessandro brannetti | honda | 0 | accident | 30 | None row 33 : ret | alvaro bautista | aprilia | 0 | accident | 28 | None row 34 : dnq | javier machado | honda | None | None | None | None ] Execute this SQL based on the above table: select manufacturer order by time/retired desc limit 1
aprilia
[ header: year | venue | individual | sprint | pursuit | mass start | relay row 1 : 1993 | borovets, bulgaria | None | None | None | None | 18 row 2 : 1995 | antholz-anterselva, | 67 | None | None | None | 12 row 3 : 1996 | ruhpolding, germany | 20 | 48 | None | None | 11 row 4 : 1997 | brezno-osrbli | 33 | 64 | None | None | 12 row 5 : 1998 | pokljuka, slovenia | None | None | 11 | None | None row 6 : 1999 | kontiolahti, finland | 28 | 5 | 4 | 7 | 5 row 7 : 2000 | oslo, norway and la | 15 | 15 | 7 | 7 | 6 row 8 : 2001 | pokljuka, slovenia | 30 | 21 | 19 | 17 | 9 row 9 : 2003 | khanty-mansiy | 15 | 26 | 35 | None | 12 row 10 : 2004 | oberhof, germany | 42 | 30 | 43 | None | 13 ] Execute this SQL based on the above table: select venue where venue = 'oberhof, germany' order by venue desc limit 1
oberhof, germany
[ header: rank | area | date | presenter | seven wonders covered row 1 : 1 | south west | 3 may | samantha smith | dartmoor, jurassic coast, row 2 : 2 | yorkshire & lincolnshire | 9 may | paul hudson | malham cove, the three peaks, row 3 : 3 | london | 16 may | bill oddie | islands in the river thames, the row 4 : 4 | the north | 23 may | chris jackson | lake district, river wear, whin sill row 5 : 5 | the south | 30 may | aubrey manning | the needles, lulworth cove row 6 : 6 | the midlands | 6 june | dominic heale | kinder scout, dovedale row 7 : 7 | the west country | 17 june | amanda parr | avebury, symonds row 8 : 8 | south east | 22 june | kaddy lee-preston | white cliffs of dover, seven sisters ] Execute this SQL based on the above table: select presenter where rank = 3
bill oddie
[ header: no. | score | player | team | balls | inns. | opposing team | date | result row 1 : 1 | 325 | andy sandham | england | 640 | 1 | west indies | 3 april 1930 | drawn row 2 : 4 | 270 | george headley (2/2) | west indies | nr | 1 | england | 14 march 1935 | won row 3 : 6 | 141 | everton weekes (1/2) | west indies | nr | 2 | england | 27 march 1948 | won row 4 : 9 | 237 | frank worrell | west indies | nr | 2 | india | 28 march 1953 | drawn row 5 : 12 | 150 | pankaj roy | india | nr | 3 | west indies | 28 march 1953 | drawn row 6 : 14 | 116 | willie watson | england | nr | 4 | west indies | 15 january 1954 | lost row 7 : 16 | 116 | clyde walcott (2/5) | west indies | nr | 3 | england | 30 march 1954 | lost row 8 : 19 | 108 | clyde walcott (3/5) | west indies | nr | 2 | australia | 26 march 1955 | lost row 9 : 21 | 155 | clyde walcott (4/5) | west indies | nr | 1 | australia | 11 june 1955 | lost row 10 : 24 | 109 | keith miller (2/2) | australia | nr | 2 | west indies | 11 june 1955 | won row 11 : 25 | 128 | ron archer | australia | nr | 2 | west indies | 11 june 1955 | won row 12 : 27 | 110 | clyde walcott (5/5) | west indies | nr | 3 | australia | 11 june 1955 | lost row 13 : 31 | 106 | wazir mohammad | pakistan | nr | 3 | west indies | 26 february 1958 | lost row 14 : 32 | 114 | colin cowdrey (1/2) | england | nr | 1 | west indies | 17 february 1960 | drawn row 15 : 33 | 147 | garfield sobers (2/5) | west indies | nr | 2 | england | 17 february 1960 | drawn row 16 : 41 | 158 | rohan kanhai (2/ | west indies | nr | 3 | india | 18 february 1971 | drawn row 17 : 42 | 163 | roy fredericks | west indies | nr | 1 | new zealand | 16 february 1972 | drawn row 18 : 45 | 100 | lawrence rowe (2/3) | west indies | nr | 3 | new zealand | 16 february 1972 | drawn row 19 : 46 | 101 | mark burgess | new zealand | nr | 4 | west indies | 16 february 1972 | drawn row 20 : 48 | 142 | keith stackpole | australia | nr | 3 | west indies | 16 february 1973 | drawn row 21 : 56 | 153 | graham gooch | england | 213 | 1 | west indies | 10 april 1981 | drawn row 22 : 58 | 127 | gordon greenidge (2/2) | west indies | 193 | 2 | australia | 28 april 1984 | won row 23 : 61 | 156 | richie richardson (1/3) | west indies | 314 | 2 | india | 28 april 1989 | won row 24 : 62 | 110 | viv richards | west indies | 178 | 2 | india | 28 april 1989 | won row 25 : 65 | 104 | richie richardson (2/3) | west indies | 233 | 3 | australia | 1 may 1991 | drawn ] Execute this SQL based on the above table: select inns. order by score desc limit 1
1
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 3 | michael schumacher | ferrari | 71 | 1:34:45.026 | 2 | 10 row 2 : 2 | 4 | eddie irvine | ferrari | 71 | 19.575 | 4 | 6 row 3 : 3 | 8 | mika hakkinen | mclaren-mercedes | 71 | 19.747 | 1 | 4 row 4 : 4 | 1 | jacques villeneuve | williams-mecachrome | 71 | +1:06.965 | 5 | 3 row 5 : 5 | 6 | alexander wurz | benetton-playlife | 70 | +1 lap | 10 | 2 row 6 : 6 | 7 | david coulthard | mclaren-mercedes | 70 | +1 lap | 3 | 1 row 7 : 7 | 14 | jean alesi | sauber-petronas | 70 | +1 lap | 11 | None row 8 : 8 | 15 | johnny herbert | sauber-petronas | 70 | +1 lap | 13 | None row 9 : 9 | 5 | giancarlo fisichella | benetton-playlife | 70 | +1 lap | 9 | None row 10 : 10 | 18 | rubens barrichello | stewart-ford | 69 | +2 laps | 14 | None row 11 : 11 | 11 | olivier panis | prost-peugeot | 69 | +2 laps | 16 | None row 12 : 12 | 19 | jos verstappen | stewart-ford | 69 | +2 laps | 15 | None row 13 : 13 | 17 | mika salo | arrows | 69 | +2 laps | 19 | None row 14 : 14 | 16 | pedro diniz | arrows | 69 | +2 laps | 17 | None row 15 : 15 | 2 | heinz-harald frent | williams-mecachrome | 68 | suspension | 8 | None row 16 : 16 | 10 | ralf schumacher | jordan-mugen-honda | 68 | +3 laps | 6 | None row 17 : 17 | 22 | shinji nakano | minardi-ford | 65 | engine | 21 | None row 18 : ret | 21 | toranosuke takagi | tyrrell-ford | 60 | engine | 20 | None row 19 : ret | 12 | jarno trulli | prost-peugeot | 55 | spun off | 12 | None row 20 : ret | 23 | esteban tuero | minardi-ford | 41 | gearbox | 22 | None row 21 : ret | 9 | damon hill | jordan-mugen-honda | 19 | hydraulics | 7 | None row 22 : ret | 20 | ricardo rosset | tyrrell-ford | 16 | hydraulics | 18 | None ] Execute this SQL based on the above table: select driver where id = 20
esteban tuero
[ header: rank | circuit | headquarters | screens | sites row 1 : 1 | regal entertainment group | knoxville,tn | 7318 | 574 row 2 : 2 | amc entertainment inc | kansas city, mo | 4988 | 344 row 3 : 3 | cinemark theatres | plano, tx | 4434 | 332 row 4 : 4 | carmike cinemas, inc | columbus, ga | 2476 | 249 row 5 : 5 | cineplex entertainment | toronto, on | 1672 | 136 row 6 : 6 | marcus theatres | milwaukee, wi | 687 | 55 row 7 : 7 | harkins theatres | phoenix, az | 440 | 31 row 8 : 8 | national amusements | dedham, ma | 423 | 32 row 9 : 9 | bow tie cinemas | ridgefield, ct | 388 | 63 row 10 : 10 | georgia theatre company | st. simon's island, | 326 | 32 ] Execute this SQL based on the above table: select headquarters where id = ( select id where headquarters = 'knoxville,tn' ) + 1
kansas city, mo
[ header: date | time (edt) | team #1 | res. | team #2 | round | spectators row 1 : 1994-06-18 | 16 | italy | 0-1 | republic of ireland | group e | 75338 row 2 : 1994-06-23 | 16 | italy | 1-0 | norway | group e | 74624 row 3 : 1994-06-25 | 12.3 | saudi arabia | 2-1 | morocco | group f | 76322 row 4 : 1994-06-28 | 12.3 | republic of ireland | 0-0 | norway | group e | 72404 row 5 : 1994-07-05 | 16.3 | mexico | 1-1 (1-3 on pen.) | bulgaria | round of 16 | 71030 row 6 : 1994-07-10 | 12 | bulgaria | 2-1 | germany | quarterfinals | 72000 row 7 : 1994-07-13 | 16 | bulgaria | 1-2 | italy | semifinals | 74110 ] Execute this SQL based on the above table: select round order by spectators desc limit 1
group f
[ header: | name | date | location | county | description row 1 : 1 | diamond head | None | honolulu | oahu | state monument row 2 : 2 | i'ao valley | None | wailuku | maui | state monument row 3 : 3 | kanaha pond | june 1971 | kahului | maui | bird sanctuary row 4 : 4 | koʻolau range pali | None | None | oahu | None row 5 : 5 | makalawena marsh | june 1972 | north kona | hawaiʻi | bird sanctuary row 6 : 6 | mauna kea | november 1972 | saddle road | hawaiʻi | u.s. state high point row 7 : 7 | north shore cliffs | december 1972 | molokaʻi | maui | None ] Execute this SQL based on the above table: select abs ( ( select where description = 'state monument' ) - ( select where description = 'u.s. state high point' ) )
5.0
[ header: year | starts | wins | top 5 | top 10 | poles | avg. start | avg. finish | winnings | position | team(s) row 1 : 1986 | 2 | 0 | 0 | 0 | 0 | 21 | 29 | $535 | 110th | #31 grissom racing enterprises row 2 : 1987 | 2 | 0 | 0 | 0 | 0 | 17 | 21.5 | $975 | 49th | #39 grissom racing enterprises row 3 : 1988 | 29 | 0 | 1 | 4 | 0 | 23.6 | 20.4 | $45,391 | 13th | #39 grissom racing enterprises row 4 : 1989 | 29 | 0 | 2 | 5 | 0 | 23.1 | 18.9 | $71,822 | 12th | #9/#19 falcon racing row 5 : 1990 | 31 | 4 | 11 | 15 | 1 | 14.8 | 13.2 | $166,842 | 3rd | #31 grissom racing enterprises row 6 : 1991 | 31 | 1 | 7 | 13 | 1 | 20.5 | 15.7 | $152,206 | 10th | #31 grissom racing enterprises row 7 : 1992 | 31 | 1 | 2 | 7 | 1 | 19.7 | 16.7 | $170,716 | 12th | #31 grissom racing enterprises row 8 : 1994 | 11 | 0 | 1 | 1 | 0 | 27.5 | 26.6 | $39,475 | 43rd | #31 grissom racing enterprises row 9 : 1995 | 15 | 2 | 4 | 7 | 0 | 23.9 | 15.6 | $110,105 | 26th | #29 diamond ridge motorsports row 10 : 1996 | 8 | 1 | 3 | 4 | 0 | 25.9 | 14.1 | $90,942 | 45th | #29 diamond ridge motorsports row 11 : 1997 | 1 | 0 | 0 | 0 | 0 | 43 | 39 | $4,425 | 114th | #5 labonte motorsports row 12 : 1998 | 2 | 0 | 0 | 0 | 1 | 22 | 23 | $16,444 | 77th | #12 spencer motor ventures # row 13 : 1999 | 12 | 0 | 0 | 0 | 0 | 35.5 | 30.6 | $128,750 | 52nd | #74 bace motorsports #12 row 14 : 2000 | 1 | 0 | 0 | 0 | 0 | 43 | 37 | $7,925 | 109th | #8 petty enterprises row 15 : 2001 | 1 | 0 | 0 | 0 | 0 | 21 | 26 | $27,000 | 151st | #45 petty enterprises row 16 : 2002 | 7 | 0 | 0 | 0 | 0 | 30.6 | 30.4 | $86,830 | 56th | #34 frank cicci racing row 17 : 2003 | 6 | 0 | 0 | 0 | 0 | 37 | 27.8 | $83,825 | 67th | #07 dlp racing #61/ row 18 : 2004 | 26 | 0 | 0 | 0 | 0 | 37.3 | 28.6 | $482,604 | 28th | #36 dct motorsports # row 19 : 2005 | 31 | 0 | 0 | 0 | 0 | 40.3 | 32.2 | $602,395 | 23rd | #49 jay robinson racing row 20 : 2006 | 2 | 0 | 0 | 0 | 0 | 42 | 30.5 | $72,136 | 98th | #49 jay robinson racing row 21 : 2007 | 1 | 0 | 0 | 0 | 0 | 43 | 25 | $45,800 | 133rd | #34 frank cicci racing ] Execute this SQL based on the above table: select position group by position order by count ( * ) desc limit 1
12th
[ header: entered | weeks in top 10 | single | artist | peak | peak reached | weeks at peak row 1 : 3 october 1993 | 14 | "i'd do anything for love" | meat loaf | 1 | 17 october 1993 | 7 row 2 : 19 december 1993 | 3 | "bat out of hell" | meat loaf | 8 | 19 december 1993 | 2 row 3 : 2 january 1994 | 9 | "things can only get better" (# | d:ream | 1 | 16 january 1994 | 4 row 4 : 16 january 1994 | 1 | "here i stand" | bitty mclean | 10 | 16 january 1994 | 1 row 5 : 23 january 1994 | 1 | "in your room" | depeche mode | 8 | 23 january 1994 | 1 row 6 : 23 january 1994 | 8 | "return to innocence" | enigma | 3 | 6 february 1994 | 2 row 7 : 13 march 1994 | 7 | "streets of philadelphia" | bruce springsteen | 2 | 27 march 1994 | 1 row 8 : 1 may 1994 | 7 | "come on you reds" | manchester united football squad featuring status quo | 1 | 15 may 1994 | 2 row 9 : 8 may 1994 | 3 | "just a step from heaven" | eternal | 8 | 15 may 1994 | 1 row 10 : 15 may 1994 | 2 | "more to this world" | bad boys inc | 8 | 22 may 1994 | 1 row 11 : 12 june 1994 | 2 | "anytime you need a friend" | mariah carey | 8 | 19 june 1994 | 1 row 12 : 7 august 1994 | 4 | "what's up?" | dj miko | 6 | 14 august 1994 | 1 row 13 : 14 august 1994 | 2 | "live forever" | oasis | 10 | 14 august 1994 | 2 row 14 : 28 august 1994 | 1 | "parklife" | blur | 10 | 28 august 1994 | 1 row 15 : 2 october 1994 | 2 | "secret" | madonna | 5 | 2 october 1994 | 1 row 16 : 2 october 1994 | 6 | "sweetness" | michelle gayle | 4 | 30 october 1994 | 1 row 17 : 30 october 1994 | 4 | "oh baby i..." | eternal | 4 | 6 november 1994 | 1 row 18 : 6 november 1994 | 5 | "another night" | mc sar and real m | 2 | 13 november 1994 | 1 row 19 : 13 november 1994 | 3 | "sight for sore eyes" | m people | 6 | 20 november 1994 | 1 row 20 : 13 november 1994 | 1 | "true faith '94" | new order | 9 | 13 november 1994 | 1 row 21 : 11 december 1994 | 3 | "power rangers: the official single" | the mighty raw | 3 | 11 december | 1 ] Execute this SQL based on the above table: select count ( entered ) where peak = 0
0
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 8 february 2011 | stade georges pompidou, | mali | 1-0 | 1-0 | friendly row 2 : 2 | 11 may 2011 | stade felix houphouet- | namibia | 4-1 | 5-1 | friendly row 3 : 3 | 5 june 2011 | stade de l'amitie | benin | 0-1 | 2-6 | 2012 africa cup of nations qualification - group row 4 : 4 | 10 august 2011 | stade de geneve, geneve, | israel | 1-0 | 4-3 | friendly row 5 : 5 | 3 september 2011 | stade amahoro, ki | rwanda | 0-4 | 0-5 | 2012 africa cup of nations qualification - group row 6 : 6 | 14 november 2012 | linzer stadion, | austria | 0-1 | 0-3 | friendly row 7 : 7 | 14 january 2013 | al nahyan stadium, abu | egypt | 4-2 | 4-2 | friendly row 8 : 8 | 26 january 2013 | royal bafokeng stadium, rustenburg | tunisia | 3-0 | 3-0 | 2013 africa cup of nations ] Execute this SQL based on the above table: select competition where competition in ( 'friendly' , 'friendly' ) order by # desc limit 1
friendly
[ header: yacht | nation | owner | skipper | launch year row 1 : afr midnight rambler | (nsw) | ed psaltis | ed psaltis | 2002 row 2 : another challenge | (vic) | chris lewin | chris lewin | 2000 row 3 : another fiasco | (qld) | damian suckling | damian suckling | 1994 row 4 : balance | (nsw) | paul clitheroe | paul clitheroe | 2006 row 5 : bear necessity | (nsw) | andrew & pauline d | andrew dally | 2007 row 6 : berrimilla | (nsw) | alex whitworth | alex whitworth | 1977 row 7 : george gregan foundation | (nsw) | peter goldsworthy | david witt | 2001 row 8 : georgia | (vic) | john williams/graeme | john williams | 2000 row 9 : getaway sailing 2 | (vic) | peter tarimo | jay pettifer | 2000 row 10 : global yacht racing - kioni | (nsw) | kioni sailing services p/l | richard falk | 2001 row 11 : helsal iv | (tas) | tony fisher | rob fisher | 1986 row 12 : huckleberry | (wa) | steve humphries | steve humphries | 1982 row 13 : hugo boss ii | None | alex thomson racing | ross daniel | 2001 row 14 : ichi ban | (nsw) | matt allen | matt allen | 2005 row 15 : imarex | (nsw) | marc & louis ryckmans | ola strand andersen | 2000 row 16 : jazz | None | chris bull | chris bull | 2003 row 17 : living doll | (vic) | michael hiatt | michael hiatt | 2005 row 18 : mr kite | (nsw) | andrew buckland/andre | andrew buckland/andre | 2005 row 19 : noonmark vi | None | sir geoffrey mulcahy | mike gilburt | 1998 row 20 : quantum racing | (nsw) | ray roberts | ray roberts | 2007 row 21 : quetzalcoatl | (nsw) | bruce/hampshire/lee | antony sweetapple | 2001 row 22 : ragamuffin | (nsw) | syd fischer | syd fischer | 2004 row 23 : rosebud | None | roger sturgeon | roger sturgeon | 2007 row 24 : scarlet runner | (vic) | robert date | robert date | 2001 row 25 : secret men's business #1 | (nsw) | smb syndicate | ross trembath/r cur | 1996 row 26 : sextant | (nsw) | denis doyle | denis doyle | 1999 row 27 : shogun | (vic) | rob hanna | rob hanna | 2007 row 28 : toyota aurion | (nsw) | andrew short | andrew short | 1993 row 29 : wild oats xi | (nsw) | bob oatley | mark richards | 2005 row 30 : wot's next | (nsw) | graeme wood | bill sykes | 2005 ] Execute this SQL based on the above table: select count ( distinct nation ) where owner in ( 'damian suckling' , 'kioni sailing services p/l' , 'graeme wood' )
2
[ header: parish est | church | city | current bldg begun | weekly collections | notes row 1 : 1846 | shrine of the immaculate conception | atlanta | 1869 | $10,000 | row 2 : 1880 | sacred heart basilica | atlanta | 1897 | $18,000 | row 3 : 1903 | saint anthony of padua cat | atlanta | 1911 | None | row 4 : 1912 | our lady of lourdes catholic church | atlanta | 1960 | None | row 5 : 1936 | cathedral of christ the king | atlanta | 1937 | $70,000 | row 6 : 1941 | saint thomas more catholic church | decatur | 1952 | $23,000 | row 7 : 1951 | our lady of the assumption catholic church | atlanta | 1957 | $16,000 | row 8 : 1954 | saint paul of the cross catholic church | atlanta | 1957 | None | row 9 : 1958 | immaculate heart of mary catholic church | atlanta | 2006 | $26,000 | row 10 : 1960 | saint jude the apostle catholic church | atlanta | 1962 | None | row 11 : 1960 | saint luke the evangelist | dahlonega | 1898 | $4,500 | row 12 : 1960 | most blessed sacrament catholic church | atlanta | 1989 | $4,000 | row 13 : 1964 | catholic church of the holy cross | atlanta | 1989 | None | row 14 : 1964 | holy spirit catholic church | atlanta | 1977 | None | row 15 : 1965 | our lady of perpetual help catholic church | carrollton | 1962 | $9,000 | row 16 : 1984 | christ our hope catholic church | lithonia | 2000 | None | row 17 : 1999 | saint francis de sales catholic church | mableton | 1999 | None | row 18 : 2000 | saint brigid catholic church | johns creek | 2002 | $50,000 | ] Execute this SQL based on the above table: select church order by parish est desc limit 1
saint brigid catholic church
[ header: place | nation | 5 hoops | 3 balls, 2 ribbons | total row 1 : 1 | bulgaria | 19.800 (1) | 19.800 (1) | 39.600 row 2 : 2 | spain | 19.700 (3) | 19.700 (2) | 39.400 row 3 : 3 | belarus | 19.733 (2) | 19.600 (3) | 39.333 row 4 : 4 | russia | 19.600 (4) | 19.566 (4) | 39.166 row 5 : 5 | ukraine | 19.366 (5) | 15.500 (5) | 38.866 row 6 : 6 | japan | 19.166 (6) | 19.333 (7) | 38.499 row 7 : 7 | italy | 19.066 (7) | 19.400 (6) | 38.466 row 8 : 8 | hungary | 18.766 (8) | 19.166 (8) | 37.932 ] Execute this SQL based on the above table: select nation where nation = 'italy'
italy
[ header: no | peak | location | elevation (m) | prominence (m) | col height (m) | col location | parent row 1 : 1 | mont blanc | france/ italy | 4810 | 4697 | 113 | near lake kubenskoye | everest row 2 : 5 | piz bernina | switzerland | 4049 | 2234 | 1815 | maloja pass | finsteraarhorn1 / m row 3 : 7 | monte rosa | switzerland | 4634 | 2165 | 2469 | great st bernard pass | mont blanc row 4 : 10 | monte viso | italy | 3841 | 2062 | 1779 | le mauvais pass | mont blanc row 5 : 11 | triglav | slovenia | 2864 | 2052 | 812 | camporosso pass | marmolada1 / m row 6 : 12 | barre des ecrins | france | 4102 | 2045 | 2057 | col du lautaret | mont blanc row 7 : 15 | monte baldo/cima | italy | 2218 | 1950 | 268 | near san giovanni pass in | ortler1 / mb2 row 8 : 16 | gran paradiso | italy | 4061 | 1891 | 2170 | near little st bernard pass | mont blanc row 9 : 19 | dents du midi | switzerland | 3257 | 1796 | 1461 | col des montets | mont blanc row 10 : 20 | chamechaude | france | 2082 | 1771 | 311 | chambery | mont blanc row 11 : 21 | zugspitze | germany/ austria | 2962 | 1746 | 1216 | near fern pass | finsteraarhorn1 / m row 12 : 25 | großer priel | austria | 2515 | 1700 | 810 | near pichl-kainisch | hoher dachstein1 / m row 13 : 27 | monte bondone | italy | 2180 | 1679 | 501 | near cadine in trento | ortler1 / mb2 row 14 : 29 | birnhorn | austria | 2634 | 1665 | 969 | hochfilzen | großglockner1 / mb row 15 : 31 | pointe percee | france | 2750 | 1643 | 1107 | near pont d'arbon near mege | mont blanc row 16 : 33 | molltaler polinik | austria | 2784 | 1579 | 1205 | iselsberg pass | großglockner1 / mb row 17 : 35 | birkkarspitze | austria | 2749 | 1569 | 1180 | seefeld in tirol | zugspitze1 / mb2 row 18 : 37 | grande tete de l'obiou | france | 2790 | 1542 | 1248 | col bayard | barre des ecrins1 / row 19 : 39 | hochtor | austria | 2369 | 1520 | 849 | schober pass | großglockner1 / mb row 20 : 41 | grand combin | switzerland | 4314 | 1517 | 2797 | fenetre de durand | monte rosa row 21 : 44 | piz kesch | switzerland | 3418 | 1502 | 1916 | lukmanier pass | finsteraarhorn1 / m ] Execute this SQL based on the above table: select count ( peak ) where col height (m) < 2797
20
[ header: rank | area | date | presenter | seven wonders covered row 1 : 1 | south west | 3 may | samantha smith | dartmoor, jurassic coast, row 2 : 2 | yorkshire & lincolnshire | 9 may | paul hudson | malham cove, the three peaks, row 3 : 3 | london | 16 may | bill oddie | islands in the river thames, the row 4 : 4 | the north | 23 may | chris jackson | lake district, river wear, whin sill row 5 : 5 | the south | 30 may | aubrey manning | the needles, lulworth cove row 6 : 6 | the midlands | 6 june | dominic heale | kinder scout, dovedale row 7 : 7 | the west country | 17 june | amanda parr | avebury, symonds row 8 : 8 | south east | 22 june | kaddy lee-preston | white cliffs of dover, seven sisters ] Execute this SQL based on the above table: select presenter where rank < 7
samantha smith, paul hudson, bill oddie, chris jackson, aubrey manning, dominic heale
[ header: season | series | team | races | wins | poles | fast laps | points | pos. row 1 : 2001 | formula one | prost | None | None | None | None | None | test driver row 2 : 2001 | formula 3000 international | gd racing | 4 | 0 | 0 | 0 | 0 | nc row 3 : 2001 | world series by nissan | gd racing | 6 | 0 | 0 | 1 | 51 | 9th row 4 : 2002 | world series by nissan | gd racing | 6 | 0 | 0 | 0 | 30 | 13th row 5 : 2003 | world series by nissan | gd racing | 2 | 0 | 0 | 0 | 0 | nc row 6 : 2006 | formula one | renault | None | None | None | None | None | test driver row 7 : 2007-08 | a1 grand prix | a1 team france | 2 | 0 | 0 | 0 | 0 | 4th ] Execute this SQL based on the above table: select team where points > ( select points where team = 'a1 team france' )
gd racing, gd racing
[ header: # | date | venue | opponent | score | result | competition row 1 : 2 | 17 february 2002 | healy park, omagh | tyrone | | 2-10 : 0-18 | national football league round 2 row 2 : 3 | 3 march 2002 | parnell park, dublin | westmeath | | 3-13 : 1-16 | national football league round 4 row 3 : 5 | 31 march 2002 | tuam stadium, galway | galway | | 1-12 : 1-12 | national football league round 7 row 4 : 6 | 2 february 2003 | parnell park, dublin | armagh | | 0-7 : 1-15 | national football league round 1 row 5 : 12 | 8 february 2004 | mchale park, castlebar | mayo | | 0-3 : 1-10 | national football league round 2 row 6 : 15 | 21 march 2004 | parnell park, dublin | cork | | 0-9 : 0-9 | national football league round 6 row 7 : 16 | 5 february 2005 | parnell park, dublin | mayo | | 2-13 : 1-15 | national football league round 1 row 8 : 21 | 26 march 2005 | pairc ui rinn, | cork | | 1-6 : 0-18 | national football league round 6 row 9 : 22 | 3 april 2005 | o'connor park, tul | offaly | | 1-13 : 2-6 | national football league round 7 row 10 : 27 | 25 march 2006 | parnell park, dublin | mayo | | 4-10 : 1-10 | national football league round 6 row 11 : 28 | 9 april 2006 | fitzgerald stadium, kerry | kerry | | 0-13 : 0-13 | national football league round 7 row 12 : 30 | 10 february 2007 | gaelic grounds, limerick | limerick | | 0-14 : 1-10 | national football league round 2 row 13 : 31 | 25 february 2007 | ballyshannon, donegal | donegal | | 0-5 : 0-9 | national football league round 3 row 14 : 32 | 10 march 2007 | parnell park, dublin | cork | | 1-13 : 0-7 | national football league round 4 row 15 : 41 | 26 april 2008 | pairc tailteann, meath | westmeath | | 0-10 : 0-15 | national football league division 2 final row 16 : 42 | 31 january 2009 | croke park, dublin | tyrone | | 1-16 : 1-18 | national football league round 1 row 17 : 43 | 15 february 2009 | pearse stadium, salthill | galway | | 0-13 : 3-12 | national football league round 2 row 18 : 48 | 7 february 2010 | fitzgerald stadium, killarney | kerry | | 1-12 : 1-10 | national football league round 1 row 19 : 50 | 13 march 2010 | parnell park, dublin | monaghan | | 2-11 : 1-9 | national football league round 4 ] Execute this SQL based on the above table: select date where id = 15
21 march 2004