input
stringlengths
20
5.6k
output
stringlengths
0
17.9k
[ header: name | lifetime | nationality | notable as | notes row 1 : paul iacono | b. 1988 | american | actor | g row 2 : janis ian | b. 1951 | american | folk musician | l row 3 : witi ihimaera | b. 1944 | new zealand | author | g row 4 : william inge | 1913-1973 | american | playwright, novelist | g row 5 : per imerslund | 1912-1943 | norwegian | nazi socialist soldier, writer | g row 6 : john inman | 1935-2007 | english | actor | g row 7 : daniela irasch | b. 1983 | austrian | ski jumper | l row 8 : doug ireland | b. 1946 | american | journalist, blogger | g row 9 : jim ireton | b. ? | american | politician | g row 10 : evelyn irons | 1900-2000 | scottish | journalist | l row 11 : hakan isacson | 1958-2002 | swedish | intelligence agent | g row 12 : richard isay | b. 1934 | american | author, psychiatrist | g row 13 : sharon isbin | b. 1956 | american | classical musician | l row 14 : taiga ishikawa | b. 1974 | japanese | politician, activist | g row 15 : sam irvin | b. 1956 | american | director | g row 16 : elisabeth ir | 1880-1942 | american | educator, psychologist, reformer | l row 17 : christopher isherwood | 1904-1986 | english | author | g row 18 : arturo islas | 1938-1991 | american | academic | g row 19 : maja ivarsson | b. 1979 | swedish | rock musician (the sounds) | b row 20 : george cecil ives | 1867-1950 | british | poet, writer, penal reformer, gay rights | g row 21 : james ivory | b. 1928 | american | filmmaker | g row 22 : boris izaguirre | b. 1965 | venezuelan | writer | g ] Execute this SQL based on the above table: select ( select count ( distinct nationality ) ) > 1794
0
[ header: name | year inducted | position | apps | goals row 1 : luther blissett | 2003 | forward | 503 | 186 row 2 : tony coton | 2004 | goalkeeper | 291 | 0 row 3 : john mcclelland | 2005 | defender | 234 | 3 row 4 : tommy mooney | 2006 | forward | 287 | 64 row 5 : les taylor | 2007 | midfielder | 211 | 20 row 6 : david james | 2008 | goalkeeper | 98 | 0 row 7 : ian bolton | 2009 | defender | 287 | 36 row 8 : nigel gibbs | 2010 | defender | 491 | 7 row 9 : duncan welbourne | 2011 | defender | 457 | 25 row 10 : ross jenkins | 2012 | forward | 398 | 142 row 11 : robert page | 2013 | defender | 218 | 2 ] Execute this SQL based on the above table: select count ( * ) where apps = 218
1
[ header: album title | format | year | original label | chart positions row 1 : distant plastic trees | lp | 1991 | red flame | None row 2 : the wayward bus | lp | 1992 | popup | None row 3 : the house of tomorrow | ep | 1992 | feel good all over | None row 4 : the charm of the highway strip | lp | 1994 | merge records | None row 5 : holiday | lp | 1994 | feel good all over | None row 6 : get lost | lp | 1995 | merge records | None row 7 : 69 love songs | lp | 1999 | merge records | None row 8 : i | lp | 2004 | nonesuch records | #152 (billboard 200) row 9 : distortion | lp | 2008 | nonesuch records | #77 (billboard 200) row 10 : realism | lp | 2010 | nonesuch records | #110 (billboard 200) row 11 : love at the bottom of the sea | lp | 2012 | merge records | #89 (billboard 200) ] Execute this SQL based on the above table: select album title where album title = 'the house of tomorrow' order by original label asc limit 498
the house of tomorrow
[ 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 stages where stages in ( 15 , 19 ) order by name + name desc limit 1
15.0
[ header: season | winner | team | position | age row 1 : 1932-33 | carl voss | detroit red wings | c | 25 row 2 : 1933-34 | russ blinco | montreal maroons | c | 25 row 3 : 1934-35 | sweeney schriner | new york americans | lw | 22 row 4 : 1936-37 | syl apps | toronto maple leafs | c | 21 row 5 : 1937-38 | cully dahlstrom | chicago black hawks | c | 24 row 6 : 1939-40 | kilby macdonald | new york rangers | lw | 25 row 7 : 1940-41 | johnny quilty | montreal canadiens | c | 19 row 8 : 1946-47 | howie meeker | toronto maple leafs | rw | 21 row 9 : 1947-48 | jim mcfadden | detroit red wings | c | 27 row 10 : 1948-49 | pentti lund | new york rangers | rw | 22 row 11 : 1949-50 | jack gelineau | boston bruins | g | 24 row 12 : 1951-52 | bernie geoffrion | montreal canadiens | rw | 20 row 13 : 1952-53 | gump worsley | new york rangers | g | 23 row 14 : 1953-54 | camille henry | new york rangers | c | 20 row 15 : 1961-62 | bobby rousseau | montreal canadiens | rw | 21 row 16 : 1963-64 | jacques laperriere | montreal canadiens | d | 21 row 17 : 1964-65 | roger crozier | detroit red wings | g | 22 row 18 : 1967-68 | derek sanderson | boston bruins | c | 21 row 19 : 1969-70 | tony esposito | chicago black hawks | g | 26 row 20 : 1972-73 | steve vickers | new york rangers | lw | 21 row 21 : 1974-75 | eric vail | atlanta flames | lw | 20 row 22 : 1975-76 | bryan trottier | new york islanders | c | 19 row 23 : 1976-77 | willi plett | atlanta flames | rw | 21 row 24 : 1977-78 | mike bossy | new york islanders | rw | 20 row 25 : 1982-83 | steve larmer | chicago black hawks | rw | 21 row 26 : 1983-84 | tom barrasso | buffalo sabres | g | 18 row 27 : 1984-85 | mario lemieux | pittsburgh penguins | c | 19 row 28 : 1986-87 | luc robitaille | los angeles kings | lw | 20 row 29 : 1987-88 | joe nieuwendyk | calgary flames | c | 21 row 30 : 1992-93 | teemu selanne | winnipeg jets | rw | 22 row 31 : 1994-95 | peter forsberg | quebec nordiques | c | 21 row 32 : 1995-96 | daniel alfredsson | ottawa senators | rw | 22 row 33 : 1997-98 | sergei samsonov | boston bruins | lw | 19 row 34 : 1998-99 | chris drury | colorado avalanche | c | 22 row 35 : 2001-02 | dany heatley | atlanta thrashers | rw | 20 row 36 : 2003-04 | andrew raycroft | boston bruins | g | 23 ] Execute this SQL based on the above table: select team where position = 'rw' and age = 21
toronto maple leafs, montreal canadiens, atlanta flames, chicago black hawks
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 15 august 2012 | ullevaal stadion, | norway | 1-3 | 2-3 | friendly row 2 : 2 | 11 september 2012 | karaiskakis stadium, pir | lithuania | 2-0 | 2-0 | 2014 fifa world cup qualifier row 3 : 3 | 14 august 2013 | red bull arena, salzburg, austria | austria | 0-1 | 0-2 | friendly row 4 : 4 | 14 august 2013 | red bull arena, salzburg, austria | austria | 0-2 | 0-2 | friendly row 5 : 5 | 6 september 2013 | rheinpark stadion, | liechtenstein | 0-1 | 0-1 | 2014 fifa world cup qualifier row 6 : 6 | 15 november 2013 | karaiskakis stadium, pir | romania | 1-0 | 3-1 | 2014 fifa world cup qualifier - row 7 : 7 | 15 november 2013 | karaiskakis stadium, pir | romania | 3-1 | 3-1 | 2014 fifa world cup qualifier - row 8 : 8 | 19 november 2013 | arena nationala, bucharest, roman | romania | 0-1 | 1-1 | 2014 fifa world cup qualifier - ] Execute this SQL based on the above table: select count ( * ) where opponent != 'liechtenstein'
7
[ header: # | date | opponent | score | site/stadium | win | loss | save | attendance | overall record | ncaat record row 1 : 72 | june 15 | rice | 17-5 | rosenblatt stadium | wilson (8-5) | berry (8-5) | none | 18108 | 43-29 | 6-2 row 2 : 73 | june 17 | north carolina | 5-3 | rosenblatt stadium | breckley (3-2) | warren (9-2) | burke (13) | 23314 | 44-29 | 7-2 row 3 : 74 | june 21 | north carolina | 4-3 | rosenblatt stadium | white (13-3) | miller (6-4) | none | 18611 | 44-30 | 7-3 row 4 : 75 | june 22 | north carolina | 6-1 | rosenblatt stadium | allison (4-5) | moran (1-2) | none | 15125 | 45-30 | 8-3 row 5 : 76 | june 23 | georgia | 7-6 | rosenblatt stadium | harvil (2-1) | burke (4-6) | fields (18) | 19559 | 45-31 | 8-4 row 6 : 77 | june 24 | georgia | 19-10 | rosenblatt stadium | sprague (6-2) | dodson (5-5) | hower (1) | 17223 | 46-31 | 9-4 row 7 : 78 | june 25 | georgia | 6-1 | rosenblatt stadium | wilson (5-5) | moreau (4-4) | none | 18932 | 47-31 | 10-4 ] Execute this SQL based on the above table: select count ( loss ) where attendance = 15125
1
[ header: event | gold | gold | silver | silver | bronze | bronze row 1 : 60 metres | nelli cooman (ned | 7.17 | melanie paschke (ger) | 7.19 | patricia girard (fra) | 7.19 row 2 : 200 metres | galina malchugina (rus) | 22.41 | silke knoll (ger) | 22.96 | jacqueline poelman (n | 23.43 row 3 : 400 metres | svetlana goncharenko | 51.62 | tatyana alekseyeva (rus | 51.77 | viviane dorsile ( | 51.92 row 4 : 800 metres | natalya dukhnova (b | 2:00.42 | ella kovacs (rom) | 2:00.49 | carla sacramento (p | 2:01.12 row 5 : 1500 metres | yekaterina podkopay | 4:06.46 | lyudmila rogachova ( | 4:06.60 | małgorzata ryd | 4:06.98 row 6 : 3000 metres | fernanda ribeiro (por | 8:50.47 | margareta keszeg ( | 8:55.61 | anna brzezinska (pol) | 8:56.90 row 7 : 60 metres hurdles | yordanka donkova (bul | 7.85 | eva sokolova (rus) | 7.89 | anne piquereau (fr | 7.91 row 8 : 3000 metres walk | annarita sidoti (it | 11:54.32 | beate gummelt (ger) | 11:56.01 | yelena arshintseva ( | 11:57.48 row 9 : high jump | stefka kostadinova | 1.98 | desislava aleksandrova (bul | 1.96 | sigrid kirchmann (aut | 1.94 nr row 10 : long jump | heike drechsler ( | 7.06 | ljudmila ninova (au | 6.78 | inessa kravets (uk | 6.72 row 11 : triple jump | inna lasovskaya | 14.88 | anna biryukova (rus) | 14.72 | sofiya bozhanova ( | 14.52 row 12 : shot put | astrid kumbernuss | 19.44 | larisa peleshenko (rus | 19.16 | svetla mitkova (bul | 19.09 row 13 : pentathlon | larisa turchinskaya ( | 4801 | rita inancsi (hun | 4775 nr | urszula włodarczy | 4668 ] Execute this SQL based on the above table: select bronze where silver > ( select max ( silver ) where bronze = 'jacqueline poelman (ned)' ) order by silver limit 1
viviane dorsile (fra)
[ header: margin | teams | venue | season row 1 : 192 runs | kent (205 & 512-9 | county ground, chelmsford | 2009 row 2 : 72 runs | kent (117 & 332) beat | woodbridge road, guildford | 1992 row 3 : 57 runs | kent (151 & 348) beat | hesketh park, dartford | 1976 row 4 : 36 runs | kent (127 & 198) | st lawrence ground, canter | 1893 row 5 : 24 runs | kent (115 & 389) beat | mote park, maidstone | 1925 row 6 : 16 runs | kent (120 & 176) beat | mote park, maidstone | 1863 ] Execute this SQL based on the above table: select margin group by margin order by count ( venue ) desc limit 1
192.0
[ header: season | level | division | section | administration | position | movements row 1 : 1999 | tier 2 | ykkonen (first division) | south group | finnish fa (suo | 9th | relegation group - relegate row 2 : 2000 | tier 3 | kakkonen (second division) | south group | finnish fa (suo | 2nd | play-offs - promoted row 3 : 2001 | tier 2 | ykkonen (first division) | south group | finnish fa (suo | 9th | relegated row 4 : 2002 | tier 3 | kakkonen (second division) | south group | finnish fa (suo | 2nd | None row 5 : 2003 | tier 3 | kakkonen (second division) | south group | finnish fa (suo | 11th | relegated row 6 : 2004 | tier 4 | kolmonen (third division) | section 3 | helsinki & u | 8th | None row 7 : 2005 | tier 4 | kolmonen (third division) | section 3 | helsinki & u | 6th | None row 8 : 2006 | tier 4 | kolmonen (third division) | section 2 | helsinki & u | 7th | None row 9 : 2007 | tier 4 | kolmonen (third division) | section 3 | helsinki & u | 2nd | None row 10 : 2008 | tier 4 | kolmonen (third division) | section 3 | helsinki & u | 2nd | None row 11 : 2009 | tier 4 | kolmonen (third division) | section 2 | helsinki & u | 1st | promoted row 12 : 2010 | tier 3 | kakkonen (second division) | group a | finnish fa (suo | None | None ] Execute this SQL based on the above table: select movements order by season asc limit 647
relegation group - relegated, play-offs - promoted, relegated, relegated, promoted
[ header: rnd | date | race name | circuit | city/location | pole position | fastest lap | winning driver | winning team | report row 1 : 1 | march 5 | marlboro grand prix of miami presented by | bicentennial park | miami, florida | michael andretti | scott pruett | jacques villeneuve | team green | report row 2 : 2 | march 19 | australian indycar grand prix | surfers paradise street circuit | surfers paradise, australia | michael andretti | michael andretti | paul tracy | newman/haas racing | report row 3 : 3 | april 2 | slick 50 200 | phoenix international raceway | phoenix, arizona | bryan herta | emerson fittipaldi | robby gordon | walker racing | report row 4 : 4 | april 9 | toyota grand prix of long beach | streets of long beach | long beach, california | michael andretti | michael andretti | al unser, jr | marlboro team penske | report row 5 : 5 | april 23 | bosch spark plug grand prix | nazareth speedway | nazareth, pennsylvani | robby gordon | emerson fittipaldi | emerson fittipaldi | marlboro team penske | report row 6 : 6 | may 28 | 79th indianapolis 500 | indianapolis motor speedway | speedway, indiana | scott brayton | scott goodyear | jacques villeneuve | team green | report row 7 : 7 | june 4 | miller genuine draft 200 | milwaukee mile | west allis, wisconsin | teo fabi | teo fabi | paul tracy | newman/haas racing | report row 8 : 8 | june 11 | itt automotive grand prix of detroit | the raceway on belle isle park | detroit, michigan | robby gordon | michael andretti | robby gordon | walker racing | report row 9 : 9 | june 25 | budweiser/g. i. | portland international raceway | portland, oregon | jacques villeneuve | al unser, jr | al unser, jr | marlboro team penske | report row 10 : 10 | july 9 | texaco/havoline 200 | road america | elkhart lake, wiscons | jacques villeneuve | jacques villeneuve | jacques villeneuve | team green | report row 11 : 11 | july 16 | molson indy toronto | exhibition place | toronto, ontario | jacques villeneuve | bobby rahal | michael andretti | newman/haas racing | report row 12 : 12 | july 23 | budweiser grand prix of clevel | cleveland burke lakefront airport | cleveland, ohio | gil de ferran | jacques villeneuve | jacques villeneuve | team green | report row 13 : 14 | august 13 | miller genuine draft 200 | mid-ohio sports car course | lexington, ohio | jacques villeneuve | al unser, jr | al unser, jr | marlboro team penske | report row 14 : 17 | september 10 | toyota grand prix of monter | laguna seca raceway | monterey, californi | jacques villeneuve | gil de ferran | gil de ferran | jim hall racing | report ] Execute this SQL based on the above table: select winning team where rnd = 6
team green
[ header: pick # | cfl team | player | position | college row 1 : 25 | montreal alouettes | shawn gifford | ot | charleston southern row 2 : 26 | toronto argonauts | kevin eiben | s | bucknell row 3 : 27 | winnipeg blue bombers | nick tsatsaronis | rb | memphis row 4 : 28 | hamilton tiger-cats | ryan donnelly | ol | mcmaster row 5 : 29 | montreal alouettes | peter moore | dl | syracuse row 6 : 30 | calgary stampeders | andrew carter | ol | bishop's row 7 : 31 | montreal alouettes | steven maheu | wr/qb | simon fraser row 8 : 32 | bc lions | kelly bates | ol | saskatchewan ] Execute this SQL based on the above table: select pick # where cfl team = 'toronto argonauts'
26.0
[ header: week | date | opponent | result | game site | attendance row 1 : 1 | september 11, 1960 | at new york titans | l 27-3 | polo grounds | 10,200 row 2 : 2 | september 18, 1960 | denver broncos | l 27-21 | war memorial stadium | 15,229 row 3 : 3 | september 23, 1960 | at boston patriots | w 13-0 | nickerson field | 20,732 row 4 : 4 | october 2, 1960 | los angeles chargers | l 24-10 | war memorial stadium | 15,821 row 5 : 6 | october 16, 1960 | new york titans | l 17-13 | war memorial stadium | 14,988 row 6 : 7 | october 23, 1960 | oakland raiders | w 38-9 | war memorial stadium | 8,876 row 7 : 8 | october 30, 1960 | houston oilers | w 25-24 | war memorial stadium | 23,001 row 8 : 9 | november 6, 1960 | dallas texans | l 45-28 | war memorial stadium | 19,610 row 9 : 10 | november 13, 1960 | at oakland raiders | l 20-7 | kezar stadium | 8,800 row 10 : 11 | november 20, 1960 | at los angeles chargers | w 32-3 | los angeles memorial coliseum | 16,161 row 11 : 12 | november 27, 1960 | at denver broncos | t 38-38 | bears stadium | 7,785 row 12 : 13 | december 4, 1960 | boston patriots | w 38-14 | war memorial stadium | 14,335 row 13 : 14 | december 11, 1960 | at houston oilers | l 31-23 | jeppesen stadium | 25,243 row 14 : 15 | december 18, 1960 | at dallas texans | l 24-7 | cotton bowl | 18,000 ] Execute this SQL based on the above table: select count ( * ) where date = 'september 23, 1960'
1
[ header: # | judge | state | born/died | active | chief | senior | appointed by | reason for termination row 1 : 3 | david davie shelby | al | 1847-1914 | 1899-1914 | None | None | mckinley | death row 2 : 4 | richard wilde walker, jr | al | 1857-1936 | 1914-1930 | None | 1930-1936 | wilson | death row 3 : 9 | samuel hale | ga | 1873-1958 | 1931-1949 | None | 1949-1958 | hoover | death row 4 : 11 | edwin ruthven hol | ms | 1878-1961 | 1936-1954 | None | 1954-1961 | f. roosevel | death row 5 : 12 | leon clarence mccord | al | 1878-1952 | 1938-1951 | None | 1951-1952 | f. roosevel | death row 6 : 13 | curtis longino waller | fl | 1887-1950 | 1943-1950 | None | None | f. roosevel | death row 7 : 17 | louie willard strum | fl | 1890-1954 | 1950-1954 | None | None | truman | death row 8 : 22 | john robert brown | tx | 1909-1984 | 1955-1984 | 1967-1979 | 1984-1993 | eisenhower | death row 9 : 23 | john minor wisdom | la | 1905-1999 | 1957-1977 | None | 1977-1999 | eisenhower | death row 10 : 24 | griffin bell | ga | 1918-2009 | 1961-1976 | None | None | kennedy | resignation row 11 : 25 | walter pettus gewin | al | 1908-1981 | 1961-1976 | None | 1976-1981 | kennedy | death row 12 : 26 | william homer thornberry | tx | 1909-1995 | 1965-1978 | None | 1978-1995 | l. johnson | death row 13 : 29 | john cooper godbold | al | 1920-2009 | 1966-1981 | 1981-1981 | None | l. johnson | reassignment to 11th circuit row 14 : 37 | joe mcdonald in | tx | 1903-1990 | 1969-1973 | None | 1973-1990 | nixon | death row 15 : 41 | james clinkscales hill | ga | 1924- | 1976-1981 | None | None | ford | reassignment to 11th circuit row 16 : 45 | phyllis a. krav | ga | 1920- | 1979-1981 | None | None | carter | reassignment to 11th circuit row 17 : 49 | joseph woodrow hatchett | fl | 1932- | 1979-1981 | None | None | carter | reassignment to 11th circuit row 18 : 52 | henry anthony politz | la | 1932-2002 | 1979-1999 | 1992-1999 | 1999-2002 | carter | death row 19 : 56 | thomas alonzo clark | ga | 1920-2005 | 1979-1981 | None | None | carter | reassignment to 11th circuit ] Execute this SQL based on the above table: select count ( judge ) where appointed by = 'eisenhower'
2
[ header: no. | name | public access | location & map links | area ha | area acres | references row 1 : 1 | aversley wood | | 52°25′25′′n 0° | 61 | 151 | sssi wt row 2 : 2 | balsham wood | | 52°07′19′′n 0° | 35 | 85 | sssi row 3 : 3 | bedford purlieus nnr | | 52°35′00′′n 0° | 208 | 514 | sssi nnr row 4 : 4 | brampton wood | | 52°19′02′′n 0° | 132 | 326 | sssi bcnp row 5 : 7 | gamlingay wood | | 52°09′57′′n 0° | 46 | 114 | sssi bcnp row 6 : 8 | hardwick wood | | 52°11′57′′n 0° | 17 | 42 | sssi bcnp row 7 : 9 | hayley wood | | 52°09′33′′n 0° | 52 | 129 | sssi bcnp row 8 : 11 | langley wood | | 52°03′24′′n 0° | 31 | 77 | sssi row 9 : 13 | madingley wood | | 52°13′00′′n 0° | 15 | 38 | sssi row 10 : 14 | monks wood nnr | | 52°24′18′′n 0° | 170 | 420 | sssi nnr row 11 : 15 | out and plunder woods | | 52°10′03′′n 0° | 28 | 69 | sssi row 12 : 16 | over and lawn woods | | 52°06′35′′n 0° | 45 | 111 | sssi row 13 : 18 | ten wood | | 52°10′31′′n 0° | 17 | 42 | sssi row 14 : 20 | warboy's and wistow wood | | 52°25′11′′n 0° | 42 | 103 | sssi row 15 : 21 | waresley wood | | 52°10′37′′n 0° | 62 | 153 | sssi ] Execute this SQL based on the above table: select abs ( ( select no. where area ha = 52 ) - ( select no. where area ha = 62 ) )
12.0
[ header: tournament | 2000 | 2001 | 2002 | 2003 | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 | 2010 | 2011 | 2012 | sr | w-l row 1 : australian open | a | a | 1r | a | 2r | 3r | 2r | 3r | w | 2r | 1r | 2r | 1r | 1 / 10 | 13-9 row 2 : french open | a | a | a | a | 3r | a | 2r | 3r | 3r | 1r | sf | 1r | 2r | 0 / 8 | 12-8 row 3 : wimbledon | a | 2r | a | sf | 1r | 3r | 3r | 2r | qf | 3r | 3r | 1r | 2r | 0 / 11 | 17-11 row 4 : us open | a | 1r | a | 1r | 1r | qf | 3r | 3r | 2r | sf | 1r | 2r | 2r | 0 / 11 | 14-11 row 5 : win-loss | 0-0 | 1-2 | 0-1 | 4-2 | 3-4 | 5-3 | 6-4 | 7-4 | 12-3 | 7-4 | 6-4 | 2-4 | 3-4 | 1 / 40 | 56-39 row 6 : indian wells | a | a | a | a | 2r | 2r | 1r | f | w | f | qf | 2r | None | 1 / 8 | 17-7 row 7 : miami | a | a | a | a | 2r | qf | sf | 1r | 1r | w | 1r | qf | None | 1 / 8 | 13-7 row 8 : monte carlo | a | a | a | a | 2r | a | 2r | 2r | qf | qf | 1r | 1r | None | 0 / 7 | 2-7 row 9 : rome | a | a | a | a | 1r | 1r | f | 2r | 2r | qf | 1r | a | None | 0 / 7 | 4-7 row 10 : madrid (stuttgart | a | a | a | a | 1r | 1r | qf | 1r | 1r | 2r | qf | 1r | None | 0 / 8 | 3-8 row 11 : canada | a | a | a | a | qf | f | 2r | sf | 2r | f | 2r | a | None | 0 / 7 | 10-7 row 12 : cincinnati | a | a | a | a | qf | 1r | sf | w | f | 2r | qf | a | None | 1 / 7 | 13-6 row 13 : shanghai | not held | not held | not held | not held | not held | not held | not held | not held | not held | 2r | 1r | a | None | 0 / 2 | 1-2 row 14 : paris | a | a | a | a | a | qf | 1r | 1r | qf | 2r | f | 1r | None | 0 / 7 | 6-7 row 15 : hamburg | a | a | a | a | 1r | 1r | qf | sf | 2r | nm1 | nm1 | nm1 | nm1 | 0 / 5 | 3-5 row 16 : win-loss | 0-0 | 0-0 | 0-0 | 0-0 | 6-8 | 8-8 | 10-9 | 12-8 | 10-8 | 15-8 | 8-9 | 3-5 | None | 3 / 66 | 66-63 ] Execute this SQL based on the above table: select count ( * ) where 2003 = 'a'
11
[ header: pollutant | units | emission standard | coal-fired | petroleum coke-fired row 1 : so2 | lb/mmbtu | ≤ 0.15 | 0.0-0.04 | 0.03-0.13 row 2 : nox | lb/mmbtu | ≤ 0.09 | 0.04-0.06 | 0.02 row 3 : solid particulate | lb/mmbtu | ≤ 0.011 | 0.004 | 0.007 row 4 : pm10 | lb/mmbtu | ≤ 0.011 | 0.006 | 0.004 row 5 : so3 | lb/hour | ≤ 1.1 | 0.43 | 0 row 6 : fluoride | lb/mmbtu | ≤ 1.57×10-4 | 1.06×10-4 | 0.95×10-4 row 7 : lead | lb/mmbtu | ≤ 2.6×10-5 | 0.56×10-5 | 0.59×10-5 row 8 : mercury | lb/mmbtu | ≤ 1.05×10-5 | 0.095×10-5 | 0.028×10-5 ] Execute this SQL based on the above table: select pollutant where pollutant = 'nox'
nox
[ header: name | state | status | title | appointment | credentials presented | termination of mission | notes row 1 : henry f. grady | california | non-career appointee | ambassador extraordinary and plenipotentiary | apr 10, 1947 | jul 1, 1947 | left post, jun 22, 1948 | accredited also to nepal; resident at row 2 : chester bowles | connecticut | non-career appointee | ambassador extraordinary and plenipotentiary | oct 10, 1951 | nov 1, 1951 | left post, mar 23, 1953 | also accredited to nepal; resident at row 3 : george v. allen | north carolina | foreign service officer | ambassador extraordinary and plenipotentiary | mar 11, 1953 | may 4, 1953 | left post, nov 30, 1954 | also accredited to nepal; resident at row 4 : john sherman cooper | kentucky | non-career appointee | ambassador extraordinary and plenipotentiary | feb 4, 1955 | apr 9, 1955 | left post, apr 23, 1956 | also accredited to nepal; resident at row 5 : john kenneth galbraith | massachusetts | non-career appointee | ambassador extraordinary and plenipotentiary | mar 29, 1961 | apr 18, 1961 | left post, jul 12, 1963 | None row 6 : chester bowles | connecticut | non-career appointee | ambassador extraordinary and plenipotentiary | may 3, 1963 | jul 19, 1963 | left post, apr 21, 1969 | None row 7 : kenneth b. keating | new york | non-career appointee | ambassador extraordinary and plenipotentiary | may 1, 1969 | jul 2, 1969 | left post, jul 26, 1972 | None row 8 : daniel p. moy | new york | non-career appointee | ambassador extraordinary and plenipotentiary | feb 8, 1973 | feb 28, 1973 | left post, jan 7, 1975 | None row 9 : robert f. goheen | new jersey | non-career appointee | ambassador extraordinary and plenipotentiary | apr 26, 1977 | may 26, 1977 | left post, dec 10, 1980 | None row 10 : harry g. barnes, | maryland | foreign service officer | ambassador extraordinary and plenipotentiary | oct 1, 1981 | nov 17, 1981 | left post, jun 27, 1985 | None row 11 : john gunther dean | new york | foreign service officer | ambassador extraordinary and plenipotentiary | aug 2, 1985 | sep 6, 1985 | left post nov 7, 1988 | None row 12 : john r. hubbard | california | non-career appointee | ambassador extraordinary and plenipotentiary | nov 22, 1988 | dec 27, 1988 | left post nov 15, 1989 | commissioned during a recess of the row 13 : william clark, jr | district of columbia | foreign service officer | ambassador extraordinary and plenipotentiary | oct 10, 1989 | dec 22, 1989 | left post, jul 2, 1992 | None row 14 : thomas r. pickering | new jersey | foreign service officer | ambassador extraordinary and plenipotentiary | apr 6, 1992 | aug 14, 1992 | left post, mar 23, 1993 | kenneth brill served as charge row 15 : frank g. wisner | district of columbia | foreign service officer | ambassador extraordinary and plenipotentiary | jun 9, 1994 | aug 2, 1994 | left post, july 12, 1997 | None ] Execute this SQL based on the above table: select title where id = ( select id where name = 'john gunther dean' ) - 1
ambassador extraordinary and plenipotentiary
[ header: from | to | name | party | position row 1 : 1870 | 1897 | eugene bernain | None | None row 2 : 1897 | None | albert le barillier | None | None row 3 : 1935 | 1937 | daubin | None | doctor row 4 : 1937 | 1941 | francois dommain | radical | None row 5 : 1971 | 1993 | victor mendiboure | udf | None row 6 : 1993 | 1999 | michel bonnet | udf | None row 7 : 1999 | 2001 | alain lamassoure | udf | vice president of the udf advisor to row 8 : 2001 | 2008 | robert villenave | udf ps | vice-president of cabab vice-p ] Execute this SQL based on the above table: select party order by from desc limit 1
udf ps
[ header: # | matters | sections of the constitution allowing their institution | eligible petitioners | type row 1 : 2 | a petition for a decision as to whether | section 68 | any person | constitutional defence row 2 : 3 | a petition for a decision as to whether | section 91 | at least one tenth of the existing representatives | membership row 3 : 4 | a petition for a decision as to whether | section 106 (7) | the representative in question | political party row 4 : 5 | a petition for a decision concerning the constitutional | section 141 | the national assembly | constitutionality of draft law row 5 : 6 | a petition for a decision as to whether | sections 140 and 149 | the president of the house of representatives or s | constitutionality of draft law row 6 : 9 | a petition for a decision as to whether | section 168, paragraph 7 | at least one tenth of the existing representatives | others row 7 : 11 | a petition for a decision as to whether | section 185 | at least one fifth of the existing representatives or senator | constitutionality of law row 8 : 12 | a petition for a decision as to whether | section 190 | at least one tenth of the existing representatives | authority row 9 : 13 | a petition for a decision as to whether | section 211 | a party to such case | constitutionality of law row 10 : 14 | a petition for a decision as to the | section 212 | any person whose constitutionally recognised right or freedom | constitutionality of law row 11 : 15 | a petition for a decision as to | section 214 | the president of the national assembly the prime minister the | authority row 12 : 16 | a petition for a decision as to whether | section 233 | at least one tenth of the existing representatives | membership row 13 : 18 | a petition for a decision as to the | section 245 (1) | ombudsmen | constitutionality of law row 14 : 19 | a petition for a decision as to the | section 257, paragraph 1 (2) | the national human rights commission | constitutionality of law ] Execute this SQL based on the above table: select max ( # )
9
[ header: rank | athlete | ski time | penalties p+s+p+s | total row 1 : None | zhang qing (chn) | 59:53.2 | 1+1+0+1 | 1:02:53.2 row 2 : None | dmitriy pozdn | 1:01:01.0 | 0+2+0+0 | 1:03:01.0 row 3 : None | dmitriy pantov ( | 59:24.8 | 1+2+0+1 | 1:03:24.8 row 4 : 4 | hideki yamamoto (jpn) | 1:02:55.5 | 0+1+3+0 | 1:06:55.5 row 5 : 5 | qiu lianhai (ch | 1:03:18.9 | 1+1+0+2 | 1:07:18.9 row 6 : 6 | shin byung-gook (kor | 1:02:49.3 | 1+2+1+1 | 1:07:49.3 row 7 : 7 | son hae-kwon (kor) | 1:02:58.3 | 1+1+2+1 | 1:07:58.3 row 8 : 8 | wang xin (chn) | 1:04:42.4 | 2+1+1+1 | 1:09:42.4 row 9 : 9 | naoki shindo | 1:03:08.5 | 3+1+0+3 | 1:10:08.5 row 10 : 9 | jeon jae-won (kor) | 1:02:08.5 | 2+2+2+2 | 1:10:08.5 row 11 : 11 | alexey karevskiy ( | 1:03:28.8 | 3+1+1+2 | 1:10:28.8 row 12 : 12 | sergey abdukarov (kaz | 1:05:11.4 | 1+2+1+3 | 1:12:11.4 row 13 : 13 | takashi shindo ( | 1:01:15.0 | 3+3+2+4 | 1:13:15.0 row 14 : 14 | shinji ebisawa (jp | 1:04:13.6 | 3+3+1+3 | 1:14:13.6 row 15 : 15 | choi neung-chul | 1:08:50.6 | 3+2+0+1 | 1:14:50.6 row 16 : 16 | byamba enkh-amgalan | 1:15:20.4 | 4+5+2+2 | 1:28:20.4 ] Execute this SQL based on the above table: select athlete where rank = 13
takashi shindo (jpn)
[ header: rank | name | nation | time | speed | note row 1 : 1 | vilija sereikaite | lithuania | 3:33.766 | 50.522 | q row 2 : 2 | ellen van dijk | netherlands | 3:35.951 | 50.011 | q row 3 : 3 | joanna rowsell | united kingdom | 3:37.641 | 49.623 | q row 4 : 4 | svitlana halyuk | ukraine | 3:42.498 | 48.539 | q row 5 : 5 | aksana papko | belarus | 3:43.935 | 48.288 | None row 6 : 6 | oxana kozonchuk | russia | 3:45.132 | 47.971 | None row 7 : 7 | jarmila machacova | czech republic | 3:47.209 | 47.533 | None row 8 : 8 | stephanie pohl | germany | 3:47.483 | 47.476 | None row 9 : 9 | lisa brennauer | germany | 3:48.017 | 47.364 | None row 10 : 10 | edyta jasinska | poland | 3:48.628 | 47.238 | None row 11 : 11 | audrey cordon | france | 3:49.376 | 47.084 | None row 12 : 12 | alena amialyusik | belarus | 3:49.711 | 47.015 | None row 13 : 13 | hannah mayho | united kingdom | 3:50.176 | 46.92 | None row 14 : 14 | viktoriya kondel | russia | 3:51.349 | 46.682 | None row 15 : 15 | oksana lyesnik | ukraine | 3:51.543 | 46.643 | None row 16 : 16 | elise van hage | netherlands | 3:55.349 | 45.889 | None row 17 : 17 | dominika maczka | poland | 4:01.597 | 44.702 | None ] Execute this SQL based on the above table: select abs ( ( select speed where nation = 'poland' ) - ( select speed where nation = 'united kingdom' ) )
2.384999999999998
[ header: parish est | church | city | current bldg begun | weekly collections | notes row 1 : 1846 | shrine of the immaculate conception | atlanta | 1869 | $10,000 | row 2 : 1880 | sacred heart basilica | atlanta | 1897 | $18,000 | row 3 : 1903 | saint anthony of padua cat | atlanta | 1911 | None | row 4 : 1912 | our lady of lourdes catholic church | atlanta | 1960 | None | row 5 : 1936 | cathedral of christ the king | atlanta | 1937 | $70,000 | row 6 : 1941 | saint thomas more catholic church | decatur | 1952 | $23,000 | row 7 : 1951 | our lady of the assumption catholic church | atlanta | 1957 | $16,000 | row 8 : 1954 | saint paul of the cross catholic church | atlanta | 1957 | None | row 9 : 1958 | immaculate heart of mary catholic church | atlanta | 2006 | $26,000 | row 10 : 1960 | saint jude the apostle catholic church | atlanta | 1962 | None | row 11 : 1960 | saint luke the evangelist | dahlonega | 1898 | $4,500 | row 12 : 1960 | most blessed sacrament catholic church | atlanta | 1989 | $4,000 | row 13 : 1964 | catholic church of the holy cross | atlanta | 1989 | None | row 14 : 1964 | holy spirit catholic church | atlanta | 1977 | None | row 15 : 1965 | our lady of perpetual help catholic church | carrollton | 1962 | $9,000 | row 16 : 1984 | christ our hope catholic church | lithonia | 2000 | None | row 17 : 1999 | saint francis de sales catholic church | mableton | 1999 | None | row 18 : 2000 | saint brigid catholic church | johns creek | 2002 | $50,000 | ] Execute this SQL based on the above table: select count ( city ) where current bldg begun > 57
18
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | brazil | 45 | 33 | 36 | 114 row 2 : 2 | china | 37 | 28 | 34 | 99 row 3 : 3 | italy | 14 | 13 | 24 | 51 row 4 : 4 | poland | 13 | 19 | 11 | 43 row 5 : 5 | france | 11 | 3 | 3 | 17 row 6 : 6 | south korea | 8 | 6 | 8 | 22 row 7 : 7 | north korea | 7 | 2 | 3 | 12 row 8 : 8 | kenya | 6 | 5 | 5 | 16 row 9 : 9 | germany | 5 | 19 | 11 | 35 row 10 : 10 | ukraine | 5 | 4 | 9 | 18 row 11 : 11 | iran | 5 | 3 | 4 | 12 row 12 : 12 | norway | 4 | 5 | 2 | 11 row 13 : 13 | qatar | 3 | 1 | 2 | 6 row 14 : 14 | chile | 2 | 4 | 2 | 8 row 15 : 15 | austria | 2 | 2 | 2 | 6 row 16 : 16 | lithuania | 2 | 1 | 2 | 5 row 17 : 17 | belarus | 2 | 0 | 4 | 6 row 18 : 18 | latvia | 2 | 0 | 2 | 4 row 19 : 19 | sweden | 2 | 0 | 0 | 2 row 20 : 20 | morocco | 1 | 7 | 1 | 9 row 21 : 21 | turkey | 1 | 5 | 4 | 10 row 22 : 22 | kazakhstan | 1 | 3 | 6 | 10 row 23 : 22 | venezuela | 1 | 3 | 6 | 10 row 24 : 24 | switzerland | 1 | 3 | 5 | 9 row 25 : 25 | slovenia | 1 | 2 | 6 | 9 row 26 : 26 | bahrain | 1 | 2 | 4 | 7 row 27 : 26 | finland | 1 | 2 | 4 | 7 row 28 : 28 | algeria | 1 | 2 | 3 | 6 row 29 : 29 | estonia | 1 | 2 | 2 | 5 row 30 : 30 | united states | 1 | 1 | 3 | 5 row 31 : 31 | netherlands | 1 | 1 | 2 | 4 row 32 : 32 | syria | 1 | 1 | 0 | 2 row 33 : 33 | belgium | 1 | 0 | 2 | 3 row 34 : 33 | romania | 1 | 0 | 2 | 3 row 35 : 35 | canada | 1 | 0 | 1 | 2 row 36 : 35 | uganda | 1 | 0 | 1 | 2 row 37 : 37 | croatia | 1 | 0 | 0 | 1 row 38 : 37 | denmark | 1 | 0 | 0 | 1 row 39 : 37 | ecuador | 1 | 0 | 0 | 1 row 40 : 40 | greece | 0 | 5 | 3 | 8 row 41 : 41 | tunisia | 0 | 3 | 1 | 4 row 42 : 42 | dominican republic | 0 | 1 | 2 | 3 row 43 : 43 | jordan | 0 | 1 | 1 | 2 row 44 : 44 | egypt | 0 | 1 | 0 | 1 row 45 : 44 | hungary | 0 | 1 | 0 | 1 row 46 : 46 | india | 0 | 0 | 3 | 3 row 47 : 47 | cameroon | 0 | 0 | 2 | 2 row 48 : 47 | namibia | 0 | 0 | 2 | 2 row 49 : 47 | sri lanka | 0 | 0 | 2 | 2 row 50 : 47 | uruguay | 0 | 0 | 2 | 2 row 51 : 51 | argentina | 0 | 0 | 1 | 1 row 52 : 51 | pakistan | 0 | 0 | 1 | 1 row 53 : 51 | suriname | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select silver + gold where nation = 'venezuela'
4.0
[ header: school name | city | grades | establishment | charter row 1 : aliamanu intermediate school | honolulu | 7-8 | 1958 | None row 2 : anuenue school | honolulu | k-12 | 1958 | charter row 3 : central middle school | honolulu | 6-8 | 1926 | None row 4 : dole middle school | honolulu | 6-8 | 1955 | None row 5 : halau ku mana nc | honolulu | 6-12 | 2000 | charter row 6 : jarrett middle school | honolulu | 6-8 | 1955 | None row 7 : kaimuki middle school | honolulu | 6-8 | 1939 | None row 8 : kalakaua middle school | honolulu | 6-8 | 1928 | None row 9 : kawananakoa middle school | honolulu | 6-8 | 1927 | None row 10 : moanalua middle school | honolulu | 7-8 | 1967 | None row 11 : niu valley middle school | honolulu | 6-8 | 1955 | None row 12 : stevenson middle school | honolulu | 6-8 | 1937 | None row 13 : washington middle school | honolulu | 6-8 | 1854 | None ] Execute this SQL based on the above table: select grades order by establishment asc limit 1
6-8
[ header: character | м | м | м | м row 1 : unicode name | cyrillic capital letter e | cyrillic capital letter e | cyrillic small letter e | cyrillic small letter e row 2 : encodings | decimal | hex | decimal | hex row 3 : unicode | 1052 | u+041c | 1084 | u+043c row 4 : utf-8 | 208 156 | d0 9c | 208 188 | d0 bc row 5 : numeric character reference | М | М | м | м row 6 : koi8-r and k | 237 | ed | 205 | cd row 7 : code page 855 | 211 | d3 | 210 | d2 row 8 : code page 866 | 140 | 8c | 172 | ac row 9 : windows-1251 | 204 | cc | 236 | ec row 10 : iso-8859-5 | 188 | bc | 220 | dc row 11 : macintosh cyril | 140 | 8c | 236 | ec ] Execute this SQL based on the above table: select count ( character ) where м > 236
2
[ header: week | date | opponent | result | attendance | bye row 1 : 1 | september 9, 1990 | at new england patriots | w 27-24 | 45305 | 0 row 2 : 2 | september 16, 1990 | buffalo bills | w 30-7 | 68142 | 0 row 3 : 3 | september 23, 1990 | at new york giants | l 20-3 | 76483 | 0 row 4 : 4 | september 30, 1990 | at pittsburgh steelers | w 28-6 | 54691 | 0 row 5 : 5 | october 7, 1990 | new york jets | w 20-16 | 69678 | 0 row 6 : 6 | None | None | None | None | 1 row 7 : 7 | october 18, 1990 | new england patriots | w 17-10 | 62630 | 0 row 8 : 8 | october 28, 1990 | at indianapolis colts | w 27-7 | 59213 | 0 row 9 : 9 | november 4, 1990 | phoenix cardinals | w 23-3 | 54294 | 0 row 10 : 10 | november 11, 1990 | at new york jets | w 17-3 | 68362 | 0 row 11 : 11 | november 19, 1990 | los angeles raiders | l 13-10 | 70553 | 0 row 12 : 12 | november 25, 1990 | at cleveland browns | w 30-13 | 70225 | 0 row 13 : 13 | december 2, 1990 | at washington redskins | l 42-20 | 53599 | 0 row 14 : 14 | december 9, 1990 | philadelphia eagles | w 23-20 | 67034 | 0 row 15 : 15 | december 16, 1990 | seattle seahawks | w 24-17 | 57851 | 0 row 16 : 16 | december 23, 1990 | at buffalo bills | l 24-14 | 80235 | 0 row 17 : 17 | december 30, 1990 | indianapolis colts | w 23-17 | 59547 | 0 ] Execute this SQL based on the above table: select max ( attendance ) - min ( attendance )
34930.0
[ header: year | association | category | nominated work | result row 1 : 1991 | tony awards | best actress in a play | our country's good | nominated row 2 : 1995 | drama desk awards | outstanding actress in a play | the heiress | won row 3 : 1995 | tony awards | best actress in a play | the heiress | won row 4 : 1998 | drama desk awards | outstanding actress in a play | pride's crossing | won row 5 : 2000 | tony awards | best actress in a play | a moon for the misbegotten | nominated row 6 : 2004 | glaad media awards | vito russo award | herself | won row 7 : 2005 | drama desk awards | outstanding actress in a play | doubt | won row 8 : 2005 | tony awards | best actress in a play | doubt | won row 9 : 2006 | drama desk awards | outstanding actress in a play | faith healer | nominated row 10 : 2009 | primetime emmy awards | outstanding supporting actress in a drama series | 24 | won row 11 : 2009 | satellite awards | best supporting actress - series, miniseries | 24 | nominated ] Execute this SQL based on the above table: select count ( * ) where result = 'won'
7
[ header: year | tournament | venue | result | rank | event row 1 : 1993 | world championships | stuttgart, germany | 7911 | 12th | decathlon row 2 : 1993 | universiade | buffalo, united states | 7864 | 2nd | decathlon row 3 : 1994 | european indoor championships | paris, france | 5888 | 7th | heptathlon row 4 : 1994 | hypo-meeting | gotzis, austria | 7779 | 18th | decathlon row 5 : 1994 | european championships | helsinki, finland | 7272 | 20th | decathlon row 6 : 1995 | hypo-meeting | gotzis, austria | 8041 | 12th | decathlon row 7 : 1995 | universiade | fukuoka, japan | 7943 | 5th | decathlon row 8 : 1995 | world championships | gothenburg, sweden | 8042 | 11th | decathlon row 9 : 1996 | olympic games | atlanta, usa | None | dnf | decathlon row 10 : 1997 | world championships | athens, greece | 8140 | 11th | decathlon row 11 : 1998 | european indoor championships | valencia, spain | 6055 (pb) | 7th | heptathlon row 12 : 1998 | hypo-meeting | gotzis, austria | 8179 (pb) | 9th | decathlon row 13 : 1999 | hypo-meeting | gotzis, austria | 7925 | 10th | decathlon row 14 : 1999 | world championships | seville, spain | 7851 | 12th | decathlon row 15 : 2000 | hypo-meeting | gotzis, austria | 7876 | 16th | decathlon row 16 : 2000 | olympic games | sydney, australia | 7932 | 17th | decathlon ] Execute this SQL based on the above table: select event order by id desc limit 1
decathlon
[ header: outcome | no. | date | tournament | surface | partner | opponents in the final | score in the final row 1 : runner-up | 1 | 1969 | los angeles, u.s | hard | jim mcmanus | pancho gonzales ron | 3-6, 4-6 row 2 : runner-up | 2 | 1970 | merion, u.s | hard | jim mcmanus | william bowrey ray ruf | 6-3, 2-6, 5-7 row 3 : winner | 1 | 1971 | columbus, u.s | hard | jim mcmanus | jimmy connors ros | 4-6, 7-5, 6-2 row 4 : winner | 2 | 1971 | merion, u.s | hard | clark graebner | robert mckinley | 7-6, 6-3 row 5 : winner | 3 | 1971 | sacramento, u. | hard | jim mcmanus | bob maud frew m | 7-6, 6-3 row 6 : winner | 4 | 1972 | los angeles, u.s | outdoor | jim mcmanus | ilie nastase i | 6-2, 5-7, 6-4 row 7 : winner | 5 | 1972 | london/queen's club | grass | jim mcmanus | jurgen fassbender karl me | 4-6, 6-3, 7-5 row 8 : runner-up | 3 | 1972 | tanglewood, u.s | other | jim mcmanus | bob hewitt andrew | 4-6, 4-6 ] Execute this SQL based on the above table: select partner where id = ( select id where partner = 'jim mcmanus' ) + 1
jim mcmanus
[ header: res. | record | opponent | method | event | date | round | time | location | notes row 1 : loss | 5-3 | alistair overeem | tko (kick to the body | ufc 141 | december 30, 2011 | 1 | 2:26 | las vegas, united states | announced retirement after fight row 2 : loss | 5-2 | cain velasquez | tko (punches) | ufc 121 | october 23, 2010 | 1 | 4:12 | anaheim, california | lost ufc heavyweight championship row 3 : win | 5-1 | shane carwin | submission (arm triangle choke) | ufc 116 | july 3, 2010 | 2 | 2:19 | las vegas, united states | defended ufc heavyweight championship. row 4 : win | 4-1 | frank mir | tko (punches) | ufc 100 | july 11, 2009 | 2 | 1:48 | las vegas, united states | defended ufc heavyweight championship. row 5 : win | 3-1 | randy couture | tko (punches) | ufc 91 | november 15, 2008 | 2 | 3:07 | las vegas, united states | won ufc heavyweight championship row 6 : win | 2-1 | heath herring | decision (unanimous) | ufc 87 | august 9, 2008 | 3 | 5:00 | minneapolis, minnesot | None row 7 : loss | 1-1 | frank mir | submission (kneebar) | ufc 81 | february 2, 2008 | 1 | 1:30 | las vegas, united states | ufc debut row 8 : win | 1-0 | min-soo kim | submission (punches) | dynamite!! usa | june 2, 2007 | 1 | 1:09 | los angeles, united states | mma debut ] Execute this SQL based on the above table: select max ( time )
5
[ header: name | gauge | builder | type | date | works number | notes row 1 : no.774 | 2 ft (610 mm) | baguley | 4wpm | 1919 | 774 | undergoing restoration, not on display, purchased 1998 row 2 : dot | 18 in (457 mm) | beyer peacock | 0-4-0wt | 1887 | 2817 | built for the internal gorton locomotive works of be row 3 : rough pup | 2 ft (610 mm) | hunslet | 0-4-0st | 1891 | 541 | built for the dinorwic quarry railway. row 4 : no. 13 | 1 ft 10 in (560 mm | william spence ltd | 0-4-0t | 1895 | None | one of a fleet of overtype locomotives row 5 : george henry | 1 ft 10 3⁄4 in (5 | de winton | 0-4-0vb | 1877 | None | ex-penrhyn quarry locomotive. row 6 : jubilee 1897 | 1 ft 11 1⁄2 in (5 | manning wardle | 0-4-0st | 1897 | 1382 | built for the cilgwyn quarry in row 7 : dundee gasworks no.2 | 1 ft 11 1⁄2 in (5 | kerr stuart | 0-4-0wt | 1907 | 720 | built for the dundee gasworks railway ] Execute this SQL based on the above table: select works number where name > 440
774.0, 2817.0, 541.0, 1382.0, 720.0
[ header: number | south/west end | north/east end | formed | eliminated row 1 : u.s. route 20 business | us 20/us 97b in bend | us 20/us 97b in bend | 1980s | None row 2 : u.s. route 30 bypass | us 30 in portland | i-84/us 30 in fairview | 1936 | None row 3 : u.s. route 99e | or 99/or 99w in junction city | or 99/or 99w in portland | 1928 | 1972 row 4 : u.s. route 99w | or 99/or 99e in junction city | or 99/or 99e in portland | 1928 | 1972 row 5 : u.s. route 199 | us 199 towards crescent city, ca | i-5/or 99 in grants pass | 1926 | None row 6 : oregon route 7 | us 26 south of austin | i-84 in baker | 1932 | None row 7 : oregon route 23 | us 97 at cow canyon | us 30 in the dalles | 1932 | 1952 row 8 : oregon route 34 | us 101 in waldport | us 20 in lebanon | 1932 | None row 9 : oregon route 36 | or 126 in mapleton | or 99w near junction city | 1936 | None row 10 : oregon route 43 | or 99e in oregon city | us 26 in portland | 1932 | None row 11 : oregon route 51 | or 99w/or 194 in monmouth | or 22 west of salem | 1932 | None row 12 : oregon route 54 | or 99e in albany | us 28 in vale | 1932 | 1940 row 13 : oregon route 62 | or 99/or 238 in medford | us 97 south of chiloqui | 1932 | None row 14 : oregon route 69 | or 126 in eugene | i-5 in springfield | 2002 | 2007 row 15 : oregon route 70 | or 140 at dairy | bonanza | 1932 | None row 16 : oregon route 78 | us 20/us 395 in burns | us 95 at burns junction | 1932 | None row 17 : oregon route 82 | us 30 in la grande | joseph | 1932 | None row 18 : oregon route 86 | i-84 near baker | near hells canyon, id | 1932 | None row 19 : oregon route 86s | or 86 northeast of richland | or 413/or 414 in halfway | 2003 | None row 20 : oregon route 104 | us 101 south of warrenton | fort stevens state park | 2002 | None row 21 : oregon route 120 | north portland | i-5/or 99e in north port | 2002 | None row 22 : oregon route 131 | oceanside | us 101/or 6 in tillamook | 2002 | None row 23 : oregon route 225 | or 99 in sutherlin | or 38 at elkton | 1935 | 1960s row 24 : oregon route 227 | or 62 at trail | south of tiller | 1935 | 1986 (restored 2003) row 25 : oregon route 233 | or 99w north of amity | or 99w northeast of dayton | 1935 | None row 26 : oregon route 244 | us 395 west of ukiah | i-84/us 30 at h | None | None row 27 : oregon route 260 | us 199 southwest of grants pass | grants pass | 2003 | None row 28 : oregon route 273 | i-5 south of siskiyou summit | or 66 southeast of ashland | 2003 | None row 29 : oregon route 293 | us 97 north of madras | or 218 in antelope | 2002 | None row 30 : oregon route 335 | or 11 northeast of pendleton | helix | 2003 | None ] Execute this SQL based on the above table: select count ( * ) where south/west end = 425
0
[ header: # | title | producer(s) | performer(s) | length row 1 : 1 | "intro" | l.e.s | bravehearts | 2:03 row 2 : 2 | "da bridge 2001" | marley marl, l.e. | capone, cormega, marley mar | 4:32 row 3 : 3 | "we live this" | havoc | big noyd, havoc, rox | 4:08 row 4 : 4 | "real niggas" | l.e.s | nas, ruc | 4:39 row 5 : 5 | "find ya wealth" | l.e.s | nas | 3:40 row 6 : 6 | "straight outta q.b | l.e.s | cormega, jungle, poet | 3:55 row 7 : 7 | "oochie wally (remix) | ez elpee | nas, bravehearts | 4:00 row 8 : 8 | "our way" | scott storch | capone-n-noreaga, | 4:47 row 9 : 9 | "fire" | l.e.s | nature | 3:39 row 10 : 10 | "power rap" (freestyle interlude | havoc | prodigy | 2:30 row 11 : 11 | "street glory" | l.e.s | nas, pop | 3:30 row 12 : 12 | "we break bread" | l.e.s | chaos, craig g, little | 4:43 row 13 : 13 | "money" | the alchemist | mr. challish | 3:15 row 14 : 14 | "self conscience" | the infinite arkatechz | nas, prodigy | 3:15 row 15 : 15 | "die 4" | plain truth | infamous mobb | 4:01 row 16 : 16 | "kids in da p.j | the infinite arkatechz | millennium thug, | 4:35 row 17 : 17 | "teenage thug" (bon | al west | millennium thug, | 4:02 ] Execute this SQL based on the above table: select sum ( # )
153.0
[ header: rank | swimmer | country | time | note row 1 : 1 | claudia poll | costa rica | 57.43 | q row 2 : 2 | vanessa garcia | puerto rico | 57.95 | q row 3 : 3 | arlene semeco | venezuela | 58.11 | q row 4 : 4 | heysi villarreal | cuba | 58.67 | q row 5 : 5 | mariana alvarado | mexico | 58.69 | q row 6 : 6 | carolina moreno | mexico | 59.11 | q row 7 : 7 | isabella tafur | colombia | 59.7 | q row 8 : 8 | ximena maria vilar | venezuela | 59.79 | q row 9 : 9 | nikia hillarie | bahamas | 59.92 | None row 10 : 10 | sharon fajardo | honduras | 1:00.45 | None row 11 : 11 | maria alvarez | colombia | 1:00.76 | None row 12 : 12 | alia atkinson | jamaica | 1:01.17 | None row 13 : 13 | alexis jordan | barbados | 1:01.79 | None row 14 : 14 | sharntelle mclean | trinidad and tobago | 1:03.26 | None row 15 : 15 | jennifer powell | cayman islands | 1:03.41 | None row 16 : 16 | nishani cicilson | suriname | 1:03.88 | None row 17 : 17 | sade daal | suriname | 1:04.70 | None row 18 : 18 | dalia torrez | nicaragua | 1:05.69 | None row 19 : None | gisela morales | guatemala | dns | None row 20 : None | alana dillette | bahamas | dns | None row 21 : None | pamela benitez | el salvador | dns | None row 22 : None | nilshaira isenia | netherlands antilles | dns | None ] Execute this SQL based on the above table: select count ( swimmer ) where time > '1:01.79'
0
[ header: year | competition | location | event | final-rank | final-score | qualifying rank | qualifying score row 1 : 2008 | 2008 summer olympics | beijing | team | 2 | 186.525 | 2 | 246.8 row 2 : 2008 | 2008 summer olympics | beijing | uneven bars | dnq | None | 23 | 14.8 row 3 : 2008 | olympic trials | philadelphia | all around | 4 | 61.85 | 4 | 61.4 row 4 : 2008 | olympic trials | philadelphia | balance beam | 4 | 15.55 | 4 | 15.8 row 5 : 2008 | olympic trials | philadelphia | floor exercise | 2 | 15.5 | 3 | 15.65 row 6 : 2008 | olympic trials | philadelphia | uneven bars | 6 | 15.2 | 5 | 15.3 row 7 : 2008 | olympic trials | philadelphia | vault | 4 | 15.15 | 3 | 15.1 row 8 : 2008 | u.s. championships | boston | all around | 4 | 61.25 | 4 | 60.75 row 9 : 2008 | u.s. championships | boston | balance beam | 5 | 16 | 5 | 15.4 row 10 : 2008 | u.s. championships | boston | floor exercise | 10 | 14.75 | 4 | 15.2 row 11 : 2008 | u.s. championships | boston | uneven bars | 6 | 15.55 | 6 | 15.15 row 12 : 2008 | american cup | new york city | all around | 3 | 63.075 | 3 | 63.075 ] Execute this SQL based on the above table: select final-rank where qualifying score > 128
2
[ header: # | title | english translation | original album | length row 1 : 1 | mimpi yang sempurn | a perfect dream | kisah 2002 malam | 4:30 row 2 : 2 | bintang di surga | stars in the heaven | bintang di surga | None row 3 : 3 | aku dan bintang | the stars and me | taman langit | 3:39 row 4 : 4 | jauh mimpiku | distant dreams of mine | ost. alexandria | None row 5 : 5 | hari yang cerah un | a bright day for a lonely soul | hari yang cerah | 3:59 row 6 : 6 | menunggu pagi | waiting for dawn | ost. alexandria | None row 7 : 7 | khayalan tingkat ting | high-level imagination | bintang di surga | None row 8 : 8 | sahabat | best friend | taman langit | 4:33 row 9 : 9 | sally sendiri | sally alone | hari yang cerah | 4:17 row 10 : 10 | langit tak mendengar | the sky didn't listen | ost. alexandria | None row 11 : 11 | di belakangku | behind me | bintang di surga | None row 12 : 12 | kita tertawa | we laugh | taman langit | 3:29 row 13 : 13 | membebaniku | burdening me | ost. alexandria | 4:25 row 14 : 14 | cobalah mengerti | try to understand | hari yang cerah | 3:30 row 15 : 15 | topeng | mask | taman langit | 4:25 ] Execute this SQL based on the above table: select title where # > ( select # where title = 'sally sendiri' )
langit tak mendengar, di belakangku, kita tertawa, membebaniku, cobalah mengerti, topeng
[ header: place | position | number | name | league one | fa cup | league cup | football league trophy | total row 1 : 1 | mf | 4 | luke summerfield | 5 | 0 | 0 | 0 | 5 row 2 : 2 | mf | 17 | paul parry | 3 | 0 | 1 | 0 | 4 row 3 : 3 | fw | 24 | tom eaves | 3 | 0 | 0 | 0 | 3 row 4 : 4 | mf | 11 | jon taylor | 1 | 0 | 0 | 1 | 2 row 5 : 4 | df | 5 | darren jones | 2 | 0 | 0 | 0 | 2 row 6 : 4 | mf | 23 | adam reach | 2 | 0 | 0 | 0 | 2 row 7 : 4 | mf | 22 | ryan woods | 2 | 0 | 0 | 0 | 2 row 8 : 4 | fw | 26 | curtis main | 2 | 0 | 0 | 0 | 2 row 9 : 5 | mf | 2 | jermaine grandison | 1 | 0 | 0 | 0 | 1 row 10 : 5 | mf | 8 | dave mcallister | 1 | 0 | 0 | 0 | 1 row 11 : 5 | fw | 15 | aaron wildig | 1 | 0 | 0 | 0 | 1 row 12 : 5 | fw | 29 | asa hall | 1 | 0 | 0 | 0 | 1 row 13 : 5 | fw | 7 | gozie ugwu | 1 | 0 | 0 | 0 | 1 row 14 : 5 | df | 18 | connor goldson | 1 | 0 | 0 | 0 | 1 row 15 : 5 | mf | 10 | nicky wroe | 1 | 0 | 0 | 0 | 1 row 16 : 5 | fw | 9 | tom bradshaw | 1 | 0 | 0 | 0 | 1 ] Execute this SQL based on the above table: select count ( * ) where league cup = 0
15
[ header: year | vidhan sabha | members of legislative assembly | winning party | nearest contesting party row 1 : 1951 | 01st vidhan sab | shri hari prasad | sop | inc row 2 : 1957 | 02nd vidhan sabha | shri bhihari lal | psp | inc row 3 : 1962 | 03rd vidhan sab | shri durga prasad | inc | psp row 4 : 1967 | 04th vidhan sabha | shri munendra pal singh | psp | bjs row 5 : 1969 | 05th vidhan sab | shri tej bhah | bkd | bjs row 6 : 1974 | 06th vidhan sabha | shri tej bhah | inc | bjs row 7 : 1977 | 07th vidhan sabha | shri munendra pal singh | jnp | inc row 8 : 1980 | 08th vidhan sabha | shri tej bhah | inc | jnp row 9 : 1985 | 09th vidhan sabha | shri tej bhah | inc | jnp row 10 : 1989 | 10th vidhan sabha | shri harish kumar | jnp | bjp row 11 : 1991 | 11th vidhan sabha | shri ram saran verm | bjp | inc row 12 : 1993 | 12th vidhan sabha | shri ram saran verm | bjp | inc row 13 : 1996 | 13th vidhan sabha | shri anish ahemd k | bsp | bjp row 14 : 2002 | 14th vidhan sabha | shri anish ahemd k | bsp | bjp row 15 : 2007 | 15th vidhan sabha | shri anish ahemd k | bsp | bjp row 16 : 2012 | 16th vidhan sabha | shri ram saran verm | bjp | inc ] Execute this SQL based on the above table: select winning party order by year desc limit 1
bjp
[ header: team 1 | agg. | team 2 | 1st leg | 2nd leg row 1 : dr congo | None | chad | None | None row 2 : ethiopia | None | equatorial guinea | None | None row 3 : swaziland | None | mauritius | None | None row 4 : djibouti | None | madagascar | None | None row 5 : sierra leone | 2-2 (1-3 p) | liberia | 1-1 | 1-1 row 6 : somalia | 0-1 | sudan | 0-0 | 0-1 row 7 : botswana | 1-0 | namibia | 1-0 | 0-0 ] Execute this SQL based on the above table: select team 2 - team 1 where team 1 = 'ethiopia'
0
[ header: no. | player | position | career | date no. retired row 1 : 1 | eddie giacomin | g | 1965-76 | march 15, 1989 row 2 : 2 | brian leetch | d | 1987-2004 | january 24, 2008 row 3 : 3 | harry howell | d | 1952-69 | february 22, 2009 row 4 : 7 | rod gilbert | rw | 1960-78 | october 14, 1979 row 5 : 9 | andy bathgate | c | 1954-64 | february 22, 2009 row 6 : 9 | adam graves | lw | 1991-2001 | february 3, 2009 row 7 : 11 | mark messier | c | 1991-97, 2000-04 | january 12, 2006 row 8 : 35 | mike richter | g | 1990-2003 | february 4, 2004 row 9 : 99 | wayne gretzky | c | 1996-99 | february 6, 2000 ] Execute this SQL based on the above table: select no. - no.
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
[ header: # | menteri besar | took office | left office | party row 1 : 1 | jaafar mohamed | 1886 | july 1890 | no party row 2 : 2 | mohamed mahbob | june 1920 | 1922 | no party row 3 : 3 | abdullah jaafar | september 1923 | 1928 | no party row 4 : 4 | mustapha jaafar | september 16, 1928 | november 23, 1931 | no party row 5 : 5 | abdul hamid yusof | november 23, 1931 | december 28, 1934 | no party row 6 : 6 | ungku abdul aziz abd | april 1935 | june 1, 1947 | no party row 7 : 7 | onn jaafar | june 1, 1947 | may 18, 1950 | no party row 8 : 8 | syed abdul kadir mo | february 18, 1952 | june 5, 1955 | no party row 9 : 9 | wan idris ibra | october 1, 1955 | august 31, 1957 | no party ] Execute this SQL based on the above table: select count ( party ) where left office = 'august 31, 1957'
1
[ header: season | head coach | overall record | conference record row 1 : 1931 | tom conley | 4-4 | None row 2 : 1932 | tom conley | 4-2-2 | None row 3 : 1933 | marty brill | 3-3-2 | None row 4 : 1934 | marty brill | 7-0-1 | None row 5 : 1935 | marty brill | 4-4-1 | None row 6 : 1936 | marty brill | 6-4-1 | None row 7 : 1937 | marty brill | 2-7 | None row 8 : 1938 | marty brill | 4-4 | None row 9 : 1939 | marty brill | 6-1-1 | None row 10 : 1940 | jim henry | 6-2 | None row 11 : 1941 | jim henry | 5-3 | None row 12 : 1997 | bill manlove | 1-8 | None row 13 : 1998 | bill manlove | 3-6 | None row 14 : 1999 | bill manlove | 4-6 | 3-5 (t-6th/9) row 15 : 2000 | bill manlove | 7-4 | 4-3 (4th/8) row 16 : 2001 | bill manlove | 5-4 | 2-4 (t-5th/8) row 17 : 2002 | archie stalcup | 2-9 | 2-6 (t-7th/9) row 18 : 2003 | archie stalcup | 3-8 | 2-3 (t-3rd/6) row 19 : 2004 | phil longo | 3-7 | 1-3 (t-3rd/5) row 20 : 2005 | phil longo | 4-7 | 2-2 (t-3rd/5) row 21 : 2006 | tim miller | 3-7 | 1-3 (t-4th/5) row 22 : 2007 | tim miller | 0-10 | 0-3 (4th/4) ] Execute this SQL based on the above table: select overall record where id = ( select id where overall record = '3-8' ) + 1
3-7
[ header: episode | original broadcast date | average | rank | remarks row 1 : 1 | 8 april 2012 | 1 | 5 | this includes bloopers row 2 : 2 | 15 april 2012 | 0.91 | 5 | None row 3 : 3 | 22 april 2012 | 0.92 | 5 | None row 4 : 4 | 29 april 2012 | 0.76 | 3 | None row 5 : 5 | 6 may 2012 | 0.67 | 3 | None row 6 : 6 | 13 may 2012 | 0.67 | 3 | None row 7 : 7 | 20 may 2012 | 0.64 | 3 | None row 8 : 8 | 27 may 2012 | 0.7 | 2 | None row 9 : 9 | 3 june 2012 | 0.58 | 4 | None row 10 : 10 | 10 june 2012 | 0.6 | 3 | None row 11 : 11 | 17 june 2012 | 0.81 | 2 | None row 12 : 12 | 24 june 2012 | 0.66 | 3 | None row 13 : 13 | 1 july 2012 | 0.86 | 3 | None row 14 : average | average | 0.75 | None | None ] Execute this SQL based on the above table: select count ( * ) where rank < ( select rank where original broadcast date = '20 may 2012' )
2
[ header: year | nominated work | award | category | result row 1 : 1984 | what becomes a semi-legend most? | grammy award | best comedy album | nominated row 2 : 1990 | the joan rivers show | daytime emmy award | outstanding talk show host | won row 3 : 1991 | the joan rivers show | daytime emmy award | outstanding talk show host | nominated row 4 : 1992 | the joan rivers show | daytime emmy award | outstanding writing - special class | nominated row 5 : 1992 | the joan rivers show | daytime emmy award | outstanding talk show host | nominated row 6 : 1993 | the joan rivers show | daytime emmy award | outstanding writing - special class | nominated row 7 : 1993 | the joan rivers show | daytime emmy award | outstanding talk show host | nominated row 8 : 1994 | sally marr...and her esc | tony award | best actress in a play | nominated row 9 : 2009 | arthur | daytime emmy award | outstanding performer in an animated program | nominated ] Execute this SQL based on the above table: select count ( award ) where nominated work = 'what becomes a semi-legend most?'
1
[ header: rank | name | nationality | time (hand) | notes row 1 : 1 | tommy green | great britain | 4:50:10 | or row 2 : 2 | janis dalins | latvia | 4:57:20 | None row 3 : 3 | ugo frigerio | italy | 4:59:06 | None row 4 : 4 | karl hahnel | germany | 5:06:06 | None row 5 : 5 | ettore rivolta | italy | 5:07:39 | None row 6 : 6 | paul sievert | germany | 5:16:41 | None row 7 : 7 | henri quintric | france | 5:27:25 | None row 8 : 8 | ernie crosbie | united states | 5:28:02 | None row 9 : 9 | bill chisholm | united states | 5:51:00 | None row 10 : 10 | alfred maasik | estonia | 6:19:00 | None row 11 : None | henry cieman | canada | None | dnf row 12 : None | john moralis | greece | None | dnf row 13 : None | francesco pretti | italy | None | dnf row 14 : None | arthur tell schwab | switzerland | None | dnf row 15 : None | harry hinkel | united states | None | dnf ] Execute this SQL based on the above table: select count ( * ) where rank < 1691
10
[ header: year | total | romanians | hungarians | roma row 1 : 1850 | 4,541 | 69.3% | 23.9% | 6.5% row 2 : 1880 | 4,636 | 63.0% | 30.2% | None row 3 : 1890 | 5,499 | 62.7% | 31.6% | None row 4 : 1900 | 5,553 | 64.3% | 29.7% | None row 5 : 1910 | 6,234 | 64.6% | 30.4% | None row 6 : 1920 | 5,887 | 71.6% | 27.9% | None row 7 : 1930 | 6,456 | 70.5% | 22.8% | 2.6% row 8 : 1941 | 6,981 | 78.3% | 19.4% | None row 9 : 1956 | 6,649 | 74.7% | 19.0% | 6.0% row 10 : 1966 | 6,991 | 80.9% | 17.3% | 1.7% row 11 : 1977 | 7,089 | 78.1% | 16.9% | 4.9% row 12 : 1992 | 5,723 | 74.1% | 14.2% | 11.6% row 13 : 2002 | 5,506 | 74.4% | 12.0% | 13.6% row 14 : 2011 | 4,574 | 70.7% | 11.2% | 17.9% ] Execute this SQL based on the above table: select count ( romanians ) where year = 1850
1
[ header: rank | swimmer | country | time | note row 1 : 1 | claudia poll | costa rica | 57.43 | q row 2 : 2 | vanessa garcia | puerto rico | 57.95 | q row 3 : 3 | arlene semeco | venezuela | 58.11 | q row 4 : 4 | heysi villarreal | cuba | 58.67 | q row 5 : 5 | mariana alvarado | mexico | 58.69 | q row 6 : 6 | carolina moreno | mexico | 59.11 | q row 7 : 7 | isabella tafur | colombia | 59.7 | q row 8 : 8 | ximena maria vilar | venezuela | 59.79 | q row 9 : 9 | nikia hillarie | bahamas | 59.92 | None row 10 : 10 | sharon fajardo | honduras | 1:00.45 | None row 11 : 11 | maria alvarez | colombia | 1:00.76 | None row 12 : 12 | alia atkinson | jamaica | 1:01.17 | None row 13 : 13 | alexis jordan | barbados | 1:01.79 | None row 14 : 14 | sharntelle mclean | trinidad and tobago | 1:03.26 | None row 15 : 15 | jennifer powell | cayman islands | 1:03.41 | None row 16 : 16 | nishani cicilson | suriname | 1:03.88 | None row 17 : 17 | sade daal | suriname | 1:04.70 | None row 18 : 18 | dalia torrez | nicaragua | 1:05.69 | None row 19 : None | gisela morales | guatemala | dns | None row 20 : None | alana dillette | bahamas | dns | None row 21 : None | pamela benitez | el salvador | dns | None row 22 : None | nilshaira isenia | netherlands antilles | dns | None ] Execute this SQL based on the above table: select country where rank = ( select rank where country = 'venezuela' ) - 1
puerto rico
[ header: goal | date | venue | opponent | score | result | competition row 1 : 1 | 10 october 1998 | tyencastle park, e | estonia | 1-1 | 3-2 | ecqg9 row 2 : 2 | 10 october 1998 | tyencastle park, e | estonia | 3-2 | 3-2 | ecqg9 row 3 : 3 | 14 october 1998 | pittodrie stadium, aberdeen | faroe islands | 2-0 | 2-1 | ecqg9 row 4 : 4 | 4 september 1999 | olimpijski stadion | bosnia and herzegovin | 2-1 | 2-1 | ecqg9 row 5 : 5 | 24 march 2001 | hampden park, glasgow | belgium | 1-0 | 2-2 | wcqg6 row 6 : 6 | 24 march 2001 | hampden park, glasgow | belgium | 2-0 | 2-2 | wcqg6 row 7 : 7 | 28 march 2001 | hampden park, glasgow | san marino | 3-0 | 4-0 | wcqg6 ] Execute this SQL based on the above table: select count ( date ) where competition = 'ecqg9'
4
[ 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 count ( left office ) where left office = 'march 4, 1899'
0
[ header: number | name | year built | boat builder | current status row 1 : 1 | hilbre | 1958 | williams & nixon | wksc-regularly row 2 : 4 | hioco | 1959 | enterprise boat company, rock ferry | wksc-regularly row 3 : 6 | hie | 1959 | williams & nixon | wksc-regularly row 4 : 9 | hiawatha | 1960 | williams & nixon | wksc-regularly row 5 : 13 | no boat | None | None | None row 6 : 15 | hieros | 1961 | turner & son, donegal | understood to be in a garden in chester row 7 : 16 | high & dry | 1961 | turner & son, donegal | went down in the persian gulf after row 8 : 17 | hilsa | 1961 | enterprise boat company, rock ferry | wksc-regularly row 9 : 19 | hilarity | 1960 | williams & nixon | wksc-regularly row 10 : 20 | hilda | 1960 | enterprise boat company, rock ferry | wksc-regularly row 11 : 22 | hijack | 1961 | turner & son, donegal | set on fire and destroyed in nevin, row 12 : 24 | hibiscus | 1961 | enterprise boat company, rock ferry | sunk when it disappeared from its moor row 13 : 27 | hicotee | 1961 | enterprise boat company, rock ferry | wksc-regularly row 14 : 33 | hiwmor | 1961 | crossfield successors, arnside | south east england row 15 : 35 | hilo | 1961 | enterprise boat company, rock ferry | wrecked when escaped moorings row 16 : 37 | hinden | 1961 | crossfield successors, arnside | destroyed when put in a skip in liverpool row 17 : 39 | hickory | 1961 | crossfield successors, arnside | burnt on bonfire night row 18 : 41 | highcrest | 1961 | crossfield successors, arnside | wrecked when came off its mooring row 19 : 44 | hibrena | 1961 | crossfield successors, arnside | cut up and burnt in 2002 and parts salvage row 20 : 49 | higgler | 1961 | crossfield successors, arnside | last heard of in polperro row 21 : 50 | heulwen | 1962 | wirral boat co., rock ferry | porthmadog row 22 : 54 | hinon | 1964 | crossfield successors, arnside | lying in a garden in buckley, in row 23 : 55 | hiriver | 1964 | anglesey boat co., beaumaris | sunk in the river mersey row 24 : 56 | hipparchus | 1966 | anglesey boat co., beaumaris | liverpool maritime museum ] Execute this SQL based on the above table: select year built where current status = 'wrecked when escaped moorings at west kirby sc'
1961
[ header: team | year | regular season won | regular season lost | regular season win % | regular season finish | postseason won | postseason lost | postseason win % | postseason result row 1 : cle | 1991 | 32 | 53 | 0.376 | 7th in al east | None | None | None | None row 2 : cle | 1992 | 76 | 86 | 0.469 | 5th in al east | None | None | None | None row 3 : cle | 1993 | 76 | 86 | 0.469 | 6th in al east | None | None | None | None row 4 : cle | 1994 | 66 | 47 | 0.584 | 2nd in al central | None | None | None | no mlb postseason row 5 : cle | 1995 | 100 | 44 | 0.694 | 1st in al central | 9 | 6 | 0.6 | lost ws to atl row 6 : cle | 1996 | 99 | 62 | 0.615 | 1st in al central | 1 | 3 | 0.25 | lost lds to bal row 7 : cle | 1997 | 86 | 75 | 0.534 | 1st in al central | 10 | 8 | 0.556 | lost ws to fla row 8 : cle | 1998 | 89 | 73 | 0.549 | 1st in al central | 5 | 5 | 0.5 | lost lcs to nyy row 9 : cle | 1999 | 97 | 65 | 0.599 | 1st in al central | 2 | 3 | 0.4 | lost lds to bos row 10 : bal | 2000 | 74 | 88 | 0.457 | 4th in al east | None | None | None | None row 11 : bal | 2001 | 63 | 98 | 0.391 | 4th in al east | None | None | None | None row 12 : bal | 2002 | 67 | 95 | 0.414 | 4th in al east | None | None | None | None row 13 : bal | 2003 | 71 | 91 | 0.438 | 4th in al east | None | None | None | None row 14 : sea | 2005 | 69 | 93 | 0.426 | 4th in al west | None | None | None | None row 15 : sea | 2006 | 78 | 84 | 0.481 | 4th in al west | None | None | None | None row 16 : sea | 2007 | 45 | 33 | 0.571 | 2nd in al west | None | None | None | None row 17 : cle total | cle total | 721 | 591 | 0.55 | None | 27 | 25 | 0.519 | None row 18 : bal total | bal total | 275 | 372 | 0.425 | None | 0 | 0 | 0 | None row 19 : sea total | sea total | 192 | 210 | 0.478 | None | 0 | 0 | 0 | None row 20 : total | total | 1188 | 1173 | 0.503 | None | 27 | 25 | 0.519 | None ] Execute this SQL based on the above table: select count ( team )
20
[ header: kilometers | name | location | intersecting routes row 1 : 0 | mahanayim junction | mahanayim, near hatz | highway 90 (israel) row 2 : 7 | gadot junction | gadot | route 918 row 3 : 12 | customs house junction | customs office | route 888 row 4 : 15 | nashot junction | northwest of katzrin | route 9088 row 5 : 21 | None | golan heights | petroleum road row 6 : 22 | hashiryon junction | golan heights | route 978 row 7 : 23 | shipon junction | shipon (spelt) mountain | route 9099 row 8 : 27 | avital junction | mount avital | route 9881 row 9 : 28 | zivan junction | ein zivan | highway 98 (israel) ] Execute this SQL based on the above table: select name order by id asc limit 1
mahanayim junction
[ header: week | date | opponent | home/away | result | bye row 1 : 1 | february 8 | new orleans voodoo | home | l 42-34 | 0 row 2 : 2 | february 15 | dallas desperados | away | l 51-47 | 0 row 3 : 3 | february 21 | columbus destroyers | home | w 56-34 | 0 row 4 : 4 | february 29 | tampa bay storm | away | l 40-37 | 0 row 5 : 5 | march 7 | chicago rush | home | w 53-47 | 0 row 6 : 6 | march 13 | columbus destroyers | away | l 43-41 | 0 row 7 : 7 | march 21 | colorado crush | home | l 40-33 | 0 row 8 : 8 | march 28 | austin wranglers | away | w 65-60 | 0 row 9 : 9 | april 4 | dallas desperados | home | w 47-31 | 0 row 10 : 10 | None | None | week | None | 1 row 11 : 11 | april 17 | carolina cobras | away | l 63-59 | 0 row 12 : 12 | april 24 | new york dragons | home | w 60-58 | 0 row 13 : 13 | may 1 | colorado crush | away | l 58-40 | 0 row 14 : 14 | may 8 | las vegas gladiators | home | l 63-35 | 0 row 15 : 15 | may 15 | carolina cobras | home | l 46-43 | 0 row 16 : 16 | may 22 | san jose sabercat | away | l 48-36 | 0 row 17 : 17 | may 30 | new york dragons | away | l 69-54 | 0 ] Execute this SQL based on the above table: select count ( * ) where week >= 15
3
[ header: date | opponent | score | top scorer (total points) | venue (location) row 1 : february 17 governor's cup | coca cola | 90-82 | askia jones (29 p | araneta coliseum row 2 : april 21 | sta.lucia | 95-76 | askia jones (41 p | araneta coliseum row 3 : july 6 commissioner's cup | red bull | 82-81 | None | araneta coliseum row 4 : july 13 | alaska | 78-76 | george banks (27 pts | cuneta astrodome row 5 : july 18 | rp-selecta | 61-57 | None | caruncho gym (pasig city) row 6 : august 1 | brgy.ginebra | 72-71 | johnny jackson (25 | philsports arena row 7 : november 6 all-filipino | talk 'n text | 67-64 | chris calaguio ( | cuneta astrodome row 8 : november 15 | brgy.ginebra | 71-65 | None | ynares center row 9 : november 27 | fedex | 76-75 | mike hrabak (24 | philsports arena row 10 : december 4 | purefoods | 77-71 | dale singson (30 pts) | philsports arena ] Execute this SQL based on the above table: select count ( date ) where top scorer (total points) > 987
7
[ header: rock/pop/alternative | 2004 | 2005 | 2006 | 2009 | 2010 | 2011 row 1 : outstanding alternative/indie artist/group | the fags | the fags | crud | None | None | andre row 2 : outstanding hard rock/metal artist/group | forge | broadzilla | broadzilla | None | None | None row 3 : outstanding industrial artist/group | haf/life | the impaler | None | crud | cybertribe | crud row 4 : outstanding pop artist/group | liz larin | jill jack | jill jack | ty stone | None | andre / serena knight (t row 5 : outstanding rock artist/group | the kingsnakes | the reefermen | liz larin | broadzilla | None | andre row 6 : outstanding rock/pop instrumentalist | jimmy paluzzi - drum | bobby east - guitar the reefer | bobby east - guitar the reefer | rachel may - guitar | larry fratangelo - | jimmy bones - keyboards row 7 : outstanding rock/pop recording | sista otis and the wholly | mindcandy recognize | liz larin wake up, start dream | the muggs on with the show | carolyn striho honesty | andre 3 soldiers row 8 : outstanding rock/pop songwriter | liz larin | tim diaz | liz larin | vinnie dombroski | vinnie dombroski | andre row 9 : outstanding rock/pop vocalist | liz larin | jezter soot | liz larin | vinnie dombroski | ty stone | ty stone ] Execute this SQL based on the above table: select rock/pop/alternative where 2010 = 'vinnie dombroski'
outstanding rock/pop songwriter
[ header: institution | location | nickname | founded | type | enrollment | joined mac row 1 : delaware valley college | doylestown, pennsyl | aggies | 1917 | private/non-sectarian | 2241 | 1965 row 2 : desales university | center valley, pennsylvania | bulldogs | 1965 | private/catholic | 3199 | 1997 row 3 : eastern university | st. davids, penn | eagles | 1952 | private/baptist | 4235 | 2008 row 4 : fairleigh dickinson university-flor | madison, new jersey | devils | 1942 | private/non-sectarian | 3288 | 1977 row 5 : king's college | wilkes-barre, penn | monarchs | 1946 | private/catholic | 2725 | 1977 row 6 : manhattanville college | purchase, new york | valiants | 1841 | private/non-sectarian | 2695 | 2007 row 7 : misericordia university | dallas, pennsyl | cougars | 1924 | private/catholic | 2830 | 2008 row 8 : wilkes university | wilkes-barre, penn | colonels | 1933 | private/non-sectarian | 5136 | 1946 ] Execute this SQL based on the above table: select institution order by enrollment desc limit 1
wilkes university
[ header: rank | name | nationality | result | notes row 1 : None | huang qiuyan | china | 14.39 | sb row 2 : None | anastasiya juravlev | uzbekistan | 14.21 | #name? row 3 : None | zhang hao | china | 13.63 | None row 4 : 4 | wacharee ritthiwat | thailand | 13.54 | sb row 5 : 5 | tatyana bocharova | kazakhstan | 13.5 | None row 6 : 6 | wang kuo-huei | chinese taipei | 13.25 | sb row 7 : 7 | fumiyo yoshida | japan | 13.09 | None row 8 : 8 | ngew sin mei | malaysia | 12.93 | None row 9 : 9 | manisha dey | india | 12.83 | None row 10 : 10 | thitima muangjan | thailand | 12.79 | None row 11 : 11 | phan thi thu lan | vietnam | 12.75 | None row 12 : 12 | lo yu-hsin | chinese taipei | 12.69 | None row 13 : None | elena bobrovskaya | kyrgyzstan | dns | None ] Execute this SQL based on the above table: select count ( name ) where notes = 'None'
0
[ header: poll source | date(s) administered | sample size | margin of error | ed burke | roland burris | gery chico | bill daley | tom dart | danny k. davis | miguel del valle | rahm emanuel | bob fioretti | luis gutierrez | jim houlihan | jesse jackson, jr. | james meeks | carol moseley braun | terry peterson | patricia van pelt-watkins | william walls | other | undecided row 1 : mckeon & associates / | september 8, 2010 | 600 | ± 4.3% | None | None | 6% | None | 12% | None | None | 7% | 3% | 9% | 3% | 8% | 10% | None | 4% | None | None | 3% | 35% row 2 : we ask america (report) | september 2010 | 2365 | None | 6.31% | None | None | 8.16% | 13.66% | None | None | 29.68% | 2.95% | 12.81% | 2.30% | 13.36% | 8.21% | None | 2.55% | None | None | None | None row 3 : chicago teamsters joint council 25 / | november 8-14, 2010 | None | ± 3.7% | None | None | 10% | None | None | 14% | 4% | 36% | None | None | None | None | 7% | 13% | None | None | None | None | None row 4 : we ask america (report) | november 23, 2010 | 2255 | ± 2.06% | None | 2.40% | 8.86% | None | None | 7.29% | 4.78% | 39.00% | None | None | None | None | 5.16% | 12.33% | None | None | None | 1.47% | 18.72% row 5 : greenberg quinlan rosner (re | december 1-8, 2010 | 1020 | ± 3% | None | 1% | 9% | None | None | 10% | 8% | 43% | None | None | None | None | 7% | 11% | None | None | None | 2% | 7% row 6 : chicago tribune (report | december 10-13, 2010 | 721 | ± 3.6% | None | None | 9% | None | None | 9% | 3% | 32% | None | None | None | None | 7% | 6% | None | None | None | None | 30% row 7 : we ask america (report) | december 20, 2010 | 2239 | ± 2.07% | None | None | 11.78% | None | None | 6.63% | 6.09% | 43.83% | None | None | None | None | 3.63% | 7.78% | None | None | None | 3.91% | 16.35% row 8 : chicago teamsters joint council 25 / | january 4-6, 2011 | 500 | ±4.4% | None | None | 10% | None | None | None | 7% | 42% | None | None | None | None | None | 26% | None | None | None | None | None row 9 : chicago tribune/wg | january 15-19, 2011 | 708 | ±3.7% | None | None | 16% | None | None | None | 7% | 44% | None | None | None | None | None | 21% | None | 1% | 2% | None | 9% row 10 : we ask america (report) | february 13, 2011 | 2252 | ± 2.06% | None | None | 23.72% | None | None | None | 10.39% | 58.21% | None | None | None | None | None | 6.04% | None | 0.97% | 0.67% | None | None ] Execute this SQL based on the above table: select poll source where sample size >= 943
we ask america (report), we ask america (report), greenberg quinlan rosner (report), we ask america (report), we ask america (report)
[ header: ep# | title | broadcast date | written by | directed by row 1 : 1 | "birth of a legend" | april 18, 1995 | michael piller & bill dial | charles correll row 2 : 2 | "mr. pratt goes to | april 25, 1995 | michael piller & bill dial | william gereghty row 3 : 3 | "legend on his president's secret service | may 2, 1995 | bob wilcox | michael vejar row 4 : 4 | "custer's next to last stand" | may 9, 1995 | bill dial | william gereghty row 5 : 5 | "the life, death, and life of wild | may 16, 1995 | peter allan fields | michael caffey row 6 : 6 | "knee-high noon" | may 23, 1995 | steve stolier & fr | james l. conway row 7 : 7 | "the gospel according to legend" | june 12, 1995 | john considine | michael vejar row 8 : 8 | "bone of contention" | june 20, 1995 | george geiger | charles correll row 9 : 9 | "revenge of the herd" | july 4, 1995 | tim burns | bob balaban row 10 : 10 | "fall of a legend" | july 18, 1995 | bob shane & r | michael vejar row 11 : 11 | "clueless in san franci | july 25, 1995 | carol caldwell & marianne clark | charles correll row 12 : 12 | "skeletons in the closet" | august 8, 1995 | david rich | steve shaw ] Execute this SQL based on the above table: select directed by order by ep# asc limit 1
charles correll
[ header: name | | local names | sort | canton(s), neighboring countries | area in km2 | elevation m | max. depth in meter row 1 : lake geneva | None | lac leman, lac de geneve | geneva | geneva, vaud, vala | 580.03 | 372 | 310 row 2 : lake lucerne | None | vierwaldstattersee | lucerne | lucerne, nidwalden | 113.72 | 433.6 | 214 row 3 : lake lugano | None | ceresio, lago di lug | lugano | ticino, italy | 48.67 | 270.5 | 288 row 4 : lake thun | None | thunersee | thun | berne | 47.74 | 557.8 | 215 row 5 : lake biel | None | lac de bienne, bielersee | biel/bienne | berne, neuchatel | 39.51 | 429.1 | 74 row 6 : lake zug | None | zugersee | zug | lucerne, schwyz, | 38.41 | 413.6 | 198 row 7 : lake murten | None | murtensee, lac de morat | murten | fribourg, vaud | 22.8 | 429.2 | 46 row 8 : lake sempach | None | sempachersee | sempach | lucerne | 14.36 | 503.8 | 87 row 9 : lago di livigno | ↑ | lago di livigno | livignio | italy, grisons | 4.71 | 1805 | 119 row 10 : wagitalersee | ↑ | wagitalersee | waegital | schwyz | 4.18 | 900 | 65 row 11 : lago di lei | ↑ | lago di lei | lei | italy, grisons | 4.12 | 1931 | 133 row 12 : lake sils | None | silsersee, lej da se | sils | grisons | 4.1 | 1797 | 71 row 13 : lac des dix | ↑ | lac des dix | dix | valais | 3.65 | 2365 | 227 row 14 : lake wohlen | ↑ | wohlensee | wohlen | berne | 3.65 | 480 | 20 row 15 : grimselsee | ↑ | grimselsee | grimsel | berne | 2.63 | 1908 | 100 row 16 : lake lungern | None | lungerersee, lungernsee | lungern | obwalden | 2.01 | 688 | 68 row 17 : lac de mauvoisin | ↑ | lac de mauvoisin | mauvoisin | valais | 2.08 | 1961 | 180 row 18 : lago di vogorno | ↑ | lago di vogorno | vogorno | ticino | 1.68 | 470 | 204 row 19 : zervreilasee | ↑ | zervreilasee | zervreila | grisons | 1.61 | 1862 | 140 row 20 : oberaarsee | ↑ | oberaarsee | oberaar | berne | 1.47 | 2303 | 90 row 21 : lac de moiry | ↑ | lac de moiry | moiry | valais | 1.4 | 2249 | 120 row 22 : albigna lake | ↑ | lago da l'albigna | albigna | grisons | 1.13 | 2163 | 108 ] Execute this SQL based on the above table: select count ( * ) where sort = 1472
0
[ header: week | date | opponent | score | result | attendance | record row 1 : 1 | thursday, aug 11 | vs. winnipeg blue | 35-21 | loss | 31837 | 0-1 row 2 : 2 | monday, aug 15 | at edmonton eskimos | 33-14 | loss | 17500 | 0-2 row 3 : 3 | saturday, aug 20 | vs. saskatche | 27-12 | win | 29532 | 1-2 row 4 : 4 | monday, aug 22 | at calgary stampeders | 26-19 | win | None | 2-2 row 5 : 5 | monday, aug 29 | vs. edmonton | 26-0 | loss | 28420 | 2-3 row 6 : 6 | thursday, sept 1 | at winnipeg blue bombers | 19-14 | loss | 18297 | 2-4 row 7 : 7 | monday, sept 5 | at saskatchewan roughrid | 31-21 | win | 14105 | 3-4 row 8 : 8 | monday, sept 12 | vs. calgary stampeders | 21-21 | tie | 27759 | 3-4-1 row 9 : 9 | saturday, sept 17 | vs. winnipeg blue | 26-14 | loss | 30292 | 3-5-1 row 10 : 10 | monday, sept 19 | at edmonton eskimos | 18-10 | loss | None | 3-6-1 row 11 : 11 | saturday, sept 24 | at calgary stampeders | 28-14 | loss | 13000 | 3-7-1 row 12 : 12 | thursday, oct 6 | vs. edmonton | 21-13 | win | 21707 | 4-7-1 row 13 : 13 | thursday, oct 13 | at winnipeg blue bombers | 49-21 | loss | 16773 | 4-8-1 row 14 : 14 | saturday, oct 15 | at saskatchewan roughrid | 14-14 | tie | 7255 | 4-8-2 row 15 : 15 | saturday, oct 22 | vs. calgary stampeders | 22-10 | loss | 29599 | 4-9-2 row 16 : 16 | saturday, oct 29 | vs. saskatche | 38-0 | win | 21114 | 5-9-2 ] Execute this SQL based on the above table: select max ( attendance ) - min ( attendance )
24582.0
[ header: year | w | l | t | finish | coach row 1 : 1910 | 11 | 0 | 1 | None | earl ball row 2 : 1911 | 7 | 1 | 2 | None | earl ball row 3 : 1912 | 6 | 3 | 2 | None | earl ball row 4 : 1913 | 8 | 2 | 0 | indiana state champs | earl ball row 5 : 1914 | 5 | 3 | 1 | None | earl ball row 6 : 1915 | 8 | 2 | 1 | None | earl ball row 7 : 1916 | 2 | 7 | 1 | None | f.w. smith row 8 : 1917 | 2 | 2 | 0 | None | ky foster, ralph daw row 9 : 1918 | None | None | None | None | None row 10 : 1919 | 4 | 1 | 1 | None | cooney checkaye row 11 : 1920 | 0 | 1 | 0 | 14th apfa | ken huffine row 12 : 1921 | 0 | 2 | 0 | 18th apfa | cooney checkaye row 13 : 1922 | 5 | 1 | 3 | None | cooney checkaye row 14 : 1923 | 3 | 4 | 0 | None | cooney checkaye row 15 : 1924 | 3 | 3 | 0 | None | cooney checkaye row 16 : 1925 | 6 | 2 | 3 | None | cooney checkaye row 17 : 1926 | 0 | 1 | 0 | incomplete | None ] Execute this SQL based on the above table: select finish where finish in ( 'None' , 'indiana state champs' ) order by finish limit 1
indiana state champs
[ header: model | availability | introduced | length of use | last of whiteness row 1 : crest whitestrips classic previously crest | discontinued | may 2001 | 14 days | 12 months row 2 : crest whitestrips professional | discontinued | 2001 | 10 days | 12 months row 3 : crest whitestrips supreme | dentist and online | september 2003 | 21 days | 18 months row 4 : crest whitestrips premium | discontinued | january 2004 | 7 days | 12 months row 5 : crest whitestrips pro previously crest | discontinued | april 2005 | 10 days | 18 months row 6 : crest whitestrips renewal | discontinued | january 2006 | 10 days | 18 months row 7 : crest whitestrips daily multicare | discontinued | march 2007 | daily | white after using system row 8 : crest whitestrips advanced seal | discontinued | february 2009 | 14 days | 18 months row 9 : crest whitestrips 3d vivid | instore and online | 2009 | 10 days | 12 months row 10 : crest whitestrips 3d advanced vivid | instore and online | march 2010 | 14 days | 12 months row 11 : crest whitestrips 3d professional effects | instore and online | march 2010 | 20 days | 12 months row 12 : crest 3d white 2 hour express | instore and online | 2010 | 2 hours | 3 months row 13 : crest 3d intensive professional effects | instore and online | 2011 | 7 days | 12 months ] Execute this SQL based on the above table: select introduced order by introduced - introduced desc limit 1
may 2001
[ header: location | name of mill and grid reference | type | maps | first mention or built | last mention or demise row 1 : chesfield | None | post | None | 1318 | 1372 row 2 : chesfield | chesfield park | titt iron wind engine | None | 1896 | None row 3 : cheshunt | tl 317 036 | post | None | 1843 | demolished c. 1860 row 4 : cheshunt | goff's oak mill tl | tower | None | c. 1860 | demolished 1953 row 5 : cheshunt | turner's hill mill tl 3 | None | 1822 | 1822 | 1861 row 6 : chipperfield | tl 037 014 | post | None | 1594 | 1594 row 7 : chipperfield | tl 037 014 | smock | 1822 | 1822 | 1881, gone by 1896 row 8 : chipping | approximately tl 350 319 | post | 1720 1728 | 1720 | 1728 row 9 : clothall | approximately tl 264 326 | post | None | 1370 | 1370 row 10 : codicote | codicote heath approximately tl | smock | None | 1841 | 1855, gone by 1881 row 11 : colney heath | colney heath mill tl 205 | tower | None | 1854 | windmill world row 12 : cottered | None | post | None | 1581 | 1581 row 13 : cromer | None | None | None | 1192 | 1576 row 14 : cromer | cromer mill tl 304 2 | post | 1720 1728 1749 1766 1800 18 | 1720 | windmill world row 15 : croxley green | croxley green mill tq 06 | tower | None | c. 1860 | windmill world ] Execute this SQL based on the above table: select count ( location ) where type = 868
0
[ header: no. | name | class | games | minutes | points | 2 points (made/attempts) | 2 points (%) | 3 points (made/attempts) | 3 points (%) | free throws (made/attempts) | free throws (%) | rebounds offensive | rebounds defensive | rebounds total | assists | turnovers | steals | blocked shots | personal fouls | fouls drawn row 1 : 4 | sarah vinci | 1 | 7 | 125 | 8 | 4/9 | 44 | None | None | None | None | 2 | 6 | 8 | 1 | 2 | 2 | 1 | 4 | 1 row 2 : 5 | cobi crispin | 4 | 7 | 180 | 72 | 33/77 | 43 | None | None | 6/14 | 43 | 13 | 34 | 47 | 11 | 13 | 4 | 1 | 18 | 17 row 3 : 6 | bridie kean | 4 | 7 | 109 | 16 | 7/26 | 27 | 0/1 | 0 | 2/8 | 25 | 5 | 27 | 32 | 6 | 4 | 6 | None | 8 | 8 row 4 : 7 | amanda carter | 1 | 3 | 38 | 7 | 3/5 | 60 | None | None | 1/1 | 100 | 4 | None | 4 | None | 1 | 1 | None | 1 | 1 row 5 : 8 | tina mckenzie | 3 | 2 | 18 | None | 0/2 | 0 | None | None | None | None | None | 4 | 4 | 2 | 1 | None | None | 2 | None row 6 : 9 | leanne del toso | 3.5 | 3 | 24 | 4 | 2/7 | 29 | None | None | None | None | 2 | 7 | 9 | 2 | 3 | None | None | 2 | 1 row 7 : 10 | clare nott | 1 | 7 | 212 | 37 | 18/32 | 56 | 0/1 | 0 | 1/7 | 14 | 6 | 14 | 20 | 7 | 7 | 4 | 3 | 10 | 4 row 8 : 11 | kylie gauci | 2 | 7 | 186 | 54 | 24/68 | 35 | 2/6 | 33 | 0/2 | 0 | 4 | 11 | 15 | 28 | 14 | 5 | None | 9 | 12 row 9 : 12 | shelley chaplin | 3.5 | 7 | 166 | 26 | 13/48 | 27 | 0/1 | 0 | 0/7 | 0 | 5 | 15 | 20 | 28 | 10 | 4 | None | 12 | 13 row 10 : 13 | sarah stewart | 3 | 7 | 83 | 25 | 12/27 | 44 | None | None | 1/5 | 20 | 4 | 12 | 16 | 12 | 2 | 2 | None | 7 | 6 row 11 : 14 | katie hill | 3 | 7 | 107 | 25 | 12/30 | 40 | None | None | 1/1 | 100 | 1 | 7 | 8 | 6 | 4 | 2 | None | 4 | 4 row 12 : 15 | amber merritt | 4.5 | 7 | 153 | 83 | 40/77 | 52 | 0/1 | 0 | 3/12 | 25 | 11 | 30 | 41 | 6 | 8 | 5 | 2 | 16 | 16 row 13 : None | team | None | None | None | None | None | None | None | None | None | None | 7 | 12 | 19 | None | None | None | None | None | None row 14 : None | team totals | None | None | None | 357 | 168/408 | 41 | 2/10 | 20 | 15/57 | 26 | 64 | 179 | 243 | 109 | 84 | 35 | 7 | 93 | 83 ] Execute this SQL based on the above table: select name order by no. desc limit 1
amber merritt
[ header: year | single | us cashbox | us hot 100 | uk singles row 1 : 1969 | "rock & roll holiday" | None | None | None row 2 : 1970 | "be-bop confidential" | None | None | None row 3 : 1971 | "roadrunner" | None | None | None row 4 : 1971 | "that's fine" | None | None | None row 5 : 1972 | "the red back spider" | 85 | 96 | None row 6 : 1973 | "let your yeah be yeah" | 60 | 57 | 52 row 7 : 1973 | "smokin' in the boys room | 2 | 3 | 27 row 8 : 1974 | "i'm the leader of the gang | 26 | 48 | None row 9 : 1974 | "kings of the party" | 31 | 31 | None row 10 : 1974 | "i got it bad for you" | None | None | None row 11 : 1977 | "lady (put the light on me | 44 | 46 | None row 12 : 1977 | "the martian boogie" | 45 | 59 | None row 13 : 1979 | "love stealer" | None | None | None ] Execute this SQL based on the above table: select count ( * ) where single = '"the martian boogie"'
1
[ header: pos. | time | athlete | country | venue | date row 1 : 1 | 12.21 (+0.7) | yordanka donkova | bulgaria | stara zagora | 20 august 1988 row 2 : 2 | 12.25 (+1.4) | ginka zagorcheva | bulgaria | drama | 8 august 1987 row 3 : 3 | 12.26 (+1.7) | ludmila narozh | russia | seville | 6 june 1992 row 4 : 3 | 12.26 (+1.2) | brianna rollins | united states | des moines | 22 june 2013 row 5 : 5 | 12.28 (+1.1) | sally pearson | australia | daegu | 3 september 2011 row 6 : 6 | 12.33 (-0.3) | gail devers | united states | sacramento | 23 july 2000 row 7 : 7 | 12.36 (+1.9) | grazyna rabszt | poland | warsaw | 13 june 1980 row 8 : 8 | 12.37 (+1.5) | joanna hayes | united states | athens | 24 august 2004 row 9 : 8 | 12.37 (-0.2) | dawn harper | united states | london | 7 august 2012 row 10 : 10 | 12.39 (+1.5) | vera komisova | soviet union | rome | 5 august 1980 row 11 : 10 | 12.39 (+1.8) | nataliya grygoryeva | soviet union | kiev | 11 july 1991 row 12 : 12 | 12.42 (+1.8) | bettine jahn | east germany | berlin | 8 june 1983 row 13 : 12 | 12.42 (+2.0) | anjanette kirkland | united states | edmonton | 11 august 2001 row 14 : 14 | 12.43 (-0.9) | lucyna kalek | poland | hannover | 19 august 1984 row 15 : 14 | 12.43 (-0.3) | michelle perry | united states | carson | 26 june 2005 row 16 : 14 | 12.43 (+0.2) | lolo jones | united states | beijing | 18 august 2008 row 17 : 14 | 12.43 (+1.2) | queen harrison | united states | des moines | 22 june 2013 row 18 : 18 | 12.44 (-0.5) | gloria siebert | east germany | rome | 4 september 1987 row 19 : 18 | 12.44 (-0.8) | olga shishigina | kazakhstan | lucerne | 27 june 1995 row 20 : 18 | 12.44 (+0.4) | glory alozie | nigeria | monaco | 8 august 1998 row 21 : 18 | 12.44 (+0.6) | damu cherry | united states | lausanne | 7 july 2006 row 22 : 22 | 12.45 (+1.3) | cornelia oschkenat | east germany | neubrandenburg | 11 june 1987 row 23 : 22 | 12.45 (+1.4) | brigitte foster-hylton | jamaica | eugene | 24 may 2003 row 24 : 22 | 12.45 (+1.5) | olena krasov | ukraine | athens | 24 august 2004 row 25 : 22 | 12.45 (+1.4) | virginia crawford | united states | new york city | 2 june 2007 ] Execute this SQL based on the above table: select venue where country != 'soviet union' and venue = ( select venue where country = 'soviet union' )
rome
[ header: pos | rider | manufacturer | time/retired | grid | points row 1 : 1 | roberto rolfo | honda | 45:14.ret3 | 8 | 25 row 2 : 2 | anthony west | aprilia | 14.04 | 11 | 20 row 3 : 3 | fonsi nieto | aprilia | 33.511 | 5 | 16 row 4 : 4 | franco battaini | aprilia | 54.252 | 3 | 13 row 5 : 5 | alex debon | honda | +1:06.895 | 13 | 11 row 6 : 6 | naoki matsudo | yamaha | +1:06.943 | 9 | 10 row 7 : 7 | erwan nigon | aprilia | +1:13.421 | 12 | 9 row 8 : 8 | jaroslav hules | yamaha | +1:22.119 | 10 | 8 row 9 : 9 | manuel poggiali | aprilia | +1:22.163 | 7 | 7 row 10 : 10 | johann stigefelt | aprilia | +1:25.303 | 22 | 6 row 11 : 11 | toni elias | aprilia | +1:41.591 | 1 | 5 row 12 : 12 | lukas pesek | yamaha | +2:49.682 | 18 | 4 row 13 : 13 | dirk heidolf | aprilia | +1 lap | 17 | 3 row 14 : 14 | hugo marchand | aprilia | +1 lap | 19 | 2 row 15 : 15 | chaz davies | aprilia | +1 lap | 15 | 1 row 16 : 16 | hector faubel | aprilia | +1 lap | 16 | None row 17 : 17 | henk vd lagema | honda | +2 laps | 25 | None row 18 : 18 | joan olive | aprilia | +3 laps | 20 | None row 19 : ret | randy de puniet | aprilia | retirement | 4 | None row 20 : ret | christian gemmel | honda | retirement | 23 | None row 21 : ret | eric bataille | honda | retirement | 14 | None row 22 : ret | sebastian porto | honda | retirement | 2 | None row 23 : ret | katja poensgen | honda | retirement | 24 | None row 24 : ret | geoff hardcastle | yamaha | retirement | 26 | None row 25 : ret | alex baldolini | aprilia | retirement | 21 | None row 26 : ret | sylvain guintoli | aprilia | retirement | 6 | None ] Execute this SQL based on the above table: select grid where rider = 'eric bataille'
14.0
[ header: map (coordinates) | municipality | area (square kilometers) (square miles) | population | mesoregion | microregion row 1 : 6°26′8′′s 36°38 | acari | 608.565 (234.967) | 11035 | central potiguar | serido oriental row 2 : 6°11′40′′s 35°9 | ares | 112.584 (43.469) | 12931 | leste potiguar | litoral sul row 3 : 5°41′50′′s 36°31 | fernando pedroza | 322.540 (124.533) | 2850 | central potiguar | angicos row 4 : 6°8′57′′s 35°26 | lagoa de pedras | 117.660 (45.429) | 6992 | agreste potiguar | agreste potiguar row 5 : 6°16′44′′s 35°22 | passagem | 41.235 (15.921) | 2899 | agreste potiguar | agreste potiguar row 6 : 6°6′36′′s 37°18 | patu | 319.932 (123.526) | 11964 | oeste potiguar | umarizal row 7 : 5°4′4′′s 36°46 | porto do mangue | 418.636 (161.635) | 5217 | oeste potiguar | vale do acu row 8 : 5°58′30′′s 38°9 | sao francisco do o | 75.550 (29.170) | 3874 | oeste potiguar | pau dos ferros row 9 : 6°6′36′′s 37°57 | serrinha dos pintos | 122.644 (47.353) | 4538 | oeste potiguar | umarizal row 10 : 6°20′53′′s 35°22 | varzea | 67.245 (25.963) | 5227 | agreste potiguar | agreste potiguar ] Execute this SQL based on the above table: select microregion order by population desc limit 1
litoral sul
[ header: date | race name | d(f) | course | prize (£) | odds | runners | place | margin | winner/runner-up | time | jockey row 1 : july 1879 | chesterfield stakes | 5 | newmarket | 1130 | 9/4 | 11 | 1 | 1 | petal | 0:59 | charles wood row 2 : 29 july 1879 | richmond stakes | 6 | goodwood | 1762 | None | 8 | 1 | None | None | None | None row 3 : august 1879 | prince of wales stakes | 5 | york | 340 | 1/2 | 9 | 1 | 0.5 | brother to ersilia | None | fred archer row 4 : 1879 | triennial produce stakes | 10 | newmarket | 881 | None | 11 | 1 | None | None | None | None row 5 : 1879 | rous memorial stakes | 5 | newmarket | 567 | None | 10 | 1 | None | None | None | None row 6 : 26 may 1880 | epsom derby | 12 | epsom downs | 6375 | 2/1 | 19 | 1 | head | robert the devil | 2:48 | fred archer row 7 : june 1880 | st. james's palace | 8 | ascot | 1550 | 30/100 | 5 | 1 | head | fernandez | None | g fordham row 8 : 15 september 1880 | st leger | 14.5 | doncaster | 6100 | 4/5 | 12 | 6 | None | robert the devil | 3:32 | None row 9 : 28 september 1880 | great foal stakes | 10 | newmarket | 2697 | 9/2 | 7 | 2 | head | robert the devil | 2:25 | tom cannon row 10 : 14 october 1880 | champion stakes | 10 | newmarket | 2071 | 5/4 | 4 | 2 | 10 | robert the devil | 2:10 | g fordham row 11 : 27 april 1881 | city and suburban handicap | 10 | epsom downs | 1230 | 100/8 | 24 | 1 | 1.5 | foxhall | 2:07 | fred archer row 12 : 3 june 1881 | epsom gold cup | 12 | epsom downs | 500 | None | 2 | 1 | None | robert the devil | None | None row 13 : 13 october 1881 | champion stakes | 10 | newmarket | 2087 | 4/6 | 8 | 1 | 0.75 | scobell | 2:23.6 | fred archer row 14 : 25 october 1881 | cambridgeshire stakes | 9 | newmarket | 2017 | 9/2 | 32 | 7 | None | foxhall | 2:15.4 | fred archer ] Execute this SQL based on the above table: select jockey where id = 1
charles wood
[ header: pos | no | driver | team | laps | time/retired | grid | points row 1 : 1 | 1 | alex zanardi | chip ganassi racing | 95 | 1:52:24.080 | 2 | 20 row 2 : 2 | 6 | michael andretti | newman-haas racing | 95 | 1.921 | 3 | 16 row 3 : 3 | 12 | jimmy vasser | chip ganassi racing | 95 | 6.702 | 6 | 14 row 4 : 4 | 7 | bobby rahal | team rahal | 95 | 8.078 | 9 | 12 row 5 : 5 | 8 | bryan herta | team rahal | 95 | 12.984 | 17 | 10 row 6 : 6 | 20 | scott pruett | patrick racing | 95 | 14.607 | 8 | 8 row 7 : 7 | 10 | richie hearn | della penna motorsports | 95 | 15.305 | 13 | 6 row 8 : 8 | 25 | max papis | arciero-wells racing | 95 | 24.676 | 20 | 5 row 9 : 9 | 40 | adrian fernandez | patrick racing | 95 | 31.923 | 16 | 4 row 10 : 10 | 16 | helio castro-neves | bettenhausen racing | 95 | 32.691 | 21 | 3 row 11 : 11 | 99 | greg moore | forsythe racing | 95 | 34.926 | 12 | 2 row 12 : 12 | 17 | mauricio gugelmin | pacwest racing group | 95 | 37.64 | 19 | 1 row 13 : 13 | 24 | robby gordon | arciero-wells racing | 94 | +1 lap | 22 | None row 14 : 14 | 26 | paul tracy | team kool green | 94 | +1 lap | 10 | None row 15 : 15 | 77 | arnd meier | davis racing | 94 | +1 lap | 25 | None row 16 : 16 | 11 | christian fittipaldi | newman-haas racing | 93 | +2 laps | 5 | None row 17 : 17 | 2 | al unser, jr | marlboro team penske | 93 | +2 laps | 14 | None row 18 : 18 | 19 | michel jourdain jr | payton/coyne racing | 93 | +2 laps | 24 | None row 19 : 19 | 98 | p. j. jones | all american racing | 84 | suspension | 23 | None row 20 : 20 | 27 | dario franchitti | team kool green | 79 | brakes | 1 | 1+1 row 21 : 21 | 34 | gualter salles | payton/coyne racing | 65 | contact | 28 | None row 22 : 22 | 21 | tony kanaan | tasman motorsports group | 61 | fire | 7 | None row 23 : 23 | 3 | andre ribeiro | marlboro team penske | 54 | transmission | 11 | None row 24 : 24 | 9 | jj lehto | hogan racing | 37 | contact | 26 | None row 25 : 25 | 33 | patrick carpentier | forsythe racing | 33 | suspension | 18 | None row 26 : 26 | 18 | mark blundell | pacwest racing group | 30 | electrical | 15 | None row 27 : 27 | 5 | gil de ferran | walker racing | 26 | contact | 4 | None row 28 : 28 | 36 | alex barron | all american racing | 25 | contact | 27 | None ] Execute this SQL based on the above table: select count ( * ) where driver = 'max papis'
1
[ header: date | race name | location | uci rating | winner | team row 1 : 16-21 january | la tropicale amissa bongo | gabon | 2.2 | frederic guesdon (fr | francaise des jeux row 2 : 8-14 february | tour d'egypte | egypt | 2.2 | waylon woolcock (rsa) | south africa (national team) row 3 : 16 february | gp of sharm el | egypt | 1.2 | jan sipeky (svk) | dukla trencin-merida row 4 : 24 february-9 march | tour du cameroun | cameroon | 2.2 | flavien chipault (fra) | leboulou row 5 : 6-11 march | giro del capo | south africa | 2.2 | alexander efimkin (rus | barloworld row 6 : 17-23 march | tour of libya | libya | 2.2 | ahmed mohamed ali ( | libya (national team) row 7 : 8 april | grand prix de la ville de tunis | tunisia | 1.2 | ahmed mraihi ( | tunisia (national team) row 8 : 28 april-5 may | tour de la pharmacie centrale de tunisie | tunisia | 2.2 | hassen ben nasser ( | pharmacie centrale row 9 : 14-20 may | boucle du coton | burkina faso | 2.2 | saidou rouamba (bur) | burkina faso (national row 10 : 8-17 june | tour du maroc | morocco | 2.2 | nicholas white (rsa | south africa (national team) row 11 : 30 august-8 september | tour du senegal | senegal | 2.2 | adil jelloul (mar) | frmc-maroc row 12 : 16 september | dome 2 dome cycling spectacular | south africa | 1.2 | jaco venter (rsa) | team neotel ] Execute this SQL based on the above table: select uci rating where location = 'tunisia'
1.2, 2.2
[ header: name | canton | district | area (km2) | population (as of 2005) | date of law row 1 : diekirch dikrech | diekirch | diekirch | 12.42 | 6165 | 24 february 1843 row 2 : differdange deifferdeng | esch-sur-alzette | luxembourg | 22.18 | 19005 | 4 august 1907 row 3 : dudelange diddeleng | esch-sur-alzette | luxembourg | 21.38 | 17618 | 4 august 1907 row 4 : echternach iechternach | echternach | grevenmacher | 20.49 | 4507 | 24 february 1843 row 5 : esch-sur-alzette | esch-sur-alzette | luxembourg | 14.35 | 28000 | 29 may 1906 row 6 : ettelbruck ettelbreck | diekirch | diekirch | 15.18 | 7364 | 4 august 1907 row 7 : grevenmacher greiwemaa | grevenmacher | grevenmacher | 16.48 | 3966 | 24 february 1843 row 8 : luxembourg city letzebuerg | luxembourg | luxembourg | 51.46 | 76420 | 24 february 1843 row 9 : remich reimech | remich | grevenmacher | 5.29 | 2986 | 24 february 1843 row 10 : rumelange remeleng | esch-sur-alzette | luxembourg | 6.83 | 4495 | 4 august 1907 row 11 : vianden veianen | vianden | diekirch | 9.67 | 1561 | 24 february 1843 row 12 : wiltz wolz | wiltz | diekirch | 19.37 | 4587 | 24 february 1843 ] Execute this SQL based on the above table: select sum ( population (as of 2005) ) where area (km2) = '6.83' or area (km2) = '9.67'
6056.0
[ header: home team | score | away team | date | agg row 1 : aberdeen | 7-1 | hamilton academical | 11-10-1978 | 8-1 row 2 : airdrieonians | 1-2 | arbroath | 10-10-1978 | 2-3 row 3 : ayr united | 1-1 | falkirk | 11-10-1978 | 3-1 row 4 : clydebank | 1-1 | hibernian | 11-10-1978 | 1-2 row 5 : morton | 5-2 | kilmarnock | 11-10-1978 | 5-4 row 6 : montrose | 5-1 | raith rovers | 11-10-1978 | 5-4 row 7 : motherwell | 1-4 | celtic | 11-10-1978 | 2-4 row 8 : st. mirren | 0-0 | rangers | 11-10-1978 | 2-3 ] Execute this SQL based on the above table: select count ( date ) where score = '5-2'
1
[ header: rank | rider | team | points row 1 : 1 | robbie mcewen (aus | davitamon-lotto | 288 row 2 : 2 | erik zabel (ger) | team milram | 199 row 3 : 3 | thor hushovd (nor | credit agricole | 195 row 4 : 4 | bernhard eisel ( | francaise des jeux | 176 row 5 : 5 | luca paolini (ita) | liquigas | 174 row 6 : 6 | inaki isasi (esp | euskaltel-euskad | 130 row 7 : 7 | francisco ventoso (es | saunier duval-prodir | 128 row 8 : 8 | cristian moreni (ita | cofidis | 116 row 9 : 9 | jimmy casper (fra | cofidis | 98 row 10 : 10 | oscar pereiro (esp | caisse d'epargne-illes | 88 ] Execute this SQL based on the above table: select team order by points limit 1
caisse d'epargne-illes balears
[ header: game | day | date | kickoff | opponent | results score | results record | location | attendance row 1 : 1 | saturday | november 9 | 7:05pm | at detroit waza | w 8-7 (ot) | 1-0 | melvindale civic center | 545 row 2 : 2 | sunday | november 10 | 3:05pm | at cleveland freeze | l 3-11 | 1-1 | soccer sportsplex | 703 row 3 : 3 | saturday | november 16 | 7:35pm | detroit waza | l 5-8 | 1-2 | farm show arena | 1605 row 4 : 4 | saturday | november 23 | 7:05pm | cleveland freeze | l 7-10 | 1-3 | farm show arena | 1050 row 5 : 5 | saturday | november 30 | 7:05pm | cincinnati saints | w 8-6 | 2-3 | farm show arena | 1458 row 6 : 6 | saturday | december 21 | 7:05pm | detroit waza | w 9-8 | 3-3 | farm show arena | 1590 row 7 : 7 | sunday | december 22 | 4:05pm | at cleveland freeze | l 4-12 | 3-4 | soccer sportsplex | 431 row 8 : 8 | saturday | december 28 | 7:05pm | cleveland freeze | l 5-12 | 3-5 | farm show arena | 1581 row 9 : 9 | saturday | january 11 | 7:35pm | at cincinnati saints | l 8-9 | 3-6 | tri-county soccerplex | 421 row 10 : 10 | sunday | january 12 | 3:05pm | at detroit waza | l 6-12 | 3-7 | melvindale civic center | 356 row 11 : 11 | saturday | january 18 | 7:05pm | cincinnati saints | w 10-5 | 4-7 | farm show arena | 2209 row 12 : 12 | friday | january 24 | 7:05pm | chicago mustangs | l 7-13 | 4-8 | farm show arena | 1895 row 13 : 13 | saturday | january 25 | 7:05pm | chicago mustangs | l 5-12 | 4-9 | farm show arena | 2373 row 14 : 14 | saturday | february 8 | 8:35pm | at illinois piasa | l 3-4 | 4-10 | the field sports complex | 206 row 15 : 15 | sunday | february 9 | 5:05pm | at chicago mustangs | l 3-14 | 4-11 | grand sports arena | 748 row 16 : 16 | sunday | february 16 | 4:05pm | at dallas sidekicks | l 3-13 | 4-12 | allen event center | 4207 ] Execute this SQL based on the above table: select results score order by id desc limit 1
l 3-13
[ header: episode | airdate | game 1 | game 2 | game 3 | viewers row 1 : 1 | 17 april 2010 | 'twin peaks' | 'a walk in the dark' | 'lock and key' | 4.52m row 2 : 2 | 24 april 2010 | 'caught in the net' | 'stick 'em up' | 'power trip' | 4.41m row 3 : 3 | 1 may 2010 | 'knotting hills' | 'it's a wrap!' | 'lock and key' | 4.31m row 4 : 4 | 8 may 2010 | 'caught in the net' | 'a walk in the dark' | 'power trip' | 4.44m row 5 : 5 | 15 may 2010 | 'twin peaks' | 'it's a wrap!' | 'lock and key' | 4.46m row 6 : 6 | 22 may 2010 | 'knotting hills' | 'stick 'em up' | 'power trip' | under 2.61m row 7 : 7 | 29 may 2010 | 'caught in the net' | 'a walk in the dark' | 'lock and key' | 4.68m row 8 : 8 | 5 june 2010 | 'knotting hills' | 'stick 'em up' | 'lock and key' | 3.44m ] Execute this SQL based on the above table: select ( select episode where airdate = '5 june 2010' ) > ( select viewers where airdate = '5 june 2010' )
1
[ header: date | racecourse | distance | race status | race | position | winning distance (lengths) | jockey | rating | going | odds | prize money row 1 : april 10, 2004 | kempton park | 8f | listed | snowdrop fillies stakes | 2nd to beneventa | None | johnny murtagh | 114 | good to soft | 4/11f | £6,600 row 2 : april 24, 2004 | sandown park | 8f | group 2 | betfred mile | 3rd to hurricane alan | None | johnny murtagh | 114 | good to soft | 5/2f | £11,000 row 3 : may 22, 2004 | curragh | 8f | group 2 | ridgewood pearl stakes | 1st | 6 | johnny murtagh | None | good to firm | 11/10f | £56,760.56 row 4 : june 15, 2004 | royal ascot | 8f | group 1 | queen anne stakes | 2nd to refuse to bend | None | johnny murtagh | 114 | good to firm | 6/1 | £55,000 row 5 : july 6, 2004 | newmarket | 8f | group 1 | falmouth stakes | 1st | 21⁄2 | johnny murtagh | 114 | good to firm | 11/4 | £116,000 row 6 : july 28, 2004 | goodwood | 8f | group 1 | sussex stakes | 1st | nk | johnny murtagh | 115 | good | 3/1 | £174,000 row 7 : september 11, 2004 | leopardstown | 8f | group 1 | matron stakes | 1st | 1⁄2 | johnny murtagh | None | good to firm | 8/13f | £119,014.08 row 8 : september 25, 2004 | ascot | 8f | group 1 | qeii stakes | 6th to rakti | None | johnny murtagh | 120 | good to firm | 5/2f | £3,750 ] Execute this SQL based on the above table: select prize money where id = 1
£6,600
[ header: type | gauge | railway | works no. | year | builder row 1 : 0-4-0+0-4-0 | 600 mm | c.f.vicinaux du may | 1953-1956 | 1921 | st. leonard, bel row 2 : 0-4-0+0-4-0 | 600 mm | c.f.vicinaux du may | 2021-2025 | 1924 | st. leonard, bel row 3 : 0-4-0+0-4-0 | 600 mm | c.f.vicinaux du may | 2056-2059 | 1926 | st. leonard, bel row 4 : 0-4-0+0-4-0 | 750 mm | mines du zaccar, alg | 1752 | 1936 | du haine saint-pierre row 5 : 0-4-0+0-4-0 | 1000 mm | piracicaba sugar co., bra | 2108 | 1927 | st. leonard, bel row 6 : 2-6-0+0-6-2 | 2 ft 6 in | victorian government railways, australia | 6267-6268 | 1926 | beyer, peacock row 7 : 2-6-0+0-6-2 | 3 ft 6 in | western australian government railways | 46-55 | 1930 | western australian government r'ys row 8 : 2-6-0+0-6-2 | 4 ft 81⁄2 in | argentine north eastern (fcne | 6349-6352 | 1927 | beyer, peacock row 9 : 2-6-2+2-6-2 | 1000 mm | great western of brazil | 1024-1025 | 1929 | armstrong whitworth row 10 : 2-6-2+2-6-2 | 3 ft 6 in | guayaquil & qui | 6527-6529 | 1929 | beyer, peacock row 11 : 2-6-2+2-6-2 | 3 ft 6 in | rhodesia railways | 6510-6515 | 1929 | beyer, peacock row 12 : 2-6-2+2-6-2 | 3 ft 6 in | south african railways | 1043-1068 | 1928 | krupp row 13 : 2-6-2+2-6-2 | 3 ft 6 in | south african railways | 3115-3119 | 1929 | linke-hofmann row 14 : 2-6-2+2-6-2 | 3 ft 6 in | trans zambezia, mocambi | 6380 | 1930 | beyer, peacock row 15 : 2-6-2+2-6-2 | 5 ft 6 in | sao paulo railway, bra | 6367-6372 | 1927 | beyer, peacock row 16 : 2-8-0+0-8-2 | 4 ft 81⁄2 in | ottoman railways, turkey | 6324 | 1927 | beyer, peacock row 17 : 2-8-2+2-8-2 | 3 ft 6 in | rhodesia railways | 6562-6569 | 1929-30 | beyer, peacock row 18 : 4-4-2+2-4-4 | 4 ft 81⁄2 in | entre rios railway (fcer), argent | 6360-6364 | 1927 | beyer, peacock row 19 : 4-6-2+2-6-4 | 3 ft 6 in | nigerian railways | 7051-7056 | 1943 | beyer, peacock row 20 : 4-8-2+2-8-4 | 1000 mm | cf d'afrique occidental | 2748-2754 | 1941 | franco-belge, france row 21 : 4-8-2+2-8-4 | 1000 mm | kenya uganda railway | 6516-6523 | 1928 | beyer, peacock ] Execute this SQL based on the above table: select railway order by works no. desc limit 1
nigerian railways
[ header: player | hr | date reached 500 hr | team | seasons played row 1 : barry bonds | 762 | april 17, 2001 | san francisco giants | 1986-2007 row 2 : hank aaron | 755 | july 14, 1968 | atlanta braves | 1954-1976 row 3 : babe ruth | 714 | august 11, 1929 | new york yankees | 1914-1935 row 4 : willie mays | 660 | september 13, 1965 | san francisco giants | 1951-1952, 1954-1973 row 5 : alex rodriguez | 654 | august 4, 2007 | new york yankees | 1994- row 6 : ken griffey, jr | 630 | june 20, 2004 | cincinnati reds | 1989-2010 row 7 : jim thome | 612 | september 16, 2007 | chicago white sox | 1991-2012 row 8 : sammy sosa | 609 | april 4, 2003 | chicago cubs | 1989-2005, 2007 row 9 : frank robinson | 586 | september 13, 1971 | baltimore orioles | 1956-1976 row 10 : mark mcgwire | 583 | august 5, 1999 | st. louis cardinals | 1986-2001 row 11 : harmon killebrew | 573 | august 10, 1971 | minnesota twins | 1954-1975 row 12 : rafael palmeiro | 569 | may 11, 2003 | texas rangers | 1986-2005 row 13 : reggie jackson | 563 | september 17, 1984 | california angels | 1967-1987 row 14 : manny ramirez | 555 | may 31, 2008 | boston red sox | 1993-2011 row 15 : mike schmidt | 548 | april 18, 1987 | philadelphia phillies | 1972-1989 row 16 : mickey mantle | 536 | may 14, 1967 | new york yankees | 1951-1968 row 17 : jimmie foxx | 534 | september 24, 1940 | boston red sox | 1925-1942, 1944-1945 row 18 : ted williams | 521 | june 17, 1960 | boston red sox | 1939-1942, 1946-1960 row 19 : willie mccovey | 521 | june 30, 1978 | san francisco giants | 1959-1980 row 20 : frank thomas | 521 | june 28, 2007 | toronto blue jays | 1990-2008 row 21 : ernie banks | 512 | may 12, 1970 | chicago cubs | 1953-1971 row 22 : eddie mathews | 512 | july 14, 1967 | houston astros | 1952-1968 row 23 : mel ott | 511 | august 1, 1945 | new york giants | 1926-1947 row 24 : gary sheffield | 509 | april 17, 2009 | new york mets | 1988-2009 row 25 : eddie murray | 504 | september 6, 1996 | baltimore orioles | 1977-1997 ] Execute this SQL based on the above table: select avg ( hr )
582.16
[ header: date | team | name | position | years in nba | notes row 1 : april 23, 2009 | houston rockets | dikembe mutombo | c | 18 | suffered a season-ending injury row 2 : may 21, 2009 | free agent | sam cassell | g | 15 | became an assistant coach of the wizards row 3 : september 3, 2009 | free agent | bruce bowen | f | 12 | None row 4 : october 22, 2009 | free agent | mark madsen | f | 9 | became an assistant coach of the uta row 5 : october 23, 2009 | free agent | bobby jackson | g | 12 | None row 6 : october 23, 2009 | free agent | tyronn lue | g | 11 | became the director of basketball development of the celtics row 7 : november 5, 2009 | free agent | darrick martin | g | 14 | named assistant director of player development of timberwolves ] Execute this SQL based on the above table: select name where date = 'october 23, 2009'
bobby jackson, tyronn lue
[ header: place | team | titles | runners-up | winning years row 1 : 1 | maccabi tel aviv | 5 | 1 | 2007, 2010, 2011, 2012, 2013 row 2 : 2 | hapoel jerusalem | 2 | 3 | 2008, 2009 row 3 : 3 | ironi ashkelon | 1 | 0 | 2006 row 4 : 4 | maccabi rishon lezion | 0 | 1 | None row 5 : 4 | ironi nahariya | 0 | 1 | None row 6 : 4 | hapoel holon | 0 | 1 | None row 7 : 4 | maccabi ashdod | 0 | 1 | None ] Execute this SQL based on the above table: select team where team = 'maccabi tel aviv' and team != 'hapoel jerusalem'
maccabi tel aviv
[ 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 sum ( number ) where mark in ( 'mark 01:01-08' , 'None' )
18.0
[ header: outcome | no. | date | tournament | surface | opponent in the final | score row 1 : runner-up | 1 | 2 september 2001 | mostar | clay | adriana basaric | 4-6, 3-6 row 2 : winner | 1 | 27 january 2002 | courmayeur | hard | stefanie weis | 4-6, 7-6(7-3), row 3 : winner | 2 | 17 february 2002 | bergamo | hard | rita degli-esposti | 6-1, 6-2 row 4 : runner-up | 2 | 31 march 2002 | rome - parioli | clay | dinara safina | 7-6(7-3), 2-6, row 5 : runner-up | 3 | 23 june 2002 | gorizia | clay | ainhoa goni-blanco | 6-7(4-7), 1-6 row 6 : runner-up | 4 | 11 august 2002 | rimini | clay | laurence andretto | 5-7, 4-6 row 7 : winner | 3 | 26 january 2003 | grenoble | hard | sophie lefevre | 7-5, 7-5 row 8 : winner | 4 | 16 february 2003 | southampton | hard | magdalena zdenovcova | 6-1, 3-0, ret row 9 : winner | 5 | 23 february 2003 | redbridge | hard | olga barabanschikov | 6-3, 6-2 row 10 : winner | 6 | 23 march 2003 | castellon | clay | ludmila cervanova | 6-3, 6-3 row 11 : winner | 7 | 2 november 2003 | poitiers | hard | roberta vinci | 6-4, 7-5 row 12 : winner | 8 | 1 march 2009 | biberach | hard | kirsten flipkens | 6-1, 6-2 row 13 : winner | 9 | 11 april 2009 | torhout | hard | viktoriya kutuzova | 6-1, 6-4 row 14 : winner | 10 | 11 april 2009 | mestre | hard | yvonne meusburger | 2-6, 6-2, 6-4 ] Execute this SQL based on the above table: select tournament order by outcome desc limit 1
courmayeur
[ header: date | tournament | location | winner | score | 1st prize ($) row 1 : jan 14 | sony open in hawaii | hawaii | jerry kelly (1) | 266 (-14) | 720000 row 2 : feb 10 | buick invitational | california | jose maria olazabal | 275 (-13) | 648000 row 3 : feb 17 | nissan open | california | len mattiace (1) | 269 (-15) | 666000 row 4 : feb 24 | touchstone energy tucson open | arizona | ian leggatt (1) | 268 (-20) | 540000 row 5 : mar 3 | genuity championship | florida | ernie els (9) | 271 (-17) | 846000 row 6 : mar 10 | honda classic | florida | matt kuchar (1) | 269 (-19) | 630000 row 7 : mar 17 | bay hill invitational | florida | tiger woods (30) | 275 (-13) | 720000 row 8 : mar 31 | shell houston open | texas | vijay singh (10) | 266 (-22) | 720000 row 9 : apr 7 | bellsouth classic | georgia | retief goosen (2) | 272 (-16) | 684000 row 10 : apr 21 | worldcom classic - the heritage of golf | south carolina | justin leonard (7) | 270 (-14) | 720000 row 11 : apr 28 | greater greensboro chrysler classic | north carolina | rocco mediate (5) | 272 (-16) | 684000 row 12 : may 5 | compaq classic of new orleans | louisiana | k.j. choi (1) | 271 (-17) | 810000 row 13 : may 12 | verizon byron nelson | texas | shigeki maruyama (2) | 266 (-14) | 864000 row 14 : may 19 | mastercard colonial | texas | nick price (18) | 267 (-13) | 774000 row 15 : jun 9 | buick classic | new york | chris smith (1) | 272 (-12) | 630000 row 16 : jun 30 | fedex st. jude classic | tennessee | len mattiace (2) | 266 (-18) | 684000 row 17 : jul 7 | advil western open | illinois | jerry kelly (2) | 269 (-19) | 720000 row 18 : jul 21 | b.c. open | new york | spike mcroy (1) | 269 (-19) | 378000 row 19 : jul 28 | john deere classic | illinois | j. p. hayes (2) | 262 (-22) | 540000 row 20 : aug 4 | the international | colorado | rich beem (2) | 44 (stableford) | 810000 row 21 : aug 18 | pga championship | minnesota | rich beem (3) | 278 (-10) | 990000 row 22 : aug 25 | reno-tahoe open | nevada | chris riley (1) | 271 (-17) | 540000 row 23 : sep 1 | air canada championship | canada | gene sauers (3) | 269 (-15) | 630000 row 24 : sep 8 | bell canadian open | canada | john rollins (1) | 272 (-16) | 720000 row 25 : sep 22 | tampa bay classic | florida | k.j. choi (2) | 267 (-17) | 468000 row 26 : sep 29 | valero texas open | texas | loren roberts (8) | 261 (-19) | 630000 ] Execute this SQL based on the above table: select date where date != 'sep 8' and location = ( select location where date = 'sep 8' )
sep 1
[ header: original work | liszt work | forces | date | s no. | notes row 1 : opera lucrezia borgia (1833 | reminiscences de lucrezi | piano | 1840 | s.400 | the sections are: (1) trio du second acte row 2 : opera lucia di lammermoor (18 | reminiscences de luci | piano | 1835-36 | s.397 | based on the sextet row 3 : opera lucia di lammermoor (18 | marche et cavatine de luci | piano | 1835-36 | s.398 | intended as part of the reminisc row 4 : lucia di lammermoor | valse a capriccio | piano | 1842 | s.401 | combines motifs from lucia di la row 5 : opera parisina (1833) | valse a capriccio | piano | 1842 | s.401 | combines motifs from lucia di la row 6 : nuits d'ete a | nuits d'ete a | piano | 1838 | s.399 | None row 7 : opera la favorite (1840): duettin | spirito gentil | piano | 1847 | s.400a | possibly same as s.742 row 8 : opera dom sebastien (1843): | marche funebre de dom sebastien | piano | 1844 | s.402 | None row 9 : act iv | paraphrase | piano | None | s.744 | lost; this was based on theodor row 10 : "duettino" | transcription | piano | None | s.742 | lost. possibly same as s.400a ] Execute this SQL based on the above table: select date where s no. = 's.402'
1844
[ header: season | level | division | place row 1 : 2001/02 | 4 | 3a | 4th row 2 : 2002/03 | 3 | 2ab | 20th row 3 : 2003/04 | 4 | 3a | 9th row 4 : 2004/05 | 4 | 3a | 2nd row 5 : 2005/06 | 4 | 3a | 3rd row 6 : 2006/07 | 4 | 3a | 7th row 7 : 2007/08 | 4 | 3a | 9th row 8 : 2008/09 | 4 | 3a | 14th row 9 : 2009/10 | 4 | 3a | 6th row 10 : 2010/11 | 4 | 3a | 19th row 11 : 2011/12 | 5 | reg. pref | 18th row 12 : 2012/13 | 6 | 1a reg | 15th row 13 : 2013/14 | 6 | 1a reg | None ] Execute this SQL based on the above table: select sum ( level ) where division in ( '1a reg' , '3a' )
48.0
[ 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 position group by position order by sum ( from ) desc limit 1
bank officer
[ header: year | vidhan sabha | members of legislative assembly | winning party | nearest contesting party row 1 : 1951 | 01st vidhan sab | shri hari prasad | sop | inc row 2 : 1957 | 02nd vidhan sabha | shri bhihari lal | psp | inc row 3 : 1962 | 03rd vidhan sab | shri durga prasad | inc | psp row 4 : 1967 | 04th vidhan sabha | shri munendra pal singh | psp | bjs row 5 : 1969 | 05th vidhan sab | shri tej bhah | bkd | bjs row 6 : 1974 | 06th vidhan sabha | shri tej bhah | inc | bjs row 7 : 1977 | 07th vidhan sabha | shri munendra pal singh | jnp | inc row 8 : 1980 | 08th vidhan sabha | shri tej bhah | inc | jnp row 9 : 1985 | 09th vidhan sabha | shri tej bhah | inc | jnp row 10 : 1989 | 10th vidhan sabha | shri harish kumar | jnp | bjp row 11 : 1991 | 11th vidhan sabha | shri ram saran verm | bjp | inc row 12 : 1993 | 12th vidhan sabha | shri ram saran verm | bjp | inc row 13 : 1996 | 13th vidhan sabha | shri anish ahemd k | bsp | bjp row 14 : 2002 | 14th vidhan sabha | shri anish ahemd k | bsp | bjp row 15 : 2007 | 15th vidhan sabha | shri anish ahemd k | bsp | bjp row 16 : 2012 | 16th vidhan sabha | shri ram saran verm | bjp | inc ] Execute this SQL based on the above table: select nearest contesting party where nearest contesting party in ( 'inc' , 'bjs' ) and nearest contesting party = 'bjs'
bjs, bjs, bjs
[ header: model | availability | introduced | length of use | last of whiteness row 1 : crest whitestrips classic previously crest | discontinued | may 2001 | 14 days | 12 months row 2 : crest whitestrips professional | discontinued | 2001 | 10 days | 12 months row 3 : crest whitestrips supreme | dentist and online | september 2003 | 21 days | 18 months row 4 : crest whitestrips premium | discontinued | january 2004 | 7 days | 12 months row 5 : crest whitestrips pro previously crest | discontinued | april 2005 | 10 days | 18 months row 6 : crest whitestrips renewal | discontinued | january 2006 | 10 days | 18 months row 7 : crest whitestrips daily multicare | discontinued | march 2007 | daily | white after using system row 8 : crest whitestrips advanced seal | discontinued | february 2009 | 14 days | 18 months row 9 : crest whitestrips 3d vivid | instore and online | 2009 | 10 days | 12 months row 10 : crest whitestrips 3d advanced vivid | instore and online | march 2010 | 14 days | 12 months row 11 : crest whitestrips 3d professional effects | instore and online | march 2010 | 20 days | 12 months row 12 : crest 3d white 2 hour express | instore and online | 2010 | 2 hours | 3 months row 13 : crest 3d intensive professional effects | instore and online | 2011 | 7 days | 12 months ] Execute this SQL based on the above table: select availability group by availability order by count ( * ) desc limit 1
discontinued
[ header: # | title | performer(s) | film | length row 1 : 1 | "a dream is a wish your heart makes | disney channel stars | cinderella | 3:46 row 2 : 2 | "zip-a-dee-do | miley cyrus | song of the south | 3:06 row 3 : 3 | "if i never knew you" | the cheetah girls | pocahontas | 3:16 row 4 : 4 | "who's afraid of the big bad | b5 | three little pigs | 3:32 row 5 : 5 | "reflection" (remix) | christina aguilera | mulan | 3:15 row 6 : 6 | "i'll try" | jesse mccartney | return to never land | 3:51 row 7 : 7 | "look through my eyes" | everlife | brother bear | 3:11 row 8 : 8 | "candle on the water" | anneliese van der pol | pete's dragon | 3:08 row 9 : 9 | "you'll be in my heart" | teddy geiger | tarzan | 4:15 row 10 : 10 | "yo ho (a pirate's life | jonas brothers | pirates of the caribbean | 2:04 row 11 : 11 | "someday my prince will come (feat | ashley tisdale | snow white and the seven dwarfs | 3:31 row 12 : 12 | "hawaiian roller coaster ride | baha men | lilo & stitch | 3:30 row 13 : 13 | "can you feel the love tonight" | sara paxton | the lion king | 3:40 row 14 : 14 | "super cali (boiob | orlando brown | mary poppins | 3:32 row 15 : 15 | "monkey's uncle" | devo 2.0 | the monkey's uncle | 2:24 row 16 : 16 | "cruella de vil" 1 | skye sweetnam | 101 dalmatians | 2:55 row 17 : 17 | "go the distance" 1 | k-ci & jojo | hercules | 4:10 ] Execute this SQL based on the above table: select count ( performer(s) )
17
[ header: airline | destination(s) | aircraft scheduled | service date(s) | comments row 1 : air florida | new york jfk, tamp | boeing 737-200, d | jfk: 6/14/79 | None row 2 : airtran airways | atlanta, dayton, o | boeing 737-200, d | 11/14/1996-2/28/1998 | None row 3 : air wisconsin | akron-canton, chica | bae 146, bae atp, | None | original and operating as united express row 4 : allegiant air | las vegas | md-80 | 12/15/2005-4/24/2006 | None row 5 : america west express | columbus, flint | beech 1900 | None | operated by mesa dba superior row 6 : american eagle airlines | dallas/fort worth | erj-145 | None | operated by simmons airlines (now american row 7 : atlantic coast airlines | cincinnati | dornier 328jet | None | dba delta connection row 8 : atlantic southeast airlines | atlanta, cincinnati | atr 72, crj-200, cr | None | dba delta connection row 9 : beaver aviation / bas airlines | beaver falls (pa), d | piper navajo | early 1980s | None row 10 : capital airlines | akron, chicago, | viscount, dc-3, d | 1/8/1948-05-31-1961 | merged with united. * at the time, row 11 : comair | atlanta, cincinnati, colum | piper chieftain, piper | 1979, 01/03/1981-? | original and as delta connection row 12 : continental express | cleveland | emb-120, beech 1900, dash | None | None row 13 : delta air lines | atlanta, cincinnati, dayt | convair 440, boeing 7 | None | None row 14 : eastern airlines | columbus | constellation l-1049g, locheed elect | None | None row 15 : liberty airlines | chicago midway & o' | convair 440 | 02/1982-5/16/1983 | plans for cmh, cle, s row 16 : piedmont airlines | dayton | boeing 727-200, boe | None | merged with usair ] Execute this SQL based on the above table: select ( select count ( service date(s) ) where airline = 'air florida' ) + ( select count ( destination(s) ) where destination(s) = 'air florida' )
0
[ header: entrant | constructor | chassis | engine | no | driver row 1 : team ensign | ensign | n180b | cosworth dfv v8 | 3 | jim crawford row 2 : team ensign | ensign | n180b | cosworth dfv v8 | 4 | joe castellano row 3 : colin bennett racing | mclaren | m29 | cosworth dfv v8 | 6 | arnold glass row 4 : colin bennett racing | march | 811 | cosworth dfv v8 | 7 | val musetti row 5 : team sanada | fittipaldi | f8 | cosworth dfv v8 | 8 | tony trimmer row 6 : warren booth | shadow | dn9 | cosworth dfv v8 | 11 | warren booth row 7 : john jordan | brm | p207 | brm 202 v12 | 12 | david williams row 8 : nick mason | tyrrell | 8 | cosworth dfv v8 | 14 | john brindley row 9 : emka productions | williams | fw07 | cosworth dfv v8 | 16 | steve o'rourke row 10 : team peru | williams | fw07 | cosworth dfv v8 | 82 | jorge koechlin ] Execute this SQL based on the above table: select no where constructor = 'tyrrell' group by no order by count ( * ) desc limit 1
14
[ 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 won where tournament = 'world series'
6, 9, 7, 7, 3, 7
[ header: athlete | event | race 1 time | race 2 time | total time | total rank row 1 : johann haraldsson | giant slalom | 1:19.10 | dnf | dnf | None row 2 : kristinn magnusson | giant slalom | 1:17.50 | 1:16.29 | 2:33.79 | 42 row 3 : bjorgvin bjorgvin | giant slalom | 1:15.86 | dnf | dnf | None row 4 : kristinn magnusson | slalom | dnf | None | dnf | None row 5 : bjorgvin bjorgvin | slalom | dnf | None | dnf | None row 6 : johann haraldsson | slalom | 56.98 | 1:00.19 | 1:57.17 | 28 row 7 : kristinn bjorns | slalom | 53.05 | 56.76 | 1:49.81 | 21 ] Execute this SQL based on the above table: select athlete where race 1 time > ( select race 1 time where athlete = 'johann haraldsson' )
johann haraldsson, kristinn bjornsson
[ header: pos. | car # | driver | make | team row 1 : 1 | 38 | jason leffler | toyota | braun racing row 2 : 2 | 16 | greg biffle | ford | roush fenway racing row 3 : 3 | 99 | david reutimann | toyota | michael waltrip racing row 4 : 4 | 60 | carl edwards | ford | roush fenway racing row 5 : 5 | 77 | ron hornaday | chevrolet | kevin harvick incorporated row 6 : 6 | 20 | aric almirola | chevrolet | joe gibbs racing row 7 : 7 | 29 | scott wimmer | chevrolet | richard childress racing row 8 : 8 | 42 | kevin hamlin | dodge | chip ganassi racing row 9 : 9 | 10 | mike bliss | toyota | braun racing row 10 : 10 | 88 | brad keselowski | chevrolet | jr motorsports ] Execute this SQL based on the above table: select count ( make ) where team = 'braun racing'
2
[ header: region/country | 1882- 1918 | 1919- 1948 | 1948- 1951 | 1952- 1960 | 1961- 1971 | 1972- 1979 | 1980- 1989 | 1990- 2001 | 2002- 2010 | 2011- 2013 | total row 1 : africa | None | 11180 | 96272 | 143706 | 165372 | 20109 | 28822 | 55560 | 31419 | 7755 | 560195 row 2 : algeria | None | 357 | 3810 | 3433 | 12857 | 2137 | 1830 | 1682 | 1967 | 167 | 27035 row 3 : libya | None | 1300 | 30972 | 2079 | 2466 | 219 | 67 | 94 | 36 | 5 | 37138 row 4 : morocco | None | 1500 | 30750 | 95945 | 130507 | 7780 | 3809 | 3276 | 2113 | 95 | 275261 row 5 : zimbabwe | None | None | 37 | 22 | 145 | 393 | 82 | 26 | 22 | 3 | 722 row 6 : bolivia | None | None | 0 | 0 | 199 | 94 | 80 | 53 | 84 | 11 | 521 row 7 : colombia | None | None | 0 | 0 | 415 | 552 | 475 | 657 | 965 | 206 | 3270 row 8 : mexico | None | None | 48 | 168 | 736 | 861 | 993 | 1049 | 697 | 238 | 4790 row 9 : panama | None | None | 0 | 0 | 64 | 43 | 48 | 50 | 40 | 10 | 255 row 10 : other (americas/oceania) | None | 318 | 313 | 0 | 148 | 3 | 8 | 44 | 12 | 238 | 1084 row 11 : afghanistan | None | 1600 | 2303 | 1106 | 516 | 132 | 57 | 21 | 13 | None | 5648 row 12 : azerbaijan | None | None | 0 | 0 | 0 | 1800 | 25000 | 33453 | 2142 | 295 | 62691 row 13 : iran | 1760 | 6000 | 21910 | 15699 | 19502 | 9550 | 8487 | 4326 | 1097 | 97 | 88428 row 14 : japan | None | None | 0 | 9 | 25 | 34 | 57 | 98 | 32 | 2 | 257 row 15 : lebanon | None | None | 235 | 846 | 2208 | 564 | 179 | 96 | 34 | 5 | 4167 row 16 : yemen | 5000 | 18000 | 48315 | 1170 | 1066 | 51 | 17 | 683 | 103 | 69 | 74474 row 17 : europe | None | 471477 | 330282 | 99564 | 168488 | 190336 | 75852 | 958834 | 119628 | 32412 | 2446873 row 18 : ireland | None | None | 14 | 46 | 145 | 157 | 233 | 136 | 54 | 5 | 790 row 19 : thereof: denmark | None | None | 27 | 46 | 298 | 292 | 411 | 389 | 85 | 17 | 1565 row 20 : thereof: russia | None | None | None | None | None | None | 22600 | 291231 | 41599 | 7223 | 362653 row 21 : thereof: baltic countries | None | None | None | None | None | None | 37300 | 21174 | 1018 | None | 59492 row 22 : (1): lithuania | None | None | None | None | None | None | 24500 | 6774 | None | 40 | 31314 row 23 : thereof: moldova | None | None | None | None | None | None | 24200 | 48261 | 2555 | 426 | 75442 ] Execute this SQL based on the above table: select abs ( region/country - region/country ) order by region/country desc limit 1
0
[ header: year | show | role | notes row 1 : 1998 | noorjahan | noorjahan | None row 2 : 2001-2002 | kutumb | gauri pratham mittal | None row 3 : 2003 | krishna arjun | shweta | cameo row 4 : 2003 | naam gum jayegaa | priyanka singh | None row 5 : 2003 | kya hadsaa kya | mayuri / gauri | episode: kab kyun ka row 6 : 2004-2008 | kyunki saas | nandini karan vir | indian telly award for best actress in row 7 : 2005 | rihaae | None | cameo row 8 : 2005 | jassi jaisi koi | herself | cameo row 9 : 2005 | special squad | dipika ghosh | None row 10 : 2006 | kaisa ye py | kannan | None row 11 : 2008 | left right left | capt.shona das | None row 12 : 2009 | kumkum - ek | aditi | cameo ] Execute this SQL based on the above table: select role where role != 'herself' and notes = ( select notes where role = 'herself' )
shweta, aditi
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 7 | jo bonnier | brm | 75 | 2:05:26.8 | 1 | 8 row 2 : 2 | 8 | jack brabham | cooper-climax | 75 | + 14.2 | 2 | 6 row 3 : 3 | 9 | masten gregory | cooper-climax | 75 | + 1:23.0 | 7 | 4 row 4 : 4 | 12 | innes ireland | lotus-climax | 74 | + 1 lap | 9 | 3 row 5 : 5 | 1 | jean behra | ferrari | 74 | + 1 lap | 4 | 2 row 6 : 6 | 3 | phil hill | ferrari | 73 | + 2 laps | 12 | None row 7 : 7 | 14 | graham hill | lotus-climax | 73 | + 2 laps | 5 | None row 8 : 8 | 10 | maurice trintignant | cooper-climax | 73 | + 2 laps | 11 | None row 9 : 9 | 16 | cliff allison | ferrari | 71 | + 4 laps | 15 | None row 10 : 10 | 15 | carel godin de beaufort | porsche | 68 | + 7 laps | 14 | None row 11 : ret | 11 | stirling moss | cooper-climax | 62 | gearbox | 3 | 1 row 12 : ret | 6 | harry schell | brm | 46 | gearbox | 6 | None row 13 : ret | 2 | tony brooks | ferrari | 42 | oil leak | 8 | None row 14 : ret | 5 | carroll shelby | aston martin | 25 | engine | 10 | None row 15 : ret | 4 | roy salvadori | aston martin | 3 | engine | 13 | None ] Execute this SQL based on the above table: select count ( * ) where constructor = 'aston martin'
2