inputs
stringlengths
291
3.71k
targets
stringlengths
1
2.65k
[ header: year | film | role | co-star | director | notes row 1 : 2004 | bachelor | None | None | mostofa sarwar farook | special appearance row 2 : 2010 | dubshatar | renu | shehzad chowdhury | nurul alam atik | first debut film daily star celebrating life-best actress row 3 : 2011 | firey esho behula | tanima | intekhab deenar, shahid | tanim noor | None row 4 : 2011 | guerrilla | bilkis banu | ferdous ahmed, | nasiruddin yousuff | national film award meril prothom al row 5 : 2012 | chorabali | noboni afroz | indraneil sengupt | redwan rony | national film award meril prothom al row 6 : 2013 | aborto | charu sen | tota roy chowdhur | arindam sil | first debut film in tollywood row 7 : 2013 | purnodoirgho prem | jara/zara | shakib khan, arefin | shafi uddin sha | first film with shakib khan row 8 : 2014 | parle theka (filming) | None | sushama sarkar | maruf hasan | None row 9 : 2014 | zero degree (filming) | sonia | mahfuz ahmed, r | animesh aich | None ] Execute this SQL based on the above table: select count ( co-star ) where co-star = 'ferdous ahmed, ahmed rubel, shatabdi wadud, shampa reza, a.t.m shamsuzzaman'
1
[ header: year | single | charts fr | charts bel wa | charts swi | certification | album row 1 : 1997 | "sur la route" | 14 | None | None | | la derniere annee row 2 : 2000 | "j'en reve encore" | 7 | 4 | None | | marcher dans le sable row 3 : 2001 | "une seule vie (marcher dans le | 30 | None | None | | marcher dans le sable row 4 : 2001 | "tomber" | 35 | None | None | | marcher dans le sable row 5 : 2004 | "elle s'ennuie" | 35 | None | 73 | | None row 6 : 2004 | "elle danse seule" | 22 | None | 46 | | un homme sans racines row 7 : 2011 | "l'etranger" | 59 | None | None | | sur ma route row 8 : 2013 | "je me souviens de tout" | 130 | None | None | | da palmas ] Execute this SQL based on the above table: select single where year > ( select year where single = '"une seule vie (marcher dans le sable)"' ) order by year limit 1
"elle s'ennuie"
[ header: place | team | played | won | draw | lost | goals scored | goals conceded | +/- | points row 1 : 1 | c.d. fas | 18 | 10 | 6 | 2 | 27 | 13 | 14 | 36 row 2 : 2 | c.d. aguila | 18 | 9 | 4 | 5 | 38 | 26 | 12 | 31 row 3 : 3 | c.d. luis angel fir | 18 | 7 | 7 | 4 | 25 | 18 | 7 | 28 row 4 : 4 | san salvador f.c | 18 | 8 | 4 | 6 | 31 | 27 | 4 | 28 row 5 : 5 | alianza f.c | 18 | 8 | 4 | 6 | 26 | 24 | 2 | 28 row 6 : 6 | a.d. isidro | 18 | 4 | 9 | 5 | 20 | 23 | -3 | 21 row 7 : 7 | municipal limeno | 18 | 5 | 5 | 8 | 27 | 29 | -2 | 20 row 8 : 8 | c.d. arcense | 18 | 2 | 11 | 5 | 23 | 32 | -11 | 17 row 9 : 9 | chalatenango | 18 | 4 | 5 | 9 | 13 | 22 | -9 | 17 row 10 : 10 | c.d. atletico balb | 18 | 4 | 3 | 11 | 15 | 31 | -24 | 15 ] Execute this SQL based on the above table: select sum ( won ) where +/- <= -11
6
[ header: rank | views | closed | item row 1 : 1 | 1319214 | 10 july 2013 | a printer which was stated to be faulty row 2 : 2 | 1072893 | 3 june 2006 | wellington hurricanes player tana um row 3 : 3 | 810802 | 18 june 2009 | mike whittaker (mik row 4 : 4 | 459420 | 1 august 2012 | the implosion of radio network house on 5 row 5 : 5 | 355889 | 20 january 2012 | your tattoo on my bum!! row 6 : 6 | 384705 | 24 may 2009 | buy a tractor and get a 20 row 7 : 7 | 316350 | 7 march 2011 | landscape rocks for sale in chch (follow row 8 : 8 | 292184 | 6 may 2010 | folden 2010 row 9 : 9 | 276094 | 8 january 2009 | jesus christ pita bread row 10 : 10 | 258775 | 9 january 2012 | two days in the studio and advice from n ] Execute this SQL based on the above table: select closed order by item asc limit 1312
10 july 2013, 24 may 2009, 6 may 2010, 8 january 2009, 7 march 2011, 18 june 2009, 1 august 2012, 9 january 2012, 3 june 2006, 20 january 2012
[ header: place | player | country | score | to par | money ($) row 1 : 1 | larry nelson | united states | 70-66-66-71=273 | -7 | 60000 row 2 : 2 | fuzzy zoeller | united states | 70-68-68-71=277 | -3 | 40000 row 3 : 3 | dan pohl | united states | 69-67-73-69=2 | -2 | 25000 row 4 : t4 | isao aoki | japan | 75-68-66-70=279 | -1 | 13146 row 5 : t4 | keith fergus | united states | 71-71-69-68=2 | -1 | 13146 row 6 : t4 | bob gilder | united states | 74-69-70-66=2 | -1 | 13146 row 7 : t4 | tom kite | united states | 71-67-69-72=2 | -1 | 13146 row 8 : t4 | bruce lietzke | united states | 70-70-71-68=279 | -1 | 13146 row 9 : t4 | jack nicklaus | united states | 71-68-71-69=2 | -1 | 13146 row 10 : t4 | greg norman | australia | 73-67-68-71=2 | -1 | 13146 ] Execute this SQL based on the above table: select score where score != '70-66-66-71=273' and place = 't4'
75-68-66-70=279, 71-71-69-68=279, 74-69-70-66=279, 71-67-69-72=279, 70-70-71-68=279, 71-68-71-69=279, 73-67-68-71=279
[ header: year | author | illustrator | title | publisher row 1 : 1982 | angela carter (ed. and translator | michael foreman | sleeping beauty and other favourite fairy tales | v. gollancz row 2 : 1983 | anthony browne | browne | gorilla | julia macrae row 3 : 1984 | john burningham | burningham | granpa | j. cape row 4 : 1985 | ted hughes (1968) | andrew davidson | the iron man | faber row 5 : 1986 | allan ahlberg | janet ahlberg | the jolly postman | heinemann row 6 : 1987 | charles causley | charles keeping | jack the treacle eater | macmillan row 7 : 1988 | lewis carroll (1865) | anthony browne | alice's adventures in wonderland | julia macrae row 8 : 1989 | martin waddell | barbara firth | the park in the dark | walker row 9 : 1990 | quentin blake | blake | all join in | j. cape row 10 : 1991 | colin mcnaughton | mcnaughton | have you seen who's just moved in next | walker row 11 : 1992 | raymond briggs | briggs | the man | julia macrae row 12 : 1993 | karen wallace | mike bostock | think of an eel | walker row 13 : 1994 | trish cooke | helen oxenbury | so much | walker row 14 : 1995 | kathy henderson | patrick benson | the little boat | walker row 15 : 1996 | babette cole | cole | drop dead | j. cape row 16 : 1997 | william mayne | jonathan heale | lady muck | heinemann row 17 : 1998 | anthony browne | browne | voices in the park | doubleday row 18 : 1999 | lewis carroll (1865) | helen oxenbury | alice's adventures in wonderland | walker ] Execute this SQL based on the above table: select illustrator where publisher = 'j. cape' and year = 1984
burningham
[ header: line | year opened | termini | termini row 1 : j church | 1917 | embarcadero station | balboa park station row 2 : k ingleside | 1918 | embarcadero station | balboa park station row 3 : l taraval | 1919 | embarcadero station | 46th avenue and wawona s row 4 : m ocean view | 1925 | embarcadero station | san jose and geneva balb row 5 : n judah | 1928 | 4th and king station caltrain depot | judah and la playa ocean beach row 6 : t third street | 2007 | west portal station | sunnydale station row 7 : s castro shuttle (peak hours & | None | embarcadero station 4th and | castro station west portal station (game days) ] Execute this SQL based on the above table: select count ( * ) where year opened = 2007
1
[ header: date | number | type | captain | casualties | sunk by row 1 : 4-may-43 | u-209 | viic | heinrich brodda | 46 | catalina flying-boat of no. 5 row 2 : 5-may-43 | u-638 | viic | oskar staudinger | 44 | hms sunflower row 3 : 5-may-43 | u-531 | ixc/40 | herbert neckel | 54 | hms vidette row 4 : 6-may-43 | u-192 | ixc/40 | werner happe | 55 | hms loosestrife row 5 : 6-may-43 | u-125 | ixc | ulrich folkers | 54 | hms oribi, hm row 6 : 6-may-43 | u-630 | viic | werner winkler | 47 | hms vidette row 7 : 6-may-43 | u-438 | viic | heinrich hensohn | 48 | hms pelican ] Execute this SQL based on the above table: select captain where captain != 'oskar staudinger' and type = ( select type where captain = 'oskar staudinger' )
heinrich brodda, werner winkler, heinrich hensohn
[ 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 title where id = ( select id where title = '"breaking up is hard to do" (part 2)' ) + 1
"i, bowl buster"
[ header: rank | athlete | country | time | notes row 1 : None | kaija mustonen | finland | 2:22.4 | or row 2 : None | carry geijssen | netherlands | 2:22.7 | None row 3 : None | stien kaiser | netherlands | 2:24.5 | None row 4 : 4 | sigrid sundby-dy | norway | 2:25.2 | None row 5 : 5 | lasma kauniste | soviet union | 2:25.4 | None row 6 : 6 | kaija-liisa | finland | 2:25.8 | None row 7 : 7 | lyudmila titova | soviet union | 2:26.8 | None row 8 : 8 | ruth schleiermacher | east germany | 2:27.1 | None row 9 : 9 | christina lindblom-scher | sweden | 2:27.5 | None row 10 : 9 | hildegard sellhuber | west germany | 2:27.5 | None row 11 : 11 | lidiya skoblikova | soviet union | 2:27.6 | None row 12 : 12 | ans schut | netherlands | 2:28.3 | None row 13 : 13 | dianne holum | united states | 2:28.5 | None row 14 : 14 | martine ivangine | france | 2:29.9 | None row 15 : 14 | kari karing | norway | 2:29.9 | None row 16 : 16 | jeanne ashworth | united states | 2:30.3 | None row 17 : 17 | lisbeth korsmo | norway | 2:30.7 | None row 18 : 18 | christina karlsson | sweden | 2:31.4 | None row 19 : 18 | sachiko saito | japan | 2:31.4 | None row 20 : 20 | ylva hedlund | sweden | 2:31.5 | None row 21 : 21 | doreen mccannell | canada | 2:32.2 | None row 22 : 22 | arja kantola | finland | 2:33.2 | None row 23 : 23 | kaname ide | japan | 2:34.2 | None row 24 : 24 | marcia parsons | canada | 2:34.4 | None row 25 : 25 | jeanne omelenchuk | united states | 2:35.5 | None row 26 : 26 | jitsuko saito | japan | 2:36.6 | None row 27 : 27 | kim gwi-jin | south korea | 2:36.7 | None row 28 : 28 | marie-louise perrenou | france | 2:39.2 | None row 29 : 29 | patricia demartini | france | 2:40.6 | None row 30 : 30 | paula dufter | west germany | 2:45.2 | None ] Execute this SQL based on the above table: select rank where athlete = 'ans schut'
12.0
[ header: year | single | peak chart positions us | peak chart positions us r&b | peak chart positions aus | peak chart positions can | peak chart positions nld | peak chart positions nz | peak chart positions uk | certifications | album row 1 : 1992 | "happy days" | 86 | 13 | None | None | None | None | None | None | lose control row 2 : 1993 | "freak me" | 1 | 1 | 3 | 43 | 42 | 9 | 46 | us: platinum | lose control row 3 : 1993 | "girl u for me" | 26 | 4 | None | None | None | 30 | 67 | None | lose control row 4 : 1993 | "lose control" | 26 | 4 | None | None | None | None | None | None | lose control row 5 : 1993 | "it had to be you" | 109 | 45 | None | None | None | None | None | None | lose control row 6 : 1993 | "baby it's you" | None | None | None | None | None | None | 44 | None | lose control row 7 : 1994 | "i can go deep" | 71 | 22 | None | None | None | None | None | None | a low down dirty shame / silk row 8 : 1995 | "hooked on you" | 54 | 12 | None | None | None | 11 | 81 | None | silk row 9 : 1996 | "don't rush" | 91 | 39 | None | None | None | None | None | None | silk row 10 : 1999 | "if you (lovin' me)" | 13 | 4 | None | None | None | 28 | None | us: gold | tonight row 11 : 1999 | "meeting in my bedroom" | 62 | 15 | None | None | None | None | None | None | tonight row 12 : 1999 | "let's make love" | None | 58 | None | None | None | None | None | None | tonight row 13 : 2001 | "we're callin u" | None | 56 | None | None | None | None | None | None | love session row 14 : 2001 | "ebony eyes" | None | None | None | None | None | None | None | None | love session row 15 : 2003 | "silktime" | None | None | None | None | None | None | None | None | silktime row 16 : 2004 | "side show" | None | 66 | None | None | None | None | None | None | silktime row 17 : 2006 | "the secret garden (sweet seduction suite) | None | None | None | None | None | None | None | None | always and forever ] Execute this SQL based on the above table: select count ( * ) where album = 'lose control'
6
[ header: week | date | opponent | result | record | attendance | bye row 1 : 1 | september 11, 2005 | indianapolis colts | l 24-7 | 0-1-0 | 70501 | 0 row 2 : 2 | september 18, 2005 | at tennessee titans | l 25-10 | 0-2-0 | 69149 | 0 row 3 : 3 | None | None | None | None | None | 1 row 4 : 4 | october 2, 2005 | new york jets | w 13-3 | 1-2-0 | 70479 | 0 row 5 : 5 | october 9, 2005 | at detroit lions | l 35-17 | 1-3-0 | 61201 | 0 row 6 : 6 | october 16, 2005 | cleveland browns | w 16-3 | 2-3-0 | 70196 | 0 row 7 : 7 | october 23, 2005 | at chicago bears | l 10-6 | 2-4-0 | 62102 | 0 row 8 : 8 | october 31, 2005 | at pittsburgh steelers | l 20-19 | 2-5-0 | 64178 | 0 row 9 : 9 | november 6, 2005 | cincinnati bengals | l 21-9 | 2-6-0 | 70540 | 0 row 10 : 10 | november 13, 2005 | at jacksonville jaguars | l 30-3 | 2-7-0 | 66107 | 0 row 11 : 11 | november 20, 2005 | pittsburgh steelers | w 16-13 ot | 3-7-0 | 70601 | 0 row 12 : 12 | november 27, 2005 | at cincinnati bengals | l 42-29 | 3-8-0 | 65680 | 0 row 13 : 13 | december 4, 2005 | houston texans | w 16-15 | 4-8-0 | 69909 | 0 row 14 : 14 | december 11, 2005 | at denver broncos | l 12-10 | 4-9-0 | 75651 | 0 row 15 : 15 | december 19, 2005 | green bay packers | w 48-3 | 5-9-0 | 70604 | 0 row 16 : 16 | december 25, 2005 | minnesota vikings | w 30-23 | 6-9-0 | 70246 | 0 row 17 : 17 | january 1, 2006 | at cleveland browns | l 20-16 | 6-10-0 | 69871 | 0 ] Execute this SQL based on the above table: select opponent where record = '6-10-0'
at cleveland browns
[ header: | chinese | pinyin | cantonese yale | hakka pinjim row 1 : ma ling-yee | 馬寧兒 | ma ninger | ma5 ning4 yi4 | None row 2 : fung do-dak | 馮道德 | feng daode | fung4 dou6 dak1 | None row 3 : gwong wai | 廣慧禪師 | guang hui chan shi | gwong2 wai6 sim | None row 4 : juk faat wan | 竺法雲禪師 | zhu fa yun | juk1 faat3 | None row 5 : fung foh do yan | 風火道人 | feng huo dao | fung1 fo2 dou6 y | None row 6 : lau siu-leung | 刘少良 | liu shaoliang | lau4 siu2 leung4 | None row 7 : shek lam | 石林 | shi lin | sek6 lam4 | shak8 lam2 row 8 : wanderer style | 流民派 | liumin pai | lau4 man4 paai1 | liu2 min2 pai5 row 9 : lei mung | 李朦 | li meng | lei5 mung4 | li3 mung2 row 10 : lin sang | 蓮生 | lian sheng | lin4 sang1 | len2 sang1 ] Execute this SQL based on the above table: select cantonese yale where cantonese yale in ( 'lei5 mung4' , 'lei5 mung4' ) group by cantonese yale order by count ( * ) desc limit 1
lei5 mung4
[ header: 2011 rank | 2010 rank | 2009 rank | 2008 rank | 2007 rank | company (country) | 2011 arms sales (us$ m.) | 2010 arms sales (us$ m.) | 2009 arms sales (us$ m.) | 2008 arms sales (us$ m.) | 2007 arms sales (us$ m.) | arms sales as share of company's total sales (%), row 1 : 1 | 1 | 1 | 2 | 3 | lockheed martin | 36270 | 35730 | 33430 | 29880 | 29400 | 78 row 2 : 2 | 3 | 3 | 3 | 1 | boeing | 31830 | 31360 | 32300 | 29200 | 30480 | 46 row 3 : 3 | 2 | 2 | 1 | 2 | bae systems | 29150 | 32880 | 33250 | 32420 | 29860 | 95 row 4 : 4 | 5 | 5 | 5 | 5 | general dynamics | 23760 | 23940 | 25590 | 22780 | 21520 | 73 row 5 : 5 | 6 | 6 | 6 | 6 | raytheon | 22470 | 22980 | 21030 | 23080 | 19540 | 90 row 6 : 6 | 4 | 4 | 4 | 4 | northrop grumman | 21390 | 28150 | 27000 | 26090 | 24600 | 81 row 7 : 7 | 7 | 7 | 7 | 7 | airbus group | 16390 | 16360 | 17900 | 15930 | 13100 | 24 row 8 : 8 | 8 | 8 | 8 | 9 | finmeccanica | 14560 | 14410 | 13280 | 13020 | 9850 | 60 row 9 : 9 | 9 | 9 | 9 | 8 | l-3 communications | 12520 | 13070 | 13010 | 12160 | 11240 | 83 row 10 : 10 | 10 | 10 | 11 | 11 | united technologies corporation | 11640 | 11410 | 11110 | 9980 | 8760 | 20 row 11 : 11 | 11 | 11 | 10 | 10 | thales group | 9480 | 9950 | 10200 | 10760 | 9350 | 52 row 12 : 12 | 12 | 12 | 12 | 12 | saic | 7940 | 8230 | 8030 | 7350 | 6250 | 75 row 13 : 13 | None | None | None | None | huntington ingalls industries | 6380 | None | None | None | None | 97 row 14 : 14 | 15 | 14 | 15 | 15 | honeywell | 5280 | 5400 | 5380 | 5310 | 5020 | 14 row 15 : 15 | 16 | 16 | 25 | 14 | safran | 5240 | 4800 | 4740 | 3020 | 5230 | 32 row 16 : 16 | 14 | 13 | 14 | 13 | computer sciences corp | 4860 | 5940 | 6050 | 5710 | 5420 | 31 row 17 : 17 | 17 | 19 | 17 | 17 | rolls-royce | 4670 | 4330 | 4140 | 4720 | 4580 | 26 row 18 : 18 | 21 | None | None | None | united aircraft corporation | 4440 | 3440 | None | None | None | 80 row 19 : 19 | 13 | 27 | 37 | 45 | oshkosh corporation | 4370 | 7080 | 2770 | 2070 | 1570 | 58 row 20 : 20 | 18 | 18 | 22 | 20 | general electric | 4100 | 4300 | 4700 | 3650 | 3460 | 3 row 21 : 21 | 19 | 17 | 16 | 19 | itt corp | 4020 | 4000 | 4730 | 5170 | 3850 | 69 row 22 : 22 | 20 | 22 | 18 | 23 | almaz-antey | 3690 | 3950 | 3260 | 4340 | 2780 | 85 ] Execute this SQL based on the above table: select count ( company (country) )
22
[ header: pos | no | rider | manufacturer | laps | time | grid | points row 1 : 1 | 58 | marco simoncelli | gilera | 25 | 39:02.553 | 1 | 25 row 2 : 2 | 19 | alvaro bautista | aprilia | 25 | 0.223 | 3 | 20 row 3 : 3 | 36 | mika kallio | ktm | 25 | 14.45 | 2 | 16 row 4 : 4 | 60 | julian simon | ktm | 25 | 14.478 | 6 | 13 row 5 : 5 | 6 | alex debon | aprilia | 25 | 26.226 | 8 | 11 row 6 : 6 | 15 | roberto locatelli | gilera | 25 | 26.392 | 11 | 10 row 7 : 7 | 72 | yuki takahashi | honda | 25 | 26.434 | 7 | 9 row 8 : 8 | 41 | aleix espargaro | aprilia | 25 | 40.546 | 9 | 8 row 9 : 9 | 14 | ratthapark wilairot | honda | 25 | +1:00.219 | 12 | 7 row 10 : 10 | 32 | fabrizio lai | gilera | 25 | +1:20.825 | 13 | 6 row 11 : 11 | 17 | karel abraham | aprilia | 25 | +1:22.802 | 17 | 5 row 12 : 12 | 25 | alex baldolini | aprilia | 25 | +1:22.864 | 18 | 4 row 13 : 13 | 10 | imre toth | aprilia | 25 | +1:23.995 | 16 | 3 row 14 : 14 | 52 | lukas pesek | aprilia | 25 | +1:39.740 | 14 | 2 row 15 : 15 | 35 | simone grotzkyj | gilera | 24 | +1 lap | 21 | 1 row 16 : 16 | 92 | daniel arcas | honda | 24 | +1 lap | 20 | None row 17 : 17 | 45 | doni tata pradita | yamaha | 24 | +1 lap | 22 | None row 18 : ret | 4 | hiroshi aoyama | ktm | 15 | retirement | 4 | None row 19 : ret | 75 | mattia pasini | aprilia | 15 | accident | 10 | None row 20 : ret | 55 | hector faubel | aprilia | 4 | accident | 5 | None row 21 : ret | 90 | federico sandi | aprilia | 1 | accident | 15 | None row 22 : ret | 43 | manuel hernandez | aprilia | 1 | retirement | 19 | None row 23 : dnq | 27 | stefano bianco | gilera | None | None | None | None row 24 : dnq | 89 | ho wan chow | aprilia | None | None | None | None ] Execute this SQL based on the above table: select manufacturer where points = ( select points where manufacturer = 'honda' ) - 1
aprilia
[ header: # | title | english translation | original album | length row 1 : 1 | mimpi yang sempurn | a perfect dream | kisah 2002 malam | 4:30 row 2 : 2 | bintang di surga | stars in the heaven | bintang di surga | None row 3 : 3 | aku dan bintang | the stars and me | taman langit | 3:39 row 4 : 4 | jauh mimpiku | distant dreams of mine | ost. alexandria | None row 5 : 5 | hari yang cerah un | a bright day for a lonely soul | hari yang cerah | 3:59 row 6 : 6 | menunggu pagi | waiting for dawn | ost. alexandria | None row 7 : 7 | khayalan tingkat ting | high-level imagination | bintang di surga | None row 8 : 8 | sahabat | best friend | taman langit | 4:33 row 9 : 9 | sally sendiri | sally alone | hari yang cerah | 4:17 row 10 : 10 | langit tak mendengar | the sky didn't listen | ost. alexandria | None row 11 : 11 | di belakangku | behind me | bintang di surga | None row 12 : 12 | kita tertawa | we laugh | taman langit | 3:29 row 13 : 13 | membebaniku | burdening me | ost. alexandria | 4:25 row 14 : 14 | cobalah mengerti | try to understand | hari yang cerah | 3:30 row 15 : 15 | topeng | mask | taman langit | 4:25 ] Execute this SQL based on the above table: select english translation order by # desc limit 1
mask
[ header: tie no | home team | score | away team | attendance row 1 : 1 | blackpool | 2-0 | rochdale | None row 2 : 2 | chesterfield | 1-1 | southend united | None row 3 : replay | southend united | 2 - 0 | chesterfield | None row 4 : 3 | canvey island | 1-0 | northampton town | None row 5 : 4 | macclesfield town | 4-1 | swansea city | None row 6 : 5 | swindon town | 3-2 | hereford united | None row 7 : 6 | tranmere rovers | 6-1 | carlisle united | None row 8 : 7 | wycombe wanderers | 3-0 | notts county | None row 9 : 8 | brighton & hove albion | 2-1 | rushden & diamonds | 5647 row 10 : 9 | plymouth argyle | 1-1 | bristol rovers | None row 11 : replay | bristol rovers | 3 - 2 | plymouth argyle | None row 12 : 10 | hull city | 2-3 | oldham athletic | 9422 row 13 : 11 | altrincham | 1-2 | darlington | None row 14 : 12 | exeter city | 0-0 | dagenham & redbridge | None row 15 : replay | dagenham & redbridge | 3 - 0 | exeter city | None row 16 : 13 | scunthorpe united | 3-2 | brentford | None row 17 : 14 | mansfield town | 4-0 | huddersfield town | 6836 row 18 : 15 | cardiff city | 3-0 | port vale | None row 19 : 16 | halifax town | 1-1 | stoke city | 3335 row 20 : replay | stoke city | 3 - 0 | halifax town | 4356 row 21 : 17 | york city | 2-0 | reading | None row 22 : 18 | peterborough united | 1-0 | bournemouth | None row 23 : 19 | leyton orient | 2-1 | lincoln city | None row 24 : 20 | hinckley united | 0-2 | cheltenham town | None ] Execute this SQL based on the above table: select ( select tie no where score = '2-1' ) - ( select tie no where score = '1-2' )
-3.0
[ header: name | metres | feet row 1 : marmolada | 3343 | 10968 row 2 : antelao | 3264 | 10706 row 3 : tofana di mezzo | 3241 | 10633 row 4 : punta sorapis | 3229 | 10594 row 5 : monte civetta | 3220 | 10564 row 6 : vernel | 3145 | 10319 row 7 : cristallo | 3221 | 10568 row 8 : cima di vezzana | 3192 | 10470 row 9 : cimon della pala | 3184 | 10453 row 10 : langkofel / sas | 3181 | 10427 row 11 : pelmo | 3169 | 10397 row 12 : dreischusterspitze | 3162 | 10375 row 13 : boespitze / piz boe ( | 3152 | 10342 row 14 : croda rossa (h | 3148 | 10329 row 15 : piz popena | 3143 | 10312 row 16 : grohmannspitze (langkofel | 3126 | 10256 row 17 : zwolferkofel | 3094 | 10151 row 18 : elferkofel | 3092 | 10144 row 19 : sass rigais ( | 3025 | 9925 row 20 : kesselkogel (rosengarten | 3004 | 9856 row 21 : tre cime di lavaredo | 2999 | 9839 row 22 : funffingerspitze | 2997 | 9833 row 23 : pala di san martino | 2982 | 9831 row 24 : rosengartenspitze / catinacci | 2981 | 9781 row 25 : marmarole | 2961 | 9715 row 26 : cima di fradusta | 2941 | 9649 row 27 : monte agner | 2872 | 9416 row 28 : fermedaturm | 2867 | 9407 row 29 : cima d'asta | 2848 | 9344 row 30 : cima di canali | 2846 | 9338 row 31 : croda grande | 2839 | 9315 row 32 : vajoletturm / torri | 2821 | 9256 row 33 : sass maor | 2816 | 9239 row 34 : cima di ball | 2783 | 9131 row 35 : cima della madonna ( | 2751 | 9026 row 36 : rosetta | 2741 | 8993 row 37 : croda da lago | 2716 | 8911 row 38 : central grasleitenspitze | 2705 | 8875 row 39 : schlern | 2562 | 8406 row 40 : sasso di mur | 2554 | 8380 row 41 : cima delle dodici | 2338 | 7671 row 42 : monte pavione | 2336 | 7664 row 43 : cima di posta | 2235 | 7333 row 44 : monte pasubio | 2232 | 7323 ] Execute this SQL based on the above table: select name where name = 'cima di canali'
cima di canali
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 9 | kimi raikkonen | mclaren-mercedes | 44 | 1:30:01.295 | 2 | 10 row 2 : 2 | 5 | fernando alonso | renault | 44 | 28.394 | 4 | 8 row 3 : 3 | 3 | jenson button | bar-honda | 44 | 32.077 | 8 | 6 row 4 : 4 | 7 | mark webber | williams-bmw | 44 | +1:09.167 | 9 | 5 row 5 : 5 | 2 | rubens barrichello | ferrari | 44 | +1:18.136 | 12 | 4 row 6 : 6 | 11 | jacques villeneuve | sauber-petronas | 44 | +1:27.435 | 14 | 3 row 7 : 7 | 17 | ralf schumacher | toyota | 44 | +1:27.574 | 5 | 2 row 8 : 8 | 18 | tiago monteiro | jordan-toyota | 43 | +1 lap | 19 | 1 row 9 : 9 | 15 | christian klien | red bull-cosworth | 43 | +1 lap | 16 | None row 10 : 10 | 12 | felipe massa | sauber-petronas | 43 | +1 lap | 7 | None row 11 : 11 | 19 | narain karthikeyan | jordan-toyota | 43 | +1 lap | 20 | None row 12 : 12 | 21 | christijan albers | minardi-cosworth | 42 | +2 laps | 18 | None row 13 : 13 | 20 | robert doornbos | minardi-cosworth | 41 | +3 laps | 17 | None row 14 : 14 | 10 | juan pablo montoya | mclaren-mercedes | 40 | collision | 1 | None row 15 : 15 | 8 | antonio pizzonia | williams-bmw | 39 | collision | 15 | None row 16 : ret | 16 | jarno trulli | toyota | 34 | accident | 3 | None row 17 : ret | 14 | david coulthard | red bull-cosworth | 18 | engine | 11 | None row 18 : ret | 1 | michael schumacher | ferrari | 13 | collision | 6 | None row 19 : ret | 4 | takuma sato | bar-honda | 13 | collision | 10 | None row 20 : ret | 6 | giancarlo fisichella | renault | 10 | accident | 13 | None ] Execute this SQL based on the above table: select constructor where no = 2
ferrari
[ header: model | availability | introduced | length of use | last of whiteness row 1 : crest whitestrips classic previously crest | discontinued | may 2001 | 14 days | 12 months row 2 : crest whitestrips professional | discontinued | 2001 | 10 days | 12 months row 3 : crest whitestrips supreme | dentist and online | september 2003 | 21 days | 18 months row 4 : crest whitestrips premium | discontinued | january 2004 | 7 days | 12 months row 5 : crest whitestrips pro previously crest | discontinued | april 2005 | 10 days | 18 months row 6 : crest whitestrips renewal | discontinued | january 2006 | 10 days | 18 months row 7 : crest whitestrips daily multicare | discontinued | march 2007 | daily | white after using system row 8 : crest whitestrips advanced seal | discontinued | february 2009 | 14 days | 18 months row 9 : crest whitestrips 3d vivid | instore and online | 2009 | 10 days | 12 months row 10 : crest whitestrips 3d advanced vivid | instore and online | march 2010 | 14 days | 12 months row 11 : crest whitestrips 3d professional effects | instore and online | march 2010 | 20 days | 12 months row 12 : crest 3d white 2 hour express | instore and online | 2010 | 2 hours | 3 months row 13 : crest 3d intensive professional effects | instore and online | 2011 | 7 days | 12 months ] Execute this SQL based on the above table: select availability where availability in ( 'crest whitestrips daily multicare' , 'instore and online' ) order by length of use desc limit 1
instore and online
[ header: year | competition | venue | position | notes row 1 : 1991 | world race walking cup | san jose, united states | 12th | 50 km row 2 : 1991 | world championships | tokyo, japan | 13th | 50 km row 3 : 1992 | olympic games | barcelona, spain | 18th | 50 km row 4 : 1993 | world championships | stuttgart, germany | 7th | 50 km row 5 : 1994 | asian games | hiroshima, japan | 3rd | 50 km row 6 : 1995 | world championships | gothenburg, sweden | 20th | 50 km row 7 : 1997 | world championships | athens, greece | 6th | 50 km row 8 : 1998 | asian games | bangkok, thailand | 2nd | 50 km row 9 : 1999 | world championships | seville, spain | 15th | 50 km row 10 : 2000 | olympic games | sydney, australia | 36th | 50 km row 11 : 2001 | world championships | edmonton, canada | 29th | 50 km row 12 : 2003 | world championships | paris, france | dsq | 50 km ] Execute this SQL based on the above table: select count ( venue ) where venue = 'athens, greece'
1
[ header: institution | location | nickname | founded | historical affiliation | enrollment | primary conference row 1 : brown university | providence, rhode island | bears | 1764 | nonsectarian, founded by bapt | 7744 | ivy league row 2 : clarkson university | potsdam, new york | golden knights | 1896 | private/non-sectarian | 3100 | liberty league (d-iii) row 3 : colgate university | hamilton, new york | raiders | 1819 | private/non-sectarian, founded | 2800 | patriot league row 4 : cornell university | ithaca, new york | big red | 1865 | private/non-sectarian | 20400 | ivy league row 5 : dartmouth college | hanover, new hampshire | big green | 1769 | private/congregationalist | 5753 | ivy league row 6 : harvard university | cambridge, massachusetts | crimson | 1636 | private/unitarian | 20042 | ivy league row 7 : princeton university | princeton, new jersey | tigers | 1746 | nonsectarian, but founded by pres | 6677 | ivy league row 8 : quinnipiac university | hamden, connecticut | bobcats | 1929 | private/non-sectarian | 7700 | maac row 9 : rensselaer polytechnic institute | troy, new york | engineers | 1824 | private/non-sectarian | 6376 | liberty league (d-iii) row 10 : st. lawrence university | canton, new york | saints | 1856 | non-denominational, founded by universal | 2100 | liberty league (d-iii) row 11 : union college | schenectady, new york | dutchmen | 1795 | private/non-sectarian | 2100 | liberty league (d-iii) row 12 : yale university | new haven, connecticut | bulldogs | 1701 | private/congregationalist | 11483 | ivy league ] Execute this SQL based on the above table: select count ( * ) where primary conference = 'st. lawrence university' and nickname - primary conference > 495
0
[ header: year | tournament | surface | round | winner | score row 1 : 1991 | basel | hard | s | john mcenroe | 6-1, 6-3 row 2 : 1989 | toulouse | hard | f | jimmy connors | 6-3, 6-3 row 3 : 1987 | montreal / toronto | hard | q | jimmy connors | 6-3, 3-6, 6-3 row 4 : 1986 | san francisco | carpet | f | john mcenroe | 7-6, 6-3 row 5 : 1985 | chicago | carpet | f | john mcenroe | None row 6 : 1984 | montreal / toronto | hard | s | john mcenroe | 2-6, 6-2, 6-3 row 7 : 1984 | wimbledon | grass | f | john mcenroe | 6-1, 6-1, 6-2 row 8 : 1984 | roland garros | clay | s | john mcenroe | 7-5, 6-1, 6-2 row 9 : 1984 | dallas wct | carpet | f | john mcenroe | 6-1, 6-2, 6-3 row 10 : 1983 | cincinnati | hard | s | john mcenroe | 6-7, 6-1, 6-4 row 11 : 1982 | san francisco | carpet | f | john mcenroe | 6-1, 6-3 row 12 : 1982 | wimbledon | grass | f | jimmy connors | 3-6, 6-3, 6-7, 7 row 13 : 1982 | london, queen's club | grass | f | jimmy connors | 7-5, 6-3 row 14 : 1982 | philadelphia | carpet | f | john mcenroe | 6-3, 6-3, 6-1 row 15 : 1981 | new york city | carpet | rr | john mcenroe | 6-2, 7-5 row 16 : 1981 | wembley | carpet | f | jimmy connors | 3-6, 2-6, 6-3, row 17 : 1980 | us open | hard | s | john mcenroe | 6-4, 5-7, 0-6, row 18 : 1980 | wimbledon | grass | s | john mcenroe | 6-3, 3-6, 6-3, row 19 : 1980 | dallas wct | carpet | f | jimmy connors | 2-6, 7-6, 6-1, row 20 : 1980 | memphis | carpet | f | john mcenroe | 7-6, 7-6 row 21 : 1979 | us open | hard | s | john mcenroe | 6-3, 6-3, 7-5 row 22 : 1979 | las vegas | hard | s | jimmy connors | 7-5, 6-4 row 23 : 1979 | pepsi grand slam | clay | s | jimmy connors | 6-3, 6-4 row 24 : 1978 | masters | carpet | rr | john mcenroe | 7-5, 3-0, ret row 25 : 1978 | us open | hard | s | jimmy connors | 6-2, 6-2, 7-5 row 26 : 1977 | boston | clay | r32 | jimmy connors | 5-7, 6-2, 7-5 row 27 : 1977 | wimbledon | grass | s | jimmy connors | 6-3, 6-3, 4-6, ] Execute this SQL based on the above table: select year where score = '3-6, 2-6, 6-3, 6-4, 6-2'
1981
[ header: abbreviation | settlement | district | official name | division | cup | other information row 1 : taaja | taalintehdas | turku | taalintehtaan | vitonen | 2 | None row 2 : tampere united | tampere | tampere | tampere united | veikkausliiga | 3 | None row 3 : tapa 2 | tampere | tampere | tampereen palloil | kutonen | 1 | None row 4 : tarmo | kalvia, kokkola | keski-pohjanma | kalvian tarmo | kutonen | 1 | None row 5 : team vanpa | vantaa | uusimaa | team vanpa | vitonen | 1 | None row 6 : tips | tikkurila, vantaa | uusimaa | tikkurilan palloseura | kolmonen | 2 | None row 7 : tjk liepo | tampere | tampere | tampereen jalkapall | vitonen | 1 | None row 8 : tkt | tampere | tampere | tampereen kisat | kolmonen | 2 | None row 9 : tops-90 | tohmajarvi | ita-suomi | tohmajarven palloseura-90 | nelonen | 2 | None row 10 : torre calcio | turku | turku | torre calcio | kutonen | 1 | None row 11 : tota | tornio | pohjois-suomi | tornion tarmo | kolmonen | 1 | None row 12 : tote/ap | toukola | helsinki | toukolan teras / | vitonen | 2 | None row 13 : tou/2 | toivala, siilinjarvi | ita-suomi | toivalan urheilijat | vitonen | 1 | None row 14 : tove | pori | satakunta | toejoen veikot | kolmonen | 2 | None row 15 : tp-47 | tornio | pohjois-suomi | tornion pallo-47 | kakkonen | 3 | None row 16 : tp-49 | toijala, akaa | tampere | toijalan pallo-49 | nelonen | 2 | also abbreviated as toip row 17 : tp-seinajoki | seinajoki | vaasa | tp-seinajoki ( | nelonen | 1 | None row 18 : tps | turku | turku | turun palloseura | veikkausliiga | 3 | None row 19 : tpv | tampere | tampere | tampereen palloveiko | ykkonen | 3 | None row 20 : tpv 2 | tampere | tampere | tampereen pallo- | kolmonen | 2 | None row 21 : trafk | jarvenpaa | uusimaa | traskanda fotboll k | kutonen | 1 | None ] Execute this SQL based on the above table: select max ( official name )
turun palloseura
[ header: team | seasons | games | wins | ties | losses | goals for | goals against | goal diff | points row 1 : montreal canadiens | 94 | 6,120 | 3,135 | 837 | 2,148 | 19,929 | 16,416 | 3,513 | 7,203 row 2 : boston bruins | 87 | 5,960 | 2,856 | 791 | 2,313 | 19,109 | 17,459 | 1,650 | 6,609 row 3 : philadelphia flyers | 44 | 3,506 | 1,756 | 457 | 1,293 | 11,783 | 10,270 | 1,513 | 4,060 row 4 : buffalo sabres | 41 | 3,280 | 1,569 | 409 | 1,302 | 10,868 | 9,875 | 993 | 3,630 row 5 : los angeles kings | 44 | 3,506 | 1,428 | 424 | 1,654 | 11,306 | 12,016 | -710 | 3,373 row 6 : vancouver canucks | 41 | 3,280 | 1,353 | 391 | 1,536 | 10,378 | 1,1024 | -646 | 3,179 row 7 : washington capitals | 37 | 2,968 | 1,305 | 303 | 1,360 | 9,407 | 9,739 | -332 | 3,004 row 8 : new jersey devils (kansas | 37 | 2,968 | 1,260 | 328 | 1380 | 8,931 | 9,590 | -659 | 2,915 row 9 : colorado avalanche (que | 32 | 2,568 | 1,174 | 261 | 1,133 | 8,564 | 8,417 | 147 | 2,681 row 10 : phoenix coyotes (win | 32 | 2,568 | 1,063 | 266 | 1,239 | 8,058 | 8,809 | -756 | 2,473 row 11 : carolina hurricanes (hartford whaler | 32 | 2,568 | 1,049 | 263 | 1,256 | 7,808 | 8,599 | -791 | 2,447 row 12 : san jose sharks | 20 | 1,608 | 721 | 121 | 766 | 4,553 | 4,744 | -191 | 1,657 row 13 : ottawa senators | 19 | 1,528 | 679 | 115 | 734 | 4,401 | 4,506 | -105 | 1,556 row 14 : anaheim ducks | 18 | 1,444 | 638 | 107 | 699 | 3,863 | 4,021 | -158 | 1,477 row 15 : tampa bay lightning | 19 | 1,528 | 588 | 112 | 828 | 4,058 | 4,842 | -784 | 1,384 row 16 : minnesota wild | 11 | 902 | 405 | 55 | 442 | 2,259 | 2,338 | -79 | 945 row 17 : winnipeg jets (atlant | 12 | 984 | 379 | 45 | 550 | 2,690 | 3,260 | -570 | 891 row 18 : new york americans (1925-1941) | 17 | 784 | 255 | 127 | 402 | 1,643 | 2,182 | -539 | 637 row 19 : montreal maroons | 14 | 622 | 271 | 91 | 260 | 1,474 | 1,405 | 69 | 633 row 20 : quebec bulldogs (1919-1920 | 6 | 150 | 51 | 1 | 98 | 505 | 652 | -147 | 103 row 21 : montreal wanderers | 1 | 6 | 1 | 0 | 5 | 17 | 35 | -18 | 2 ] Execute this SQL based on the above table: select wins where team = 'tampa bay lightning'
588.0
[ header: year | host | champion | second place | third place | fourth place row 1 : 2005 | ninh binh | tianjin bridgestone | chung shan | korea highway corporation | rahat cska row 2 : 2006 | manila | tianjin bridgestone | chung shan | sang som | rahat cska row 3 : 2008 | vinh phuc | tianjin bridgestone | sang som | toray arrows | sobaeksu row 4 : 2009 | nakhon pathom | federbrau | tianjin bridgestone | toray arrows | zhetysu almaty row 5 : 2010 | gresik | federbrau | zhetysu almaty | jt marvelous | tianjin bridgestone row 6 : 2011 | vinh phuc | chang | tianjin bridgestone | zhetysu almaty | thong tin lien viet bank row 7 : 2012 | nakhon ratchasima | tianjin bridgestone | toray arrows | chang | zhetysu almaty ] Execute this SQL based on the above table: select third place order by year asc limit 1
korea highway corporation
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 10 october 2004 | estadio cuscatlan, | el salvador | 2-0 | 2-0 | 2006 fifa world cup qualification row 2 : 2 | 13 october 2004 | rfk stadium, washington, | panama | 3-0 | 6-0 | 2006 fifa world cup qualification row 3 : 3 | 13 october 2004 | rfk stadium, washington, | panama | 4-0 | 6-0 | 2006 fifa world cup qualification row 4 : 4 | 13 october 2004 | rfk stadium, washington, | panama | 5-0 | 6-0 | 2006 fifa world cup qualification row 5 : 5 | 17 november 2004 | columbus crew stadium, columbus, | jamaica | 1-0 | 1-1 | 2006 fifa world cup qualification row 6 : 6 | 9 february 2005 | queen's park oval, port of spain | trinidad and tobago | 1-0 | 2-1 | 2006 fifa world cup qualification row 7 : 7 | 19 march 2005 | university stadium, albuquerque, united | honduras | 1-0 | 1-0 | friendly row 8 : 8 | 30 march 2005 | legion field, birmingham, united | guatemala | 1-0 | 2-0 | 2006 fifa world cup qualification row 9 : 9 | 19 february 2006 | pizza hut park, frisco, united states | guatemala | 3-0 | 4-0 | friendly row 10 : 10 | 9 june 2007 | the home depot center, carson, united states | trinidad and tobago | 2-0 | 2-0 | 2007 concacaf gold cup row 11 : 11 | 28 june 2007 | estadio jose pachencho | argentina | 1-0 | 1-4 | 2007 copa america row 12 : 12 | 15 june 2008 | the home depot center, carson, united states | barbados | 6-0 | 8-0 | 2010 fifa world cup qualification row 13 : 13 | 12 october 2012 | sir vivian richards stadium | antigua and barbuda | 1-0 | 2-1 | 2014 fifa world cup qualification row 14 : 14 | 12 october 2012 | sir vivian richards stadium | antigua and barbuda | 2-1 | 2-1 | 2014 fifa world cup qualification row 15 : 15 | 12 june 2013 | centurylink field, seattle, united states | panama | 2-0 | 2-0 | 2014 fifa world cup qualification row 16 : 16 | 21 july 2013 | m&t bank stadium, balti | el salvador | 3-1 | 5-1 | 2013 concacaf gold cup row 17 : 17 | 24 july 2013 | cowboys stadium, arlington, united | honduras | 1-0 | 3-1 | 2013 concacaf gold cup row 18 : 18 | 14 august 2013 | asim ferhatovic hase stadium, | bosnia and herzegovin | 1-2 | 4-3 | friendly row 19 : 19 | 10 september 2013 | columbus crew stadium, columbus, | mexico | 1-0 | 2-0 | 2014 fifa world cup qualification ] Execute this SQL based on the above table: select abs ( score - date ) where # = 15
10
[ header: | date | opponents | h / a | result | score | attendance row 1 : 1 | 29 august | doncaster knights | h | w | 30 - 14 | 2232 row 2 : 2 | 5 september | london welsh | h | w | 22 - 3 | 2047 row 3 : 3 | 11 september | moseley | a | d | 26 - 26 | 751 row 4 : 4 | 19 september | birmingham & solihull | h | w | 32 - 15 | 1672 row 5 : 5 | 26 september | bristol | a | l | 7 - 21 | 4379 row 6 : 6 | 3 october | plymouth albion | h | w | 46 - 13 | 2439 row 7 : 7 | 9 october | bedford | a | l | 25 - 32 | 3243 row 8 : 8 | 17 october | rotherham titans | h | w | 40 - 15 | 1982 row 9 : 9 | 22 october | worcester warriors | a | w | 23 - 21 | 6928 row 10 : 10 | 31 october | esher | h | w | 54 - 6 | 1767 row 11 : 11 | 7 november | nottingham | a | w | 36 - 10 | 1637 row 12 : 12 | 14 november | london welsh | a | l | 16 - 23 | 1250 row 13 : 13 | 21 november | moseley | h | w | 50 - 7 | 1854 row 14 : None | 28 november | birmingham & solihull | a | None | p - p | None row 15 : 14 | 5 december | bristol | h | w | 16 - 6 | 2253 row 16 : 15 | 15 december | birmingham & solihull | a | w | 61 - 28 | 407 row 17 : None | 26 december | plymouth albion | a | None | p - p | None row 18 : 16 | 2 january | bedford blues | h | w | 23 - 13 | 3051 row 19 : 17 | 8 january | rotherham titans | a | l | 18 - 19 | 1067 row 20 : 18 | 12 january | plymouth albion | a | w | 10 - 6 | 2512 row 21 : 19 | 30 january | worcester warriors | h | l | 30 - 33 | 1976 row 22 : 20 | 5 february | esher | a | l | 12 - 13 | 1338 row 23 : 21 | 13 february | nottingham | h | w | 40 - 0 | 2486 row 24 : 22 | 19 february | doncaster knights | a | w | 16 - 13 | 1091 ] Execute this SQL based on the above table: select h / a where attendance = 2047
h
[ header: year | japanese title | english title | role | network row 1 : 1997 | あくり | agri | None | nhk row 2 : 1998 | ラフアントヒース | love & peace | yohei horiguchi | ntv row 3 : 2001 | ネハーラント | neverland | osamu seto | tbs row 4 : 2002 | hito ni yasashi | be nice to people | yusuke | fuji tv row 5 : 2002 | engimono (演技者) | acting by | hachida | fuji tv row 6 : 2004 | kino wa tomo kyo | None | None | None row 7 : 2005 | dekabeya (六本木おかしな捜査班) | funny roppongi squad | yukio ochi | tv asahi row 8 : 2005 | asuka e, soshite | to asuka and to the unseen | sawamura kazuya | fuji tv row 9 : 2005 | nemureru mori no s | sleeping corpse | eiji/yamazaki | fuji tv row 10 : 2006 | アキハハラ@deep | akihabara@deep | box | tbs row 11 : 2007 | hana yori dango returns | boys over flowers 2 | junpei oribe | tbs row 12 : 2007 | hanazakari no kimitachi | ikemen paradise | shuichi nakatsu | fuji tv row 13 : 2008 | hachimitsu to clover (ハチミツとクローハー) | honey & clover | yuta takemoto | fuji tv row 14 : 2008 | hanazakari no kimitachi | ikemen paradise | shuichi nakatsu | fuji tv row 15 : 2008 | mao | devil | naoto serizawa | tbs row 16 : 2009 | inochi naki mono no k | voice | ryosuke ishimatsu | fuji tv row 17 : 2009 | majo saiban (魔女裁判) | the witch trial | toru yoshioka | fuji tv row 18 : 2009 | yonimo \"kim\ | the law of recycling suicides | r 8427 | None row 19 : 2010 | unobore deka (うぬほれ刑事) | conceited detective | sadame honjo | tbs row 20 : 2010 | kyuukei no kou | spherical wilderness | shoichi soeda | fuji tv row 21 : 2012 | osozaki no himawari | late blooming sunflower -my life renewed- | jotaro kodaira | fuji tv row 22 : 2014 | gunshi kanbei | None | dom justo takayama | nhk ] Execute this SQL based on the above table: select ( select year order by year desc limit 1 ) - ( select year order by year limit 1 )
17
[ header: team | home city | stadium | capacity | last season row 1 : barak netanya | netanya | yeshurun | 1000 | 9th row 2 : bnei hasharon/her | herzliya | hayovel herzliya | 1750 | 10th row 3 : hapoel gilbo | gilboa regional council | gan ner sports hall | 2400 | 2nd row 4 : hapoel holon | holon | holon city arena | 2850 | 5th row 5 : hapoel jerusalem | jerusalem | malha arena | 3000 | 4th row 6 : ironi ashkelon | ashkelon | ashkelon sports arena | 3000 | 6th row 7 : maccabi ashdod | ashdod | hakiriya arena | 1260 | 7th row 8 : hapoel eilat | eilat | begin arena | 1100 | 8th (as habik'a row 9 : maccabi haifa | haifa | romema arena | 5000 | 11th row 10 : maccabi rishon lezion | rishon lezion | beit maccabi rishon | 2500 | 3rd row 11 : maccabi tel aviv | tel aviv | nokia arena | 11700 | 1st row 12 : hapoel tel aviv | tel aviv | beit maccabi rishon | 2500 | 1st (liga leumit) ] Execute this SQL based on the above table: select count ( stadium ) where capacity < 2850
7
[ header: year | competition | venue | position | event | notes row 1 : 1979 | grandma's marathon | duluth, united states | 1st | marathon | 2:37:37 row 2 : 1980 | grandma's marathon | duluth, united states | 1st | marathon | 2:38:35 row 3 : 1981 | grandma's marathon | duluth, united states | 1st | marathon | 2:29:35 row 4 : 1984 | boston marathon | boston, united states | 1st | marathon | 2:29:28 row 5 : 1984 | olympic games | los angeles, united states | 5th | marathon | 2:28:54 row 6 : 1986 | osaka ladies marathon | osaka, japan | 1st | marathon | 2:30:24 row 7 : 1986 | commonwealth games | edinburgh, scotl | 2nd | marathon | 2:28:17 row 8 : 1987 | osaka ladies marathon | osaka, japan | 1st | marathon | 2:30:40 row 9 : 1987 | world championships | rome, italy | 21st | 10,000 m | 34:07.26 row 10 : 1988 | olympic games | seoul, south korea | 33rd | marathon | 2:37:52 row 11 : 1989 | osaka ladies marathon | osaka, japan | 1st | marathon | 2:30:21 row 12 : 1989 | hokkaido marathon | sapporo, japan | 1st | marathon | 2:36:39 row 13 : 1991 | hokkaido marathon | sapporo, japan | 1st | marathon | 2:33:20 row 14 : 1992 | olympic games | barcelona, spain | 3rd | marathon | 2:33:59 row 15 : 1996 | olympic games | atlanta, united states | 46th | marathon | 2:42:21 ] Execute this SQL based on the above table: select notes where position = '3rd'
2:33:59
[ header: tie | home team | score | away team | attendance row 1 : 1 | aylesbury united | 2-2 | windsor & eton | 847 row 2 : 2 | burscough | 5-0 | wakefield & emley | 437 row 3 : 3 | dover athletic | 0-3 | forest green roves | 932 row 4 : 4 | farnborough town | 2-0 | halifax town | 863 row 5 : 5 | gloucester city | 1-1 | southport | 1,237 row 6 : 6 | havant & waterlooville | 3-0 | hayes | 456 row 7 : 7 | margate | 0-2 | tamworth | 971 row 8 : 8 | yeovil town | 2-1 | northwich victoria | 4,469 ] Execute this SQL based on the above table: select home team group by home team order by count ( home team ) desc limit 1
yeovil town
[ header: station | type | latitude | longitude | el. (m) | opened | closed | coordinates row 1 : calama, chile | solar | 22o28's | 68o56'w | 2250 | 1918 | 1920 | 22°28′s 68°56′ row 2 : mount montezuma, chile | solar | 22o40's | 68o56'w | 2711 | 1920 | None | 22°40′s 68°56′ row 3 : mount harquahala, arizon | solar | 33o48'n | 113o20'w | 1721 | 1920 | 1925 | 33°48′n 113°20′ row 4 : table mountain, california | solar | 34o22'n | 117o41'w | 2286 | 1925 | 1962 | 34°22′n 117°41′ row 5 : mount brukkaros, namibi | solar | 25o52's | 17o48'e | 1586 | 1926 | 1931 | 25°52′s 17°48′e row 6 : mount saint catherine, egy | solar | 28o31'n | 33o56'e | 2591 | 1934 | 1937 | 28°31′n 33°56′e row 7 : burro mountain, new mexico | solar | 32o40'n | 108o33'w | 2440 | 1938 | 1946 | 32°40′n 108°33′ row 8 : organ pass, new mexico | space track | 32o25'n | 253o27'e | None | None | None | 32°25′n 106°33′ row 9 : olifantsfontein, south africa | space track | 25o58's | 28o15'e | None | None | None | 25°58′s 28°15′e row 10 : woomera, australia | space track | 31o06's | 136o46'e | None | None | None | 31°06′s 136°46′ row 11 : curacao, netherlands west in | space track | 12o05'n | 291o10'e | None | None | None | 12°05′n 68°50′ row 12 : jupiter, florida | space track | 27o01'n | 279o53'e | None | None | None | 27°01′n 80°07′w row 13 : villa dolores, argentina | space track | 31o57'n | 294o54'e | None | None | None | 31°57′n 65°06′e row 14 : mitaka, japan | space track | None | None | None | None | None | None row 15 : nani tal, india | space track | None | None | None | None | None | None ] Execute this SQL based on the above table: select opened where type = 'solar'
1918, 1920, 1920, 1925, 1926, 1934, 1938
[ header: place (posicion) | team (equipo) | played (pj) | won (pg) | draw (pe) | lost (pp) | goals scored (gf) | goals conceded (gc) | +/- (dif.) | points (pts.) row 1 : 1 | tauro f.c | 13 | 7 | 2 | 4 | 21 | 18 | +3 | 23 row 2 : 2 | san francisco f.c | 13 | 5 | 6 | 2 | 19 | 15 | +4 | 21 row 3 : 3 | chepo f.c | 13 | 5 | 5 | 3 | 19 | 12 | +7 | 20 row 4 : 4 | sporting san miguelito | 13 | 6 | 2 | 5 | 18 | 16 | +2 | 20 row 5 : 5 | arabe unido | 13 | 6 | 2 | 5 | 15 | 14 | +1 | 20 row 6 : 6 | plaza amador | 13 | 4 | 7 | 2 | 13 | 9 | +4 | 19 row 7 : 7 | chorrillo f.c | 13 | 3 | 7 | 3 | 14 | 13 | +1 | 16 row 8 : 8 | atletico chiriqui | 13 | 4 | 3 | 6 | 14 | 22 | -8 | 15 row 9 : 9 | atletico veraguense | 13 | 2 | 5 | 6 | 15 | 28 | -13 | 11 row 10 : 10 | alianza | 13 | 3 | 1 | 9 | 25 | 27 | -2 | 10 ] Execute this SQL based on the above table: select team (equipo) where id = ( select id where team (equipo) = 'san francisco f.c' ) + 1
chepo f.c
[ header: rank | airport | passengers handled | % change 2011 / 12 row 1 : 1 | netherlands - amsterdam | 105349 | None row 2 : 2 | united kingdom - belfast-international | 92502 | None row 3 : 3 | portugal - faro | 71676 | None row 4 : 4 | spain - barcelona | 66565 | None row 5 : 5 | spain - alicante | 64090 | None row 6 : 6 | spain - malaga | 59175 | None row 7 : 7 | ireland - dublin | 35524 | None row 8 : 8 | jersey - jersey | 35169 | 1128 row 9 : 9 | ireland - waterford | 31907 | 25 row 10 : 10 | spain - palma de mallorca | 27718 | None ] Execute this SQL based on the above table: select rank + % change 2011 / 12 where rank = 8
1136.0
[ header: series | start date | end date | episodes row 1 : 1 | 29 october 1986 | 31 december 1986 | 10 row 2 : 2 | 15 april 1987 | 24 june 1987 | 10 row 3 : 3 | 17 september 1987 | 28 january 1988 | 20 row 4 : 4 | 4 october 1988 | 14 february 1989 | 20 row 5 : 5 | 25 december 1989 | 4 june 1990 | 21 row 6 : 6 | 25 september 1990 | 12 february 1991 | 21 row 7 : 7 | 23 september 1991 | 26 december 1991 | 13 row 8 : 8 | 21 september 1992 | 28 december 1992 | 12 row 9 : 9 | 27 september 1993 | 27 december 1993 | 14 row 10 : 10 | 13 september 1994 | 29 december 1994 | 14 row 11 : 11 | 12 december 1996 | 3 april 1997 | 16 row 12 : 12 | 8 september 1997 | 29 december 1997 | 16 row 13 : 13 | 17 september 1998 | 31 december 1998 | 16 row 14 : 14 | 7 june 1999 | 23 august 1999 | 12 ] Execute this SQL based on the above table: select start date where start date in ( '7 june 1999' , '29 october 1986' ) order by series desc limit 1
7 june 1999
[ header: location | mile | destinations | notes row 1 : woodmont | 0 | i-68 / us 40 (national | western terminus; i-68 exit row 2 : woodmont | 0.12 | us 40 scenic west (national pike) | us 40 scenic is county-maintained but signed row 3 : woodmont | 0.25 | woodmont road south | former md 453 row 4 : hancock | 3.52 | us 522 south - berkeley | ramp is unsigned us 522b row 5 : hancock | 3.67 | limestone road north | unsigned md 894; old alignment row 6 : hancock | 3.75 | virginia avenue to us 522 north | unsigned us 522c row 7 : hancock | 5.91 | i-70 / us 40 east ( | eastern terminus; i-70 exit 3 ] Execute this SQL based on the above table: select location where mile = mile
woodmont, woodmont, woodmont, hancock, hancock, hancock, hancock
[ header: medal | name | sport | event | date row 1 : gold | brahim asloum | boxing | light flyweight | september 30 row 2 : gold | tony estanguet | canoeing | men's slalom | september 18 row 3 : gold | florian rousseau | cycling | men's keirin | september 21 row 4 : gold | florian rousseau, laurent | cycling | men's team sprint | september 17 row 5 : gold | felicia ballanger | cycling | women's track time trial | september 16 row 6 : gold | felicia ballanger | cycling | women's sprint | september 17 row 7 : gold | miguel martinez | cycling | men's cross-country | september 24 row 8 : gold | jean-noel ferrari, | fencing | men's team foil | september 22 row 9 : gold | david douillet | judo | men's +100 kg | september 22 row 10 : gold | michel andrieux, jean- | rowing | men's coxless pair | september 23 row 11 : silver | france national basketball team jim bil | basketball | men's competition | october 1 row 12 : silver | brigitte guibal | canoeing | women's slalom | september 18 row 13 : silver | florian rousseau | cycling | men's sprint | september 20 row 14 : silver | marion clignet | cycling | women's individual pursuit | september 18 row 15 : silver | hugues obry | fencing | men's epee | september 16 row 16 : silver | jean-francois di martin | fencing | men's team epee | september 18 row 17 : silver | mathieu gourdain | fencing | men's sabre | september 21 row 18 : silver | mathieu gourdain, | fencing | men's team sabre | september 24 row 19 : silver | eric poujade | gymnastics | men's pommel horse | september 24 row 20 : silver | larbi benboudaou | judo | men's 66 kg | september 16 row 21 : silver | celine lebrun | judo | women's 78 kg | september 21 row 22 : silver | delphine racinet | shooting | women's trap | september 18 row 23 : silver | roxana maracineanu | swimming | women's 200 m backstroke | september 22 row 24 : bronze | jerome thomas | boxing | flyweight | october 1 row 25 : bronze | anne-lise bardet | canoeing | women's slalom | september 18 row 26 : bronze | jeannie longo | cycling | women's road time trial | september 30 row 27 : bronze | laura flessel-colovic | fencing | women's epee | september 17 row 28 : bronze | stephane traineau | judo | men's 100 kg | september 21 row 29 : bronze | thibaud chapelle, pascal tour | rowing | men's lightweight double sculls | september 24 ] Execute this SQL based on the above table: select date where id = ( select id where date = 'september 18' ) - 1
september 30
[ header: year | species | height | location grown | state | notes row 1 : 2006 | pacific silver fir | 65 feet (20 m) | olympic national forest | washington | the tree was lit by dennis hastert row 2 : 2005 | engelmann spruce | 65 feet (20 m) | santa fe national forest | new mexico | the tree was lit by dennis hastert row 3 : 2004 | red spruce | 65 feet (20 m) | george washington and jefferson national | virginia | the tree was lit by dennis hastert row 4 : 2001 | white spruce | 72 feet (22 m) | ottawa national forest | michigan | known as "the tree of hope," the tree row 5 : 1995 | douglas fir | 60 feet (18 m) | plumas national forest | california | None row 6 : 1987 | norway spruce | 60 feet (18 m) | wayne national forest | ohio | None row 7 : 1983 | white spruce | 52 feet (16 m) | chequamegon national forest | wisconsin | None row 8 : 1982 | balsam fir | 50 feet (15 m) | riley bostwich wildlife management | vermont | None row 9 : 1980 | white spruce | 48 feet (15 m) | green mountain national forest | vermont | None row 10 : 1975 | balsam fir | 41 feet (12 m) | ottawa national forest | michigan | None row 11 : 1972 | balsam fir | 50 feet (15 m) | tennessee national forest | pennsylvania | None row 12 : 1968 | white pine | 30 feet (9.1 m) | finksburg, maryland | maryland | made from two different trees ] Execute this SQL based on the above table: select ( select year where location grown = 'plumas national forest' ) - ( select year where location grown = 'plumas national forest' )
0
[ header: year | track | number | team | car | round result row 1 : 1996 | pukekohe park raceway | 1 | holden racing team | holden vr commodore | 1st row 2 : 2001 | pukekohe park raceway | 51 | k-mart racing team | holden vx commodore | 1st row 3 : 2002 | pukekohe park raceway | 51 | k-mart racing team | holden vx commodore | 1st row 4 : 2003 | pukekohe park raceway | 51 | k-mart racing team | holden vy commodore | 1st row 5 : 2004 | pukekohe park raceway | 51 | k-mart racing team | holden vy commodore | 3rd row 6 : 2005 | pukekohe park raceway | 51 | paul weel racing | holden vz commodore | 1st row 7 : 2006 | pukekohe park raceway | 51 | paul weel racing | holden vz commodore | 15th row 8 : 2007 | pukekohe park raceway | 51 | tasman motorsport | holden ve commodore | 11th row 9 : 2008 | hamilton street circuit | 51 | tasman motorsport | holden ve commodore | 25th row 10 : 2009 | hamilton street circuit | 51 | tasman motorsport | holden ve commodore | 22nd row 11 : 2010 | hamilton street circuit | 51 | paul morris motorsport | holden ve commodore | 14th row 12 : 2011 | hamilton street circuit | 11 | pepsi max crew | holden ve commodore | 24th row 13 : 2012 | hamilton street circuit | 51 | pepsi max crew | holden ve commodore | 24th ] Execute this SQL based on the above table: select count ( number ) where car <= 221
0
[ header: week | date | opponent | time | game site | tv | result/score | record | bye row 1 : 1 | september 6, 2007 | indianapolis colts | 8:30 pm edt | rca dome | nbc | l 41 - 10 | 0-1 | row 2 : 2 | september 16, 2007 | tampa bay buccaneers | 1:00 pm edt | raymond james stadium | fox | l 31 - 14 | 0-2 | row 3 : 3 | september 24, 2007 | tennessee titans | 8:30 pm edt | louisiana superdome | espn | l 31 - 14 | 0-3 | row 4 : 4 | None | None | None | None | None | None | None | row 5 : 5 | october 7, 2007 | carolina panthers | 1:00 pm edt | louisiana superdome | fox | l 16 - 13 | 0-4 | row 6 : 6 | october 14, 2007 | seattle seahawks | 8:15 pm edt | qwest field | nbc | w 28 - 17 | 1-4 | row 7 : 7 | october 21, 2007 | atlanta falcons | 1:00 pm edt | louisiana superdome | fox | w 22 - 16 | 2-4 | row 8 : 8 | october 28, 2007 | san francisco 49ers | 4:15 pm edt | monster park | fox | w 31 - 10 | 3-4 | row 9 : 9 | november 4, 2007 | jacksonville jaguars | 1:00 pm est | louisiana superdome | cbs | w 41 - 24 | 4-4 | row 10 : 10 | november 11, 2007 | st. louis rams | 1:00 pm est | louisiana superdome | fox | l 37 - 29 | 4-5 | row 11 : 11 | november 18, 2007 | houston texans | 1:00 pm est | reliant stadium | fox | l 23 - 10 | 4-6 | row 12 : 12 | november 25, 2007 | carolina panthers | 1:00 pm est | bank of america stadium | fox | w 31 - 6 | 5-6 | row 13 : 13 | december 2, 2007 | tampa bay buccaneers | 1:00 pm est | louisiana superdome | fox | l 27 - 23 | 5-7 | row 14 : 14 | december 10, 2007 | atlanta falcons | 8:30 pm est | georgia dome | espn | w 34 - 14 | 6-7 | row 15 : 15 | december 16, 2007 | arizona cardinals | 1:00 pm est | louisiana superdome | fox | w 31-24 | 7-7 | row 16 : 16 | december 23, 2007 | philadelphia eagles | 1:00 pm est | louisiana superdome | fox | l 38-23 | 7-8 | row 17 : 17 | december 30, 2007 | chicago bears | 1:00 pm est | soldier field | fox | l 33-25 | 7-9 | ] Execute this SQL based on the above table: select bye where game site is null
@NULL@
[ header: | year | name | city | country | guests of honor | size row 1 : 1st | 1939 | nycon i | new york, new york | united states | frank r. paul | 200 row 2 : 3rd | 1941 | denvention i | denver, colorado | united states | robert a. hein | 90 row 3 : 7th | 1949 | cinvention | cincinnati, ohio | united states | lloyd a. e | 190 row 4 : 9th | 1951 | nolacon i | new orleans, louisiana | united states | fritz leiber | 190 row 5 : 18th | 1960 | pittcon | pittsburgh, pennsyl | united states | james blish | 568 row 6 : 21st | 1963 | discon i | washington, d.c | united states | murray leinster | 600 row 7 : 32nd | 1974 | discon ii | washington, d.c | united states | roger zelazny ( | 3587 row 8 : 35th | 1977 | suncon | miami beach, florida | united states | jack williamson (pro) | 3,240 (4,200) row 9 : 42nd | 1984 | l.a.con ii | anaheim, california | united states | gordon r. dickson | 8365 row 10 : 46th | 1988 | nolacon ii | new orleans, louisiana | united states | donald a. wollheim ( | 5300 row 11 : 50th | 1992 | magicon | orlando, florida | united states | jack vance (pro) vincent | 5,319 (6,368) row 12 : 51st | 1993 | confrancisco | san francisco, califor | united states | larry niven alicia | 6602 row 13 : 64th | 2006 | l.a.con iv | anaheim, california | united states | connie willis (author) james | 5,738 (6,291) row 14 : 66th | 2008 | denvention 3 | denver, colorado | united states | lois mcmaster bujold ( | 3752 ] Execute this SQL based on the above table: select count ( name ) where year is null
0
[ header: place | player | country | score | to par | money ($) row 1 : t1 | bobby jones (a) | united states | 69-75-71-79=2 | 6 | playoff row 2 : t1 | al espinosa | united states | 70-72-77-75=294 | 6 | playoff row 3 : t3 | gene sarazen | united states | 71-71-76-78=2 | 8 | 700 row 4 : t3 | denny shute | united states | 73-71-76-76=2 | 8 | 700 row 5 : t5 | tommy armour | scotland united states | 74-71-76-76=2 | 9 | 550 row 6 : t5 | george von elm (a | united states | 79-70-74-74=2 | 9 | 0 row 7 : 7 | henry ciuci | united states | 78-74-72-75=2 | 11 | 450 row 8 : t8 | leo diegel | united states | 74-74-76-77=301 | 13 | 300 row 9 : t8 | peter o'hara | united states | 74-76-73-78=301 | 13 | 300 row 10 : 10 | horton smith | united states | 76-77-74-75=30 | 14 | 150 ] Execute this SQL based on the above table: select count ( country ) where country = 'united states'
9
[ header: pump type and source | typical use | 35 °c (e.g. heated screed floor) | 45 °c (e.g. heated screed floor) | 55 °c (e.g. heated timber floor) | 65 °c (e.g. radiator or dhw) | 75 °c (e.g. radiator and dhw) | 85 °c (e.g. radiator and dhw) row 1 : high-efficiency air source heat pump (ashp | None | 2.2 | 2 | None | None | None | None row 2 : two-stage ashp, air at | low source temperature | 2.4 | 2.2 | 1.9 | None | None | None row 3 : high efficiency ashp, air at 0 | low output temperature | 3.8 | 2.8 | 2.2 | 2 | None | None row 4 : prototype transcritical co 2 (r744) heat | high output temperature | 3.3 | None | None | 4.2 | None | 3 row 5 : ground source heat pump (gshp), | None | 5 | 3.7 | 2.9 | 2.4 | None | None row 6 : gshp, ground at 10 | low output temperature | 7.2 | 5 | 3.7 | 2.9 | 2.4 | None row 7 : theoretical carnot cycle limit, source -20 | None | 5.6 | 4.9 | 4.4 | 4 | 3.7 | 3.4 row 8 : theoretical carnot cycle limit, source 0 | None | 8.8 | 7.1 | 6 | 5.2 | 4.6 | 4.2 row 9 : theoretical lorentzen cycle limit (co 2 | None | 10.1 | 8.8 | 7.9 | 7.1 | 6.5 | 6.1 row 10 : theoretical carnot cycle limit, source 10 ° | None | 12.3 | 9.1 | 7.3 | 6.1 | 5.4 | 4.8 ] Execute this SQL based on the above table: select pump type and source order by 65 °c (e.g. radiator or dhw) asc limit 1
high-efficiency air source heat pump (ashp), air at -20 °c
[ header: year | title | peak chart positions ger | label | artist row 1 : 1981 | savoir faire | None | capitol | mink deville row 2 : 1993 | spanish stroll 1977-1987 | None | disky, raven | mink deville row 3 : 1995 | les inoubliables de willy deville | None | wagram | willy deville row 4 : 1996 | love & emotion: the atlantic years | 54 | atlantic | mink deville row 5 : 1996 | mink/willy deville greatest hits | None | emi | mink deville row 6 : 1996 | spanish stroll | None | disky | mink deville row 7 : 1996 | best of willy deville | None | arcade | willy deville row 8 : 1997 | his greatest hits | None | arcade | mink deville row 9 : 1997 | premium gold collection | None | emi | mink deville row 10 : 1997 | the best of mink deville | None | emi | mink deville row 11 : 1999 | collection legende | None | wagram | willy deville row 12 : 2001 | cadillac walk: the mink de | None | capitol | mink deville row 13 : 2003 | greatest hits | None | emi | mink deville row 14 : 2005 | mink deville | None | disky | mink deville row 15 : 2009 | introducing willy deville | None | edel | willy deville ] Execute this SQL based on the above table: select abs ( label - artist ) where year = 1995
0
[ header: category | speed (km/h) | speed (mph) | vehicle | pilot | date row 1 : rocket-powered aircraft | 7258 | 4510 | north american x-15 | william j. knight | 3 oct 1967 row 2 : manned air-breathing craft | 3530 | 2194 | lockheed sr-71 blackbird | eldon w. joersz | 28 jul 1976 row 3 : propeller-driven aircraft | 870 | 541 | tupolev tu-114 | ivan soukhomline | 1960 row 4 : piston-engined propeller-driven aircraft | 850.1 | 528.33 | grumman f8f bearcat rare | lyle shelton | 21 aug 1989 row 5 : helicopter | 401 | 249.1 | westland lynx 800 g | john egginton | 11 aug 1986 row 6 : glider (sailplane) | 306.8 | 190.6 | schempp-hirth nim | klaus ohlmann and | 22 dec 2006 row 7 : human-powered aircraft | 32 | 19.8 | mit monarch b | frank scarabino | 1 may 1984 ] Execute this SQL based on the above table: select pilot where pilot in ( 'eldon w. joersz' , 'john egginton' ) order by speed (km/h) desc limit 1
eldon w. joersz
[ header: rank | team | athletes | run 1 | run 2 | run 3 | run 4 | final row 1 : silver | italy (ita) italy | eugenio monti, | 1:17.69 | 1:17.97 | 1:18.13 | 1:18.31 | 5:12.10 row 2 : bronze | united states (usa) usa i | arthur tyler, william | 1:17.75 | 1:17.87 | 1:18.25 | 1:18.52 | 5:12.39 row 3 : 4 | switzerland (sui) | max angst, aby gar | 1:17.41 | 1:17.85 | 1:18.68 | 1:20.33 | 5:14.27 row 4 : 7 | austria (aut) austria i | kurt loserth, wil | 1:19.37 | 1:19.12 | 1:20.08 | 1:19.72 | 5:18.29 row 5 : 8 | germany (ger) germany ii | franz schelle, jako | 1:19.03 | 1:18.84 | 1:19.31 | 1:21.35 | 5:18.50 row 6 : 9 | spain (esp) spain | alfonso de portago, | 1:18.87 | 1:19.27 | 1:21.37 | 1:19.08 | 5:19.49 row 7 : 11 | norway (nor) norway i | arne røgden, ar | 1:20.96 | 1:20.08 | 1:20.45 | 1:20.01 | 5:21.50 row 8 : 13 | sweden (swe) s | kjell holmstrom, | 1:20.58 | 1:20.32 | 1:21.15 | 1:21.13 | 5:23.18 row 9 : 16 | sweden (swe) s | olle axelsson, | 1:18.95 | 1:19.98 | 1:22.75 | 1:21.86 | 5:23.54 row 10 : 18 | france (fra) france | andre robin, pierre bouvier | 1:20.00 | 1:21.25 | 1:20.95 | 1:21.63 | 5:23.83 row 11 : 21 | poland (pol) poland | aleksy konieczny | None | None | None | None | 5:28.40 ] Execute this SQL based on the above table: select count ( athletes ) where athletes = 'kurt loserth, wilfried thurner, karl schwarzbock, & franz dominik'
1
[ header: no. | title | directed by | written by | original air date row 1 : 1 | "reunion" | bryan spicer | patrick massett & john | january 27, 2003 row 2 : 2 | "antarctica" | perry lang | patrick massett & john | february 3, 2003 row 3 : 3 | "skulls" | adam nimoy | patrick massett & john | february 10, 2003 row 4 : 4 | "heist" | rick kolbe | rick kellard | march 10, 2003 row 5 : 5 | "the wheel of dharma" | r. w. goodwin | stephanie bloch-chambers | None row 6 : 6 | "sangraal" | perry lang | gabrielle stanton & harry | None row 7 : 7 | "mummy virus" | vern gillum | rick kellard & thani | None row 8 : 8 | "name of god" | michael nankin | brad falchuk | None row 9 : 9 | "devil's child" | tom wright | thania st. john | None row 10 : 10 | "avalon" | dwight little | i. c. rapoport | None row 11 : 11 | "the lost codex" | tom wright | gabrielle stanton & harry | None row 12 : 12 | "eternal" | fred gerber | thania st. john | None row 13 : 13 | "helmholtz resonance" | larry shaw | patrick massett & john | None ] Execute this SQL based on the above table: select title where directed by < ( select directed by where directed by = 'tom wright' ) order by directed by desc limit 1
"heist"
[ header: category | speed (km/h) | speed (mph) | vehicle | pilot | date row 1 : rocket-powered aircraft | 7258 | 4510 | north american x-15 | william j. knight | 3 oct 1967 row 2 : manned air-breathing craft | 3530 | 2194 | lockheed sr-71 blackbird | eldon w. joersz | 28 jul 1976 row 3 : propeller-driven aircraft | 870 | 541 | tupolev tu-114 | ivan soukhomline | 1960 row 4 : piston-engined propeller-driven aircraft | 850.1 | 528.33 | grumman f8f bearcat rare | lyle shelton | 21 aug 1989 row 5 : helicopter | 401 | 249.1 | westland lynx 800 g | john egginton | 11 aug 1986 row 6 : glider (sailplane) | 306.8 | 190.6 | schempp-hirth nim | klaus ohlmann and | 22 dec 2006 row 7 : human-powered aircraft | 32 | 19.8 | mit monarch b | frank scarabino | 1 may 1984 ] Execute this SQL based on the above table: select speed (km/h) where vehicle = 'grumman f8f bearcat rare bear (n777l)'
850.1
[ header: outcome | no. | date | tournament | surface | partner | opponents in the final | score in the final row 1 : runner-up | 1 | 1972 | stockholm, sweden | hard (i) | roy emerson | tom okker marty ries | 5-7, 6-7 row 2 : runner-up | 2 | 1973 | miami wct, us | hard | terry addison | roy emerson rod laver | 4-6, 4-6 row 3 : runner-up | 3 | 1973 | richmond wct, us | carpet | terry addison | roy emerson rod laver | 6-3, 3-6, 4-6 row 4 : runner-up | 4 | 1973 | st. louis, us | carpet | terry addison | ove nils bengtson | 2-6, 5-7 row 5 : runner-up | 5 | 1973 | columbus, us | hard | charles pasarell | gerald battrick graham | 4-6, 6-7 row 6 : winner | 1 | 1973 | merion, us | grass | allan stone | john austin fred m | 7-6, 6-3 row 7 : winner | 2 | 1973 | hong kong | hard | rod laver | paul gerken brian gott | 6-3, 5-7, 17-15 row 8 : winner | 3 | 1974 | houston, us | clay | rod laver | arthur ashe roscoe t | 4-6, 7-6, 6-4 row 9 : runner-up | 7 | 1975 | orlando wct, us | hard | ray ruffels | brian gottfried raul | 4-6, 4-6 row 10 : winner | 6 | 1976 | palm springs, us | hard | sandy mayer | raymond moore erik van | 6-4, 6-7, 7-6 row 11 : winner | 7 | 1976 | palma, spain | clay | john andrews | mark edmondson john marks | 2-6, 6-3, 6-2 row 12 : runner-up | 8 | 1976 | madrid, spain | clay | john andrews | carlos kirmayr eduard | 6-7, 6-4, 6-8 row 13 : winner | 9 | 1977 | little rock, us | carpet | haroon rahim | bob hewitt frew | 6-7, 6-3, 6-3 row 14 : winner | 10 | 1977 | denver, us | carpet | geoff masters | syd ball kim warwick | 6-2, 6-3 row 15 : winner | 11 | 1977 | south orange, us | hard | wojtek fibak | ion tiriac guiller | 6-1, 7-5 row 16 : runner-up | 10 | 1978 | johannesburg, south africa | hard | geoff masters | bob hewitt frew | 5-7, 6-7 row 17 : runner-up | 11 | 1978 | newport, us | grass | bob giltinan | tim gullikson tom gul | 4-6, 4-6 row 18 : winner | 13 | 1978 | columbus, us | clay | bob giltinan | marcello lara elio | 6-2, 6-3 row 19 : runner-up | 13 | 1979 | tulsa, us | hard (i) | tom gullikson | francisco gonzalez e | 7-6, 5-7, 3-6 row 20 : runner-up | 14 | 1979 | stowe, us | hard | anand amritraj | mike cahill steve k | 6-3, 3-6, 4-6 ] Execute this SQL based on the above table: select count ( * ) where outcome = 'madrid, spain'
0
[ 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 compressor where power = '151 kw (202 hp) @ 6000 rpm' order by stock boost asc limit 1
60 trim 56mm bci-1
[ header: year | best | location | date | world rank row 1 : 2012 | 27:02.59 | birmingham | 22 june | 3rd row 2 : 2011 | 26:43.16 | brussels | 16 september | 1st row 3 : 2009 | 26:46.31 | berlin | 17 august | 1st row 4 : 2008 | 26:25.97 | eugene, oregon | 8 june | 1st row 5 : 2007 | 26:46.19 | brussels | 14 september | 1st row 6 : 2005 | 26:17.53 | brussels | 26 august | 1st row 7 : 2004 | 26:20.31 | ostrava | 8 june | 1st row 8 : 2003 | 26:49.57 | paris | 25 august | 4th ] Execute this SQL based on the above table: select count ( date ) where date = '16 september'
1
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | united states | 12 | 13 | 6 | 31 row 2 : 2 | russia | 10 | 5 | 6 | 21 row 3 : 3 | australia | 8 | 12 | 6 | 26 row 4 : 4 | china | 7 | 4 | 8 | 19 row 5 : 5 | germany | 5 | 6 | 5 | 16 row 6 : 6 | japan | 3 | 3 | 3 | 9 row 7 : 7 | netherlands | 3 | 2 | 2 | 7 row 8 : 8 | great britain | 2 | 3 | 3 | 8 row 9 : 9 | ukraine | 2 | 3 | 2 | 7 row 10 : 10 | italy | 2 | 2 | 1 | 5 row 11 : 11 | canada | 2 | 0 | 1 | 3 row 12 : 12 | hungary | 1 | 4 | 1 | 6 row 13 : 13 | spain | 1 | 2 | 3 | 6 row 14 : 14 | poland | 1 | 1 | 0 | 2 row 15 : 15 | france | 1 | 0 | 2 | 3 row 16 : 16 | finland | 1 | 0 | 1 | 2 row 17 : 17 | belarus | 1 | 0 | 0 | 1 row 18 : 18 | czech republic | 0 | 2 | 0 | 2 row 19 : 19 | slovakia | 0 | 1 | 1 | 2 row 20 : 20 | denmark | 0 | 1 | 0 | 1 row 21 : 20 | croatia | 0 | 1 | 0 | 1 row 22 : 22 | romania | 0 | 0 | 2 | 2 row 23 : 23 | bulgaria | 0 | 0 | 1 | 1 row 24 : 23 | mexico | 0 | 0 | 1 | 1 row 25 : 23 | serbia and montenegro | 0 | 0 | 1 | 1 row 26 : 23 | south africa | 0 | 0 | 1 | 1 row 27 : 23 | sweden | 0 | 0 | 1 | 1 row 28 : 23 | tunisia | 0 | 0 | 1 | 1 row 29 : total | total | 62 | 65 | 59 | 186 ] Execute this SQL based on the above table: select nation where nation < ( select nation where nation = 'czech republic' ) order by nation desc limit 1
croatia
[ header: pos. | driver | co-driver | car | time | difference | points row 1 : 1 | raffaele pinto | arnaldo bernacchini | fiat abarth 124 rallye | 6:26:15 | 0 | 20 row 2 : 2 | alcide paganelli | ninni russo | fiat abarth 124 rallye | 6:30:12 | 3.57 | None row 3 : 3 | markku alen | ilkka kivimaki | fiat abarth 124 rallye | 6:37:17 | 11.02 | None row 4 : 4 | ove andersson | arne hertz | toyota corolla | 6:40:54 | 14.39 | 10 row 5 : 5 | harry kallstrom | claes billstam | datsun 260z | 6:54:27 | 28.12 | 8 row 6 : 6 | bob neyret | yveline vanoni | alpine-renault a110 1800 | 7:04:18 | 38.03 | 6 row 7 : 7 | georg fischer | harald gottlieb | bmw 2002 | 7:05:02 | 38.47 | 4 row 8 : 8 | francisco romaozinho | jose bernardo | citroen gs | 7:17:04 | 50.49 | 3 row 9 : 9 | chris sclater | neil wilson | ford escort rs1 | 7:26:59 | 1:00.44 | 2 row 10 : 10 | antonio borges | miguel sottomayor | fiat 124 sport spyder | 7:27:55 | 1:01.40 | None ] Execute this SQL based on the above table: select co-driver where id = ( select id where co-driver = 'ilkka kivimaki' ) + 1
arne hertz
[ header: outcome | no. | date | tournament | surface | opponent | score row 1 : runner-up | 1 | 1 august 2011 | sao paulo, brazi | clay | maria fernanda alves | 6-4, 5-7, 3-6 row 2 : winner | 1 | 24 october 2011 | goiania, brazil | clay | barbara luz | 6-2, 6-0 row 3 : winner | 2 | 2 april 2012 | ribeirao preto, brazil | hard | natasha fourouclas | 6-0, 6-1 row 4 : winner | 3 | 25 march 2013 | ribeirao preto, brazil | clay | andrea benitez | 7-6(7-2), 6-2 row 5 : winner | 4 | 15 april 2013 | antalya 15, turkey | hard | tereza martincova | 6-4, 6-3 row 6 : runner-up | 2 | 20 may 2013 | caserta, italy | clay | renata voracova | 4-6, 1-6 row 7 : runner-up | 3 | 17 june 2013 | lenzerheide, switze | clay | laura siegemund | 2-6, 3-6 ] Execute this SQL based on the above table: select score order by tournament asc limit 1550
6-4, 6-3, 4-6, 1-6, 6-2, 6-0, 2-6, 3-6, 6-0, 6-1, 7-6(7-2), 6-2, 6-4, 5-7, 3-6
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 15 | sebastian vettel | red bull-renault | 56 | 1:57:43.485 | 1 | 10 row 2 : 2 | 14 | mark webber | red bull-renault | 56 | 10.97 | 3 | 8 row 3 : 3 | 22 | jenson button | brawn-mercedes | 56 | 44.975 | 5 | 6 row 4 : 4 | 23 | rubens barrichello | brawn-mercedes | 56 | +1:03.704 | 4 | 5 row 5 : 5 | 2 | heikki kovalain | mclaren-mercedes | 56 | +1:05.102 | 12 | 4 row 6 : 6 | 1 | lewis hamilton | mclaren-mercedes | 56 | +1:11.866 | 9 | 3 row 7 : 7 | 10 | timo glock | toyota | 56 | +1:14.476 | 19 | 2 row 8 : 8 | 12 | sebastien buemi | toro rosso-ferr | 56 | +1:16.439 | 10 | 1 row 9 : 9 | 7 | fernando alonso | renault | 56 | +1:24.309 | 2 | None row 10 : 10 | 4 | kimi raikkonen | ferrari | 56 | +1:31.750 | 8 | None row 11 : 11 | 11 | sebastien bourdais | toro rosso-ferr | 56 | +1:34.156 | 15 | None row 12 : 12 | 6 | nick heidfeld | bmw sauber | 56 | +1:35.834 | 11 | None row 13 : 13 | 5 | robert kubica | bmw sauber | 56 | +1:46.853 | 17 | None row 14 : 14 | 21 | giancarlo fisichella | force india-mercedes | 55 | +1 lap | 20 | None row 15 : 15 | 16 | nico rosberg | williams-toyota | 55 | +1 lap | 7 | None row 16 : 16 | 8 | nelson piquet, | renault | 54 | +2 laps | 16 | None row 17 : 17 | 20 | adrian sutil | force india-mercedes | 50 | accident | 18 | None row 18 : ret | 17 | kazuki nakajima | williams-toyota | 43 | transmission | 14 | None row 19 : ret | 3 | felipe massa | ferrari | 20 | electrical | 13 | None row 20 : ret | 9 | jarno trulli | toyota | 18 | collision damage | 6 | None ] Execute this SQL based on the above table: select constructor group by constructor order by count ( * ) desc limit 1
williams-toyota
[ header: club | entered administration | exited administration | league(s) | deduction(s) row 1 : charlton athletic | february 1984 | march 1984 | second division | none row 2 : newport county | 1989 | never - they went out of business and then | football conference | none row 3 : walsall | 1990[citation needed] | None | None | none row 4 : kettering town | 1992[citation needed] | None | None | none row 5 : maidstone | 1992[citation needed] | None | None | none row 6 : barnet | 1994[citation needed] | None | None | none row 7 : exeter united | 1994[citation needed] | None | None | none row 8 : doncaster rovers | 1997[citation needed] | None | None | none row 9 : bournemouth | 1997[citation needed] | None | None | none row 10 : crystal palace | 1998[citation needed] | july 2000 | second division | none row 11 : portsmouth | 1998[citation needed] | 1999 | second division | none row 12 : bradford city | 16 may 2002 | 1 august 2002 | first division | none row 13 : notts county | june 2002 | december 1993 | third division | none row 14 : barnsley | 3 october 2002 | 25 october 2003 | second division | none row 15 : port vale | 16 december 2002 | 2003 | second division | none row 16 : york city | 18 december 2002 | 26 march 2003 | third division | none row 17 : derby county | 20 october 2003 | 20 october 2003 | championship | none row 18 : ipswich town | 10 february 2003 | 30 may 2003 | first division | none row 19 : darlington | 23 december 2003 | 26 may 2004 | third division | none row 20 : wrexham | 3 december 2004 | 3 august 2006 | league one league two | -10 pts row 21 : cambridge united | 29 april 2005 | 22 july 2005 | league two | -10 pts row 22 : rotherham united | 13 may 2006 | None | league one | -10 pts row 23 : boston united | 25 april 2007 | 20 may 2008 | league two | -10 pts row 24 : rotherham united | 18 march 2008 | 2008 | league two | -10 pts -17 p row 25 : darlington | 25 february 2009 | 7 august 2009 | league two | -10 pts row 26 : stockport county | 30 april 2009 | 18 june 2010 | league one | -10 pts row 27 : chester city | 17 may 2009 | 10 march 2010 dissolved | conference national | -25 pts row 28 : northwich victoria | 15 may 2009 | 16 may 2010 | conference national | -10 pts row 29 : farsley celtic | 30 june 2009 | 10 march 2010 dissolved | conference north | -10 pts row 30 : salisbury city | 3 september 2009 | 26 february 2010 | conference national | -10 pts row 31 : weymouth | 28 october 2009 | 27 november 2009 | conference south | none row 32 : portsmouth | 26 february 2010 | 24 october 2010 | premier league | -9 pts row 33 : plymouth argyle | 4 march 2011 | 31 october 2011 | league one | -10 pts row 34 : rushden and diamonds | 7 july 2011 | 8 july 2011 dissolved | conference national | none row 35 : portsmouth | 17 february 2012 | 19 april 2013 | championship | -10 pts row 36 : port vale | 9 march 2012 | 20 november 2012 | league two | -10 pts row 37 : aldershot town | 2 may 2013 | None | league two | None ] Execute this SQL based on the above table: select club where club in ( 'ipswich town' , 'walsall' ) order by deduction(s) desc limit 1
walsall
[ header: city | country | airport | begin | end row 1 : aberdeen | united kingdom | aberdeen airport | 1999 | None row 2 : alesund | norway | alesund airport, vigra | 1971 | None row 3 : alta | norway | alta airport | 1974 | None row 4 : batsfjord | norway | batsfjord airport | 1999 | None row 5 : bodø | norway | bodø airport | 1968 | None row 6 : brønnøysund | norway | brønnøysund airport, | 1968 | None row 7 : fagernes | norway | fagernes airport, leirin | 1999 | 2000 row 8 : florø | norway | florø airport | 1971 | None row 9 : førde | norway | førde airport, bringel | 1986 | None row 10 : førde | norway | førde airport, øy | 1971 | 1986 row 11 : glasgow | united kingdom | glasgow international airport | 1997 | 1999 row 12 : gothenburg | sweden | gothenburg-landvetter airport | 1996 | None row 13 : hammerfest | norway | hammerfest airport | 1974 | None row 14 : haugesund | norway | haugesund airport, karmø | 2010 | None row 15 : harstad/narvik | norway | harstad/narvik airport, | 1975 | None row 16 : kirkenes | norway | kirkenes airport, hø | 1974 | None row 17 : kristiansand | norway | kristiansand airport, kje | 1991 | None row 18 : lakselv | norway | lakselv airport, banak | 1974 | None row 19 : leknes | norway | leknes airport | 1972 | None row 20 : lerwick | united kingdom | sumburgh airport | 1995 | 2005 row 21 : london | united kingdom | london stansted airport | 1989 | 1992 row 22 : molde | norway | molde airport, arø | 1972 | None row 23 : murmansk | russia | murmansk airport | 1994 | 2000 row 24 : narvik | norway | narvik airport, framnes | 1975 | None row 25 : namsos | norway | namsos airport, hø | 1968 | None row 26 : newcastle | united kingdom | newcastle airport | 2006 | None row 27 : ørland | norway | ørland airport | 1971 | 1987 row 28 : ørsta/volda | norway | ørsta-volda airport, | 1971 | None row 29 : oslo | norway | oslo airport, forne | 1974 | 1998 row 30 : oslo | norway | oslo airport, gardermo | 1998 | None row 31 : rønne | denmark | bornholm airport | 2007 | None row 32 : sandefjord | norway | sandefjord airport, to | 1989 | None row 33 : sandnessjøen | norway | sandnessjøen airport, | 1968 | None row 34 : sogndal | norway | sogndal airport, haukas | 1971 | None row 35 : stavanger | norway | stavanger airport, sola | 1989 | None row 36 : svolvær | norway | svolvær airport, helle | 1972 | None row 37 : tromsø | norway | tromsø airport | 1974 | None row 38 : umea | sweden | umea airport | 1995 | 1995 ] Execute this SQL based on the above table: select count ( distinct city )
36
[ header: pos | country | gold | silver | bronze | total row 1 : 1 | italy (ita) | 3 | 3 | 1 | 7 row 2 : 2 | united states (usa) | 3 | 0 | 1 | 4 row 3 : 3 | poland (pol) | 1 | 3 | 3 | 7 row 4 : 4 | soviet union (urs) | 1 | 2 | 2 | 5 row 5 : 5 | hungary (hun) | 1 | 0 | 0 | 1 row 6 : 5 | czechoslovakia (t | 1 | 0 | 1 | 2 row 7 : 7 | ghana (gha) | 0 | 1 | 0 | 1 row 8 : 7 | south africa (rsa) | 0 | 1 | 1 | 2 row 9 : 9 | great britain (gbr) | 0 | 0 | 3 | 3 row 10 : 10 | australia (aus) | 0 | 0 | 2 | 2 row 11 : 11 | japan (jpn) | 0 | 0 | 1 | 1 row 12 : 11 | united arab republic (egy) | 0 | 0 | 1 | 1 row 13 : 11 | finland (fin) | 0 | 0 | 1 | 1 row 14 : 11 | argentina (arg) | 0 | 0 | 1 | 1 row 15 : 11 | romania (rou) | 0 | 0 | 1 | 1 row 16 : 11 | germany (eua) | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select count ( country ) where silver >= 304
0
[ header: number | date | name | age (at execution) | age (at offense) | race | state | method row 1 : 1 | november 2, 1984 | velma margie barfield | 52 | 45 | white | north carolina | lethal injection row 2 : 2 | february 3, 1998 | karla faye t | 38 | 23 | white | texas | lethal injection row 3 : 3 | march 30, 1998 | judias v. buen | 54 | 28 | white | florida | electrocution row 4 : 4 | february 24, 2000 | betty lou beets | 62 | 46 | white | texas | lethal injection row 5 : 5 | may 2, 2000 | christina marie riggs | 28 | 26 | white | arkansas | lethal injection row 6 : 6 | january 11, 2001 | wanda jean allen | 41 | 29 | black | oklahoma | lethal injection row 7 : 7 | may 1, 2001 | marilyn kay plantz | 40 | 27 | white | oklahoma | lethal injection row 8 : 8 | december 4, 2001 | lois nadean smith | 61 | 41 | white | oklahoma | lethal injection row 9 : 9 | may 10, 2002 | lynda lyon block | 54 | 45 | white | alabama | electrocution row 10 : 10 | october 9, 2002 | aileen carol wuor | 46 | 33 | white | florida | lethal injection row 11 : 11 | september 14, 2005 | frances elaine newton | 40 | 21 | black | texas | lethal injection row 12 : 12 | september 23, 2010 | teresa wilson bean | 41 | 33 | white | virginia | lethal injection row 13 : 13 | june 26, 2013 | kimberly lagayle | 52 | 36 | black | texas | lethal injection row 14 : 14 | february 5, 2014 | suzanne margaret basso | 59 | 44 | white | texas | lethal injection ] Execute this SQL based on the above table: select ( select count ( * ) where age (at execution) = 'judias v. buenoano' ) > 574
0
[ header: year | laetare medalist | position row 1 : 1884 | patrick charles keely | architect row 2 : 1889 | anna hanson dorsey | novelist row 3 : 1890 | william j. onahan | organizer of the american catholic congress row 4 : 1892 | henry f. brownson | philosopher and author row 5 : 1899 | mary gwendolin caldwell | philanthropist row 6 : 1906 | francis j. quinlan | physician row 7 : 1908 | james c. monaghan | economist row 8 : 1911 | agnes repplier | author row 9 : 1913 | charles george herbermann | editor of the catholic encyclopedia row 10 : 1916 | james joseph wals | physician and author row 11 : 1917 | admiral william shepherd benson | chief of naval operations row 12 : 1922 | charles patrick neill | economist row 13 : 1923 | walter george smith | lawyer row 14 : 1924 | charles donagh maginnis | architect row 15 : 1925 | albert francis zahm | scientist row 16 : 1927 | margaret anglin | actress row 17 : 1932 | stephen j. maher | physician row 18 : 1936 | richard reid | journalist and lawyer row 19 : 1941 | william thomas wals | journalist and author row 20 : 1942 | helen constance white | author and teacher row 21 : 1944 | anne o'hare mc | journalist row 22 : 1945 | gardiner howland shaw | diplomat row 23 : 1947 | william g. bruce | publisher and civic leader row 24 : 1950 | general joseph l. collin | soldier row 25 : 1952 | thomas e. murray | member of the u.s. atomic row 26 : 1953 | i.a. o'sh | philanthropist row 27 : 1956 | general alfred m. gruent | soldier row 28 : 1958 | frank m. folsom | industrialist row 29 : 1964 | phyllis mcginley | poet row 30 : 1966 | patrick f. & patricia car | founders of the christian movement row 31 : 1967 | j. peter grace | industrialist row 32 : 1968 | robert sargent shriver | diplomat row 33 : 1977 | mike mansfield | former senate majority leader row 34 : 1979 | helen hayes | actress row 35 : 1980 | thomas p. (tip) | speaker of the house row 36 : 1982 | john francis cardinal dearden | archbishop emeritus of row 37 : 1984 | john t. noonan, j | lawyer row 38 : 1990 | sister thea bowman (posthumously) | educator row 39 : 1996 | sister helen prejean | death penalty abolitionist row 40 : 1998 | dr. edmund | medical ethicist and educator row 41 : 1999 | philip gleason | professor emeritus of history, notre row 42 : 2008 | martin sheen | actor row 43 : 2009 | not awarded (see below) | None row 44 : 2010 | dana gioia | former chairman of national endowment for the arts row 45 : 2011 | sister mary scullion, r | social advocates ] Execute this SQL based on the above table: select ( select year where laetare medalist = 'william j. onahan' ) - ( select year where laetare medalist = 'patrick charles keely' )
6
[ header: # | name (birth-death) | took office | left office | monarch | prime minister row 1 : 1 | the viscount gladstone (1854-1930) | 31 may 1910 | 8 september 1914 | george v | botha row 2 : 2 | the viscount buxton (1853-1934) | 8 september 1914 | 17 november 1920 | george v | botha row 3 : 3 | hrh prince arthur of conn | 17 november 1920 | 21 january 1924 | george v | smuts row 4 : 4 | the earl of athlone (1874 | 21 january 1924 | 26 january 1931 | george v | smuts row 5 : 5 | the earl of clarendon (1877 | 26 january 1931 | 5 april 1937 | george v | hertzog row 6 : 6 | sir patrick duncan (1870-19 | 5 april 1937 | 17 july 1943 | george vi | hertzog row 7 : 6 | nicolaas jacobus de | 17 july 1943 | 1 january 1946 | george vi | smuts row 8 : 7 | gideon brand van zyl (18 | 1 january 1946 | 1 january 1951 | george vi | smuts row 9 : 8 | ernest george jans | 1 january 1951 | 25 november 1959 | george vi | malan row 10 : 8 | lucas cornelius stey | 26 november 1959 | 11 december 1959 | elizabeth ii | verwoerd row 11 : 9 | charles robberts swar | 11 december 1959 | 30 april 1961 | elizabeth ii | verwoerd row 12 : 9 | lucas cornelius stey | 30 april 1961 | 31 may 1961 | elizabeth ii | verwoerd ] Execute this SQL based on the above table: select prime minister where prime minister != 'smuts' and took office = 12
verwoerd
[ header: season | level | division | section | position | movements row 1 : 1960 | tier 4 | division 4 | halsingland | 3rd | None row 2 : 1961 | tier 4 | division 4 | halsingland | 2nd | None row 3 : 1962 | tier 4 | division 4 | halsingland | 1st | promoted row 4 : 1963 | tier 3 | division 3 | sodra norrland | 6th | None row 5 : 1964 | tier 3 | division 3 | sodra norrland nedre | 4th | None row 6 : 1965 | tier 3 | division 3 | sodra norrland nedre | 10th | relegated row 7 : 1966 | tier 4 | division 4 | halsingland | 9th | None row 8 : 1967 | tier 4 | division 4 | halsingland | 2nd | None row 9 : 1968 | tier 4 | division 4 | halsingland | 6th | None row 10 : 1969 | tier 4 | division 4 | halsingland | 3rd | None row 11 : 1970 | tier 4 | division 4 | halsingland | 2nd | None row 12 : 1971 | tier 4 | division 4 | halsingland | 1st | promotion playoffs - promoted row 13 : 1972 | tier 3 | division 3 | norra svealand | 6th | None row 14 : 1973 | tier 3 | division 3 | norra svealand | 11th | relegated row 15 : 1974 | tier 4 | division 4 | halsingland | 1st | promoted row 16 : 1975 | tier 3 | division 3 | sodra norrland | 9th | None row 17 : 1976 | tier 3 | division 3 | sodra norrland | 9th | None row 18 : 1977 | tier 3 | division 3 | sodra norrland | 9th | None row 19 : 1978 | tier 3 | division 3 | sodra norrland | 6th | None row 20 : 1979 | tier 3 | division 3 | sodra norrland | 9th | None row 21 : 1980 | tier 3 | division 3 | sodra norrland | 7th | None row 22 : 1981 | tier 3 | division 3 | sodra norrland | 9th | None row 23 : 1982 | tier 3 | division 3 | sodra norrland | 12th | relegated row 24 : 1982 | tier 4 | division 4 | halsingland | 3rd | None ] Execute this SQL based on the above table: select count ( * ) where movements = 'None'
0
[ header: player | matches | innings | not out | runs | high score | average | strike rate | 100s | 50s row 1 : anthony mcgrath | 9 | 9 | 2 | 392 | 72 | 56 | 132.43 | 0 | 4 row 2 : jacques rudolph | 9 | 8 | 1 | 191 | 56 | 27.29 | 129.05 | 0 | 1 row 3 : darren gough | 9 | 4 | 3 | 26 | 20 | 26 | 136.84 | 0 | 0 row 4 : gerard brophy | 9 | 9 | 1 | 177 | 57 | 22.13 | 113.46 | 0 | 1 row 5 : andrew gale | 9 | 9 | 2 | 106 | 45 | 15.14 | 86.18 | 0 | 0 row 6 : michael vaughan | 7 | 7 | 0 | 104 | 34 | 14.86 | 138.67 | 0 | 0 row 7 : craig white | 2 | 2 | 0 | 26 | 26 | 13 | 92.86 | 0 | 0 row 8 : tim bresnan | 9 | 8 | 3 | 58 | 15 | 11.6 | 85.29 | 0 | 0 row 9 : chris taylor | 2 | 2 | 1 | 10 | 10 | 10 | 111.11 | 0 | 0 row 10 : simon guy | 4 | 2 | 0 | 11 | 7 | 5.5 | 78.57 | 0 | 0 row 11 : richard pyrah | 9 | 5 | 2 | 16 | 8 | 5.33 | 114.29 | 0 | 0 row 12 : adil rashid | 8 | 6 | 2 | 18 | 10 | 4.5 | 94.74 | 0 | 0 row 13 : adam lyth | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 row 14 : david wainwright | 2 | 1 | 1 | 3 | 3 | None | 33.33 | 0 | 0 row 15 : matthew hoggard | 9 | 0 | 0 | 0 | 0 | None | None | 0 | 0 row 16 : azeem rafi | 1 | 0 | 0 | 0 | 0 | None | None | 0 | 0 row 17 : total batting | 99 | 73 | 18 | 1138 | 72 | 20.69 | 116 | 0 | 6 ] Execute this SQL based on the above table: select player where id = ( select id where player = 'chris taylor' ) - 1
tim bresnan
[ header: week | date | opponent | home/away | result | bye row 1 : 1 | february 8 | new orleans voodoo | home | l 42-34 | 0 row 2 : 2 | february 15 | dallas desperados | away | l 51-47 | 0 row 3 : 3 | february 21 | columbus destroyers | home | w 56-34 | 0 row 4 : 4 | february 29 | tampa bay storm | away | l 40-37 | 0 row 5 : 5 | march 7 | chicago rush | home | w 53-47 | 0 row 6 : 6 | march 13 | columbus destroyers | away | l 43-41 | 0 row 7 : 7 | march 21 | colorado crush | home | l 40-33 | 0 row 8 : 8 | march 28 | austin wranglers | away | w 65-60 | 0 row 9 : 9 | april 4 | dallas desperados | home | w 47-31 | 0 row 10 : 10 | None | None | week | None | 1 row 11 : 11 | april 17 | carolina cobras | away | l 63-59 | 0 row 12 : 12 | april 24 | new york dragons | home | w 60-58 | 0 row 13 : 13 | may 1 | colorado crush | away | l 58-40 | 0 row 14 : 14 | may 8 | las vegas gladiators | home | l 63-35 | 0 row 15 : 15 | may 15 | carolina cobras | home | l 46-43 | 0 row 16 : 16 | may 22 | san jose sabercat | away | l 48-36 | 0 row 17 : 17 | may 30 | new york dragons | away | l 69-54 | 0 ] Execute this SQL based on the above table: select home/away where week = 4 and home/away != 'home'
away
[ 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 event where silver = 1
1976 winter paralympics, 2006 winter paralympics
[ header: rank | heat | nation | competitors | time | notes row 1 : 1 | 2 | united states | kelly willie, derrick | 2:59.30 | q row 2 : 2 | 2 | nigeria | james godday, musa au | 3:01.60 | q, sb row 3 : 3 | 2 | bahamas | andrae williams, denn | 3:01.74 | q, sb row 4 : 4 | 1 | great britain | timothy benjamin, | 3:02.40 | q, sb row 5 : 5 | 1 | japan | yuki yamaguchi, | 3:02.71 | q row 6 : 6 | 1 | germany | ingo schultz, kamghe | 3:02.77 | q row 7 : 7 | 1 | australia | john steffensen, cli | 3:03.06 | q row 8 : 8 | 1 | botswana | oganeditse moseki | 3:03.32 | q, sb row 9 : 9 | 2 | russia | aleksandr larin, andre | 3:03.35 | None row 10 : 10 | 2 | poland | piotr rysiukie | 3:03.69 | None row 11 : 11 | 2 | ukraine | volodymyr demchenko, y | 3:04.01 | None row 12 : 12 | 1 | greece | stilianos dimotsios, | 3:04.27 | sb row 13 : 13 | 1 | france | ahmed douhou, i | 3:04.39 | None row 14 : 14 | 2 | spain | eduardo ivan rodrig | 3:05.03 | sb row 15 : None | 2 | south africa | marcus la grange, hend | dnf | None row 16 : None | 1 | jamaica | michael campbell, michae | dsq | None ] Execute this SQL based on the above table: select competitors order by rank asc limit 1
marcus la grange, hendrick mokganyetsi, ockert cilliers, arnaud malherbe
[ header: no. | song | singers | length (m:ss) row 1 : 1 | kalluri padam | shankar mahadevan | 01:32 row 2 : 2 | iru kangal | balram, gopika poornima | 04:49 row 3 : 3 | sithanna vasal | s. p. balasubram | 04:53 row 4 : 4 | thozha thozha | karthik | 03:57 row 5 : 5 | vidinjakka kannalam | chitra sivaraman | 04:20 row 6 : 6 | mullai poo | spb charan, ven | 04:33 row 7 : 7 | yarum ariya | pavithra | 05:16 row 8 : 8 | salsa - theme music | instrumental | 01:33 ] Execute this SQL based on the above table: select singers where no. = 3
s. p. balasubramaniam, sujatha
[ header: whitworth size (in) | core diameter (in) | threads per inch | pitch (in) | tapping drill size row 1 : 1/16 | 0.0411 | 60 | 0.0167 | number drill 56 (1.2 mm) row 2 : 3/32 | 0.0672 | 48 | 0.0208 | number drill 49 (1.85 mm) row 3 : 1/8 | 0.093 | 40 | 0.025 | number drill 39 (2.55 mm) row 4 : 5/32 | 0.1162 | 32 | 0.0313 | number drill 30 (3.2 mm) row 5 : 3/16 | 0.1341 | 24 | 0.0417 | number drill 26 (3.7 mm) row 6 : 7/32 | 0.1654 | 24 | 0.0417 | number drill 16 (4.5 mm) row 7 : 1/4 | 0.186 | 20 | 0.05 | number drill 9 (5.1 mm) row 8 : 5/16 | 0.2414 | 18 | 0.0556 | letter drill f (6.5 mm) row 9 : 3/8 | 0.295 | 16 | 0.0625 | 5/16 in (7.94 mm) row 10 : 7/16 | 0.346 | 14 | 0.0714 | letter drill u (9.3 mm) row 11 : 1/2 | 0.3933 | 12 | 0.0833 | letter drill z (10.5 mm) row 12 : 9/16 | 0.4558 | 12 | 0.0833 | 12.1 mm (0.4764 in) row 13 : 5/8 | 0.5086 | 11 | 0.0909 | 13.5 mm (0.5315 in) row 14 : 11/16 | 0.5711 | 11 | 0.0909 | 15 mm (0.5906 in) row 15 : 3/4 | 0.6219 | 10 | 0.1 | 16.27 mm (0.6406 in) row 16 : 13/16 | 0.6845 | 10 | 0.1 | 18 mm (0.7087 in) row 17 : 7/8 | 0.7327 | 9 | 0.1111 | 19.25 mm (0.7579 in) row 18 : 15/16 | 0.7953 | 9 | 0.1111 | 20.75 mm (0.8169 in) row 19 : 1 | 0.8399 | 8 | 0.125 | 22 mm (0.8661 in) row 20 : 1 1/8 | 0.942 | 7 | 0.1429 | None row 21 : 1 1/4 | 1.067 | 7 | 0.1429 | None row 22 : 1 1/2 | 1.2866 | 6 | 0.1667 | None row 23 : 1 3/4 | 1.4939 | 5 | 0.2 | None row 24 : 2 | 1.7154 | 4.5 | 0.2222 | None row 25 : 2 1/2 | 2.18 | 4 | 0.25 | None ] Execute this SQL based on the above table: select sum ( threads per inch ) where core diameter (in) <= '0.6845'
362.0
[ header: year | award | result | category | series row 1 : 2004 | bet comedy awards | won | outstanding supporting actor in a comedy series | scrubs row 2 : 2002 | bet comedy awards | won | outstanding supporting actor in a comedy series | scrubs row 3 : 2004 | teen choice awards | nominated | choice tv sidekick | scrubs row 4 : 2005 | teen choice awards | nominated | choice tv sidekick | scrubs row 5 : 2006 | teen choice awards | nominated | choice tv sidekick | scrubs row 6 : 2007 | teen choice awards | nominated | choice tv sidekick | scrubs row 7 : 2005 | naacp image awards | nominated | outstanding supporting actor in a comedy series | scrubs row 8 : 2006 | naacp image awards | nominated | outstanding actor in a comedy series | scrubs row 9 : 2007 | naacp image awards | nominated | outstanding actor in a comedy series | scrubs row 10 : 2008 | naacp image awards | nominated | outstanding actor in a comedy series | scrubs ] Execute this SQL based on the above table: select count ( result ) where year not null
10
[ header: location | mile | destinations | notes row 1 : woodmont | 0 | i-68 / us 40 (national | western terminus; i-68 exit row 2 : woodmont | 0.12 | us 40 scenic west (national pike) | us 40 scenic is county-maintained but signed row 3 : woodmont | 0.25 | woodmont road south | former md 453 row 4 : hancock | 3.52 | us 522 south - berkeley | ramp is unsigned us 522b row 5 : hancock | 3.67 | limestone road north | unsigned md 894; old alignment row 6 : hancock | 3.75 | virginia avenue to us 522 north | unsigned us 522c row 7 : hancock | 5.91 | i-70 / us 40 east ( | eastern terminus; i-70 exit 3 ] Execute this SQL based on the above table: select mile where location = 'hancock'
3.52, 3.67, 3.75, 5.91
[ header: release | artist | title | notes | album row 1 : 2004 | hiroshi itsuki feat. | deigo to hanasu ( | None | onna no ehon row 2 : 2005 | chikuzen sato with | boku no mune de oya | features on "rimits: best duet songs | the selection of cornerstones 1995-2004 row 3 : 2005 | rimi natsukawa | 'aa koshien' | None | ningen manyoka: y row 4 : 2005 | kaoru kurosawa duet | manten no hoshi no yoru | features on "rimits: best duet songs | love anthem row 5 : 2006 | andrea bocelli duet with rim | somos novios (ai no | features on "umui kaji" | amore (japanese edition row 6 : 2008 | taiyo yamazawa | utabito (歌人 singer?) | None | music tree row 7 : 2009 | chage with rimi natsu | boku wa do kana (僕はとうかな what | None | many happy returns row 8 : 2009 | rimi natsukawa | tada sore dake ( | None | katsuhisa hattori ] Execute this SQL based on the above table: select album where album in ( 'the selection of cornerstones 1995-2004' , 'music tree' ) order by release desc limit 1
music tree
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 5 | fernando alonso | renault | 56 | 1:31:33.736 | 1 | 10 row 2 : 2 | 16 | jarno trulli | toyota | 56 | 24.327 | 2 | 8 row 3 : 3 | 8 | nick heidfeld | williams-bmw | 56 | 32.188 | 10 | 6 row 4 : 4 | 10 | juan pablo montoya | mclaren-mercedes | 56 | 41.631 | 11 | 5 row 5 : 5 | 17 | ralf schumacher | toyota | 56 | 51.854 | 5 | 4 row 6 : 6 | 14 | david coulthard | red bull-cosworth | 56 | +1:12.543 | 8 | 3 row 7 : 7 | 1 | michael schumacher | ferrari | 56 | +1:19.988 | 13 | 2 row 8 : 8 | 15 | christian klien | red bull-cosworth | 56 | +1:20.835 | 7 | 1 row 9 : 9 | 9 | kimi raikkonen | mclaren-mercedes | 56 | +1:21.580 | 6 | None row 10 : 10 | 12 | felipe massa | sauber-petronas | 55 | +1 lap | 14 | None row 11 : 11 | 19 | narain karthikeyan | jordan-toyota | 54 | +2 laps | 17 | None row 12 : 12 | 18 | tiago monteiro | jordan-toyota | 53 | +3 laps | 18 | None row 13 : 13 | 21 | christijan albers | minardi-cosworth | 52 | +4 laps | 19 | None row 14 : ret | 2 | rubens barrichello | ferrari | 49 | handling | 12 | None row 15 : ret | 6 | giancarlo fisichella | renault | 36 | collision | 3 | None row 16 : ret | 7 | mark webber | williams-bmw | 36 | collision | 4 | None row 17 : ret | 11 | jacques villeneuve | sauber-petronas | 26 | spun off | 16 | None row 18 : ret | 3 | jenson button | bar-honda | 2 | engine | 9 | None row 19 : ret | 4 | anthony davidson | bar-honda | 2 | engine | 15 | None row 20 : ret | 20 | patrick friesacher | minardi-cosworth | 2 | spun off | 20 | None ] Execute this SQL based on the above table: select pos where no < ( select no where pos = 6 ) order by no desc limit 1
10
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | japan | 18 | 8 | 8 | 34 row 2 : 2 | india | 4 | 5 | 6 | 15 row 3 : 3 | philippines | 4 | 3 | 3 | 10 row 4 : 4 | taiwan | 2 | 6 | 7 | 15 row 5 : 5 | south korea | 2 | 3 | 1 | 6 row 6 : 6 | thailand | 2 | 2 | 0 | 4 row 7 : 7 | pakistan | 2 | 1 | 0 | 3 row 8 : 8 | iran | 2 | 0 | 2 | 4 row 9 : 9 | israel | 1 | 0 | 1 | 2 row 10 : 10 | singapore | 0 | 4 | 4 | 8 row 11 : 11 | malaysia | 0 | 3 | 1 | 4 row 12 : 12 | iraq | 0 | 2 | 0 | 2 row 13 : 13 | kampuchea | 0 | 0 | 2 | 2 row 14 : 14 | nepal | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select nation order by nation limit 1
india
[ header: fin | st | driver | car # | make | points | bonus | laps | winnings row 1 : 1 | 1 | jeff gordon | 24 | chevrolet | 195 | 10 | 192 | $355,511 row 2 : 2 | 8 | jimmie johnson | 48 | chevrolet | 175 | 5 | 192 | $251,736 row 3 : 3 | 26 | kurt busch | 2 | dodge | 170 | 5 | 192 | $212,483 row 4 : 4 | 2 | david gilliland | 38 | ford | 160 | None | 192 | $182,689 row 5 : 5 | 25 | jamie mcmurray | 26 | ford | 160 | 5 | 192 | $134,675 row 6 : 7 | 36 | dale earnhardt jr | 8 | chevrolet | 151 | 5 | 192 | $149,233 row 7 : 8 | 20 | david stremme | 40 | dodge | 147 | 5 | 192 | $106,025 row 8 : 9 | 28 | ryan newman | 12 | dodge | 138 | None | 192 | $133,450 row 9 : 10 | 37 | martin truex jr | 1 | chevrolet | 134 | None | 192 | $126,495 row 10 : 11 | 9 | scott riggs | 10 | dodge | 130 | None | 192 | $107,050 row 11 : 12 | 30 | kasey kahne | 9 | dodge | 132 | 5 | 192 | $138,891 row 12 : 13 | 34 | jeff green | 66 | chevrolet | 129 | 5 | 192 | $120,933 row 13 : 14 | 17 | matt kenseth | 17 | ford | 126 | 5 | 192 | $137,641 row 14 : 17 | 10 | david ragan | 6 | ford | 117 | 5 | 192 | $127,100 row 15 : 19 | 31 | j.j. yeley | 18 | chevrolet | 106 | None | 192 | $116,033 row 16 : 20 | 35 | bobby labonte | 43 | dodge | 103 | None | 192 | $127,111 row 17 : 21 | 3 | denny hamlin | 11 | chevrolet | 105 | 5 | 192 | $102,550 row 18 : 23 | 18 | jeremy mayfield | 36 | toyota | 94 | None | 192 | $83,075 row 19 : 25 | 29 | reed sorenson | 41 | dodge | 88 | None | 192 | $101,947 row 20 : 27 | 11 | boris said | 160 | ford | 87 | 5 | 191 | $80,775 row 21 : 28 | 32 | tony stewart | 20 | chevrolet | 84 | 5 | 190 | $127,761 row 22 : 30 | 21 | johnny sauter | 70 | chevrolet | 73 | None | 190 | $79,325 row 23 : 32 | 14 | david reutimann | 0 | toyota | 67 | None | 184 | $78,525 row 24 : 34 | 42 | jeff burton | 31 | chevrolet | 66 | 5 | 151 | $118,266 row 25 : 37 | 13 | kyle busch | 5 | chevrolet | 52 | None | 130 | $95,800 row 26 : 38 | 33 | joe nemechek | 13 | chevrolet | 49 | None | 130 | $77,450 row 27 : 39 | 7 | casey mears | 25 | chevrolet | 51 | 5 | 124 | $85,250 row 28 : 40 | 43 | dale jarrett | 44 | toyota | 43 | None | 38 | $77,000 ] Execute this SQL based on the above table: select driver where driver = 'jamie mcmurray' and make != 'casey mears'
jamie mcmurray
[ header: tenure | coach | years | record | pct. | ncaa tournament row 1 : 1933 | sam mcallister | 1 | 5-4-0 | 0.556 | None row 2 : 1934 | herschel bobo | 1 | None | None | None row 3 : 1934-1939 | del morgan | 6 | None | None | None row 4 : 1940 | porter grant | 1 | 4-5-0 | 0.444 | None row 5 : 1941-1942 | jimmy hitchcock | 2 | None | None | None row 6 : 1943-1946 | bob evans | 2 | None | None | None row 7 : 1947-1948 | danny doyle | 2 | None | None | None row 8 : 1949-1950 | johnny williamson | 2 | 21-23-0 | 0.477 | None row 9 : 1951-1957 | dick mcgowen | 7 | 90-76-2 | 0.548 | None row 10 : 1958 | joe connally | 1 | 17-8-0 | 0.68 | None row 11 : 1959-1962 | erk russell | 4 | 59-37-1 | 0.62 | None row 12 : 1963-1984 | paul nix | 22 | 515-376-0 | 0.578 | 4 row 13 : 1985-2000 | hal baird | 16 | 634-328-0 | 0.659 | 9 row 14 : 2001-2004 | steve renfroe | 4 | 145-92-0 | 0.612 | 3 row 15 : 2005-2008 | tom slater | 4 | 115-113-0 | 0.504 | 1 row 16 : 2009-2013 | john pawlowski | 5 | 167-126 | 0.57 | 1 row 17 : 2014-present | sunny golloway | 1 | 17-8-0 | 0.68 | 0 row 18 : totals | 16 coaches | 81 | None | None | 18 ] Execute this SQL based on the above table: select count ( * ) where tenure = '1959-1962'
1
[ header: year | date | title | format(s) | award description(s) | result(s) row 1 : 1987 | july 28 | whitney | album | gold | won row 2 : 1987 | july 28 | whitney | album | platinum | won row 3 : 1987 | july 28 | whitney | album | 2× multi-platinum | won row 4 : 1987 | july 28 | "i wanna dance with somebody (who loves | single | gold | won row 5 : 1987 | august 4 | whitney | album | 3× multi-platinum | won row 6 : 1987 | september 30 | whitney | album | 4× multi-platinum | won row 7 : 1987 | november 20 | whitney | album | 5× multi-platinum | won row 8 : 1988 | april 18 | whitney | album | 6× multi-platinum | won row 9 : 1989 | february 13 | "i wanna dance with somebody (who loves | single | platinum | won row 10 : 1993 | june 23 | whitney | album | 7× multi-platinum | won row 11 : 1994 | november 29 | whitney | album | 8× multi-platinum | won row 12 : 1995 | november 29 | whitney | album | 9× multi-platinum | won row 13 : 1995 | december 6 | "so emotional" | single | gold | won ] Execute this SQL based on the above table: select year where title = 'whitney'
1987, 1987, 1987, 1987, 1987, 1987, 1988, 1993, 1994, 1995
[ header: institution | location | athletic nickname | undergraduate enrollment | graduate enrollment | total enrollment | 2013 endowment (and us rank) | academic staff | motto row 1 : brown university | providence, rhode island | bears | 6316 | 2333 | 8649 | $2.7 billion (30th) | 736 | in deo speramus (in god row 2 : columbia university | new york, new york | lions | 7160 | 15760 | 22920 | $8.2 billion (9th) | 3763 | in lumine tuo videb row 3 : cornell university | ithaca, new york | big red | 13931 | 6702 | 20633 | $5.3 billion (18th) | 2908 | i would found an institution where any person can row 4 : dartmouth college | hanover, new hampshire | big green | 4248 | 1893 | 6141 | $3.7 billion (22nd) | 571 | vox clamantis in deserto row 5 : harvard university | cambridge, massachusetts | crimson | 7181 | 14044 | 21225 | $32.3 billion (1st) | 4671 | veritas (truth) row 6 : princeton university | princeton, new jersey | tigers | 5113 | 2479 | 7592 | $18.2 billion (5th) | 1172 | dei sub numine viget (under god row 7 : university of pennsylvania | philadelphia, pennsy | quakers | 10337 | 10306 | 20643 | $7.7 billion (11th) | 4464 | leges sine moribus vanae row 8 : yale university | new haven, connecticut | bulldogs | 5275 | 6391 | 11666 | $20.8 billion (2nd) | 4140 | אורים ותומים lux et ver ] Execute this SQL based on the above table: select location where institution = 'yale university' order by institution asc limit 1
new haven, connecticut
[ header: name | pennant | builder | launched | original name | fate row 1 : wave baron | a242 | furness shipbuilding company | 19 february 1946 | empire flodden | scrapped in 1972 row 2 : wave chief | a265 | harland and wolff | 30 august 1946 | empire edgehill | scrapped in 1974 row 3 : wave commander | a244 | furness shipbuilding company | 21 april 1944 | empire paladin | scrapped in 1959 row 4 : wave conqueror | a245 | furness shipbuilding company | 27 november 1943 | empire law | scrapped in 1960 row 5 : wave duke | a246 | sir j. laing & son | 16 november 1944 | empire mars | scrapped in 1969 row 6 : wave emperor | a100 | furness shipbuilding company | 16 october 1944 | None | scrapped in 1966 row 7 : wave governor | a247 | furness shipbuilding company | 30 november 1944 | None | scrapped in 1960 row 8 : wave king | a182 | harland and wolff | 21 july 1944 | None | scrapped in 1966 row 9 : wave knight | a249 | sir j. laing & son | 22 october 1945 | empire naseby | scrapped in 1964 row 10 : wave laird | a119 | sir j. laing & son | 3 april 1946 | empire dunbar | scrapped in 1970 row 11 : wave liberator | a248 | furness shipbuilding company | 9 february 1944 | empire milner | scrapped in 1959 row 12 : wave master | a193 | sir j. laing & son | 20 may 1944 | empire salisbury | scrapped in 1963 row 13 : wave monarch | a264 | harland and wolff | 6 july 1944 | None | sold as oil hulk in 1960 row 14 : wave premier | a129 | furness shipbuilding company | 27 june 1946 | None | scrapped in 1960 row 15 : wave prince | a207 | sir j. laing & son | 27 july 1945 | empire herald | scrapped in 1971 row 16 : wave protector | a215 | furness shipbuilding company | 20 july 1944 | empire protector | scrapped in 1963 row 17 : wave regent | a210 | furness shipbuilding company | 29 march 1945 | None | scrapped in 1960 row 18 : wave ruler | a212 | furness shipbuilding company | 17 january 1946 | empire evesham | scrapped in 1977 row 19 : wave sovereign | a211 | furness shipbuilding company | 20 november 1945 | None | scrapped in 1966 row 20 : wave victor | a220 | furness shipbuilding company | 30 september 1943 | empire bounty | chartered to air ministry in 1960 ] Execute this SQL based on the above table: select original name where pennant = 'a215' order by id limit 1
empire protector
[ header: rank | player | county | tally | total | opposition row 1 : 1 | eamonn flynn | dublin | 3-5 | 14 | wexford row 2 : 1 | charlie mccarthy | cork | 2-8 | 14 | galway row 3 : 3 | paddy fahy | galway | 2-7 | 13 | kildare row 4 : 5 | charlie mccarthy | cork | 3-3 | 12 | offaly row 5 : 5 | michael moroney | clare | 2-6 | 12 | dublin row 6 : 5 | declan lovett | kerry | 1-9 | 12 | galway row 7 : 9 | ger cuddy | laois | 3-2 | 11 | wicklow row 8 : 9 | pat enright | waterford | 2-5 | 11 | kerry row 9 : 9 | pat enright | waterford | 1-8 | 11 | laois row 10 : 9 | johnny walsh | kildare | 0-11 | 11 | waterford row 11 : 9 | eddie keher | kilkenny | 0-11 | 11 | wexford row 12 : 14 | brendan cummins | cork | 3-1 | 10 | wexford row 13 : 14 | p. j. molloy | galway | 3-1 | 10 | kerry row 14 : 14 | nick behan | kildare | 3-1 | 10 | kerry row 15 : 14 | seanie o'leary | cork | 3-1 | 10 | limerick row 16 : 14 | michael keating | tipperary | 2-4 | 10 | wexford row 17 : 14 | declan lovett | kerry | 2-4 | 10 | waterford row 18 : 14 | michael keating | tipperary | 2-4 | 10 | dublin row 19 : 14 | eddie keher | kilkenny | 2-4 | 10 | dublin row 20 : 14 | mick dwan | kildare | 2-4 | 10 | antrim row 21 : 14 | charlie mccarthy | cork | 1-7 | 10 | kilkenny row 22 : 14 | paddy fahy | galway | 0-10 | 10 | kerry row 23 : 14 | johnny walsh | kildare | 0-10 | 10 | westmeath row 24 : 27 | p flynn | wexford | 3-0 | 9 | offaly row 25 : 27 | n casey | clare | 3-0 | 9 | cork row 26 : 27 | willie moore | limerick | 3-0 | 9 | cork row 27 : 27 | ger cuddy | laois | 3-0 | 9 | westmeath row 28 : 27 | tom ryan | galway | 3-0 | 9 | laois row 29 : 27 | seanie o'leary | cork | 3-0 | 9 | offaly row 30 : 27 | p flynn | wexford | 2-3 | 9 | cork row 31 : 27 | eddie keher | kilkenny | 2-3 | 9 | limerick row 32 : 27 | johnny walsh | kildare | 1-6 | 9 | galway row 33 : 27 | francis loughnane | tipperary | 1-6 | 9 | cork row 34 : 27 | richie bennis | limerick | 1-6 | 9 | cork row 35 : 27 | pat enright | waterford | 0-9 | 9 | kildare row 36 : 27 | johnny walsh | kildare | 0-9 | 9 | kerry ] Execute this SQL based on the above table: select ( select rank where opposition = 'westmeath' ) > ( select rank where opposition = 'cork' )
0
[ header: year | title | peak chart positions aus | peak chart positions nz | album row 1 : 1988 | "whisper" | 58 | 42 | the sound of trees row 2 : 1988 | "love-hate relationship" | 81 | 46 | the sound of trees row 3 : 1989 | "this illusion" | None | None | the sound of trees row 4 : 1990 | "ok alright a huh o | 74 | None | ok alright a huh o row 5 : 1991 | "heroes let you down" | None | None | ok alright a huh o ] Execute this SQL based on the above table: select title order by peak chart positions aus limit 1
"this illusion"
[ header: year | name | birth date | winner | awarding age | row 1 : 1998 | nick cheung | 1967-12-02 | winner | 30 years, 352 days | None row 2 : 1998 | chin kar lok | 1965-08-06 | winner | 33 years, 105 days | None row 3 : 2002 | moses chan | 1971-04-16 | winner | 31 years, 217 days | None row 4 : 2003 | raymond lam | 1979-12-08 | winner | 23 years, 346 days | youngest winner row 5 : 2004 | ron ng | 1979-09-02 | winner | 25 years, 78 days | None row 6 : 2005 | bosco wong | 1980-12-13 | winner | 24 years, 341 days | None row 7 : 2006 | kenneth ma | 1974-02-13 | winner | 32 years, 270 days | None row 8 : 2007 | amigo choi | 1979-05-08 | winner | 28 years, 193 days | None row 9 : 2008 | wong cho lam | 1980-01-09 | winner | 28 years, 311 days | None row 10 : 2009 | ngo ka-nin | 1976-09-26 | winner | 33 years, 69 days | None row 11 : 2010 | raymond wong | 1976-08-25 | winner | 34 years, 102 days | oldest winner row 12 : 2011 | jin au-yeung | 1982-06-04 | winner | 29 years, 184 days | None row 13 : 2012 | oscar leung | 1979-03-26 | winner | 33 years, 266 days | None ] Execute this SQL based on the above table: select year where name = 'oscar leung'
2012
[ header: rank | mountain | height (m) | height (ft) | range | coordinates | prominence (m) | parent mountain | first ascent | ascents (failed attempts) bef.2004 row 1 : 5 | makalu | 8485 | 27838 | mahalangur himalaya | 27°53′23′′n 87° | 2386 | mount everest | 1955 | 45 (52) row 2 : 20 | ngadi chuli | 7871 | 25823 | manaslu himalaya | 28°30′12′′n 84° | 1020 | manaslu | 1970 | 2 (6) row 3 : 21 | khunyang chhish | 7823 | 25666 | hispar karakoram | 36°12′19′′n 75°12 | 1765 | distaghil sar | 1971 | 2 (6) row 4 : 41 | gongga shan/ miny | 7556 | 24790 | daxue shan | 29°35′43′′n 101°52 | 3642 | mount everest | 1932 | 6 (7) row 5 : 43 | muztagh ata | 7546 | 24757 | muztagata kunlun | 38°16′33′′n 75°06 | 2735 | kongur tagh | 1956 | many row 6 : 53 | pumari chhish | 7492 | 24580 | hispar karakoram | 36°12′41′′n 75°15 | 890 | khunyang chhish | 1979 | 1 (2) row 7 : 62 | yangra/ ganesh | 7422 | 24350 | ganesh himalaya | 28°23′29′′n 85°07 | 2352 | manaslu | 1955 | 1 (6) row 8 : 69 | ghent kangri | 7401 | 24281 | saltoro karakoram | 35°31′04′′n 76° | 1493 | saltoro kangri | 1961 | 4 (0) row 9 : 80 | chamlang | 7321 | 24019 | mahalangur himalaya | 27°46′30′′n 86° | 1240 | lhotse | 1961 | 7 (1) row 10 : 87 | baintha brakk/ the ogre | 7285 | 23901 | panmah karakoram | 35°56′51′′n 75°45 | 1891 | kanjut sar | 1977 | 3 (13) row 11 : 97 | mukut parbat | 7242 | 23760 | garhwal himalaya | 30°56′57′′n 79° | 840 | kamet | 1951 | 2 (1) ] Execute this SQL based on the above table: select height (m) where parent mountain = 'manaslu'
7871.0, 7422.0
[ header: election | party name | total votes | share of votes | seats | share of seats | party leader(s) | notes row 1 : 1961 | progressive party | 69045 | 8.6% | 1 | 0.6% | jan steytler | national party (np) victory row 2 : 1966 | progressive party | 39717 | 3.1% | 1 | 0.6% | jan steytler | np victory row 3 : 1970 | progressive party | 51760 | 3.5% | 1 | 0.6% | jan steytler | np victory row 4 : 1974 | progressive party | 58768 | 5.3% | 7 | 4.1% | colin eglin | np victory row 5 : 1977 | progressive federal party | 177705 | 16.7% | 17 | 10.3% | colin eglin | np victory; pfp gains row 6 : 1981 | progressive federal party | 265297 | 19.4% | 27 | 15.2% | frederik van zyl slabbert | np victory; pfp remains row 7 : 1987 | progressive federal party | 288579 | 13.9% | 20 | 11.2% | colin eglin | np victory; pfp lose row 8 : 1989 | democratic party | 431444 | 20.0% | 34 | 19.1% | zach de beer, denis wor | np victory ] Execute this SQL based on the above table: select count ( notes ) where total votes >= 1931
8
[ header: year | competition | venue | position | notes row 1 : 1995 | world indoor championships | barcelona, spain | 11th | pentathlon row 2 : 1996 | olympic games | atlanta, georgia, us | 24th | heptathlon row 3 : 1997 | world championships | athens, greece | 16th | heptathlon row 4 : 1998 | european indoor championships | valencia, spain | 7th | pentathlon row 5 : 1998 | european championships | budapest, hungary | 14th | heptathlon row 6 : 2000 | olympic games | sydney, australia | dnf | heptathlon ] Execute this SQL based on the above table: select year where venue = 'atlanta, georgia, usa'
1996
[ header: | date | opponents | h / a | result | score | attendance row 1 : 1 | 29 august | doncaster knights | h | w | 30 - 14 | 2232 row 2 : 2 | 5 september | london welsh | h | w | 22 - 3 | 2047 row 3 : 3 | 11 september | moseley | a | d | 26 - 26 | 751 row 4 : 4 | 19 september | birmingham & solihull | h | w | 32 - 15 | 1672 row 5 : 5 | 26 september | bristol | a | l | 7 - 21 | 4379 row 6 : 6 | 3 october | plymouth albion | h | w | 46 - 13 | 2439 row 7 : 7 | 9 october | bedford | a | l | 25 - 32 | 3243 row 8 : 8 | 17 october | rotherham titans | h | w | 40 - 15 | 1982 row 9 : 9 | 22 october | worcester warriors | a | w | 23 - 21 | 6928 row 10 : 10 | 31 october | esher | h | w | 54 - 6 | 1767 row 11 : 11 | 7 november | nottingham | a | w | 36 - 10 | 1637 row 12 : 12 | 14 november | london welsh | a | l | 16 - 23 | 1250 row 13 : 13 | 21 november | moseley | h | w | 50 - 7 | 1854 row 14 : None | 28 november | birmingham & solihull | a | None | p - p | None row 15 : 14 | 5 december | bristol | h | w | 16 - 6 | 2253 row 16 : 15 | 15 december | birmingham & solihull | a | w | 61 - 28 | 407 row 17 : None | 26 december | plymouth albion | a | None | p - p | None row 18 : 16 | 2 january | bedford blues | h | w | 23 - 13 | 3051 row 19 : 17 | 8 january | rotherham titans | a | l | 18 - 19 | 1067 row 20 : 18 | 12 january | plymouth albion | a | w | 10 - 6 | 2512 row 21 : 19 | 30 january | worcester warriors | h | l | 30 - 33 | 1976 row 22 : 20 | 5 february | esher | a | l | 12 - 13 | 1338 row 23 : 21 | 13 february | nottingham | h | w | 40 - 0 | 2486 row 24 : 22 | 19 february | doncaster knights | a | w | 16 - 13 | 1091 ] Execute this SQL based on the above table: select score where date = 1
23 - 13, 18 - 19, 10 - 6, 30 - 33
[ header: year | division | league | regular season | playoffs | open cup row 1 : 2008 | 4 | npsl | 2nd, mid atlantic | did not qualify | did not qualify row 2 : 2009 | 4 | npsl | 5th, atlantic | did not qualify | did not enter row 3 : 2010 | 4 | npsl | 5th, atlantic | did not qualify | did not enter row 4 : 2010-11 | 5 | csl i | in progress | None | None row 5 : 2011 | 4 | npsl | 4th, atlantic | did not qualify | did not enter row 6 : 2012 | 4 | npsl | 3rd, atlantic | did not qualify | did not enter row 7 : 2013 | 4 | npsl | 3rd, atlantic | did not qualify | did not enter ] Execute this SQL based on the above table: select playoffs where id = ( select id where open cup = 'did not enter' and playoffs = 'did not qualify' ) + 1
did not qualify
[ header: rank | mountain peak | mountain range | elevation | prominence | isolation | location row 1 : 1 | mount whitney | sierra nevada | 14,505 ft 4421 m | 10,080 ft 3072 m | 1,646 mi 2,649 km | 36°34′43′′n 118° row 2 : 2 | mount williamson | sierra nevada | 14,379 ft 4383 m | 1,677 ft 511 m | 5.4 mi 8.7 km | 36°39′21′′n 118° row 3 : 4 | north palisade | sierra nevada | 14,248 ft 4343 m | 2,894 ft 882 m | 32 mi 52 km | 37°05′39′′n 118° row 4 : 5 | mount shasta | cascade range | 14,179 ft 4322 m | 9,832 ft 2997 m | 335 mi 539 km | 41°24′33′′n 122° row 5 : 6 | mount humphreys | sierra nevada | 13,992 ft 4265 m | 2,563 ft 781 m | 15 mi 24 km | 37°16′14′′n 118° row 6 : 7 | mount keith | sierra nevada | 13,982 ft 4262 m | 1,936 ft 590 m | 3.1 mi 5.0 km | 36°42′00′′n 118° row 7 : 10 | mount morgan | sierra nevada | 13,758 ft 4193 m | 2,648 ft 807 m | 10 mi 16 km | 37°24′19′′n 118° row 8 : 11 | mount gabb | sierra nevada | 13,747 ft 4190 m | 2,601 ft 793 m | 4.3 mi 6.9 km | 37°22′37′′n 118° row 9 : 12 | mount tom | sierra nevada | 13,657 ft 4163 m | 1,992 ft 607 m | 4.8 mi 7.7 km | 37°22′34′′n 119° row 10 : 13 | mount dubois | white mountains | 13,565 ft 4135 m | 2,339 ft 713 m | 10 mi 16 km | 37°47′00′′n 118° row 11 : 15 | red slate mountain | sierra nevada | 13,162 ft 4012 m | 1,736 ft 529 m | 8 mi 13 km | 37°30′27′′n 118° row 12 : 16 | mount ritter | sierra nevada | 13,149 ft 4008 m | 3,990 ft 1216 m | 22 mi 35 km | 37°41′21′′n 119° ] Execute this SQL based on the above table: select mountain range where id = ( select id where mountain range = 'cascade range' ) - 1
sierra nevada
[ header: team | car(s) | # | driver(s) | primary sponsor(s) | listed owner(s) | crew chief row 1 : akins-sutton motorsports | ford taurus | 98 | elton sawyer | lysol | brad akins | ricky viers row 2 : allcar racing | chevrolet monte carlo | 22 | jimmy kitchens | air jamaica vacations | dave carroll | todd lohse row 3 : buckshot racing | pontiac grand prix | 0 | larry pearson | cheez-it | billy jones | kenneth campbell row 4 : cicci-welliver racing | chevrolet monte carlo | 34 | mike mclaughlin | goulds pumps | frank cicci | jay smith row 5 : cicci-welliver racing | pontiac grand prix | 36 | tim fedewa | stanley tools | scott welliver | vic kangas row 6 : cicci-welliver racing | chevrolet monte carlo | 66 | todd bodine | phillips 66 | jeffrey welliver | donnie richeson row 7 : diamond ridge motorsports | chevrolet monte carlo | 4 | jeff purvis | lance snacks | gary bechtel | johnny allen row 8 : henderson brothers racing | chevrolet monte carlo | 75 | kelly denton (r) | big daddy's bbq sauce | charlie henderson | ron denton row 9 : hvp motorsports | chevrolet monte carlo | 63 | chuck bown | exxon superflo | hubert hensley | jeff hensley row 10 : innovative motorsports | chevrolet monte carlo | 47 | andy santerre | monro muffler brake | george debidart | kevin caldwell row 11 : joe gibbs racing | pontiac grand prix | 18 | bobby labonte | mbna | joe gibbs | bryant frazier row 12 : prw racing | ford taurus | 77 | ed berrier | lear corporation | tony hall | jimmy means row 13 : phil parsons racing | chevrolet monte carlo | 10 | phil parsons | alltel | marcia parsons | doug taylor row 14 : phoenix racing | chevrolet monte carlo | 1 | randy lajoie | bob evans restaurants | james finch | marc reno row 15 : progressive motorsports | chevrolet monte carlo | 32 | jeff green | kleenex | greg pollex | harold holly row 16 : reiser enterprises | chevrolet monte carlo | 17 | matt kenseth | dewalt tools | robbie reiser | robbie reiser row 17 : roush racing | ford taurus | 9 | jeff burton | track gear | jack roush | tommy morgan row 18 : sadler brothers racing | chevrolet monte carlo | 95 | bobby hamilton, j | shoney's inn | earl sadler | chick sadler row 19 : st motorsports | chevrolet monte carlo | 59 | mike dillon | kingsford | tad geschickter | steve plattenberger row 20 : team yellow racing | chevrolet monte carlo | 19 | mike skinner | yellow freight | david ridling | c. r. miller ] Execute this SQL based on the above table: select primary sponsor(s) order by # desc limit 1
lysol
[ header: | landmark name | location | summary row 1 : 1 | flagpole | the flagpole was once located at 10 s | flagpole erected in 1941 by del row 2 : 2 | water pump station and water tower | northeastern corner of the junction of innovation and | None row 3 : 3 | ammo bunker (s-1007) | southwest of vosler dr. (formerly | built by del e. webb construction row 4 : 4 | ammo bunker (s-1008) | southwest of vosler dr. (formerly | also built by del e. webb row 5 : 5 | civil engineering maintenance shop | northeastern corner of unity ave. | built by del e. webb construction row 6 : 6 | demountable hangar | located at the north apron of | built in 1925 and designed by webb, de row 7 : 7 | housing storage supply warehouse | northwestern corner of the junction of innovation and unity | built by del e. webb construction ] Execute this SQL based on the above table: select max ( )
7.0
[ header: district | representative | party | residence | counties represented row 1 : 1 | ogden driskill | republican | devils tower | converse, crook, goshen row 2 : 2 | jim anderson | republican | glenrock | converse, platte row 3 : 3 | curt meier | republican | lagrange | goshen, platte row 4 : 4 | tony ross | republican | cheyenne | laramie row 5 : 5 | fred emerich | republican | cheyenne | laramie row 6 : 6 | wayne johnson | republican | cheyenne | laramie row 7 : 7 | leslie nutting | republican | cheyenne | laramie row 8 : 8 | floyd esquibel | democratic | cheyenne | laramie row 9 : 9 | chris rothfuss | democratic | laramie | albany row 10 : 10 | phil nicholas | republican | laramie | albany row 11 : 11 | larry s. hicks | republican | baggs | albany, carbon row 12 : 12 | bernadine craft | democratic | rock springs | fremont, sweetwater row 13 : 13 | john hastert | democratic | green river | sweetwater row 14 : 14 | stan cooper | republican | kemmerer | lincoln, sublette, sweet row 15 : 15 | paul barnard | republican | evanston | uinta row 16 : 16 | dan dockstader | republican | afton | lincoln, sublette, row 17 : 17 | leland christensen | republican | alta | fremont, teton row 18 : 18 | hank coe | republican | cody | park row 19 : 19 | r. ray peterson | republican | cowley | big horn, park row 20 : 20 | gerald geis | republican | worland | big horn, hot springs, park, row 21 : 21 | bruce burns | republican | sheridan | sheridan row 22 : 22 | john schiffer | republican | kaycee | sheridan, johnson row 23 : 23 | john hines | republican | gillette | campbell row 24 : 24 | michael von flatern | republican | gillette | campbell row 25 : 25 | cale case | republican | lander | fremont row 26 : 26 | eli bebout | republican | riverton | fremont row 27 : 27 | bill landen | republican | casper | natrona row 28 : 28 | james lee anderson | republican | casper | natrona row 29 : 29 | drew perkins | republican | casper | natrona row 30 : 30 | charles scott | republican | casper | natrona ] Execute this SQL based on the above table: select district where residence = 'green river'
13.0
[ header: pos | no. | rider | manufacturer | laps | time/retired | grid | points row 1 : 1 | 75 | mattia pasini | aprilia | 27 | 39:44.091 | 3 | 25 row 2 : 2 | 19 | alvaro bautista | aprilia | 27 | 0.01 | 2 | 20 row 3 : 3 | 52 | lukas pesek | derbi | 27 | 0.111 | 1 | 16 row 4 : 5 | 24 | simone corsi | gilera | 27 | 9.372 | 9 | 11 row 5 : 6 | 1 | thomas luthi | honda | 27 | 10.57 | 13 | 10 row 6 : 7 | 18 | nicolas terol | derbi | 27 | 11.835 | 5 | 9 row 7 : 8 | 36 | mika kallio | ktm | 27 | 11.905 | 4 | 8 row 8 : 9 | 6 | joan olive | aprilia | 27 | 26.017 | 16 | 7 row 9 : 10 | 33 | sergio gadea | aprilia | 27 | 26.172 | 12 | 6 row 10 : 11 | 32 | fabrizio lai | honda | 27 | 26.361 | 6 | 5 row 11 : 12 | 38 | bradley smith | honda | 27 | 26.389 | 14 | 4 row 12 : 13 | 11 | sandro cortese | honda | 27 | 26.48 | 11 | 3 row 13 : 14 | 14 | gabor talmacsi | honda | 27 | 26.606 | 7 | 2 row 14 : 15 | 71 | tomoyoshi koyama | malaguti | 27 | 27.068 | 15 | 1 row 15 : 16 | 54 | randy krummenacher | ktm | 27 | 27.192 | 21 | None row 16 : 18 | 17 | stefan bradl | ktm | 27 | 46.201 | 18 | None row 17 : 19 | 95 | georg frohlich | honda | 27 | 56.274 | 28 | None row 18 : 20 | 35 | raffaele de rosa | aprilia | 27 | 56.549 | 25 | None row 19 : 21 | 26 | vincent braillard | aprilia | 27 | 56.782 | 31 | None row 20 : 23 | 15 | michele pirro | aprilia | 27 | 57.474 | 22 | None row 21 : 24 | 29 | andrea iannone | aprilia | 27 | 57.707 | 20 | None row 22 : 25 | 7 | alexis masbou | malaguti | 27 | +1:04.698 | 37 | None row 23 : 26 | 16 | michele conti | honda | 27 | +1:04.793 | 32 | None row 24 : 28 | 43 | manuel hernandez | aprilia | 27 | +1:17.323 | 30 | None row 25 : 29 | 23 | lorenzo baroni | honda | 27 | +1:17.507 | 26 | None row 26 : 30 | 21 | mateo tunez | aprilia | 27 | +1:20.583 | 29 | None row 27 : 32 | 98 | toni wirsing | honda | 26 | +1 lap | 42 | None row 28 : ret | 44 | karel abraham | aprilia | 16 | retirement | 33 | None row 29 : ret | 13 | dino lombardi | aprilia | 13 | retirement | 41 | None row 30 : ret | 37 | joey litjens | honda | 11 | retirement | 38 | None row 31 : ret | 22 | pablo nieto | aprilia | 9 | retirement | 8 | None ] Execute this SQL based on the above table: select manufacturer order by time/retired asc limit 1
aprilia
[ header: ship name | in service | project number | type | class | comments row 1 : lenin | 1959 | 92m | icebreaker | None | decommissioned 1989. museum ship row 2 : arktika | 1975 | 1052-1 | icebreaker | arktika | not operational row 3 : sibir | 1977 | 1052-2 | icebreaker | arktika | defueled and not operational since 1993 row 4 : rossiya | 1985 | 10521-1 | icebreaker | arktika | None row 5 : sevmorput | 1988 | 10081 | container ship | None | has ice-breaking bow row 6 : taymyr | 1989 | 10580-1 | river icebreaker | taymyr | None row 7 : sovetskiy soyuz | 1990 | 10521-2 | icebreaker | arktika | None row 8 : vaygach | 1990 | 10580-2 | river icebreaker | taymyr | None row 9 : yamal | 1993 | 10521-3 | icebreaker | arktika | None row 10 : 50 let pobedy | 2007 | 10521 | icebreaker | arktika | built as ural, completed in 2007 ] Execute this SQL based on the above table: select sum ( in service ) where ship name in ( 'sovetskiy soyuz' , 'rossiya' )
3975
[ header: year | party affiliation | winner | number of votes | party affiliation | loser | number of votes | percentage of votes row 1 : 1920 | republican | william f. kopp | 38100 | democrat | e.w. mcmanus | 20977 | 64% - 36% row 2 : 1930 | republican | william f. kopp | 27053 | democrat | max a. conrad | 15538 | 63% - 36% row 3 : 1932 | democrat | edward c. eich | 55378 | republican | william f. kopp | 46738 | 54% - 46% row 4 : 1936 | democrat | edward c. eich | 55721 | republican | john n. calhoun | 53474 | 51% - 49% row 5 : 1938 | republican | thomas e. martin | 46636 | democrat | james p. gaffney | 33765 | 58% - 42% row 6 : 1940 | republican | thomas e. martin | 70120 | democrat | mrs. zoe | 46040 | 60% - 40% row 7 : 1946 | republican | thomas e. martin | 52488 | democrat | clair a. williams | 32849 | 62% - 38% row 8 : 1948 | republican | thomas e. martin | 70959 | democrat | james d. france | 60860 | 53% - 46% row 9 : 1950 | republican | thomas e. martin | 70058 | democrat | james d. france | 43140 | 62% - 38% row 10 : 1954 | republican | fred schwengel | 67128 | democrat | john o'connor | 50577 | 57% - 43% row 11 : 1960 | republican | fred schwengel | 104737 | democrat | walter j. guenther | 67287 | 61% - 39% row 12 : 1962 | republican | fred schwengel | 65975 | democrat | harold stephens | 42000 | 61% - 39% row 13 : 1964 | democrat | john r. schmidhauser | 84042 | republican | fred schwengel | 80697 | 51% - 49% row 14 : 1966 | republican | fred schwengel | 64795 | democrat | john r. schmidhauser | 60534 | 51% - 48% row 15 : 1968 | republican | fred schwengel | 91419 | democrat | john r. schmidhauser | 81049 | 53% - 47% row 16 : 1970 | republican | fred schwengel | 60270 | democrat | edward mezvinsky | 59505 | 50% - 49% row 17 : 1974 | democrat | edward mezvinsky | 75687 | republican | james a. leach | 63540 | 54% - 46% row 18 : 1978 | republican | james a. leach | 79940 | democrat | richard e. meyers | 45037 | 63% - 36% row 19 : 1982 | republican | james a. leach | 89595 | democrat | bill gluba | 61734 | 59% - 41% row 20 : 1984 | republican | james a. leach | 131182 | democrat | kevin ready | 65293 | 68% - 33% row 21 : 1986 | republican | james a. leach | 86834 | democrat | john r. whitaker | 43985 | 66% - 34% ] Execute this SQL based on the above table: select loser order by year desc limit 1
john r. whitaker
[ header: version | date | development cycle | size (in kb) | download | notes row 1 : 0.1 | 9 june 1993 | beta | None | evolt | None row 2 : 0.2 | 14 june 1993 | beta | None | None | changelog row 3 : 0.3 | 16 june 1993 | beta | None | None | changelog row 4 : 0.4 | 18 june 1993 | beta | None | None | changelog row 5 : 0.5 | 24 june 1993 | beta | None | None | changelog row 6 : 0.6 | 30 june 1993 | beta | None | None | changelog row 7 : 0.8 | 5 november 1993 | beta | None | None | changelog (distinct version discontinued) row 8 : 0.9 | 12 november 1993 | beta-pre | None | None | None row 9 : 0.9 | 16 november 1993 | beta | None | None | changelog row 10 : 0.9 | 22 november 1993 | winsock alpha r9.2 | None | None | None row 11 : 1 | 17 february 1994 | release | None | evolt | None row 12 : 1.01 | None | release | None | None | None row 13 : 1.01a | 17 march 1994 | release | 521 | [5], evolt | changelog row 14 : 2 | None | alpha | None | None | development ceased ] Execute this SQL based on the above table: select version where development cycle < ( select development cycle where version = 1 ) order by development cycle desc limit 1
0.9
[ header: defendant | arrested | charge | result | sentence row 1 : john calvin bartlett | december 11, 1955 | infamous crimes against nature | pleaded guilty | six years of probation row 2 : charles brokaw | october 31, 1955 | lewd conduct with a minor | pleaded guilty | six months in prison plus probation row 3 : vernon cassel | october 31, 1955 | infamous crimes against nature | pleaded guilty | ten years in prison row 4 : ralph cooper | october 31, 1955 | lewd conduct with a minor | pleaded guilty | life imprisonment. served nine years row 5 : melvin dir | january 7, 1956 | lewd conduct with a minor | pleaded guilty | five years in prison, suspended. later violates row 6 : charles herbert gordon | december 11, 1955 | lewd and lascivious conduct | pleaded guilty | 15 years in prison row 7 : gordon larsen | december 11, 1955 | infamous crimes against nature | tried, found guilty | five years in prison row 8 : paris martin | december 11, 1955 | infamous crimes against nature | tried, found not guilty | none row 9 : joe moore | november 14, 1955 | infamous crimes against nature | pleaded guilty | seven years in prison. loses appeal to the row 10 : charles pruett | december 11, 1955 | infamous crimes against nature | pleaded guilty | five years in prison row 11 : reginald shaffer | december 11, 1955 | infamous crimes against nature | pleaded guilty | 15 years in prison row 12 : willard wilson | december 11, 1955 | infamous crimes against nature | pleaded guilty | five years in prison. loses appeal to the ] Execute this SQL based on the above table: select charge where charge != 'lewd conduct with a minor' and arrested = 12
infamous crimes against nature, lewd and lascivious conduct, infamous crimes against nature, infamous crimes against nature, infamous crimes against nature, infamous crimes against nature, infamous crimes against nature
[ header: year | date | venue | city | country | notes row 1 : 2012 | oct 27 - 31 | nara prefectural new public hall | nara | japan | None row 2 : 2011 | noc 28 - dec 1st | hyatt regency scott | scottsdale, arizona | usa | None row 3 : 2010 | oct 25 - 29 | palazzo degli affari | firenze | italy | None row 4 : 2009 | oct 19 - 24 | beijing hotel | beijing | china | None row 5 : 2008 | oct 27 - nov 1 | pan pacific hotel | vancouver, bc | canada | None row 6 : 2007 | sep 24-29 | university of augsburg | augsburg | germany | None row 7 : 2006 | oct 23-27 | fess parker's double | santa barbara | usa | isbn 1-59593-447-2 row 8 : 2005 | nov 6-11 | hilton | singapore | singapore | isbn 1-59593-044-2 row 9 : 2004 | oct 10-16 | None | new york | usa | isbn 1-58113-893-8 row 10 : 2003 | nov 2-8 | None | berkeley, californi | usa | isbn 1-58113-722-2 row 11 : 2002 | dec 1-6 | None | juan-les-pins on the | france | isbn 1-58113-620-x row 12 : 2001 | sep 30 - oct 5 | None | ottawa | canada | isbn 1-58113-394-4 row 13 : 2000 | oct 30 - nov 3 | marina del rey | los angeles, ca | usa | proceedings: isbn 1-58113-198 row 14 : 1999 | oct 30 - nov 5 | None | orlando, florida | usa | proc. part 1: isbn 1- row 15 : 1998 | sep 12-16 | university of bristol | bristol | united kingdom | isbn 0-201-30990-4 row 16 : 1997 | nov 9-13 | None | seattle, wa | usa | isbn 0-89791-99 row 17 : 1996 | nov 18 - 22 | hynes convention center | boston, ma | usa | isbn 0-89791-871 row 18 : 1995 | nov 5-9 | None | san francisco, ca | usa | isbn 0-89791-75 row 19 : 1994 | oct 15-20 | None | san francisco, ca | usa | isbn 0-89791-686-7 row 20 : 1993 | aug 1-6 | None | anaheim, ca | usa | isbn 0-89791-596 ] Execute this SQL based on the above table: select notes where notes != 'None' and country = 'usa'
isbn 1-59593-447-2, isbn 1-58113-893-8, isbn 1-58113-722-2, proceedings: isbn 1-58113-198-4; workshops: isbn 1-58113-311-1, proc. part 1: isbn 1-58113-151-8; proc. part 2: isbn 1-58113-239-5, isbn 0-89791-991-2, isbn 0-89791-871-1, isbn 0-89791-751-0, isbn 0-89791-686-7, isbn 0-89791-596-8
[ 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 japanese where year = ( select max ( year ) )
藁の楯
[ header: year | single | chart | position row 1 : 1975 | "sun goddess" | black singles | 20 row 2 : 1975 | "sun goddess" | disco singles | 5 row 3 : 1975 | "sun goddess" | pop singles | 44 row 4 : 1976 | "can't hide love" | black singles | 11 row 5 : 1976 | "can't hide love" | pop singles | 39 row 6 : 1976 | "sing a song/gratitude" | club play singles | 1 row 7 : 1976 | "sing a song" | black singles | 1 row 8 : 1976 | "sing a song" | pop singles | 5 ] Execute this SQL based on the above table: select count ( single ) where year > 1976
0
[ header: # | temple name | hangul | hanja | period of reign | personal name | relationship | note row 1 : 2 | daru | 다루왕 | 多婁王 | 28-77 | None | first son of onjo | None row 2 : 3 | giru | 기루왕 | 己婁王 | 77-128 | None | first son of daru | None row 3 : 5 | chogo | 초고왕 | 肖古王 | 166-214 | None | son of gaeru | also sogo (소고왕, 素古王) row 4 : 9 | chaekgye | 책계왕 | 責稽王 | 286-298 | None | son of goi | also cheonggye (청계왕, row 5 : 11 | biryu | 비류왕 | 比流王 | 304-344 | None | second son of gusu | None row 6 : 13 | geunchogo | 근초고왕 | 近肖古王 | 346-375 | yeogu | second son of biryu | also chogo (초고왕, 肖古王) row 7 : 17 | asin | 아신왕 | 阿莘王 | 392-405 | None | nephew of jinsa; first son | also aha (아화왕, 阿華王) row 8 : 19 | gu-isin | 구이신왕 | 久爾辛王 | 420-427 | None | first son of jeonji | None row 9 : 24 | dongseong | 동성왕 | 東城王 | 479-501 | modae (모대, 牟大) or | cousin of samgeum | None row 10 : 27 | wideok | 위덕왕 | 威德王 | 554-598 | chang (창, 昌) | first son of seong | also chang (창왕, 昌王) row 11 : 28 | hye | 혜왕 | 惠王 | 598-599 | gye (계, 季) | younger brother of wideok | also heon (헌왕, 獻王) row 12 : 30 | mu | 무왕 | 武王 | 600-641 | personal name jang (장, 璋 | youngest son of wideok | also mugang (무강왕, 武康王) or ] Execute this SQL based on the above table: select count ( hangul ) where # >= 7
14