inputs
stringlengths
291
3.71k
targets
stringlengths
1
2.65k
[ header: year | film | song | language row 1 : 2005 | the tiger | kaliya visha dhara | malayalam row 2 : 2006 | chinthamani kolacase | asathoma | malayalam row 3 : 2006 | the don | theme song | malayalam row 4 : 2007 | detective | theme song | malayalam row 5 : 2008 | sound of boot | yamuna sangitaam | malayalam row 6 : 2009 | kerala cafe (bgm) | lalitham hiranmyam | malayalam row 7 : 2010 | ringtone | 5 songs | malayalam row 8 : 2010 | "thriller | bgm | malayalam row 9 : 2011 | thaazhvaarakaat | 5 songs | malayalam row 10 : 2012 | shyloo | shyloo | kannada row 11 : 2012 | crime story | 3 songs | malayalam row 12 : 2012 | munjane | yaro ob sund | kannada row 13 : 2012 | sankranthi | belakkilla balali | kannada row 14 : 2012 | kai thunindavan | 5 songs | tamil ] Execute this SQL based on the above table: select count ( * ) where song = 'kaliya visha dhara'
1
[ header: rank | name | height | floors | year | notes row 1 : 1 | zions bank building zions bank building | 323 ft (98 m) | 20 | 2013 | tallest building in state since 2013 row 2 : 2 | boise airport air traffic control tower | 295 ft (90 m) | None | 2009 | tallest atc tower in the northwest row 3 : 3 | us bank plaza us bank building in downtown bois | 267 ft (81 m) | 19 | 1978 | tallest building in state from 1978 to 2013. " row 4 : 3 | one capital center one capital center in downtown boise | 206 ft (63 m) | 14 | 1975 | tallest building in boise from 1975 to 1978 row 5 : 4 | idaho state capitol i | 198 ft (60 m) | 4 | 1920 | tallest building in boise from 1920 to 1975 row 6 : 5 | the grove hotel grove hotel in downtown bois | 196 ft (60 m) | 16 | 2000 | None row 7 : 6 | the aspen aspen loft building in downtown bois | 194 ft (59 m) | 17 | 2009 | None row 8 : 7 | wells fargo building wells fargo building | 182 ft (55 m) | 11 | 1988 | first interstate until 1996 row 9 : 8 | banner bank building banner bank building in downtown boise | 181 ft (55 m) | 11 | 2006 | None row 10 : 9 | key tower key bank building in downtown boise, | 174 ft (53 m) | 13 | 1963 | bank of idaho until 1981 row 11 : 10 | bronco stadium bronco stadium in bois | 170 ft (52 m) | None | 1970 | None row 12 : 11 | hoff building hoff building in downtown boise | 165 ft (50 m) | 14 | 1930 | None row 13 : 12 | chase tower plaza chase building in downtown boise | 160 ft (49 m) | 11 | 1995 | washington mutual until 2009 row 14 : 13 | idaho power building i | 160 ft (49 m) | 9 | 1990 | None ] Execute this SQL based on the above table: select name group by name order by count ( * ) desc limit 1
zions bank building zions bank building in downtown boise, idaho
[ header: goal | date | venue | opponent | score | result | competition row 1 : 1 | 10 october 1998 | tyencastle park, e | estonia | 1-1 | 3-2 | ecqg9 row 2 : 2 | 10 october 1998 | tyencastle park, e | estonia | 3-2 | 3-2 | ecqg9 row 3 : 3 | 14 october 1998 | pittodrie stadium, aberdeen | faroe islands | 2-0 | 2-1 | ecqg9 row 4 : 4 | 4 september 1999 | olimpijski stadion | bosnia and herzegovin | 2-1 | 2-1 | ecqg9 row 5 : 5 | 24 march 2001 | hampden park, glasgow | belgium | 1-0 | 2-2 | wcqg6 row 6 : 6 | 24 march 2001 | hampden park, glasgow | belgium | 2-0 | 2-2 | wcqg6 row 7 : 7 | 28 march 2001 | hampden park, glasgow | san marino | 3-0 | 4-0 | wcqg6 ] Execute this SQL based on the above table: select avg ( goal )
4.0
[ header: serial number | river | name | area (km2) | district | co-ordinate | altitude (m) row 1 : 1 | bharathapuzha | malampuzha | 23.13 | palakkad | 10°50′n 76°41′ | 104 row 2 : 2 | bharathapuzha | mangalam | 3.93 | palakkad | 10°31′n 76°32′ | 72 row 3 : 3 | bharathapuzha | meenkara | 2.59 | palakkad | 10°37′n 76°48′ | 152 row 4 : 4 | bharathapuzha | chulliar | 1.59 | palakkad | 10°35′n 76°46′ | 143 row 5 : 5 | bharathapuzha | pothundi | 3.63 | palakkad | 10°32′n 76°38′ | 93 row 6 : 9 | chalakkudy | thunakkadavu | 2.83 | palakkad | 10°25′59′′n 76° | 565 row 7 : 10 | chalakkudy | peruvaaripallam | None | palakkad | 10°26′49′′n 76° | 565 row 8 : 12 | chalakkudy | peringalkuthu dam | 2.63 | thrissur | None | None row 9 : 13 | kallada | parappar | 25.9 | kollam | 09° 57' 77° 4' | None row 10 : 15 | karuvanoor | peechi | 12.63 | thrissur | 10°32′n 76°23′ | 73 row 11 : 16 | keecheri | vazhani | 2.55 | thrissur | 10° 40' 76° 15' | None row 12 : 17 | kuttiadi | kuttiadi | 10.52 | kozhikode | 11° 36' 75° 49'27" | None row 13 : 19 | pamba | pamba | 5.7 | pathanamthitta | 09° 20' 76° 53' | None row 14 : 20 | pamba | kakki | 18 | pathanamthitta | None | None row 15 : 21 | periyar | idukki | 61.6 | idukki | 09° 48' 76° 53' | 720 row 16 : 22 | periyar | ponmudi | 2.6 | idukki | 09° 55' 77° 05' | None row 17 : 24 | periyar | kundala | 2.3 | idukki | 10° 0' 77° 0 | None row 18 : 26 | periyar | sengulam | 0.33 | idukki | 10° 00' 77° 05 | None row 19 : 27 | periyar | neriamangalam | 4.13 | idukki | None | None row 20 : 30 | valapattanam | pazhassi | 6.48 | kannur | None | None row 21 : 33 | chimmini dam | thrissur | 85.067 | thrissur | None | None ] Execute this SQL based on the above table: select district where co-ordinate is null
thrissur, pathanamthitta, idukki, kannur, thrissur
[ header: name | country | ambassador since | projects and activities they support | link row 1 : ara abramyan | russia | 15 july 2003 | dialogue among civilizations | row 2 : valdas adamkus | lithuania | 29 september 2003 | construction of knowledge societies | row 3 : mehriban aliyeva | azerbaijan | 9 september 2004 | promotion and safeguarding of intangible cultural heritage | row 4 : alicia alonso | cuba | 7 june 2002 | promotion of ballet dancing (programme of intang | row 5 : pierre berge | france | 2 july 1993 | campaign against hiv/aids, human rights | row 6 : chantal biya | cameroon | 14 november 2008 | education and social inclusion | row 7 : the princess of hanover | monaco | 2 december 2003 | protection of children and the family, empowerment of women | row 8 : miguel angel estrella | argentina | 26 october 1989 | promotion of culture of peace and tolerance through music | row 9 : vigdis finnbogadotti | iceland | 1998 | promotion of linguistic diversity, women's rights | row 10 : princess firyal of jordan | jordan | 1992 | promotion of the education for all initiative, humanitarian actions | row 11 : ivry gitlis | israel | 1990 | support of education and culture of peace and tolerance | row 12 : bahia hariri | lebanon | 17 november 2000 | preservation of world heritage, education, culture, women | row 13 : jean michel jarre | france | 24 may 1993 | protection of the environment (water, fight against desert | row 14 : princess lalla meryem of mor | morocco | july 2001 | protection of childhood and women's rights | row 15 : omer zulfu livan | turkey | 20 september 1996 | promotion of peace and polerance through music and promotion | row 16 : princess maha chakri sirindhorn of | thailand | 24 march 2005 | empowerment of minority children and the preservation of their in | row 17 : keith chatsauka-coetze | south africa | 12 july 2012 | None | row 18 : rigoberta menchu tum | guatemala | 21 june 1996 | promotion of culture of peace, protection of rights of | row 19 : vik muniz | brazil | 27 may 2011 | None | row 20 : kitin munoz | spain | 22 april 1997 | protection and promotion of indigenous cultures and their environment | row 21 : cristina owen-jones | italy | 23 march 2004 | hiv/aids prevention education program | row 22 : kim phuc phan | vietnam | 10 november 1994 | protection and education for children, orphans and | row 23 : susana rinaldi | argentina | 28 april 1992 | street children, culture of peace | row 24 : sheikh ghassan i. | saudi arabia | 1989 | fundraising, children and women in need, victims of | row 25 : madanjeet singh | india | 16 november 2000 | founder of the south asia foundation, which promote | row 26 : zurab tsereteli | georgia | 30 march 1996 | cultural and artistic projects | ] Execute this SQL based on the above table: select country where name = 'madanjeet singh'
india
[ header: year | winner | runner-up | final score | third row 1 : 1992 | budivelnyk | nki mykolaiv | round-robin | spartak lugansk row 2 : 1993 | budivelnyk | ska kyiv | round-robin | nki mykolaiv row 3 : 1994 | budivelnyk | kyiv-basket | 3-0 | bipa-moda odesa row 4 : 1995 | budivelnyk | kyiv-basket | 3-0 | shakhtar-asko donetsk row 5 : 1996 | budivelnyk | shakhtar donetsk | round-robin | kyiv-basket row 6 : 1997 | budivelnyk | bipa-moda odesa | 3-2 | kyiv-basket row 7 : 1998 | bipa-moda odesa | budivelnyk | 3-0 | sc mykolaiv row 8 : 1999 | bipa-moda odesa | cska-riko kyiv | 3-2 | budivelnyk row 9 : 2000 | kyiv | mbc odesa | 3-2 | cska-ukrtatna row 10 : 2001 | mbc odesa | kyiv | 3-2 | azovmash row 11 : 2002 | mbc odesa | kyiv | 3-2 | azovmash row 12 : 2003 | azovmash | mbc odesa | 4-0 | kyiv row 13 : 2004 | azovmash | kyiv | 4-2 | mbc odesa row 14 : 2005 | kyiv | azovmash | 3-0 | khimik row 15 : 2006 | azovmash | kyiv | 3-1 | khimik row 16 : 2007 | azovmash | kyiv | 3-2 | khimik row 17 : 2008 | azovmash | kyiv | 3-1 | khimik row 18 : 2009 | azovmash | donetsk | 3-0 | khimik row 19 : 2010 | azovmash | budivelnyk | 3-2 | ferro-zntu row 20 : 2011 | budivelnyk | donetsk | 4-3 | hoverla row 21 : 2012 | donetsk | azovmash | 4-0 | ferro-zntu row 22 : 2013 | budivelnyk | azovmash | 4-3 | ferro-zntu ] Execute this SQL based on the above table: select winner where winner in ( 'kyiv' , 'azovmash' ) order by year desc limit 1
azovmash
[ 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 title where year = 1982
sleeping beauty and other favourite fairy tales
[ header: place | player | country | score | to par row 1 : 1 | tiger woods | united states | 67-66-67=200 | -16 row 2 : t2 | thomas bjørn | denmark | 69-69-68=206 | -10 row 3 : t2 | david duval | united states | 70-70-66=206 | -10 row 4 : t4 | darren clarke | northern ireland | 70-69-68=207 | -9 row 5 : t4 | loren roberts | united states | 69-68-70=207 | -9 row 6 : t4 | david toms | united states | 69-67-71=207 | -9 row 7 : t7 | ernie els | south africa | 66-72-70=208 | -8 row 8 : t7 | steve flesch | united states | 67-70-71=208 | -8 row 9 : t7 | tom lehman | united states | 68-70-70=208 | -8 row 10 : t7 | dennis paulson | united states | 68-71-70=208 | -8 ] Execute this SQL based on the above table: select abs ( ( select to par where player = 'steve flesch' ) - ( select to par where player = 'dennis paulson' ) )
0
[ header: conference | date | place | attendance | archive of presentations row 1 : wikimania 2005 | august 5-7 | frankfurt, germany | 380 | slides, video row 2 : wikimania 2006 | august 4-6 | cambridge, united states | 400 | slides and papers, video row 3 : wikimania 2007 | august 3-5 | taipei, roc ( | 440 | commons gallery row 4 : wikimania 2008 | july 17-19 | alexandria, eg | 650 | abstracts, slides,video row 5 : wikimania 2009 | august 26-28 | buenos aires, argentina | 559 | slides, video row 6 : wikimania 2010 | july 9-11 | gdansk, poland | about 500 | slides row 7 : wikimania 2011 | august 4-7 | haifa, israel | 720 | presentations, video row 8 : wikimania 2012 | july 12-15 | washington, d.c., united | 1400 | presentations, videos row 9 : wikimania 2013 | august 7-11 | hong kong | 700 | presentations, videos row 10 : wikimania 2014 | august 6-10 | london, united kingdom | None | None ] Execute this SQL based on the above table: select abs ( ( select attendance where conference = 'wikimania 2011' ) - ( select attendance where conference = 'wikimania 2010' ) )
220.0
[ header: main author | no. of patients | duration of follow-up years | linearized rate of infection | actuarial freedom from infective endocarditis row 1 : pavie | 675 | 5 | None | 98.2% for all patients, 97 row 2 : duncan (a) | 2720 | 6 | None | 97.3% for all patients, 97 row 3 : ionescu (b) | 1171 | 10 | None | 93.7% for all patients, 94 row 4 : zhu | 520 | 10 | None | 98% for all patients row 5 : revuelta | 239 | 8 | 0.67% per patient year | None row 6 : garcia-bengochea | 248 | 8 | 0.78% per patient year | None row 7 : holden (c) | 290 | 6 | 1.1% per patient year | None row 8 : bachet (d) | 224 | 6 | 1.6% per patient year | None ] Execute this SQL based on the above table: select linearized rate of infection where linearized rate of infection in ( '0.78% per patient year' , '1.1% per patient year' ) order by no. of patients desc limit 1
1.1% per patient year
[ 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 count ( * ) where rider = 509
0
[ header: year | div. | pos. | cup | top scorer (league) | score row 1 : 2003 | uzl | 12th | 1/4 | None | None row 2 : 2004 | uzl | 7th | 1/4 | rahmat inogamov | 8 row 3 : 2005 | uzl | 12th | 1/2 | alisher kholiqov | 6 row 4 : 2006 | uzl | 11th | 1/4 | alisher kholiqov | 9 row 5 : 2007 | uzl | 9th | r16 | None | None row 6 : 2008 | uzl | 15th | 1/4 | lochin soliev | 8 row 7 : 2009 | uzl | 15th | 1/4 | None | None row 8 : 2010 | 1st | 1st | r32 | abdulatif juraev | 27 row 9 : 2011 | uzl | 9th | r32 | sukhrob nematov | 7 row 10 : 2012 | uzl | 7th | 1/2 | vokhid shodiev | 5 row 11 : 2013 | uzl | 6th | r16 | vokhid shodiev | 12 ] Execute this SQL based on the above table: select top scorer (league) where id = ( select id where score = 7 ) - 1
abdulatif juraev
[ header: administrative area | area km2 | area sq mi | population | administrative centre row 1 : saint helena | 122 | 47 | 5809 | jamestown row 2 : ascension island | 91 | 35 | 1532 | georgetown row 3 : tristan da cunha | 184 | 71 | 388 | edinburgh of the seven seas row 4 : tristan da cunha | 98 | 38 | 382 | edinburgh of the seven seas row 5 : inaccessible island | 14 | 5 | 0 | denstone hut row 6 : nightingale island | 3.2 | 1 | 0 | west landing row 7 : gough island | 68 | 26 | 6 | transvaal bay row 8 : total | 397 | 153 | 7729 | jamestown ] Execute this SQL based on the above table: select count ( distinct population ) where administrative centre = 'transvaal bay'
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 order by nation desc limit 1
united states
[ header: community | currency | region | target date | notes row 1 : economic and monetary community of central africa (ce | central african cfa franc | africa | None | not yet functioning common market row 2 : west african economic and monetary union (u | west african cfa franc | africa | None | not yet functioning common market row 3 : gulf cooperation council (gcc) | khaleeji | middle east | 2013 | possibly gold backed, but postponed row 4 : east african community (eac) | east african shilling | africa | 2015 | to be used by the future east african row 5 : caribbean single market and economy (a | None | latin america /caribbean | 2015 | to supplement the oecs eastern ca row 6 : southern african customs union (sacu | south african rand | africa | 2015 | de facto for the cma member when the row 7 : southern african development community (sadc | south african rand (interim proposal) | africa | 2016 | to supplement or succeed the cma and southern africa row 8 : south asian association for regional cooperation | None | south asia | 2016 | None row 9 : union of south american nations (unasur) | latino | latin america /caribbean | 2019 | None row 10 : economic community of central african states (ecca | None | africa | None | to supplement the economic and monetary community of central row 11 : economic community of west african states (eco | None | africa | None | to succeed uemoa and wa row 12 : african economic community | None | africa | 2028 | see african monetary union row 13 : union state of russia and belarus | russian ruble | europe | None | None row 14 : arab league | arab dinar | arab states | None | arab dinar has been proposed ever since the creation ] Execute this SQL based on the above table: select count ( notes )
11
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 10 | juan pablo montoya | mclaren-mercedes | 60 | 1:24:29.588 | 3 | 10 row 2 : 2 | 5 | fernando alonso | renault | 60 | 2.739 | 1 | 8 row 3 : 3 | 9 | kimi raikkonen | mclaren-mercedes | 60 | 14.436 | 12 | 6 row 4 : 4 | 6 | giancarlo fisichella | renault | 60 | 17.914 | 6 | 5 row 5 : 5 | 3 | jenson button | bar-honda | 60 | 40.264 | 2 | 4 row 6 : 6 | 1 | michael schumacher | ferrari | 60 | +1:15.322 | 9 | 3 row 7 : 7 | 2 | rubens barrichello | ferrari | 60 | +1:16.567 | 5 | 2 row 8 : 8 | 17 | ralf schumacher | toyota | 60 | +1:19.212 | 8 | 1 row 9 : 9 | 16 | jarno trulli | toyota | 60 | +1:20.851 | 4 | None row 10 : 10 | 12 | felipe massa | sauber-petronas | 59 | +1 lap | 16 | None row 11 : 11 | 7 | mark webber | williams-bmw | 59 | +1 lap | 11 | None row 12 : 12 | 8 | nick heidfeld | williams-bmw | 59 | +1 lap | 14 | None row 13 : 13 | 14 | david coulthard | red bull-cosworth | 59 | +1 lap | 13 | None row 14 : 14 | 11 | jacques villeneuve | sauber-petronas | 59 | +1 lap | 10 | None row 15 : 15 | 15 | christian klien | red bull-cosworth | 59 | +1 lap | 15 | None row 16 : 16 | 4 | takuma sato | bar-honda | 58 | +2 laps | 7 | None row 17 : 17 | 18 | tiago monteiro | jordan-toyota | 58 | +2 laps | 20 | None row 18 : 18 | 21 | christijan albers | minardi-cosworth | 57 | +3 laps | 18 | None row 19 : 19 | 20 | patrick friesacher | minardi-cosworth | 56 | +4 laps | 19 | None row 20 : ret | 19 | narain karthikeyan | jordan-toyota | 10 | electrical | 17 | None ] Execute this SQL based on the above table: select count ( * ) where laps < 317
20
[ 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 constructor where driver = 'michael schumacher' and constructor != 'sauber-petronas'
ferrari
[ header: date | opponent# | rank# | site | result | attendance row 1 : september 9 | northern illinois | #4 | memorial stadium • lincoln, | w 48-17 | 76194 row 2 : september 16 | utah | #4 | memorial stadium • lincoln, | w 42-30 | 76333 row 3 : september 23 | at minnesota | #3 | hubert h. humph | w 48-0 | 58368 row 4 : september 30 | oregon state | #3 | memorial stadium • lincoln, | w 35-7 | 76290 row 5 : october 7 | kansas state | #4 | memorial stadium • lincoln, | w 58-7 | 76265 row 6 : october 14 | at missouri | #4 | faurot field • columbia | w 50-7 | 55620 row 7 : october 21 | at oklahoma state | #4 | lewis field • stillwater, o | w 48-23 | 40000 row 8 : october 28 | iowa state | #4 | memorial stadium • lincoln, | w 49-17 | 52877 row 9 : november 4 | at #2 colorado | #3 | folsom field • boulder, colorad | l 21-27 | 52877 row 10 : november 11 | kansas | #6 | memorial stadium • lincoln, | w 51-14 | 76232 row 11 : november 18 | oklahoma | #6 | memorial stadium • lincoln, | w 42-25 | 76404 row 12 : january 1 | vs. #5 florida state | #6 | sun devil stadium • tempe, ari | l 17-41 | 73953 ] Execute this SQL based on the above table: select date where rank# = '#6'
november 11, november 18, january 1
[ header: country | zone | national federation | #gm | #fide | national championship row 1 : australia | 3.6 | australian chess federation | 2 | 468 | australian chess championship row 2 : belarus | 1.8 | belarus chess federation | 13 | 425 | belarusian chess championship row 3 : bulgaria | 1.4 | българска ф | 25 | 606 | bulgarian chess championship row 4 : costa rica | 2.3c | federacion central de ajed | 1 | 88 | costa rican chess championship row 5 : england | 1.1a | english chess federation | 35 | 1211 | british chess championship row 6 : fiji | 3.6 | fiji chess federation | 0 | 9 | fijian chess championship row 7 : germany | 1.2a | deutscher schachbund | 66 | 10897 | german chess championship row 8 : guyana | None | guyana chess federation | None | None | guyanese chess championship row 9 : iceland | 1.3 | skaksamband islands | 11 | 227 | icelandic chess championship row 10 : luxembourg | 1.1b | federation luxembourgeoise des e | 1 | 99 | luxembourgian chess championship row 11 : morocco | 4.1 | fed. royale marocaine des e | 1 | 68 | moroccan chess championship row 12 : nepal | 3.5 | nepal chess association | 1 | 155 | nepal chess championship row 13 : peru | 2.4 | federacion peruana de | 1 | 258 | peruvian chess championship row 14 : singapore | 3.3 | singapore chess federation | 4 | 132 | singaporean chess championship row 15 : slovakia | 1.4 | slovensky sachovy z | 9 | 1152 | slovak chess championship row 16 : slovenia | 1.2a | sahovska zveza | 5 | 548 | slovenian chess championship row 17 : tajikistan | 3.4 | federazijai shakhmati | 1 | 17 | tajikistani chess championship row 18 : turkey | 1.5a | turkiye satranc | 2 | 545 | turkish chess championship row 19 : united states | 2.1 | united states chess federation | 61 | 1785 | u.s. chess championship row 20 : venezuela | 2.3c | fed. venezolana de a | 1 | 136 | venezuelan chess championship row 21 : zambia | 4.3 | chess federation of zambi | 1 | 21 | zambian chess championship ] Execute this SQL based on the above table: select ( select #fide where country = 'costa rica' ) < ( select #fide where country = 'singapore' )
1
[ header: main author | no. of patients | duration of follow-up years | linearized rate of infection | actuarial freedom from infective endocarditis row 1 : pavie | 675 | 5 | None | 98.2% for all patients, 97 row 2 : duncan (a) | 2720 | 6 | None | 97.3% for all patients, 97 row 3 : ionescu (b) | 1171 | 10 | None | 93.7% for all patients, 94 row 4 : zhu | 520 | 10 | None | 98% for all patients row 5 : revuelta | 239 | 8 | 0.67% per patient year | None row 6 : garcia-bengochea | 248 | 8 | 0.78% per patient year | None row 7 : holden (c) | 290 | 6 | 1.1% per patient year | None row 8 : bachet (d) | 224 | 6 | 1.6% per patient year | None ] Execute this SQL based on the above table: select sum ( no. of patients ) where linearized rate of infection in ( '1.1% per patient year' , '0.67% per patient year' )
529.0
[ 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 count ( species ) where location grown = 'tennessee national forest'
1
[ header: week | date | opponent | result | venue | attendance row 1 : 1 | september 3, 1978 | at detroit lions | w 13-7 | pontiac silverdome | 51187 row 2 : 2 | september 10, 1978 | new orleans saints | w 28-17 | milwaukee county stadium | 54336 row 3 : 3 | september 17, 1978 | oakland raiders | l 28-3 | lambeau field | 55903 row 4 : 4 | september 24, 1978 | at san diego chargers | w 24-3 | san diego stadium | 42755 row 5 : 5 | october 1, 1978 | detroit lions | w 35-14 | milwaukee county stadium | 54601 row 6 : 6 | october 8, 1978 | chicago bears | w 24-14 | lambeau field | 56267 row 7 : 7 | october 15, 1978 | seattle seahawks | w 45-28 | milwaukee county stadium | 52712 row 8 : 8 | october 22, 1978 | at minnesota vikings | l 21-7 | metropolitan stadium | 47411 row 9 : 9 | october 29, 1978 | tampa bay buccaneers | w 9-7 | lambeau field | 55108 row 10 : 10 | november 5, 1978 | at philadelphia eagle | l 10-3 | veterans stadium | 64214 row 11 : 11 | november 12, 1978 | dallas cowboys | l 42-14 | milwaukee county stadium | 55256 row 12 : 12 | november 19, 1978 | at denver broncos | l 16-3 | mile high stadium | 74965 row 13 : 13 | november 26, 1978 | minnesota vikings | t 10-10 (ot) | lambeau field | 51737 row 14 : 14 | december 3, 1978 | at tampa bay buccaneers | w 17-7 | tampa stadium | 67754 row 15 : 15 | december 10, 1978 | at chicago bears | l 14-0 | soldier field | 34306 row 16 : 16 | december 17, 1978 | at los angeles rams | l 31-14 | los angeles memorial coliseum | 42500 ] Execute this SQL based on the above table: select result where id = ( select id where result = 'l 16-3' ) + 1
t 10-10 (ot)
[ header: name | rank | age | years until mandatory retirement | appointed by | year appointed row 1 : anabelle rodriguez | associate justice | 64 | 6 years | sila maria calderon | 2004 row 2 : edgardo rivera garcia | associate justice | 59 | 11 years | luis fortuno | 2010 row 3 : erick kolthoff caraball | associate justice | 53 | 17 years | luis fortuno | 2009 row 4 : federico hernandez denton | chief justice | 70 | 0 year | sila maria calderon | 2004 row 5 : liana fiol matta | associate justice | 68 | 2 years | sila maria calderon | 2004 row 6 : luis estrella martinez | associate justice | 43 | 27 years | luis fortuno | 2011 row 7 : mildred pabon charneco | associate justice | 57 | 13 years | luis fortuno | 2009 row 8 : rafael martinez | associate justice | 55 | 15 years | luis fortuno | 2009 row 9 : roberto feliberti c | associate justice | 51 | 19 years | luis fortuno | 2011 ] Execute this SQL based on the above table: select age where name = 'roberto feliberti cintron'
51
[ header: team | county | wins | years won row 1 : greystones | wicklow | 1 | 2011 row 2 : ballymore eustace | kildare | 1 | 2010 row 3 : maynooth | kildare | 1 | 2009 row 4 : ballyroan abbey | laois | 1 | 2008 row 5 : fingal ravens | dublin | 1 | 2007 row 6 : confey | kildare | 1 | 2006 row 7 : crettyard | laois | 1 | 2005 row 8 : wolfe tones | meath | 1 | 2004 row 9 : dundalk gaels | louth | 1 | 2003 ] Execute this SQL based on the above table: select team where team = 'ballyroan abbey'
ballyroan abbey
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | united states | 5 | 6 | 5 | 16 row 2 : 2 | jamaica | 4 | 1 | 1 | 6 row 3 : 3 | netherlands | 2 | 0 | 0 | 2 row 4 : 4 | bahamas | 1 | 1 | 0 | 2 row 5 : 5 | ukraine | 1 | 0 | 1 | 2 row 6 : 6 | east germany | 1 | 0 | 0 | 1 row 7 : 6 | greece | 1 | 0 | 0 | 1 row 8 : 6 | soviet union | 1 | 0 | 0 | 1 row 9 : 9 | ivory coast | 0 | 2 | 0 | 2 row 10 : 9 | united kingdom | 0 | 2 | 0 | 2 row 11 : 11 | belgium | 0 | 1 | 1 | 2 row 12 : 12 | bulgaria | 0 | 1 | 0 | 1 row 13 : 12 | russia | 0 | 1 | 0 | 1 row 14 : 12 | germany | 0 | 1 | 0 | 1 row 15 : 15 | canada | 0 | 0 | 2 | 2 row 16 : 15 | france | 0 | 0 | 2 | 2 row 17 : 17 | belarus | 0 | 0 | 1 | 1 row 18 : 17 | cuba | 0 | 0 | 1 | 1 row 19 : 17 | gabon | 0 | 0 | 1 | 1 row 20 : 17 | british virgin islands | 0 | 0 | 1 | 1 row 21 : total | total | 16 | 16 | 16 | 48 ] Execute this SQL based on the above table: select count ( nation ) where total > 2
3
[ header: episode number | original airdate | title | disc | description row 1 : 48 | 30 january 1983 | "the frozen turkey man" | 1 | for a joke, compo and cle row 2 : 49 | 6 february 1983 | "the white man's grave" | 1 | the trio have clegg stand in for wall row 3 : 50 | 13 february 1983 | "the waist land" | 1 | foggy attempts to earn some ready cash by row 4 : 51 | 20 february 1983 | "cheering up ludovic | 1 | clegg is roped in to drive row 5 : 52 | 27 february 1983 | "the three astaires" | 1 | the trio help out at a church concert, row 6 : 53 | 6 march 1983 | "the arts of concealment" | 1 | foggy lands himself in trouble with a ] Execute this SQL based on the above table: select title order by disc desc limit 1
"the frozen turkey man"
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 30 may 1928 | olympic stadium (amsterdam | mexico | 1-0 | 7-1 | 1928 summer olympics row 2 : 2 | 30 may 1928 | olympic stadium (amsterdam | mexico | 3-0 | 7-1 | 1928 summer olympics row 3 : 3 | 22 june 1930 | bologna, italy | italy | 1-0 | 3-2 | friendly row 4 : 4 | 22 june 1930 | bologna, italy | italy | 3-1 | 3-2 | friendly row 5 : 5 | 13 december 1931 | dublin, ireland | ireland | 3-0 | 5-0 | friendly row 6 : 6 | 13 december 1931 | dublin, ireland | ireland | 5-0 | 5-0 | friendly row 7 : 7 | 24 april 1932 | oviedo, spain | yugoslavia | 1-0 | 2-1 | friendly row 8 : 8 | 21 june 1933 | madrid, spain | bulgaria | 8-0 | 13-0 | friendly row 9 : 9 | 21 june 1933 | madrid, spain | bulgaria | 12-0 | 13-0 | friendly row 10 : 10 | 11 march 1934 | madrid, spain | portugal | 4-0 | 9-0 | 1934 world cup qualifier row 11 : 11 | 11 march 1934 | madrid, spain | portugal | 6-0 | 9-0 | 1934 world cup qualifier row 12 : 12 | 21 june 1934 | firenze, italy | italy | 1-0 | 1-1 | 1934 fifa world cup row 13 : 13 | 24 january 1935 | madrid, spain | bulgaria | 1-0 | 2-0 | friendly row 14 : 14 | 19 january 1936 | madrid, spain | austria | 2-4 | 4-5 | friendly row 15 : 15 | 19 january 1936 | madrid, spain | austria | 4-4 | 4-5 | friendly row 16 : 16 | 23 february 1936 | barcelona, spain | germany | 1-2 | 1-2 | friendly ] Execute this SQL based on the above table: select score where venue = 'madrid, spain'
8-0, 12-0, 4-0, 6-0, 1-0, 2-4, 4-4
[ header: pos | no | driver | constructor | lap | gap row 1 : 1 | 98 | walt faulkner | kurtis kraft-offenhaus | 4:27.97 | None row 2 : 2 | 28 | fred agabashian | kurtis kraft-offenhaus | 4:31.10 | + 3.13 row 3 : 3 | 31 | mauri rose | deidt-offenhauser | 4:32.07 | + 4.10 row 4 : 4 | 5 | george connor | lesovsky-offenhauser | 4:32.39 | + 4.42 row 5 : 5 | 1 | johnnie parsons | kurtis kraft-offenhaus | 4:32.43 | + 4.46 row 6 : 6 | 49 | jack mcgrath | kurtis kraft-offenhaus | 4:33.00 | + 5.03 row 7 : 7 | 69 | duke dinsmore | kurtis kraft-offenhaus | 4:34.67 | + 6.70 row 8 : 8 | 14 | tony bettenhausen | deidt-offenhauser | 4:34.92 | + 6.95 row 9 : 9 | 17 | joie chitwood | kurtis kraft-offenhaus | 4:35.32 | + 7.35 row 10 : 10 | 3 | bill holland | deidt-offenhauser | 4:35.90 | + 7.93 row 11 : 11 | 59 | pat flaherty | kurtis kraft-offenhaus | 4:37.76 | + 9.79 row 12 : 12 | 54 | cecil green | kurtis kraft-offenhaus | 4:30.86 | + 2.89 row 13 : 13 | 18 | duane carter | stevens-offenhauser | 4:33.42 | + 5.45 row 14 : 14 | 21 | spider webb | maserati-offenhauser | 4:37.46 | + 9.49 row 15 : 16 | 2 | myron fohr | marchese-offenhauser | 4:33.32 | + 5.35 row 16 : 17 | 24 | bayliss levrett | adams-offenhauser | 4:34.43 | + 6.46 row 17 : 18 | 45 | dick rathmann | watson-offenhauser | 4:34.96 | + 6.99 row 18 : 19 | 7 | paul russo | nichels-offenhauser | 4:35.25 | + 7.28 row 19 : 21 | 12 | henry banks | maserati-offenhauser | 4:37.68 | + 9.71 row 20 : 22 | 67 | bill schindler | snowberger-offenhauser | 4:31.31 | + 3.34 row 21 : 23 | 8 | lee wallard | moore-offenhauser | 4:31.83 | + 3.86 row 22 : 24 | 55 | troy ruttman | lesovsky-offenhauser | 4:32.91 | + 4.94 row 23 : 26 | 15 | mack hellings | kurtis kraft-offenhaus | 4:35.32 | + 7.35 row 24 : 27 | 22 | jimmy davies | ewing-offenhauser | 4:36.07 | + 8.10 row 25 : 29 | 27 | walt ader | rae-offenhauser | 4:37.05 | + 9.08 row 26 : 30 | 77 | jackie holmes | olson-offenhauser | 4:37.57 | + 9.60 row 27 : 32 | 61 | jimmy jackson | kurtis kraft-cummins | 4:38.62 | + 10.65 row 28 : 33 | 62 | johnny mcdowell | kurtis kraft-offenhaus | 4:37.58 | + 9.61 ] Execute this SQL based on the above table: select constructor order by driver desc limit 1
kurtis kraft-offenhauser
[ header: # | date | film | gross | notes row 1 : 2 | january 13, 2002 | the lord of the rings: the fellowship | $16,201,260 | None row 2 : 3 | january 20, 2002 | black hawk down | $28,611,736 | black hawk down broke save the last dance' row 3 : 5 | february 3, 2002 | black hawk down | $11,112,555 | None row 4 : 8 | february 24, 2002 | queen of the damned | $14,757,535 | None row 5 : 11 | march 17, 2002 | ice age | $46,312,454 | ice age broke liar l row 6 : 13 | march 31, 2002 | panic room | $30,056,751 | None row 7 : 14 | april 7, 2002 | panic room | $18,244,157 | None row 8 : 15 | april 14, 2002 | changing lanes | $17,128,062 | None row 9 : 24 | june 16, 2002 | scooby-doo | $54,155,312 | None row 10 : 26 | june 30, 2002 | mr. deeds | $37,162,787 | None row 11 : 28 | july 14, 2002 | men in black ii | $24,410,311 | None row 12 : 29 | july 21, 2002 | road to perdition | $15,412,515 | road to perdition reached #1 in its second weekend row 13 : 32 | august 11, 2002 | xxx | $44,506,103 | None row 14 : 33 | august 18, 2002 | xxx | $22,111,421 | None row 15 : 35 | september 1, 2002 | signs | $13,441,194 | None row 16 : 37 | september 15, 2002 | barbershop | $20,627,433 | None row 17 : 39 | september 29, 2002 | sweet home alabama | $35,648,740 | sweet home alabama broke rush hour row 18 : 43 | october 27, 2002 | jackass: the movie | $22,763,437 | None row 19 : 45 | november 10, 2002 | 8 mile | $51,240,555 | None row 20 : 47 | november 24, 2002 | die another day | $47,072,040 | None row 21 : 48 | december 1, 2002 | harry potter and the chamber of secrets | $32,117,496 | harry potter and the chamber of secrets ] Execute this SQL based on the above table: select count ( notes ) where # >= 208
0
[ header: rank | wrestler | no. of reigns | combined days row 1 : 1 | lou thesz | 3 | 3749 row 2 : 2 | ric flair | 8 | 3103 row 3 : 3 | harley race | 7 | 1799 row 4 : 4 | dory funk, jr | 1 | 1563 row 5 : 5 | dan severn | 2 | 1559 row 6 : 6 | gene kiniski | 1 | 1131 row 7 : 7 | adam pearce | 5 | 1078 row 8 : 8 | jeff jarrett | 6 | 1006 row 9 : 9 | pat o'connor | 1 | 903 row 10 : 10 | jack brisco | 2 | 866 row 11 : 11 | orville brown | 1 | 692 row 12 : 12 | buddy rogers | 1 | 573 row 13 : 13 | blue demon, jr | 1 | 505 row 14 : 14 | naoya ogawa | 2 | 469 row 15 : 15 | terry funk | 1 | 424 row 16 : 16 | dick hutton | 1 | 421 row 17 : 17 | rob conway | 1 | 294 row 18 : 18 | christian cage | 2 | 245 row 19 : 19 | whipper billy watson | 1 | 239 row 20 : 20 | sting | 2 | 216 row 21 : 21 | a.j. styles | 3 | 196 row 22 : 22 | mike rapada | 2 | 176 row 23 : 23 | steve corino | 1 | 175 row 24 : 24 | colt cabana | 2 | 152 row 25 : 25 | barry windham | 1 | 147 row 26 : 26 | masahiro chono | 1 | 145 row 27 : 27 | kahagas | 1 | 134 row 28 : 28 | ron killings | 2 | 119 row 29 : 29 | dusty rhodes | 3 | 107 row 30 : 30 | chris candido | 1 | 97 row 31 : 31 | raven | 1 | 88 row 32 : 32 | satoshi kojima | 1 | 159 row 33 : 33 | shinya hashimoto | 1 | 84 row 34 : 34 | the sheik | 1 | 79 row 35 : 35 | ricky steamboat | 1 | 76 row 36 : 36 | ron garvin | 1 | 62 row 37 : 37 | abyss | 1 | 56 row 38 : 39 | ken shamrock | 1 | 49 row 39 : 39 | brent albright | 1 | 49 row 40 : 40 | the great muta | 1 | 48 row 41 : 41 | sabu | 1 | 38 row 42 : 42 | giant baba | 3 | 19 row 43 : 43 | kerry von erich | 1 | 18 row 44 : 44 | gary steele | 1 | 7 row 45 : 45 | tommy rich | 1 | 4 row 46 : 46 | rhino | 1 | 2 row 47 : 47 | shane douglas | 1 | <1 ] Execute this SQL based on the above table: select count ( * ) where wrestler = '18'
0
[ header: outcome | no. | date | tournament | surface | partner | opponents in the final | score in the final row 1 : runner-up | 1 | 1969 | los angeles, u.s | hard | jim mcmanus | pancho gonzales ron | 3-6, 4-6 row 2 : runner-up | 2 | 1970 | merion, u.s | hard | jim mcmanus | william bowrey ray ruf | 6-3, 2-6, 5-7 row 3 : winner | 1 | 1971 | columbus, u.s | hard | jim mcmanus | jimmy connors ros | 4-6, 7-5, 6-2 row 4 : winner | 2 | 1971 | merion, u.s | hard | clark graebner | robert mckinley | 7-6, 6-3 row 5 : winner | 3 | 1971 | sacramento, u. | hard | jim mcmanus | bob maud frew m | 7-6, 6-3 row 6 : winner | 4 | 1972 | los angeles, u.s | outdoor | jim mcmanus | ilie nastase i | 6-2, 5-7, 6-4 row 7 : winner | 5 | 1972 | london/queen's club | grass | jim mcmanus | jurgen fassbender karl me | 4-6, 6-3, 7-5 row 8 : runner-up | 3 | 1972 | tanglewood, u.s | other | jim mcmanus | bob hewitt andrew | 4-6, 4-6 ] Execute this SQL based on the above table: select ( select date order by date desc limit 1 ) - ( select date order by date asc limit 1526 )
3
[ 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 count ( loser )
21
[ 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 where # >= 10
the sky didn't listen, behind me, we laugh, burdening me, try to understand, mask
[ header: place | code | area (km2) | population | most spoken language row 1 : beatrix mine | 40701 | 0.17 | 2492 | sotho row 2 : boipatong | 40702 | 0.31 | 1501 | sotho row 3 : brandfort | 40703 | 3.2 | 1516 | afrikaans row 4 : fora | 40704 | 0.05 | 530 | sotho row 5 : ikgomotseng | 40705 | 1.07 | 2254 | tswana row 6 : joel mine | 40706 | 0.11 | 728 | sotho row 7 : lusaka | 40707 | 1.4 | 6110 | sotho row 8 : majwemasweu | 40708 | 2.5 | 10328 | sotho row 9 : makeleketla | 40709 | 1.35 | 6629 | sotho row 10 : masilo | 40710 | 3.02 | 14903 | sotho row 11 : star diamond mine | 40712 | 0.11 | 212 | sotho row 12 : theunissen | 40713 | 15.11 | 1667 | afrikaans row 13 : tshepong | 40714 | 0.54 | 1710 | sotho row 14 : verkeerdevlei | 40715 | 1.22 | 151 | afrikaans row 15 : winburg | 40716 | 70.22 | 3371 | sotho row 16 : remainder of the municipality | 40711 | 6696.44 | 10304 | sotho ] Execute this SQL based on the above table: select place order by code limit 1
beatrix mine
[ header: area served | city of license | vc | rf | callsign | network | notes row 1 : cape girardeau | ~harrisburg il | 3 | 34 | wsil-tv | abc | None row 2 : cape girardeau | ~paducah ky | 6 | 32 | wpsd-tv | nbc | None row 3 : cape girardeau | cape girardeau | 23 | 22 | kbsi | fox | None row 4 : cape girardeau | ~marion il | 27 | 17 | wtct | ind | None row 5 : cape girardeau | ~paducah ky | 49 | 49 | wdka | mnt | None row 6 : columbia/jefferson city | sedalia | 6 | 15 | kmos-tv | pbs | None row 7 : columbia/jefferson city | columbia | 17 | 17 | kmiz | abc | None row 8 : hannibal | ~quincy il | 10 | 10 | wgem-tv | nbc | None row 9 : hannibal | ~quincy il | 16 | 32 | wtjr | ind | None row 10 : joplin | ~pittsburg ks | 7 | 7 | koam-tv | cbs | None row 11 : joplin | joplin | 12 | 43 | kode-tv | abc | None row 12 : joplin | ~pittsburg ks | 14 | 13 | kfjx | fox | None row 13 : joplin | joplin | 26 | 25 | kozj | pbs | satellite of kozk ch. row 14 : kansas city | kansas city | 4 | 34 | wdaf-tv | fox | None row 15 : kansas city | kansas city | 5 | 24 | kctv | cbs | None row 16 : kansas city | kansas city | 9 | 29 | kmbc-tv | abc | None row 17 : kansas city | kansas city | 19 | 18 | kcpt | pbs | None row 18 : kansas city | kansas city | 29 | 31 | kcwe | cw | None row 19 : kansas city | kansas city | 41 | 42 | kshb-tv | nbc | None row 20 : kirksville | kirksville | 3 | 33 | ktvo | abc | None row 21 : kirksville | ~ottumwa i | 15 | 15 | kyou-tv | fox | None row 22 : st. louis | st. louis | 24 | 14 | knlc | ind | None row 23 : st. louis | ~east st. louis | 46 | 47 | wrbu | mnt | None row 24 : springfield | springfield | 3 | 44 | kytv | nbc | None row 25 : springfield | springfield | 27 | 28 | kozl-tv | ind | None row 26 : springfield | ~harrison ar | 31 | 31 | kwbm | ind | None row 27 : springfield | springfield | 33 | 19 | kspr | abc | k15cz (cw) on row 28 : springfield | osage beach | 49 | 49 | krbk | fox | None row 29 : springfield | springfield | 8 | 8 | krft-ld | mundofox | tnn on 8.2, my family ] Execute this SQL based on the above table: select rf where network = 'fox'
22, 13, 34, 15, 49
[ 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 min ( year )
1975
[ header: call sign | frequency | city of license | licensee | format row 1 : kacl | 98.7 fm | bismarck | townsquare media bismarck license, ll | classic hits row 2 : kauj | 100.9 fm | grafton | simmons broadcasting | oldies row 3 : kbep-lp | 93.7 fm | bismarck | bismarck educational prayer association | None row 4 : kbmk | 88.3 fm | bismarck | educational media foundation | contemporary christian row 5 : kdkt | 1410 am | beulah | digital syndicate network | all sports row 6 : kdlr | 1240 am | devils lake | double z broadcasting | classic country row 7 : kdsr | 101.1 fm | williston | williston community broadcasting corp. d | adult hits row 8 : kegk | 106.9 fm | wahpeton | smahh communications ii | classic hits row 9 : keya | 88.5 fm | belcourt | keya, inc | country row 10 : keyz | 660 am | williston | ccr-williston i | news talk information row 11 : kfaa | 89.5 fm | horace | selah corporation | contemporary christian row 12 : kfgo | 790 am | fargo | midwest communications, inc | news talk information row 13 : kfnw | 1200 am | west fargo | northwestern college | religious row 14 : kjkr | 88.1 fm | jamestown | jamestown college | None row 15 : kkxl-fm | 92.9 fm | grand forks | citicasters licenses, inc | pop contemporary hit radio row 16 : kltc | 1460 am | dickinson | cc licenses, llc | classic country row 17 : kltq | 97.9 fm | beulah | synergy broadcast north dakota, | None row 18 : kmav-fm | 105.5 fm | mayville | kmsr, inc | country row 19 : kmsr | 1520 am | mayville | kmsr, inc | all sports row 20 : kmxa-fm | 99.9 fm | minot | cc licenses, llc | adult contemporary row 21 : kndc | 1490 am | hettinger | schweitzer media | country row 22 : kndk | 1080 am | langdon | kndk, inc | news talk information row 23 : knds-lp | 96.3 fm | fargo | alliance for the arts and humanities | None row 24 : knox | 1310 am | grand forks | leighton enterprises, inc | news talk information row 25 : koww-lp | 98.1 fm | burlington | pointe of view institute | None row 26 : kpfx | 107.9 fm | fargo | l&l licensee, llc | classic rock row 27 : kppr | 89.5 fm | williston | prairie public broadcasting, inc | variety row 28 : kqdj-fm | 101.1 fm | valley city | sioux valley broadcasting | pop contemporary hit radio row 29 : krrz | 1390 am | minot | aloha station trust, llc | oldies row 30 : krwk | 101.9 fm | fargo | midwest communications, inc | mainstream rock row 31 : ksjb | 600 am | jamestown | chesterman communications of jamestown, | classic country ] Execute this SQL based on the above table: select licensee order by frequency desc limit 1
kmsr, inc
[ header: year built | works number | wheel arr. | gauge | original owner | name | current location | notes row 1 : 1882 | 283 | 0-4-0st | 1 ft 10 3⁄4 in (5 | penrhyn quarry | charles | penrhyn castle railway museum | None row 2 : 1883 | 316 | 0-4-0st | 2 ft | penrhyn quarry | gwynedd | bressingham steam museum | penrhyn port class row 3 : 1883 | 317 | 0-4-0st | 1 ft 11 1⁄2 in (5 | penrhyn quarry | lilian | launceston steam railway | penrhyn port class row 4 : 1889 | 493 | 0-4-0st | 1 ft 11 3⁄4 in (6 | dinorwic quarry | elidir | llanberis lake railway | previously named "red damsel" row 5 : 1890 | 518 | 2-2-0t | (1000mm) | s.v.t. 8 | tortosa-la cava1 | tortosa (catalonia, spa | None row 6 : 1891 | 554 | 0-4-0st | 1 ft 11 1⁄2 in (5 | cilgwyn quarry, then penr | lilla | ffestiniog railway | None row 7 : 1894 | 606 | 0-4-0st | 2 ft | penrhyn quarry | alan george | teifi valley railway | None row 8 : 1896 | 652 | 0-4-0st | 1 ft 11 1⁄2 in (5 | groby granite, then dinorwic | lady madcap | welsh highland heritage railway | originally named sextus row 9 : 1898 | 680 | 0-4-0st | 2 ft (610 mm) | dinorwic quarry | george b | bala lake railway | None row 10 : 1898 | 684 | 0-4-0wt | 18 in (457 mm) | john knowles co | jack | armley mills industrial museum, leed | None row 11 : 1899 | 705 | 0-4-0st | 2 ft (610 mm) | penrhyn quarry | elin | yaxham light railway | previously at the lincolnshire coast row 12 : 1901 | 763 | 0-4-0st | 1 ft 11 1⁄2 in (5 | dorothea quarry | dorothea | launceston steam railway | None row 13 : 1903 | 823 | 0-4-0st | 2 ft | dinorwic quarry | irish mail | west lancashire light railway | None row 14 : 1909 | 994 | 0-4-0st | 2 ft | penrhyn quarry | bill harvey | bressingham steam museum | previously george sholto row 15 : 1918 | 1312 | 4-6-0t | 1 ft 11 1⁄2 in (5 | british war department efo | None | pampas safari, gravatai | [citation needed] row 16 : 1920 | 1404 | 0-4-0wt | 18 in (457 mm) | john knowles co | gwen | richard farmer current owner, northridge, | None row 17 : 1922 | 1429 | 0-4-0st | 2 ft (610 mm) | dinorwic | lady joan | bredgar and wormshill light | None row 18 : 1922 | 1430 | 0-4-0st | 1 ft 11 3⁄4 in (6 | dinorwic quarry | dolbadarn | llanberis lake railway | None ] Execute this SQL based on the above table: select gauge order by works number desc limit 1
1 ft 11 3⁄4 in (603 mm)
[ header: school | team name | town | county | enrollment (2010-11 & 2011-12) | primary mshsaa class* | football class row 1 : benton high school | (lady) cardinals | st. joseph | buchanan | 846 | 4 | 4 row 2 : bishop leblond high school | (lady) golden eagle | st. joseph | buchanan | 314 | 3 | 2 row 3 : cameron high school | (lady) dragons | cameron | clinton | 503 | 3 | 3 row 4 : chillicothe high school (missouri) | (lady) hornets | chillicothe | livingston | 638 | 4 | 3 row 5 : lafayette high school | fighting irish | st. joseph | buchanan | 801 | 4 | 4 row 6 : maryville high school | (lady) spoofhounds | maryville | nodaway | 473 | 3 | 2 row 7 : savannah high school | (lady) savages | savannah | andrew | 743 | 4 | 4 row 8 : smithville high school | (lady) warriors | smithville | clay | 727 | 4 | 4 ] Execute this SQL based on the above table: select team name where enrollment (2010-11 & 2011-12) < ( select min ( enrollment (2010-11 & 2011-12) ) where team name = 'fighting irish' ) order by enrollment (2010-11 & 2011-12) desc limit 1
(lady) savages
[ header: # | date | opponent | score | win | loss | save | attendance | record | other info row 1 : 104 | august 2 | phillies | 3 - 2 10 | smith (3-6) | calhoun (0-1) | None | 33629 | 54-50 | None row 2 : 105 | august 3 | @ pirates | 6 - 4 | drabek (3-10) | maddux (6-10) | gott (1) | 7281 | 54-51 | None row 3 : 106 | august 4 | @ pirates | 3 - 2 11 | mason (3-1) | gideon (1-2) | None | 8744 | 55-51 | None row 4 : 107 | august 5 | @ pirates | 10 - 0 | fisher (7-6) | moyer (9-8) | None | 7726 | 55-52 | None row 5 : 110 | august 8 | @ mets | 5 - 3 | mason (4-1) | schulze (1-2) | smith (27) | 47893 | 56-54 | None row 6 : 111 | august 9 | @ mets | 6 - 3 | sanderson (5-6) | gooden (9-4) | smith (28) | 49031 | 57-54 | None row 7 : 112 | august 10 | @ phillies | 4 - 2 | frohwirth (1-0) | moyer (9-9) | bedrosian (31) | 26796 | 57-55 | None row 8 : 113 | august 11 | @ phillies | 9 - 8 13 | k. gross (7-10) | tewksbury (0-4) | None | 30459 | 57-56 | None row 9 : 114 | august 12 | @ phillies | 13 - 7 | calhoun (1-1) | lynch (1-7) | None | 36190 | 57-57 | None row 10 : 116 | august 14 | mets | 6 - 1 | sanderson (6-6) | mitchell (3-5) | None | 17811 | 59-57 | None row 11 : 117 | august 15 | mets | 7 - 3 | moyer (10-9) | leach (10-1) | dipino (2) | 32425 | 60-57 | None row 12 : 118 | august 16 | mets | 23 - 10 | darling (10-7) | maddux (6-11) | None | 32731 | 60-58 | billy williams day ruined by row 13 : 119 | august 18 | @ braves | 9 - 5 | mahler (7-12) | lynch (1-8) | acker (8) | 17469 | 60-59 | None row 14 : 120 | august 19 | @ braves | 9 - 1 | sanderson (7-6) | puleo (5-6) | None | 10523 | 61-59 | None row 15 : 121 | august 20 | @ braves | 13 - 4 | acker (1-5) | moyer (10-10) | None | 11647 | 61-60 | None row 16 : 123 | august 22 | astros | 5 - 4 11 | andersen (8-4) | dipino (3-3) | smith (21) | 32552 | 62-61 | None row 17 : 124 | august 23 | astros | 4 - 2 | heathcock (3-1) | sutcliffe (15-6) | smith (22) | 33934 | 62-62 | None row 18 : 126 | august 27 | braves | 8 - 6 8 | lancaster (4-1) | mahler (7-13) | dipino (3) | 19006 | 63-63 | None row 19 : 127 | august 28 | @ reds | 6 - 5 10 | smith (4-7) | franco (7-5) | None | 28223 | 64-63 | None row 20 : 128 | august 29 | @ reds | 4 - 1 | browning (6-11) | sanderson (7-7) | None | 37783 | 64-64 | None ] Execute this SQL based on the above table: select score where id = ( select id where score = '6 - 5 10' ) - 1
8 - 6 8
[ header: institution | city | state | team name | affiliation | enrollment | home conference row 1 : augustana college (illinois) | rock island | illinois | vikings | private/lutheran | 2500 | cciw row 2 : aurora university | aurora | illinois | spartans | private/non-sectarian | 1685 | northern row 3 : beloit college | beloit | wisconsin | buccaneers | private/non-sectarian | 1300 | midwest row 4 : benedictine university | lisle | illinois | eagles | private/catholic | 3282 | northern row 5 : carthage college | kenosha | wisconsin | red men | private/lutheran | 2188 | cciw row 6 : concordia university wisconsin | mequon | wisconsin | falcons | private/lutheran | 1608 | northern row 7 : university of dubuque | dubuque | iowa | spartans | private/presbyterian | 1559 | iiac row 8 : elmhurst college | elmhurst | illinois | bluejays | private/united church of christ | 3400 | cciw row 9 : fontbonne university | st. louis | missouri | griffins | private/catholic | 2924 | sliac row 10 : college of mount st. josep | cincinnati | ohio | lions | private/catholic | 1334 | hcac row 11 : north central college | naperville | illinois | cardinals | private/methodist | 2900 | cciw ] Execute this SQL based on the above table: select institution order by team name desc limit 1
augustana college (illinois)
[ 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 listed owner(s) where # = ( select # where listed owner(s) = 'james finch' ) - 1
billy jones
[ header: province | capital | area (km2) | population | density row 1 : azua | azua | 2531.77 | 298246 | 118 row 2 : bahoruco | neiba | 1282.23 | 111269 | 87 row 3 : barahona | barahona | 1739.38 | 232818 | 134 row 4 : dajabon | dajabon | 1020.73 | 87274 | 86 row 5 : distrito nacional | santo domingo | 104.44 | 1402749 | 13431 row 6 : duarte | san francisco de macoris | 1605.35 | 338649 | 211 row 7 : el seibo | el seibo | 1786.8 | 110212 | 62 row 8 : elias pina | comendador | 1426.2 | 84632 | 59 row 9 : espaillat | moca | 838.62 | 333401 | 398 row 10 : hato mayor | hato mayor | 1329.29 | 103032 | 78 row 11 : hermanas mirabal | salcedo | 440.43 | 121887 | 277 row 12 : independencia | jimani | 2006.44 | 74583 | 37 row 13 : la altagracia | higuey | 3010.34 | 372289 | 124 row 14 : la romana | la romana | 653.95 | 344580 | 527 row 15 : la vega | concepcion de la vega | 2287.24 | 447905 | 196 row 16 : maria trinidad sanchez | nagua | 1271.71 | 195886 | 154 row 17 : monsenor nouel | bonao | 992.39 | 203183 | 205 row 18 : monte cristi | monte cristi | 1924.35 | 150833 | 78 row 19 : monte plata | monte plata | 2632.14 | 222641 | 85 row 20 : pedernales | pedernales | 2074.53 | 52165 | 25 row 21 : peravia | bani | 792.33 | 217241 | 274 row 22 : puerto plata | puerto plata | 1852.9 | 498232 | 269 row 23 : samana | samana | 853.74 | 139707 | 164 row 24 : san cristobal | san cristobal | 1265.77 | 640066 | 506 row 25 : san jose de ocoa | san jose de ocoa | 855.4 | 97640 | 114 row 26 : san juan | san juan de la magu | 3569.39 | 317293 | 89 row 27 : san pedro de macori | san pedro de macori | 1255.46 | 392911 | 313 row 28 : sanchez ramirez | cotui | 1196.13 | 248807 | 208 row 29 : santiago | santiago de los caballe | 2836.51 | 1543362 | 544 row 30 : santiago rodriguez | sabaneta | 1111.14 | 99044 | 89 row 31 : santo domingo | santo domingo este | 1296.35 | 3263053 | 2517 row 32 : valverde | mao | 823.38 | 217026 | 264 row 33 : total | None | 48666.83 | 12935223 | 266 ] Execute this SQL based on the above table: select ( select density where province = 'puerto plata' ) - ( select density where province = 'independencia' )
232.0
[ header: rank | name | nation | time | speed | note row 1 : 1 | vilija sereikaite | lithuania | 3:33.766 | 50.522 | q row 2 : 2 | ellen van dijk | netherlands | 3:35.951 | 50.011 | q row 3 : 3 | joanna rowsell | united kingdom | 3:37.641 | 49.623 | q row 4 : 4 | svitlana halyuk | ukraine | 3:42.498 | 48.539 | q row 5 : 5 | aksana papko | belarus | 3:43.935 | 48.288 | None row 6 : 6 | oxana kozonchuk | russia | 3:45.132 | 47.971 | None row 7 : 7 | jarmila machacova | czech republic | 3:47.209 | 47.533 | None row 8 : 8 | stephanie pohl | germany | 3:47.483 | 47.476 | None row 9 : 9 | lisa brennauer | germany | 3:48.017 | 47.364 | None row 10 : 10 | edyta jasinska | poland | 3:48.628 | 47.238 | None row 11 : 11 | audrey cordon | france | 3:49.376 | 47.084 | None row 12 : 12 | alena amialyusik | belarus | 3:49.711 | 47.015 | None row 13 : 13 | hannah mayho | united kingdom | 3:50.176 | 46.92 | None row 14 : 14 | viktoriya kondel | russia | 3:51.349 | 46.682 | None row 15 : 15 | oksana lyesnik | ukraine | 3:51.543 | 46.643 | None row 16 : 16 | elise van hage | netherlands | 3:55.349 | 45.889 | None row 17 : 17 | dominika maczka | poland | 4:01.597 | 44.702 | None ] Execute this SQL based on the above table: select name where nation = 'poland'
edyta jasinska, dominika maczka
[ header: rank | bib | country | distance (m) | points | time difference row 1 : 1 | 14 | germany tino edelmann | 124.5 127.0 | 264.3 128.0 136.3 | 0:00 row 2 : 2 | 10 | japan akito watabe t | 123.5 126.0 | 258.4 126.4 132.0 | +0:12 row 3 : 3 | 12 | austria bernhard gruber w | 123.0 122.0 | 251.8 123.3 128.5 | +0:25 row 4 : 4 | 11 | france jason lamy-chappuis | 120.5 118.5 | 242.7 121.8 120.9 | +0:43 row 5 : 5 | 13 | norway mikko kokslien | 118.0 118.5 | 238.1 116.8 121.3 | +0:52 row 6 : 6 | 8 | czech republic miroslav d | 114.5 120.0 | 232.8 110.7 122.1 | +1:03 row 7 : 7 | 7 | slovenia mitja oranic mar | 109.5 123.5 | 227.8 99.5 128.3 | +1:13 row 8 : 8 | 6 | finland ilkka herola | 120.5 113.5 | 226.6 115.4 111.2 | +1:15 row 9 : 9 | 4 | estonia han-hendrik pih | 113.0 113.0 | 217.5 107.4 110.1 | +1:34 row 10 : 10 | 9 | united states bill demong taylor | 111.0 112.5 | 214.1 104.9 109.2 | +1:40 row 11 : 11 | 1 | ukraine viktor pasichny | 107.0 115.0 | 206.2 95.7 110.5 | +1:56 row 12 : 12 | 2 | russia ernest yahin | 110.0 109.5 | 204.8 101.8 103.0 | +1:59 row 13 : 13 | 5 | italy armin bauer aless | 105.0 113.5 | 203.0 92.7 110.3 | +2:03 row 14 : 14 | 3 | switzerland seppi hur | 102.5 113.0 | 196.2 88.1 108.1 | +2:16 ] Execute this SQL based on the above table: select count ( country ) where country = 1
0
[ header: year | vote % | place | seats | place | cabinet row 1 : 1945 | None | None | 25 | 1st | yes row 2 : 1948 | None | None | 22 | 1st | yes row 3 : 1951 | None | None | 21 | 1st | yes row 4 : 1954 | 42.4 | 1st | 26 | 1st | yes row 5 : 1959 | 36.9 | 1st | 21 | 1st | yes row 6 : 1964 | 33.3 | 2nd | 22 | 1st | yes row 7 : 1968 | 35.2 | 1st | 21 | 1st | yes row 8 : 1974 | 27.6 | 2nd | 18 | 1st | no row 9 : 1979 | 34.5 | 1st | 24 | 1st | yes row 10 : 1984 | 34.9 | 1st | 25 | 1st | yes row 11 : 1989 | 32.4 | 1st | 22 | 1st | yes row 12 : 1994 | 30.3 | 1st | 21 | 1st | yes row 13 : 1999 | 30.1 | 1st | 19 | 1st | yes row 14 : 2004 | 36.1 | 1st | 24 | 1st | yes row 15 : 2009 | 38 | 1st | 26 | 1st | yes row 16 : 2013 | 33.6 | 1st | 23 | 1st | no ] Execute this SQL based on the above table: select place order by year limit 1
1st
[ 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 count ( * ) where single = '"je me souviens de tout"'
1
[ header: rank | athlete | country | time | notes row 1 : None | yevgeny kulikov | soviet union | 39.17 | or row 2 : None | valery muratov | soviet union | 39.25 | None row 3 : None | dan immerfall | united states | 39.54 | None row 4 : 4 | mats wallberg | sweden | 39.56 | None row 5 : 5 | peter mueller | united states | 39.57 | None row 6 : 6 | jan bazen | netherlands | 39.78 | None row 7 : 6 | arnulf sunde | norway | 39.78 | None row 8 : 8 | andrey malikov | soviet union | 39.85 | None row 9 : 9 | oloph granath | sweden | 39.93 | None row 10 : 10 | jim chapin | united states | 40.09 | None row 11 : 11 | tom overend | canada | 40.22 | None row 12 : 11 | masaki suzuki | japan | 40.22 | None row 13 : 13 | johan granath | sweden | 40.25 | None row 14 : 14 | gaetan boucher | canada | 40.53 | None row 15 : 15 | pertti niittyla | finland | 40.65 | None row 16 : 16 | norio hirate | japan | 40.85 | None row 17 : 16 | archie marshall | great britain | 40.85 | None row 18 : 18 | mikio oyama | japan | 40.9 | None row 19 : 19 | hans van helden | netherlands | 40.91 | None row 20 : 19 | emmanuel michon | france | 40.91 | None row 21 : 21 | kay arne stenshj | norway | 40.94 | None row 22 : 22 | lee yeong-ha | south korea | 41.08 | None row 23 : 23 | bruno toniolli | italy | 41.44 | None row 24 : 24 | harald oehme | east germany | 41.54 | None row 25 : 25 | colin coates | australia | 41.77 | None row 26 : 26 | berend schabus | austria | 42.33 | None row 27 : 27 | heinz steinberger | austria | 43.28 | None row 28 : 28 | jan egil storholt | norway | 18 | None row 29 : None | horst freese | west germany | dnf | None ] Execute this SQL based on the above table: select athlete order by id desc limit 1
horst freese
[ header: name | hanzi | population (2005) | area (km2) row 1 : qingxi | 清溪镇 | 20000 | 2.9 row 2 : ruyi | 如意镇 | 15100 | 33.85 row 3 : yintian | 银田镇 | 19500 | 28 row 4 : daping | 大坪乡 | 14300 | 32 row 5 : yongyi | 永义乡 | 10600 | 24 row 6 : shaoshan | 韶山乡 | 14700 | 37.62 row 7 : yanglin | 杨林乡 | 20600 | 58.8 ] Execute this SQL based on the above table: select population (2005) order by name desc limit 1
10600
[ header: # | title | directed by | written by | original air date | production code row 1 : 1 | "pilot" | michael dinner | peter elkoff | june 14, 2004 | 1aje01 row 2 : 2 | "tessa" | patrick norris | liz heldens | june 21, 2004 | 1aje02 row 3 : 3 | "surprise party" | james marshall | kevin falls & matt m | june 28, 2004 | 1aje03 row 4 : 4 | "meteor shower" | craig zisk | kevin falls & matt m | july 5, 2004 | 1aje04 row 5 : 5 | "my boyfriend's back" | david straiton | dana baratta | july 12, 2004 | 1aje05 row 6 : 6 | "secret service" | david grossman | jeff rake | july 19, 2004 | 1aje06 row 7 : 7 | "more" | michael fresco | liz heldens | august 2, 2004 | 1aje07 row 8 : 8 | "burned" | kevin hooks | karyn usher | august 9, 2004 | 1aje08 row 9 : 9 | "ties that bind" | patrick norris | gretchen j. berg | september 6, 2004 | 1aje09 row 10 : 10 | "vice" | kenneth biller | kenneth biller | september 13, 2004 | 1aje10 row 11 : 11 | "alexandra" | steve miner | chris brancato | september 20, 2004 | 1aje11 row 12 : 12 | "bellport" | patrick norris | peter elkoff | september 27, 2004 | 1aje12 row 13 : 13 | "leverage" | elodie keene | kevin falls & matt m | november 4, 2004 | 1aje13 row 14 : 14 | "illusions" | george mendeluk | kimberly costello | november 11, 2004 | 1aje14 row 15 : 15 | "the big one" | patrick norris | gretchen j. berg | november 18, 2004 | 1aje15 row 16 : 16 | "the cook, the waitress, the | kenneth biller | kenneth biller & dan | december 2, 2004 | 1aje16 row 17 : 17 | "sucker punch" | perry lang | liz heldens | december 9, 2004 | 1aje17 row 18 : 18 | "catwalk" | michael fresco | colleen mcguinness | december 16, 2004 | 1aje18 row 19 : 19 | "shark" | alan myerson | kevin falls & matt m | january 6, 2005 | 1aje19 row 20 : 20 | "the ex-games" | fred gerber | amy berg & andrew col | january 13, 2005 | 1aje20 row 21 : 21 | "the end" | elodie keene | karyn usher | unaired | 1aje21 ] Execute this SQL based on the above table: select count ( * ) where production code = '1aje10'
1
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 15 august 2012 | ullevaal stadion, | norway | 1-3 | 2-3 | friendly row 2 : 2 | 11 september 2012 | karaiskakis stadium, pir | lithuania | 2-0 | 2-0 | 2014 fifa world cup qualifier row 3 : 3 | 14 august 2013 | red bull arena, salzburg, austria | austria | 0-1 | 0-2 | friendly row 4 : 4 | 14 august 2013 | red bull arena, salzburg, austria | austria | 0-2 | 0-2 | friendly row 5 : 5 | 6 september 2013 | rheinpark stadion, | liechtenstein | 0-1 | 0-1 | 2014 fifa world cup qualifier row 6 : 6 | 15 november 2013 | karaiskakis stadium, pir | romania | 1-0 | 3-1 | 2014 fifa world cup qualifier - row 7 : 7 | 15 november 2013 | karaiskakis stadium, pir | romania | 3-1 | 3-1 | 2014 fifa world cup qualifier - row 8 : 8 | 19 november 2013 | arena nationala, bucharest, roman | romania | 0-1 | 1-1 | 2014 fifa world cup qualifier - ] Execute this SQL based on the above table: select count ( * ) where date = '14 august 2013'
2
[ header: season | date | jia-a/csl winner | result | fa cup winner | scorers | stadium row 1 : 1995 | 9 december 1995 | shanghai shenhua | 1 - 0 | jinan taishan ( | fan zhiyi | hongkou stadium, shangha row 2 : 1996 | 9 march 1997 | dalian wanda (now dalian | 3 - 2 | beijing guoan | wang tao (2), l | shenzhen stadium, shenzhen row 3 : 1997 | 12 march 1998 | dalian wanda (now dalian | 1 - 2 aet (g | beijing guoan | wang tao, olivas | wenzhou stadium, wenzhou row 4 : 1998 | 7 march 1999 | dalian wanda (now dalian | 0 - 3 | shanghai shenhua | wu chengying, marcel | mianyang stadium, mianyang row 5 : 1999 | 4 march 2000 | shandong luneng | 2 - 4 | liaoning fushun | li xiaopeng, casiano | hongkou stadium, shangha row 6 : 2000 | 30 december 2000 | dalian shide | 4 - 1 | chongqing lifan | hao haidong, wang pe | hongkou stadium, shangha row 7 : 2001 | 26 february 2002 | dalian shide | 1 - 3 (1 - 1 / | shanghai shenhua | srđan bajcetic | hongkou stadium, shangha row 8 : 2001 | 2 march 2002 | dalian shide | 1 - 3 (1 - 1 / | shanghai shenhua | orlando (2) | jinzhou stadium, dalian row 9 : 2002 | 6 february 2003 | dalian shide | 1 - 0 | qingdao beilaite | hao haidong | wuhan sports center, wu row 10 : 2003 | 18 january 2004 | shanghai shenhua | 3 - 4 | beijing hyundai ( | zhang yuning, z | olympic park stadium, w row 11 : 2012 | 25 february 2012 | guangzhou evergrande | 2 - 1 | tianjin teda | cleo (2) wang xinx | guangzhou university city stadium, gu row 12 : 2013 | 3 march 2013 | guangzhou evergrande | 1 - 2 | jiangsu sainty | salihi krivets | tianhe stadium, guangzhou row 13 : 2014 | 17 february 2014 | guangzhou evergrande | 0 - 1 | guizhou renhe | sun jihai | guizhou olympic stadium, ] Execute this SQL based on the above table: select date where id != ( select id where date = '6 february 2003' and result = '1 - 0' ) and jia-a/csl winner = ( select jia-a/csl winner where date = '6 february 2003' and result = '1 - 0' )
30 december 2000, 26 february 2002, 2 march 2002
[ header: draw | artist | song | points | place row 1 : 1 | mystique | "rendez-vous" | 25 | 8 row 2 : 2 | vulcano | "met jou d'rbi | 27 | 5 row 3 : 3 | bernadette | "soms" | 26 | 6= row 4 : 4 | deuce | "computer games" | 26 | 6= row 5 : 5 | music hall | "stop die show" | 54 | 3 row 6 : 6 | mystique | "op zo'n dag | 8 | 10 row 7 : 7 | bernadette | "sing me a song" | 69 | 1 row 8 : 8 | vulcano | "een beetje van dit | 68 | 2 row 9 : 9 | deuce | "stopwatch" | 20 | 9 row 10 : 10 | music hall | "voulez-vous danser" | 37 | 4 ] Execute this SQL based on the above table: select artist order by draw limit 1
mystique
[ header: year | competition | venue | position | notes row 1 : 2005 | european u23 championships | erfurt, germany | 7th | 72.81 m row 2 : 2008 | olympic games | beijing, china | 8th | 82.06 m (=pb row 3 : 2009 | universiade | belgrade, serbia | 5th | 78.29 m row 4 : 2010 | european championships | barcelona, spain | 14th (q) | 76.29 m row 5 : 2012 | olympic games | london, united kingdom | 15th (q) | 80.06 m row 6 : 2013 | world championships | moscow, russia | 32nd (q) | 72.66 m ] Execute this SQL based on the above table: select competition where id = ( select id where competition = 'european u23 championships' ) + 1
olympic games
[ header: place | team | played | won | draw | lost | goals scored | goals conceded | +/- | points row 1 : 1 | c.d. fas | 18 | 10 | 6 | 2 | 27 | 13 | 14 | 36 row 2 : 2 | c.d. aguila | 18 | 9 | 4 | 5 | 38 | 26 | 12 | 31 row 3 : 3 | c.d. luis angel fir | 18 | 7 | 7 | 4 | 25 | 18 | 7 | 28 row 4 : 4 | san salvador f.c | 18 | 8 | 4 | 6 | 31 | 27 | 4 | 28 row 5 : 5 | alianza f.c | 18 | 8 | 4 | 6 | 26 | 24 | 2 | 28 row 6 : 6 | a.d. isidro | 18 | 4 | 9 | 5 | 20 | 23 | -3 | 21 row 7 : 7 | municipal limeno | 18 | 5 | 5 | 8 | 27 | 29 | -2 | 20 row 8 : 8 | c.d. arcense | 18 | 2 | 11 | 5 | 23 | 32 | -11 | 17 row 9 : 9 | chalatenango | 18 | 4 | 5 | 9 | 13 | 22 | -9 | 17 row 10 : 10 | c.d. atletico balb | 18 | 4 | 3 | 11 | 15 | 31 | -24 | 15 ] Execute this SQL based on the above table: select count ( team ) where team = 'chalatenango' and team = 'c.d. aguila'
0
[ header: year | winners | score | runners up | notes row 1 : 1947 | wellington town reserves | 4-1 | walsall wood | None row 2 : 1949 | bilston town | 1-0 | oswestry town | None row 3 : 1950 | brereton social drew | None | None | None row 4 : 1951 | bloxwich strollers | 1-0 | walsall wood | after extra time row 5 : 1955 | shelfield athletic | 5-1 | walsall trinity | None row 6 : 1956 | shelfield athletic | 2-0 | ogley hay | None row 7 : 1959 | shelfield athletic | 4-0 | walsall wood | None row 8 : 1960 | shelfield athletic | 3-0 | walsall wood | None row 9 : 1965 | rushall olympic | 2-1 | brereton social | None row 10 : 1966 | lower gornal athletic | 4-2 | kidderminster harriers | after extra time row 11 : 1968 | wrockwardine wood | 2-1 | tamworth | None row 12 : 1971 | baddesley colliery | 4-3 | atherstone town | aggregate score, 1st leg 2-2, row 13 : 1973 | bilston town | 1-0 | darlaston | None row 14 : 1974 | brereton social | 3-2 | warley county borough | after extra time row 15 : 1977 | blakenall | 1-0 | bilston town | replay, 1st game 0-0 a row 16 : 1978 | sutton coldfield town | 2-0 | alvechurch | None row 17 : 1980 | sutton coldfield town | 1-0 | rushall olympic | None row 18 : 1981 | blakenall | 2-1 | sutton coldfield town | replay, 1st game 1-1 a row 19 : 1983 | coleshill town | 4-3 | wolverhampton united | None row 20 : 1984 | atherstone town | 4-0 | tividale | None row 21 : 1985 | harrisons | 2-0 | wolverhampton united | None row 22 : 1987 | boldmere st. michaels | 2-0 | bloxwich town | None row 23 : 1990 | meir ka | 2-1 | rushall olympic | replay, 1st game 0-0 a row 24 : 1991 | chasetown | 1-0 | blakenall | after extra time row 25 : 1992 | armitage 90 | 3-2 | meir ka | after extra time row 26 : 1993 | chasetown | 3-1 | pelsall villa | None row 27 : 1994 | newcastle town | 1-0 | oldbury united | after extra time row 28 : 1995 | newcastle town | 1-1 | knypersley victoria | after extra time, newcastle won on penalties row 29 : 1996 | blakenall | 0-0 | newcastle town | after extra time, blakenall won on row 30 : 1998 | blakenall | 2-1 | halesowen harriers | None row 31 : 1999 | blakenall | 3-2 | meir ka | None row 32 : 2000 | rushall olympic | 2-2 | rocester | after extra time, rushall won 5-4 on row 33 : 2001 | wolverhampton casuals | 2-0 | sutton coldfield town | None row 34 : 2002 | bolehall swifts | 4-4 | tividale | after extra time, bolehall won 4 row 35 : 2004 | sutton coldfield town | 3-1 | tividale | None row 36 : 2005 | chasetown | 2-1 | tividale | None row 37 : 2006 | boldmere st michaels | 1-0 | tipton town | None ] Execute this SQL based on the above table: select max ( year ) - min ( year )
59
[ header: title | date of creation | surname | first titular row 1 : duke of abrantes | december 9, 1753 | lorena | ana maria catarina hen row 2 : duke of albuquerque | may 19, 1886 | costa de sousa de macedo | joao afonso row 3 : duke of aveiro | b. 1535 | lencastre mascarenhas da | john of lencastre, 1s row 4 : duke of avila and bolam | may 14, 1878 | avila | antonio jose de avi row 5 : duke of barcelos | august 5, 1562 | braganca | john, 6th duke of bragan row 6 : duke of cadaval | april 26, 1648 | alvares pereira de melo | nuno alvares pereira de row 7 : duke of caminha | december 14, 1620 | menezes | miguel luis de menezes row 8 : duke of faial | april 4, 1833 | sousa holstein | pedro de sousa holstein row 9 : duke of ficalho | may 14, 1836 | almeida | eugenia mauricia to row 10 : duke of goa | 1515 | albuquerque | afonso de albuque row 11 : duke of guarda | october 5, 1530 | portugal-aviz | ferdinand, prince of portugal row 12 : duke of guimaraes | 1475 | braganca | fernando ii, duke row 13 : duke of linhares | None | noronha | fernando de noronha row 14 : duke of miranda do corvo | may 13, 1796 | braganca e ligne de sousa tava | jose sousa tavares mascaranhas row 15 : duke of palmela | october 10, 1850 | sousa holstein | pedro de sousa holstein row 16 : duke of porto | 1833 | braganca | maria, princess of portugal (f row 17 : duke of saldanha | november 4, 1846 | saldanha oliveira e da | joao francisco de saldan row 18 : duke of tancos | april 22, 1790 | manoel | constanca manoel row 19 : duke of terceira | november 8, 1832 | manoel e meneses | antonio jose de sousa row 20 : duke of torres novas | september 26, 1619 | lencastre | george of lencastre row 21 : duke of trancoso | 1530 | portugal-aviz | ferdinand, prince of portugal row 22 : duke of vila real | february 28, 1585 | menezes | manuel de menezes row 23 : duke of vitoria | december 12, 1812 | wellesley | arthur wellesley, duke of well ] Execute this SQL based on the above table: select surname where date of creation < ( select date of creation where surname = 'lencastre' ) order by date of creation desc limit 1
menezes
[ header: title | year | language | role | notes row 1 : shakti | 1982 | hindi | None | credited as "murliss" row 2 : maqbool | 2003 | hindi | devsare | None row 3 : market | 2003 | hindi | None | None row 4 : main hoon na | 2004 | hindi | khan | None row 5 : masti: sanam teri | 2004 | hindi | eunuch at band stand | None row 6 : mangal pandey: the rising | 2005 | hindi | sheikh paltu | None row 7 : apaharan | 2005 | hindi | muralidhar | None row 8 : chocolate | 2005 | hindi | None | None row 9 : teesri aank | 2006 | hindi | dinesh | None row 10 : rockin' meera | 2006 | None | prem | None row 11 : fight club - members only | 2006 | hindi | None | None row 12 : buddha mar gaya | 2006 | hindi | rohan alexander | None row 13 : dhol | 2007 | hindi | zicomo | None row 14 : athidi | 2007 | telugu | kaiser/ajay sastr | None row 15 : eik dasttak | 2007 | None | None | None row 16 : black friday | 2004 | hindi | None | None row 17 : laaga chunari mein daag | 2007 | hindi | None | None row 18 : one two three | 2008 | hindi | mm munde | None row 19 : jaane tu... ya | 2008 | hindi | inspector (special appearance) | None row 20 : mere khwabon mein jo | 2009 | None | None | None row 21 : chal chala chal | 2009 | hindi | gajendra singh | None row 22 : 13b: fear has a new address | 2009 | tamil/hindi | inspector shiva | None row 23 : saluun | 2009 | None | sipahi ji | None row 24 : rokkkit | 2010 | None | None | None row 25 : lamhaa | 2010 | hindi | news reporter | None row 26 : dabangg | 2010 | hindi | None | None row 27 : tees maar khan | 2010 | hindi | agent-mukherjee | None row 28 : oosaravelli | 2011 | telugu | chota gangleader | None row 29 : singham | 2011 | hindi | sp | None row 30 : chatur singh two star | 2011 | hindi | None | None row 31 : aalaap | 2012 | hindi | naxalite | None row 32 : jeena hai toh thok | 2012 | hindi | hanumant singh | None row 33 : chakravyuh | 2012 | hindi | None | None row 34 : krishnam vande jaga | 2012 | telugu | chakravarthi | None row 35 : karma yodha | 2012 | malayalam | None | None row 36 : hungame pe hungama | 2013 | hindi | None | None row 37 : platform no. 6 | 2013 | telugu | None | None row 38 : pattathu yaana | 2013 | tamil | marudhamuthu | None row 39 : zindagi 50-50 | 2013 | hindi | None | None row 40 : yevadu | 2013 | telugu | durani | None row 41 : karmachari | 2013 | telugu | None | None ] Execute this SQL based on the above table: select year where year in ( 2011 , 2007 ) order by role limit 1861
2007, 2007, 2011, 2011, 2007, 2011, 2007
[ header: administrative area | area km2 | area sq mi | population | administrative centre row 1 : saint helena | 122 | 47 | 5809 | jamestown row 2 : ascension island | 91 | 35 | 1532 | georgetown row 3 : tristan da cunha | 184 | 71 | 388 | edinburgh of the seven seas row 4 : tristan da cunha | 98 | 38 | 382 | edinburgh of the seven seas row 5 : inaccessible island | 14 | 5 | 0 | denstone hut row 6 : nightingale island | 3.2 | 1 | 0 | west landing row 7 : gough island | 68 | 26 | 6 | transvaal bay row 8 : total | 397 | 153 | 7729 | jamestown ] Execute this SQL based on the above table: select administrative area order by population limit 1
inaccessible island
[ header: # | prime minister | date of birth | start date of (first) term | age at beginning of (first) term | end date of (final) term | total time in office | date of death | lifespan row 1 : 1 | edmund barton | 18 january 1849 | 1-jan-01 | 51 years, 348 days | 24-sep-03 | 996 days | 7-jan-20 | 25,920 days (70 years, 354 days row 2 : 2 | alfred deakin | 3 august 1856 | 24-sep-03 | 47 years, 52 days | 29-apr-10 | 1,774 days | 7-oct-19 | 23,074 days (63 years, 65 days row 3 : 3 | chris watson | 9 april 1867 | 27-apr-04 | 37 years, 18 days | 18-aug-04 | 113 days | 18-nov-41 | 27,251 days (74 years, 223 row 4 : 4 | george reid | 25 february 1845 | 18-aug-04 | 59 years, 175 days | 5-jul-05 | 321 days | 12-sep-18 | 26,861 days (73 years, 199 row 5 : 7 | billy hughes | 25 september 1862 | 27-oct-15 | 53 years, 32 days | 9-feb-23 | 2,662 days | 28-oct-52 | 32,905 days (90 years, 33 row 6 : 8 | stanley bruce | 15 april 1883 | 9-feb-23 | 39 years, 300 days | 22-oct-29 | 2,447 days | 25-aug-67 | 30,812 days (84 years, 132 row 7 : 9 | james scullin | 18 september 1876 | 22-oct-29 | 53 years, 34 days | 6-jan-32 | 806 days | 28-jan-53 | 27,890 days (76 years, 132 row 8 : 10 | joseph lyons | 15 september 1879 | 6-jan-32 | 52 years, 113 days | 7-apr-39 | 2,648 days | 7-apr-39 | 21,753 days (59 years, 204 row 9 : 11 | earle page | 8 august 1880 | 7-apr-39 | 58 years, 242 days | 26-apr-39 | 19 days | 20-dec-61 | 29,718 days (81 years, 134 row 10 : 12 | robert menzies | 20 december 1894 | 26-apr-39 | 44 years, 127 days | 26-jan-66 | 6,735 days | 15-may-78 | 30,461 days (83 years, 146 row 11 : 14 | john curtin | 8 january 1885 | 7-oct-41 | 56 years, 272 days | 5-jul-45 | 1,367 days | 5-jul-45 | 22,092 days (60 years, 178 row 12 : 15 | frank forde | 18 july 1890 | 6-jul-45 | 54 years, 353 days | 13-jul-45 | 7 days | 28-jan-83 | 33,796 days (92 years, 19 row 13 : 16 | ben chifley | 22 september 1885 | 13-jul-45 | 59 years, 294 days | 19-dec-49 | 1,620 days | 13-jun-51 | 24,004 days (65 years, 264 row 14 : 17 | harold holt | 5-aug-08 | 26-jan-66 | 57 years, 174 days | 19-dec-67 | 690 days | 17-dec-67 | 21,683 days (59 years, 134 ] Execute this SQL based on the above table: select abs ( ( select age at beginning of (first) term where prime minister = 'billy hughes' ) - ( select age at beginning of (first) term where prime minister = 'james scullin' ) )
0
[ header: year | competition | venue | position | event | notes row 1 : 1990 | central american and caribbean games | mexico city, mexico | 1st | 3000 m s'chase | None row 2 : 1991 | pan american games | havana city, cuba | 6th | 3000 m s'chase | None row 3 : 1992 | olympic games | barcelona, spain | 6th | 10,000 m | None row 4 : 1993 | world championships | stuttgart, germany | 9th | 10,000 m | None row 5 : 1994 | world half marathon championships | oslo, norway | 2nd | half marathon | 1:00:28 pb row 6 : 1994 | new york city marathon | new york city, united states | 1st | marathon | None row 7 : 1994 | london marathon | london, england | 3rd | marathon | None row 8 : 1995 | world championships | gothenburg, sweden | 13th | 10,000 m | None row 9 : 1995 | new york city marathon | new york city, united states | 1st | marathon | None row 10 : 1996 | olympic games | atlanta, united states | 6th | marathon | None row 11 : 1997 | new york city marathon | new york city, united states | 5th | marathon | None row 12 : 1997 | boston marathon | boston, united states | 4th | marathon | None ] Execute this SQL based on the above table: select count ( * ) where position = '6th' and venue = '6th'
0
[ header: location | reactor type | status | net capacity (mwe) | gross capacity (mwe) row 1 : chernobyl-1 | rbmk-1000 | shut down in 1996 | 740 | 800 row 2 : chernobyl-2 | rbmk-1000 | shut down in 1991 | 925 | 1 row 3 : chernobyl-3 | rbmk-1000 | shut down in 2000 | 925 | 1 row 4 : chernobyl-4 | rbmk-1000 | destroyed in the 1986 accident | 925 | 1 row 5 : chernobyl-5 | rbmk-1000 | construction cancelled in 1988 | 950 | 1 row 6 : chernobyl-6 | rbmk-1000 | construction cancelled in 1988 | 950 | 1 row 7 : ignalina-1 | rbmk-1500 | shut down in 2004 | 1,185 | 1,3 row 8 : ignalina-2 | rbmk-1500 | shut down in 2009 | 1,185 | 1,3 row 9 : ignalina-3 | rbmk-1500 | construction cancelled in 1988 | 1,38 | 1,5 row 10 : ignalina-4 | rbmk-1500 | plan cancelled in 1988 | 1,38 | 1,5 row 11 : kostroma-1 | rbmk-1500 | construction cancelled in 1980s | 1,38 | 1,5 row 12 : kostroma-2 | rbmk-1500 | construction cancelled in 1980s | 1,38 | 1,5 row 13 : kursk-1 | rbmk-1000 | operational until 2021 | 925 | 1 row 14 : kursk-2 | rbmk-1000 | operational until 2024 | 925 | 1 row 15 : kursk-3 | rbmk-1000 | operational until march 2014 | 925 | 1 row 16 : kursk-4 | rbmk-1000 | operational until february 2016 | 925 | 1 row 17 : kursk-5 | mker-1000 | construction begin was 1985, since then shelve | 925 | 1 row 18 : kursk-6 | rbmk-1000 | construction cancelled in 1993 | 925 | 1 row 19 : leningrad-1 | rbmk-1000 | operational | 925 | 1 row 20 : leningrad-2 | rbmk-1000 | operational until 2021 | 925 | 1 row 21 : leningrad-3 | rbmk-1000 | operational until june 2025 | 925 | 1 row 22 : leningrad-4 | rbmk-1000 | operational until august 2026 | 925 | 1 row 23 : smolensk-1 | rbmk-1000 | operational until december 2022 | 925 | 1 row 24 : smolensk-2 | rbmk-1000 | operational until july 2015 | 925 | 1 row 25 : smolensk-3 | rbmk-1000 | operational until july 2023 | 925 | 1 row 26 : smolensk-4 | rbmk-1000 | construction cancelled in 1993 | 925 | 1 ] Execute this SQL based on the above table: select status where id = ( select id where status = 'plan cancelled in 1988' ) - 1
construction cancelled in 1988
[ header: year | division | league | regular season | playoffs | open cup row 1 : 2006 | 4 | usl pdl | 5th, northwest | did not qualify | did not qualify row 2 : 2007 | 4 | usl pdl | 2nd, northwest | conference semifinals | did not qualify row 3 : 2008 | 4 | usl pdl | 1st, northwest | conference finals | did not qualify row 4 : 2009 | 4 | usl pdl | 7th, northwest | did not qualify | did not qualify row 5 : 2010 | 4 | usl pdl | 3rd, northwest | did not qualify | did not qualify row 6 : 2011 | 4 | usl pdl | 8th, northwest | did not qualify | did not qualify row 7 : 2012 | 4 | usl pdl | 1st, northwest | semifinals | did not qualify row 8 : 2013 | 4 | usl pdl | 4th, northwest | did not qualify | 2nd round ] Execute this SQL based on the above table: select league order by year desc limit 1
usl pdl
[ header: season | age | overall | slalom | giant slalom | super g | downhill | combined row 1 : 1967 | 16 | 27 | 19 | None | not run | None | not awarded row 2 : 1968 | 17 | 12 | 11 | 8 | not run | None | not awarded row 3 : 1969 | 18 | 7 | 4 | 11 | not run | 5 | not awarded row 4 : 1970 | 19 | 11 | 8 | 10 | not run | 12 | not awarded row 5 : 1971 | 20 | 14 | 13 | 9 | not run | 15 | not awarded row 6 : 1972 | 21 | 6 | 4 | 7 | not run | 10 | not awarded row 7 : 1973 | 22 | 4 | 2 | 8 | not run | 9 | not awarded row 8 : 1974 | 23 | 7 | 2 | 13 | not run | 11 | not awarded row 9 : 1975 | 24 | 3 | 7 | 7 | not run | 6 | not awarded row 10 : 1976 | 25 | 1 | 1 | 3 | not run | 9 | 1 ] Execute this SQL based on the above table: select super g where id = 1
not run
[ header: year | title | us hot 100 | us modern rock | us mainstream rock | album row 1 : 1994 | "neenah menasha" | None | None | None | rotting pinata row 2 : 1994 | "plowed" | None | 5 | 9 | rotting pinata row 3 : 1995 | "molly (16 candles down the drain)" | 55 | 3 | 11 | rotting pinata row 4 : 1995 | "rainin'" | None | 34 | 18 | rotting pinata row 5 : 1996 | "wax ecstatic (to | None | 15 | 11 | wax ecstatic row 6 : 1997 | "have you seen mary" | None | None | 7 | wax ecstatic row 7 : 1999 | "live here without you" | None | None | None | new pop sunday row 8 : 1999 | "1000 times" | None | None | None | new pop sunday row 9 : 2003 | "treat me wrong" | None | None | None | for all the drugs in the world row 10 : 2003 | "leave this world" | None | None | None | for all the drugs in the world row 11 : 2005 | "the man" | None | None | None | the man row 12 : 2005 | "higher (part 1)" | None | None | None | the man row 13 : 2009 | "come in from the rain" | None | None | None | destroy the boy ep row 14 : 2010 | "destroy the boy" | None | None | None | destroy the boy ep row 15 : 2013 | "fade from view" | None | None | None | stop the bleeding row 16 : 2013 | "lifes bitter pills" | None | None | None | stop the bleeding ] Execute this SQL based on the above table: select count ( title ) where title = '"come in from the rain"'
1
[ header: # | nation | qualification tournament | place in qt | sailor row 1 : 1 | china | host country | None | None row 2 : 2 | brazil | 2007 worlds | 1 | robert scheidt, bruno row 3 : 3 | france | 2007 worlds | 2 | xavier rohart, pas row 4 : 4 | great britain | 2007 worlds | 3 | iain percy, andre row 5 : 5 | new zealand | 2007 worlds | 4 | hamish pepper, carl william row 6 : 6 | italy | 2007 worlds | 5 | diego negri, luigi row 7 : 7 | poland | 2007 worlds | 6 | mateusz kuszniere row 8 : 8 | germany | 2007 worlds | 7 | marc pickel, ingo borkowski row 9 : 9 | sweden | 2007 worlds | 8 | fredrik loof, anders row 10 : 10 | australia | 2007 worlds | 9 | iain murray, andrew row 11 : 11 | portugal | 2007 worlds | 10 | afonso domingos, row 12 : 12 | united states | 2007 worlds | 11 | mark reynolds, hal row 13 : 13 | switzerland | 2008 worlds | 4 | flavio marazzi, enric row 14 : 14 | croatia | 2008 worlds | 12 | marin lovrovic, sinsa row 15 : 15 | ireland | 2008 worlds | 14 | max treacy, anthony shank row 16 : 16 | austria | 2008 worlds | 16 | hans spitzauer, ] Execute this SQL based on the above table: select count ( nation ) where place in qt > 6
8
[ header: season | league | gold | silver | bronze | winning manager row 1 : 1947-48 | league of norway | freidig | sparta | None | None row 2 : 1948-49 | main league | fredrikstad | valerenga | None | None row 3 : 1950-51 | main league | fredrikstad | odd | None | None row 4 : 1952-53 | main league | larvik turn | skeid | None | None row 5 : 1954-55 | main league | larvik turn | fredrikstad | None | None row 6 : 1958-59 | main league | lillestrøm | fredrikstad | None | karl gudmundson row 7 : 1959-60 | main league | fredrikstad | lillestrøm | eik-tønsberg | None row 8 : 1965 | first division | valerenga | lyn | sarpsborg | anton ploderer row 9 : 1966 | first division | skeid | fredrikstad | lyn | None row 10 : 1969 | first division | rosenborg | fredrikstad | strømsgodset | george curtis row 11 : 1971 | first division | rosenborg | lyn | viking | nils arne eggen row 12 : 1972 | first division | viking | fredrikstad | strømsgodset | kjell schou-andrea row 13 : 1974 | first division | viking | molde | valerenga | stuart williams row 14 : 1975 | first division | viking | brann | start | olav nilsen row 15 : 1976 | first division | lillestrøm | mjøndalen | brann | joar hoff row 16 : 1977 | first division | lillestrøm | bodø/glimt | molde | joe hooley row 17 : 1979 | first division | viking | moss | start | tony knapp row 18 : 1983 | first division | valerenga | lillestrøm | start | gunder bengtsson row 19 : 1984 | first division | valerenga | viking | start | gunder bengtsson per anders row 20 : 1985 | first division | rosenborg | lillestrøm | valerenga | arne dokken bjø row 21 : 1990 | first division | rosenborg | tromsø | molde | nils arne eggen row 22 : 1991 | tippeligaen | viking | rosenborg | start | benny lennartsson row 23 : 1992 | tippeligaen | rosenborg | kongsvinger | start | nils arne eggen row 24 : 1993 | tippeligaen | rosenborg | bodø/glimt | lillestrøm | nils arne eggen row 25 : 1994 | tippeligaen | rosenborg | lillestrøm | viking | nils arne eggen row 26 : 1996 | tippeligaen | rosenborg | lillestrøm | viking | nils arne eggen row 27 : 2002 | tippeligaen | rosenborg | molde | lyn | nils arne eggen row 28 : 2003 | tippeligaen | rosenborg | bodø/glimt | stabæk | age hareide row 29 : 2004 | tippeligaen | rosenborg | valerenga | brann | ola by rise row 30 : 2006 | tippeligaen | rosenborg | brann | valerenga | knut tørum per-m ] Execute this SQL based on the above table: select silver order by length ( silver ) desc limit 1
fredrikstad
[ header: representative | title | from | to | appointed by row 1 : william shaler | special diplomatic agent | 1810 | 1812 | james madison row 2 : john h. robinson | special diplomatic agent | 1812 | 1814 | james madison row 3 : joel roberts po | minister | 1825 | 1829 | john quincy adams row 4 : anthony butler | charge d'affaires | 1829 | 1835 | None row 5 : powhatan ellis | charge d'affaires | 1836 | None | andrew jackson row 6 : powhatan ellis | minister | 1839 | 1842 | martin van buren row 7 : waddy thompson, j | minister | 1842 | 1844 | john tyler row 8 : gilbert l. tho | special diplomatic agent | 1844 | None | john tyler row 9 : wilson shannon | minister | 1844 | 1845 | john tyler row 10 : john slidell | minister | 1845 | None | james k. polk row 11 : david conner | special diplomatic agent | 1846 | None | james k. polk row 12 : nathan clifford | minister | 1848 | 1849 | james k. polk row 13 : robert greenhow | special diplomatic agent | 1850 | None | None row 14 : george g. goss | special diplomatic agent | 1850 | 1852 | None row 15 : edward smith | special diplomatic agent | 1852 | None | millard fillmore row 16 : george e. cooper | special diplomatic agent | 1853 | None | None row 17 : christopher l. ward | special diplomatic agent | 1853 | None | None row 18 : richard s. spofford | special diplomatic agent | 1854 | None | franklin pierce row 19 : william m. churchwell | special diplomatic agent | 1858 | None | james buchanan row 20 : alfred mordecai | special diplomatic agent | 1858 | None | james buchanan row 21 : duff green | special diplomatic agent | 1859 | None | james buchanan row 22 : david r. porter | special diplomatic agent | 1859 | None | james buchanan row 23 : robert milligan mclane | minister | 1859 | 1860 | james buchanan row 24 : henry roy de la reintrie | special diplomatic agent | 1860 | None | james buchanan row 25 : lewis d. campbell | minister | 1866 | 1867 | andrew johnson row 26 : marcus otterbourg | minister | 1867 | None | andrew johnson row 27 : william s. rosecrans | minister | 1868 | 1869 | andrew johnson row 28 : john w. foster | minister | 1873 | 1880 | ulysses s. grant row 29 : philip hicky morgan | minister | 1880 | 1885 | rutherford b. hayes row 30 : thomas courtland manning | minister | 1886 | 1887 | grover cleveland row 31 : thomas ryan | minister | 1889 | 1893 | None row 32 : matt whitaker ransom | minister | 1895 | 1897 | grover cleveland row 33 : powell clayton | minister | 1897 | 1898 | None ] Execute this SQL based on the above table: select representative group by representative order by count ( representative ) desc limit 1
powhatan ellis
[ 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 # where crew chief = 'harold holly'
32
[ header: rank | area | date | presenter | seven wonders covered row 1 : 1 | south west | 3 may | samantha smith | dartmoor, jurassic coast, row 2 : 2 | yorkshire & lincolnshire | 9 may | paul hudson | malham cove, the three peaks, row 3 : 3 | london | 16 may | bill oddie | islands in the river thames, the row 4 : 4 | the north | 23 may | chris jackson | lake district, river wear, whin sill row 5 : 5 | the south | 30 may | aubrey manning | the needles, lulworth cove row 6 : 6 | the midlands | 6 june | dominic heale | kinder scout, dovedale row 7 : 7 | the west country | 17 june | amanda parr | avebury, symonds row 8 : 8 | south east | 22 june | kaddy lee-preston | white cliffs of dover, seven sisters ] Execute this SQL based on the above table: select seven wonders covered group by seven wonders covered order by count ( * ) desc limit 1
white cliffs of dover, seven sisters, north downs, dungeness, romney marsh, ecclesbourne glen, pegwell bay
[ header: name | date built | builder | works no. | wheels | cylinders | notes | withdrawn row 1 : veteran | 1847 | None | None | 0-6-0 | inside | arr. 1847 | None row 2 : fairfield | 1847 | None | None | 0-6-0 | inside | arr. 1847 | None row 3 : waverley | None | henry hughes of lough | None | 0-4-0st | outside | None | 1889 row 4 : bee | None | None | None | 0-6-0t | None | None | None row 5 : spider | None | None | None | 0-6-0t | None | None | None row 6 : gillingham | None | aveling and porter | None | 0-6-0tg | None | arr. 1893 | 1893 row 7 : no.1 | 1880 | hunslet | 231 | 0-6-0st | inside | arr. 1893 | 1923 row 8 : no.2 | 1898 | peckett | 696 | 0-4-0st | outside | arr. 1904 | 1923 ] Execute this SQL based on the above table: select count ( date built ) where works no. = 231
1
[ header: # | name | height | weight (lbs.) | position | class | hometown | previous team(s) row 1 : 1 | aaron johnson | 5'8" | 185 | g | sr | chicago, il, u. | hubbard hs row 2 : 3 | anthony criswell | 6'9" | 230 | f | fr | oklahoma city, ok, | douglass high school row 3 : 4 | jamarr sanders | 6'4" | 210 | g | sr | montgomery, al, u. | jeff davis high school nw row 4 : 5 | robert williams | 6'4" | 210 | g | fr | greenville, ms, u. | weston high school row 5 : 10 | karl moton | 5'11" | 195 | g | so | stone mountain, ga, u.s | chamblee hs row 6 : 21 | beas hamga | 6'11" | 230 | c | jr | douala, cameroon | weatherford (texas) cc row 7 : 22 | cameron moore | 6'10" | 230 | f | jr | san antonio, | roosevelt h row 8 : 23 | dexter fields | 6'2" | 205 | g | so | orlando, fl, | olympia hs row 9 : 24 | preston purifoy | 6'5" | 215 | g | fr | conway, ar, u.s | conway high school row 10 : 32 | ovie soko | 6'8" | 210 | f | so | london, england, | bethel hs row 11 : 2 | mike jones | 6'1" | 185 | g | sr | nashville, tn, | hunters lane high school row 12 : 25 | quincy taylor | 6'0" | 185 | g | fr | wichita, ks, | wichita collegiate high school row 13 : 44 | jordan swing | 6'6" | 200 | f | so | birmingham, al, u. | western kentucky university ] Execute this SQL based on the above table: select ( ( select weight (lbs.) where class = 'so' ) - ( select min ( weight (lbs.) ) ) )
10.0
[ header: sheriff | start of term row 1 : josiah hobart | 1683 row 2 : john mulford | 1701 row 3 : hugh gray | 1702 row 4 : john brush | 1710 row 5 : daniel youngs | 1718 row 6 : samuel dayton | 1723 row 7 : william sell | 1728 row 8 : joseph smith | 1730 row 9 : david corrie | 1731 row 10 : jacob conklin | 1734 row 11 : thomas higbe | 1740 row 12 : james muirson | 1774 row 13 : thomas wickes | 1785 row 14 : silas halsey | 1787 row 15 : thomas wickes | 1791 row 16 : phinaes carll | 1799 row 17 : josiah reeve | 1803 row 18 : phinaes smith | 1807 row 19 : josiah reeve | 1808 row 20 : benjamin brewster | 1810 row 21 : josiah reeve | 1811 row 22 : benjamin brewster | 1812 row 23 : nathaniel conklin | 1814 row 24 : josiah reeve | 1815 row 25 : samuel smith | 1826 row 26 : abraham gardiner | 1829 row 27 : richard smith | 1832 row 28 : silas horton | 1835 row 29 : samuel miller | 1838 row 30 : david brush | 1841 row 31 : henry penny | 1844 row 32 : david rose | 1847 row 33 : john clark | 1850 row 34 : samuel phillips | 1855 row 35 : george carman | 1856 row 36 : daniel osborn | 1862 row 37 : george smith | 1868 row 38 : j. henry perkins | 1871 row 39 : egbert lewis | 1874 row 40 : george cooper | 1877 row 41 : robert petty | 1888 row 42 : selah brewster | 1883 row 43 : henry halsey | 1886 row 44 : robert petty | 1888 row 45 : a. m. darling | 1891 row 46 : benjamin wood | 1897 row 47 : j. sheridan wells | 1900 row 48 : henry preston | 1903 row 49 : john wells | 1906 row 50 : charles platt | 1909 row 51 : melville brush | 1912 row 52 : d. henry brown | 1913 row 53 : charles o'dell | 1914 row 54 : john kelly | 1920 row 55 : amza biggs | 1923 row 56 : burton howe | 1926 row 57 : ellis taylor | 1929 row 58 : joseph warta | 1932 row 59 : william mccollom | 1935 row 60 : jacob dreyer | 1938 row 61 : john levy | 1941 row 62 : william mccollom | 1942 row 63 : charles dominy | 1957 row 64 : frank gross | 1962 row 65 : philip corso | 1970 row 66 : donald dilworth | 1976 row 67 : john finnerty | 1977 row 68 : eugene dooley | 1986 row 69 : patrick mahoney | 1990 row 70 : alfred c. tisch | 2002 row 71 : vincent f. demarco | 2006 ] Execute this SQL based on the above table: select sheriff order by sheriff desc limit 1
william sell
[ header: party | candidate(s) | votes | percentage row 1 : uup | peter weir alan m | 9270 | 25.6 row 2 : uk unionist | robert mccartney | 7579 | 20.9 row 3 : dup | st clair mcalister rub | 6699 | 18.5 row 4 : alliance | oliver napier brian wil | 6186 | 17.1 row 5 : sdlp | owen adams john bur | 1798 | 5 row 6 : pup | victor ash samuel | 1694 | 4.7 row 7 : ulster democratic | james mccullough | 651 | 1.8 row 8 : ni women's coalition | emma mcguigan an | 496 | 1.4 row 9 : conservative | ann thompson bruce | 444 | 1.2 row 10 : independent chambers | alan chambers james arbut | 334 | 0.9 row 11 : green (ni) | paddy mcevoy mary ring | 283 | 0.8 row 12 : sinn fein | mairtin o mulleoir | 275 | 0.8 row 13 : labour coalition | john magennis sean m | 171 | 0.5 row 14 : independent dup | thomas o'brien will | 97 | 0.3 row 15 : democratic left | daryl armitage tim davis | 95 | 0.3 row 16 : workers' party | dessie o'hagan colum | 60 | 0.2 row 17 : ulster independence | geoffrey watson glenn | 49 | 0.1 row 18 : independent voice | christopher carter fidelm | 49 | 0.1 row 19 : natural law | peter mcgowan tho | 15 | 0 ] Execute this SQL based on the above table: select candidate(s) where party in ( 'uk unionist' , 'green (ni)' ) order by votes desc limit 1
robert mccartney valerie kinghan patricia watson
[ header: team | competition | category | appearances start | appearances sub | goals | team record row 1 : japan | 2006 afc u-17 championship qualification | u-15 | 1 | 0 | 0 | qualified row 2 : japan | 2006 afc u-17 championship | u-16 | 4 | 1 | 4 | champions row 3 : japan | 2007 fifa u-17 world cup | u-17 | 1 | 2 | 2 | round 1 row 4 : japan | 2008 afc youth championship qualification | u-18 | 4 | 0 | 2 | qualified row 5 : japan | 2008 afc u-19 championship | u-19 | 1 | 1 | 0 | quarterfinal row 6 : japan | 2013 eaff east asian cup | senior | 2 | 0 | 3 | champions ] Execute this SQL based on the above table: select count ( team record ) where competition < 2013
5
[ header: year | division | league | regular season | playoffs | open cup row 1 : 2006 | 4 | usl pdl | 5th, northwest | did not qualify | did not qualify row 2 : 2007 | 4 | usl pdl | 2nd, northwest | conference semifinals | did not qualify row 3 : 2008 | 4 | usl pdl | 1st, northwest | conference finals | did not qualify row 4 : 2009 | 4 | usl pdl | 7th, northwest | did not qualify | did not qualify row 5 : 2010 | 4 | usl pdl | 3rd, northwest | did not qualify | did not qualify row 6 : 2011 | 4 | usl pdl | 8th, northwest | did not qualify | did not qualify row 7 : 2012 | 4 | usl pdl | 1st, northwest | semifinals | did not qualify row 8 : 2013 | 4 | usl pdl | 4th, northwest | did not qualify | 2nd round ] Execute this SQL based on the above table: select sum ( division ) where playoffs in ( 'conference finals' , 'did not qualify' , 'conference semifinals' )
28.0
[ header: model | origin | type | version | in service | notes row 1 : larc-v | united states | amphibious support vehicle | larc-v | 5 | most refurbished in 2006 row 2 : gkn aquatrack | united kingdom | amphibious support vehicle | aquatrack | 2 | introduced in mid 1990s. originally owned by the row 3 : am general hmmwv | united states | light utility vehicle | m998a1 m1038 | None | divided into several variants and series row 4 : maxi-ambulance | united states | light utility vehicle | m997a2 | 4 | 150 delivered to afp on nov row 5 : m939 truck | united states | heavy utility vehicle | m923 | None | several delivered to afp in 2013, several row 6 : m35 truck | united states | 2 1/2-ton utility vehicle | m35 | None | divided into several variants and series. more delivered row 7 : m151 | united states | 1/4-ton light utility vehicle and weapons carrier | standard | None | in service, several carrying m40 106 row 8 : delta mini cruiser | philippines | 1/4-ton light utility vehicle | m1777 | None | divided into several variants and series, including short row 9 : marine multi-purpose vehicle | philippines | light utility vehicle and weapons carrier | standard | None | to replace the m151 mutt, row 10 : km-50 series | republic of korea | 5-ton utility vehicle | km-500 | 12 | 155mm artillery prime mover. row 11 : km-45 series | republic of korea | 1 1/2-ton utility vehicle | km-450 | >50 | 3000 purchased by afp on 2007, row 12 : km-45 series | republic of korea | field ambulance | km-451 | 12 | 500 purchased by afp in 2012, ] Execute this SQL based on the above table: select ( select in service where model = 'larc-v' ) - ( select in service where model = 'km-50 series' )
-7.0
[ header: date | winner | score | loser | score | attendance | notes row 1 : 25-dec-82 | washington | 21 | maryland | 20 | 30055 | notes row 2 : 26-dec-83 | penn state | 13 | washington | 10 | 37212 | notes row 3 : 29-dec-84 | smu | 27 | notre dame | 20 | 41777 | notes row 4 : 28-dec-85 | alabama | 24 | usc | 3 | 35183 | notes row 5 : 27-dec-86 | arizona | 30 | north carolina | 21 | 26743 | notes row 6 : 25-dec-87 | ucla | 20 | florida | 16 | 24839 | notes row 7 : 25-dec-88 | washington state | 24 | houston | 22 | 35132 | notes row 8 : 25-dec-89 | michigan state | 33 | hawaii | 13 | 50000 | notes row 9 : 25-dec-90 | syracuse | 28 | arizona | 0 | 14185 | notes row 10 : 25-dec-91 | georgia tech | 18 | stanford | 17 | 34433 | notes row 11 : 25-dec-92 | kansas | 23 | byu | 20 | 42933 | notes row 12 : 25-dec-93 | colorado | 41 | fresno state | 30 | 44009 | notes row 13 : 25-dec-94 | boston college | 12 | kansas state | 7 | 44862 | notes row 14 : 25-dec-95 | kansas | 51 | ucla | 30 | 41111 | notes row 15 : 25-dec-96 | navy | 42 | cal | 38 | 43380 | notes row 16 : 25-dec-97 | washington | 51 | michigan state | 23 | 44598 | notes row 17 : 25-dec-98 | colorado | 51 | oregon | 43 | 46451 | notes row 18 : 25-dec-99 | wake forest | 23 | arizona state | 3 | 40974 | notes row 19 : 25-dec-00 | boston college | 31 | arizona state | 17 | 24397 | notes ] Execute this SQL based on the above table: select winner where score = 30
colorado, kansas
[ header: year | location | gold | silver | bronze row 1 : 1950 | basel | helena rakoczy | tereza kocis | stefania reindlova row 2 : 1954 | rome | tamara manina | eva bosakova | maria gorokovskaya row 3 : 1958 | moscow | eva bosakova | larisa latynina | keiko tanaka row 4 : 1962 | prague | larisa latynina | irina pervuschina | vera caslavska row 5 : 1974 | varna | ludmila turicheva | olga korbut | elvira saad row 6 : 1978 | strasbourg | nellie kim elena | None | emilia eberle ka row 7 : 1983 | budapest | ekaterina szabo | olga mostepanova | boriana stoyanova row 8 : 1985 | montreal | oksana omelianchik | elena shushunova | ulrike klotz row 9 : 1991 | indianapolis | cristina bontas ok | None | kim zmeskal row 10 : 1993 | birmingham | shannon miller | gina gogean | natalia bobrova row 11 : 1994 | brisbane | dina kochetkova | lavinia milosovici | gina gogean row 12 : 1995 | sabae | gina gogean | ji liya | ludivine furnon row 13 : 1996 | san juan | kui yuan-yu | None | liubov sheremet row 14 : 1997 | lausanne | gina gogean | svetlana khorkin | elena produnova row 15 : 1999 | tianjin | andreea raducan | simona amanar | svetlana khorkin row 16 : 2001 | ghent | andreea raducan | daniele hypolito | svetlana khorkin row 17 : 2005 | melbourne | alicia sacramone | anastasia liukin | suzanne harmes row 18 : 2006 | aarhus | cheng fei | jana bieger | vanessa ferrari row 19 : 2009 | london | elizabeth tweddle | lauren mitchell | sui lu row 20 : 2010 | rotterdam | lauren mitchell | aliya mustafina | None row 21 : 2011 | tokyo | ksenia afanasy | sui lu | aly raisman row 22 : 2014 | nanning | None | None | None row 23 : 2015 | glasgow | None | None | None ] Execute this SQL based on the above table: select location where location in ( 'brisbane' , 'ghent' ) order by year desc limit 1
ghent
[ header: place | code | area (km2) | population | most spoken language row 1 : beatrix mine | 40701 | 0.17 | 2492 | sotho row 2 : boipatong | 40702 | 0.31 | 1501 | sotho row 3 : brandfort | 40703 | 3.2 | 1516 | afrikaans row 4 : fora | 40704 | 0.05 | 530 | sotho row 5 : ikgomotseng | 40705 | 1.07 | 2254 | tswana row 6 : joel mine | 40706 | 0.11 | 728 | sotho row 7 : lusaka | 40707 | 1.4 | 6110 | sotho row 8 : majwemasweu | 40708 | 2.5 | 10328 | sotho row 9 : makeleketla | 40709 | 1.35 | 6629 | sotho row 10 : masilo | 40710 | 3.02 | 14903 | sotho row 11 : star diamond mine | 40712 | 0.11 | 212 | sotho row 12 : theunissen | 40713 | 15.11 | 1667 | afrikaans row 13 : tshepong | 40714 | 0.54 | 1710 | sotho row 14 : verkeerdevlei | 40715 | 1.22 | 151 | afrikaans row 15 : winburg | 40716 | 70.22 | 3371 | sotho row 16 : remainder of the municipality | 40711 | 6696.44 | 10304 | sotho ] Execute this SQL based on the above table: select count ( * ) where most spoken language = 'sotho'
12
[ header: airing date | english title (chinese title) | number of episodes | main cast | theme song (t) sub-theme song (st) | genre | notes | official website row 1 : 19 feb- 15 mar | mutual affection 河東獅吼 | 20 | esther kwan, gordon la | t: "怕老婆會發達" (david | costume drama | None | None row 2 : 18 mar- 3 may | dark tales 聊齋 | 35 | gallen lo, grace yu, ja | t: "隔世情" (cass | costume drama | prequel to 1998's dark tales | None row 3 : 6 may- 31 may | money just can't buy 天降財神 | 20 | bobby au yeung, mari | t: "運財有福星" (natalis | modern drama | None | None row 4 : 3 jun- 21 jun | crossing boundaries 盞鬼老豆 | 15 | mini kung, benz hui | t: "覺悟" (vivian | modern drama | released overseas on april 3, 1995 | None row 5 : 24 jun- 16 aug | state of divinity 笑傲江湖 | 40 | jackie lui, fiona le | t: "活得瀟灑" (alan | costume drama | None | official website row 6 : 19 aug- 6 sep | the price to pay 五個醒覺的少年 | 20 | john kwan, may kw | t: "改改改" (hacken le | modern drama | released overseas on december 7, 1995 | None row 7 : 9 sep- 4 oct | night journey 殭屍福星 | 20 | yuen wah, dani | t: "今天開始" (danie | costume drama | None | None row 8 : 7 oct- 15 nov | food of love 闔府統請 | 30 | wong he, kenix k | t: "闔府統請" (gabriel | modern drama | None | None row 9 : 10 nov- 20 dec | journey to the west 西遊記 | 30 | dicky cheung, kw | t: "西遊記" (dicky | costume drama | prequel to 1998's journey to the west | official website row 10 : 30 dec 1996- 27 jan 1998 | in the name of love 有肥人終成眷屬 | 20 | kent cheng, sunny chan | t: "但願有情人" (mo | modern drama | None | None ] Execute this SQL based on the above table: select abs ( ( select number of episodes where main cast = 'mini kung, benz hui' and genre = 'modern drama' ) - ( select number of episodes where main cast = 'mini kung, benz hui' and genre = 'modern drama' ) )
0.0
[ header: year | host / location | division i overall | division i undergraduate | division ii overall | division ii community college row 1 : 1997 | penn | chicago | None | None | None row 2 : 1998 | vanderbilt | stanford | swarthmore | harvard | None row 3 : 1999 | michigan | chicago | carleton | princeton | None row 4 : 2000 | boston u | illinois | princeton | harvard | None row 5 : 2001 | washington, st. louis | chicago | princeton | pittsburgh | None row 6 : 2002 | north carolina | michigan | princeton | yale | valencia cc row 7 : 2003 | ucla and caltech | chicago | harvard | berkeley | valencia cc row 8 : 2004 | washington, st. louis | cal-berkeley | illinois | ucla | valencia cc row 9 : 2005 | tulane | michigan | va commonwealth | chicago | faulkner st row 10 : 2006 | maryland | cal-berkeley | williams college | stanford | broward cc row 11 : 2007 | minnesota | chicago | carleton | maryland | valencia cc row 12 : 2008 | washington, st. louis | maryland | harvard | carleton | valencia cc row 13 : 2009 | dallas, texas | chicago | minnesota | chicago | northeast alabama cc row 14 : 2010 | chicago, illinois | chicago | minnesota | brown | st. charles cc row 15 : 2011 | chicago, illinois | minnesota | vcu | yale | chipola row 16 : 2012 | chicago, illinois | virginia | ohio state | harvard | chipola row 17 : 2013 | chicago, illinois | yale | ohio state | stanford | chipola row 18 : 2014 | chicago, illinois | virginia | yale | harvard | valencia ] Execute this SQL based on the above table: select division i overall order by year desc limit 1
virginia
[ header: rank | athlete | time | notes | q row 1 : 1 | habtamu fayisa | 5:38.62 | pb | fa row 2 : 2 | peter matheka mutuku ( | 5:38.72 | pb | fa row 3 : 3 | zakaria kiprotich ( | 5:44.51 | pb | fa row 4 : 4 | waleed elayah (ye | 5:51.58 | pb | fa row 5 : 5 | bilal tabti (alg) | 5:56.21 | pb | fa row 6 : 6 | yousif daifalla (su | 5:56.46 | pb | fa row 7 : 7 | salem attiatalla (eg | 6:03.41 | None | fa row 8 : 8 | daniel wong (usa | 6:05.92 | pb | fa row 9 : 9 | david morcillo (esp | 6:10.90 | None | fb row 10 : 10 | laurentiu rosu (rou | 6:12.77 | None | fb row 11 : 11 | grant gwynne (aus) | 6:16.83 | None | fb row 12 : 12 | ioran etchechury (bra | 6:39.87 | None | fb row 13 : 13 | bacem salhi (tun | 6:43.17 | None | fb row 14 : None | ahmed burhan (ksa | dsq | None | fb row 15 : None | zak seddon (gbr | dsq | None | fb ] Execute this SQL based on the above table: select q order by time desc limit 1
fa
[ header: year | tournaments played | cuts made | wins | 2nd | 3rd | top 10s | best finish | earnings (€) | money list rank | scoring average | scoring rank | rolex ranking row 1 : 2004 | 1 | 0 | 0 | 0 | 0 | 0 | cut | None | None | 77.5 | None | None row 2 : 2006 | 1 | 1 | 0 | 0 | 0 | 0 | t55 | None | None | 73.67 | None | None row 3 : 2007 | 1 | 1 | 0 | 0 | 0 | 0 | t11 | None | None | 71 | None | 647 row 4 : 2008 | 1 | 1 | 0 | 0 | 0 | 1 | t10 | None | None | 70.33 | None | 703 row 5 : 2009 | 17 | 14 | 0 | 0 | 0 | 1 | t5 | 48893 | 35 | 72.45 | 37 | 274 row 6 : 2010 | 20 | 14 | 0 | 3 | 1 | 7 | t2 | 121959 | 12 | 72.33 | 35 | 118 row 7 : 2011 | 15 | 13 | 1 | 2 | 1 | 6 | 1 | 161172 | 8 | 70.92 | 13 | 63 row 8 : 2012 | 6 | 3 | 2 | 0 | 0 | 2 | 1 | 104884 | 13 | 72 | None | 65 ] Execute this SQL based on the above table: select count ( best finish ) where best finish = 't11'
1
[ header: outcome | year | championship | surface | opponent | score row 1 : runner-up | 2002 | canada (toronto) (1) | hard | guillermo canas | 4-6, 5-7 row 2 : winner | 2003 | montreal | hard | david nalbandian | 6-1, 6-3 row 3 : winner | 2003 | cincinnati | hard | mardy fish | 4-6, 7-6(7-3), 7 row 4 : winner | 2004 | miami | hard | guillermo coria | 6-7(2-7), 6-3, 6 row 5 : runner-up | 2004 | toronto (2) | hard | roger federer | 5-7, 3-6 row 6 : runner-up | 2005 | cincinnati | hard | roger federer | 3-6, 5-7 row 7 : winner | 2006 | cincinnati (2) | hard | juan carlos ferrero | 6-3, 6-4 row 8 : runner-up | 2010 | indian wells | hard | ivan ljubicic | 6-7(3-7), 6-7(5-7 row 9 : winner | 2010 | miami (2) | hard | tomas berdych | 7-5, 6-4 ] Execute this SQL based on the above table: select count ( * ) where score = opponent
0
[ header: no. | train no: | origin | destination | train name row 1 : 1 | 56654 | mangalore central | kozhikode | passenger row 2 : 2 | 56324 | mangalore central | coimbatore city junction | fast passenger row 3 : 3 | 56656 | mangalore central | kannur | passenger row 4 : 4 | 56643/56645 | mangalore central | kabakaputtur | passenger row 5 : 5 | 56640 | mangalore central | verna | passenger row 6 : 6 | 56647 | mangalore central | subrahmanya road | passenger row 7 : 7 | 56661 | mangalore central | cheruvathur | passenger row 8 : 8 | 70106 | mangalore central | bhatkal | demu ] Execute this SQL based on the above table: select train name where no. > 3 and train no: = 56661 and origin = 'mangalore central' order by no. limit 1
passenger
[ header: # | title | time | lead vocals | notes row 1 : 1 | savior more than life | 6:44 | keisha grandy | None row 2 : 2 | whatcha lookin' 4 | 4:25 | darrell blair, dal | None row 3 : 3 | melodies from heaven | 4:34 | the family | None row 4 : 4 | conquerors | 8:24 | dalon collins | None row 5 : 5 | don't take your joy away | 6:33 | tamela mann | None row 6 : 6 | when i think about jesus | 1:38 | None | None row 7 : 7 | mama's song | 4:16 | kirk franklin | None row 8 : 8 | jesus paid it all | 5:04 | kirk franklin, darrell | None row 9 : 9 | i love you jesus | 7:25 | teresa young, stephani | None row 10 : 10 | washed away | 5:20 | jeannette johnson, carrie | None row 11 : 11 | where the spirit is | 4:03 | jon drummond | None row 12 : 12 | let me touch you | 5:26 | dalon collins | None row 13 : 13 | anything 4 u | 5:08 | david mann, yoland | None row 14 : 14 | whatcha lookin' 4 (remix) | 4:36 | kirk franklin, d | drum & synth programming - buster row 15 : 15 | melodies from heaven (skate remix | 4:18 | kirk franklin | drum & synth programming - buster ] Execute this SQL based on the above table: select lead vocals order by title desc limit 1
jon drummond
[ header: year | game | developer | setting | platform | notes row 1 : 1984 | millionaire | incentive software | modern | zx, bbc | None row 2 : 1984 | mugsy | melbourne house | historical | zx | None row 3 : 1992 | patrician, the | ascaron | historical | ami, dos, st | first title in the series row 4 : 1993 | dinopark tycoon | mecc, manley & associates | sci-fi | 3do, dos, mac, win | None row 5 : 1994 | simhealth | thinking tools | modern | dos | None row 6 : 1994 | simtower | openbook | modern | mac, win3x, win9x | None row 7 : 1995 | kaiser deluxe | linel | historical | dos, win | remake of kaiser row 8 : 1997 | herrscher der meere | novatrix | historical | dos | None row 9 : 1997 | industry giant | jowood | modern | win | first title in the series row 10 : 1998 | gangsters: organized crime | hothouse | historical | win | None row 11 : 1999 | harvest moon 2 | pack-in-video | fantasy | gbc | sequel to harvest moon row 12 : 1999 | x: beyond the frontier | egosoft | sci-fi | win | first title in the series row 13 : 2001 | monopoly tycoon | deep red | modern | win | None row 14 : 2001 | tv tycoon | niels bauer | modern | win | None row 15 : 2001 | zoo tycoon | blue fang | modern | ds, mac, win | first title in the series row 16 : 2002 | lemonade tycoon | hexacto, jamdat | modern | palm, ppc, mobi, | None row 17 : 2002 | snowboard park tycoon | cat daddy | modern | win | None row 18 : 2003 | atlantis underwater tycoon | activision | modern | win | None row 19 : 2003 | casino, inc: the management | hothouse | modern | win | expansion to casino, inc row 20 : 2003 | harvest moon: more friends of mineral town | marvelous | fantasy | gba | "female" version of harvest moon: row 21 : 2003 | tropico 2: pirate cove | frog city | historical | osx, win | None row 22 : 2004 | railroad tycoon 3: coast to | poptop | historical | win | expansion to railroad tycoon 3 row 23 : 2005 | harvest moon ds | marvelous | fantasy | ds | None row 24 : 2006 | anno 1701 | related | historical | ds, win | sequel to anno 1503: the new world row 25 : 2006 | prison tycoon 2: maximum security | virtual playground | modern | win | sequel to prison tycoon row 26 : 2006 | sid meier's railroads! | firaxis | historical | win | sequel to railroad tycoon 3 row 27 : 2006 | tycoon city: new york | deep red | modern | win | None row 28 : 2007 | catan | big huge | fantasy | xbla | None row 29 : 2008 | x3: terran conflict | egosoft | sci-fi | osx, win | sequel to x3: reunion row 30 : 2010 | gamebiz 3 | velocigames | modern | win | sequel to gamebiz 2 row 31 : 2011 | tropico 4 | haemimont games | modern | win, x360 | None row 32 : 2011 | anno 2070 | related designs, ubisoft blue byte | sci-fi | win | None row 33 : None | jurassic genetics | flaming nebula studios | sci-fi | win, mac | None ] Execute this SQL based on the above table: select count ( game )
33
[ header: year | title | role | notes row 1 : 1941 | the maltese falcon | kasper gutman | nominated - academy award for best supporting row 2 : 1941 | they died with their boots on | lt. gen. winfield | None row 3 : 1942 | across the pacific | dr. lorenz | None row 4 : 1942 | casablanca | signor ferrari | None row 5 : 1943 | background to danger | col. robinson | None row 6 : 1944 | passage to marseille | major duval | None row 7 : 1944 | between two worlds | rev. tim thompson | None row 8 : 1944 | the mask of dimitrios | mr. peters | None row 9 : 1944 | the conspirators | ricardo quintanilla | None row 10 : 1944 | hollywood canteen | himself | None row 11 : 1945 | pillow to post | col. michael otley | None row 12 : 1945 | conflict | dr. mark hamilton | None row 13 : 1945 | christmas in connecticut | alexander yardley | None row 14 : 1946 | three strangers | jerome k. arbutny | None row 15 : 1946 | devotion | william makepeace thacke | None row 16 : 1946 | the verdict | supt. george e | None row 17 : 1947 | that way with women | james p. alden | None row 18 : 1947 | the hucksters | evan llewellyn | None row 19 : 1948 | the velvet touch | capt. danbury | None row 20 : 1948 | ruthless | buck mansfield | None row 21 : 1948 | the woman in white | count alessandro fosco | None row 22 : 1949 | flamingo road | sheriff titus semple | None row 23 : 1949 | malaya | the dutchman | None ] Execute this SQL based on the above table: select title where title < ( select title where title = 'ruthless' ) order by title desc limit 1
pillow to post
[ header: year | driver | nation of citizenship | racing series | type of vehicle row 1 : 1993 | nigel mansell | united kingdom | formula one | open wheel row 2 : 1994 | nigel mansell | united kingdom | cart | open wheel row 3 : 1995 | al unser, jr | united states | cart | open wheel row 4 : 1996 | jeff gordon | united states | nascar | stock car row 5 : 1997 | jimmy vasser | united states | cart | open wheel row 6 : 1998 | jeff gordon | united states | nascar | stock car row 7 : 1999 | jeff gordon | united states | nascar | stock car row 8 : 2000 | dale jarrett | united states | nascar | stock car row 9 : 2001 | bobby labonte | united states | nascar | stock car row 10 : 2002 | michael schumacher | germany | formula one | open wheel row 11 : 2003 | tony stewart | united states | nascar | stock car row 12 : 2004 | dale earnhardt, jr | united states | nascar | stock car row 13 : 2005 | michael schumacher | germany | formula one | open wheel row 14 : 2006 | tony stewart | united states | nascar | stock car row 15 : 2007 | jeff gordon | united states | nascar | stock car row 16 : 2008 | jimmie johnson | united states | nascar | stock car row 17 : 2009 | jimmie johnson | united states | nascar | stock car row 18 : 2010 | jimmie johnson | united states | nascar | stock car row 19 : 2011 | jimmie johnson | united states | nascar | stock car row 20 : 2012 | tony stewart | united states | nascar | stock car row 21 : 2013 | ryan hunter-reay | united states | indycar series | open wheel ] Execute this SQL based on the above table: select count ( * ) where racing series = 'cart'
3
[ header: games | host city | dates | nations | participants | events row 1 : 1904 summer olympics | st. louis, missouri | 1 july - 23 november | 12 | 651 | 91 row 2 : 1932 winter olympics | lake placid, new york | 7 - 15 february | 17 | 252 | 14 row 3 : 1932 summer olympics | los angeles, californi | 30 july - 14 august | 37 | 1332 | 117 row 4 : 1960 winter olympics | squaw valley, californ | 2 - 20 february | 30 | 665 | 27 row 5 : 1980 winter olympics | lake placid, new york | 13 - 24 february | 37 | 1072 | 38 row 6 : 1984 summer olympics | los angeles, californi | 20 july - 18 august | 140 | 6829 | 221 row 7 : 1996 summer olympics | atlanta, georgia | 18 july - 4 august | 197 | 1318 | 271 row 8 : 2002 winter olympics | salt lake city, utah | 8 - 24 february | 77 | 2399 | 78 ] Execute this SQL based on the above table: select host city where host city in ( 'lake placid, new york' , 'salt lake city, utah' ) order by events desc limit 1
salt lake city, utah
[ header: manufacturer | model | first flight | max payload (t) | cruise (km/h) | max range (km) | mtow row 1 : airbus | a330 mrtt | 2007 | 45 | 860 | 14,800 | 223 row 2 : airbus | a400m | 2009 | 37 | 780 | 9,300 | 141 row 3 : alenia | c-27j spartan | 2008 | 11.5 | 583 | 5,926 | 31.8 row 4 : antonov | an-12 | 1957 | 20 | 777 | 5,700 | 61 row 5 : antonov | an-22 antei | 1965 | 80 | 740 | 5,000 | 250 row 6 : antonov | an-26 | 1969 | 5.5 | 440 | 2,550 | 24 row 7 : antonov | an-32 | 1976 | 6.7 | 480 | 2,500 | 26.9 row 8 : antonov | an-70 | 1994 | 47 | 729 | 6,600 | 145 row 9 : antonov | an-72 | 1977 | 7.5 | 600 | 4,800 | 33 row 10 : antonov | an-124 ruslan | 1982 | 150 | 800-850 | 5,410 | 405 row 11 : antonov | an-225 mriya | 1988 | 250 | 800 | 15,400 | 600 row 12 : avic | y-8 | 1974 | 20 | 550 | 5,616 | 61 row 13 : avic | y-9 | 2008 | 25 | 650 | 7,800 | 77 row 14 : avic | y-20 | 2013 | 66 | 700 | 7,800 | 220 row 15 : bell/boeing | v-22 osprey | 1989 | 6.8 | 396 | 1,627 | 27.4 row 16 : boeing | c-17 globemaster iii | 1991 | 77.5 | 830 | 4,482 | 265 row 17 : casa | c-212 aviocar | 1971 | 2.8 | 315 | 1,433 | 8 row 18 : casa/indonesian aerospace | cn-235 | 1983 | 5 | 509 | 5,003 | 15.1 row 19 : casa | c-295 | 1998 | 9.3 | 481 | 5,630 | 23.2 row 20 : de havilland canada | c-7 caribou | 1958 | 3.6 | 348 | 2,103 | 14.2 row 21 : douglas | c-47 | 1943 | 3 | 360 | 2,600 | 10.5 row 22 : grumman | c-2 greyhound | 1964 | 4.5 | 465 | 2,400 | 24.7 row 23 : embraer | kc-390 | 2014 | 23 | 900 | 6,200 | 72 row 24 : fairchild | c-123 provider | 1949 | 11 | 367 | 1,666 | 27 row 25 : ilyushin | il-76 | 1971 | 47 | 900 | 4,400 | 210 row 26 : ilyushin | il-112 | 2011 | 5.9 | 550 | 5,000 | 20 row 27 : kawasaki | c-1 | 1970 | 11.9 | 657 | 1,300 | 45 row 28 : kawasaki | xc-2 | 2010 | 37.6 | 890 | 6,500 | 120 row 29 : lockheed | c-5 galaxy | 1968 | 122 | 907 | 4,445 | 381 row 30 : lockheed | c-130 hercules | 1954 | 20 | 540 | 3,800 | 70.3 row 31 : lockheed | c-141 starlifter | 1963 | 45 | 912 | 9,880 | 147 row 32 : pzl mielec | m-28 skytruck | 1993 | 2.5 | 270 | 1,500 | 8 row 33 : short brothers | c-23 sherpa | 1982 | 3.2 | 296 | 1,239 | 3.2 row 34 : transport allianz | transall c-160 | 1963 | 16 | 513 | 1,850 | 49.2 row 35 : uac and hal | uac/hal multirole transport | 2015 | 22 | 830 | 2,500 | 68 ] Execute this SQL based on the above table: select manufacturer where mtow = 220
avic
[ header: # | picture | name | took office | left office | party row 1 : 1 | None | johan ferrier | 25 november 1975 | 13 august 1980 (resigned after a febr | independent row 2 : 2 | None | hendrick chin a s | 15 august 1980 | 4 february 1982 | pnr row 3 : 3 | None | fred ramdat misier | 8 february 1982 | 25 january 1988 | independent row 4 : 4 | 60px | ramsewak shankar | 25 january 1988 | 24 december 1990 (deposed) | vhp row 5 : 5 | 60px | johan kraag | 29 december 1990 | 16 september 1991 | nps row 6 : 6 | None | ronald venetiaan | 16 september 1991 | 15 september 1996 | nps row 7 : 7 | None | jules wijdenbosch | 15 september 1996 | 12 august 2000 | ndp row 8 : (6) | None | ronald venetiaan | 12 august 2000 | 12 august 2010 | nps row 9 : 8 | None | desi bouterse | 12 august 2010 | incumbent | ndp ] Execute this SQL based on the above table: select picture where party = 'nps'
60
[ header: week | date | opponent | result | record | game site | bye row 1 : 1 | march 31, 2006 | louisville fire | w 45-37 | 1-0 | wachovia arena | 0 row 2 : 2 | None | None | None | None | None | 1 row 3 : 3 | april 14, 2006 | albany conquest | w 55-48 (ot) | 2-0 | times union center | 0 row 4 : 4 | april 21, 2006 | south georgia wildcats | w 36-33 | 3-0 | wachovia arena | 0 row 5 : 5 | april 29, 2006 | manchester wolves | w 62-47 | 4-0 | verizon wireless arena | 0 row 6 : 6 | may 5, 2006 | green bay blizzard | w 42-27 | 5-0 | wachovia arena | 0 row 7 : 7 | may 13, 2006 | tulsa talons | l 53-37 | 5-1 | wachovia arena | 0 row 8 : 8 | may 20, 2006 | macon knights | w 38-22 | 6-1 | macon coliseum | 0 row 9 : 9 | may 27, 2006 | manchester wolves | l 48-28 | 6-2 | wachovia arena | 0 row 10 : 10 | june 3, 2006 | louisville fire | w 51-48 | 7-2 | freedom hall | 0 row 11 : 11 | june 10, 2006 | albany conquest | l 73-70 | 7-3 | times union center | 0 row 12 : 12 | june 17, 2006 | quad city steamwheelers | w 55-52 | 8-3 | wachovia arena | 0 row 13 : 13 | june 24, 2006 | green bay blizzard | l 65-35 | 8-4 | resch center | 0 row 14 : 14 | None | None | None | None | None | 1 row 15 : 15 | july 8, 2006 | florida firecats | l 56-51 | 8-5 | wachovia arena | 0 row 16 : 16 | july 14, 2006 | manchester wolves | l 45-14 | 8-6 | verizon wireless arena | 0 row 17 : 17 | july 22, 2006 | quad city steamwheelers | l 55-34 | 8-7 | i wireless center | 0 row 18 : 18 | july 29, 2006 | albany conquest | w 54-27 | 9-7 | wachovia arena | 0 ] Execute this SQL based on the above table: select count ( * ) where result = 'w 51-48'
1
[ header: player | year | round | result | opponent row 1 : raymond van barneveld | 2009 | quarter-final | won | jelle klaasen row 2 : raymond van barneveld | 2010 | 2nd round | won | brendan dolan row 3 : adrian lewis | 2011 | final | won | gary anderson row 4 : dean winstanley | 2013 | 2nd round | lost | vincent van der voort row 5 : michael van gerwen | 2013 | semi final | won | james wade row 6 : terry jenkins | 2014 | 1st round | lost | per laursen row 7 : kyle anderson | 2014 | 1st round | lost | ian white ] Execute this SQL based on the above table: select year where player = 'kyle anderson' and year = 2014
2014
[ header: # | date | visitor | score | home | record | pts row 1 : 1 | december 27 | toronto | 7-1 | montreal canadiens | 1-0-0 | 2 row 2 : 2 | december 30 | quebec bulldogs | 5-8 | toronto | 2-0-0 | 4 row 3 : 3 | january 3 | toronto 228th battalion | 4-9 | toronto | 2-1-0 | 4 row 4 : 4 | january 6 | toronto | 2-3 | ottawa senators | 2-2-0 | 4 row 5 : 5 | january 10 | montreal wanderers | 4-9 | toronto | 3-2-0 | 6 row 6 : 6 | january 13 | montreal canadiens | 6-2 | toronto | 3-3-0 | 6 row 7 : 7 | january 17 | toronto | 5-1 | quebec bulldogs | 4-3-0 | 8 row 8 : 8 | january 20 | toronto | 6-8 | toronto 228th battalion | 4-4-0 | 8 row 9 : 9 | january 24 | ottawa senators | 5-8 | toronto | 5-4-0 | 10 row 10 : 10 | january 27 | toronto | 3-8 | montreal wanderers | 5-5-0 | 10 ] Execute this SQL based on the above table: select visitor order by pts desc limit 1
ottawa senators
[ header: pennant | name | hull builder | ordered | laid down | launched | accepted into service | commissioned | est. building cost | fate row 1 : f169 | amazon | vosper thornycroft, woolston | 26 march 1969 | 6 november 1969 | 26 april 1971 | 19 july 1974 | 11 may 1974 | £16.8m | to pakistan as babur row 2 : f170 | antelope | vosper thornycroft | 11 may 1970 | 23 march 1971 | 16 march 1972 | 30 june 1975 | 16 july 1975 | £14.4m | bombed by argentine a-4 row 3 : f172 | ambuscade | yarrow shipbuilders, scot | 11 november 1971 | 1 september 1971 | 18 january 1973 | 23 august 1975 | 5 september 1975 | £16.5m | to pakistan as tariq row 4 : f173 | arrow | ysl | 11 november 1971 | 28 september 1972 | 5 february 1974 | 16 may 1975 | 29 july 1976 | £20.2m | to pakistan as khaibar row 5 : f171 | active | vosper thornycroft | 11 may 1970 | 21 july 1971 | 23 november 1972 | 2 june 1977 | 17 june 1977 | £24.1m | to pakistan as shah ja row 6 : f174 | alacrity | ysl | 11 november 1971 | 5 march 1973 | 18 september 1974 | 2 april 1977 | 2 july 1977 | £23.8m | to pakistan as badr row 7 : f184 | ardent | ysl | 11 november 1971 | 26 february 1974 | 9 may 1975 | 10 september 1977 | 14 october 1977 | £26.3m | bombed by argentine a-4 row 8 : f185 | avenger | ysl | 11 november 1971 | 30 october 1974 | 20 november 1975 | 15 april 1978 | 15 april 1978 | £27.7m | to pakistan as tippu s ] Execute this SQL based on the above table: select count ( * ) where est. building cost >= 4
8
[ header: team | winners | runners-up | years won | years lost row 1 : bayern munich | 5 | 4 | 1982, 1987, 1990, 2010, 2012 | 1989, 1994, 2008, 2013 row 2 : borussia dortmund | 5 | 2 | 1989, 1995, 1996, 2008, 2013 | 2011, 2012 row 3 : werder bremen | 4 | 1 | 1988, 1993, 1994, 2009 | 1991 row 4 : kaiserslautern | 1 | 2 | 1991 | 1990, 1996 row 5 : schalke 04 | 1 | 2 | 2011 | 1940, 2010 row 6 : borussia monchengladbach | 1 | 1 | 1977 | 1995 row 7 : stuttgart | 1 | 0 | 1992 | None row 8 : dresdner sc | 1 | 0 | 1940 | None row 9 : hamburg | 0 | 3 | None | 1977, 1982, 1987 row 10 : eintracht frankfurt | 0 | 1 | None | 1988 row 11 : hannover 96 | 0 | 1 | None | 1992 row 12 : bayer leverkusen | 0 | 1 | None | 1993 row 13 : wolfsburg | 0 | 1 | None | 2009 ] Execute this SQL based on the above table: select years won where years won <= 285
1982, 1987, 1990, 2010, 2012, 1989, 1995, 1996, 2008, 2013, 1988, 1993, 1994, 2009, 1991, 2011, 1977, 1992, 1940
[ header: original work | liszt work | forces | date | s no. | notes row 1 : opera lucrezia borgia (1833 | reminiscences de lucrezi | piano | 1840 | s.400 | the sections are: (1) trio du second acte row 2 : opera lucia di lammermoor (18 | reminiscences de luci | piano | 1835-36 | s.397 | based on the sextet row 3 : opera lucia di lammermoor (18 | marche et cavatine de luci | piano | 1835-36 | s.398 | intended as part of the reminisc row 4 : lucia di lammermoor | valse a capriccio | piano | 1842 | s.401 | combines motifs from lucia di la row 5 : opera parisina (1833) | valse a capriccio | piano | 1842 | s.401 | combines motifs from lucia di la row 6 : nuits d'ete a | nuits d'ete a | piano | 1838 | s.399 | None row 7 : opera la favorite (1840): duettin | spirito gentil | piano | 1847 | s.400a | possibly same as s.742 row 8 : opera dom sebastien (1843): | marche funebre de dom sebastien | piano | 1844 | s.402 | None row 9 : act iv | paraphrase | piano | None | s.744 | lost; this was based on theodor row 10 : "duettino" | transcription | piano | None | s.742 | lost. possibly same as s.400a ] Execute this SQL based on the above table: select count ( * ) where s no. = 'reminiscences de lucia di lammermoor'
0
[ header: rank | country | winners | runners-up | finals total row 1 : 1 | spain | 17 | 8 | 25 row 2 : 2 | germany east germany | 11 1 12 | 10 3 13 | 21 4 25 row 3 : 3 | soviet union russia | 2 1 3 | 1 0 1 | 3 1 4 row 4 : 4 | hungary | 2 | 3 | 5 row 5 : 5 | belarus | 2 | 0 | 2 row 6 : 6 | france | 1 | 3 | 4 row 7 : 7 | sweden | 0 | 2 | 2 row 8 : 8 | bosnia & herzegov | 0 | 1 | 1 row 9 : 8 | croatia | 0 | 1 | 1 row 10 : 8 | czech republic | 0 | 1 | 1 row 11 : 8 | denmark | 0 | 1 | 1 row 12 : 8 | romania | 0 | 1 | 1 row 13 : 8 | serbia | 0 | 1 | 1 row 14 : 8 | switzerland | 0 | 1 | 1 row 15 : total | total | 37 | 37 | 74 ] Execute this SQL based on the above table: select count ( distinct country )
15