inputs
stringlengths
291
3.71k
targets
stringlengths
1
2.65k
[ header: year | party affiliation | winner | number of votes | party affiliation | loser | number of votes | percentage of votes row 1 : 1920 | republican | william f. kopp | 38100 | democrat | e.w. mcmanus | 20977 | 64% - 36% row 2 : 1930 | republican | william f. kopp | 27053 | democrat | max a. conrad | 15538 | 63% - 36% row 3 : 1932 | democrat | edward c. eich | 55378 | republican | william f. kopp | 46738 | 54% - 46% row 4 : 1936 | democrat | edward c. eich | 55721 | republican | john n. calhoun | 53474 | 51% - 49% row 5 : 1938 | republican | thomas e. martin | 46636 | democrat | james p. gaffney | 33765 | 58% - 42% row 6 : 1940 | republican | thomas e. martin | 70120 | democrat | mrs. zoe | 46040 | 60% - 40% row 7 : 1946 | republican | thomas e. martin | 52488 | democrat | clair a. williams | 32849 | 62% - 38% row 8 : 1948 | republican | thomas e. martin | 70959 | democrat | james d. france | 60860 | 53% - 46% row 9 : 1950 | republican | thomas e. martin | 70058 | democrat | james d. france | 43140 | 62% - 38% row 10 : 1954 | republican | fred schwengel | 67128 | democrat | john o'connor | 50577 | 57% - 43% row 11 : 1960 | republican | fred schwengel | 104737 | democrat | walter j. guenther | 67287 | 61% - 39% row 12 : 1962 | republican | fred schwengel | 65975 | democrat | harold stephens | 42000 | 61% - 39% row 13 : 1964 | democrat | john r. schmidhauser | 84042 | republican | fred schwengel | 80697 | 51% - 49% row 14 : 1966 | republican | fred schwengel | 64795 | democrat | john r. schmidhauser | 60534 | 51% - 48% row 15 : 1968 | republican | fred schwengel | 91419 | democrat | john r. schmidhauser | 81049 | 53% - 47% row 16 : 1970 | republican | fred schwengel | 60270 | democrat | edward mezvinsky | 59505 | 50% - 49% row 17 : 1974 | democrat | edward mezvinsky | 75687 | republican | james a. leach | 63540 | 54% - 46% row 18 : 1978 | republican | james a. leach | 79940 | democrat | richard e. meyers | 45037 | 63% - 36% row 19 : 1982 | republican | james a. leach | 89595 | democrat | bill gluba | 61734 | 59% - 41% row 20 : 1984 | republican | james a. leach | 131182 | democrat | kevin ready | 65293 | 68% - 33% row 21 : 1986 | republican | james a. leach | 86834 | democrat | john r. whitaker | 43985 | 66% - 34% ] Execute this SQL based on the above table: select sum ( number of votes )
1074619.0
[ header: rank | county | per capita income | median household income | median family income | population | number of households row 1 : 1 | mccone | $32,205 | $42,998 | $52,636 | 1,734 | 774 row 2 : 3 | stillwater | $27,168 | $57,227 | $65,438 | 9,117 | 3,796 row 3 : 4 | richland | $26,888 | $52,516 | $60,236 | 9,746 | 4,167 row 4 : 5 | fallon | $26,819 | $52,529 | $64,500 | 2,890 | 1,233 row 5 : 6 | sheridan | $26,537 | $39,578 | $55,313 | 3,384 | 1,587 row 6 : 10 | carbon | $24,983 | $49,010 | $59,823 | 10,078 | 4,571 row 7 : 13 | park | $24,717 | $38,830 | $50,252 | 15,636 | 7,310 row 8 : 15 | missoula | $24,343 | $42,887 | $58,302 | 109,299 | 45,926 row 9 : 17 | phillips | $24,227 | $36,453 | $55,362 | 4,253 | 1,819 row 10 : None | montana | $23,836 | $43,872 | $55,725 | 989,415 | 409,607 row 11 : 21 | granite | $23,222 | $36,052 | $47,685 | 3,079 | 1,417 row 12 : 22 | cascade | $22,963 | $42,389 | $53,540 | 81,327 | 33,809 row 13 : 23 | sweet grass | $22,785 | $43,723 | $56,552 | 3,651 | 1,590 row 14 : 24 | wibaux | $22,579 | $40,417 | $51,354 | 1,017 | 457 row 15 : 29 | powder river | $21,543 | $37,685 | $50,156 | 1,743 | 755 row 16 : 30 | hill | $21,420 | $43,606 | $55,963 | 16,096 | 6,275 row 17 : 33 | beaverhead | $21,110 | $38,264 | $53,036 | 9,246 | 4,014 row 18 : 34 | petroleum | $21,008 | $36,875 | $39,107 | 494 | 225 row 19 : 36 | musselshell | $20,875 | $37,033 | $47,860 | 4,538 | 2,046 row 20 : 38 | teton | $20,509 | $39,516 | $49,102 | 6,073 | 2,450 row 21 : 39 | toole | $20,464 | $42,949 | $54,722 | 5,324 | 2,015 row 22 : 40 | chouteau | $20,202 | $41,064 | $50,201 | 5,813 | 2,294 row 23 : 42 | rosebud | $19,844 | $44,776 | $56,282 | 9,233 | 3,395 row 24 : 43 | lincoln | $19,626 | $30,823 | $39,600 | 19,687 | 8,843 row 25 : 47 | liberty | $19,097 | $40,212 | $44,957 | 2,339 | 822 row 26 : 48 | pondera | $18,989 | $36,419 | $47,656 | 6,153 | 2,285 row 27 : 50 | sanders | $18,472 | $30,622 | $37,514 | 11,413 | 5,121 row 28 : 51 | powell | $17,849 | $39,851 | $45,339 | 7,027 | 2,466 row 29 : 52 | roosevelt | $17,821 | $37,451 | $50,146 | 10,425 | 3,553 row 30 : 55 | blaine | $16,813 | $37,034 | $40,890 | 6,491 | 2,357 ] Execute this SQL based on the above table: select median household income where county = 'hill'
43606.0
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | russia | 6 | 3 | 7 | 16 row 2 : 2 | united states | 5 | 0 | 4 | 9 row 3 : 3 | japan | 3 | 4 | 1 | 8 row 4 : 4 | france | 3 | 1 | 1 | 5 row 5 : 5 | ukraine | 2 | 0 | 2 | 4 row 6 : 6 | turkey | 2 | 0 | 1 | 3 row 7 : 7 | sweden | 2 | 0 | 0 | 2 row 8 : 8 | iran | 1 | 2 | 1 | 4 row 9 : 9 | armenia | 1 | 1 | 2 | 4 row 10 : 10 | china | 1 | 1 | 1 | 3 row 11 : 11 | austria | 1 | 0 | 0 | 1 row 12 : 11 | bulgaria | 1 | 0 | 0 | 1 row 13 : 11 | south korea | 1 | 0 | 0 | 1 row 14 : 14 | germany | 0 | 3 | 4 | 7 row 15 : 15 | kazakhstan | 0 | 3 | 0 | 3 row 16 : 16 | cuba | 0 | 2 | 3 | 5 row 17 : 17 | norway | 0 | 2 | 0 | 2 row 18 : 18 | venezuela | 0 | 1 | 1 | 2 row 19 : 19 | canada | 0 | 1 | 0 | 1 row 20 : 19 | hungary | 0 | 1 | 0 | 1 row 21 : 19 | israel | 0 | 1 | 0 | 1 row 22 : 19 | moldova | 0 | 1 | 0 | 1 row 23 : 19 | poland | 0 | 1 | 0 | 1 row 24 : 19 | romania | 0 | 1 | 0 | 1 row 25 : 25 | uzbekistan | 0 | 0 | 1 | 1 row 26 : total | total | 29 | 29 | 29 | 87 ] Execute this SQL based on the above table: select ( select nation where gold = 2 ) < 1688
0
[ header: | name | took office | left office | party | notes/events row 1 : 4 | uriah forrest | march 4, 1793 | november 8, 1794 | pro-administration | resigned row 2 : 7 | william craik | december 5, 1796 | march 3, 1801 | federalist | None row 3 : 10 | philip barton key | march 4, 1807 | march 3, 1813 | federalist | None row 4 : 11 | alexander contee hanson | march 4, 1813 | 1816 | federalist | resigned row 5 : 12 | george peter | october 7, 1816 | march 3, 1819 | federalist | None row 6 : 13 | henry ridgely warfield | march 4, 1819 | march 3, 1823 | federalist | None row 7 : 13 | henry ridgely warfield | march 4, 1823 | march 3, 1825 | adams federalist | None row 8 : 15 | george corbin washington | march 4, 1827 | march 3, 1829 | adams | None row 9 : 15 | george corbin washington | march 4, 1829 | march 3, 1833 | anti-jacksonian | None row 10 : 17 | james turner | march 4, 1833 | march 3, 1837 | jacksonian | None row 11 : 18 | john tolley hood worthington | march 4, 1837 | march 3, 1841 | democratic | None row 12 : 19 | james wray williams | march 4, 1841 | december 2, 1842 | democratic | died row 13 : 21 | john wethered | march 4, 1843 | march 3, 1845 | whig | None row 14 : 27 | henry winter davis | march 4, 1863 | march 3, 1865 | unconditional unionist | None row 15 : 29 | thomas swann | march 4, 1869 | march 3, 1873 | democratic | redistricted to the 4th district row 16 : 30 | william james o'bri | march 4, 1873 | march 3, 1877 | democratic | None row 17 : 31 | william kimmel | march 4, 1877 | march 3, 1881 | democratic | None row 18 : 32 | fetter schrier hoblitzell | march 4, 1881 | march 3, 1885 | democratic | None row 19 : 36 | frank charles wachter | march 4, 1899 | march 3, 1907 | democratic | None row 20 : 37 | harry benjamin wolf | march 4, 1907 | march 3, 1909 | democratic | None row 21 : 39 | george konig | march 4, 1911 | may 31, 1913 | democratic | died row 22 : 40 | charles pearce coady | november 4, 1913 | march 3, 1921 | democratic | None row 23 : 41 | john boynton philip clayton | march 4, 1921 | march 3, 1927 | republican | None row 24 : 43 | thomas d'alesandro | january 3, 1939 | may 16, 1947 | democratic | resigned to become mayor of balti row 25 : 44 | edward garmatz | july 15, 1947 | january 3, 1973 | democratic | None row 26 : 45 | paul sarbanes | january 3, 1973 | january 3, 1977 | democratic | redistricted from the 4th district row 27 : 46 | barbara mikulski | january 3, 1977 | january 3, 1987 | democratic | None row 28 : 47 | benjamin cardin | january 3, 1987 | january 3, 2007 | democratic | None ] Execute this SQL based on the above table: select group by order by sum ( took office ) limit 1
4.0
[ header: # | name | position | birthday | size | weight | last team row 1 : 4 | tom lipke | guard/ forward | 12.04.1986 | 1,96 m | 98 kg | bremen roosters row 2 : 5 | muamer taletovic | guard | 02.04.1976 | 1,87 m | 90 kg | hertener lowen row 3 : 6 | david watson | guard | 16.09.1988 | 1,84 m | 78 kg | ssc karlsru row 4 : 7 | brandon gary | forward | 26.01.1983 | 2,03 m | 100 kg | iserlohn kangaroos row 5 : 8 | theodis tarver | center | 09.07.1984 | 2,06 m | 110 kg | bremen roosters row 6 : 9 | stefan svitek | forward | 25.05.1977 | 2,03 m | 108 kg | chemosvit svit row 7 : 10 | michael baumer | guard | 08.08.1990 | 1,80 m | 68 kg | bg karlsruhe row 8 : 11 | clifford crawford | guard | 07.01.1981 | 1,92 m | 98 kg | bremen roosters row 9 : 12 | max roser | guard/ forward | 31.07.1988 | 1,94 m | 87 kg | sg bad durkheim/spe row 10 : 13 | edward seward | center | 20.10.1978 | 2,06 m | 110 kg | aschersleben tiger row 11 : 14 | julius parrisius | guard | 01.08.1985 | 1,85 m | 85 kg | union shops rastatt row 12 : 15 | leo niebuhr | forward | 04.08.1986 | 2,06 m | 88 kg | sg braunschweig row 13 : 16 | alexander rueck | guard | 24.03.1984 | 1,89 m | 85 kg | union shops rastatt row 14 : 17 | matthias hurst | forward/ center | 06.10.1989 | 2,04 m | 86 kg | bg karlsruhe ] Execute this SQL based on the above table: select ( select count ( * ) where name = 'david watson' ) - ( select count ( * ) where name = 'michael baumer' )
0
[ header: week | opponent | result | game site | tv | time | attendance | bye row 1 : 1 | at denver broncos | l 3-19 | mile high stadium | nbc | 4:15pm | 75600 | row 2 : 2 | at oakland raiders | w 28-27 | network associates coliseum | abc | 9:00pm | 61523 | row 3 : 3 | buffalo bills | w 22-16 | arrowhead stadium | nbc | 1:00pm | 78169 | row 4 : 4 | at carolina panthers | w 35-14 | bank of america stadium | nbc | 1:00pm | 67402 | row 5 : 5 | seattle seahawks | w 20-17 ot | arrowhead stadium | nbc | 4:15pm | 77877 | row 6 : 6 | at miami dolphins | l 14-17 | pro player stadium | nbc | 1:00pm | 71794 | row 7 : 7 | None | None | None | None | None | None | row 8 : 8 | san diego chargers | w 31-3 | arrowhead stadium | tnt | 8:00pm | 77195 | row 9 : 9 | at st. louis rams | w 28-20 | edward jones dome | nbc | 1:00pm | 64864 | row 10 : 10 | pittsburgh steelers | w 13-10 | arrowhead stadium | abc | 9:00pm | 78301 | row 11 : 11 | at jacksonville jaguars | l 14-24 | alltel stadium | nbc | 1:00pm | 70444 | row 12 : 12 | denver broncos | w 24-22 | arrowhead stadium | nbc | 1:00pm | 77963 | row 13 : 13 | at seattle seahawks | w 19-14 | kingdome | nbc | 4:15pm | 66264 | row 14 : 14 | san francisco 49ers | w 44-9 | arrowhead stadium | fox | 1:00pm | 77535 | row 15 : 15 | oakland raiders | w 30-0 | arrowhead stadium | nbc | 1:00pm | 76379 | row 16 : 16 | at san diego chargers | w 29-7 | qualcomm stadium | nbc | 4:15pm | 54594 | row 17 : 17 | new orleans saints | w 25-13 | arrowhead stadium | fox | 1:00pm | 66772 | row 18 : divisional playoff | denver broncos | l 10-14 | arrowhead stadium | nbc | 4:15pm | 76965 | ] Execute this SQL based on the above table: select max ( attendance ) - min ( attendance )
23707.0
[ header: single/ep | release date | label | format(s) | uk singles chart position | notes row 1 : "hundredweight" | 19 february 2001 | fierce panda records | cd, 7" | None | accompanied by b-sides: " row 2 : "try not to think" | 11 march 2002 | jive records | cd, 7" | None | accompanied by b-sides: " row 3 : "bleach" | 20 may 2002 | jive records | cd, 7" | 67 | accompanied by b-sides: " row 4 : "you & me" | 9 september 2002 | jive records | 2xcd, 7" | 57 | accompanied by b-sides: " row 5 : "junkies" | 27 january 2003 | jive records | 2xcd, 7" | 40 | accompanied by b-sides: " row 6 : "2nd amendment" | 6 october 2003 | jive records | 2xcd, 7" | 42 | accompanied by b-sides: " row 7 : "'til the day" | 19 january 2004 | jive records | 2xcd, 7" | 27 | accompanied by b-sides "stra row 8 : "how did it ever come to this?" | 30 august 2004 | zomba / bmg | 2xcd, 7" | 50 | accompanied by b-sides: " ] Execute this SQL based on the above table: select single/ep order by uk singles chart position limit 173
"hundredweight", "try not to think", "'til the day", "junkies", "2nd amendment", "how did it ever come to this?", "you & me", "bleach"
[ header: number | event | type | matthew | mark | luke | john row 1 : 1 | pre-existence of christ | miscellaneous | None | None | None | john 01:01-18 row 2 : 3 | birth of john the baptist | nativity | None | None | luke 01:05-25 | None row 3 : 9 | circumcision of jesus | nativity | None | None | luke 02:21 | None row 4 : 10 | infant jesus at the temple | nativity | None | None | luke 02:22-38 | None row 5 : 14 | massacre of the innocents | nativity | matthew 02:16-18 | None | None | None row 6 : 18 | john the baptist | miscellaneous | None | mark 01:01-08 | None | None row 7 : 22 | marriage at cana | miracle | None | None | None | john 02:01-11 row 8 : 31 | beatitudes | sermon | matthew 05:02-12 | None | luke 06:20-23 | None row 9 : 35 | expounding of the law | sermon | matthew 05:17-48 | None | luke 06:29-42 | None row 10 : 43 | samaritan woman at the well | ministry | None | None | None | john 04:04-26 row 11 : 52 | exorcising at sunset | miracle | matthew 08:16-17 | mark 01:32-34 | luke 04:40-41 | None row 12 : 62 | commissioning the twelve apostles | ministry | matthew 10:02-04 | mark 03:13-19 | luke 06:12-16 | None row 13 : 64 | messengers from john the baptist | ministry | matthew 11:02-06 | None | luke 07:18-23 | None row 14 : 68 | the lord's prayer | ministry | None | None | luke 11:02-04 | None row 15 : 72 | jesus' true relatives | ministry | matthew 12:46-50 | mark 03:31-35 | luke 08:19-21 | None row 16 : 78 | parable of the mustard seed | parable | matthew 13:31-32 | mark 04:30-32 | luke 13:18-19 | None row 17 : 79 | the leaven | parable | matthew 13:33-33 | None | luke 13:20-21 | None row 18 : 89 | canaanite woman's daughter | miracle | matthew 15:21-28 | mark 07:24-30 | None | None row 19 : 90 | deaf mute of decapolis | miracle | None | mark 07:31-37 | None | None row 20 : 95 | boy possessed by a demon | miracle | matthew 17:14-21 | mark 09:14-29 | luke 09:37-49 | None row 21 : 96 | coin in the fish's mouth | miracle | matthew 17:24-27 | None | None | None row 22 : 99 | man with dropsy | miracle | None | None | luke 14:01-06 | None row 23 : 100 | counting the cost | parable | None | None | luke 14:25-33 | None row 24 : 101 | the lost sheep | parable | matthew 18:10-14 | None | luke 15:04-06 | None row 25 : 108 | the master and servant | parable | None | None | luke 17:07-10 | None row 26 : 109 | cleansing ten lepers | miracle | None | None | luke 17:11-19 | None row 27 : 112 | jesus and the rich young man | ministry | matthew 19:16-30 | mark 10:17-31 | luke 18:18-30 | None ] Execute this SQL based on the above table: select event where event != 'john the baptist' and type = ( select type where event = 'john the baptist' )
pre-existence of christ
[ header: rank | bib | athlete | country | time | deficit | note row 1 : 8 | 37 | laure barthelemy | france | 3:08.53 | 4.64 | q row 2 : 10 | 27 | magda genuin | italy | 3:09.91 | 6.02 | q row 3 : 11 | 16 | arianna follis | italy | 3:10.41 | 6.52 | q row 4 : 12 | 24 | celine brun-lie | norway | 3:10.45 | 6.56 | q row 5 : 21 | 40 | riikka sarasoja | finland | 3:13.49 | 9.6 | q row 6 : 24 | 9 | perianne jones | canada | 3:13.95 | 10.06 | q row 7 : 26 | 21 | anastasia dotsenko | russia | 3:15.03 | 11.14 | q row 8 : 27 | 33 | daria gaiazova | canada | 3:15.10 | 11.21 | q row 9 : 29 | 7 | jessica diggins | united states | 3:15.24 | 11.35 | q row 10 : 32 | 38 | natalya korostelyova | russia | 3:15.83 | 11.94 | None row 11 : 37 | 26 | madoka natsumi | japan | 3:17.89 | 14 | None row 12 : 38 | 28 | pirjo muranen | finland | 3:18.21 | 14.32 | None row 13 : 39 | 54 | elena soboleva | russia | 3:19.55 | 15.66 | None row 14 : 40 | 11 | elena kolomina | kazakhstan | 3:20.17 | 16.28 | None row 15 : 53 | 59 | rosamund musgrave | united kingdom | 3:26.34 | 22.45 | None row 16 : 54 | 1 | anastasia slonova | kazakhstan | 3:26.51 | 22.62 | None row 17 : 56 | 4 | piret pormeister | estonia | 3:27.34 | 23.45 | None row 18 : 57 | 64 | maryna antsybor | ukraine | 3:28.17 | 24.28 | None row 19 : 62 | 63 | monika gyorgy | romania | 3:32.20 | 28.31 | None row 20 : 63 | 71 | niviaq chemnitz | denmark | 3:32.56 | 28.67 | None row 21 : 67 | 67 | zoya zaviediei | ukraine | 3:38.21 | 31.32 | None row 22 : 74 | 86 | irina khodiakov | kyrgyzstan | 3:52.24 | 48.35 | None row 23 : 78 | 77 | agnes simon | hungary | 4:04.44 | +1:00.55 | None row 24 : 82 | 73 | syuzanna varosyan | armenia | 4:25.77 | +1:21.88 | None row 25 : 84 | 76 | valya varosyan | armenia | 4:30.74 | +1:26.85 | None row 26 : 85 | 80 | zane eglite | latvia | 4:37.37 | +1:33.48 | None row 27 : None | 61 | brooke gosling | canada | dns | None | None ] Execute this SQL based on the above table: select country where country in ( 'armenia' , 'ukraine' ) order by bib limit 1
ukraine
[ header: no. | air date | network | household rating | viewers (millions) row 1 : 18th | june 27, 1991 | cbs | 13.5 | 18.9 row 2 : 19th | june 23, 1992 | nbc | 15.3 | 20.2 row 3 : 20th | may 26, 1993 | abc | 16.4 | 22 row 4 : 21st | may 25, 1994 | abc | 14.1 | 18.9 row 5 : 22nd | may 19, 1995 | nbc | 10.2 | 13.7 row 6 : 23rd | may 22, 1996 | cbs | 11.4 | 15.1 row 7 : 24th | may 21, 1997 | abc | 11.8 | 15.9 row 8 : 25th | may 15, 1998 | nbc | 10.2 | 13 row 9 : 26th | may 21, 1999 | cbs | 10.4 | 14.2 row 10 : 27th | may 19, 2000 | abc | 9.1 | 13 row 11 : 28th | may 18, 2001 | nbc | 7.9 | 10.3 row 12 : 29th | may 17, 2002 | cbs | 6.9 | 10.1 row 13 : 30th | may 16, 2003 | abc | 6.3 | 8.6 row 14 : 31st | may 21, 2004 | nbc | 6 | 8.4 row 15 : 32nd | may 20, 2005 | cbs | 5.5 | 7.6 row 16 : 33rd | april 28, 2006 | abc | 4.5 | 6.1 row 17 : 34th | june 15, 2007 | cbs | 5.9 | 8.3 row 18 : 35th | june 20, 2008 | abc | 4 | 5.4 row 19 : 36th | august 30, 2009 | cw | 2 | 2.7 row 20 : 37th | june 27, 2010 | cbs | 3.8 | 5.6 row 21 : 38th | june 19, 2011 | cbs | 3.7 | 5.5 row 22 : 39th | june 23, 2012 | hln | None | 2 (5 broadcasts) ] Execute this SQL based on the above table: select count ( network ) where household rating = '5.5'
1
[ header: date | opponent# | rank# | site | result | attendance row 1 : september 1 | delta state | None | m.m. roberts | w 12-0 | 17590 row 2 : september 8 | at #13 alabama | None | legion field • birmingham, al | w 27-24 | 75962 row 3 : september 15 | at georgia | None | sanford stadium • athens, | l 17-18 | 79812 row 4 : september 22 | at mississippi state | None | scott field • starkville, m | l 10-13 | 40115 row 5 : september 29 | louisville | None | m.m. roberts | w 25-13 | 20545 row 6 : october 6 | at east carolina | None | ficklen memorial stadium • greenville, | w 16-7 | 31305 row 7 : october 13 | at tulane | None | louisiana superdome • new orle | w 20-14 | 26662 row 8 : october 20 | memphis state | None | m.m. roberts | w 23-7 | 24520 row 9 : october 27 | at virginia tech | None | lane stadium • blacksburg, va | l 16-20 | 37462 row 10 : november 3 | at sw louisiana | None | cajun field • lafayette, | w 14-13 | 17860 row 11 : november 10 | at #15 auburn | None | jordan-hare stadium • auburn | w 13-12 | 85214 row 12 : december 28 | vs. nc state | #23 | legion field • birmingham, al | l 27-31 | 44000 ] Execute this SQL based on the above table: select count ( site ) where rank# = 'None'
0
[ header: athlete | nation | olympics | gold | silver | bronze | total row 1 : philipp schoch | switzerland (sui) | 2002-2006 | 2 | 0 | 0 | 2 row 2 : shaun white | united states (usa) | 2006-2014 | 2 | 0 | 0 | 2 row 3 : seth wescott | united states (usa) | 2006-2010 | 2 | 0 | 0 | 2 row 4 : karine ruby | france (fra) | 1998-2002 | 1 | 1 | 0 | 2 row 5 : hannah teter | united states (usa) | 2006-2014 | 1 | 1 | 0 | 2 row 6 : ross powers | united states (usa) | 1998-2002 | 1 | 0 | 1 | 2 row 7 : kelly clark | united states (usa) | 2002-2014 | 1 | 0 | 2 | 3 row 8 : danny kass | united states (usa) | 2002-2006 | 0 | 2 | 0 | 2 ] Execute this SQL based on the above table: select total where athlete = 'ross powers'
2.0
[ header: 0 | polo row 1 : 1 | əsad row 2 : 2 | darwa row 3 : 3 | tolo row 4 : 4 | əpat row 5 : 5 | lima row 6 : 7 | pito row 7 : 8 | walo row 8 : 9 | siyam row 9 : 12 | samdarwa row 10 : 14 | sampat row 11 : 15 | samlima row 12 : 17 | sampito row 13 : 18 | samwalo row 14 : 20 | darwampolo row 15 : 21 | darwamsad row 16 : 22 | darwamdarwa row 17 : 23 | darwamtolo row 18 : 24 | darwampat row 19 : 25 | darwamlima row 20 : 26 | darwamnəm row 21 : 27 | darwampito row 22 : 28 | darwamwalo row 23 : 29 | darwamsiyam row 24 : 30 | tolompolo row 25 : 31 | tolomsad row 26 : 32 | tolomdarwa row 27 : 33 | tolomtolo row 28 : 34 | tolompat row 29 : 35 | tolomlima row 30 : 36 | tolomnəm row 31 : 37 | tolompito row 32 : 38 | tolomwalo row 33 : 39 | tolomsiyam row 34 : 40 | pampolo row 35 : 41 | pamsad row 36 : 42 | pamdarwa row 37 : 45 | pamlima row 38 : 47 | pampito row 39 : 48 | pamwalo row 40 : 49 | pamsiyam row 41 : 50 | limampolo row 42 : 51 | limamsad row 43 : 52 | limamdarwa row 44 : 55 | limamlima row 45 : 56 | limamnəm row 46 : 57 | limampito row 47 : 58 | limamwalo row 48 : 59 | limamsiyam row 49 : 60 | nəmpolo row 50 : 61 | nəmsad row 51 : 62 | nəmdarwa row 52 : 63 | nəmtolo row 53 : 65 | nəmlima row 54 : 66 | nəmnəm row 55 : 68 | nəmwalo row 56 : 69 | nəmsiyam row 57 : 70 | pitompolo row 58 : 71 | pitomsad row 59 : 72 | pitomdarwa row 60 : 73 | pitomtolo row 61 : 74 | pitompat row 62 : 75 | pitomlima row 63 : 76 | pitomnəm row 64 : 79 | pitomsiyam row 65 : 80 | walompolo row 66 : 81 | walomsad row 67 : 82 | walomdarwa row 68 : 84 | walompat row 69 : 85 | walomlima row 70 : 86 | walomnəm row 71 : 87 | walompito row 72 : 88 | walomwalo row 73 : 89 | walomsiyam row 74 : 90 | yampolo row 75 : 91 | yamsad row 76 : 92 | yamdarwa row 77 : 93 | yamtolo row 78 : 94 | yampat row 79 : 95 | yamlima row 80 : 97 | yampito ] Execute this SQL based on the above table: select polo where 0 = 15
samlima
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | september 29, 2006 | lionel roberts park | bermuda | 1-3 | 1-3 | 2007 caribbean cup qualifier row 2 : 2 | october 1, 2006 | lionel roberts park | u.s. virgin islands | 2-1 | 6-1 | 2007 caribbean cup qualifier row 3 : 3 | october 1, 2006 | lionel roberts park | u.s. virgin islands | 3-1 | 6-1 | 2007 caribbean cup qualifier row 4 : 4 | october 1, 2006 | lionel roberts park | u.s. virgin islands | 4-1 | 6-1 | 2007 caribbean cup qualifier row 5 : 5 | october 1, 2006 | lionel roberts park | u.s. virgin islands | 5-1 | 6-1 | 2007 caribbean cup qualifier row 6 : 6 | july 8, 2011 | estadio panamericano, | anguilla | 2-0 | 2-0 | 2014 fifa world cup qualifier row 7 : 7 | july 10, 2011 | estadio panamericano, | anguilla | 4-0 | 4-0 | 2014 fifa world cup qualifier row 8 : 8 | october 11, 2011 | andre kamperveen stadion | suriname | 1-0 | 3-1 | 2014 fifa world cup qualifier row 9 : 9 | september 27, 2012 | kensington oval, bridgetown | dominica | 1-1 | 2-1 | 2012 caribbean cup qualifier row 10 : 10 | september 27, 2012 | kensington oval, bridgetown | dominica | 2-1 | 2-1 | 2012 caribbean cup qualifier row 11 : 11 | october 23, 2012 | stade rene serge naba | guadeloupe | 1-0 | 2-0 | 2012 caribbean cup qualifier row 12 : 12 | october 23, 2012 | stade rene serge naba | guadeloupe | 2-0 | 2-0 | 2012 caribbean cup qualifier row 13 : 13 | october 27, 2012 | stade rene serge naba | puerto rico | 1-0 | 3-1 | 2012 caribbean cup qualifier row 14 : 14 | october 27, 2012 | stade rene serge naba | puerto rico | 2-0 | 3-1 | 2012 caribbean cup qualifier row 15 : 15 | december 7, 2012 | antigua recreation ground, st. | antigua and barbuda | 2-1 | 2-1 | 2012 caribbean cup row 16 : 16 | march 24, 2013 | estadio panamericano, | haiti | 2-0 | 3-1 | friendly ] Execute this SQL based on the above table: select date where # < ( select # where date = 'july 8, 2011' ) order by # desc limit 1
october 1, 2006
[ header: district | senator | party | caucus | first elected | counties represented row 1 : 1 | kenneth p. lavalle | republican | republican | 1976 | suffolk row 2 : 3 | lee zeldin | republican | republican | 2010 | suffolk row 3 : 8 | vacant | None | None | None | nassau, suffo row 4 : 10 | james sanders, j | democratic | democratic | 2012 | queens row 5 : 11 | tony avella | democratic | democratic | 2010 | queens row 6 : 13 | jose peralta | democratic | democratic | 2010 | queens row 7 : 14 | malcolm smith | democratic | no caucus | 2000 | queens row 8 : 15 | joseph addabbo, j | democratic | democratic | 2008 | queens row 9 : 16 | toby ann stavisky | democratic | democratic | 1999 | queens row 10 : 17 | simcha felder | democratic | republican | 2012 | brooklyn row 11 : 20 | vacant | None | None | None | brooklyn row 12 : 24 | andrew j. lanza | republican | republican | 2006 | staten island row 13 : 25 | velmanette montgomery | democratic | democratic | 1984 | brooklyn row 14 : 26 | daniel squadron | democratic | democratic | 2008 | brooklyn, manhattan row 15 : 27 | brad hoylman | democratic | democratic | 2012 | manhattan row 16 : 28 | liz krueger | democratic | democratic | 2002 | manhattan row 17 : 29 | jose m. serrano | democratic | democratic | 2004 | manhattan, the bronx row 18 : 31 | adriano espaillat | democratic | democratic | 2010 | manhattan row 19 : 32 | ruben diaz, sr | democratic | democratic | 2002 | the bronx row 20 : 33 | gustavo rivera | democratic | democratic | 2010 | the bronx row 21 : 35 | andrea stewart-cousins | democratic | democratic | 2006 | westchester row 22 : 37 | george s. latimer | democratic | democratic | 2012 | westchester row 23 : 40 | gregory r. ball | republican | republican | 2010 | dutchess, putnam, westchester row 24 : 41 | terry w. gipson | democratic | democratic | 2012 | dutchess, putnam row 25 : 42 | john bonacic | republican | republican | 1998 | delaware, orange, sulliv row 26 : 45 | betty little | republican | republican | 2002 | clinton, essex, fran row 27 : 46 | cecilia tkaczyk | democratic | democratic | 2012 | albany, greene, montgomery row 28 : 47 | joseph griffo | republican | republican | 2006 | lewis, oneida, saint row 29 : 48 | patty ritchie | republican | republican | 2010 | jefferson, oswego, row 30 : 50 | john defrancisco | republican | republican | 1992 | cayuga, onondaga row 31 : 51 | james seward | republican | republican | 1986 | cayuga, chenango, cort row 32 : 52 | thomas w. libous | republican | republican | 1988 | broome, chenango, delaware ] Execute this SQL based on the above table: select district - district where counties represented = 'brooklyn'
0.0, 0.0, 0.0
[ header: year | winner | runner-up | final score | third row 1 : 1992 | budivelnyk | nki mykolaiv | round-robin | spartak lugansk row 2 : 1993 | budivelnyk | ska kyiv | round-robin | nki mykolaiv row 3 : 1994 | budivelnyk | kyiv-basket | 3-0 | bipa-moda odesa row 4 : 1995 | budivelnyk | kyiv-basket | 3-0 | shakhtar-asko donetsk row 5 : 1996 | budivelnyk | shakhtar donetsk | round-robin | kyiv-basket row 6 : 1997 | budivelnyk | bipa-moda odesa | 3-2 | kyiv-basket row 7 : 1998 | bipa-moda odesa | budivelnyk | 3-0 | sc mykolaiv row 8 : 1999 | bipa-moda odesa | cska-riko kyiv | 3-2 | budivelnyk row 9 : 2000 | kyiv | mbc odesa | 3-2 | cska-ukrtatna row 10 : 2001 | mbc odesa | kyiv | 3-2 | azovmash row 11 : 2002 | mbc odesa | kyiv | 3-2 | azovmash row 12 : 2003 | azovmash | mbc odesa | 4-0 | kyiv row 13 : 2004 | azovmash | kyiv | 4-2 | mbc odesa row 14 : 2005 | kyiv | azovmash | 3-0 | khimik row 15 : 2006 | azovmash | kyiv | 3-1 | khimik row 16 : 2007 | azovmash | kyiv | 3-2 | khimik row 17 : 2008 | azovmash | kyiv | 3-1 | khimik row 18 : 2009 | azovmash | donetsk | 3-0 | khimik row 19 : 2010 | azovmash | budivelnyk | 3-2 | ferro-zntu row 20 : 2011 | budivelnyk | donetsk | 4-3 | hoverla row 21 : 2012 | donetsk | azovmash | 4-0 | ferro-zntu row 22 : 2013 | budivelnyk | azovmash | 4-3 | ferro-zntu ] Execute this SQL based on the above table: select year where third = 'khimik' and year = 2008
2008
[ header: match | team | result points | match status | opposition strength | regional strength | ranking points row 1 : amplistan vs. bestrudi | amplistan bestrudia | 0 3 | 1.0 1.0 | 0.50 1.98 | 0.94 0.94 | 0 558 row 2 : amplistan vs. bestrudi | amplistan bestrudia | 1 1 | 1.0 1.0 | 0.50 1.98 | 0.94 0.94 | 47 186 row 3 : amplistan vs. bestrudi | amplistan bestrudia | 3 0 | 4.0 4.0 | 0.50 1.98 | 0.94 0.94 | 564 0 row 4 : amplistan vs. bestrudi | amplistan bestrudia | 1 2 | 4.0 4.0 | 0.50 1.98 | 0.94 0.94 | 188 1488 row 5 : amplistan vs. conesto | amplistan conesto | 0 3 | 1.0 1.0 | 1.61 1.98 | 0.99 0.99 | 0 588 row 6 : conesto vs. delphi | conesto delphiz | 3 0 | 2.5 2.5 | 1.70 1.61 | 0.96 0.96 | 1224 0 row 7 : conesto vs. delphi | conesto delphiz | 0 3 | 2.5 2.5 | 1.70 1.61 | 0.96 0.96 | 0 1159 row 8 : conesto vs. amplistan | conesto amplistan | 1 2 | 4.0 4.0 | 1.98 1.61 | 0.99 0.99 | 784 1275 ] Execute this SQL based on the above table: select max ( match status )
4.0
[ header: name | age | hometown | occupation | culinary p.o.v. | eliminated row 1 : damaris phillips | 31 | louisville, ky | culinary teacher | "modern southern food" | winner row 2 : rodney henry | 47 | baltimore, md | pie shop owner | "pie style" | second place row 3 : russell jackson | 49 | san francisco, ca | underground chef | "seven culinary sins" | third place row 4 : stacey poon-kinney | 34 | san diego, ca | restaurant owner | "vintage with a modern twist" | week 10 row 5 : nikki dinki | 29 | new york, ny | food blogger/online host | "semi-vegetarian" | week 9 row 6 : chad rosenthal | 37 | ambler, pa | restaurant owner | "jewish bbq guy" | week 7 row 7 : chris hodgson | 26 | cleveland, oh | chef/restaurateur | "compassion for food" | week 6 row 8 : viet pham | 33 | salt lake city, ut | chef/restaurant owner | "the american dream" | week 5 row 9 : connie "lovely" jackson | 27 | los angeles, ca | caterer | "party on a plate" | week 4 & week 8(winner of row 10 : danushka lysek | 37 | new york, ny | private chef/model | "your private chef" | week 3 row 11 : andres guillama | 26 | waynesville, nc | childhood obesity prevention coach | "teaching men to cook" | week 2 row 12 : daniela perez-reyes | 28 | haleiwa, hi | bartender/caterer | "peruvian princess" | week 1 ] Execute this SQL based on the above table: select culinary p.o.v. where age = ( select age where culinary p.o.v. = '"party on a plate"' ) + 1
"peruvian princess"
[ header: pos. | artist | single | year | sales | peak row 1 : 1 | daniel lavoie, pat | "belle" | 1998 | 2,221,000 | 1 row 2 : 4 | wes | "alane" | 1997 | 1,418,000 | 1 row 3 : 10 | celine dion | "the reason" / "my heart will | 1998 | 1,197,000 | 1 row 4 : 16 | celine dion | "pour que tu m'aime | 1995 | 955,000 | 1 row 5 : 19 | andrea bocelli & helene | "vivo per lei (je vis pour | 1998 | 874,000 | 1 row 6 : 20 | zebda | "tomber la chemise" | 1999 | 868,000 | 1 row 7 : 22 | khaled | "aicha" | 1996 | 824,000 | 1 row 8 : 24 | david hallyday | "tu ne m'a | 1999 | 801,000 | 1 row 9 : 25 | will smith | "men in black" | 1997 | 783,000 | 1 row 10 : 32 | brandy & monica | "the boy is mine" | 1998 | 662,000 | 2 row 11 : 35 | tina arena | "aller plus haut" | 1999 | 617,000 | 2 row 12 : 39 | eiffel 65 | "move your body" | 1999 | 589,000 | 1 row 13 : 40 | britney spears | "... baby one more time" | 1999 | 578,000 | 1 row 14 : 54 | hanson | "mmmbop" | 1997 | 490,000 | 4 row 15 : 59 | regg'lyss | "mets de l'huile" | 1993 | 476,000 | 1 row 16 : 60 | janet jackson | "together again" | 1998 | 475,000 | 2 row 17 : 61 | modern talking | "you're my heart, you're | 1998 | 475,000 | 3 row 18 : 64 | lara fabian | "je t'aime" | 1997 | 471,000 | 6 row 19 : 65 | madonna | "frozen" | 1998 | 469,000 | 2 row 20 : 66 | francois feldman | "joy" | 1991 | 468,000 | 1 row 21 : 67 | patrick bruel | "qui a le droit... (live) | 1991 | 466,000 | 1 row 22 : 68 | youssou n'dour | "7 seconds" | 1994 | 465,000 | 1 row 23 : 73 | freddie mercury | "living on my own 1993" | 1993 | 426,000 | 1 row 24 : 81 | g.o. culture | "darla_dirladada" | 1993 | 397,000 | 1 row 25 : 82 | spice girls | "spice up your life" | 1997 | 397,000 | 3 row 26 : 85 | jean-philippe audin & | "song of ocarina" | 1991 | 379,000 | 1 row 27 : 86 | boris | "soiree disco" | 1996 | 376,000 | 1 row 28 : 89 | celine dion | "un garcon pas comme les autres (zi | 1993 | 365,000 | 2 row 29 : 90 | liane foly | "la vie ne m'apprend | 1999 | 364,000 | 3 row 30 : 91 | fool's garden | "lemon tree" | 1996 | 362,000 | 3 ] Execute this SQL based on the above table: select peak where peak in ( 1 , 1 ) order by year desc limit 1
1
[ header: year | company | number of members affected | duration of strike | notes row 1 : 1955 | southern bell telephone co | 50000 | 72 days | strike was in answer to management's effort to row 2 : 1968 | at&t | 200000 | 18 days | wage increases to compensate for cost of living, and row 3 : 1971 | bell system | 400000 | 1 week | cost of living allowance (cola) won for workers row 4 : 1983 | bell system | 600000 | 22 days | last contract with the bell system before its breakup row 5 : 1986 | at&t | 175000 | 25 days | cola clause suspended in contract - former bell row 6 : 1989 | at&t | 175000 | None | child and elder care benefits added to contract. row 7 : 1989 | nynex | 175000 | 17 weeks | strike was due to major health care cuts by row 8 : 1998 | us west | 34000 | 15 day | strike was due to mandatory overtime demands and forced pay row 9 : 2000 | verizon | 80000 | 3 weeks | strike was due to mandatory overtime demands. provisions for row 10 : 2011 | verizon | 45000 | 13 days | strike was due to major wage and health care cuts row 11 : 2012 | at&t | 20000 | 2 days | at&t west; californi ] Execute this SQL based on the above table: select count ( * ) where notes >= 1677
11
[ header: res. | record | opponent | method | event | date | round | time | location | notes row 1 : loss | 7-1 | cristiane justino | tko (punches) | strikeforce: carano vs. | august 15, 2009 | 1 | 4:59 | san jose, californ | for the women's featherweight championship row 2 : win | 7-0 | kelly kobold | decision (unanimous) | elitexc: heat | october 4, 2008 | 3 | 3:00 | sunrise, florida, united states | None row 3 : win | 6-0 | kaitlin young | tko (doctor stoppage | elitexc: primetime | may 31, 2008 | 2 | 3:00 | newark, new jersey, united states | 144 lb catchweight row 4 : win | 5-0 | tonya evinger | submission (rear naked choke) | elitexc: uprising | september 15, 2007 | 1 | 2:53 | oahu, hawai | 141 lb row 5 : win | 4-0 | julie kedzie | decision (unanimous) | elitexc: destiny | february 10, 2007 | 3 | 3:00 | southaven, mississippi | elitexc debut, 141 lb row 6 : win | 3-0 | elaina maxwell | decision (unanimous) | strikeforce: triple threat | december 8, 2006 | 3 | 2:00 | san jose, californ | strikeforce debut, 150 lb bout row 7 : win | 2-0 | rosi sexton | ko (punch) | world pro fighting championships 1 | september 15, 2006 | 2 | 4:55 | las vegas, nevada | 138 lb catchweight row 8 : win | 1-0 | leiticia pestova | ko (punches and elbows) | world extreme fighting | june 10, 2006 | 1 | 0:38 | las vegas, nevada | fought at 135 lbs ] Execute this SQL based on the above table: select event order by round limit 1
strikeforce: carano vs. cyborg
[ header: institution | location | enrollment | nickname | varsity sports | rugby since | head coach row 1 : clemson university | clemson, south carolina | 20576 | tigers | 19 | 1967 | justin hickey row 2 : maryland | college park, maryland | 37641 | terrapins | 20 | 1968 | jeff soeken row 3 : navy | annapolis, maryland | 4576 | midshipmen | 30 | 1963 | mike flanagan row 4 : north carolina | chapel hill, north carolina | 29340 | tar heels | 28 | 1966 | pete earsman row 5 : north carolina state | raleigh, north carolina | 34767 | wolfpack | 25 | 1965 | jim latham row 6 : university of virginia | charlottesville, virginia | 20895 | cavaliers | 25 | 1961 | jon roberts row 7 : virginia tech | blacksburg, virginia | 30379 | hokies | 21 | 1891 / 1968 | andy richards row 8 : wake forest | winston-salem, north car | 7079 | demon deacons | 18 | 1973 | patrick kane ] Execute this SQL based on the above table: select count ( institution )
8
[ header: year | location | gold | silver | bronze row 1 : 1958 | tokyo | sachika kamo | desideria ampon | liu shang-ku row 2 : 1962 | jakarta | akiko fukui | reiko miyagi | desideria ampon patricia y row 3 : 1966 | bangkok | lany kaligis | kazuko kuromatsu | lita liem sugiarto row 4 : 1974 | tehran | lita liem sugiarto | paulina pesahov | lany kaligis row 5 : 1978 | bangkok | lee duk-hee | chen chuan | kiyoko nomura sonoe row 6 : 1982 | new delhi | etsuko inoue | kim soo-ok | yu liqiao row 7 : 1986 | seoul | li xinyi | lee jeong-soon | kim soo-ok row 8 : 1990 | beijing | akiko kijimuta | chen li | park mal-sim kim il- row 9 : 1994 | hiroshima | kimiko date | naoko sawamatsu | yayuk basuki chen row 10 : 1998 | bangkok | yayuk basuki | tamarine tanasugar | li fang yi j row 11 : 2002 | busan | iroda tulyaganova | tamarine tanasugar | shinobu asagoe row 12 : 2006 | doha | zheng jie | sania mirza | li na aiko row 13 : 2010 | guangzhou | peng shuai | akgul amanmuradova | kimiko date-krumm s ] Execute this SQL based on the above table: select bronze group by bronze order by count ( silver ) desc limit 1
yu liqiao
[ header: year | competition | venue | position | notes row 1 : 1996 | olympic games | atlanta, united states | 36th (q) | 5.55 m row 2 : 1998 | asian games | bangkok, thailand | 8th | 6.07 m row 3 : 1999 | world championships | seville, spain | 23rd (q) | 6.40 m row 4 : 2000 | olympic games | sydney, australia | 14th (q) | 6.57 m row 5 : 2001 | world championships | edmonton, canada | 13th (q) | 6.46 m row 6 : 2002 | asian championships | colombo, sri lan | 1st | 6.61 m row 7 : 2002 | asian games | busan, south korea | 3rd | 6.30 m row 8 : 2003 | world championships | paris, france | 23rd (q) | 6.13 m row 9 : 2003 | asian championships | manila, philippines | 6th | 6.23 m row 10 : 2004 | olympic games | athens, greece | 11th | 6.53 m ] Execute this SQL based on the above table: select max ( year )
2004
[ header: event | gold | silver | bronze | total | ranking row 1 : 1976 winter paralympics | 10 | 1 | 1 | 12 | 2nd row 2 : 1984 winter paralympics | 4 | 2 | 3 | 9 | 5th row 3 : 1988 winter paralympics | 5 | 16 | 16 | 37 | 7th row 4 : 1992 winter paralympics | 3 | 8 | 4 | 15 | 8th row 5 : 1994 winter paralympics | 2 | 9 | 5 | 16 | 11th row 6 : 1998 winter paralympics | 10 | 5 | 8 | 23 | 6th row 7 : 2002 winter paralympics | 6 | 4 | 2 | 12 | 7th row 8 : 2006 winter paralympics | 0 | 1 | 1 | 2 | 13th row 9 : 2010 winter paralympics | 1 | 2 | 0 | 3 | 13th ] Execute this SQL based on the above table: select count ( event ) where bronze != 0
8
[ header: category | | area (sq miles) | area (km2) | population (2011) | density (per km2) row 1 : mainland | aberdeen city | 70 | 182 | 222800 | 1224 row 2 : mainland | aberdeenshire | 2439 | 6317 | 253000 | 40 row 3 : mainland | angus | 843 | 2184 | 116000 | 53 row 4 : mainland | argyll and bute | 2712 | 7023 | 88200 | 13 row 5 : mainland | clackmannanshire | 61 | 158 | 51400 | 325 row 6 : mainland | dumfries and galloway | 2489 | 6446 | 151300 | 23 row 7 : mainland | dundee city | 21 | 55 | 147300 | 2678 row 8 : mainland | east ayrshire | 492 | 1275 | 122700 | 96 row 9 : mainland | east dunbartonshire | 68 | 176 | 105000 | 597 row 10 : mainland | east lothian | 257 | 666 | 99700 | 150 row 11 : mainland | east renfrewshire | 65 | 168 | 90600 | 539 row 12 : mainland | city of edinburgh | 100 | 260 | 476600 | 1833 row 13 : mainland | falkirk | 113 | 293 | 156000 | 532 row 14 : mainland | fife | 517 | 1340 | 365200 | 273 row 15 : mainland | glasgow city | 68 | 175 | 593200 | 3390 row 16 : mainland | highland | 10085 | 26119 | 232100 | 9 row 17 : mainland | inverclyde | 64 | 167 | 81500 | 488 row 18 : mainland | midlothian | 135 | 350 | 83200 | 238 row 19 : mainland | moray | 864 | 2237 | 93300 | 42 row 20 : mainland | north ayrshire | 343 | 888 | 138200 | 156 row 21 : mainland | north lanarkshire | 184 | 476 | 337800 | 710 row 22 : mainland | perth and kinross | 2083 | 5395 | 146700 | 27 row 23 : mainland | renfrewshire | 102 | 263 | 174900 | 665 row 24 : mainland | scottish borders | 1825 | 4727 | 113900 | 24 row 25 : mainland | south ayrshire | 475 | 1230 | 112800 | 92 row 26 : mainland | south lanarkshire | 686 | 1778 | 313800 | 176 row 27 : mainland | stirling | 866 | 2243 | 90200 | 40 row 28 : mainland | west dunbartonshire | 68 | 176 | 90700 | 515 row 29 : mainland | west lothian | 165 | 427 | 175100 | 410 row 30 : None | total mainland | 28260 | 73193 | 5223100 | 71 row 31 : island | na h-eileanan | 1185 | 3070 | 27700 | 8 row 32 : island | orkney islands | 396 | 1025 | 21400 | 21 row 33 : island | shetland islands | 568 | 1471 | 23200 | 15 row 34 : None | total islands | 2149 | 5566 | 72300 | 13 row 35 : None | total scotland | 30409 | 78759 | 5295400 | 67 ] Execute this SQL based on the above table: select population (2011) where population (2011) = 151300
151300.0
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | united states | 12 | 13 | 6 | 31 row 2 : 2 | russia | 10 | 5 | 6 | 21 row 3 : 3 | australia | 8 | 12 | 6 | 26 row 4 : 4 | china | 7 | 4 | 8 | 19 row 5 : 5 | germany | 5 | 6 | 5 | 16 row 6 : 6 | japan | 3 | 3 | 3 | 9 row 7 : 7 | netherlands | 3 | 2 | 2 | 7 row 8 : 8 | great britain | 2 | 3 | 3 | 8 row 9 : 9 | ukraine | 2 | 3 | 2 | 7 row 10 : 10 | italy | 2 | 2 | 1 | 5 row 11 : 11 | canada | 2 | 0 | 1 | 3 row 12 : 12 | hungary | 1 | 4 | 1 | 6 row 13 : 13 | spain | 1 | 2 | 3 | 6 row 14 : 14 | poland | 1 | 1 | 0 | 2 row 15 : 15 | france | 1 | 0 | 2 | 3 row 16 : 16 | finland | 1 | 0 | 1 | 2 row 17 : 17 | belarus | 1 | 0 | 0 | 1 row 18 : 18 | czech republic | 0 | 2 | 0 | 2 row 19 : 19 | slovakia | 0 | 1 | 1 | 2 row 20 : 20 | denmark | 0 | 1 | 0 | 1 row 21 : 20 | croatia | 0 | 1 | 0 | 1 row 22 : 22 | romania | 0 | 0 | 2 | 2 row 23 : 23 | bulgaria | 0 | 0 | 1 | 1 row 24 : 23 | mexico | 0 | 0 | 1 | 1 row 25 : 23 | serbia and montenegro | 0 | 0 | 1 | 1 row 26 : 23 | south africa | 0 | 0 | 1 | 1 row 27 : 23 | sweden | 0 | 0 | 1 | 1 row 28 : 23 | tunisia | 0 | 0 | 1 | 1 row 29 : total | total | 62 | 65 | 59 | 186 ] Execute this SQL based on the above table: select silver where nation = 'mexico'
0.0
[ header: year | tournament | venue | played | won | lost | tied | n/r | result row 1 : 1989-90 | world series | australia | 8 | 6 | 2 | 0 | 0 | won row 2 : 1990-91 | world series | australia | 10 | 9 | 1 | 0 | 0 | won row 3 : 1991-92 | world series | australia | 10 | 7 | 2 | 0 | 1 | won row 4 : 1992 | 5th world cup | aust/nz | 8 | 4 | 4 | 0 | 0 | eliminated row 5 : 1992 | v sri lanka | sri lanka | 3 | 1 | 2 | 0 | 0 | lost row 6 : 1993 | v new zealand | new zealand | 5 | 3 | 2 | 0 | 0 | won row 7 : 1993 | texaco trophy | england | 3 | 3 | 0 | 0 | 0 | won row 8 : 1993-94 | world series | australia | 11 | 7 | 4 | 0 | 0 | won row 9 : 1994 | v south africa | south africa | 8 | 4 | 4 | 0 | 0 | drawn row 10 : 1994 | wills triangular series | pakistan | 6 | 5 | 1 | 0 | 0 | won row 11 : 1994-95 | world series | australia | 4 | 3 | 1 | 0 | 0 | won row 12 : 1995 | nz centenary t'ment | new zealand | 4 | 3 | 1 | 0 | 0 | won row 13 : 1995 | v west indies | west indies | 5 | 1 | 4 | 0 | 0 | lost row 14 : 1995-96 | world series | australia | 10 | 7 | 3 | 0 | 0 | won row 15 : 1996 | singer world series | sri lanka | 4 | 2 | 2 | 0 | 0 | runner-up row 16 : 1996 | titan cup | india | 5 | 0 | 5 | 0 | 0 | eliminated row 17 : 1997 | v south africa | south africa | 7 | 4 | 3 | 0 | 0 | won row 18 : 1997 | texaco trophy | england | 3 | 0 | 3 | 0 | 0 | lost row 19 : 1998 | v new zealand | australia | 4 | 2 | 2 | 0 | 0 | drawn row 20 : 1998 | pepsi triangular series | india | 5 | 3 | 2 | 0 | 0 | won row 21 : 1998 | coca-cola cup | sharjah | 5 | 4 | 1 | 0 | 0 | runner-up row 22 : 1998 | wills cup | bangladesh | 1 | 0 | 1 | 0 | 0 | eliminated row 23 : 1998 | v pakistan | pakistan | 3 | 3 | 0 | 0 | 0 | won row 24 : 1999 | cub series | australia | 12 | 9 | 3 | 0 | 0 | won row 25 : 1999 | v west indies | west indies | 7 | 3 | 3 | 1 | 0 | drawn row 26 : 1999 | 7th world cup | uk/ire/neth | 10 | 7 | 2 | 1 | 0 | won row 27 : 1999 | aiwa cup | sri lanka | 5 | 4 | 1 | 0 | 0 | runner-up row 28 : 1999 | v zimbabwe | zimbabwe | 3 | 3 | 0 | 0 | 0 | won ] Execute this SQL based on the above table: select n/r - n/r where venue = 'west indies'
0.0, 0.0
[ header: national team | title(s) represented | first worn | number of stars | notes row 1 : brazil | world cup | 1971 | 5 | third win was in 1970; fourth and fifth stars row 2 : italy | world cup | 1982 | 4 | added after third win; fourth star added after the row 3 : germany | world cup | 1996 | 3 | 1954, 1974, third win was in 1990 row 4 : uruguay | world cup and olympics | 1930 | 4 | represent 2 world cups (1930 & 1950) row 5 : argentina | world cup | 2003 | 2 | 1978, second win was in 1986 row 6 : england | world cup | 2003 | 1 | title won in 1966. star added after a row 7 : france | world cup | 1998 | 1 | title won in 1998. star added above their badge row 8 : spain | world cup | 2010 | 1 | title won in 2010. spain played in their away ] Execute this SQL based on the above table: select count ( number of stars ) where national team = 'spain'
1
[ header: tramway | country | city | height of pylons | span width, leaning straight line | span width, horizontal measurement | height of cable over ground | year of inauguration | notes row 1 : peak 2 peak gondola | canada | whistler | 65m | 3024 m | 3019 m | 436 m | 2008 | 3s aerial tramway constructed by doppel row 2 : hut of regensburg material transport aerial railway | austria | falbeson | None | None | None | 430 m | None | None row 3 : vanoise express | france | vanoise | none | 1850 m | 1800 m | 380 m | 2003 | None row 4 : aiguille du midi | france | chamonix | none | 2867 m | 2500 m | None | 1955 | 2nd section row 5 : vallee blanche aerial tramway | france | mont blanc | none | 2831 m, 1684 m | span is almost horizontal | appr. 300 m | 1958 | rock anchored support structure row 6 : 3s aerial tramway | austria | kitzbuhel | 0 m, 80m | 2507 m | None | 400 m | 2004 | None row 7 : sandia peak tramway | usa | albuquerque | 70.7 m, 21.33 m | 2353 m | None | 274 m | 1966 | None row 8 : feldmoos-chli-tit | switzerland | titlis | 37.6 m | 3476,2 m | None | None | 1979 | temp. site tramway, demolished in ] Execute this SQL based on the above table: select city order by height of cable over ground limit 1
chamonix
[ header: year | actor | award | category | role | episode | result row 1 : 1992 | nancy cartwright | primetime emmy award | outstanding voice-over performance | bart simpson | "separate vocations" | won row 2 : 1992 | dan castellaneta | primetime emmy award | outstanding voice-over performance | homer simpson | "lisa's pony" | won row 3 : 1992 | julie kavner | primetime emmy award | outstanding voice-over performance | marge simpson | "i married marge" | won row 4 : 1992 | jackie mason | primetime emmy award | outstanding voice-over performance | rabbi hyman k | "like father, like clown" | won row 5 : 1992 | yeardley smith | primetime emmy award | outstanding voice-over performance | lisa simpson | "lisa the greek" | won row 6 : 1992 | marcia wallace | primetime emmy award | outstanding voice-over performance | edna krabappel | "bart the lover" | won row 7 : 1993 | dan castellaneta | primetime emmy award | outstanding voice-over performance | homer simpson | "mr. plow" | won row 8 : 1995 | nancy cartwright | annie award | voice acting in the field of animation | bart simpson | "radio bart" | won row 9 : 1997 | maggie roswell | annie award | best voice acting by a female performer | shary bobbins | "simpsoncalifragilisticex | nominated row 10 : 1998 | hank azaria | primetime emmy award | outstanding voice-over performance | apu nahasapee | None | won row 11 : 2001 | hank azaria | primetime emmy award | outstanding voice-over performance | various | "worst episode ever" | won row 12 : 2003 | hank azaria | primetime emmy award | outstanding voice-over performance | various | "moe baby blues" | won row 13 : 2004 | dan castellaneta | primetime emmy award | outstanding voice-over performance | various characters | "today i am a clown" | won row 14 : 2006 | kelsey grammer | primetime emmy award | outstanding voice-over performance | sideshow bob | "the italian bob" | won row 15 : 2007 | julie kavner | annie award | best voice acting in an animated feature | marge simpson | the simpsons movie | nominated row 16 : 2009 | hank azaria | primetime emmy award | outstanding voice-over performance | moe szyslak | "eeny teeny maya mo | nominated row 17 : 2009 | dan castellaneta | primetime emmy award | outstanding voice-over performance | homer simpson | "father knows worst" | won row 18 : 2009 | harry shearer | primetime emmy award | outstanding voice-over performance | mr. burns, smithers | "the burns and the bees" | nominated row 19 : 2010 | hank azaria | primetime emmy award | outstanding voice-over performance | moe szyslak, | "moe letter blues" | nominated row 20 : 2010 | dan castellaneta | primetime emmy award | outstanding voice-over performance | homer simpson, grampa | "thursday with abie" | nominated ] Execute this SQL based on the above table: select year order by year desc limit 1
2010
[ header: lift name | type | top elevation (ft) | bottom elevation | vertical rise | length (ft) | slope (%) | capacity (rides/hr) | speed (ft/min) | lift manufacturer | year installed row 1 : bruno | fixed double | 5885 | 5840 | 45 | 368 | 12% | 630 | 300 | poma | 1987 row 2 : molly's express | detach quad | 5835 | 4990 | 845 | 5244 | 16% | 1200 | 1000 | doppelmayr | 2000 row 3 : pucci | fixed triple | 5920 | 5350 | 570 | 3398 | 17% | 1330 | 450 | poma | 1987 row 4 : stormin' norman | detach quad | 6245 | 5460 | 785 | 4396 | 18% | 1500 | 1000 | doppelmayr | 2000 row 5 : magic mile express | detach quad | 6990 | 5915 | 1075 | 5359 | 20% | 1600 | 950 | poma | 1992 row 6 : palmer express | detach quad | 8470 | 6940 | 1530 | 5468 | 29% | 1800 | 1000 | doppelmayr | 1996 row 7 : jeff flood express (still creek basin) | detach quad | 6020 | 4850 | 1170 | 6506 | 18% | 1800 | 1000 | doppelmayr | 2007 ] Execute this SQL based on the above table: select lift manufacturer where lift manufacturer < ( select lift manufacturer where lift manufacturer = 'poma' ) order by lift manufacturer desc limit 1
doppelmayr
[ header: year | tournament | venue | result | extra row 1 : 2002 | european indoor championships | vienna, austria | 5th | None row 2 : 2003 | universiade | daegu, south korea | 3rd | None row 3 : 2004 | world indoor championships | budapest, hungary | 1st | 2.04 pbi row 4 : 2004 | summer olympics | athens, greece | 1st | 2.06 nr row 5 : 2004 | world athletics final | monte carlo, monaco | 1st | None row 6 : 2006 | world indoor championships | moscow, russia | 1st | 2.02 row 7 : 2006 | european championships | gothenburg, sweden | 5th | 1.99 m row 8 : 2006 | world athletics final | stuttgart, germany | 4th | None row 9 : 2006 | world cup | athens, greece | 1st | 1.97 row 10 : 2007 | world championships | osaka, japan | 4th | None row 11 : 2008 | summer olympics | beijing, china | 4th | 2.01 row 12 : 2011 | world championships | daegu, korea | 4th | 1.97 ] Execute this SQL based on the above table: select extra
2.04 pbi, 2.06 nr, 2.02, 1.99 m, 1.97, 2.01, 1.97
[ header: opposition | matches | won | drawn | lost | for | against | win% row 1 : bhopal badshahs | 2 | 0 | 1 | 1 | 7 | 8 | 0.00% row 2 : chennai cheeta | 2 | 1 | 0 | 1 | 6 | 5 | 50.00% row 3 : delhi wizards | 2 | 2 | 0 | 0 | 4 | 2 | 100.00% row 4 : karnataka lions | 2 | 1 | 0 | 1 | 8 | 4 | 50.00% row 5 : mumbai marines | 2 | 2 | 0 | 0 | 9 | 5 | 100.00% row 6 : pune strykers | 3 | 2 | 0 | 1 | 11 | 8 | 66.67% row 7 : sher-e-punjab | 2 | 1 | 0 | 1 | 5 | 6 | 50.00% ] Execute this SQL based on the above table: select ( select won where win% = '50.00%' ) > ( select won where win% = '50.00%' )
0
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 10 october 2004 | estadio cuscatlan, | el salvador | 2-0 | 2-0 | 2006 fifa world cup qualification row 2 : 2 | 13 october 2004 | rfk stadium, washington, | panama | 3-0 | 6-0 | 2006 fifa world cup qualification row 3 : 3 | 13 october 2004 | rfk stadium, washington, | panama | 4-0 | 6-0 | 2006 fifa world cup qualification row 4 : 4 | 13 october 2004 | rfk stadium, washington, | panama | 5-0 | 6-0 | 2006 fifa world cup qualification row 5 : 5 | 17 november 2004 | columbus crew stadium, columbus, | jamaica | 1-0 | 1-1 | 2006 fifa world cup qualification row 6 : 6 | 9 february 2005 | queen's park oval, port of spain | trinidad and tobago | 1-0 | 2-1 | 2006 fifa world cup qualification row 7 : 7 | 19 march 2005 | university stadium, albuquerque, united | honduras | 1-0 | 1-0 | friendly row 8 : 8 | 30 march 2005 | legion field, birmingham, united | guatemala | 1-0 | 2-0 | 2006 fifa world cup qualification row 9 : 9 | 19 february 2006 | pizza hut park, frisco, united states | guatemala | 3-0 | 4-0 | friendly row 10 : 10 | 9 june 2007 | the home depot center, carson, united states | trinidad and tobago | 2-0 | 2-0 | 2007 concacaf gold cup row 11 : 11 | 28 june 2007 | estadio jose pachencho | argentina | 1-0 | 1-4 | 2007 copa america row 12 : 12 | 15 june 2008 | the home depot center, carson, united states | barbados | 6-0 | 8-0 | 2010 fifa world cup qualification row 13 : 13 | 12 october 2012 | sir vivian richards stadium | antigua and barbuda | 1-0 | 2-1 | 2014 fifa world cup qualification row 14 : 14 | 12 october 2012 | sir vivian richards stadium | antigua and barbuda | 2-1 | 2-1 | 2014 fifa world cup qualification row 15 : 15 | 12 june 2013 | centurylink field, seattle, united states | panama | 2-0 | 2-0 | 2014 fifa world cup qualification row 16 : 16 | 21 july 2013 | m&t bank stadium, balti | el salvador | 3-1 | 5-1 | 2013 concacaf gold cup row 17 : 17 | 24 july 2013 | cowboys stadium, arlington, united | honduras | 1-0 | 3-1 | 2013 concacaf gold cup row 18 : 18 | 14 august 2013 | asim ferhatovic hase stadium, | bosnia and herzegovin | 1-2 | 4-3 | friendly row 19 : 19 | 10 september 2013 | columbus crew stadium, columbus, | mexico | 1-0 | 2-0 | 2014 fifa world cup qualification ] Execute this SQL based on the above table: select count ( # )
19
[ header: year | film | role | language | notes row 1 : 2007 | chirutha | sanjna | telugu | debut telugu film row 2 : 2009 | kurradu | hema | telugu | None row 3 : 2010 | crook: it's good to be | suhani | hindi | debut hindi film row 4 : 2012 | teri meri kahaani | meera | hindi | special appearance row 5 : 2012 | kyaa super kool | simran | hindi | None row 6 : 2013 | jayantabhai ki | simran | hindi | None row 7 : 2013 | yamla pagla deewana | suman | hindi | None row 8 : 2014 | youngistaan | anwita chauhan | hindi | None ] Execute this SQL based on the above table: select count ( * ) where year > 493
8
[ header: season | series | team | races | wins | poles | f/laps | podiums | points | position row 1 : 2003 | formula renault 2.0 italy | cram competition | 12 | 0 | 1 | 1 | 3 | 118 | 7th row 2 : 2003 | formula renault 2000 masters season | cram competition | 8 | 0 | 0 | 0 | 0 | 0 | 28th row 3 : 2003 | formula renault 2.0 germany | cram competition | 2 | 0 | 0 | 0 | 0 | 3 | 43rd row 4 : 2003 | formula renault 2.0 italy winter cup | cram competition | None | None | None | None | None | None | 1st row 5 : 2004 | formula renault 2.0 italy | cram competition | 17 | 8 | 6 | 11 | 12 | 326 | 1st row 6 : 2004 | formula renault 2000 eurocup | cram competition | 15 | 2 | 0 | 1 | 3 | 134 | 8th row 7 : 2004 | formula renault v6 eurocup | cram competition | 2 | 0 | 0 | 0 | 0 | 12 | 21st row 8 : 2004 | formula one | minardi | test driver | test driver | test driver | test driver | test driver | test driver | test driver row 9 : 2005 | world series by renault | dams | 8 | 0 | 0 | 0 | 0 | 4 | 25th row 10 : 2005 | italian formula 3000 | sighinolfi auto racing | 4 | 1 | 1 | 1 | 1 | 14 | 9th row 11 : 2006 | world series by renault | draco racing | 17 | 3 | 5 | 6 | 5 | 103 | 3rd row 12 : 2007 | gp2 series | trident racing | 13 | 1 | 1 | 0 | 2 | 25 | 11th row 13 : 2007 | euroseries 3000 | g-tec | 2 | 1 | 1 | 1 | 1 | 12 | 10th row 14 : 2007 | formula 3000 italy | g-tec | 2 | 1 | 1 | 1 | 1 | 12 | 8th row 15 : 2008 | gp2 series | piquet sports | 20 | 1 | 2 | 3 | 6 | 60 | 5th row 16 : 2008 | international gt open - gt | scuderia latorre | 2 | 0 | 0 | 0 | 1 | 8 | 22nd row 17 : 2008 | euroseries 3000 | gp racing | 1 | 1 | 0 | 1 | 1 | 11 | 12th row 18 : 2008 | international gt open | scuderia latorre | None | None | None | None | None | 18 | 32nd row 19 : 2008-09 | gp2 asia series | art grand prix | 5 | 0 | 0 | 0 | 1 | 7 | 15th row 20 : 2009 | euroseries 3000 | teamcraft motorsport | 2 | 1 | 0 | 0 | 1 | 10 | 10th row 21 : 2009 | gp2 series | art grand prix | 20 | 2 | 0 | 0 | 2 | 36 | 6th row 22 : 2010 | gp2 series | rapax team | 20 | 6 | 0 | 5 | 8 | 87 | 1st row 23 : 2011 | formula one | at&t williams | 19 | 0 | 0 | 0 | 0 | 1 | 18th row 24 : 2012 | formula one | williams f1 team | 20 | 1 | 1 | 0 | 1 | 45 | 15th row 25 : 2013 | formula one | williams f1 team | 19 | 0 | 0 | 0 | 0 | 1 | 18th row 26 : 2014 | formula one | lotus f1 team | 2 | 0 | 0 | 0 | 0 | 0 | nc ] Execute this SQL based on the above table: select series order by points asc limit 1
formula renault 2.0 italy winter cup
[ header: round | circuit | date | pole position | winning driver | winning team | trophy winner row 1 : 1 | aci vallelunga circuit, camp | 7 april | milos pavlovic | milos pavlovic | target racing | nino fama row 2 : 2 | misano world circuit | 28 april | milos pavlovic | milos pavlovic | target racing | giovanni faraonio row 3 : 3 | autodromo di pergusa, | 19 may | milos pavlovic | philip cloostermans | azeta racing | carmine tancredi row 4 : 4 | autodromo nazionale monza | 30 june | philip cloostermans | philip cloostermans | azeta racing | carmine tancredi row 5 : 5 | autodromo riccardo paletti | 21 july | milos pavlovic | milos pavlovic | target racing | carmine tancredi row 6 : 6 | autodromo enzo e din | 1 september | vitantonio liuzzi | vitantonio liuzzi | bertram schafer racing | silvio alberti row 7 : 7 | autodromo del levante, | 8 september | christiano citron | milos pavlovic | target racing | carmine tancredi row 8 : 8 | mugello circuit, scarperia | 6 october | milos pavlovic | milos pavlovic | target racing | dino lusuardi row 9 : 9 | autodromo dell'umbria | 20 october | andreas zuber | christiano citron | target racing | alberto morelli ] Execute this SQL based on the above table: select date order by circuit limit 1
7 april
[ header: station | distance from wellington | height above sea level (m) | opened | closed | notes row 1 : tawa | 13.58 km | 25.6m | 1937 | open | tawa flat (closed 1937) was row 2 : kenepuru | 16.16 km | 15m | 1940 | open | None row 3 : paremata | 21.7 km | 2.7m | 1885 | open | None row 4 : plimmerton | 24.4 km | 5.8m | 1885 | open | None row 5 : waikanae | 55.31 km | 31m | 1886 | open | None row 6 : ohau | 84.95 km | 30.7m | 1886 | c.1970 | None row 7 : linton | 124.19 km | 18.3m | 1886 | closed | None row 8 : awapuni | 132 km | 24.7m | 1876 | 1965 | None row 9 : palmerston north | 136.03 km | 28m | 1963 | open | None row 10 : bunnythorpe | 144.47 km | 55.2m | 1876 | closed | None row 11 : halcombe | 165.76 km | 118m | 1878 | closed | None row 12 : greatford | 175.67 km | 104.5m | 1878 | c.1970 | None row 13 : cliff road | 183.58 km | 159.7m | 1888 | 1966 | None row 14 : ohingaiti | 222.14 km | 279m | 1902 | 1975 | None row 15 : ohotu | 247.08 km | 395.6m | 1904 | closed | None row 16 : ngaurukehu | 270.25 km | 640m | 1908 | closed | None row 17 : turangarere | 274.5 km | 702m | 1912 | 1972 | None row 18 : tangiwai | 299.49 km | 699.5m | 1909 | closed | nearest station to the tangiwai row 19 : rangataua | 312.79 km | 670m | 1909 | closed | None row 20 : raurimu | 358.31 km | 589m | 1908 | closed | None row 21 : owhango | 371.89 km | 456.6m | 1908 | closed | None row 22 : taumarunui | 397.75 km | 171m | 1903 | 2012 | None row 23 : taringamotu | 402 km | 172.5m | 1903 | 1971 | None row 24 : okahukura | 408.54 | 178.3m | 1903 | closed | okahukura junction in working time row 25 : waiteti | 470.07 km | 135m | 1889 | closed | None row 26 : te kumi | 478.56 km | 49.6m | 1887 | closed | None row 27 : otorohonga | 494.41 km | 37m | 1887 | 2012 | reopened summer 2012 row 28 : te awamutu | 517.02 km | 50m | 1880 | 2005 | new zealand dairy board (now font row 29 : ngaroto | 519.92 km | 56m | 1880 | 1954 | None row 30 : ohinewai | 582.04 km | 10m | 1877 | c1968 | None row 31 : paerata | 633.29 km | 45.1m | 1875 | 1980 | paerata junction from 1917 row 32 : takanini | 650.64 km | 15.2m | 1875 | open | None row 33 : puhinui | 658.92 km | 19.8m | 1904 | open | None row 34 : middlemore | 662.28 km | 8.8m | 1904 | open | None ] Execute this SQL based on the above table: select opened where id = ( select id where opened = 1963 ) + 1
1876
[ 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 notes order by rank limit 1
q
[ header: main author | no. of patients | duration of follow-up years | linearized rate of infection | actuarial freedom from infective endocarditis row 1 : pavie | 675 | 5 | None | 98.2% for all patients, 97 row 2 : duncan (a) | 2720 | 6 | None | 97.3% for all patients, 97 row 3 : ionescu (b) | 1171 | 10 | None | 93.7% for all patients, 94 row 4 : zhu | 520 | 10 | None | 98% for all patients row 5 : revuelta | 239 | 8 | 0.67% per patient year | None row 6 : garcia-bengochea | 248 | 8 | 0.78% per patient year | None row 7 : holden (c) | 290 | 6 | 1.1% per patient year | None row 8 : bachet (d) | 224 | 6 | 1.6% per patient year | None ] Execute this SQL based on the above table: select main author where no. of patients = 1171
ionescu (b)
[ header: date | competition | home team | score | away team | score row 1 : 16 october 2004 | powergen cup | bedford | None | tabard | None row 2 : 15 february 2005 | national division one | bedford | 26 | otley | 13 row 3 : 19 february 2005 | national division one | bedford | 16 | london welsh | 17 row 4 : 26 february 2005 | national division one | sedgley park | 12 | bedford | 23 row 5 : 12 march 2005 | national division one | bedford | 23 | cornish pirates | 28 row 6 : 2 april 2005 | national division one | bedford | 39 | plymouth albion | 21 row 7 : 9 april 2005 | national division one | birmingham solihull | 18 | bedford | 29 ] Execute this SQL based on the above table: select date where score < ( select score where date = '26 february 2005' ) order by score desc limit 1
2 april 2005
[ header: place | position | number | name | league two | fa cup | league cup | fl trophy | total row 1 : 1 | mf | 4 | ryan hall | 10 | 1 | 0 | 3 | 14 row 2 : 2 | df | 6 | bilel mohsni | 13 | 0 | 0 | 0 | 13 row 3 : 3 | fw | 22 | liam dickinson | 10 | 1 | 0 | 1 | 12 row 4 : 4 | fw | 9 | neil harris | 9 | 0 | 0 | 1 | 10 row 5 : 5 | df | 15 | mark phillips | 7 | 0 | 1 | 0 | 8 row 6 : 6 | mf | 12 | kane ferdinand | 7 | 0 | 0 | 0 | 7 row 7 : 7 | mf | 8 | michael timlin | 4 | 0 | 0 | 0 | 4 row 8 : 8 | mf | 14 | dave martin | 3 | 0 | 0 | 0 | 3 row 9 : 8 | df | 3 | peter gilbert | 3 | 0 | 0 | 0 | 3 row 10 : 10 | fw | 24 | elliot benyon | 2 | 0 | 0 | 0 | 2 row 11 : 10 | fw | 37 | freddy eastwood | 2 | 0 | 0 | 0 | 2 row 12 : 12 | mf | 18 | ryan leonard | 1 | 0 | 0 | 0 | 1 row 13 : 12 | fw | 21 | blair sturrock | 0 | 0 | 0 | 1 | 1 row 14 : 12 | mf | 19 | jean-paul kalala | 1 | 0 | 0 | 0 | 1 row 15 : 12 | df | 16 | luke prosser | 1 | 0 | 0 | 0 | 1 row 16 : 12 | mf | 7 | anthony grant | 1 | 0 | 0 | 0 | 1 row 17 : 12 | df | 23 | chris barker | 1 | 0 | 0 | 0 | 1 row 18 : None | None | None | own goals | 4 | 0 | 0 | 0 | 4 row 19 : None | None | None | totals | 79 | 2 | 1 | 6 | 88 ] Execute this SQL based on the above table: select sum ( place )
136.0
[ header: availability / production | | 2000 | 2001 | 2002 | 2003 | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 | 2010 | 2011 | 2012 row 1 : availability | hydro power | 1150 | 1161 | 1171 | 1247 | 1281 | 1293 | 1316 | 1326 | 1357 | 1379 | 1382 | 1401 | 1584 row 2 : availability | thermal | 685 | 835 | 1056 | 1233 | 1215 | 1155 | 1155 | 1155 | 1285 | 1290 | 1390 | 1690 | 1638 row 3 : availability | other renewables | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 15 | 45 | 50 | 90 row 4 : availability | total availability | 1838 | 1999 | 2230 | 2483 | 2499 | 2411 | 2434 | 2444 | 2645 | 2684 | 2818 | 3141 | 3312 row 5 : production | hydro power | 3197 | 3110 | 2962 | 3310 | 2960 | 3451 | 4634 | 3947 | 4130 | 3881 | 5634 | 4622 | 3292 row 6 : production | thermal | 3485 | 3407 | 3201 | 4298 | 5080 | 5314 | 4751 | 5864 | 5763 | 5975 | 4995 | 6785 | 8339 row 7 : production | other renewables | 3 | 3 | 4 | 3 | 3 | 5 | 4 | 4 | 8 | 27 | 86 | 121 | 169 row 8 : production | total production | 6685 | 6520 | 6167 | 7611 | 8043 | 8770 | 9389 | 9815 | 9901 | 9883 | 10715 | 11528 | 11800 ] Execute this SQL based on the above table: select count ( distinct availability / production ) where id <= 5
2
[ header: from | to | name | party | position row 1 : 1850 | 1862 | m. borgarelli d' | None | colonel of infantry e.r row 2 : 1862 | 1869 | jules alfred le tourneur du | None | first secretary for the minister of finance row 3 : 1869 | 1903 | stanislas le tourneur d | None | attached to the taxation administration of france row 4 : None | None | yves le tourneur d' | None | doctor of juridical science row 5 : 1966 | 1989 | maurice lecoq | None | market gardener row 6 : 1989 | 2008 | michel deuzet | se | farmer row 7 : 2008 | 2014 | patrice martin | se | bank officer ] Execute this SQL based on the above table: select name where id = ( select id where name = 'michel deuzet' ) - 1
maurice lecoq
[ header: year | competition | venue | position | event | notes row 1 : 1987 | european junior championships | birmingham, united kingdom | None | 20 km walk | dq row 2 : 1990 | european championships | split, yugoslavia | 4th | 20 km walk | 1:23.47 row 3 : 1991 | world championships | tokyo, japan | 10th | 20 km walk | 1:21:32 row 4 : 1991 | world championships | tokyo, japan | None | 50 km walk | dnf row 5 : 1992 | olympic games | barcelona, spain | None | 20 km walk | dnf row 6 : 1992 | olympic games | barcelona, spain | None | 50 km walk | dq row 7 : 1993 | world indoor championships | toronto, canada | 2nd | 5000 m walk | 18:35.91 row 8 : 1993 | world championships | stuttgart, germany | None | 50 km walk | dq row 9 : 1994 | european championships | helsinki, finland | None | 50 km walk | dq row 10 : 1994 | european championships | helsinki, finland | 5th | 50 km walk | 3:45:57 row 11 : 1995 | world championships | gothenburg, sweden | 3rd | 50 km walk | 3:45.57 row 12 : 1996 | olympic games | atlanta, united states | 8th | 20 km walk | 1:21:13 row 13 : 1996 | olympic games | atlanta, united states | 1st | 50 km walk | 3:43:30 row 14 : 1997 | world championships | athens, greece | 1st | 50 km walk | 3:44:46 row 15 : 1998 | european championships | budapest, hungary | 1st | 50 km walk | 3:43:51 row 16 : 1999 | world race walking cup | mezidon-canon, france | 4th | 20 km walk | 1:20:52 row 17 : 1999 | world championships | seville, spain | None | 50 km walk | dq row 18 : 2000 | european race walking cup | eisenhuttenstadt, germany | 1st | 20 km walk | 1:18:29 row 19 : 2000 | olympic games | sydney, australia | 1st | 20 km walk | 1:18:59 (or) row 20 : 2000 | olympic games | sydney, australia | 1st | 50 km walk | 3:42:22 row 21 : 2001 | world championships | edmonton, canada | 1st | 50 km walk | 3:42.08 row 22 : 2001 | goodwill games | brisbane, australia | 2nd | 20,000 m walk | 1:19:52.0 row 23 : 2002 | european championships | munich, germany | 1st | 50 km walk | 3:36:39 (wr) row 24 : 2003 | world championships | paris, france | 1st | 50 km walk | 3:36:03 row 25 : 2004 | olympic games | athens, greece | 1st | 50 km walk | 3:38:46 ] Execute this SQL based on the above table: select venue where position > ( select position where event = '50 km walk' and venue = 'atlanta, united states' ) order by position asc limit 1
toronto, canada
[ header: date | site | winning team | winning team | losing team | losing team | series row 1 : 1959 | ames | missouri | 14 | iowa state | 0 | missouri 30-16-6 row 2 : 1960 | columbia | missouri | 34 | iowa state | 8 | missouri 31-16-6 row 3 : 1962 | columbia | missouri | 21 | iowa state | 6 | missouri 33-16-6 row 4 : 1963 | ames | missouri | 7 | iowa state | 0 | missouri 34-16-6 row 5 : 1964 | columbia | missouri | 10 | iowa state | 0 | missouri 35-16-6 row 6 : 1965 | ames | missouri | 23 | iowa state | 7 | missouri 36-16-6 row 7 : 1967 | ames | missouri | 23 | iowa state | 7 | missouri 37-16-7 row 8 : 1969 | ames | missouri | 40 | iowa state | 13 | missouri 39-16-7 row 9 : 1971 | ames | iowa state | 45 | missouri | 17 | missouri 39-18-7 row 10 : 1973 | ames | iowa state | 17 | missouri | 7 | missouri 40-19-7 row 11 : 1974 | columbia | missouri | 10 | iowa state | 7 | missouri 41-19-7 row 12 : 1976 | columbia | iowa state | 21 | missouri | 17 | missouri 42-20-7 row 13 : 1977 | ames | iowa state | 7 | missouri | 0 | missouri 42-21-7 row 14 : 1978 | columbia | missouri | 26 | iowa state | 13 | missouri 43-21-7 row 15 : 1980 | columbia | missouri | 14 | iowa state | 10 | missouri 45-21-7 row 16 : 1982 | columbia | iowa state | 17 | missouri | 17 | missouri 45-22-8 row 17 : 1983 | ames | missouri | 41 | iowa state | 18 | missouri 46-22-8 row 18 : 1985 | ames | missouri | 28 | iowa state | 27 | missouri 47-22-9 row 19 : 1988 | columbia | iowa state | 21 | missouri | 3 | missouri 48-24-9 row 20 : 1992 | ames | iowa state | 28 | missouri | 14 | missouri 48-28-9 row 21 : 1995 | columbia | missouri | 45 | iowa state | 31 | missouri 51-28-9 row 22 : 1998 | ames | #21 missouri | 35 | iowa state | 19 | missouri 53-29-9 row 23 : 1999 | columbia | iowa state | 24 | missouri | 21 | missouri 53-30-9 row 24 : 2000 | ames | iowa state | 39 | missouri | 20 | missouri 53-31-9 row 25 : 2001 | columbia | iowa state | 20 | missouri | 14 | missouri 53-32-9 row 26 : 2004 | ames | missouri | 17 | iowa state | 14 | missouri 55-33-9 row 27 : 2007 | columbia | #13 missouri | 42 | iowa state | 28 | missouri 57-34-9 row 28 : 2008 | ames | #11 missouri | 52 | iowa state | 20 | missouri 58-34-9 row 29 : 2009 | columbia | missouri | 34 | iowa state | 24 | missouri 59-34-9 row 30 : 2010 | ames | #15 missouri | 14 | iowa state | 0 | missouri 60-34-9 ] Execute this SQL based on the above table: select count ( * ) where series = 'missouri 43-21-7'
1
[ header: # | name | strike tone (st-1/16) | weight (kg) | diameter (mm) | inscription row 1 : 1 | maria | g0 +8 | 6045 | 2075 | + o mater alma christ row 2 : 2 | carolus | h0 +7 | 2900 | 1628 | honor et cultus, que row 3 : 3 | johannes evangelista | d1 +8 | 1400 | 1367 | nascentes inter soci row 4 : 4 | johannes baptista | e1 +7 | 1225 | 1217 | johannes baptista or row 5 : 5 | leopardus | fis1 +3 | 850 | 1078 | sancte leoparde ora pro nobis row 6 : 6 | stephanus | g1 +8 | 715 | 1027 | sancte stephane ora pro no row 7 : 7 | petrus | a1 +1 | 425 | 894 | sancte petre ora pro nobis row 8 : 8 | simeon | h1 +8 | 290 | 793 | sancte simeon juste e ] Execute this SQL based on the above table: select inscription where inscription = 'nascentes inter socias mecum ordine ponor tertia, sed cum quinta tono appellata johannes(i am placed fourth in order among the friends born with me, but i call to john with the fifth tone)'
nascentes inter socias mecum ordine ponor tertia, sed cum quinta tono appellata johannes(i am placed fourth in order among the friends born with me, but i call to john with the fifth tone)
[ 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 team where team = 'portuguesa' order by team asc limit 1
portuguesa
[ header: year | team | co-drivers | car | class | laps | pos. | class pos. row 1 : 2001 | team den bla avis team goh | john nielsen hiroki | dome s101-judd | lmp900 | 66 | dnf | dnf row 2 : 2003 | rn motorsport | john nielsen hayanari | dba4 03s-zytek | lmp675 | 288 | 22nd | 2nd row 3 : 2004 | lister racing | john nielsen jens | lister storm lmp-chevrole | lmp1 | 279 | 24th | 9th row 4 : 2006 | zytek engineering team essex invest | john nielsen philip and | zytek 06s | lmp1 | 269 | nc | nc row 5 : 2007 | aston martin racing larbre | christophe bouchut f | aston martin dbr | gt1 | 341 | 7th | 3rd row 6 : 2008 | team essex | john nielsen sasch | porsche rs spyder evo | lmp2 | 347 | 12th | 2nd row 7 : 2009 | team essex | kristian poulsen e | porsche rs spyder evo | lmp2 | 357 | 10th | 1st row 8 : 2011 | hope racing | steve zacchia jan | oreca 01-swiss | lmp1 | 115 | dnf | dnf ] Execute this SQL based on the above table: select count ( pos. ) where team = 'zytek engineering team essex invest'
0
[ header: location | reactor type | status | net capacity (mwe) | gross capacity (mwe) row 1 : chernobyl-1 | rbmk-1000 | shut down in 1996 | 740 | 800 row 2 : chernobyl-2 | rbmk-1000 | shut down in 1991 | 925 | 1 row 3 : chernobyl-3 | rbmk-1000 | shut down in 2000 | 925 | 1 row 4 : chernobyl-4 | rbmk-1000 | destroyed in the 1986 accident | 925 | 1 row 5 : chernobyl-5 | rbmk-1000 | construction cancelled in 1988 | 950 | 1 row 6 : chernobyl-6 | rbmk-1000 | construction cancelled in 1988 | 950 | 1 row 7 : ignalina-1 | rbmk-1500 | shut down in 2004 | 1,185 | 1,3 row 8 : ignalina-2 | rbmk-1500 | shut down in 2009 | 1,185 | 1,3 row 9 : ignalina-3 | rbmk-1500 | construction cancelled in 1988 | 1,38 | 1,5 row 10 : ignalina-4 | rbmk-1500 | plan cancelled in 1988 | 1,38 | 1,5 row 11 : kostroma-1 | rbmk-1500 | construction cancelled in 1980s | 1,38 | 1,5 row 12 : kostroma-2 | rbmk-1500 | construction cancelled in 1980s | 1,38 | 1,5 row 13 : kursk-1 | rbmk-1000 | operational until 2021 | 925 | 1 row 14 : kursk-2 | rbmk-1000 | operational until 2024 | 925 | 1 row 15 : kursk-3 | rbmk-1000 | operational until march 2014 | 925 | 1 row 16 : kursk-4 | rbmk-1000 | operational until february 2016 | 925 | 1 row 17 : kursk-5 | mker-1000 | construction begin was 1985, since then shelve | 925 | 1 row 18 : kursk-6 | rbmk-1000 | construction cancelled in 1993 | 925 | 1 row 19 : leningrad-1 | rbmk-1000 | operational | 925 | 1 row 20 : leningrad-2 | rbmk-1000 | operational until 2021 | 925 | 1 row 21 : leningrad-3 | rbmk-1000 | operational until june 2025 | 925 | 1 row 22 : leningrad-4 | rbmk-1000 | operational until august 2026 | 925 | 1 row 23 : smolensk-1 | rbmk-1000 | operational until december 2022 | 925 | 1 row 24 : smolensk-2 | rbmk-1000 | operational until july 2015 | 925 | 1 row 25 : smolensk-3 | rbmk-1000 | operational until july 2023 | 925 | 1 row 26 : smolensk-4 | rbmk-1000 | construction cancelled in 1993 | 925 | 1 ] Execute this SQL based on the above table: select status order by gross capacity (mwe) desc limit 1
shut down in 1996
[ header: season | winner | score | runners-up | venue row 1 : 2000 | san juan jablote | 1-0 | defence force | marvin lee stadium row 2 : 2001 | w connection | 1-0 | caledonia aia | manny ramjohn stadium row 3 : 2002 | defence force | 2-0 | w connection | hasely crawford stadium row 4 : 2003 | san juan jablote | 1-1 | w connection | manny ramjohn stadium row 5 : 2004 | w connection | 2-2 | defence force | manny ramjohn stadium row 6 : 2005 | w connection | 3-1 | san juan jablote | manny ramjohn stadium row 7 : 2006 | w connection | 3-1 | north east stars | manny ramjohn stadium row 8 : 2007 | w connection | 2-0 | caledonia aia | manny ramjohn stadium row 9 : 2008 | w connection | 2-2 | joe public | manny ramjohn stadium row 10 : 2009 | defence force | 1-0 | joe public | marvin lee stadium row 11 : 2010 | joe public | 1-1 | defence force | marvin lee stadium row 12 : 2011 | caledonia aia | 2-1 | t&tec | hasely crawford stadium row 13 : 2012 | caledonia aia | 2-1 | defence force | hasely crawford stadium row 14 : 2013 | central fc | 2-1 | defence force | hasely crawford stadium ] Execute this SQL based on the above table: select venue where venue in ( 'hasely crawford stadium' , 'hasely crawford stadium' ) order by season - season desc limit 1
hasely crawford stadium
[ header: parish | locality | parish priest | founded | closed row 1 : st mary | bacup | fr frank thorpe | 1852 | None row 2 : our immaculate mother & st | whitworth | fr frank thorpe | 1860 | None row 3 : st joseph | stacksteads | None | 1947 | 2005 row 4 : st joseph & | newchurch-in-rossendale | fr philip boast | 1915 | None row 5 : the immaculate conception | haslingden | fr canon john mackie | 1854 | None row 6 : st veronica (chapel of | helmshore | served from the immaculate conception | 1959 | None row 7 : st james the less | rawtenstall | fr david lupton, rural de | 1828 | None ] Execute this SQL based on the above table: select parish priest order by founded limit 1
fr david lupton, rural dean
[ header: # | player | country | score | to par | money ($) row 1 : 1 | shirley englehorn | united states | 70-70-75-70=285 | -7 | 4,500 row 2 : 2 | kathy whitworth | united states | 69-71-73-72=2 | -7 | 3,410 row 3 : 3 | sandra palmer | united states | 73-72-73-70=2 | -4 | 2,600 row 4 : 4 | murle breer | united states | 75-71-70-74=290 | -2 | 2,150 row 5 : 5 | sharon miller | united states | 74-74-72-71=2 | -1 | 1,800 row 6 : t6 | joanne carner | united states | 71-76-70-75=292 | e | 1,400 row 7 : t6 | sandra haynie | united states | 73-72-72-75=29 | e | 1,400 row 8 : t8 | gerda boykin | west germany | 73-73-73-74=2 | +1 | 1,050 row 9 : t8 | sharron moran | united states | 73-71-75-74=2 | +1 | 1,050 row 10 : t8 | marilynn smith | united states | 74-69-73-77=2 | +1 | 1,050 ] Execute this SQL based on the above table: select # where id = ( select id where # = 't8' ) - 1
t6
[ header: 2011 rank | 2010 rank | 2009 rank | 2008 rank | 2007 rank | company (country) | 2011 arms sales (us$ m.) | 2010 arms sales (us$ m.) | 2009 arms sales (us$ m.) | 2008 arms sales (us$ m.) | 2007 arms sales (us$ m.) | arms sales as share of company's total sales (%), row 1 : 1 | 1 | 1 | 2 | 3 | lockheed martin | 36270 | 35730 | 33430 | 29880 | 29400 | 78 row 2 : 2 | 3 | 3 | 3 | 1 | boeing | 31830 | 31360 | 32300 | 29200 | 30480 | 46 row 3 : 3 | 2 | 2 | 1 | 2 | bae systems | 29150 | 32880 | 33250 | 32420 | 29860 | 95 row 4 : 4 | 5 | 5 | 5 | 5 | general dynamics | 23760 | 23940 | 25590 | 22780 | 21520 | 73 row 5 : 5 | 6 | 6 | 6 | 6 | raytheon | 22470 | 22980 | 21030 | 23080 | 19540 | 90 row 6 : 6 | 4 | 4 | 4 | 4 | northrop grumman | 21390 | 28150 | 27000 | 26090 | 24600 | 81 row 7 : 7 | 7 | 7 | 7 | 7 | airbus group | 16390 | 16360 | 17900 | 15930 | 13100 | 24 row 8 : 8 | 8 | 8 | 8 | 9 | finmeccanica | 14560 | 14410 | 13280 | 13020 | 9850 | 60 row 9 : 9 | 9 | 9 | 9 | 8 | l-3 communications | 12520 | 13070 | 13010 | 12160 | 11240 | 83 row 10 : 10 | 10 | 10 | 11 | 11 | united technologies corporation | 11640 | 11410 | 11110 | 9980 | 8760 | 20 row 11 : 11 | 11 | 11 | 10 | 10 | thales group | 9480 | 9950 | 10200 | 10760 | 9350 | 52 row 12 : 12 | 12 | 12 | 12 | 12 | saic | 7940 | 8230 | 8030 | 7350 | 6250 | 75 row 13 : 13 | None | None | None | None | huntington ingalls industries | 6380 | None | None | None | None | 97 row 14 : 14 | 15 | 14 | 15 | 15 | honeywell | 5280 | 5400 | 5380 | 5310 | 5020 | 14 row 15 : 15 | 16 | 16 | 25 | 14 | safran | 5240 | 4800 | 4740 | 3020 | 5230 | 32 row 16 : 16 | 14 | 13 | 14 | 13 | computer sciences corp | 4860 | 5940 | 6050 | 5710 | 5420 | 31 row 17 : 17 | 17 | 19 | 17 | 17 | rolls-royce | 4670 | 4330 | 4140 | 4720 | 4580 | 26 row 18 : 18 | 21 | None | None | None | united aircraft corporation | 4440 | 3440 | None | None | None | 80 row 19 : 19 | 13 | 27 | 37 | 45 | oshkosh corporation | 4370 | 7080 | 2770 | 2070 | 1570 | 58 row 20 : 20 | 18 | 18 | 22 | 20 | general electric | 4100 | 4300 | 4700 | 3650 | 3460 | 3 row 21 : 21 | 19 | 17 | 16 | 19 | itt corp | 4020 | 4000 | 4730 | 5170 | 3850 | 69 row 22 : 22 | 20 | 22 | 18 | 23 | almaz-antey | 3690 | 3950 | 3260 | 4340 | 2780 | 85 ] Execute this SQL based on the above table: select company (country) where 2011 rank = ( select 2011 rank where company (country) = 'huntington ingalls industries' ) - 1
saic
[ header: episode number | original airdate | title | disc | description row 1 : 48 | 30 january 1983 | "the frozen turkey man" | 1 | for a joke, compo and cle row 2 : 49 | 6 february 1983 | "the white man's grave" | 1 | the trio have clegg stand in for wall row 3 : 50 | 13 february 1983 | "the waist land" | 1 | foggy attempts to earn some ready cash by row 4 : 51 | 20 february 1983 | "cheering up ludovic | 1 | clegg is roped in to drive row 5 : 52 | 27 february 1983 | "the three astaires" | 1 | the trio help out at a church concert, row 6 : 53 | 6 march 1983 | "the arts of concealment" | 1 | foggy lands himself in trouble with a ] Execute this SQL based on the above table: select description where episode number > ( select episode number where description = 'for a joke, compo and clegg convince a barmaid that foggy is a multi-millionaire' )
the trio have clegg stand in for wally in an attempt to give wally a few hours' freedom, foggy attempts to earn some ready cash by smuggling junk food to some health farm inmates, clegg is roped in to drive a van when an old friend is too drunk to use it, the trio help out at a church concert, but compo is more interested in a suit of armour, foggy lands himself in trouble with a group of local cyclists when he demonstrates his supposed skill at camouflage
[ header: name | title | first year in this position | years at nebraska | alma mater row 1 : biff jones | head coach | 1937 | 1937-1941 | army row 2 : henry schulte | lineman coach | 1931 | 1919-1924, 1931-1937 | michigan row 3 : ed weir | freshmen coach | 1929 | 1926, 1929-1937, 1943 | nebraska row 4 : w. harold browne | assistant coach | 1930 | 1930-1940 | None row 5 : roy lyman | None | 1936 | 1936-1941 | None row 6 : adolph j. lewand | None | 1937 | 1937-1944 | nebraska row 7 : jerry adams | None | None | 1937 | None row 8 : charles armstrong | None | 1937 | 1937-1942, 1944 | None ] Execute this SQL based on the above table: select count ( * )
8
[ header: serial number | river | name | area (km2) | district | co-ordinate | altitude (m) row 1 : 1 | bharathapuzha | malampuzha | 23.13 | palakkad | 10°50′n 76°41′ | 104 row 2 : 2 | bharathapuzha | mangalam | 3.93 | palakkad | 10°31′n 76°32′ | 72 row 3 : 3 | bharathapuzha | meenkara | 2.59 | palakkad | 10°37′n 76°48′ | 152 row 4 : 4 | bharathapuzha | chulliar | 1.59 | palakkad | 10°35′n 76°46′ | 143 row 5 : 5 | bharathapuzha | pothundi | 3.63 | palakkad | 10°32′n 76°38′ | 93 row 6 : 9 | chalakkudy | thunakkadavu | 2.83 | palakkad | 10°25′59′′n 76° | 565 row 7 : 10 | chalakkudy | peruvaaripallam | None | palakkad | 10°26′49′′n 76° | 565 row 8 : 12 | chalakkudy | peringalkuthu dam | 2.63 | thrissur | None | None row 9 : 13 | kallada | parappar | 25.9 | kollam | 09° 57' 77° 4' | None row 10 : 15 | karuvanoor | peechi | 12.63 | thrissur | 10°32′n 76°23′ | 73 row 11 : 16 | keecheri | vazhani | 2.55 | thrissur | 10° 40' 76° 15' | None row 12 : 17 | kuttiadi | kuttiadi | 10.52 | kozhikode | 11° 36' 75° 49'27" | None row 13 : 19 | pamba | pamba | 5.7 | pathanamthitta | 09° 20' 76° 53' | None row 14 : 20 | pamba | kakki | 18 | pathanamthitta | None | None row 15 : 21 | periyar | idukki | 61.6 | idukki | 09° 48' 76° 53' | 720 row 16 : 22 | periyar | ponmudi | 2.6 | idukki | 09° 55' 77° 05' | None row 17 : 24 | periyar | kundala | 2.3 | idukki | 10° 0' 77° 0 | None row 18 : 26 | periyar | sengulam | 0.33 | idukki | 10° 00' 77° 05 | None row 19 : 27 | periyar | neriamangalam | 4.13 | idukki | None | None row 20 : 30 | valapattanam | pazhassi | 6.48 | kannur | None | None row 21 : 33 | chimmini dam | thrissur | 85.067 | thrissur | None | None ] Execute this SQL based on the above table: select max ( altitude (m) ) - min ( altitude (m) ) where serial number = 1
0.0
[ header: name | red vs. blue | couples team | status | weight | total votes row 1 : valerica marin 47, bucha | none | None | eliminated week 1 | 142 kg | 0 row 2 : tatiana musat 25, buch | none | None | eliminated week 1 | 150 kg | 0 row 3 : gige state 47, bucharest | none | None | eliminated week 1 | 200 kg | 0 row 4 : alex ionescu returned week 5 | none | None | eliminated week 1 | 196 kg | 0 row 5 : catalin chiriac 23, | blue team | None | 1st voted out week 1 | 146, 4 kg | 6 row 6 : dana mocanu 34, plo | red team | None | 2nd voted out week 2 | 111, 5 kg | 6 row 7 : daniela gheorghe | red team | None | 3rd voted out week 3 | 112, 8 kg | 5 row 8 : alexandra patrascu 37, | red team | None | eliminated week 4 | 118, 4 kg | 0 row 9 : mihai florescu 35, bucha | red team | None | 4th voted out week 4 | 175, 8 kg | 0 row 10 : alexandru briscu 26, | blue team | gray team | 5th voted out week 5 | 158, 1 kg | 0 row 11 : daniel sulugiu | blue team | yellow team | 5th voted out week 6 | 158, 1 kg | 0 row 12 : irina gur 39, | blue team | lightgreen team | 6th voted out week7 | 129,4 kg | 1 row 13 : dragos holeac 30, bucha | blue team | lightgreen team | 6th voted out week7 | 129,4 kg | 1 ] Execute this SQL based on the above table: select weight where couples team = 'lightgreen team'
129.4, 129.4
[ header: rank | athlete | nationality | time | notes row 1 : None | valeriy borchin | russia | 1:19:56 | None row 2 : None | vladimir kanay | russia | 1:20:27 | None row 3 : None | luis fernando lopez | colombia | 1:20:38 | sb row 4 : 4 | wang zhen | china | 1:20:54 | None row 5 : 5 | stanislav emelyanov | russia | 1:21:11 | None row 6 : 6 | kim hyun-sub | south korea | 1:21:17 | None row 7 : 7 | ruslan dmytrenko | ukraine | 1:21:31 | sb row 8 : 8 | yusuke suzuki | japan | 1:21:39 | None row 9 : 9 | alex schwazer | italy | 1:21:50 | sb row 10 : 10 | erick barrondo | guatemala | 1:22:08 | None row 11 : 11 | chu yafei | china | 1:22:10 | None row 12 : 12 | sergey morozov | russia | 1:22:37 | None row 13 : 14 | matej toth | slovakia | 1:22:55 | None row 14 : 15 | eder sanchez | mexico | 1:23:05 | None row 15 : 16 | joao vieira | portugal | 1:23:26 | None row 16 : 17 | miguel angel lopez | spain | 1:23:41 | None row 17 : 18 | anton kucmin | slovakia | 1:23:57 | None row 18 : 19 | james rendon | colombia | 1:24:08 | sb row 19 : 20 | horacio nava | mexico | 1:24:15 | None row 20 : 21 | christopher linke | germany | 1:24:17 | None row 21 : 22 | caio bonfim | brazil | 1:24:29 | None row 22 : 23 | trevor barron | united states | 1:24:33 | None row 23 : 24 | rafał augustyn | poland | 1:24:47 | None row 24 : 25 | byun youngjun | south korea | 1:24:48 | None row 25 : 28 | recep celik | turkey | 1:25:39 | None row 26 : 29 | nazar kovalenko | ukraine | 1:25:50 | None row 27 : 31 | babubhai panucha | india | 1:26:53 | None row 28 : 32 | david kimutai | kenya | 1:27:20 | sb row 29 : 33 | yerko araya | chile | 1:27:47 | None row 30 : 34 | hedi teraoui | tunisia | 1:29:48 | None row 31 : 35 | diego flores | mexico | 1:30:00 | None row 32 : 37 | emerson hernandez | el salvador | 1:30:48 | sb row 33 : 38 | ronald quispe | bolivia | 1:32:09 | pb row 34 : None | moacir zimmermann | brazil | dsq | None row 35 : None | gustavo restrepo | colombia | dsq | None row 36 : None | giorgio rubino | italy | dsq | None row 37 : None | anatole ibanez | sweden | dsq | None row 38 : None | adam rutter | australia | dnf | None row 39 : None | mauricio arteaga | ecuador | dnf | None ] Execute this SQL based on the above table: select count ( * ) where nationality = 'bolivia'
1
[ header: # | date | opponent | score | result | competition row 1 : 1 | 1988 | indonesia | 4-0 | won | 1988 afc u-17 championship group row 2 : 2 | 1988 | south korea | 6-1 | won | 1988 afc u-17 championship group row 3 : 3 | 1988 | south korea | 6-1 | won | 1988 afc u-17 championship group row 4 : 4 | 1988 | south korea | 6-1 | won | 1988 afc u-17 championship group row 5 : 5 | 1988 | south korea | 6-1 | won | 1988 afc u-17 championship group row 6 : 6 | 1988 | iraq | 2-1 | won | 1988 afc u-17 championship semifinal row 7 : 7 | 1988 | bahrain | 2-0 | won | 1988 afc u-17 championship final row 8 : 8 | 1988 | bahrain | 2-0 | won | 1988 afc u-17 championship final row 9 : 9 | june 12, 1989 | guinea | 2-2 | draw | 1989 fifa u-16 world championship group row 10 : 10 | june 12, 1989 | colombia | 1-0 | won | 1989 fifa u-16 world championship group row 11 : 11 | june 12, 1989 | bahrain | 1-0 | won | 1989 fifa u-16 world championship semifinal row 12 : 12 | february 22, 1989 | portugal | 3-0 | won | 1989 fifa world youth championship group stages row 13 : 13 | 1989 | kuwait | 1-0 | won | 1989 palestine cup of nations for youth group row 14 : 14 | 1989 | bahrain | 1-1(4-3) | lost | 1989 palestine cup of nations for youth third ] Execute this SQL based on the above table: select opponent order by id desc limit 1
bahrain
[ header: year | film | role | co-star | director | notes row 1 : 2004 | bachelor | None | None | mostofa sarwar farook | special appearance row 2 : 2010 | dubshatar | renu | shehzad chowdhury | nurul alam atik | first debut film daily star celebrating life-best actress row 3 : 2011 | firey esho behula | tanima | intekhab deenar, shahid | tanim noor | None row 4 : 2011 | guerrilla | bilkis banu | ferdous ahmed, | nasiruddin yousuff | national film award meril prothom al row 5 : 2012 | chorabali | noboni afroz | indraneil sengupt | redwan rony | national film award meril prothom al row 6 : 2013 | aborto | charu sen | tota roy chowdhur | arindam sil | first debut film in tollywood row 7 : 2013 | purnodoirgho prem | jara/zara | shakib khan, arefin | shafi uddin sha | first film with shakib khan row 8 : 2014 | parle theka (filming) | None | sushama sarkar | maruf hasan | None row 9 : 2014 | zero degree (filming) | sonia | mahfuz ahmed, r | animesh aich | None ] Execute this SQL based on the above table: select count ( co-star )
8
[ header: name | party | took office | left office row 1 : glenlyon campbell | conservative | 1903 | 1908 row 2 : duncan cameron | conservative | 1908 | 1910 row 3 : sam hughes | conservative | 1910 | 1915 row 4 : william findlater | liberal | 1915 | 1922 row 5 : arthur berry | progressive | 1922 | 1932 row 6 : None | liberal-progressive | 1932 | 1936 row 7 : stanley fox | social credit | 1936 | 1940 row 8 : None | social credit (coalition) | 1940 | 1949 row 9 : ray mitchell | liberal-progressive | 1949 | 1958 ] Execute this SQL based on the above table: select count ( name ) where name = 'arthur berry'
1
[ header: party | candidate(s) | votes | percentage row 1 : uup | peter weir alan m | 9270 | 25.6 row 2 : uk unionist | robert mccartney | 7579 | 20.9 row 3 : dup | st clair mcalister rub | 6699 | 18.5 row 4 : alliance | oliver napier brian wil | 6186 | 17.1 row 5 : sdlp | owen adams john bur | 1798 | 5 row 6 : pup | victor ash samuel | 1694 | 4.7 row 7 : ulster democratic | james mccullough | 651 | 1.8 row 8 : ni women's coalition | emma mcguigan an | 496 | 1.4 row 9 : conservative | ann thompson bruce | 444 | 1.2 row 10 : independent chambers | alan chambers james arbut | 334 | 0.9 row 11 : green (ni) | paddy mcevoy mary ring | 283 | 0.8 row 12 : sinn fein | mairtin o mulleoir | 275 | 0.8 row 13 : labour coalition | john magennis sean m | 171 | 0.5 row 14 : independent dup | thomas o'brien will | 97 | 0.3 row 15 : democratic left | daryl armitage tim davis | 95 | 0.3 row 16 : workers' party | dessie o'hagan colum | 60 | 0.2 row 17 : ulster independence | geoffrey watson glenn | 49 | 0.1 row 18 : independent voice | christopher carter fidelm | 49 | 0.1 row 19 : natural law | peter mcgowan tho | 15 | 0 ] Execute this SQL based on the above table: select count ( * ) where party = 'democratic left'
1
[ header: # | date | visitor | score | home | record row 1 : 21 | december 2, 1976 | san antonio spurs | 116-124 | golden state warriors | 11-10 row 2 : 22 | december 3, 1976 | san antonio spurs | 105-114 | los angeles lakers | 11-11 row 3 : 23 | december 5, 1976 | san antonio spurs | 98-103 | phoenix suns | 11-12 row 4 : 24 | december 8, 1976 | atlanta hawks | 117-106 | san antonio spurs | 11-13 row 5 : 25 | december 10, 1976 | san antonio spurs | 136-120 | milwaukee bucks | 12-13 row 6 : 26 | december 11, 1976 | new orleans jazz | 106-121 | san antonio spurs | 13-13 row 7 : 27 | december 14, 1976 | new york knicks | 98-111 | san antonio spurs | 14-13 row 8 : 28 | december 15, 1976 | san antonio spurs | 102-116 | indiana pacers | 14-14 row 9 : 29 | december 17, 1976 | san antonio spurs | 101-103 | chicago bulls | 14-15 row 10 : 30 | december 19, 1976 | san antonio spurs | 105-106 | cleveland cavaliers | 14-16 row 11 : 31 | december 21, 1976 | golden state warriors | 123-120 | san antonio spurs | 15-16 row 12 : 32 | december 23, 1976 | washington bullets | 116-118 | san antonio spurs | 16-16 row 13 : 33 | december 26, 1976 | san antonio spurs | 110-105 | kansas city kings | 17-16 row 14 : 34 | december 28, 1976 | philadelphia 76ers | 116-127 | san antonio spurs | 18-16 ] Execute this SQL based on the above table: select record where # = ( select # where record = '12-13' ) - 1
11-13
[ header: week | date | opponent | result | attendance row 1 : 1 | september 30, 1956 | philadelphia eagles | w 27-7 | 54,412 row 2 : 2 | october 7, 1956 | at san francisco 49ers | l 33-30 | 54,589 row 3 : 3 | october 14, 1956 | at detroit lions | l 24-21 | 56,281 row 4 : 4 | october 21, 1956 | at green bay packers | l 42-17 | 24,200 row 5 : 5 | october 28, 1956 | detroit lions | l 16-7 | 76,758 row 6 : 6 | november 4, 1956 | chicago bears | l 35-24 | 69,894 row 7 : 7 | november 11, 1956 | san francisco 49ers | w 30-6 | 69,828 row 8 : 8 | november 18, 1956 | at chicago bears | l 30-21 | 48,102 row 9 : 9 | november 25, 1956 | at baltimore colts | l 56-21 | 40,321 row 10 : 10 | december 2, 1956 | at pittsburgh steelers | l 30-13 | 20,450 row 11 : 11 | december 9, 1956 | baltimore colts | w 31-7 | 51,037 row 12 : 12 | december 16, 1956 | green bay packers | w 49-21 | 45,209 ] Execute this SQL based on the above table: select week where opponent = 'baltimore colts'
11
[ header: # | name | took office | left office | party row 1 : 1 | nejat konuk (2nd time | 15 november 1983 | 19 july 1985 | national unity party row 2 : 2 | dervis eroglu (1st time | 19 july 1985 | 1 january 1994 | national unity party row 3 : 3 | hakkı atun | 1 january 1994 | 16 august 1996 | democratic party row 4 : 2 | dervis eroglu (2nd time) | 16 august 1996 | 13 january 2004 | national unity party row 5 : 4 | mehmet ali talat | 13 january 2004 | 26 april 2005 | republican turkish party row 6 : 5 | ferdi sabit soyer | 26 april 2005 | 5 may 2009 | republican turkish party row 7 : 2 | dervis eroglu (3rd time | 5 may 2009 | 23 april 2010 | national unity party row 8 : None | huseyin ozgurgun | 23 april 2010 | 17 may 2010 | national unity party row 9 : 6 | irsen kucuk | 17 may 2010 | 13 june 2013 | national unity party row 10 : 7 | sibel siber | 13 june 2013 | 2 september 2013 | republican turkish party row 11 : 8 | ozkan yorgancıo | 2 september 2013 | incumbent | republican turkish party ] Execute this SQL based on the above table: select count ( name )
11
[ header: team | seasons | games | wins | ties | losses | goals for | goals against | goal diff | points row 1 : montreal canadiens | 94 | 6,120 | 3,135 | 837 | 2,148 | 19,929 | 16,416 | 3,513 | 7,203 row 2 : boston bruins | 87 | 5,960 | 2,856 | 791 | 2,313 | 19,109 | 17,459 | 1,650 | 6,609 row 3 : philadelphia flyers | 44 | 3,506 | 1,756 | 457 | 1,293 | 11,783 | 10,270 | 1,513 | 4,060 row 4 : buffalo sabres | 41 | 3,280 | 1,569 | 409 | 1,302 | 10,868 | 9,875 | 993 | 3,630 row 5 : los angeles kings | 44 | 3,506 | 1,428 | 424 | 1,654 | 11,306 | 12,016 | -710 | 3,373 row 6 : vancouver canucks | 41 | 3,280 | 1,353 | 391 | 1,536 | 10,378 | 1,1024 | -646 | 3,179 row 7 : washington capitals | 37 | 2,968 | 1,305 | 303 | 1,360 | 9,407 | 9,739 | -332 | 3,004 row 8 : new jersey devils (kansas | 37 | 2,968 | 1,260 | 328 | 1380 | 8,931 | 9,590 | -659 | 2,915 row 9 : colorado avalanche (que | 32 | 2,568 | 1,174 | 261 | 1,133 | 8,564 | 8,417 | 147 | 2,681 row 10 : phoenix coyotes (win | 32 | 2,568 | 1,063 | 266 | 1,239 | 8,058 | 8,809 | -756 | 2,473 row 11 : carolina hurricanes (hartford whaler | 32 | 2,568 | 1,049 | 263 | 1,256 | 7,808 | 8,599 | -791 | 2,447 row 12 : san jose sharks | 20 | 1,608 | 721 | 121 | 766 | 4,553 | 4,744 | -191 | 1,657 row 13 : ottawa senators | 19 | 1,528 | 679 | 115 | 734 | 4,401 | 4,506 | -105 | 1,556 row 14 : anaheim ducks | 18 | 1,444 | 638 | 107 | 699 | 3,863 | 4,021 | -158 | 1,477 row 15 : tampa bay lightning | 19 | 1,528 | 588 | 112 | 828 | 4,058 | 4,842 | -784 | 1,384 row 16 : minnesota wild | 11 | 902 | 405 | 55 | 442 | 2,259 | 2,338 | -79 | 945 row 17 : winnipeg jets (atlant | 12 | 984 | 379 | 45 | 550 | 2,690 | 3,260 | -570 | 891 row 18 : new york americans (1925-1941) | 17 | 784 | 255 | 127 | 402 | 1,643 | 2,182 | -539 | 637 row 19 : montreal maroons | 14 | 622 | 271 | 91 | 260 | 1,474 | 1,405 | 69 | 633 row 20 : quebec bulldogs (1919-1920 | 6 | 150 | 51 | 1 | 98 | 505 | 652 | -147 | 103 row 21 : montreal wanderers | 1 | 6 | 1 | 0 | 5 | 17 | 35 | -18 | 2 ] Execute this SQL based on the above table: select team where id = ( select id where team = 'montreal maroons' ) - 1
new york americans (1925-1941) brooklyn americans (1941-1942)
[ header: # | stadium | capacity | city | country | domed or retractable roof row 1 : 2 | at&t stadium | 80000 | arlington, texas | united states | rr row 2 : 4 | university of phoenix stadium | 73719 | glendale, arizona | united states | rr; retractable playing surface row 3 : 7 | georgia dome | 71228 | atlanta, georgia | united states | d row 4 : 9 | stade olympique de montreal | 66308 | montreal, quebec | canada | d row 5 : 10 | edward jones dome | 66000 | st. louis, missouri | united states | d row 6 : 14 | etihad stadium | 56347 | melbourne | australia | rr row 7 : 15 | arena nationala | 55600 | bucharest | romania | rr row 8 : 16 | tokyo dome | 55000 | tokyo | japan | d row 9 : 18 | friends arena | 54329 | solna, stockholm | sweden | rr row 10 : 19 | safeco field | 54097 | seattle, washington | united states | rr row 11 : 22 | turk telekom arena | 52647 | istanbul | turkey | rr row 12 : 24 | rogers centre | 52230 | toronto, ontario | canada | rr row 13 : 25 | amsterdam arena | 51628 | amsterdam | netherlands | rr row 14 : 26 | esprit arena | 51500 | dusseldorf | germany | rr row 15 : 27 | stade pierre-mauroy | 50186 | lille | france | rr row 16 : 29 | chase field | 49033 | phoenix, arizona | united states | rr row 17 : 30 | tropicana field | 45369 | st. petersburg, florid | united states | d row 18 : 32 | miller park | 42200 | milwaukee, wisconsin | united states | rr row 19 : 35 | oita stadium | 40000 | oita | japan | rr row 20 : 41 | parken stadion | 38065 | copenhagen | denmark | rr row 21 : 43 | nantong stadium | 32244 | nantong | china | rr row 22 : 45 | astana arena | 30000 | astana | kazakhstan | rr row 23 : 49 | walkup skydome | 16230 | flagstaff, arizona | united states | d row 24 : 50 | kibbie dome | 16000 | moscow, idaho | united states | d row 25 : 51 | alerus center | 13500 | grand forks, north dakota | united states | d row 26 : 52 | holt arena | 12000 | pocatello, idaho | united states | d row 27 : 55 | etsu/mountain states | 8539 | johnson city, tennessee | united states | d ] Execute this SQL based on the above table: select city where city != 'amsterdam' and capacity = 45369
st. petersburg, florida
[ header: name | elected party | constituency | elected date | military service row 1 : john pallett | progressive conservative | peel | march 22, 1954 | canadian army (1942-1946) row 2 : william albert patterson | conservative | colchester | march 5, 1891 | militia row 3 : william hector payne | progressive conservative | coast-capilano | march 31, 1958 | canadian army (1941-1945) row 4 : george randolph pearkes | progressive conservative | nanaimo | june 11, 1945 | canadian army (1915-1945) row 5 : lester bowles pearson | liberal | algoma east | october 25, 1948 | canadian army (1914-1917), royal row 6 : cyrus wesley peck | unionist | skeena | december 17, 1917 | canadian army (1914-1925) row 7 : charles alphonse pantaleon | liberal | kamouraska | february 17, 1869 | militia row 8 : irenee pelletier | liberal | sherbrooke | october 30, 1972 | royal canadian air force (1960-1962 row 9 : louis-philippe pelletier | conservative | quebec county | september 21, 1911 | militia row 10 : lawrence t. pennell | liberal | brant-haldimand | june 18, 1962 | royal canadian air force row 11 : robert pennock | progressive conservative | etobicoke north | september 4, 1984 | canadian army (1951-1952), royal row 12 : arnold peters | cooperative commonwealth federation | timiskaming | june 10, 1957 | royal canadian air force (1942-1945 row 13 : orville h. phillips | progressive conservative | prince | june 10, 1957 | royal canadian air force (1942-1945 row 14 : elmore philpott | liberal | vancouver south | august 10, 1953 | canadian army (1915-1919) row 15 : bernard pilon | liberal | chambly-rouville | june 18, 1962 | canadian army (1941-1945) row 16 : alfred pinsonneault | conservative | laprairie | september 20, 1867 | militia (1855-1862) row 17 : d'arcy britton plu | conservative | victoria | december 6, 1928 | royal flying corps row 18 : william albert pommer | liberal | lisgar | august 10, 1953 | canadian army row 19 : john henry pope | liberal-conservative | compton | september 20, 1867 | militia row 20 : john poupore | conservative | pontiac | september 17, 1878 | militia (1869-) row 21 : charles gavan power | liberal | quebec south | december 17, 1917 | canadian army (1915-1918) row 22 : russ powers | liberal | ancaster--dundas-- | june 28, 2004 | canadian forces land force command row 23 : david price | progressive conservative | compton-stanstead | june 2, 1997 | canadian army (1959-1965) row 24 : william price | conservative | quebec west | october 26, 1908 | canadian army row 25 : robert william pritt | new democratic | burnaby-richmond | june 18, 1962 | royal canadian air force (1938-1945 row 26 : john oliver probe | cooperative commonwealth federation | regina city | june 11, 1945 | canadian army (1941-1944) ] Execute this SQL based on the above table: select military service where constituency = 'victoria'
royal flying corps
[ header: s.no. | name of kingdom | name of king | no. of villages | capital | names of districts row 1 : 1 | sihag | chokha singh | 150 | suin | rawatsar, baramsar, row 2 : 2 | beniwal | raisal singh | 150 | rasalana | bhukarka, sand row 3 : 3 | johiya | sher singh | 600 | bhurupal | jaitpur, kumanu, ma row 4 : 4 | punia | kanha singh | 300 | luddi | bhadra, ajitpura row 5 : 5 | saharan | pula singh | 300 | bhadang | khejra, phoglo row 6 : 6 | godara | pandu singh | 700 | shekhsar | shekhsar, pundrasar row 7 : 7 | kaswan | kanwarpal singh | 400 | sidhmukh | None ] Execute this SQL based on the above table: select capital order by s.no. limit 1885
suin, rasalana, bhurupal, luddi, bhadang, shekhsar, sidhmukh
[ header: selected latin american countries | internl. tourism arrivals 2010 (x 1000) | internl. tourism receipts. 2010 (usd (x1000) | average receipt per visitor 2009 (usd/turista) | tourist arrivals per 1000 inhab (estimated) 2007 | receipts per capita 2005 usd | revenues as % exports of goods and services 2003 | tourism income % gdp 2003 | % direct and indirect employment in tourism 2005 | world ranking tourism competitiv. ttci 2011 | 2011 ttci index row 1 : argentina | 5288 | 4930 | 932 | 115 | 57 | 7.4 | 1.8 | 9.1 | 60 | 4.2 row 2 : brazil | 5161 | 5919 | 1147 | 26 | 18 | 3.2 | 0.5 | 7 | 52 | 4.36 row 3 : chile | 2766 | 1636 | 591 | 151 | 73 | 5.3 | 1.9 | 6.8 | 57 | 4.27 row 4 : costa rica | 2100 | 2111 | 1005 | 442 | 343 | 17.5 | 8.1 | 13.3 | 44 | 4.43 row 5 : cuba | 2507 | None | None | 188 | 169 | None | None | None | None | None row 6 : dominican republic | 4125 | 4240 | 1028 | 408 | 353 | 36.2 | 18.8 | 19.8 | 72 | 3.99 row 7 : mexico | 22395 | 11872 | 530 | 201 | 103 | 5.7 | 1.6 | 14.2 | 43 | 4.43 row 8 : panama | 1317 | 1676 | 1273 | 330 | 211 | 10.6 | 6.3 | 12.9 | 56 | 4.3 row 9 : peru | 2299 | 2274 | 989 | 65 | 41 | 9 | 1.6 | 7.6 | 69 | 4.04 row 10 : uruguay | 2352 | 1496 | 636 | 525 | 145 | 14.2 | 3.6 | 10.7 | 58 | 4.24 ] Execute this SQL based on the above table: select min ( abs ( tourism income % gdp 2003 - tourist arrivals per 1000 inhab (estimated) 2007 ) )
25.5
[ header: year | name | date | stages | distance | winner | time row 1 : 1982 | marlboro tour | 22 april-9 may | 15 | 2,192 km | jacinto sicam (phi) | 61:29:17 row 2 : 1983 | marlboro tour | 16 april-1 may | 14 | 2,313.11 km | romeo bonzo (phi) | 63:54:31 row 3 : 1984 | marlboro tour | 26 may-10 june | 14 | 2,464 km | ruben carino (phi) | 68:08:49 row 4 : 1985 | marlboro tour | 18 april-12 may | 21 | 3,668.97 km | pepito calip (phi) | 97:04:42 row 5 : 1986 | marlboro tour | 26 april-11 may | 10 | 2,900.77 km | rolando pagnanaw | 77:39:53 row 6 : 1987 | marlboro tour | 21 may-7 june | 17 | 3,282 km | reynaldo dequito | 88:06:50 row 7 : 1988 | marlboro tour | 28 april-15 may | 17 | 3,544.53 km | armando catalan (phi) | 94:44:03 row 8 : 1989 | marlboro tour | 26 april-14 may | 18 | 3,539.47 km | gerardo igos (phi | 95:40:23 row 9 : 1990 | marlboro tour | 18 april-6 may | 18 | 3,317.42 km | manuel buenaventura (phi) | 95:58:38 row 10 : 1991 | marlboro tour | 25 april-12 may | 17 | 2,373.61 km | bernardo llentad | 63:33:17 row 11 : 1992 | marlboro tour | 21 may-7 june | 17 | 2,731.38 km | renato dolosa (phi) | 71:21:49 row 12 : 1993 | marlboro tour | 17 april-9 may | 21 | 3,480 km | carlo guieb (phi) | 91:41:54 row 13 : 1994 | marlboro tour | 17 april-9 may | 20 | 3,563 km | carlo guieb (phi) | 91:24:13 row 14 : 1995 | marlboro tour | 18 march-8 april | 19 | 3,280.33 km | renato dolosa (phi) | 83:43:39 row 15 : 1996 | marlboro tour | 14 april-5 may | 19 | 3,257.29 km | victor espiritu (phi | 80:50:46 row 16 : 1997 | marlboro tour | 16 april-4 may | 16 | 2,472 km | wong kam-po (hkg) | 62:06:28 row 17 : 1998 | marlboro centennial tour | 15 april-3 may | 16 | 2,494 km | warren davadilla (phi) | 64:58:57 row 18 : 1999-2001 | cancelled | cancelled | cancelled | cancelled | cancelled | cancelled ] Execute this SQL based on the above table: select count ( winner ) where stages = 16
2
[ header: tie no | home team | score | away team | attendance row 1 : 1 | chesterfield | 1-0 | nottingham forest | 15 february 1997 row 2 : 2 | leicester city | 2-2 | chelsea | 16 february 1997 row 3 : replay | chelsea | 1-0 | leicester city | 26 february 1997 row 4 : 3 | derby county | 3-2 | coventry city | 26 february 1997 row 5 : 4 | manchester city | 0-1 | middlesbrough | 15 february 1997 row 6 : 5 | bradford city | 0-1 | sheffield wednesday | 16 february 1997 row 7 : 6 | wimbledon | 2-1 | queens park rangers | 15 february 1997 row 8 : 7 | leeds united | 2-3 | portsmouth | 15 february 1997 row 9 : 8 | birmingham city | 1-3 | wrexham | 15 february 1997 ] Execute this SQL based on the above table: select away team where away team != 'middlesbrough' and home team = 'derby county'
coventry city
[ header: tie no | home team | score | away team | date row 1 : 1 | leicester city | 1-2 | manchester united | 14 february 1976 row 2 : 2 | bolton wanderers | 3-3 | newcastle united | 14 february 1976 row 3 : replay | newcastle united | 0-0 | bolton wanderers | 18 february 1976 row 4 : replay | bolton wanderers | 1-2 | newcastle united | 23 february 1976 row 5 : 3 | wolverhampton wanderers | 3-0 | charlton athletic | 14 february 1976 row 6 : 4 | west bromwich albion | 1-1 | southampton | 14 february 1976 row 7 : replay | southampton | 4-0 | west bromwich albion | 17 february 1976 row 8 : 5 | derby county | 1-0 | southend united | 14 february 1976 row 9 : 6 | norwich city | 1-2 | bradford city | 23 february 1976 row 10 : 7 | chelsea | 2-3 | crystal palace | 14 february 1976 row 11 : 8 | stoke city | 0-0 | sunderland | 14 february 1976 row 12 : replay | sunderland | 2-1 | stoke city | 17 february 1976 ] Execute this SQL based on the above table: select score where score in ( '1-2' , '0-0' ) group by score order by sum ( score - away team ) desc limit 1
1-2
[ header: polling firm | month | link | favor | oppose row 1 : rutgers-eagleton | march 2014 | None | 64 | 28 row 2 : quinnipiac | july 2013 | None | 60 | 31 row 3 : rutgers-eagleton | june 2013 | None | 59 | 30 row 4 : quinnipiac | march 2013 | None | 64 | 30 row 5 : public policy polling | november 2012 | None | 53 | 36 row 6 : quinnipiac | february 2012 | None | 57 | 37 row 7 : rutgers-eagleton | february 2012 | None | 54 | 35 row 8 : quinnipiac | january 2012 | None | 52 | 42 row 9 : rutgers-eagleton | october 2011 | None | 52 | 39 row 10 : rutgers-eagleton | august 2011 | None | 52 | 32 row 11 : public policy polling | july 2011 | None | 47 | 42 row 12 : quinnipiac | november 2009 | None | 46 | 49 row 13 : rutgers-eagleton | november 2009 | None | 50 | 42 row 14 : quinnipiac | april 2009 | None | 49 | 43 row 15 : zogby international | august 2008 | None | 50 | 42 row 16 : zogby international | august 2007 | None | 48.1 | 44.6 row 17 : rasmussen reports | july 2006 | None | 42 | 54 row 18 : rutgers-eagleton | june 2006 | pdf | 49 | 44 row 19 : zogby international | february 2006 | None | 56 | 39 row 20 : zogby international | april 2005 | html | 54.5 | 40.1 row 21 : rutgers-eagleton | september 2003 | pdf | 43 | 50 row 22 : zogby international | july 2003 | None | 55 | 41 ] Execute this SQL based on the above table: select polling firm order by favor desc limit 1
rutgers-eagleton
[ header: rank | lane | athlete | time row 1 : None | 5 | olga teresh | 51.86 row 2 : None | 6 | manjeet kaur (ind) | 52.17 row 3 : None | 3 | asami tanno (jpn) | 53.04 row 4 : 4 | 4 | pinki pramanik (ind) | 53.06 row 5 : 5 | 1 | tang xiaoyin (chn | 53.66 row 6 : 6 | 8 | marina maslyonko (kaz | 53.99 row 7 : 7 | 7 | mayu kida (jpn) | 54.27 row 8 : 8 | 2 | chandrika subashini ( | 56.57 ] Execute this SQL based on the above table: select count ( athlete ) where athlete not null
8
[ header: # | player | pos | pts | tries | conv | pens | drop | opposition | venue | date row 1 : 1 | stefano bettarello | fly-half | 29 | 1 | 2 | 5 | 2 | canada | toronto | 1 july 1982 row 2 : 1 | diego dominguez | fly-half | 29 | 0 | 1 | 6 | 3 | scotland | rome | 5 february 2000 row 3 : 1 | diego dominguez | fly-half | 29 | 0 | 4 | 7 | 0 | fiji | treviso | 10 november 2001 row 4 : 4 | diego dominguez | fly-half | 28 | 1 | 7 | 3 | 0 | netherlands | calvisano | 21 may 1994 row 5 : 5 | diego dominguez | fly-half | 27 | 1 | 2 | 6 | 0 | ireland | bologna | 20 december 1997 row 6 : 6 | diego dominguez | fly-half | 25 | 0 | 5 | 5 | 0 | romania | tarbes | 26 october 1997 row 7 : 7 | luigi troiani | fly-half | 24 | 0 | 12 | 0 | 0 | czech republic | viadana | 18 may 1994 row 8 : 7 | diego dominguez | fly-half | 24 | 0 | 0 | 8 | 0 | romania | catania | 1 october 1994 row 9 : 7 | mirco bergamasco | wing | 24 | 0 | 0 | 8 | 0 | fiji | modena | 27 november 2010 row 10 : 10 | 3 players on 23 points | None | None | None | None | None | None | None | None | None ] Execute this SQL based on the above table: select player where player in ( 'stefano bettarello' , 'luigi troiani' ) order by conv desc limit 1
luigi troiani
[ header: date | round | opponent | venue | result | attendance | scorers row 1 : 16 september 1992 | r1 | lyngby | h | 2-0 | 40036 | hateley, huistra row 2 : 30 september 1992 | r1 | lyngby | a | 1-0 | 4273 | durrant row 3 : 21 october 1992 | r2 | leeds united | h | 2-1 | 43251 | mccoist, lukic row 4 : 4 november 1992 | r2 | leeds united | a | 2-1 | 25118 | hateley, mccoist row 5 : 25 november 1992 | gs | marseille | h | 2-2 | 41624 | mcswegan, hateley row 6 : 9 december 1992 | gs | cska moscow | a | 1-0 | 9000 | ferguson row 7 : 3 march 1993 | gs | club brugge | a | 1-1 | 19000 | huistra row 8 : 17 march 1993 | gs | club brugge | h | 2-1 | 42731 | durrant, nisbet row 9 : 7 april 1993 | gs | marseille | a | 1-1 | 46000 | durrant row 10 : 21 april 1993 | gs | cska moscow | h | 0-0 | 43142 | None ] Execute this SQL based on the above table: select date where attendance > 1960 order by attendance desc limit 1
7 april 1993
[ header: year | film | song | language row 1 : 2005 | the tiger | kaliya visha dhara | malayalam row 2 : 2006 | chinthamani kolacase | asathoma | malayalam row 3 : 2006 | the don | theme song | malayalam row 4 : 2007 | detective | theme song | malayalam row 5 : 2008 | sound of boot | yamuna sangitaam | malayalam row 6 : 2009 | kerala cafe (bgm) | lalitham hiranmyam | malayalam row 7 : 2010 | ringtone | 5 songs | malayalam row 8 : 2010 | "thriller | bgm | malayalam row 9 : 2011 | thaazhvaarakaat | 5 songs | malayalam row 10 : 2012 | shyloo | shyloo | kannada row 11 : 2012 | crime story | 3 songs | malayalam row 12 : 2012 | munjane | yaro ob sund | kannada row 13 : 2012 | sankranthi | belakkilla balali | kannada row 14 : 2012 | kai thunindavan | 5 songs | tamil ] Execute this SQL based on the above table: select year where language = 'kannada'
2012, 2012, 2012
[ header: year | title | chart-positions uk | chart-positions us | chart-positions nl | comments row 1 : 1969 | renaissance | 60 | None | 10 | None row 2 : 1971 | illusion | None | None | None | 1976 (uk) row 3 : 1972 | prologue | None | None | None | None row 4 : 1973 | ashes are burning | None | 171 | None | None row 5 : 1974 | turn of the cards | None | 94 | None | 1975 (uk) row 6 : 1975 | scheherazade and other stories | None | 48 | None | None row 7 : 1977 | novella | None | 46 | None | 1977 (january in us, august in row 8 : 1978 | a song for all seasons | 35 | 58 | None | uk:silver row 9 : 1979 | azure d'or | 73 | 125 | None | None row 10 : 1981 | camera camera | None | 196 | None | None row 11 : 1983 | time-line | None | 207 | None | None row 12 : 2001 | tuscany | None | None | None | None row 13 : 2013 | grandine il vento | None | None | None | None ] Execute this SQL based on the above table: select title where title in ( 'novella' , 'renaissance' ) and title = 'novella'
novella
[ header: state | interview | swimsuit | evening gown | average row 1 : idaho | 8.688 | 8.925 | 8.850 | 8.821 row 2 : kentucky | 8.863 | 9.175 | 9.400 | 9.146 row 3 : vermont | 8.425 | 9.013 | 9.300 | 8.913 row 4 : texas | 8.688 | 8.975 | 8.875 | 8.846 row 5 : north dakota | 8.800 | 8.975 | 9.175 | 8.983 row 6 : washington | 8.688 | 8.788 | 8.863 | 8.779 row 7 : alabama | 8.650 | 8.475 | 8.938 | 8.688 row 8 : south dakota | 8.300 | 8.838 | 8.513 | 8.550 row 9 : new york | 8.463 | 8.713 | 8.400 | 8.525 row 10 : oklahoma | 8.275 | 8.325 | 8.700 | 8.433 ] Execute this SQL based on the above table: select state where evening gown < '8.513' order by evening gown desc limit 1
new york
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 9 | kimi raikkonen | mclaren-mercedes | 44 | 1:30:01.295 | 2 | 10 row 2 : 2 | 5 | fernando alonso | renault | 44 | 28.394 | 4 | 8 row 3 : 3 | 3 | jenson button | bar-honda | 44 | 32.077 | 8 | 6 row 4 : 4 | 7 | mark webber | williams-bmw | 44 | +1:09.167 | 9 | 5 row 5 : 5 | 2 | rubens barrichello | ferrari | 44 | +1:18.136 | 12 | 4 row 6 : 6 | 11 | jacques villeneuve | sauber-petronas | 44 | +1:27.435 | 14 | 3 row 7 : 7 | 17 | ralf schumacher | toyota | 44 | +1:27.574 | 5 | 2 row 8 : 8 | 18 | tiago monteiro | jordan-toyota | 43 | +1 lap | 19 | 1 row 9 : 9 | 15 | christian klien | red bull-cosworth | 43 | +1 lap | 16 | None row 10 : 10 | 12 | felipe massa | sauber-petronas | 43 | +1 lap | 7 | None row 11 : 11 | 19 | narain karthikeyan | jordan-toyota | 43 | +1 lap | 20 | None row 12 : 12 | 21 | christijan albers | minardi-cosworth | 42 | +2 laps | 18 | None row 13 : 13 | 20 | robert doornbos | minardi-cosworth | 41 | +3 laps | 17 | None row 14 : 14 | 10 | juan pablo montoya | mclaren-mercedes | 40 | collision | 1 | None row 15 : 15 | 8 | antonio pizzonia | williams-bmw | 39 | collision | 15 | None row 16 : ret | 16 | jarno trulli | toyota | 34 | accident | 3 | None row 17 : ret | 14 | david coulthard | red bull-cosworth | 18 | engine | 11 | None row 18 : ret | 1 | michael schumacher | ferrari | 13 | collision | 6 | None row 19 : ret | 4 | takuma sato | bar-honda | 13 | collision | 10 | None row 20 : ret | 6 | giancarlo fisichella | renault | 10 | accident | 13 | None ] Execute this SQL based on the above table: select count ( * ) where driver = 'antonio pizzonia'
1
[ header: pos | no. | driver | team | laps | time/retired | grid | laps led | points row 1 : 2 | 4 | j. r. hilde | panther racing | 200 | 2.1086 | 12 | 7 | 44 row 2 : 3 | 38 | graham rahal | chip ganassi racing | 200 | 5.5949 | 29 | 6 | 38 row 3 : 4 | 82 | tony kanaan | kv racing technology - lotus | 200 | 7.487 | 22 | 0 | 36 row 4 : 5 | 9 | scott dixon (w)1 | chip ganassi racing | 200 | 9.5434 | 2 | 73 | 45 row 5 : 7 | 30 | bertrand baguette | rahal letterman lanigan racing | 200 | 23.9631 | 14 | 11 | 30 row 6 : 9 | 26 | marco andretti | andretti autosport | 200 | 25.7411 | 27 | 0 | 25 row 7 : 12 | 10 | dario franchitti (w) | chip ganassi racing | 200 | 56.4167 | 9 | 51 | 24 row 8 : 14 | 12 | will power | team penske | 199 | +1 lap | 5 | 0 | 26 row 9 : 15 | 14 | vitor meira | a. j. foyt enterprises | 199 | +1 lap | 11 | 0 | 19 row 10 : 17 | 3 | helio castroneves (w | team penske | 199 | +1 lap | 16 | 0 | 17 row 11 : 18 | 44 | buddy rice (w) | panther racing | 198 | +2 laps | 7 | 0 | 20 row 12 : 19 | 19 | alex lloyd | dale coyne racing | 198 | +2 laps | 30 | 0 | 15 row 13 : 20 | 36 | pippa mann (r) | conquest racing | 198 | +2 laps | 31 | 0 | 15 row 14 : 21 | 24 | ana beatriz | dreyer & reinbold racing | 197 | +3 laps | 32 | 0 | 15 row 15 : 22 | 43 | john andretti | andretti autosport | 197 | +3 laps | 17 | 0 | 16 row 16 : 24 | 11 | davey hamilton | dreyer & reinbold racing | 193 | +7 laps | 15 | 0 | 16 row 17 : 25 | 23 | paul tracy | dreyer & reinbold racing | 175 | +25 laps | 24 | 0 | 13 row 18 : 26 | 99 | townsend bell | sam schmidt motorsports | 157 | contact | 4 | 0 | 21 row 19 : 28 | 77 | alex tagliani | sam schmidt motorsports | 147 | contact | 1 | 20 | 25 row 20 : 29 | 6 | james hinchcliffe (r) | newman/haas racing | 99 | contact | 13 | 0 | 14 row 21 : 31 | 78 | simona de silvestro | hvm racing | 44 | handling | 23 | 0 | 14 row 22 : 33 | 5 | takuma sato | kv racing technology - lotus | 20 | contact | 10 | 0 | 14 ] Execute this SQL based on the above table: select pos where id = ( select id where pos = 21 ) + 1
22
[ header: position | team | points | played | won | drawn | lost | for | against | difference row 1 : 1 | paulistano | 30 | 18 | 14 | 2 | 2 | 62 | 19 | 43 row 2 : 2 | palestra italia-sp | 29 | 18 | 14 | 1 | 3 | 59 | 21 | 38 row 3 : 3 | corinthians | 26 | 18 | 12 | 2 | 4 | 51 | 16 | 35 row 4 : 4 | ypiranga-sp | 25 | 18 | 11 | 3 | 4 | 56 | 34 | 22 row 5 : 5 | aa sao bento | 16 | 18 | 7 | 2 | 9 | 38 | 44 | -6 row 6 : 6 | santos | 13 | 18 | 6 | 1 | 11 | 36 | 43 | -7 row 7 : 7 | sc internacional de sa | 11 | 15 | 3 | 5 | 7 | 26 | 44 | -18 row 8 : 8 | minas gerais | 10 | 15 | 4 | 2 | 9 | 18 | 49 | -31 row 9 : 9 | aa das palmeiras | 6 | 15 | 3 | 0 | 12 | 27 | 57 | -30 row 10 : 10 | mackenzie | 2 | 15 | 1 | 0 | 14 | 11 | 57 | -46 ] Execute this SQL based on the above table: select team order by difference limit 1
mackenzie
[ header: pos. | driver | co-driver | car | time row 1 : 1 | giandomenico basso | lorenzo granai | peugeot 207 s2000 | 2h28m50.8s row 2 : 2 | bruno magalhaes | nuno r. silva | peugeot 207 s2000 | +07.3s row 3 : 3 | miguel nunes | joao paulo | mitsubishi lancer x r4 | + 3m30.8s row 4 : 4 | pedro meireles | mario castro | skoda fabia s2000 | +3m42.5s row 5 : 5 | luca betti | francesco pezzoli | ford fiesta s2000 | +4m04.1s row 6 : 6 | filipe freitas | daniel figueiroa | mitsubishi lancer x r4 | +5m36s row 7 : 7 | filipe pires | vasco rodrigues | mitsubishi lancer x | +9m11.2s row 8 : 8 | luis serrado | joao sousa | peugeot 206 s1600 | +10m53.7s row 9 : 9 | jose camacho | fernando spinola | peugeot 206 s1600 | +13m08.3s row 10 : 10 | rui conceicao | duarte coelho | ford escort cosworth | +16m50.1s ] Execute this SQL based on the above table: select sum ( pos. ) where id in ( select id where driver = 'luca betti' order by pos. desc limit 5 )
5.0
[ header: rank | title | studio | director | actors | gross row 1 : 1 | the sound of music | 20th century fox | robert wise | julie andrews, christ | $163,214,286 row 2 : 2 | doctor zhivago | metro-goldwyn-mayer | david lean | omar sharif, ju | $111,721,910 row 3 : 4 | those magnificent men in their flying machines | 20th century fox | ken annakin | stuart whitman, sara | $31,111,111 row 4 : 8 | what's new pussycat? | united artists | clive donner | peter sellers, peter o'tool | $18,820,000 row 5 : 9 | shenandoah | universal pictures | andrew v. mclagle | james stewart, doug | $17,268,889 row 6 : 10 | von ryan's express | 20th century fox | mark robson | frank sinatra, trevor | $17,111,111 row 7 : 12 | for a few dollars more | united artists | sergio leone | clint eastwood, lee van | $15,000,000 row 8 : 13 | the sandpiper | metro-goldwyn-mayer | vincente minnelli | elizabeth tay | $13,691,111 row 9 : 16 | help! | united artists | richard lester | john lennon, paul | $12,066,667 row 10 : 19 | the agony and the ecsta | 20th century fox | carol reed | charlton heston, rex | $8,000,000 ] Execute this SQL based on the above table: select title group by title order by count ( * ) asc limit 1
doctor zhivago
[ header: year | position row 1 : 1957 | did not enter row 2 : 1959 | did not enter row 3 : 1962 | did not enter row 4 : 1963 | did not enter row 5 : 1965 | did not enter row 6 : 1968 | did not qualify row 7 : 1970 | did not qualify row 8 : 1972 | round 1 row 9 : 1974 | withdrew row 10 : 1976 | did not qualify row 11 : 1978 | did not qualify row 12 : 1980 | did not qualify row 13 : 1982 | did not qualify row 14 : 1984 | round 1 row 15 : 1986 | did not qualify row 16 : 1988 | did not qualify row 17 : 1990 | withdrew row 18 : 1992 | did not qualify row 19 : 1994 | withdrew during qualifying row 20 : 1996 | did not qualify row 21 : 1998 | round 1 row 22 : 2000 | round 1 row 23 : 2002 | round 1 row 24 : 2004 | did not qualify row 25 : 2006 | round 1 row 26 : 2008 | did not qualify row 27 : 2010 | withdrew due to rebel attack row 28 : 2012 | did not qualify row 29 : 2013 | quarter-final ] Execute this SQL based on the above table: select count ( position ) where position = 'did not qualify' and year <= 1965
0
[ header: year built | works number | wheel arr. | gauge | original owner | name | current location | notes row 1 : 1882 | 283 | 0-4-0st | 1 ft 10 3⁄4 in (5 | penrhyn quarry | charles | penrhyn castle railway museum | None row 2 : 1883 | 316 | 0-4-0st | 2 ft | penrhyn quarry | gwynedd | bressingham steam museum | penrhyn port class row 3 : 1883 | 317 | 0-4-0st | 1 ft 11 1⁄2 in (5 | penrhyn quarry | lilian | launceston steam railway | penrhyn port class row 4 : 1889 | 493 | 0-4-0st | 1 ft 11 3⁄4 in (6 | dinorwic quarry | elidir | llanberis lake railway | previously named "red damsel" row 5 : 1890 | 518 | 2-2-0t | (1000mm) | s.v.t. 8 | tortosa-la cava1 | tortosa (catalonia, spa | None row 6 : 1891 | 554 | 0-4-0st | 1 ft 11 1⁄2 in (5 | cilgwyn quarry, then penr | lilla | ffestiniog railway | None row 7 : 1894 | 606 | 0-4-0st | 2 ft | penrhyn quarry | alan george | teifi valley railway | None row 8 : 1896 | 652 | 0-4-0st | 1 ft 11 1⁄2 in (5 | groby granite, then dinorwic | lady madcap | welsh highland heritage railway | originally named sextus row 9 : 1898 | 680 | 0-4-0st | 2 ft (610 mm) | dinorwic quarry | george b | bala lake railway | None row 10 : 1898 | 684 | 0-4-0wt | 18 in (457 mm) | john knowles co | jack | armley mills industrial museum, leed | None row 11 : 1899 | 705 | 0-4-0st | 2 ft (610 mm) | penrhyn quarry | elin | yaxham light railway | previously at the lincolnshire coast row 12 : 1901 | 763 | 0-4-0st | 1 ft 11 1⁄2 in (5 | dorothea quarry | dorothea | launceston steam railway | None row 13 : 1903 | 823 | 0-4-0st | 2 ft | dinorwic quarry | irish mail | west lancashire light railway | None row 14 : 1909 | 994 | 0-4-0st | 2 ft | penrhyn quarry | bill harvey | bressingham steam museum | previously george sholto row 15 : 1918 | 1312 | 4-6-0t | 1 ft 11 1⁄2 in (5 | british war department efo | None | pampas safari, gravatai | [citation needed] row 16 : 1920 | 1404 | 0-4-0wt | 18 in (457 mm) | john knowles co | gwen | richard farmer current owner, northridge, | None row 17 : 1922 | 1429 | 0-4-0st | 2 ft (610 mm) | dinorwic | lady joan | bredgar and wormshill light | None row 18 : 1922 | 1430 | 0-4-0st | 1 ft 11 3⁄4 in (6 | dinorwic quarry | dolbadarn | llanberis lake railway | None ] Execute this SQL based on the above table: select works number where year built = 1891
554.0
[ header: week | date | opponent | results final score | results team record | venue | attendance row 1 : 1 | september 20 | at detroit lions | w 16-13 | 1-0 | tiger stadium | 54,418 row 2 : 2 | september 26 | chicago bears | l 20-17 | 1-1 | metropolitan stadium | 47,900 row 3 : 3 | october 3 | buffalo bills | w 19-0 | 2-1 | metropolitan stadium | 47,900 row 4 : 4 | october 10 | at philadelphia eagle | w 13-0 | 3-1 | veterans stadium | 65,358 row 5 : 5 | october 17 | at green bay packers | w 24-13 | 4-1 | lambeau field | 56,263 row 6 : 6 | october 25 | baltimore colts | w 10-3 | 5-1 | metropolitan stadium | 49,784 row 7 : 7 | october 31 | at new york giants | w 17-10 | 6-1 | yankee stadium | 62,829 row 8 : 8 | november 7 | san francisco 49ers | l 13-9 | 6-2 | metropolitan stadium | 49,784 row 9 : 9 | november 14 | green bay packers | w 3-0 | 7-2 | metropolitan stadium | 49,784 row 10 : 10 | november 21 | at new orleans saints | w 23-10 | 8-2 | tulane stadium | 83,130 row 11 : 11 | november 28 | atlanta falcons | w 24-7 | 9-2 | metropolitan stadium | 49,784 row 12 : 12 | december 5 | at san diego chargers | l 30-14 | 9-3 | san diego stadium | 54,505 row 13 : 13 | december 11 | detroit lions | w 29-10 | 10-3 | metropolitan stadium | 49,784 row 14 : 14 | december 19 | at chicago bears | w 27-10 | 11-3 | soldier field | 55,049 ] Execute this SQL based on the above table: select opponent order by attendance desc limit 1
at new orleans saints
[ header: year | competition | venue | position | event | notes row 1 : 2002 | world junior championships | kingston, jamaica | 17th (q) | shot put (6 kg) | 17.77 m row 2 : 2003 | european junior championships | tampere, finland | 2nd | shot put (6 kg) | 20.10 m row 3 : 2005 | european u23 championships | erfurt, germany | 1st | shot put | 20.44 m row 4 : 2005 | world championships | helsinki, finland | 15th (q) | shot put | 19.56 m row 5 : 2005 | universiade | izmir, turkey | 3rd | shot put | 19.40 m row 6 : 2006 | world indoor championships | moscow, russia | 8th | shot put | 19.93 m row 7 : 2006 | european championships | gothenburg, sweden | 11th | shot put | 19.44 m row 8 : 2007 | european indoor championships | birmingham, united kingdom | 11th (q) | shot put | 19.12 m row 9 : 2007 | world championships | osaka, japan | 13th (q) | shot put | 19.91 m row 10 : 2008 | olympic games | beijing, china | 18th (q) | shot put | 19.87 m row 11 : 2009 | european indoor championships | turin, italy | 4th | shot put | 20.14 m ] Execute this SQL based on the above table: select count ( year ) where position = '2nd'
1
[ header: date | sub | flight | dead | hurt | pax. | type | perpetrator | description row 1 : 27-jun-76 | | air france - 193 tl | 4 | 10 | 260 | hijacking -- hostage taking (8 days) | pflp-eo (palestinian | -hijacking in israeli row 2 : 23-nov-85 | | egypt air - 6 | 58 | 20 | 95 | hijacking -- hostage taking (2 days) | abu nidal organisation | -hijacking in greek air ] Execute this SQL based on the above table: select description where pax. > ( select pax. where date = '23-nov-85' ) order by pax. limit 1
-hijacking in israeli airspace & raid to free hostages at entebbe airport, uganda the dead include 4 hostages, 1 israeli soldier and 7 hijackers. up to 50 more ugandan soldiers are killed in the israeli operation. see also: operation entebbe
[ header: # | name | office | political party | occupation row 1 : 1 | ole olsen strø | 1886-1901 | None | church bell ringer row 2 : 2 | peder olai kleppe | 1902-1919 | None | fisherman row 3 : 3 | olai naustheller | 1920-1925 | None | farmer row 4 : 4 | mikkel nilsen birkel | 1926-1935 | None | farmer row 5 : 5 | magnus larssen | 1935-1937 | None | school teacher row 6 : 6 | salomon o. fagerbak | 1938-1945 | None | fisherman row 7 : 7 | salomon v. kalvenes | 1946-1959 | None | fisherman row 8 : 8 | rikard s. storebø | 1960-1969 | liberal party | social security manager row 9 : 9 | peder kalve | 1970-1975 | conservative party | maritime pilot row 10 : 10 | magnus stangeland | 1976-1981 | centre party | school principal row 11 : 11 | knut k. kalvenes | 1982-1985 | conservative party | retailer row 12 : 12 | hallvard møgster | 1986-1989 | christian democratic party | captain row 13 : 13 | inge bjarne storeb | 1990-2001 | conservative party | bank manager row 14 : 14 | olav p. arland | 2001-2003 | christian democratic party | shipmaster row 15 : 15 | helge andre njasta | 2003- | progress party | student ] Execute this SQL based on the above table: select occupation where occupation != 'church bell ringer' and # = 13
bank manager
[ header: camp | div sec division | admin district | 9 feb | 11 feb | 16 feb | 25 feb | 27 feb | 2 mar | 4 mar | 6 mar | 11 mar | 13 mar | 24 mar | 30 mar | 31 mar row 1 : ariviththodam sivanantha | vengalachedikulam | vav | 581 | 581 | 581 | 581 | 584 | 584 | 585 | 585 | 583 | 583 | 601 | 601 | 601 row 2 : cheddikulam maha vidy | vengalachedikulam | vav | 1624 | 1624 | 1624 | 1965 | 1965 | 1965 | 1996 | 1996 | 2001 | 2001 | 1995 | 1995 | 1995 row 3 : nelukkulam kala | vavuniya | vav | 2829 | 2829 | 2829 | 3071 | 3084 | 3084 | 3084 | 3068 | 3068 | 3082 | 3101 | 3070 | 3070 row 4 : pampamadhu hostel school | vavuniya | vav | 2779 | 2779 | 4181 | 4131 | 4131 | 4131 | 4131 | 4108 | 4108 | 4108 | 4178 | 4178 | 4178 row 5 : ponthoodam government tamil mixed school | vavuniya | vav | 1351 | 1351 | 1351 | 1365 | 1310 | 1310 | 1310 | 1308 | 1308 | 1320 | 1327 | 1319 | 1319 row 6 : poonathoddam college of education | vavuniya | vav | 4406 | 4406 | 5302 | 5302 | 5009 | 5009 | 5009 | 5036 | 5036 | 5119 | 5236 | 5243 | 5243 row 7 : vavuniya tamil | vavuniya | vav | None | 1200 | 4390 | 3838 | 4085 | 4085 | 5475 | 3540 | 3390 | 3390 | 3963 | 3969 | 3969 row 8 : kaithady palmyra research | thenmarachchi | jaf | None | None | None | None | None | None | None | None | None | None | None | None | 357 row 9 : kodikamam government tam | thenmarachchi | jaf | None | None | 411 | 424 | 503 | 503 | 655 | 711 | 706 | 706 | 1006 | 1006 | 1006 row 10 : thirunagar old court house | jaffna | jaf | None | None | 73 | 74 | 49 | 49 | 108 | 108 | 113 | 113 | 114 | 114 | 140 row 11 : kalimoddai | nanaddan | man | None | None | 445 | 445 | 445 | 445 | 445 | 454 | 454 | 454 | 454 | 454 | 454 row 12 : mannar district general hospital | mannar town | man | None | None | None | None | 279 | 279 | 279 | 279 | 279 | 279 | 279 | 279 | 279 row 13 : sirukandal | nanaddan | man | None | None | 357 | 357 | 357 | 357 | 357 | 350 | 350 | 350 | 350 | 350 | 350 row 14 : thampalakamam peripheral unit | thampalakamam | tri | None | None | None | 33 | 76 | 79 | 77 | 77 | 75 | 75 | 35 | 35 | 35 row 15 : polonnaruwa general hospital | None | pol | None | None | None | 86 | 171 | 171 | 171 | 171 | 171 | 171 | 100 | 100 | 92 ] Execute this SQL based on the above table: select 6 mar where 11 mar > 1601
1996, 3068, 4108, 5036, 3540
[ header: year | location | men's individual | women's individual | men's team | women's team | mixed team | ref row 1 : 1996 | vaulx-en-velin | franck dauphin (fra) | anna campagnoli (ita | None | None | None | row 2 : 1998 | taoyuan | john blaschke (usa) | shih ya-ping (t | united states | chinese taipei | None | row 3 : 2000 | madrid | tsai sung-pin | jamie van natta (usa) | united states | united states | None | row 4 : 2002 | chonburi | adam wheatcroft (usa) | mary zorn (usa) | united states | united states | None | row 5 : 2004 | madrid | choi yong-hee ( | mary zorn (usa) | south korea | united states | None | row 6 : 2006 | vinicne | braden gellenthien (usa | amandine bouillot (fr | united states | france | united states | row 7 : 2008 | tainan | jedd greschock (usa | erika anschutz (usa) | mexico | south korea | united states | row 8 : 2010 | shenzhen | adam gallant (usa) | vida halimian (ir | united states | united states | united states | row 9 : 2012 | cordoba | daniel suter (us | kristina berger (ger) | italy | united states | united states | row 10 : 2014 | legnica | None | None | None | None | None | ] Execute this SQL based on the above table: select women's individual order by location limit 1827
mary zorn (usa), kristina berger (ger), jamie van natta (usa), mary zorn (usa), vida halimian (iri), erika anschutz (usa), shih ya-ping (tpe), anna campagnoli (ita), amandine bouillot (fra)
[ header: tournament | games played | points per game | rebounds per game | assists per game row 1 : 2003 eurobasket | 6 | 6.8 | 5.3 | 0.7 row 2 : 2005 eurobasket | 7 | 7.6 | 7.1 | 0.6 row 3 : 2006 fiba world championship | 9 | 9.7 | 6.7 | 0.6 row 4 : 2007 eurobasket | 7 | 8.9 | 3.7 | 0.6 row 5 : 2009 eurobasket | 8 | 6.5 | 2.9 | 1.1 row 6 : 2010 fiba world championship | 4 | 4.5 | 4.8 | 1.5 row 7 : 2011 eurobasket | 11 | 2.6 | 3.4 | 0.8 row 8 : 2012 olympics | 6 | 4.5 | 2.8 | 0.5 row 9 : 2013 eurobasket | 11 | 1.9 | 3.5 | 0.2 ] Execute this SQL based on the above table: select count ( tournament ) where rebounds per game > 1049
0
[ header: season | tier | division | place row 1 : 1992-96 | 5 | regional | None row 2 : 1996/97 | 4 | 3a | 16th row 3 : 1997/98 | 4 | 3a | 5th row 4 : 1998/99 | 4 | 3a | 12th row 5 : 1999/00 | 4 | 3a | 4th row 6 : 2000/01 | 4 | 3a | 6th row 7 : 2001/02 | 4 | 3a | 4th row 8 : 2002/03 | 4 | 3a | 3rd row 9 : 2003/04 | 3 | 2ab | 19th row 10 : 2004/05 | 4 | 3a | 2nd ] Execute this SQL based on the above table: select count ( * ) where division = '3a'
8
[ header: rank | name | nation(s) | born | ascended | years reigned row 1 : 1 | bhumibol adulya | thailand | 5 december 1927 | 9 june 1946 | 68 years, 3 days row 2 : 7 | qaboos bin said al said | oman | 18 november 1940 | 23 july 1970 | 43 years, 324 days row 3 : 10 | carl xvi gustaf | sweden | 30 april 1946 | 15 september 1973 | 40 years, 270 days row 4 : 16 | mswati iii | swaziland | 19 april 1968 | 25 april 1986 | 28 years, 48 days row 5 : 17 | akihito | japan | 23 december 1933 | 7 january 1989 | 25 years, 156 days row 6 : 19 | hans-adam ii | liechtenstein | 14 february 1945 | 13 november 1989 | 24 years, 211 days row 7 : 21 | harald v | norway | 21 february 1937 | 17 january 1991 | 23 years, 146 days row 8 : 24 | mizan zainal abidin | terengganu (malaysia | 22 january 1962 | 15 may 1998 | 16 years, 28 days row 9 : 25 | abdullah ii | jordan | 30 january 1962 | 7 february 1999 | 15 years, 125 days row 10 : 26 | hamad bin isa al k | bahrain | 28 january 1950 | 6 march 1999 | 15 years, 98 days row 11 : 30 | tuanku syed sir | perlis (malaysia) | 16 may 1943 | 17 april 2000 | 14 years, 56 days row 12 : 31 | henri | luxembourg | 16 april 1955 | 7 october 2000 | 13 years, 248 days row 13 : 33 | norodom sihamoni | cambodia | 14 may 1953 | 14 october 2004 | 9 years, 241 days row 14 : 37 | mohammed bin rashid al ma | dubai (united arab emir | 22 july 1949 | 4 january 2006 | 8 years, 159 days row 15 : 39 | tuheitia paki | maori king (new zealand | 21 april 1955 | 21 august 2006 | 7 years, 295 days row 16 : 41 | kapiliele faupala | wallis island (uvea) (wall | 1940 | 25 june 2008 | 5 years, 352 days row 17 : 45 | ibrahim ismail | johor (malaysia | 22 november 1958 | 22 january 2010 | 4 years, 141 days row 18 : 47 | muhammad v | kelantan (malaysia | 6 october 1969 | 13 september 2010 | 3 years, 272 days row 19 : 49 | tupou vi | tonga | 12 july 1959 | 18 march 2012 | 2 years, 86 days row 20 : 50 | francis | vatican city | 17 december 1936 | 13 march 2013 | 1 year, 91 days row 21 : 51 | willem-alexander | netherlands | 27 april 1967 | 30 april 2013 | 1 year, 43 days row 22 : 53 | philippe | belgium | 15 april 1960 | 21 july 2013 | 0 years, 326 days ] Execute this SQL based on the above table: select nation(s) where rank = 17
japan
[ header: year | 1st venue | 2nd venue | 3rd venue | 4th venue | 5th venue | 6th venue row 1 : 2007 | sheffield | mexico city | nanjing | None | None | None row 2 : 2008 | tijuana | sheffield | nanjing | None | None | None row 3 : 2009 | doha | changzhou | sheffield | tijuana | None | None row 4 : 2010 | qingdao | veracruz | veracruz | None | None | None row 5 : 2011 | moscow | beijing | sheffield | guanajuato | None | None row 6 : 2012 | dubai | beijing | moscow | tijuana | None | None row 7 : 2013 | beijing | dubai | edinburgh | moscow | guadalajara | guadalajara row 8 : 2014 | beijing | dubai | london | moscow | windsor | monterrey ] Execute this SQL based on the above table: select 1st venue where id = ( select id where 1st venue = 'moscow' ) + 1
dubai
[ header: affiliation | house members 2000 election results | house members at dissolution | senate members on election day 2000 | senate members at dissolution row 1 : liberal party of canada | 172 | 168 | 55 | 65 row 2 : canadian alliance | 66 | None | 1 | None row 3 : bloc quebecois | 38 | 33 | 0 | 0 row 4 : new democratic party | 13 | 14 | 0 | 0 row 5 : progressive conservative | 12 | None | 35 | None row 6 : progressive conservative (senate caucus | None | None | None | 3 row 7 : conservative party of canada | None | 72 | None | 24 row 8 : independent | 0 | 10 | 5 | 5 row 9 : total members | 301 | 297 | 96 | 97 row 10 : vacant | 0 | 4 | 9 | 8 row 11 : total seats | 301 | 301 | 105 | 105 ] Execute this SQL based on the above table: select count ( affiliation ) where house members at dissolution = 0
0