input
stringlengths
20
5.6k
output
stringlengths
0
17.9k
[ header: game | november | opponent | score | record | points row 1 : 13 | 2 | @ florida panthers | 4-3 | 10-3-0 | 20 row 2 : 14 | 4 | quebec nordiques | 4-1 | 11-3-0 | 22 row 3 : 15 | 6 | @ toronto maple leafs | 3-5 | 11-4-0 | 22 row 4 : 16 | 7 | vancouver canucks | 2-5 | 11-5-0 | 22 row 5 : 17 | 10 | @ buffalo sabres | 5-3 | 12-5-0 | 24 row 6 : 18 | 11 | new jersey devils | 3-5 | 12-6-0 | 24 row 7 : 19 | 13 | buffalo sabres | 2-7 | 12-7-0 | 24 row 8 : 20 | 16 | @ pittsburgh penguins | 5-11 | 12-8-0 | 24 row 9 : 21 | 18 | hartford whalers | 6-3 | 13-8-0 | 26 row 10 : 22 | 20 | @ boston bruins | 5-5 ot | 13-8-1 | 27 row 11 : 23 | 21 | new york islanders | 4-5 ot | 13-9-1 | 27 row 12 : 24 | 24 | montreal canadiens | 9-2 | 14-9-1 | 29 row 13 : 25 | 26 | tampa bay lightning | 3-0 | 15-9-1 | 31 row 14 : 26 | 27 | @ tampa bay lightning | 4-3 ot | 16-9-1 | 33 ] Execute this SQL based on the above table: select count ( opponent ) where opponent <= 727
0
[ header: season | tier | division | place row 1 : 1991-98 | 5 | regional | None row 2 : 1998/99 | 4 | 3a | 8th row 3 : 1999/00 | 4 | 3a | 5th row 4 : 2000/01 | 4 | 3a | 7th row 5 : 2001/02 | 4 | 3a | 9th row 6 : 2002/03 | 4 | 3a | 9th row 7 : 2003/04 | 4 | 3a | 2nd row 8 : 2004/05 | 4 | 3a | 8th row 9 : 2005/06 | 4 | 3a | 6th ] Execute this SQL based on the above table: select place where place != '9th' and place = '6th'
6th
[ header: | episode title | romanized title | translation of title | broadcast date | ratings row 1 : ep. 1 | 児童虐待からの脱出 渡り鳥になった二人 | jido gyakut | escape from child abuse, the two who became birds | 14 april 2010 5 august 2011 8 | 11.8% row 2 : ep. 2 | 居場所のない二人 | ibasho no nai | the two without a place to go | 21 april 2010 12 august 2011 15 | 12.0% row 3 : ep. 3 | 母の手のぬくもり | haha no te no nukumor | the warmth of a mother's hand | 28 april 2010 19 august 2011 22 | 12.8% row 4 : ep. 4 | 学校へ行かせたい | gakko e ika setai | i want to let her attend school | 5 may 2010 26 august 2011 29 august 2011 | 10.0% row 5 : ep. 5 | 二人の"母親" | ni-nin no"haha | two "mothers" | 12 may 2010 2 september 2011 5 september | 11.9% row 6 : ep. 6 | さよならお母さん | sayonara okasan | goodbye mother | 19 may 2010 9 september 2011 12 september | 13.9% row 7 : ep. 7 | あの子を返して! | ano ko o kae | return her to me! | 26 may 2010 16 september 2011 19 september | 12.4% row 8 : ep. 8 | 断ち切れない絆 | tachikirenai kizu | the bond that can't be broken | 2 june 2010 23 september 2011 26 | 14.0% row 9 : ep. 9 | 引き裂かれる二人 | hikisaka reru n | the two torn apart | 9 june 2010 30 september 2011 3 | 12.2% row 10 : ep. 10 | ひと目会いたい | hitome aitai | i want to see you just once | 16 june 2010 7 octo | 14.8% row 11 : ep. 11 | すっと愛してる | zutto aishi teru | i will always love you | 23 june 2010 14 octo | 16.3% ] Execute this SQL based on the above table: select romanized title order by desc limit 1
zutto aishi teru
[ 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 distinct name where name = 'marlboro tour' and name = 'marlboro tour'
marlboro tour
[ header: institution | city | state | team name | affiliation | enrollment | home conference row 1 : augustana college (illinois) | rock island | illinois | vikings | private/lutheran | 2500 | cciw row 2 : aurora university | aurora | illinois | spartans | private/non-sectarian | 1685 | northern row 3 : beloit college | beloit | wisconsin | buccaneers | private/non-sectarian | 1300 | midwest row 4 : benedictine university | lisle | illinois | eagles | private/catholic | 3282 | northern row 5 : carthage college | kenosha | wisconsin | red men | private/lutheran | 2188 | cciw row 6 : concordia university wisconsin | mequon | wisconsin | falcons | private/lutheran | 1608 | northern row 7 : university of dubuque | dubuque | iowa | spartans | private/presbyterian | 1559 | iiac row 8 : elmhurst college | elmhurst | illinois | bluejays | private/united church of christ | 3400 | cciw row 9 : fontbonne university | st. louis | missouri | griffins | private/catholic | 2924 | sliac row 10 : college of mount st. josep | cincinnati | ohio | lions | private/catholic | 1334 | hcac row 11 : north central college | naperville | illinois | cardinals | private/methodist | 2900 | cciw ] Execute this SQL based on the above table: select institution where institution = 'benedictine university' and state = 'illinois'
benedictine university
[ header: year | film | publisher | director | distributor | worldwide gross | notes row 1 : 1980 | superman ii | dc comics | richard lester | warner bros | $108,185,706 | sequel to 1978's superman row 2 : 1987 | superman iv: the quest for peace | dc comics | sidney j. furie | warner bros | $15,681,020 | sequel to 1983's superman ii row 3 : 1989 | the return of swamp thing | dc comics | jim wynorski | millimeter films | $192,816 | sequel to 1982's swamp thing row 4 : 1989 | the punisher | marvel comics | mark goldblatt | artisan entertainment | $287,434 | direct-to-video in north america row 5 : 1991 | teenage mutant ninja turtles i | mirage comics | michael pressman | new line cinema | $78,656,813 | sequel to 1990's teenage mutant nin row 6 : 1991 | the guyver | chuang yi publishing | steve wang | new line cinema | None | None row 7 : 1991 | the rocketeer | pacific comics | joe johnston | walt disney pictures | $62,000,000 | None row 8 : 1993 | the meteor man | original | robert townsend | metro-goldwyn-mayer | $8,023,147 | None row 9 : 1994 | the fantastic four | marvel comics | oley sassone | constantin film | unreleased | None row 10 : 1994 | blankman | original | mike binder | columbia pictures | $7,941,977 | None row 11 : 1995 | tank girl | dark horse comics | rachel talalay | united artists | $4,064,495 | None row 12 : 1997 | star kid | original | manny coto | trimark pictures | $7,029,025 | None row 13 : 1998 | blade | marvel comics | stephen norrington | new line cinema | $131,183,530 | None row 14 : 2000 | x-men | marvel comics | bryan singer | 20th century fox | $296,339,527 | None row 15 : 2002 | spider-man | marvel comics | sam raimi | columbia pictures | $821,708,551 | None row 16 : 2003 | x2: x-men united | marvel comics | bryan singer | 20th century fox | $407,711,549 | sequel to 2000's x-men row 17 : 2003 | hulk | marvel comics | ang lee | universal studios | $245,360,480 | None row 18 : 2005 | man-thing | marvel comics | brett leonard | cinemax | direct-to-video | None row 19 : 2008 | hancock | original | peter berg | columbia pictures | $624,386,746 | comedy-drama row 20 : 2008 | the dark knight | dc comics | christopher nolan | warner bros | $1,004,558,444 | sequel to 2005's batman begins row 21 : 2011 | vs | original | jason trost | image entertainment | None | None row 22 : 2012 | the dark knight rises | dc comics | christopher nolan | warner bros | $1,084,439,099 | sequel to 2008's the dark knight row 23 : 2013 | thor: the dark world | marvel comics | alan taylor | walt disney studios motion pictures | $629,972,697 | sequel to 2011's thor row 24 : 2014 | captain america: the winter soldier | marvel comics | anthony and joseph | walt disney studios motion pictures | None | sequel to 2011's captain america: the ] Execute this SQL based on the above table: select publisher where film < ( select film where publisher = 'marvel comics' ) order by film desc limit 1
original
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | september 29, 2006 | lionel roberts park | bermuda | 1-3 | 1-3 | 2007 caribbean cup qualifier row 2 : 2 | october 1, 2006 | lionel roberts park | u.s. virgin islands | 2-1 | 6-1 | 2007 caribbean cup qualifier row 3 : 3 | october 1, 2006 | lionel roberts park | u.s. virgin islands | 3-1 | 6-1 | 2007 caribbean cup qualifier row 4 : 4 | october 1, 2006 | lionel roberts park | u.s. virgin islands | 4-1 | 6-1 | 2007 caribbean cup qualifier row 5 : 5 | october 1, 2006 | lionel roberts park | u.s. virgin islands | 5-1 | 6-1 | 2007 caribbean cup qualifier row 6 : 6 | july 8, 2011 | estadio panamericano, | anguilla | 2-0 | 2-0 | 2014 fifa world cup qualifier row 7 : 7 | july 10, 2011 | estadio panamericano, | anguilla | 4-0 | 4-0 | 2014 fifa world cup qualifier row 8 : 8 | october 11, 2011 | andre kamperveen stadion | suriname | 1-0 | 3-1 | 2014 fifa world cup qualifier row 9 : 9 | september 27, 2012 | kensington oval, bridgetown | dominica | 1-1 | 2-1 | 2012 caribbean cup qualifier row 10 : 10 | september 27, 2012 | kensington oval, bridgetown | dominica | 2-1 | 2-1 | 2012 caribbean cup qualifier row 11 : 11 | october 23, 2012 | stade rene serge naba | guadeloupe | 1-0 | 2-0 | 2012 caribbean cup qualifier row 12 : 12 | october 23, 2012 | stade rene serge naba | guadeloupe | 2-0 | 2-0 | 2012 caribbean cup qualifier row 13 : 13 | october 27, 2012 | stade rene serge naba | puerto rico | 1-0 | 3-1 | 2012 caribbean cup qualifier row 14 : 14 | october 27, 2012 | stade rene serge naba | puerto rico | 2-0 | 3-1 | 2012 caribbean cup qualifier row 15 : 15 | december 7, 2012 | antigua recreation ground, st. | antigua and barbuda | 2-1 | 2-1 | 2012 caribbean cup row 16 : 16 | march 24, 2013 | estadio panamericano, | haiti | 2-0 | 3-1 | friendly ] Execute this SQL based on the above table: select competition order by id desc limit 1
friendly
[ header: rank | title | studio | actor/actress | director | gross row 1 : 1 | three men and a baby | touchstone | tom selleck, ted danson, | leonard nimoy | $167,780,960 row 2 : 2 | fatal attraction | paramount | michael douglas, gle | adrian lyne | $156,645,693 row 3 : 3 | beverly hills cop ii | paramount | eddie murphy, judge reinhold | tony scott | $153,665,036 row 4 : 4 | good morning, vietnam | touchstone | robin williams and forest | barry levinson | $123,922,370 row 5 : 5 | moonstruck | mgm | cher, nicolas cage, | norman jewison | $80,640,528 row 6 : 7 | the secret of my success | universal | michael j. fox, | herbert ross | $66,995,000 row 7 : 8 | stakeout | touchstone | richard dreyfuss, | john badham | $65,673,233 row 8 : 9 | lethal weapon | warner bros | mel gibson, danny glover, | richard donner | $65,207,127 row 9 : 10 | dirty dancing | vestron | patrick swayze, jenn | emile ardolino | $63,892,689 row 10 : 12 | predator | fox | arnold schwarzenegger, car | john mctiernan | $59,735,548 row 11 : 13 | throw momma from the train | orion | danny devito, billy crystal, | danny devito | $57,915,972 row 12 : 14 | dragnet | universal | dan aykroyd, to | tom mankiewicz | $57,387,516 row 13 : 15 | robocop | orion | peter weller, nancy allen, | paul verhoeven | $53,424,681 row 14 : 16 | outrageous fortune | touchstone | bette midler and shelley long | arthur hiller | $52,864,741 row 15 : 17 | la bamba | columbia | lou diamond phillips, es | luis valdez | $52,678,820 row 16 : 18 | broadcast news | fox | william hurt, holly hunter | james l. brooks | $51,300,000 row 17 : 19 | the living daylights | united artists | timothy dalton and mary | john glen | $51,185,000 row 18 : 20 | eddie murphy raw | paramount | eddie murphy | robert townsend | $50,505,655 ] Execute this SQL based on the above table: select studio where rank = 5
mgm
[ header: year | competition | venue | position | event | notes row 1 : 1987 | european junior championships | birmingham, united kingdom | None | 20 km walk | dq row 2 : 1990 | european championships | split, yugoslavia | 4th | 20 km walk | 1:23.47 row 3 : 1991 | world championships | tokyo, japan | 10th | 20 km walk | 1:21:32 row 4 : 1991 | world championships | tokyo, japan | None | 50 km walk | dnf row 5 : 1992 | olympic games | barcelona, spain | None | 20 km walk | dnf row 6 : 1992 | olympic games | barcelona, spain | None | 50 km walk | dq row 7 : 1993 | world indoor championships | toronto, canada | 2nd | 5000 m walk | 18:35.91 row 8 : 1993 | world championships | stuttgart, germany | None | 50 km walk | dq row 9 : 1994 | european championships | helsinki, finland | None | 50 km walk | dq row 10 : 1994 | european championships | helsinki, finland | 5th | 50 km walk | 3:45:57 row 11 : 1995 | world championships | gothenburg, sweden | 3rd | 50 km walk | 3:45.57 row 12 : 1996 | olympic games | atlanta, united states | 8th | 20 km walk | 1:21:13 row 13 : 1996 | olympic games | atlanta, united states | 1st | 50 km walk | 3:43:30 row 14 : 1997 | world championships | athens, greece | 1st | 50 km walk | 3:44:46 row 15 : 1998 | european championships | budapest, hungary | 1st | 50 km walk | 3:43:51 row 16 : 1999 | world race walking cup | mezidon-canon, france | 4th | 20 km walk | 1:20:52 row 17 : 1999 | world championships | seville, spain | None | 50 km walk | dq row 18 : 2000 | european race walking cup | eisenhuttenstadt, germany | 1st | 20 km walk | 1:18:29 row 19 : 2000 | olympic games | sydney, australia | 1st | 20 km walk | 1:18:59 (or) row 20 : 2000 | olympic games | sydney, australia | 1st | 50 km walk | 3:42:22 row 21 : 2001 | world championships | edmonton, canada | 1st | 50 km walk | 3:42.08 row 22 : 2001 | goodwill games | brisbane, australia | 2nd | 20,000 m walk | 1:19:52.0 row 23 : 2002 | european championships | munich, germany | 1st | 50 km walk | 3:36:39 (wr) row 24 : 2003 | world championships | paris, france | 1st | 50 km walk | 3:36:03 row 25 : 2004 | olympic games | athens, greece | 1st | 50 km walk | 3:38:46 ] Execute this SQL based on the above table: select position where competition = 'european championships' order by year desc limit 1
1st
[ header: pos | no. | driver | team | laps | time/retired | grid | laps led | points row 1 : 2 | 4 | j. r. hilde | panther racing | 200 | 2.1086 | 12 | 7 | 44 row 2 : 3 | 38 | graham rahal | chip ganassi racing | 200 | 5.5949 | 29 | 6 | 38 row 3 : 4 | 82 | tony kanaan | kv racing technology - lotus | 200 | 7.487 | 22 | 0 | 36 row 4 : 5 | 9 | scott dixon (w)1 | chip ganassi racing | 200 | 9.5434 | 2 | 73 | 45 row 5 : 7 | 30 | bertrand baguette | rahal letterman lanigan racing | 200 | 23.9631 | 14 | 11 | 30 row 6 : 9 | 26 | marco andretti | andretti autosport | 200 | 25.7411 | 27 | 0 | 25 row 7 : 12 | 10 | dario franchitti (w) | chip ganassi racing | 200 | 56.4167 | 9 | 51 | 24 row 8 : 14 | 12 | will power | team penske | 199 | +1 lap | 5 | 0 | 26 row 9 : 15 | 14 | vitor meira | a. j. foyt enterprises | 199 | +1 lap | 11 | 0 | 19 row 10 : 17 | 3 | helio castroneves (w | team penske | 199 | +1 lap | 16 | 0 | 17 row 11 : 18 | 44 | buddy rice (w) | panther racing | 198 | +2 laps | 7 | 0 | 20 row 12 : 19 | 19 | alex lloyd | dale coyne racing | 198 | +2 laps | 30 | 0 | 15 row 13 : 20 | 36 | pippa mann (r) | conquest racing | 198 | +2 laps | 31 | 0 | 15 row 14 : 21 | 24 | ana beatriz | dreyer & reinbold racing | 197 | +3 laps | 32 | 0 | 15 row 15 : 22 | 43 | john andretti | andretti autosport | 197 | +3 laps | 17 | 0 | 16 row 16 : 24 | 11 | davey hamilton | dreyer & reinbold racing | 193 | +7 laps | 15 | 0 | 16 row 17 : 25 | 23 | paul tracy | dreyer & reinbold racing | 175 | +25 laps | 24 | 0 | 13 row 18 : 26 | 99 | townsend bell | sam schmidt motorsports | 157 | contact | 4 | 0 | 21 row 19 : 28 | 77 | alex tagliani | sam schmidt motorsports | 147 | contact | 1 | 20 | 25 row 20 : 29 | 6 | james hinchcliffe (r) | newman/haas racing | 99 | contact | 13 | 0 | 14 row 21 : 31 | 78 | simona de silvestro | hvm racing | 44 | handling | 23 | 0 | 14 row 22 : 33 | 5 | takuma sato | kv racing technology - lotus | 20 | contact | 10 | 0 | 14 ] Execute this SQL based on the above table: select grid - time/retired where pos = 14
4.0
[ header: municipality/communes | coalition for the citizen | coalition for the future | other/independent | winning party/coalition | voter turnout row 1 : aranitas | robert brahaj (42. | viktor mahmutaj (57. | None | coalition for the future | 57% row 2 : ballsh | dallandyshe allkaj ( | ilir cela (52.03 | None | coalition for the future | 55% row 3 : fratar | sabire hoxhaj (49 | astrit sejdinaj (50 | None | coalition for the future | 57% row 4 : greshice | baftjar bakiu (55 | bilbil veliaj (44. | None | coalition for the citizen | 53% row 5 : hekal | qemal pashaj (41.99 | eqerem beqiraj (58 | None | coalition for the future | 50% row 6 : kute | gentjan dervishaj (49. | ramis malaj (50.30 | None | coalition for the future | 55% row 7 : ngracan | nuri koraj (65.52 | besnik shanaj (34.48 | None | coalition for the citizen | 70% row 8 : qender | agron kapllanaj ( | sybi aliaj (34 | None | coalition for the citizen | 57% row 9 : selite | altin bregasi (51.75 | hekuran resulaj | nezir jaupaj (p | coalition for the citizen | 62% ] Execute this SQL based on the above table: select count ( coalition for the citizen )
9
[ header: name | type | elevation (ground station) | elevation (mountain station) | slope length | capacity (persons/hour) | construction year row 1 : fiesch- -alp 1+2 | cable car | 1074 | 2227 | 2940 | 800 | 1973 row 2 : fiesch- -alp 3+4 | cable car | 1071 | 2221 | 2937 | 270 | 1966 row 3 : fiescheralp-eggishorn | cable car | 2225 | 2879 | 1836 | 495 | 1968 row 4 : heimat | chairlift | 1858 | 2301 | 1144 | 1400 | 2000 row 5 : talegga | chairlift | 2208 | 2727 | 1782 | 2200 | 2010 row 6 : flesch | chairlift | 2208 | 2630 | 1357 | 2400 | 1993 row 7 : trainer 1 | surface lift | 2206 | 2264 | 218 | 1200 | 1987 row 8 : trainer 2 | surface lift | 2206 | 2264 | 218 | 1200 | 1987 row 9 : laxeralp 1 | surface lift | 2135 | 2179 | 396 | 1100 | 1981 row 10 : laxeralp 2 | surface lift | 2179 | 2280 | 394 | 1214 | 1981 ] Execute this SQL based on the above table: select count ( distinct type )
3
[ 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 where 2nd leg = ( select 2nd leg where team 2 = 'namibia' ) + 1
liberia
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 27 march 1977 | rico perez, alicante | hungary | 1-1 | 1-1 | friendly row 2 : 2 | 4 october 1978 | maksimir, zagreb | yugoslavia | 0-1 | 1-2 | euro 1980 qualifying row 3 : 3 | 24 september 1980 | nepstadion, | hungary | 0-1 | 2-2 | friendly row 4 : 4 | 18 february 1981 | vicente calderon, madrid, | france | 1-0 | 1-0 | friendly row 5 : 5 | 23 june 1981 | azteca, mexico city | mexico | 0-1 | 1-3 | friendly row 6 : 6 | 23 june 1981 | azteca, mexico city | mexico | 0-2 | 1-3 | friendly row 7 : 7 | 28 june 1981 | olimpico, caracas, | venezuela | 0-1 | 0-2 | friendly row 8 : 8 | 20 june 1982 | luis casanova, valencia, | yugoslavia | 1-1 | 2-1 | 1982 fifa world cup ] Execute this SQL based on the above table: select score where id = ( select id where score = '1-1' ) + 1
0-1
[ header: census year | census year | 2001 | 2006 | 2011 row 1 : population | estimated residents on census night | 58,319 | 63,605 | 67,356 row 2 : population | lga rank in terms of size within | None | 19 | None row 3 : population | % of new south wales population | None | None | 0.97% row 4 : population | % of australian population | 0.31% | 0.32% | 0.31% row 5 : cultural and language diversity | cultural and language diversity | None | None | None row 6 : ancestry, top responses | english | None | None | 20.5% row 7 : ancestry, top responses | australian | None | None | 18.3% row 8 : ancestry, top responses | chinese | None | None | 14.5% row 9 : ancestry, top responses | irish | None | None | 7.4% row 10 : ancestry, top responses | scottish | None | None | 5.6% row 11 : language, top responses (other than english) | cantonese | 6.7% | 7.6% | 7.5% row 12 : language, top responses (other than english) | mandarin | 3.6% | 5.5% | 7.2% row 13 : language, top responses (other than english) | korean | 1.7% | 2.7% | 3.6% row 14 : language, top responses (other than english) | japanese | 2.4% | 2.4% | 2.3% row 15 : language, top responses (other than english) | armenian | n/c | 1.4% | 1.3% row 16 : religious affiliation | religious affiliation | None | None | None row 17 : religious affiliation, top responses | no religion | 18.6% | 22.0% | 27.6% row 18 : religious affiliation, top responses | catholic | 26.1% | 25.5% | 25.0% row 19 : religious affiliation, top responses | anglican | 19.5% | 17.6% | 15.6% row 20 : religious affiliation, top responses | buddhism | 3.7% | 4.4% | 4.6% row 21 : religious affiliation, top responses | presbyterian and reformed | n/c | n/c | 3.1% row 22 : median weekly incomes | median weekly incomes | None | None | None row 23 : personal income | median weekly personal income | None | a$728 | a$858 row 24 : personal income | % of australian median income | None | 156.2% | 148.7% row 25 : family income | median weekly family income | None | a$1,667 | a$2,479 row 26 : family income | % of australian median income | None | 162.3% | 167.4% row 27 : household income | median weekly household income | None | a$2,066 | a$1,996 row 28 : household income | % of australian median income | None | 176.4% | 161.8% ] Execute this SQL based on the above table: select census year where census year in ( '% of australian population' , '% of australian median income' ) group by census year order by count ( * ) desc limit 1
% of australian median income
[ header: name | location | city | listing date row 1 : branch county courthouse informational site | 31 division street | coldwater | march 16, 1989 row 2 : bronson public library | 207 matteson street | bronson | september 28, 2000 row 3 : chicago road informational designation | us-12 and prairie river road (park 1.5 miles | bronson township | september 17, 1957 row 4 : city of coldwater informational designation | city park at intersection of us-12 and us- | coldwater | april 14, 1961 row 5 : edwin r. clarke library | 12 east chicago street, between division and | coldwater | march 9, 1966 row 6 : dr. hawley harve | 66 north monroe street | coldwater | august 21, 1987 row 7 : east chicago street historic district | chicago street from wright to division | coldwater | july 26, 1974 row 8 : first presbyterian church | 52 marshall street, ne corner of | coldwater | june 15, 1979 row 9 : abram c. fisk house | 867 east chicago street | coldwater | june 15, 1979 row 10 : william p. hurd house | 601 north broadway | union city | july 17, 1981 row 11 : lanphere-pratt house | 90 division street | coldwater | february 23, 1978 row 12 : henry a. locke house | 140 east division street | sherwood | march 19, 1980 row 13 : governor cyrus gray luce home | northeast corner of division and east washington streets | coldwater | august 15, 1975 row 14 : methodist episcopal church | 126 marshall road | coldwater | april 17, 1997 row 15 : general john g. parkhurst house | 55 north clay street | coldwater | june 15, 1979 row 16 : harriet quimby informational designation | branch county memorial airport | coldwater | january 21, 1988 row 17 : quincy township public library | 11 north main street, just north of us-12 | quincy | april 25, 1988 row 18 : state public school at coldwater | 620 marshall road | coldwater | may 13, 1981 row 19 : tibbits opera house | 14 south hanchett street | coldwater | december 11, 1970 row 20 : union city iron furnace | m-60 near waterworks road | union township | february 14, 1963 row 21 : union city methodist episcopal church | 200 ellen street | union city | september 19, 1991 row 22 : lucius m. wing house | 27 south jefferson street, ne | coldwater | october 17, 1974 row 23 : john d. zimmerman house | 119 east high street | union city | september 21, 1983 ] Execute this SQL based on the above table: select location where id = ( select id where location = 'm-60 near waterworks road' ) + 1
200 ellen street
[ header: party | votes | % | swing | seats | change row 1 : australian labor party | 166106 | 50.84 | 2.75 | 15 | 3 row 2 : liberal and country league | 119106 | 36.45 | -4.05 | 20 | -3 row 3 : independent | 36271 | 11.1 | 1.03 | 4 | 0 row 4 : other | 5238 | 1.6 | None | 0 | 0 row 5 : total | 326721 | None | None | 39 | None row 6 : liberal and country league | win | 47 | -4.3 | 20 | -3 row 7 : australian labor party | None | 53 | 4.3 | 15 | 3 ] Execute this SQL based on the above table: select count ( * ) where votes = 326721
1
[ header: year | award | group | result | notes row 1 : 2004 | black reel awards | best actor: drama | nominated | the human stain (film) row 2 : 2004 | black reel awards | best breakthrough performance | nominated | the human stain (film) row 3 : 2006 | academy of science fiction, fantasy & horror films | best actor on television | nominated | prison break row 4 : 2006 | teen choice awards | tv - choice actor | nominated | prison break row 5 : 2006 | teen choice awards | tv - choice breakout star | nominated | prison break row 6 : 2006 | golden globes awards | best performance by an actor in a television series | nominated | prison break row 7 : 2007 | teen choice awards | choice tv actor: drama | nominated | prison break row 8 : 2008 | teen choice awards | choice tv actor: action adventure | nominated | prison break row 9 : 2014 | fangoria chainsaw awards | best screenplay | pending | stoker (film) ] Execute this SQL based on the above table: select abs ( ( select year where group = 'choice tv actor: drama' ) - ( select year where group = 'best performance by an actor in a television series - drama' ) )
1
[ header: month | jan | feb | mar | apr | may | jun | jul | aug | sep | oct | nov | dec | year row 1 : record high °f (°c) | 76 (24) | 86 (30) | 96 (36) | 96 (36) | 95 (35) | 104 (40) | 111 (44) | 109 (43) | 105 (41) | 96 (36) | 90 (32) | 78 (26) | 111 (44) row 2 : average high °f (°c) | 46.2 (7.9) | 50.4 (10.2) | 59.1 (15.1) | 68.7 (20.4) | 75.5 (24.2) | 83.5 (28.6) | 88.7 (31.5) | 89.4 (31.9) | 80.8 (27.1) | 70.3 (21.3) | 59.2 (15.1) | 48.0 (8.9) | 68.3 (20.2) row 3 : average low °f (°c) | 26.1 (-3.3) | 29.0 (-1.7) | 37.8 (3.2) | 46.9 (8.3) | 55.7 (13.2) | 64.1 (17.8) | 68.7 (20.4) | 67.7 (19.8) | 58.9 (14.9) | 47.6 (8.7) | 39.2 (4) | 28.1 (-2.2) | 47.5 (8.6) row 4 : record low °f (°c) | -23 (-31) | -24 (-31) | -11 (-24) | 18 (-8) | 28 (-2) | 41 (5) | 48 (9) | 44 (7) | 29 (-2) | 17 (-8) | 5 (-15) | -12 (-24) | -24 (-31) row 5 : precipitation inches (mm) | 1.99 (50.5) | 2.43 (61.7) | 3.54 (89.9) | 4.05 (102.9) | 4.99 (126.7) | 4.59 (116.6) | 3.18 (80.8) | 2.75 (69.9) | 4.43 (112.5) | 3.83 (97.3) | 4.19 (106.4) | 2.73 (69.3) | 42.7 (1,084.6) row 6 : snowfall inches (cm) | 1.6 (4.1) | 2.0 (5.1) | 0 (0) | 0 (0) | 0 (0) | 0 (0) | 0 (0) | 0 (0) | 0 (0) | 0 (0) | 0 (0) | .7 (1.8) | 4.4 (11.2) row 7 : avg. precipitation days (≥ | 5.4 | 6.6 | 8.2 | 9.0 | 11.2 | 8.9 | 7.0 | 6.4 | 7.6 | 7.9 | 7.0 | 6.3 | 91.4 row 8 : avg. snowy days (≥ | .7 | .9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | .5 | 2.3 ] Execute this SQL based on the above table: select count ( month ) where month = 'average high °f (°c)'
1
[ header: line | year opened | termini | termini row 1 : j church | 1917 | embarcadero station | balboa park station row 2 : k ingleside | 1918 | embarcadero station | balboa park station row 3 : l taraval | 1919 | embarcadero station | 46th avenue and wawona s row 4 : m ocean view | 1925 | embarcadero station | san jose and geneva balb row 5 : n judah | 1928 | 4th and king station caltrain depot | judah and la playa ocean beach row 6 : t third street | 2007 | west portal station | sunnydale station row 7 : s castro shuttle (peak hours & | None | embarcadero station 4th and | castro station west portal station (game days) ] Execute this SQL based on the above table: select count ( year opened ) where year opened < 'None'
6
[ header: rank | athlete | country | time | behind | points row 1 : 1 | sven kramer | netherlands | 01:53.98 | 0 | 37.993 row 2 : 2 | sverre lunde peder | norway | 1:54.87 | 0.89 | 38.29 row 3 : 3 | jan blokhuijsen | netherlands | 1:54.93 | 0.95 | 38.31 row 4 : 4 | denis yuskov | russia | 1:55.13 | 1.15 | 38.376 row 5 : 5 | koen verweij | netherlands | 1:55.42 | 1.44 | 38.473 row 6 : 6 | haralds silovs | latvia | 1:55.48 | 1.5 | 38.493 row 7 : 7 | zbigniew brodka | poland | 1:55.98 | 2 | 38.66 row 8 : 8 | bart swings | belgium | 1:56.08 | 2.1 | 38.693 row 9 : 9 | havard bøkko | norway | 1:56.35 | 2.37 | 38.783 row 10 : 10 | jan szymanski | poland | 1:56.55 | 2.57 | 38.85 row 11 : 11 | bram smallenbroek | austria | 1:57.44 | 3.46 | 39.146 row 12 : 12 | alexis contin | france | 1:57.58 | 3.6 | 39.193 row 13 : 13 | benjamin mace | france | 1:57.80 | 3.82 | 39.266 row 14 : 14 | konrad niedzwiedzki | poland | 1:57.92 | 3.94 | 39.306 row 15 : 15 | sergey gryaztso | russia | 1:58.73 | 4.75 | 39.576 row 16 : 16 | patrick beckert | germany | 1:59.08 | 5.1 | 39.693 row 17 : 17 | kristian reistad | norway | 1:59.19 | 5.21 | 39.73 row 18 : 18 | luca stefani | italy | 1:59.82 | 5.84 | 39.94 row 19 : 19 | marco cignini | italy | 1:59.97 | 5.99 | 39.99 row 20 : 20 | ferre spruyt | belgium | 2:00.00 | 6.02 | 40 row 21 : 21 | vitaly mikhailov | belarus | 2:00.75 | 6.77 | 40.52 row 22 : 22 | milan sablik | czech republic | 2:00.95 | 6.97 | 40.316 row 23 : 23 | ted jan bloemen | netherlands | 2:01.58 | 7.6 | 40.526 row 24 : 24 | moritz geisreiter | germany | 2:01.64 | 7.66 | 40.566 ] Execute this SQL based on the above table: select athlete order by time desc limit 1
ferre spruyt
[ 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 ( select place where place = ( select place where date = 'august 1879' ) + 1 ) > ( select place where date = 'august 1879' )
1
[ header: rank | bib | athlete | country | time | deficit row 1 : None | 5 | sjur røthe | norway | 1:13:11.3 | 2 row 2 : 4 | 4 | petter northug | norway | 1:13:14.5 | 5.2 row 3 : 12 | 41 | tord asle gjerdalen | norway | 1:13:22.7 | 13.4 row 4 : 15 | 23 | johannes durr | austria | 1:13:26.0 | 16.7 row 5 : 16 | 13 | giorgio di centa | italy | 1:13:27.1 | 17.8 row 6 : 17 | 19 | matti heikkinen | finland | 1:13:30.0 | 20.7 row 7 : 18 | 26 | daniel richardsson | sweden | 1:13:31.1 | 21.8 row 8 : 23 | 12 | lukas bauer | czech republic | 1:13:36.9 | 27.6 row 9 : 27 | 43 | lari lehtonen | finland | 1:13:54.9 | 45.6 row 10 : 28 | 31 | martin jaks | czech republic | 1:13:55.6 | 46.3 row 11 : 31 | 44 | jiri magal | czech republic | 1:14:00.8 | 51.5 row 12 : 32 | 16 | ivan babikov | canada | 1:14:03.0 | 53.7 row 13 : 38 | 33 | martin bajcicak | slovakia | 1:15:25.7 | +2:16.4 row 14 : 39 | 51 | andrew musgrave | great britain | 1:15:33.4 | +2:24.1 row 15 : 47 | 36 | andy kuhne | germany | 1:17:02.2 | +3:52.9 row 16 : 52 | 34 | graham nishikawa | canada | 1:17:18.9 | +4:09.6 row 17 : 57 | 65 | philipp halg | liechtenstein | 1:18:19.6 | +5:10.3 row 18 : 59 | 62 | sergey mikayelyan | armenia | 1:19:04.3 | +5:55.0 row 19 : 62 | 61 | javier gutierrez | spain | 1:19:48.7 | +6:39.4 row 20 : 66 | 59 | ondrej horyna | czech republic | 1:20:23.9 | +7:14.6 row 21 : 67 | 69 | imanol rojo | spain | 1:20:25.5 | +7:16.2 row 22 : 69 | 78 | andrew pohl | new zealand | 1:20:48.2 | +7:38.9 row 23 : 70 | 84 | callum smith | great britain | 1:22:01.3 | +8:52.0 row 24 : 72 | 85 | artur yeghoyan | armenia | 1:22:22.9 | +9:13.6 row 25 : None | 77 | andrej buric | croatia | lap | None row 26 : None | 79 | viorel andrei palici | romania | lap | None row 27 : None | 81 | tadevos poghosy | armenia | lap | None row 28 : None | 89 | mark van der ploeg | australia | lap | None row 29 : None | 90 | cesar baena | venezuela | lap | None row 30 : None | 91 | viossi-akpedje mad | togo | lap | None row 31 : None | 94 | dachhiri sherpa | nepal | lap | None row 32 : None | 72 | oleksii kraso | ukraine | dnf | None ] Execute this SQL based on the above table: select count ( country ) where country = 'sweden' and time > ( select time where country = 'armenia' )
0
[ header: # | event year | season | flag bearer row 1 : 7 | 2012 | summer | ele opeloge row 2 : 6 | 2008 | summer | ele opeloge row 3 : 5 | 2004 | summer | uati maposua row 4 : 4 | 2000 | summer | pauga lalau row 5 : 3 | 1996 | summer | bob gasio row 6 : 2 | 1988 | summer | henry smith row 7 : 1 | 1984 | summer | apelu ioane ] Execute this SQL based on the above table: select # where flag bearer = 'apelu ioane'
1
[ header: team | county | wins | years won row 1 : greystones | wicklow | 1 | 2011 row 2 : ballymore eustace | kildare | 1 | 2010 row 3 : maynooth | kildare | 1 | 2009 row 4 : ballyroan abbey | laois | 1 | 2008 row 5 : fingal ravens | dublin | 1 | 2007 row 6 : confey | kildare | 1 | 2006 row 7 : crettyard | laois | 1 | 2005 row 8 : wolfe tones | meath | 1 | 2004 row 9 : dundalk gaels | louth | 1 | 2003 ] Execute this SQL based on the above table: select county where wins = 1
wicklow, kildare, kildare, laois, dublin, kildare, laois, meath, louth
[ 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 ( remarks ) where episode <= 7
1
[ header: team | winners | runners-up | years won | years runner-up row 1 : liverpool | 8 | 3 | 1981, 1982, 1983, 1984, 1995, | 1978, 1987, 2005 row 2 : aston villa | 5 | 3 | 1961, 1975, 1977, 1994, 1996 | 1963, 1971, 2010 row 3 : manchester united | 4 | 4 | 1992, 2006, 2009, 2010 | 1983, 1991, 1994, 2003 row 4 : tottenham hotspur | 4 | 3 | 1971, 1973, 1999, 2008 | 1982, 2002, 2009 row 5 : chelsea | 4 | 2 | 1965, 1998, 2005, 2007 | 1972, 2008 row 6 : nottingham forest | 4 | 2 | 1978, 1979, 1989, 1990 | 1980, 1992 row 7 : leicester city | 3 | 2 | 1964, 1997, 2000 | 1965, 1999 row 8 : manchester city | 3 | 1 | 1970, 1976, 2014 | 1974 row 9 : arsenal | 2 | 5 | 1987, 1993 | 1968, 1969, 1988, 2007, 2011 row 10 : norwich city | 2 | 2 | 1962, 1985 | 1973, 1975 row 11 : birmingham city | 2 | 1 | 1963, 2011 | 2001 row 12 : wolverhampton wanderers | 2 | 0 | 1974, 1980 | None row 13 : west bromwich albion | 1 | 2 | 1966 | 1967, 1970 row 14 : middlesbrough | 1 | 2 | 2004 | 1997, 1998 row 15 : queens park rangers | 1 | 1 | 1967 | 1986 row 16 : leeds united | 1 | 1 | 1968 | 1996 row 17 : stoke city | 1 | 1 | 1972 | 1964 row 18 : luton town | 1 | 1 | 1988 | 1989 row 19 : sheffield wednesday | 1 | 1 | 1991 | 1993 row 20 : swindon town | 1 | 0 | 1969 | None row 21 : oxford united | 1 | 0 | 1986 | None row 22 : blackburn rovers | 1 | 0 | 2002 | None row 23 : swansea city | 1 | 0 | 2013 | None row 24 : west ham united | 0 | 2 | None | 1966, 1981 row 25 : everton | 0 | 2 | None | 1977, 1984 row 26 : bolton wanderers | 0 | 2 | None | 1995, 2004 row 27 : sunderland | 0 | 2 | None | 1985, 2014 row 28 : rotherham united | 0 | 1 | None | 1961 row 29 : rochdale | 0 | 1 | None | 1962 row 30 : newcastle united | 0 | 1 | None | 1976 row 31 : southampton | 0 | 1 | None | 1979 row 32 : oldham athletic | 0 | 1 | None | 1990 row 33 : tranmere rovers | 0 | 1 | None | 2000 row 34 : wigan athletic | 0 | 1 | None | 2006 row 35 : cardiff city | 0 | 1 | None | 2012 row 36 : bradford city | 0 | 1 | None | 2013 ] Execute this SQL based on the above table: select count ( team )
36
[ header: | name | took office | left office | party | notes/events row 1 : 11 | william mccreery | march 4, 1803 | march 3, 1809 | democratic republican | None row 2 : 12 | alexander mckim | march 4, 1809 | march 3, 1815 | democratic republican | None row 3 : 13 | william pinkney | march 4, 1815 | april 18, 1816 | democratic republican | resigned to accept position as minister p row 4 : 14 | peter little | september 2, 1816 | march 3, 1823 | democratic republican | None row 5 : 14 | peter little | march 4, 1823 | march 3, 1825 | jacksonian dr | None row 6 : 14 | peter little | march 4, 1825 | march 3, 1829 | adams | None row 7 : 15 | benjamin c. howard | march 4, 1829 | march 3, 1833 | jacksonian | None ] Execute this SQL based on the above table: select left office where name = 'william mccreery' and left office != 'march 3, 1833'
march 3, 1809
[ header: season | north | south | east | west row 1 : 2000-01 | ehc regensburg | sb rosenheim | deggendorfer sc ii | ev landsberg row 2 : 2001-02 | bts bayreuth | tus geretsried i | deggendorfer sc ii | tsv kottern row 3 : 2002-03 | ec bayreuth | sc riessersee i | tsv erding jets | tsv peißenberg row 4 : 2003-04 | ehc ingolstadt ii | esc holzkirchen | ehf passau | tsv kottern row 5 : 2004-05 | ver selb | eac bad reichenhall | se freising | erc lechbruck row 6 : 2005-06 | ec bad kissingen | ehc munchen ii | esv waldkirchen | ev bad worishofen row 7 : 2006-07 | ehc bayreuth | esc geretsried | esv gebensbach | vfl denklingen row 8 : 2007-08 | ec amberg | sc gaißach | ev bruckberg | esc kempten row 9 : 2008-09 | erc ingolstadt | tsv schliersee | esv waldkirchen | 1. ec senden ] Execute this SQL based on the above table: select count ( * )
9
[ header: | date of award | honour/award title | reason for award | awarding body row 1 : 1 | 1973 | lenin peace prize | None | ussr row 2 : 2 | 1980 | frederic joliot curie gold | None | None row 3 : 3 | 1984 | medaglia pontificia ( | None | the vatican city,italy row 4 : 4 | 1988 | grant master order merit: the grant cruz ( | None | brazil row 5 : 5 | 1988 | ho chi minh peace award | None | vietnam row 6 : 6 | 1988 | the namibia freedom award | for his leadership role in the struggle against aparthe | california state university, us row 7 : 7 | 1988 | honorary citizenship of the city of atlanta | for his leadership role in the struggle for freedom, | atlanta, usa row 8 : 8 | 1988 | recognition granted | None | city and county of san francisco row 9 : 9 | 1988 | recognition granted | None | city of chicago row 10 : 10 | 1988 | recognition granted | None | city of east palo alto row 11 : 11 | 1990 | indira gandhi peace prize | in recognition of his outstanding contribution in leading the people | india row 12 : 12 | 1991 | medaglia pontificia ( | None | the vatican city, italy row 13 : 13 | 1991 | order of jose marti | None | cuba row 14 : 14 | 1991 | ordre du merite congo | None | republic of congo row 15 : 15 | 1992 | chief of golden heart | None | kenya row 16 : 16 | 1992 | order of the national flag (first class) | None | democratic people's republic of korea row 17 : 17 | 1994 | "grand cordon" decoration | None | tunisia row 18 : 18 | 1995 | grand master of the order of welwitschi | None | namibia row 19 : 19 | 1995 | order of liberty (highest cross) | None | portugal row 20 : 20 | 1995 | africa prize for leadership for the sustainable end of hunger | None | the hunger project row 21 : 21 | 1996 | order of good hope (gold) | None | south africa row 22 : 22 | 2002 | order of friendship award | None | vietnam row 23 : 23 | 2003 | o.b.f.f.s | None | romania row 24 : 24 | 2003 | fellowship award of the institute of governance and social research | in recognition of his contribution to the liberation of | institute of governance and social research, nigeria row 25 : 25 | 2004 | companion of the order of the star of ghan | as an expression of respect and admiration of the | ghana row 26 : 26 | 2004 | founding president of the republic of namibia | in recognition of his dedication to his selfless sacrifice | namibian parliament row 27 : 27 | 2004 | lifetime conservation award | None | cheetah conservation fund (n row 28 : 28 | 2008 | international kim il sung prize certificate | None | india row 29 : 29 | 2010 | sir seretse kham | None | sadc ] Execute this SQL based on the above table: select honour/award title where id = ( select id where honour/award title = 'recognition granted' ) - 1
honorary citizenship of the city of atlanta
[ header: team | constructor | motorcycle | tyres | no | rider | rounds row 1 : camel yamaha team | yamaha | yamaha yzr-m1 | m | 5 | colin edwards | all row 2 : camel yamaha team | yamaha | yamaha yzr-m1 | m | 46 | valentino rossi | all row 3 : konica minolta honda | honda | honda rc211v | m | 6 | makoto tamada | all row 4 : tech 3 yamaha | yamaha | yamaha yzr-m1 | d | 7 | carlos checa | all row 5 : tech 3 yamaha | yamaha | yamaha yzr-m1 | d | 77 | james ellison | all row 6 : ducati marlboro team | ducati | ducati desmosedici gp | b | 15 | sete gibernau | 1-7, 10-11, 13-16 row 7 : ducati marlboro team | ducati | ducati desmosedici gp | b | 65 | loris capirossi | all row 8 : ducati marlboro team | ducati | ducati desmosedici gp | b | 66 | alex hofmann | 8-9, 12 row 9 : ducati marlboro team | ducati | ducati desmosedici gp | b | 12 | troy bayliss | 17 row 10 : kawasaki racing team | kawasaki | kawasaki ninja z | b | 17 | randy de puniet | all row 11 : kawasaki racing team | kawasaki | kawasaki ninja z | b | 56 | shinya nakano | all row 12 : kawasaki racing team | kawasaki | kawasaki ninja z | b | 8 | naoki matsudo | 15 row 13 : rizla suzuki motogp | suzuki | suzuki gsv-r | b | 21 | john hopkins | all row 14 : rizla suzuki motogp | suzuki | suzuki gsv-r | b | 71 | chris vermeulen | all row 15 : repsol honda team | honda | honda rc211v | m | 26 | dani pedrosa | all row 16 : repsol honda team | honda | honda rc211v | m | 69 | nicky hayden | all row 17 : honda lcr | honda | honda rc211v | m | 27 | casey stoner | all row 18 : pramac d'antin moto | ducati | ducati desmosedici gp | d | 30 | jose luis cardoso | all row 19 : pramac d'antin moto | ducati | ducati desmosedici gp | d | 66 | alex hofmann | 1-7, 10-11, 13-17 row 20 : pramac d'antin moto | ducati | ducati desmosedici gp | d | 22 | ivan silva | 8-9, 12 row 21 : fortuna honda | honda | honda rc211v | m | 24 | toni elias | 1-8, 10-17 row 22 : fortuna honda | honda | honda rc211v | m | 33 | marco melandri | all row 23 : fortuna honda | honda | honda rc211v | m | 84 | michel fabrizio | 9 ] Execute this SQL based on the above table: select constructor order by no desc limit 1
honda
[ header: sl no | constituency name | constituency number | member of legislative assembly | political party row 1 : 2 | abhayapuri south | 35 | chandan kumar sarkar | indian national congress row 2 : 4 | amguri | 103 | anjan dutta | indian national congress row 3 : 9 | barhampur | 87 | prafulla kumar mahanta | asom gana parishad row 4 : 15 | bihali | 77 | pallab lochan das | indian national congress row 5 : 16 | bihpuria | 109 | bhupen kumar bor | indian national congress row 6 : 17 | bijni | 33 | kamalshing narzary | bodoland peoples front row 7 : 21 | bokajan | 17 | klengdoon engti | indian national congress row 8 : 35 | dhemaji | 113 | sumitra doley patir | indian national congress row 9 : 49 | gauripur | 24 | banendra kumar mushahary | bodoland peoples front row 10 : 53 | golakganj | 25 | abu taher bepari | indian national congress row 11 : 56 | hajo | 55 | dwipen pathak | all india trinamool congress row 12 : 59 | howraghat | 18 | khorsing engti | indian national congress row 13 : 60 | jagiroad | 79 | bibekananda dalai | indian national congress row 14 : 62 | jalukbari | 51 | himanta biswa sarma | indian national congress row 15 : 63 | jamunamukh | 90 | mohammed sirajuddin a | all india united democratic front row 16 : 64 | jania | 44 | rafiqul islam | all india united democratic front row 17 : 65 | jonai | 114 | pradan baruah | indian national congress row 18 : 73 | katlicherra | 7 | gautam roy | indian national congress row 19 : 76 | kokrajhar west | 29 | pradip kumar brahma | bodoland peoples front row 20 : 83 | majuli | 99 | sri rajib lochan | indian national congress row 21 : 87 | mazbat | 70 | rakheswar brahma | bodoland peoples front row 22 : 95 | nowgong | 86 | dr. durlav chandra | indian national congress row 23 : 101 | rangapara | 74 | bhimananda tanti | indian national congress row 24 : 105 | sadiya | 126 | bolin chetia | indian national congress row 25 : 111 | sidli | 31 | sri chandan brahm | bodoland peoples front row 26 : 114 | sonai | 10 | anamul haque | indian national congress row 27 : 115 | sonari | 106 | sarat borkotoky | indian national congress row 28 : 116 | sootea | 75 | padma hazarika | asom gana parishad row 29 : 119 | teok | 102 | membar gogoi | indian national congress row 30 : 122 | tingkhong | 119 | atuwa munda | indian national congress row 31 : 123 | tinsukia | 122 | rajendra prasad singh | indian national congress ] Execute this SQL based on the above table: select political party where member of legislative assembly = 'dwipen pathak'
all india trinamool congress
[ header: year | game of the year | abstract strategy | advanced strategy | family | family card | family strategy | party | puzzle | word | historical simulation | other row 1 : 1992 | pipeline | terrace | None | showdown yahtzee | arcade: super tetris | real-life strategy: d-day | humm...ble | heaven & earth | wordsters | adventure: the lost files of sherlock | trivia: times to remember row 2 : 1993 | inklings | char | None | perpetual notion | arcade: ecco the dolphin | real-life: civilization | oodles | the incredible machine | pick two! | adventure: return to zork | trivia: celebrity challenge row 3 : 1994 | myst | the game of y | wargames: v for victory | peg poker | arcade: lode runner: the legend returns | real-life strategy: x-com: | the doonesbury game | breakthru! | boggle master | adventure: the elder scrolls: arena | trivia: quote unquote row 4 : 1995 | sharp shooters | strategy: quixo | conflict: colonial diplomacy | touche | phantoms of the ice | sports: dynasty league baseball | catch phrase | lights out | pre.fix | adventure & role playing: dragon dice: battle | trivia: chronicles ccg: on row 5 : 1997 | 25 words or less | transpose | strategy & conflict: field command | mole in the hole | take 6 | priceless | last chance | deluxe lights out | bethump'd with words | adventure & role-playing: dragonl | trivia: origins row 6 : 1998 | quoridor | balanx | strategy & conflict: princess ryan' | take it easy | get the goods | quandary | wise and otherwise | lost in a jigsaw | a to z | None | trivia: director's cut ccg row 7 : 1999 | fossil | gipf | conflict: atlantic storm | montgolfiere | bohnanza | el grande | say when!! | stormy seas | alpha blitz | None | trivia: where in time is carmen s row 8 : 2000 | torres | octi | memory: mamma mia | moonshot | buried treasure | tikal | apples to apples | ricochet robot | double quick! | None | trivia: bioviva ccg: row 9 : 2001 | aladdin's dragons | zertz | the princes of florence | cafe international | hellrail | web of power | democrazy | lunar lockout | None | paths of glory | two-player card: caesar row 10 : 2002 | evo | morisi | java | africa | babel | lord of the rings | hilarium | flip-it! | my word! | drive on paris | manual dexterity: space game row 11 : 2004 | new england | clans | wildlife | i'm the boss! | queen's necklace | zoosim | party/trivia: dibs | river crossing | crossword pyramids | hammer of the scots | two-player card: balloon cup row 12 : 2005 | buyword | yinsh | tahuantinsuy | vanished planet | victory & honor | alexandros | party/trivia: cranium ho | None | None | memoir '44 | None ] Execute this SQL based on the above table: select count ( distinct year )
12
[ header: date | number | type | captain | casualties | sunk by row 1 : 4-may-43 | u-209 | viic | heinrich brodda | 46 | catalina flying-boat of no. 5 row 2 : 5-may-43 | u-638 | viic | oskar staudinger | 44 | hms sunflower row 3 : 5-may-43 | u-531 | ixc/40 | herbert neckel | 54 | hms vidette row 4 : 6-may-43 | u-192 | ixc/40 | werner happe | 55 | hms loosestrife row 5 : 6-may-43 | u-125 | ixc | ulrich folkers | 54 | hms oribi, hm row 6 : 6-may-43 | u-630 | viic | werner winkler | 47 | hms vidette row 7 : 6-may-43 | u-438 | viic | heinrich hensohn | 48 | hms pelican ] Execute this SQL based on the above table: select abs ( ( select count ( * ) where number = 'u-438' ) - ( select count ( * ) where number = 'u-531' ) )
0
[ header: week | room | winning couple | 2nd couple | 3rd couple | chumps row 1 : 1 | guest bedroom 1 | alisa and lysandra | kyal and kara/brad | chantelle and steve | None row 2 : 2 | downstairs bathrooms, laundry & terrace | brad and dale | alisa and lysandra | chantelle and steve | kyal and kara row 3 : 3 | guest bedroom 2 | kyal and kara | chantalle and steve | alisa and lysandra | brad and dale row 4 : 4 | upstairs bathroom | kyal and kara | brad and dale | chantelle and steve | alisa and lysandra row 5 : 5 | kitchen | alisa and lysandra | kyal and kara | brad and dale | chantelle and steve row 6 : 6 | living room and dining room | chantelle and steve | alisa and lysandra | brad and dale / kyal | None row 7 : 7 | master bedroom and ensuite | brad and dale | chantelle and steve | alisa and lysandra | kyal and kara row 8 : 8 | rooftop/outside terrace | kyal and kara | brad and dale | alisa and lysandra | chantelle and steve ] Execute this SQL based on the above table: select winning couple order by week desc limit 1
kyal and kara
[ header: pos. | driver | co-driver | car | time | difference | points row 1 : 1 | raffaele pinto | arnaldo bernacchini | fiat abarth 124 rallye | 6:26:15 | 0 | 20 row 2 : 2 | alcide paganelli | ninni russo | fiat abarth 124 rallye | 6:30:12 | 3.57 | None row 3 : 3 | markku alen | ilkka kivimaki | fiat abarth 124 rallye | 6:37:17 | 11.02 | None row 4 : 4 | ove andersson | arne hertz | toyota corolla | 6:40:54 | 14.39 | 10 row 5 : 5 | harry kallstrom | claes billstam | datsun 260z | 6:54:27 | 28.12 | 8 row 6 : 6 | bob neyret | yveline vanoni | alpine-renault a110 1800 | 7:04:18 | 38.03 | 6 row 7 : 7 | georg fischer | harald gottlieb | bmw 2002 | 7:05:02 | 38.47 | 4 row 8 : 8 | francisco romaozinho | jose bernardo | citroen gs | 7:17:04 | 50.49 | 3 row 9 : 9 | chris sclater | neil wilson | ford escort rs1 | 7:26:59 | 1:00.44 | 2 row 10 : 10 | antonio borges | miguel sottomayor | fiat 124 sport spyder | 7:27:55 | 1:01.40 | None ] Execute this SQL based on the above table: select points order by pos. limit 1
20.0
[ header: city/municipality | no. of barangays | area (km2) | population (2010 census) | pop. density (per km2) row 1 : angono | 10 | 26.22 | 102,407 | 3,905.68 row 2 : antipolo | 16 | 306.10 | 677,741 | 2,214.12 row 3 : baras | 10 | 84.93 | 32,609 | 383.95 row 4 : binangonan | 40 | 66.34 | 249,872 | 3,766.54 row 5 : cainta | 7 | 42.99 | 311,845 | 7,253.90 row 6 : cardona | 18 | 28.56 | 47,414 | 1,660.15 row 7 : jalajala | 11 | 44.12 | 30,074 | 681.64 row 8 : morong | 8 | 37.58 | 52,194 | 1,388.88 row 9 : pililla | 9 | 69.95 | 59,527 | 850.99 row 10 : rodriguez | 11 | 312.70 | 280,904 | 898.32 row 11 : san mateo | 15 | 55.09 | 205,255 | 3,725.81 row 12 : tanay | 19 | 200.00 | 98,879 | 494.3 row 13 : taytay | 5 | 38.80 | 288,956 | 7,447.32 row 14 : teresa | 9 | 18.61 | 47,163 | 2,534.28 ] Execute this SQL based on the above table: select count ( city/municipality ) where no. of barangays >= 1982
0
[ header: season | division | w-l | finish | home | road | gf | ga | coach | playoffs | avg attendance row 1 : 2006 | western | 1-15 | 6th | 0-8 | 1-7 | 150 | 202 | paul day | missed playoffs | 10367 row 2 : 2007 | western | 6-10 | 5th | 4-4 | 2-6 | 160 | 189 | paul day | missed playoffs | 10815 row 3 : 2008 | western | 4-12 | 5th | 3-5 | 1-7 | 141 | 197 | paul day (0-5) bob ham | missed playoffs | 8820 row 4 : 2009 | western | 5-11 | 6th | 4-4 | 1-7 | 159 | 200 | bob hamley | missed playoffs | 8347 row 5 : 2010 | western | 10-6 | 3rd | 5-3 | 5-3 | 186 | 201 | derek keenan | lost in western final | 7558 row 6 : 2011 | western | 5-11 | 5th | 4-4 | 1-7 | 175 | 204 | derek keenan | missed playoffs | 7151 row 7 : 2012 | western | 6-10 | 4th | 4-4 | 2-6 | 167 | 175 | derek keenan | lost in final | 7050 row 8 : 2013 | western | 9-7 | 3rd | 2-6 | 7-1 | 203 | 170 | derek keenan | lost in western semi-final | 6714 row 9 : total | 8 seasons | 46-82 | None | 26-38 | 20-44 | 1341 | 1538 | None | None | 8353 row 10 : playoff totals | None | 3-3 | None | 0-0 | 3-3 | 73 | 54 | None | None | None ] Execute this SQL based on the above table: select count ( * ) where road = '2-6'
2
[ header: year | english title | chinese title | director | role row 1 : 1933 | twenty-four hours in shanghai | 上海二十四小时 | shen xiling | None row 2 : 1937 | street angel | 马路天使 | yuan muzhi | xiao chen row 3 : 1937 | crossroads | 十字街头 | shen xiling | zhao row 4 : 1947 | far away love | 遙遠的愛 | chen liting | xiao yuanxi row 5 : 1947 | rhapsody of happiness | 幸福狂想曲 | chen liting | None row 6 : 1949 | crows and sparrows | 烏鴉与麻雀 | zheng junli | little broadcast row 7 : 1949 | women side by side | 丽人行 | chen liting | zhang yuliang row 8 : 1950 | the life of wu xun | 武训传 | sun yu | wu xun row 9 : 1951 | the married couple | 我们夫妇之间 | zheng junli | None row 10 : 1956 | li shizhen | 李时珍 | shen fu | li shizhen row 11 : 1958 | lin zexu | 林则徐 | zheng junli | lin zexu row 12 : 1959 | nie er | 聂耳 | zheng junli | nie er ] Execute this SQL based on the above table: select year order by year desc limit 1
1959
[ header: # | secretary of state | prime minister | tenure row 1 : 1 | hector louis langevin | macdonald | july 1, 1867 - dec row 2 : 4 | richard william scott | mackenzie | january 9, 1874 - row 3 : 6 | john o'connor | macdonald | november 8, 1880 - may 19, row 4 : 9 | james colebrooke patterson | abbott | january 25, 1892 - row 5 : None | joseph alderic ouimet | bowell | december 21, 1895 - jan row 6 : 13 | sir charles tupper | bowell | january 15, 1896 - row 7 : 15 | charles murphy | laurier | october 9, 1908 - row 8 : 17 | louis coderre | borden | october 29, 1912 - row 9 : 18 | pierre edouard blondin | borden | october 6, 1915 - row 10 : 19 | esioff leon patenau | borden | january 8, 1917 - jun row 11 : None | albert sevigny (acting) | borden | june 13, 1917 - august 24, 1917 row 12 : 22 | arthur lewis sifton | borden | december 31, 1919 - july row 13 : 22 | arthur lewis sifton | meighen | july 10, 1920 - janu row 14 : 26 | walter edward foster | king | september 26, 1925 - november 12, row 15 : 27 | guillaume andre fauteux | meighen | august 23, 1926 - september 25, 19 row 16 : 28 | fernand rinfret | king | september 25, 1926 - august 7, 1930 row 17 : 35 | jack pickersgill | st. laurent | june 11, 1953 - june row 18 : 38 | henri courtemanche | diefenbaker | may 12, 1958 - june 19, 1960 row 19 : None | leon balcer (acting minister) | diefenbaker | june 21, 1960 - oc row 20 : 39 | noel dorion | diefenbaker | october 11, 1960 - row 21 : 43 | jean marchand | trudeau | april 20, 1968 - ju row 22 : 44 | gerard pelletier | trudeau | july 5, 1968 - november row 23 : 45 | james hugh faulk | trudeau | november 27, 1972 - september 13, row 24 : 46 | john roberts | trudeau | september 14, 1976 - june 3, row 25 : 47 | david macdonald | clark | june 4, 1979 - march 2, 1980 row 26 : 49 | gerald regan | trudeau | september 22, 1981 - octo row 27 : 50 | serge joyal | turner | june 30, 1984 - september 16, row 28 : 54 | lucien bouchard | mulroney | march 31, 1988 - january 29, row 29 : 55 | gerry weiner | mulroney | january 30, 1989 - a row 30 : 57 | monique landry | mulroney | january 4, 1993 - jun ] Execute this SQL based on the above table: select prime minister where # = 6 union select prime minister where # = 6
macdonald
[ header: year | competition | venue | position | notes row 1 : 1982 | european championships | athens, greece | 1st | 2.30 m row 2 : 1983 | world championships | helsinki, finland | 4th | 2.29 m row 3 : 1984 | olympic games | los angeles, united states | 1st | 2.35 m row 4 : 1986 | european championships | stuttgart, west germany | 4th | 2.29 m row 5 : 1987 | world championships | rome, italy | 4th | 2.35 m row 6 : 1988 | olympic games | seoul, south korea | 6th | 2.34 m row 7 : 1989 | world indoor championships | budapest, hungary | 2nd | 2.35 m row 8 : 1990 | european championships | split, yugoslavia | 6th | 2.31 m row 9 : 1992 | olympic games | barcelona, spain | None | 2.15 m ] Execute this SQL based on the above table: select venue where id = ( select id where venue = 'seoul, south korea' ) - 1
rome, italy
[ header: no | test no | 1st team | 2nd team | winner | margin | toss | bat | date row 1 : 1 | 745 | india | west indies | west indies | 267 runs | won | 2nd | 22-11-1974 row 2 : 2 | 794 | india | england | india | 140 runs | won | 1st | 28-1-1977 row 3 : 3 | 837 | india | west indies | draw | None | lost | 2nd | 15-12-1978 row 4 : 4 | 856 | india | australia | draw | None | lost | 2nd | 19-9-1979 row 5 : 5 | 861 | india | pakistan | draw | None | lost | 2nd | 21-11-1979 row 6 : 6 | 912 | india | england | draw | None | lost | 2nd | 9-12-1981 row 7 : 7 | 961 | india | pakistan | draw | None | won | 1st | 14-9-1983 row 8 : 8 | 1073 | india | pakistan | pakistan | 16 runs | lost | 2nd | 13-3-1987 row 9 : 9 | 1107 | india | new zealand | india | 172 runs | won | 1st | 12-11-1988 row 10 : 10 | 1245 | india | sri lanka | india | inns & 95 runs | won | 1st | 26-1-1994 row 11 : 11 | 1308 | india | new zealand | india | 8 wickets | lost | 2nd | 18-10-1995 row 12 : 12 | 1413 | india | australia | australia | 8 wickets | won | 1st | 25-3-1998 row 13 : 13 | 1486 | india | south africa | south africa | inns & 71 runs | won | 1st | 2-3-2000 row 14 : 14 | 1578 | india | england | draw | None | lost | 2nd | 19-12-2001 row 15 : 15 | 1713 | india | australia | australia | 217 runs | lost | 2nd | 6-10-2004 row 16 : 16 | 1743 | india | pakistan | pakistan | 168 runs | lost | 2nd | 24-3-2005 row 17 : 17 | 1852 | india | pakistan | draw | None | won | 1st | 8-12-2007 row 18 : 18 | 1887 | india | australia | draw | None | lost | 2nd | 9-10-2008 row 19 : 19 | 1973 | india | australia | india | 7 wickets | lost | 2nd | 9-10-2010 row 20 : 20 | 2055 | india | new zealand | india | 5 wickets | lost | 2nd | 25-5-2008 ] Execute this SQL based on the above table: select toss group by toss order by count ( 1st team ) desc limit 1
lost
[ header: place | player | country | score | to par row 1 : 1 | tiger woods | united states | 67-66-67=200 | -16 row 2 : t2 | thomas bjørn | denmark | 69-69-68=206 | -10 row 3 : t2 | david duval | united states | 70-70-66=206 | -10 row 4 : t4 | darren clarke | northern ireland | 70-69-68=207 | -9 row 5 : t4 | loren roberts | united states | 69-68-70=207 | -9 row 6 : t4 | david toms | united states | 69-67-71=207 | -9 row 7 : t7 | ernie els | south africa | 66-72-70=208 | -8 row 8 : t7 | steve flesch | united states | 67-70-71=208 | -8 row 9 : t7 | tom lehman | united states | 68-70-70=208 | -8 row 10 : t7 | dennis paulson | united states | 68-71-70=208 | -8 ] Execute this SQL based on the above table: select abs ( ( select to par where to par = -9 ) - ( select to par where to par = -8 ) )
1
[ header: title | character | broadcaster | episodes | date row 1 : rev | pip | bbc two | 1 | 2010 row 2 : the i.t. crowd | nikki | channel 4 | 1 | 2010 row 3 : eastenders: e20 | ava | bbc one | 15 | 2011 row 4 : fresh meat | caz | channel 4 | 1 | 2011 row 5 : phoneshop | daisy | channel 4 | 1 | 2011 row 6 : holby city | heidi hall | bbc one | 1 | 2012 row 7 : plebs | cynthia | itv2 | 6 | 2013 row 8 : blandings | valerie fanshawe | bbc | 2.5 | 2014 row 9 : death in paradise | helen walker | bbc | 3.4 | 2014 ] Execute this SQL based on the above table: select broadcaster where broadcaster = 'bbc' order by episodes limit 1
bbc
[ header: # | name | height | weight (lbs.) | position | class | hometown | previous team(s) row 1 : 1 | mychal ladd | 6'5" | 190 | g | so | seattle, wa, u.s | rainier beach hs row 2 : 2 | jonathan wills | 6'6" | 180 | g | jr | carson, ca, u.s | mayfair hs new mexico row 3 : 3 | taylor kelly | 6'2" | 220 | g | fr | bakersfield, ca, u. | centennial hs row 4 : 11 | jerry brown, jr | 6'7" | 195 | g f | fr | richmond, ca, u.s | sacred heart row 5 : 12 | steven shepp | 6'2" | 170 | g | so | woodbridge, va, u.s | c.d. hylton row 6 : 15 | nedeljko golubovic | 6'8" | 245 | f | jr | pljevlja, serbia, ser | findlay prep (las vegas, row 7 : 20 | garrett johnson | 6'5" | 190 | g f | fr | pomona, ca, u.s | diamond ranch hs row 8 : 22 | greg smith | 6'10" | 250 | c | fr | fresno, ca, u | westwind academy row 9 : 24 | paul george | 6'8" | 210 | g f | so | palmdale, ca, u.s | pete knight hs row 10 : 25 | justin johnson | 6'6" | 205 | f | fr | phoenix, az, | brophy college prep row 11 : 30 | sylvester seay | 6'10" | 235 | f | sr | san bernardino, | winchendon school arizona state row 12 : 32 | brandon sperling | 6'4" | 180 | g | so | fresno, ca, u | buchanan hs row 13 : 42 | brandon webster | 6'10" | 275 | c | jr | bryan, tx, u | bryan hs ] Execute this SQL based on the above table: select max ( height ) - min ( height )
0
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | chinese taipei | 2 | 0 | 0 | 2 row 2 : 1 | russia (rus) | 2 | 0 | 0 | 2 row 3 : 3 | great britain (gbr) | 1 | 0 | 0 | 1 row 4 : 4 | slovakia (svk) | 0 | 2 | 2 | 4 row 5 : 5 | china (chn) | 0 | 2 | 1 | 3 row 6 : 6 | mexico (mex) | 0 | 1 | 1 | 2 row 7 : 7 | germany (ger) | 0 | 0 | 2 | 2 row 8 : 8 | south korea (kor) | 0 | 0 | 1 | 1 row 9 : 8 | switzerland (sui) | 0 | 0 | 1 | 1 row 10 : 8 | thailand (tha) | 0 | 0 | 1 | 1 row 11 : 8 | uzbekistan (uzb | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select nation where nation != 'south korea (kor)' and rank = ( select rank where nation = 'south korea (kor)' )
switzerland (sui), thailand (tha), uzbekistan (uzb)
[ header: year | author | illustrator | title | publisher row 1 : 1982 | angela carter (ed. and translator | michael foreman | sleeping beauty and other favourite fairy tales | v. gollancz row 2 : 1983 | anthony browne | browne | gorilla | julia macrae row 3 : 1984 | john burningham | burningham | granpa | j. cape row 4 : 1985 | ted hughes (1968) | andrew davidson | the iron man | faber row 5 : 1986 | allan ahlberg | janet ahlberg | the jolly postman | heinemann row 6 : 1987 | charles causley | charles keeping | jack the treacle eater | macmillan row 7 : 1988 | lewis carroll (1865) | anthony browne | alice's adventures in wonderland | julia macrae row 8 : 1989 | martin waddell | barbara firth | the park in the dark | walker row 9 : 1990 | quentin blake | blake | all join in | j. cape row 10 : 1991 | colin mcnaughton | mcnaughton | have you seen who's just moved in next | walker row 11 : 1992 | raymond briggs | briggs | the man | julia macrae row 12 : 1993 | karen wallace | mike bostock | think of an eel | walker row 13 : 1994 | trish cooke | helen oxenbury | so much | walker row 14 : 1995 | kathy henderson | patrick benson | the little boat | walker row 15 : 1996 | babette cole | cole | drop dead | j. cape row 16 : 1997 | william mayne | jonathan heale | lady muck | heinemann row 17 : 1998 | anthony browne | browne | voices in the park | doubleday row 18 : 1999 | lewis carroll (1865) | helen oxenbury | alice's adventures in wonderland | walker ] Execute this SQL based on the above table: select illustrator where id = ( select id where illustrator = 'charles keeping' ) - 1
janet ahlberg
[ header: rank | name | nationality | time | notes row 1 : None | alberto garcia | spain | 7:43.89 | cr row 2 : None | antonio david jime | spain | 7:46.49 | pb row 3 : None | jesus espana | spain | 7:48.08 | pb row 4 : None | john mayock | great britain | 7:48.08 | None row 5 : 5 | michael buchleitner | austria | 7:54.39 | sb row 6 : 6 | mohammed mourhit | belgium | 7:59.79 | None row 7 : 7 | sergey ivanov | russia | 8:02.98 | None row 8 : 8 | mindaugas pukstas | lithuania | 8:03.21 | pb row 9 : 9 | irba lakhal | france | 8:03.38 | None row 10 : 10 | joakim johansson | denmark | 8:06.47 | None row 11 : 11 | harald steindorfer | austria | 8:09.21 | None row 12 : 12 | ferdinando vicari | italy | 8:17.46 | None row 13 : 13 | martin steinbauer | austria | 8:22.06 | None row 14 : 14 | christos papapetrou | cyprus | 8:30.59 | None ] Execute this SQL based on the above table: select max ( time ) - min ( time )
1
[ header: year | album | territory | label | notes row 1 : 1989 | good deeds and dirty rags | uk | capitol records | debut album, reached no. 26 on uk row 2 : 1989 | fish heads and tails | uk | capitol records | mid-price live and rarities compilation row 3 : 1991 | hammer and tongs | uk | radioactive records/mca | second studio album; reached no. 61 on row 4 : 1991 | goodbye mr. mackenzie | international | radioactive records/mca | compilation of tracks from both albums, remixed row 5 : 1993 | live on the day of storms | uk | blokshok records | live album row 6 : 1994 | five | uk | blokshok records | third studio album row 7 : 1995 | jezebel | uk | blokshok records | rarities compilation row 8 : 1996 | the glory hole | uk | blokshok records | fourth and final studio album: manson, row 9 : 2005 | the river sessions | uk | river records | double live album row 10 : 2009 | the rattler: live '91' | uk | md music company | live album (digital release) ] Execute this SQL based on the above table: select count ( album )
10
[ header: place | position | number | name | nasl | playoffs | cfu club championship | concacaf champions league | total row 1 : 1 | fw | 11 | nicholas addlery | 9 | 0 | 0 | 1 | 10 row 2 : 2 | fw | 9 | jonathan fana | 4 | 0 | 4 | 0 | 8 row 3 : 3 | fw | 7 | david foley | 6 | 1 | 0 | 0 | 7 row 4 : 3 | fw | 24 | hector ramos | 3 | 0 | 2 | 2 | 7 row 5 : 5 | df | 33 | jay needham | 3 | 0 | 0 | 0 | 3 row 6 : 5 | fw | 22 | gregory richardson | 1 | 0 | 1 | 1 | 3 row 7 : 7 | mf | 20 | josh hansen | 0 | 0 | 2 | 0 | 2 row 8 : 7 | None | None | own goal | 0 | 0 | 2 | 0 | 2 row 9 : 9 | df | 3 | richard martinez | 1 | 0 | 0 | 0 | 1 row 10 : 9 | df | 16 | anthony vazquez | 1 | 0 | 0 | 0 | 1 row 11 : 9 | df | 5 | noah delgado | 1 | 0 | 0 | 0 | 1 row 12 : 9 | mf | 14 | jarad van schaik | 1 | 0 | 0 | 0 | 1 row 13 : 9 | mf | 17 | tyler wilson | 1 | 0 | 0 | 0 | 1 row 14 : 9 | mf | 24 | justin fojo | 1 | 0 | 0 | 0 | 1 row 15 : None | None | None | totals | 32 | 1 | 11 | 4 | 48 ] Execute this SQL based on the above table: select place where name = 'gregory richardson'
5
[ header: month | day | visitor | score | home | score row 1 : dec | 28 | spokane | 5 | portland | 4 row 2 : jan | 1 | portland | 7 | seattle | 4 row 3 : jan | 4 | vancouver | 3 | portland | 5 row 4 : jan | 8 | seattle | 1 | spokane | 5 row 5 : jan | 11 | spokane | 1 | seattle | 3 row 6 : jan | 14 | portland | 4 | vancouver | 5 row 7 : jan | 16 | vancouver | 3 | seattle | 12 row 8 : jan | 18 | portland | 3 | spokane | 5 row 9 : jan | 22 | vancouver | 8 | spokane | 5 row 10 : jan | 25 | spokane | 5 | portland | 4 row 11 : jan | 28 | seattle | 2 | vancouver | 3 row 12 : jan | 30 | spokane | 2 | seattle | 4 row 13 : feb | 4 | seattle | 5 | vancouver | 6 (10:45 ot) row 14 : feb | 6 | portland | 3 | seattle | 9 row 15 : feb | 8 | vancouver | 4 | portland | 8 row 16 : feb | 11 | portland | 3 | vancouver | 6 row 17 : feb | 13 | vancouver | 1 | seattle | 3 row 18 : feb | 15 | seattle | 2 | portland | 4 row 19 : feb | 18 | seattle | 1 | vancouver | 8 row 20 : feb | 20 | portland | 2 | seattle | 6 row 21 : feb | 22 | vancouver | 1 | portland | 2 (20:20 ot) row 22 : feb | 25 | portland | 4 | vancouver | 9 row 23 : feb | 27 | vancouver | 1 | seattle | 2 (22:20 ot) row 24 : march | 1 | seattle | 3 | portland | 1 row 25 : march | 4 | portland | 4 | vancouver | 8 row 26 : march | 6 | vancouver | 3 | seattle | 4 (2:58 ot) row 27 : march | 8 | seattle | 6 | portland | 9 ] Execute this SQL based on the above table: select day where visitor = 'portland'
1, 14, 18, 6, 11, 20, 25, 4
[ header: year | winner | county | opponent | county row 1 : 2013 | rower-inistioge | kilkenny | buffers alley | wexford row 2 : 2012 | clara | kilkenny | oylegate/glenbrien | wexford row 3 : 2011 | mount leinster rangers | carlow | celbridge | kildare row 4 : 2010 | dicksboro | kilkenny | celbridge | kildare row 5 : 2009 | st. lachtains | kilkenny | mount leinster rangers | carlow row 6 : 2008 | kilmessan | meath | erin's own | kilkenny row 7 : 2007 | clonkill | westmeath | ferns st. aiden' | wexford row 8 : 2006 | ardclough | kildare | raharney | westmeath row 9 : 2005 | dicksboro | kilkenny | marshalstown | wexford row 10 : 2004 | carrickshock | kilkenny | st. patrick's | wexford ] Execute this SQL based on the above table: select max ( year ) where opponent = 'buffers alley'
2013
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | united states (usa) | 25 | 16 | 7 | 48 row 2 : 2 | canada (can) | 5 | 4 | 7 | 16 row 3 : 3 | jamaica (jam) | 4 | 3 | 4 | 11 row 4 : 4 | cuba (cub) | 3 | 8 | 4 | 15 row 5 : 5 | mexico (mex) | 0 | 3 | 3 | 6 row 6 : 6 | brazil (bra) | 0 | 2 | 1 | 3 row 7 : 7 | puerto rico (pur) | 0 | 1 | 1 | 2 row 8 : 8 | colombia (col) | 0 | 0 | 3 | 3 row 9 : 9 | peru (per) | 0 | 0 | 2 | 2 row 10 : 9 | trinidad and tobago (tri) | 0 | 0 | 2 | 2 row 11 : 11 | chile (chi) | 0 | 0 | 1 | 1 row 12 : 11 | uruguay (uru) | 0 | 0 | 1 | 1 row 13 : 11 | venezuela (ven) | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select abs ( ( select gold where nation = 'cuba (cub)' ) - ( select gold where nation = 'brazil (bra)' ) )
3.0
[ header: rank | name | image | height ft (m) | floors | year | notes row 1 : 1 | key tower | | 947 (289) | 57 | 1991 | 104th-tallest building in the row 2 : 3 | 200 public square | | 658 (201) | 45 | 1985 | also known as the bp building tallest row 3 : 4 | tower at erieview | | 529 (161) | 40 | 1964 | tallest building constructed in cleveland in row 4 : 5 | one cleveland center | | 450 (137) | 31 | 1983 | None row 5 : 6 | fifth third center | | 446 (136) | 27 | 1992 | None row 6 : 7 | federal court house tower | | 430 (131) | 23 | 2002 | tallest building constructed in the city in the 2000 row 7 : 8 | justice center complex | | 420 (128) | 26 | 1977 | tallest building constructed in the city in the 1970 row 8 : 9 | anthony j. celebrezze | | 419 (128) | 31 | 1967 | None row 9 : 10 | pnc center | | 410 (125) | 35 | 1980 | originally known as the national city center; building was row 10 : 12 | at&t huron road building | | 365 (111) | 24 | 1927 | commonly known as ohio bell build row 11 : 13 | rhodes tower | | 363 (111) | 20 | 1971 | originally known as the university tower row 12 : 14 | eaton center | | 356 (109) | 28 | 1983 | None row 13 : 15 | ernst & young tower | | 330 (101) | 21 | 2013 | phase i of the flats east bank row 14 : 16 | marriott at key center | | 320 (98) | 28 | 1991 | tallest all-hotel building in the city row 15 : 17 | mcdonald investment center | | 308 (94) | 23 | 1968 | also known as key center formerly known as the row 16 : 18 | 55 public square | | 300 (91) | 22 | 1958 | tallest building constructed in the city the 1950s row 17 : 19 | huntington bank building | | 289 (88) | 21 | 1924 | None row 18 : 20 | north point tower | | 285 (87) | 20 | 1990 | None row 19 : 21 | diamond building | | 282 (86) | 23 | 1972 | None row 20 : 21 | standard building | | 282 (86) | 21 | 1925 | None row 21 : 23 | 1717 east ninth building | | 275 (84) | 21 | 1959 | also known as the east ohio row 22 : 24 | keith building | | 272 (83) | 21 | 1922 | None row 23 : 25 | east tower | | 266 (81) | 25 | 1973 | tallest all-residential building in the row 24 : 25 | embassy suites tower | | 266 (81) | 26 | 1969 | also known as embassy suites at reserve square row 25 : 27 | superior building | | 265 (81) | 22 | 1922 | None row 26 : 28 | fenn tower | | 265 (81) | 21 | 1930 | None row 27 : 29 | landmark office towers | | 260 (79) | 22 | 1930 | None row 28 : 30 | penton media building | | 253 (77) | 21 | 1972 | None ] Execute this SQL based on the above table: select year where name = 'ernst & young tower'
2013
[ header: rank | name | nation(s) | born | ascended | years reigned row 1 : 1 | bhumibol adulya | thailand | 5 december 1927 | 9 june 1946 | 68 years, 3 days row 2 : 7 | qaboos bin said al said | oman | 18 november 1940 | 23 july 1970 | 43 years, 324 days row 3 : 10 | carl xvi gustaf | sweden | 30 april 1946 | 15 september 1973 | 40 years, 270 days row 4 : 16 | mswati iii | swaziland | 19 april 1968 | 25 april 1986 | 28 years, 48 days row 5 : 17 | akihito | japan | 23 december 1933 | 7 january 1989 | 25 years, 156 days row 6 : 19 | hans-adam ii | liechtenstein | 14 february 1945 | 13 november 1989 | 24 years, 211 days row 7 : 21 | harald v | norway | 21 february 1937 | 17 january 1991 | 23 years, 146 days row 8 : 24 | mizan zainal abidin | terengganu (malaysia | 22 january 1962 | 15 may 1998 | 16 years, 28 days row 9 : 25 | abdullah ii | jordan | 30 january 1962 | 7 february 1999 | 15 years, 125 days row 10 : 26 | hamad bin isa al k | bahrain | 28 january 1950 | 6 march 1999 | 15 years, 98 days row 11 : 30 | tuanku syed sir | perlis (malaysia) | 16 may 1943 | 17 april 2000 | 14 years, 56 days row 12 : 31 | henri | luxembourg | 16 april 1955 | 7 october 2000 | 13 years, 248 days row 13 : 33 | norodom sihamoni | cambodia | 14 may 1953 | 14 october 2004 | 9 years, 241 days row 14 : 37 | mohammed bin rashid al ma | dubai (united arab emir | 22 july 1949 | 4 january 2006 | 8 years, 159 days row 15 : 39 | tuheitia paki | maori king (new zealand | 21 april 1955 | 21 august 2006 | 7 years, 295 days row 16 : 41 | kapiliele faupala | wallis island (uvea) (wall | 1940 | 25 june 2008 | 5 years, 352 days row 17 : 45 | ibrahim ismail | johor (malaysia | 22 november 1958 | 22 january 2010 | 4 years, 141 days row 18 : 47 | muhammad v | kelantan (malaysia | 6 october 1969 | 13 september 2010 | 3 years, 272 days row 19 : 49 | tupou vi | tonga | 12 july 1959 | 18 march 2012 | 2 years, 86 days row 20 : 50 | francis | vatican city | 17 december 1936 | 13 march 2013 | 1 year, 91 days row 21 : 51 | willem-alexander | netherlands | 27 april 1967 | 30 april 2013 | 1 year, 43 days row 22 : 53 | philippe | belgium | 15 april 1960 | 21 july 2013 | 0 years, 326 days ] Execute this SQL based on the above table: select born order by years reigned asc limit 1
15 april 1960
[ header: date | opponent# | rank# | site | tv | result | attendance row 1 : september 18 | smu | #10 | oklahoma memorial stadium • norman | None | w 30-0 | 53545 row 2 : september 25 | at pittsburgh | #11 | pitt stadium • pittsburgh, pa | None | w 55-29 | 34916 row 3 : october 2 | #17 usc | #8 | oklahoma memorial stadium • norman | None | w 33-20 | 62351 row 4 : october 9 | vs. #3 texas | #8 | cotton bowl • dallas, t | cbs | w 48-27 | 72032 row 5 : october 16 | #6 colorado | #2 | oklahoma memorial stadium • norman | None | w 45-17 | 62501 row 6 : october 23 | at kansas state | #2 | ksu stadium • manhattan | None | w 75-28 | 37198 row 7 : october 30 | iowa state | #2 | oklahoma memorial stadium • norman | None | w 39-7 | 60477 row 8 : november 6 | at missouri | #2 | memorial stadium • columbia, mo | None | w 20-3 | 55098 row 9 : november 13 | kansas | #2 | oklahoma memorial stadium • norman | abc | w 56-10 | 54347 row 10 : november 25 | #1 nebraska | #2 | oklahoma memorial stadium • norman | abc | l 31-35 | 62884 row 11 : december 4 | at oklahoma state | #3 | lewis field • stillwater, ok | None | w 58-14 | 36571 row 12 : january 1 | vs. #5 auburn | #3 | tulane stadium • new orleans | abc | w 40-22 | 84031 ] Execute this SQL based on the above table: select rank# where attendance > ( select attendance where rank# = '#8' ) order by attendance limit 1
#2
[ header: season | skip | third | second | lead row 1 : 1996-97 | mirjam ott | marianne flotron manuela kormann | franziska von kanel | caroline balz row 2 : 2001-02 | luzia ebnother | mirjam ott | tanya frei | nadia rothlisberger la row 3 : 2004-05 | mirjam ott | binia beeli | brigitte schori | michele knobel row 4 : 2005-06 | mirjam ott | binia beeli | valeria spalty | michele moser row 5 : 2006-07 | mirjam ott | binia feltscher-beeli | valeria spalty | janine greiner row 6 : 2007-08 | mirjam ott | carmen schafer | valeria spalty | janine greiner row 7 : 2008-09 | mirjam ott | carmen schafer | valeria spalty | janine greiner row 8 : 2009-10 | mirjam ott | carmen schafer | carmen kung | janine greiner row 9 : 2010-11 | mirjam ott | carmen schafer | carmen kung | janine greiner row 10 : 2011-12 | mirjam ott | carmen schafer | carmen kung | janine greiner row 11 : 2012-13 | mirjam ott | carmen schafer | carmen kung | janine greiner row 12 : 2013-14 | mirjam ott | carmen schafer | carmen kung | janine greiner ] Execute this SQL based on the above table: select season order by id desc limit 1
2013-14
[ header: year | competition | venue | position | event | notes row 1 : 1999 | universiade | palma de mallorca, spain | 2nd | 20 km | 1:25:23 row 2 : 2001 | european race walking cup | dudince, slovakia | 12th | 20 km | 1:22:10 row 3 : 2001 | world championships | edmonton, canada | 16th | 20 km | 1:25:28 row 4 : 2001 | universiade | beijing, china | 1st | 20 km | 1:24:42 row 5 : 2002 | european championships | munich, germany | 9th | 20 km | 1:21:21 row 6 : 2002 | world race walking cup | turin, italy | 12th | 20 km | None row 7 : 2003 | world championships | paris, france | 11th | 20 km | 1:20:34 pb row 8 : 2005 | world championships | helsinki, finland | 14th | 20 km | None ] Execute this SQL based on the above table: select position - position where position = '16th'
0
[ header: year | derby winner | galaxy | draw | chivas row 1 : 2005 | galaxy | 5 | 0 | 0 row 2 : 2006 | galaxy | 2 | 1 | 1 row 3 : 2007 | chivas | 1 | 1 | 2 row 4 : 2008 | galaxy | 1 | 2 | 0 row 5 : 2009 | galaxy | 3 | 2 | 0 row 6 : 2010 | galaxy | 2 | 0 | 0 row 7 : 2011 | galaxy | 2 | 0 | 0 row 8 : 2012 | galaxy | 2 | 0 | 1 row 9 : 2013 | galaxy | 2 | 1 | 0 row 10 : total | None | 20 | 7 | 4 ] Execute this SQL based on the above table: select count ( * ) where derby winner = 'galaxy'
8
[ header: season | tier | division | place row 1 : 1928-84 | 5 | regional | None row 2 : 1984/85 | 4 | 3a | 6th row 3 : 1985/86 | 4 | 3a | 9th row 4 : 1986/87 | 4 | 3a | 11th row 5 : 1987/88 | 4 | 3a | 15th row 6 : 1988/89 | 4 | 3a | 4th row 7 : 1989/90 | 4 | 3a | 9th row 8 : 1990/91 | 4 | 3a | 9th row 9 : 1991/92 | 4 | 3a | 5th row 10 : 1992/93 | 4 | 3a | 17th row 11 : 1993/94 | 4 | 3a | 7th row 12 : 1994/95 | 4 | 3a | 4th row 13 : 1995/96 | 4 | 3a | 1st row 14 : 1996/97 | 3 | 2ab | 19th row 15 : 1997/98 | 4 | 3a | 2nd ] Execute this SQL based on the above table: select place where place in ( '7th' , '6th' ) order by tier desc limit 1
6th
[ header: version | length | album | remixed by | year | comment row 1 : album/single version | 4:30 | avant que l'ombre | None | 2005 | see the previous sections row 2 : radio edit | 3:55 | None | None | 2005 | the musical introduction is almost fully deleted, as well row 3 : instrumental | 4:32 | None | laurent boutonnat | 2005 | this instrumental version is identical to the album version, row 4 : the martyr's remix | 5:20 | None | y-front | 2005 | this version contains all the lyrics of the album version row 5 : mother f... dub mix | 7:50 | None | joachim garraud | 2005 | all the lyrics from the original version are deleted, row 6 : mother f... vocal club mix | 8:30 | None | joachim garraud | 2005 | devoted to the nightclubs, this techno row 7 : music video | 5:02 | music videos iv | None | 2005 | None row 8 : live version (recorded in 2006) | 6:42 (audio) 8:18 ( | avant que l'ombre... a | None | 2006 | this version is similar to the album one, with ] Execute this SQL based on the above table: select ( select count ( * ) where remixed by != 'None' and year = ( select year where remixed by = 'None' ) ) > 0
0
[ header: seat | state | majority | member | party row 1 : hinkler | qld | 0 | paul neville | npa row 2 : solomon | nt | 0.1 | dave tollner | lib row 3 : adelaide | sa | 0.2 | hon trish worth | lib row 4 : canning | wa | 0.4 | don randall | lib row 5 : dobell | nsw | 0.4 | ken ticehurst | lib row 6 : parramatta | nsw | 1.1 | ross cameron | lib row 7 : mcewen | vic | 1.2 | fran bailey | lib row 8 : paterson | nsw | 1.4 | bob baldwin | lib row 9 : herbert | qld | 1.6 | peter lindsay | lib row 10 : richmond | nsw | 1.6 | hon larry anthony | npa row 11 : deakin | vic | 1.7 | philip barresi | lib row 12 : eden-monaro | nsw | 1.7 | gary nairn | lib row 13 : hindmarsh | sa | 1.9 | hon christine gallus | lib ] Execute this SQL based on the above table: select state where state in ( 'nsw' , 'vic' ) order by majority desc limit 1
vic
[ header: year | venue | individual | sprint | pursuit | mass start | relay row 1 : 1993 | borovets, bulgaria | None | None | None | None | 18 row 2 : 1995 | antholz-anterselva, | 67 | None | None | None | 12 row 3 : 1996 | ruhpolding, germany | 20 | 48 | None | None | 11 row 4 : 1997 | brezno-osrbli | 33 | 64 | None | None | 12 row 5 : 1998 | pokljuka, slovenia | None | None | 11 | None | None row 6 : 1999 | kontiolahti, finland | 28 | 5 | 4 | 7 | 5 row 7 : 2000 | oslo, norway and la | 15 | 15 | 7 | 7 | 6 row 8 : 2001 | pokljuka, slovenia | 30 | 21 | 19 | 17 | 9 row 9 : 2003 | khanty-mansiy | 15 | 26 | 35 | None | 12 row 10 : 2004 | oberhof, germany | 42 | 30 | 43 | None | 13 ] Execute this SQL based on the above table: select venue group by venue order by count ( * ) desc limit 1
pokljuka, slovenia
[ header: date | opponents | h/a | result f-a | scorers | attendance row 1 : 27 august 1921 | everton | a | 0-5 | None | 30000 row 2 : 29 august 1921 | west bromwich albion | h | 2-3 | partridge, robinson | 20000 row 3 : 3 september 1921 | everton | h | 2-1 | harrison, spence | 25000 row 4 : 7 september 1921 | west bromwich albion | a | 0-0 | None | 15000 row 5 : 10 september 1921 | chelsea | a | 0-0 | None | 35000 row 6 : 17 september 1921 | chelsea | h | 0-0 | None | 28000 row 7 : 24 september 1921 | preston north end | a | 2-3 | lochhead, partridge | 25000 row 8 : 1 october 1921 | preston north end | h | 1-1 | spence | 30000 row 9 : 15 october 1921 | tottenham hotspur | h | 2-1 | sapsford, spence | 30000 row 10 : 22 october 1921 | manchester city | a | 1-4 | spence | 24000 row 11 : 5 november 1921 | middlesbrough | h | 3-5 | lochhead, sapsford, spence | 30000 row 12 : 12 november 1921 | middlesbrough | a | 0-2 | None | 18000 row 13 : 26 november 1921 | aston villa | h | 1-0 | henderson | 33000 row 14 : 3 december 1921 | bradford city | a | 1-2 | spence | 15000 row 15 : 10 december 1921 | bradford city | h | 1-1 | henderson | 9000 row 16 : 17 december 1921 | liverpool | a | 1-2 | sapsford | 40000 row 17 : 24 december 1921 | liverpool | h | 0-0 | None | 30000 row 18 : 26 december 1921 | burnley | h | 0-1 | None | 15000 row 19 : 2 january 1922 | sheffield united | a | 0-3 | None | 18000 row 20 : 14 january 1922 | newcastle united | h | 0-1 | None | 20000 row 21 : 21 january 1922 | sunderland | a | 1-2 | sapsford | 10000 row 22 : 28 january 1922 | sunderland | h | 3-1 | lochhead, sapsford, spence | 18000 row 23 : 11 february 1922 | huddersfield town | h | 1-1 | spence | 30000 row 24 : 27 february 1922 | huddersfield town | a | 1-1 | sapsford | 30000 row 25 : 11 march 1922 | arsenal | h | 1-0 | spence | 30000 row 26 : 18 march 1922 | blackburn rovers | h | 0-1 | None | 30000 row 27 : 5 april 1922 | arsenal | a | 1-3 | lochhead | 25000 row 28 : 8 april 1922 | bolton wanderers | a | 0-1 | None | 28000 row 29 : 15 april 1922 | oldham athletic | h | 0-3 | None | 30000 row 30 : 17 april 1922 | sheffield united | h | 3-2 | harrison, lochhead, partridge | 28000 row 31 : 22 april 1922 | oldham athletic | a | 1-1 | lochhead | 30000 row 32 : 29 april 1922 | cardiff city | h | 1-1 | partridge | 18000 ] Execute this SQL based on the above table: select date where id = ( select id where date = '15 april 1922' ) + 1
17 april 1922
[ header: rank | athlete | country | time | behind | points row 1 : 1 | sven kramer | netherlands | 01:53.98 | 0 | 37.993 row 2 : 2 | sverre lunde peder | norway | 1:54.87 | 0.89 | 38.29 row 3 : 3 | jan blokhuijsen | netherlands | 1:54.93 | 0.95 | 38.31 row 4 : 4 | denis yuskov | russia | 1:55.13 | 1.15 | 38.376 row 5 : 5 | koen verweij | netherlands | 1:55.42 | 1.44 | 38.473 row 6 : 6 | haralds silovs | latvia | 1:55.48 | 1.5 | 38.493 row 7 : 7 | zbigniew brodka | poland | 1:55.98 | 2 | 38.66 row 8 : 8 | bart swings | belgium | 1:56.08 | 2.1 | 38.693 row 9 : 9 | havard bøkko | norway | 1:56.35 | 2.37 | 38.783 row 10 : 10 | jan szymanski | poland | 1:56.55 | 2.57 | 38.85 row 11 : 11 | bram smallenbroek | austria | 1:57.44 | 3.46 | 39.146 row 12 : 12 | alexis contin | france | 1:57.58 | 3.6 | 39.193 row 13 : 13 | benjamin mace | france | 1:57.80 | 3.82 | 39.266 row 14 : 14 | konrad niedzwiedzki | poland | 1:57.92 | 3.94 | 39.306 row 15 : 15 | sergey gryaztso | russia | 1:58.73 | 4.75 | 39.576 row 16 : 16 | patrick beckert | germany | 1:59.08 | 5.1 | 39.693 row 17 : 17 | kristian reistad | norway | 1:59.19 | 5.21 | 39.73 row 18 : 18 | luca stefani | italy | 1:59.82 | 5.84 | 39.94 row 19 : 19 | marco cignini | italy | 1:59.97 | 5.99 | 39.99 row 20 : 20 | ferre spruyt | belgium | 2:00.00 | 6.02 | 40 row 21 : 21 | vitaly mikhailov | belarus | 2:00.75 | 6.77 | 40.52 row 22 : 22 | milan sablik | czech republic | 2:00.95 | 6.97 | 40.316 row 23 : 23 | ted jan bloemen | netherlands | 2:01.58 | 7.6 | 40.526 row 24 : 24 | moritz geisreiter | germany | 2:01.64 | 7.66 | 40.566 ] Execute this SQL based on the above table: select country where rank >= 15
russia, germany, norway, italy, italy, belgium, belarus, czech republic, netherlands, germany
[ header: religious group | population % | growth (1991-2001) | sex ratio (total) | literacy (%) | work participation (%) | sex ratio (rural) | sex ratio (urban) | sex ratio (child) row 1 : hindu | 80.46% | 20.3% | 931 | 65.1% | 40.4% | 944 | 894 | 925 row 2 : muslim | 13.43% | 29.3% | 936 | 59.1% | 31.3% | 953 | 907 | 950 row 3 : christian | 2.34% | 22.6% | 1009 | 80.3% | 39.7% | 1001 | 1026 | 964 row 4 : sikh | 1.87% | 18.2% | 893 | 69.4% | 37.7% | 895 | 886 | 786 row 5 : buddhist | 0.77% | 18.2% | 953 | 72.7% | 40.6% | 958 | 944 | 942 row 6 : animist, others | 0.72% | 103.1% | 992 | 47.0% | 48.4% | 995 | 966 | 976 row 7 : jain | 0.41% | 26.0% | 940 | 94.1% | 32.9% | 937 | 941 | 870 ] Execute this SQL based on the above table: select count ( distinct religious group ) where sex ratio (rural) >= 393 and sex ratio (urban) <= 1356
7
[ header: year | title | (english) | ifpi israel certification | label row 1 : 1992 | david d'or | "david d'or" | platinum | hed arzi row 2 : 1993 | begovah mishtaneh | "changing altitudes", or "changing height | double platinum | hed arzi row 3 : 1995 | david & shlomo | "david and salomon" | platinum | hed arzi row 4 : 1997 | david d'or & etti | "david d'or & | double platinum | hed arzi row 5 : 2001 | baneshama | "in the soul" | platinum | sisu row 6 : 2003 | david d'or vehaphil | "david d'eor | platinum | aviv row 7 : 2004 | le haamin | "to believe" | platinum | sisu row 8 : 2006 | kmo haruach | "like the wind" | gold | sisu row 9 : 2007 | ofa'a haia | "live concert" | platinum | hed arzi row 10 : 2007 | halelu-shirim shel | "halelu-songs of | None | hed arzi row 11 : 2008 | shirat rabim | "prayers", or "songs | gold | hed arzi row 12 : 2008 | 聽見愛的聲音 | "voice of love" | platinum | da jung jang ] Execute this SQL based on the above table: select year where year < 2007
1992, 1993, 1995, 1997, 2001, 2003, 2004, 2006
[ header: | | | | | row 1 : world record | snatch | akakios kakias | 188 kg | athens, greece | 27 november 1999 row 2 : world record | clean & jerk | szymon kołecki | 232 kg | sofia, bulgaria | 29 april 2000 row 3 : world record | total | akakios kakias | 412 kg | athens, greece | 27 november 1999 row 4 : asian record | snatch | kourosh bagheri ( | 187 kg | sydney, australia | 24 september 2000 row 5 : asian record | clean & jerk | ilya ilyin (kaz) | 226 kg | doha, qatar | 5 december 2006 row 6 : asian record | total | kourosh bagheri ( | 407 kg | antalya, turkey | 9 november 2001 row 7 : games record | snatch | bakhyt akhmetov | 185 kg | busan, south korea | 8 october 2002 row 8 : games record | clean & jerk | ilya ilyin (kaz) | 226 kg | doha, qatar | 5 december 2006 row 9 : games record | total | bakhyt akhmetov | 400 kg | busan, south korea | 8 october 2002 ] Execute this SQL based on the above table: select + order by ( + ) desc limit 1
0
[ header: name | location | opened | gender | security level(s) | capacity row 1 : northland region corrections facility | near kaikohe, northland | 2005 | male | minimum to high | 548 row 2 : auckland prison | paremoremo, auckland | 1968 | male | minimum to maximum | 681 row 3 : mount eden corrections facility | mount eden, auckland | 2011 | male | remand | 966 row 4 : auckland region women's correction | wiri, auckland | 2006 | female | minimum to maximum | 456 row 5 : spring hill corrections facility | hampton downs, waikato | 2007 | male | minimum to high | 1050 row 6 : waikeria prison | south of te awamutu, | 1911 | male | minimum to high | 750 row 7 : tongariro/rangipo | near turangi, waikato | 1922 | male | minimum to low-medium | 540 row 8 : whanganui prison | kaitoke, south of wang | 1978 | male | minimum to high | 538 row 9 : hawke's bay regional prison | south of hastings | 1989 | male | minimum to high | 666 row 10 : manawatu prison | linton, south of palmerston | 1979 | male | None | 290 row 11 : rimutaka prison | trentham, upper hutt | 1967 | male | minimum to high | 942 row 12 : arohata prison | tawa, wellington | 1944 | female | minimum to high | 88 row 13 : christchurch men's prison | near templeton, christchurch | 1915 | male | minimum to high | 926 row 14 : christchurch women's prison | near templeton, christchurch | 1974 | female | minimum to high | 138 row 15 : rolleston prison | near rolleston, canterbury | 1958 | male | minimum to low-medium | 260 row 16 : otago corrections facility | north of milton, otago | 2007 | male | minimum to high-medium | 485 row 17 : invercargill prison | invercargill | 1910 | male | minimum to low-medium | 180 ] Execute this SQL based on the above table: select capacity where capacity = 260
260.0
[ header: year | title | image | dimensions | collection | comments row 1 : 1942 | assassination of heydrich | view | 61.4 × 76.1 cm. (24.2 | the national archives, kew, richmond | subject: ss-general reinhard row 2 : 1944 | production of tanks (original may have been untitled | view | 51.3 × 61.5 cm. (20.2 | the national archives, kew, richmond | scene: workers manufacture churchill tanks on a row 3 : 1968 | express engines at tyseley, | view view | 75 × 100 cm. (29.5 × | None | scene: rolling stock-london, mid row 4 : 1972 | field marshall viscount montgomery of | view | 125 × 100 cm. (49. | defence academy of the united kingdom, shriven | subject: field marshal bernard law row 5 : 1971 | sir edward heath | view | 123 × 99 cm. (48. | balliol college, university of o | subject: sir edward heath row 6 : 1972 | self portrait | None | None | None | None row 7 : None | her majesty the queen with her dogs | see cuneo society website | None | None | subject: queen elizabeth row 8 : None | bentley vs the blue train | view see cuneo society website | None | None | scene: 1930 cannes to calais ] Execute this SQL based on the above table: select title where title in ( 'assassination of heydrich (c. 1942; originally may have been untitled), oil on canvas on board' , 'express engines at tyseley, oil on canvas' ) order by dimensions asc limit 1
assassination of heydrich (c. 1942; originally may have been untitled), oil on canvas on board
[ 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 division order by level asc limit 1
2ab
[ header: no | test no | 1st team | 2nd team | winner | margin | toss | bat | date row 1 : 1 | 745 | india | west indies | west indies | 267 runs | won | 2nd | 22-11-1974 row 2 : 2 | 794 | india | england | india | 140 runs | won | 1st | 28-1-1977 row 3 : 3 | 837 | india | west indies | draw | None | lost | 2nd | 15-12-1978 row 4 : 4 | 856 | india | australia | draw | None | lost | 2nd | 19-9-1979 row 5 : 5 | 861 | india | pakistan | draw | None | lost | 2nd | 21-11-1979 row 6 : 6 | 912 | india | england | draw | None | lost | 2nd | 9-12-1981 row 7 : 7 | 961 | india | pakistan | draw | None | won | 1st | 14-9-1983 row 8 : 8 | 1073 | india | pakistan | pakistan | 16 runs | lost | 2nd | 13-3-1987 row 9 : 9 | 1107 | india | new zealand | india | 172 runs | won | 1st | 12-11-1988 row 10 : 10 | 1245 | india | sri lanka | india | inns & 95 runs | won | 1st | 26-1-1994 row 11 : 11 | 1308 | india | new zealand | india | 8 wickets | lost | 2nd | 18-10-1995 row 12 : 12 | 1413 | india | australia | australia | 8 wickets | won | 1st | 25-3-1998 row 13 : 13 | 1486 | india | south africa | south africa | inns & 71 runs | won | 1st | 2-3-2000 row 14 : 14 | 1578 | india | england | draw | None | lost | 2nd | 19-12-2001 row 15 : 15 | 1713 | india | australia | australia | 217 runs | lost | 2nd | 6-10-2004 row 16 : 16 | 1743 | india | pakistan | pakistan | 168 runs | lost | 2nd | 24-3-2005 row 17 : 17 | 1852 | india | pakistan | draw | None | won | 1st | 8-12-2007 row 18 : 18 | 1887 | india | australia | draw | None | lost | 2nd | 9-10-2008 row 19 : 19 | 1973 | india | australia | india | 7 wickets | lost | 2nd | 9-10-2010 row 20 : 20 | 2055 | india | new zealand | india | 5 wickets | lost | 2nd | 25-5-2008 ] Execute this SQL based on the above table: select toss order by id desc limit 1
lost
[ 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 single where id = 1
"rock & roll holiday"
[ header: member | party | electorate | state | first elected row 1 : gordon anderson | alp | kingsford smith | nsw | 1949 row 2 : hon howard beale | liberal | parramatta | nsw | 1946 row 3 : alan bird | alp | batman | vic | 1949 row 4 : bill bourke | alp/alp (a-c) | fawkner | vic | 1949 row 5 : george bowden | country | gippsland | vic | 1943 row 6 : wilfred brimblecomb | country | maranoa | qld | 1951 row 7 : hon arthur calwell | alp | melbourne | vic | 1940 row 8 : dr donald cameron | liberal | oxley | qld | 1949 row 9 : dominic costa | alp | banks | nsw | 1949 row 10 : wilfred coutts | alp | griffith | qld | 1954 row 11 : john cramer | liberal | bennelong | nsw | 1949 row 12 : frank crean | alp | melbourne ports | vic | 1951 row 13 : charles davidson | country | dawson | qld | 1946 row 14 : frank davis | liberal | deakin | vic | 1949 row 15 : roger dean | liberal | robertson | nsw | 1949 row 16 : bill edmonds | alp | herbert | qld | 1946 row 17 : rt hon arthur fadd | country | mcpherson | qld | 1949 row 18 : laurie failes | country | lawson | nsw | 1949 row 19 : david fairbairn | liberal | farrer | nsw | 1949 row 20 : jim fraser | alp | australian capital territory | act | 1951 row 21 : gordon freeth | liberal | forrest | wa | 1949 row 22 : arthur greenup | alp | dalley | nsw | 1953 row 23 : len hamilton | country | canning | wa | 1946 row 24 : rt hon eric har | liberal | wentworth | nsw | 1931 row 25 : jim harrison | alp | blaxland | nsw | 1949 row 26 : hon william haworth | liberal | isaacs | vic | 1949 row 27 : leslie haylen | alp | parkes | nsw | 1943 row 28 : william jack | liberal | north sydney | nsw | 1949 row 29 : hon wilfrid kent | liberal | chisholm | vic | 1949 row 30 : stan keon | alp/alp (a-c) | yarra | vic | 1949 row 31 : william lawrence | liberal | wimmera | vic | 1949 row 32 : nelson lemmon | alp | st george | nsw | 1943-49, 1954 row 33 : aubrey luck | liberal | darwin | tas | 1951 row 34 : hon philip mcbride | liberal | wakefield | sa | 1931-37, 1937-43 (s row 35 : malcolm mccolm | liberal | bowman | qld | 1949 row 36 : don mcleod | liberal | wannon | alp | 1940-49, 1951 row 37 : william o'connor | alp | martin | nsw | 1946 row 38 : ted peters | alp | burke | vic | 1949 ] Execute this SQL based on the above table: select party where state < ( select state where party = 'alp' ) order by state desc limit 1
liberal
[ header: player | country | year(s) won | r1 | r2 | total | to par row 1 : don january | united states | 1967 | 76 | 74 | 150 | 6 row 2 : jack burke, jr | united states | 1956 | 75 | 75 | 150 | 6 row 3 : raymond floyd | united states | 1969 | 77 | 74 | 151 | 7 row 4 : jay hebert | united states | 1960 | 74 | 79 | 153 | 9 row 5 : dow finsterwald | united states | 1958 | 79 | 74 | 153 | 9 row 6 : doug ford | united states | 1955 | 77 | 80 | 154 | 14 row 7 : jerry barber | united states | 1961 | 78 | 80 | 158 | 14 row 8 : gene sarazen | united states | 1922, 1923, 1933 | 81 | 79 | 160 | 16 row 9 : walter burkemo | united states | 1953 | 83 | 79 | 162 | 18 row 10 : denny shute | united states | 1936, 1937 | 81 | 87 | 168 | 24 ] Execute this SQL based on the above table: select count ( player )
10
[ header: city | country | airport | begin | end row 1 : aberdeen | united kingdom | aberdeen airport | 1999 | None row 2 : alesund | norway | alesund airport, vigra | 1971 | None row 3 : alta | norway | alta airport | 1974 | None row 4 : batsfjord | norway | batsfjord airport | 1999 | None row 5 : bodø | norway | bodø airport | 1968 | None row 6 : brønnøysund | norway | brønnøysund airport, | 1968 | None row 7 : fagernes | norway | fagernes airport, leirin | 1999 | 2000 row 8 : florø | norway | florø airport | 1971 | None row 9 : førde | norway | førde airport, bringel | 1986 | None row 10 : førde | norway | førde airport, øy | 1971 | 1986 row 11 : glasgow | united kingdom | glasgow international airport | 1997 | 1999 row 12 : gothenburg | sweden | gothenburg-landvetter airport | 1996 | None row 13 : hammerfest | norway | hammerfest airport | 1974 | None row 14 : haugesund | norway | haugesund airport, karmø | 2010 | None row 15 : harstad/narvik | norway | harstad/narvik airport, | 1975 | None row 16 : kirkenes | norway | kirkenes airport, hø | 1974 | None row 17 : kristiansand | norway | kristiansand airport, kje | 1991 | None row 18 : lakselv | norway | lakselv airport, banak | 1974 | None row 19 : leknes | norway | leknes airport | 1972 | None row 20 : lerwick | united kingdom | sumburgh airport | 1995 | 2005 row 21 : london | united kingdom | london stansted airport | 1989 | 1992 row 22 : molde | norway | molde airport, arø | 1972 | None row 23 : murmansk | russia | murmansk airport | 1994 | 2000 row 24 : narvik | norway | narvik airport, framnes | 1975 | None row 25 : namsos | norway | namsos airport, hø | 1968 | None row 26 : newcastle | united kingdom | newcastle airport | 2006 | None row 27 : ørland | norway | ørland airport | 1971 | 1987 row 28 : ørsta/volda | norway | ørsta-volda airport, | 1971 | None row 29 : oslo | norway | oslo airport, forne | 1974 | 1998 row 30 : oslo | norway | oslo airport, gardermo | 1998 | None row 31 : rønne | denmark | bornholm airport | 2007 | None row 32 : sandefjord | norway | sandefjord airport, to | 1989 | None row 33 : sandnessjøen | norway | sandnessjøen airport, | 1968 | None row 34 : sogndal | norway | sogndal airport, haukas | 1971 | None row 35 : stavanger | norway | stavanger airport, sola | 1989 | None row 36 : svolvær | norway | svolvær airport, helle | 1972 | None row 37 : tromsø | norway | tromsø airport | 1974 | None row 38 : umea | sweden | umea airport | 1995 | 1995 ] Execute this SQL based on the above table: select count ( country ) where begin < 447
0
[ header: no. | train no: | origin | destination | train name row 1 : 1 | 56654 | mangalore central | kozhikode | passenger row 2 : 2 | 56324 | mangalore central | coimbatore city junction | fast passenger row 3 : 3 | 56656 | mangalore central | kannur | passenger row 4 : 4 | 56643/56645 | mangalore central | kabakaputtur | passenger row 5 : 5 | 56640 | mangalore central | verna | passenger row 6 : 6 | 56647 | mangalore central | subrahmanya road | passenger row 7 : 7 | 56661 | mangalore central | cheruvathur | passenger row 8 : 8 | 70106 | mangalore central | bhatkal | demu ] Execute this SQL based on the above table: select train name order by no. asc limit 1
passenger
[ header: week | date | tv time | opponent | result | game site | record | attendance | bye row 1 : 1 | september 7, 1998 | abc 7:00 pm mt | new england patriots | w 27-21 | mile high stadium (abc) | 1-0 | 74745 | 0 row 2 : 2 | september 13, 1998 | fox 2:00 pm mt | dallas cowboys | w 42-23 | mile high stadium (fox) | 2-0 | 75013 | 0 row 3 : 3 | september 20, 1998 | cbs 2:00 pm mt | at oakland raiders | w 34-17 | oakland-alameda county | 3-0 | 56578 | 0 row 4 : 4 | september 27, 1998 | cbs 11:00 am mt | at washington redskins | w 38-16 | fedex field (cbs) | 4-0 | 71880 | 0 row 5 : 5 | october 4, 1998 | fox 2:00 pm mt | philadelphia eagles | w 41-16 | mile high stadium (fox) | 5-0 | 73218 | 0 row 6 : 6 | october 11, 1998 | cbs 2:00 pm mt | at seattle seahawks | w 21-16 | kingdome (cbs) | 6-0 | 66258 | 0 row 7 : 7 | None | None | None | None | None | None | None | 1 row 8 : 8 | october 25, 1998 | cbs 2:00 pm mt | jacksonville jaguars | w 37-24 | mile high stadium (cbs) | 7-0 | 75217 | 0 row 9 : 9 | november 1, 1998 | cbs 11:00 am mt | at cincinnati bengals | w 33-26 | cinergy field (cbs) | 8-0 | 59974 | 0 row 10 : 10 | november 8, 1998 | cbs 2:00 pm mt | san diego chargers | w 27-10 | mile high stadium (cbs) | 9-0 | 74925 | 0 row 11 : 11 | november 16, 1998 | abc 7:00 pm mt | at kansas city chiefs | w 30-7 | arrowhead stadium (abc) | 10-0 | 78100 | 0 row 12 : 12 | november 22, 1998 | cbs 2:00 pm mt | oakland raiders | w 40-14 | mile high stadium (cbs) | 11-0 | 75325 | 0 row 13 : 13 | november 29, 1998 | espn 6:15 pm mt | at san diego chargers | w 31-16 | qualcomm stadium (espn | 12-0 | 66532 | 0 row 14 : 14 | december 6, 1998 | cbs 2:00 pm mt | kansas city chiefs | w 35-31 | mile high stadium (cbs) | 13-0 | 74962 | 0 row 15 : 15 | december 13, 1998 | cbs 11:00 am mt | at new york giants | l 16-20 | giants stadium (cbs) | 13-1 | 72336 | 0 row 16 : 16 | december 21, 1998 | abc 7:00 pm mt | at miami dolphins | l 21-31 | pro player stadium (abc) | 13-2 | 74363 | 0 row 17 : 17 | december 27, 1998 | cbs 2:15 pm mt | seattle seahawks | w 28-21 | mile high stadium (cbs) | 14-2 | 74057 | 0 ] Execute this SQL based on the above table: select opponent where opponent in ( 'at oakland raiders' , 'at seattle seahawks' ) order by tv time desc limit 1
at oakland raiders
[ header: # | player | country | score | to par | money ($) row 1 : 1 | louise suggs | united states | 78-75-75-74=302 | +14 | 900 row 2 : 2 | patty berg | united states | 79-77-73-74=303 | +15 | 675 row 3 : t3 | betsy rawls | united states | 79-75-72-80=306 | +18 | 445 row 4 : t3 | mickey wright | united states | 80-79-74-73=306 | +18 | 445 row 5 : 5 | betty jameson | united states | 80-74-77-78=309 | +21 | 405 row 6 : t6 | mary lena faulk | united states | 82-79-74-76=3 | +23 | 338 row 7 : t6 | beverly hanson | united states | 84-75-75-77=311 | +23 | 338 row 8 : t8 | fay crocker | uruguay | 92-70-76-75=3 | +25 | 248 row 9 : t8 | marlene hagge | united states | 78-80-79-76=3 | +25 | 248 row 10 : t10 | vonnie colby | united states | 80-79-78-78=315 | +27 | 113 row 11 : t10 | joyce ziske | united states | 83-82-77-73=3 | +27 | 113 ] Execute this SQL based on the above table: select ( select player where # = 't3' ) > 231
1
[ header: round | opponent | result | bro. | opp. | date | venue | crowd | position row 1 : 1 | auckland warriors | win | 14 | 2 | 1 mar | anz stadium | 42361 | 2/10 row 2 : 2 | adelaide rams | win | 28 | 12 | 9 mar | anz stadium | 16279 | 1/10 row 3 : 3 | perth reds | win | 26 | 16 | 16 mar | waca ground | 11109 | 2/10 row 4 : 4 | canberra raiders | win | 24 | 8 | 24 mar | anz stadium | 26103 | 2/10 row 5 : 5 | cronulla sharks | win | 14 | 12 | 31 mar | anz stadium | 17294 | 1/10 row 6 : 6 | north queensland cowboys | win | 42 | 16 | 5 apr | stockland stadium | 30122 | 1/10 row 7 : 7 | adelaide rams | win | 20 | 10 | 13 apr | adelaide oval | 17633 | 1/10 row 8 : 8 | penrith panthers | loss | 26 | 27 | 21 apr | penrith football stadium | 12648 | 1/10 row 9 : 9 | canterbury bulldogs | win | 34 | 16 | 28 apr | anz stadium | 17921 | 1/10 row 10 : 10 | auckland warriors | win | 34 | 18 | 4 may | mt smart stadium | 16471 | 1/10 row 11 : 11 | north queensland cowboys | draw | 20 | 20 | 25 may | anz stadium | 14167 | 1/10 row 12 : 12 | hunter mariners | loss | 6 | 24 | 30 may | topper stadium | 7124 | 1/10 row 13 : 13 | cronulla sharks | loss | 4 | 32 | 30 jun | endeavour field | 12240 | 1/10 row 14 : 14 | perth reds | win | 50 | 14 | 6 jul | anz stadium | 11806 | 1/10 row 15 : 15 | canberra raiders | win | 19 | 4 | 14 jul | bruce stadium | 13067 | 1/10 row 16 : 16 | penrith panthers | win | 54 | 12 | 10 aug | anz stadium | 13921 | 1/10 row 17 : 17 | hunter mariners | win | 34 | 16 | 18 aug | anz stadium | 13830 | 1/10 row 18 : 18 | canterbury bulldogs | win | 32 | 24 | 25 aug | belmore oval | 9781 | 1/10 row 19 : semi final | cronulla sharks | win | 34 | 2 | 6 sep | stockland stadium | 26256 | None row 20 : grand final | cronulla sharks | win | 26 | 8 | 20 sep | anz stadium | 58912 | None ] Execute this SQL based on the above table: select opponent where opponent in ( 'canberra raiders' , 'canberra raiders' ) order by bro. desc limit 1
canberra raiders
[ header: club | entered administration | exited administration | league(s) | deduction(s) row 1 : charlton athletic | february 1984 | march 1984 | second division | none row 2 : newport county | 1989 | never - they went out of business and then | football conference | none row 3 : walsall | 1990[citation needed] | None | None | none row 4 : kettering town | 1992[citation needed] | None | None | none row 5 : maidstone | 1992[citation needed] | None | None | none row 6 : barnet | 1994[citation needed] | None | None | none row 7 : exeter united | 1994[citation needed] | None | None | none row 8 : doncaster rovers | 1997[citation needed] | None | None | none row 9 : bournemouth | 1997[citation needed] | None | None | none row 10 : crystal palace | 1998[citation needed] | july 2000 | second division | none row 11 : portsmouth | 1998[citation needed] | 1999 | second division | none row 12 : bradford city | 16 may 2002 | 1 august 2002 | first division | none row 13 : notts county | june 2002 | december 1993 | third division | none row 14 : barnsley | 3 october 2002 | 25 october 2003 | second division | none row 15 : port vale | 16 december 2002 | 2003 | second division | none row 16 : york city | 18 december 2002 | 26 march 2003 | third division | none row 17 : derby county | 20 october 2003 | 20 october 2003 | championship | none row 18 : ipswich town | 10 february 2003 | 30 may 2003 | first division | none row 19 : darlington | 23 december 2003 | 26 may 2004 | third division | none row 20 : wrexham | 3 december 2004 | 3 august 2006 | league one league two | -10 pts row 21 : cambridge united | 29 april 2005 | 22 july 2005 | league two | -10 pts row 22 : rotherham united | 13 may 2006 | None | league one | -10 pts row 23 : boston united | 25 april 2007 | 20 may 2008 | league two | -10 pts row 24 : rotherham united | 18 march 2008 | 2008 | league two | -10 pts -17 p row 25 : darlington | 25 february 2009 | 7 august 2009 | league two | -10 pts row 26 : stockport county | 30 april 2009 | 18 june 2010 | league one | -10 pts row 27 : chester city | 17 may 2009 | 10 march 2010 dissolved | conference national | -25 pts row 28 : northwich victoria | 15 may 2009 | 16 may 2010 | conference national | -10 pts row 29 : farsley celtic | 30 june 2009 | 10 march 2010 dissolved | conference north | -10 pts row 30 : salisbury city | 3 september 2009 | 26 february 2010 | conference national | -10 pts row 31 : weymouth | 28 october 2009 | 27 november 2009 | conference south | none row 32 : portsmouth | 26 february 2010 | 24 october 2010 | premier league | -9 pts row 33 : plymouth argyle | 4 march 2011 | 31 october 2011 | league one | -10 pts row 34 : rushden and diamonds | 7 july 2011 | 8 july 2011 dissolved | conference national | none row 35 : portsmouth | 17 february 2012 | 19 april 2013 | championship | -10 pts row 36 : port vale | 9 march 2012 | 20 november 2012 | league two | -10 pts row 37 : aldershot town | 2 may 2013 | None | league two | None ] Execute this SQL based on the above table: select count ( distinct deduction(s) )
5
[ header: model | launch | code name | fab (nm) | bus interface | memory (mib) | core clock (mhz) | memory clock (mhz) | config core1 | fillrate moperations/s | fillrate mpixels/s | fillrate mtextels/s | fillrate mvertices/s | memory bandwidth (gb/s) | memory bus type | memory bus width (bit) | directx support row 1 : voodoo graphics | october 1, 1996 | sst1 | 500 | pci | 2, 4 | 50 | 50 | 1:0:1:1 | 50 | 50 | 50 | 0 | 0.8 | edo | 128 | 3 row 2 : voodoo rush | april 1997 | sst96 | 500 | agp 2x, pc | 2, 4 | 50 | 50 | 1:0:1:1 | 50 | 50 | 50 | 0 | 0.4 | edo | 64 | 3 row 3 : voodoo2 | march 1, 1998 | sst96 | 350 | pci | 8, 12 | 90 | 90 | 1:0:2:1 | 90 | 90 | 180 | 0 | 0.72 | edo | 64 | 3 row 4 : voodoo banshee | june 22, 1998 | banshee | 350 | agp 2x, pc | 8, 16 | 100 | 100 | 1:0:1:1 | 100 | 100 | 100 | 0 | 1.6 | sdr | 128 | 6 row 5 : velocity 200 | july 26, 1999 | avenger | 250 | agp 2x | 12 | 143 | 143 | 1:0:2:1 | 143 | 143 | 286 | 0 | 2.288 | sdr | 128 | 6 row 6 : voodoo3 1000 | march 1999 | avenger | 250 | agp 2x, pc | 8, 16 | 125 | 125 | 1:0:2:1 | 125 | 125 | 250 | 0 | 2 | sdr | 128 | 6 row 7 : voodoo3 2000 | april 3, 1999 | avenger | 250 | agp 2x, pc | 16 | 143 | 143 | 1:0:2:1 | 143 | 143 | 286 | 0 | 2.288 | sdr | 128 | 6 row 8 : voodoo3 3500 | june 1999 | avenger | 250 | agp 2x, pc | 16 | 183 | 183 | 1:0:2:1 | 183 | 183 | 366 | 0 | 2.928 | sdr | 128 | 6 row 9 : voodoo4 4200 | never released | vsa-100 | 250 | agp 4x, pc | 32 | 183 | 183 | 2:0:2:2 | 366 | 366 | 366 | 0 | 1.464 | sdr | 64 | 6 row 10 : voodoo4 4500 | october 13, 2000 | vsa-100 | 250 | agp 4x, pc | 32 | 166 | 166 | 2:0:2:2 | 332 | 332 | 332 | 0 | 2.656 | sdr | 128 | 6 row 11 : voodoo4 4800 | never released | vsa-100 | 250 | agp 4x, pc | 32 | 200 | 200 | 2:0:2:2 | 400 | 400 | 400 | 0 | 3.2 | sdr | 128 | 6 ] Execute this SQL based on the above table: select fab (nm) order by id desc limit 1
250
[ header: team | winners | runners-up | years won | years lost row 1 : bayern munich | 5 | 4 | 1982, 1987, 1990, 2010, 2012 | 1989, 1994, 2008, 2013 row 2 : borussia dortmund | 5 | 2 | 1989, 1995, 1996, 2008, 2013 | 2011, 2012 row 3 : werder bremen | 4 | 1 | 1988, 1993, 1994, 2009 | 1991 row 4 : kaiserslautern | 1 | 2 | 1991 | 1990, 1996 row 5 : schalke 04 | 1 | 2 | 2011 | 1940, 2010 row 6 : borussia monchengladbach | 1 | 1 | 1977 | 1995 row 7 : stuttgart | 1 | 0 | 1992 | None row 8 : dresdner sc | 1 | 0 | 1940 | None row 9 : hamburg | 0 | 3 | None | 1977, 1982, 1987 row 10 : eintracht frankfurt | 0 | 1 | None | 1988 row 11 : hannover 96 | 0 | 1 | None | 1992 row 12 : bayer leverkusen | 0 | 1 | None | 1993 row 13 : wolfsburg | 0 | 1 | None | 2009 ] Execute this SQL based on the above table: select min ( years won ) where winners > 1
1982, 1987, 1990, 2010, 2012
[ header: date | time | opponent | site | tv | result | attendance | record row 1 : 11/09/2013 | 1:00 pm | trinity baptist | moore gymnasium • daytona | None | w 91-74 | 409 | 1-0 row 2 : 11/12/2013 | 7:00 pm | at south florida | usf sun dome • tampa, | espn3 | l 65-91 | 3549 | 1-1 row 3 : 11/19/2013 | 7:00 pm | trinity (fl) | moore gymnasium • daytona | None | w 98-55 | 1180 | 2-2 row 4 : 11/21/2013 | 7:00 pm | fiu | moore gymnasium • daytona | None | l 67-82 | None | 2-3 row 5 : 11/27/2013 | 4:00 pm | at new mexico state | moby arena • fort collins, | None | l 52-66 | 2945 | 2-5 row 6 : 11/29/2013 | 9:00 pm | vs. prairie view a&m | butler-hancock sports pavilion • gre | None | l 80-89 | 102 | 2-6 row 7 : 11/30/2013 | 9:00 pm | at northern colorado | butler-hancock sports pavilion • gre | None | l 60-65 | None | 2-7 row 8 : 12/03/2013 | 7:00 pm | at stetson | edmunds center • del | None | l 52-56 | 1056 | 2-8 row 9 : 12/09/2013 | 7:00 pm | at hampton | hampton convocation center • hampton | None | l 52-85 | 1428 | 2-10 (0-2) row 10 : 12/17/2013 | 7:00 pm | at youngstown state | beeghly center • youngstown | None | l 59-71 | 1399 | 2-12 row 11 : 12/21/2013 | 7:00 pm | at north florida | unf arena • jacksonville, | None | l 64-68 | 617 | 2-13 row 12 : 12/30/2013 | 8:00 pm | at detroit | calihan hall • detroit, | None | l 53-73 | 3107 | 2-14 row 13 : 01/11/2014 | 4:00 pm | north carolina a&t | moore gymnasium • daytona | None | l 67-70 | 1091 | 2-16 (0-3) row 14 : 01/13/2014 | 7:30 pm | north carolina central | moore gymnasium • daytona | None | l 49-64 | 1210 | 2-17 (0-4) row 15 : 01/18/2014 | 6:00 pm | at savannah state | tiger arena • savannah | None | l 60-70 ot | 3220 | 2-18 (0-5) row 16 : 01/20/2014 | 7:30 pm | at south carolina state | shm memorial center • orangeburg, s | None | l 67-69 | 751 | 2-19 (0-6) row 17 : 01/27/2014 | 7:30 pm | howard | moore gymnasium • daytona | None | w 58-47 | 1216 | 4-19 (2-6) row 18 : 02/01/2014 | 4:00 pm | savannah state | moore gymnasium • daytona | None | l 40-50 | 1075 | 4-20 (2-7) row 19 : 02/03/2014 | 7:30 pm | south carolina state | moore gymnasium • daytona | None | w 91-59 | 1063 | 5-20 (3-7) ] Execute this SQL based on the above table: select time - attendance where site = 'moore gymnasium • daytona beach, fl'
-408.0, -1173.0, -1087.0, -1203.0, -1209.0, -1071.0, -1056.0
[ header: title | year | platform | developer | publisher row 1 : swat 3: close quarters battle | 1999 | microsoft windows | sierra northwest | sierra entertainment row 2 : swat: global strike team | 2003 | playstation 2, xbox | argonaut games | argonaut games sierra entertainment row 3 : swat 4 | 2005 | microsoft windows | irrational games | vivendi universal games sierra entertainment row 4 : swat 4: the stetchkov | 2006 | microsoft windows | irrational games | vivendi universal games sierra entertainment row 5 : swat force | 2006 | mobile phones | kaolink | vivendi games mobile row 6 : swat: target liberty | 2007 | playstation portable | 3g studios | sierra entertainment row 7 : swat elite troops | 2008 | mobile phones | rovio mobile | vivendi games mobile ] Execute this SQL based on the above table: select sum ( year ) where year = '2007' and platform = 'playstation portable'
2007
[ header: date announced | plant name | location | date of closing | products | employees row 1 : january 23, 2006 | st. louis assembly | hazelwood, missouri | 2006 | ford explorer lincoln | 1445 row 2 : january 23, 2006 | atlanta assembly | hapeville, georgia | oct. 2006 | ford taurus mercury sable | 2028 row 3 : january 23, 2006 | batavia transmission | batavia, ohio | 2008 | transmissions | 1745 row 4 : january 23, 2006 | windsor casting | windsor, ontario, canada | 2008 | engine blocks, parts | 684 row 5 : january 23, 2006 | wixom assembly | wixom, michigan | june 2007 | lincoln town car lin | 1567 row 6 : april 13, 2006 | twin cities assembly | st. paul, minneso | 2011 | ford ranger mazda b | 1885 row 7 : april 13, 2006 | norfolk assembly | norfolk, virginia, | 2007 | ford f-series | 2433 row 8 : september 14, 2006 | essex engine | windsor, ontario, canada | 2008 | ford triton engine ford esse | None row 9 : september 14, 2006 | maumee stamping | maumee, ohio | 2008 | body panels | None row 10 : total | total | total | total | total | 11787 ] Execute this SQL based on the above table: select plant name where plant name in ( 'total' , 'norfolk assembly' ) and date announced = 'total'
total
[ header: rd | pick | player | position | school row 1 : 1 | 1 | chuck bednarik (lottery bonus | center | pennsylvania row 2 : 1 | 9 | frank tripucka | quarterback | notre dame row 3 : 2 | 19 | frank burns | back | rutgers row 4 : 3 | 29 | frank ziegler | back | georgia tech row 5 : 4 | 41 | don panciera | back | san francisco row 6 : 5 | 51 | terry brennan | back | notre dame row 7 : 6 | 58 | warren huey | end | michigan state row 8 : 7 | 71 | frank gillespie | guard | clemson row 9 : 8 | 81 | bob dean | back | cornell row 10 : 9 | 91 | jonathan jenkins | tackle | dartmouth row 11 : 10 | 101 | roy lester | end | west virginia row 12 : 11 | 111 | bobby wilson | back | mississippi row 13 : 12 | 121 | dale armstrong | end | dartmouth row 14 : 13 | 131 | lyle button | tackle | illinois row 15 : 14 | 141 | bobby lund | back | tennessee row 16 : 15 | 151 | carl copp | tackle | vanderbilt row 17 : 16 | 161 | frank reno | end | west virginia row 18 : 17 | 171 | leo skladany | end | pittsburgh row 19 : 18 | 181 | russ strait | back | muhlenberg row 20 : 19 | 191 | paul odom | guard | rollins row 21 : 20 | 201 | lloyd brinkman | back | missouri row 22 : 21 | 211 | lou futrell | back | usc row 23 : 22 | 221 | harvey kingry | back | colorado mines row 24 : 23 | 231 | hank kalver | tackle | oklahoma city row 25 : 24 | 241 | fred leon | tackle | nevada-reno row 26 : 25 | 251 | john "bull" schweder | guard | pennsylvania ] Execute this SQL based on the above table: select school where pick = 1
pennsylvania
[ header: date | time | opponent# | rank# | site | tv | result | attendance row 1 : august 30 | 8:00 pm | vs. alabama | #9 | georgia dome • atlanta, | abc | l 10-34 | 70097 row 2 : september 6 | 3:30 pm | the citadel | #22 | memorial stadium • clemson, s | None | w 45-17 | 76794 row 3 : september 13 | 12:00 pm | nc state | #23 | memorial stadium • clemson, s | raycom | w 27-9 | 77071 row 4 : september 20 | 1:00 pm | sc state | #21 | memorial stadium • clemson, s | None | w 54-0 | 78607 row 5 : september 27 | 12:00 pm | maryland | #19 | memorial stadium • clemson, s | raycom | l 17-20 | 81500 row 6 : october 9 | 7:45 pm | at wake forest | None | bb&t field • winston- | espn | l 7-12 | 33988 row 7 : october 18 | 12:00 pm | georgia tech | None | memorial stadium • clemson, s | espn | l 17-21 | 81500 row 8 : november 1 | 3:30 pm | at boston college | None | alumni stadium • chestnut hill, ma (o | espnu | w 27-21 | 41863 row 9 : november 8 | 3:30 pm | at #24 florida state | None | doak campbell stadium • tallahasse | abc | l 27-41 | 77013 row 10 : november 15 | 12:00 pm | duke | None | memorial stadium • clemson, s | raycom | w 31-7 | 76217 row 11 : november 22 | 12:00 pm | at virginia | None | scott stadium • charlottesville, | raycom | w 13-3 | 51979 row 12 : november 29 | 12:00 pm | south carolina | None | memorial stadium • clemson, s | espn2 | w 31-14 | 82456 row 13 : january 1, 2009 | 1:00 pm | vs. nebraska | None | jacksonville municipal stadium • jackson | cbs | l 21-26 | 67282 ] Execute this SQL based on the above table: select rank# order by time desc limit 1
#23
[ header: round | round | circuit | date | pole position | fastest lap | winning driver | winning team | winning privateer row 1 : 1 | r1 | mantorp park | 10 may | mattias ekstrom | fredrik ekblom | mats linden | kristoffersson motorsport | richard goransson row 2 : 1 | r2 | mantorp park | 10 may | None | peggen andersson | fredrik ekblom | bmw dealer team | pontus morth row 3 : 2 | r3 | karlskoga-gellera | 31 may | jan nilsson | jan nilsson | jan nilsson | flash engineering | pontus morth row 4 : 2 | r4 | karlskoga-gellera | 31 may | None | fredrik ekblom | peggen andersson | bmw dealer team | pontus morth row 5 : 3 | r5 | anderstorp | 28 june | mattias ekstrom | fredrik ekblom | jan nilsson | flash engineering | pontus morth row 6 : 3 | r6 | anderstorp | 28 june | None | peggen andersson | peggen andersson | bmw dealer team | georg bakajev row 7 : 4 | r7 | falkenberg | 9 july | jens edman | jens edman | jan nilsson | flash engineering | pontus morth row 8 : 4 | r8 | falkenberg | 9 july | None | mattias ekstrom | jens edman | flash engineering | pontus morth row 9 : 5 | r9 | ring knutstorp | 6 september | fredrik ekblom | fredrik ekblom | fredrik ekblom | bmw dealer team | pontus morth row 10 : 5 | r10 | ring knutstorp | 6 september | None | mats linden | jan nilsson | flash engineering | georg bakajev row 11 : 6 | r11 | mantorp park | 27 september | tommy kristoffersson | fredrik ekblom | fredrik ekblom | bmw dealer team | pontus morth row 12 : 6 | r12 | mantorp park | 27 september | None | peggen andersson | jan nilsson | flash engineering | pontus morth ] Execute this SQL based on the above table: select round where pole position = 'mattias ekstrom'
1, 3
[ header: year | single | chart positions spa | album row 1 : 2011 | "breathe in the light" | 10 | endless road 7058 row 2 : 2011 | "last night on earth" | 6 | endless road 7058 row 3 : 2012 | "i don't think so" | 7 | endless road 7058 row 4 : 2012 | "don't give up my game" | 13 | endless road 7058 row 5 : 2012 | "1900" | None | endless road 7058 row 6 : 2012 | "i met an angel (on christmas day) | 39 | christmas non-album release row 7 : 2013 | "cuando te volvere | 34 | from soundtrack of wreck-it ralph row 8 : 2013 | "heartbreaker" | 13 | anti-heroes ] Execute this SQL based on the above table: select count ( album ) where album != 'endless road 7058' and year = ( select year where album = 'endless road 7058' )
0
[ header: year | champion | score | runner-up | total prize money | champion | runner-up row 1 : 2001 | ravi sandiran | | thanawat gaweenuntavong | None | None | None row 2 : 2005 | tengku hadzali shah | | mohd nazib khalit | None | None | None row 3 : 2006 | selbaraju subramaniam | | tengku hadzali shah | None | None | None row 4 : 2007 | s raj | | keshminder singh | sgd 3,600 | sgd 1,600 | sgd 800 row 5 : 2008 | robert calupit | | shah azhar | sgd 3,600 | sgd 1,600 | sgd 800 row 6 : 2009 | ronald l briones | | tengku hadzali shah | sgd 2,400 | sgd 1,000 | sgd 500 row 7 : 2010 | None | | None | None | sgd 1,000 | sgd 500 ] Execute this SQL based on the above table: select champion where runner-up = 'keshminder singh'
s raj
[ header: event | record | athlete(s) | date | time (s) row 1 : bobsleigh - two-man | start | beat hefti & thomas | 6 february 2009 | 4.7 row 2 : bobsleigh - two-man | track | thomas florschutz & | 20 february 2010 21 february 2010 | 51.57 row 3 : bobsleigh - four-man | start | andre lange, kevin kuske | 26 february 2010 | 4.7 row 4 : bobsleigh - four-man | track | steve holcomb, justin | 26 february 2010 | 50.86 row 5 : bobsleigh - two-woman | start | kaillie humphries | 23 february 2010 24 february 2010 | 5.11 row 6 : bobsleigh - two-woman | track | kaillie humphries | 24 february 2010 | 52.85 row 7 : men's skeleton | start | alexander tretiakov (rus | 18 february 2010 | 4.48 row 8 : men's skeleton | track | jon montgomery (can) | 19 february 2010 | 52.2 row 9 : women's skeleton | start | anja huber (ger) | 18 february 2010 | 4.9 row 10 : women's skeleton | track | amy williams (gbr | 19 february 2010 | 53.68 row 11 : luge - men's singles | start | andi langenhan (ger) | 21 february 2009 | 3.541 row 12 : luge - men's singles | track | felix loch (ger) | 21 february 2009 | 46.808 row 13 : luge - women's singles | start | natalie geisenberger (ger | 20 february 2009 | 7.183 row 14 : luge - women's singles | track | natalie geisenberger (ger | 20 february 2009 | 48.992 row 15 : luge - men's doubles | start | tobias wendl & tobia | 20 february 2009 | 7.054 row 16 : luge - men's doubles | track | patric leitner & alexander | 20 february 2009 | 48.608 ] Execute this SQL based on the above table: select count ( date )
16
[ header: no. | date/time | aircraft | foe | result | location | notes row 1 : u/c | 14 june 1917 | nieuport 17 | enemy aircraft | None | mount verena | victory originally confirmed, but disallowed postwar row 2 : 1 | 25 october 1917 @ 0800 | None | enemy aircraft | forced to land | marcesina | None row 3 : 2 | 7 november 1917 circa 1615 hours | None | enemy aircraft | forced to land | fonsazo | awarded silver medal for military valor row 4 : 3 | 7 december 1917 @ 1130 hours | None | enemy aircraft | None | val d'assa | None row 5 : 4 | 13 december 1917 ca. 1130 hours | None | enemy aircraft | None | asiago | None row 6 : 5 | 30 january 1918 @ 1000 hours | None | enemy two-seater | None | col d'eshele, | awarded silver medal for military valor row 7 : u/c | 4 february 1918 ca. 1100 hours | None | black enemy fighter craft | None | valstagna | claim shared with antonio reali row 8 : 6 | 5 february 1918 ca. 0830 hours | None | enemy two-seater | forced to land | case girardi | shared with marziale cerutti row 9 : 7 | 13 february 1918 @ 0915 hours | None | enemy fighter | None | marcesina | None row 10 : u/c | 24 february 1918 | None | enemy aircraft | None | mount grappa | None row 11 : 8 | 4 may 1918 @ 0850 hours | nieuport 27 | enemy aircraft | None | montello | austro-hungarians reported no matching loss row 12 : 9 | 4 may 1918 @ 1025 hours | nieuport 27 | enemy fighter | None | montello | austro-hungarians reported no matching loss ] Execute this SQL based on the above table: select location where location != 'montello' and date/time = 10
marcesina
[ header: year | film | role | co-star | director | notes row 1 : 2004 | bachelor | None | None | mostofa sarwar farook | special appearance row 2 : 2010 | dubshatar | renu | shehzad chowdhury | nurul alam atik | first debut film daily star celebrating life-best actress row 3 : 2011 | firey esho behula | tanima | intekhab deenar, shahid | tanim noor | None row 4 : 2011 | guerrilla | bilkis banu | ferdous ahmed, | nasiruddin yousuff | national film award meril prothom al row 5 : 2012 | chorabali | noboni afroz | indraneil sengupt | redwan rony | national film award meril prothom al row 6 : 2013 | aborto | charu sen | tota roy chowdhur | arindam sil | first debut film in tollywood row 7 : 2013 | purnodoirgho prem | jara/zara | shakib khan, arefin | shafi uddin sha | first film with shakib khan row 8 : 2014 | parle theka (filming) | None | sushama sarkar | maruf hasan | None row 9 : 2014 | zero degree (filming) | sonia | mahfuz ahmed, r | animesh aich | None ] Execute this SQL based on the above table: select sum ( year ) where director in ( 'shafi uddin shafi' , 'maruf hasan' )
4027
[ header: discipline | amanda | bernie | javine h | julia | michelle row 1 : whitewater kayak | 0 | 2 | 4 | 3 | 6 row 2 : hurdles | 3 | 1 | 6 | 5 | 3 row 3 : cycling | 4 | 2 | 4 | 6 | 0 row 4 : gym floor | 0 | 3 | 6 | 5 | 2 row 5 : swimming | 4 | 3 | 6 | 5 | 0 row 6 : curling | 0 | 2 | 4 | 3 | 5 row 7 : archery | 4 | 0 | 5 | 2 | 3 row 8 : hammer | 2 | 3 | 5 | 4 | 2 row 9 : 100m sprint | 2 | 0 | 5 | 3 | 4 row 10 : total | 19 | 16 | 45 | 36 | 25 ] Execute this SQL based on the above table: select julia group by julia order by count ( * ) desc limit 1
5
[ header: week | room | winning couple | 2nd couple | 3rd couple | chumps row 1 : 1 | guest bedroom 1 | alisa and lysandra | kyal and kara/brad | chantelle and steve | None row 2 : 2 | downstairs bathrooms, laundry & terrace | brad and dale | alisa and lysandra | chantelle and steve | kyal and kara row 3 : 3 | guest bedroom 2 | kyal and kara | chantalle and steve | alisa and lysandra | brad and dale row 4 : 4 | upstairs bathroom | kyal and kara | brad and dale | chantelle and steve | alisa and lysandra row 5 : 5 | kitchen | alisa and lysandra | kyal and kara | brad and dale | chantelle and steve row 6 : 6 | living room and dining room | chantelle and steve | alisa and lysandra | brad and dale / kyal | None row 7 : 7 | master bedroom and ensuite | brad and dale | chantelle and steve | alisa and lysandra | kyal and kara row 8 : 8 | rooftop/outside terrace | kyal and kara | brad and dale | alisa and lysandra | chantelle and steve ] Execute this SQL based on the above table: select count ( 3rd couple ) where 3rd couple = 'brad and dale / kyal and kara'
1
[ header: year | team | games | punt return attempts | punt return yards | punts returned for touchdown | punts fair caught | longest punt return | kickoff attempts | kickoff return yards | kickoffs returned for touchdown | kickoffs fair caught | longest kickoff return row 1 : 2008 | den | 15 | 14 | 140 | 0 | 10 | 36 | 23 | 600 | 0 | 0 | 95 row 2 : 2009 | den | 14 | 30 | 335 | 1 | 13 | 71 | 26 | 621 | 1 | 0 | 93 row 3 : 2010 | den | 16 | 25 | 298 | 0 | 12 | 33 | 5 | 107 | 0 | 0 | 33 row 4 : 2011 | den | 12 | 12 | 194 | 1 | 9 | 85 | 3 | 47 | 0 | 0 | 20 row 5 : 2012 | sd | 10 | 12 | 64 | 0 | 2 | 14 | 0 | 0 | 0 | 0 | 0 row 6 : 2013 | sd | 15 | 7 | 41 | 0 | 7 | 12 | 0 | 0 | 0 | 0 | 0 row 7 : total | total | 82 | 100 | 1072 | 2 | 53 | 85 | 57 | 1375 | 1 | 0 | 95 ] Execute this SQL based on the above table: select min ( longest punt return ) where year = 2011
85.0
[ header: no. | ritu | season | hindu lunar months | gregorian month | characteristics | seasonal festivals row 1 : 1 | vasanta वसनत | spring | chaitra and baisakh | ~ march to may | temperature around 20-30 degrees; vernal | vasant panchami, ugad row 2 : 2 | grishma गरीषम | summer | jyeshta and aash | ~ may to july | very hot, temperatures up to 50 degrees cels | vat pournima, rath row 3 : 3 | varsha वरषा | monsoon | shraavana (sawan | ~ july to september | very hot, very humid and heavy monso | raksha bandhan, kris row 4 : 4 | sharad शरद, पतझड | autumn | ashwin (kwar) and kar | ~ september to november | mild temperatures; 19 to 22 degrees celsi | navaratri, vijayadas row 5 : 5 | hemant हमनत | fall winter | margashirsha (agrahayana | ~ november to january | very pleasant temperatures; generally, 20-25 degrees cel | (mid-winter celebration), bihu row 6 : 6 | shishir शिशिर | winter | magh and phalguna (phagun | ~ january to march | moderately cold, but pleasant during occasional sunshine; | shivaratri, shigm ] Execute this SQL based on the above table: select season where season = 'autumn'
autumn
[ header: date | opponent | venue | result | scorers | report row 1 : august 30, 2008 - 18:00 | udinese | away | lost 1-3 | bresciano | 18 row 2 : september 13, 2008 - 18:00 | as roma | home | won 3-1 | miccoli (2), cavani | None row 3 : september 21, 2008 - 15:00 | genoa | home | won 2-1 | bovo, cavani | 4 row 4 : september 28, 2008 - 15:00 | reggina | home | won 1-0 | miccoli | None row 5 : october 5, 2008 - 1 | juventus | away | won 2-1 | miccoli, mchedlidze | None row 6 : october 19, 2008 - 1 | catania | away | lost 0-2 | None | report row 7 : october 29, 2008 - 20 | lecce | away | drew 1-1 | cavani | report row 8 : november 2, 2008 - 15:00 | chievo | home | won 3-0 | miccoli, kjær, ca | None row 9 : november 8, 2008 - 18:00 | torino | away | lost 0-1 | None | report row 10 : november 15, 2008 - 20:30 | internazionale | home | lost 0-2 | None | report row 11 : november 30, 2008 - 20:30 | ac milan | home | won 3-1 | miccoli, cavani, simplicio | report row 12 : december 7, 2008 - 15:00 | cagliari | away | lost 0-1 | None | report row 13 : december 20, 2008 - 18:00 | lazio | away | lost 0-1 | None | report row 14 : january 11, 2009 - 15:00 | atalanta | home | won 3-2 | miccoli, bresciano, cavani | report row 15 : january 18, 2009 - 15:00 | sampdoria | home | won 2-0 | bresciano (2) | report row 16 : january 25, 2009 - 15:00 | udinese | home | won 3-2 | simplicio (2), cavani | report row 17 : january 28, 2009 - 20: | as roma | away | lost 1-2 | cavani | report row 18 : february 1, 2009 - 15:15 | genoa | away | lost 0-1 | None | report row 19 : february 8, 2009 - 20:30 | napoli | home | won 2-1 | migliaccio, simplicio | report row 20 : february 21, 2009 - 20:30 | juventus | home | lost 0-2 | None | report row 21 : march 1, 2009 - 15:00 | catania | home | lost 0-4 | None | report row 22 : march 8, 2009 - 15:00 | fiorentina | away | won 2-0 | simplicio, miccoli | report row 23 : march 15, 2009 - 15:00 | lecce | home | won 5-2 | cavani (2), simplicio, mic | report row 24 : march 22, 2009 - 15:00 | chievo | away | lost 0-1 | None | report row 25 : april 19, 2009 - 15:00 | internazionale | away | drew 2-2 | cavani, succi | report row 26 : april 19, 2009 - 15:00 | bologna | home | won 4-1 | belleri (own goal), kj | report row 27 : april 26, 2009 - 15:00 | ac milan | away | lost 0-3 | None | report row 28 : may 3, 2009 - 15:00 | cagliari | home | won 5-1 | migliaccio, miccoli, | report row 29 : may 10, 2009 - 15:00 | siena | away | lost 0-1 | None | report ] Execute this SQL based on the above table: select venue group by venue order by count ( * ) desc limit 1
home
[ header: outcome | no. | date | tournament | surface | opponent | score row 1 : runner-up | 1 | 23 august 2004 | la paz, bolivia | clay | jenifer widjaja | 6-3, 4-6, 0-6 row 2 : runner-up | 2 | 6 june 2005 | santa tecla, e | clay | andrea benitez | 3-6, 0-6 row 3 : runner-up | 2 | 22 august 2005 | bogota, colombia | clay | carla tiene | 4-6, 0-6 row 4 : runner-up | 4 | 15 may 2006 | ciudad obregon, mexico | hard | ellah nze | 6-4, 3-6, 3-6 row 5 : winner | 1 | 5 june 2006 | xalapa, mexico | hard | maria irigoyen | 6-1, 3-6, 6-4 row 6 : winner | 2 | 7 september 2009 | mazatlan, mexico | hard | fernanda hermenegildo | 6-1, 6-2 row 7 : winner | 3 | 2 november 2009 | bogota, colombia | clay | yuliana lizarazo | 7-6(7-5), 6-4 row 8 : runner-up | 5 | 16 november 2009 | asuncion, paraguay | clay | paula ormaechea | 6-4, 4-6, 2-6 row 9 : winner | 4 | 8 november 2010 | bogota, colombia | clay | patricia ku flores | 6-1, 7-5 row 10 : winner | 5 | 29 november 2010 | santiago, chile | clay | veronica cepede royg | 6-2, 6-2 row 11 : winner | 6 | 18 july 2011 | ribeirao preto, brazil | clay | vivian segnini | 6-2, 6-2 row 12 : runner-up | 6 | 8 august 2011 | santa cruz de la sierra | clay | maria irigoyen | 2-6, 3-6 row 13 : winner | 7 | 15 august 2011 | la paz, bolivia | clay | maria irigoyen | 6-0, 7-6(7-1) row 14 : runner-up | 7 | 3 october 2011 | yerevan, armenia | clay | julia cohen | 6-7(6-8), 2-6 row 15 : runner-up | 8 | 19 march 2012 | bangalore, india | hard | donna vekic | 2-6, 4-6 row 16 : runner-up | 9 | 8 may 2012 | brasilia, brazil | clay | gabriela paz | 3-6, 3-6 row 17 : winner | 8 | 19 november 2012 | barranquilla, colombia | clay | karolina nowak | 7-6(7-4), 6-0 row 18 : winner | 9 | 21 october 2013 | bogota, colombia | hard | anna katalina alzate | 6-3, 6-3 row 19 : winner | 10 | 11 november 2013 | lima, peru | clay | patricia ku flores | 7-5, 6-7(4-7), row 20 : winner | 11 | 25 november 2013 | bogota, colombia | clay | naomi totka | 6-1, 6-1 row 21 : runner-up | 10 | 2 december 2013 | barranquilla, colombia | clay | maria fernanda herazo | 4-6, 2-6 ] Execute this SQL based on the above table: select count ( * )
21