inputs
stringlengths
291
3.71k
targets
stringlengths
1
2.65k
[ header: pos. | artist | single | year | sales | peak row 1 : 1 | daniel lavoie, pat | "belle" | 1998 | 2,221,000 | 1 row 2 : 4 | wes | "alane" | 1997 | 1,418,000 | 1 row 3 : 10 | celine dion | "the reason" / "my heart will | 1998 | 1,197,000 | 1 row 4 : 16 | celine dion | "pour que tu m'aime | 1995 | 955,000 | 1 row 5 : 19 | andrea bocelli & helene | "vivo per lei (je vis pour | 1998 | 874,000 | 1 row 6 : 20 | zebda | "tomber la chemise" | 1999 | 868,000 | 1 row 7 : 22 | khaled | "aicha" | 1996 | 824,000 | 1 row 8 : 24 | david hallyday | "tu ne m'a | 1999 | 801,000 | 1 row 9 : 25 | will smith | "men in black" | 1997 | 783,000 | 1 row 10 : 32 | brandy & monica | "the boy is mine" | 1998 | 662,000 | 2 row 11 : 35 | tina arena | "aller plus haut" | 1999 | 617,000 | 2 row 12 : 39 | eiffel 65 | "move your body" | 1999 | 589,000 | 1 row 13 : 40 | britney spears | "... baby one more time" | 1999 | 578,000 | 1 row 14 : 54 | hanson | "mmmbop" | 1997 | 490,000 | 4 row 15 : 59 | regg'lyss | "mets de l'huile" | 1993 | 476,000 | 1 row 16 : 60 | janet jackson | "together again" | 1998 | 475,000 | 2 row 17 : 61 | modern talking | "you're my heart, you're | 1998 | 475,000 | 3 row 18 : 64 | lara fabian | "je t'aime" | 1997 | 471,000 | 6 row 19 : 65 | madonna | "frozen" | 1998 | 469,000 | 2 row 20 : 66 | francois feldman | "joy" | 1991 | 468,000 | 1 row 21 : 67 | patrick bruel | "qui a le droit... (live) | 1991 | 466,000 | 1 row 22 : 68 | youssou n'dour | "7 seconds" | 1994 | 465,000 | 1 row 23 : 73 | freddie mercury | "living on my own 1993" | 1993 | 426,000 | 1 row 24 : 81 | g.o. culture | "darla_dirladada" | 1993 | 397,000 | 1 row 25 : 82 | spice girls | "spice up your life" | 1997 | 397,000 | 3 row 26 : 85 | jean-philippe audin & | "song of ocarina" | 1991 | 379,000 | 1 row 27 : 86 | boris | "soiree disco" | 1996 | 376,000 | 1 row 28 : 89 | celine dion | "un garcon pas comme les autres (zi | 1993 | 365,000 | 2 row 29 : 90 | liane foly | "la vie ne m'apprend | 1999 | 364,000 | 3 row 30 : 91 | fool's garden | "lemon tree" | 1996 | 362,000 | 3 ] Execute this SQL based on the above table: select count ( * )
30
[ header: name | built | listed | location | county | type row 1 : bahala creek bridge | 1909 | 1988-11-16 | oma 31°42′17′′ | lawrence | pratt through truss row 2 : bayou pierre bridge | ca. 1920 | 2005-06-10 | carpenter 32°0′10′′n | copiah | None row 3 : bayou pierre bridge | ca. 1900, 1940 | 2005-06-10 | carpenter 32°0′10′′n | copiah | None row 4 : big black river railroad bridge | 1917 | 1988-11-16 | bovina, edwards 32 | hinds, warren | open-spandrel arch row 5 : chunky river bridge | 1911 | 2004-03-22 | chunky 32°19′16′′n | newton | None row 6 : columbus bridge | 1925-1927 | 1988-11-16 | columbus 33°29′37′′n | lowndes | warren truss;swing row 7 : confederate avenue brick arch bridge | 1935 | 1988-11-16 | vicksburg 32°19′44′′ | warren | brick arch row 8 : coon box fork bridge | 1919 | 1979-05-23 | coon box 31°47′25′′n | jefferson | twin-tower swng. sus row 9 : enterprise bridge | ca. 1925, ca. 1935 | 1988-11-16 | enterprise 32°10′33′′n 88 | clarke | warren polygonal pony truss row 10 : gatesville bridge | 1908 | 1988-11-16 | gatesville, pearl 31°59′46′′ | copiah, simpson | pennsylvania through tru row 11 : homochitto river bridge | 1909 | 1988-11-16 | hazelhurst 31°42′48′′n | copiah | pratt through truss row 12 : lamb-fish bridge | 1905 | 1982-05-17 | charleston 34°1′20′′ | tallahatchie | vertical lift span row 13 : lucien bridge | 1938 | 2005-06-16 | mccall creek 31°30′40 | franklin | None row 14 : mississippi river bridge | 1928-1930 | 1989-02-14 | vicksburg 32°18′54′′ | warren | cantilevered truss span row 15 : shubuta bridge | 1919 | 1988-11-16 | shubuta 31°51′25′′ | clarke | camelback through truss ] Execute this SQL based on the above table: select built where type = 'twin-tower swng. susp. brdg'
1919
[ header: year | division | league | regular season | playoffs | open cup row 1 : 2006 | 4 | usl pdl | 5th, northwest | did not qualify | did not qualify row 2 : 2007 | 4 | usl pdl | 2nd, northwest | conference semifinals | did not qualify row 3 : 2008 | 4 | usl pdl | 1st, northwest | conference finals | did not qualify row 4 : 2009 | 4 | usl pdl | 7th, northwest | did not qualify | did not qualify row 5 : 2010 | 4 | usl pdl | 3rd, northwest | did not qualify | did not qualify row 6 : 2011 | 4 | usl pdl | 8th, northwest | did not qualify | did not qualify row 7 : 2012 | 4 | usl pdl | 1st, northwest | semifinals | did not qualify row 8 : 2013 | 4 | usl pdl | 4th, northwest | did not qualify | 2nd round ] Execute this SQL based on the above table: select count ( * ) where open cup = 'did not qualify'
7
[ 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 notes , notes where id = 20
direct-to-video in north america, direct-to-video in north america
[ header: # | title | time | performer(s) | songwriters | producer(s) | samples and notes row 1 : 1 | "everything man" | 3:16 | talib kweli, | talib kweli greene | madlib | "everything man" by daybreak row 2 : 3 | "hostile gospel (part 1) (deliver | 5:22 | talib kweli | talib kweli greene | just blaze | "deliverance" by space row 3 : 4 | "say something" | 3:43 | talib kweli, | talib kweli greene | will.i.am | "theme for la's team" by row 4 : 6 | "holy moly" | 2:08 | talib kweli | talib kweli greene | pete rock | "border song (holy moses)" row 5 : 7 | "eat to live" | 3:07 | talib kweli | talib kweli greene | madlib | "ghetto lament" by row 6 : 11 | "more or less" | 4:40 | talib kweli, di | talib kweli greene | hi-tek | None row 7 : 13 | "hot thing" | 3:48 | talib kweli, will | talib kweli greene | will.i.am | "we're no exception" by john row 8 : 14 | "space fruit" (interlude) | 1:31 | sa-ra | om'mas keith, sh | sa-ra | None row 9 : 16 | "oh my stars" | 3:40 | talib kweli, | talib kweli greene | dj khalil | None row 10 : 18 | "go with us" | 3:59 | talib kweli, strong | talib kweli greene | e. jones | None row 11 : 19 | "hostile gospel (part 2) (deliver | 4:21 | talib kweli, si | talib kweli greene | dj khalil | "tight rope" by steel pulse row 12 : 21 | "hush" | 3:55 | talib kweli, | talib kweli greene | chad beatz | lp edition #19 & itune ] Execute this SQL based on the above table: select # where performer(s) = 'talib kweli, strong arm steady'
18.0
[ header: state | title | name | entered office row 1 : barbados | speaker of the house of assembly | sir theodore brancker | 1961 row 2 : bolivia | president of the senate | None | 1970 row 3 : bolivia | president of the chamber of deputies | None | 1970 row 4 : brazil | president of the chamber of deputies | geraldo freire da sil | 1970 row 5 : canada | speaker of the senate | hon. jean-paul de | september 5, 1968 row 6 : chile | president of the senate | tomas pablo elorza | 1969 row 7 : chile | president of the chamber of deputies | fernando humberto andre | july 20, 1970 row 8 : colombia | president of the chamber of representatives | None | None row 9 : dominican republic | president of assembly | pedro valdez ? | 1966 ? row 10 : ecuador | president of the senate | None | None row 11 : ecuador | president of the chamber of deputies | None | None row 12 : el salvador | president of the legislative assembly | dr. benjamin iter | 1970 ? row 13 : guatemala | president of the congress | mario sandoval alarcon | 1970 row 14 : guyana | speaker of the legislative assembly | hon. rahman bacchus | 1968 row 15 : haiti | president of the national assembly | ulrick st. louis | None row 16 : jamaica | president of the senate | g. s. ranglin | december 7, 1962 row 17 : jamaica | speaker of the house of representatives | eugene parkinson | 1967 row 18 : mexico | president of the senate | lic. manuel aguirre[ | 1967 ? row 19 : mexico | president of the federal chamber of deputies | lic. luis farias | 1967 ? row 20 : nicaragua | president of the senate | dr. adrian cua | None row 21 : nicaragua | president of the chamber of deputies | dr. orlando monten | None row 22 : trinidad and tobago | president of the senate | j. hamilton maurice | december 29, 1961 row 23 : trinidad and tobago | speaker of the house of representatives | a. c. thomas | december 29, 1961 row 24 : usa | president of the senate (the vice | spiro agnew | january 20, 1969 row 25 : usa | speaker of the house of representatives | john william mccormack | january 10, 1962 row 26 : puerto rico | president of the senate | rafael hernand | 1969 row 27 : uruguay | president of the senate (the vice | dr. alberto abdal | december 6, 1967 row 28 : uruguay | president of the chamber of deputies | fernando elichirigo | march 1, 1970 row 29 : venezuela | president of the senate | dr. jose a. per | 1968 ? row 30 : venezuela | president of the chamber of deputies | prof. jorge dargen ? | 1968 ? ] Execute this SQL based on the above table: select count ( state ) where title = 772
0
[ header: pick # | nfl team | player | position | college row 1 : 417 | buffalo bills | wayne lineberry | linebacker | east carolina row 2 : 418 | atlanta falcons | paul williams | running back | california row 3 : 419 | philadelphia eagles | bob haack | tackle | linfield (ore.) row 4 : 420 | pittsburgh steelers | bill eppright | kicker | kent state row 5 : 421 | cincinnati bengals | terry story | tackle | georgia tech row 6 : 422 | boston patriots | george muse | linebacker | grambling row 7 : 423 | new orleans saints | chico kurzawski | defensive back | northwestern row 8 : 424 | detroit lions | gary steele | tight end | army row 9 : 425 | denver broncos | buster o'brien | quarterback | richmond row 10 : 426 | washington redskins | rich dobbert | defensive end | springfield (mass.) row 11 : 427 | miami dolphins | tom krallman | defensive end | xavier row 12 : 428 | green bay packers | john mack | running back | central missouri row 13 : 429 | new york giants | ken riley | linebacker | texas-arlington row 14 : 430 | houston oilers | hank autry | center | southern mississippi row 15 : 431 | chicago bears | bob long | wide receiver | texas a&m row 16 : 432 | san francisco 49ers | joe rushing | linebacker | memphis state row 17 : 433 | minnesota vikings | wendell housely | running back | texas a&m row 18 : 434 | san diego chargers | larry rentz | defensive back | florida row 19 : 435 | st. louis cardinals | george hummer | center | arizona state row 20 : 436 | cleveland browns | bob oliver | defensive end | abilene christian row 21 : 437 | los angeles rams | jim thorpe | defensive back | hofstra row 22 : 438 | kansas city chiefs | ralph jenkins | defensive back | tuskegee row 23 : 439 | dallas cowboys | bill bailey | defensive tackle | lewis & clark row 24 : 440 | oakland raiders | billy austin | tight end | arkansas am&n row 25 : 441 | baltimore colts | joe cowan | wide receiver | johns hopkins row 26 : 442 | new york jets | fred zirkie | defensive tackle | duke ] Execute this SQL based on the above table: select player + player where nfl team = 'boston patriots'
0
[ header: goal | date | venue | opponent | score | result | competition row 1 : 1 | 10 october 1998 | tyencastle park, e | estonia | 1-1 | 3-2 | ecqg9 row 2 : 2 | 10 october 1998 | tyencastle park, e | estonia | 3-2 | 3-2 | ecqg9 row 3 : 3 | 14 october 1998 | pittodrie stadium, aberdeen | faroe islands | 2-0 | 2-1 | ecqg9 row 4 : 4 | 4 september 1999 | olimpijski stadion | bosnia and herzegovin | 2-1 | 2-1 | ecqg9 row 5 : 5 | 24 march 2001 | hampden park, glasgow | belgium | 1-0 | 2-2 | wcqg6 row 6 : 6 | 24 march 2001 | hampden park, glasgow | belgium | 2-0 | 2-2 | wcqg6 row 7 : 7 | 28 march 2001 | hampden park, glasgow | san marino | 3-0 | 4-0 | wcqg6 ] Execute this SQL based on the above table: select goal where id = 3
3
[ header: # | picture | name | took office | left office | party row 1 : 1 | None | johan ferrier | 25 november 1975 | 13 august 1980 (resigned after a febr | independent row 2 : 2 | None | hendrick chin a s | 15 august 1980 | 4 february 1982 | pnr row 3 : 3 | None | fred ramdat misier | 8 february 1982 | 25 january 1988 | independent row 4 : 4 | 60px | ramsewak shankar | 25 january 1988 | 24 december 1990 (deposed) | vhp row 5 : 5 | 60px | johan kraag | 29 december 1990 | 16 september 1991 | nps row 6 : 6 | None | ronald venetiaan | 16 september 1991 | 15 september 1996 | nps row 7 : 7 | None | jules wijdenbosch | 15 september 1996 | 12 august 2000 | ndp row 8 : (6) | None | ronald venetiaan | 12 august 2000 | 12 august 2010 | nps row 9 : 8 | None | desi bouterse | 12 august 2010 | incumbent | ndp ] Execute this SQL based on the above table: select picture where took office = '25 january 1988'
60px
[ header: event | record | athlete | date | meet | place row 1 : 100 m | 10.97 | mark sherwin | 4 december 1993 | None | brisbane, australia row 2 : 100 m | 10.6 (ht) | mark sherwin | 19 november 1993 | None | brisbane, australia row 3 : 200 m | 22.46 (+0.8 m/s) | teinakore teit | 25 august 2000 | oceania championships | adelaide, australia row 4 : 400 m | 51.4 | john hermann | 4 december 1988 | None | sydney, australia row 5 : 400 m | 51.1 (ht) | harmon harmon | 3 june 1998 | None | nukuʻalofa, tonga row 6 : mile | 5:07.1 (ht) | alan jordon | 1960 | None | None row 7 : 3000 m | 9:39.3 (ht) | muriaroa ngaro | 1979 | None | rarotonga, cook islands row 8 : 5000 m | 16:41.7 (ht) | jubilee reu | 12 june 1971 | None | avarua, cook islands row 9 : 10000 m | 35:23.0 (ht) | muriaroa ngaro | 30 august 1979 | south pacific games | suva, fiji row 10 : half marathon | 1:27:04 | olfred maiteao | 11 october 1983 | None | rarotonga, cook islands row 11 : marathon | 2:51:26 | muriaroa ngaro | 3 may 1980 | None | avarua, cook islands row 12 : 110 m hurdles | 16.44 | akanoa william | 15 december 1987 | south pacific games | noumea, new caledonia row 13 : 400 m hurdles | 1:30.07 | casper mateariki | 25 october 2004 | None | rarotonga, cook islands row 14 : pole vault | 3.10 m | akanoa william | 18 december 1987 | south pacific games | noumea, new caledonia row 15 : long jump | 7.16 m | harmon harmon | 2 june 2003 | None | tereora, cook islands row 16 : triple jump | 13.63 m | harmon harmon | 16 october 2001 | None | tereora, cook islands row 17 : javelin throw | 57.18 m | daniel tutai | 24 september 2009 | pacific mini games | nikao, cook islands row 18 : 3000 m walk (track) | 15:56.0 | uaongo areai | july 1985 | None | tereora, cook islands row 19 : 10 km walk (road) | 57:27.0 | uaongo areai | 1 may 1980 | None | avarua, cook islands row 20 : 20 km walk (road) | 1:52:33 | uaongo areai | 1 may 1980 | None | avarua, cook islands row 21 : 4x100 m relay | 44.8 | cook islands teokotai | 2 august 1985 | south pacific mini games | avarua, cook islands row 22 : 4x400 m relay | 3:37.6 | cook islands teriapii matapo will | 19 april 1979 | None | avarua, cook islands ] Execute this SQL based on the above table: select place order by id desc limit 1
avarua, cook islands
[ header: no | episode | title | original airdate | viewers | nightly rank row 1 : 1 | 2-01 | "the return" (part 1) | 16 may 2011 | 0.927 | 12 row 2 : 2 | 2-02 | "baby bumps" (part 2) | 16 may 2011 | 0.76 | 16 row 3 : 3 | 2-03 | "dates, decisions & divorces" | 23 may 2011 | 0.905 | 12 row 4 : 4 | 2-04 | "together we are one" | 30 may 2011 | 0.953 | 11 row 5 : 5 | 2-05 | "the way you are" | 6 june 2011 | 0.954 | 11 row 6 : 6 | 2-06 | "behind closed doors" | 13 june 2011 | 0.982 | 13 row 7 : 7 | 2-07 | "cheating on your test" | 20 june 2011 | 0.995 | 11 row 8 : 8 | 2-08 | "two different places" | 22 june 2011 | 0.904 | 10 row 9 : 9 | 2-09 | "just keep talking" | 27 june 2011 | 0.938 | 10 row 10 : 10 | 2-10 | "episode ten" | 29 june 2011 | 1.07 | 6 row 11 : 11 | 2-11 | "episode eleven" | 6 july 2011 | 0.825 | 14 row 12 : 12 | 2-12 | "episode twelve" | 13 july 2011 | 0.96 | 9 row 13 : 13 | 2-13 | "episode thirteen" | 20 july 2011 | 0.997 | 6 ] Execute this SQL based on the above table: select original airdate where no = 13
20 july 2011
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | nigeria | 13 | 5 | 6 | 24 row 2 : 2 | south africa | 11 | 11 | 8 | 30 row 3 : 3 | ethiopia | 6 | 3 | 2 | 11 row 4 : 4 | kenya | 5 | 4 | 8 | 17 row 5 : 5 | tunisia | 2 | 2 | 1 | 5 row 6 : 6 | senegal | 2 | 1 | 3 | 6 row 7 : 7 | ghana | 2 | 0 | 4 | 6 row 8 : 8 | cameroon | 1 | 4 | 1 | 6 row 9 : 9 | egypt | 1 | 1 | 2 | 4 row 10 : 10 | mauritius | 1 | 0 | 1 | 2 row 11 : 11 | mozambique | 1 | 0 | 0 | 1 row 12 : 12 | algeria | 0 | 8 | 1 | 9 row 13 : 13 | madagascar | 0 | 2 | 1 | 3 row 14 : 14 | zimbabwe | 0 | 1 | 1 | 2 row 15 : 15 | tanzania | 0 | 1 | 0 | 1 row 16 : 15 | togo | 0 | 1 | 0 | 1 row 17 : 15 | burkina faso | 0 | 1 | 0 | 1 row 18 : 18 | central african republic | 0 | 0 | 1 | 1 row 19 : 18 | uganda | 0 | 0 | 1 | 1 row 20 : 18 | namibia | 0 | 0 | 1 | 1 row 21 : 18 | ivory coast | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select nation order by rank desc limit 1
central african republic
[ header: week # | theme | song choice | original artist | order # | result row 1 : audition | auditioner's choice | "tempos modernos" | lulu santos | None | advanced row 2 : theater | first solo | "a sombra da maldade" | cidade negra | None | advanced row 3 : top 30 | semi-final/group 3 | "noite do prazer" | claudio zoli | 10 | advanced row 4 : top 10 | my idol | "paraiso" | claudio zoli | 6 | safe row 5 : top 9 | male singers | "ultimo romantico" | lulu santos | 8 | safe row 6 : top 8 | female singers | "lanterna dos afo | cassia eller | 1 | safe row 7 : top 7 | birth year songs | "frisson" | tunai | 4 | safe row 8 : top 6 | jovem pan hits | "do seu lado" | jota quest | 6 | safe row 9 : top 5 | jovem guarda | "o bom" | eduardo araujo | 3 | safe row 10 : top 5 | jovem guarda | "vem me ajudar" | the fevers | 8 | safe row 11 : top 4 | brazil regional | "eva" | radio taxi | 3 | safe row 12 : top 4 | brazil regional | "admiravel gado novo | ze ramalho | 7 | safe row 13 : top 3 | contestant's choice | "as sete vampiras | leo jaime | 2 | safe row 14 : top 3 | contestant's choice | "eu me rendo" | fabio junior | 5 | safe row 15 : top 2 | winner's single | "deixo a voz me | leandro lopes | 2 | winner row 16 : top 2 | challenging songs | "queixa" | caetano veloso | 4 | winner row 17 : top 2 | judge's choice | "quero te encon | kid abelha | 6 | winner row 18 : top 2 | best of the season | "paraiso" | claudio zoli | 8 | winner row 19 : top 2 | celebrity duet | "admiravel gado novo | ze ramalho | 10 | winner ] Execute this SQL based on the above table: select result order by order # desc limit 1
advanced
[ 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 count ( place )
8
[ header: no. | name | class | games | minutes | points | 2 points (made/attempts) | 2 points (%) | 3 points (made/attempts) | 3 points (%) | free throws (made/attempts) | free throws (%) | rebounds offensive | rebounds defensive | rebounds total | assists | turnovers | steals | blocked shots | personal fouls | fouls drawn row 1 : 4 | sarah vinci | 1 | 7 | 125 | 8 | 4/9 | 44 | None | None | None | None | 2 | 6 | 8 | 1 | 2 | 2 | 1 | 4 | 1 row 2 : 5 | cobi crispin | 4 | 7 | 180 | 72 | 33/77 | 43 | None | None | 6/14 | 43 | 13 | 34 | 47 | 11 | 13 | 4 | 1 | 18 | 17 row 3 : 6 | bridie kean | 4 | 7 | 109 | 16 | 7/26 | 27 | 0/1 | 0 | 2/8 | 25 | 5 | 27 | 32 | 6 | 4 | 6 | None | 8 | 8 row 4 : 7 | amanda carter | 1 | 3 | 38 | 7 | 3/5 | 60 | None | None | 1/1 | 100 | 4 | None | 4 | None | 1 | 1 | None | 1 | 1 row 5 : 8 | tina mckenzie | 3 | 2 | 18 | None | 0/2 | 0 | None | None | None | None | None | 4 | 4 | 2 | 1 | None | None | 2 | None row 6 : 9 | leanne del toso | 3.5 | 3 | 24 | 4 | 2/7 | 29 | None | None | None | None | 2 | 7 | 9 | 2 | 3 | None | None | 2 | 1 row 7 : 10 | clare nott | 1 | 7 | 212 | 37 | 18/32 | 56 | 0/1 | 0 | 1/7 | 14 | 6 | 14 | 20 | 7 | 7 | 4 | 3 | 10 | 4 row 8 : 11 | kylie gauci | 2 | 7 | 186 | 54 | 24/68 | 35 | 2/6 | 33 | 0/2 | 0 | 4 | 11 | 15 | 28 | 14 | 5 | None | 9 | 12 row 9 : 12 | shelley chaplin | 3.5 | 7 | 166 | 26 | 13/48 | 27 | 0/1 | 0 | 0/7 | 0 | 5 | 15 | 20 | 28 | 10 | 4 | None | 12 | 13 row 10 : 13 | sarah stewart | 3 | 7 | 83 | 25 | 12/27 | 44 | None | None | 1/5 | 20 | 4 | 12 | 16 | 12 | 2 | 2 | None | 7 | 6 row 11 : 14 | katie hill | 3 | 7 | 107 | 25 | 12/30 | 40 | None | None | 1/1 | 100 | 1 | 7 | 8 | 6 | 4 | 2 | None | 4 | 4 row 12 : 15 | amber merritt | 4.5 | 7 | 153 | 83 | 40/77 | 52 | 0/1 | 0 | 3/12 | 25 | 11 | 30 | 41 | 6 | 8 | 5 | 2 | 16 | 16 row 13 : None | team | None | None | None | None | None | None | None | None | None | None | 7 | 12 | 19 | None | None | None | None | None | None row 14 : None | team totals | None | None | None | 357 | 168/408 | 41 | 2/10 | 20 | 15/57 | 26 | 64 | 179 | 243 | 109 | 84 | 35 | 7 | 93 | 83 ] Execute this SQL based on the above table: select 3 points (%)
0, 0, 33, 0, 0, 20
[ header: map (coordinates) | municipality | area (square kilometers) (square miles) | population | mesoregion | microregion row 1 : 6°26′8′′s 36°38 | acari | 608.565 (234.967) | 11035 | central potiguar | serido oriental row 2 : 6°11′40′′s 35°9 | ares | 112.584 (43.469) | 12931 | leste potiguar | litoral sul row 3 : 5°41′50′′s 36°31 | fernando pedroza | 322.540 (124.533) | 2850 | central potiguar | angicos row 4 : 6°8′57′′s 35°26 | lagoa de pedras | 117.660 (45.429) | 6992 | agreste potiguar | agreste potiguar row 5 : 6°16′44′′s 35°22 | passagem | 41.235 (15.921) | 2899 | agreste potiguar | agreste potiguar row 6 : 6°6′36′′s 37°18 | patu | 319.932 (123.526) | 11964 | oeste potiguar | umarizal row 7 : 5°4′4′′s 36°46 | porto do mangue | 418.636 (161.635) | 5217 | oeste potiguar | vale do acu row 8 : 5°58′30′′s 38°9 | sao francisco do o | 75.550 (29.170) | 3874 | oeste potiguar | pau dos ferros row 9 : 6°6′36′′s 37°57 | serrinha dos pintos | 122.644 (47.353) | 4538 | oeste potiguar | umarizal row 10 : 6°20′53′′s 35°22 | varzea | 67.245 (25.963) | 5227 | agreste potiguar | agreste potiguar ] Execute this SQL based on the above table: select municipality where municipality = 'patu'
patu
[ header: stage | date | route | terrain | length | winner row 1 : 1 | 22 june | rennes - lisieux | plain stage | 215 km (134 mi) | edward sels (bel) row 2 : 2 | 23 june | lisieux - amiens | plain stage | 208 km (129 mi) | andre darrigade (fra row 3 : 3a | 24 june | amiens - forest | plain stage | 197 km (122 mi) | bernard vandekerkhove ( row 4 : 4 | 25 june | forest - metz | plain stage | 292 km (181 mi) | rudi altig (ger) row 5 : 5 | 26 june | metz - freiburg | plain stage | 161 km (100 mi) | willy derboven (bel) row 6 : 6 | 27 june | freiburg - besancon | plain stage | 200 km (120 mi) | henk nijdam (n row 7 : 7 | 28 june | besancon - thonon | plain stage | 195 km (121 mi) | jan janssen (ned) row 8 : 8 | 29 june | thonon-les-bains | stage with mountain(s) | 249 km (155 mi) | federico bahamontes (es row 9 : 9 | 30 june | briancon - monaco | stage with mountain(s) | 239 km (149 mi) | jacques anquetil (fr row 10 : 10a | 1 july | monaco - hyeres | plain stage | 187 km (116 mi) | jan janssen (ned) row 11 : 10b | 1 july | hyeres - toulon | individual time trial | 21 km (13 mi) | jacques anquetil (fr row 12 : 11 | 2 july | toulon - montpellier | plain stage | 250 km (160 mi) | edward sels (bel) row 13 : 12 | 3 july | montpellier - perpignan | plain stage | 174 km (108 mi) | jo de roo (ne row 14 : 13 | 4 july | perpignan - andorra | stage with mountain(s) | 170 km (110 mi) | julio jimenez ( row 15 : 15 | 7 july | toulouse - luchon | stage with mountain(s) | 203 km (126 mi) | raymond poulidor (fra row 16 : 16 | 8 july | luchon - pau | stage with mountain(s) | 197 km (122 mi) | federico bahamontes (es row 17 : 17 | 9 july | peyrehorade - bayonne | individual time trial | 43 km (27 mi) | jacques anquetil (fr row 18 : 18 | 10 july | bayonne - bordeaux | plain stage | 187 km (116 mi) | andre darrigade (fra row 19 : 19 | 11 july | bordeaux - brive | plain stage | 215 km (134 mi) | edward sels (bel) row 20 : 20 | 12 july | brive - puy de dome | stage with mountain(s) | 217 km (135 mi) | julio jimenez ( row 21 : 21 | 13 july | clermont-ferrand - | plain stage | 311 km (193 mi) | jean stablinski (fra) ] Execute this SQL based on the above table: select stage where id = ( select id where stage = 9 ) - 1
8
[ header: # | date | winner | score | location | notes row 1 : 47 | december 31, 1971 | west | 17-13 | san francisco, ca | None row 2 : 48 | december 30, 1972 | east | 9-3 | san francisco, ca | None row 3 : 49 | december 29, 1973 | east | 35-7 | san francisco, ca | None row 4 : 50 | december 28, 1974 | east | 16-14 | stanford, ca | None row 5 : 51 | january 3, 1976 | west | 21-14 | stanford, ca | None row 6 : 53 | december 31, 1977 | west | 23-3 | stanford, ca | None row 7 : 54 | january 6, 1979 | east | 56-17 | stanford, ca | None row 8 : 56 | january 10, 1981 | east | 21-3 | stanford, ca | None row 9 : 57 | january 9, 1982 | west | 20-13 | stanford, ca | None row 10 : 58 | january 15, 1983 | east | 26-25 | stanford, ca | None row 11 : 59 | january 7, 1984 | east | 27-19 | stanford, ca | None row 12 : 60 | january 5, 1985 | west | 21-10 | stanford, ca | None row 13 : 61 | january 11, 1986 | east | 18-7 | stanford, ca | None row 14 : 62 | january 10, 1987 | west | 24-21 | stanford, ca | None row 15 : 64 | january 15, 1989 | east | 24-6 | stanford, ca | None row 16 : 65 | january 21, 1990 | west | 22-21 | stanford, ca | None row 17 : 66 | january 26, 1991 | west | 24-21 | stanford, ca | None row 18 : 67 | january 19, 1992 | west | 14-6 | stanford, ca | None row 19 : 68 | january 24, 1993 | east | 31-17 | stanford, ca | None row 20 : 69 | january 15, 1994 | west | 29-28 | stanford, ca | None row 21 : 70 | january 14, 1995 | west | 30-28 | stanford, ca | None row 22 : 73 | january 10, 1998 | west | 24-7 | stanford, ca | None row 23 : 75 | january 15, 2000 | east | 35-21 | stanford, ca | None row 24 : 77 | january 12, 2002 | west | 21-13 | san francisco, ca | None row 25 : 78 | january 11, 2003 | east | 20-17 | san francisco, ca | None row 26 : 79 | january 10, 2004 | west | 28-7 | san francisco, ca | None row 27 : 80 | january 15, 2005 | east | 45-27 | san francisco, ca | None row 28 : 81 | january 21, 2006 | west | 35-31 | san antonio, | None row 29 : 82 | january 20, 2007 | west | 21-3 | houston, tx | None row 30 : 83 | january 19, 2008 | west | 31-13 | houston, tx | None row 31 : 84 | january 17, 2009 | east | 24-19 | houston, tx | None row 32 : 85 | january 23, 2010 | east | 13-10 | orlando, fl | notes row 33 : 86 | january 22, 2011 | east | 25-8 | orlando, fl | notes row 34 : 87 | january 21, 2012 | west | 24-17 | st. petersburg, f | notes row 35 : 89 | january 18, 2014 | east | 23-13 | st. petersburg, f | notes ] Execute this SQL based on the above table: select # where score = '20-17'
78
[ header: date | event | headline act(s) | supporting act(s) row 1 : july 2002 | move festival | david bowie, new order, green day | None row 2 : september 2002 | None | oasis | richard ashcroft row 3 : july 2003 | move festival | r.e.m | john squire, badly drawn boy row 4 : july 2004 | move festival | the cure, morrissey | None row 5 : june 2006 | None | richard ashcroft | razorlight row 6 : june 2006 | None | foo fighters | the strokes, angels & airwave row 7 : july 2007 | 'mini-festival' | arctic monkeys | supergrass, the coral, the parrots row 8 : june 2008 | world tour | radiohead | None row 9 : august 2008 | accelerate tour | r.e.m | None row 10 : june 2009 | circus tour | take that | the script, lady gaga row 11 : september 2009 | suicide tour | coldplay | jay-z row 12 : june 2010 | None | green day | frank turner row 13 : september 2010 | None | muse | editors, band of skulls, pulled apart by row 14 : june 2011 | None | bon jovi | None row 15 : june 2011 | None | kings of leon | white lies, mona ] Execute this SQL based on the above table: select count ( * )
15
[ header: administrative area | area km2 | area sq mi | population | administrative centre row 1 : saint helena | 122 | 47 | 5809 | jamestown row 2 : ascension island | 91 | 35 | 1532 | georgetown row 3 : tristan da cunha | 184 | 71 | 388 | edinburgh of the seven seas row 4 : tristan da cunha | 98 | 38 | 382 | edinburgh of the seven seas row 5 : inaccessible island | 14 | 5 | 0 | denstone hut row 6 : nightingale island | 3.2 | 1 | 0 | west landing row 7 : gough island | 68 | 26 | 6 | transvaal bay row 8 : total | 397 | 153 | 7729 | jamestown ] Execute this SQL based on the above table: select area sq mi where administrative centre = 'edinburgh of the seven seas'
71, 38
[ header: year | title | role | notes row 1 : 1995 | polio water | diane | short film row 2 : 1996 | new york crossing | drummond | television film row 3 : 1997 | lawn dogs | devon stockard | None row 4 : 1999 | pups | rocky | None row 5 : 1999 | notting hill | 12-year-old actress | None row 6 : 1999 | the sixth sense | kyra collins | None row 7 : 2000 | paranoid | theresa | None row 8 : 2000 | skipped parts | maurey pierce | None row 9 : 2000 | frankie & hazel | francesca 'frankie' | television film row 10 : 2001 | lost and delirious | mary 'mouse' bedford | None row 11 : 2001 | julie johnson | lisa johnson | None row 12 : 2001 | tart | grace bailey | None row 13 : 2002 | a ring of endless light | vicky austin | television film row 14 : 2003 | octane | natasha 'nat' | None row 15 : 2006 | the oh in ohio | kristen taylor | None row 16 : 2007 | closing the ring | young ethel ann | None row 17 : 2007 | st trinian's | jj french | None row 18 : 2007 | virgin territory | pampinea | None row 19 : 2008 | assassination of a high school | francesca fachini | None row 20 : 2009 | walled in | sam walczak | None row 21 : 2009 | homecoming | shelby mercer | None row 22 : 2010 | don't fade away | kat | None row 23 : 2011 | you and i | lana | None row 24 : 2012 | into the dark | sophia monet | None row 25 : 2012 | ben banks | amy | None row 26 : 2012 | apartment 1303 3d | lara slate | None row 27 : 2012 | cyberstalker | aiden ashley | television film row 28 : 2013 | bhopal: a prayer for rain | eva gascon | None row 29 : 2013 | a resurrection | jessie | also producer row 30 : 2013 | l.a. slasher | the actress | None row 31 : 2013 | gutsy frog | ms. monica | television film ] Execute this SQL based on the above table: select notes order by year limit 770
short film, television film, television film, television film, television film, also producer, television film
[ header: song | artists | release | year | notes row 1 : "all of you" | riz mc, aruba red, | microscope | 2012 | original 2011 recording does not feature plan b row 2 : "atomic" | labrinth, plan b | atomic | 2013 | None row 3 : "before i die" (remix) | professor green, narstie, | "before i die" | 2006 | None row 4 : "bring it back" | juse, j.b., | global casino | 2006 | None row 5 : "broken wings" | mc purple, doctor, plan b | eye of the tiger, vol. 1 | 2005 | None row 6 : "end credits" | chase & status, plan b | no more idols | 2011 | None row 7 : "everyday" (rusher remix) | shameless, example, plan b | "everyday (in a broken dream | 2007 | None row 8 : "fool yourself" | chase & status, plan b, | no more idols | 2011 | None row 9 : "harry" (plan b remix) | medison, skrein, | "harry" | 2010 | None row 10 : "how's it feel" | skrein, wyt | the eat up | 2007 | also appears on it's time 4 plan row 11 : "i wanna get next to you" ( | danielle senior, plan b, | "take you home" | 2006 | None row 12 : "last dayz" | skreintax, plan b | "scene stealers" | 2009 | None row 13 : "makin' love 2 hip hop" | plan b, skrein, | sharpest tool in the box | 2007 | None row 14 : "maybe" | skrein, shameless, plan | bless: the mixtape | 2007 | None row 15 : "more is enough" | epic man, plan b | "more is enough" | 2006 | also appears as bonus track on australian release of row 16 : "my eyes" | shameless, tb, plan b | bless: the mixtape | 2007 | None row 17 : "no hats no trainers" | shameless, plan b | smokers die younger | 2007 | None row 18 : "on it 08" | adam deacon, plan b | adulthood | 2008 | None row 19 : "past that" | shameless, plan b | above board | 2006 | None row 20 : "pieces" | chase & status, plan b | more than alot | 2008 | None row 21 : "play ur position" | juse, conspicuous, ane | global casino | 2006 | None row 22 : "polarised nation" | carly bond, ripper, hitman | eye of the tiger, vol. 1 | 2005 | None row 23 : "reveal your inner self" (plan | killa kela, plan b | "reveal your inner self" | 2007 | None row 24 : "shifty" | riz mc, sway, | shifty | 2009 | None row 25 : "shots echo" | the mitchell brothers, plan b, | dressed for the occasion | 2007 | None ] Execute this SQL based on the above table: select abs ( ( select year where song = '"i wanna get next to you" (remix)' ) - ( select year where song = '"last dayz"' ) )
3
[ header: season | greek league | greek cup | europe | coach | roster row 1 : 1928-29 | champion | None | None | nikos nisiot | christos svolopoulos row 2 : 1938-39 | champion | None | None | None | None row 3 : 1949-50 | finalist | None | None | None | None row 4 : 1950-51 | finalist | None | None | None | None row 5 : 1952-53 | champion | None | None | None | themis cholevas, panagiot row 6 : 1953-54 | finalist | None | None | None | None row 7 : 1956-57 | champion | None | None | None | antonis christeas, row 8 : 1969-70 | 3rd place | _ | _ | None | vasilis goumas row 9 : 1974-75 | _ | None | korac cup last 32 | None | vasilis goumas row 10 : 1977-78 | 3rd place | last 16 | korac cup last 16 | None | None row 11 : 1978-79 | _ | last 8 | korac cup last 32 | None | None row 12 : 1980-81 | _ | last 16 | korac cup last 32 | None | None row 13 : 1986-87 | _ | finalist | cup winners' cup last 32 | nikos pavlou | giannopoulos, stamati row 14 : 2004-05 | 12th place | last 16 | None | manos manouselis, | gary trent, miroslav beric row 15 : 2008-09 | 6th place | last 8 | eurocup last 16 | elias zouros | anthony grundy, jurica ] Execute this SQL based on the above table: select greek league where coach = 'elias zouros'
6th place
[ header: genre | year | title | role | episodes | notes row 1 : film | 1995 | timepiece | khris | None | None row 2 : tv series | 1997 | nash bridges | reggie harell | "dirty tricks" | 4 episodes total row 3 : film | 1998 | around the fire | trace | None | None row 4 : short film | 1999 | king of the bingo game | sonny | None | None row 5 : tv series | 1999 | nash bridges | hassam desmond kenner | "power play" "girl trouble" | 4 episodes total row 6 : film | 1999 | true crime | wally cartwright | None | None row 7 : tv series | 2000 | nash bridges | trumpet player | "skin trade" | 4 episodes total row 8 : film | 2000 | desi's looking for a new girl | mother | None | None row 9 : film | 2003 | kung phooey! | roy lee | None | None row 10 : tv series | 2004 | law & order | ronald gumer | "hands free" | 2 episodes total row 11 : film | 2006 | freedomland | male patient | None | None row 12 : tv series | 2006 | law & order: criminal intent | sergeant ev sides | "to the bone" | 2 episodes total row 13 : tv series | 2006 | law & order: trial by jury | gus | "eros in the upper eighties" | None row 14 : tv series | 2008 | the big gay sketch show | None | None | 8 episodes; 16 episodes total row 15 : tv series | 2008 | law & order | donnie | "sweetie" | 2 episodes total row 16 : film | 2008 | miracle at st. anna | west indian postal customer | None | None row 17 : tv series | 2009 | great performances | mr. franklin/m | "passing strange" | musical telecast row 18 : tv series | 2010 | the big gay sketch show | None | None | 8 episodes; 16 episodes total row 19 : tv series | 2010 | law & order: criminal intent | andre lanier | "love sick" | 2 episodes total row 20 : film | 2012 | lincoln | private harold green | None | None row 21 : film | 2012 | red hook summer | blessing rowe | None | None row 22 : film | 2013 | 42 | lawson bowman | None | None row 23 : film | 2013 | hairbrained | finals moderator | None | None row 24 : film | 2013 | the butler | freddie fallows | None | None row 25 : film | 2013 | 400 boys | talon | None | None ] Execute this SQL based on the above table: select role where role in ( 'freddie fallows' , 'reggie harell' ) order by title - role desc limit 1
reggie harell
[ header: team | outgoing manager | manner of departure | date of vacancy | replaced by | date of appointment | position in table row 1 : crystal palace | peter taylor | contract terminated | 8 october 2007 | neil warnock | 11 october 2007 | 19th row 2 : leicester city | martin allen | mutual consent | 29 august 2007 | gary megson | 13 september 2007 | 9th row 3 : queens park rangers | john gregory | contract terminated | 1 october 2007 | luigi de canio | 29 october 2007 | 24th row 4 : norwich city | peter grant | mutual consent | 8 october 2007 | glenn roeder | 30 october 2007 | 22nd row 5 : leicester city | gary megson | mutual consent (hired by bolton wander | 24 october 2007 | ian holloway | 22 november 2007 | 19th row 6 : burnley | steve cotterill | mutual consent | 8 november 2007 | owen coyle | 22 november 2007 | 15th row 7 : preston north end | paul simpson | contract terminated | 13 november 2007 | alan irvine | 20 november 2007 | 21st row 8 : plymouth argyle | ian holloway | resigned (hired by leice | 21 november 2007 | paul sturrock | 27 november 2007 | 7th row 9 : coventry city | iain dowie | contract terminated | 11 february 2008 | chris coleman | 19 february 2008 | 19th row 10 : sheffield united | bryan robson | mutual consent | 14 february 2008 | kevin blackwell | 14 february 2008 | 16th row 11 : queens park rangers | luigi de canio | mutual consent | 8 may 2008 | iain dowie | 14 may 2008 | 14th ] Execute this SQL based on the above table: select count ( position in table )
11
[ header: rank | team | names | time | qualification row 1 : 1 | france | christophe capelle philippe | 4:09.570 | q row 2 : 2 | italy | adler capelli mauro trent | 4:09.695 | q row 3 : 3 | australia | bradley mcgee stuart | 4:09.750 | q row 4 : 4 | ukraine | bohdan bondaryev ol | 4:11.545 | q row 5 : 5 | russia | eduard gritsun | 4:11.665 | q row 6 : 6 | united states | dirk copeland mariano friedick | 4:11.950 | q row 7 : 7 | spain | juan martinez juan | 4:12.780 | q row 8 : 8 | new zealand | gregory henderson bren | 4:15.140 | q row 9 : 9 | germany | robert bartko gui | 4:15.140 | None row 10 : 10 | great britain | robert hayes matthew | 4:16.510 | None row 11 : 11 | lithuania | arturas kasputis re | 4:16.050 | None row 12 : 12 | netherlands | jarich bakker robertus | 4:16.175 | None row 13 : 13 | denmark | frederik bertelsen j | 4:16.175 | None row 14 : 14 | argentina | walter perez edgardo | 4:20.840 | None row 15 : 15 | south korea | dae-hong chun young chung | 4:25.215 | None row 16 : 16 | chile | jose medina luis sepulve | 4:25.960 | None row 17 : 17 | colombia | john garcia marlon perez | 4:26.400 | None ] Execute this SQL based on the above table: select names where rank >= 15
dae-hong chun young chung jong-mo kim younk-sik noh, jose medina luis sepulveda marco arriagada marcelo arriagada, john garcia marlon perez yovani lopez jos velasquez de la cuesta
[ header: series | year | rank | average audience share row 1 : 1 | 1992 | None | 14.50m row 2 : 2 | 1993 | None | None row 3 : 3 | 1993 | None | None row 4 : 4 | 1994 | None | None row 5 : 5 | 1995 | None | None row 6 : 6 | 1996 | None | 14.60m row 7 : 7 | 1997-1998 | None | 15.82m row 8 : 8 | 1998-1999 | 5th | 14.35m row 9 : 9 | 1999-2000 | 6th | 13.71m row 10 : 10 | 2000-2001 | 5th | 13.21m row 11 : 11 | 2001-2002 | 6th | 10.77m row 12 : 12 | 2002-2003 | 7th | 11.29m row 13 : 13 | 2003-2004 | 8th | 13.11m row 14 : 14 | 2004-2005 | 10th | 8.77m row 15 : 15 | 2005-2006 | 10th | 8.42m row 16 : 16 | 2006-2007 | 8th | 7.80m row 17 : 17 | 2007-2008 | 11th | 6.90m row 18 : 18 | 2008-2010 | 15th | 5.44m (incl. itv ] Execute this SQL based on the above table: select rank order by series desc limit 1
15th
[ header: title | alternate title(s) | year | manufacturer | genre(s) | max. players row 1 : ocean hunter, the | None | 1998 | sega | shooting gallery | 2 row 2 : off road challenge | None | 1997 | midway | racing | 1 row 3 : off road thunder | None | 2000 | midway | racing | 1 row 4 : off the wall | None | 1991 | atari games | breakout | 2 row 5 : oh my god! | None | 1993 | atlus | puzzle | 2 row 6 : oishii puzzle wa irim | None | 1993 | sunsoft | puzzle | 2 row 7 : oli-boo-chu | None | 1982 | irem | None | 2 row 8 : ollie king | None | 2004 | smilebit | None | None row 9 : omega fighter | None | 1989 | upl | scrolling shooter | 2 row 10 : omega race | None | 1982 | midway | multidirectional shooter | 1 row 11 : one shot one kill | None | None | playmark | shooting gallery | 2 row 12 : onna sansirou - ty | None | 1985 | taito | None | 2 row 13 : operation thunderbolt | None | 1988 | taito | shooting gallery | 2 row 14 : operation tiger | None | 1998 | taito | shooting gallery | 2 row 15 : operation wolf | None | 1987 | taito | shooting gallery | 2 row 16 : operation wolf 3 | None | 1994 | taito | shooting gallery | 2 row 17 : orbit | None | 1978 | atari | multi-directional shooter | 2 row 18 : ordyne | None | 1988 | namco | scrolling shooter | 2 row 19 : oriental legend | None | 1997 | international game system | beat 'em up | 4 row 20 : osman | cannon dancer | 1996 | mitchell corporation | platformer | 1 row 21 : otomedius | None | 2007 | konami | scrolling shooter | None row 22 : outfoxies, the | None | 1995 | namco | shoot'em up/ fighting game | 2 row 23 : outlaw | None | 1976 | atari | shooter | 1 row 24 : outrun | None | 1986 | sega am2 | racing | 1 row 25 : out zone | None | 1990 | toaplan | scrolling shooter | 2 row 26 : outrun 2 | None | 2003 | sega am2 | racing | 1 row 27 : outrunners | None | 1993 | sega am1 | racing | 2 row 28 : outtrigger | None | 1999 | sega am2 | first person shooter | None row 29 : over drive | None | 1990 | konami | racing | 1 row 30 : over rev | None | 1997 | jaleco | racing | 2 row 31 : over top | None | 1996 | alpha denshi | racing | 2 row 32 : ozma wars | None | 1978 | snk | fixed shooter | 2 ] Execute this SQL based on the above table: select genre(s) where year = 1993
puzzle, puzzle, racing
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | cuba | 4 | 3 | 2 | 9 row 2 : 2 | canada | 4 | 2 | 1 | 7 row 3 : 3 | united states | 2 | 0 | 2 | 4 row 4 : 4 | mexico | 1 | 1 | 0 | 2 row 5 : 5 | ecuador | 1 | 0 | 0 | 1 row 6 : 6 | argentina | 0 | 4 | 3 | 7 row 7 : 7 | brazil | 0 | 2 | 2 | 4 row 8 : 8 | chile | 0 | 0 | 1 | 1 row 9 : 8 | venezuela | 0 | 0 | 1 | 1 row 10 : total | total | 12 | 12 | 12 | 36 ] Execute this SQL based on the above table: select nation where bronze < ( select bronze where nation = 'chile' ) order by bronze desc limit 1
mexico
[ header: name | state | status | title | appointment | credentials presented | termination of mission | notes row 1 : henry f. grady | california | non-career appointee | ambassador extraordinary and plenipotentiary | apr 10, 1947 | jul 1, 1947 | left post, jun 22, 1948 | accredited also to nepal; resident at row 2 : chester bowles | connecticut | non-career appointee | ambassador extraordinary and plenipotentiary | oct 10, 1951 | nov 1, 1951 | left post, mar 23, 1953 | also accredited to nepal; resident at row 3 : george v. allen | north carolina | foreign service officer | ambassador extraordinary and plenipotentiary | mar 11, 1953 | may 4, 1953 | left post, nov 30, 1954 | also accredited to nepal; resident at row 4 : john sherman cooper | kentucky | non-career appointee | ambassador extraordinary and plenipotentiary | feb 4, 1955 | apr 9, 1955 | left post, apr 23, 1956 | also accredited to nepal; resident at row 5 : john kenneth galbraith | massachusetts | non-career appointee | ambassador extraordinary and plenipotentiary | mar 29, 1961 | apr 18, 1961 | left post, jul 12, 1963 | None row 6 : chester bowles | connecticut | non-career appointee | ambassador extraordinary and plenipotentiary | may 3, 1963 | jul 19, 1963 | left post, apr 21, 1969 | None row 7 : kenneth b. keating | new york | non-career appointee | ambassador extraordinary and plenipotentiary | may 1, 1969 | jul 2, 1969 | left post, jul 26, 1972 | None row 8 : daniel p. moy | new york | non-career appointee | ambassador extraordinary and plenipotentiary | feb 8, 1973 | feb 28, 1973 | left post, jan 7, 1975 | None row 9 : robert f. goheen | new jersey | non-career appointee | ambassador extraordinary and plenipotentiary | apr 26, 1977 | may 26, 1977 | left post, dec 10, 1980 | None row 10 : harry g. barnes, | maryland | foreign service officer | ambassador extraordinary and plenipotentiary | oct 1, 1981 | nov 17, 1981 | left post, jun 27, 1985 | None row 11 : john gunther dean | new york | foreign service officer | ambassador extraordinary and plenipotentiary | aug 2, 1985 | sep 6, 1985 | left post nov 7, 1988 | None row 12 : john r. hubbard | california | non-career appointee | ambassador extraordinary and plenipotentiary | nov 22, 1988 | dec 27, 1988 | left post nov 15, 1989 | commissioned during a recess of the row 13 : william clark, jr | district of columbia | foreign service officer | ambassador extraordinary and plenipotentiary | oct 10, 1989 | dec 22, 1989 | left post, jul 2, 1992 | None row 14 : thomas r. pickering | new jersey | foreign service officer | ambassador extraordinary and plenipotentiary | apr 6, 1992 | aug 14, 1992 | left post, mar 23, 1993 | kenneth brill served as charge row 15 : frank g. wisner | district of columbia | foreign service officer | ambassador extraordinary and plenipotentiary | jun 9, 1994 | aug 2, 1994 | left post, july 12, 1997 | None ] Execute this SQL based on the above table: select appointment where id = ( select id where appointment = 'apr 6, 1992' ) - 1
oct 10, 1989
[ header: n | p | nat. | name | age | moving from | type | transfer window | ends | transfer fee row 1 : 20 | rw | por | nuno capucho | 31 | porto | transfer | summer | 2005 | £0.67m row 2 : 15 | cb | georgia | zurab khizanishvili | 21 | dundee | transfer | summer | 2006 | free row 3 : 16 | lb | ita | paolo vanoli | 30 | bologna | transfer | summer | 2005 | free row 4 : 25 | cb | nor | henning berg | 33 | blackburn rovers | transfer | summer | 2004 | free row 5 : 4 | cm | bra | emerson | 31 | atletico madrid | transfer | summer | 2005 | free row 6 : 9 | cf | nor | egil østenstad | 31 | blackburn rovers | transfer | summer | 2004 | free row 7 : 37 | lm | tun | hamed namouchi | 19 | cannes | transfer | None | 2005 | free row 8 : None | cm | fra | marc kalenga | 18 | auxerre | transfer | None | 2004 | free row 9 : 11 | cm | sco | gavin rae | 26 | dundee | transfer | winter | 2007 | £0.25m row 10 : 5 | cb | ned | frank de boer | 33 | galatasaray | transfer | winter | 2004 | free row 11 : 52 | cf | mkd | bajram fetai | 18 | b.93 | transfer | winter | 2006 | £0.2m ] Execute this SQL based on the above table: select transfer window where n < ( select n where transfer window = 'summer' )
summer, summer, summer, summer, winter, winter
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 5 | fernando alonso | renault | 56 | 1:31:33.736 | 1 | 10 row 2 : 2 | 16 | jarno trulli | toyota | 56 | 24.327 | 2 | 8 row 3 : 3 | 8 | nick heidfeld | williams-bmw | 56 | 32.188 | 10 | 6 row 4 : 4 | 10 | juan pablo montoya | mclaren-mercedes | 56 | 41.631 | 11 | 5 row 5 : 5 | 17 | ralf schumacher | toyota | 56 | 51.854 | 5 | 4 row 6 : 6 | 14 | david coulthard | red bull-cosworth | 56 | +1:12.543 | 8 | 3 row 7 : 7 | 1 | michael schumacher | ferrari | 56 | +1:19.988 | 13 | 2 row 8 : 8 | 15 | christian klien | red bull-cosworth | 56 | +1:20.835 | 7 | 1 row 9 : 9 | 9 | kimi raikkonen | mclaren-mercedes | 56 | +1:21.580 | 6 | None row 10 : 10 | 12 | felipe massa | sauber-petronas | 55 | +1 lap | 14 | None row 11 : 11 | 19 | narain karthikeyan | jordan-toyota | 54 | +2 laps | 17 | None row 12 : 12 | 18 | tiago monteiro | jordan-toyota | 53 | +3 laps | 18 | None row 13 : 13 | 21 | christijan albers | minardi-cosworth | 52 | +4 laps | 19 | None row 14 : ret | 2 | rubens barrichello | ferrari | 49 | handling | 12 | None row 15 : ret | 6 | giancarlo fisichella | renault | 36 | collision | 3 | None row 16 : ret | 7 | mark webber | williams-bmw | 36 | collision | 4 | None row 17 : ret | 11 | jacques villeneuve | sauber-petronas | 26 | spun off | 16 | None row 18 : ret | 3 | jenson button | bar-honda | 2 | engine | 9 | None row 19 : ret | 4 | anthony davidson | bar-honda | 2 | engine | 15 | None row 20 : ret | 20 | patrick friesacher | minardi-cosworth | 2 | spun off | 20 | None ] Execute this SQL based on the above table: select pos where no > ( select no where pos = 1 ) order by no limit 1
ret
[ header: place | position | number | name | league two | fa cup | league cup | fl trophy | total row 1 : 1 | mf | 4 | ryan hall | 10 | 1 | 0 | 3 | 14 row 2 : 2 | df | 6 | bilel mohsni | 13 | 0 | 0 | 0 | 13 row 3 : 3 | fw | 22 | liam dickinson | 10 | 1 | 0 | 1 | 12 row 4 : 4 | fw | 9 | neil harris | 9 | 0 | 0 | 1 | 10 row 5 : 5 | df | 15 | mark phillips | 7 | 0 | 1 | 0 | 8 row 6 : 6 | mf | 12 | kane ferdinand | 7 | 0 | 0 | 0 | 7 row 7 : 7 | mf | 8 | michael timlin | 4 | 0 | 0 | 0 | 4 row 8 : 8 | mf | 14 | dave martin | 3 | 0 | 0 | 0 | 3 row 9 : 8 | df | 3 | peter gilbert | 3 | 0 | 0 | 0 | 3 row 10 : 10 | fw | 24 | elliot benyon | 2 | 0 | 0 | 0 | 2 row 11 : 10 | fw | 37 | freddy eastwood | 2 | 0 | 0 | 0 | 2 row 12 : 12 | mf | 18 | ryan leonard | 1 | 0 | 0 | 0 | 1 row 13 : 12 | fw | 21 | blair sturrock | 0 | 0 | 0 | 1 | 1 row 14 : 12 | mf | 19 | jean-paul kalala | 1 | 0 | 0 | 0 | 1 row 15 : 12 | df | 16 | luke prosser | 1 | 0 | 0 | 0 | 1 row 16 : 12 | mf | 7 | anthony grant | 1 | 0 | 0 | 0 | 1 row 17 : 12 | df | 23 | chris barker | 1 | 0 | 0 | 0 | 1 row 18 : None | None | None | own goals | 4 | 0 | 0 | 0 | 4 row 19 : None | None | None | totals | 79 | 2 | 1 | 6 | 88 ] Execute this SQL based on the above table: select name where name != 'ryan leonard' and position = ( select position where name = 'ryan leonard' )
ryan hall, kane ferdinand, michael timlin, dave martin, jean-paul kalala, anthony grant
[ header: interval name | size (steps) | size (cents) | midi | just ratio | just (cents) | midi | error row 1 : perfect fifth | 42 | 700 | play (help·info) | 3:2 | 701.96 | play (help·info) | -1.96 row 2 : tridecimal tritone | 34 | 566.67 | play (help·info) | 18:13 | 563.38 | None | 3.28 row 3 : 11th harmonic | 33 | 550 | play (help·info) | 11:8 | 551.32 | play (help·info) | -1.32 row 4 : (15:11) augmented fourth | 32 | 533.33 | play (help·info) | 15:11 | 536.95 | None | -3.62 row 5 : perfect fourth | 30 | 500 | play (help·info) | 4:3 | 498.04 | play (help·info) | 1.96 row 6 : septimal narrow fourth | 28 | 466.66 | play (help·info) | 21:16 | 470.78 | play (help·info) | -4.11 row 7 : 17:13 narrow fourth | 28 | 466.66 | play (help·info) | 17:13 | 464.43 | None | 2.24 row 8 : tridecimal major third | 27 | 450 | play (help·info) | 13:10 | 454.21 | play (help·info) | -4.21 row 9 : septendecimal supermajor third | 27 | 450 | play (help·info) | 22:17 | 446.36 | None | 3.64 row 10 : septimal major third | 26 | 433.33 | play (help·info) | 9:7 | 435.08 | play (help·info) | -1.75 row 11 : undecimal major third | 25 | 416.67 | play (help·info) | 14:11 | 417.51 | play (help·info) | -0.84 row 12 : major third | 23 | 383.33 | play (help·info) | 5:4 | 386.31 | play (help·info) | -2.98 row 13 : neutral third | 21 | 350 | play (help·info) | 11:9 | 347.41 | play (help·info) | 2.59 row 14 : septendecimal supraminor third | 20 | 333.33 | None | 17:14 | 336.13 | None | -2.8 row 15 : minor third | 19 | 316.67 | play (help·info) | 6:5 | 315.64 | play (help·info) | 1.03 row 16 : tridecimal minor third | 17 | 283.33 | play (help·info) | 13:11 | 289.21 | play (help·info) | -5.88 row 17 : septimal minor third | 16 | 266.67 | play (help·info) | 7:6 | 266.87 | play (help·info) | -0.2 row 18 : tridecimal 5/4 tone | 15 | 250 | play (help·info) | 15:13 | 247.74 | None | 2.26 row 19 : whole tone, major tone | 12 | 200 | play (help·info) | 9:8 | 203.91 | play (help·info) | -3.91 row 20 : whole tone, minor tone | 11 | 183.33 | play (help·info) | 10:9 | 182.4 | play (help·info) | 0.93 row 21 : lesser undecimal neutral second | 9 | 150 | play (help·info) | 12:11 | 150.64 | play (help·info) | -0.64 row 22 : greater tridecimal 2/3 tone | 8 | 133.33 | None | 13:12 | 138.57 | None | -5.24 row 23 : great limma | 8 | 133.33 | None | 27:25 | 133.24 | None | 0.09 row 24 : lesser tridecimal 2/3rd tone | 8 | 133.33 | play (help·info) | 14:13 | 128.3 | None | 5.04 ] Execute this SQL based on the above table: select count ( midi ) where midi = 'None'
0
[ header: year | car | start | qual | rank | finish | laps | led | retired row 1 : 1956 | 14 | 23 | 142.535 | 16 | 7 | 200 | 0 | running row 2 : 1957 | 7 | 16 | 141.016 | 19 | 9 | 200 | 0 | running row 3 : 1958 | 14 | 4 | 144.881 | 4 | 26 | 1 | 0 | crash t3 row 4 : 1959 | 74 | 7 | 144.023 | 8 | 12 | 200 | 0 | running row 5 : 1960 | 44 | 25 | 143.363 | 23 | 8 | 200 | 0 | running row 6 : 1962 | 96 | 19 | 146.157 | 32 | 33 | 12 | 0 | engine row 7 : 1963 | 86 | 24 | 148.289 | 26 | 26 | 74 | 0 | valve row 8 : 1964 | 54 | 23 | 153.381 | 10 | 19 | 88 | 0 | piston row 9 : 1965 | 54 | 10 | 156.427 | 11 | 24 | 58 | 0 | piston row 10 : 1967 | 46 | 28 | 162.58 | 32 | 11 | 189 | 0 | flagged row 11 : 1968 | 16 | 24 | 163.495 | 24 | 11 | 196 | 0 | flagged row 12 : totals | totals | totals | totals | totals | totals | 1418 | 0 | None ] Execute this SQL based on the above table: select sum ( retired + retired )
0
[ header: # | title | time | performer(s) | songwriters | producer(s) | samples and notes row 1 : 1 | "everything man" | 3:16 | talib kweli, | talib kweli greene | madlib | "everything man" by daybreak row 2 : 3 | "hostile gospel (part 1) (deliver | 5:22 | talib kweli | talib kweli greene | just blaze | "deliverance" by space row 3 : 4 | "say something" | 3:43 | talib kweli, | talib kweli greene | will.i.am | "theme for la's team" by row 4 : 6 | "holy moly" | 2:08 | talib kweli | talib kweli greene | pete rock | "border song (holy moses)" row 5 : 7 | "eat to live" | 3:07 | talib kweli | talib kweli greene | madlib | "ghetto lament" by row 6 : 11 | "more or less" | 4:40 | talib kweli, di | talib kweli greene | hi-tek | None row 7 : 13 | "hot thing" | 3:48 | talib kweli, will | talib kweli greene | will.i.am | "we're no exception" by john row 8 : 14 | "space fruit" (interlude) | 1:31 | sa-ra | om'mas keith, sh | sa-ra | None row 9 : 16 | "oh my stars" | 3:40 | talib kweli, | talib kweli greene | dj khalil | None row 10 : 18 | "go with us" | 3:59 | talib kweli, strong | talib kweli greene | e. jones | None row 11 : 19 | "hostile gospel (part 2) (deliver | 4:21 | talib kweli, si | talib kweli greene | dj khalil | "tight rope" by steel pulse row 12 : 21 | "hush" | 3:55 | talib kweli, | talib kweli greene | chad beatz | lp edition #19 & itune ] Execute this SQL based on the above table: select time order by time desc limit 1
5:22
[ header: week of | tournament | champions | runners-up | semifinalists | quarterfinalists row 1 : 7 november | topper south american open buenos aires | alex corretja 6-3 5-7 | javier frana | francisco clavet kare | alberto berasategui lui row 2 : 7 november | topper south american open buenos aires | sergio casal emilio s | tomas carbonell francisco ro | francisco clavet kare | alberto berasategui lui row 3 : 7 november | kremlin cup moscow | alexander volkov 6-2 6-4 | chuck adams | jacco eltingh marc | petr korda danie row 4 : 7 november | kremlin cup moscow | jacco eltingh paul | david adams andrei | jacco eltingh marc | petr korda danie row 5 : 7 november | european community championships antwerp, be | pete sampras 7-6(5) | magnus larsson | jared palmer olivier delait | byron black patrick rafter row 6 : 7 november | european community championships antwerp, be | jan apell jonas b | hendrik jan davids se | jared palmer olivier delait | byron black patrick rafter row 7 : 14 november | ibm atp tour world championships | pete sampras 4-6 | boris becker | andre agassi sergi | michael chang alberto row 8 : 21 november | ibm atp tour world championships | jan apell jonas b | todd woodbridge mark woodforde | david adams / andre | david adams / andre row 9 : 28 november | davis cup by nec: final moscow | sweden 4-1 | russia | None | None ] Execute this SQL based on the above table: select runners-up where week of = '21 november'
todd woodbridge mark woodforde
[ header: representative | title | from | to | appointed by row 1 : william shaler | special diplomatic agent | 1810 | 1812 | james madison row 2 : john h. robinson | special diplomatic agent | 1812 | 1814 | james madison row 3 : joel roberts po | minister | 1825 | 1829 | john quincy adams row 4 : anthony butler | charge d'affaires | 1829 | 1835 | None row 5 : powhatan ellis | charge d'affaires | 1836 | None | andrew jackson row 6 : powhatan ellis | minister | 1839 | 1842 | martin van buren row 7 : waddy thompson, j | minister | 1842 | 1844 | john tyler row 8 : gilbert l. tho | special diplomatic agent | 1844 | None | john tyler row 9 : wilson shannon | minister | 1844 | 1845 | john tyler row 10 : john slidell | minister | 1845 | None | james k. polk row 11 : david conner | special diplomatic agent | 1846 | None | james k. polk row 12 : nathan clifford | minister | 1848 | 1849 | james k. polk row 13 : robert greenhow | special diplomatic agent | 1850 | None | None row 14 : george g. goss | special diplomatic agent | 1850 | 1852 | None row 15 : edward smith | special diplomatic agent | 1852 | None | millard fillmore row 16 : george e. cooper | special diplomatic agent | 1853 | None | None row 17 : christopher l. ward | special diplomatic agent | 1853 | None | None row 18 : richard s. spofford | special diplomatic agent | 1854 | None | franklin pierce row 19 : william m. churchwell | special diplomatic agent | 1858 | None | james buchanan row 20 : alfred mordecai | special diplomatic agent | 1858 | None | james buchanan row 21 : duff green | special diplomatic agent | 1859 | None | james buchanan row 22 : david r. porter | special diplomatic agent | 1859 | None | james buchanan row 23 : robert milligan mclane | minister | 1859 | 1860 | james buchanan row 24 : henry roy de la reintrie | special diplomatic agent | 1860 | None | james buchanan row 25 : lewis d. campbell | minister | 1866 | 1867 | andrew johnson row 26 : marcus otterbourg | minister | 1867 | None | andrew johnson row 27 : william s. rosecrans | minister | 1868 | 1869 | andrew johnson row 28 : john w. foster | minister | 1873 | 1880 | ulysses s. grant row 29 : philip hicky morgan | minister | 1880 | 1885 | rutherford b. hayes row 30 : thomas courtland manning | minister | 1886 | 1887 | grover cleveland row 31 : thomas ryan | minister | 1889 | 1893 | None row 32 : matt whitaker ransom | minister | 1895 | 1897 | grover cleveland row 33 : powell clayton | minister | 1897 | 1898 | None ] Execute this SQL based on the above table: select count ( title ) where representative = 'thomas ryan'
1
[ header: national team | title(s) represented | first worn | number of stars | notes row 1 : brazil | world cup | 1971 | 5 | third win was in 1970; fourth and fifth stars row 2 : italy | world cup | 1982 | 4 | added after third win; fourth star added after the row 3 : germany | world cup | 1996 | 3 | 1954, 1974, third win was in 1990 row 4 : uruguay | world cup and olympics | 1930 | 4 | represent 2 world cups (1930 & 1950) row 5 : argentina | world cup | 2003 | 2 | 1978, second win was in 1986 row 6 : england | world cup | 2003 | 1 | title won in 1966. star added after a row 7 : france | world cup | 1998 | 1 | title won in 1998. star added above their badge row 8 : spain | world cup | 2010 | 1 | title won in 2010. spain played in their away ] Execute this SQL based on the above table: select national team where first worn > 437
brazil, italy, germany, uruguay, argentina, england, france, spain
[ header: player | games played | field goals | free throws | points row 1 : ralf woods | 16 | 54 | 70 | 178 row 2 : clyde alwood | 15 | 57 | 0 | 114 row 3 : ernest mckay | 15 | 39 | 3 | 81 row 4 : ray woods | 16 | 19 | 0 | 38 row 5 : john felmley | 6 | 7 | 4 | 18 row 6 : george halas | 11 | 5 | 0 | 10 row 7 : r.c. haas | 3 | 1 | 0 | 2 row 8 : gordon otto | 4 | 1 | 0 | 2 ] Execute this SQL based on the above table: select player order by field goals desc limit 1
clyde alwood
[ header: network name | flagship | programming type | owner | affiliates row 1 : canal de las estrellas | xew 2 | soap operas, retro movies and sports | televisa | 5 row 2 : canal 5 | xhgc 5 | cartoons, movies, and series | televisa | 4 row 3 : tv mas | xhgv 4 | educational and cultural | gobierno de veracruz | 8 row 4 : azteca 7 | xhimt 7 | movies, series, and sports | tv azteca | 3 row 5 : galavision | xeq 9 | retro and sports | televisa | 2 row 6 : once tv | xeipn 11 | educational | instituto politecnico nac | 2 row 7 : azteca 13 | xhdf 13 | news, soap operas, and sports | tv azteca | 4 row 8 : televisa regional | None | select from televisa networks | televisa | 2 ] Execute this SQL based on the above table: select network name where affiliates = ( select affiliates where network name = 'canal 5' ) + 1
canal de las estrellas
[ header: | name | took office | left office | party row 1 : 1 | vasso papandreou | 21 february 1996 | 19 february 1999 | panhellenic socialist movement row 2 : 2 | evangelos venizelos | 19 february 1999 | 13 april 2000 | panhellenic socialist movement row 3 : 3 | nikos christodoulaki | 13 april 2000 | 24 october 2001 | panhellenic socialist movement row 4 : 4 | akis tsochatzo | 24 october 2001 | 10 march 2004 | panhellenic socialist movement row 5 : 5 | dimitris sioufas | 10 march 2004 | 19 september 2007 | new democracy row 6 : 6 | christos folias | 19 september 2007 | 8 january 2009 | new democracy row 7 : 7 | kostis hatzidakis | 8 january 2009 | 7 october 2009 | new democracy ] Execute this SQL based on the above table: select party where name = 'christos folias'
new democracy
[ 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 group by party order by count ( * ) desc limit 1
liberal
[ header: round | pick | player | position | school/club team row 1 : 1 | 8 | eric fraser | s | central michigan row 2 : 2 | 16 | tristan black | lb | wayne state row 3 : 3 | 24 | john hashem | ot | regina row 4 : 4 | 28 | spencer armstrong | wr | air force row 5 : 4 | 30 | steve myddelton | de | st. francis xa row 6 : 4 | 32 | scott mchenry | sb | saskatchewan row 7 : 5 | 40 | osie ukwuoma | dl | queen's row 8 : 6 | 48 | john kanaroski | wr | regina ] Execute this SQL based on the above table: select count ( player ) where player = 'eric fraser'
1
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 8 february 2011 | stade georges pompidou, | mali | 1-0 | 1-0 | friendly row 2 : 2 | 11 may 2011 | stade felix houphouet- | namibia | 4-1 | 5-1 | friendly row 3 : 3 | 5 june 2011 | stade de l'amitie | benin | 0-1 | 2-6 | 2012 africa cup of nations qualification - group row 4 : 4 | 10 august 2011 | stade de geneve, geneve, | israel | 1-0 | 4-3 | friendly row 5 : 5 | 3 september 2011 | stade amahoro, ki | rwanda | 0-4 | 0-5 | 2012 africa cup of nations qualification - group row 6 : 6 | 14 november 2012 | linzer stadion, | austria | 0-1 | 0-3 | friendly row 7 : 7 | 14 january 2013 | al nahyan stadium, abu | egypt | 4-2 | 4-2 | friendly row 8 : 8 | 26 january 2013 | royal bafokeng stadium, rustenburg | tunisia | 3-0 | 3-0 | 2013 africa cup of nations ] Execute this SQL based on the above table: select count ( date )
8
[ header: year | team | games | combined tackles | tackles | assisted tackles | sacks | forced fumbles | fumble recoveries | fumble return yards | interceptions | interception return yards | yards per interception return | longest interception return | interceptions returned for touchdown | passes defended row 1 : 2004 | hou | 16 | 63 | 51 | 12 | 4 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 4 row 2 : 2005 | hou | 12 | 35 | 24 | 11 | 4 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 row 3 : 2006 | hou | 15 | 26 | 19 | 7 | 5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 row 4 : 2008 | kc | 7 | 31 | 25 | 6 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 row 5 : 2008 | sea | 2 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 row 6 : 2009 | phi | 12 | 16 | 11 | 5 | 2.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 row 7 : 2010 | ten | 16 | 58 | 44 | 14 | 12.5 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 row 8 : 2011 | phi | 16 | 40 | 35 | 5 | 18 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 row 9 : 2012 | phi | 11 | 26 | 21 | 5 | 5.5 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 row 10 : 2012 | jax | 5 | 11 | 7 | 4 | 1.5 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 row 11 : 2013 | jax | 16 | 40 | 31 | 9 | 7.5 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 row 12 : career | None | 128 | 347 | 269 | 78 | 62.5 | 14 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 9 ] Execute this SQL based on the above table: select team where team in ( 'kc' , 'phi' ) order by fumble return yards desc limit 1
kc
[ header: year | film | director | producer | writer | notes row 1 : 1953 | the sea around us | yes | yes | yes | documentary academy award for best documentary feature row 2 : 1954 | dangerous mission | None | yes | None | None row 3 : 1956 | the animal world | yes | yes | yes | documentary row 4 : 1957 | the story of mankind | yes | yes | yes | documentary row 5 : 1960 | the big circus | None | yes | yes | None row 6 : 1960 | the lost world | yes | yes | yes | None row 7 : 1961 | voyage to the bottom of the sea | yes | yes | yes | None row 8 : 1962 | five weeks in a balloon | yes | yes | yes | None row 9 : 1972 | the poseidon adventure | yes | yes | None | directed action sequences only nominated-gold row 10 : 1974 | the towering inferno | None | yes | None | nominated-academy award for best row 11 : 1978 | the swarm | yes | yes | None | None row 12 : 1979 | beyond the poseidon adventure | yes | yes | None | None row 13 : 1980 | when time ran out | None | yes | None | None row 14 : 1983 | cave-in! | None | yes | None | None ] Execute this SQL based on the above table: select producer where director = 'yes'
yes, yes, yes, yes, yes, yes, yes, yes, yes
[ header: name | position | year | league apps | league goals | total apps | total goals | notes row 1 : walter langton | lb / cf | 1887-1905 | 45 | 28 | 48 | 48 | doncaster's longest serving player appearance stats row 2 : tom keetley | fw | 1923-1929 | 231 | 180 | 241 | 186 | record all time goalscorer. most goals in row 3 : fred emery | wh | 1924-1936 | 417 | 30 | 439 | 32 | record league appearances manager of doncaster 1936-19 row 4 : paddy mcconnell | if | 1925-1930 | 137 | 20 | 143 | 21 | the first current doncaster player to represent his country row 5 : syd bycroft | df | 1936-1951 | 333 | 2 | 355 | 2 | including wartime league matches, he played row 6 : eddie perry | cf | 1936-1938 | 98 | 44 | 102 | None | welsh international whilst at don row 7 : clarrie jordan | fw | 1945-1948 | 60 | 48 | 67 | 50 | most doncaster league goals in one season (42 row 8 : charlie williams | df | 1948-1959 | 158 | 1 | 174 | 1 | famous comedian row 9 : peter doherty | if | 1949-1953 | 103 | 55 | 109 | 58 | ireland international player and manager of northern row 10 : len graham | mf | 1949-1958 | 312 | 3 | 332 | 3 | northern ireland international whilst at row 11 : kit lawlor | if | 1950-1954 | 127 | 47 | 143 | 49 | republic of ireland international whilst row 12 : harry gregg | gk | 1952-1957 | 94 | 0 | 99 | 0 | northern ireland international whilst at row 13 : alick jeffrey | fw | 1954-1956, 1963-1968 | 262 | 129 | 293 | 140 | youngest doncaster player (15 years 229 days row 14 : colin douglas | fw | 1981-1986, 1988-1993 | 404 | 53 | 444 | 62 | record total appearances (not including the wartime row 15 : brian stock | mf | 2006-2012 | 193 | 18 | 216 | 23 | welsh international whilst at don row 16 : billy sharp | fw | 2009-2012, 2014- | 92 | 44 | 96 | 45 | record transfer fee paid: £1,150,000 ] Execute this SQL based on the above table: select position where position != 'fw' group by position order by count ( * ) desc limit 1
if
[ header: n | p | nat. | name | age | moving from | type | transfer window | ends | transfer fee row 1 : 20 | rw | por | nuno capucho | 31 | porto | transfer | summer | 2005 | £0.67m row 2 : 15 | cb | georgia | zurab khizanishvili | 21 | dundee | transfer | summer | 2006 | free row 3 : 16 | lb | ita | paolo vanoli | 30 | bologna | transfer | summer | 2005 | free row 4 : 25 | cb | nor | henning berg | 33 | blackburn rovers | transfer | summer | 2004 | free row 5 : 4 | cm | bra | emerson | 31 | atletico madrid | transfer | summer | 2005 | free row 6 : 9 | cf | nor | egil østenstad | 31 | blackburn rovers | transfer | summer | 2004 | free row 7 : 37 | lm | tun | hamed namouchi | 19 | cannes | transfer | None | 2005 | free row 8 : None | cm | fra | marc kalenga | 18 | auxerre | transfer | None | 2004 | free row 9 : 11 | cm | sco | gavin rae | 26 | dundee | transfer | winter | 2007 | £0.25m row 10 : 5 | cb | ned | frank de boer | 33 | galatasaray | transfer | winter | 2004 | free row 11 : 52 | cf | mkd | bajram fetai | 18 | b.93 | transfer | winter | 2006 | £0.2m ] Execute this SQL based on the above table: select ( select name where ends = 2004 ) != ( select name where ends = 2005 )
1
[ header: year | show | role | notes row 1 : 1994-96 | martin | hustle man | None row 2 : 1996 | 3rd rock from the sun | tracy morgan | None row 3 : 1996-03 | saturday night live | himself, various | None row 4 : 2002 | crank yankers | spoonie luv | None row 5 : 2002 | frank mcklusky, | reggie rosengold | None row 6 : 2003-04 | the tracy morgan show | tracy mitchell | None row 7 : 2006 | mind of mencia | captain black cawk | None row 8 : 2006-13 | 30 rock | tracy jordan | None row 9 : 2008 | human giant | the invisible man | None row 10 : 2008 | where my dogs at? | woof | None row 11 : 2008-present | scare tactics | host | None row 12 : 2009 | saturday night live | host | episode: "tracy morgan/kel row 13 : 2011 | saturday night live | various | episode: "jimmy fallon/m ] Execute this SQL based on the above table: select count ( notes ) where show = 1961
0
[ header: outcome | no. | year | championship | opponent in the final | score row 1 : winner | 2 | 1988 | british open | mike hallett | 13-2 row 2 : winner | 3 | 1989 | asian open | james wattana | 9-2 row 3 : winner | 4 | 1989 | dubai classic | doug mountjoy | 9-2 row 4 : winner | 6 | 1990 | world snooker championship | jimmy white | 18-12 row 5 : winner | 8 | 1990 | asian open (2) | dennis taylor | 9-3 row 6 : runner-up | 4 | 1991 | classic | jimmy white | 4-10 row 7 : winner | 12 | 1991 | grand prix (3) | steve davis | 10-6 row 8 : runner-up | 5 | 1992 | classic (2) | steve davis | 8-9 row 9 : winner | 14 | 1992 | world snooker championship (2) | jimmy white | 18-14 row 10 : runner-up | 6 | 1992 | dubai classic | john parrott | 8-9 row 11 : runner-up | 7 | 1993 | european open (2) | steve davis | 4-10 row 12 : winner | 16 | 1993 | world snooker championship (3) | jimmy white | 18-5 row 13 : winner | 17 | 1993 | dubai classic (3) | steve davis | 9-3 row 14 : winner | 19 | 1994 | world snooker championship (4) | jimmy white | 18-17 row 15 : winner | 20 | 1994 | uk championship (3) | ken doherty | 10-5 row 16 : winner | 21 | 1994 | european open (2) | john parrott | 9-3 row 17 : winner | 23 | 1995 | grand prix (4) | john higgins | 9-5 row 18 : winner | 27 | 1997 | welsh open (2) | mark king | 9-2 row 19 : winner | 28 | 1997 | international open (2) | tony drago | 9-1 row 20 : runner-up | 9 | 1997 | british open | mark williams | 2-9 row 21 : runner-up | 10 | 1997 | world snooker championship | ken doherty | 12-18 row 22 : runner-up | 11 | 1997 | uk championship (3) | ronnie o'sulliv | 6-10 row 23 : winner | 29 | 1998 | thailand masters (3) | john parrott | 9-6 row 24 : runner-up | 12 | 1998 | british open (2) | john higgins | 8-9 row 25 : runner-up | 13 | 1999 | welsh open | mark williams | 8-9 row 26 : winner | 30 | 1999 | scottish open (3) | graeme dott | 9-1 row 27 : winner | 31 | 1999 | world snooker championship (7) | mark williams | 18-11 row 28 : winner | 32 | 1999 | british open (3) | peter ebdon | 9-1 row 29 : runner-up | 14 | 2000 | thailand masters | mark williams | 5-9 row 30 : winner | 35 | 2003 | british open (4) | ronnie o'sulliv | 9-6 row 31 : runner-up | 18 | 2003 | uk championship (4) | matthew stevens | 8-10 row 32 : winner | 36 | 2005 | malta cup (4) | graeme dott | 9-7 row 33 : runner-up | 20 | 2005 | china open | ding junhui | 5-9 row 34 : runner-up | 21 | 2006 | uk championship (5) | peter ebdon | 6-10 ] Execute this SQL based on the above table: select count ( championship ) where score = '2-9'
1
[ header: type | diagonal (mm) | width (mm) | height (mm) | area (mm2) | stops (area) | crop factor row 1 : 1/10" | 1.6 | 1.28 | 0.96 | 1.23 | -9.51 | 27.04 row 2 : 1/8" | 2 | 1.6 | 1.2 | 1.92 | -8.81 | 21.65 row 3 : 1/3.2" (iphone 5) | 5.68 | 4.54 | 3.42 | 15.5 | -5.8 | 7.61 row 4 : 1/3" (iphone 5s) | 6 | 4.8 | 3.6 | 17.3 | -5.64 | 7.21 row 5 : 1/2.7" | 6.72 | 5.37 | 4.04 | 21.7 | -5.31 | 6.44 row 6 : super 8mm film frame | 7.04 | 5.79 | 4.01 | 23.22 | -5.24 | 6.15 row 7 : 1/2.3" (pentax q) | 7.66 | 6.17 | 4.55 | 28.5 | -4.92 | 5.64 row 8 : 1/2" (fujifilm hs | 8 | 6.4 | 4.8 | 30.7 | -4.81 | 5.41 row 9 : 1/1.8" (nokia | 8.93 | 7.18 | 5.32 | 38.2 | -4.5 | 4.84 row 10 : 1/1.7" (pentax q7) | 9.5 | 7.6 | 5.7 | 43.3 | -4.32 | 4.55 row 11 : 1/1.6" | 10.07 | 8.08 | 6.01 | 48.56 | -4.15 | 4.3 row 12 : 2/3" (nokia lumia | 11 | 8.8 | 6.6 | 58.1 | -3.89 | 3.93 row 13 : standard 16mm film frame | 12.7 | 10.26 | 7.49 | 76.85 | -3.49 | 3.41 row 14 : blackmagic pocket cinema camera | 14.32 | 12.48 | 7.02 | 87.6 | -3.3 | 3.02 row 15 : super 16mm film frame | 14.54 | 12.52 | 7.41 | 92.8 | -3.22 | 2.97 row 16 : 1" nikon cx, son | 15.86 | 13.2 | 8.8 | 116 | -2.9 | 2.72 row 17 : 1.5" canon g1x | 23.36 | 18.7 | 14 | 262 | -1.72 | 1.85 row 18 : blackmagic production camera 4k | 24.23 | 21.12 | 11.88 | 251 | -1.78 | 1.79 row 19 : canon ef-s, a | 26.7 | 22.2 | 14.8 | 329 | -1.39 | 1.62 row 20 : canon aps-h | 33.5 | 27.9 | 18.6 | 519 | -0.73 | 1.29 row 21 : 35mm full-frame, (nikon | 43.2-43.3 | 36 | 23.9-24.3 | 860-864 | 0 | 1 row 22 : standard 65mm film frame | 57.3 | 52.48 | 23.01 | 1208 | 0.81 | 0.76 row 23 : medium-format (hasselblad h | 67.08 | 53.7 | 40.2 | 2159 | 1.26 | 0.65 row 24 : phase one p 65+, iq | 67.4 | 53.9 | 40.4 | 2178 | 1.33 | 0.64 ] Execute this SQL based on the above table: select count ( * ) where type = '1/8"'
1
[ header: year | champion | score | runner-up | coach row 1 : 1954 | boston college | 4-1 | harvard | john "snooks" kelley row 2 : 1956 | boston college | 4-2 | harvard | john "snooks" kelley row 3 : 1957 | boston college | 5-4 (ot) | boston university | john "snooks" kelley row 4 : 1959 | boston college | 7-4 | boston university | john "snooks" kelley row 5 : 1961 | boston college | 4-2 | harvard | john "snooks" kelley row 6 : 1963 | boston college | 3-1 | harvard | john "snooks" kelley row 7 : 1964 | boston college | 6-5 | boston university | john "snooks" kelley row 8 : 1965 | boston college | 5-4 | boston university | john "snooks" kelley row 9 : 1976 | boston college | 6-3 | boston university | len ceglarski row 10 : 1983 | boston college | 8-2 | northeastern | len ceglarski row 11 : 1994 | boston college | 2-1 (ot) | harvard | steve cedorchuck row 12 : 2001 | boston college | 5-3 | boston university | jerry york row 13 : 2004 | boston college | 2-1 (ot) | boston university | jerry york row 14 : 2008 | boston college | 6-5 (ot) | harvard | jerry york row 15 : 2010 | boston college | 4-3 | boston university | jerry york row 16 : 2011 | boston college | 7-6 (ot) | northeastern | jerry york row 17 : 2012 | boston college | 3-2 (ot) | boston university | jerry york row 18 : 2013 | boston college | 6-3 | northeastern | jerry york row 19 : 2014 | boston college | 4-1 | northeastern | jerry york ] Execute this SQL based on the above table: select count ( * ) where score = '6-5' and year = 1963
0
[ header: rank | wrestler | no. of reigns | combined defenses | combined days row 1 : 1 | matt jackson | 3 | 25 | 1386 row 2 : 1 | nick jackson | 3 | 25 | 1386 row 3 : 3 | el generico | 5 | 12 | 637 row 4 : 4 | super dragon | 6 | 3 | 609 row 5 : 5 | scott lost | 5 | 14 | 578 row 6 : 6 | chris bosh | 3 | 11 | 433 row 7 : 7 | paul london | 1 | 5 | 335 row 8 : 8 | davey richards | 3 | 1 | 324 row 9 : 9 | kevin steen | 3 | 4 | 315 row 10 : 10 | player uno | 1 | 2 | 232 row 11 : 10 | stupefied | 1 | 2 | 232 row 12 : 12 | joey ryan | 3 | 3 | 165 row 13 : 13 | roderick strong | 3 | 1 | 121 row 14 : 14 | quicksilver | 3 | 2 | 120 row 15 : 15 | b-boy | 3 | 1 | 84 row 16 : 16 | pac | 1 | 1 | 71 row 17 : 17 | excalibur | 1 | 1 | 63 row 18 : 18 | human tornado | 1 | 1 | 56 row 19 : 18 | jimmy jacobs | 1 | 0 | 56 row 20 : 18 | tyler black | 1 | 0 | 56 row 21 : 21 | jack evans | 1 | 0 | 49 row 22 : 22 | homicide | 1 | 0 | 28 row 23 : 23 | scorpio sky | 1 | 0 | 1 row 24 : 24 | brian cage | 1 | 0 | <1 row 25 : 24 | michael elgin | 1 | 0 | <1 ] Execute this SQL based on the above table: select count ( * ) where wrestler = 'michael elgin'
1
[ header: year | site | winning team | losing team | series row 1 : 1904 | manhattan | kansas 41 | kansas state 4 | ku 3-0 row 2 : 1905 | lawrence | kansas 28 | kansas state 0 | ku 4-0 row 3 : 1906 | manhattan | kansas state 6 | kansas 4 | ku 4-1 row 4 : 1912 | lawrence | kansas 19 | kansas state 6 | ku 9-1 row 5 : 1914 | lawrence | kansas 27 | kansas state 0 | ku 11-1 row 6 : 1922 | manhattan | kansas 7 | kansas state 7 | ku 17-1-2 row 7 : 1923 | lawrence | kansas 0 | kansas state 0 | ku 17-1-3 row 8 : 1926 | manhattan | kansas state 27 | kansas 0 | ku 17-4-3 row 9 : 1927 | lawrence | kansas state 13 | kansas 2 | ku 17-5-3 row 10 : 1929 | lawrence | kansas state 6 | kansas 0 | ku 18-6-3 row 11 : 1933 | lawrence | kansas state 6 | kansas 0 | ku 20-8-3 row 12 : 1934 | manhattan | kansas state 13 | kansas 0 | ku 20-9-3 row 13 : 1935 | lawrence | kansas 9 | kansas state 2 | ku 21-9-3 row 14 : 1936 | manhattan | kansas state 26 | kansas 6 | ku 21-10-3 row 15 : 1937 | lawrence | kansas state 7 | kansas 0 | ku 21-11-3 row 16 : 1938 | manhattan | kansas 27 | kansas state 7 | ku 22-11-3 row 17 : 1940 | manhattan | kansas state 20 | kansas 0 | ku 22-13-3 row 18 : 1943 | lawrence | kansas 25 | kansas state 2 | ku 25-13-3 row 19 : 1944 | manhattan | kansas state 24 | kansas 18 | ku 25-14-3 row 20 : 1945 | lawrence | kansas 27 | kansas state 0 | ku 26-14-3 row 21 : 1951 | lawrence | kansas 33 | kansas state 14 | ku 32-14-3 row 22 : 1952 | manhattan | (#9) kansas 26 | kansas state 6 | ku 33-14-3 row 23 : 1953 | lawrence | kansas state 7 | kansas 0 | ku 33-15-3 row 24 : 1954 | manhattan | kansas state 28 | kansas 6 | ku 33-16-3 row 25 : 1958 | manhattan | kansas 21 | kansas state 12 | ku 36-17-3 row 26 : 1960 | manhattan | kansas 41 | kansas state 0 | ku 38-17-3 row 27 : 1963 | lawrence | kansas 34 | kansas state 0 | ku 41-17-3 row 28 : 1966 | manhattan | kansas 3 | kansas state 3 | ku 43-17-4 row 29 : 1967 | lawrence | kansas 17 | kansas state 16 | ku 44-17-4 ] Execute this SQL based on the above table: select year where year = 1933
1933
[ header: year | competition | venue | position | event | notes row 1 : 2001 | beijing marathon | beijing, pr china | 7th | marathon | 2:10:46 row 2 : 2002 | beijing marathon | beijing, pr china | 1st | marathon | 2:13:09 row 3 : 2004 | olympic games | athens, greece | 31st | marathon | 2:19:26 row 4 : 2007 | xiamen international marathon | xiamen, pr china | 1st | marathon | 2:13:17 row 5 : 2007 | world championships | osaka, japan | 43rd | marathon | 2:32:44 row 6 : 2008 | olympic games | beijing, pr china | 51st | marathon | 2:24:08 ] Execute this SQL based on the above table: select year where event = 'marathon'
2001, 2002, 2004, 2007, 2007, 2008
[ header: # | name | office | political party | occupation row 1 : 1 | ole olsen strø | 1886-1901 | None | church bell ringer row 2 : 2 | peder olai kleppe | 1902-1919 | None | fisherman row 3 : 3 | olai naustheller | 1920-1925 | None | farmer row 4 : 4 | mikkel nilsen birkel | 1926-1935 | None | farmer row 5 : 5 | magnus larssen | 1935-1937 | None | school teacher row 6 : 6 | salomon o. fagerbak | 1938-1945 | None | fisherman row 7 : 7 | salomon v. kalvenes | 1946-1959 | None | fisherman row 8 : 8 | rikard s. storebø | 1960-1969 | liberal party | social security manager row 9 : 9 | peder kalve | 1970-1975 | conservative party | maritime pilot row 10 : 10 | magnus stangeland | 1976-1981 | centre party | school principal row 11 : 11 | knut k. kalvenes | 1982-1985 | conservative party | retailer row 12 : 12 | hallvard møgster | 1986-1989 | christian democratic party | captain row 13 : 13 | inge bjarne storeb | 1990-2001 | conservative party | bank manager row 14 : 14 | olav p. arland | 2001-2003 | christian democratic party | shipmaster row 15 : 15 | helge andre njasta | 2003- | progress party | student ] Execute this SQL based on the above table: select political party where # < 1978
liberal party, conservative party, centre party, conservative party, christian democratic party, conservative party, christian democratic party, progress party
[ header: rank | lane | name | nationality | time | notes row 1 : None | 4 | sophie pascoe | new zealand | 2:25.65 | wr row 2 : None | 5 | summer ashley mortimer | canada | 2:32.08 | None row 3 : None | 3 | zhang meng | china | 2:33.95 | as row 4 : 4 | 6 | katherine downie | australia | 2:34.64 | None row 5 : 5 | 2 | nina ryabova | russia | 2:35.65 | None row 6 : 6 | 8 | aurelie rivard | canada | 2:37.70 | None row 7 : 7 | 7 | harriet lee | great britain | 2:39.42 | None row 8 : 8 | 1 | gemma almond | great britain | 2:42.16 | None ] Execute this SQL based on the above table: select time where name = 'sophie pascoe'
2:25.65
[ header: episode | name | synopsis | sent home | highest seller row 1 : 1 | vegas meltdown | nine aspiring restaurateurs arrive in las | ammerah, kimmy | patrick row 2 : 2 | tantrum in temecula | the restaurant express bus arrives in temecula, | johnathan | eric row 3 : 3 | express: impossible | the restaurant express bus arrives in los angeles | bianca | none row 4 : 4 | battle by the beach | the restaurant express bus arrives at the iconic balb | patrick | eric row 5 : 5 | going, going, gone! | the remaining four contestants are given their biggest budget | eric | adam row 6 : 6 | the truck stops here! | the three remaining chefs are each given a food | none | adam row 7 : 7 | vegas or bust | jan and seonkyoung battle to | jan, adam | seonkyoung ] Execute this SQL based on the above table: select max ( episode ) - min ( episode )
6.0
[ header: numbers tops | numbers tops | numbers pre-tops | name(s) | dates | final livery | operator | withdrawn | status row 1 : 86205 | 86503 | e3129 | city of lancaster | 1979-2003 | virgin red/black | virgin west coast | 10/2003 | converted to 86701 (08/2009) row 2 : 86208 | None | e3141 | city of chester | 1979-2000 | intercity | ews | 03/2002 | scrapped at crewe electric tmd row 3 : 86223 | None | e3158 | hector norwich union | 1979-1987 1987-2004 | anglia railways | fm rail | 04/2004 | scrapped at emr kings row 4 : 86225 | None | e3164 | hardwicke | 1980-2003 | virgin red/black | virgin cross-country | 07/2002 | scrapped at rotherham (04/ row 5 : 86235 | None | e3194 | novelty harold macmillan crown point | 1979-1990 1990-1992 1992- | anglia railways | 'one' | 09/2005 | stored at long marston row 6 : 86246 | 86505 | e3149 | royal anglian regiment | 1985- | anglia railways | 'one' | 12/2004 | stored at long marston row 7 : 86251 | None | e3183 | the birmingham post | 1984-2002 | virgin red/black | fm rail | 10/2002 | stored at long marston row 8 : 86255 | 86042 | e3154 | penrith beacon | 1981-1999 | intercity | virgin cross-country | 08/1998 | scrapped at immingham rft row 9 : 86258 | 86046 | e3192 | talyllyn - the first | 1984-2001 2001-2002 | virgin red/black | virgin cross-country | 07/2002 | conversion to battery-electric locomotive cancelled. scrapped row 10 : 86419 | 86319 | e3120 | post haste 150 years of the travelling post | 1990-1993 | rail express systems | ews | 03/1999 | scrapped at crewe electric tmd row 11 : 86424 | 86324 | e3111 | None | None | nr yellow | network rail | 12/2002 | exported hungary. (08/2013) row 12 : 86501 | 86608 | e3180 | crewe basford hall | 2000-2000 | freightliner green | freightliner | None | in service row 13 : 86602 | 86402 | e3170 | None | None | freightliner green | freightliner | 03/2005 | scrapped at sandbach car & row 14 : 86605 | 86405 | e3185 | intercontainer | 1992-1996 | freightliner green | freightliner | None | in service row 15 : 86611 | 86411 | e3171 | airey neave | 1983-2003 | freightliner grey | freightliner | 11/2003 | written-off in norton bridge accident scrapped row 16 : 86614 | 86414 | e3145 | frank hornby | 1986-2001 | freightliner green | freightliner | None | in service row 17 : 86627 | 86427 | e3110 | the industrial society | 1985-1999 | freightliner green | freightliner | None | in service ] Execute this SQL based on the above table: select count ( * ) where numbers pre-tops = 'e3158'
1
[ header: event | gold | gold | silver | silver | bronze | bronze row 1 : 60 metres | nelli cooman (ned | 7.17 | melanie paschke (ger) | 7.19 | patricia girard (fra) | 7.19 row 2 : 200 metres | galina malchugina (rus) | 22.41 | silke knoll (ger) | 22.96 | jacqueline poelman (n | 23.43 row 3 : 400 metres | svetlana goncharenko | 51.62 | tatyana alekseyeva (rus | 51.77 | viviane dorsile ( | 51.92 row 4 : 800 metres | natalya dukhnova (b | 2:00.42 | ella kovacs (rom) | 2:00.49 | carla sacramento (p | 2:01.12 row 5 : 1500 metres | yekaterina podkopay | 4:06.46 | lyudmila rogachova ( | 4:06.60 | małgorzata ryd | 4:06.98 row 6 : 3000 metres | fernanda ribeiro (por | 8:50.47 | margareta keszeg ( | 8:55.61 | anna brzezinska (pol) | 8:56.90 row 7 : 60 metres hurdles | yordanka donkova (bul | 7.85 | eva sokolova (rus) | 7.89 | anne piquereau (fr | 7.91 row 8 : 3000 metres walk | annarita sidoti (it | 11:54.32 | beate gummelt (ger) | 11:56.01 | yelena arshintseva ( | 11:57.48 row 9 : high jump | stefka kostadinova | 1.98 | desislava aleksandrova (bul | 1.96 | sigrid kirchmann (aut | 1.94 nr row 10 : long jump | heike drechsler ( | 7.06 | ljudmila ninova (au | 6.78 | inessa kravets (uk | 6.72 row 11 : triple jump | inna lasovskaya | 14.88 | anna biryukova (rus) | 14.72 | sofiya bozhanova ( | 14.52 row 12 : shot put | astrid kumbernuss | 19.44 | larisa peleshenko (rus | 19.16 | svetla mitkova (bul | 19.09 row 13 : pentathlon | larisa turchinskaya ( | 4801 | rita inancsi (hun | 4775 nr | urszula włodarczy | 4668 ] Execute this SQL based on the above table: select sum ( gold ) where event in ( '800 metres' , '400 metres' )
53.62
[ header: location | building | year | km | monument row 1 : bischofsheim | station building | 1958 | 8.25 | row 2 : russelsheim | linesmen house | 1863 | 12.8 | row 3 : raunheim | station building | 1863 | 15.87 | row 4 : raunheim | linesmen house | 1863 | 17.39 | row 5 : kelsterbach | rail bridge | 1863 | 21.75 | row 6 : kelsterbach | linesmen house | 1863 | 23.6 | row 7 : kelsterbach | station building | 1863 | 23.81 | row 8 : stadion | station building | 1879 | 31.37 | row 9 : niederrad | station building | 1882 | 33.19 | row 10 : sachsenhausen | rail bridge | 1864 | 34.47 | ] Execute this SQL based on the above table: select count ( building ) where year = 1863
6
[ 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 2nd team where 2nd team in ( 'australia' , 'australia' ) group by 2nd team order by count ( * ) desc limit 1
australia
[ header: year | driver | nation of citizenship | racing series | type of vehicle row 1 : 1993 | nigel mansell | united kingdom | formula one | open wheel row 2 : 1994 | nigel mansell | united kingdom | cart | open wheel row 3 : 1995 | al unser, jr | united states | cart | open wheel row 4 : 1996 | jeff gordon | united states | nascar | stock car row 5 : 1997 | jimmy vasser | united states | cart | open wheel row 6 : 1998 | jeff gordon | united states | nascar | stock car row 7 : 1999 | jeff gordon | united states | nascar | stock car row 8 : 2000 | dale jarrett | united states | nascar | stock car row 9 : 2001 | bobby labonte | united states | nascar | stock car row 10 : 2002 | michael schumacher | germany | formula one | open wheel row 11 : 2003 | tony stewart | united states | nascar | stock car row 12 : 2004 | dale earnhardt, jr | united states | nascar | stock car row 13 : 2005 | michael schumacher | germany | formula one | open wheel row 14 : 2006 | tony stewart | united states | nascar | stock car row 15 : 2007 | jeff gordon | united states | nascar | stock car row 16 : 2008 | jimmie johnson | united states | nascar | stock car row 17 : 2009 | jimmie johnson | united states | nascar | stock car row 18 : 2010 | jimmie johnson | united states | nascar | stock car row 19 : 2011 | jimmie johnson | united states | nascar | stock car row 20 : 2012 | tony stewart | united states | nascar | stock car row 21 : 2013 | ryan hunter-reay | united states | indycar series | open wheel ] Execute this SQL based on the above table: select driver order by year desc limit 1
ryan hunter-reay
[ header: election | party name | total votes | share of votes | seats | share of seats | party leader(s) | notes row 1 : 1961 | progressive party | 69045 | 8.6% | 1 | 0.6% | jan steytler | national party (np) victory row 2 : 1966 | progressive party | 39717 | 3.1% | 1 | 0.6% | jan steytler | np victory row 3 : 1970 | progressive party | 51760 | 3.5% | 1 | 0.6% | jan steytler | np victory row 4 : 1974 | progressive party | 58768 | 5.3% | 7 | 4.1% | colin eglin | np victory row 5 : 1977 | progressive federal party | 177705 | 16.7% | 17 | 10.3% | colin eglin | np victory; pfp gains row 6 : 1981 | progressive federal party | 265297 | 19.4% | 27 | 15.2% | frederik van zyl slabbert | np victory; pfp remains row 7 : 1987 | progressive federal party | 288579 | 13.9% | 20 | 11.2% | colin eglin | np victory; pfp lose row 8 : 1989 | democratic party | 431444 | 20.0% | 34 | 19.1% | zach de beer, denis wor | np victory ] Execute this SQL based on the above table: select election where election not null
1961, 1966, 1970, 1974, 1977, 1981, 1987, 1989
[ header: district | name | party | residence | first served row 1 : district 1 | nelson albano | dem | vineland | 2006 row 2 : district 1 | robert andrzejcza | dem | middle twp | 2013 row 3 : district 2 | john f. amodeo | rep | margate | 2008 row 4 : district 4 | paul moriarty | dem | washington twp | 2006 row 5 : district 4 | gabriela mosquera | dem | blackwood | 2012 row 6 : district 5 | angel fuentes | dem | camden | 2010 row 7 : district 7 | troy singleton | dem | palmyra | 2011 row 8 : district 8 | scott rudder | rep | medford | 2008 row 9 : district 9 | dianne gove | rep | long beach twp | 2009 row 10 : district 9 | brian e. rumpf | rep | little egg harbor | 2003 row 11 : district 10 | david w. wolfe | rep | brick | 1992 row 12 : district 11 | caroline casagrande | rep | colts neck | 2008 row 13 : district 13 | amy handlin | rep | lincroft | 2006 row 14 : district 14 | wayne deangelo | dem | hamilton twp | 2008 row 15 : district 16 | donna simon | rep | whitehouse station | 2012 row 16 : district 17 | upendra j. chivukul | dem | somerset | 2002 row 17 : district 18 | patrick j. diegnan | dem | south plainfield | 2002 row 18 : district 20 | joseph cryan | dem | union twp | 2002 row 19 : district 21 | nancy munoz | rep | summit | 2009 row 20 : district 22 | jerry green | dem | plainfield | 1992 row 21 : district 22 | linda stender | dem | scotch plains | 2002 row 22 : district 23 | john dimaio | rep | hackettstown | 2009 row 23 : district 23 | erik peterson | rep | franklin twp | 2009 row 24 : district 24 | alison littell mchose | rep | franklin | 2003 row 25 : district 25 | tony bucco | rep | boonton twp | 2010 row 26 : district 25 | michael patrick carroll | rep | morris twp | 1996 row 27 : district 26 | jay webber | rep | morris plains | 2008 row 28 : district 27 | john f. mckeon | dem | west orange | 2002 row 29 : district 28 | cleopatra tucker | dem | newark | 2008 row 30 : district 30 | sean t. kean | rep | wall twp | 2012 row 31 : district 30 | dave rible | rep | wall | 2008 row 32 : district 31 | jason o'donnell | dem | bayonne | 2010 row 33 : district 32 | angelica m. jimenez | dem | west new york | 2012 row 34 : district 32 | vincent prieto | dem | secaucus | 2004 row 35 : district 33 | ruben j. ramos | dem | hoboken | 2008 row 36 : district 34 | thomas p. giblin | dem | montclair | 2006 row 37 : district 36 | gary schaer | dem | passaic | 2006 row 38 : district 39 | bob schroeder | rep | washington twp | 2010 row 39 : district 40 | scott rumana | rep | wayne | 2008 ] Execute this SQL based on the above table: select party where residence > ( select residence where party = 'dem' ) order by residence asc limit 1
rep
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 6 september 1994 | bazaly, ostrava | malta | 6-1 | 6-1 | euro 1996 qualifying row 2 : 2 | 8 march 1995 | stadion za luzan | finland | 1-0 | 4-1 | friendly row 3 : 3 | 8 march 1995 | stadion za luzan | finland | 2-0 | 4-1 | friendly row 4 : 4 | 29 march 1995 | bazaly, ostrava | belarus | 2-0 | 4-2 | euro 1996 qualifying row 5 : 5 | 29 march 1995 | bazaly, ostrava | belarus | 3-1 | 4-2 | euro 1996 qualifying row 6 : 6 | 26 april 1995 | letna stadium, prague | netherlands | 3-1 | 3-1 | euro 1996 qualifying row 7 : 7 | 7 october 1995 | dinamo stadium, minsk | belarus | 2-0 | 2-0 | euro 1996 qualifying row 8 : 8 | 15 november 1995 | letna stadium, prague | luxembourg | 3-0 | 3-0 | euro 1996 qualifying row 9 : 9 | 30 june 1996 | wembley stadium, london | germany | 1-0 | 1-2 | euro 1996 row 10 : 10 | 18 september 1996 | na stinadle | malta | 1-0 | 6-0 | 1998 world cup qualification row 11 : 11 | 18 september 1996 | na stinadle | malta | 3-0 | 6-0 | 1998 world cup qualification row 12 : 12 | 26 february 1997 | zimni stadion, pod | belarus | 4-1 | 4-1 | friendly row 13 : 13 | 14 october 1998 | na stinadle | estonia | 2-0 | 4-1 | euro 2000 qualifying row 14 : 14 | 14 october 1998 | na stinadle | estonia | 3-0 | 4-1 | euro 2000 qualifying row 15 : 15 | 27 march 1999 | na stinadle | lithuania | 2-0 | 2-0 | euro 2000 qualifying row 16 : 16 | 5 june 1999 | kadrioru stadium, tall | estonia | 1-0 | 2-0 | euro 2000 qualifying row 17 : 17 | 8 september 1999 | na stinadle | bosnia and herzegovin | 2-0 | 3-0 | euro 2000 qualifying row 18 : 18 | 3 june 2000 | frankenstadion, nurember | germany | 2-2 | 2-3 | friendly ] Execute this SQL based on the above table: select max ( # ) where # < 1119
18.0
[ header: s.no. | name of kingdom | name of king | no. of villages | capital | names of districts row 1 : 1 | sihag | chokha singh | 150 | suin | rawatsar, baramsar, row 2 : 2 | beniwal | raisal singh | 150 | rasalana | bhukarka, sand row 3 : 3 | johiya | sher singh | 600 | bhurupal | jaitpur, kumanu, ma row 4 : 4 | punia | kanha singh | 300 | luddi | bhadra, ajitpura row 5 : 5 | saharan | pula singh | 300 | bhadang | khejra, phoglo row 6 : 6 | godara | pandu singh | 700 | shekhsar | shekhsar, pundrasar row 7 : 7 | kaswan | kanwarpal singh | 400 | sidhmukh | None ] Execute this SQL based on the above table: select capital where no. of villages = 400
sidhmukh
[ header: pennant | name | hull builder | ordered | laid down | launched | accepted into service | commissioned | est. building cost | fate row 1 : f169 | amazon | vosper thornycroft, woolston | 26 march 1969 | 6 november 1969 | 26 april 1971 | 19 july 1974 | 11 may 1974 | £16.8m | to pakistan as babur row 2 : f170 | antelope | vosper thornycroft | 11 may 1970 | 23 march 1971 | 16 march 1972 | 30 june 1975 | 16 july 1975 | £14.4m | bombed by argentine a-4 row 3 : f172 | ambuscade | yarrow shipbuilders, scot | 11 november 1971 | 1 september 1971 | 18 january 1973 | 23 august 1975 | 5 september 1975 | £16.5m | to pakistan as tariq row 4 : f173 | arrow | ysl | 11 november 1971 | 28 september 1972 | 5 february 1974 | 16 may 1975 | 29 july 1976 | £20.2m | to pakistan as khaibar row 5 : f171 | active | vosper thornycroft | 11 may 1970 | 21 july 1971 | 23 november 1972 | 2 june 1977 | 17 june 1977 | £24.1m | to pakistan as shah ja row 6 : f174 | alacrity | ysl | 11 november 1971 | 5 march 1973 | 18 september 1974 | 2 april 1977 | 2 july 1977 | £23.8m | to pakistan as badr row 7 : f184 | ardent | ysl | 11 november 1971 | 26 february 1974 | 9 may 1975 | 10 september 1977 | 14 october 1977 | £26.3m | bombed by argentine a-4 row 8 : f185 | avenger | ysl | 11 november 1971 | 30 october 1974 | 20 november 1975 | 15 april 1978 | 15 april 1978 | £27.7m | to pakistan as tippu s ] Execute this SQL based on the above table: select est. building cost group by est. building cost order by count ( commissioned ) desc limit 1
£27.7m
[ header: official name | designation | area km2 | population | parish row 1 : moncton | city | 141.17 | 69074 | moncton row 2 : dieppe | city | 51.17 | 23310 | moncton row 3 : beaubassin east | rural community | 291.04 | 6200 | shediac row 4 : shediac | town | 11.97 | 6053 | shediac row 5 : sackville | town | 74.32 | 5558 | sackville row 6 : memramcook | village | 185.71 | 4831 | dorchester row 7 : cap-pele | village | 23.78 | 2256 | botsford row 8 : salisbury | village | 13.68 | 2208 | salisbury row 9 : petitcodiac | village | 17.22 | 1429 | salisbury row 10 : dorchester | village | 5.74 | 1167 | dorchester row 11 : port elgin | village | 2.61 | 418 | westmorland ] Execute this SQL based on the above table: select parish where parish in ( 'salisbury' , 'westmorland' ) order by population desc limit 1
salisbury
[ header: pick # | cfl team | player | position | college row 1 : 25 | montreal alouettes | shawn gifford | ot | charleston southern row 2 : 26 | toronto argonauts | kevin eiben | s | bucknell row 3 : 27 | winnipeg blue bombers | nick tsatsaronis | rb | memphis row 4 : 28 | hamilton tiger-cats | ryan donnelly | ol | mcmaster row 5 : 29 | montreal alouettes | peter moore | dl | syracuse row 6 : 30 | calgary stampeders | andrew carter | ol | bishop's row 7 : 31 | montreal alouettes | steven maheu | wr/qb | simon fraser row 8 : 32 | bc lions | kelly bates | ol | saskatchewan ] Execute this SQL based on the above table: select pick # where pick # = 32
32
[ header: dance | best dancer(s) | best score | worst dancer(s) | worst score row 1 : cha cha | argo ader | 34 | henrik normann piret | 14 row 2 : waltz (international standard) | maarja-liis ilus | 36 | arne niit | 14 row 3 : rumba | argo ader | 40 | arne niit | 15 row 4 : quickstep | argo ader maarja-l | 40 | henrik normann piret | 16 row 5 : jive | argo ader | 32 | henrik normann | 24 row 6 : tango | maarja-liis ilus | 37 | erika salumae | 26 row 7 : paso doble | lauri pedaja | 36 | evelyn sepp | 28 row 8 : foxtrot | argo ader evelyn | 34 | henrik normann | 25 row 9 : samba | maarja-liis ilus | 37 | henrik normann | 26 row 10 : showdance | argo adar maarja-l | 40 | None | None ] Execute this SQL based on the above table: select ( select worst score where dance = 'rumba' ) - ( select worst score where dance = 'paso doble' )
-13.0
[ header: date | sub | flight | dead | hurt | pax. | type | perpetrator | description row 1 : 27-jun-76 | | air france - 193 tl | 4 | 10 | 260 | hijacking -- hostage taking (8 days) | pflp-eo (palestinian | -hijacking in israeli row 2 : 23-nov-85 | | egypt air - 6 | 58 | 20 | 95 | hijacking -- hostage taking (2 days) | abu nidal organisation | -hijacking in greek air ] Execute this SQL based on the above table: select count ( date ) where pax. < 780
2
[ header: community | currency | region | target date | notes row 1 : economic and monetary community of central africa (ce | central african cfa franc | africa | None | not yet functioning common market row 2 : west african economic and monetary union (u | west african cfa franc | africa | None | not yet functioning common market row 3 : gulf cooperation council (gcc) | khaleeji | middle east | 2013 | possibly gold backed, but postponed row 4 : east african community (eac) | east african shilling | africa | 2015 | to be used by the future east african row 5 : caribbean single market and economy (a | None | latin america /caribbean | 2015 | to supplement the oecs eastern ca row 6 : southern african customs union (sacu | south african rand | africa | 2015 | de facto for the cma member when the row 7 : southern african development community (sadc | south african rand (interim proposal) | africa | 2016 | to supplement or succeed the cma and southern africa row 8 : south asian association for regional cooperation | None | south asia | 2016 | None row 9 : union of south american nations (unasur) | latino | latin america /caribbean | 2019 | None row 10 : economic community of central african states (ecca | None | africa | None | to supplement the economic and monetary community of central row 11 : economic community of west african states (eco | None | africa | None | to succeed uemoa and wa row 12 : african economic community | None | africa | 2028 | see african monetary union row 13 : union state of russia and belarus | russian ruble | europe | None | None row 14 : arab league | arab dinar | arab states | None | arab dinar has been proposed ever since the creation ] Execute this SQL based on the above table: select target date where region = 'africa'
2015, 2015, 2016, 2028
[ header: version | length | album | remixed by | year | comment row 1 : single version / radio edit | 3:39 | go - the very best of moby | mhc aka philip la | 2006 | remixed version with dance sonorities, row 2 : extended remix | 6:48 | None | mhc aka philip la | 2006 | similar to the previous but longer row 3 : axwell remix | 7:24 | None | axwell | 2006 | used in a scene in the 2008 movie 21 row 4 : enzo mori & stephan clar | 7:10 | None | enzo mori and stephan clark | 2006 | None row 5 : mhc club remix | 7:31 | None | mhc aka philip la | 2006 | None row 6 : zloot remix | 4:36 | None | toni toolz | 2006 | None row 7 : music video | 3:58 | None | None | 2006 | None ] Execute this SQL based on the above table: select version order by length asc limit 1
single version / radio edit
[ header: position | club | played | points | wins | draws | losses | goals for | goals against | goal difference row 1 : 1 | cordoba cf | 30 | 40 | 16 | 8 | 6 | 48 | 22 | 26 row 2 : 2 | cd malaga | 30 | 38 | 14 | 10 | 6 | 52 | 36 | 16 row 3 : 3 | granada cf | 30 | 36 | 15 | 6 | 9 | 48 | 34 | 14 row 4 : 4 | ud las palmas | 30 | 35 | 15 | 5 | 10 | 47 | 39 | 8 row 5 : 5 | recreativo de huelva | 30 | 33 | 13 | 7 | 10 | 43 | 42 | 1 row 6 : 6 | levante ud | 30 | 32 | 14 | 4 | 12 | 49 | 42 | 7 row 7 : 7 | hercules cf | 30 | 32 | 14 | 4 | 12 | 55 | 46 | 9 row 8 : 8 | real murcia | 30 | 31 | 12 | 7 | 11 | 40 | 35 | 5 row 9 : 9 | real jaen | 30 | 31 | 14 | 3 | 13 | 58 | 42 | 16 row 10 : 10 | cadiz cf | 30 | 28 | 12 | 4 | 14 | 43 | 52 | -9 row 11 : 11 | cd cartagena | 30 | 28 | 13 | 2 | 15 | 45 | 56 | -11 row 12 : 12 | cd mestalla | 30 | 27 | 11 | 5 | 14 | 50 | 49 | 1 row 13 : 13 | albacete balompie | 30 | 27 | 10 | 7 | 13 | 27 | 32 | -5 row 14 : 14 | cd san fernando | 30 | 27 | 11 | 5 | 14 | 37 | 47 | -10 row 15 : 15 | atletico ceuta | 30 | 23 | 8 | 7 | 15 | 33 | 48 | -15 row 16 : 16 | cd villarrobledo | 30 | 12 | 4 | 4 | 22 | 26 | 79 | -53 ] Execute this SQL based on the above table: select club where points in ( 32 , 36 )
granada cf, levante ud, hercules cf
[ header: date | opposition | result | score | brazil scorers | competition row 1 : 9-jun-68 | uruguay | w | feb-00 | tostao, sadi | taca rio branco row 2 : 12-jun-68 | uruguay | w | apr-00 | paulo borges, tosta | taca rio branco row 3 : 16-jun-68 | west germany | l | 2-jan | tostao | international friendly row 4 : 20-jun-68 | poland | w | 3-jun | rivelino (2), j | international friendly row 5 : 23-jun-68 | czechoslovakia | l | 3-feb | natal, carlos alberto tor | international friendly row 6 : 25-jun-68 | yugoslavia | w | feb-00 | carlos alberto torres, | international friendly row 7 : 30-jun-68 | portugal | w | feb-00 | rivelino, tostao | international friendly row 8 : 7-jul-68 | mexico | w | feb-00 | jairzinho (2) | international friendly row 9 : 10-jul-68 | mexico | l | 2-jan | rivelino | international friendly row 10 : 14-jul-68 | peru | w | 3-apr | natal, jairzinho, | international friendly row 11 : 17-jul-68 | peru | w | apr-00 | rivelino, gerson | international friendly row 12 : 25-jul-68 | paraguay | w | apr-00 | pele (2), toninho guerreir | taca oswaldo cruz row 13 : 28-jul-68 | paraguay | l | 0-1 | None | taca oswaldo cruz row 14 : 7-aug-68 | argentina | w | 1-apr | waltencir, roberto mir | international friendly row 15 : 11-aug-68 | argentina | w | 2-mar | evaldo, rodrigues | international friendly row 16 : 31-oct-68 | mexico | l | 2-jan | carlos alberto torres | international friendly row 17 : 3-nov-68 | mexico | w | 1-feb | pele, jairzinho | international friendly row 18 : 6-nov-68 | fifa xi | w | 1-feb | rivelino, tostao | international friendly (unofficial match) row 19 : 13-nov-68 | coritiba | w | 1-feb | dirceu lopes, ze car | international friendly (unofficial match) row 20 : 14-dec-68 | west germany | d | 2-feb | eduardo (2) | international friendly row 21 : 17-dec-68 | yugoslavia | d | 3-mar | carlos alberto torres, | international friendly row 22 : 19-dec-68 | yugoslavia | w | 2-mar | vaguinho, amauri, r | international friendly ] Execute this SQL based on the above table: select count ( result ) where score = '2-jan'
3
[ header: rank | name | nationality | result | notes row 1 : None | huang qiuyan | china | 14.39 | sb row 2 : None | anastasiya juravlev | uzbekistan | 14.21 | #name? row 3 : None | zhang hao | china | 13.63 | None row 4 : 4 | wacharee ritthiwat | thailand | 13.54 | sb row 5 : 5 | tatyana bocharova | kazakhstan | 13.5 | None row 6 : 6 | wang kuo-huei | chinese taipei | 13.25 | sb row 7 : 7 | fumiyo yoshida | japan | 13.09 | None row 8 : 8 | ngew sin mei | malaysia | 12.93 | None row 9 : 9 | manisha dey | india | 12.83 | None row 10 : 10 | thitima muangjan | thailand | 12.79 | None row 11 : 11 | phan thi thu lan | vietnam | 12.75 | None row 12 : 12 | lo yu-hsin | chinese taipei | 12.69 | None row 13 : None | elena bobrovskaya | kyrgyzstan | dns | None ] Execute this SQL based on the above table: select result where nationality = 'china'
14.39, 13.63
[ header: team | year | regular season won | regular season lost | regular season win % | regular season finish | postseason won | postseason lost | postseason win % | postseason result row 1 : cle | 1991 | 32 | 53 | 0.376 | 7th in al east | None | None | None | None row 2 : cle | 1992 | 76 | 86 | 0.469 | 5th in al east | None | None | None | None row 3 : cle | 1993 | 76 | 86 | 0.469 | 6th in al east | None | None | None | None row 4 : cle | 1994 | 66 | 47 | 0.584 | 2nd in al central | None | None | None | no mlb postseason row 5 : cle | 1995 | 100 | 44 | 0.694 | 1st in al central | 9 | 6 | 0.6 | lost ws to atl row 6 : cle | 1996 | 99 | 62 | 0.615 | 1st in al central | 1 | 3 | 0.25 | lost lds to bal row 7 : cle | 1997 | 86 | 75 | 0.534 | 1st in al central | 10 | 8 | 0.556 | lost ws to fla row 8 : cle | 1998 | 89 | 73 | 0.549 | 1st in al central | 5 | 5 | 0.5 | lost lcs to nyy row 9 : cle | 1999 | 97 | 65 | 0.599 | 1st in al central | 2 | 3 | 0.4 | lost lds to bos row 10 : bal | 2000 | 74 | 88 | 0.457 | 4th in al east | None | None | None | None row 11 : bal | 2001 | 63 | 98 | 0.391 | 4th in al east | None | None | None | None row 12 : bal | 2002 | 67 | 95 | 0.414 | 4th in al east | None | None | None | None row 13 : bal | 2003 | 71 | 91 | 0.438 | 4th in al east | None | None | None | None row 14 : sea | 2005 | 69 | 93 | 0.426 | 4th in al west | None | None | None | None row 15 : sea | 2006 | 78 | 84 | 0.481 | 4th in al west | None | None | None | None row 16 : sea | 2007 | 45 | 33 | 0.571 | 2nd in al west | None | None | None | None row 17 : cle total | cle total | 721 | 591 | 0.55 | None | 27 | 25 | 0.519 | None row 18 : bal total | bal total | 275 | 372 | 0.425 | None | 0 | 0 | 0 | None row 19 : sea total | sea total | 192 | 210 | 0.478 | None | 0 | 0 | 0 | None row 20 : total | total | 1188 | 1173 | 0.503 | None | 27 | 25 | 0.519 | None ] Execute this SQL based on the above table: select regular season finish order by year desc limit 1
2nd in al west
[ header: # | club | winner | last win | runner-up | last losing final row 1 : 1 | esteghlal (taj) | 6 | 2012 | 3 | 2004 row 2 : 2 | persepolis | 5 | 2011 | 2 | 2013 row 3 : 3 | sepahan | 4 | 2013 | 0 | None row 4 : 4 | malavan | 3 | 1990 | 4 | 2011 row 5 : 5 | zob ahan | 2 | 2009 | 1 | 2001 row 6 : 6 | bahman | 1 | 1995 | 2 | 2000 row 7 : 6 | fajr sepasi | 1 | 2001 | 2 | 2003 row 8 : 6 | tractor sazi | 1 | 2014 | 2 | 1995 row 9 : 8 | bargh shiraz | 1 | 1997 | 1 | 1996 row 10 : 8 | saba qom (saba | 1 | 2005 | 1 | 2007 row 11 : 10 | saipa | 1 | 1994 | 0 | None row 12 : 10 | shahin ahvaz | 1 | 1988 | 0 | None row 13 : 13 | homa | 0 | None | 1 | 1977 row 14 : 13 | kheibar khorramabad | 0 | None | 1 | 1986 row 15 : 13 | jonoob ahvaz | 0 | None | 1 | 1994 row 16 : 13 | aboomoslem | 0 | None | 1 | 2005 row 17 : 13 | damash (pegah) | 0 | None | 1 | 2008 row 18 : 13 | rah ahan | 0 | None | 1 | 2009 row 19 : 13 | gostaresh foolad | 0 | None | 1 | 2010 row 20 : 13 | shahin bushehr | 0 | None | 1 | 2012 row 21 : 13 | mes kerman | 0 | None | 1 | 2014 ] Execute this SQL based on the above table: select ( select id where club = 'damash (pegah)' ) < ( select id where club = 'aboomoslem' )
0
[ header: date | position | name | from | fee row 1 : 5 july 2001 | mf | andy hughes | notts county | £250,000 by a tribunal row 2 : 5 july 2001 | df | adrian whitbread | portsmouth | free row 3 : 18 july 2001 | df | alex smith | port vale | free row 4 : 30 november 2001 | gk | antony malessa | oxford united | free row 5 : 28 january 2002 | mf | john salako | charlton athletic | £50,000 row 6 : 13 march 2002 | gk | frank talia | sheffield united | free row 7 : 15 march 2002 | mf | kevin watson | charlton athletic | £150,000 ] Execute this SQL based on the above table: select name order by id desc limit 1
kevin watson
[ header: genre | year | title | role | episodes | notes row 1 : film | 1995 | timepiece | khris | None | None row 2 : tv series | 1997 | nash bridges | reggie harell | "dirty tricks" | 4 episodes total row 3 : film | 1998 | around the fire | trace | None | None row 4 : short film | 1999 | king of the bingo game | sonny | None | None row 5 : tv series | 1999 | nash bridges | hassam desmond kenner | "power play" "girl trouble" | 4 episodes total row 6 : film | 1999 | true crime | wally cartwright | None | None row 7 : tv series | 2000 | nash bridges | trumpet player | "skin trade" | 4 episodes total row 8 : film | 2000 | desi's looking for a new girl | mother | None | None row 9 : film | 2003 | kung phooey! | roy lee | None | None row 10 : tv series | 2004 | law & order | ronald gumer | "hands free" | 2 episodes total row 11 : film | 2006 | freedomland | male patient | None | None row 12 : tv series | 2006 | law & order: criminal intent | sergeant ev sides | "to the bone" | 2 episodes total row 13 : tv series | 2006 | law & order: trial by jury | gus | "eros in the upper eighties" | None row 14 : tv series | 2008 | the big gay sketch show | None | None | 8 episodes; 16 episodes total row 15 : tv series | 2008 | law & order | donnie | "sweetie" | 2 episodes total row 16 : film | 2008 | miracle at st. anna | west indian postal customer | None | None row 17 : tv series | 2009 | great performances | mr. franklin/m | "passing strange" | musical telecast row 18 : tv series | 2010 | the big gay sketch show | None | None | 8 episodes; 16 episodes total row 19 : tv series | 2010 | law & order: criminal intent | andre lanier | "love sick" | 2 episodes total row 20 : film | 2012 | lincoln | private harold green | None | None row 21 : film | 2012 | red hook summer | blessing rowe | None | None row 22 : film | 2013 | 42 | lawson bowman | None | None row 23 : film | 2013 | hairbrained | finals moderator | None | None row 24 : film | 2013 | the butler | freddie fallows | None | None row 25 : film | 2013 | 400 boys | talon | None | None ] Execute this SQL based on the above table: select notes where year > 1823
4 episodes total, 4 episodes total, 4 episodes total, 2 episodes total, 2 episodes total, 8 episodes; 16 episodes total, 2 episodes total, musical telecast, 8 episodes; 16 episodes total, 2 episodes total
[ header: date | constituency | c/u | former incumbent | winner | cause row 1 : 28 april 1791 | ludgershall | c | george augustus selwyn | samuel smith | death row 2 : 4 may 1791 | stirling burghs | c | sir archibald campbell | andrew james cochrane | death row 3 : 21 february 1792 | st mawes | u | john graves simcoe | thomas calvert | resignation (lieutenant governor of upper canada row 4 : 7 march 1792 | rochester | c | sir richard bickerton | nathaniel smith | death row 5 : 7 may 1792 | malton | u | william weddell | george damer | death row 6 : 18 may 1792 | aberdeen burghs | u | alexander callender | alexander allardyce | death row 7 : 28 june 1792 | liskeard | u | edward james el | edward james el | commissioner of the board of control row 8 : 15 september 1792 | newcastle-under-lyme | c | john leveson gower | william egerton | death row 9 : 28 may 1793 | heytesbury | u | the lord auckland | the viscount clifden | became a british peer row 10 : 26 june 1793 | shaftesbury | u | william grant | paul benfield | appointed second justice of the south wales circuit row 11 : 28 june 1793 | newtown | u | sir richard worsley | george canning | resignation row 12 : 15 february 1794 | wilton | u | lord herbert | philip goldsworthy | succeeded to a peerage row 13 : 3 march 1794 | east retford | u | earl of lincoln | william henry clinton | succeeded to a peerage row 14 : 5 april 1794 | cambridge university | u | earl of euston | earl of euston | chief ranger of st. jame row 15 : 11 april 1794 | perthshire | u | james murray | thomas graham | death row 16 : 9 september 1794 | wenlock | u | sir henry bridgeman | john simpson | elevated to the peerage row 17 : 20 september 1794 | cirencester | u | lord apsley | michael hicks beach | succeeded to a peerage row 18 : 3 october 1794 | weymouth and melcombe regis | u | sir james johnstone | gabriel tucker steward | death row 19 : 17 october 1794 | city durham | u | john tempest, jr | sir henry vane | death row 20 : 27 march 1795 | east looe | u | william wellesley pole | charles arbuthnot | resignation ] Execute this SQL based on the above table: select count ( * ) where former incumbent = 'william weddell'
1
[ header: year | english title | japanese | romanization | type row 1 : 1991 | (toppu! minipato ta | 突風! ミニハト隊 アイキャッチ・シャンクション | toppu! minipato tai | video row 2 : 1991 | (redi hanta: kor | レティハンター 殺しのフレュート | redi hanta: koro | video row 3 : 1995 | (daisan no gokudo | 第三の極道 | daisan no gokudo | video row 4 : 1995 | osaka tough guys | なにわ遊侠伝 | naniwa yukyo | video row 5 : 1996 | the way to fight | 喧嘩の花道 大阪最強伝説 | kenka no hanamichi: | video row 6 : 1997 | full metal yakuza | full metal 極道 | full metal gokudo | video row 7 : 1998 | the bird people in china | 中国の鳥人 | chugoku no chojin | film row 8 : 1998 | blues harp | blues harp | None | film row 9 : 1999 | man, a natural girl | 天然少女萬 | tennen shojo man | tv row 10 : 1999 | ley lines | 日本黒社会 | nihon kuroshaka | film row 11 : 1999 | salaryman kintaro white collar worker | サラリーマン金太郎 | sarariiman kintaro | film row 12 : 2000 | the making of 'gemini' | (unknown) | tsukamoto shin' | tv documentary row 13 : 2001 | ichi the killer | 殺し屋1 | koroshiya 1 | film row 14 : 2002 | dead or alive: final | dead or alive final | None | film row 15 : 2002 | (onna kunishu ikk | おんな 国衆一揆 | onna kunishu ikk | (unknown) row 16 : 2003 | koshonin | 交渉人 | koshonin | tv row 17 : 2004 | zebraman | セフラーマン | zeburaman | film row 18 : 2006 | big bang love, juvenile a 4.6 | 46億年の恋 | 46-okunen no koi | film row 19 : 2006 | imprint episode from masters of horror | インフリント ~ほっけえ、きょうてえ~ | inpurinto ~bokke ky | tv episode row 20 : 2006 | waru: kanketsu-hen | None | waru: kanketsu-hen | video row 21 : 2009 | crows zero 2 | クロースzero 2 | kurozu zero 2 | film row 22 : 2011 | hara-kiri: death of a | 一命 | ichimei | film row 23 : 2012 | ace attorney | 逆転裁判 | gyakuten saiban | film row 24 : 2013 | shield of straw | 藁の楯 | wara no tate | film ] Execute this SQL based on the above table: select max ( year )
2013
[ header: season | competition | round | club | home | away | aggregate row 1 : 2010-11 | uefa europa league | q3 | motherwell | 1-1 | 0-3 | 1-4 row 2 : 2011-12 | uefa europa league | q1 | neath | 4-1 | 2-0 | 6-1 row 3 : 2011-12 | uefa europa league | q2 | ferencvaros | 3-1(aet) | 1-2 | 4-3 row 4 : 2011-12 | uefa europa league | q3 | elfsborg | 4-0 | 1-1 | 5-1 row 5 : 2011-12 | uefa europa league | play-off | az | 2-1 | 0-6 | 2-7 row 6 : 2012-13 | uefa europa league | q2 | tirana | 5-0 | 1-1 | 6-1 row 7 : 2012-13 | uefa europa league | q3 | apoel | 0-1 | 1-2 | 1-3 ] Execute this SQL based on the above table: select count ( * ) where abs ( home - home ) > 1878
0
[ header: n° | name | position | date of birth | nationality row 1 : 1 | marcus popp | s | 23 settembre 1981 | germany row 2 : 2 | stanislav simin | c | 4 ottobre 1986 | serbia row 3 : 3 | gerald hardy-dessources | c | 9 febbraio 1983 | france row 4 : 4 | soane falafala | s | 16 aprile 1993 | france row 5 : 5 | cyril guitte | l | 13 agosto 1992 | france row 6 : 6 | david konecny | s/o | 10 ottobre 1982 | czech republic row 7 : 7 | jean-francois exiga | l | 9 marzo 1982 | france row 8 : 8 | nuno pinheiro | p | 31 dicembre 1984 | portugal row 9 : 10 | guillaume di betta | s | 8 settembre 1994 | france row 10 : 12 | maxime dillies | p | 11 aprile 1984 | france row 11 : 13 | kamil baranek | s | 2 maggio 1983 | czech republic row 12 : 14 | renaud lachaise | p | 12 maggio 1991 | france row 13 : 15 | david smith | c | 15 maggio 1985 | united states row 14 : 16 | emmanuel ragon | s | 6 agosto 1987 | france row 15 : 17 | victor le guennec | s | 19 giugno 1994 | france row 16 : 18 | thibault szymkowi | c | 19 settembre 1991 | france ] Execute this SQL based on the above table: select abs ( ( select n° where position = 'c' ) - ( select n° where position = 'c' ) )
0.0
[ header: season | team | country | division | apps | goals | assists row 1 : 01/02 | esteghlal | iran | 1 | None | 3 | None row 2 : 02/03 | esteghlal | iran | 1 | None | 2 | None row 3 : 03/04 | esteghlal | iran | 1 | None | 6 | None row 4 : 04/05 | eseghlal | iran | 1 | 27 | 3 | None row 5 : 05/06 | esteghlal | iran | 1 | 21 | 0 | 2 row 6 : 06/07 | esteghlal | iran | 1 | 14 | 1 | 1 row 7 : 07/08 | steel azin | iran | 1 | None | 2 | None row 8 : 10/11 | gostaresh foolad | iran | 2 | 0 | 0 | 0 ] Execute this SQL based on the above table: select count ( * ) where team = 'esteghlal'
5
[ header: | | | | | | | | | | row 1 : 2010s | 2010 | 2011 | 2012 | 2013 | 2014 | 2015 | 2016 | 2017 | 2018 | None row 2 : 2000s | 2000 | 2001 | 2002 | 2003 | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 row 3 : 1990s | 1990 | 1991 | 1992 | 1993 | 1994 | 1995 | 1996 | 1997 | 1998 | 1999 row 4 : 1980s | 1980 | 1981 | 1982 | 1983 | 1984 | 1985 | 1986 | 1987 | 1988 | 1989 row 5 : 1970s | 1970 | 1971 | 1972 | 1973 | 1974 | 1975 | 1976 | 1977 | 1978 | 1979 row 6 : 1960s | 1960 | 1961 | 1962 | 1963 | 1964 | 1965 | 1966 | 1967 | 1968 | 1969 row 7 : 1950s | 1950 | 1951 | 1952 | 1953 | 1954 | 1955 | 1956 | 1957 | 1958 | 1959 row 8 : 1940s | 1940 | 1941 | 1942 | 1943 | 1944 | 1945 | 1946 | 1947 | 1948 | 1949 row 9 : 1930s | 1930 | 1931 | 1932 | 1933 | 1934 | 1935 | 1936 | 1937 | 1938 | 1939 row 10 : 1920s | 1920 | 1921 | 1922 | 1923 | 1924 | 1925 | 1926 | 1927 | 1928 | 1929 row 11 : 1910s | 1910 | 1911 | 1912 | 1913 | 1914 | 1915 | 1916 | 1917 | 1918 | 1919 row 12 : 1900s | 1900 | 1901 | 1902 | 1903 | 1904 | 1905 | 1906 | 1907 | 1908 | 1909 row 13 : 1890s | 1890 | 1891 | 1892 | 1893 | 1894 | 1895 | 1896 | 1897 | 1898 | 1899 row 14 : 1880s | 1880 | 1881 | 1882 | 1883 | 1884 | 1885 | 1886 | 1887 | 1888 | 1889 row 15 : 1870s | 1870 | 1871 | 1872 | 1873 | 1874 | 1875 | 1876 | 1877 | 1878 | 1879 ] Execute this SQL based on the above table: select group by order by sum ( - ) asc limit 1
1872
[ header: date | time (edt) | team #1 | res. | team #2 | round | spectators row 1 : 1994-06-18 | 16 | italy | 0-1 | republic of ireland | group e | 75338 row 2 : 1994-06-23 | 16 | italy | 1-0 | norway | group e | 74624 row 3 : 1994-06-25 | 12.3 | saudi arabia | 2-1 | morocco | group f | 76322 row 4 : 1994-06-28 | 12.3 | republic of ireland | 0-0 | norway | group e | 72404 row 5 : 1994-07-05 | 16.3 | mexico | 1-1 (1-3 on pen.) | bulgaria | round of 16 | 71030 row 6 : 1994-07-10 | 12 | bulgaria | 2-1 | germany | quarterfinals | 72000 row 7 : 1994-07-13 | 16 | bulgaria | 1-2 | italy | semifinals | 74110 ] Execute this SQL based on the above table: select count ( team #2 ) where spectators is null
0
[ header: year | competition | venue | position | notes row 1 : 1999 | european junior championships | riga, latvia | 6th | 49.65 m row 2 : 2001 | european u23 championships | amsterdam, netherlands | 10th | 53.30 m row 3 : 2005 | universiade | izmir, turkey | 9th | 58.29 m row 4 : 2006 | european championships | gothenburg, sweden | 15th (q) | 59.54 m row 5 : 2007 | universiade | bangkok, thailand | 1st | 61.55 m row 6 : 2008 | olympic games | beijing, china | 18th (q) | 61.32 m row 7 : 2009 | world championships | berlin, germany | 8th | 63.17 m row 8 : 2010 | european championships | barcelona, spain | 15th (q) | 60.76 m row 9 : 2011 | world championships | daegu, south korea | 21st (q) | 61.47 m row 10 : 2012 | european championships | helsinki, finland | 7th | 62.85 m row 11 : 2012 | olympic games | london, united kingdom | 24th (q) | 60.81 m row 12 : 2013 | world championships | moscow, russia | 18th (q) | 59.85 m ] Execute this SQL based on the above table: select notes where venue = 'amsterdam, netherlands' and position = '10th'
53.30 m
[ header: dates | tournament | host country | winner | notes row 1 : 14-17 jan | alfred dunhill south african | south africa | ernie els | None row 2 : 21-24 jan | mercedes-benz - vo | south africa | david frost | None row 3 : 28-31 jan | heineken classic | australia | jarrod moseley | None row 4 : 4-7 feb | benson and hedges malaysian open | malaysia | gerry norquist | new tournament row 5 : 24-28 feb | wgc-andersen consulting match | united states | jeff maggert | None row 6 : 4-7 mar | algarve portuguese open | portugal | van phillips | None row 7 : 11-14 mar | turespana masters - open and | spain | miguel angel jimenez | None row 8 : 25-28 mar | madeira island open | portugal | pedro linhart | None row 9 : 8-11 apr | masters tournament | united states | jose maria olazabal | unofficial money row 10 : 15-18 apr | estoril open | portugal | jean-francois remesy | new tournament row 11 : 22-25 apr | peugeot open de espana | spain | jarmo sandelin | None row 12 : 6-9 may | novotel perrier open de france | france | retief goosen | None row 13 : 13-16 may | benson and hedges international open | england | colin montgomerie | None row 14 : 21-24 may | deutsche bank - sap open tp | germany | tiger woods | None row 15 : 28-31 may | volvo pga championship | england | colin montgomerie | None row 16 : 10-13 jun | german open | germany | jarmo sandelin | None row 17 : 17-20 jun | moroccan open | morocco | miguel angel martin | None row 18 : 17-20 jun | u.s. open | united states | payne stewart | None row 19 : 8-11 jul | standard life loch lomond | scotland | colin montgomerie | None row 20 : 5-8 aug | volvo scandinavian masters | sweden | colin montgomerie | None row 21 : 19-22 aug | bmw international open | germany | colin montgomerie | None row 22 : 26-29 aug | wgc-nec invitational | united states | tiger woods | None row 23 : 9-12 sept | victor chandler british master | england | bob may | None row 24 : 24-27 sept | ryder cup | united states | united states | team event row 25 : 30 sept-3 oct | linde german masters | germany | sergio garcia | None row 26 : 7-10 oct | alfred dunhill cup | scotland | spain | team event. unofficial money row 27 : 28-31 oct | volvo masters | spain | miguel angel jimenez | None row 28 : 18-21 nov | world cup of golf | malaysia | united states | team event. unofficial money ] Execute this SQL based on the above table: select count ( * ) where host country = 'spain'
3
[ header: event | meeting gaz de france paris | golden gala rome | bislett games oslo | weltklasse zurich | memorial van damme brussels | istaf berlin row 1 : 100 m | christine arron (fra | christine arron (fra | christine arron (fra | veronica campbell (jam) 10. | christine arron (fra | christine arron (fra row 2 : 200 m | None | None | None | None | cydonie mothersille ( | None row 3 : 400 m | tonique williams-darling ( | sanya richards (usa | None | sanya richards (usa | None | None row 4 : 800 m | svetlana cherkas | hasna benhassi (mar) | tatyana andrianova (rus) | zulia calatayu | mayte martinez (esp | zulia calatayu row 5 : 1500 m | olga yegorova | mestawat tadesse | None | None | None | None row 6 : 3000 m / 5000 m | edith masai (ken) 8:31 | None | maryam yusuf jamal | maryam yusuf jamal | None | None row 7 : 3000 m / 5000 m | None | tirunesh dibaba (eth | None | None | meseret defar (eth | berhane adere (e row 8 : 100 m hurdles | joanna hayes (usa) 12. | anjanette kirkland (usa | None | michelle perry (usa) 12.55 | None | brigitte foster-hylton row 9 : 400 m hurdles | lashinda demus (usa | lashinda demus (usa | sandra glover (usa) | yuliya pechonkina | lashinda demus (usa | sandra glover (usa) row 10 : long jump | None | None | None | None | tatyana kotova (rus) | None row 11 : triple jump | tatyana lebedeva (rus) | tatyana lebedeva (rus) | tatyana lebedeva (rus) | tatyana lebedeva (rus) | tatyana lebedeva (rus) | tatyana lebedeva (rus) row 12 : high jump | None | None | amy acuff (usa) | None | None | None row 13 : pole vault | None | None | None | None | yelena isinbayeva ( | None row 14 : discus throw | None | None | None | None | None | natalya sadova (rus) 64 row 15 : shot put | None | None | None | None | None | nadine kleinert (ger) ] Execute this SQL based on the above table: select ( select meeting gaz de france paris where event = '100 m' ) - ( select meeting gaz de france paris where event = '400 m hurdles' )
0
[ header: place | player | country | score | to par | money ($) row 1 : 1 | jack nicklaus | united states | 74-71-69-65=2 | -9 | 144000 row 2 : t2 | tom kite | united states | 70-74-68-68=280 | -8 | 70400 row 3 : t2 | greg norman | australia | 70-72-68-70=280 | -8 | 70400 row 4 : 4 | seve ballesteros | spain | 71-68-72-70=28 | -7 | 38400 row 5 : 5 | nick price | zimbabwe | 79-69-63-71=28 | -6 | 32000 row 6 : t6 | jay haas | united states | 76-69-71-67=28 | -5 | 27800 row 7 : t6 | tom watson | united states | 70-74-68-71=283 | -5 | 27800 row 8 : t8 | tsuneyuki naka | japan | 70-71-71-72=284 | -4 | 23200 row 9 : t8 | payne stewart | united states | 75-71-69-69=284 | -4 | 23200 row 10 : t8 | bob tway | united states | 70-73-71-70=284 | -4 | 23200 ] Execute this SQL based on the above table: select abs ( ( select to par where place = 1 and country = 'united states' ) - ( select to par where country = 'united states' ) )
0
[ header: year | location | attendance | theme phrase | top messages | host | opening general session guest(s) | closing general session guest(s) | sunday night reception | wednesday night party | cult shirt row 1 : 1993 | orlando | 2300 | working together | None | don bulens | geoffrey moore | None | None | disney-mgm | None row 2 : 1994 | no event | None | None | None | None | None | None | None | None | None row 3 : 1997 | nice, france | None | pool of knowledge | don't compete with, embrace the web. | ray ozzie | avery brooks | None | None | magic kingdom the doobie brothers | None row 4 : 1998 | orlando | None | cultivate your senses | notes r5 | steve beckhardt | jamie clark alan hobson | bill nye | None | disney-mgm earth, wind | None row 5 : 1999 | orlando | None | lotus: a part of every solution | notes r5 knowledge management | jeff papows | jim lovell gene krantz | marc salem | None | seaworld the pointer sisters | None row 6 : 2000 | orlando | 10000 | looking forward/forward looking | raven domino access for microsoft outlook | jeff papows > al | walter cronkite | the raspyni brothers | None | universal's islands of adventure chicago | notes world order row 7 : 2001 | orlando | 10000 | in the know | lotus k-station lotus discovery server | al zollar | al franken francis ford cop | umbilical brothers | None | disney's wide world of sports complex | domino survivor row 8 : 2003 | orlando | None | the essential human element | nextgen db2 | al zollar > ambuj go | rudy giuliani bounce (dan | dr. ronan t | None | magic kingdom | just-us league & collaboration league row 9 : 2004 | orlando | 5273 | the workplace for innovation | None | ambuj goyal | patrick stewart | richard jeni | None | universal studios florida | cult shirt on human row 10 : 2006 | orlando | 6000 | futureinsight | workplace activities sametime 7.5 | mike rhodin | jason alexander | jim gaffigan | poker tables | seaworld | cult man group row 11 : 2008 | orlando | 7000 | emergence | notes/domino 8.01, 8.5 | mike rhodin | bob costas orlando | alton brown | beach party | universal's islands of adventure | pirates of collaboration row 12 : 2010 | orlando | None | lotus knows why. lotus knows how | None | bob picciano > alistair | william shatner nutt | brian cox (physicist | None | hollywood studios | None row 13 : 2011 | orlando | None | get social. do business | None | alistair rennie | kevin spacey mass ensemble | watson | None | wizarding world of harry potter, | None row 14 : 2013 | orlando | None | get social. do business | None | alistair rennie | joe gordon-levitt | steven strogatz john ho | None | universal studios florida | no cult shirt ] Execute this SQL based on the above table: select abs ( ( select sum ( attendance ) ) - ( select sum ( attendance ) ) )
0.0
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | japan (jpn) | 9 | 0 | 1 | 10 row 2 : 2 | iran (iri) | 1 | 2 | 1 | 4 row 3 : 3 | syria (syr | 1 | 1 | 0 | 2 row 4 : 4 | indonesia (ina) | 0 | 3 | 2 | 5 row 5 : 5 | vietnam (vie) | 0 | 2 | 0 | 2 row 6 : 6 | chinese taipei | 0 | 1 | 3 | 4 row 7 : 7 | kuwait (kuw) | 0 | 1 | 1 | 2 row 8 : 7 | saudi arabia (ksa) | 0 | 1 | 1 | 2 row 9 : 9 | malaysia (mas) | 0 | 0 | 3 | 3 row 10 : 10 | brunei (bru) | 0 | 0 | 2 | 2 row 11 : 10 | philippines (phi) | 0 | 0 | 2 | 2 row 12 : 12 | macau (mac) | 0 | 0 | 1 | 1 row 13 : 12 | nepal (nep) | 0 | 0 | 1 | 1 row 14 : 12 | tajikistan (tjk) | 0 | 0 | 1 | 1 row 15 : 12 | united arab emirates (uae | 0 | 0 | 1 | 1 row 16 : total | total | 11 | 11 | 20 | 42 ] Execute this SQL based on the above table: select nation where nation = 'tajikistan (tjk)'
tajikistan (tjk)
[ header: rank | urban area | population (2001 census) | area (km2) | density (people/km2) | major subdivisions | metropolitan area row 1 : 1 | greater glasgow | 1,168,270 | 368.47 | 3,171.0 | glasgow, paisley, coat | glasgow row 2 : 2 | edinburgh | 452,194 | 120.11 | 3,765.0 | edinburgh, musselburg | edinburgh row 3 : 3 | aberdeen | 197,328 | 60.94 | 3,238 | aberdeen, cove bay, d | aberdeen row 4 : 4 | dundee | 154,674 | 67 | 3,298 | dundee | dundee row 5 : 5 | falkirk | 91,402 | 36.1 | 2,532 | falkirk, grangemouth, car | falkirk row 6 : 6 | east kilbride | 73,796 | 24.12 | 3,060 | east kilbride | glasgow row 7 : 7 | greenock | 73,595 | 20.69 | 3,557 | greenock, gourock, port glas | glasgow row 8 : 8 | blantyre/hamilton | 65,874 | 22.63 | 2,911 | blantyre, hamilton | glasgow row 9 : 9 | ayr/prestwick | 61,365 | 23.57 | 2,604 | ayr, prestwick | ayr row 10 : 10 | livingston | 59,511 | 26.07 | 2,283 | livingston, east calder, mid calder | edinburgh ] Execute this SQL based on the above table: select rank where metropolitan area = 'glasgow'
1, 6, 7, 8
[ header: no. | score | player | team | balls | inns. | opposing team | date | result row 1 : 1 | 325 | andy sandham | england | 640 | 1 | west indies | 3 april 1930 | drawn row 2 : 4 | 270 | george headley (2/2) | west indies | nr | 1 | england | 14 march 1935 | won row 3 : 6 | 141 | everton weekes (1/2) | west indies | nr | 2 | england | 27 march 1948 | won row 4 : 9 | 237 | frank worrell | west indies | nr | 2 | india | 28 march 1953 | drawn row 5 : 12 | 150 | pankaj roy | india | nr | 3 | west indies | 28 march 1953 | drawn row 6 : 14 | 116 | willie watson | england | nr | 4 | west indies | 15 january 1954 | lost row 7 : 16 | 116 | clyde walcott (2/5) | west indies | nr | 3 | england | 30 march 1954 | lost row 8 : 19 | 108 | clyde walcott (3/5) | west indies | nr | 2 | australia | 26 march 1955 | lost row 9 : 21 | 155 | clyde walcott (4/5) | west indies | nr | 1 | australia | 11 june 1955 | lost row 10 : 24 | 109 | keith miller (2/2) | australia | nr | 2 | west indies | 11 june 1955 | won row 11 : 25 | 128 | ron archer | australia | nr | 2 | west indies | 11 june 1955 | won row 12 : 27 | 110 | clyde walcott (5/5) | west indies | nr | 3 | australia | 11 june 1955 | lost row 13 : 31 | 106 | wazir mohammad | pakistan | nr | 3 | west indies | 26 february 1958 | lost row 14 : 32 | 114 | colin cowdrey (1/2) | england | nr | 1 | west indies | 17 february 1960 | drawn row 15 : 33 | 147 | garfield sobers (2/5) | west indies | nr | 2 | england | 17 february 1960 | drawn row 16 : 41 | 158 | rohan kanhai (2/ | west indies | nr | 3 | india | 18 february 1971 | drawn row 17 : 42 | 163 | roy fredericks | west indies | nr | 1 | new zealand | 16 february 1972 | drawn row 18 : 45 | 100 | lawrence rowe (2/3) | west indies | nr | 3 | new zealand | 16 february 1972 | drawn row 19 : 46 | 101 | mark burgess | new zealand | nr | 4 | west indies | 16 february 1972 | drawn row 20 : 48 | 142 | keith stackpole | australia | nr | 3 | west indies | 16 february 1973 | drawn row 21 : 56 | 153 | graham gooch | england | 213 | 1 | west indies | 10 april 1981 | drawn row 22 : 58 | 127 | gordon greenidge (2/2) | west indies | 193 | 2 | australia | 28 april 1984 | won row 23 : 61 | 156 | richie richardson (1/3) | west indies | 314 | 2 | india | 28 april 1989 | won row 24 : 62 | 110 | viv richards | west indies | 178 | 2 | india | 28 april 1989 | won row 25 : 65 | 104 | richie richardson (2/3) | west indies | 233 | 3 | australia | 1 may 1991 | drawn ] Execute this SQL based on the above table: select team where team in ( 'england' , 'australia' ) and team = 'australia'
australia, australia, australia
[ header: n | p | nat. | name | age | moving from | type | transfer window | ends | transfer fee row 1 : 20 | rw | por | nuno capucho | 31 | porto | transfer | summer | 2005 | £0.67m row 2 : 15 | cb | georgia | zurab khizanishvili | 21 | dundee | transfer | summer | 2006 | free row 3 : 16 | lb | ita | paolo vanoli | 30 | bologna | transfer | summer | 2005 | free row 4 : 25 | cb | nor | henning berg | 33 | blackburn rovers | transfer | summer | 2004 | free row 5 : 4 | cm | bra | emerson | 31 | atletico madrid | transfer | summer | 2005 | free row 6 : 9 | cf | nor | egil østenstad | 31 | blackburn rovers | transfer | summer | 2004 | free row 7 : 37 | lm | tun | hamed namouchi | 19 | cannes | transfer | None | 2005 | free row 8 : None | cm | fra | marc kalenga | 18 | auxerre | transfer | None | 2004 | free row 9 : 11 | cm | sco | gavin rae | 26 | dundee | transfer | winter | 2007 | £0.25m row 10 : 5 | cb | ned | frank de boer | 33 | galatasaray | transfer | winter | 2004 | free row 11 : 52 | cf | mkd | bajram fetai | 18 | b.93 | transfer | winter | 2006 | £0.2m ] Execute this SQL based on the above table: select name where ends > 2004
nuno capucho, zurab khizanishvili, paolo vanoli, emerson, hamed namouchi, gavin rae, bajram fetai
[ header: event | date | area | tornadoes | casualties | notes row 1 : hurricane carla | september 1961 | southern u.s | 8 | None | produced several strong tornadoes, including an row 2 : 1964 wichita falls tornado | april 3, 1964 | wichita falls, texa | None | 7 dead, 100+ injured | was rated f5. first tornado ever captured row 3 : february 1965 south florida tornado outbreak | february 23, 1965 | southern florida | 4 | 0 fatalities, 8 injuries | produced an unusually strong tornado in south florid row 4 : early-may 1965 tornado outbreak sequence | may 6-8, 1965 | minnesota, front range, great | 50 | 17 fatalities | included the 1965 twin cities tornado outbreak, in which row 5 : late-may 1965 tornado outbreak | may 25-26, 1965 | great plains | 51 | 0 fatalities | produced multiple strong tornadoes in the great plain row 6 : june 1966 tornado outbreak sequence | june 8-9, 1966 | kansas - illin | 57 | 18 fatalities | outbreak sequence produced a series of tornadoes row 7 : 1967 st. louis tornado outbreak | january 24, 1967 | midwest | 32 | 6 fatalities | one of the most intense january outbreak row 8 : 1967 oak lawn tornado outbreak | april 21, 1967 | midwest | 45 | 58 fatalities | one of the most intense outbreaks to hit the row 9 : 1967 southern minnesota tornado outbreak | april 30, 1967 | minnesota | 9 | 13 fatalities | only one tornado below f2 strength in min row 10 : 1968 wheelersburg, ohio | april 23, 1968 | ohio valley | 13 | 14 fatalities | outbreak produced several violent and killer tornadoes across ] Execute this SQL based on the above table: select tornadoes where notes = 'only one tornado below f2 strength in minnesota. the towns of albert lea and waseca were devastated by deadly f4s'
9.0
[ header: no | date | race | track | winner | reports row 1 : 1 | 02-09-2008 | daytona arca 200 | daytona | michael annett | report row 2 : 2 | 04-13-2008 | kentuckiana ford dealers 200 | salem speedway | justin allgaier | report row 3 : 3 | 04-19-2008 | prairie meadows 250 | iowa speedway | matt hawkins | report row 4 : 4 | 04-25-2008 | kansas lottery $150 grand | kansas speedway | scott speed | report row 5 : 5 | 05-04-2008 | carolina 500 | rockingham | joey logano | report row 6 : 6 | 05-10-2008 | drive smart! 150 | kentucky | ricky stenhouse, jr | report row 7 : 7 | 05-18-2008 | hantz group 200 | toledo | matt carter | report row 8 : 8 | 06-07-2008 | pocono 200 | pocono | ricky stenhouse, jr | report row 9 : 9 | 06-14-2008 | racing for wildlife 200 | michigan | justin lofton | report row 10 : 10 | 06-29-2008 | cayuga arca re/max | cayuga | justin allgaier | report row 11 : 11 | 07-18-2008 | kentucky 150 | kentucky | scott speed | report row 12 : 12 | 07-26-2008 | berlin arca 200 | berlin | scott speed | report row 13 : 13 | 08-02-2008 | pennsylvania 200 | pocono | justin allgaier | report row 14 : 14 | 08-09-2008 | toyota arca 150 | nashville ss | scott speed | report row 15 : 15 | 08-17-2008 | allen crowe 100 | springfield | frank kimmel | report row 16 : 16 | 09-01-2008 | southern illinois 100 | duquoin | frank kimmel | report row 17 : 17 | 09-06-2008 | chicagoland arca 200 | chicagoland | scott lagasse jr | report row 18 : 18 | 09-13-2008 | eddie gilstrap motors | salem | frank kimmel | report row 19 : 19 | 09-28-2008 | loud energy drink 150 | njmp | justin allgaier | report row 20 : 20 | 10-03-2008 | food world 250 | talladega | justin allgaier | report row 21 : 21 | 10-12-2008 | toledo arca 200 | toledo | justin allgaier | report ] Execute this SQL based on the above table: select no where no != 3 and no = 17
17