inputs
stringlengths
291
3.71k
targets
stringlengths
1
2.65k
[ header: rank | name | nationality | time | notes row 1 : 1 | dyana calub | australia | 1:01.77 | q row 2 : 2 | natalie coughlin | united states | 1:01.99 | q row 3 : 3 | noriko inada | japan | 1:02.00 | q row 4 : 4 | haley cope | united states | 1:02.09 | q row 5 : 5 | diana macmanus | united states | 1:02.10 | q row 6 : 6 | courtney shealy | united states | 1:02.28 | q row 7 : 7 | aya terakawa | japan | 1:02.39 | q row 8 : 8 | giaan rooney | australia | 1:02.53 | q row 9 : 9 | erin gammel | canada | 1:02.63 | None row 10 : 10 | hannah mclean | new zealand | 1:02.82 | None row 11 : 11 | melissa morgan | australia | 1:02.86 | None row 12 : 12 | reiko nakamura | japan | 1:02.91 | None row 13 : 13 | michelle lischinsky | canada | 1:03.22 | None row 14 : 14 | jennifer fratesi | canada | 1:03.42 | None row 15 : 15 | kelly stefanyshy | canada | 1:03.44 | None row 16 : 16 | clementine stoney | australia | 1:03.52 | None ] Execute this SQL based on the above table: select name where notes = 'q'
dyana calub, natalie coughlin, noriko inada, haley cope, diana macmanus, courtney shealy, aya terakawa, giaan rooney
[ header: date | location | winning team | winning team | losing team | losing team | notes row 1 : november 12, 2006 | christl arena (west point) | pittsburgh men | 86 | western michigan men | 67 | pitt/wmu men's game row 2 : november 12, 2006 | christl arena (west point) | ohio state | 77 | army | 41 | pitt/wmu men's game row 3 : december 8, 2007 | madison square garden (new york city) | duke | 51 | pittsburgh | 49 | first maggie dixon classic at madison row 4 : december 8, 2007 | madison square garden (new york city) | rutgers | 75 | army | 68 | first maggie dixon classic at madison row 5 : december 14, 2008 | madison square garden (new york city) | rutgers | 59 | army | 38 | uconn - won national championship row 6 : december 14, 2008 | madison square garden (new york city) | connecticut | 77 | penn state | 63 | uconn - won national championship row 7 : december 13, 2009 | madison square garden (new york city) | baylor | 68 | boston college | 55 | None row 8 : december 13, 2009 | madison square garden (new york city) | tennessee | 68 | rutgers | 54 | None row 9 : december 19, 2010 | madison square garden (new york city) | texas a&m | 79 | rutgers | 50 | a&m - won national championship; row 10 : december 19, 2010 | madison square garden (new york city) | connecticut | 81 | ohio state | 50 | a&m - won national championship; row 11 : december 11, 2011 | madison square garden (new york city) | baylor | 73 | st. johns | 59 | baylor - won national championship; row 12 : december 11, 2011 | madison square garden (new york city) | tennessee | 84 | depaul | 61 | baylor - won national championship; row 13 : december 9, 2012 | madison square garden (new york city) | rutgers | 73 | louisiana tech | 46 | la tech - won inaugural ncaa row 14 : december 9, 2012 | madison square garden (new york city) | duke | 60 | st. johns | 42 | la tech - won inaugural ncaa row 15 : december 22, 2013 | madison square garden (new york city) | st. johns | 72 | texas a&m | 70 | None row 16 : december 22, 2013 | madison square garden (new york city) | connecticut | 80 | california | 47 | None ] Execute this SQL based on the above table: select location where losing team > 0 order by id limit 1
christl arena (west point)
[ header: party/electoral alliance | seats | change | votes | % row 1 : radical civic union (ucr) | 98 | 6 | 618411 | 42.70% row 2 : independent socialist | 15 | 9 | 110792 | 7.70% row 3 : conservative | 12 | -2 | 153826 | 10.60% row 4 : democratic (cordoba province) | 7 | 1 | None | None row 5 : unified ucr (santa | 4 | -7 | 53221 | 3.70% row 6 : liberal (tucuman province) | 4 | -2 | 39543 | 2.70% row 7 : democratic progressive | 3 | 3 | 136121 | 9.40% row 8 : antipersonalist ucr | 3 | -2 | 47891 | 3.30% row 9 : autonomist party of corrientes | 2 | -3 | 17152 | 1.20% row 10 : lencinist ucr ( | 1 | None | 19375 | 1.30% row 11 : socialist | 1 | -3 | 123734 | 8.50% row 12 : others | 4 | None | 127601 | 8.60% row 13 : invalid votes | 4 | None | 39868 | 2.70% row 14 : total | 158 | None | 1487535 | 100.00% ] Execute this SQL based on the above table: select change where change not null order by change limit 204
-7.0, -3.0, -3.0, -2.0, -2.0, -2.0, 1.0, 3.0, 6.0, 9.0
[ header: group | members | caucusing | total row 1 : socialist group | 242 | 8 | 250 row 2 : rpr group | 136 | 6 | 140 row 3 : udf group | 107 | 6 | 113 row 4 : communist group | 34 | 2 | 36 row 5 : radical, citizen and green | 33 | 0 | 33 row 6 : non-inscrits | 5 | 0 | 5 row 7 : total | 555 | 22 | 577 ] Execute this SQL based on the above table: select group where group = 'non-inscrits'
non-inscrits
[ header: no | driver | entrant | constructor | chassis | engine | tyre row 1 : 2 | johnny claes | ecurie belge | talbot-lago | talbot-lago t26c | talbot 23cv 4.5 l | d row 2 : 6 | yves giraud-cab | yves giraud-cab | talbot-lago | talbot-lago t26c | talbot 23cv 4.5 l | d row 3 : 8 | louis rosier | ecurie rosier | talbot-lago | talbot-lago t26c | talbot 23cv 4.5 l | d row 4 : 10 | henri louveau | ecurie rosier | talbot-lago | talbot-lago t26c | talbot 23cv 4.5 l | d row 5 : 12 | george abecassis | hw motors | hwm-alta | hwm 51 | alta 1.5 l4s | d row 6 : 16 | peter whitehead | scuderia ferrari | ferrari | ferrari 125 | ferrari 125 f1 1.5 v | d row 7 : 18 | luigi villoresi | scuderia ferrari | ferrari | ferrari 375 | ferrari type 375 4.5 v12 | p row 8 : 20 | alberto ascari | scuderia ferrari | ferrari | ferrari 375 | ferrari type 375 4.5 v12 | p row 9 : 22 | nino farina | alfa romeo spa | alfa romeo | alfa romeo 159a | alfa romeo 1.5 l8 | p row 10 : 24 | juan manuel fangio | alfa romeo spa | alfa romeo | alfa romeo 159a | alfa romeo 1.5 l8 | p row 11 : 26 | toulo de graffenried | alfa romeo spa | alfa romeo | alfa romeo 159a | alfa romeo 1.5 l8 | p row 12 : 30 | louis chiron | enrico plate | maserati | maserati 4clt-48 | maserati 4 cl 1.5 | p row 13 : 32 | harry schell | enrico plate | maserati | maserati 4clt-48 | maserati 4 cl 1.5 | p row 14 : 40 | guy mairesse | yves giraud-cab | talbot-lago | talbot-lago t26c | talbot 23cv 4.5 l | d row 15 : 42 | jose froilan gonzal | jose froilan gonzal | talbot-lago | talbot-lago t26c | talbot 23cv 4.5 l | d row 16 : 48 | maurice trintignant | equipe gordini | simca-gordini | simca-gordini t | simca-gordini 15c | e row 17 : 52 | peter hirt | peter hirt | veritas | veritas meteor | veritas 2.0 l6 | None ] Execute this SQL based on the above table: select engine order by no limit 1
talbot 23cv 4.5 l6
[ 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 sum ( no. of villages ) where s.no. in ( 2 , 1 , 1 )
300.0
[ header: entrant | constructor | chassis | engine | no | driver row 1 : team ensign | ensign | n180b | cosworth dfv v8 | 3 | jim crawford row 2 : team ensign | ensign | n180b | cosworth dfv v8 | 4 | joe castellano row 3 : colin bennett racing | mclaren | m29 | cosworth dfv v8 | 6 | arnold glass row 4 : colin bennett racing | march | 811 | cosworth dfv v8 | 7 | val musetti row 5 : team sanada | fittipaldi | f8 | cosworth dfv v8 | 8 | tony trimmer row 6 : warren booth | shadow | dn9 | cosworth dfv v8 | 11 | warren booth row 7 : john jordan | brm | p207 | brm 202 v12 | 12 | david williams row 8 : nick mason | tyrrell | 8 | cosworth dfv v8 | 14 | john brindley row 9 : emka productions | williams | fw07 | cosworth dfv v8 | 16 | steve o'rourke row 10 : team peru | williams | fw07 | cosworth dfv v8 | 82 | jorge koechlin ] Execute this SQL based on the above table: select no where no in ( 'jorge koechlin' , '7' , 'cosworth dfv v8' ) group by no order by sum ( no ) desc limit 1
7.0
[ header: town/village | population | postal code | municipality | island | location row 1 : dalur | 48 | fo 235 | husavikar | sandoy | 61°46′56′′n 6° row 2 : depil | 2 | fo 735 | hvannasunds | borðoy | 62°17′10′′n 6° row 3 : famjin | 113 | fo 870 | famjins | suðuroy | 61°31′35′′n 6° row 4 : funningur | 83 | fo 475 | funnings | eysturoy | 62°17′17′′n 6° row 5 : gøtugjogv | 53 | fo 511 | gøtu | eysturoy | 62°11′25′′n 6° row 6 : haldarsvik | 164 | fo 440 | sunda | streymoy | 62°16′37′′n 7° row 7 : hellur | 26 | fo 695 | fuglafjarðar | eysturoy | 62°15′49′′n 6° row 8 : klaksvik | 4681 | fo 700 | klaksvikar | borðoy | 62°13′26′′n 6° row 9 : lambi | 142 | fo 627 | runavikar | eysturoy | 62°8′33′′n 6° row 10 : miðvagur | 1032 | fo 370 | miðvags | vagar | 62°3′4′′n 7° row 11 : nes, vagur | 30 | fo 925 | vags | suðuroy | 61°28′20′′n 6° row 12 : saltnes | 153 | fo 656 | nes | eysturoy | 62°6′19′′n 6° row 13 : sandur | 596 | fo 210 | sands | sandoy | 61°50′10′′n 6° row 14 : selatrað | 63 | fo 497 | sjovar | eysturoy | 62°9′31′′n 6° row 15 : skalabotnur | 100 | fo 485 | runavikar | eysturoy | 62°11′52′′n 6° row 16 : strendur | 817 | fo 490 | sjovar | eysturoy | 62°6′46′′n 6° ] Execute this SQL based on the above table: select postal code order by population asc limit 1
fo 735
[ header: goal | date | venue | opponent | score | result | competition row 1 : 1 | 8 october 2010 | ferenc puskas, bud | san marino | 2-0 | 8-0 | euro 2012 qualifying row 2 : 2 | 8 october 2010 | ferenc puskas, bud | san marino | 4-0 | 8-0 | euro 2012 qualifying row 3 : 3 | 8 october 2010 | ferenc puskas, bud | san marino | 5-0 | 8-0 | euro 2012 qualifying row 4 : 4 | 12 october 2010 | olympic stadium, hel | finland | 0-1 | 1-2 | euro 2012 qualifying row 5 : 5 | 29 february 2012 | eto park, gyor, | bulgaria | 1-0 | 1-1 | friendly row 6 : 6 | 7 september 2012 | estadi comunal, andorr | andorra | 3-0 | 5-0 | 2014 world cup qualification row 7 : 7 | 16 october 2012 | ferenc puskas, bud | turkey | 2-1 | 3-1 | 2014 world cup qualification ] Execute this SQL based on the above table: select competition where venue = 'ferenc puskas, budapest, hungary'
euro 2012 qualifying, euro 2012 qualifying, euro 2012 qualifying, 2014 world cup qualification
[ header: rank | name | notability | birthplace | advocate row 1 : 10 | wayne gretzky | hockey player, holder of numerous nh | brantford, ontario | deborah grey row 2 : 9 | alexander graham bell | scientist, inventor, founder of the bell telephone company | edinburgh, scotl | evan solomon row 3 : 8 | sir john a. macdonal | first prime minister of canada | glasgow, scotland | charlotte gray row 4 : 7 | don cherry | hockey coach and commentator | kingston, ontario | bret hart row 5 : 6 | lester b. pearson | fourteenth prime minister of canada, united nations general | toronto, ontario | paul gross row 6 : 5 | david suzuki | environmentalist | vancouver, british columb | melissa auf der maur row 7 : 4 | sir frederick banting | medical scientist, co-discoverer of insulin | alliston, ontario | mary walsh row 8 : 3 | pierre trudeau | fifteenth prime minister of canada | montreal, quebec | rex murphy row 9 : 2 | terry fox | athlete, activist, humanitarian | winnipeg, manitob | sook-yin lee row 10 : 1 | tommy douglas | father of medicare, premier of sa | falkirk, scotland | george stroumboulopoulos ] Execute this SQL based on the above table: select birthplace where birthplace in ( 'toronto, ontario' , 'winnipeg, manitoba' ) order by rank asc limit 1
winnipeg, manitoba
[ header: country | masters | u.s. open | the open | pga | total row 1 : united states | 57 | 80 | 42 | 79 | 258 row 2 : scotland | 1 | 12 | 41 | 0 | 54 row 3 : england | 3 | 8 | 22 | 2 | 35 row 4 : south africa | 5 | 5 | 10 | 2 | 22 row 5 : australia | 1 | 2 | 9 | 4 | 16 row 6 : jersey | 0 | 2 | 7 | 0 | 9 row 7 : spain | 4 | 0 | 3 | 0 | 7 row 8 : northern ireland | 0 | 2 | 2 | 1 | 5 row 9 : argentina | 1 | 1 | 1 | 0 | 3 row 10 : fiji | 1 | 0 | 0 | 2 | 3 row 11 : germany | 2 | 0 | 0 | 1 | 3 row 12 : ireland | 0 | 0 | 2 | 1 | 3 row 13 : zimbabwe | 0 | 0 | 1 | 2 | 3 row 14 : new zealand | 0 | 1 | 1 | 0 | 2 row 15 : canada | 1 | 0 | 0 | 0 | 1 row 16 : france | 0 | 0 | 1 | 0 | 1 row 17 : south korea | 0 | 0 | 0 | 1 | 1 row 18 : wales | 1 | 0 | 0 | 0 | 1 ] Execute this SQL based on the above table: select ( select pga where country = 'united states' ) - ( select pga where country = 'australia' )
75.0
[ header: capacitor type | capacity | volts | temp. | energy-to-weight ratio | power-to-weight ratio row 1 : act premlis lithium ion capacitor | 2000 f | 4.0 v | 25 °c | 54 kj/kg to 2.0 v | 44.4 w/kg @ 5 a row 2 : act premlis lithium ion capacitor | 2000 f | 4.0 v | 25 °c | 31 kj/kg to 2.0 v | 850 w/kg @ 10 a row 3 : nesccap electric double-layer capacitor | 5000 f | 2.7 v | 25 °c | 19.58 kj/kg to 1.35 | 5.44 w/kg c/1 ( row 4 : nesccap electric double-layer capacitor | 5000 f | 2.7 v | 25 °c | 5.2 kj/kg to 1.35 | 5,200 w/kg @ 2,547 row 5 : eestor eesu bar | 30.693 f | 3500 v | 85 °c | 1471.98 kj/kg | 80.35 w/kg c/5 row 6 : eestor eesu bar | 30.693 f | 3500 v | 85 °c | 1471.98 kj/kg | 8,035 w∕kg 20 c row 7 : general atomics 3330cmx22 | 20.5 mf | 3300 v | None | 2.3 kj/kg | 6.8 mw/kg @ 100 ] Execute this SQL based on the above table: select count ( * ) where power-to-weight ratio = 2 and energy-to-weight ratio = 1088
0
[ header: party | candidate | votes | % | ∆% row 1 : conservative | joe daniel | 14422 | 36.78 | 5.78 row 2 : liberal | yasmin ratansi | 13552 | 34.56 | -13.51 row 3 : new democratic | mary trapani hynes | 9878 | 25.19 | 11.87 row 4 : green | akil sadikali | 1114 | 2.84 | -4.05 row 5 : christian heritage | ryan kidd | 246 | 0.63 | -0.07 row 6 : total valid votes | total valid votes | 39212 | 100 | None row 7 : total rejected ballots | total rejected ballots | 218 | 0.55 | None row 8 : turnout | turnout | 39430 | 57.24 | None row 9 : eligible voters | eligible voters | 68890 | None | None ] Execute this SQL based on the above table: select candidate order by % limit 1
eligible voters
[ header: number | builder | type | date | length | notes row 1 : 51 | american car company | motor | 1904 | 47'9" | retired 1933 row 2 : 53 | american car company | motor | 1904 | 47'9" | retired 1933 row 3 : 55 | american car company | motor | 1904 | 47'9" | became inspection car in 1932 retired 1941 row 4 : 57 | american car company | motor | 1904 | 47'9" | became inspection car in 1932 retired 1941 row 5 : 59 | w. l. holman car | motor | 1904 | 44' | retired 1932 row 6 : 61 | w. l. holman car | motor | 1904 | 44' | retired 1932 row 7 : 63 | w. l. holman car | motor | 1904 | 44' | retired 1932 preserved western railway museum row 8 : 65 | w. l. holman car | motor | 1904 | 44' | retired 1932 row 9 : 67 | w. l. holman car | motor | 1904 | 44' | retired 1932 row 10 : 69 | w. l. holman car | motor | 1904 | 44' | converted to express trailer in 1919 retired 1932 row 11 : 71 | w. l. holman car | trailer | 1905 | 44' | retired 1929 row 12 : 73 | w. l. holman car | trailer | 1905 | 44' | retired 1929 row 13 : 1 | w. l. holman car | express trailer | 1916 | None | built as #8 express motor demotorized 1917 ] Execute this SQL based on the above table: select abs ( length - date ) where type = 'motor'
1857.0, 1857.0, 1857.0, 1857.0, 1860.0, 1860.0, 1860.0, 1860.0, 1860.0, 1860.0
[ header: name in english | name in turkish | area (km2) | depth | location (districts and/or provinces) row 1 : lake tuz | tuz golu | 1500 km2 | 2 m | aksaray, ankara, row 2 : lake egirdir | egirdir golu | 482 km2 | None | isparta row 3 : lake iznik | iznik golu | 308 km2 | None | iznik in bursa, row 4 : lake manyas | manyas golu | 166 km2 | None | balıkesir row 5 : lake acıgol | acıgol | 153 km2 | None | denizli, afyon row 6 : lake uluabat | uluabat golu | 134 km2 | 1-2 m | bursa row 7 : lake cıldır | cıldır golu | 115 km2 | None | ardahan, kars row 8 : lake palas tuzla | palas tuzla gol | 106 km2 | 15 m | palas/kayseri row 9 : lake hazar | hazar golu | 86 km2 | None | elazıg row 10 : lake koycegiz | koycegiz golu | 52 km2 | None | koycegiz in mugla row 11 : lake isıklı | isıklı golu | 49 km2 | None | denizli row 12 : lake yay | yay golu | 37 km2 | None | kayseri row 13 : lake tuzla | tuzla golu | 23 km2 | None | tuzla row 14 : lake kucukcekmece | kucukcekmece gol | 16 km2 | None | kucukcekmece, ist row 15 : lake yaraslı | yaraslı golu | 16 km2 | None | burdur row 16 : lake haclı | haclı golu | 16 km2 | None | mus row 17 : lake arin | arin golu | 13 km2 | None | None row 18 : lake balık | balık golu | 12 km2 | None | None row 19 : lake akdogan | akdogan golu | 11 km2 | None | None row 20 : lake cavuslu | cavuslu golu | 9 km2 | None | None row 21 : lake duden | duden golu | 8 km2 | None | None row 22 : lake gala | gala golu | 8 km2 | None | edirne row 23 : lake karatas | karatas golu | 6 km2 | None | None row 24 : lake eymir | eymir golu | 1.8 km2 | None | ankara row 25 : lake golcuk | golcuk golu | 1 km2 | None | izmir ] Execute this SQL based on the above table: select count ( * ) where name in turkish = 'uluabat golu'
1
[ header: # | title | type | opening date | closing date | performances | comment row 1 : 5 | les miserables | m | march 12, 1987 | may 18, 2003 | 6680 | 8 tony awards in 1987, including best row 2 : 10 | rent | m | april 29, 1996 | september 7, 2008 | 5123 | 4 tony awards in 1996, including best row 3 : 11 | wicked | m | october 30, 2003 | None | 4333 | currently running at the gershwin theatre row 4 : 12 | miss saigon | m | april 11, 1991 | january 28, 2001 | 4092 | 3 tony awards in 1991 4 drama desk row 5 : 23 | avenue q | m | july 31, 2003 | september 13, 2009 | 2534 | 3 tony awards in 2004, including best musical row 6 : 24 | the producers | m | april 19, 2001 | april 22, 2007 | 2502 | 12 tony awards in 2001, including best row 7 : 32 | pippin | m | october 23, 1972 | june 12, 1977 | 1944 | 5 tony awards in 1973 5 drama desk row 8 : 33 | south pacific | m | april 7, 1949 | january 16, 1954 | 1925 | 10 tony awards in 1950, including best row 9 : 45 | ain't misbehavin' | r | may 9, 1978 | february 21, 1982 | 1604 | 3 tony awards in 1978, including best row 10 : 56 | grease | m | may 11, 1994 | january 25, 1998 | 1505 | revival original production in 1972 (3,388 performances row 11 : 58 | arsenic and old lace | p | january 10, 1941 | june 17, 1944 | 1444 | revival in 1986 (221 performances) row 12 : 61 | how to succeed in business without really trying | m | october 14, 1961 | march 6, 1965 | 1417 | 7 tony awards in 1962, including best row 13 : 64 | funny girl | m | march 26, 1964 | july 1, 1967 | 1348 | grammy award for best score from an original row 14 : 67 | billy elliot the musical | m | november 13, 2008 | january 8, 2012 | 1312 | 10 tony awards in 2009, including best row 15 : 74 | the king and i | m | march 29, 1951 | march 20, 1954 | 1246 | 5 tony awards in 1952, including best row 16 : 92 | butterflies are free | p | october 21, 1969 | july 2, 1972 | 1128 | a tony award in 1970 ] Execute this SQL based on the above table: select type where performances = 1348
m
[ header: | agglutination | synthesis | compounding | derivation | inflection | prefixing | suffixing row 1 : swahili | 0.67 | 2.56 | 1 | 0.03 | 0.31 | 0.45 | 0.16 row 2 : spoken turkish | 0.67 | 1.75 | 1.04 | 0.06 | 0.38 | 0 | 0.44 row 3 : written turkish | 0.6 | 2.33 | 1 | 0.11 | 0.43 | 0 | 0.54 row 4 : yakut | 0.51 | 2.17 | 1.02 | 0.16 | 0.38 | 0 | 0.53 row 5 : greek | 0.4 | 1.82 | 1.02 | 0.07 | 0.37 | 0.02 | 0.42 row 6 : english | 0.3 | 1.67 | 1 | 0.09 | 0.32 | 0.02 | 0.38 row 7 : eskimo | 0.03 | 3.7 | 1 | 0.34 | 0.47 | 0 | 0.73 ] Execute this SQL based on the above table: select where synthesis > '1.67' order by synthesis asc limit 1
spoken turkish
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 5 | jim clark | lotus-ford | 80 | 1:59:25.6 | 1 | 9 row 2 : 2 | 2 | denny hulme | brabham-repco | 80 | + 12.8 | 4 | 6 row 3 : 3 | 8 | chris amon | ferrari | 80 | + 16.6 | 6 | 4 row 4 : 4 | 1 | jack brabham | brabham-repco | 80 | + 21.8 | 3 | 3 row 5 : 5 | 12 | pedro rodriguez | cooper-maserati | 79 | + 1 lap | 9 | 2 row 6 : 6 | 7 | john surtees | honda | 78 | + 2 laps | 7 | 1 row 7 : 7 | 15 | chris irwin | brm | 77 | + 3 laps | 13 | None row 8 : 8 | 20 | david hobbs | brm | 77 | + 3 laps | 14 | None row 9 : 9 | 14 | alan rees | cooper-maserati | 76 | + 4 laps | 15 | None row 10 : 10 | 18 | guy ligier | brabham-repco | 76 | + 4 laps | 21 | None row 11 : ret | 19 | bob anderson | brabham-climax | 67 | engine | 17 | None row 12 : ret | 6 | graham hill | lotus-ford | 64 | engine | 2 | None row 13 : ret | 4 | mike spence | brm | 44 | ignition | 11 | None row 14 : ret | 9 | dan gurney | eagle-weslake | 34 | clutch | 5 | None row 15 : ret | 22 | silvio moser | cooper-ats | 29 | oil pressure | 20 | None row 16 : ret | 11 | jochen rindt | cooper-maserati | 26 | engine | 8 | None row 17 : ret | 3 | jackie stewart | brm | 20 | transmission | 12 | None row 18 : ret | 10 | bruce mclaren | eagle-weslake | 14 | engine | 10 | None row 19 : ret | 17 | jo siffert | cooper-maserati | 10 | engine | 18 | None row 20 : ret | 23 | jo bonnier | cooper-maserati | 0 | engine | 9 | None row 21 : dns | 16 | piers courage | brm | 0 | non starter | None | None ] Execute this SQL based on the above table: select count ( * ) where constructor = 'ferrari' and points > ( select points where constructor = 'cooper-maserati' )
1
[ header: university | winner | runner-up | years won | years runner-up row 1 : waseda university | 15 | 15 | 1965,1966,1968,1970 | 1964,1967,1969,1972, row 2 : meiji university | 12 | 9 | 1972,1975,1977,1979 | 1973,1974,1976,1978, row 3 : kanto gakuin university | 6 | 4 | 1997,1998,2000,2001,2003, | 1999,2002,2004,2005 row 4 : doshisha university | 4 | 2 | 1980,1982,1983,1984 | 1979,1987 row 5 : hosei university | 3 | 5 | 1964,1967,1992 | 1965,1966,1971,1993,2000 row 6 : keio university | 3 | 3 | 1968,1985,1999 | 1977,1984,2007 row 7 : daito bunka university | 3 | 1 | 1986,1988,1994 | 1991 row 8 : nippon sport science university | 2 | 3 | 1969,1978 | 1970,1983,1989 row 9 : teikyo university | 3 | 1 | 2009,2010,2011,2012 | 2008 row 10 : tokai university | 0 | 1 | None | 2009 row 11 : tenri university | 0 | 1 | None | 2011 row 12 : tsukuba university | 0 | 1 | None | 2012 ] Execute this SQL based on the above table: select count ( university ) where university = 'daito bunka university' and university > 1965
1
[ header: place | position | number | name | league one | fa cup | league cup | football league trophy | total row 1 : 1 | mf | 4 | luke summerfield | 5 | 0 | 0 | 0 | 5 row 2 : 2 | mf | 17 | paul parry | 3 | 0 | 1 | 0 | 4 row 3 : 3 | fw | 24 | tom eaves | 3 | 0 | 0 | 0 | 3 row 4 : 4 | mf | 11 | jon taylor | 1 | 0 | 0 | 1 | 2 row 5 : 4 | df | 5 | darren jones | 2 | 0 | 0 | 0 | 2 row 6 : 4 | mf | 23 | adam reach | 2 | 0 | 0 | 0 | 2 row 7 : 4 | mf | 22 | ryan woods | 2 | 0 | 0 | 0 | 2 row 8 : 4 | fw | 26 | curtis main | 2 | 0 | 0 | 0 | 2 row 9 : 5 | mf | 2 | jermaine grandison | 1 | 0 | 0 | 0 | 1 row 10 : 5 | mf | 8 | dave mcallister | 1 | 0 | 0 | 0 | 1 row 11 : 5 | fw | 15 | aaron wildig | 1 | 0 | 0 | 0 | 1 row 12 : 5 | fw | 29 | asa hall | 1 | 0 | 0 | 0 | 1 row 13 : 5 | fw | 7 | gozie ugwu | 1 | 0 | 0 | 0 | 1 row 14 : 5 | df | 18 | connor goldson | 1 | 0 | 0 | 0 | 1 row 15 : 5 | mf | 10 | nicky wroe | 1 | 0 | 0 | 0 | 1 row 16 : 5 | fw | 9 | tom bradshaw | 1 | 0 | 0 | 0 | 1 ] Execute this SQL based on the above table: select position order by league cup desc limit 1
mf
[ 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 min ( year ) where year >= 2007
2007
[ header: year | company | number of members affected | duration of strike | notes row 1 : 1955 | southern bell telephone co | 50000 | 72 days | strike was in answer to management's effort to row 2 : 1968 | at&t | 200000 | 18 days | wage increases to compensate for cost of living, and row 3 : 1971 | bell system | 400000 | 1 week | cost of living allowance (cola) won for workers row 4 : 1983 | bell system | 600000 | 22 days | last contract with the bell system before its breakup row 5 : 1986 | at&t | 175000 | 25 days | cola clause suspended in contract - former bell row 6 : 1989 | at&t | 175000 | None | child and elder care benefits added to contract. row 7 : 1989 | nynex | 175000 | 17 weeks | strike was due to major health care cuts by row 8 : 1998 | us west | 34000 | 15 day | strike was due to mandatory overtime demands and forced pay row 9 : 2000 | verizon | 80000 | 3 weeks | strike was due to mandatory overtime demands. provisions for row 10 : 2011 | verizon | 45000 | 13 days | strike was due to major wage and health care cuts row 11 : 2012 | at&t | 20000 | 2 days | at&t west; californi ] Execute this SQL based on the above table: select notes group by notes order by count ( notes ) desc limit 1
wage increases to compensate for cost of living, and medical benefits won
[ header: fence | name | jockey | age | handicap (st-lb) | starting price | fate row 1 : 22 | what a myth | paul kelleway | 9 | 11-4 | 11/2 | fell row 2 : 3 | rough tweed | pat buckley | 12 | 10-7 | 22/1 | fell row 3 : None | kapeno | david mould | 9 | 10-6 | 100/7 | fell row 4 : 6 | packed home | tommy carberry | 11 | 10-3 | 33/1 | fell row 5 : 22 | greek scholar | michael scudamore | 7 | 10-4 | 50/1 | fell row 6 : None | brown diamond | frank shortt | 11 | 10-0 | 100/1 | fell row 7 : 6 | popham down | willie robinson | 9 | 10-0 | 22/1 | fell row 8 : None | pontin-go | tm jones | 14 | 10-0 | 100/1 | fell row 9 : 15 | game purston | paddy cowley | 8 | 10-0 | 100/1 | fell row 10 : 22 | supersweet | mr d crossley-cook | 9 | 10-6 | 100/1 | fell row 11 : None | major hitch | paddy broderick | 8 | 10-1 | 50/1 | fell row 12 : 15 | irish day | jimmy magee | 10 | 10-0 | 40/1 | fell row 13 : None | scottish final | j gamble | 9 | 10-0 | 100/1 | fell row 14 : None | flamecap | f carroll | 9 | 10-0 | 100/1 | fell row 15 : 15 | black spot | jeremy speid-soo | 9 | 10-0 | 100/1 | fell row 16 : None | harry black | r court | 9 | 10-0 | 100/1 | fell row 17 : None | flying wild | pat taaffe | 10 | 11-0 | 20/1 | pulled up row 18 : None | stirling | hr beasley | 10 | 10-11 | 28/1 | pulled up row 19 : None | vultrix | stan mellor | 8 | 10-7 | 100/7 | pulled up row 20 : None | solimyth | mr john lawrence | 10 | 10-1 | 100/1 | pulled up row 21 : None | april rose | major piers bengough | 11 | 10-7 | 100/1 | pulled up row 22 : None | l'empereur | beltran osorio | 12 | 10-2 | 100/1 | pulled up row 23 : 14 | willow king | liam mcloughlin | 11 | 10-0 | 100/1 | pulled up row 24 : None | royal ryse | t hyde | 8 | 10-0 | 100/1 | pulled up row 25 : None | mac's flare | r langley | 10 | 10-0 | 100/1 | pulled up row 26 : None | king pin | mr tim durant | 10 | 10-11 | 100/1 | pulled up row 27 : None | in haste | j leech | 8 | 10-3 | 100/1 | pulled up row 28 : None | my gift | a redmond | 10 | 10-0 | 100/1 | pulled up row 29 : None | bold biri | j lehane | 10 | 10-0 | 100/1 | pulled up row 30 : 22 | valouis | e prendergast | 7 | 10-0 | 50/1 | brought down row 31 : 22 | leslie | mr jm opperman | 10 | 10-5 | 100/1 | brought down row 32 : None | dorimont | mr w shand-ky | 12 | 10-0 | 50/1 | unseated rider row 33 : 15 | fujino-o | jeff king | 7 | 12-0 | 100/1 | refused row 34 : None | monarch's thought | g cramp | 12 | 10-0 | 100/1 | refused row 35 : 6 | groomsman | mr s roberts | 11 | 11-0 | 100/1 | refused ] Execute this SQL based on the above table: select jockey where age = 10 and age < 651
jimmy magee, pat taaffe, hr beasley, mr john lawrence, r langley, mr tim durant, a redmond, j lehane, mr jm opperman
[ header: rank | bib | athlete | country | time | deficit | note row 1 : 8 | 37 | laure barthelemy | france | 3:08.53 | 4.64 | q row 2 : 10 | 27 | magda genuin | italy | 3:09.91 | 6.02 | q row 3 : 11 | 16 | arianna follis | italy | 3:10.41 | 6.52 | q row 4 : 12 | 24 | celine brun-lie | norway | 3:10.45 | 6.56 | q row 5 : 21 | 40 | riikka sarasoja | finland | 3:13.49 | 9.6 | q row 6 : 24 | 9 | perianne jones | canada | 3:13.95 | 10.06 | q row 7 : 26 | 21 | anastasia dotsenko | russia | 3:15.03 | 11.14 | q row 8 : 27 | 33 | daria gaiazova | canada | 3:15.10 | 11.21 | q row 9 : 29 | 7 | jessica diggins | united states | 3:15.24 | 11.35 | q row 10 : 32 | 38 | natalya korostelyova | russia | 3:15.83 | 11.94 | None row 11 : 37 | 26 | madoka natsumi | japan | 3:17.89 | 14 | None row 12 : 38 | 28 | pirjo muranen | finland | 3:18.21 | 14.32 | None row 13 : 39 | 54 | elena soboleva | russia | 3:19.55 | 15.66 | None row 14 : 40 | 11 | elena kolomina | kazakhstan | 3:20.17 | 16.28 | None row 15 : 53 | 59 | rosamund musgrave | united kingdom | 3:26.34 | 22.45 | None row 16 : 54 | 1 | anastasia slonova | kazakhstan | 3:26.51 | 22.62 | None row 17 : 56 | 4 | piret pormeister | estonia | 3:27.34 | 23.45 | None row 18 : 57 | 64 | maryna antsybor | ukraine | 3:28.17 | 24.28 | None row 19 : 62 | 63 | monika gyorgy | romania | 3:32.20 | 28.31 | None row 20 : 63 | 71 | niviaq chemnitz | denmark | 3:32.56 | 28.67 | None row 21 : 67 | 67 | zoya zaviediei | ukraine | 3:38.21 | 31.32 | None row 22 : 74 | 86 | irina khodiakov | kyrgyzstan | 3:52.24 | 48.35 | None row 23 : 78 | 77 | agnes simon | hungary | 4:04.44 | +1:00.55 | None row 24 : 82 | 73 | syuzanna varosyan | armenia | 4:25.77 | +1:21.88 | None row 25 : 84 | 76 | valya varosyan | armenia | 4:30.74 | +1:26.85 | None row 26 : 85 | 80 | zane eglite | latvia | 4:37.37 | +1:33.48 | None row 27 : None | 61 | brooke gosling | canada | dns | None | None ] Execute this SQL based on the above table: select rank where athlete = 'celine brun-lie'
12
[ header: date | racecourse | distance | race status | race | position | winning distance (lengths) | jockey | rating | going | odds | prize money row 1 : april 10, 2004 | kempton park | 8f | listed | snowdrop fillies stakes | 2nd to beneventa | None | johnny murtagh | 114 | good to soft | 4/11f | £6,600 row 2 : april 24, 2004 | sandown park | 8f | group 2 | betfred mile | 3rd to hurricane alan | None | johnny murtagh | 114 | good to soft | 5/2f | £11,000 row 3 : may 22, 2004 | curragh | 8f | group 2 | ridgewood pearl stakes | 1st | 6 | johnny murtagh | None | good to firm | 11/10f | £56,760.56 row 4 : june 15, 2004 | royal ascot | 8f | group 1 | queen anne stakes | 2nd to refuse to bend | None | johnny murtagh | 114 | good to firm | 6/1 | £55,000 row 5 : july 6, 2004 | newmarket | 8f | group 1 | falmouth stakes | 1st | 21⁄2 | johnny murtagh | 114 | good to firm | 11/4 | £116,000 row 6 : july 28, 2004 | goodwood | 8f | group 1 | sussex stakes | 1st | nk | johnny murtagh | 115 | good | 3/1 | £174,000 row 7 : september 11, 2004 | leopardstown | 8f | group 1 | matron stakes | 1st | 1⁄2 | johnny murtagh | None | good to firm | 8/13f | £119,014.08 row 8 : september 25, 2004 | ascot | 8f | group 1 | qeii stakes | 6th to rakti | None | johnny murtagh | 120 | good to firm | 5/2f | £3,750 ] Execute this SQL based on the above table: select going where prize money < ( select prize money where going = 'good to firm' )
good to soft, good to soft, good to firm, good to firm
[ header: outcome | no. | date | championship | surface | opponent in the final | score in the final row 1 : runner-up | 1 | 1975 | bastad, sweden | clay | manuel orantes | 0-6, 3-6 row 2 : runner-up | 2 | 1976 | sao paulo, brazi | carpet | guillermo vilas | 3-6, 0-6 row 3 : winner | 1 | 1976 | santiago, chile | clay | carlos kirmayr | 5-7, 6-4, 6-4 row 4 : winner | 2 | 1977 | murcia, spain | clay | buster mottram | 6-4, 6-0, 6-3 row 5 : runner-up | 3 | 1977 | bogota, colombia | clay | guillermo vilas | 1-6, 2-6, 3-6 row 6 : winner | 3 | 1978 | cairo, egyp | clay | kjell johansson | 4-6, 6-4, 6-4 row 7 : runner-up | 4 | 1978 | indianapolis, u.s | clay | jimmy connors | 0-6, 3-6 row 8 : winner | 5 | 1978 | bournemouth, england | clay | paolo bertolucci | 6-2, 6-1, 6-3 row 9 : winner | 6 | 1978 | madrid, spain | clay | tomas smid | 6-7, 6-3, 6-3, row 10 : winner | 7 | 1979 | houston, u.s | clay | gene mayer | 6-3, 2-6, 7-6 row 11 : runner-up | 5 | 1979 | north conway, u.s | clay | harold solomon | 7-5, 4-6, 6-7 row 12 : winner | 9 | 1979 | boston, u.s | clay | hans gildemeister | 6-3, 6-1 row 13 : runner-up | 6 | 1979 | quito, ecuador | clay | victor pecci | 6-2, 4-6, 2-6 row 14 : runner-up | 7 | 1979 | santiago, chile | clay | hans gildemeister | 5-7, 7-5, 4-6 row 15 : runner-up | 8 | 1981 | vina del mar, chile | clay | victor pecci | 4-6, 0-6 row 16 : runner-up | 9 | 1982 | linz, austria | clay | anders jarryd | 4-6, 6-4, 4-6 row 17 : runner-up | 10 | 1982 | north conway, u.s | clay | ivan lendl | 3-6, 2-6 row 18 : winner | 11 | 1982 | indianapolis, u.s | clay | jimmy arias | 7-5, 5-7, 6-3 row 19 : winner | 12 | 1983 | la quinta, u.s | hard | eliot teltscher | 6-4, 6-2 row 20 : winner | 13 | 1983 | bournemouth, england | clay | tomas smid | 2-6, 7-6, 7-5 row 21 : runner-up | 11 | 1983 | hamburg, germany | clay | yannick noah | 6-3, 5-7, 2-6, row 22 : runner-up | 12 | 1983 | rome, italy | clay | jimmy arias | 2-6, 7-6, 1-6, row 23 : winner | 15 | 1984 | kitzbuhel, austria | clay | victor pecci | 7-5, 3-6, 6-1 row 24 : winner | 16 | 1984 | bordeaux, france | clay | francesco cancellotti | 7-5, 6-1 ] Execute this SQL based on the above table: select opponent in the final order by no. desc limit 1
francesco cancellotti
[ header: township | fips | population center | population | population density /km2 (/sq mi) | land area km2 (sq mi) | water area km2 (sq mi) | water % | geographic coordinates row 1 : belleville | 5575 | None | 675 | 4 (11) | 155 (60) | 0 (0) | 0.14% | 37°3′50′′n 96° row 2 : caneyville | 10425 | None | 88 | 1 (2) | 144 (55) | 1 (0) | 0.38% | 37°15′23′′n 96° row 3 : center | 11575 | None | 75 | 1 (1) | 144 (56) | 1 (0) | 0.80% | 37°15′28′′n 96° row 4 : harrison | 30275 | None | 114 | 1 (2) | 142 (55) | 0 (0) | 0.14% | 37°4′3′′n 96° row 5 : hendricks | 31300 | None | 179 | 1 (3) | 142 (55) | 0 (0) | 0.05% | 37°1′12′′n 96° row 6 : jefferson | 35125 | cedar vale | 834 | 6 (15) | 144 (56) | 1 (0) | 0.45% | 37°6′45′′n 96° row 7 : lafayette | 37650 | None | 65 | 0 (1) | 154 (59) | 2 (1) | 1.40% | 37°15′36′′n 96° row 8 : little caney | 41525 | None | 353 | 3 (8) | 117 (45) | 0 (0) | 0.31% | 37°3′51′′n 96° row 9 : salt creek | 62775 | None | 123 | 1 (3) | 127 (49) | 0 (0) | 0.34% | 37°15′13′′n 96° row 10 : sedan | 63775 | sedan | 1660 | 13 (34) | 128 (49) | 1 (0) | 0.65% | 37°7′50′′n 96° row 11 : summit | 69025 | None | 106 | 1 (2) | 144 (56) | 1 (0) | 0.40% | 37°8′17′′n 96° row 12 : washington | 75550 | None | 87 | 1 (2) | 121 (47) | 1 (0) | 0.71% | 37°7′41′′n 96° ] Execute this SQL based on the above table: select township where water % = '0.40%'
summit
[ header: year | place | gold | silver | bronze row 1 : 1970 | phoenix | united states of america sally carroll | soviet union nadezd | federal republic of germany ortrud f row 2 : 1974 | thun | soviet union galina zari | czechoslovakia ter | australia judith harrison en row 3 : 1978 | seoul | denmark kirsten broge bonnie | australia julie aitken patricia | united states of america sally carroll row 4 : 1982 | caracas | soviet union marina dobrantcheva | hungary palma balogh mart | people's republic of china jian row 5 : 1986 | suhl | soviet union marina dobrantcheva | france martine guepin eve | albania diana mata eman row 6 : 1990 | moscow | soviet union yauheniy | sweden kerstin bodin | people's republic of china haiying row 7 : 1994 | milan | people's republic of china xiaoping | korea soon hee boo | belarus zhanna shitik row 8 : 1998 | barcelona | people's republic of china yeq | korea eun kyung | mongolia munkhbayar row 9 : 2002 | lahti | people's republic of china luna ta | russia irina dolgat | united states of america elizabe row 10 : 2006 | zagreb | people's republic of china ying chen | belarus liudmila | germany munkhbayar dor ] Execute this SQL based on the above table: select gold where place = 'moscow' order by id asc limit 1
soviet union yauheniya haluza marina logvinenko nino salukvadze
[ header: election | number of popular votes | % of popular votes | total elected seats | +/- row 1 : 1988 | 139982 | 22.16 | 61 / 264 | None row 2 : 1991 | 170757 | 32.11 | 83 / 272 | 22 row 3 : 1994 | 242557 | 35.34 | 121 / 346 | 38 row 4 : 1999 | 271251 | 33.45 | 122 / 390 | 1 row 5 : 2003 | 459640 | 44.67 | 194 / 400 | 72 row 6 : 2007 | 445781 | 39.15 | 127 / 405 | 30 row 7 : 2011 | 464512 | 39.34 | 103 / 412 | 18 ] Execute this SQL based on the above table: select total elected seats where id = ( select id where total elected seats = '194 / 400' ) - 1
122 / 390
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | russia (rus) | 3 | 1 | 1 | 5 row 2 : 2 | canada (can) | 2 | 0 | 0 | 2 row 3 : 3 | germany (ger) | 1 | 3 | 2 | 6 row 4 : 4 | france (fra) | 0 | 1 | 2 | 3 row 5 : 5 | belarus (blr) | 0 | 1 | 0 | 1 row 6 : 6 | ukraine (ukr) | 0 | 0 | 1 | 1 row 7 : None | total | 6 | 6 | 6 | 18 ] Execute this SQL based on the above table: select abs ( bronze - rank ) where bronze = 2
1.0, 2.0
[ header: season | level | division | section | position | movements row 1 : 1960 | tier 4 | division 4 | halsingland | 3rd | None row 2 : 1961 | tier 4 | division 4 | halsingland | 2nd | None row 3 : 1962 | tier 4 | division 4 | halsingland | 1st | promoted row 4 : 1963 | tier 3 | division 3 | sodra norrland | 6th | None row 5 : 1964 | tier 3 | division 3 | sodra norrland nedre | 4th | None row 6 : 1965 | tier 3 | division 3 | sodra norrland nedre | 10th | relegated row 7 : 1966 | tier 4 | division 4 | halsingland | 9th | None row 8 : 1967 | tier 4 | division 4 | halsingland | 2nd | None row 9 : 1968 | tier 4 | division 4 | halsingland | 6th | None row 10 : 1969 | tier 4 | division 4 | halsingland | 3rd | None row 11 : 1970 | tier 4 | division 4 | halsingland | 2nd | None row 12 : 1971 | tier 4 | division 4 | halsingland | 1st | promotion playoffs - promoted row 13 : 1972 | tier 3 | division 3 | norra svealand | 6th | None row 14 : 1973 | tier 3 | division 3 | norra svealand | 11th | relegated row 15 : 1974 | tier 4 | division 4 | halsingland | 1st | promoted row 16 : 1975 | tier 3 | division 3 | sodra norrland | 9th | None row 17 : 1976 | tier 3 | division 3 | sodra norrland | 9th | None row 18 : 1977 | tier 3 | division 3 | sodra norrland | 9th | None row 19 : 1978 | tier 3 | division 3 | sodra norrland | 6th | None row 20 : 1979 | tier 3 | division 3 | sodra norrland | 9th | None row 21 : 1980 | tier 3 | division 3 | sodra norrland | 7th | None row 22 : 1981 | tier 3 | division 3 | sodra norrland | 9th | None row 23 : 1982 | tier 3 | division 3 | sodra norrland | 12th | relegated row 24 : 1982 | tier 4 | division 4 | halsingland | 3rd | None ] Execute this SQL based on the above table: select position order by division desc limit 1
3rd
[ header: rank | heat | nation | competitors | time | notes row 1 : 1 | 2 | united states | kelly willie, derrick | 2:59.30 | q row 2 : 2 | 2 | nigeria | james godday, musa au | 3:01.60 | q, sb row 3 : 3 | 2 | bahamas | andrae williams, denn | 3:01.74 | q, sb row 4 : 4 | 1 | great britain | timothy benjamin, | 3:02.40 | q, sb row 5 : 5 | 1 | japan | yuki yamaguchi, | 3:02.71 | q row 6 : 6 | 1 | germany | ingo schultz, kamghe | 3:02.77 | q row 7 : 7 | 1 | australia | john steffensen, cli | 3:03.06 | q row 8 : 8 | 1 | botswana | oganeditse moseki | 3:03.32 | q, sb row 9 : 9 | 2 | russia | aleksandr larin, andre | 3:03.35 | None row 10 : 10 | 2 | poland | piotr rysiukie | 3:03.69 | None row 11 : 11 | 2 | ukraine | volodymyr demchenko, y | 3:04.01 | None row 12 : 12 | 1 | greece | stilianos dimotsios, | 3:04.27 | sb row 13 : 13 | 1 | france | ahmed douhou, i | 3:04.39 | None row 14 : 14 | 2 | spain | eduardo ivan rodrig | 3:05.03 | sb row 15 : None | 2 | south africa | marcus la grange, hend | dnf | None row 16 : None | 1 | jamaica | michael campbell, michae | dsq | None ] Execute this SQL based on the above table: select notes where id = ( select id where notes = 'q, sb' ) - 1
q
[ header: no. | name | took office | left office | president served under | notable for row 1 : 2 | carl l. alsberg m. | december 16, 1912 | july 15, 1921 | william howard taft | None row 2 : 3 | walter gilbert campbell | 7/16/1921 | 6/30/1924 | warren g. harding, cal | None row 3 : 4 | charles albert browne, j | 7/1/1924 | 6/30/1927 | calvin coolidge | None row 4 : 5 | paul b. dunbar, | 5/6/1944 | 5/31/1951 | franklin d. ro | None row 5 : 6 | charles w. crawford | 6/1/1951 | 7/31/1954 | harry s truman, | None row 6 : 8 | james lee goddard, | 1/17/1966 | 7/1/1968 | lyndon b. johnson | None row 7 : 9 | herbert leonard ley, j | 7/1/1968 | 12/12/1969 | lyndon b. johnson | None row 8 : 10 | charles c. edward | 12/13/1969 | 3/15/1973 | richard m. nixon | None row 9 : 11 | alexander mackay schmidt, | 7/20/1973 | 11/30/1976 | richard m. nixon, | None row 10 : 12 | donald kennedy, | 4/4/1977 | 6/30/1979 | jimmy carter | None row 11 : 13 | jere edwin goyan, | 10/21/1979 | 1/20/1981 | jimmy carter | None row 12 : 14 | arthur hull hayes jr. | 4/13/1981 | 9/11/1983 | ronald reagan | None row 13 : 15 | frank edward young, | 7/15/1984 | 12/17/1989 | ronald reagan | None row 14 : 16 | david aaron kessler | 11/8/1990 | 2/28/1997 | george h. w. bush | None row 15 : 17 | jane ellen henney, | 1/17/1999 | 1/19/2001 | bill clinton | None row 16 : 19 | lester mills crawford, | 7/18/2005 | 9/23/2005 | george w. bush | charged with conflict of interest and lying about stock row 17 : 20 | andrew c. von eschen | 12/13/2006 | 1/20/2009 | george w. bush | member of the board of directors of biotime ( row 18 : 21 | margaret a. hamburg | 5/22/2009 | present | barack obama | None ] Execute this SQL based on the above table: select name where name != 'frank edward young, m.d., ph.d' and president served under = ( select president served under where name = 'frank edward young, m.d., ph.d' )
arthur hull hayes jr., m.d
[ header: tramway | country | city | height of pylons | span width, leaning straight line | span width, horizontal measurement | height of cable over ground | year of inauguration | notes row 1 : peak 2 peak gondola | canada | whistler | 65m | 3024 m | 3019 m | 436 m | 2008 | 3s aerial tramway constructed by doppel row 2 : hut of regensburg material transport aerial railway | austria | falbeson | None | None | None | 430 m | None | None row 3 : vanoise express | france | vanoise | none | 1850 m | 1800 m | 380 m | 2003 | None row 4 : aiguille du midi | france | chamonix | none | 2867 m | 2500 m | None | 1955 | 2nd section row 5 : vallee blanche aerial tramway | france | mont blanc | none | 2831 m, 1684 m | span is almost horizontal | appr. 300 m | 1958 | rock anchored support structure row 6 : 3s aerial tramway | austria | kitzbuhel | 0 m, 80m | 2507 m | None | 400 m | 2004 | None row 7 : sandia peak tramway | usa | albuquerque | 70.7 m, 21.33 m | 2353 m | None | 274 m | 1966 | None row 8 : feldmoos-chli-tit | switzerland | titlis | 37.6 m | 3476,2 m | None | None | 1979 | temp. site tramway, demolished in ] Execute this SQL based on the above table: select ( select avg ( year of inauguration ) where notes = '3s aerial tramway constructed by doppelmayr' ) > ( select avg ( year of inauguration ) where notes = 'temp. site tramway, demolished in 1986' )
1
[ header: no. | title | directed by | written by | original air date row 1 : 1 | "reunion" | bryan spicer | patrick massett & john | january 27, 2003 row 2 : 2 | "antarctica" | perry lang | patrick massett & john | february 3, 2003 row 3 : 3 | "skulls" | adam nimoy | patrick massett & john | february 10, 2003 row 4 : 4 | "heist" | rick kolbe | rick kellard | march 10, 2003 row 5 : 5 | "the wheel of dharma" | r. w. goodwin | stephanie bloch-chambers | None row 6 : 6 | "sangraal" | perry lang | gabrielle stanton & harry | None row 7 : 7 | "mummy virus" | vern gillum | rick kellard & thani | None row 8 : 8 | "name of god" | michael nankin | brad falchuk | None row 9 : 9 | "devil's child" | tom wright | thania st. john | None row 10 : 10 | "avalon" | dwight little | i. c. rapoport | None row 11 : 11 | "the lost codex" | tom wright | gabrielle stanton & harry | None row 12 : 12 | "eternal" | fred gerber | thania st. john | None row 13 : 13 | "helmholtz resonance" | larry shaw | patrick massett & john | None ] Execute this SQL based on the above table: select directed by , original air date where original air date not null
bryan spicer, january 27, 2003, perry lang, february 3, 2003, adam nimoy, february 10, 2003, rick kolbe, march 10, 2003
[ header: seat | state | majority | member | party row 1 : hinkler | qld | 0 | paul neville | npa row 2 : solomon | nt | 0.1 | dave tollner | lib row 3 : adelaide | sa | 0.2 | hon trish worth | lib row 4 : canning | wa | 0.4 | don randall | lib row 5 : dobell | nsw | 0.4 | ken ticehurst | lib row 6 : parramatta | nsw | 1.1 | ross cameron | lib row 7 : mcewen | vic | 1.2 | fran bailey | lib row 8 : paterson | nsw | 1.4 | bob baldwin | lib row 9 : herbert | qld | 1.6 | peter lindsay | lib row 10 : richmond | nsw | 1.6 | hon larry anthony | npa row 11 : deakin | vic | 1.7 | philip barresi | lib row 12 : eden-monaro | nsw | 1.7 | gary nairn | lib row 13 : hindmarsh | sa | 1.9 | hon christine gallus | lib ] Execute this SQL based on the above table: select count ( * ) where seat = 'dobell'
1
[ header: name | elected | term began | term ended row 1 : john t. jordan | elected july 10, 1871 | 1871 | 1872 row 2 : john collins | elected july 14, 1873 | 1873 | 1874 row 3 : henry yesler | elected july 13, 1874 | 1874 | 1875 row 4 : gideon a. weed | elected july 10, 1876 and ju | 1876 | 1878 row 5 : leonard purley smith | elected july 12, 1880 and ju | 1880 | 1882 row 6 : henry g. struve | elected july 10, 1882 and ju | 1882 | 1884 row 7 : john leary | elected july 14, 1884 | 1884 | 1885 row 8 : henry yesler | elected july 13, 1885 | 1885 | 1886 row 9 : dr. thomas t | elected july 11, 1887 | 1887 | 1888 row 10 : harry white | elected july 14, 1890 resigned | 1890 | 1891 row 11 : byron phelps | elected march 12, 1894 | 1894 | 1896 row 12 : richard a. ballinger | elected march 8, 1904 | 1904 | 1906 row 13 : john f. miller | elected march 3, 1908 | 1908 | 1910 row 14 : george w. dilling | appointed february 10, 1911[citation needed] | 1912 | None row 15 : george f. cotterill | elected march 5, 1912 | 1912 | 1914 row 16 : ole hanson | elected march 5, 1918 resigned august 28, 1919 | 1918 | 1919 row 17 : hugh m. caldwell | elected march 2, 1920 | 1920 | 1922 row 18 : edwin j. brown | elected may 2, 1922 and march 4, 1924 | 1922 | 1926 row 19 : frank e. edward | elected march 6, 1928 and march 4, 1930 recalled | 1928 | 1931 row 20 : robert h. harl | appointed july 14, 1931 | 1931 | 1932 row 21 : charles l. smith | elected march 6, 1934 | 1934 | 1936 row 22 : john f. dore | elected march 3, 1936 became gravely ill and | 1936 | 1938 row 23 : arthur b. langlie | elected march 8, 1938 appointed to take office early, | 1938 | 1941 row 24 : john e. carroll | appointed january 27, 1941 | 1941 | 1941 row 25 : william f. devin | elected march 3, 1942, march 7, 1944, march | 1942 | 1952 row 26 : allan pomeroy | elected march 4, 1952 | 1952 | 1956 row 27 : gordon s. clinton | elected march 6, 1956 and march 8, 1960 | 1956 | 1964 row 28 : james d'orma bra | elected march 10, 1964 resigned march 23, 1969 | 1964 | 1969 row 29 : floyd c. miller | appointed march 23, 1969 | 1969 | 1969 row 30 : wesley c. uhlman | elected november 4, 1969 and november | december 1, 1969 | january 1, 1978 row 31 : charles royer | elected november 8, 1977, november | january 1, 1978 | january 1, 1990 ] Execute this SQL based on the above table: select count ( * ) where name <= 78
0
[ header: pos | no | driver | team | laps | time/retired | grid | points row 1 : 1 | 5 | will power | team australia | 73 | 1:45:58.568 | 7 | 31 row 2 : 2 | 21 | neel jani | pkv racing | 73 | 2.972 | 9 | 28 row 3 : 3 | 9 | justin wilson | rsports | 73 | 3.48 | 2 | 25 row 4 : 4 | 15 | simon pagenaud | team australia | 73 | 5.643 | 4 | 23 row 5 : 5 | 19 | bruno junqueira | dale coyne racing | 73 | 20.738 | 5 | 21 row 6 : 6 | 14 | robert doornbos | minardi team usa | 72 | + 1 lap | 12 | 19 row 7 : 7 | 28 | ryan dalziel | pacific coast motorsports | 72 | + 1 lap | 11 | 17 row 8 : 8 | 8 | alex tagliani | rsports | 71 | + 2 laps | 6 | 15 row 9 : 9 | 1 | sebastien bourdais | n/h/l racing | 67 | contact | 1 | 16 row 10 : 10 | 7 | oriol servia | forsythe racing | 56 | contact | 3 | 11 row 11 : 11 | 2 | graham rahal | n/h/l racing | 52 | contact | 15 | 10 row 12 : 12 | 4 | dan clarke | minardi team usa | 43 | contact | 13 | 9 row 13 : 13 | 34 | jan heylen | conquest racing | 1 | contact | 8 | 8 row 14 : 14 | 3 | paul tracy | forsythe racing | 0 | contact | 10 | 7 row 15 : 15 | 22 | tristan gommendy | pkv racing | 0 | contact | 14 | 6 row 16 : 16 | 11 | katherine legge | dale coyne racing | 0 | contact | 16 | 5 row 17 : 17 | 29 | alex figge | pacific coast motorsports | 0 | contact | 17 | 4 ] Execute this SQL based on the above table: select count ( team ) where pos - points > 3
5
[ header: year | title | credit | role | notes row 1 : 2005 | new york doll | producer | None | nominated for a grand jury prize in row 2 : 2005 | cry_wolf | producer | None | None row 3 : 2007 | the king of kong: a fi | director | None | accepted to slamdance and bought row 4 : 2008 | four christmases | director | None | None row 5 : 2010 | freakonomics | director and screenwriter | None | None row 6 : 2011 | horrible bosses | director | cameo appearance | None row 7 : 2011 | undefeated | producer | example | won the documentary oscar in 2012 row 8 : 2013 | identity thief | director | None | None row 9 : None | wargames | director | None | None row 10 : None | uncharted | director | None | None ] Execute this SQL based on the above table: select abs ( ( select year where year = 2005 ) - ( select year where year = 2013 ) )
8
[ header: week | date | opponent | home/away | result | bye row 1 : 1 | february 8 | new orleans voodoo | home | l 42-34 | 0 row 2 : 2 | february 15 | dallas desperados | away | l 51-47 | 0 row 3 : 3 | february 21 | columbus destroyers | home | w 56-34 | 0 row 4 : 4 | february 29 | tampa bay storm | away | l 40-37 | 0 row 5 : 5 | march 7 | chicago rush | home | w 53-47 | 0 row 6 : 6 | march 13 | columbus destroyers | away | l 43-41 | 0 row 7 : 7 | march 21 | colorado crush | home | l 40-33 | 0 row 8 : 8 | march 28 | austin wranglers | away | w 65-60 | 0 row 9 : 9 | april 4 | dallas desperados | home | w 47-31 | 0 row 10 : 10 | None | None | week | None | 1 row 11 : 11 | april 17 | carolina cobras | away | l 63-59 | 0 row 12 : 12 | april 24 | new york dragons | home | w 60-58 | 0 row 13 : 13 | may 1 | colorado crush | away | l 58-40 | 0 row 14 : 14 | may 8 | las vegas gladiators | home | l 63-35 | 0 row 15 : 15 | may 15 | carolina cobras | home | l 46-43 | 0 row 16 : 16 | may 22 | san jose sabercat | away | l 48-36 | 0 row 17 : 17 | may 30 | new york dragons | away | l 69-54 | 0 ] Execute this SQL based on the above table: select opponent order by week desc limit 1
new york dragons
[ header: region/country | 1882- 1918 | 1919- 1948 | 1948- 1951 | 1952- 1960 | 1961- 1971 | 1972- 1979 | 1980- 1989 | 1990- 2001 | 2002- 2010 | 2011- 2013 | total row 1 : africa | None | 11180 | 96272 | 143706 | 165372 | 20109 | 28822 | 55560 | 31419 | 7755 | 560195 row 2 : algeria | None | 357 | 3810 | 3433 | 12857 | 2137 | 1830 | 1682 | 1967 | 167 | 27035 row 3 : libya | None | 1300 | 30972 | 2079 | 2466 | 219 | 67 | 94 | 36 | 5 | 37138 row 4 : morocco | None | 1500 | 30750 | 95945 | 130507 | 7780 | 3809 | 3276 | 2113 | 95 | 275261 row 5 : zimbabwe | None | None | 37 | 22 | 145 | 393 | 82 | 26 | 22 | 3 | 722 row 6 : bolivia | None | None | 0 | 0 | 199 | 94 | 80 | 53 | 84 | 11 | 521 row 7 : colombia | None | None | 0 | 0 | 415 | 552 | 475 | 657 | 965 | 206 | 3270 row 8 : mexico | None | None | 48 | 168 | 736 | 861 | 993 | 1049 | 697 | 238 | 4790 row 9 : panama | None | None | 0 | 0 | 64 | 43 | 48 | 50 | 40 | 10 | 255 row 10 : other (americas/oceania) | None | 318 | 313 | 0 | 148 | 3 | 8 | 44 | 12 | 238 | 1084 row 11 : afghanistan | None | 1600 | 2303 | 1106 | 516 | 132 | 57 | 21 | 13 | None | 5648 row 12 : azerbaijan | None | None | 0 | 0 | 0 | 1800 | 25000 | 33453 | 2142 | 295 | 62691 row 13 : iran | 1760 | 6000 | 21910 | 15699 | 19502 | 9550 | 8487 | 4326 | 1097 | 97 | 88428 row 14 : japan | None | None | 0 | 9 | 25 | 34 | 57 | 98 | 32 | 2 | 257 row 15 : lebanon | None | None | 235 | 846 | 2208 | 564 | 179 | 96 | 34 | 5 | 4167 row 16 : yemen | 5000 | 18000 | 48315 | 1170 | 1066 | 51 | 17 | 683 | 103 | 69 | 74474 row 17 : europe | None | 471477 | 330282 | 99564 | 168488 | 190336 | 75852 | 958834 | 119628 | 32412 | 2446873 row 18 : ireland | None | None | 14 | 46 | 145 | 157 | 233 | 136 | 54 | 5 | 790 row 19 : thereof: denmark | None | None | 27 | 46 | 298 | 292 | 411 | 389 | 85 | 17 | 1565 row 20 : thereof: russia | None | None | None | None | None | None | 22600 | 291231 | 41599 | 7223 | 362653 row 21 : thereof: baltic countries | None | None | None | None | None | None | 37300 | 21174 | 1018 | None | 59492 row 22 : (1): lithuania | None | None | None | None | None | None | 24500 | 6774 | None | 40 | 31314 row 23 : thereof: moldova | None | None | None | None | None | None | 24200 | 48261 | 2555 | 426 | 75442 ] Execute this SQL based on the above table: select count ( region/country ) where region/country = 'thereof: baltic countries'
1
[ header: flight | date | payload nickname | payload | orbit | result row 1 : tf1 (test flight) | february 4, 1994 | ryusei | orex (orbital re-ent | leo | success row 2 : tf1 (test flight) | february 4, 1994 | myojo | vep (vehicle evaluation pay | gto | success row 3 : tf2 | august 28, 1994 | kiku 6 | ets-vi (engineering | geo | success row 4 : tf3 | march 18, 1995 | himawari 5 | gms-5 (geostationary | geo | success row 5 : tf3 | march 18, 1995 | None | sfu (space flyer unit) | leo | success row 6 : f4 | august 17, 1996 | midori | adeos (advance | leo | success row 7 : f4 | august 17, 1996 | fuji 3 | fuji oscar 29, jas | leo | success row 8 : f6 | november 27, 1997 | None | trmm (tropical rainfall measuring mission | leo | success row 9 : f6 | november 27, 1997 | kiku 7 (orihime & | ets-vii (engineering | leo | success row 10 : f5 | february 21, 1998 | kakehashi | comets (communications and broadcasting engineering | geo | partial failure row 11 : f8 | november 15, 1999 | None | mtsat (multi-functional transport | geo | failure row 12 : f7 | canceled | midori ii | adeos-ii (a | None | canceled row 13 : f7 | canceled | None | μ-labsat | None | canceled ] Execute this SQL based on the above table: select orbit group by orbit order by count ( * ) desc limit 1
leo
[ header: location | region | coordinates (links to map & photo sources) | population | elevation row 1 : andahuaylas | apurimac | 13°39′20′′s 73° | 17444 | 3052 row 2 : barranca | lima | 10°45′00′′s 77° | 46290 | 64 row 3 : candarave | tacna | 17°16′04′′s 70°14 | 3415 | 3077 row 4 : checca | cusco | 14°28′22′′s 71° | 3810 | 3991 row 5 : chota | cajamarca | 6°33′s 78°39′ | 14240 | 2552 row 6 : independencia | lima | 11°59′24′′s 77° | 3987 | 390 row 7 : iquitos | loreto | 3°44′53′′s 73° | 437620 | 107 row 8 : junin | junin | 11°09′32′′s 75°59 | 15320 | 3999 row 9 : los aquijes | ica | 14°05′48′′s 75°41 | 7848 | 457 row 10 : mochumi | lambayeque | 6°32′49′′s 79° | 7460 | 151 row 11 : morrope | lambayeque | 6°32′30′′s 80°00 | 6662 | 116 row 12 : oyon | lima | 10°40′05′′s 76° | 6276 | 3553 row 13 : pangoa | cusco | 12°07′00′′s 73° | 6638 | 901 row 14 : pucallpa | ucayali | 8°22′45′′s 74° | 310750 | 158 row 15 : salaverry | la libertad | 8°14′00′′s 78° | 10066 | 70 row 16 : salinera colan | piura | 5°02′00′′s 81° | 14210 | 1 row 17 : san pedro de cachor | apurimac | 13°38′00′′s 72°53 | None | 2772 row 18 : sullana | piura | 4°54′14′′s 80°41 | 160789 | 67 row 19 : talara | piura | 4°34′38′′s 81° | 99074 | 14 ] Execute this SQL based on the above table: select coordinates (links to map & photo sources) order by elevation desc limit 1
11°09′32′′s 75°59′35′′w / 11.15889°s 75.99306°w
[ header: year | publisher | country | accolade | rank row 1 : 1981 | dave marsh & james | united states | "singles of the year 1978" | 1 row 2 : 1989 | dave marsh | united states | "the 1001 greatest singles ever made" | 716 row 3 : 1989 | rolling stone | united states | "the 100 best singles of the last 25 | 50 row 4 : 1995 | rock and roll hall of fame | united states | "500 songs that shaped rock and roll" | None row 5 : 2000 | rolling stone | united states | "100 greatest pop songs" | 93 row 6 : 2000 | vh1 | united states | "100 greatest dance songs" | 10 row 7 : 2001 | riaa | united states | "songs of the century" (365 | 94 row 8 : 2003 | popmatters | united states | "the 100 best songs since johnny | 65 row 9 : 2003 | q | united kingdom | "100 songs that changed the world" | 17 row 10 : 2003 | q | united kingdom | "the 1001 best songs ever" | 280 row 11 : 2004 | rolling stone | united states | "the 500 greatest songs of all time" | 189 row 12 : 2009 | vh1 | united states | "100 greatest rock songs" | 54 row 13 : 2010 | rolling stone | united states | "the 500 greatest songs of all time" | 191 row 14 : 2011 | robert dimery | united kingdom | "1001 songs you must hear before you die | None row 15 : 2011 | time | united states | "all-time 100 songs" | None ] Execute this SQL based on the above table: select sum ( rank ) where year = 2001
94.0
[ header: year | competition | venue | position | event | notes row 1 : 1982 | african championships | cairo, egyp | 1st | marathon | 2:21:05 row 2 : 1982 | commonwealth games | brisbane, australia | 2nd | marathon | 2:09:30 row 3 : 1983 | world championships | helsinki, finland | 15th | marathon | 2:13:11 row 4 : 1983 | melbourne marathon | melbourne, australia | 1st | marathon | 2:13:50 row 5 : 1984 | tokyo marathon | tokyo, japan | 1st | marathon | 2:10:49 row 6 : 1984 | olympic games | los angeles, united states | 6th | marathon | 2:11:10 row 7 : 1984 | melbourne marathon | melbourne, australia | 1st | marathon | 2:15:31 row 8 : 1986 | tokyo marathon | tokyo, japan | 1st | marathon | 2:08:10 row 9 : 1986 | fukuoka marathon | fukuoka, japan | 1st | marathon | 2:10:06 row 10 : 1987 | world championships | rome, italy | 6th | marathon | 2:13:43 row 11 : 1987 | beijing marathon | beijing, pr china | 1st | marathon | 2:12:19 row 12 : 1988 | olympic games | seoul, south korea | 7th | marathon | 2:13:06 row 13 : 1988 | boston marathon | boston, united states | 2nd | marathon | None row 14 : 1989 | new york city marathon | new york, united states | 1st | marathon | 2:08:01 row 15 : 1989 | boston marathon | boston, united states | 2nd | marathon | None row 16 : 1990 | boston marathon | boston, united states | 2nd | marathon | None row 17 : 1992 | olympic games | barcelona, spain | 34th | marathon | 2:19:34 row 18 : 1993 | world championships | stuttgart, germany | 21st | marathon | 2:24:23 row 19 : 1995 | world championships | gothenburg, sweden | 43rd | marathon | 2:30:53 ] Execute this SQL based on the above table: select year where year = 1983
1983, 1983
[ header: # | matters | sections of the constitution allowing their institution | eligible petitioners | type row 1 : 2 | a petition for a decision as to whether | section 68 | any person | constitutional defence row 2 : 3 | a petition for a decision as to whether | section 91 | at least one tenth of the existing representatives | membership row 3 : 4 | a petition for a decision as to whether | section 106 (7) | the representative in question | political party row 4 : 5 | a petition for a decision concerning the constitutional | section 141 | the national assembly | constitutionality of draft law row 5 : 6 | a petition for a decision as to whether | sections 140 and 149 | the president of the house of representatives or s | constitutionality of draft law row 6 : 9 | a petition for a decision as to whether | section 168, paragraph 7 | at least one tenth of the existing representatives | others row 7 : 11 | a petition for a decision as to whether | section 185 | at least one fifth of the existing representatives or senator | constitutionality of law row 8 : 12 | a petition for a decision as to whether | section 190 | at least one tenth of the existing representatives | authority row 9 : 13 | a petition for a decision as to whether | section 211 | a party to such case | constitutionality of law row 10 : 14 | a petition for a decision as to the | section 212 | any person whose constitutionally recognised right or freedom | constitutionality of law row 11 : 15 | a petition for a decision as to | section 214 | the president of the national assembly the prime minister the | authority row 12 : 16 | a petition for a decision as to whether | section 233 | at least one tenth of the existing representatives | membership row 13 : 18 | a petition for a decision as to the | section 245 (1) | ombudsmen | constitutionality of law row 14 : 19 | a petition for a decision as to the | section 257, paragraph 1 (2) | the national human rights commission | constitutionality of law ] Execute this SQL based on the above table: select sections of the constitution allowing their institution where sections of the constitution allowing their institution in ( 'section 185' , 'section 141' , 'section 91' ) order by # asc limit 1
section 91
[ header: festival | year | award | nominee | result row 1 : blue mountains film festival | 2011 | animation prize | None | won row 2 : firstglance film festival philadelphia | 2011 | best director (animation) | andrew martin | won row 3 : lucerne international film festival | 2011 | best animated movie | None | nominated row 4 : village roadshow queensland new filmmakers | 2011 | best animation | None | won row 5 : village roadshow queensland new filmmakers | 2011 | best film | None | nominated row 6 : village roadshow queensland new filmmakers | 2011 | best direction | andrew martin | nominated row 7 : monaco international film festival | 2011 | best short film script | None | won row 8 : monaco international film festival | 2011 | best short animation | None | won row 9 : milan international film festival | 2012 | short film award | None | nominated row 10 : shorts in paradise film festival | 2012 | runner up award | None | won row 11 : worldfest houston international film festival and video | 2012 | special jury remi | None | won row 12 : janison short sharp film festival | 2012 | animation grand prize | None | won row 13 : create design awards | 2012 | motion category | None | nominated row 14 : st kilda film festival | 2013 | best comedy | None | won ] Execute this SQL based on the above table: select award order by year desc limit 1
best comedy
[ header: week | date | kickoff | opponent | results final score | results team record | game site | attendance row 1 : 1 | saturday, april 13 | 7:00 p.m | at rhein fire | w 27-21 | 1-0 | rheinstadion | 32092 row 2 : 2 | saturday, april 20 | 7:00 p.m | london monarchs | w 37-3 | 2-0 | waldstadion | 34186 row 3 : 3 | sunday, april 28 | 6:00 p.m | at barcelona dragons | w 33-29 | 3-0 | estadi olimpic de mont | 17503 row 4 : 4 | sunday, may 5 | 7:00 p.m | amsterdam admirals | w 40-28 | 4-0 | waldstadion | 28627 row 5 : 5 | saturday, may 11 | 7:00 p.m | scottish claymores | l 0-20 | 4-1 | waldstadion | 32126 row 6 : 6 | sunday, may 19 | 3:00 p.m | at london monarchs | l 7-27 | 4-2 | white hart lane | 10764 row 7 : 7 | sunday, may 26 | 3:00 p.m | at scottish claymores | l 17-20 | 4-3 | murrayfield stadium | 13116 row 8 : 8 | saturday, june 1 | 7:00 p.m | rhein fire | l 8-31 | 4-4 | waldstadion | 38798 row 9 : 9 | saturday, june 8 | 7:00 p.m | barcelona dragons | w 24-21 | 5-4 | waldstadion | 33115 row 10 : 10 | saturday, june 15 | 6:30 p.m | at amsterdam admirals | w 28-20 | 6-4 | olympisch stadion | 14062 row 11 : 11 | sunday, june 23 | 6:00 p.m | at scottish claymores | l 27-32 | 6-5 | murrayfield stadium | 38982 ] Execute this SQL based on the above table: select game site where id = 1
rheinstadion
[ header: year | title | role | network | notes row 1 : 2000 | youth y2k 青春@y2 | cheng shasha | None | None row 2 : 2001 | the monkey king: quest for the sutra | purple orchid | tvb | None row 3 : 2001 | 藍寶石的夜空 | shek po-yi | tvb | eason chan's music video row 4 : 2002 | 一twins零一夜 | ah sa | tvb | music video row 5 : 2003 | triumph in the skies 衝上雲霄 | charlene | tvb | cameo row 6 : 2003 | all about boy'z 一起喝采 | langlang princess | now.com.hk | appearance in episode 2 row 7 : 2003 | 2半3更之困車立 | ah sa | now.com.hk | None row 8 : 2003 | 愛在陽光下 | aids patient | None | music video produced to support the global anti-aid row 9 : 2004 | kung fu soccer 功夫足球 | None | tvb | guest star row 10 : 2004 | sunshine heartbeat 赤沙印記@四葉草.2 | ah sa | tvb | guest star row 11 : 2004 | 家有寶貝 | ah sa | None | guest star row 12 : 2007 | colours of love 森之愛情 | wai-fong / ching- | tvb | None row 13 : 2007 | life off stage | None | None | None row 14 : 2010 | calling for love! 呼叫大明星 | chen dexin | cts | None row 15 : 2011 | the legend of swordman 劍俠情緣 | tang xiaowan / n | None | None row 16 : 2012 | happy marshal 歡樂元帥 | little dragon girl (xiao long nu) | None | None ] Execute this SQL based on the above table: select role where network = 'cts'
chen dexin
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 10 | juan pablo montoya | mclaren-mercedes | 60 | 1:24:29.588 | 3 | 10 row 2 : 2 | 5 | fernando alonso | renault | 60 | 2.739 | 1 | 8 row 3 : 3 | 9 | kimi raikkonen | mclaren-mercedes | 60 | 14.436 | 12 | 6 row 4 : 4 | 6 | giancarlo fisichella | renault | 60 | 17.914 | 6 | 5 row 5 : 5 | 3 | jenson button | bar-honda | 60 | 40.264 | 2 | 4 row 6 : 6 | 1 | michael schumacher | ferrari | 60 | +1:15.322 | 9 | 3 row 7 : 7 | 2 | rubens barrichello | ferrari | 60 | +1:16.567 | 5 | 2 row 8 : 8 | 17 | ralf schumacher | toyota | 60 | +1:19.212 | 8 | 1 row 9 : 9 | 16 | jarno trulli | toyota | 60 | +1:20.851 | 4 | None row 10 : 10 | 12 | felipe massa | sauber-petronas | 59 | +1 lap | 16 | None row 11 : 11 | 7 | mark webber | williams-bmw | 59 | +1 lap | 11 | None row 12 : 12 | 8 | nick heidfeld | williams-bmw | 59 | +1 lap | 14 | None row 13 : 13 | 14 | david coulthard | red bull-cosworth | 59 | +1 lap | 13 | None row 14 : 14 | 11 | jacques villeneuve | sauber-petronas | 59 | +1 lap | 10 | None row 15 : 15 | 15 | christian klien | red bull-cosworth | 59 | +1 lap | 15 | None row 16 : 16 | 4 | takuma sato | bar-honda | 58 | +2 laps | 7 | None row 17 : 17 | 18 | tiago monteiro | jordan-toyota | 58 | +2 laps | 20 | None row 18 : 18 | 21 | christijan albers | minardi-cosworth | 57 | +3 laps | 18 | None row 19 : 19 | 20 | patrick friesacher | minardi-cosworth | 56 | +4 laps | 19 | None row 20 : ret | 19 | narain karthikeyan | jordan-toyota | 10 | electrical | 17 | None ] Execute this SQL based on the above table: select grid where constructor = 'ferrari'
9, 5
[ header: no. | train no. | origin | destination | train name row 1 : 4 | 12611/2612 | chennai | h.nizamudin | garib rath row 2 : 6 | 11042/11041 | chennai | mumbai | mumbai express row 3 : 7 | 12842/12841 | chennai | howrah | coromandel express row 4 : 8 | 12840/12839 | chennai | howrah | howrah mail row 5 : 9 | 12679/12680 | chennai | coimbatore | intercity express row 6 : 10 | 12673/12674 | chennai | coimbatore | cheran express row 7 : 11 | 12675/12676 | chennai | coimbatore | kovai express row 8 : 15 | 16627/16628 | chennai | mangalore central | west coast express row 9 : 16 | 12601/12602 | chennai | mangalore central | mangalore mail row 10 : 17 | 12685/12686 | chennai | mangalore central | superfast express row 11 : 18 | 12656/12655 | chennai | ahmedabad | navjivan express row 12 : 19 | 12669/12670 | chennai | chhapra | ganga kaveri express row 13 : 21 | 16053/16054 | chennai | tirupati | tirupati express row 14 : 23 | 12759/12760 | chennai | hyderabad | charminar express row 15 : 24 | 12603/12604 | chennai | hyderabad | hyderabad express row 16 : 25 | 16669/16670 | chennai | erode | yercaud express row 17 : 26 | 12639/12640 | chennai | bangalore | brindavan express row 18 : 29 | 12027/12028 | chennai | bangalore | shatabdi express row 19 : 30 | 12609/12610 | chennai | bangalore | bangalore express row 20 : 31 | 12691/12692 | chennai | satya sai | satya sai row 21 : 32 | 12007/12008 | chennai | mysore | shatabdi express row 22 : 35 | 12623/12624 | chennai | trivandrum | trivandrum mail row 23 : 36 | 12695/12696 | chennai | trivandrum | superfast express row 24 : 38 | 16089/16090 | chennai | jolarpet junction | yelagiri express row 25 : 39 | 16031/16032 | chennai | jammutawi | andaman express row 26 : 40 | 12687/12688 | chennai | dehradun | dehradun express row 27 : 41 | 12712/12711 | chennai | vijayawada | pinakini express row 28 : 42 | 12077/12078 | chennai | vijayawada | jan shatabdi express row 29 : 45 | 16093/16094 | chennai | lucknow | lucknow express row 30 : 46 | 17311/17312 | chennai | vasco da gama, goa | vasco express row 31 : 47 | 17313/7314 | chennai | hubli | hubli express row 32 : 49 | 12291/12292 | chennai | yeswantpur | yeswantpur express ] Execute this SQL based on the above table: select sum ( no. )
839.0
[ header: class | no | team | drivers | chassis | engine | laps row 1 : gt 1.6 | 186 | luigi rinaldi | luigi rinaldi mario | alfa romeo gta | alfa romeo 1.6 i | 6 row 2 : p 3.0 | 14 | autodelta spa | toine hezemans masten | alfa romeo t33/3 | alfa romeo 3.0l | 5 row 3 : gt 1.6 | 188 | etna | checco d'angelo | alfa romeo gta | alfa romeo 1.6l | 5 row 4 : gt 1.3 | 288 | v10 kleber | ferdi bokmann hans | simca 1300 | simca 1.3l i4 | 5 row 5 : gt 2.0 | 128 | None | ignazio capuano | porsche 911s | porsche 2.0l flat-6 | 4 row 6 : gt 1.6 | 180 | scuderia pegaso | paolo de luca giu | alfa romeo gta | alfa romeo 1.6l | 4 row 7 : s 1.6 | 156 | etna | giuseppe d'amico | alfa romeo giuli | alfa romeo 1.6l | 3 row 8 : gt 1.6 | 198 | salvatore gagliano | salvatore gagliano alfons | alfa romeo gta | alfa romeo 1.6l | 3 row 9 : p 1.0 | 254 | romano martini | francesco patane "oras | fiat-abarth 1000sp | abarth 1.0l i4 | 3 row 10 : gt 1.6 | 264 | romano martini | romano martini alessandro | ats 1000 sp | ford 1.0l i4 | 3 row 11 : p 3.0 | 38 | abarth-osella | arturo merzario johan | abarth 3000sp | abarth 3.0l v8 | 2 row 12 : p 1.0 | 256 | scuderia brescia cor | luigi moreschi "patrizia | ams sp | ford 1.0l i4 | 2 row 13 : p 1.0 | 266 | "gero" | "gero" "roger" | de sanctis | ford 1.0l i4 | 2 row 14 : gt 1.6 | 276 | scuderia pegaso | antonio catalano marc | lancia fulvia hf | lancia 1.6l v4 | 2 row 15 : s 1.3 | 232 | aldo bersano | aldo bersano willi | abarth 1300s | abarth 1.3l i4 | 1 row 16 : gt 1.3 | 272 | jolly club | antonio trenti alber | lancia fulvia hf | lancia 1.6l v4 | 1 row 17 : p 3.0 | 20 | porsche system | vic elford hans her | porsche 908/03 | porsche 3.0l flat-8 | 0 ] Execute this SQL based on the above table: select count ( * ) where team = 'scuderia brescia corse'
1
[ header: year | album | peak us | peak us holiday | certifications (sales threshold) row 1 : 1990 | go west young man released: octo | 74 | None | riaa: platinum mc row 2 : 1992 | change your world released: september 1, 1992 label | 86 | None | riaa: platinum row 3 : 1995 | i'll lead you home released: august | 16 | None | riaa: platinum row 4 : 1998 | live the life released: april 28, | 23 | None | riaa: gold row 5 : 1998 | christmastime released: october 13, | 90 | 4 | riaa: gold row 6 : 1999 | this is your time released: november 23, | 21 | None | riaa: gold ] Execute this SQL based on the above table: select certifications (sales threshold) where peak us = 16
riaa: platinum
[ header: year | film | role | notes row 1 : 1986 | love 86 | vikram doshi | None row 2 : 1987 | khudgarz | kumar saxena | None row 3 : 1987 | sindoor | ravi | None row 4 : 1988 | paap ko jalaa | deepak malhotra | None row 5 : 1988 | halaal ki kamai | kabir khanna | None row 6 : 1988 | shiv shakti | shakti | None row 7 : 1989 | sachai ki ta | sagar singh | None row 8 : 1989 | taaqatwar | john d'mello | None row 9 : 1990 | maha-sangram | arjun 'munna' | None row 10 : 1990 | izzatdaar | vijay | None row 11 : 1990 | naya khoon | dr. anand | None row 12 : 1990 | taqdeer ka tama | satya | None row 13 : 1990 | awaargi | dhiren kumar | critically acclaimed role row 14 : 1992 | baaz | deva | None row 15 : 1994 | andaz apna a | himself | special appearance row 16 : 1994 | beta ho to aisa | raju | None row 17 : 1996 | maahir | bhola | None row 18 : 1996 | apne dam par | himself | special appearance row 19 : 1997 | deewana mastana | bunnu | nominated - filmfare best actor row 20 : 1997 | do ankhen barah hath | sagar | None row 21 : 1998 | achanak | arjun | None row 22 : 1998 | naseeb | krishna prasa | None row 23 : 2000 | kunwara | raju | nominated -filmfare award for row 24 : 2001 | aamdani atthani k | bhishma | None row 25 : 2001 | albela | rocky hiranandani | None row 26 : 2001 | censor | himself | special appearance row 27 : 2002 | pyaar diwana hota | sunder | None row 28 : 2002 | chalo ishq ladaa | pappu | None row 29 : 2003 | three roses | himself | tamil film - guest appearance row 30 : 2005 | ssukh | chandraprakash sharma | None row 31 : 2007 | partner | bhaskar diwakar chow | iifa best comedian award zee row 32 : 2013 | samadhi | deputy inspector general of police | bengali debut row 33 : 2014 | kill dil | negative role | filming (releasing on 5 september 2014) row 34 : 2014 | hero | None | filming, (releasing on 12th dec ] Execute this SQL based on the above table: select role where role in ( 'dhiren kumar' , 'vikram doshi' ) order by year asc limit 1
vikram doshi
[ header: sr. no. | name | from | till | occupation row 1 : 1 | padamvir singh | 2009 | current | ias row 2 : 2 | rudhra gangadhara | 06/04/2006 | 02/09/2009 | ias row 3 : 3 | d.s. mathur | 29/10/2004 | 06/04/2006 | ias row 4 : 4 | binod kumar | 20/01/2003 | 15/10/2004 | ias row 5 : 5 | wajahat habibullah | 08/11/2000 | 13/01/2003 | ias row 6 : 6 | b.s. baswan | 06/10/1996 | 08/11/2000 | ias row 7 : 7 | n.c. saxena | 25/05/1993 | 06/10/1996 | ias row 8 : 8 | b.n. yugandhar | 26/05/1988 | 25/01/1993 | ias row 9 : 9 | r.n. chopra | 06/06/1985 | 29/04/1988 | ias row 10 : 10 | k. ramanujam | 27/02/1984 | 24/02/1985 | ias row 11 : 11 | r.k. shastri | 09/11/1982 | 27/02/1984 | ias row 12 : 12 | i.c. puri | 16/06/1982 | 11/10/1982 | ias row 13 : 13 | p.s. appu | 02/08/1980 | 01/03/1982 | ias row 14 : 14 | g.c.l. jone | 23/07/1977 | 30/06/1980 | ias row 15 : 15 | b.c. mathur | 17/05/1977 | 23/07/1977 | ias row 16 : 16 | rajeshwar prasa | 11/05/1973 | 11/04/1977 | ias row 17 : 17 | d.d. sathe | 19/03/1969 | 11/05/1973 | ics row 18 : 18 | k.k. das | 12/07/1968 | 24/02/1969 | ics row 19 : 19 | m.g. pimputkar | 04/09/1965 | 29/04/1968 | ics row 20 : 20 | s.k. dutta | 13/08/1963 | 02/07/1965 | ics row 21 : 21 | a.n. jha | 01/09/1959 | 30/09/1962 | ics ] Execute this SQL based on the above table: select ( select count ( * ) where name is null ) > 0
0
[ header: team | location | home ground | first year in qld cup | last year in qld cup | qld cup premierships row 1 : aspley broncos | brisbane | bishop park | 2007 | 2007 | nil row 2 : brothers-valleys | brisbane | o'callaghan park | 2004 | 2004 | nil row 3 : bundaberg grizzlies | bundaberg | salter oval | 1996 | 1998 | nil row 4 : cairns cyclones | cairns | barlow park | 1996 | 2000 | nil row 5 : central capras | rockhampton | browne park | 1996 | 1997 | nil row 6 : gold coast vikings | gold coast | owen park and carrara stadium | 1998 | 1998 | nil row 7 : logan scorpions | logan city | meakin park | 1996 | 2002 | nil row 8 : mackay sea eagles | mackay | mackay junior rugby league ground | 1996 | 1996 | nil row 9 : north queensland young guns | townsville | dairy farmers stadium | 2002 | 2007 | 2005 row 10 : past brothers | brisbane | corbett park, crosby park, | 1996 | 1998 | nil row 11 : port moresby vipers | port moresby | lloyd robson oval | 1996 | 1997 | nil row 12 : souths magpies | brisbane | davies park | 1996 | 2002 | nil row 13 : sunshine coast falcons | sunshine coast | quad park | 1996 | 1996 | nil row 14 : townsville stingers | townsville | dairy farmers stadium, townsville sports reserve | 1998 | 1998 | nil row 15 : toowoomba clydesdales | toowoomba | athletic oval (clive berghofer | 1996 | 2006 | 1996, 2001 row 16 : wests panthers | brisbane | purtell park | 1996 | 2003 | nil ] Execute this SQL based on the above table: select team where team = 'gold coast vikings'
gold coast vikings
[ header: # | name | alma mater | birth date | marriage date | president | tenure | tenure row 1 : 1 | jiang qing | shandong provincial experimental theatre | 19 march 1914 | 20 november 1938 | mao zedong | 27 september 1954 | 27 april 1959 row 2 : 2 | wang guangmei | fu jen catholic university | 26 september 1921 | 21 august 1948 | liu shaoqi | 27 april 1959 | 21 october 1968 row 3 : 3 | he lianying | None | None | None | dong biwu | 31 october 1968 | 17 january 1975 row 4 : 4 | lin jiamei | tong de medical college | 1924 | None | li xiannian | 18 june 1983 | 8 april 1988 row 5 : 5 | wang yeping | shanghai foreign language institute | february 1928 | december 1949 | jiang zemin | 27 march 1993 | 15 march 2003 row 6 : 6 | liu yongqing | tsinghua university | 1940 | february 1970 | hu jintao | 15 march 2003 | 14 march 2013 row 7 : 7 | peng liyuan | china conservatory of music | 20 november 1962 | 1 september 1987 | xi jinping | 14 march 2013 | incumbent ] Execute this SQL based on the above table: select tenure order by # desc limit 1
incumbent
[ header: year | division | league | regular season | playoffs | open cup row 1 : 2004 | 4 | usl pdl | 8th, mid south | did not qualify | did not qualify row 2 : 2005 | 4 | usl pdl | 2nd, mid south | conference finals | did not qualify row 3 : 2006 | 4 | usl pdl | 1st, mid south | national final | 1st round row 4 : 2007 | 4 | usl pdl | 1st, mid south | champions | did not qualify row 5 : 2008 | 4 | usl pdl | 2nd, mid south | national final | did not qualify row 6 : 2009 | 4 | usl pdl | 1st, mid south | conference finals | did not qualify row 7 : 2010 | 4 | usl pdl | 1st, mid south | conference semi-final | did not qualify row 8 : 2011 | 4 | usl pdl | 1st, mid south | national final | did not qualify row 9 : 2012 | 4 | usl pdl | 1st, mid south | conference semi-final | 2nd round row 10 : 2013 | 4 | usl pdl | 2nd, mid south | conference finals | 2nd round ] Execute this SQL based on the above table: select league where year > ( select year where league = 'usl pdl' ) order by year asc limit 1
usl pdl
[ header: county | kerry | votes | bush | votes | others | votes row 1 : manhattan | 82.1% | 526765 | 16.7% | 107405 | 1.2% | 7781 row 2 : brooklyn | 74.9% | 514973 | 24.3% | 167149 | 0.8% | 5762 row 3 : queens | 71.7% | 433835 | 27.4% | 165954 | 0.9% | 5603 row 4 : tompkins | 64.2% | 27229 | 33.0% | 13994 | 2.8% | 1179 row 5 : albany | 60.7% | 89323 | 37.3% | 54872 | 2.0% | 3004 row 6 : erie | 56.4% | 251090 | 41.4% | 184423 | 2.2% | 9625 row 7 : ulster | 54.3% | 47602 | 43.1% | 37821 | 2.6% | 2289 row 8 : nassau | 52.2% | 323070 | 46.6% | 288355 | 1.1% | 6918 row 9 : clinton | 52.2% | 17624 | 45.4% | 15330 | 2.3% | 782 row 10 : schenectady | 51.8% | 35971 | 46.2% | 32066 | 2.1% | 1432 row 11 : broome | 50.4% | 46281 | 47.4% | 43568 | 2.2% | 2041 row 12 : suffolk | 49.5% | 315909 | 48.5% | 309949 | 2.0% | 12854 row 13 : niagara | 49.3% | 47602 | 48.8% | 47111 | 1.9% | 1867 row 14 : rockland | 48.9% | 64191 | 49.6% | 65130 | 1.5% | 1910 row 15 : cayuga | 48.6% | 17534 | 49.2% | 17743 | 2.1% | 775 row 16 : otsego | 47.7% | 12723 | 50.1% | 13342 | 2.2% | 587 row 17 : oswego | 46.8% | 24133 | 51.0% | 26325 | 2.2% | 1149 row 18 : saratoga | 45.6% | 48730 | 52.5% | 56158 | 1.9% | 1985 row 19 : montgomery | 44.5% | 9449 | 53.4% | 11338 | 2.0% | 434 row 20 : orange | 43.8% | 63394 | 54.7% | 79089 | 1.5% | 2190 row 21 : chemung | 43.7% | 17080 | 54.6% | 21321 | 1.7% | 674 row 22 : oneida | 42.8% | 40792 | 54.9% | 52392 | 2.3% | 2185 row 23 : ontario | 42.2% | 21166 | 55.9% | 27999 | 1.9% | 937 row 24 : putnam | 42.0% | 19575 | 56.6% | 26356 | 1.4% | 632 row 25 : fulton | 41.4% | 9202 | 56.6% | 12570 | 2.0% | 443 row 26 : herkimer | 41.2% | 11675 | 56.6% | 16024 | 2.2% | 611 row 27 : tioga | 40.6% | 9694 | 57.6% | 13762 | 1.9% | 446 row 28 : schuyler | 40.1% | 3445 | 57.7% | 4960 | 2.2% | 185 row 29 : cattaraugus | 39.4% | 13514 | 58.5% | 20051 | 2.0% | 697 row 30 : yates | 39.3% | 4205 | 58.9% | 6309 | 1.8% | 197 row 31 : wayne | 38.1% | 15709 | 60.0% | 24709 | 1.9% | 782 row 32 : orleans | 36.0% | 5959 | 62.3% | 10317 | 1.8% | 297 ] Execute this SQL based on the above table: select count ( * ) where kerry = 938 and kerry = '42.8%' and votes > 197
0
[ header: year | single | chart | position row 1 : 1986 | "holding out for a hero" | irish singles chart (1985) | 1 row 2 : 1986 | "holding out for a hero" | uk singles chart (1985) | 2 row 3 : 1986 | "holding out for a hero" | euro charts (1985) | 12 row 4 : 1986 | "holding out for a hero" | german singles chart (1984) | 19 row 5 : 1986 | "holding out for a hero" | canadian singles chart (1984) | 19 row 6 : 1986 | "holding out for a hero" | austrian singles chart (1984) | 19 row 7 : 1986 | "holding out for a hero" | swedish singles chart (1984 | 19 row 8 : 1986 | "holding out for a hero" | italian singles chart (1984) | 30 row 9 : 1986 | "holding out for a hero" | new zealand singles chart (1984 | 33 row 10 : 1986 | "holding out for a hero" | u.s. billboard singles chart | 34 row 11 : 1986 | "holding out for a hero" | australian singles chart (1984) | 44 row 12 : 1986 | "holding out for a hero" | uk singles chart (1991) | 69 row 13 : 1986 | "holding out for a hero" | uk singles chart (1984) | 96 row 14 : 1986 | "if you were a woman and i | venezuela | 1 row 15 : 1986 | "if you were a woman and i | french snep singles chart | 6 row 16 : 1986 | "if you were a woman and i | swiss singles chart | 16 row 17 : 1986 | "if you were a woman and i | uk club chart | 16 row 18 : 1986 | "if you were a woman and i | new zealand | 20 row 19 : 1986 | "if you were a woman and i | german singles chart | 32 row 20 : 1986 | "if you were a woman and i | australia | 77 row 21 : 1986 | "if you were a woman and i | u.s. billboard singles chart | 77 row 22 : 1986 | "if you were a woman and i | uk singles chart | 78 row 23 : 1986 | "if you were a woman and i | canada rpm | 87 row 24 : 1986 | "loving you's a dirty job | spain | 6 row 25 : 1986 | "loving you's a dirty job | switzerland | 24 row 26 : 1986 | "loving you's a dirty job | germany | 30 row 27 : 1986 | "loving you's a dirty job | french | 34 row 28 : 1986 | "loving you's a dirty job | uk | 73 row 29 : 1986 | "band of gold" | billboard hot dance breakouts singles sales | 6 row 30 : 1986 | "band of gold" | uk | 81 ] Execute this SQL based on the above table: select count ( single ) where single = 'canada rpm'
0
[ header: year | single | chart | position row 1 : 1986 | "holding out for a hero" | irish singles chart (1985) | 1 row 2 : 1986 | "holding out for a hero" | uk singles chart (1985) | 2 row 3 : 1986 | "holding out for a hero" | euro charts (1985) | 12 row 4 : 1986 | "holding out for a hero" | german singles chart (1984) | 19 row 5 : 1986 | "holding out for a hero" | canadian singles chart (1984) | 19 row 6 : 1986 | "holding out for a hero" | austrian singles chart (1984) | 19 row 7 : 1986 | "holding out for a hero" | swedish singles chart (1984 | 19 row 8 : 1986 | "holding out for a hero" | italian singles chart (1984) | 30 row 9 : 1986 | "holding out for a hero" | new zealand singles chart (1984 | 33 row 10 : 1986 | "holding out for a hero" | u.s. billboard singles chart | 34 row 11 : 1986 | "holding out for a hero" | australian singles chart (1984) | 44 row 12 : 1986 | "holding out for a hero" | uk singles chart (1991) | 69 row 13 : 1986 | "holding out for a hero" | uk singles chart (1984) | 96 row 14 : 1986 | "if you were a woman and i | venezuela | 1 row 15 : 1986 | "if you were a woman and i | french snep singles chart | 6 row 16 : 1986 | "if you were a woman and i | swiss singles chart | 16 row 17 : 1986 | "if you were a woman and i | uk club chart | 16 row 18 : 1986 | "if you were a woman and i | new zealand | 20 row 19 : 1986 | "if you were a woman and i | german singles chart | 32 row 20 : 1986 | "if you were a woman and i | australia | 77 row 21 : 1986 | "if you were a woman and i | u.s. billboard singles chart | 77 row 22 : 1986 | "if you were a woman and i | uk singles chart | 78 row 23 : 1986 | "if you were a woman and i | canada rpm | 87 row 24 : 1986 | "loving you's a dirty job | spain | 6 row 25 : 1986 | "loving you's a dirty job | switzerland | 24 row 26 : 1986 | "loving you's a dirty job | germany | 30 row 27 : 1986 | "loving you's a dirty job | french | 34 row 28 : 1986 | "loving you's a dirty job | uk | 73 row 29 : 1986 | "band of gold" | billboard hot dance breakouts singles sales | 6 row 30 : 1986 | "band of gold" | uk | 81 ] Execute this SQL based on the above table: select count ( year ) where single = '"if you were a woman and i was a man"'
10
[ header: year | single | peak chart positions us mod | peak chart positions uk | album row 1 : 1997 | "automatic" | None | None | losing streak row 2 : 1997 | "dopeman" | None | None | losing streak row 3 : 1997 | "dopeman" (remix) | None | None | non-album single row 4 : 1997 | "howie j. rey | None | None | non-album single row 5 : 1998 | "history of a boring town" | 39 | None | hello rockview row 6 : 2000 | "all my best friends are metalheads" | None | 51 | hello rockview row 7 : 2000 | "all my best friends are metalheads" | None | None | non-album single row 8 : 2001 | "gainesville rock city" | None | 57 | borders & boundaries row 9 : 2003 | "she's gonna break soon" | None | 39 | anthem row 10 : 2003 | "the science of selling yourself short" | 36 | 78 | anthem row 11 : 2003 | "surrender" | None | None | anthem row 12 : 2006 | "overrated (everything is)" | None | 61 | in with the out crowd row 13 : 2006 | "the rest of my life" | None | 77 | in with the out crowd row 14 : 2008 | "does the lion city still | None | None | gnv fla row 15 : 2008 | "abandon ship" | None | None | gnv fla ] Execute this SQL based on the above table: select count ( * ) where album = 'anthem'
3
[ header: game | november | opponent | score | record row 1 : 2 | 5 | @ detroit red wings | 12 - 5 | 0-2-0 row 2 : 3 | 7 | montreal canadiens | 4 - 3 ot | 1-2-0 row 3 : 4 | 8 | @ montreal canadiens | 10 - 4 | 1-3-0 row 4 : 5 | 10 | chicago black hawks | 5 - 3 ot | 2-3-0 row 5 : 6 | 14 | @ boston bruins | 5 - 3 | 2-4-0 row 6 : 7 | 15 | boston bruins | 4 - 3 | 2-5-0 row 7 : 8 | 19 | toronto maple leafs | 7 - 3 | 2-6-0 row 8 : 9 | 22 | detroit red wings | 4 - 4 | 2-6-1 row 9 : 10 | 26 | @ chicago black hawks | 2 - 1 | 3-6-1 row 10 : 11 | 28 | @ toronto maple leafs | 8 - 6 | 3-7-1 row 11 : 12 | 29 | boston bruins | 3 - 2 | 4-7-1 ] Execute this SQL based on the above table: select score group by score order by count ( * ) desc limit 1
8 - 6
[ header: release date | single title | uk singles chart position | french charts | german charts | irish charts | various row 1 : 1976 | "sister mary" (duet | None | None | None | 2 | None row 2 : may 1976 | "who's that lady with my man" | None | 5 | None | None | None row 3 : october 1976 | "help me" | None | 17 | None | None | None row 4 : 1976 | "goodbye venice goodbye" | None | None | None | None | None row 5 : february 1977 | "all we need is love" | None | None | None | None | None row 6 : june 1977 | "run to me" | None | None | None | None | #22 (netherlands), #5 ( row 7 : february 1978 | "make love to me" | None | None | None | None | #5 (australia), #2 ( row 8 : august 1978 | "loving just for fun" | None | None | None | None | None row 9 : november 1978 | "take me to paradise" | None | None | None | None | None row 10 : january 1979 | "if i can't have you" | None | None | None | None | None row 11 : august 1979 | "feels like i'm in love | None | None | None | None | None row 12 : may 1980 | "feels like i'm in love | 1 | None | 5 | 3 | #6 (australia), #6 row 13 : november 1980 | "loving just for fun" (re- | 21 | None | 20 | 22 | None row 14 : february 1981 | "hot love" | 22 | None | 25 | 13 | None row 15 : may 1981 | "love trial" | 51 | None | 75 | None | None row 16 : august 1981 | "don't stop your love" | None | None | None | None | None row 17 : january 1982 | "i need your love" | None | None | None | None | None row 18 : april 1982 | "i feel love comin' on" | None | None | None | None | None row 19 : july 1982 | "love's got a hold on | None | None | None | None | None row 20 : october 1982 | "don't take your love to h | None | None | None | None | None row 21 : september 1983 | "silent treatment" | None | None | None | None | None row 22 : july 1984 | "break out" | 90 | None | None | None | None row 23 : october 1984 | "i'm on fire" | None | None | None | None | None row 24 : september 1986 | "feels like i'm in love | None | None | None | None | None row 25 : 1988 | "stealing my time" | None | None | None | None | #2 (denmark) row 26 : 1988 | "halfway to paradise" | None | None | None | None | None row 27 : 1998 | "i'm in the mood for dancing" | None | None | None | None | None row 28 : february 2001 | "hot love 2001" | None | None | None | None | None ] Execute this SQL based on the above table: select release date where irish charts - german charts < 1520
may 1980, november 1980, february 1981
[ header: date | venue | opponents | score | competition row 1 : 6 march 2013 | dasarath rangasala stadium | bangladesh | 0-4 | 2014 afc challenge cup qualification row 2 : 4 march 2013 | dasarath rangasala stadium | palestine | 0-9 | 2014 afc challenge cup qualification row 3 : 2 march 2013 | dasarath rangasala stadium | nepal | 0-6 | 2014 afc challenge cup qualification row 4 : 24 november 2012 | None | guam | 0-8 | friendly row 5 : 20 july 2012 | None | macau | 1-5 | 2013 eaff east asian cup row 6 : 18 july 2012 | None | guam | 1-3 | 2013 eaff east asian cup row 7 : 19 june 2010 | cnmi | guam | 1-1 | 2010 marianas cup row 8 : 15 march 2009 | None | mongolia | 1-4 | 2010 east asian cup row 9 : 13 march 2009 | None | guam | 1-2 | 2010 east asian cup row 10 : 11 march 2009 | None | macau | 1-6 | 2010 east asian cup row 11 : 27 april 2008 | cnmi | guam | 2-3 | 2008 marianas cup row 12 : 1 april 2007 | None | guam | 0-9 | 2008 east asian football championship preliminary qualification and row 13 : 25 march 2007 | cnmi | guam | 2-3 | 2008 east asian football championship preliminary qualification row 14 : 12 july 1999 | yap sports complex, ya | federated states of micronesia | 0-7 | 1999 micronesia cup row 15 : 3 august 1998 | palau track and field stadium, koror | guam | 3-0 | micronesian games row 16 : 2 august 1998 | palau track and field stadium, koror | palau | 11-2 | micronesian games row 17 : 30 july 1998 | palau track and field stadium, koror | guam | 1-2 | micronesian games ] Execute this SQL based on the above table: select opponents where date > ( select date where opponents = 'guam' ) order by date limit 1
nepal
[ header: rank | bib | athlete | country | time | deficit | note row 1 : 8 | 37 | laure barthelemy | france | 3:08.53 | 4.64 | q row 2 : 10 | 27 | magda genuin | italy | 3:09.91 | 6.02 | q row 3 : 11 | 16 | arianna follis | italy | 3:10.41 | 6.52 | q row 4 : 12 | 24 | celine brun-lie | norway | 3:10.45 | 6.56 | q row 5 : 21 | 40 | riikka sarasoja | finland | 3:13.49 | 9.6 | q row 6 : 24 | 9 | perianne jones | canada | 3:13.95 | 10.06 | q row 7 : 26 | 21 | anastasia dotsenko | russia | 3:15.03 | 11.14 | q row 8 : 27 | 33 | daria gaiazova | canada | 3:15.10 | 11.21 | q row 9 : 29 | 7 | jessica diggins | united states | 3:15.24 | 11.35 | q row 10 : 32 | 38 | natalya korostelyova | russia | 3:15.83 | 11.94 | None row 11 : 37 | 26 | madoka natsumi | japan | 3:17.89 | 14 | None row 12 : 38 | 28 | pirjo muranen | finland | 3:18.21 | 14.32 | None row 13 : 39 | 54 | elena soboleva | russia | 3:19.55 | 15.66 | None row 14 : 40 | 11 | elena kolomina | kazakhstan | 3:20.17 | 16.28 | None row 15 : 53 | 59 | rosamund musgrave | united kingdom | 3:26.34 | 22.45 | None row 16 : 54 | 1 | anastasia slonova | kazakhstan | 3:26.51 | 22.62 | None row 17 : 56 | 4 | piret pormeister | estonia | 3:27.34 | 23.45 | None row 18 : 57 | 64 | maryna antsybor | ukraine | 3:28.17 | 24.28 | None row 19 : 62 | 63 | monika gyorgy | romania | 3:32.20 | 28.31 | None row 20 : 63 | 71 | niviaq chemnitz | denmark | 3:32.56 | 28.67 | None row 21 : 67 | 67 | zoya zaviediei | ukraine | 3:38.21 | 31.32 | None row 22 : 74 | 86 | irina khodiakov | kyrgyzstan | 3:52.24 | 48.35 | None row 23 : 78 | 77 | agnes simon | hungary | 4:04.44 | +1:00.55 | None row 24 : 82 | 73 | syuzanna varosyan | armenia | 4:25.77 | +1:21.88 | None row 25 : 84 | 76 | valya varosyan | armenia | 4:30.74 | +1:26.85 | None row 26 : 85 | 80 | zane eglite | latvia | 4:37.37 | +1:33.48 | None row 27 : None | 61 | brooke gosling | canada | dns | None | None ] Execute this SQL based on the above table: select sum ( deficit ) + sum ( time )
464.75
[ header: version | length | album | remixed by | year | comment row 1 : album/single version | 4:30 | avant que l'ombre | None | 2005 | see the previous sections row 2 : radio edit | 3:55 | None | None | 2005 | the musical introduction is almost fully deleted, as well row 3 : instrumental | 4:32 | None | laurent boutonnat | 2005 | this instrumental version is identical to the album version, row 4 : the martyr's remix | 5:20 | None | y-front | 2005 | this version contains all the lyrics of the album version row 5 : mother f... dub mix | 7:50 | None | joachim garraud | 2005 | all the lyrics from the original version are deleted, row 6 : mother f... vocal club mix | 8:30 | None | joachim garraud | 2005 | devoted to the nightclubs, this techno row 7 : music video | 5:02 | music videos iv | None | 2005 | None row 8 : live version (recorded in 2006) | 6:42 (audio) 8:18 ( | avant que l'ombre... a | None | 2006 | this version is similar to the album one, with ] Execute this SQL based on the above table: select count ( version )
8
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | nigeria | 14 | 12 | 9 | 35 row 2 : 2 | algeria | 9 | 4 | 4 | 17 row 3 : 3 | kenya | 8 | 11 | 4 | 23 row 4 : 4 | ethiopia | 2 | 4 | 7 | 13 row 5 : 5 | ghana | 2 | 2 | 2 | 6 row 6 : 6 | ivory coast | 2 | 1 | 3 | 6 row 7 : 7 | egypt | 2 | 1 | 0 | 3 row 8 : 8 | senegal | 1 | 1 | 5 | 7 row 9 : 9 | morocco | 1 | 1 | 1 | 3 row 10 : 10 | tunisia | 0 | 3 | 1 | 4 row 11 : 11 | madagascar | 0 | 1 | 1 | 2 row 12 : 12 | rwanda | 0 | 0 | 1 | 1 row 13 : 12 | zimbabwe | 0 | 0 | 1 | 1 row 14 : 12 | seychelles | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select nation where gold > ( select gold where nation = 'seychelles' )
nigeria, algeria, kenya, ethiopia, ghana, ivory coast, egypt, senegal, morocco
[ header: rank in 2011 | name of concern | location of headquarters | revenue (thou. pln) | profit (thou. pln) | employees row 1 : 1 | pkn orlen sa | płock | 79037121 | 2396447 | 4445 row 2 : 2 | lotos group sa | gdansk | 29258539 | 584878 | 5168 row 3 : 3 | pge sa | warsaw | 28111354 | 6165394 | 44317 row 4 : 4 | jeronimo martins | kostrzyn | 25285407 | None | 36419 row 5 : 5 | pgnig sa | warsaw | 23003534 | 1711787 | 33071 row 6 : 6 | tauron group sa | katowice | 20755222 | 1565936 | 26710 row 7 : 7 | kghm polska miedz | lubin | 20097392 | 13653597 | 18578 row 8 : 8 | metro group poland | warsaw | 17200000 | None | 22556 row 9 : 9 | fiat auto poland sa | bielsko-biała | 16513651 | 83919 | 5303 row 10 : 10 | orange polska | warsaw | 14922000 | 1785000 | 23805 ] Execute this SQL based on the above table: select name of concern order by id desc limit 1
orange polska
[ header: year | title | chart positions nor | chart positions aus | chart positions aut | chart positions bel | chart positions ger | chart positions nl | chart positions nz | chart positions swe | chart positions swi | chart positions uk | album row 1 : 2003 | "she's so high" | 1 | 60 | 42 | 9 | 25 | 16 | 38 | None | 91 | 25 | i row 2 : 2004 | "here she comes" | 12 | None | None | 53 | None | None | None | None | None | None | i row 3 : 2004 | "all you have to offer" | None | None | None | None | None | None | None | None | None | None | i row 4 : 2004 | "my street" | None | None | None | None | None | None | None | None | None | None | a part of me row 5 : 2004 | "before you leave" | None | None | None | 52 | None | None | None | None | None | None | a part of me row 6 : 2005 | "never easy" | None | None | None | None | None | None | None | None | None | None | a part of me row 7 : 2006 | "when the stars go blue" (feat | 14 | None | None | None | None | None | None | None | None | None | venke knutson's places row 8 : 2006 | "hallelujah" (with espen | 1 | None | None | None | None | None | None | None | None | None | hallelujah - live row 9 : 2006 | "boys of summer" (with espen | 12 | None | None | None | None | None | None | None | None | None | hallelujah - live row 10 : 2007 | "push, push" | 1 | None | None | None | None | None | None | None | None | None | push push row 11 : 2007 | "silence" | 9 | None | None | None | None | None | None | None | None | None | push push row 12 : 2008 | "reality kicks" | 20 | None | None | None | None | None | None | None | None | None | push push row 13 : 2008 | "lost highway" (featuring will | 1 | None | None | None | None | None | None | None | None | None | rise to the occasion row 14 : 2008 | "don't have what it takes" | 19 | None | None | None | None | None | None | None | None | None | rise to the occasion row 15 : 2008 | "rise to the occasion" | None | None | None | None | None | None | None | 38 | None | None | rise to the occasion row 16 : 2009 | "with or without you" (with espen | 1 | None | None | None | None | None | None | None | None | None | hallelujah - live volume 2 row 17 : 2010 | "himmel pa jord" | 5 | None | None | None | None | None | None | None | None | None | have yourself a merry little christmas row 18 : 2013 | "adieu" | 9 | None | None | None | None | None | None | None | None | None | None row 19 : 2013 | "engler i sneen | 7 | None | None | None | None | None | None | None | None | None | None ] Execute this SQL based on the above table: select count ( album ) where chart positions swi >= 1877
0
[ header: tie no | home team | score | away team | attendance row 1 : 1 | ifk vasteras (d2) | 3-2 | ik sleipner (d | 875 row 2 : 2 | kramfors if (n) | 2-4 (aet) | bk kenty (d3) | 2808 row 3 : 3 | reymersholms ik | 5-2 | atvidabergs ff (d | 1504 row 4 : 4 | wifsta/ostrands if | 4-3 | ludvika ffi | 974 row 5 : 5 | raa if (d3) | 3-2 | sandvikens if (d | 2116 row 6 : 6 | sandvikens aik | 2-3 (aet) | tidaholms g | 822 row 7 : 7 | karlstads bik (d | 2-5 | if friska viljor (n) | 1550 row 8 : 8 | sandviks ik (n | 2-3 | surahammars if (d2) | None ] Execute this SQL based on the above table: select home team where home team = 'kramfors if (n)' order by tie no asc limit 1135
kramfors if (n)
[ 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 ( select min ( number of stars ) where number of stars > 4 ) - 4
1.0
[ header: # | title | celebrity guest(s) | directed by | written by | original airdate row 1 : 1 (1) | "nelson the online predator" | toby anstis | adam miller | daniel peak jon brown | 22 june 2010 row 2 : 2 (2) | "destiny the reluctant sniffer dog" | christopher biggins gemma bis | adam miller | jon brown | 29 june 2010 row 3 : 3 (3) | "marion the young lover" | terry nutkins chris | adam miller | jon brown | 6 july 2010 row 4 : 4 (4) | "nelson the stroke virgin" | clive anderson jeff brazier | adam miller | jon brown | 13 july 2010 row 5 : 5 (5) | "kali the genetic engineer" | scott mills | adam miller | jon brown | 20 july 2010 row 6 : 6 (6) | "destiny the infection risk" | christopher hughes | adam miller | daniel peak | 27 july 2010 row 7 : 7 (7) | "marion the superfluous feed character" | vicki butler-henderson | adam miller | jon brown | 3 august 2010 row 8 : 8 (8) | "nelson the naughty ar | eamonn holmes | adam miller | daniel peak | 10 august 2010 row 9 : 9 (9) | "mongrels uncovered" | None | samantha peters | None | 11 august 2010 ] Execute this SQL based on the above table: select directed by order by id desc limit 1
samantha peters
[ header: | year | location | name | guest(s) of honour row 1 : 1 | 1998 | linkoping | confuse 98 | paul j. mcauley row 2 : 2 | 1999 | uppsala | upsala: 1999 | michael swanwick row 3 : 3 | 2000 | stockholm | nasacon 2000 | brian m. stableford, row 4 : 4 | 2001 | stockholm | fantastika 2001 | robin hobb, rober row 5 : 5 | 2002 | linkoping | confuse 2002 | china mieville, gwyneth row 6 : 6 | 2003 | uppsala | upsala sf-mote | alastair reynolds, row 7 : 7 | 2004 | stockholm | swecon 2004 | m. john harrison, da row 8 : 8 | 2005 | gothenburg | conceive | charles stross, e row 9 : 9 | 2006 | stockholm | imagicon | joe haldeman, geoff row 10 : 10 | 2007 | gothenburg | conviction | richard morgan, john a row 11 : 11 | 2008 | linkoping | confuse 2008 | cory doctorow, adam rob row 12 : 12 | 2009 | stockholm | imagicon 2 | liz williams, graham row 13 : 13 | 2010 | gothenburg | condense | justina robson, nen row 14 : 14 | 2011 | stockholm | eurocon 2011 | elizabeth bear, i row 15 : 15 | 2012 | uppsala | kontrast | sara bergmark elfgren, row 16 : 16 | 2013 | stockholm | fantastika 2013 | lavie tidhar, jo ] Execute this SQL based on the above table: select location where location != 'stockholm' group by location order by count ( * ) desc limit 1
uppsala
[ header: year | single | peak chart positions fin | peak chart positions nor | peak chart positions swe | album row 1 : 1994 | "together" | None | None | None | finally row 2 : 1994 | "in your dreams" | None | None | None | finally row 3 : 1995 | "mirror, mirror" | None | 6 | None | finally row 4 : 1995 | "stars in the night" | None | None | None | finally row 5 : 1996 | "you never know" | 12 | 4 | None | finally row 6 : 1996 | "let it all be sunshine" | 13 | None | None | finally row 7 : 1997 | "all my life" | None | None | None | finally row 8 : 1997 | "fly to be free" | None | None | None | finally row 9 : 1998 | "come'n get me" | 6 | None | None | the take off row 10 : 1998 | "sunny holiday" | None | None | None | the take off row 11 : 1999 | "ticket to fly" | None | None | 48 | the take off row 12 : 1999 | "once you pop (you can't stop | None | None | None | express row 13 : 1999 | "this is how we do it" | None | None | None | express row 14 : 2000 | "push it" | None | None | 53 | express row 15 : 2000 | "sha la long" | None | None | None | express row 16 : 2000 | "come on everybody" | None | None | None | express row 17 : 2001 | "i like it" | None | None | None | in action ] Execute this SQL based on the above table: select single order by peak chart positions nor - year desc limit 1
"mirror, mirror"
[ header: res. | record | opponent | method | event | date | round | time | location | notes row 1 : loss | 5-3 | alistair overeem | tko (kick to the body | ufc 141 | december 30, 2011 | 1 | 2:26 | las vegas, united states | announced retirement after fight row 2 : loss | 5-2 | cain velasquez | tko (punches) | ufc 121 | october 23, 2010 | 1 | 4:12 | anaheim, california | lost ufc heavyweight championship row 3 : win | 5-1 | shane carwin | submission (arm triangle choke) | ufc 116 | july 3, 2010 | 2 | 2:19 | las vegas, united states | defended ufc heavyweight championship. row 4 : win | 4-1 | frank mir | tko (punches) | ufc 100 | july 11, 2009 | 2 | 1:48 | las vegas, united states | defended ufc heavyweight championship. row 5 : win | 3-1 | randy couture | tko (punches) | ufc 91 | november 15, 2008 | 2 | 3:07 | las vegas, united states | won ufc heavyweight championship row 6 : win | 2-1 | heath herring | decision (unanimous) | ufc 87 | august 9, 2008 | 3 | 5:00 | minneapolis, minnesot | None row 7 : loss | 1-1 | frank mir | submission (kneebar) | ufc 81 | february 2, 2008 | 1 | 1:30 | las vegas, united states | ufc debut row 8 : win | 1-0 | min-soo kim | submission (punches) | dynamite!! usa | june 2, 2007 | 1 | 1:09 | los angeles, united states | mma debut ] Execute this SQL based on the above table: select count ( date ) where time < 3 or ( time = 3 and time < 3 )
5
[ header: place | player | country | score | to par | money ($) row 1 : 1 | larry nelson | united states | 70-66-66-71=273 | -7 | 60000 row 2 : 2 | fuzzy zoeller | united states | 70-68-68-71=277 | -3 | 40000 row 3 : 3 | dan pohl | united states | 69-67-73-69=2 | -2 | 25000 row 4 : t4 | isao aoki | japan | 75-68-66-70=279 | -1 | 13146 row 5 : t4 | keith fergus | united states | 71-71-69-68=2 | -1 | 13146 row 6 : t4 | bob gilder | united states | 74-69-70-66=2 | -1 | 13146 row 7 : t4 | tom kite | united states | 71-67-69-72=2 | -1 | 13146 row 8 : t4 | bruce lietzke | united states | 70-70-71-68=279 | -1 | 13146 row 9 : t4 | jack nicklaus | united states | 71-68-71-69=2 | -1 | 13146 row 10 : t4 | greg norman | australia | 73-67-68-71=2 | -1 | 13146 ] Execute this SQL based on the above table: select place order by money ($) desc limit 1
1
[ header: tie no | home team | score | away team | attendance row 1 : 1 | ifk vasteras (d2) | 3-2 | ik sleipner (d | 875 row 2 : 2 | kramfors if (n) | 2-4 (aet) | bk kenty (d3) | 2808 row 3 : 3 | reymersholms ik | 5-2 | atvidabergs ff (d | 1504 row 4 : 4 | wifsta/ostrands if | 4-3 | ludvika ffi | 974 row 5 : 5 | raa if (d3) | 3-2 | sandvikens if (d | 2116 row 6 : 6 | sandvikens aik | 2-3 (aet) | tidaholms g | 822 row 7 : 7 | karlstads bik (d | 2-5 | if friska viljor (n) | 1550 row 8 : 8 | sandviks ik (n | 2-3 | surahammars if (d2) | None ] Execute this SQL based on the above table: select home team order by attendance asc limit 1
sandviks ik (n)
[ header: place | player | country | score | to par row 1 : 1 | dustin johnson | united states | 71-70-66=207 | -6 row 2 : 2 | graeme mcdowell | northern ireland | 71-68-71=210 | -3 row 3 : 3 | tiger woods | united states | 74-72-66=212 | -1 row 4 : t4 | ernie els | south africa | 73-68-72=213 | e row 5 : t4 | gregory havret | france | 73-71-69=213 | e row 6 : 6 | phil mickelson | united states | 75-66-73=214 | 1 row 7 : t7 | alex cejka | germany | 70-72-74=216 | 3 row 8 : t7 | tim clark | south africa | 72-72-72=216 | 3 row 9 : t7 | ryo ishikawa | japan | 70-71-75=216 | 3 row 10 : t10 | martin kaymer | germany | 74-71-72=217 | 4 row 11 : t10 | davis love iii | united states | 75-74-68=217 | 4 row 12 : t10 | sean o'hair | united states | 76-71-70=217 | 4 ] Execute this SQL based on the above table: select country order by to par desc limit 1
germany
[ header: year | competition | venue | position | notes row 1 : 2006 | iaaf world athletics final | stuttgart, germany | 5th | 110 m hurdles row 2 : 2007 | world championships | osaka, japan | 4th (semis) | 110 m hurdles row 3 : 2008 | world indoor championships | valencia, spain | 4th (semis) | 60 m hurdles row 4 : 2008 | olympic games | beijing, china | 3rd | 110 m hurdles row 5 : 2008 | iaaf world athletics final | stuttgart, germany | 1st | 110 m hurdles row 6 : 2010 | world indoor championships | doha, qatar | 3rd | 60 m hurdles row 7 : 2010 | 2010 diamond league | multiple locations | 1st | 110 m hurdles row 8 : 2013 | 2013 diamond league | multiple locations | 1st | 110 m hurdles row 9 : 2013 | world championships | moscow, russia | 1st | 110 m hurdles ] Execute this SQL based on the above table: select position where position != '1st' and venue = ( select venue where position = '1st' )
5th
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | south korea | 9 | 2 | 1 | 12 row 2 : 2 | chinese taipei | 2 | 3 | 3 | 8 row 3 : 3 | spain | 1 | 5 | 4 | 10 row 4 : 4 | united states | 1 | 2 | 7 | 10 row 5 : 5 | turkey | 1 | 1 | 2 | 4 row 6 : 6 | west germany | 1 | 0 | 3 | 4 row 7 : 7 | netherlands | 1 | 0 | 1 | 2 row 8 : 8 | mexico | 0 | 2 | 1 | 3 row 9 : 9 | indonesia | 0 | 1 | 0 | 1 row 10 : 10 | france | 0 | 0 | 2 | 2 row 11 : 11 | australia | 0 | 0 | 1 | 1 row 12 : 11 | canada | 0 | 0 | 1 | 1 row 13 : 11 | ivory coast | 0 | 0 | 1 | 1 row 14 : 11 | denmark | 0 | 0 | 1 | 1 row 15 : 11 | italy | 0 | 0 | 1 | 1 row 16 : 11 | jordan | 0 | 0 | 1 | 1 row 17 : 11 | nepal | 0 | 0 | 1 | 1 row 18 : 11 | switzerland | 0 | 0 | 1 | 1 row 19 : total | total | 16 | 16 | 32 | 64 ] Execute this SQL based on the above table: select nation where nation in ( 'jordan' , '3' ) order by silver desc limit 1
jordan
[ header: year | album details | peak chart positions us billboard 200 | peak chart positions us christian | peak chart positions us heatseekers row 1 : 2001 | the moon is down released: march 27, 2001 label | None | None | None row 2 : 2003 | how to start a fire released: febru | 133 | 6 | 1 row 3 : 2004 | hide nothing released: august 24, 2004 label: tooth | 122 | 4 | 3 row 4 : 2012 | penny black released: october 23, | 62 | 3 | None ] Execute this SQL based on the above table: select album details order by peak chart positions us christian desc limit 1
how to start a fire released: february 11, 2003 label: tooth & nail format: cd, lp
[ header: # | employer | # of employees row 1 : 1 | medline | 1200 row 2 : 2 | mundelein park district | 422 row 3 : 3 | amcor | 350 row 4 : 4 | fremont school district 79 | 287 row 5 : 5 | university of saint mary of the lake | 220 row 6 : 6 | mundelein elementary school district 75 | 213 row 7 : 7 | mundelein high school | 211 row 8 : 8 | village of mundelein | 183 ] Execute this SQL based on the above table: select employer where employer < ( select employer where employer = 'mundelein high school' ) order by employer desc limit 1
mundelein elementary school district 75
[ header: location | coordinates | type | built | details row 1 : lekhtusi radar station, le | 60°16′31.65′′n 30 | voronezh-m | -2005 | operational 2009, commissioned 2012. fills gap in row 2 : armavir radar station, krasn | 44°55′30.38′′n 40 | voronezh-dm | 2009 | two radars at this site. one is currently row 3 : pionersky radar station at former dun | 54°51′26′′n 20°10 | voronezh-dm | 2012 | operational (in part) november 2011. fully row 4 : mishelevka radar station, irku | 52°51′20.11′′n | voronezh-vp | None | daryal-u radar demolished row 5 : pechora radar station, komi | 65°12′36.59′′n | voronezh-vp | None | would replace current daryal radar, claimed to row 6 : olenegorsk radar station, | 68°6′59.63′′n | voronezh-vp | None | would replace dnestr/da row 7 : krasnoyarsk | may be the former radar site at yen | None | 2013- | None row 8 : altai republic | near barnaul | None | 2013- | None row 9 : orenburg | None | None | 2013- | started ] Execute this SQL based on the above table: select count ( details ) where details >= 1286 and details <= 'would replace current daryal radar, claimed to start 2015'
6
[ header: year | personnel | album | label | peak positions nor row 1 : 2001 | solveig slettahjell | slow motion orchestra | curling legs | None row 2 : 2004 | solveig slettahjell | silver | curling legs | 23 row 3 : 2005 | solveig slettahjell | pixiedust | curling legs | 25 row 4 : 2006 | solveig slettahjell | good rain | curling legs (, act) | 28 row 5 : 2007 | solveig slettahjell | domestic songs | curling legs (, act) | 30 row 6 : 2008 | solveig slettahjell | natt i betlehem | kirkelig kulturverksted | 5 row 7 : 2009 | solveig slettahjell | tarpan seasons | universal | 5 row 8 : 2011 | solveig slettahjell | antologie | universal | 6 row 9 : 2013 | solveig slettahjell | arven | universal | 5 ] Execute this SQL based on the above table: select label group by label order by count ( * ) desc limit 1
universal
[ header: year | title | uk | us: billboard hot 100 | us: billboard r&b | us: billboard a/c | australia | various row 1 : 1976 | "right back where we started from" | ('75) #8 | #2 | #46 | #5 | #4 | #3 (netherlands), #2 (belg row 2 : 1976 | "gotta be the one" | None | #53 | None | #22 | #12 | #19 (new zealand) row 3 : 1977 | "love hit me" | #11 | None | None | None | #22 | None row 4 : 1977 | "will you be my lover" | None | None | None | None | None | #44 (france) row 5 : 1979 | "lead me on" | None | #5 | #37 | #1 | #58 | #2 (canada), #8 (new row 6 : 1979 | "(bringin' out) the girl | None | #73 | None | None | None | None row 7 : 1982 | "turn to me" (with jim | None | None | #17 | None | None | None ] Execute this SQL based on the above table: select year where year = 1979
1979, 1979
[ header: pos | no. | rider | manufacturer | laps | time/retired | grid | points row 1 : 1 | 75 | mattia pasini | aprilia | 27 | 39:44.091 | 3 | 25 row 2 : 2 | 19 | alvaro bautista | aprilia | 27 | 0.01 | 2 | 20 row 3 : 3 | 52 | lukas pesek | derbi | 27 | 0.111 | 1 | 16 row 4 : 5 | 24 | simone corsi | gilera | 27 | 9.372 | 9 | 11 row 5 : 6 | 1 | thomas luthi | honda | 27 | 10.57 | 13 | 10 row 6 : 7 | 18 | nicolas terol | derbi | 27 | 11.835 | 5 | 9 row 7 : 8 | 36 | mika kallio | ktm | 27 | 11.905 | 4 | 8 row 8 : 9 | 6 | joan olive | aprilia | 27 | 26.017 | 16 | 7 row 9 : 10 | 33 | sergio gadea | aprilia | 27 | 26.172 | 12 | 6 row 10 : 11 | 32 | fabrizio lai | honda | 27 | 26.361 | 6 | 5 row 11 : 12 | 38 | bradley smith | honda | 27 | 26.389 | 14 | 4 row 12 : 13 | 11 | sandro cortese | honda | 27 | 26.48 | 11 | 3 row 13 : 14 | 14 | gabor talmacsi | honda | 27 | 26.606 | 7 | 2 row 14 : 15 | 71 | tomoyoshi koyama | malaguti | 27 | 27.068 | 15 | 1 row 15 : 16 | 54 | randy krummenacher | ktm | 27 | 27.192 | 21 | None row 16 : 18 | 17 | stefan bradl | ktm | 27 | 46.201 | 18 | None row 17 : 19 | 95 | georg frohlich | honda | 27 | 56.274 | 28 | None row 18 : 20 | 35 | raffaele de rosa | aprilia | 27 | 56.549 | 25 | None row 19 : 21 | 26 | vincent braillard | aprilia | 27 | 56.782 | 31 | None row 20 : 23 | 15 | michele pirro | aprilia | 27 | 57.474 | 22 | None row 21 : 24 | 29 | andrea iannone | aprilia | 27 | 57.707 | 20 | None row 22 : 25 | 7 | alexis masbou | malaguti | 27 | +1:04.698 | 37 | None row 23 : 26 | 16 | michele conti | honda | 27 | +1:04.793 | 32 | None row 24 : 28 | 43 | manuel hernandez | aprilia | 27 | +1:17.323 | 30 | None row 25 : 29 | 23 | lorenzo baroni | honda | 27 | +1:17.507 | 26 | None row 26 : 30 | 21 | mateo tunez | aprilia | 27 | +1:20.583 | 29 | None row 27 : 32 | 98 | toni wirsing | honda | 26 | +1 lap | 42 | None row 28 : ret | 44 | karel abraham | aprilia | 16 | retirement | 33 | None row 29 : ret | 13 | dino lombardi | aprilia | 13 | retirement | 41 | None row 30 : ret | 37 | joey litjens | honda | 11 | retirement | 38 | None row 31 : ret | 22 | pablo nieto | aprilia | 9 | retirement | 8 | None ] Execute this SQL based on the above table: select count ( manufacturer ) where rider in ( 'bradley smith' , 'alexis masbou' )
2
[ header: goal | date | location | opponent | lineup | min | assist/pass | score | result | competition row 1 : 1 | may 9, 2004 | usaalbuquerque nm | mexico | on 70' (off lilly) | 19 | tarpley | 3-0 | 3-0 | friendly row 2 : 2 | jun 26, 2005 | usavirginia beach | canada | 90.start | 12 | unassisted | 1-0 | 2-0 | friendly row 3 : 3 | jan 30, 2007 | chnguangzhou | china pr | 90.start | 46 | unassisted | 1-0 | 2-0 | four nations tournament row 4 : 4 | may 12, 2007 | usafrisco tx | canada | off 72' (on wagner) | 28 | tarpley | 3-1 | 6-2 | friendly row 5 : 5 | sep 18, 2007 | chnshanghai | nigeria | 90.start | 1 | wambach | 1-0 | 1-0 | world cup - group b row 6 : 6 | sep 30, 2007 | chnshanghai | norway | 90.start | 58 | unassisted | 3-0 | 4-1 | world cup final - third place playoff row 7 : 7 | aug 18, 2008 | chnbeijing | japan | 90.start | 44 | rodriguez | 2-1 | 4-2 | olympics tournament row 8 : 8 | sep 20, 2008 | usabridgeview il | ireland | 90.start | 19 | tarpley | 1-0 | 2-0 | friendly ] Execute this SQL based on the above table: select goal where goal not null
1, 2, 3, 4, 5, 6, 7, 8
[ header: code | district | headquarters | population (as of 2011) | area (km2) | density (/km2) row 1 : al | almora | almora | 621972 | 3083 | 202 row 2 : ba | bageshwar | bageshwar | 259840 | 2302 | 113 row 3 : cl | chamoli | chamoli gopeshwar | 391114 | 7613 | 51 row 4 : cp | champawat | champawat | 259315 | 1781 | 146 row 5 : dd | dehradun | dehradun | 1695860 | 3088 | 550 row 6 : ha | haridwar | haridwar | 1927029 | 2360 | 817 row 7 : na | nainital | nainital | 955128 | 3860 | 247 row 8 : pg | pauri garhwal | pauri | 686572 | 5399 | 127 row 9 : pi | pithoragarh | pithoragarh | 485993 | 7100 | 68 row 10 : rp | rudra prayag | rudraprayag | 236857 | 1890 | 125 row 11 : tg | tehri garhwal | new tehri | 616409 | 4080 | 151 row 12 : us | udham singh nagar | rudrapur | 1648367 | 2908 | 567 row 13 : ut | uttarkashi | uttarkashi | 329686 | 8016 | 41 ] Execute this SQL based on the above table: select headquarters order by density (/km2) asc limit 1
uttarkashi
[ header: team | stadium | capacity | seated row 1 : merthyr town | penydarren park | 10000 | None row 2 : paulton rovers | athletic field | 5000 | 253 row 3 : evesham united | st george's lane | 4749 | None row 4 : winchester city | the city ground | 4500 | 180 row 5 : clevedon town | hand stadium | 3500 | 300 row 6 : cinderford town | the causeway | 3500 | 250 row 7 : tiverton town | ladysmead | 3500 | 520 row 8 : wimborne town | cuthbury | 3250 | 275 row 9 : didcot town | npower loop meadow stadium | 3000 | 150 row 10 : swindon supermarine | the webb's wood stadium | 3000 | None row 11 : bridgwater town | fairfax park | 2500 | 128 row 12 : hungerford town | bulpit lane | 2500 | 170 row 13 : mangotsfield united | cossham street | 2500 | 300 row 14 : taunton town | wordsworth drive | 2500 | 300 row 15 : abingdon united | northcourt road | 2000 | 158 row 16 : poole town | tatnam | 2000 | 154 row 17 : north leigh | eynsham hall park sports ground | 2000 | 100 row 18 : yate town | lodge road | 2000 | 236 row 19 : bishop's cleeve | kayte lane | 1500 | 50 row 20 : sholing | vt group sports ground | 1000 | 150 row 21 : shortwood united | the meadowbank ground | tbc | None row 22 : cirencester town | corinium stadium | tbc | None ] Execute this SQL based on the above table: select count ( stadium ) where capacity > 2000
14
[ header: series number | key | composed | published | opus no. | brown | kobylanska | chominski | dedication | notes row 1 : None | g, b♭ | 1826 | 1826 | None | b. 16 | kk iia/2-3 | s 1/2 | None | revised versions (original versions were published in 1875 row 2 : 1-4 | f♯m, c♯m, | 1830 | 1832 | op. 6 | b. 60 | None | c. 51-54 | countess pauline plater | None row 3 : 14-17 | gm, c, a♭ | 1834-35 | 1836 | op. 24 | b. 89 | None | c. 64-67 | comte de perthuis | None row 4 : 18-21 | cm, bm, d♭, | 1836-37 | 1837 | op. 30 | b. 105 | None | c. 65-71 | princess maria czartoryska de | None row 5 : 27 | em | 1838 (28 november) | 1840 | op. 41/2 | b. 122 | None | c. 77 | None | None row 6 : 51 | am | 1840 | 1841 | None | b. 140 | kk iib/5 | s 2/5 | emile gaillard | in "album de pianistes polon row 7 : 30-32 | g, a♭, c♯ | 1841-42 | 1842 | op. 50 | b. 145 | None | c. 80-82 | leon szmitkowski | None row 8 : 45 | am | 1846 | 1855 | op. posth. 67/4 | b. 163 | None | c. 95 | None | None row 9 : 47 | am | 1827 | 1855 | op. posth. 68/2 | b. 18 | None | c. 97 | None | None row 10 : 46 | c | 1829 | 1855 | op. posth. 68/1 | b. 38 | None | c. 96 | None | None row 11 : None | c | 1833 | 1870 | None | b. 82 | kk ivb/3 | p 2/3 | None | None row 12 : None | d | 1829 | 1875 | None | b. 31 | kk iva/7 | p 1/7 | None | heavily revised 1832 (see b. row 13 : None | d | 1832 | 1880 | None | b. 71 | kk ivb/2 | p 1/7 | None | a heavily revised version of b.31 row 14 : None | d | 1820 | 1910 (20 february) | None | b. 4 | kk anh. ia/1 | a 1/1 | None | "mazurek"; doubtful row 15 : None | g | 1829 (22 august) | None | None | None | None | None | None | setting of a poem by ignac ma row 16 : None | None | 1832 (14 september) | None | None | None | kk ve/7 | None | None | listed in an auction catalogue, paris, 1906 ] Execute this SQL based on the above table: select count ( key ) where notes < 1005
1
[ header: station | type | latitude | longitude | el. (m) | opened | closed | coordinates row 1 : calama, chile | solar | 22o28's | 68o56'w | 2250 | 1918 | 1920 | 22°28′s 68°56′ row 2 : mount montezuma, chile | solar | 22o40's | 68o56'w | 2711 | 1920 | None | 22°40′s 68°56′ row 3 : mount harquahala, arizon | solar | 33o48'n | 113o20'w | 1721 | 1920 | 1925 | 33°48′n 113°20′ row 4 : table mountain, california | solar | 34o22'n | 117o41'w | 2286 | 1925 | 1962 | 34°22′n 117°41′ row 5 : mount brukkaros, namibi | solar | 25o52's | 17o48'e | 1586 | 1926 | 1931 | 25°52′s 17°48′e row 6 : mount saint catherine, egy | solar | 28o31'n | 33o56'e | 2591 | 1934 | 1937 | 28°31′n 33°56′e row 7 : burro mountain, new mexico | solar | 32o40'n | 108o33'w | 2440 | 1938 | 1946 | 32°40′n 108°33′ row 8 : organ pass, new mexico | space track | 32o25'n | 253o27'e | None | None | None | 32°25′n 106°33′ row 9 : olifantsfontein, south africa | space track | 25o58's | 28o15'e | None | None | None | 25°58′s 28°15′e row 10 : woomera, australia | space track | 31o06's | 136o46'e | None | None | None | 31°06′s 136°46′ row 11 : curacao, netherlands west in | space track | 12o05'n | 291o10'e | None | None | None | 12°05′n 68°50′ row 12 : jupiter, florida | space track | 27o01'n | 279o53'e | None | None | None | 27°01′n 80°07′w row 13 : villa dolores, argentina | space track | 31o57'n | 294o54'e | None | None | None | 31°57′n 65°06′e row 14 : mitaka, japan | space track | None | None | None | None | None | None row 15 : nani tal, india | space track | None | None | None | None | None | None ] Execute this SQL based on the above table: select count ( longitude ) where station = 'mount harquahala, arizona'
1
[ header: name | type | elevation (ground station) | elevation (mountain station) | slope length | capacity (persons/hour) | construction year row 1 : fiesch- -alp 1+2 | cable car | 1074 | 2227 | 2940 | 800 | 1973 row 2 : fiesch- -alp 3+4 | cable car | 1071 | 2221 | 2937 | 270 | 1966 row 3 : fiescheralp-eggishorn | cable car | 2225 | 2879 | 1836 | 495 | 1968 row 4 : heimat | chairlift | 1858 | 2301 | 1144 | 1400 | 2000 row 5 : talegga | chairlift | 2208 | 2727 | 1782 | 2200 | 2010 row 6 : flesch | chairlift | 2208 | 2630 | 1357 | 2400 | 1993 row 7 : trainer 1 | surface lift | 2206 | 2264 | 218 | 1200 | 1987 row 8 : trainer 2 | surface lift | 2206 | 2264 | 218 | 1200 | 1987 row 9 : laxeralp 1 | surface lift | 2135 | 2179 | 396 | 1100 | 1981 row 10 : laxeralp 2 | surface lift | 2179 | 2280 | 394 | 1214 | 1981 ] Execute this SQL based on the above table: select name group by name order by count ( * ) asc limit 1
fiesch- -alp 1+2
[ header: # | event year | season | flag bearer row 1 : 10 | 2012 | summer | nino salukvadze row 2 : 9 | 2010 | winter | iason abramashvili row 3 : 8 | 2008 | summer | ramaz nozadze row 4 : 7 | 2006 | winter | vakhtang murvanidze row 5 : 6 | 2004 | summer | zurab zviadauri row 6 : 5 | 2002 | winter | sofia akhmeteli row 7 : 4 | 2000 | summer | giorgi asanidze row 8 : 3 | 1998 | winter | sofia akhmeteli row 9 : 2 | 1996 | summer | giorgi k'andel row 10 : 1 | 1994 | winter | zurab dzhidzhishvil ] Execute this SQL based on the above table: select count ( distinct flag bearer )
9
[ header: map (coordinates) | municipality | area (square kilometers) (square miles) | population | mesoregion | microregion row 1 : 6°26′8′′s 36°38 | acari | 608.565 (234.967) | 11035 | central potiguar | serido oriental row 2 : 6°11′40′′s 35°9 | ares | 112.584 (43.469) | 12931 | leste potiguar | litoral sul row 3 : 5°41′50′′s 36°31 | fernando pedroza | 322.540 (124.533) | 2850 | central potiguar | angicos row 4 : 6°8′57′′s 35°26 | lagoa de pedras | 117.660 (45.429) | 6992 | agreste potiguar | agreste potiguar row 5 : 6°16′44′′s 35°22 | passagem | 41.235 (15.921) | 2899 | agreste potiguar | agreste potiguar row 6 : 6°6′36′′s 37°18 | patu | 319.932 (123.526) | 11964 | oeste potiguar | umarizal row 7 : 5°4′4′′s 36°46 | porto do mangue | 418.636 (161.635) | 5217 | oeste potiguar | vale do acu row 8 : 5°58′30′′s 38°9 | sao francisco do o | 75.550 (29.170) | 3874 | oeste potiguar | pau dos ferros row 9 : 6°6′36′′s 37°57 | serrinha dos pintos | 122.644 (47.353) | 4538 | oeste potiguar | umarizal row 10 : 6°20′53′′s 35°22 | varzea | 67.245 (25.963) | 5227 | agreste potiguar | agreste potiguar ] Execute this SQL based on the above table: select microregion order by area (square kilometers) (square miles) desc limit 1
pau dos ferros
[ header: name | nationality | club | from | until row 1 : jose manuel abundis | mexico | atlanta silverbacks | 2011 | 2011 row 2 : alex pineda chacon | honduras | atlanta silverbacks | 2011 | 2012 row 3 : eric wynalda | united states | atlanta silverbacks | 2012 | 2012 row 4 : brian haynes (footballer | trinidad and tobago | atlanta silverbacks | 2012 | 2013 row 5 : eric wynalda | united states | atlanta silverbacks | 2014 | present row 6 : martin rennie | scotland | carolina railhawks | 2009 | 2011 row 7 : colin clarke | england | carolina railhawks | 2011 | present row 8 : dwight lodeweges | netherlands | fc edmonton | 2010 | 2010 row 9 : harry sinkgraven | netherlands | fc edmonton | 2010 | 2012 row 10 : colin miller | canada | fc edmonton | 2012 | present row 11 : daryl shore | united states | fort lauderdale strikers | 2010 | 2013 row 12 : gunter kronsteiner | austria | fort lauderdale strikers | 2013 | present row 13 : juergen sommer | united states | indy eleven | 2013 | present row 14 : manny lagos | united states | minnesota united fc | 2010 | present row 15 : marc dos santos | canada | montreal impact | 2009 | 2011 row 16 : nick de santis | canada | montreal impact | 2011 | 2011 row 17 : giovanni savarese | venezuela | new york cosmos | 2012 | present row 18 : marc dos santos | canada | ottawa fury fc | 2013 | present row 19 : colin clarke | england | puerto rico islanders | 2007 | 2011 row 20 : adrian whitbread | england | puerto rico islanders | 2011 | 2012 row 21 : tim hankinson | united states | san antonio scorpion | 2012 | 2013 row 22 : alen marcina | canada | san antonio scorpion | 2013 | present row 23 : ricky hill | england | tampa bay rowdies | 2011 | present ] Execute this SQL based on the above table: select name order by id desc limit 1
ricky hill
[ header: date | race name | location | uci rating | winner | team row 1 : 6 january | copa america de ciclismo | brazil | 1.2 | francisco chamorro (arg | funvic brasilinvest-sao row 2 : 11-20 january | vuelta al tachira | venezuela | 2.2 | yeison delgad | kino tachira-d row 3 : 21-27 january | tour de san luis | argentina | 2.1 | daniel diaz (arg | san luis somos todo row 4 : 21-28 april | vuelta a guatemal | guatemala | 2.2 | oscar sanchez (col | gw shimano row 5 : 1-5 may | tour of the gila | united states | 2.2 | philip deignan (irl | unitedhealthcare row 6 : 2 may | pan american cycling championships - time trial | mexico | cc | carlos oyarzun (chi | chile national team row 7 : 5 may | pan american cycling championships - road race | mexico | cc | jonathan paredes (col) | colombia national team row 8 : 12-19 may | tour of california | united states | 2.hc | tejay van garderen (us | bmc racing team row 9 : 2 june | the philly cycling classic | united states | 1.2 | kiel reijnen (usa | unitedhealthcare row 10 : 7-9 june | coupe des nations ville saguen | canada | 2.ncup | sondre enger (nor) | norway national team row 11 : 9-23 june | vuelta a colombia | colombia | 2.2 | oscar sevilla (esp | epm-une row 12 : 11-16 june | tour de beauce | canada | 2.2 | nathan brown (usa) | bontrager cycling team row 13 : 7 july | tour de delta | canada | 1.2 | steve fisher (usa) | hagens berman cycling row 14 : 19-28 july | vuelta a venezue | venezuela | 2.2 | carlos jose ochoa (ven | androni giocattoli-venezu row 15 : 2-4 august | tour of elk grove | united states | 2.1 | elia viviani (ita) | cannondale row 16 : 6-11 august | tour of utah | united states | 2.1 | tom danielson (usa | garmin-sharp row 17 : 6-11 august | ruta del centro | mexico | 2.2 | victor garcia (esp) | depredadores pbg design row 18 : 14-18 august | vuelta al sur de bolivia | bolivia | 2.2 | oscar soliz (bol) | pio rico row 19 : 19-25 august | usa pro cycling challenge | united states | 2.hc | tejay van garderen (us | bmc racing team row 20 : 28 aug-1 sep | tour do rio | brazil | 2.2 | oscar sevilla (esp | epm-une row 21 : 3-8 september | tour of alberta | canada | 2.1 | rohan dennis (aus) | garmin-sharp row 22 : 7 september | bucks county classic | united states | 1.2 | kiel reijnen (usa | unitedhealthcare ] Execute this SQL based on the above table: select count ( uci rating )
22
[ header: tie | home team | score | away team | attendance row 1 : 1 | aylesbury united | 2-2 | windsor & eton | 847 row 2 : 2 | burscough | 5-0 | wakefield & emley | 437 row 3 : 3 | dover athletic | 0-3 | forest green roves | 932 row 4 : 4 | farnborough town | 2-0 | halifax town | 863 row 5 : 5 | gloucester city | 1-1 | southport | 1,237 row 6 : 6 | havant & waterlooville | 3-0 | hayes | 456 row 7 : 7 | margate | 0-2 | tamworth | 971 row 8 : 8 | yeovil town | 2-1 | northwich victoria | 4,469 ] Execute this SQL based on the above table: select away team group by away team order by count ( * ) desc limit 1
windsor & eton
[ header: name | street address | years as tallest | height ft (m) | floors row 1 : globe building | 4th street south | 1882-1886 | 157 (48) | 8 row 2 : lumber exchange building | 10 5th street south | 1886-1887 | 165 (50) | 12 row 3 : industrial exposition building | central avenue southeast and main street southeast | 1887-1890 | 240 (73) | 8 row 4 : metropolitan building | 308 2nd avenue south | 1890-1895 | 258 (79) | 12 row 5 : minneapolis city hall | 350 5th street south | 1895-1929 | 341 (104) | 14 row 6 : foshay tower | 821 marquette avenue | 1929-1973 | 448 (137) | 32 row 7 : ids tower | 80 8th street south | 1973-present | 792 (241) | 55 ] Execute this SQL based on the above table: select street address where id = ( select id where street address = '80 8th street south' ) - 1
821 marquette avenue
[ header: round | circuit | location | date | pole position | fastest lap | winning driver | headline event row 1 : 1 | albert whitted airport | st. petersburg, florid | february 23 | leonardo maia | dan di leo | leonardo maia | grand prix of st. petersburg row 2 : 2 | fundidora park | monterrey | march 23 | leonardo maia | david martinez | david martinez | monterrey grand prix row 3 : 3 | milwaukee mile | west allis, wisconsin | june 1 | victor gonzalez, j | scott poirier | leonardo maia | milwaukee mile centennial 250 row 4 : 4 | mazda raceway laguna sec | monterey, californi | june 15 | memo rojas | leonardo maia | dan di leo | grand prix of monterey row 5 : 5 | portland international raceway | portland, oregon | june 22 | leonardo maia | leonardo maia | leonardo maia | g.i. joe's row 6 : 6 | burke lakefront airport | cleveland, ohio | july 5 | leonardo maia | leonardo maia | leonardo maia | u.s. bank cleveland row 7 : 7 | exhibition place | toronto | july 13 | leonardo maia | leonardo maia | memo rojas | molson indy toronto row 8 : 8 | concord pacific place | vancouver | july 27 | leonardo maia | david martinez | leonardo maia | molson indy vancouver row 9 : 9 | mid-ohio sports car course | lexington, ohio | august 3 | leonardo maia | leonardo maia | leonardo maia | champ car grand prix of mid-ohi row 10 : 10 | circuit gilles villeneuve | montreal | august 24 | memo rojas | leonardo maia | memo rojas | molson indy montreal ] Execute this SQL based on the above table: select pole position where circuit = 'fundidora park'
leonardo maia