inputs
stringlengths
291
3.71k
targets
stringlengths
1
2.65k
[ 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 date order by rank desc limit 1
22 june
[ header: club | chinese | city | home stadium | capacity | average attendance row 1 : beijing guoanth | 北京国安 | beijing | workers stadium | 62000 | 33342 row 2 : changchun yatai | 长春亚泰 | changchun | development area stadium | 25000 | 10067 row 3 : changsha ginde | 长沙金德 | changsha | helong stadium | 55000 | 10152 row 4 : chongqing lifan | 重庆力帆 | chongqing | chongqing olympic | 58680 | 11433 row 5 : dalian shide | 大连实德 | dalian | jinzhou stadium | 30775 | 12307 row 6 : hangzhou greentown | 杭州绿城 | hangzhou | yellow dragon stadium | 51139 | 14550 row 7 : henan construction | 河南建业 | zhengzhou | hanghai stadium | 29000 | 18630 row 8 : jiangsu sainty | 江苏舜天 | nanjing | nanjing olympic | 61443 | 10667 row 9 : liaoning whowinp | 辽宁宏运 | shenyang | shenyang tiexi stadium | 24000 | 10100 row 10 : nanchang hengyu | 南昌衡源 | nanchang | nanchang bayi stadium | 20000 | 11680 row 11 : qingdao jonoon | 青岛中能 | qingdao | qingdao tianta | 20525 | 6247 row 12 : shaanxi chan-ba | 陕西浐灞 | xi'an | shaanxi province stadium | 47565 | 28053 row 13 : shandong luneng | 山东鲁能 | jinan | shandong provincial stadium | 43700 | 15901 row 14 : shanghai shenhua | 上海申花 | shanghai | hongkou stadium | 33060 | 12963 row 15 : shenzhen ruby | 深圳红钻 | shenzhen | shenzhen stadium | 32500 | 12439 row 16 : tianjin teda | 天津泰达 | tianjin | teda football stadium | 36390 | 14757 row 17 : total | total | total | total | total | 14581 ] Execute this SQL based on the above table: select count ( city ) where chinese = '长春亚泰'
1
[ header: sl no | constituency name | constituency number | member of legislative assembly | political party row 1 : 2 | abhayapuri south | 35 | chandan kumar sarkar | indian national congress row 2 : 4 | amguri | 103 | anjan dutta | indian national congress row 3 : 9 | barhampur | 87 | prafulla kumar mahanta | asom gana parishad row 4 : 15 | bihali | 77 | pallab lochan das | indian national congress row 5 : 16 | bihpuria | 109 | bhupen kumar bor | indian national congress row 6 : 17 | bijni | 33 | kamalshing narzary | bodoland peoples front row 7 : 21 | bokajan | 17 | klengdoon engti | indian national congress row 8 : 35 | dhemaji | 113 | sumitra doley patir | indian national congress row 9 : 49 | gauripur | 24 | banendra kumar mushahary | bodoland peoples front row 10 : 53 | golakganj | 25 | abu taher bepari | indian national congress row 11 : 56 | hajo | 55 | dwipen pathak | all india trinamool congress row 12 : 59 | howraghat | 18 | khorsing engti | indian national congress row 13 : 60 | jagiroad | 79 | bibekananda dalai | indian national congress row 14 : 62 | jalukbari | 51 | himanta biswa sarma | indian national congress row 15 : 63 | jamunamukh | 90 | mohammed sirajuddin a | all india united democratic front row 16 : 64 | jania | 44 | rafiqul islam | all india united democratic front row 17 : 65 | jonai | 114 | pradan baruah | indian national congress row 18 : 73 | katlicherra | 7 | gautam roy | indian national congress row 19 : 76 | kokrajhar west | 29 | pradip kumar brahma | bodoland peoples front row 20 : 83 | majuli | 99 | sri rajib lochan | indian national congress row 21 : 87 | mazbat | 70 | rakheswar brahma | bodoland peoples front row 22 : 95 | nowgong | 86 | dr. durlav chandra | indian national congress row 23 : 101 | rangapara | 74 | bhimananda tanti | indian national congress row 24 : 105 | sadiya | 126 | bolin chetia | indian national congress row 25 : 111 | sidli | 31 | sri chandan brahm | bodoland peoples front row 26 : 114 | sonai | 10 | anamul haque | indian national congress row 27 : 115 | sonari | 106 | sarat borkotoky | indian national congress row 28 : 116 | sootea | 75 | padma hazarika | asom gana parishad row 29 : 119 | teok | 102 | membar gogoi | indian national congress row 30 : 122 | tingkhong | 119 | atuwa munda | indian national congress row 31 : 123 | tinsukia | 122 | rajendra prasad singh | indian national congress ] Execute this SQL based on the above table: select sl no where constituency name = 'sadiya'
105
[ header: japanese title | western title | regions | release | platform(s) | genre row 1 : chinese hero | None | jp | 1984 | arcade | action row 2 : super chinese | kung-fu heroes | jp, na | 1986 | fc/nes | action row 3 : super chinese 2 | little ninja brothers | jp, na | 1989 | fc/nes | role-playing row 4 : super chinese 3 | None | jp | 1991 | fc | role-playing row 5 : super chinese land | ninja boy | jp, na | 1990 | gb | action row 6 : super chinese land 2 | ninja boy 2 | jp, na | 1990 | gb | role-playing row 7 : super chinese land 3 | None | jp | 1995 | gb | role-playing row 8 : super chinese world | super ninja boy | jp, na | 1991 | sfc/snes | role-playing row 9 : super chinese world 2 | None | jp | 1993 | sfc | role-playing row 10 : super chinese world 3 | None | jp | 1995 | sfc | role-playing row 11 : super chinese fighter | None | jp | 1995 | sfc | fighting row 12 : super chinese fighter gb | None | jp | 1996 | gb | fighting row 13 : super chinese fighter ex | None | jp | 1999 | gbc | fighting ] Execute this SQL based on the above table: select platform(s) where id = ( select id where platform(s) = 'gb' ) - 1
fc
[ header: year | film | role | language row 1 : 2004 | 7g rainbow colony | kadhir | tamil row 2 : 2005 | sukran | ravi shankar | tamil row 3 : 2005 | ponniyin selvan | venu | tamil row 4 : 2006 | kedi | raghu | tamil row 5 : 2008 | brahmanandam drama company | ravi | telugu row 6 : 2008 | netru indru naal | vetri | tamil row 7 : 2008 | ninna nedu rep | vijay | telugu row 8 : 2009 | kadhalna summa | vetrivel | tamil row 9 : 2011 | aaranya kaandam | sappai | tamil ] Execute this SQL based on the above table: select language where year = ( select year where language = 'tamil' ) + 1
tamil, tamil
[ header: score | 2007 | 2008 | 2009 | 2010 | 2011 | 2012 | 2013 row 1 : 5 | 15.3% | 18.4% | 18.0% | 17.1% | 17.0% | 16.4% | 18.9% row 2 : 4 | 18.0% | 17.5% | 17.9% | 18.5% | 18.4% | 19.3% | 21.5% row 3 : 3 | 23.0% | 20.0% | 20.2% | 19.3% | 19.5% | 20.1% | 18.8% row 4 : 2 | 18.5% | 14.3% | 14.2% | 12.7% | 14.6% | 15.0% | 14.9% row 5 : 1 | 25.3% | 29.9% | 29.8% | 32.3% | 30.4% | 29.2% | 26.0% row 6 : mean | 2.79 | 2.8 | 2.8 | 2.76 | 2.77 | 2.79 | 2.92 row 7 : number of students | 97136 | 100586 | 104789 | 115077 | 122651 | 132425 | 140006 ] Execute this SQL based on the above table: select count ( * ) where score <= 1185
5
[ header: year | award | category | title | result row 1 : 1955 | academy award | best actor | marty | won row 2 : 1955 | bafta award | best foreign actor | marty | won row 3 : 1955 | golden globe award | best actor - motion picture drama | marty | won row 4 : 1955 | nbr award | best actor | marty | won row 5 : 1955 | nyfcc award | best actor | marty | won row 6 : 1962 | emmy award | outstanding continued performance by an actor in a series | mchale's navy | nominated row 7 : 1979 | emmy award | outstanding supporting actor in a limited series or | all quiet on the western front | nominated row 8 : 1999 | daytime emmy award | outstanding performer in an animated program | all dogs go to heaven: the series | nominated row 9 : 2007 | golden globe award | best performance by an actor in a mini- | a grandpa for christmas | nominated row 10 : 2009 | emmy award | outstanding guest actor - drama | er | nominated row 11 : 2009 | lifetime achievement award | from the rhode island international film | None | won row 12 : 2011 | screen actors guild life achievement award | from the screen actors guild | None | won ] Execute this SQL based on the above table: select year - year where result = 'won'
0, 0, 0, 0, 0, 0, 0
[ header: numbers tops | numbers tops | numbers pre-tops | name(s) | dates | final livery | operator | withdrawn | status row 1 : 86205 | 86503 | e3129 | city of lancaster | 1979-2003 | virgin red/black | virgin west coast | 10/2003 | converted to 86701 (08/2009) row 2 : 86208 | None | e3141 | city of chester | 1979-2000 | intercity | ews | 03/2002 | scrapped at crewe electric tmd row 3 : 86223 | None | e3158 | hector norwich union | 1979-1987 1987-2004 | anglia railways | fm rail | 04/2004 | scrapped at emr kings row 4 : 86225 | None | e3164 | hardwicke | 1980-2003 | virgin red/black | virgin cross-country | 07/2002 | scrapped at rotherham (04/ row 5 : 86235 | None | e3194 | novelty harold macmillan crown point | 1979-1990 1990-1992 1992- | anglia railways | 'one' | 09/2005 | stored at long marston row 6 : 86246 | 86505 | e3149 | royal anglian regiment | 1985- | anglia railways | 'one' | 12/2004 | stored at long marston row 7 : 86251 | None | e3183 | the birmingham post | 1984-2002 | virgin red/black | fm rail | 10/2002 | stored at long marston row 8 : 86255 | 86042 | e3154 | penrith beacon | 1981-1999 | intercity | virgin cross-country | 08/1998 | scrapped at immingham rft row 9 : 86258 | 86046 | e3192 | talyllyn - the first | 1984-2001 2001-2002 | virgin red/black | virgin cross-country | 07/2002 | conversion to battery-electric locomotive cancelled. scrapped row 10 : 86419 | 86319 | e3120 | post haste 150 years of the travelling post | 1990-1993 | rail express systems | ews | 03/1999 | scrapped at crewe electric tmd row 11 : 86424 | 86324 | e3111 | None | None | nr yellow | network rail | 12/2002 | exported hungary. (08/2013) row 12 : 86501 | 86608 | e3180 | crewe basford hall | 2000-2000 | freightliner green | freightliner | None | in service row 13 : 86602 | 86402 | e3170 | None | None | freightliner green | freightliner | 03/2005 | scrapped at sandbach car & row 14 : 86605 | 86405 | e3185 | intercontainer | 1992-1996 | freightliner green | freightliner | None | in service row 15 : 86611 | 86411 | e3171 | airey neave | 1983-2003 | freightliner grey | freightliner | 11/2003 | written-off in norton bridge accident scrapped row 16 : 86614 | 86414 | e3145 | frank hornby | 1986-2001 | freightliner green | freightliner | None | in service row 17 : 86627 | 86427 | e3110 | the industrial society | 1985-1999 | freightliner green | freightliner | None | in service ] Execute this SQL based on the above table: select numbers tops where numbers tops in ( 86602 , 86251 ) group by numbers tops order by count ( status ) desc limit 1
86602.0
[ header: rank | bib | name | nation | run 1 | rank | run 2 | rank | total | difference row 1 : 6 | 13 | manuela molgg | italy | 1:07.99 | 5 | 1:13.44 | 14 | 2:21.43 | 0.89 row 2 : 7 | 26 | jessica lindell-vikar | sweden | 1:08.94 | 14 | 1:12.61 | 5 | 2:21.55 | 1.01 row 3 : 13 | 2 | tanja poutiainen | finland | 1:08.59 | 11 | 1:13.29 | 11 | 2:21.88 | 1.34 row 4 : 17 | 27 | sara hector | sweden | 1:10.37 | 30 | 1:12.30 | 3 | 2:22.67 | 2.13 row 5 : 18 | 24 | lena durr | germany | 1:08.94 | 14 | 1:13.75 | 19 | 2:22.69 | 2.15 row 6 : 23 | 22 | marie-michele gagnon | canada | 1:09.95 | 27 | 1:13.37 | 12 | 2:23.32 | 2.78 row 7 : 24 | 25 | marie-pier prefontaine | canada | 1:09.91 | 26 | 1:13.58 | 17 | 2:23.49 | 2.95 row 8 : 28 | 35 | britt janyk | canada | 1:10.18 | 28 | 1:15.55 | 32 | 2:25.73 | 5.19 row 9 : 36 | 44 | kristina saalova | slovakia | 1:12.22 | 42 | 1:16.44 | 34 | 2:28.66 | 8.12 row 10 : 37 | 51 | katerina paulathova | czech republic | 1:12.10 | 41 | 1:16.71 | 38 | 2:28.81 | 8.27 row 11 : 43 | 42 | sofija novoselic | croatia | 1:13.18 | 48 | 1:17.40 | 42 | 2:30.58 | 10.04 row 12 : 47 | 65 | maria shkanova | belarus | 1:13.86 | 53 | 1:18.28 | 45 | 2:32.14 | 11.6 row 13 : 49 | 59 | daniela markova | czech republic | 1:13.78 | 52 | 1:18.87 | 49 | 2:32.65 | 12.11 row 14 : 52 | 77 | bogdana matsotska | ukraine | 1:14.21 | 56 | 1:19.18 | 51 | 2:33.39 | 12.85 row 15 : None | 7 | kathrin holzl | germany | 1:09.41 | 20 | dns | None | None | None row 16 : None | 38 | rebecca buhler | liechtenstein | 1:12.03 | 40 | dnf | None | None | None row 17 : None | 45 | tea palic | croatia | 1:14.73 | 61 | dnq | None | None | None row 18 : None | 81 | lelde gasuna | latvia | 1:15.37 | 64 | dnq | None | None | None row 19 : None | 61 | anna berecz | hungary | 1:15.95 | 68 | dnq | None | None | None row 20 : None | 85 | iulia petruta cra | romania | 1:16.80 | 70 | dnq | None | None | None row 21 : None | 82 | isabel van buynder | belgium | 1:17.06 | 71 | dnq | None | None | None row 22 : None | 100 | sophie fjellvang- | denmark | 1:18.37 | 75 | dnq | None | None | None row 23 : None | 91 | yom hirshfeld | israel | 1:22.87 | 82 | dnq | None | None | None ] Execute this SQL based on the above table: select nation order by name desc limit 1
israel
[ header: name | first operational | numeral system | computing mechanism | programming | turing complete row 1 : zuse z3 (germany | may 1941 | binary floating point | electro-mechanical | program-controlled by punched 35 mm film | in theory (1998) row 2 : atanasoff-berry computer (us | 1942 | binary | electronic | not programmable-single purpose | no row 3 : colossus mark 1 (uk) | february 1944 | binary | electronic | program-controlled by patch cables and switches | no row 4 : harvard mark i - | may 1944 | decimal | electro-mechanical | program-controlled by 24-channel punched paper tape | debatable row 5 : colossus mark 2 (uk) | june 1944 | binary | electronic | program-controlled by patch cables and switches | in theory (2011) row 6 : zuse z4 (germany | march 1945 | binary floating point | electro-mechanical | program-controlled by punched 35 mm film | yes row 7 : eniac (us) | july 1946 | decimal | electronic | program-controlled by patch cables and switches | yes row 8 : manchester small-scale experimental machine (baby | june 1948 | binary | electronic | stored-program in williams ca | yes row 9 : modified eniac (us) | september 1948 | decimal | electronic | read-only stored programming mechanism using the function tables | yes row 10 : manchester mark 1 (uk) | april 1949 | binary | electronic | stored-program in williams ca | yes row 11 : edsac (uk) | may 1949 | binary | electronic | stored-program in mercury delay line memory | yes row 12 : csirac (australia | november 1949 | binary | electronic | stored-program in mercury delay line memory | yes ] Execute this SQL based on the above table: select programming where id = ( select id where programming = 'stored-program in williams cathode ray tube memory and magnetic drum memory' ) - 1
read-only stored programming mechanism using the function tables as program rom
[ header: date | winner | runner-up | result | site | attendance row 1 : february 11, 1978 | #2 maryland | #1 nc state | 89-82 | charlottesville, virginia | 1500 row 2 : february 10, 1979 | #1 maryland | #2 nc state | 75-73 | raleigh, north carolina | 3500 row 3 : february 10, 1980 | #1 nc state | #2 maryland | 85-75 | college park, maryland | None row 4 : february 14, 1981 | #3 maryland | #4 nc state | 64-63 | clemson, south carolina | 300 row 5 : march 6, 1983 | #3 maryland | #1 nc state | 84-81 | fayetteville, north carolin | 2134 row 6 : march 4, 1984 | #5 north carolina | #3 nc state | 99-76 | fayetteville, north carolin | 3733 row 7 : march 3, 1986 | #5 maryland | #2 north carolina | 92-74 | fayetteville, north carolin | 2632 row 8 : march 2, 1987 | #2 nc state | #1 virginia | 57-56 | fayetteville, north carolin | 2987 row 9 : march 7, 1988 | #2 maryland | #1 virginia | 76-70 | fayetteville, north carolin | 1223 row 10 : march 4, 1991 | #3 nc state | #4 clemson | 84-61 | fayetteville, north carolin | 4102 row 11 : march 9, 1992 | #1 virginia | #7 georgia tech | 70-69 | rock hill, south carolina | 4154 row 12 : march 8, 1993 | #1 virginia | #2 maryland | 106-103 3ot | rock hill, south carolina | 3716 row 13 : march 7, 1994 | #2 north carolina | #1 virginia | 77-60 | rock hill, south carolina | 4386 row 14 : march 5, 1995 | #2 north carolina | #4 duke | 95-70 | rock hill, south carolina | 5724 row 15 : march 2, 1997 | #1 north carolina | #6 clemson | 62-58 | charlotte, north carolina | 5543 row 16 : march 1, 1998 | #4 north carolina | #2 clemson | 81-50 | charlotte, north carolina | 5534 row 17 : march 5, 2001 | #1 duke | #3 nc state | 57-45 | greensboro, north carolina | 8933 row 18 : march 4, 2002 | #1 duke | #2 north carolina | 87-80 | greensboro, north carolina | 9204 row 19 : march 10, 2003 | #1 duke | #2 north carolina | 77-59 | greensboro, north carolina | 11127 row 20 : march 7, 2005 | #1 north carolina | #2 duke | 88-67 | greensboro, north carolina | 11578 row 21 : march 5, 2006 | #1 north carolina | #3 maryland | 91-80 | greensboro, north carolina | 10746 row 22 : march 4, 2007 | #2 north carolina | #4 nc state | 60-54 | greensboro, north carolina | 11538 row 23 : march 9, 2008 | #1 north carolina | #3 duke | 86-73 | greensboro, north carolina | 11132 row 24 : march 7, 2010 | #1 duke | #6 nc state | 70-60 | greensboro, north carolina | 9432 row 25 : march 6, 2011 | #1 duke | #6 north carolina | 81-67 | greensboro, north carolina | 9890 row 26 : march 4, 2012 | #3 maryland | #4 georgia tech | 68-65 | greensboro, north carolina | 9122 row 27 : march 10, 2013 | #1 duke | #3 north carolina | 92-73 | greensboro, north carolina | 8166 ] Execute this SQL based on the above table: select winner where attendance = 3500
#1 maryland
[ header: no. | date/time | aircraft | foe | result | location | notes row 1 : u/c | 14 june 1917 | nieuport 17 | enemy aircraft | None | mount verena | victory originally confirmed, but disallowed postwar row 2 : 1 | 25 october 1917 @ 0800 | None | enemy aircraft | forced to land | marcesina | None row 3 : 2 | 7 november 1917 circa 1615 hours | None | enemy aircraft | forced to land | fonsazo | awarded silver medal for military valor row 4 : 3 | 7 december 1917 @ 1130 hours | None | enemy aircraft | None | val d'assa | None row 5 : 4 | 13 december 1917 ca. 1130 hours | None | enemy aircraft | None | asiago | None row 6 : 5 | 30 january 1918 @ 1000 hours | None | enemy two-seater | None | col d'eshele, | awarded silver medal for military valor row 7 : u/c | 4 february 1918 ca. 1100 hours | None | black enemy fighter craft | None | valstagna | claim shared with antonio reali row 8 : 6 | 5 february 1918 ca. 0830 hours | None | enemy two-seater | forced to land | case girardi | shared with marziale cerutti row 9 : 7 | 13 february 1918 @ 0915 hours | None | enemy fighter | None | marcesina | None row 10 : u/c | 24 february 1918 | None | enemy aircraft | None | mount grappa | None row 11 : 8 | 4 may 1918 @ 0850 hours | nieuport 27 | enemy aircraft | None | montello | austro-hungarians reported no matching loss row 12 : 9 | 4 may 1918 @ 1025 hours | nieuport 27 | enemy fighter | None | montello | austro-hungarians reported no matching loss ] Execute this SQL based on the above table: select foe where date/time = ( select date/time where foe = 'enemy fighter' ) + 1
enemy aircraft
[ header: interval name | size (steps) | size (cents) | midi | just ratio | just (cents) | midi | error row 1 : perfect fifth | 42 | 700 | play (help·info) | 3:2 | 701.96 | play (help·info) | -1.96 row 2 : tridecimal tritone | 34 | 566.67 | play (help·info) | 18:13 | 563.38 | None | 3.28 row 3 : 11th harmonic | 33 | 550 | play (help·info) | 11:8 | 551.32 | play (help·info) | -1.32 row 4 : (15:11) augmented fourth | 32 | 533.33 | play (help·info) | 15:11 | 536.95 | None | -3.62 row 5 : perfect fourth | 30 | 500 | play (help·info) | 4:3 | 498.04 | play (help·info) | 1.96 row 6 : septimal narrow fourth | 28 | 466.66 | play (help·info) | 21:16 | 470.78 | play (help·info) | -4.11 row 7 : 17:13 narrow fourth | 28 | 466.66 | play (help·info) | 17:13 | 464.43 | None | 2.24 row 8 : tridecimal major third | 27 | 450 | play (help·info) | 13:10 | 454.21 | play (help·info) | -4.21 row 9 : septendecimal supermajor third | 27 | 450 | play (help·info) | 22:17 | 446.36 | None | 3.64 row 10 : septimal major third | 26 | 433.33 | play (help·info) | 9:7 | 435.08 | play (help·info) | -1.75 row 11 : undecimal major third | 25 | 416.67 | play (help·info) | 14:11 | 417.51 | play (help·info) | -0.84 row 12 : major third | 23 | 383.33 | play (help·info) | 5:4 | 386.31 | play (help·info) | -2.98 row 13 : neutral third | 21 | 350 | play (help·info) | 11:9 | 347.41 | play (help·info) | 2.59 row 14 : septendecimal supraminor third | 20 | 333.33 | None | 17:14 | 336.13 | None | -2.8 row 15 : minor third | 19 | 316.67 | play (help·info) | 6:5 | 315.64 | play (help·info) | 1.03 row 16 : tridecimal minor third | 17 | 283.33 | play (help·info) | 13:11 | 289.21 | play (help·info) | -5.88 row 17 : septimal minor third | 16 | 266.67 | play (help·info) | 7:6 | 266.87 | play (help·info) | -0.2 row 18 : tridecimal 5/4 tone | 15 | 250 | play (help·info) | 15:13 | 247.74 | None | 2.26 row 19 : whole tone, major tone | 12 | 200 | play (help·info) | 9:8 | 203.91 | play (help·info) | -3.91 row 20 : whole tone, minor tone | 11 | 183.33 | play (help·info) | 10:9 | 182.4 | play (help·info) | 0.93 row 21 : lesser undecimal neutral second | 9 | 150 | play (help·info) | 12:11 | 150.64 | play (help·info) | -0.64 row 22 : greater tridecimal 2/3 tone | 8 | 133.33 | None | 13:12 | 138.57 | None | -5.24 row 23 : great limma | 8 | 133.33 | None | 27:25 | 133.24 | None | 0.09 row 24 : lesser tridecimal 2/3rd tone | 8 | 133.33 | play (help·info) | 14:13 | 128.3 | None | 5.04 ] Execute this SQL based on the above table: select interval name where interval name in ( 'whole tone, major tone' , 'septendecimal supermajor third' ) order by interval name + midi desc limit 1
septendecimal supermajor third
[ header: # | temple name | hangul | hanja | period of reign | personal name | relationship | note row 1 : 2 | daru | 다루왕 | 多婁王 | 28-77 | None | first son of onjo | None row 2 : 3 | giru | 기루왕 | 己婁王 | 77-128 | None | first son of daru | None row 3 : 5 | chogo | 초고왕 | 肖古王 | 166-214 | None | son of gaeru | also sogo (소고왕, 素古王) row 4 : 7 | saban | 사반왕 | 沙泮王 | 234 | None | first son of gusu | also sai (사이왕, 沙伊王 row 5 : 9 | chaekgye | 책계왕 | 責稽王 | 286-298 | None | son of goi | also cheonggye (청계왕, row 6 : 11 | biryu | 비류왕 | 比流王 | 304-344 | None | second son of gusu | None row 7 : 15 | chimnyu | 침류왕 | 枕流王 | 384-385 | None | first son of geungusu | None row 8 : 19 | gu-isin | 구이신왕 | 久爾辛王 | 420-427 | None | first son of jeonji | None row 9 : 23 | samgeun | 삼근왕 | 三斤王 | 477-479 | samgeun (삼근, 三斤 | first son of munju | also mun-geun (문근왕, 文斤王 row 10 : 24 | dongseong | 동성왕 | 東城王 | 479-501 | modae (모대, 牟大) or | cousin of samgeum | None row 11 : 27 | wideok | 위덕왕 | 威德王 | 554-598 | chang (창, 昌) | first son of seong | also chang (창왕, 昌王) row 12 : 30 | mu | 무왕 | 武王 | 600-641 | personal name jang (장, 璋 | youngest son of wideok | also mugang (무강왕, 武康王) or row 13 : 31 | uija | 의자왕 | 義慈王 | 641-660 | None | first son of mu | None ] Execute this SQL based on the above table: select # where temple name = 'jinsa'
16.0
[ header: party/electoral alliance | seats | change | votes | % row 1 : radical civic union (ucr) | 98 | 6 | 618411 | 42.70% row 2 : independent socialist | 15 | 9 | 110792 | 7.70% row 3 : conservative | 12 | -2 | 153826 | 10.60% row 4 : democratic (cordoba province) | 7 | 1 | None | None row 5 : unified ucr (santa | 4 | -7 | 53221 | 3.70% row 6 : liberal (tucuman province) | 4 | -2 | 39543 | 2.70% row 7 : democratic progressive | 3 | 3 | 136121 | 9.40% row 8 : antipersonalist ucr | 3 | -2 | 47891 | 3.30% row 9 : autonomist party of corrientes | 2 | -3 | 17152 | 1.20% row 10 : lencinist ucr ( | 1 | None | 19375 | 1.30% row 11 : socialist | 1 | -3 | 123734 | 8.50% row 12 : others | 4 | None | 127601 | 8.60% row 13 : invalid votes | 4 | None | 39868 | 2.70% row 14 : total | 158 | None | 1487535 | 100.00% ] Execute this SQL based on the above table: select party/electoral alliance where party/electoral alliance != 'others' and seats = ( select seats where party/electoral alliance = 'others' )
unified ucr (santa fe province), liberal (tucuman province), invalid votes
[ header: | brand | active ingredient | therapeutic area | pathology row 1 : 1 | ebastel and others | ebastine | respiratory | allergy row 2 : 2 | prevencor | atorvastatin | cardiovascular | cholesterol row 3 : 3 | esertia | escitalopram | central nervous system | depression row 4 : 4 | plusvent | salmeterol+fluticasone | respiratory | asthma & copd row 5 : 5 | almogran and others | almotriptan | central nervous system | migraine row 6 : 6 | parapres | candesartan cilexetil | cardiovascular | hypertension row 7 : 7 | airtal and others | aceclofenac | osteomuscular | pain row 8 : 8 | opiren | lansoprazole | digestive | ulcer row 9 : 9 | dobupal | venlafaxine | central nervous system | depression row 10 : 10 | tesavel & efficib | sitagliptin & sitaglip | gastrointestinal | diabetes row 11 : 11 | solaraze | diclofenac solium + h | dermatology | actinic keratoses row 12 : 12 | almax and others | almagate | gastrointestinal | antacid row 13 : 13 | balneum and others | soya oil | dermatology | atopic dermatitis row 14 : 14 | pantopam | pantoprazole | gastrointestinal | gastroesophageal reflux row 15 : 15 | decoderm tri and others | fluprednidene | dermatology | mycotic dermatitis ] Execute this SQL based on the above table: select where in ( 5 , 6 ) order by asc limit 1
5
[ header: rank | city | passengers | ranking | airline row 1 : 1 | united states, los angeles | 14749 | None | alaska airlines row 2 : 2 | united states, houston | 5465 | None | united express row 3 : 3 | canada, calgary | 3761 | None | air transat, westjet row 4 : 4 | canada, saskatoon | 2282 | 4 | None row 5 : 5 | canada, vancouver | 2103 | None | air transat row 6 : 6 | united states, phoenix | 1829 | 1 | us airways row 7 : 7 | canada, toronto | 1202 | 1 | air transat, canjet row 8 : 8 | canada, edmonton | 110 | None | None row 9 : 9 | united states, oakland | 107 | None | None ] Execute this SQL based on the above table: select city where city in ( 'united states, los angeles' , 'canada, edmonton' ) order by airline limit 1
canada, edmonton
[ header: year | men | sport | women | sport | team | sport | promising talent | sport | paralympic | sport | coach | sport row 1 : 2009 | philippe gilbert | cycling | kim clijsters (6) | tennis | men's 4×400 metres relay | athletics | romelu lukaku | football | None | None | None | None row 2 : 2008 | sven nys | cyclo-cross | tia hellebaut | athletics | women's 4×100 metres relay (3) | athletics | elise matthysen | swimming | None | None | None | None row 3 : 2006 | stefan everts (5) | motorcross | justine henin-hardenne (3) | tennis | belgium fed cup team (2) | tennis | yoris grandjean | swimming | None | None | None | None row 4 : 2000 | joel smets | motorcross | kim clijsters (2) | tennis | rsc anderlecht | football | bart aernouts | cyclo-cross | None | None | None | None row 5 : 1997 | luc van lierde | triathlon | gella vandecaveye (2) | judo | noliko maaseik | volleyball | None | None | None | None | None | None row 6 : 1996 | fred deburghgraeve (2) | swimming | ulla werbrouck | judo | None | None | None | None | None | None | None | None row 7 : 1992 | georges jobe (2) | motorcross | annelies bredael | rowing | None | None | None | None | None | None | None | None row 8 : 1989 | thierry boutsen | motorsport | ingrid berghmans (8) | judo | None | None | None | None | None | None | None | None row 9 : 1987 | georges jobe | motorcross | ingrid lempereur | swimming | None | None | None | None | None | None | None | None row 10 : 1985 | gaston rahier vincent rous | motorcross athletics | ingrid berghmans (5) | judo | None | None | None | None | None | None | None | None row 11 : 1983 | eddy annys | athletics | ingrid berghmans (3) | judo | None | None | None | None | None | None | None | None row 12 : 1981 | freddy maertens | cycling | annie lambrechts | roller skating | None | None | None | None | None | None | None | None row 13 : 1979 | robert van de walle | judo | carine verbauwen (3) | swimming | None | None | None | None | None | None | None | None row 14 : 1978 | raymond ceulemans | billiards | carine verbauwen (2) | swimming | None | None | None | None | None | None | None | None row 15 : 1977 | michel pollentier | cycling | anne-marie pira (2) | athletics | None | None | None | None | None | None | None | None row 16 : 1975 | bruno brokken | athletics | carine verbauwen | swimming | None | None | None | None | None | None | None | None row 17 : 1973 | eddy merckx (5) | cycling | None | None | None | None | None | None | None | None | None | None row 18 : 1971 | eddy merckx (3) | cycling | None | None | None | None | None | None | None | None | None | None ] Execute this SQL based on the above table: select min ( women ) where sport = 'judo'
gella vandecaveye (2)
[ header: pos | grid | no. | driver | team | manufacturer | laps | points row 1 : 1 | 8 | 24 | jeff gordon | hendrick motorsports | chevrolet | 160 | 185 row 2 : 2 | 1 | 18 | bobby labonte | joe gibbs racing | pontiac | 160 | 175 row 3 : 3 | 9 | 31 | mike skinner | richard childress racing | chevrolet | 160 | 165 row 4 : 4 | 25 | 12 | jeremy mayfield | penske-kranefuss | ford | 160 | 165 row 5 : 7 | 12 | 22 | ward burton | bill davis racing | pontiac | 160 | 146 row 6 : 8 | 39 | 36 | ernie irvan | mb2 motorsports | pontiac | 160 | 142 row 7 : 9 | 16 | 33 | ken schrader | andy petree racing | chevrolet | 160 | 138 row 8 : 10 | 5 | 3 | dale earnhardt | richard childress racing | chevrolet | 160 | 139 row 9 : 12 | 38 | 23 | jimmy spencer | travis carter enterprises | t-bird | 160 | 132 row 10 : 14 | 14 | 43 | john andretti | petty enterprises | pontiac | 160 | 121 row 11 : 15 | 31 | 94 | bill elliott | bill elliott racing | ford | 160 | 118 row 12 : 18 | 17 | 40 | sterling marlin | team sabco | chevrolet | 160 | 109 row 13 : 19 | 33 | 9 | jerry nadeau | melling racing | ford | 160 | 106 row 14 : 20 | 20 | 97 | chad little | roush racing | t-bird | 159 | 103 row 15 : 21 | 30 | 71 | dave marcis | marcis auto racing | chevrolet | 159 | 105 row 16 : 22 | 42 | 44 | kyle petty | pe2 | pontiac | 159 | 97 row 17 : 23 | 3 | 88 | dale jarrett | robert yates racing | ford | 159 | 99 row 18 : 25 | 19 | 11 | brett bodine | brett bodine racing | ford | 159 | 88 row 19 : 26 | 40 | 26 | johnny benson, j | roush racing | ford | 159 | 85 row 20 : 28 | 43 | 35 | darrell waltrip | tyler jet motorsports | pontiac | 158 | 79 row 21 : 29 | 24 | 96 | steve grissom | american equipment racing | chevrolet | 157 | 76 row 22 : 32 | 11 | 28 | kenny irwin, j | robert yates racing | ford | 140 | 72 row 23 : 33 | 15 | 1 | steve park | dale earnhardt, inc | chevrolet | 139 | 64 row 24 : 35 | 28 | 81 | kenny wallace | filmar racing | ford | 113 | 58 row 25 : 36 | 26 | 07 | dan pardus | midwest transit racing | chevrolet | 99 | 55 row 26 : 37 | 32 | 46 | jeff green | team sabco | chevrolet | 98 | 52 row 27 : 38 | 13 | 30 | derrike cope | bahari racing | pontiac | 67 | 49 row 28 : 39 | 36 | 98 | rich bickle | cale yarborough racing | t-bird | 58 | 46 row 29 : 42 | 10 | 55 | hut stricklin | andy petree racing | chevrolet | 31 | 37 ] Execute this SQL based on the above table: select manufacturer order by team asc limit 1
chevrolet
[ header: title | year | director | budget | gross (worldwide) | notes row 1 : dead ringers | 1988 | david cronenberg | None | $8,038,508 | None row 2 : coupe de ville | 1990 | joe roth | None | $715,983 | None row 3 : nightbreed | 1990 | clive barker | $11 million | $8,862,354 | None row 4 : freejack | 1992 | geoff murphy | $30 million | $17,129,000 | None row 5 : white sands | 1992 | roger donaldson | $25 million | $9,011,574 | None row 6 : stay tuned | 1992 | peter hyams | None | $10,736,401 | None row 7 : the last of the mohicans | 1992 | michael mann | $40 million | $75,505,856 | None row 8 : chasers | 1994 | dennis hopper | $15 million | $1,596,687 | None row 9 : trial by jury | 1994 | heywood gould | None | $6,971,777 | None row 10 : silent fall | 1994 | bruce beresford | $30 million | $3,180,674 | None row 11 : ace ventura: when nature calls | 1995 | steve oedekerk | $30 million | $212,385,533 | None row 12 : two if by sea | 1996 | bill bennett | None | $10,658,278 | None row 13 : wild america | 1997 | william dear | None | $7,324,662 | None row 14 : incognito | 1998 | john badham | None | None | None row 15 : wrongfully accused | 1998 | pat proft | None | $9,623,329 | None row 16 : the king and i | 1999 | richard rich | $25 million | $11,993,021 | None row 17 : chill factor | 1999 | hugh johnson | $70 million | $11,263,966 | None row 18 : liberty heights | 1999 | barry levinson | $11 million | $3,736,868 | None row 19 : battlefield earth | 2000 | roger christian | $44 million | $29,725,663 | None row 20 : the art of war | 2000 | christian duguay | $60 million | $40,400,425 | None row 21 : get carter | 2000 | stephen kay | $63.6 million | $19,412,993 | None row 22 : the in crowd | 2000 | mary lambert | $15 million | $5,217,498 | None row 23 : the pledge | 2001 | sean penn | $35 million | $29,419,291 | None row 24 : angel eyes | 2001 | luis mandoki | $53 million | $29,715,606 | None row 25 : i'll be there | 2003 | craig ferguson | None | None | None row 26 : exorcist: the beginning | 2004 | renny harlin | $80 million | $78,000,586 | None row 27 : two for the money | 2005 | d. j. caruso | $25 million | $30,526,509 | None row 28 : georgia rule | 2007 | garry marshall | $20 million | $25,992,167 | None row 29 : sydney white | 2007 | joe nussbaum | None | $13,620,075 | None row 30 : ace ventura jr: pet detective | 2009 | david mickey evans | $7.5 million | None | None row 31 : dream house | 2011 | jim sheridan | $50 million | $38,502,340 | None row 32 : the thing | 2011 | matthijs van heijningen | $38 million | $27,428,670 | None row 33 : tupac | 2014 | antoine fuqua | $45 million | None | None ] Execute this SQL based on the above table: select title where title = 'sydney white'
sydney white
[ header: riding | candidate | gender | residence | occupation | votes | % | rank | biographical notes row 1 : cape breton-canso | mark macneill | m | inverness | government and business policy advisor | 7660 | 21.1 | 3rd | served in ottawa as a row 2 : central nova | mary louise lorefice | f | antigonish | retired educator | 7659 | 19.6 | 3rd | lorefice is a retired teacher row 3 : cumberland-colchester-musquod | karen olsson | f | north river | stay-at-home mother | 4874 | 12.3 | 2nd | None row 4 : dartmouth-cole harbour | brad pye | m | ottawa, on | senior political party program officer | 12793 | 31.5 | 2nd | pye is an international development worker and row 5 : halifax | megan leslie | f | halifax | community legal worker | 19252 | 42.7 | 1st | None row 6 : halifax west | tamara lorincz | f | halifax | director of nova scotia environment | 12201 | 29.6 | 2nd | an environmentalist row 7 : kings-hants | carol e. harris | f | wolfville | university professor | 8291 | 22 | 3rd | she was the ndp's candidate in row 8 : sackville-eastern shore | peter stoffer | m | windsor junction | parliamentarian | 24279 | 61.4 | 1st | stoffer has been the incumbent mp since row 9 : south shore-st. margaret | gordon s. earle | m | upper tantallon | retired public servant | 13456 | 33.7 | 2nd | earle is the former federal mp for row 10 : sydney-victoria | wayne mckay | m | sydney | teacher | 8559 | 24.4 | 2nd | None row 11 : west nova | george barron | m | bear river | paramedic | 7097 | 16.9 | 3rd | barron was born near paris, on ] Execute this SQL based on the above table: select biographical notes where riding = 'sackville-eastern shore'
stoffer has been the incumbent mp since 1997
[ header: station | type | latitude | longitude | el. (m) | opened | closed | coordinates row 1 : calama, chile | solar | 22o28's | 68o56'w | 2250 | 1918 | 1920 | 22°28′s 68°56′ row 2 : mount montezuma, chile | solar | 22o40's | 68o56'w | 2711 | 1920 | None | 22°40′s 68°56′ row 3 : mount harquahala, arizon | solar | 33o48'n | 113o20'w | 1721 | 1920 | 1925 | 33°48′n 113°20′ row 4 : table mountain, california | solar | 34o22'n | 117o41'w | 2286 | 1925 | 1962 | 34°22′n 117°41′ row 5 : mount brukkaros, namibi | solar | 25o52's | 17o48'e | 1586 | 1926 | 1931 | 25°52′s 17°48′e row 6 : mount saint catherine, egy | solar | 28o31'n | 33o56'e | 2591 | 1934 | 1937 | 28°31′n 33°56′e row 7 : burro mountain, new mexico | solar | 32o40'n | 108o33'w | 2440 | 1938 | 1946 | 32°40′n 108°33′ row 8 : organ pass, new mexico | space track | 32o25'n | 253o27'e | None | None | None | 32°25′n 106°33′ row 9 : olifantsfontein, south africa | space track | 25o58's | 28o15'e | None | None | None | 25°58′s 28°15′e row 10 : woomera, australia | space track | 31o06's | 136o46'e | None | None | None | 31°06′s 136°46′ row 11 : curacao, netherlands west in | space track | 12o05'n | 291o10'e | None | None | None | 12°05′n 68°50′ row 12 : jupiter, florida | space track | 27o01'n | 279o53'e | None | None | None | 27°01′n 80°07′w row 13 : villa dolores, argentina | space track | 31o57'n | 294o54'e | None | None | None | 31°57′n 65°06′e row 14 : mitaka, japan | space track | None | None | None | None | None | None row 15 : nani tal, india | space track | None | None | None | None | None | None ] Execute this SQL based on the above table: select station order by opened desc limit 1
burro mountain, new mexico
[ header: year | title | peak chart positions us air | peak chart positions us main | peak chart positions us mod | album row 1 : 1990 | "dig a hole" | None | None | None | non-album single row 2 : 1993 | "mister love" | None | None | None | velvet row 3 : 1994 | "mister love" | None | None | None | rubberneck row 4 : 1995 | "possum kingdom" | 40 | 9 | 4 | rubberneck row 5 : 1995 | "away" | None | 23 | 28 | rubberneck row 6 : 1996 | "tyler" | None | None | None | rubberneck row 7 : 1996 | "backslider" | None | None | None | rubberneck row 8 : 2001 | "push the hand" | None | 34 | None | hell below/stars above row 9 : 2008 | "no deliverance" | None | 38 | None | no deliverance row 10 : 2009 | "song i hate" | None | None | None | no deliverance row 11 : 2012 | "summer of the strange" | None | None | None | play.rock.music ] Execute this SQL based on the above table: select count ( title )
11
[ header: draw | country | language | artist | song | english translation | place | points row 1 : 1 | belgium | dutch | bobbejaan schoepen | "straatdeuntje" | street tune | 8 | 5 row 2 : 2 | luxembourg | french | daniele dupre | "amours mortes (tant de peine | dead love (so much sorrow) | 4 | 8 row 3 : 3 | united kingdom | english | patricia bredin | "all" | None | 7 | 6 row 4 : 4 | italy | italian | nunzio gallo | "corde della mia chi | strings of my guitar | 6 | 7 row 5 : 5 | austria | german | bob martin | "wohin, kleines pony?" | where to, little pony? | 10 | 3 row 6 : 6 | netherlands | dutch | corry brokken | "net als toen" | just like then | 1 | 31 row 7 : 7 | germany | german | margot hielscher | "telefon, telefon" | telephone, telephone | 4 | 8 row 8 : 8 | france | french | paule desjardins | "la belle amour" | beautiful love | 2 | 17 row 9 : 9 | denmark | danish | birthe wilke & gusta | "skibet skal sejle | the ship will sail tonight | 3 | 10 row 10 : 10 | switzerland | french | lys assia | "l'enfant que j'et | the child i was | 8 | 5 ] Execute this SQL based on the above table: select artist order by place desc limit 1
bob martin
[ header: type | power [w] | relative cost | input range [v] | energy storage | features row 1 : flyback | 0-250 | 1 | 5-600 | mutual inductors | isolated form of the buck-boost row 2 : ringing choke converter (rcc) | 0-150 | 1 | 5-600 | transformer | low-cost self-oscillating row 3 : half-forward | 0-250 | 1.2 | 5-500 | inductor | None row 4 : forward | 100-200 | None | 60-200 | inductor | isolated form of buck converter row 5 : resonant forward | 0-60 | 1 | 60-400 | inductor and capacitor | single rail input, unregulated output, high efficiency row 6 : push-pull | 100-1,000 | 1.75 | 50-1,000 | inductor | None row 7 : half-bridge | 0-2,000 | 1.9 | 50-1,000 | inductor | None row 8 : full-bridge | 400-5,000 | >2.0 | 50-1,000 | inductor | very efficient use of transformer, used for highest powers row 9 : resonant, zero voltage switched | >1,000 | >2.0 | None | inductor and capacitor | None row 10 : isolated cuk | None | None | None | two capacitors and two inductors | None ] Execute this SQL based on the above table: select relative cost where energy storage = 'transformer'
1.0
[ header: year | competition | venue | position | notes row 1 : 2002 | european championships | munich, germany | 6th | 7.78 m row 2 : 2003 | world championships | paris, france | 9th | 7.93 m row 3 : 2004 | olympic games | athens, greece | 5th | 8.25 m row 4 : 2006 | european championships | gothenburg, sweden | 9th | 7.74 m row 5 : 2008 | world indoor championships | valencia, spain | 2nd | 8.06 m row 6 : 2008 | olympic games | beijing, china | 27th | 7.70 m row 7 : 2009 | world championships | berlin, germany | 8th | 8.06 m row 8 : 2010 | european championships | barcelona, spain | 3rd | 8.23 m row 9 : 2011 | european team championships | stockholm, sweden | 3rd | 8.12 m row 10 : 2011 | world championships | daegu, south korea | 11th | 7.87 m row 11 : 2012 | olympic games | london, england | 6th | 8.07 m row 12 : 2013 | european indoor championships | gothenburg, sweden | 7th | 7.95 m ] Execute this SQL based on the above table: select position order by julianday ( position ) - julianday ( position ) limit 1
6th
[ 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 where id = 14
kirk franklin, dalon collins, david mann, & tamela mann
[ header: week | date | opponent | result | attendance row 1 : 1 | september 6, 1981 | new orleans saints | w 27-0 | 57,406 row 2 : 2 | september 13, 1981 | at green bay packers | w 31-17 | 55,382 row 3 : 3 | september 20, 1981 | san francisco 49ers | w 34-17 | 56,653 row 4 : 4 | september 27, 1981 | at cleveland browns | l 28-17 | 78,283 row 5 : 5 | october 5, 1981 | at philadelphia eagle | l 16-13 | 71,488 row 6 : 6 | october 11, 1981 | los angeles rams | l 37-35 | 57,841 row 7 : 7 | october 18, 1981 | st. louis cardinals | w 41-20 | 51,428 row 8 : 8 | october 25, 1981 | new york giants | l 27-24 | 48,410 row 9 : 9 | november 1, 1981 | at new orleans saints | w 41-10 | 63,637 row 10 : 10 | november 8, 1981 | at san francisco 49ers | l 17-14 | 59,127 row 11 : 11 | november 15, 1981 | pittsburgh steelers | l 34-20 | 57,485 row 12 : 12 | november 23, 1981 | minnesota vikings | w 31-30 | 54,086 row 13 : 13 | november 29, 1981 | at houston oilers | w 31-27 | 40,201 row 14 : 14 | december 6, 1981 | at tampa bay buccaneers | l 24-23 | 69,221 row 15 : 15 | december 14, 1981 | at los angeles rams | l 21-16 | 57,054 row 16 : 16 | december 20, 1981 | cincinnati bengals | l 30-28 | 35,972 ] Execute this SQL based on the above table: select count ( date ) where date = 'november 8, 1981'
1
[ header: race | race name | pole position | fastest lap | winning driver | winning team | yokohama winner | jay-ten winner | report row 1 : 1 | race of brazil | robert huff | robert huff | robert huff | chevrolet | kristian poulsen | michel nykjær | report row 2 : 3 | race of belgium | robert huff | robert huff | robert huff | chevrolet | kristian poulsen | michel nykjær | report row 3 : 5 | race of italy | robert huff | yvan muller | robert huff | chevrolet | norbert michelisz | fredy barth | report row 4 : 7 | race of hungary | alain menu | norbert michelisz | alain menu | chevrolet | norbert michelisz | aleksei dudukalo | report row 5 : 8 | race of hungary | None | norbert michelisz | yvan muller | chevrolet | franz engstler | aleksei dudukalo | report row 6 : 9 | race of the czech republic | yvan muller | robert huff | robert huff | chevrolet | kristian poulsen | aleksei dudukalo | report row 7 : 10 | race of the czech republic | None | yvan muller | yvan muller | chevrolet | michel nykjær | aleksei dudukalo | report row 8 : 11 | race of portugal | alain menu | alain menu | alain menu | chevrolet | norbert michelisz | no finishers | report row 9 : 17 | race of spain | yvan muller | yvan muller | yvan muller | chevrolet | kristian poulsen | fabio fabiani | report row 10 : 18 | race of spain | None | yvan muller | yvan muller | chevrolet | kristian poulsen | fabio fabiani | report row 11 : 20 | race of japan | None | robert dahlgren | tom coronel | roal motorsport | michel nykjær | charles ng | report row 12 : 21 | race of china | alain menu | robert huff | alain menu | chevrolet | colin turkington | fabio fabiani | report row 13 : 22 | race of china | None | yvan muller | yvan muller | chevrolet | colin turkington | fabio fabiani | report row 14 : 23 | guia race of macau | robert huff | yvan muller | robert huff | chevrolet | michel nykjær | jo merszei | report ] Execute this SQL based on the above table: select yokohama winner group by yokohama winner order by count ( * ) desc limit 1
kristian poulsen
[ header: name | date of death | ceremony | year | academy award | film | winner row 1 : marit allen | 26-nov-07 | 80th | 2007 | best costume design | la vie en rose | None row 2 : howard ashman | 14-mar-91 | 64th | 1991 | best music (song) | beauty and the beast | None row 3 : howard ashman | 14-mar-91 | 65th | 1992 | best music (song) | aladdin | None row 4 : robert alan aurth | 20-nov-78 | 52nd | 1979 | best picture | all that jazz | None row 5 : james dean | 30-sep-55 | 28th | 1955 | best actor | east of eden | None row 6 : gail dolgin | 7-oct-10 | 84th | 2011 | best documentary (short subject) | the barber of birmingham | None row 7 : gordon hollingshead | 8-jul-52 | 25th | 1952 | best short film (live action) | desert killer | None row 8 : william a. horning | 2-mar-59 | 31st | 1958 | best art direction | gigi | won row 9 : william a. horning | 2-mar-59 | 32nd | 1959 | best art direction | ben-hur | won row 10 : william a. horning | 2-mar-59 | 32nd | 1959 | best art direction | north by northwest | None row 11 : bert kalmar | 18-sep-47 | 24th | 1951 | best music (song) | the strip | None row 12 : jerome kern | 11-nov-45 | 19th | 1946 | best music (song) | centennial summer | None row 13 : william kiernan | 19-nov-73 | 46th | 1973 | best art direction | the way we were | None row 14 : frederic knudt | 14-feb-64 | 36th | 1963 | best film editing | it's a mad, mad, mad | None row 15 : alfred newman | 17-feb-70 | 43rd | 1970 | best music (scoring) | airport | None row 16 : joseph o'brien | 30-mar-45 | 18th | 1945 | best short film (live action) | your national gallery | None row 17 : bridget o'connor | 22-sep-10 | 84th | 2011 | best writing | tinker tailor soldier spy | None row 18 : arnold perl | 11-dec-71 | 45th | 1972 | best documentary (feature) | malcolm x | None row 19 : raymond rasch | 23-dec-64 | 45th | 1972 | best music (scoring) | limelight | won row 20 : larry russell | 14-feb-54 | 45th | 1972 | best music (scoring) | limelight | won row 21 : carol sobieski | 4-nov-90 | 64th | 1991 | best writing | fried green tomatoes | None row 22 : harry stradling | 14-feb-70 | 42nd | 1969 | best cinematography | hello, dolly! | None row 23 : spencer tracy | 10-jun-67 | 40th | 1967 | best actor | guess who's coming to dinner | None row 24 : robert l. wolfe | 28-feb-81 | 54th | 1981 | best film editing | on golden pond | None row 25 : sam zimbalist | 4-nov-58 | 32nd | 1959 | best picture | ben-hur | won ] Execute this SQL based on the above table: select count ( date of death ) where ceremony = '32nd'
3
[ header: season | driver | equipment | position | points | races | wins | second | third row 1 : 2001 | modris stelle | zabel-ayr | 27 | 14 | 10 | None | None | None row 2 : 2002 | modris stelle | zabel-ayr | 23 | 69 | 12 | None | None | None row 3 : 2003 | daniel willemsen | zabel-vmc | 1 | 561 | 24 | 13 | 9 | None row 4 : 2004 | daniel willemsen | zabel-vmc | 1 | 572 | 26 | 18 | 4 | 1 row 5 : 2005 | kristers sergis | mth-bsu | 2 | 440 | 22 | 7 | 12 | None row 6 : 2006 | kristers sergis | ktm-mefo | 19 | 64 | 4 | None | 2 | 1 row 7 : 2007 | kristers sergis | ktm-mefo | 3 | 242 | 16 | 1 | 8 | 1 row 8 : 2008 | kristers sergis | ktm-ayr | 2 | 434 | 24 | 4 | 12 | 2 row 9 : 2009 | nicky pulinx | zabel-vmc | 12 | 229 | 25 | None | None | None row 10 : 2010 | maris rupeiks | ktm-wsp | 5 | 423 | 28 | 1 | 4 | 2 row 11 : 2011 | maris rupeiks | zabel-wsp | 4 | 316 | 22 | 1 | 4 | None row 12 : 2012 | etienne bax | zabel-wsp | 2 | 447 | 22 | 9 | 8 | 1 row 13 : 2013 | etienne bax | zabel-vmc | 2 | 513 | 25 | 14 | 6 | None row 14 : None | overall 2001 - 2013 | None | None | 4224 | 250 | 68 | 69 | 8 ] Execute this SQL based on the above table: select equipment where equipment in ( 'ktm-ayr' , 'zabel-wsp' ) order by driver + driver desc limit 1
ktm-ayr
[ header: year | division | league | reg. season | playoffs | open cup row 1 : 1998 | 3 | usisl d-3 pro league | 3rd, northeast | division semifinals | 2nd round row 2 : 1999 | 3 | usl d-3 pro league | 1st, northern | champion | did not qualify row 3 : 2000 | 3 | usl d-3 pro league | 5th, northern | conference finals | did not qualify row 4 : 2001 | 3 | usl d-3 pro league | 7th, northern | did not qualify | did not qualify row 5 : 2002 | 3 | usl d-3 pro league | 1st, northern | quarterfinals | did not qualify row 6 : 2003 | 3 | usl pro select league | 3rd, northern | did not qualify | did not qualify row 7 : 2004 | 3 | usl pro soccer league | 3rd, northern | did not qualify | 2nd round row 8 : 2005 | 3 | usl second division | 1st | final | 3rd round row 9 : 2006 | 3 | usl second division | 6th | did not qualify | did not qualify row 10 : 2007 | 3 | usl second division | 6th | did not qualify | 2nd round row 11 : 2008 | 3 | usl second division | 6th | quarterfinals | 2nd round row 12 : 2009 | 3 | usl second division | 7th | did not qualify | 2nd round row 13 : 2010 | 4 | usl pdl | 6th, northeast | did not qualify | did not qualify row 14 : 2011 | 4 | usl pdl | 3rd, northeast | did not qualify | 1st round row 15 : 2012 | 4 | usl pdl | 3rd, northeast | did not qualify | did not qualify row 16 : 2013 | 4 | usl pdl | 4th, northeast | did not qualify | did not qualify ] Execute this SQL based on the above table: select open cup where playoffs = 'did not qualify' group by open cup order by count ( * ) desc limit 1
did not qualify
[ header: year | title | b-side | mediums | label (catalog) row 1 : 1996 | "broke" | "whenever i breathe out, you breathe | 7" | sub pop (sp0338) row 2 : 1997 | "a life of arctic sounds" | "medication" | 7" | suicide squeeze (ssr001003) row 3 : 1997 | "birds vs. worms | "every penny fed car", "four finger | 7" | hit or miss row 4 : 1998 | "other people's lives" | "grey ice water" | 7" | up records row 5 : 1998 | "never ending math equation" | "workin' on leavin' the | 7" | sub pop (sp0436) row 6 : 1998 | "whenever you see fit" | "whenever you see fit (dj | 12", cd | up records/suicide squeeze row 7 : 1999 | "heart cooks brain" | "shit luck" | 7" | matador records row 8 : 2004 | "float on" | "i've got it all (most) | 7", cd | epic (076685) row 9 : 2004 | "ocean breathes salty" | "float on (live studio)" | cd | epic row 10 : 2007 | "dashboard" | "king rat" | 7", cd | epic row 11 : 2007 | "missed the boat" | None | digital | epic row 12 : 2009 | "satellite skin" | "guilty cocker spaniels | 7" | epic row 13 : 2009 | "autumn beds" | "whale song" | 7" | epic row 14 : 2009 | "perpetual motion machine" | "history sticks to your feet" | 7" | epic ] Execute this SQL based on the above table: select year + year where year = 1999
3998
[ header: name | from | until | relationship with predecessor row 1 : cosimo de' medici (pater patria | 1434 | 1 august 1464 | son of giovanni di bicci de row 2 : piero i de' medici (pier | 1 august 1464 | 2 december 1469 | eldest son of cosimo de' medici row 3 : lorenzo i de' medici ( | 2 december 1469 | 9 april 1492 | eldest son of piero i row 4 : piero ii de' medici ( | 9 april 1492 | 8 november 1494 | eldest son of lorenzo the row 5 : cardinal giovanni de' medici | 31 august 1512 | 9 march 1513 | brother of piero the unfortunate, second son row 6 : giuliano de' medici, duke | 9 march 1513 | 17 march 1516 | brother of cardinal giovanni de' row 7 : lorenzo ii de' medici | 17 march 1516 | 4 may 1519 | nephew of giuliano de' medici, row 8 : cardinal giulio de' medici | 4 may 1519 | 19 november 1523 | cousin of lorenzo ii de row 9 : cardinal ippolito de' medici | 19 november 1523 | 24 october 1529 | cousin of cardinal giulio de ] Execute this SQL based on the above table: select abs ( ( select name where from = '2 december 1469' ) - ( select relationship with predecessor where from = '4 may 1519' ) )
0
[ header: name | nationality | club | from | until row 1 : jose manuel abundis | mexico | atlanta silverbacks | 2011 | 2011 row 2 : alex pineda chacon | honduras | atlanta silverbacks | 2011 | 2012 row 3 : eric wynalda | united states | atlanta silverbacks | 2012 | 2012 row 4 : brian haynes (footballer | trinidad and tobago | atlanta silverbacks | 2012 | 2013 row 5 : eric wynalda | united states | atlanta silverbacks | 2014 | present row 6 : martin rennie | scotland | carolina railhawks | 2009 | 2011 row 7 : colin clarke | england | carolina railhawks | 2011 | present row 8 : dwight lodeweges | netherlands | fc edmonton | 2010 | 2010 row 9 : harry sinkgraven | netherlands | fc edmonton | 2010 | 2012 row 10 : colin miller | canada | fc edmonton | 2012 | present row 11 : daryl shore | united states | fort lauderdale strikers | 2010 | 2013 row 12 : gunter kronsteiner | austria | fort lauderdale strikers | 2013 | present row 13 : juergen sommer | united states | indy eleven | 2013 | present row 14 : manny lagos | united states | minnesota united fc | 2010 | present row 15 : marc dos santos | canada | montreal impact | 2009 | 2011 row 16 : nick de santis | canada | montreal impact | 2011 | 2011 row 17 : giovanni savarese | venezuela | new york cosmos | 2012 | present row 18 : marc dos santos | canada | ottawa fury fc | 2013 | present row 19 : colin clarke | england | puerto rico islanders | 2007 | 2011 row 20 : adrian whitbread | england | puerto rico islanders | 2011 | 2012 row 21 : tim hankinson | united states | san antonio scorpion | 2012 | 2013 row 22 : alen marcina | canada | san antonio scorpion | 2013 | present row 23 : ricky hill | england | tampa bay rowdies | 2011 | present ] Execute this SQL based on the above table: select club group by club order by count ( name ) desc limit 1
atlanta silverbacks
[ header: alumni chapters and clubs | location | founding date | years active | province row 1 : zeta alpha | detroit, mi | 1925 | None | beta row 2 : zeta beta | columbus, oh | december 14, 1926 | None | alpha north row 3 : zeta gamma | cincinnati, oh | december 14, 1926 | None | alpha south row 4 : zeta epsilon | chicago, il | may 21, 1928 | None | None row 5 : zeta zeta | denver, co | november 23, 1940 | None | gamma row 6 : zeta eta | bloomington-normal, il | december 13, 1941 | None | delta row 7 : zeta lambda | baton rouge, la | 1946 | None | None row 8 : zeta nu | ann arbor, mi | december 1948 | None | None row 9 : zeta xi | oakland county, mi | july 7, 1953 | None | None row 10 : zeta omicron | akron-kent, o | may 27, 1956 | 1956-present | alpha north row 11 : zeta rho | kearney, ne | march 7, 1959 | None | None row 12 : zeta tau | st. petersburg, f | december 10, 1960 | None | None row 13 : zeta upsilon | washington, d.c | december 18, 1961 | None | None row 14 : zeta chi | dayton, oh | february 14, 1967 | 1967-present | alpha south row 15 : zeta psi | philadelphia, pa | june 4, 1967 | None | None row 16 : zeta omega | spartanburg-greenville, | april 12, 1969 | None | None row 17 : eta alpha | pueblo, co | may 25, 1969 | None | None row 18 : eta beta | brownwood, tx | november 14, 1969 | None | None row 19 : eta gamma | ft. collins, co | march 7, 1970 | None | None row 20 : eta epsilon | atlanta, ga | february 23, 1971 | None | None row 21 : eta zeta | buffalo, ny | may 2, 1971 | None | None row 22 : eta theta | dallas, tx | november 9, 1975 | None | None row 23 : eta iota | huntsville, al | september 24, 1978 | None | None row 24 : eta kappa | phoenix, az | january 26, 1980 | None | None row 25 : eta lambda | lithonia, ga | may 18, 2003 | 2004-2011 | iota row 26 : eta mu | atlanta, ga | july 18, 2004 | 2004-2011 | iota row 27 : champaign-urbana alumni club | chambaign-urbana, il | None | None | delta row 28 : lincoln alumni club | lincoln, ne | None | None | theta row 29 : kearney alumni club | kearney, ne | None | None | theta row 30 : atlanta alumni club | atlanta, ga | None | None | iota row 31 : middle tennessee alumni club | murfreesboro, tn | 2013 | 2013-present | zeta west ] Execute this SQL based on the above table: select alumni chapters and clubs where id = ( select id where alumni chapters and clubs = 'zeta epsilon' ) + 1
zeta zeta
[ header: place | team | titles | runners-up | winning years row 1 : 1 | maccabi tel aviv | 5 | 1 | 2007, 2010, 2011, 2012, 2013 row 2 : 2 | hapoel jerusalem | 2 | 3 | 2008, 2009 row 3 : 3 | ironi ashkelon | 1 | 0 | 2006 row 4 : 4 | maccabi rishon lezion | 0 | 1 | None row 5 : 4 | ironi nahariya | 0 | 1 | None row 6 : 4 | hapoel holon | 0 | 1 | None row 7 : 4 | maccabi ashdod | 0 | 1 | None ] Execute this SQL based on the above table: select team order by runners-up limit 1
ironi ashkelon
[ header: year | competition | venue | position | notes row 1 : 2002 | asian junior championships | bangkok, thailand | 3rd | 1.76 m row 2 : 2004 | asian junior championships | ipoh, malaysia | 1st | 1.84 m row 3 : 2004 | world junior championships | grosseto, italy | 7th | 1.84 m row 4 : 2005 | universiade | izmir, turkey | 7th | 1.80 m row 5 : 2005 | asian championships | incheon, south korea | 3rd | 1.84 m row 6 : 2005 | asian indoor games | bangkok, thailand | 2nd | 1.84 m row 7 : 2006 | asian games | doha, qatar | 6th | 1.84 m row 8 : 2007 | asian championships | amman, jordan | 3rd | 1.91 m row 9 : 2007 | universiade | bangkok, thailand | 3rd | 1.90 m row 10 : 2007 | world championships | osaka, japan | 20th (q) | 1.88 m row 11 : 2007 | asian indoor games | macau | 3rd | 1.88 m row 12 : 2008 | asian indoor championships | doha, qatar | 2nd | 1.91 m row 13 : 2009 | universiade | belgrade, serbia | 14th (q) | 1.80 m row 14 : 2010 | asian indoor championships | tehran, iran | 2nd | 1.86 m row 15 : 2010 | world indoor championships | istanbul, turkey | 20th (q) | 1.81 m row 16 : 2010 | asian games | guangzhou, china | 3rd | 1.90 m row 17 : 2011 | asian championships | kobe, japan | 4th | 1.85 m row 18 : 2011 | universiade | shenzhen, china | 10th | 1.84 m ] Execute this SQL based on the above table: select competition order by year desc limit 1
asian championships
[ header: canal | length (miles) | locks | max length (ft) | width (ft) | year opened | year abandoned | year restored row 1 : aberdeenshire canal | 18 | 18 | None | None | 1805 | 1854 | None row 2 : buchan canal | None | None | None | None | None | None | None row 3 : caledonian canal | 62 | 29 | 150 | 35 | 1822 | None | None row 4 : crinan canal | 9 | 15 | 86.75 | 19.65 | 1817 | None | None row 5 : dingwall canal | 1.1 | 0 | None | None | 1816 | 1840 | None row 6 : forth and clyde canal | 35 | 38 | 68.58 | 19.75 | 1790 | 1963 | 2002 row 7 : glasgow, paisley and | 11 | 0 | None | None | 1811 | 1881 | None row 8 : monkland canal | 12.25 | 18 | 71 | 14 | 1794 | 1942 | None row 9 : stevenston canal | 2.25 | 0 | None | 13 | 1772 | 1830 | None row 10 : union canal | 31.5 | 3 | 63 | 12.5 | 1822 | 1930 | 2000 ] Execute this SQL based on the above table: select max ( year abandoned ) - min ( year abandoned ) where canal = 'aberdeenshire canal'
0
[ header: year | title | peak chart positions aus | peak chart positions nz | album row 1 : 1988 | "whisper" | 58 | 42 | the sound of trees row 2 : 1988 | "love-hate relationship" | 81 | 46 | the sound of trees row 3 : 1989 | "this illusion" | None | None | the sound of trees row 4 : 1990 | "ok alright a huh o | 74 | None | ok alright a huh o row 5 : 1991 | "heroes let you down" | None | None | ok alright a huh o ] Execute this SQL based on the above table: select count ( * )
5
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 6 september 1994 | bazaly, ostrava | malta | 6-1 | 6-1 | euro 1996 qualifying row 2 : 2 | 8 march 1995 | stadion za luzan | finland | 1-0 | 4-1 | friendly row 3 : 3 | 8 march 1995 | stadion za luzan | finland | 2-0 | 4-1 | friendly row 4 : 4 | 29 march 1995 | bazaly, ostrava | belarus | 2-0 | 4-2 | euro 1996 qualifying row 5 : 5 | 29 march 1995 | bazaly, ostrava | belarus | 3-1 | 4-2 | euro 1996 qualifying row 6 : 6 | 26 april 1995 | letna stadium, prague | netherlands | 3-1 | 3-1 | euro 1996 qualifying row 7 : 7 | 7 october 1995 | dinamo stadium, minsk | belarus | 2-0 | 2-0 | euro 1996 qualifying row 8 : 8 | 15 november 1995 | letna stadium, prague | luxembourg | 3-0 | 3-0 | euro 1996 qualifying row 9 : 9 | 30 june 1996 | wembley stadium, london | germany | 1-0 | 1-2 | euro 1996 row 10 : 10 | 18 september 1996 | na stinadle | malta | 1-0 | 6-0 | 1998 world cup qualification row 11 : 11 | 18 september 1996 | na stinadle | malta | 3-0 | 6-0 | 1998 world cup qualification row 12 : 12 | 26 february 1997 | zimni stadion, pod | belarus | 4-1 | 4-1 | friendly row 13 : 13 | 14 october 1998 | na stinadle | estonia | 2-0 | 4-1 | euro 2000 qualifying row 14 : 14 | 14 october 1998 | na stinadle | estonia | 3-0 | 4-1 | euro 2000 qualifying row 15 : 15 | 27 march 1999 | na stinadle | lithuania | 2-0 | 2-0 | euro 2000 qualifying row 16 : 16 | 5 june 1999 | kadrioru stadium, tall | estonia | 1-0 | 2-0 | euro 2000 qualifying row 17 : 17 | 8 september 1999 | na stinadle | bosnia and herzegovin | 2-0 | 3-0 | euro 2000 qualifying row 18 : 18 | 3 june 2000 | frankenstadion, nurember | germany | 2-2 | 2-3 | friendly ] Execute this SQL based on the above table: select count ( opponent )
18
[ header: year | competition | venue | position | notes row 1 : 1983 | pan american games | caracas, venezuela | 2nd | 78.34 m row 2 : 1985 | central american and caribbean championships | nassau, bahamas | 2nd | 76.88 m row 3 : 1986 | central american and caribbean games | santiago de los caballe | 1st | 77.32 m row 4 : 1987 | pan american games | indianapolis, united states | 2nd | 75.58 m row 5 : 1990 | central american and caribbean games | mexico city, mexico | 1st | 78.86 m row 6 : 1990 | goodwill games | seattle, united states | 2nd | 80.84 m row 7 : 1991 | pan american games | havana, cuba | 1st | 79.12 m row 8 : 1991 | world championships | tokyo, japan | 16th | 77.72 m ] Execute this SQL based on the above table: select count ( * ) where notes > 1137
0
[ header: entrant | constructor | chassis | engine | tyre | driver | rounds row 1 : scuderia ferrari spa sef | ferrari | 156 | ferrari 178 1.5 v6 | d | giancarlo baghetti | 1, 3, 6-7 row 2 : scuderia ferrari spa sef | ferrari | 156 | ferrari 178 1.5 v6 | d | ricardo rodriguez | 1-3, 6-7 row 3 : team lotus | lotus-climax | 25 24 | climax fwmv 1.5 | d | trevor taylor | all row 4 : cooper car company | cooper-climax | t60 t55 | climax fwmv 1.5 | d | tony maggs | all row 5 : cooper car company | cooper-climax | t60 t55 | climax fwmv 1.5 | d | timmy mayer | 8 row 6 : brabham racing organisation | brabham-climax | bt3 | climax fwmv 1.5 | d | jack brabham | 6, 8-9 row 7 : udt laystall racing team | lotus-brm | 24 | brm p56 1.5 v8 | d | masten gregory | 2-4, 7-8 row 8 : porsche system engineering | porsche | 804 718 | porsche 753 1.5 f8 porsche | d | dan gurney | 1-2, 5-8 row 9 : r.r.c. walker racing | lotus-climax | 24 | climax fwmv 1.5 | d | maurice trintignant | 2-4, 6-8 row 10 : scuderia sss republic | porsche | 718 | porsche 547/3 1.5 f4 | d | nino vaccarella | 6 row 11 : emeryson cars | lotus-climax | 18 | climax fpf 1.5 l | d | john campbell-jones | 3 row 12 : ecurie filipinetti | porsche | 718 | porsche 547/3 1.5 f4 | d | heini walter | 6 row 13 : autosport team wolfgang seidel | lotus-brm | 24 | brm p56 1.5 v8 | d | dan gurney | 3 row 14 : autosport team wolfgang seidel | lotus-brm | 24 | brm p56 1.5 v8 | d | wolfgang seidel | 5-6 row 15 : autosport team wolfgang seidel | lotus-brm | 24 | brm p56 1.5 v8 | d | tony shelly | 7 row 16 : ecurie excelsior | lotus-climax | 18 | climax fpf 1.5 l | d | jay chamberlain | 5-7 row 17 : bernard collomb | cooper-climax | t53 | climax fpf 1.5 l | d | bernard collomb | 6 row 18 : scuderia settecolli | de tomaso-osca | f1 | osca 372 1.5 l4 | d | roberto lippi | 7 row 19 : gerry ashmore | lotus-climax | 18/21 | climax fpf 1.5 l | d | gerry ashmore | 7 row 20 : scuderia jolly club | lotus-climax | 18 | climax fpf 1.5 l | d | ernesto prinoth | 7 ] Execute this SQL based on the above table: select count ( driver ) where driver = 'giancarlo baghetti'
1
[ header: year | title | role | notes row 1 : 2014 | and so it goes | producer | starring michael douglas and row 2 : 2011 | flypaper | producer | starring patrick dempsey and row 3 : 2007 | captivity | producer | None row 4 : 2006 | o jerusalem | producer | None row 5 : 2005 | the upside of anger | executive producer | starring kevin costner and jo row 6 : 2004 | beyond the sea | executive producer | starring kevin spacey row 7 : 2004 | the i inside | producer | None row 8 : 2003 | monster | producer | starring charlize theron academy row 9 : 2003 | 11:14 | executive producer | None row 10 : 2002 | extreme ops | executive producer | None row 11 : 2001 | the musketeer | executive producer | None row 12 : 2001 | the body | executive producer | None row 13 : 1997 | the blackout | executive producer | None row 14 : 1996 | the winner | executive producer | None row 15 : 1993 | stalingrad | executive producer | None row 16 : 1991 | diary of a hitman | executive producer | None row 17 : 1990 | vietnam, texas | executive producer | None row 18 : 1989 | wild orchid | producer | starring mickey rourke row 19 : 1988 | high spirits | executive producer | None row 20 : 1988 | mac and me | executive producer | None row 21 : 1986 | flight of the navigator | executive producer | None row 22 : 1986 | short circuit | executive producer | None row 23 : 1986 | 9 1/2 weeks | producer | starring mickey rourke and row 24 : 1984 | metropolis | sales agent | directed by fritz lang row 25 : 1984 | the neverending story | executive producer | directed by wolfgang petersen row 26 : 1977 | the choirboys | executive producer | None row 27 : 1974 | there is no 13 | george thomas | None row 28 : 1973 | "hannah, queen of the vampires" | peter | None row 29 : 1973 | the devil's wedding night | karl schiller | None row 30 : 1973 | little mother | riano | None row 31 : 1972 | byleth - il demone de | duke lionello shandwell | None row 32 : 1972 | i leoni di pietroburgo | eldar | None row 33 : 1972 | confessioni segrete di un convento di | domenico | None row 34 : 1972 | they call him veritas | veritas | None row 35 : 1971 | l'arciere di fuoco | allen | None row 36 : 1971 | pistol packin' preacher | slim | None row 37 : 1968 | dead men don't count | johnny dalton | None row 38 : 1967 | requiescant | george ferguson | also starring pier paolo pas row 39 : 1966 | johnny oro | johnny oro/ringo | directed by sergio corbucci row 40 : 1964 | son of cleopatra | el kebir | None row 41 : 1964 | i cento cavalieri | don fernando herrera y | None row 42 : 1963 | the tyrant of castile | pietro i: re di castigl | None row 43 : 1963 | the young racers | stephen children | directed by roger corman row 44 : 1962 | the reluctant saint | aldo | directed by edward dmytry row 45 : 1962 | the longest day | pvt. harris | also starring richard burton and se row 46 : 1962 | beauty and the beast | eduardo | None ] Execute this SQL based on the above table: select count ( role ) where title = 'diary of a hitman'
1
[ header: season | tier | division | pos. | notes row 1 : 2003-04 | 1 | division de honor | 1st | league champion row 2 : 2004-05 | 1 | division de honor | 2nd | cup champion row 3 : 2005-06 | 1 | division de honor | 3rd | None row 4 : 2006-07 | 1 | division de honor | 3rd | None row 5 : 2007-08 | 1 | division de honor | 1st | league champion row 6 : 2008-09 | 1 | division de honor | 3rd | None row 7 : 2009-10 | 1 | division de honor | 2nd | None row 8 : 2010-11 | 1 | division de honor | 2nd | None row 9 : 2011-12 | 1 | division de honor | 9th | relegated row 10 : 2012-13 | 3 | primera nacional | 1st | None row 11 : 2013-14 | 3 | primera nacional | None | None ] Execute this SQL based on the above table: select sum ( tier ) where division in ( 'division de honor' , 'division de honor' )
9.0
[ header: year | division | league | regular season | playoffs | open cup row 1 : 2008 | 4 | npsl | 2nd, mid atlantic | did not qualify | did not qualify row 2 : 2009 | 4 | npsl | 5th, atlantic | did not qualify | did not enter row 3 : 2010 | 4 | npsl | 5th, atlantic | did not qualify | did not enter row 4 : 2010-11 | 5 | csl i | in progress | None | None row 5 : 2011 | 4 | npsl | 4th, atlantic | did not qualify | did not enter row 6 : 2012 | 4 | npsl | 3rd, atlantic | did not qualify | did not enter row 7 : 2013 | 4 | npsl | 3rd, atlantic | did not qualify | did not enter ] Execute this SQL based on the above table: select count ( division )
7
[ header: rank | cyclist | team | laps down | notes row 1 : 1 | iryna shpylova | ukraine | None | q row 2 : 2 | jessie daams | belgium | None | q row 3 : 3 | eunmi park | south korea | -1 | q row 4 : 4 | evgeniya romanyu | russia | -1 | q row 5 : 5 | andrea wolfer | switzerland | -1 | q row 6 : 6 | giorgia bronzini | italy | -1 | q row 7 : 7 | leire olaberria dorrons | spain | -1 | q row 8 : 8 | joanne kiesanowski | new zealand | -1 | q row 9 : 9 | dulce pliego | mexico | -1 | q row 10 : 10 | jessie maclean | verducci breakaway racing | -1 | q row 11 : 11 | lisa brennauer | germany | -1 | q row 12 : 12 | ashlee ankudinoff | australia | -1 | q row 13 : 13 | wan yiu jamie wong | hong kong | -1 | None row 14 : 14 | lauren franges | united states | -1 | None row 15 : 15 | skye lee armstrong | rodin | -1 | None row 16 : 16 | rosy mccall | gis | -1 | None row 17 : 17 | fatehah mustapa | malaysia | -1 | None row 18 : 18 | yekatsiryna bar | belarus | -1 | None ] Execute this SQL based on the above table: select team where cyclist = 'rosy mccall'
gis
[ header: year | title | role | notes row 1 : 1979 | california fever | lisa bannister | episode: "the girl from somewhere" row 2 : 1984 | faerie tale theatre | snow white | episode: "snow white and the seven dwarf row 3 : 1993 | performance | beatrice-joanna | episode: "the changeling" row 4 : 1995 | if not for you | jessie kent | 8 episodes row 5 : 1996 | tracey takes on | judge loring | episode: "vanity" row 6 : 1996 | tales from the crypt | laura kendall | episode: "horror in the night row 7 : 1999 | the scarlet pimpernel | lady margaret blakeney | 3 episodes row 8 : 2001 | table 12 | mel | episode: "preserves" row 9 : 2003 | the brotherhood of poland, new | helen shaw | 7 episodes row 10 : 2006 | three moons over milford | laura davis | 8 episodes row 11 : 2007 | law and order: special victims unit | dr. faith sutton | episode: "harm" row 12 : 2007-2008 | freezing | elizabeth | 3 episodes row 13 : 2008 | agatha christie: po | dame celia westholme | episode: "appointment with death" row 14 : 2009 | 10 minute tales | the ex-wife | episode: "the running of the deer" row 15 : 2010-present | downton abbey | cora, countess of grantham | 29 episodes screen actors guild award for outstanding performance by ] Execute this SQL based on the above table: select title where title != 'california fever' and year = 1999
the scarlet pimpernel
[ header: treaty | organization | introduced | signed | ratified row 1 : convention on the prevention and punishment of the crime of | united nations | 1948 | None | 1958 row 2 : international convention on the elimination of all forms of | united nations | 1966 | 1967 | 1970 row 3 : international covenant on economic, social and cultural rights | united nations | 1966 | 1977 | 1979 row 4 : international covenant on civil and political rights | united nations | 1966 | 1977 | 1979 row 5 : first optional protocol to the international covenant on civil and | united nations | 1966 | None | None row 6 : convention on the non-applicability of | united nations | 1968 | None | None row 7 : international convention on the suppression and punishment of the crime | united nations | 1973 | None | None row 8 : convention on the elimination of all forms of discrimination | united nations | 1979 | None | 1993 row 9 : convention against torture and other cruel, inhuman or | united nations | 1984 | 1986 | 1993 row 10 : convention on the rights of the child | united nations | 1989 | 1990 | 1993 row 11 : second optional protocol to the international covenant on civil and | united nations | 1989 | None | None row 12 : international convention on the protection of the rights of all | united nations | 1990 | 1991 | 1993 row 13 : optional protocol to the convention on the elimination of all | united nations | 1999 | None | None row 14 : optional protocol to the convention on the rights of the | united nations | 2000 | 2000 | 2002 row 15 : optional protocol to the convention on the rights of the | united nations | 2000 | 2000 | 2001 row 16 : convention on the rights of persons with disabilities | united nations | 2006 | 2007 | 2009 row 17 : optional protocol to the convention on the rights of persons | united nations | 2006 | None | 2009 row 18 : international convention for the protection of all persons from enforce | united nations | 2006 | 2007 | 2013 row 19 : optional protocol to the international covenant on economic, social | united nations | 2008 | None | None row 20 : optional protocol to the convention on the rights of the | united nations | 2011 | 2012 | None ] Execute this SQL based on the above table: select organization order by ratified desc limit 1
united nations
[ header: year | ibm model number | name | processor | bus | hd interface | case | notes row 1 : 1987 | 8525-004 | model 25 | 8 mhz intel 8086 | isa 8 bit | None | desktop with integrated color display | single disk drive row 2 : 1987 | 8525-g04 | model 25 | 8 mhz intel 8086 | isa 8 bit | None | desktop with integrated color display | single disk drive, enhanced keyboard row 3 : 1987 | 8525-c02 | model 25 collegiate | 8 mhz intel 8086 | isa 8 bit | None | desktop with integrated monochrome display | two disk drives row 4 : 1987 | 8525-c05 | model 25 collegiate | 8 mhz intel 8086 | isa 8 bit | None | desktop with integrated color display | two disk drives row 5 : 1987 | 8525-k02 | model 25 collegiate | 8 mhz intel 8086 | isa 8 bit | None | desktop with integrated monochrome display | two disk drives, enhanced keyboard row 6 : 1990 | 8525-006 | model 25 286 | 10 mhz intel 286 | isa 16 bit | None | desktop with integrated color display | single hd disk drive row 7 : 1992 | 8525-k01 | model 25 sx | 16 mhz intel 386 | isa 16 bit | None | desktop with integrated color display | single hd disk drive, ethernet row 8 : 1992 | 8525-l02 | model 25 sx | 16 mhz intel 386 | isa 16 bit | None | desktop with integrated color display | single hd disk drive, token-ring row 9 : 1987 | 8530-002 | model 30 | 8 mhz intel 8086 | isa 8 bit | None | desktop | two disk drives row 10 : 1988 | 8530-e01 | model 30 286 | 10 mhz intel 286 | isa 16 bit | None | desktop | single hd disk drive row 11 : 1989 | 8530-e31 | model 30 286 | 10 mhz intel 286 | isa 16 bit | esdi, 30mb | desktop | single hd disk drive row 12 : 1987 | 8530-r02 | model 30 | 8 mhz intel 8086 | isa 8 bit | None | desktop, intelligent financial workstation | two disk drives, 4700 host support row 13 : 1987 | 8560 | 60 | intel 80286 | mca 16 bit | mfm or esdi | tower | None row 14 : 1988 | 8550-031, 8550-061 | 50 z | intel 80286 | mca 16 bit | None | desktop | None row 15 : 1989 | 8555 | 55 sx | intel 80386 sx | mca 16 bit | esdi | desktop | None row 16 : 1990 | 8573 | p75 486 | intel 80486 | mca 32 bit | scsi | portable | 4 mca slots, two full length, row 17 : 1990 | 8580 | 80 | intel 80386 dx | mca 32 bit | scsi | tower | None row 18 : 1990 | 8565 | 65 sx | intel 80386 sx | mca 16 bit | scsi | tower | None row 19 : 1990 | 8590 | 90 xp 486 | intel 80486 | mca 32 bit | scsi | desktop | None row 20 : 1991 | 8540 | 40 sx | intel 80386 sx | isa 16 bit | None | desktop | None row 21 : 1991 | 8557 | 57 sx | intel 80386 sx | mca 16 bit | scsi | desktop | None row 22 : 1991 | 8570 | 70 | intel 80386 dx, in | mca 32 bit | None | desktop | None ] Execute this SQL based on the above table: select count ( hd interface ) where year not null and notes = 'single hd disk drive, token-ring network adapter'
0
[ header: line | year opened | termini | termini row 1 : j church | 1917 | embarcadero station | balboa park station row 2 : k ingleside | 1918 | embarcadero station | balboa park station row 3 : l taraval | 1919 | embarcadero station | 46th avenue and wawona s row 4 : m ocean view | 1925 | embarcadero station | san jose and geneva balb row 5 : n judah | 1928 | 4th and king station caltrain depot | judah and la playa ocean beach row 6 : t third street | 2007 | west portal station | sunnydale station row 7 : s castro shuttle (peak hours & | None | embarcadero station 4th and | castro station west portal station (game days) ] Execute this SQL based on the above table: select termini order by termini desc limit 1
sunnydale station
[ header: year | date | driver | team | manufacturer | race distance laps | race distance miles (km) | race time | average speed (mph) | report row 1 : 1997 | june 22 | jeff gordon | hendrick motorsports | chevrolet | 250 | 500 (804.672) | 3:13:32 | 155.012 | report row 2 : 1998 | may 3 | mark martin | roush racing | ford | 250 | 500 (804.672) | 3:33:57 | 140.22 | report row 3 : 1999 | may 2 | jeff gordon | hendrick motorsports | chevrolet | 250 | 500 (804.672) | 3:19:38 | 150.276 | report row 4 : 2000 | april 30 | jeremy mayfield | penske racing | ford | 250 | 500 (804.672) | 3:20:50 | 149.378 | report row 5 : 2001 | april 29 | rusty wallace | penske racing | ford | 250 | 500 (804.672) | 3:29:37 | 143.118 | report row 6 : 2002 | april 28 | jimmie johnson | hendrick motorsports | chevrolet | 250 | 500 (804.672) | 3:19:53 | 150.088 | report row 7 : 2003 | april 27 | kurt busch | roush racing | ford | 250 | 500 (804.672) | 3:34:07 | 140.111 | report row 8 : 2004 | may 2 | jeff gordon | hendrick motorsports | chevrolet | 250 | 500 (804.672) | 3:38:33 | 137.268 | report row 9 : 2005 | february 27 | greg biffle | roush racing | ford | 250 | 500 (804.672) | 3:34:45 | 139.697 | report row 10 : 2006 | february 26 | matt kenseth | roush racing | ford | 251 | 502 (807.89) | 3:23:43 | 147.852 | report row 11 : 2007 | february 25 | matt kenseth | roush fenway racing | ford | 250 | 500 (804.672) | 3:36:41 | 138.451 | report row 12 : 2008 | feb 24/25 | carl edwards | roush fenway racing | ford | 250 | 500 (804.672) | 3:46:04 | 132.704 | report row 13 : 2009 | february 22 | matt kenseth | roush fenway racing | ford | 250 | 500 (804.672) | 3:40:51 | 135.839 | report row 14 : 2010 | february 21 | jimmie johnson | hendrick motorsports | chevrolet | 250 | 500 (804.672) | 3:31:24 | 141.911 | report row 15 : 2011 | march 27 | kevin harvick | richard childress racing | chevrolet | 200 | 400 (643.737) | 2:39:06 | 150.849 | report row 16 : 2012 | march 25 | tony stewart | stewart-haas racing | chevrolet | 129 | 258 (415.21) | 1:36:39 | 160.166 | report row 17 : 2013 | march 24 | kyle busch | joe gibbs racing | toyota | 200 | 400 (643.737) | 2:57:19 | 135.351 | report row 18 : 2014 | march 23 | kyle busch | joe gibbs racing | toyota | 206 | 412 (663.05) | 3:05:53 | 132.987 | report ] Execute this SQL based on the above table: select abs ( report - team ) where driver = 'kyle busch'
0, 0
[ header: year | title | system | developer | publisher row 1 : 1984 | ghostbusters | atari 800, commodore 64 | activision | activision row 2 : 1985 | ghostbusters | atari 2600, apple ii | activision | activision row 3 : 1987 | the real ghostbusters | arcade | data east | data east row 4 : 1987 | ghostbusters | sega master system | activision | sega row 5 : 1988 | ghostbusters | nes | bits laboratory | activision/tokuma shoten row 6 : 1989 | the real ghostbusters | commodore 64, amiga, | data east | activision row 7 : 1989 | ghostbusters ii | atari 2600, amiga, com | activision | activision row 8 : 1990 | ghostbusters ii | nes | kemco | activision row 9 : 1990 | ghostbusters | sega mega drive/genesis | sega | sega row 10 : 1990 | new ghostbusters 2 | game boy, nes | hal laboratory | activision row 11 : 1993 | the real ghostbusters | game boy | kemco | activision row 12 : 2009 | ghostbusters: the video game | playstation 3, playstation 2, playstation portable, | terminal reality, red fly studios, zen | atari, sony computer entertainment (europe only row 13 : 2011 | ghostbusters: sanctum of slime | playstation network, xbox live, | behaviour interactive | atari row 14 : 2012 | ghostbusters: paranormal blast | android, ios | xmg studio | None row 15 : 2013 | ghostbusters | ios | beeline interactive | capcom ] Execute this SQL based on the above table: select developer where year = ( select year where developer = 'data east' order by year desc limit 1 ) + 1
kemco, sega, hal laboratory
[ header: no. | date | home team | visiting team | goals | score | result | venue | competition row 1 : 2 | 25 mar 1992 | scotland | finland | 41' 1-1 | 1-1 | draw | hampden park, glasgow | friendly row 2 : 3 | 13 oct 1993 | sweden | finland | 60' 3-2 | 3-2 | loss | rasunda stadium, stockhol | 1994 fifa world cup qualification row 3 : 5 | 16 nov 1994 | finland | faroe islands | 53' 2-0 72' 3-0 | 5-0 | win | helsinki olym | uefa euro 1996 qualifying row 4 : 7 | 11 jun 1995 | finland | greece | 45+1' 1-1 (pen.) | 2-1 | win | helsinki olym | uefa euro 1996 qualifying row 5 : 9 | 2 feb 1997 | turkey | finland | 17' 0-1 | 1-1 | draw | ataturk stadium, denizli | friendly row 6 : 12 | 6 sep 1997 | switzerland | finland | 16' 0-1 | 1-2 | win | stade olympique de la pont | 1998 fifa world cup qualification row 7 : 13 | 14 oct 1998 | turkey | finland | 90+6' 1-3 | 1-3 | win | ali sami yen stadium, | uefa euro 2000 qualifying row 8 : 14 | 29 mar 2000 | wales | finland | 21' 0-1 | 1-2 | win | millennium stadium, cardiff | friendly row 9 : 15 | 16 aug 2000 | finland | norway | 24' 1-0 61' 2-1 | 3-1 | win | finnair stadium, helsink | 2000-01 nordic football championship row 10 : 17 | 2 sep 2000 | finland | albania | 45 ' 1-0 | 2-1 | win | finnair stadium, helsink | 2002 fifa world cup qualification row 11 : 18 | 15 aug 2001 | finland | belgium | 3-0 (pen.) | 4-1 | win | helsinki olym | friendly row 12 : 20 | 27 mar 2002 | portugal | finland | 41' 1-3 53' 1-4 | 1-4 | win | estadio do bessa | friendly row 13 : 22 | 30 apr 2003 | finland | iceland | 55' 1-0 (pen.) | 3-0 | win | pohjola stadion, my | friendly row 14 : 23 | 31 apr 2004 | malta | finland | 86' 0-2 | 1-2 | win | ta' qali national stadium, | friendly row 15 : 25 | 26 mar 2005 | czech republic | finland | 46 ' 2-1 | 4-3 | loss | na stinadle | 2006 fifa world cup qualification row 16 : 27 | 2 sep 2006 | poland | finland | 54' 0-1 76' 0 | 1-3 | win | zdzisław k | uefa euro 2008 qualifying row 17 : 29 | 6 feb 2008 | finland | greece | 66' 1-0 | 1-2 | loss | neo gsp stadium, | friendly ] Execute this SQL based on the above table: select venue where id = ( select id where venue = 'millennium stadium, cardiff' ) + 1
finnair stadium, helsinki
[ header: # | title | producer(s) | featured guest(s) | length row 1 : 1 | "intro" | swizzo (of drum squad) | None | 1:41 row 2 : 2 | "interlude" | crown kingz productions (ckp) | None | 2:22 row 3 : 3 | "dem boyz" | nitti | p. diddy | 4:16 row 4 : 4 | "felonies" | jazze pha | None | 5:49 row 5 : 5 | "look" | drumma boy | None | 4:56 row 6 : 6 | "gangstas" | erick sermon | eazy-e | 3:49 row 7 : 7 | "don't put your hands on me" | dj toomp | None | 4:33 row 8 : 8 | "bitches & bizness" | nitti | rick ross (uncredited) | 4:21 row 9 : 9 | "trap niggas" | drumma boy | None | 3:37 row 10 : 10 | "still slizzard" | nitti | None | 5:07 row 11 : 11 | "no talkin" | sanchez | None | 5:25 row 12 : 12 | "happy jamz" | jazze pha | jazze pha | 4:48 row 13 : 13 | "if u a thug | keith mack | None | 5:09 row 14 : 14 | "lay it down" | jasper | None | 4:17 row 15 : 15 | "pussy m.f.' | horace "bubba" mitchell | trick daddy | 4:24 row 16 : 16 | "keep it hood 2nite" | midnight black | None | 3:23 ] Execute this SQL based on the above table: select producer(s) where title = '"keep it hood 2nite"' order by # desc limit 1
midnight black
[ header: ages attained (years) | catholic | protestant and other christian | other religion | none or not stated row 1 : 0 to 4 | 44.3% | 31.7% | 0.9% | 23.2% row 2 : 5 to 9 | 45.5% | 36.1% | 0.7% | 17.7% row 3 : 10 to 14 | 45.9% | 37.9% | 0.6% | 15.6% row 4 : 15 to 19 | 44.8% | 37.6% | 0.6% | 17.0% row 5 : 20 to 24 | 43.4% | 35.2% | 0.7% | 20.7% row 6 : 25 to 29 | 44.8% | 33.1% | 1.1% | 21.0% row 7 : 30 to 34 | 44.0% | 34.3% | 1.4% | 20.3% row 8 : 35 to 39 | 41.5% | 37.8% | 1.2% | 19.5% row 9 : 40 to 44 | 40.4% | 41.1% | 0.9% | 17.7% row 10 : 45 to 49 | 40.0% | 42.8% | 0.8% | 16.3% row 11 : 50 to 54 | 39.2% | 44.9% | 0.7% | 15.1% row 12 : 55 to 59 | 38.1% | 46.5% | 0.8% | 14.6% row 13 : 60 to 64 | 35.8% | 50.0% | 0.7% | 13.4% row 14 : 65 to 69 | 33.7% | 54.4% | 0.7% | 11.2% row 15 : 70 to 74 | 32.9% | 56.4% | 0.7% | 10.1% row 16 : 75 to 79 | 32.0% | 58.1% | 0.6% | 9.3% row 17 : 80 to 84 | 30.0% | 60.0% | 0.6% | 9.3% row 18 : 85 to 89 | 28.1% | 61.8% | 0.5% | 9.6% row 19 : 90 and over | 25.8% | 64.0% | 0.5% | 9.6% ] Execute this SQL based on the above table: select other religion where id = ( select id where other religion = '0.6%' ) - 1
0.7%
[ header: | country | builder | location | ship | class / type row 1 : 6 march | united states | john roach and son | chester, pennsylvania | city of rio de janeiro | passenger ship row 2 : 13 may | germany | kaiserliche werft wil | wilhelmshaven | bayern | sachsen-class ironclad row 3 : 13 june | united kingdom | royal dockyard | devonport, devon | pegasus | doterel-class sloop row 4 : 31 august | united kingdom | royal dockyard | sheerness | gannet | doterel-class sloop row 5 : 23 october | norway | karljohansverns ver | horten | nor | vale-class gunboat row 6 : 1 november | norway | karljohansverns ver | horten | brage | vale-class gunboat row 7 : 9 november | germany | a. g. vulcan | stettin | wurttemberg | sachsen-class ironclad ] Execute this SQL based on the above table: select count ( * ) where ship = 'nor'
1
[ header: year | title | system | developer | publisher row 1 : 1984 | ghostbusters | atari 800, commodore 64 | activision | activision row 2 : 1985 | ghostbusters | atari 2600, apple ii | activision | activision row 3 : 1987 | the real ghostbusters | arcade | data east | data east row 4 : 1987 | ghostbusters | sega master system | activision | sega row 5 : 1988 | ghostbusters | nes | bits laboratory | activision/tokuma shoten row 6 : 1989 | the real ghostbusters | commodore 64, amiga, | data east | activision row 7 : 1989 | ghostbusters ii | atari 2600, amiga, com | activision | activision row 8 : 1990 | ghostbusters ii | nes | kemco | activision row 9 : 1990 | ghostbusters | sega mega drive/genesis | sega | sega row 10 : 1990 | new ghostbusters 2 | game boy, nes | hal laboratory | activision row 11 : 1993 | the real ghostbusters | game boy | kemco | activision row 12 : 2009 | ghostbusters: the video game | playstation 3, playstation 2, playstation portable, | terminal reality, red fly studios, zen | atari, sony computer entertainment (europe only row 13 : 2011 | ghostbusters: sanctum of slime | playstation network, xbox live, | behaviour interactive | atari row 14 : 2012 | ghostbusters: paranormal blast | android, ios | xmg studio | None row 15 : 2013 | ghostbusters | ios | beeline interactive | capcom ] Execute this SQL based on the above table: select system order by id desc limit 1
ios
[ header: # | date | film | gross | top ten places row 1 : 1 | january 5, 2014 | frozen | $2,441,278 | paranormal activity: the marked ones (#2) row 2 : 2 | january 12, 2014 | frozen | $1,193,153 | the wolf of wall street (#3) row 3 : 3 | january 19, 2014 | ¿que le dijiste a | $1,607,603 | jack ryan: shadow recruit (# row 4 : 4 | january 26, 2014 | i, frankenstein | $2,017,410 | grudge match (#10) row 5 : 5 | february 2, 2014 | 47 ronin | $1,916,620 | devil's due (#2) row 6 : 6 | february 9, 2014 | the lego movie | $3,823,198 | the legend of hercules (#4) row 7 : 7 | february 16, 2014 | casese quien pueda | $3,287,643 | robocop (#2), the monuments row 8 : 8 | february 23, 2014 | casese quien pueda | $2,228,705 | pompeii (#3), 12 years row 9 : 9 | march 2, 2014 | mr. peabody & she | $2,687,778 | fachon models (#6), august: row 10 : 10 | march 9, 2014 | 300: rise of an empire | $5,468,513 | homefront (#8), zip & row 11 : 11 | march 16, 2014 | 300: rise of an empire | $2,891,351 | el crimen del cacaro row 12 : 12 | march 23, 2014 | noah | $5,743,388 | muppets most wanted (#3) row 13 : 13 | march 30, 2014 | captain america: the winter soldier | $8,596,889 | None ] Execute this SQL based on the above table: select count ( top ten places ) where gross < 1993
0
[ header: year | date | winner | make | pole | make | results row 1 : 1970 | october 4 | dave sorg | mercury | ron north | oldsmobile | report row 2 : 1971 | october 3 | denny miles | chevrolet | les snow | plymouth | report row 3 : 1972 | october 1 | dave sorg | chevrolet | larry moore | chevrolet | report row 4 : 1975 | september 28 | bob senneker | chevrolet | larry moore | chevrolet | report row 5 : 1976 | october 4 | bob senneker | chevrolet | bob senneker | chevrolet | report row 6 : 1977 | october 2 | bob senneker | chevrolet | bob senneker | chevrolet | report row 7 : 1980 | october 5 | terry senneker | chevrolet | mark martin | chevrolet | report row 8 : 1983 | october 2 | mike eddy | pontiac | dick trickle | pontiac | report row 9 : 1985 | september 29 | mark martin | ford | mark martin | ford | report row 10 : 1986 | october 5 | mark martin | ford | mark martin | pontiac | report row 11 : 1989 | october 1 | butch miller | chevrolet | kenny wallace | pontiac | report row 12 : 1990 | september 30 | bob senneker | chevrolet | dave jackson | chevrolet | report row 13 : 1992 | october 4 | tim steele | chevrolet | mike garvey | ford | report row 14 : 1993 | october 3 | mike cope | oldsmobile | hal goodson | ford | report row 15 : 1995 | october 1 | mike cope | chevrolet | ron barfield, jr | ford | report row 16 : 1999 | september 26 | brian ross | chevrolet | matt hagans | ford | report row 17 : 2000 | october 1 | gary st. amant | chevrolet | larry foyt | pontiac | report row 18 : 2001 | september 23 | joey clanton | chevrolet | david stremme | ford | report row 19 : 2002 | october 6 | gary st. amant | chevrolet | david stremme | chevrolet | report row 20 : 2003 | october 5 | bobby parsley | chevrolet | dave jackson | chevrolet | report row 21 : 2004 | None | None | None | None | None | None row 22 : 2005 | None | None | None | None | None | None row 23 : 2006 | october 15 | scott hantz | chevrolet | danny jackson | None | report row 24 : 2008 | october 12 | david stremme | dodge | chris gabehart | None | report row 25 : 2009 | october 18 | kyle busch | toyota | chris gabehart | None | report row 26 : 2010 | october 17 | chase elliott | ford | johnny vandoorn | None | report row 27 : 2012 | october 14 | ross kenseth | ford | rick turner | ford | report row 28 : 2013 | october 13 | erik jones | toyota | chase elliott | chevrolet | report ] Execute this SQL based on the above table: select min ( year )
1970
[ header: year | single | chart positions usa billboard hot dance club play | chart positions polish charts | album row 1 : 2008 | "fall" | None | 2 | natalia lesz row 2 : 2008 | "power of attraction" | 24 | 5 | natalia lesz row 3 : 2008 | "miss you" | None | None | natalia lesz row 4 : 2009 | "cos za cos" | None | 1 | that girl row 5 : 2010 | "arabesque" | 53 | None | natalia lesz row 6 : 2010 | "radioactive" | None | 107 | None row 7 : 2010 | "that girl" | None | 7 | that girl row 8 : 2012 | "beat of my heart" | None | 98 | that girl ] Execute this SQL based on the above table: select album - single where single = '"cos za cos"'
0
[ 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 written by - production code > 2
0
[ header: # | title | time | performer(s) | songwriters | producer(s) | samples and notes row 1 : 1 | "everything man" | 3:16 | talib kweli, | talib kweli greene | madlib | "everything man" by daybreak row 2 : 3 | "hostile gospel (part 1) (deliver | 5:22 | talib kweli | talib kweli greene | just blaze | "deliverance" by space row 3 : 4 | "say something" | 3:43 | talib kweli, | talib kweli greene | will.i.am | "theme for la's team" by row 4 : 6 | "holy moly" | 2:08 | talib kweli | talib kweli greene | pete rock | "border song (holy moses)" row 5 : 7 | "eat to live" | 3:07 | talib kweli | talib kweli greene | madlib | "ghetto lament" by row 6 : 11 | "more or less" | 4:40 | talib kweli, di | talib kweli greene | hi-tek | None row 7 : 13 | "hot thing" | 3:48 | talib kweli, will | talib kweli greene | will.i.am | "we're no exception" by john row 8 : 14 | "space fruit" (interlude) | 1:31 | sa-ra | om'mas keith, sh | sa-ra | None row 9 : 16 | "oh my stars" | 3:40 | talib kweli, | talib kweli greene | dj khalil | None row 10 : 18 | "go with us" | 3:59 | talib kweli, strong | talib kweli greene | e. jones | None row 11 : 19 | "hostile gospel (part 2) (deliver | 4:21 | talib kweli, si | talib kweli greene | dj khalil | "tight rope" by steel pulse row 12 : 21 | "hush" | 3:55 | talib kweli, | talib kweli greene | chad beatz | lp edition #19 & itune ] Execute this SQL based on the above table: select title where # = 14
"space fruit" (interlude)
[ header: from | to | name | party | position row 1 : 1870 | 1897 | eugene bernain | None | None row 2 : 1897 | None | albert le barillier | None | None row 3 : 1935 | 1937 | daubin | None | doctor row 4 : 1937 | 1941 | francois dommain | radical | None row 5 : 1971 | 1993 | victor mendiboure | udf | None row 6 : 1993 | 1999 | michel bonnet | udf | None row 7 : 1999 | 2001 | alain lamassoure | udf | vice president of the udf advisor to row 8 : 2001 | 2008 | robert villenave | udf ps | vice-president of cabab vice-p ] Execute this SQL based on the above table: select party where name = 'alain lamassoure'
udf
[ 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 year group by year order by count ( * ) desc limit 1
1944
[ header: region | rnd | host | venue | city | state row 1 : east | 1 | florida state university | tully gymnasium | tallahassee | florida row 2 : east | 1 | old dominion university | old dominion university fieldhouse | norfolk | virginia row 3 : east | 1 | university of maryland | cole field house | college park | maryland row 4 : east | 2 | providence college | alumni hall (providence) | providence | rhode island row 5 : east | 2 | university of connecticut | harry a. gampel pavilion | storrs | connecticut row 6 : east | 2 | university of tennessee | thompson-boling arena | knoxville | tennessee row 7 : east | 2 | university of virginia | university hall (university of virginia) | charlottesville | virginia row 8 : mideast | 1 | depaul university | alumni hall (depaul university) | chicago | illinois row 9 : mideast | 1 | university of south carolina | carolina coliseum | columbia | south carolina row 10 : mideast | 1 | tennessee tech | eblen center | cookeville | tennessee row 11 : mideast | 1 | vanderbilt university | memorial gymnasium (vanderbilt university) | nashville | tennessee row 12 : mideast | 2 | auburn university | memorial coliseum (beard- | auburn | alabama row 13 : mideast | 2 | northwestern university | welsh-ryan arena | evanston | illinois row 14 : mideast | 2 | university of iowa | carver-hawkeye arena | iowa city | indiana row 15 : mideast | 2 | university of washington | hec edmundson pavilion | seattle | washington row 16 : midwest | 1 | northern illinois university | chick evans field house | dekalb | illinois row 17 : midwest | 1 | ohio state university | st. john arena | columbus | ohio row 18 : midwest | 1 | university of southern mississippi | reed green coliseum | hattiesburg | mississippi row 19 : midwest | 1 | oklahoma state university | gallagher-iba arena | stillwater | oklahoma row 20 : midwest | 2 | louisiana tech university | thomas assembly center | ruston | louisiana row 21 : midwest | 2 | north carolina state university | reynolds colise | raleigh | north carolina row 22 : midwest | 2 | university of texas | frank erwin center | austin | texas row 23 : midwest | 2 | purdue university | mackey arena | west lafayette | indiana row 24 : west | 1 | long beach state | university gym (gold mine) | long beach | california row 25 : west | 1 | university of mississippi | tad smith colise | university, mississippi | mississippi row 26 : west | 1 | university of montana | dahlberg arena | missoula | montana row 27 : west | 1 | university of arkansas | barnhill arena | fayetteville | arkansas row 28 : west | 2 | university of georgia | georgia coliseum ( | athens | georgia row 29 : west | 2 | stanford university | maples pavilion | stanford | california ] Execute this SQL based on the above table: select state where venue = 'welsh-ryan arena'
illinois
[ header: year | name | birth date | winner | awarding age | row 1 : 1998 | nick cheung | 1967-12-02 | winner | 30 years, 352 days | None row 2 : 1998 | chin kar lok | 1965-08-06 | winner | 33 years, 105 days | None row 3 : 2002 | moses chan | 1971-04-16 | winner | 31 years, 217 days | None row 4 : 2003 | raymond lam | 1979-12-08 | winner | 23 years, 346 days | youngest winner row 5 : 2004 | ron ng | 1979-09-02 | winner | 25 years, 78 days | None row 6 : 2005 | bosco wong | 1980-12-13 | winner | 24 years, 341 days | None row 7 : 2006 | kenneth ma | 1974-02-13 | winner | 32 years, 270 days | None row 8 : 2007 | amigo choi | 1979-05-08 | winner | 28 years, 193 days | None row 9 : 2008 | wong cho lam | 1980-01-09 | winner | 28 years, 311 days | None row 10 : 2009 | ngo ka-nin | 1976-09-26 | winner | 33 years, 69 days | None row 11 : 2010 | raymond wong | 1976-08-25 | winner | 34 years, 102 days | oldest winner row 12 : 2011 | jin au-yeung | 1982-06-04 | winner | 29 years, 184 days | None row 13 : 2012 | oscar leung | 1979-03-26 | winner | 33 years, 266 days | None ] Execute this SQL based on the above table: select order by awarding age limit 1139
youngest winner, oldest winner
[ header: rank | athlete | country | time | notes row 1 : None | kaija mustonen | finland | 2:22.4 | or row 2 : None | carry geijssen | netherlands | 2:22.7 | None row 3 : None | stien kaiser | netherlands | 2:24.5 | None row 4 : 4 | sigrid sundby-dy | norway | 2:25.2 | None row 5 : 5 | lasma kauniste | soviet union | 2:25.4 | None row 6 : 6 | kaija-liisa | finland | 2:25.8 | None row 7 : 7 | lyudmila titova | soviet union | 2:26.8 | None row 8 : 8 | ruth schleiermacher | east germany | 2:27.1 | None row 9 : 9 | christina lindblom-scher | sweden | 2:27.5 | None row 10 : 9 | hildegard sellhuber | west germany | 2:27.5 | None row 11 : 11 | lidiya skoblikova | soviet union | 2:27.6 | None row 12 : 12 | ans schut | netherlands | 2:28.3 | None row 13 : 13 | dianne holum | united states | 2:28.5 | None row 14 : 14 | martine ivangine | france | 2:29.9 | None row 15 : 14 | kari karing | norway | 2:29.9 | None row 16 : 16 | jeanne ashworth | united states | 2:30.3 | None row 17 : 17 | lisbeth korsmo | norway | 2:30.7 | None row 18 : 18 | christina karlsson | sweden | 2:31.4 | None row 19 : 18 | sachiko saito | japan | 2:31.4 | None row 20 : 20 | ylva hedlund | sweden | 2:31.5 | None row 21 : 21 | doreen mccannell | canada | 2:32.2 | None row 22 : 22 | arja kantola | finland | 2:33.2 | None row 23 : 23 | kaname ide | japan | 2:34.2 | None row 24 : 24 | marcia parsons | canada | 2:34.4 | None row 25 : 25 | jeanne omelenchuk | united states | 2:35.5 | None row 26 : 26 | jitsuko saito | japan | 2:36.6 | None row 27 : 27 | kim gwi-jin | south korea | 2:36.7 | None row 28 : 28 | marie-louise perrenou | france | 2:39.2 | None row 29 : 29 | patricia demartini | france | 2:40.6 | None row 30 : 30 | paula dufter | west germany | 2:45.2 | None ] Execute this SQL based on the above table: select country group by country order by count ( * ) desc limit 1
united states
[ header: week | date | opponent | result | attendance row 1 : 1 | september 12, 1982 | at new york jets | w 45-28 | 53,360 row 2 : 2 | september 19, 1982 | baltimore colts | w 24-20 | 51,999 row 3 : 3 | november 21, 1982 | at buffalo bills | w 9-7 | 52,945 row 4 : 4 | november 29, 1982 | at tampa bay buccaneers | l 17-23 | 65,854 row 5 : 5 | december 5, 1982 | minnesota vikings | w 22-14 | 45,721 row 6 : 6 | december 12, 1982 | at new england patriots | l 0-3 | 25,716 row 7 : 7 | december 18, 1982 | new york jets | w 20-19 | 67,702 row 8 : 8 | december 27, 1982 | buffalo bills | w 27-10 | 73,924 row 9 : 9 | january 2, 1983 | at baltimore colts | w 34-7 | 19,073 ] Execute this SQL based on the above table: select date where date < ( select date where date = 'january 2, 1983' )
september 12, 1982, september 19, 1982, november 21, 1982, november 29, 1982, december 5, 1982, december 12, 1982, december 18, 1982, december 27, 1982
[ header: canal | length (miles) | locks | max length (ft) | width (ft) | year opened | year abandoned | year restored row 1 : aberdeenshire canal | 18 | 18 | None | None | 1805 | 1854 | None row 2 : buchan canal | None | None | None | None | None | None | None row 3 : caledonian canal | 62 | 29 | 150 | 35 | 1822 | None | None row 4 : crinan canal | 9 | 15 | 86.75 | 19.65 | 1817 | None | None row 5 : dingwall canal | 1.1 | 0 | None | None | 1816 | 1840 | None row 6 : forth and clyde canal | 35 | 38 | 68.58 | 19.75 | 1790 | 1963 | 2002 row 7 : glasgow, paisley and | 11 | 0 | None | None | 1811 | 1881 | None row 8 : monkland canal | 12.25 | 18 | 71 | 14 | 1794 | 1942 | None row 9 : stevenston canal | 2.25 | 0 | None | 13 | 1772 | 1830 | None row 10 : union canal | 31.5 | 3 | 63 | 12.5 | 1822 | 1930 | 2000 ] Execute this SQL based on the above table: select count ( canal ) where length (miles) = '12.25'
1
[ header: metropolitan area | country | rank | forstall 2003 est. | official population | year row 1 : ahmedabad | india | None | None | 6352254 | 2011 row 2 : atlanta | united states | None | None | 5457831 | 2012 row 3 : bangalore | india | None | None | 8728906 | 2011 row 4 : barcelona | spain | None | None | 5357422 | 2012 row 5 : belo horizonte | brazil | None | None | 5504635 | 2012 row 6 : beijing | china | 19 | 12500000 | None | None row 7 : berlin | germany | None | None | 5097712 | 2012 row 8 : bogota | colombia | None | None | 9023644 | 2014 row 9 : buenos aires | argentina | 17 | 13170000 | 12801364 | 2010 row 10 : cairo | egypt | 16 | 14450000 | None | None row 11 : chennai | india | None | None | 8917749 | 2011 row 12 : chicago | united states | None | 9175000 | 9522434 | 2012 row 13 : dallas-fort worth | united states | None | None | 6700991 | 2012 row 14 : dhaka | bangladesh | None | None | 12797394 | 2008 row 15 : houston | united states | None | None | 6177035 | 2012 row 16 : hyderabad | india | None | None | 7749334 | 2011 row 17 : istanbul | turkey | None | None | 14160467 | 2014 row 18 : jakarta | indonesia | 6 | 18900000 | 28019545 | 2010 row 19 : karachi | pakistan | 20 | 11800000 | None | None row 20 : kolkata | india | 14 | 15100000 | 14617882 | 2011 row 21 : lima | peru | None | None | 9735587 | 2014 row 22 : london | united kingdom | 18 | 12875000 | 13614409 | 2012 row 23 : los angeles | united states | 13 | 15250000 | 13052921 | 2012 row 24 : madrid | spain | None | None | 6387824 | 2012 row 25 : manila | philippines | 11 | 16300000 | 11855975 | 2010 row 26 : miami | united states | None | None | 5762717 | 2012 row 27 : moscow | russia | 15 | 15000000 | 17000000 | None row 28 : nagoya | japan | None | None | 9107000 | 2010 row 29 : new york | united states | 4 | 19750000 | 19831858 | 2012 row 30 : osaka-kobe-ky | japan | 9 | 17375000 | 19342000 | 2010 row 31 : paris | france | None | None | 12223100 | 2010 row 32 : philadelphia | united states | None | None | 6018800 | 2012 row 33 : pune | india | None | None | 5049968 | 2011 row 34 : ruhr | germany | None | None | 5135136 | 2012 row 35 : rio de janeiro | brazil | None | None | 11846530 | 2012 row 36 : sao paulo | brazil | 7 | 18850000 | 19956590 | 2012 row 37 : santiago | chile | None | None | 6683852 | 2012 row 38 : shanghai | china | 10 | 16650000 | None | None row 39 : seoul | south korea | 2 | 20550000 | 25721000 | 2012 row 40 : singapore | singapore | None | None | 5312000 | 2012 row 41 : tokyo | japan | 1 | 32450000 | 36923000 | 2010 ] Execute this SQL based on the above table: select count ( metropolitan area )
41
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 22 june 2008 | addis abeba | mauritania | 6-1 | win | 2010 wc qualification row 2 : 2 | 30 november 2009 | nairobi | djibouti | 5-0 | win | 2009 cecafa cup row 3 : 3 | 8 october 2011 | addis abeba | madagascar | 4-2 | win | 2012 caf qualification row 4 : 4 | 2 december 2011 | dar es salaam | malawi | 1-1 | draw | 2011 cecafa cup row 5 : 5 | 17 june 2012 | cotonou | benin | 1-1 | draw | 2013 africa cup of nations qualifier row 6 : 6 | 8 september 2012 | khartoum | sudan | 3-5 | loss | 2013 africa cup of nations qualifier row 7 : 7 | 14 september 2012 | addis abeba | sudan | 2-0 | win | 2013 africa cup of nations qualifier row 8 : 8 | 21 january 2013 | nelspruit | zambia | 1-1 | draw | 2013 africa cup of nations ] Execute this SQL based on the above table: select venue where score = 1
dar es salaam, cotonou, nelspruit
[ header: place | position | number | name | league one | fa cup | league cup | football league trophy | total row 1 : 1 | mf | 4 | luke summerfield | 5 | 0 | 0 | 0 | 5 row 2 : 2 | mf | 17 | paul parry | 3 | 0 | 1 | 0 | 4 row 3 : 3 | fw | 24 | tom eaves | 3 | 0 | 0 | 0 | 3 row 4 : 4 | mf | 11 | jon taylor | 1 | 0 | 0 | 1 | 2 row 5 : 4 | df | 5 | darren jones | 2 | 0 | 0 | 0 | 2 row 6 : 4 | mf | 23 | adam reach | 2 | 0 | 0 | 0 | 2 row 7 : 4 | mf | 22 | ryan woods | 2 | 0 | 0 | 0 | 2 row 8 : 4 | fw | 26 | curtis main | 2 | 0 | 0 | 0 | 2 row 9 : 5 | mf | 2 | jermaine grandison | 1 | 0 | 0 | 0 | 1 row 10 : 5 | mf | 8 | dave mcallister | 1 | 0 | 0 | 0 | 1 row 11 : 5 | fw | 15 | aaron wildig | 1 | 0 | 0 | 0 | 1 row 12 : 5 | fw | 29 | asa hall | 1 | 0 | 0 | 0 | 1 row 13 : 5 | fw | 7 | gozie ugwu | 1 | 0 | 0 | 0 | 1 row 14 : 5 | df | 18 | connor goldson | 1 | 0 | 0 | 0 | 1 row 15 : 5 | mf | 10 | nicky wroe | 1 | 0 | 0 | 0 | 1 row 16 : 5 | fw | 9 | tom bradshaw | 1 | 0 | 0 | 0 | 1 ] Execute this SQL based on the above table: select number where position = 'mf'
4, 17, 11, 23, 22, 2, 8, 10
[ header: year | title | uk | us: billboard hot 100 | us: billboard r&b | us: billboard a/c | australia | various row 1 : 1976 | "right back where we started from" | ('75) #8 | #2 | #46 | #5 | #4 | #3 (netherlands), #2 (belg row 2 : 1976 | "gotta be the one" | None | #53 | None | #22 | #12 | #19 (new zealand) row 3 : 1977 | "love hit me" | #11 | None | None | None | #22 | None row 4 : 1977 | "will you be my lover" | None | None | None | None | None | #44 (france) row 5 : 1979 | "lead me on" | None | #5 | #37 | #1 | #58 | #2 (canada), #8 (new row 6 : 1979 | "(bringin' out) the girl | None | #73 | None | None | None | None row 7 : 1982 | "turn to me" (with jim | None | None | #17 | None | None | None ] Execute this SQL based on the above table: select uk order by year asc limit 1
('75) #8
[ header: season | winner | team | position | age row 1 : 1932-33 | carl voss | detroit red wings | c | 25 row 2 : 1933-34 | russ blinco | montreal maroons | c | 25 row 3 : 1934-35 | sweeney schriner | new york americans | lw | 22 row 4 : 1936-37 | syl apps | toronto maple leafs | c | 21 row 5 : 1937-38 | cully dahlstrom | chicago black hawks | c | 24 row 6 : 1939-40 | kilby macdonald | new york rangers | lw | 25 row 7 : 1940-41 | johnny quilty | montreal canadiens | c | 19 row 8 : 1946-47 | howie meeker | toronto maple leafs | rw | 21 row 9 : 1947-48 | jim mcfadden | detroit red wings | c | 27 row 10 : 1948-49 | pentti lund | new york rangers | rw | 22 row 11 : 1949-50 | jack gelineau | boston bruins | g | 24 row 12 : 1951-52 | bernie geoffrion | montreal canadiens | rw | 20 row 13 : 1952-53 | gump worsley | new york rangers | g | 23 row 14 : 1953-54 | camille henry | new york rangers | c | 20 row 15 : 1961-62 | bobby rousseau | montreal canadiens | rw | 21 row 16 : 1963-64 | jacques laperriere | montreal canadiens | d | 21 row 17 : 1964-65 | roger crozier | detroit red wings | g | 22 row 18 : 1967-68 | derek sanderson | boston bruins | c | 21 row 19 : 1969-70 | tony esposito | chicago black hawks | g | 26 row 20 : 1972-73 | steve vickers | new york rangers | lw | 21 row 21 : 1974-75 | eric vail | atlanta flames | lw | 20 row 22 : 1975-76 | bryan trottier | new york islanders | c | 19 row 23 : 1976-77 | willi plett | atlanta flames | rw | 21 row 24 : 1977-78 | mike bossy | new york islanders | rw | 20 row 25 : 1982-83 | steve larmer | chicago black hawks | rw | 21 row 26 : 1983-84 | tom barrasso | buffalo sabres | g | 18 row 27 : 1984-85 | mario lemieux | pittsburgh penguins | c | 19 row 28 : 1986-87 | luc robitaille | los angeles kings | lw | 20 row 29 : 1987-88 | joe nieuwendyk | calgary flames | c | 21 row 30 : 1992-93 | teemu selanne | winnipeg jets | rw | 22 row 31 : 1994-95 | peter forsberg | quebec nordiques | c | 21 row 32 : 1995-96 | daniel alfredsson | ottawa senators | rw | 22 row 33 : 1997-98 | sergei samsonov | boston bruins | lw | 19 row 34 : 1998-99 | chris drury | colorado avalanche | c | 22 row 35 : 2001-02 | dany heatley | atlanta thrashers | rw | 20 row 36 : 2003-04 | andrew raycroft | boston bruins | g | 23 ] Execute this SQL based on the above table: select ( select count ( * ) where position = 'c' ) > ( select count ( * ) where position = 'lw' )
1
[ header: party/electoral alliance | seats | change | votes | % row 1 : radical civic union (ucr) | 98 | 6 | 618411 | 42.70% row 2 : independent socialist | 15 | 9 | 110792 | 7.70% row 3 : conservative | 12 | -2 | 153826 | 10.60% row 4 : democratic (cordoba province) | 7 | 1 | None | None row 5 : unified ucr (santa | 4 | -7 | 53221 | 3.70% row 6 : liberal (tucuman province) | 4 | -2 | 39543 | 2.70% row 7 : democratic progressive | 3 | 3 | 136121 | 9.40% row 8 : antipersonalist ucr | 3 | -2 | 47891 | 3.30% row 9 : autonomist party of corrientes | 2 | -3 | 17152 | 1.20% row 10 : lencinist ucr ( | 1 | None | 19375 | 1.30% row 11 : socialist | 1 | -3 | 123734 | 8.50% row 12 : others | 4 | None | 127601 | 8.60% row 13 : invalid votes | 4 | None | 39868 | 2.70% row 14 : total | 158 | None | 1487535 | 100.00% ] Execute this SQL based on the above table: select % where seats = 4
3.70%, 2.70%, 8.60%, 2.70%
[ header: municipality/communes | coalition for the citizen | coalition for the future | other/independent | winning party/coalition | voter turnout row 1 : aranitas | robert brahaj (42. | viktor mahmutaj (57. | None | coalition for the future | 57% row 2 : ballsh | dallandyshe allkaj ( | ilir cela (52.03 | None | coalition for the future | 55% row 3 : fratar | sabire hoxhaj (49 | astrit sejdinaj (50 | None | coalition for the future | 57% row 4 : greshice | baftjar bakiu (55 | bilbil veliaj (44. | None | coalition for the citizen | 53% row 5 : hekal | qemal pashaj (41.99 | eqerem beqiraj (58 | None | coalition for the future | 50% row 6 : kute | gentjan dervishaj (49. | ramis malaj (50.30 | None | coalition for the future | 55% row 7 : ngracan | nuri koraj (65.52 | besnik shanaj (34.48 | None | coalition for the citizen | 70% row 8 : qender | agron kapllanaj ( | sybi aliaj (34 | None | coalition for the citizen | 57% row 9 : selite | altin bregasi (51.75 | hekuran resulaj | nezir jaupaj (p | coalition for the citizen | 62% ] Execute this SQL based on the above table: select count ( municipality/communes ) where winning party/coalition not null
9
[ header: seasons | team | ch.wins | promotions | relegations row 1 : 10 | aurora basket jesi | 0 | 1 | 1 row 2 : 10 | andrea costa imola | 0 | 0 | 3 row 3 : 9 | nuova pallacanestro pavia | 0 | 0 | 0 row 4 : 9 | scafati basket | 1 | 1 | 0 row 5 : 8 | basket club ferrara | 1 | 1 | 0 row 6 : 8 | pallac. reggiana reggio e | 2 | 2 | 0 row 7 : 7 | novara | 0 | 0 | 3 row 8 : 6 | a.s. junior pallacane | 1 | 1 | 1 row 9 : 5 | rb montecatini terme | 0 | 0 | 1 row 10 : 5 | fabriano basket | 0 | 0 | 1 row 11 : 5 | societa veroli basket | 0 | 0 | 0 row 12 : 5 | pistoia basket 2000 | 0 | 0 | 0 row 13 : 4 | juve caserta basket | 0 | 1 | 0 row 14 : 3 | nuova sebastiani rieti | 1 | 1 | 0 row 15 : 3 | progresso castelmaggiore | 0 | 0 | 0 row 16 : 3 | orlandina basket | 1 | 1 | 1 row 17 : 3 | sutor basket montegranaro | 0 | 1 | 1 row 18 : 3 | virtus ragusa | 0 | 0 | 1 row 19 : 3 | robur basket osimo | 0 | 0 | 1 row 20 : 3 | reyer venezia | 0 | 1 | 0 row 21 : 3 | new basket brindisi | 1 | 2 | 0 row 22 : 2 | pallacanestro messina | 0 | 1 | 0 row 23 : 2 | basket trapani | 0 | 0 | 1 row 24 : 2 | basket draghi castelletto tic | 0 | 0 | 0 row 25 : 2 | pallalcesto amatori udin | 0 | 0 | 0 row 26 : 2 | unione cestistica casalpuster | 0 | 0 | 0 row 27 : 2 | basket barcellona | 0 | 0 | 0 row 28 : 2 | fulgor libertas forl | 0 | 0 | 1 row 29 : 2 | scaligera basket verona | 0 | 0 | 1 row 30 : 1 | societa sportiva basket n | 1 | 1 | 0 row 31 : 1 | centro sportivo borgomanero | 0 | 0 | 0 row 32 : 1 | teramo basket | 1 | 1 | 0 row 33 : 1 | virtus pallacanestro bo | 0 | 1 | 0 row 34 : 1 | victoria libertas pes | 0 | 1 | 0 row 35 : 1 | nuova pallacanestro vige | 0 | 0 | 0 row 36 : 1 | cestistica san sever | 0 | 0 | 1 row 37 : 1 | basket brescia leonessa | 0 | 0 | 0 row 38 : 1 | unione cestistica piacentin | 0 | 0 | 0 row 39 : 1 | ostuni basket | 0 | 0 | 0 row 40 : 1 | biancoblu basket bologna | 0 | 0 | 0 ] Execute this SQL based on the above table: select sum ( ch.wins ) where team = 'basket trapani'
0.0
[ header: year | track | number | team | car | round result row 1 : 1996 | pukekohe park raceway | 1 | holden racing team | holden vr commodore | 1st row 2 : 2001 | pukekohe park raceway | 51 | k-mart racing team | holden vx commodore | 1st row 3 : 2002 | pukekohe park raceway | 51 | k-mart racing team | holden vx commodore | 1st row 4 : 2003 | pukekohe park raceway | 51 | k-mart racing team | holden vy commodore | 1st row 5 : 2004 | pukekohe park raceway | 51 | k-mart racing team | holden vy commodore | 3rd row 6 : 2005 | pukekohe park raceway | 51 | paul weel racing | holden vz commodore | 1st row 7 : 2006 | pukekohe park raceway | 51 | paul weel racing | holden vz commodore | 15th row 8 : 2007 | pukekohe park raceway | 51 | tasman motorsport | holden ve commodore | 11th row 9 : 2008 | hamilton street circuit | 51 | tasman motorsport | holden ve commodore | 25th row 10 : 2009 | hamilton street circuit | 51 | tasman motorsport | holden ve commodore | 22nd row 11 : 2010 | hamilton street circuit | 51 | paul morris motorsport | holden ve commodore | 14th row 12 : 2011 | hamilton street circuit | 11 | pepsi max crew | holden ve commodore | 24th row 13 : 2012 | hamilton street circuit | 51 | pepsi max crew | holden ve commodore | 24th ] Execute this SQL based on the above table: select track order by year desc limit 1
hamilton street circuit
[ header: mlb season | team season | league | division | finish | wins | losses | win % | gb | postseason | awards row 1 : 1969 | 1969 | al | west | 6th | 64 | 98 | 0.395 | 33 | None | None row 2 : 1970 | 1970 | al | west | 4th | 65 | 97 | 0.401 | 33 | None | None row 3 : 1971 | 1971 | al | west | 6th | 69 | 92 | 0.429 | 32 | None | None row 4 : 1973 | 1973 | al | east | 5th | 74 | 88 | 0.457 | 23 | None | None row 5 : 1974 | 1974 | al | east | 5th | 76 | 86 | 0.469 | 15 | None | None row 6 : 1976 | 1976 | al | east | 6th | 66 | 95 | 0.41 | 32 | None | None row 7 : 1977 | 1977 | al | east | 6th | 67 | 95 | 0.414 | 33 | None | None row 8 : 1979 | 1979 | al | east | 2nd | 95 | 66 | 0.59 | 8 | None | None row 9 : 1981 | 1981 | al | east | 3rd | 31 | 25 | 0.554 | 3 | lost alds vs. new york | rollie fingers (mvp, row 10 : 1981 | 1981 | al | east | 1st | 31 | 22 | 0.585 | None | lost alds vs. new york | rollie fingers (mvp, row 11 : 1982 | 1982 | al | east | 1st | 95 | 67 | 0.586 | None | won alcs vs. cali | robin yount (mvp row 12 : 1983 | 1983 | al | east | 5th | 87 | 75 | 0.537 | 11 | None | cecil cooper (rca) row 13 : 1984 | 1984 | al | east | 7th | 67 | 94 | 0.416 | 361⁄2 | None | None row 14 : 1988 | 1988 | al | east | 3rd | 87 | 75 | 0.537 | 2 | None | None row 15 : 1993 | 1993 | al | east | 7th | 69 | 93 | 0.426 | 26 | None | None row 16 : 1997 | 1997 | al | central | 3rd | 78 | 83 | 0.484 | 8 | None | None row 17 : 1999 | 1999 | nl | central | 5th | 74 | 87 | 0.46 | 221⁄2 | None | None row 18 : 2000 | 2000 | nl | central | 3rd | 73 | 89 | 0.451 | 22 | None | None row 19 : 2001 | 2001 | nl | central | 4th | 68 | 94 | 0.42 | 25 | None | None row 20 : 2002 | 2002 | nl | central | 6th | 56 | 106 | 0.346 | 41 | None | None row 21 : 2003 | 2003 | nl | central | 6th | 68 | 94 | 0.412 | 20 | None | None row 22 : 2004 | 2004 | nl | central | 6th | 67 | 94 | 0.411 | 371⁄2 | None | None row 23 : 2007 | 2007 | nl | central | 2nd | 83 | 79 | 0.512 | 2 | None | ryan braun (roy) prince field row 24 : 2008 | 2008 | nl | central | 2nd | 90 | 72 | 0.556 | 71⁄2 | lost nlds vs. | None row 25 : 2009 | 2009 | nl | central | 3rd | 80 | 82 | 0.494 | 11 | None | None ] Execute this SQL based on the above table: select count ( * ) where division = 'central'
10
[ header: party | candidate | votes | % | ∆% row 1 : conservative | joe daniel | 14422 | 36.78 | 5.78 row 2 : liberal | yasmin ratansi | 13552 | 34.56 | -13.51 row 3 : new democratic | mary trapani hynes | 9878 | 25.19 | 11.87 row 4 : green | akil sadikali | 1114 | 2.84 | -4.05 row 5 : christian heritage | ryan kidd | 246 | 0.63 | -0.07 row 6 : total valid votes | total valid votes | 39212 | 100 | None row 7 : total rejected ballots | total rejected ballots | 218 | 0.55 | None row 8 : turnout | turnout | 39430 | 57.24 | None row 9 : eligible voters | eligible voters | 68890 | None | None ] Execute this SQL based on the above table: select candidate where % > ( select % where candidate = 'yasmin ratansi' ) order by % asc limit 1
joe daniel
[ header: position | team | points | played | won | drawn | lost | for | against | difference row 1 : 1 | palestra italia-sp | 18 | 9 | 9 | 0 | 0 | 33 | 8 | 25 row 2 : 2 | auto | 14 | 9 | 7 | 0 | 2 | 25 | 14 | 11 row 3 : 3 | corinthians | 13 | 9 | 6 | 1 | 2 | 26 | 9 | 17 row 4 : 4 | santos | 11 | 9 | 5 | 1 | 3 | 24 | 17 | 7 row 5 : 5 | silex | 8 | 9 | 3 | 2 | 4 | 17 | 26 | -9 row 6 : 6 | sirio | 7 | 9 | 3 | 1 | 5 | 21 | 20 | 1 row 7 : 7 | ypiranga-sp | 7 | 9 | 3 | 1 | 5 | 16 | 22 | -6 row 8 : 8 | portuguesa | 7 | 9 | 2 | 3 | 4 | 17 | 26 | -9 row 9 : 9 | aa sao bento | 4 | 9 | 2 | 0 | 7 | 9 | 31 | -22 row 10 : 10 | sc internacional de sa | 1 | 9 | 0 | 1 | 8 | 9 | 24 | -15 ] Execute this SQL based on the above table: select difference order by team desc limit 1
-6.0
[ header: year | song | us r&b | us rap | album row 1 : 1991 | "mistadobalina" | 55 | 6 | i wish my brother george was here row 2 : 1991 | "sleepin' on my couch" | None | None | i wish my brother george was here row 3 : 1992 | "dr. bombay.." | None | None | i wish my brother george was here row 4 : 1993 | "catch a bad one" | None | None | no need for alarm row 5 : 1994 | "wrong place" | None | 48 | no need for alarm row 6 : 1999 | "phoney phranchise" | None | 47 | both sides of the brain row 7 : 2000 | "if you must" | None | 27 | both sides of the brain row 8 : 2008 | "workin' it" | None | None | eleventh hour row 9 : 2011 | "one out of a million" | None | None | golden era ] Execute this SQL based on the above table: select album where us r&b is null
i wish my brother george was here, i wish my brother george was here, no need for alarm, no need for alarm, both sides of the brain, both sides of the brain, eleventh hour, golden era
[ header: candidate | votes | percentage | counties | delegates row 1 : john mccain | 701761 | 36% | 45 | 57 row 2 : mitt romney | 604932 | 31.03% | 18 | 0 row 3 : rudy giuliani | 286089 | 14.68% | 0 | 0 row 4 : mike huckabee | 262681 | 13.47% | 4 | 0 row 5 : ron paul | 62887 | 3.23% | 0 | 0 row 6 : fred thompson | 22668 | 1.16% | 0 | 0 row 7 : alan keyes | 4060 | 0.21% | 0 | 0 row 8 : duncan hunter | 2847 | 0.15% | 0 | 0 row 9 : tom tancredo | 1573 | 0.08% | 0 | 0 row 10 : totals | 1949498 | 100% | 67 | 57 ] Execute this SQL based on the above table: select count ( percentage ) where candidate = 'john mccain'
1
[ header: number | name | year built | boat builder | current status row 1 : 1 | hilbre | 1958 | williams & nixon | wksc-regularly row 2 : 4 | hioco | 1959 | enterprise boat company, rock ferry | wksc-regularly row 3 : 6 | hie | 1959 | williams & nixon | wksc-regularly row 4 : 9 | hiawatha | 1960 | williams & nixon | wksc-regularly row 5 : 13 | no boat | None | None | None row 6 : 15 | hieros | 1961 | turner & son, donegal | understood to be in a garden in chester row 7 : 16 | high & dry | 1961 | turner & son, donegal | went down in the persian gulf after row 8 : 17 | hilsa | 1961 | enterprise boat company, rock ferry | wksc-regularly row 9 : 19 | hilarity | 1960 | williams & nixon | wksc-regularly row 10 : 20 | hilda | 1960 | enterprise boat company, rock ferry | wksc-regularly row 11 : 22 | hijack | 1961 | turner & son, donegal | set on fire and destroyed in nevin, row 12 : 24 | hibiscus | 1961 | enterprise boat company, rock ferry | sunk when it disappeared from its moor row 13 : 27 | hicotee | 1961 | enterprise boat company, rock ferry | wksc-regularly row 14 : 33 | hiwmor | 1961 | crossfield successors, arnside | south east england row 15 : 35 | hilo | 1961 | enterprise boat company, rock ferry | wrecked when escaped moorings row 16 : 37 | hinden | 1961 | crossfield successors, arnside | destroyed when put in a skip in liverpool row 17 : 39 | hickory | 1961 | crossfield successors, arnside | burnt on bonfire night row 18 : 41 | highcrest | 1961 | crossfield successors, arnside | wrecked when came off its mooring row 19 : 44 | hibrena | 1961 | crossfield successors, arnside | cut up and burnt in 2002 and parts salvage row 20 : 49 | higgler | 1961 | crossfield successors, arnside | last heard of in polperro row 21 : 50 | heulwen | 1962 | wirral boat co., rock ferry | porthmadog row 22 : 54 | hinon | 1964 | crossfield successors, arnside | lying in a garden in buckley, in row 23 : 55 | hiriver | 1964 | anglesey boat co., beaumaris | sunk in the river mersey row 24 : 56 | hipparchus | 1966 | anglesey boat co., beaumaris | liverpool maritime museum ] Execute this SQL based on the above table: select name order by id desc limit 1
hipparchus
[ header: year | single | peak chart positions at | peak chart positions uk | peak chart positions u.s. dance | peak chart positions u.s. rock | peak chart positions ger | peak chart positions sui | peak chart positions ned | peak chart positions swe | album row 1 : 1988 / 89 | "bring me edelweiss" | 1 | 5 | 7 | 24 | 2 | 1 | 2 | 1 | singles only row 2 : 1989 | "i can't get no... edel | None | None | None | None | None | None | None | None | singles only row 3 : 1992 | "raumschiff edelweiss" / | 1 | None | None | None | 7 | 8 | 19 | 25 | wonderful world of edelweiss row 4 : 1992 | "planet edelweiss" | 14 | None | None | None | None | None | None | None | wonderful world of edelweiss row 5 : 1993 | "beam me up" | None | None | None | None | None | None | None | None | wonderful world of edelweiss row 6 : 1993 | "ski instructor" | None | None | None | None | None | None | None | None | wonderful world of edelweiss row 7 : 1997 | "edeltaler hochzeitsmarsch ( | None | None | None | None | None | None | None | None | singles only row 8 : 2001 | "bring me edelweiss" ( | None | None | None | None | None | None | None | None | singles only ] Execute this SQL based on the above table: select single where single = '"ski instructor"' and album = 'wonderful world of edelweiss'
"ski instructor"
[ header: team | stadium | capacity | seated row 1 : merthyr town | penydarren park | 10000 | None row 2 : paulton rovers | athletic field | 5000 | 253 row 3 : evesham united | st george's lane | 4749 | None row 4 : winchester city | the city ground | 4500 | 180 row 5 : clevedon town | hand stadium | 3500 | 300 row 6 : cinderford town | the causeway | 3500 | 250 row 7 : tiverton town | ladysmead | 3500 | 520 row 8 : wimborne town | cuthbury | 3250 | 275 row 9 : didcot town | npower loop meadow stadium | 3000 | 150 row 10 : swindon supermarine | the webb's wood stadium | 3000 | None row 11 : bridgwater town | fairfax park | 2500 | 128 row 12 : hungerford town | bulpit lane | 2500 | 170 row 13 : mangotsfield united | cossham street | 2500 | 300 row 14 : taunton town | wordsworth drive | 2500 | 300 row 15 : abingdon united | northcourt road | 2000 | 158 row 16 : poole town | tatnam | 2000 | 154 row 17 : north leigh | eynsham hall park sports ground | 2000 | 100 row 18 : yate town | lodge road | 2000 | 236 row 19 : bishop's cleeve | kayte lane | 1500 | 50 row 20 : sholing | vt group sports ground | 1000 | 150 row 21 : shortwood united | the meadowbank ground | tbc | None row 22 : cirencester town | corinium stadium | tbc | None ] Execute this SQL based on the above table: select count ( * ) where seated = 128
1
[ 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 # - # desc limit 1
keisha grandy
[ header: year | competition | venue | position | event | notes row 1 : 1975 | asian championships | seoul, south korea | 1st | 5,000m | 14:00.8 row 2 : 1979 | asian championships | tokyo, japan | 2nd | 10,000m | 29:00.2 row 3 : 1981 | asian championships | tokyo, japan | 1st | 10,000m | 28:53.3 row 4 : 1981 | fukuoka marathon | fukuoka, japan | 2nd | marathon | 2:09:37 row 5 : 1982 | fukuoka marathon | fukuoka, japan | 4th | marathon | 2:11:45 row 6 : 1983 | world championships | helsinki, finland | 28th | 10,000m | 29:49.0 ] Execute this SQL based on the above table: select count ( distinct venue )
4
[ header: rank | name | nationality | time | notes row 1 : 1 | janelle atkinson | jamaica | 4:16.89 | q row 2 : 2 | None | None | None | q row 3 : 3 | kaitlin sandeno | united states | 4:18.97 | q row 4 : 4 | julia stowers | united states | 4:19.84 | q row 5 : 5 | None | None | None | q row 6 : 6 | None | None | None | q row 7 : 7 | None | None | None | q row 8 : 8 | None | None | None | q ] Execute this SQL based on the above table: select count ( * ) where name = 'kaitlin sandeno'
1
[ header: pos. | athlete | run 1 | run 2 | total row 1 : 1 | aronne pieruz | 50.39 | 58.25 | 1:48.64 row 2 : 2 | filip trejbal | 50.68 | 58.84 | 1:49.52 row 3 : 3 | adam cole | 51.4 | 58.51 | 1:49.91 row 4 : 4 | tague thorson | 51.2 | 59.13 | 1:50.33 row 5 : 5 | jan urfer | 51.54 | 59.1 | 1:50.64 row 6 : 6 | charles christianson | 51.75 | 58.91 | 1:50.66 row 7 : 7 | francesco ghedina | 51.37 | 59.39 | 1:50.94 row 8 : 8 | luca moretti | 52.05 | 58.89 | 1:51.17 row 9 : 9 | cameron barnes | 51.66 | 59.51 | 1:51.37 row 10 : 10 | martin vrablik | 52.77 | 58.6 | 1:51.48 ] Execute this SQL based on the above table: select athlete where athlete > ( select athlete where athlete = 'jan urfer' ) order by athlete limit 1
luca moretti
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 8 february 2011 | stade georges pompidou, | mali | 1-0 | 1-0 | friendly row 2 : 2 | 11 may 2011 | stade felix houphouet- | namibia | 4-1 | 5-1 | friendly row 3 : 3 | 5 june 2011 | stade de l'amitie | benin | 0-1 | 2-6 | 2012 africa cup of nations qualification - group row 4 : 4 | 10 august 2011 | stade de geneve, geneve, | israel | 1-0 | 4-3 | friendly row 5 : 5 | 3 september 2011 | stade amahoro, ki | rwanda | 0-4 | 0-5 | 2012 africa cup of nations qualification - group row 6 : 6 | 14 november 2012 | linzer stadion, | austria | 0-1 | 0-3 | friendly row 7 : 7 | 14 january 2013 | al nahyan stadium, abu | egypt | 4-2 | 4-2 | friendly row 8 : 8 | 26 january 2013 | royal bafokeng stadium, rustenburg | tunisia | 3-0 | 3-0 | 2013 africa cup of nations ] Execute this SQL based on the above table: select count ( distinct venue )
8
[ header: represent | contestant | age | height | hometown row 1 : alta verapaz | casetie lily dubo | 23 | 1.74 m (5 ft 8 1 | copan row 2 : chimaltenango | wendy karina albizures | 19 | 1.83 m (6 ft 0 | chimaltenango row 3 : ciudad capital | rita elizabeth med | 19 | 1.77 m (5 ft 9 1 | ciudad guatemala row 4 : guatemala | ana maribel arana r | 22 | 1.79 m (5 ft 10 1 | villa nueva row 5 : izabal | jessica jazmin donabo | 18 | 1.75 m (5 ft 9 in | puerto barrios row 6 : jalapa | luz yohana | 20 | 1.76 m (5 ft 9 1 | jalapa row 7 : quetzaltenango | clara jennifer chiong | 24 | 1.81 m (5 ft 11 1 | quetzaltenango ] Execute this SQL based on the above table: select age where represent = 'izabal'
18.0
[ header: ep# | title | broadcast date | written by | directed by row 1 : 1 | "birth of a legend" | april 18, 1995 | michael piller & bill dial | charles correll row 2 : 2 | "mr. pratt goes to | april 25, 1995 | michael piller & bill dial | william gereghty row 3 : 3 | "legend on his president's secret service | may 2, 1995 | bob wilcox | michael vejar row 4 : 4 | "custer's next to last stand" | may 9, 1995 | bill dial | william gereghty row 5 : 5 | "the life, death, and life of wild | may 16, 1995 | peter allan fields | michael caffey row 6 : 6 | "knee-high noon" | may 23, 1995 | steve stolier & fr | james l. conway row 7 : 7 | "the gospel according to legend" | june 12, 1995 | john considine | michael vejar row 8 : 8 | "bone of contention" | june 20, 1995 | george geiger | charles correll row 9 : 9 | "revenge of the herd" | july 4, 1995 | tim burns | bob balaban row 10 : 10 | "fall of a legend" | july 18, 1995 | bob shane & r | michael vejar row 11 : 11 | "clueless in san franci | july 25, 1995 | carol caldwell & marianne clark | charles correll row 12 : 12 | "skeletons in the closet" | august 8, 1995 | david rich | steve shaw ] Execute this SQL based on the above table: select written by order by ep# desc limit 1
david rich
[ header: date | time | opponent# | site | tv | result | attendance row 1 : september 4 | 7:00 pm | pacific | jones stadium • lubbock, | None | w 55-7 | 29164 row 2 : september 11 | 1:00 pm | at #9 nebraska | memorial stadium • lincoln, | None | l 27-50 | 75771 row 3 : september 18 | 12:00 pm | at georgia | sanford stadium • athens, | None | l 11-17 | 74511 row 4 : september 25 | 12:00 pm | at baylor | floyd casey stadium • waco, | raycom | l 26-28 | 32690 row 5 : october 2 | 11:00 am | #14 texas a&m | jones stadium • lubbock, | abc | l 6-31 | 50748 row 6 : october 9 | 1:00 pm | north carolina state | jones stadium • lubbock, | None | l 34-36 | 26943 row 7 : october 16 | 7:00 pm | rice | jones stadium • lubbock, | None | w 45-16 | 27812 row 8 : october 30 | 12:00 pm | at texas | texas memorial stadium • austin | raycom | w 31-22 | 63132 row 9 : november 6 | 12:00 pm | tcu | jones stadium • lubbock, | raycom | w 49-21 | 31922 row 10 : november 13 | 2:00 pm | at smu | ownby stadium • university park, tx | None | w 41-24 | 15714 row 11 : november 20 | 7:00 pm | vs. houston | alamodome • san a | None | w 58-7 | 28652 row 12 : december 31 | 1:30 pm | vs. #19 oklahom | sun bowl stadium • el paso, | cbs | l 10-41 | 43848 ] Execute this SQL based on the above table: select sum ( site ) where date = 12
0.0
[ header: county | fips code | county seat | created | origin | etymology | population estimate (2011) | area row 1 : alamance county | 1 | graham | 1849 | orange county | the battle of alamance which was derived | 153291 | 435 sq mi (1,127 km2) row 2 : clay county | 43 | hayesville | 1861 | cherokee county | henry clay (1777-1852), states | 10563 | 221 sq mi (572 km2) row 3 : dare county | 55 | manteo | 1870 | currituck county, hyde | virginia dare (b. 1587 | 34307 | 1,562 sq mi (4,046 km2) row 4 : duplin county | 61 | kenansville | 1750 | new hanover county | thomas hay, viscount du | 59542 | 819 sq mi (2,121 km2) row 5 : gaston county | 71 | gastonia | 1846 | lincoln county | william gaston (1778-1844), | 207031 | 364 sq mi (943 km2) row 6 : greene county | 79 | snow hill | 1799 | dobbs county originally named glasgo | nathanael greene (17 | 21556 | 266 sq mi (689 km2) row 7 : henderson county | 89 | hendersonville | 1838 | buncombe county | leonard henderson (1772-18 | 107927 | 375 sq mi (971 km2) row 8 : mitchell county | 121 | bakersville | 1861 | burke county, caldwell county, m | elisha mitchell (1793 | 15445 | 222 sq mi (575 km2) row 9 : wilson county | 195 | wilson | 1855 | edgecombe county, johnston county, | louis d. wilson, | 81452 | 374 sq mi (969 km2) row 10 : yadkin county | 197 | yadkinville | 1850 | surry county | the yadkin river | 38279 | 337 sq mi (873 km2) ] Execute this SQL based on the above table: select county where county = 'clay county'
clay county
[ header: community | airport name | type | coordinates row 1 : antil plains | antil plains aerodrome | military | 19°26′36′′s 146° row 2 : eagle farm, brisban | eagle farm airport | military/public | 27°25′30′′s 153° row 3 : charters towers | breddan aerodrome | military | 19°56′34′′s 146° row 4 : petrie, brisbane | petrie airfield | military | 27°17′s 153°00′ row 5 : tarampa | tarampa airfield | military | 27°27′19′′s 152° row 6 : townsville | aitkenvale aerodrome | military | 19°18′45′′s 146° row 7 : townsville | bohle river aerodrome | military | 19°16′58′′s 146° row 8 : townsville | reid river airfield | military | 19°45′45′′s 146° ] Execute this SQL based on the above table: select count ( coordinates ) where type = 'military/public'
1
[ header: year | team | games | combined tackles | tackles | assisted tackles | sacks | forced fumbles | fumble recoveries | fumble return yards | interceptions | interception return yards | yards per interception return | longest interception return | interceptions returned for touchdown | passes defended row 1 : 2001 | cin | 15 | 53 | 41 | 12 | 8.5 | 0 | 0 | 0 | 2 | 28 | 14 | 21 | 0 | 5 row 2 : 2002 | cin | 16 | 59 | 47 | 12 | 6.5 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 row 3 : 2003 | cin | 16 | 60 | 41 | 19 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 row 4 : 2004 | cin | 16 | 70 | 41 | 29 | 8 | 2 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 2 row 5 : 2005 | cin | 16 | 65 | 45 | 20 | 6 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 row 6 : 2006 | cin | 16 | 81 | 50 | 31 | 7.5 | 1 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 3 row 7 : 2007 | cin | 16 | 78 | 49 | 29 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 row 8 : 2008 | sf | 16 | 73 | 50 | 23 | 7 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 row 9 : 2009 | sf | 16 | 55 | 40 | 15 | 6 | 2 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 row 10 : 2010 | sf | 16 | 70 | 57 | 13 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 row 11 : 2011 | sf | 16 | 58 | 45 | 13 | 7.5 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 row 12 : 2012 | sf | 14 | 66 | 47 | 19 | 3 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 row 13 : 2013 | sf | 16 | 49 | 32 | 17 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 row 14 : career | None | 205 | 837 | 585 | 252 | 82 | 15 | 9 | 0 | 3 | 28 | 9 | 21 | 0 | 29 ] Execute this SQL based on the above table: select count ( * ) where team = 'cin'
7
[ header: rank | lane | name | nationality | react | time | notes row 1 : 1 | 4 | yelizaveta bry | ukraine | 0.245 | 23.1 | q row 2 : 2 | 6 | myriam soumare | france | 0.179 | 23.22 | q row 3 : 3 | 3 | ksenija balta | estonia | 0.205 | 23.75 | q row 4 : 4 | 5 | niamh whelan | ireland | 0.253 | 23.78 | q row 5 : 5 | 7 | sabina veit | slovenia | 0.205 | 23.78 | None row 6 : 6 | 2 | elin backman | sweden | 0.217 | 24.13 | None ] Execute this SQL based on the above table: select nationality group by nationality order by sum ( lane ) desc limit 1
slovenia
[ header: parish est | church | city | current bldg begun | weekly collections | notes row 1 : 1846 | shrine of the immaculate conception | atlanta | 1869 | $10,000 | row 2 : 1880 | sacred heart basilica | atlanta | 1897 | $18,000 | row 3 : 1903 | saint anthony of padua cat | atlanta | 1911 | None | row 4 : 1912 | our lady of lourdes catholic church | atlanta | 1960 | None | row 5 : 1936 | cathedral of christ the king | atlanta | 1937 | $70,000 | row 6 : 1941 | saint thomas more catholic church | decatur | 1952 | $23,000 | row 7 : 1951 | our lady of the assumption catholic church | atlanta | 1957 | $16,000 | row 8 : 1954 | saint paul of the cross catholic church | atlanta | 1957 | None | row 9 : 1958 | immaculate heart of mary catholic church | atlanta | 2006 | $26,000 | row 10 : 1960 | saint jude the apostle catholic church | atlanta | 1962 | None | row 11 : 1960 | saint luke the evangelist | dahlonega | 1898 | $4,500 | row 12 : 1960 | most blessed sacrament catholic church | atlanta | 1989 | $4,000 | row 13 : 1964 | catholic church of the holy cross | atlanta | 1989 | None | row 14 : 1964 | holy spirit catholic church | atlanta | 1977 | None | row 15 : 1965 | our lady of perpetual help catholic church | carrollton | 1962 | $9,000 | row 16 : 1984 | christ our hope catholic church | lithonia | 2000 | None | row 17 : 1999 | saint francis de sales catholic church | mableton | 1999 | None | row 18 : 2000 | saint brigid catholic church | johns creek | 2002 | $50,000 | ] Execute this SQL based on the above table: select notes where church = 'sacred heart basilica'
@NULL@