inputs
stringlengths
291
3.71k
targets
stringlengths
1
2.65k
[ header: number | year built | livery | current status | notes row 1 : 2 | 1964 | red and white | operational | based on a metropolitan tramway style open row 2 : 4 | 1961 | blackpool tramway green and cream | operational | based on a blackpool style open boat row 3 : 6 | 1954 | green and cream | operational | based on a llandud row 4 : 7 | 1958 | brown and cream | stored awaiting overhaul | based on a llandud row 5 : 8 | 1968 | bristol blue and white | operational | based on a llandud row 6 : 9 | 2002 | two tone blue | operational | based on design elements from plymouth row 7 : 10 | 2002 | orange, green and cream | operational | based on design elements from plymouth row 8 : 11 | 2002 | pink | operational | based on design elements from plymouth row 9 : 12 | 1966 | currently being repainted into london | operational | based on a london felt row 10 : 14 | 1904 | red and white | operational | ex metropolitan tramways 94. rebuilt into its row 11 : 16 | 1921 | crimson and yellow | operational | ex bournemouth 106. rebuilt into its row 12 : 17 | 1988 | red and white | operational | based on a manx electric railway to row 13 : 19 | 1906 | green and white | operational | ex exeter 19. rebuilt into its current format ] Execute this SQL based on the above table: select count ( notes ) where livery > 1468
13
[ header: rank | lane | name | nationality | time | notes row 1 : 1 | 4 | petra chocova | czech republic | 31.44 | q row 2 : 2 | 5 | sycerika mcma | ireland | 31.51 | q row 3 : 3 | 6 | concepcion badillo diaz | spain | 31.66 | q row 4 : 4 | 1 | katharina stiberg | norway | 31.84 | q row 5 : 5 | 3 | hrafnhildur | iceland | 31.95 | q row 6 : 6 | 8 | anastasia christoforou | cyprus | 31.98 | None row 7 : 7 | 2 | ivana ninkovic | bosnia and herzegovin | 32.26 | None row 8 : 8 | 7 | jenna laukkanen | finland | 32.26 | None ] Execute this SQL based on the above table: select name order by time asc limit 1
petra chocova
[ header: rank | name | nationality | time | notes row 1 : 1 | janelle atkinson | jamaica | 4:16.89 | q row 2 : 2 | None | None | None | q row 3 : 3 | kaitlin sandeno | united states | 4:18.97 | q row 4 : 4 | julia stowers | united states | 4:19.84 | q row 5 : 5 | None | None | None | q row 6 : 6 | None | None | None | q row 7 : 7 | None | None | None | q row 8 : 8 | None | None | None | q ] Execute this SQL based on the above table: select max ( time )
4
[ header: name | gauge | builder | type | date | works number | notes row 1 : no.774 | 2 ft (610 mm) | baguley | 4wpm | 1919 | 774 | undergoing restoration, not on display, purchased 1998 row 2 : dot | 18 in (457 mm) | beyer peacock | 0-4-0wt | 1887 | 2817 | built for the internal gorton locomotive works of be row 3 : rough pup | 2 ft (610 mm) | hunslet | 0-4-0st | 1891 | 541 | built for the dinorwic quarry railway. row 4 : no. 13 | 1 ft 10 in (560 mm | william spence ltd | 0-4-0t | 1895 | None | one of a fleet of overtype locomotives row 5 : george henry | 1 ft 10 3⁄4 in (5 | de winton | 0-4-0vb | 1877 | None | ex-penrhyn quarry locomotive. row 6 : jubilee 1897 | 1 ft 11 1⁄2 in (5 | manning wardle | 0-4-0st | 1897 | 1382 | built for the cilgwyn quarry in row 7 : dundee gasworks no.2 | 1 ft 11 1⁄2 in (5 | kerr stuart | 0-4-0wt | 1907 | 720 | built for the dundee gasworks railway ] Execute this SQL based on the above table: select type group by type order by count ( * ) desc limit 1
0-4-0wt
[ header: title | contents | pages | published | isbn row 1 : volume 1 | "the iron legion" (issues 1- | 112 | july 2008 | isbn 978-1-60010- row 2 : volume 2 | "the star beast" (issue 26 only) | 120 | december 2008 | isbn 978-1-60010-2 row 3 : volume 3 | "changes" (issues 118-11 | 128 | may 2009 | isbn 978-1-60010-4 row 4 : volume 4 | "junk-yard demon" (issue | 152 | november 2009 | isbn 978-1-60010- row 5 : volume 6 | "the shape shifter" (issues | 148 | december 2010 | isbn 978-1-60010-7 row 6 : omnibus 1 | collects volumes 1, 2 & 3 | 356 | april 2010 | isbn 978-1-60010- row 7 : omnibus 2 | collects volumes 4, 5 & 6 | 400 | september 2011 | isbn 978-1-60010-9 row 8 : omnibus 3 | collects volumes 7, 8 & 9 | tbc | 2014 tbc | isbn tbc ] Execute this SQL based on the above table: select count ( * ) where published = 153
0
[ header: # | name | position | birthday | size | weight | last team row 1 : 4 | tom lipke | guard/ forward | 12.04.1986 | 1,96 m | 98 kg | bremen roosters row 2 : 5 | muamer taletovic | guard | 02.04.1976 | 1,87 m | 90 kg | hertener lowen row 3 : 6 | david watson | guard | 16.09.1988 | 1,84 m | 78 kg | ssc karlsru row 4 : 7 | brandon gary | forward | 26.01.1983 | 2,03 m | 100 kg | iserlohn kangaroos row 5 : 8 | theodis tarver | center | 09.07.1984 | 2,06 m | 110 kg | bremen roosters row 6 : 9 | stefan svitek | forward | 25.05.1977 | 2,03 m | 108 kg | chemosvit svit row 7 : 10 | michael baumer | guard | 08.08.1990 | 1,80 m | 68 kg | bg karlsruhe row 8 : 11 | clifford crawford | guard | 07.01.1981 | 1,92 m | 98 kg | bremen roosters row 9 : 12 | max roser | guard/ forward | 31.07.1988 | 1,94 m | 87 kg | sg bad durkheim/spe row 10 : 13 | edward seward | center | 20.10.1978 | 2,06 m | 110 kg | aschersleben tiger row 11 : 14 | julius parrisius | guard | 01.08.1985 | 1,85 m | 85 kg | union shops rastatt row 12 : 15 | leo niebuhr | forward | 04.08.1986 | 2,06 m | 88 kg | sg braunschweig row 13 : 16 | alexander rueck | guard | 24.03.1984 | 1,89 m | 85 kg | union shops rastatt row 14 : 17 | matthias hurst | forward/ center | 06.10.1989 | 2,04 m | 86 kg | bg karlsruhe ] Execute this SQL based on the above table: select birthday where birthday != '04.08.1986' and birthday = ( select birthday where birthday = '04.08.1986' )
08.08.1990, 01.08.1985
[ header: no. | date/time | aircraft | foe | result | location | notes row 1 : u/c | 14 june 1917 | nieuport 17 | enemy aircraft | None | mount verena | victory originally confirmed, but disallowed postwar row 2 : 1 | 25 october 1917 @ 0800 | None | enemy aircraft | forced to land | marcesina | None row 3 : 2 | 7 november 1917 circa 1615 hours | None | enemy aircraft | forced to land | fonsazo | awarded silver medal for military valor row 4 : 3 | 7 december 1917 @ 1130 hours | None | enemy aircraft | None | val d'assa | None row 5 : 4 | 13 december 1917 ca. 1130 hours | None | enemy aircraft | None | asiago | None row 6 : 5 | 30 january 1918 @ 1000 hours | None | enemy two-seater | None | col d'eshele, | awarded silver medal for military valor row 7 : u/c | 4 february 1918 ca. 1100 hours | None | black enemy fighter craft | None | valstagna | claim shared with antonio reali row 8 : 6 | 5 february 1918 ca. 0830 hours | None | enemy two-seater | forced to land | case girardi | shared with marziale cerutti row 9 : 7 | 13 february 1918 @ 0915 hours | None | enemy fighter | None | marcesina | None row 10 : u/c | 24 february 1918 | None | enemy aircraft | None | mount grappa | None row 11 : 8 | 4 may 1918 @ 0850 hours | nieuport 27 | enemy aircraft | None | montello | austro-hungarians reported no matching loss row 12 : 9 | 4 may 1918 @ 1025 hours | nieuport 27 | enemy fighter | None | montello | austro-hungarians reported no matching loss ] Execute this SQL based on the above table: select count ( result ) where no. > 6
0
[ header: religious group | population % | growth (1991-2001) | sex ratio (total) | literacy (%) | work participation (%) | sex ratio (rural) | sex ratio (urban) | sex ratio (child) row 1 : hindu | 80.46% | 20.3% | 931 | 65.1% | 40.4% | 944 | 894 | 925 row 2 : muslim | 13.43% | 29.3% | 936 | 59.1% | 31.3% | 953 | 907 | 950 row 3 : christian | 2.34% | 22.6% | 1009 | 80.3% | 39.7% | 1001 | 1026 | 964 row 4 : sikh | 1.87% | 18.2% | 893 | 69.4% | 37.7% | 895 | 886 | 786 row 5 : buddhist | 0.77% | 18.2% | 953 | 72.7% | 40.6% | 958 | 944 | 942 row 6 : animist, others | 0.72% | 103.1% | 992 | 47.0% | 48.4% | 995 | 966 | 976 row 7 : jain | 0.41% | 26.0% | 940 | 94.1% | 32.9% | 937 | 941 | 870 ] Execute this SQL based on the above table: select count ( literacy (%) ) where sex ratio (total) >= 4
7
[ header: year | car | start | qual | rank | finish | laps | led | retired row 1 : 1956 | 14 | 23 | 142.535 | 16 | 7 | 200 | 0 | running row 2 : 1957 | 7 | 16 | 141.016 | 19 | 9 | 200 | 0 | running row 3 : 1958 | 14 | 4 | 144.881 | 4 | 26 | 1 | 0 | crash t3 row 4 : 1959 | 74 | 7 | 144.023 | 8 | 12 | 200 | 0 | running row 5 : 1960 | 44 | 25 | 143.363 | 23 | 8 | 200 | 0 | running row 6 : 1962 | 96 | 19 | 146.157 | 32 | 33 | 12 | 0 | engine row 7 : 1963 | 86 | 24 | 148.289 | 26 | 26 | 74 | 0 | valve row 8 : 1964 | 54 | 23 | 153.381 | 10 | 19 | 88 | 0 | piston row 9 : 1965 | 54 | 10 | 156.427 | 11 | 24 | 58 | 0 | piston row 10 : 1967 | 46 | 28 | 162.58 | 32 | 11 | 189 | 0 | flagged row 11 : 1968 | 16 | 24 | 163.495 | 24 | 11 | 196 | 0 | flagged row 12 : totals | totals | totals | totals | totals | totals | 1418 | 0 | None ] Execute this SQL based on the above table: select count ( retired ) where finish < 147
11
[ header: year | name | date | stages | distance | winner | time row 1 : 1982 | marlboro tour | 22 april-9 may | 15 | 2,192 km | jacinto sicam (phi) | 61:29:17 row 2 : 1983 | marlboro tour | 16 april-1 may | 14 | 2,313.11 km | romeo bonzo (phi) | 63:54:31 row 3 : 1984 | marlboro tour | 26 may-10 june | 14 | 2,464 km | ruben carino (phi) | 68:08:49 row 4 : 1985 | marlboro tour | 18 april-12 may | 21 | 3,668.97 km | pepito calip (phi) | 97:04:42 row 5 : 1986 | marlboro tour | 26 april-11 may | 10 | 2,900.77 km | rolando pagnanaw | 77:39:53 row 6 : 1987 | marlboro tour | 21 may-7 june | 17 | 3,282 km | reynaldo dequito | 88:06:50 row 7 : 1988 | marlboro tour | 28 april-15 may | 17 | 3,544.53 km | armando catalan (phi) | 94:44:03 row 8 : 1989 | marlboro tour | 26 april-14 may | 18 | 3,539.47 km | gerardo igos (phi | 95:40:23 row 9 : 1990 | marlboro tour | 18 april-6 may | 18 | 3,317.42 km | manuel buenaventura (phi) | 95:58:38 row 10 : 1991 | marlboro tour | 25 april-12 may | 17 | 2,373.61 km | bernardo llentad | 63:33:17 row 11 : 1992 | marlboro tour | 21 may-7 june | 17 | 2,731.38 km | renato dolosa (phi) | 71:21:49 row 12 : 1993 | marlboro tour | 17 april-9 may | 21 | 3,480 km | carlo guieb (phi) | 91:41:54 row 13 : 1994 | marlboro tour | 17 april-9 may | 20 | 3,563 km | carlo guieb (phi) | 91:24:13 row 14 : 1995 | marlboro tour | 18 march-8 april | 19 | 3,280.33 km | renato dolosa (phi) | 83:43:39 row 15 : 1996 | marlboro tour | 14 april-5 may | 19 | 3,257.29 km | victor espiritu (phi | 80:50:46 row 16 : 1997 | marlboro tour | 16 april-4 may | 16 | 2,472 km | wong kam-po (hkg) | 62:06:28 row 17 : 1998 | marlboro centennial tour | 15 april-3 may | 16 | 2,494 km | warren davadilla (phi) | 64:58:57 row 18 : 1999-2001 | cancelled | cancelled | cancelled | cancelled | cancelled | cancelled ] Execute this SQL based on the above table: select count ( * ) where winner = 'wong kam-po (hkg)'
1
[ header: year | host | gold | silver | bronze row 1 : 1976 | paraguay (asuncion) | brazil | paraguay | argentina row 2 : 1981 | peru (lima) | brazil | colombia | argentina row 3 : 1986 | colombia (cucuta) | brazil | colombia | peru row 4 : 1987 | argentina (mar del plata) | argentina | brazil | chile row 5 : 1990 | ecuador (ibarra) | brazil | argentina | ecuador row 6 : 1992 | chile (santiago) | brazil | argentina | colombia row 7 : 1995 | brazil (sao ro | colombia | brazil | argentina row 8 : 1996 | ecuador (quito) | argentina | brazil | colombia row 9 : 1998 | chile (ancud) | brazil | argentina | bolivia row 10 : 2000 | venezuela (san feli | brazil | argentina | venezuela row 11 : 2002 | chile (santiago) | ecuador | chile | paraguay row 12 : 2004 | bolivia (quillacollo) | brazil | argentina | bolivia row 13 : 2005 | paraguay (asuncion) | argentina | brazil | paraguay row 14 : 2007 | venezuela (guanare) | venezuela | argentina | brazil row 15 : 2009 | chile (santiago) | brazil | chile | argentina row 16 : 2011 | colombia (pasto) | colombia | argentina | brazil row 17 : 2013 | ecuador (portoviejo) | brazil | argentina | chile ] Execute this SQL based on the above table: select gold order by year desc limit 1
brazil
[ header: draw | country | language | artist | song | english translation | national final | place | points row 1 : 1 | malta | english | claudia faniello | "caravaggio" | None | 2nd | 13 | 53 row 2 : 2 | israel | hebrew | bo'az ma'uda | "parparim" | butterflies | 3rd | 8 | 90 row 3 : 3 | russia | english | sergey lazarev | "flyer" | None | 4th | 7 | 119 row 4 : 4 | estonia | english | rolf junior | "one on one" | None | 4th | 21 | 0 row 5 : 5 | belgium | english | sandrine | "i feel the same way" | None | 2nd | 10 | 64 row 6 : 6 | macedonia | macedonian | risto samardziev | "dojdi do mene" | come to me | 3rd | 19 | 7 row 7 : 7 | poland | english | man meadow | "viva la musica" | hail to the music | 3rd | 3 | 155 row 8 : 8 | finland | finnish | mikael konttinen | "milloin" | when | None | 14 | 46 row 9 : 9 | germany | german | carolin fortenbacher | "hinterm ozean" | beyond the ocean | 2nd | 6 | 129 row 10 : 10 | denmark | english | kendra lou | "until we're satisfied" | None | 4th | 18 | 21 row 11 : 11 | greece | english | kostas martakis | "always and forever" | None | 2nd | 4 | 140 row 12 : 12 | serbia | serbian | beauty queens | "zavet" | a pledge | 3rd | 9 | 68 row 13 : 13 | croatia | croatian | emilija kokic | "andjeo" | angel | 6th | 15 | 31 row 14 : 14 | lithuania | english | aiste pilvelyte | "troy on fire" | None | 2nd | 17 | 26 row 15 : 15 | ireland | english | leona daly | "not crazy after all" | None | None | 12 | 56 row 16 : 16 | united kingdom | english | the revelations | "it's you" | None | 3rd | 16 | 29 row 17 : 17 | portugal | portuguese | lisboa nao | "porto de encontro" | meeting harbour | 9th | 20 | 6 row 18 : 18 | sweden | english | sanna nielsen | "empty room" | None | 2nd | 1 | 269 row 19 : 19 | norway | english | veronica akselsen | "am i supposed to love again" | None | 4th | 5 | 139 row 20 : 20 | slovenia | slovene | brigita suler | "samara" | None | 3rd | 11 | 57 row 21 : 21 | spain | spanish | coral | "todo esta en t | everything is in your mind | 2nd | 2 | 178 ] Execute this SQL based on the above table: select national final order by id desc limit 1
2nd
[ header: date | opponents | h / a | result f - a | scorers | attendance row 1 : 26 august 1933 | plymouth argyle | a | 0 - 4 | None | 25700 row 2 : 30 august 1933 | nottingham forest | h | 0 - 1 | None | 16934 row 3 : 2 september 1933 | lincoln city | h | 1 - 1 | green | 16987 row 4 : 7 september 1933 | nottingham forest | a | 1 - 1 | stewart | 10650 row 5 : 9 september 1933 | bolton wanderers | h | 1 - 5 | stewart | 21779 row 6 : 16 september 1933 | brentford | a | 4 - 3 | brown (2), frame, hine | 17180 row 7 : 23 september 1933 | burnley | h | 5 - 2 | dewar (4), brown | 18411 row 8 : 14 october 1933 | bradford park avenue | a | 1 - 6 | hine | 11033 row 9 : 21 october 1933 | bury | a | 1 - 2 | byrne | 15008 row 10 : 25 november 1933 | bradford city | h | 2 - 1 | dewar, own goal | 20902 row 11 : 2 december 1933 | port vale | a | 3 - 2 | black, brown, dewar | 10316 row 12 : 9 december 1933 | notts county | h | 1 - 2 | dewar | 15564 row 13 : 16 december 1933 | swansea town | a | 1 - 2 | hine | 6591 row 14 : 23 december 1933 | millwall | h | 1 - 1 | dewar | 12043 row 15 : 26 december 1933 | grimsby town | a | 3 - 7 | byrne (2), frame | 15801 row 16 : 6 january 1934 | lincoln city | a | 1 - 5 | brown | 6075 row 17 : 20 january 1934 | bolton wanderers | a | 1 - 3 | ball | 11887 row 18 : 3 february 1934 | burnley | a | 4 - 1 | cape (2), green, stewart | 9906 row 19 : 10 february 1934 | oldham athletic | h | 2 - 3 | cape, green | 24480 row 20 : 24 february 1934 | bradford park avenue | h | 0 - 4 | None | 13389 row 21 : 3 march 1934 | bury | h | 2 - 1 | ball, gallimore | 11176 row 22 : 10 march 1934 | hull city | a | 1 - 4 | ball | 5771 row 23 : 17 march 1934 | fulham | h | 1 - 0 | ball | 17565 row 24 : 24 march 1934 | southampton | a | 0 - 1 | None | 4840 row 25 : 30 march 1934 | west ham united | h | 0 - 1 | None | 29114 row 26 : 31 march 1934 | blackpool | h | 2 - 0 | cape, hine | 20038 row 27 : 2 april 1934 | west ham united | a | 1 - 2 | cape | 20085 row 28 : 7 april 1934 | bradford city | a | 1 - 1 | cape | 9258 row 29 : 14 april 1934 | port vale | h | 2 - 0 | brown, mcmillen | 14777 row 30 : 21 april 1934 | notts county | a | 0 - 0 | None | 9645 row 31 : 28 april 1934 | swansea town | h | 1 - 1 | topping | 16678 row 32 : 5 may 1934 | millwall | a | 2 - 0 | cape, manley | 24003 ] Execute this SQL based on the above table: select abs ( ( select attendance where h / a = 'a' ) - ( select attendance where h / a = 'h' ) )
8766.0
[ header: # | date | visitor | score | home | record | pts row 1 : 1 | december 21 | ottawa senators | 5-2 | montreal canadiens | 1-0-0 | 2 row 2 : 2 | december 26 | toronto arenas | 2-5 | ottawa senators | 2-0-0 | 4 row 3 : 3 | december 31 | ottawa senators | 2-4 | toronto arenas | 2-1-0 | 4 row 4 : 4 | january 2 | montreal canadiens | 2-7 | ottawa senators | 3-1-0 | 6 row 5 : 5 | january 4 | ottawa senators | 2-5 | montreal canadiens | 3-2-0 | 6 row 6 : 6 | january 9 | toronto arenas | 2-4 | ottawa senators | 4-2-0 | 8 row 7 : 7 | january 14 | ottawa senators | 2-5 | toronto arenas | 4-3-0 | 8 row 8 : 8 | january 16 | montreal canadiens | 10-6 | ottawa senators | 4-4-0 | 8 row 9 : 9 | january 18 | ottawa senators | 3-5 | montreal canadiens | 4-5-0 | 8 row 10 : 10 | january 23 | toronto arenas | 2-3 | ottawa senators | 5-5-0 | 10 row 11 : 11 | january 25 | ottawa senators | 1-0 | montreal canadiens | 1-0-0 | 2 row 12 : 12 | january 28 | ottawa senators | 2-1 | toronto arenas | 2-0-0 | 4 row 13 : 13 | january 30 | montreal canadiens | 2-3 | ottawa senators | 3-0-0 | 6 row 14 : 14 | february 6 | toronto arenas | 1-3 | ottawa senators | 4-0-0 | 8 row 15 : 15 | february 8 | ottawa senators | 3-4 | montreal canadiens | 4-1-0 | 18 row 16 : 16 | february 13 | montreal canadiens | 0-7 | ottawa senators | 5-1-0 | 10 row 17 : 17 | february 18 | ottawa senators | 4-3 | toronto arenas | 6-1-0 | 12 row 18 : 18 | february 20 | toronto arenas | 3-9 | ottawa senators | 7-1-0 | 14 ] Execute this SQL based on the above table: select count ( distinct record ) where pts >= 6 and pts <= 10
10
[ header: category | speed (km/h) | speed (mph) | vehicle | pilot | date row 1 : rocket-powered aircraft | 7258 | 4510 | north american x-15 | william j. knight | 3 oct 1967 row 2 : manned air-breathing craft | 3530 | 2194 | lockheed sr-71 blackbird | eldon w. joersz | 28 jul 1976 row 3 : propeller-driven aircraft | 870 | 541 | tupolev tu-114 | ivan soukhomline | 1960 row 4 : piston-engined propeller-driven aircraft | 850.1 | 528.33 | grumman f8f bearcat rare | lyle shelton | 21 aug 1989 row 5 : helicopter | 401 | 249.1 | westland lynx 800 g | john egginton | 11 aug 1986 row 6 : glider (sailplane) | 306.8 | 190.6 | schempp-hirth nim | klaus ohlmann and | 22 dec 2006 row 7 : human-powered aircraft | 32 | 19.8 | mit monarch b | frank scarabino | 1 may 1984 ] Execute this SQL based on the above table: select ( select date where date = 1960 ) > ( select date where date = 1960 )
0
[ header: year | actor | award | category | role | episode | result row 1 : 1992 | nancy cartwright | primetime emmy award | outstanding voice-over performance | bart simpson | "separate vocations" | won row 2 : 1992 | dan castellaneta | primetime emmy award | outstanding voice-over performance | homer simpson | "lisa's pony" | won row 3 : 1992 | julie kavner | primetime emmy award | outstanding voice-over performance | marge simpson | "i married marge" | won row 4 : 1992 | jackie mason | primetime emmy award | outstanding voice-over performance | rabbi hyman k | "like father, like clown" | won row 5 : 1992 | yeardley smith | primetime emmy award | outstanding voice-over performance | lisa simpson | "lisa the greek" | won row 6 : 1992 | marcia wallace | primetime emmy award | outstanding voice-over performance | edna krabappel | "bart the lover" | won row 7 : 1993 | dan castellaneta | primetime emmy award | outstanding voice-over performance | homer simpson | "mr. plow" | won row 8 : 1995 | nancy cartwright | annie award | voice acting in the field of animation | bart simpson | "radio bart" | won row 9 : 1997 | maggie roswell | annie award | best voice acting by a female performer | shary bobbins | "simpsoncalifragilisticex | nominated row 10 : 1998 | hank azaria | primetime emmy award | outstanding voice-over performance | apu nahasapee | None | won row 11 : 2001 | hank azaria | primetime emmy award | outstanding voice-over performance | various | "worst episode ever" | won row 12 : 2003 | hank azaria | primetime emmy award | outstanding voice-over performance | various | "moe baby blues" | won row 13 : 2004 | dan castellaneta | primetime emmy award | outstanding voice-over performance | various characters | "today i am a clown" | won row 14 : 2006 | kelsey grammer | primetime emmy award | outstanding voice-over performance | sideshow bob | "the italian bob" | won row 15 : 2007 | julie kavner | annie award | best voice acting in an animated feature | marge simpson | the simpsons movie | nominated row 16 : 2009 | hank azaria | primetime emmy award | outstanding voice-over performance | moe szyslak | "eeny teeny maya mo | nominated row 17 : 2009 | dan castellaneta | primetime emmy award | outstanding voice-over performance | homer simpson | "father knows worst" | won row 18 : 2009 | harry shearer | primetime emmy award | outstanding voice-over performance | mr. burns, smithers | "the burns and the bees" | nominated row 19 : 2010 | hank azaria | primetime emmy award | outstanding voice-over performance | moe szyslak, | "moe letter blues" | nominated row 20 : 2010 | dan castellaneta | primetime emmy award | outstanding voice-over performance | homer simpson, grampa | "thursday with abie" | nominated ] Execute this SQL based on the above table: select ( select year where year = ( select year where result = 'won' ) + 1 ) > ( select year where result = 'won' )
1
[ header: county | obama | votes | romney | votes | others | votes | total row 1 : bernalillo | 55.55% | 147,183 | 39.35% | 104,242 | 5.10% | 13,517 | 264,942 row 2 : catron | 26.38% | 560 | 70.37% | 1,494 | 3.25% | 69 | 2,123 row 3 : chaves | 32.28% | 6,641 | 64.77% | 13,327 | 2.95% | 607 | 20,575 row 4 : cibola | 60.18% | 4,907 | 36.37% | 2,966 | 3.45% | 281 | 8,154 row 5 : colfax | 49.05% | 2,828 | 46.83% | 2,700 | 4.11% | 237 | 5,765 row 6 : dona ana | 55.97% | 36,778 | 41.07% | 26,988 | 2.96% | 1,946 | 65,712 row 7 : eddy | 31.83% | 6,110 | 65.36% | 12,546 | 2.81% | 539 | 19,195 row 8 : grant | 55.00% | 7,009 | 41.48% | 5,286 | 3.52% | 449 | 12,744 row 9 : guadalupe | 69.68% | 1,478 | 26.12% | 554 | 4.20% | 89 | 2,121 row 10 : lea | 23.98% | 4,080 | 73.75% | 12,548 | 2.27% | 387 | 17,015 row 11 : los alamos | 48.72% | 5,191 | 45.02% | 4,796 | 6.26% | 667 | 10,654 row 12 : luna | 47.77% | 3,583 | 48.93% | 3,670 | 3.29% | 247 | 7,500 row 13 : mckinley | 72.08% | 15,363 | 25.43% | 5,420 | 2.49% | 530 | 21,313 row 14 : mora | 74.85% | 1,952 | 22.81% | 595 | 2.34% | 61 | 2,608 row 15 : otero | 34.15% | 6,811 | 62.23% | 12,412 | 3.62% | 723 | 19,946 row 16 : quay | 37.32% | 1,384 | 59.39% | 2,202 | 3.29% | 122 | 3,708 row 17 : roosevelt | 28.92% | 1,730 | 67.73% | 4,052 | 3.36% | 201 | 5,983 row 18 : san juan | 34.11% | 15,688 | 62.57% | 28,779 | 3.32% | 1,527 | 45,994 row 19 : san miguel | 76.86% | 8,751 | 20.04% | 2,281 | 3.10% | 353 | 11,385 row 20 : sandoval | 50.29% | 26,976 | 45.17% | 24,228 | 4.53% | 2,432 | 53,636 row 21 : santa fe | 73.37% | 50,097 | 22.48% | 15,351 | 4.15% | 2,832 | 68,280 row 22 : sierra | 38.49% | 1,964 | 57.39% | 2,928 | 4.12% | 210 | 5,102 row 23 : socorro | 56.37% | 4,047 | 37.89% | 2,720 | 5.74% | 412 | 7,179 row 24 : taos | 78.06% | 11,855 | 17.84% | 2,710 | 4.10% | 623 | 15,188 row 25 : torrance | 37.86% | 2,414 | 55.22% | 3,521 | 6.92% | 441 | 6,376 row 26 : union | 26.83% | 472 | 70.27% | 1,236 | 2.90% | 51 | 1,759 ] Execute this SQL based on the above table: select ( select count ( * ) where others = '3.36%' ) > ( select count ( * ) where others = '3.45%' )
0
[ header: year | title | role | notes row 1 : 1991 | they came from outer space | mrs. morley | episode: "hair today, gone tomorrow" row 2 : 1991 | parker lewis can't lose | melinda | episode: "love handles" row 3 : 1991 | married... with children | jill | episode: "if al had a ham row 4 : 1992 | married... with children | kara | episode: "the mystery of skull island" row 5 : 1992 | matlock | lisa loomis | episode: "the big payoff" row 6 : 1992 | silk stalkings | tessa shaver | episode: "goodtime charlie" row 7 : 1992 | dark justice | lucy | episode: "a better mousetrap" row 8 : 1992 | baywatch | lifeguard | episode: "war of nerves" row 9 : 1993 | the cover girl murders | hetty barnett | movie row 10 : 1994 | red shoe diaries | luscious lola | episode: "luscious lola" row 11 : 1994 | honor thy father and mother: the true | jamie pisarcik | movie row 12 : 1994 | fortune hunter | kelly owen | episode: "stowaway" row 13 : 1994 | baywatch | kim | episode: "red wind" row 14 : 1995 | pointman | brenner | episode: "models" row 15 : 1995 | the watcher | lori danforth | 8 episodes row 16 : 1995-96 | murder one | julie costello | 15 episodes row 17 : 1996 | the x-files | dr. bambi berenbaum | episode: "war of the coprophages row 18 : 1996 | boy meets world | louanne | episode: "i never sang for my legal guard row 19 : 1996-97 | the cape | navy pilot lt. cmdr. | 17 episodes row 20 : 1997 | stargate sg-1 | kynthia | episode: "brief candle" row 21 : 1998 | house rules | dr. chris cavan | episode: "riley's new job" row 22 : 1998 | chameleon | kam | movie row 23 : 1998 | two guys and a girl | shawn | episode: "two guys, a girl and row 24 : 1999 | two guys and a girl | shawn | episode: "two guys, a girl and row 25 : 1999 | chameleon ii: death match | kam | movie row 26 : 1999 | the magnificent seven | None | episode: "wagon train: part 1" row 27 : 1999 | the crow: stairway to heaven | hannah foster / talon | episode: "birds of a feather" row 28 : 1999 | the strip | lilly briscoe | episode: "winner takes it all" row 29 : 2000 | two guys and a girl | shawn | episode: "another moving script" row 30 : 2000 | hustle | maya / corinna | m<vie row 31 : 2000 | chameleon 3: dark angel | kam | movie row 32 : 2001 | seven days | raven | episode: "raven" row 33 : 2001 | dharma & greg | anna | episode: "dream a little dream of her ] Execute this SQL based on the above table: select title where notes = '15 episodes' and title != 'married... with children'
murder one
[ 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 count ( * ) where population = 48
1
[ header: series | year | rank | average audience share row 1 : 1 | 1992 | None | 14.50m row 2 : 2 | 1993 | None | None row 3 : 3 | 1993 | None | None row 4 : 4 | 1994 | None | None row 5 : 5 | 1995 | None | None row 6 : 6 | 1996 | None | 14.60m row 7 : 7 | 1997-1998 | None | 15.82m row 8 : 8 | 1998-1999 | 5th | 14.35m row 9 : 9 | 1999-2000 | 6th | 13.71m row 10 : 10 | 2000-2001 | 5th | 13.21m row 11 : 11 | 2001-2002 | 6th | 10.77m row 12 : 12 | 2002-2003 | 7th | 11.29m row 13 : 13 | 2003-2004 | 8th | 13.11m row 14 : 14 | 2004-2005 | 10th | 8.77m row 15 : 15 | 2005-2006 | 10th | 8.42m row 16 : 16 | 2006-2007 | 8th | 7.80m row 17 : 17 | 2007-2008 | 11th | 6.90m row 18 : 18 | 2008-2010 | 15th | 5.44m (incl. itv ] Execute this SQL based on the above table: select rank where series < 16
5th, 6th, 5th, 6th, 7th, 8th, 10th, 10th
[ header: season | level | division | section | position | movements row 1 : 1993 | tier 3 | division 2 | ostra svealand | 1st | promoted row 2 : 1994 | tier 2 | division 1 | norra | 11th | relegation playoffs row 3 : 1995 | tier 2 | division 1 | norra | 4th | None row 4 : 1996 | tier 2 | division 1 | norra | 11th | relegation playoffs - re row 5 : 1997 | tier 3 | division 2 | ostra svealand | 3rd | None row 6 : 1998 | tier 3 | division 2 | ostra svealand | 7th | None row 7 : 1999 | tier 3 | division 2 | ostra svealand | 3rd | None row 8 : 2000 | tier 3 | division 2 | ostra svealand | 9th | None row 9 : 2001 | tier 3 | division 2 | ostra svealand | 7th | None row 10 : 2002 | tier 3 | division 2 | ostra svealand | 2nd | None row 11 : 2003 | tier 3 | division 2 | ostra svealand | 3rd | None row 12 : 2004 | tier 3 | division 2 | ostra svealand | 6th | None row 13 : 2005 | tier 3 | division 2 | ostra svealand | 4th | promoted row 14 : 2006 | tier 3 | division 1 | norra | 5th | None row 15 : 2007 | tier 3 | division 1 | sodra | 14th | relegated ] Execute this SQL based on the above table: select movements order by season asc limit 1
promoted
[ header: iso/iec standard | title | status | description | wg row 1 : iso/iec tr 1975 | software engineering - guide to the software engineering body | published (2005) | identifies and describes the subset of body | 20 row 2 : iso/iec 15288 | systems and software engineering - system life cycle processes | published (2008) | establishes a common framework for describing | 7 row 3 : iso/iec 12207 | systems and software engineering - software life cycle processes | published (2008) | establishes a common framework for software life | 7 row 4 : iso/iec 20000-1 | information technology - service management - part 1 | published (2011) | specifies requirements for the service provider to plan, | 25 row 5 : iso/iec 15504-1 | information technology - process assessment - part 1 | published (2004) | provides overall information on the concepts of process assessment and | 10 row 6 : iso/iec/iee | systems and software engineering - architecture description | published (2011) | addresses the creation, analysis, and sustainment of | 42 row 7 : iso/iec tr 29 | software engineering - lifecycle profiles for very small | published (2011) | introduces the characteristics and requirements of a | 24 row 8 : iso/iec tr 9 | software engineering - product quality - part 2 | published (2003) | provides external metrics for measuring attributes of six external quality | None row 9 : iso/iec 10746-1 | information technology - open distributed processing - reference | published (1998) | provides: an introduction and motivation for od | 19 row 10 : iso/iec 19770-1 | information technology - software asset management - part | published (2012) | establishes a baseline for an integrated set | 21 row 11 : iso/iec/iee | systems and software engineering - requirements for managers of | published (2011) | specifies procedures for managing user documentation throughout the software | 2 row 12 : iso/iec/iee | systems and software engineering -- requirements for acquirers | published (2011) | defines the documentation process from the acquirer's | 2 row 13 : iso/iec/iee | systems and software engineering - requirements for testers | published (2009) | defines the process in which user documentation products are tested | 2 row 14 : iso/iec/iee | systems and software engineering - requirements for designers and | published (2008) | specifies the structure, content, and format for | 2 row 15 : iso/iec/iee | systems and software engineering - developing user documentation in | published (2011) | specifies the way in which user documentation can be | 2 ] Execute this SQL based on the above table: select avg ( wg )
13.214285714285714
[ header: sport | gold | silver | bronze | total row 1 : athletics | 14 | 8 | 10 | 32 row 2 : weightlifting | 9 | 2 | 1 | 12 row 3 : swimming | 8 | 7 | 5 | 20 row 4 : taekwondo | 7 | 3 | 2 | 12 row 5 : boxing | 7 | 1 | 3 | 11 row 6 : judo | 5 | 3 | 6 | 14 row 7 : canoeing | 5 | 2 | 3 | 10 row 8 : sailing | 4 | 3 | 1 | 8 row 9 : sepak takraw | 4 | 0 | 0 | 4 row 10 : wrestling | 3 | 5 | 4 | 12 row 11 : rowing | 3 | 3 | 3 | 9 row 12 : gymnastic - artistic | 3 | 2 | 3 | 8 row 13 : fencing | 3 | 1 | 9 | 13 row 14 : petanque | 3 | 1 | 2 | 6 row 15 : cycling | 2 | 8 | 4 | 14 row 16 : paragliding | 3 | 1 | 2 | 6 row 17 : fin swimming | 2 | 3 | 7 | 12 row 18 : tennis | 2 | 3 | 4 | 9 row 19 : golf | 2 | 3 | 0 | 5 row 20 : water ski | 2 | 2 | 1 | 5 row 21 : ekuestrian | 2 | 2 | 1 | 5 row 22 : bridge | 2 | 1 | 2 | 5 row 23 : billiard & snooker | 2 | 1 | 1 | 4 row 24 : futsal | 2 | 0 | 0 | 2 row 25 : volleyball | 2 | 0 | 0 | 2 row 26 : shooting | 1 | 6 | 5 | 12 row 27 : badminton | 1 | 2 | 6 | 9 row 28 : gymnastic - aerobic | 1 | 1 | 1 | 3 row 29 : gymnastic - rhythmic | 1 | 1 | 0 | 2 row 30 : basketball | 1 | 1 | 0 | 2 row 31 : wushu | 1 | 0 | 3 | 4 row 32 : beach volleyball | 1 | 0 | 2 | 3 row 33 : chess | 1 | 0 | 0 | 1 row 34 : bowling | 1 | 0 | 0 | 1 row 35 : soft tennis | 0 | 4 | 5 | 9 row 36 : pencak silat | 0 | 4 | 3 | 7 row 37 : traditional boat race | 0 | 2 | 5 | 7 row 38 : karate-do | 0 | 2 | 4 | 6 row 39 : roller sport | 0 | 2 | 2 | 4 row 40 : wall climbing | 0 | 2 | 1 | 3 row 41 : archery | 0 | 1 | 4 | 5 row 42 : table tennis | 0 | 1 | 2 | 3 row 43 : synchronized swimming | 0 | 1 | 1 | 2 row 44 : softball | 0 | 1 | 0 | 1 row 45 : baseball | 0 | 0 | 1 | 1 row 46 : diving | 0 | 0 | 1 | 1 row 47 : total | 109 | 100 | 120 | 329 ] Execute this SQL based on the above table: select count ( sport ) where bronze <= 1599 or gold <= 1599
47
[ header: date | opponent | score | result | record row 1 : june 21 | sacramento | 60-70 | loss | 0-1 row 2 : june 23 | los angeles | 102-89 | win | 1-1 row 3 : june 26 | @ cleveland | 63-74 | loss | 1-2 row 4 : june 28 | houston | 58-76 | loss | 1-3 row 5 : july 2 | @ sacramento | 73-68 (ot) | win | 2-3 row 6 : july 3 | phoenix | 55-77 | loss | 2-4 row 7 : july 5 | new york | 53-66 | loss | 2-5 row 8 : july 7 | sacramento | 69-79 | loss | 2-6 row 9 : july 11 | @ los angeles | 68-75 | loss | 2-7 row 10 : july 12 | phoenix | 52-51 | win | 3-7 row 11 : july 14 | @ houston | 56-79 | loss | 3-8 row 12 : july 16 | @ charlotte | 63-75 | loss | 3-9 row 13 : july 17 | @ new york | 54-80 | loss | 3-10 row 14 : july 19 | @ cleveland | 68-95 | loss | 3-11 row 15 : july 22 | @ new york | 78-71 | win | 4-11 row 16 : july 26 | cleveland | 66-77 | loss | 4-12 row 17 : july 30 | @ los angeles | 69-91 | loss | 4-13 row 18 : august 2 | houston | 74-63 | win | 5-13 row 19 : august 4 | charlotte | 73-70 | win | 6-13 row 20 : august 6 | @ phoenix | 46-78 | loss | 6-14 row 21 : august 8 | @ sacramento | 78-93 | loss | 6-15 row 22 : august 11 | cleveland | 59-74 | loss | 6-16 row 23 : august 12 | @ houston | 56-76 | loss | 6-17 row 24 : august 16 | los angeles | 64-74 | loss | 6-18 row 25 : august 17 | @ phoenix | 63-71 (ot) | loss | 6-19 row 26 : august 19 | new york | 81-75 | win | 7-19 row 27 : august 21 | charlotte | 56-66 | loss | 7-20 row 28 : august 24 | @ charlotte | 52-70 | loss | 7-21 ] Execute this SQL based on the above table: select count ( date ) where result = 'loss'
21
[ header: years | building | city | height (ctbuh) | floors row 1 : 1975-present | first canadian place | toronto | 298.1 m (978 ft) | 72 row 2 : 1972-1975 | commerce court west | toronto | 239.0 m (784 ft | 57 row 3 : 1967-1972 | toronto-dominion centre | toronto | 222.8 m (731 ft) | 56 row 4 : 1964-1967 | tour de la bourse | montreal | 190.0 m (623 ft) | 47 row 5 : 1962-1964 | place ville-marie | montreal | 188.0 m (617 ft) | 44 row 6 : 1962 | tour cibc | montreal | 184.0 m (604 ft) | 45 row 7 : 1931-1962 | commerce court north | toronto | 145.0 m (476 ft) | 34 ] Execute this SQL based on the above table: select city order by floors asc limit 1810
toronto, montreal, montreal, montreal, toronto, toronto, toronto
[ header: rank | name | caps | goals | years row 1 : 1 | bedford jezzard | 3 | 6 | 1954-1955 row 2 : 2 | tommy taylor | 2 | 4 | 1956 row 3 : 2 | gordon hill | 6 | 4 | 1978 row 4 : 2 | alan smith | 4 | 4 | 1990-1992 row 5 : 5 | jack rowley | 1 | 3 | 1949 row 6 : 5 | brian talbot | 6 | 3 | 1978-1980 row 7 : 5 | paul merson | 4 | 3 | 1991-1998 row 8 : 5 | matthew le tissier | 6 | 3 | 1990-1998 ] Execute this SQL based on the above table: select name where goals = 4
tommy taylor, gordon hill, alan smith
[ header: dvd title | discs | year | no. of ep. | dvd release region 2 | dvd release region 4 row 1 : complete series 1 | 2 | 1971 | 8 | 30 april 2007 | 4 july 2007 row 2 : complete series 2 | 2 | 1972 | 8 | 2 july 2007 | 8 may 2008 row 3 : complete series 3 | 2 | 1973-1974 | 8 | 17 march 2008 | 5 march 2009 row 4 : complete series 4 | 2 | 1975 | 8 | 19 may 2008 | 6 august 2009 row 5 : complete series 5 | 2 | 1976 | 8 | 15 june 2009 | 4 march 2010 row 6 : complete series 6 | 2 | 1977-1978 | 8 | 22 february 2010 | 5 august 2010 row 7 : complete series 7 | 2 | 1978-1979 | 8 | 17 may 2010 | 3 march 2011 row 8 : complete series 8 | 2 | 1980 | 8 | 6 september 2010 | 2 june 2011 row 9 : complete series 9 | 2 | 1981-1982 | 8 | 28 february 2011 | 1 march 2012 row 10 : complete series 10 | 2 | 1983-1984 | 6 | 9 may 2011 | 5 september 2012 row 11 : complete series 11 | 2 | 1985 | 5 | 25 july 2011 | 3 april 2013 row 12 : complete series 12 | 2 | 1985-1986 | 6 | 26 september 2011 | 7 august 2013 row 13 : the christmas specials | 2 | 1973-1982-1984-1987 | 4 | 29 october 2007 | 6 november 2008 row 14 : the complete collection | 27 | 1971-1987, 2010 | 96 | 24 september 2012 | 2013 row 15 : two ronnies in australia | 2 | 1986 | 6 | None | 28 june 2008 row 16 : the best of...volume 1 | 1 | 1971-1984 | 1 compilation | 1 october 2001 | 4 march 2002 row 17 : the best of...volume 2 | 1 | 1971-1985 | 1 compilation | 29 september 2003 | 17 march 2003 ] Execute this SQL based on the above table: select dvd release region 2 order by discs desc limit 1
24 september 2012
[ header: rank | name | nationality | result | notes row 1 : None | huang qiuyan | china | 14.39 | sb row 2 : None | anastasiya juravlev | uzbekistan | 14.21 | #name? row 3 : None | zhang hao | china | 13.63 | None row 4 : 4 | wacharee ritthiwat | thailand | 13.54 | sb row 5 : 5 | tatyana bocharova | kazakhstan | 13.5 | None row 6 : 6 | wang kuo-huei | chinese taipei | 13.25 | sb row 7 : 7 | fumiyo yoshida | japan | 13.09 | None row 8 : 8 | ngew sin mei | malaysia | 12.93 | None row 9 : 9 | manisha dey | india | 12.83 | None row 10 : 10 | thitima muangjan | thailand | 12.79 | None row 11 : 11 | phan thi thu lan | vietnam | 12.75 | None row 12 : 12 | lo yu-hsin | chinese taipei | 12.69 | None row 13 : None | elena bobrovskaya | kyrgyzstan | dns | None ] Execute this SQL based on the above table: select sum ( result )
159.60000000000002
[ header: year | title | b-side | mediums | label (catalog) row 1 : 1996 | "broke" | "whenever i breathe out, you breathe | 7" | sub pop (sp0338) row 2 : 1997 | "a life of arctic sounds" | "medication" | 7" | suicide squeeze (ssr001003) row 3 : 1997 | "birds vs. worms | "every penny fed car", "four finger | 7" | hit or miss row 4 : 1998 | "other people's lives" | "grey ice water" | 7" | up records row 5 : 1998 | "never ending math equation" | "workin' on leavin' the | 7" | sub pop (sp0436) row 6 : 1998 | "whenever you see fit" | "whenever you see fit (dj | 12", cd | up records/suicide squeeze row 7 : 1999 | "heart cooks brain" | "shit luck" | 7" | matador records row 8 : 2004 | "float on" | "i've got it all (most) | 7", cd | epic (076685) row 9 : 2004 | "ocean breathes salty" | "float on (live studio)" | cd | epic row 10 : 2007 | "dashboard" | "king rat" | 7", cd | epic row 11 : 2007 | "missed the boat" | None | digital | epic row 12 : 2009 | "satellite skin" | "guilty cocker spaniels | 7" | epic row 13 : 2009 | "autumn beds" | "whale song" | 7" | epic row 14 : 2009 | "perpetual motion machine" | "history sticks to your feet" | 7" | epic ] Execute this SQL based on the above table: select count ( b-side ) where year > 1749
13
[ header: z | element | observed or predicted | isolated (widely known) | observer | first isolator | notes row 1 : 42 | molybdenum | 1778 | 1781 | w. scheele | j. hjelm | scheele recognised the metal as a constituent row 2 : 74 | tungsten | 1781 | 1783 | t. bergman | j. and f. el | bergman obtained from scheelite an row 3 : 58 | cerium | 1803 | 1839 | h. klaproth, j | g. mosander | berzelius and hisinger discovered the element row 4 : 3 | lithium | 1817 | 1821 | a. arfwedson | w. t. brande | arfwedson discovered the alkali row 5 : 35 | bromine | 1825 | 1825 | j. balard and l. | j. balard and l. | they both discovered the element in the autumn of 18 row 6 : 90 | thorium | 1829 | None | j. berzelius | None | berzelius obtained the oxide of a row 7 : 69 | thulium | 1879 | 1879 | t. cleve | t. cleve | cleve split marignac's er row 8 : 10 | neon | 1898 | 1898 | w. ramsay and w. | w. ramsay and w. | in june 1898 ramsay separated row 9 : 86 | radon | 1898 | 1910 | e. dorn | w. ramsay and r. | dorn discovered a radioactive gas row 10 : 89 | actinium | 1899 | 1899 | a.-l. debierne | a.-l. debierne | debierne obtained from pitchblende row 11 : 71 | lutetium | 1906 | 1906 | g. urbain and c.a. | g. urbain and c.a. | urbain and von welsbach proved independently that row 12 : 75 | rhenium | 1908 | 1908 | m. ogawa | m. ogawa | ogawa found it in thori ] Execute this SQL based on the above table: select element where element < ( select element where observer = 'm. ogawa' )
molybdenum, cerium, lithium, bromine, neon, radon, actinium, lutetium
[ header: title | year | director | budget | gross (worldwide) | notes row 1 : dead ringers | 1988 | david cronenberg | None | $8,038,508 | None row 2 : coupe de ville | 1990 | joe roth | None | $715,983 | None row 3 : nightbreed | 1990 | clive barker | $11 million | $8,862,354 | None row 4 : freejack | 1992 | geoff murphy | $30 million | $17,129,000 | None row 5 : white sands | 1992 | roger donaldson | $25 million | $9,011,574 | None row 6 : stay tuned | 1992 | peter hyams | None | $10,736,401 | None row 7 : the last of the mohicans | 1992 | michael mann | $40 million | $75,505,856 | None row 8 : chasers | 1994 | dennis hopper | $15 million | $1,596,687 | None row 9 : trial by jury | 1994 | heywood gould | None | $6,971,777 | None row 10 : silent fall | 1994 | bruce beresford | $30 million | $3,180,674 | None row 11 : ace ventura: when nature calls | 1995 | steve oedekerk | $30 million | $212,385,533 | None row 12 : two if by sea | 1996 | bill bennett | None | $10,658,278 | None row 13 : wild america | 1997 | william dear | None | $7,324,662 | None row 14 : incognito | 1998 | john badham | None | None | None row 15 : wrongfully accused | 1998 | pat proft | None | $9,623,329 | None row 16 : the king and i | 1999 | richard rich | $25 million | $11,993,021 | None row 17 : chill factor | 1999 | hugh johnson | $70 million | $11,263,966 | None row 18 : liberty heights | 1999 | barry levinson | $11 million | $3,736,868 | None row 19 : battlefield earth | 2000 | roger christian | $44 million | $29,725,663 | None row 20 : the art of war | 2000 | christian duguay | $60 million | $40,400,425 | None row 21 : get carter | 2000 | stephen kay | $63.6 million | $19,412,993 | None row 22 : the in crowd | 2000 | mary lambert | $15 million | $5,217,498 | None row 23 : the pledge | 2001 | sean penn | $35 million | $29,419,291 | None row 24 : angel eyes | 2001 | luis mandoki | $53 million | $29,715,606 | None row 25 : i'll be there | 2003 | craig ferguson | None | None | None row 26 : exorcist: the beginning | 2004 | renny harlin | $80 million | $78,000,586 | None row 27 : two for the money | 2005 | d. j. caruso | $25 million | $30,526,509 | None row 28 : georgia rule | 2007 | garry marshall | $20 million | $25,992,167 | None row 29 : sydney white | 2007 | joe nussbaum | None | $13,620,075 | None row 30 : ace ventura jr: pet detective | 2009 | david mickey evans | $7.5 million | None | None row 31 : dream house | 2011 | jim sheridan | $50 million | $38,502,340 | None row 32 : the thing | 2011 | matthijs van heijningen | $38 million | $27,428,670 | None row 33 : tupac | 2014 | antoine fuqua | $45 million | None | None ] Execute this SQL based on the above table: select title where director = 'steve oedekerk'
ace ventura: when nature calls
[ header: typ | construction time | cylinders | capacity | power | top speed row 1 : vis-a-vis | 1900-1903 | 1 | 400 cc | 2,6 kw (3,5 p | 30 km/h (19 mph) row 2 : 45 ps (33 kw; | 1900-1903 | 1 | 510 cc | 3,3 kw (4,5 ps | 35 km/h (22 mph) row 3 : 24/28 ps | 1904-1905 | 4 inline | 4,016 cc | 20,6 kw (28 ps | 65 km/h (40 mph) row 4 : 8/12 (8/14) ps | 1904-1906 | 2 inline | 2,008 cc | 8,8-10,3 kw (12-14 | 50 km/h (31 mph) row 5 : 4/8 ps | 1906-1907 | 2 v | 1,032 cc | 5,9 kw (8 ps) | 55 km/h (34 mph) row 6 : 5/9 ps | 1907-1909 | 2 inline | 1,134 cc | 6,6 kw (9 ps) | 60 km/h (37 mph) row 7 : 11/18 ps | 1907-1910 | 4 inline | 2,799 cc | 13,2 kw (18 ps) | 55 km/h (34 mph) row 8 : 23/50 ps | 1909-1912 | 4 inline | 5,800 cc | 42,6 kw (58 p | None row 9 : 13/30 ps | 1909-1912 | 4 inline | 3,180 cc | 25,7 kw (35 ps | None row 10 : 10/28 ps | 1909-1912 | 4 inline | 2,612 cc | 22 kw (30 ps) | None row 11 : k 7/15 ps | 1910-1913 | 4 inline | 1,768 cc | 11 kw (15 ps) | 60 km/h (37 mph) row 12 : 30/70 ps | 1911-1914 | 4 inline | 7,853 cc | 51 kw (70 ps) | 115 km/h (71 mph) row 13 : 15/40 ps | 1913-1914 | 4 inline | 3,866 cc | 33 kw (45 ps) | 90 km/h (56 mph) row 14 : 25/55 ps | 1913-1914 | 4 inline | 6,457 cc | 44 kw (60 ps) | None row 15 : 12/30 ps | 1914 | 4 inline | 3,115 cc | 25,7 kw (35 ps | None row 16 : 9/24 (9/30) ps | 1921-1924 | 4 inline | 2,298 cc | 17,6-22 kw (24-30 | 65 km/h (40 mph)- row 17 : 18/60 ps | 1921-1924 | 4 inline | 4,712 cc | 44 kw (60 ps) | 100 km/h (62 mph) row 18 : 18/80 ps | 1925-1927 | 6 inline | 4,704 cc | 59 kw (80 ps | 100 km/h (62 mph) row 19 : standard 8 | 1928-1933 | 8 inline | 3,887 cc | 51-59 kw (70-80 | 100 km/h (62 mph)- row 20 : standard 6 3u | 1933-1934 | 6 inline | 2,916 cc | 44 kw (60 ps) | 100 km/h (62 mph) ] Execute this SQL based on the above table: select construction time where typ < 1216
1907-1910, 1909-1912, 1914
[ header: community | area | location | population | date established row 1 : beaver lake 17 | 49.4 hectares (122 acres) | 78.4 km. southeast of hal | 23 | march 3, 1867 row 2 : cole harbour 30 | 18.6 hectares (46 acres) | 9.6 km. east of halifax | 194 | march 3, 1880 row 3 : millbrook 27 | 302.0 hectares (746 acres) | 8 km. south of truro | 847 | march 3, 1886 row 4 : sheet harbour 36 | 32.7 hectares (81 acres) | 91.2 km. northeast of halifax | 15 | march 3, 1915 row 5 : truro 27a | 16.7 hectares (41 acres) | joined south of truro town limit | 0 | march 3, 1904 row 6 : truro 27b | 16.4 hectares (41 acres) | joined with 27a on south | 0 | march 3, 1907 row 7 : truro 27c | 9.5 hectares (23 acres) | joined with 27b on south | 0 | march 3, 1909 ] Execute this SQL based on the above table: select min ( population )
0.0
[ header: player | years played | total w-l | singles w-l | doubles w-l row 1 : chung hong (717) | 1 (2011) | 0-0 | 0-0 | 0-0 row 2 : jeong suk-young (79 | 2 (2010-2011) | 1-2 | 1-2 | 0-0 row 3 : kim hyun-joon ( | 2 (2010-2011) | 3-4 | 2-1 | 1-3 row 4 : lim yong-kyu (288 | 3 (2009-2011) | 7-6 | 5-6 | 2-0 row 5 : seol jae-min (none | 2 (2010-2011) | 2-2 | 0-0 | 2-2 row 6 : baek se-hyun | 1 (1965) | 0-1 | 0-1 | 0-0 row 7 : baek seung-bok | 2 (2001-2002) | 0-4 | 0-3 | 0-1 row 8 : chang eui-jong | 6 (1991-1996) | 13-11 | 8-7 | 5-4 row 9 : choi boo-kil | 4 (1974-1977) | 2-4 | 2-1 | 0-3 row 10 : chung hee-sung | 3 (2000, 2002-2003) | 2-3 | 0-1 | 2-2 row 11 : im chung-yang | 4 (1964-1967) | 2-9 | 2-5 | 0-4 row 12 : ju chang-nam | 4 (1975-1978) | 4-8 | 2-5 | 2-3 row 13 : kim bong-soo | 7 (1984-1990) | 18-9 | 13-8 | 5-1 row 14 : kim bong-suk | 5 (1977-1981) | 2-6 | 1-3 | 1-3 row 15 : kim chi-wan | 4 (1992-1995) | 6-4 | 1-1 | 5-3 row 16 : kim jae-sik | 3 (1989-1990, 1992) | 5-4 | 4-2 | 1-2 row 17 : kim sun-yong | 2 (2005, 2007) | 3-1 | 3-1 | 0-0 row 18 : lee ek-son | 1 (1968) | 0-1 | 0-1 | 0-0 row 19 : lee sang-yoon | 3 (1960, 1962-1963) | 0-8 | 0-5 | 0-3 row 20 : lee tong-won | 1 (1962) | 0-1 | 0-1 | 0-0 row 21 : lee woo-ryong | 2 (1981, 1983) | 1-3 | 0-3 | 1-0 row 22 : lee seung-hoon | 2 (2000-2001) | 0-3 | 0-3 | 0-0 row 23 : park do-sung | 1 (1963) | 0-1 | 0-0 | 0-1 row 24 : roh gap-taik | 3 (1985-1986, 1988) | 7-1 | 7-1 | 0-0 row 25 : shin han-cheol | 3 (1992-1994) | 3-7 | 2-7 | 1-0 row 26 : song hyeong-keun | 1 (1999) | 0-2 | 0-2 | 0-0 row 27 : yoon yong-il | 9 (1993, 1995-2002) | 19-14 | 16-10 | 3-4 ] Execute this SQL based on the above table: select total w-l where doubles w-l = '5-4'
13-11
[ header: week | date | opponent | result | attendance row 1 : 1 | september 15, 1968 | at green bay packers | l 30-13 | 50,861 row 2 : 2 | september 22, 1968 | new york giants | l 34-25 | 60,858 row 3 : 3 | september 29, 1968 | dallas cowboys | l 45-13 | 60,858 row 4 : 4 | october 6, 1968 | at washington redskins | l 17-14 | 50,816 row 5 : 5 | october 13, 1968 | at dallas cowboys | l 34-14 | 72,083 row 6 : 6 | october 20, 1968 | chicago bears | l 29-16 | 60,858 row 7 : 7 | october 27, 1968 | at pittsburgh steelers | l 6-3 | 26,908 row 8 : 8 | november 3, 1968 | st. louis cardinals | l 45-17 | 59,208 row 9 : 9 | november 10, 1968 | washington redskins | l 16-10 | 59,133 row 10 : 10 | november 17, 1968 | at new york giants | l 7-6 | 62,896 row 11 : 11 | november 24, 1968 | at cleveland browns | l 47-13 | 62,338 row 12 : 12 | november 28, 1968 | at detroit lions | w 12-0 | 47,909 row 13 : 13 | december 8, 1968 | new orleans saints | w 29-17 | 57,128 row 14 : 14 | december 15, 1968 | minnesota vikings | l 24-17 | 54,530 ] Execute this SQL based on the above table: select opponent group by opponent order by count ( date ) desc limit 1
washington redskins
[ header: year | fbs opponent | result | opponent's conference | opponent's head coach | charleston southern's head coach row 1 : 2015 | alabama crimson tide | None | sec | nick saban | jamey chadwell row 2 : 2014 | georgia bulldogs | None | sec | mark richt | jamey chadwell row 3 : 2014 | vanderbilt commodores | None | sec | derek mason | jamey chadwell row 4 : 2013 | colorado buffaloes | l, 43-10 | pac-12 | mike macintyre | jamey chadwell row 5 : 2012 | illinois fighting illini | l, 44-0 | big ten | tim beckman | jay mills row 6 : 2011 | ucf knights | l, 62-0 | c-usa | george o'leary | jay mills row 7 : 2011 | florida state seminoles | l, 62-10 | acc | jimbo fisher | jay mills row 8 : 2010 | kentucky wildcats | l, 49-21 | sec | joker phillips | jay mills row 9 : 2010 | hawaii warriors | l, 66-7 | wac | greg mcmackin | jay mills row 10 : 2009 | south florida bulls | l, 59-0 | big east | jim leavitt | jay mills row 11 : 2009 | florida gators | l, 62-3 | sec | urban meyer | jay mills row 12 : 2008 | miami redhawks | l, 38-27 | mac | don treadwell | jay mills row 13 : 2008 | miami hurricanes | l, 52-7 | acc | randy shannon | jay mills row 14 : 2007 | hawaii warriors | l, 66-10 | wac | june jones | jay mills row 15 : 2003 | south florida bulls | l, 55-7 | big east | jim leavitt | jay mills row 16 : 2002 | south florida bulls | l, 56-6 | big east | jim leavitt | david dowd ] Execute this SQL based on the above table: select charleston southern's head coach order by year limit 1
david dowd
[ header: call sign | frequency | city of license | licensee | format row 1 : kacl | 98.7 fm | bismarck | townsquare media bismarck license, ll | classic hits row 2 : kauj | 100.9 fm | grafton | simmons broadcasting | oldies row 3 : kbep-lp | 93.7 fm | bismarck | bismarck educational prayer association | None row 4 : kbmk | 88.3 fm | bismarck | educational media foundation | contemporary christian row 5 : kdkt | 1410 am | beulah | digital syndicate network | all sports row 6 : kdlr | 1240 am | devils lake | double z broadcasting | classic country row 7 : kdsr | 101.1 fm | williston | williston community broadcasting corp. d | adult hits row 8 : kegk | 106.9 fm | wahpeton | smahh communications ii | classic hits row 9 : keya | 88.5 fm | belcourt | keya, inc | country row 10 : keyz | 660 am | williston | ccr-williston i | news talk information row 11 : kfaa | 89.5 fm | horace | selah corporation | contemporary christian row 12 : kfgo | 790 am | fargo | midwest communications, inc | news talk information row 13 : kfnw | 1200 am | west fargo | northwestern college | religious row 14 : kjkr | 88.1 fm | jamestown | jamestown college | None row 15 : kkxl-fm | 92.9 fm | grand forks | citicasters licenses, inc | pop contemporary hit radio row 16 : kltc | 1460 am | dickinson | cc licenses, llc | classic country row 17 : kltq | 97.9 fm | beulah | synergy broadcast north dakota, | None row 18 : kmav-fm | 105.5 fm | mayville | kmsr, inc | country row 19 : kmsr | 1520 am | mayville | kmsr, inc | all sports row 20 : kmxa-fm | 99.9 fm | minot | cc licenses, llc | adult contemporary row 21 : kndc | 1490 am | hettinger | schweitzer media | country row 22 : kndk | 1080 am | langdon | kndk, inc | news talk information row 23 : knds-lp | 96.3 fm | fargo | alliance for the arts and humanities | None row 24 : knox | 1310 am | grand forks | leighton enterprises, inc | news talk information row 25 : koww-lp | 98.1 fm | burlington | pointe of view institute | None row 26 : kpfx | 107.9 fm | fargo | l&l licensee, llc | classic rock row 27 : kppr | 89.5 fm | williston | prairie public broadcasting, inc | variety row 28 : kqdj-fm | 101.1 fm | valley city | sioux valley broadcasting | pop contemporary hit radio row 29 : krrz | 1390 am | minot | aloha station trust, llc | oldies row 30 : krwk | 101.9 fm | fargo | midwest communications, inc | mainstream rock row 31 : ksjb | 600 am | jamestown | chesterman communications of jamestown, | classic country ] Execute this SQL based on the above table: select city of license where id = 17
beulah
[ header: name | gender | age | from | occupation | prize money (usd) | status row 1 : trisha | female | 28 | santa monica, ca | artist | $26,000 | winner row 2 : london | male | 46 | mt. holly, n | us coast guard (retired) | $0 | lost row 3 : adria | female | 25 | seattle, wa | bartender | $0 | 7th captured (by ricky ort row 4 : lucas | male | 32 | carlsbad, ca | student | $0 | 6th captured (by kim) row 5 : andrew | male | 21 | redondo beach, ca | student / lifeguard | $0 | 5th captured (by kim) row 6 : tracy | female | 30 | mililani, hi | student | $0 | 4th captured (by grant) row 7 : lynda | female | 59 | los angeles, ca | general contractor | $0 | 3rd captured (by icey) row 8 : darin | male | 46 | fontana, ca | sports official | $0 | 2nd captured (by wong) row 9 : evan | male | 29 | long island, ny | teacher | $2,000 | opted out row 10 : ameenah | female | 34 | atlanta, ga | drummer | $0 | 1st captured (by grant) ] Execute this SQL based on the above table: select count ( * ) where gender = 'male'
5
[ header: year | award | category | title | result row 1 : 1955 | academy award | best actor | marty | won row 2 : 1955 | bafta award | best foreign actor | marty | won row 3 : 1955 | golden globe award | best actor - motion picture drama | marty | won row 4 : 1955 | nbr award | best actor | marty | won row 5 : 1955 | nyfcc award | best actor | marty | won row 6 : 1962 | emmy award | outstanding continued performance by an actor in a series | mchale's navy | nominated row 7 : 1979 | emmy award | outstanding supporting actor in a limited series or | all quiet on the western front | nominated row 8 : 1999 | daytime emmy award | outstanding performer in an animated program | all dogs go to heaven: the series | nominated row 9 : 2007 | golden globe award | best performance by an actor in a mini- | a grandpa for christmas | nominated row 10 : 2009 | emmy award | outstanding guest actor - drama | er | nominated row 11 : 2009 | lifetime achievement award | from the rhode island international film | None | won row 12 : 2011 | screen actors guild life achievement award | from the screen actors guild | None | won ] Execute this SQL based on the above table: select category order by year desc limit 1
from the screen actors guild
[ header: round | pick | player | pos. | nationality | team | aba team | signing price row 1 : 1 | 1 | artis gilmore^ | c | united states | chicago bulls | kentucky colonels | $ 1,100,000 row 2 : 1 | 2 | maurice lucas | f/c | united states | portland trail blazers (from | kentucky colonels | $ 300,000 row 3 : 1 | 3 | ron boone | g/f | united states | kansas city kings | spirits of st. louis | $ 250,000 row 4 : 1 | 4 | marvin barnes | f/c | united states | detroit pistons | spirits of st. louis | $ 500,000 row 5 : 1 | 5 | moses malone^ | f/c | united states | portland trail blazers | spirits of st. louis | $ 350,000 row 6 : 1 | 6 | randy denton | c | united states | new york knicks | spirits of st. louis | $ 50,000 row 7 : 1 | 7 | bird averitt | g | united states | buffalo braves (from milwaukee | kentucky colonels | $ 125,000 row 8 : 1 | 8 | wil jones | f | united states | indiana pacers | kentucky colonels | $ 50,000 row 9 : 1 | 9 | ron thomas | g/f | united states | houston rockets | kentucky colonels | $ 15,000 row 10 : 1 | 10 | louie dampier | g | united states | san antonio spurs | kentucky colonels | $ 20,000 row 11 : 1 | 11 | jan van breda kolf | g/f | united states | new york nets | kentucky colonels | $ 60,000 row 12 : 2 | 12 | mike barr | g | united states | kansas city kings | spirits of st. louis | $ 15,000 ] Execute this SQL based on the above table: select count ( player ) where round = 0
0
[ 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 count ( * ) where opponent = 'chicago black hawks'
1
[ header: party | active voters | inactive voters | total voters | percentage row 1 : republican | 13916 | 5342 | 19258 | 25.61% row 2 : democratic | 21493 | 7115 | 28608 | 38.05% row 3 : unaffiliated | 20118 | 7062 | 27180 | 36.15% row 4 : minor parties | 100 | 40 | 140 | 0.19% row 5 : total | 55627 | 19559 | 75186 | 100% ] Execute this SQL based on the above table: select party where percentage = '36.15%' order by party desc limit 1
unaffiliated
[ header: name | population (2002 census) | population (2007 estimation) | population (2011 census) | area (km2) | density (pop/km2) row 1 : brasov | 283901 | 277945 | 253200 | 267.32 | 1204 row 2 : codlea | 24256 | 24550 | 21708 | 132.79 | 182 row 3 : sacele | 30044 | 31796 | 30798 | 320 | 93 row 4 : ghimbav | 5100 | 5357 | 4698 | 28.08 | 181.62 row 5 : predeal | 5625 | 5174 | 4755 | 58.4 | 96.14 row 6 : rasnov | 15436 | 16055 | 15022 | 164.36 | 94 row 7 : cristian | 3952 | 4300 | 4490 | 27.73 | 142.51 row 8 : sanpetru | 3401 | 3759 | 4819 | 30.74 | 110.63 row 9 : halchiu | 4072 | 4560 | 4218 | 56.67 | 71.85 row 10 : tarlungeni | 7413 | 7996 | 8320 | 135.66 | 54.65 row 11 : prejmer | 8323 | 8876 | 8472 | 60.48 | 137.61 row 12 : harman | 4437 | 4775 | 5402 | 52.79 | 84.05 row 13 : bod | 3942 | 4173 | 3994 | 33.56 | 117.46 row 14 : total | 399902 | 399316 | 369896 | 1368.58 | 270 ] Execute this SQL based on the above table: select sum ( area (km2) ) where name in ( 'halchiu' , 'harman' )
109.46000000000001
[ header: school name | city | grades | establishment | charter row 1 : aliamanu intermediate school | honolulu | 7-8 | 1958 | None row 2 : anuenue school | honolulu | k-12 | 1958 | charter row 3 : central middle school | honolulu | 6-8 | 1926 | None row 4 : dole middle school | honolulu | 6-8 | 1955 | None row 5 : halau ku mana nc | honolulu | 6-12 | 2000 | charter row 6 : jarrett middle school | honolulu | 6-8 | 1955 | None row 7 : kaimuki middle school | honolulu | 6-8 | 1939 | None row 8 : kalakaua middle school | honolulu | 6-8 | 1928 | None row 9 : kawananakoa middle school | honolulu | 6-8 | 1927 | None row 10 : moanalua middle school | honolulu | 7-8 | 1967 | None row 11 : niu valley middle school | honolulu | 6-8 | 1955 | None row 12 : stevenson middle school | honolulu | 6-8 | 1937 | None row 13 : washington middle school | honolulu | 6-8 | 1854 | None ] Execute this SQL based on the above table: select city where city in ( 'honolulu' , 'honolulu' ) order by establishment limit 1
honolulu
[ header: week | date | tv time | opponent | result | game site | record | attendance | bye row 1 : 1 | september 7, 1998 | abc 7:00 pm mt | new england patriots | w 27-21 | mile high stadium (abc) | 1-0 | 74745 | 0 row 2 : 2 | september 13, 1998 | fox 2:00 pm mt | dallas cowboys | w 42-23 | mile high stadium (fox) | 2-0 | 75013 | 0 row 3 : 3 | september 20, 1998 | cbs 2:00 pm mt | at oakland raiders | w 34-17 | oakland-alameda county | 3-0 | 56578 | 0 row 4 : 4 | september 27, 1998 | cbs 11:00 am mt | at washington redskins | w 38-16 | fedex field (cbs) | 4-0 | 71880 | 0 row 5 : 5 | october 4, 1998 | fox 2:00 pm mt | philadelphia eagles | w 41-16 | mile high stadium (fox) | 5-0 | 73218 | 0 row 6 : 6 | october 11, 1998 | cbs 2:00 pm mt | at seattle seahawks | w 21-16 | kingdome (cbs) | 6-0 | 66258 | 0 row 7 : 7 | None | None | None | None | None | None | None | 1 row 8 : 8 | october 25, 1998 | cbs 2:00 pm mt | jacksonville jaguars | w 37-24 | mile high stadium (cbs) | 7-0 | 75217 | 0 row 9 : 9 | november 1, 1998 | cbs 11:00 am mt | at cincinnati bengals | w 33-26 | cinergy field (cbs) | 8-0 | 59974 | 0 row 10 : 10 | november 8, 1998 | cbs 2:00 pm mt | san diego chargers | w 27-10 | mile high stadium (cbs) | 9-0 | 74925 | 0 row 11 : 11 | november 16, 1998 | abc 7:00 pm mt | at kansas city chiefs | w 30-7 | arrowhead stadium (abc) | 10-0 | 78100 | 0 row 12 : 12 | november 22, 1998 | cbs 2:00 pm mt | oakland raiders | w 40-14 | mile high stadium (cbs) | 11-0 | 75325 | 0 row 13 : 13 | november 29, 1998 | espn 6:15 pm mt | at san diego chargers | w 31-16 | qualcomm stadium (espn | 12-0 | 66532 | 0 row 14 : 14 | december 6, 1998 | cbs 2:00 pm mt | kansas city chiefs | w 35-31 | mile high stadium (cbs) | 13-0 | 74962 | 0 row 15 : 15 | december 13, 1998 | cbs 11:00 am mt | at new york giants | l 16-20 | giants stadium (cbs) | 13-1 | 72336 | 0 row 16 : 16 | december 21, 1998 | abc 7:00 pm mt | at miami dolphins | l 21-31 | pro player stadium (abc) | 13-2 | 74363 | 0 row 17 : 17 | december 27, 1998 | cbs 2:15 pm mt | seattle seahawks | w 28-21 | mile high stadium (cbs) | 14-2 | 74057 | 0 ] Execute this SQL based on the above table: select opponent order by attendance desc limit 1
at kansas city chiefs
[ header: species | common name | ncbi accession # | ncbi name | length | sequence identity | sequence similarity | years since divergence from human (mya) row 1 : pan troglodytes | chimpanzee | xp_003317262 | depdc5 | 1572 aa | 99% | 99% | 6.4 row 2 : nomascus leucogenys | gibbon | xp_003258163 | depdc5 | 1602 aa | 99% | 99% | 20.4 row 3 : mus musculus | mouse | np_001164038 | depdc5 | 1591 aa | 94% | 96% | 92.4 row 4 : bos taurus | cow | xp_002694678 | depdc5 | 1593 aa | 94% | 96% | 94.4 row 5 : sorex araneus | shrew | ace77702 | depdc5 | 1570 aa | 94% | 96% | 94.4 row 6 : monodelphis domestica | possum | xp_001378772 | depdc5 | 1522 aa | 89% | 93% | 163.9 row 7 : gallus gallus | chicken | xp_415249 | depdc5 | 1592 aa | 88% | 93% | 301.7 row 8 : meleagris gallopavo | turkey | xp_003211073 | depdc5 | 1592 aa | 88% | 93% | 301.7 row 9 : taeniopygi | zebra finch | xp_002199825 | depdc5 | 1572 aa | 87% | 92% | 301.7 row 10 : xenopus tropicalis | frog | xp_002931964 | depdc5-like | 1574 aa | 79% | 86% | 371.2 row 11 : danio rerio | zebra fish | xp_691450 | depdc5-like | 1590 aa | 75% | 84% | 400.1 row 12 : oreochromis niloticus | cichlid | xp_003459226 | depdc5 | 1577 aa | 74% | 82% | 400.1 row 13 : strongylocentrotus purpuratus | sea urchin | xp_794020 | similar to depdc5 | 1608 aa | 43% | 57% | 742.9 row 14 : drosophila melanogaster | drosophila | np_647618 | gc12090 | 1471 aa | 41% | 57% | 782.7 row 15 : pediculus humanus corporis | louse | xp_002429401 | depdc, putative | 1538 aa | 38% | 53% | 782.7 row 16 : anopheles gambiae | mosquito | xp_308760 | agap007010-pa | 1640 aa | 36% | 51% | 782.7 row 17 : ascaris suum | ascaris | ady40551 | depdcp5 | 1359 aa | 31% | 51% | 937.5 row 18 : ustilago maydis | corn smut | xp_757759 | vacuolar-associated protein iml1 | 1867 aa | 23% | 52% | 1215.8 row 19 : saccharomyces cerevisiae | yeast | np_012672 | iml1p | 1584 aa | 20% | 50% | 1215.8 row 20 : albugo laibachii | white rust | cca27519 | vacuolar membrane-associated protein putative | 1591 aa | 20% | 46% | 1362 ] Execute this SQL based on the above table: select count ( * ) where ncbi name = 392
0
[ header: player | rec. | yards | avg. | td's | long row 1 : charles frederick | 115 | 1385 | 12 | 27 | 42 row 2 : jerel myers | 104 | 1183 | 11.4 | 21 | 38 row 3 : anthony hines | 58 | 822 | 14.2 | 12 | 39 row 4 : boo williams | 45 | 474 | 10.5 | 17 | 35 row 5 : ira gooch | 24 | 339 | 14.1 | 6 | 32 row 6 : sam simmons | 15 | 197 | 13.1 | 2 | 30 row 7 : kevin beard | 10 | 87 | 8.7 | 0 | 21 row 8 : dawan moss | 7 | 39 | 5.6 | 1 | 12 row 9 : cyron brown | 3 | 17 | 5.7 | 1 | 8 row 10 : larrell johnson | 3 | 14 | 4.7 | 0 | 6 row 11 : jamarr wood | 1 | 13 | 13 | 0 | 13 row 12 : cecil moore | 2 | 9 | 4.5 | 2 | 8 row 13 : raymond philyaw | 1 | -6 | -6 | 0 | -6 ] Execute this SQL based on the above table: select player where td's = ( select min ( td's ) )
kevin beard, larrell johnson, jamarr wood, raymond philyaw
[ header: name | dates | grt | propulsion | port | notes row 1 : arataki i | 1948-84 | 74 | 320 bhp diesel, 10 knot | None | us navy harbour tug row 2 : arataki ii | 1984-99 | 143 | 1100 bhp diesel, 12 knot | timaru | harbour tug row 3 : hipi | 1942-56 | 39 | 100 bhp diesel, 8 knots | auckland | towing lighters row 4 : kahanui | 1942-45 | 207 | 800 ihp sr t | wanganui | harbour tug row 5 : manawanui i | 1948-52 | 74 | 329 bhp diesel, 10 knot | auckland | us navy harbour tug row 6 : meola | 1961- | 19 | 76 bhp diesel, 9 knot | auckland | work boat row 7 : toia | 1926-49 | 423 | 1250 ihp sr | wellington | world war i saint class naval tug, ] Execute this SQL based on the above table: select notes order by notes limit 689
harbour tug, harbour tug, towing lighters, us navy harbour tug, us navy harbour tug, work boat, world war i saint class naval tug, a notable salvage tug
[ header: name | 1989 | 1990 | 1991 | 1992 | 1993 | 1994 | 1995 | 1996 | 1997 | 1998 | 1999 | 2000 | 2001 | 2002 | 2003 | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 | 2010 | career sr | career win-loss row 1 : australian open | a | a | 1r | a | 2r | 3r | 2r | 1r | a | 3r | 4r | 1r | 2r | 1r | 3r | 2r | 1r | qf | 3r | 2r | 3r | 1r | 0 / 18 | 22-18 row 2 : wimbledon | a | 1r | a | a | a | a | 1r | a | 1r | a | 2r | 2r | 3r | 2r | 2r | 2r | 2r | 2r | 2r | 1r | 2r | a | 0 / 14 | 11-14 row 3 : us open | a | 3r | 1r | 2r | 1r | a | 1r | a | 1r | 3r | 3r | 1r | 2r | 1r | 2r | 3r | 2r | 1r | 2r | 1r | 1r | a | 0 / 18 | 13-18 row 4 : grand slam win-loss | 0-1 | 3-3 | 3-3 | 1-2 | 1-3 | 4-2 | 1-4 | 0-1 | 0-3 | 6-3 | 6-4 | 2-4 | 7-4 | 2-4 | 5-4 | 6-4 | 2-4 | 5-4 | 4-4 | 2-4 | 3-4 | 0-1 | None | 63-70 row 5 : indian wells | nme | a | 3r | 1r | qf | 3r | 2r | a | a | 1r | a | 3r | 2r | 3r | 1r | 1r | 4r | 1r | a | a | a | a | 0 / 13 | 16-13 row 6 : miami | nme | 2r | 2r | 1r | 3r | a | a | a | a | 4r | 3r | 2r | 4r | 2r | a | 1r | a | 2r | 3r | 3r | 2r | a | 0 / 14 | 15-14 row 7 : monte carlo | nme | 1r | 2r | 2r | 1r | a | 3r | 3r | sf | qf | a | 2r | 1r | 1r | 1r | 3r | 2r | 1r | a | 1r | a | a | 0 / 16 | 17-16 row 8 : rome | nme | a | qf | 3r | 3r | a | 3r | a | 2r | 1r | 3r | 3r | 2r | 1r | 1r | a | 2r | 3r | a | 1r | a | a | 0 / 14 | 18-14 row 9 : hamburg | nme | 2r | a | a | a | a | 1r | a | a | qf | 2r | 1r | qf | 1r | 1r | a | 1r | 1r | a | a | nme | nme | 0 / 10 | 8-10 row 10 : canada | nme | a | a | a | a | a | a | a | qf | 2r | qf | 1r | sf | qf | 1r | qf | 1r | 1r | a | a | a | a | 0 / 10 | 17-10 ] Execute this SQL based on the above table: select count ( * ) where 1992 = '2r'
2
[ header: pick # | player | position | nationality | nhl team | college/junior/club team row 1 : 123 | paul ames | defence | united states | pittsburgh penguins | billerica high school (ushs-m row 2 : 124 | joe reekie | defence | canada | hartford whalers | north bay centennials (ohl row 3 : 125 | greg evtushevski | right wing | canada | new jersey devils | kamloops blazers (w row 4 : 126 | bob pierson | left wing | canada | detroit red wings | london knights (ohl row 5 : 127 | tim burgess | defence | canada | los angeles kings | oshawa generals (ohl row 6 : 128 | cam plante | defence | canada | toronto maple leafs | brandon wheat kings (whl row 7 : 129 | iain duncan | left wing | canada | winnipeg jets | north york rangers (ojhl row 8 : 130 | terry maki | left wing | canada | vancouver canucks | brantford alexanders (oh row 9 : 131 | jeff hogg | goaltender | canada | calgary flames | oshawa generals (ohl row 10 : 132 | craig mack | defence | united states | quebec nordiques | east grand forks high school (ushs row 11 : 133 | steve orth | centre | united states | new york rangers | st. cloud state university (wcha row 12 : 134 | christian ruutt | centre | finland | buffalo sabres | pori (finland) row 13 : 135 | dwaine hutton | centre | canada | washington capitals | kelowna wings (whl) row 14 : 136 | sean toomey | left wing | united states | minnesota north stars | cretin-derham hall high school ( row 15 : 137 | jim sprenger | defence | united states | new york islanders | cloquet high school (ushs- row 16 : 138 | vladislav tretiak | goaltender | soviet union | montreal canadiens | moscow cska (ussr row 17 : 139 | scott birnie | rignt wing | canada | chicago black hawks | cornwall royals (ohl) row 18 : 140 | dale derkatch | centre | canada | edmonton oilers | regina pats (whl) row 19 : 141 | bob mormina | right wing | canada | philadelphia flyers | longueuil chevaliers (qmjh row 20 : 142 | ian armstrong | defence | canada | boston bruins | peterborough petes (ohl) ] Execute this SQL based on the above table: select position order by pick # - pick # desc limit 1
defence
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | france | 28 | 28 | 24 | 80 row 2 : 2 | romania | 16 | 3 | 5 | 24 row 3 : 3 | canada | 14 | 10 | 15 | 39 row 4 : 4 | quebec | 8 | 4 | 16 | 28 row 5 : 5 | morocco | 6 | 11 | 7 | 24 row 6 : 6 | tunisia | 4 | 7 | 1 | 12 row 7 : 7 | egypt | 2 | 5 | 4 | 11 row 8 : 8 | switzerland | 2 | 1 | 5 | 8 row 9 : 9 | senegal | 2 | 1 | 3 | 6 row 10 : 10 | french community of belgium | 1 | 3 | 6 | 10 row 11 : 11 | madagascar | 1 | 2 | 3 | 6 row 12 : 12 | burkina faso | 1 | None | 2 | 3 row 13 : 13 | togo | 1 | None | 1 | 2 row 14 : 14 | guinea | 1 | None | None | 1 row 15 : 15 | lebanon | 1 | None | None | 1 row 16 : 16 | ivory coast | None | 3 | 3 | 6 row 17 : 17 | republic of the congo | None | 3 | 2 | 5 row 18 : 18 | new brunswick | None | 1 | 2 | 3 row 19 : 19 | central african republic | None | 1 | None | 1 row 20 : 20 | dominica | None | 1 | None | 1 row 21 : 21 | gabon | None | 1 | None | 1 row 22 : 22 | mali | None | 1 | None | 1 row 23 : 23 | cambodia | None | None | 2 | 2 row 24 : 24 | luxembourg | None | None | 2 | 2 row 25 : 25 | mauritius | None | None | 2 | 2 row 26 : 26 | burundi | None | None | 1 | 1 row 27 : 27 | djibouti | None | None | 1 | 1 row 28 : 28 | vietnam | None | None | 1 | 1 ] Execute this SQL based on the above table: select count ( nation ) where nation = 'canada'
1
[ header: year | division | league | regular season | playoffs | open cup row 1 : 2006 | 4 | usl pdl | 4th, heartland | did not qualify | did not qualify row 2 : 2007 | 4 | usl pdl | 2nd, heartland | conference semifinals | did not qualify row 3 : 2008 | 4 | usl pdl | 4th, heartland | did not qualify | 1st round row 4 : 2009 | 4 | usl pdl | 4th, heartland | did not qualify | did not qualify row 5 : 2010 | 4 | usl pdl | 5th, heartland | did not qualify | did not qualify row 6 : 2011 | 4 | usl pdl | 5th, heartland | did not qualify | did not qualify row 7 : 2012 | 4 | usl pdl | 7th, heartland | did not qualify | did not qualify row 8 : 2013 | 4 | usl pdl | 5th, heartland | did not qualify | did not qualify ] Execute this SQL based on the above table: select count ( * ) where playoffs = 1
0
[ header: districts | ubigeo | area (km2) | population | population density (/km2) | created | postal code row 1 : ancon | 150102 | 299.22 | 29419 | 98.3 | 29 october 1874 | 2 row 2 : ate | 150103 | 77.72 | 419663 | 5399.7 | 2 january 1857 | 3 row 3 : barranco | 150104 | 3.33 | 45922 | 13790.4 | 26 october 1874 | 4 row 4 : carabayllo | 150106 | 346.88 | 188764 | 544.2 | 4 august 1821 | 6 row 5 : cieneguilla | 150109 | 240.33 | 15784 | 65.7 | 3 march 1970 | 40 row 6 : comas | 150110 | 48.75 | 464745 | 9533.2 | 12 december 1961 | 7 row 7 : el agustino | 150111 | 12.54 | 165425 | 13191.8 | 6 january 1965 | 10 row 8 : lima | 150101 | 21.88 | 278804 | 13187.2 | 2 january 1857 | 1 row 9 : magdalena del mar | 150120 | 3.61 | 48445 | 13419.7 | 10 may 1920 | 17 row 10 : miraflores | 150122 | 9.62 | 92815 | 9648.1 | 2 january 1857 | 18 row 11 : pachacamac | 150123 | 160.23 | 54763 | 341.8 | 2 january 1857 | 19 row 12 : pucusana | 150124 | 37.83 | 9231 | 244 | 22 january 1943 | 20 row 13 : pueblo libre | 150121 | 4.38 | 71892 | 16413.7 | 2 january 1857 | 21 row 14 : rimac | 150128 | 11.87 | 175793 | 14809.9 | 16 august 1921 | 25 row 15 : san bartolo | 150129 | 45.01 | 5733 | 127.4 | 5 may 1946 | 26 row 16 : san isidro | 150131 | 11.1 | 55309 | 6165.6 | 24 april 1931 | 27 row 17 : san juan de miraflore | 150133 | 23.98 | 335237 | 13979.9 | 12 january 1965 | 29 row 18 : san luis | 150134 | 3.49 | 46258 | 13254.4 | 30 may 1968 | 30 row 19 : san martin de porres | 150135 | 36.91 | 525155 | 14228 | 22 may 1950 | 31 row 20 : san miguel | 150136 | 10.72 | 124904 | 11651.5 | 10 may 1920 | 32 row 21 : santa maria del mar district | 150138 | 9.81 | 88 | 9 | 16 january 1962 | 37 row 22 : santa rosa | 150139 | 21.5 | 9379 | 436.2 | 7 february 1962 | 38 row 23 : santiago de surco | 150140 | 34.75 | 272690 | 7847.2 | 16 december 1929 | 33 row 24 : surquillo | 150141 | 3.46 | 84202 | 24335.8 | 15 july 1949 | 34 ] Execute this SQL based on the above table: select created where districts = 'lima'
2 january 1857
[ header: no. | name | class | games | minutes | points | 2 points (made/attempts) | 2 points (%) | 3 points (made/attempts) | 3 points (%) | free throws (made/attempts) | free throws (%) | rebounds offensive | rebounds defensive | rebounds total | assists | turnovers | steals | blocked shots | personal fouls | fouls drawn row 1 : 4 | sarah vinci | 1 | 7 | 125 | 8 | 4/9 | 44 | None | None | None | None | 2 | 6 | 8 | 1 | 2 | 2 | 1 | 4 | 1 row 2 : 5 | cobi crispin | 4 | 7 | 180 | 72 | 33/77 | 43 | None | None | 6/14 | 43 | 13 | 34 | 47 | 11 | 13 | 4 | 1 | 18 | 17 row 3 : 6 | bridie kean | 4 | 7 | 109 | 16 | 7/26 | 27 | 0/1 | 0 | 2/8 | 25 | 5 | 27 | 32 | 6 | 4 | 6 | None | 8 | 8 row 4 : 7 | amanda carter | 1 | 3 | 38 | 7 | 3/5 | 60 | None | None | 1/1 | 100 | 4 | None | 4 | None | 1 | 1 | None | 1 | 1 row 5 : 8 | tina mckenzie | 3 | 2 | 18 | None | 0/2 | 0 | None | None | None | None | None | 4 | 4 | 2 | 1 | None | None | 2 | None row 6 : 9 | leanne del toso | 3.5 | 3 | 24 | 4 | 2/7 | 29 | None | None | None | None | 2 | 7 | 9 | 2 | 3 | None | None | 2 | 1 row 7 : 10 | clare nott | 1 | 7 | 212 | 37 | 18/32 | 56 | 0/1 | 0 | 1/7 | 14 | 6 | 14 | 20 | 7 | 7 | 4 | 3 | 10 | 4 row 8 : 11 | kylie gauci | 2 | 7 | 186 | 54 | 24/68 | 35 | 2/6 | 33 | 0/2 | 0 | 4 | 11 | 15 | 28 | 14 | 5 | None | 9 | 12 row 9 : 12 | shelley chaplin | 3.5 | 7 | 166 | 26 | 13/48 | 27 | 0/1 | 0 | 0/7 | 0 | 5 | 15 | 20 | 28 | 10 | 4 | None | 12 | 13 row 10 : 13 | sarah stewart | 3 | 7 | 83 | 25 | 12/27 | 44 | None | None | 1/5 | 20 | 4 | 12 | 16 | 12 | 2 | 2 | None | 7 | 6 row 11 : 14 | katie hill | 3 | 7 | 107 | 25 | 12/30 | 40 | None | None | 1/1 | 100 | 1 | 7 | 8 | 6 | 4 | 2 | None | 4 | 4 row 12 : 15 | amber merritt | 4.5 | 7 | 153 | 83 | 40/77 | 52 | 0/1 | 0 | 3/12 | 25 | 11 | 30 | 41 | 6 | 8 | 5 | 2 | 16 | 16 row 13 : None | team | None | None | None | None | None | None | None | None | None | None | 7 | 12 | 19 | None | None | None | None | None | None row 14 : None | team totals | None | None | None | 357 | 168/408 | 41 | 2/10 | 20 | 15/57 | 26 | 64 | 179 | 243 | 109 | 84 | 35 | 7 | 93 | 83 ] Execute this SQL based on the above table: select count ( name )
14
[ header: name | nationality | position | spartak career | appearances | goals row 1 : denis boyarintsev | russia | mf | 2005-07, 2009 | 91 | 9 row 2 : aleksandr bubnov | soviet union | df | 1983-89 | 169 | 3 row 3 : vladimir bukiye | soviet union | df | 1972-79, 1982 | 199 | 6 row 4 : fyodor cherenkov | russia | mf | 1977-90, 1991, 1993 | 398 | 95 row 5 : vadim evseev | russia | df | 1993-98, 1999 | 62 | 3 row 6 : edgar gess | soviet union | mf | 1979-83 | 114 | 26 row 7 : georgi glazkov | soviet union | fw | 1936-41, 1946-47 | 106 | 48 row 8 : nikolai gulyay | soviet union | mf | 1937-46 | 76 | 7 row 9 : anatoli ilyin | soviet union | fw | 1949-62 | 228 | 84 row 10 : anatoli isayev | soviet union | fw | 1953-62 | 159 | 53 row 11 : andrei ivanov | russia | df | 1983-85, 1988-89, 1990- | 109 | 0 row 12 : vadim ivanov | soviet union | df | 1969-71 | 75 | 2 row 13 : aleksandr kalashnikov | soviet union | fw | 1978-82 | 67 | 16 row 14 : maksym kalynych | ukraine | mf | 2000-08 | 134 | 22 row 15 : pavel kornilov | soviet union | fw | 1938-41 | 65 | 38 row 16 : dmitri kudryas | russia | mf | 2002 | 22 | 5 row 17 : boris kuznetsov | soviet union | df | 1985-88, 1989-90 | 90 | 0 row 18 : valeri masalitin | russia | fw | 1994-95 | 7 | 5 row 19 : anatoli maslyonkin | soviet union | df | 1954-63 | 216 | 8 row 20 : alexander mirzoyan | soviet union | df | 1979-83 | 80 | 9 row 21 : igor mitreski | macedonia | df | 2001-04 | 85 | 0 row 22 : yuriy nikiforov | russia | df | 1993-96 | 85 | 16 row 23 : sergei novikov | soviet union | mf | 1978-80, 1985-89 | 70 | 12 row 24 : sergei olshansky | soviet union | df | 1969-75 | 138 | 7 row 25 : viktor onopko | russia | df | 1992-95 | 108 | 23 row 26 : viktor papayev | soviet union | mf | 1968-73, 1975-76 | 174 | 10 row 27 : vadim pavlenko | soviet union | fw | 1977-78 | 47 | 16 row 28 : aleksandr piskaryov | soviet union | fw | 1971-75 | 117 | 33 row 29 : stipe pletikosa | croatia | gk | 2007-present | 63 | 0 row 30 : boris pozdnyakov | soviet union | df | 1978-84, 1989-91 | 145 | 3 row 31 : luis robson | brazil | fw | 1997-2001 | 102 | 32 ] Execute this SQL based on the above table: select count ( name )
31
[ header: # | title | tpb isbn | tpb release date | tpb page number | collected material row 1 : 1 | the name of the game | isbn 91-33-30546-3 | june, 2007 | 152 | the boys #1-6 row 2 : 2 | get some | isbn 1-933305-68-1 | march, 2008 | 192 | the boys #7-14 row 3 : 3 | good for the soul | isbn 1-933305-92-4 | october, 2008 | 192 | the boys #15-22 row 4 : 4 | we gotta go now | isbn 1-84856-298-5 | july, 2009 | 192 | the boys #23-30 row 5 : 5 | herogasm | isbn 1-60690-082-x | november, 2009 | 144 | herogasm #1-6 row 6 : 6 | the self-preservation society | isbn 1-60690-125-7 | march, 2010 | 192 | the boys #31-38 row 7 : 7 | the innocents | isbn 1-60690-150-8 | december, 2010 | 216 | the boys #39-47 row 8 : 8 | highland laddie | isbn 1-60690-207-5 | april, 2011 | 144 | highland laddie #1-6 row 9 : 9 | the big ride | isbn 1-60690-220-2 | november 9, 2011 | 276 | the boys #48-59 row 10 : 10 | butcher, baker, candlestickmaker | isbn 1-60690-264-4 | march 6, 2012 | 144 | butcher, baker, candlestickmaker #1 row 11 : 11 | over the hill with the sword of a thousand | isbn 1-60690-341-1 | june/july, 2012 | 152 | the boys #60-65 row 12 : 12 | the bloody doors off | isbn 1-60690-373- | december, 2012 | 170 | the boys #66-72 ] Execute this SQL based on the above table: select title where id = 1
the name of the game
[ header: rank | bib | name | nationality | start | penalties (p+p+s+s) | time | deficit row 1 : None | 1 | emil hegle sven | norway | 0:00 | 1 (0+0+0+1) | 32:35.5 | None row 2 : 7 | 8 | fredrik lindstrom | sweden | 0:38 | 1 (0+0+1+0) | 33:18.9 | 43.4 row 3 : 8 | 6 | alexis bœuf | france | 0:25 | 2 (0+0+2+0) | 33:22.1 | 46.6 row 4 : 9 | 13 | bjorn ferry | sweden | 0:52 | 0 (0+0+0+0) | 33:23.6 | 48.1 row 5 : 12 | 10 | simon eder | austria | 0:39 | 3 (0+0+2+1) | 33:50.5 | +1:15.0 row 6 : 13 | 32 | lowell bailey | united states | 1:38 | 0 (0+0+0+0) | 33:56.4 | +1:20.9 row 7 : 14 | 12 | erik lesser | germany | 0:49 | 4 (1+0+2+1) | 34:06.0 | +1:30.5 row 8 : 16 | 9 | evgeny ustyugov | russia | 0:38 | 3 (0+1+2+0) | 34:16.7 | +1:41.2 row 9 : 17 | 18 | tarjei bø | norway | 1:14 | 3 (2+0+1+0) | 34:18.9 | +1:43.4 row 10 : 18 | 29 | simon schempp | germany | 1:36 | 1 (0+0+0+1) | 34:24.4 | +1:48.9 row 11 : 24 | 21 | klemen bauer | slovenia | 1:16 | 4 (1+0+3+0) | 34:55.4 | +2:19.9 row 12 : 25 | 26 | christian de lorenzi | italy | 1:30 | 1 (0+0+0+1) | 34:57.5 | +2:22.0 row 13 : 26 | 20 | jean-guillaume beatr | france | 1:15 | 4 (0+1+2+1) | 34:58.4 | +2:22.9 row 14 : 27 | 33 | daniel mesotit | austria | 1:39 | 3 (0+0+2+1) | 34:58.7 | +2:23.2 row 15 : 29 | 30 | matej kazar | slovakia | 1:36 | 5 (2+1+1+1) | 35:04.9 | +2:29.4 row 16 : 30 | 17 | andriy deryzemlya | ukraine | 1:13 | 4 (0+0+2+2) | 35:05.3 | +2:29.8 row 17 : 33 | 58 | dominik windisch | italy | 2:31 | 2 (0+0+1+1) | 35:36.4 | +3:00.9 row 18 : 35 | 25 | benjamin weger | switzerland | 1:28 | 3 (0+1+1+1) | 36:13.1 | +3:37.6 row 19 : 38 | 22 | tomas kaukenas | lithuania | 1:20 | 4 (0+0+2+2) | 36:33.4 | +3:57.9 row 20 : 42 | 27 | jaroslav soukup | czech republic | 1:32 | 6 (2+2+2+0) | 36:59.8 | +4:24.3 row 21 : 44 | 56 | hidenori isa | japan | 2:27 | 2 (0+0+0+2) | 37:13.9 | +4:38.4 row 22 : 51 | 48 | claudio bockli | switzerland | 2:13 | 3 (2+0+0+1) | 38:02.8 | +5:27.3 ] Execute this SQL based on the above table: select name where name in ( 'daniel mesotitsch' , 'jaroslav soukup' ) order by name desc limit 1
jaroslav soukup
[ header: rank | name | height | floors | year | notes row 1 : 1 | zions bank building zions bank building | 323 ft (98 m) | 20 | 2013 | tallest building in state since 2013 row 2 : 2 | boise airport air traffic control tower | 295 ft (90 m) | None | 2009 | tallest atc tower in the northwest row 3 : 3 | us bank plaza us bank building in downtown bois | 267 ft (81 m) | 19 | 1978 | tallest building in state from 1978 to 2013. " row 4 : 3 | one capital center one capital center in downtown boise | 206 ft (63 m) | 14 | 1975 | tallest building in boise from 1975 to 1978 row 5 : 4 | idaho state capitol i | 198 ft (60 m) | 4 | 1920 | tallest building in boise from 1920 to 1975 row 6 : 5 | the grove hotel grove hotel in downtown bois | 196 ft (60 m) | 16 | 2000 | None row 7 : 6 | the aspen aspen loft building in downtown bois | 194 ft (59 m) | 17 | 2009 | None row 8 : 7 | wells fargo building wells fargo building | 182 ft (55 m) | 11 | 1988 | first interstate until 1996 row 9 : 8 | banner bank building banner bank building in downtown boise | 181 ft (55 m) | 11 | 2006 | None row 10 : 9 | key tower key bank building in downtown boise, | 174 ft (53 m) | 13 | 1963 | bank of idaho until 1981 row 11 : 10 | bronco stadium bronco stadium in bois | 170 ft (52 m) | None | 1970 | None row 12 : 11 | hoff building hoff building in downtown boise | 165 ft (50 m) | 14 | 1930 | None row 13 : 12 | chase tower plaza chase building in downtown boise | 160 ft (49 m) | 11 | 1995 | washington mutual until 2009 row 14 : 13 | idaho power building i | 160 ft (49 m) | 9 | 1990 | None ] Execute this SQL based on the above table: select count ( name ) where notes = 'tallest building in state from 1978 to 2013. "idaho first plaza" until 1989'
0
[ header: year | 1st venue | 2nd venue | 3rd venue | 4th venue | 5th venue | 6th venue row 1 : 2007 | sheffield | mexico city | nanjing | None | None | None row 2 : 2008 | tijuana | sheffield | nanjing | None | None | None row 3 : 2009 | doha | changzhou | sheffield | tijuana | None | None row 4 : 2010 | qingdao | veracruz | veracruz | None | None | None row 5 : 2011 | moscow | beijing | sheffield | guanajuato | None | None row 6 : 2012 | dubai | beijing | moscow | tijuana | None | None row 7 : 2013 | beijing | dubai | edinburgh | moscow | guadalajara | guadalajara row 8 : 2014 | beijing | dubai | london | moscow | windsor | monterrey ] Execute this SQL based on the above table: select 3rd venue where id = ( select id where 3rd venue = 'moscow' ) - 1
sheffield
[ header: team 1 | agg. | team 2 | 1st leg | 2nd leg row 1 : uniao da madeira | 2-5 | maritimo | 2-3 | 0-2 row 2 : penafiel | 2-1 | academica | 1-1 | 1-0 row 3 : santa clara | 3-2 | uniao de leiria | 3-1 | 0-1 row 4 : naval | 3-4 | vitoria de setubal | 1-2 | 2-2 row 5 : moreirense | 4-3 | beira-mar | 2-2 | 2-1 row 6 : portimonense | 2-2(5-4p) | feirense | 1-0 | 1-2 row 7 : estoril | 4-3 | olhanense | 4-3 | 0-0 row 8 : belenenses | 2-3 | gil vicente | 2-1 | 0-2 ] Execute this SQL based on the above table: select count ( 1st leg ) where agg. = '2-2(5-4p)'
1
[ header: victim(s) | age | gender | date | type of attack | location | details | source(s) row 1 : daughter of a frontiersman named "bak | 18 | ♀ | summer, 1881 | defending cows | northwestern colorado, usa | encountered a wolf resting on a | george bird grinnell row 2 : david tobuk | toddler | ♂ | 1900 | predatory | koyukuk river, ala | in the 1920s, tobuk was | None row 3 : zacarias hugo | 14 | ♂ | 1943 | possibly rabid | etivluk river, alaska | while hunting caribou, zacaria | None row 4 : pipeline workers | None | ♂ | 1971-1979 | None | along the right-of-way for the trans | there were ten "bites and charges", | None row 5 : david lawrence | 7 | ♂ | 1976, summer | prey-testing agonistic charge | salcha river, alaska, usa | while his father, roy lawrence, | None ] Execute this SQL based on the above table: select count ( * ) where victim(s) = 'daughter of a frontiersman named "baker"'
1
[ header: name | builder | type | date | works number | notes row 1 : None | w.g. bagnall | 0-4-0t | late 1880s | 1050 | small inverted saddle tank locomotive; sold by 18 row 2 : None | w.g. bagnall | 0-4-0t | 1892 | 1232 | larger version of the first bagnall locomotive; row 3 : None | lowca engineering | 0-4-0st | 1884 | 241 | scrapped 1950 row 4 : None | manning wardle | 0-4-0st | 1888 | None | built for the construction of the ashworth row 5 : None | manning wardle | 0-4-0st | 1888 | None | built for the construction of the ashworth row 6 : prince charlie | hunslet | 4-6-0t | 1917 | 1276 | built as a 2 ft (610 row 7 : vyrnwy | orenstein and koppel | 0-4-0wt | 1930 | None | built reservoir construction; purchased in 1947. sold to ] Execute this SQL based on the above table: select ( select count ( * ) where works number < 905 ) > 0
1
[ header: date | opponent | venue | result | attendance | scorers row 1 : 15 august 1998 | wolverhampton wanderers | h | 0-2 | 7521 | None row 2 : 29 august 1998 | grimsby town | h | 0-0 | 5587 | None row 3 : 31 august 1998 | barnsley | a | 0-1 | 15328 | None row 4 : 6 september 1998 | portsmouth | h | 3-0 | 6626 | marsh, windass (2, 1 pen) row 5 : 9 september 1998 | swindon town | a | 1-4 | 8305 | banger row 6 : 19 september 1998 | sunderland | a | 0-7 | 34567 | None row 7 : 26 september 1998 | queens park rangers | h | 4-1 | 7489 | beauchamp, murphy, thom row 8 : 10 october 1998 | tranmere rovers | h | 1-2 | 5862 | windass row 9 : 17 october 1998 | bolton wanderers | a | 1-1 | 17064 | thomson row 10 : 31 october 1998 | crewe alexandra | h | 1-1 | 5607 | windass row 11 : 21 november 1998 | port vale | h | 2-1 | 5964 | windass (pen), powell row 12 : 5 december 1998 | bradford city | h | 0-1 | 5969 | None row 13 : 19 december 1998 | stockport county | a | 0-2 | 6500 | None row 14 : 28 december 1998 | portsmouth | a | 2-2 | 12604 | banger (2) row 15 : 9 january 1999 | bristol city | h | 0-0 | 9434 | None row 16 : 30 january 1999 | barnsley | h | 1-0 | 6174 | windass row 17 : 6 february 1999 | wolverhampton wanderers | a | 1-1 | 20811 | windass row 18 : 13 february 1999 | swindon town | h | 2-0 | 8179 | windass (2, 1 pen) row 19 : 27 february 1999 | sunderland | h | 0-0 | 9044 | None row 20 : 3 march 1999 | queens park rangers | a | 0-1 | 9040 | None row 21 : 9 march 1999 | huddersfield town | h | 2-2 | 6034 | cook, beauchamp row 22 : 13 march 1999 | watford | h | 0-0 | 8137 | None row 23 : 20 march 1999 | crewe alexandra | a | 1-3 | 4791 | thomson row 24 : 26 march 1999 | sheffield united | a | 2-1 | 14115 | thomson, banger row 25 : 3 april 1999 | bolton wanderers | h | 0-0 | 7547 | None row 26 : 5 april 1999 | tranmere rovers | a | 2-2 | 7837 | weatherstone, gilchrist row 27 : 17 april 1999 | port vale | a | 0-1 | 7393 | None row 28 : 24 april 1999 | norwich city | h | 2-4 | 7345 | wilsterman, francis row 29 : 1 may 1999 | bradford city | a | 0-0 | 15064 | None row 30 : 9 may 1999 | stockport county | h | 5-0 | 6830 | gilchrist, powell, beauch ] Execute this SQL based on the above table: select attendance order by attendance desc limit 1
34567
[ header: date | winner | score | loser | score | attendance | notes row 1 : 25-dec-82 | washington | 21 | maryland | 20 | 30055 | notes row 2 : 26-dec-83 | penn state | 13 | washington | 10 | 37212 | notes row 3 : 29-dec-84 | smu | 27 | notre dame | 20 | 41777 | notes row 4 : 28-dec-85 | alabama | 24 | usc | 3 | 35183 | notes row 5 : 27-dec-86 | arizona | 30 | north carolina | 21 | 26743 | notes row 6 : 25-dec-87 | ucla | 20 | florida | 16 | 24839 | notes row 7 : 25-dec-88 | washington state | 24 | houston | 22 | 35132 | notes row 8 : 25-dec-89 | michigan state | 33 | hawaii | 13 | 50000 | notes row 9 : 25-dec-90 | syracuse | 28 | arizona | 0 | 14185 | notes row 10 : 25-dec-91 | georgia tech | 18 | stanford | 17 | 34433 | notes row 11 : 25-dec-92 | kansas | 23 | byu | 20 | 42933 | notes row 12 : 25-dec-93 | colorado | 41 | fresno state | 30 | 44009 | notes row 13 : 25-dec-94 | boston college | 12 | kansas state | 7 | 44862 | notes row 14 : 25-dec-95 | kansas | 51 | ucla | 30 | 41111 | notes row 15 : 25-dec-96 | navy | 42 | cal | 38 | 43380 | notes row 16 : 25-dec-97 | washington | 51 | michigan state | 23 | 44598 | notes row 17 : 25-dec-98 | colorado | 51 | oregon | 43 | 46451 | notes row 18 : 25-dec-99 | wake forest | 23 | arizona state | 3 | 40974 | notes row 19 : 25-dec-00 | boston college | 31 | arizona state | 17 | 24397 | notes ] Execute this SQL based on the above table: select notes where date = ( select date where notes = 'notes' ) + 1
notes
[ header: season | division | w-l | finish | home | road | gf | ga | coach | playoffs | avg attendance row 1 : 2006 | western | 1-15 | 6th | 0-8 | 1-7 | 150 | 202 | paul day | missed playoffs | 10367 row 2 : 2007 | western | 6-10 | 5th | 4-4 | 2-6 | 160 | 189 | paul day | missed playoffs | 10815 row 3 : 2008 | western | 4-12 | 5th | 3-5 | 1-7 | 141 | 197 | paul day (0-5) bob ham | missed playoffs | 8820 row 4 : 2009 | western | 5-11 | 6th | 4-4 | 1-7 | 159 | 200 | bob hamley | missed playoffs | 8347 row 5 : 2010 | western | 10-6 | 3rd | 5-3 | 5-3 | 186 | 201 | derek keenan | lost in western final | 7558 row 6 : 2011 | western | 5-11 | 5th | 4-4 | 1-7 | 175 | 204 | derek keenan | missed playoffs | 7151 row 7 : 2012 | western | 6-10 | 4th | 4-4 | 2-6 | 167 | 175 | derek keenan | lost in final | 7050 row 8 : 2013 | western | 9-7 | 3rd | 2-6 | 7-1 | 203 | 170 | derek keenan | lost in western semi-final | 6714 row 9 : total | 8 seasons | 46-82 | None | 26-38 | 20-44 | 1341 | 1538 | None | None | 8353 row 10 : playoff totals | None | 3-3 | None | 0-0 | 3-3 | 73 | 54 | None | None | None ] Execute this SQL based on the above table: select division where division in ( '8 seasons' , 'None' ) order by season - avg attendance desc limit 1
8 seasons
[ header: # | title | artist | highest pos. reached | weeks at no. 1 row 1 : 1 | "don't cry for me argentin | julie covington | 1 | 7 row 2 : 2 | "the way you that you do it" | pussyfoot | 1 | 7 row 3 : 3 | "i just want to be your everything" | andy gibb | 1 | 7 row 4 : 4 | "that's rock and roll" | shaun cassidy | 2 | None row 5 : 5 | "living next door to alice" | smokie | 2 | None row 6 : 6 | "i go to rio" | peter allen | 1 | 5 row 7 : 7 | "torn between two lovers" | mary mcgregor | 1 | 4 row 8 : 8 | "walk right in" | dr hook | 1 | 5 row 9 : 9 | "you're moving out today" | carole bayer sager | 1 | 4 row 10 : 10 | "if you leave me now" | chicago | 1 | 5 (pkd #1 in 76 row 11 : 11 | "don't give up on us" | david soul | 1 | 3 row 12 : 12 | "lido shuffle" / " | boz scaggs | 2 | None row 13 : 13 | "you and me" | alice cooper | 2 | None row 14 : 14 | "dance little lady dance" | tina charles | 4 | None row 15 : 15 | "when i need you" | leo sayer | 8 | None row 16 : 16 | "don't fall in love" | ferrets | 2 | None row 17 : 17 | "i feel love" | donna summer | 1 | 1 row 18 : 18 | "help is on its way" | little river band | 1 | 1 row 19 : 19 | "you gotta get up and dance" | supercharge | 3 | None row 20 : 20 | "mull of kintyre" | wings | 1 | 11 (pkd #1 in 77 row 21 : 21 | "don't leave me this way" | thelma houston | 6 | None row 22 : 22 | "ain't gonna bump no more | joe tex | 2 | None row 23 : 23 | "you're in my heart" | rod stewart | 1 | 1 row 24 : 24 | "ma baker" | boney m | 5 | None row 25 : 25 | "lucille" | kenny rogers | 7 | None ] Execute this SQL based on the above table: select max ( # )
25.0
[ header: rank | city | county | state | percentage row 1 : 1 | palisades park | bergen county | new jersey | 36.38% (52% in 2010) row 2 : 2 | cerritos | los angeles county | california | 17.69% row 3 : 3 | la palma | orange county | california | 17.43% row 4 : 4 | leonia | bergen county | new jersey | 17.24% row 5 : 5 | fort lee | bergen county | new jersey | 17.18% row 6 : 6 | ridgefield | bergen county | new jersey | 14.31% row 7 : 7 | closter | bergen county | new jersey | 12.75% row 8 : 8 | norwood | bergen county | new jersey | 12.69% row 9 : 9 | edgewater | bergen county | new jersey | 11.83% row 10 : 10 | englewood cliffs | bergen county | new jersey | 11.76% ] Execute this SQL based on the above table: select state where state in ( 'california' , 'california' ) group by state order by count ( * ) desc limit 1
california
[ header: region | seed | team | coach | finished | final opponent | score row 1 : east | | None | None | None | None | None row 2 : east | | furman | joe williams | first round | syracuse | l 83-82 row 3 : east | | maryland | lefty driesell | regional runner-up | providence | l 103-89 row 4 : east | | penn | chuck daly | regional fourth place | syracuse | l 69-68 row 5 : east | | providence | dave gavitt | fourth place | indiana | l 97-79 row 6 : east | | st. john's | frank mulzoff | first round | penn | l 62-61 row 7 : east | | saint joseph's | jack mckinney | first round | providence | l 89-76 row 8 : east | | syracuse | roy danforth | regional third place | penn | w 69-68 row 9 : mideast | | None | None | None | None | None row 10 : mideast | | austin peay | lake kelly | regional fourth place | marquette | l 88-73 row 11 : mideast | | indiana | bob knight | third place | providence | w 97-79 row 12 : mideast | | jacksonville | tom wasdin | first round | austin peay | l 77-75 row 13 : mideast | | kentucky | joe b. hall | regional runner-up | indiana | l 72-65 row 14 : mideast | | marquette | al mcguire | regional third place | austin peay | w 88-73 row 15 : mideast | | miami, ohio | darrell hedric | first round | marquette | l 77-62 row 16 : midwest | | None | None | None | None | None row 17 : midwest | | houston | guy lewis | first round | southwestern louisiana | l 102-89 row 18 : midwest | | kansas state | jack hartman | regional runner-up | memphis state | l 92-72 row 19 : midwest | | southwestern louisiana (vacated) | beryl shipley | regional fourth place | south carolina | l 90-85 row 20 : midwest | | memphis state | gene bartow | runner up | ucla | l 87-66 row 21 : midwest | | south carolina | frank mcguire | regional third place | southwestern louisiana | w 90-85 row 22 : midwest | | texas tech | gerald myers | first round | south carolina | l 78-70 row 23 : west | | None | None | None | None | None row 24 : west | | arizona state | ned wulk | regional fourth place | long beach state | l 84-80 row 25 : west | | long beach state | jerry tarkanian | regional third place | arizona state | w 84-80 row 26 : west | | oklahoma city | abe lemons | first round | arizona state | l 103-78 row 27 : west | | san francisco | bob gaillard | regional runner-up | ucla | l 54-39 row 28 : west | | ucla | john wooden | champion | memphis state | w 87-66 row 29 : west | | weber state | gene visscher | first round | long beach state | l 88-75 ] Execute this SQL based on the above table: select seed where team = 'furman' and finished = 'first round'
@NULL@
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | russia | 8 | 12 | 10 | 30 row 2 : 2 | china | 7 | 4 | 2 | 13 row 3 : 3 | ukraine | 7 | 1 | 1 | 9 row 4 : 4 | poland | 3 | 4 | 2 | 9 row 5 : 5 | belarus | 2 | 2 | 2 | 6 row 6 : 6 | germany | 2 | 1 | 2 | 5 row 7 : 6 | south africa | 2 | 1 | 2 | 5 row 8 : 7 | australia | 2 | 1 | 1 | 4 row 9 : 8 | japan | 2 | 0 | 1 | 3 row 10 : 9 | france | 1 | 3 | 0 | 4 row 11 : 10 | romania | 1 | 2 | 2 | 5 row 12 : 11 | hungary | 1 | 2 | 1 | 4 row 13 : 12 | great britain | 1 | 1 | 2 | 4 row 14 : 12 | spain | 1 | 1 | 2 | 4 row 15 : 14 | morocco | 1 | 1 | 1 | 3 row 16 : 15 | brazil | 1 | 0 | 3 | 3 row 17 : 16 | czech republic | 1 | 0 | 2 | 3 row 18 : 17 | moldova | 1 | 0 | 0 | 1 row 19 : 18 | finland | 0 | 2 | 1 | 3 row 20 : 19 | estonia | 0 | 1 | 1 | 2 row 21 : 19 | north korea | 0 | 1 | 1 | 2 row 22 : 19 | south korea | 0 | 1 | 1 | 2 row 23 : 22 | denmark | 0 | 1 | 0 | 1 row 24 : 22 | ireland | 0 | 1 | 0 | 1 row 25 : 22 | jamaica | 0 | 1 | 0 | 1 row 26 : 22 | kazakhstan | 0 | 1 | 0 | 1 row 27 : 22 | uganda | 0 | 1 | 0 | 1 row 28 : 27 | croatia | 0 | 0 | 2 | 2 row 29 : 28 | canada | 0 | 0 | 1 | 1 row 30 : 28 | cyprus | 0 | 0 | 1 | 1 row 31 : 28 | italy | 0 | 0 | 1 | 1 row 32 : 28 | switzerland | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select nation where nation = 'australia' and rank <= 9
australia
[ header: selected latin american countries | internl. tourism arrivals 2010 (x 1000) | internl. tourism receipts. 2010 (usd (x1000) | average receipt per visitor 2009 (usd/turista) | tourist arrivals per 1000 inhab (estimated) 2007 | receipts per capita 2005 usd | revenues as % exports of goods and services 2003 | tourism income % gdp 2003 | % direct and indirect employment in tourism 2005 | world ranking tourism competitiv. ttci 2011 | 2011 ttci index row 1 : argentina | 5288 | 4930 | 932 | 115 | 57 | 7.4 | 1.8 | 9.1 | 60 | 4.2 row 2 : brazil | 5161 | 5919 | 1147 | 26 | 18 | 3.2 | 0.5 | 7 | 52 | 4.36 row 3 : chile | 2766 | 1636 | 591 | 151 | 73 | 5.3 | 1.9 | 6.8 | 57 | 4.27 row 4 : costa rica | 2100 | 2111 | 1005 | 442 | 343 | 17.5 | 8.1 | 13.3 | 44 | 4.43 row 5 : cuba | 2507 | None | None | 188 | 169 | None | None | None | None | None row 6 : dominican republic | 4125 | 4240 | 1028 | 408 | 353 | 36.2 | 18.8 | 19.8 | 72 | 3.99 row 7 : mexico | 22395 | 11872 | 530 | 201 | 103 | 5.7 | 1.6 | 14.2 | 43 | 4.43 row 8 : panama | 1317 | 1676 | 1273 | 330 | 211 | 10.6 | 6.3 | 12.9 | 56 | 4.3 row 9 : peru | 2299 | 2274 | 989 | 65 | 41 | 9 | 1.6 | 7.6 | 69 | 4.04 row 10 : uruguay | 2352 | 1496 | 636 | 525 | 145 | 14.2 | 3.6 | 10.7 | 58 | 4.24 ] Execute this SQL based on the above table: select selected latin american countries group by selected latin american countries order by count ( * ) desc limit 1
uruguay
[ header: coach | years | seasons | wins | losses | ties | pct row 1 : o. b. "rip" | 1908 | 1 | 5 | 1 | 0 | 0.833 row 2 : ed sabre | 1920 | 1 | 3 | 1 | 0 | 0.75 row 3 : mack erwin | 1957-60 | 4 | 62 | 30 | 1 | 0.672 row 4 : chal port | 1965-91 | 27 | 641 | 386 | 2 | 0.624 row 5 : fred jordan | 1992-pres | 22 | 726 | 552 | 0 | 0.568 row 6 : john d. mcmillan | 1952-53 | 2 | 14 | 15 | 0 | 0.483 row 7 : jim newsome | 1961-64 | 4 | 37 | 43 | 0 | 0.463 row 8 : bunzy o'neal | 1948 | 1 | 6 | 7 | 0 | 0.462 row 9 : george c. rogers | 1914-15, 1921-24 | 6 | 26 | 33 | 1 | 0.441 row 10 : fred montsdeoca | 1954-56 | 2 | 22 | 31 | 0 | 0.415 row 11 : george a. schmick | 1910 | 1 | 4 | 6 | 0 | 0.4 row 12 : thomas s. mc | 1916, 1919 | 2 | 8 | 12 | 0 | 0.4 row 13 : harold manley | 1954 | 1 | 5 | 9 | 0 | 0.357 row 14 : "barney" legge | 1911 | 1 | 2 | 5 | 1 | 0.286 row 15 : h. l. "matty" | 1926-30, 37-38 | 3 | 10 | 25 | 1 | 0.286 row 16 : dusty rhodes | 1947 | 1 | 2 | 5 | 0 | 0.286 row 17 : "shorty" o'brien | 1918 | 1 | 3 | 9 | 0 | 0.25 row 18 : "bull dog" drummond | 1925 | 1 | 2 | 7 | 0 | 0.222 ] Execute this SQL based on the above table: select coach where id = ( select max ( id ) where coach = 'john d. mcmillan' ) + 1
jim newsome
[ header: category | speed (km/h) | speed (mph) | vehicle | pilot | date row 1 : rocket-powered aircraft | 7258 | 4510 | north american x-15 | william j. knight | 3 oct 1967 row 2 : manned air-breathing craft | 3530 | 2194 | lockheed sr-71 blackbird | eldon w. joersz | 28 jul 1976 row 3 : propeller-driven aircraft | 870 | 541 | tupolev tu-114 | ivan soukhomline | 1960 row 4 : piston-engined propeller-driven aircraft | 850.1 | 528.33 | grumman f8f bearcat rare | lyle shelton | 21 aug 1989 row 5 : helicopter | 401 | 249.1 | westland lynx 800 g | john egginton | 11 aug 1986 row 6 : glider (sailplane) | 306.8 | 190.6 | schempp-hirth nim | klaus ohlmann and | 22 dec 2006 row 7 : human-powered aircraft | 32 | 19.8 | mit monarch b | frank scarabino | 1 may 1984 ] Execute this SQL based on the above table: select date order by category desc limit 1
3 oct 1967
[ 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 method where event = 'ufc 87'
decision (unanimous)
[ header: year | laureate | relation | category | rationale row 1 : 1922 | otto fritz meyerhof | research professor in physiological chemistry, 1940-1951 | physiology or medicine | "for his discovery of the fixed relationship between the row 2 : 1955 | vincent du vigneaud | assistant in biochemistry, graduate school of medicine, | chemistry | "for his work on sulphur compounds row 3 : 1964 | martin luther king | graduate student, 1950-51 | nobel peace prize | for being "the first person in the western world row 4 : 1967 | ragnar granit | research fellow, 1929-1931; sc | physiology or medicine | "for their discoveries concerning the primary physiological and chemical row 5 : 1971 | simon kuznets | assistant professor of economic statistics, 1930-1934; | economics | "for his empirically founded interpretation of economic growth row 6 : 1985 | michael stuart brown | a.b., 1962; m | physiology or medicine | "for their discoveries concerning the regulation of cholesterol metabolism row 7 : 2000 | alan macdiarmid | department of chemistry, 1955- ; blanc | chemistry | "for their discovery and development of conductive poly row 8 : 2000 | hideki shirakawa | department of chemistry, post-doctoral | chemistry | "for their discovery and development of conductive poly row 9 : 2004 | edward c. prescott | assistant professor, 1967-1971 | economics | "for their contributions to dynamic macroeconomics: row 10 : 2006 | edmund phelps | professor, 1966-1971 | economics | "for his analysis of intertemporal tradeoff row 11 : 2009 | george e. smith | b.s., 1955 | physics | "for the invention of an imaging semiconductor circuit row 12 : 2009 | oliver e. williamson | professor, 1965-1983 | economics | "for his analysis of economic governance, especially the row 13 : 2010 | ei'ichi negishi | ph.d., 1963 | chemistry | "for palladium-catalyze row 14 : 2011 | thomas j. sargent | professor, 1970-1971 | economics | "for their empirical research on cause and effect in ] Execute this SQL based on the above table: select category where year = 1967 order by year asc limit 2006
physiology or medicine
[ header: place | position | number | name | league two | fa cup | league cup | fl trophy | total row 1 : 1 | mf | 4 | ryan hall | 10 | 1 | 0 | 3 | 14 row 2 : 2 | df | 6 | bilel mohsni | 13 | 0 | 0 | 0 | 13 row 3 : 3 | fw | 22 | liam dickinson | 10 | 1 | 0 | 1 | 12 row 4 : 4 | fw | 9 | neil harris | 9 | 0 | 0 | 1 | 10 row 5 : 5 | df | 15 | mark phillips | 7 | 0 | 1 | 0 | 8 row 6 : 6 | mf | 12 | kane ferdinand | 7 | 0 | 0 | 0 | 7 row 7 : 7 | mf | 8 | michael timlin | 4 | 0 | 0 | 0 | 4 row 8 : 8 | mf | 14 | dave martin | 3 | 0 | 0 | 0 | 3 row 9 : 8 | df | 3 | peter gilbert | 3 | 0 | 0 | 0 | 3 row 10 : 10 | fw | 24 | elliot benyon | 2 | 0 | 0 | 0 | 2 row 11 : 10 | fw | 37 | freddy eastwood | 2 | 0 | 0 | 0 | 2 row 12 : 12 | mf | 18 | ryan leonard | 1 | 0 | 0 | 0 | 1 row 13 : 12 | fw | 21 | blair sturrock | 0 | 0 | 0 | 1 | 1 row 14 : 12 | mf | 19 | jean-paul kalala | 1 | 0 | 0 | 0 | 1 row 15 : 12 | df | 16 | luke prosser | 1 | 0 | 0 | 0 | 1 row 16 : 12 | mf | 7 | anthony grant | 1 | 0 | 0 | 0 | 1 row 17 : 12 | df | 23 | chris barker | 1 | 0 | 0 | 0 | 1 row 18 : None | None | None | own goals | 4 | 0 | 0 | 0 | 4 row 19 : None | None | None | totals | 79 | 2 | 1 | 6 | 88 ] Execute this SQL based on the above table: select total where position = 'df'
13.0, 8.0, 3.0, 1.0, 1.0
[ header: category | urban settlements | population | male | female | inhabited localities in jurisdiction row 1 : urban | dzhebariki-khaya | 1694 | 844 (49.8%) | 850 (50.2%) | urban-type settlement of dzhebar row 2 : urban | khandyga (ханд | 6638 | 3326 (49.8%) | 3312 (50.2%) | urban-type settlement of khandyg row 3 : rural | bayagantaysky na | 1823 | 884 (48.5%) | 939 (51.5%) | selo of krest-khal row 4 : rural | megino-aldansky n | 1020 | 490 (48.0%) | 530 (52.0%) | selo of megino-al row 5 : rural | okhot-perevozovsky | 142 | 70 (49.3%) | 72 (50.7%) | selo of okhotsky-per row 6 : rural | sasylsky na | 555 | 275 (49.5%) | 280 (50.5%) | selo of keskil row 7 : rural | teploklyuchevsky | 887 | 447 (50.4%) | 440 (49.6%) | selo of teply row 8 : rural | tomponsky national nasleg | 915 | 458 (50.1%) | 457 (49.9%) | selo of topolinoye row 9 : rural | ynginsky nasleg | 425 | 217 (51.1%) | 208 (48.9%) | selo of novy selo ] Execute this SQL based on the above table: select inhabited localities in jurisdiction order by female limit 1
selo of novy selo of saydy
[ header: staple: | maize / corn | rice | wheat | potato | cassava | soybean (green) | sweet potato | sorghum | yam | plantain row 1 : component (per 100g portion) | amount | amount | amount | amount | amount | amount | amount | amount | amount | amount row 2 : water (g) | 10 | 12 | 13 | 79 | 60 | 68 | 77 | 9 | 70 | 65 row 3 : energy (kj) | 1528 | 1528 | 1369 | 322 | 670 | 615 | 360 | 1419 | 494 | 511 row 4 : protein (g) | 9.4 | 7.1 | 12.6 | 2 | 1.4 | 13 | 1.6 | 11.3 | 1.5 | 1.3 row 5 : fat (g) | 4.74 | 0.66 | 1.54 | 0.09 | 0.28 | 6.8 | 0.05 | 3.3 | 0.17 | 0.37 row 6 : carbohydrates (g) | 74 | 80 | 71 | 17 | 38 | 11 | 20 | 75 | 28 | 32 row 7 : fiber (g) | 7.3 | 1.3 | 12.2 | 2.2 | 1.8 | 4.2 | 3 | 6.3 | 4.1 | 2.3 row 8 : sugar (g) | 0.64 | 0.12 | 0.41 | 0.78 | 1.7 | 0 | 4.18 | 0 | 0.5 | 15 row 9 : calcium (mg) | 7 | 28 | 29 | 12 | 16 | 197 | 30 | 28 | 17 | 3 row 10 : iron (mg) | 2.71 | 0.8 | 3.19 | 0.78 | 0.27 | 3.55 | 0.61 | 4.4 | 0.54 | 0.6 row 11 : phosphorus (mg) | 210 | 115 | 288 | 57 | 27 | 194 | 47 | 287 | 55 | 34 row 12 : potassium (mg) | 287 | 115 | 363 | 421 | 271 | 620 | 337 | 350 | 816 | 499 row 13 : sodium (mg) | 35 | 5 | 2 | 6 | 14 | 15 | 55 | 6 | 9 | 4 row 14 : zinc (mg) | 2.21 | 1.09 | 2.65 | 0.29 | 0.34 | 0.99 | 0.3 | 0 | 0.24 | 0.14 row 15 : copper (mg) | 0.31 | 0.22 | 0.43 | 0.11 | 0.1 | 0.13 | 0.15 | None | 0.18 | 0.08 row 16 : manganese (mg) | 0.49 | 1.09 | 3.99 | 0.15 | 0.38 | 0.55 | 0.26 | None | 0.4 | None row 17 : selenium (μg) | 15.5 | 15.1 | 70.7 | 0.3 | 0.7 | 1.5 | 0.6 | 0 | 0.7 | 1.5 row 18 : vitamin c (mg) | 0 | 0 | 0 | 19.7 | 20.6 | 29 | 2.4 | 0 | 17.1 | 18.4 row 19 : thiamin (mg) | 0.39 | 0.07 | 0.3 | 0.08 | 0.09 | 0.44 | 0.08 | 0.24 | 0.11 | 0.05 row 20 : riboflavin (mg) | 0.2 | 0.05 | 0.12 | 0.03 | 0.05 | 0.18 | 0.06 | 0.14 | 0.03 | 0.05 row 21 : pantothenic acid (mg) | 0.42 | 1.01 | 0.95 | 0.3 | 0.11 | 0.15 | 0.8 | None | 0.31 | 0.26 row 22 : vitamin b6 (mg) | 0.62 | 0.16 | 0.3 | 0.3 | 0.09 | 0.07 | 0.21 | None | 0.29 | 0.3 row 23 : folate total (μg) | 19 | 8 | 38 | 16 | 27 | 165 | 11 | 0 | 23 | 22 row 24 : vitamin a (iu) | 214 | 0 | 9 | 2 | 13 | 180 | 14187 | 0 | 138 | 1127 ] Execute this SQL based on the above table: select staple: where staple: = 'fat (g)' or staple: = 'fat (g)'
fat (g)
[ header: week | date | opponent | result | venue | attendance row 1 : 1 | september 3, 1978 | at detroit lions | w 13-7 | pontiac silverdome | 51187 row 2 : 2 | september 10, 1978 | new orleans saints | w 28-17 | milwaukee county stadium | 54336 row 3 : 3 | september 17, 1978 | oakland raiders | l 28-3 | lambeau field | 55903 row 4 : 4 | september 24, 1978 | at san diego chargers | w 24-3 | san diego stadium | 42755 row 5 : 5 | october 1, 1978 | detroit lions | w 35-14 | milwaukee county stadium | 54601 row 6 : 6 | october 8, 1978 | chicago bears | w 24-14 | lambeau field | 56267 row 7 : 7 | october 15, 1978 | seattle seahawks | w 45-28 | milwaukee county stadium | 52712 row 8 : 8 | october 22, 1978 | at minnesota vikings | l 21-7 | metropolitan stadium | 47411 row 9 : 9 | october 29, 1978 | tampa bay buccaneers | w 9-7 | lambeau field | 55108 row 10 : 10 | november 5, 1978 | at philadelphia eagle | l 10-3 | veterans stadium | 64214 row 11 : 11 | november 12, 1978 | dallas cowboys | l 42-14 | milwaukee county stadium | 55256 row 12 : 12 | november 19, 1978 | at denver broncos | l 16-3 | mile high stadium | 74965 row 13 : 13 | november 26, 1978 | minnesota vikings | t 10-10 (ot) | lambeau field | 51737 row 14 : 14 | december 3, 1978 | at tampa bay buccaneers | w 17-7 | tampa stadium | 67754 row 15 : 15 | december 10, 1978 | at chicago bears | l 14-0 | soldier field | 34306 row 16 : 16 | december 17, 1978 | at los angeles rams | l 31-14 | los angeles memorial coliseum | 42500 ] Execute this SQL based on the above table: select avg ( attendance ) where attendance <= 74965
53813.25
[ header: year | division | league | regular season | playoffs | open cup row 1 : 2002 | 4 | usl pdl | 3rd, mid atlantic | did not qualify | did not qualify row 2 : 2003 | 4 | usl pdl | 1st, mid atlantic | conference semifinals | did not qualify row 3 : 2004 | 4 | usl pdl | 3rd, mid atlantic | did not qualify | did not qualify row 4 : 2005 | 4 | usl pdl | 1st, mid atlantic | national semifinals | 2nd round row 5 : 2006 | 4 | usl pdl | 5th, mid atlantic | did not qualify | did not qualify row 6 : 2007 | 4 | usl pdl | 6th, mid atlantic | did not qualify | did not qualify row 7 : 2008 | 4 | usl pdl | 6th, mid atlantic | did not qualify | did not qualify ] Execute this SQL based on the above table: select regular season group by regular season order by count ( regular season ) desc limit 1
6th, mid atlantic
[ header: # | player | position | height | current club row 1 : 4 | garreth lodge | point guard | 1.85 | edinburgh kings row 2 : 5 | patrick campbell | shooting guard | 1.93 | edinburgh kings row 3 : 6 | grant gibson | point guard | 1.82 | e.lothian b row 4 : 7 | laurie costello | point guard | 1.87 | edinburgh kings row 5 : 8 | josh crolley | small forward | 1.98 | troon tornadoes row 6 : 9 | daniel donnelly | small forward | 1.98 | troon tornadoes row 7 : 10 | michael lynn | forward | None | st. mirren row 8 : 11 | ross campbell | forward | 1.98 | troon tornadoes row 9 : 12 | steven leven | forward | 1.97 | arkadikos row 10 : 13 | thomas pearson | center | 2 | manchester magic row 11 : 14 | ikemefuna attah | power forward | 1.98 | tees valley mohawks row 12 : 15 | simon flockhart | center | 2.1 | edinburgh kings ] Execute this SQL based on the above table: select position where position = 'point guard' and height <= '1.98'
point guard, point guard, point guard
[ 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 age where fence > ( select fence where age = 11 ) order by fence limit 1
11
[ header: album/single | performer | year | variant | notes row 1 : the english and scottish popular balla | ewan maccoll | 1956 | gil morice | the earliest known professional recording (8'37") row 2 : blood and roses vol 2 | ewan maccoll | 1981 | child maurice | this is a different version from maccoll row 3 : right of passage | martin carthy | 1988 | bill norrie | None row 4 : kornog | kornog | 2000 | child noryce | the only known version by a french band row 5 : the furrowed field | damien barber | 2000 | bill norrie | None row 6 : songs | spiers and boden | 2005 | child morris | None row 7 : at ruskin mill | martin carthy | 2005 | bill norrie | the longest recorded version (9'06") ] Execute this SQL based on the above table: select count ( performer ) where album/single = 645
0
[ header: year | single | peak chart positions us | peak chart positions us r&b | peak chart positions us a/c | peak chart positions uk row 1 : 1978 | "i'm coming home again" | None | 54 | None | None row 2 : 1979 | "am i too late" | None | 45 | None | None row 3 : 1981 | "when a child is born" (with | None | None | None | 74 row 4 : 1985 | "that's what friends are for" ( | 1 | 1 | 1 | 16 row 5 : 1986 | "loving on borrowed time (love theme | None | None | 16 | None row 6 : 1989 | "licence to kill" | None | 69 | 18 | 6 row 7 : 1990 | "if i knew then what i know | None | None | 10 | None row 8 : 1991 | "men" | None | 2 | None | None row 9 : 1991 | "superwoman" (with dionne warwick | None | 19 | None | None row 10 : 1991 | "meet me in the middle" | None | 78 | None | None row 11 : 1992 | "where would i be" | None | 66 | None | None row 12 : 1994 | "i don't want to know" | 113 | 32 | None | None row 13 : 1994 | "end of the road medley" | None | 76 | None | None row 14 : 1995 | "next time" | None | 30 | None | None row 15 : 1996 | "missing you" (with brandy, | 25 | 10 | 30 | None row 16 : 2010 | "settle" | None | None | None | None row 17 : 2011 | "i (who have nothing)" | None | None | None | None ] Execute this SQL based on the above table: select count ( single ) where single = 1438 and single = 405
0
[ header: year | league | record | finish | manager | playoffs | notes row 1 : 1947 | sunset league | 69-69 | 4th | thomas lloyd | None | None row 2 : 1955 | california league | 40-106 | 8th | leonard noren | None | channel cities moved to reno july row 3 : 1956 | california league | 73-67 | 4th | ray perry | lost in 1st round | None row 4 : 1957 | california league | 79-59 | 2nd | ray perry | lost league finals | None row 5 : 1958 | california league | 68-69 | 6th | ray perry | None | None row 6 : 1959 | california league | 81-58 | 2nd | ray perry | None | None row 7 : 1960 | california league | 89-51 | 1st | tom saffell | league champs | None row 8 : 1961 | california league | 97-43 | 1st | roy smalley | league champs | None row 9 : 1962 | california league | 70-68 | 4th | roy smalley | lost league finals | None row 10 : 1963 | california league | 71-69 | 5th | tom saffell | None | None row 11 : 1964 | california league | 66-71 | 6th | tom saffell / har | none | None row 12 : 1966 | california league | 69-71 | 4th (t) | phil cavarretta | None | None row 13 : 1967 | california league | 56-82 | 8th | phil cavarretta | None | None row 14 : 1968 | california league | 67-72 | 5th | clay bryant | None | None row 15 : 1969 | california league | 72-68 | 3rd (t) | ken aspromonte | None | None row 16 : 1970 | california league | 79-61 | 2nd | pinky may | none | None row 17 : 1971 | california league | 64-75 | 7th | pinky may | None | None row 18 : 1972 | california league | 50-88 | 8th | lou klimchock | None | None row 19 : 1973 | california league | 70-70 | 4th (t) | lou klimchock | None | None row 20 : 1976 | california league | 75-62 | 3rd | johnny goryl | league champs | None row 21 : 1977 | california league | 59-81 | 5th | glenn ezell | None | None row 22 : 1978 | california league | 62-78 | 5th | eddie watt | None | None row 23 : 1979 | california league | 74-67 | 3rd | eddie watt | None | None row 24 : 1980 | california league | 75-66 | 2nd (t) | jack maloof | None | None row 25 : 1981 | california league | 81-58 | 2nd | jack maloof | lost in 1st round | None row 26 : 1988 | california league | 39-103 | 10th | nate oliver | None | None row 27 : 1989 | california league | 68-74 | 6th | eli grba | None | None row 28 : 1992 | california league | 65-71 | 8th | gary jones | None | None ] Execute this SQL based on the above table: select count ( distinct year ) where league = 'california league'
27
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 24 december 2005 | phang nga, tha | latvia | 1-1 | draw | 2005 king's cup row 2 : 2 | 26 march 2006 | chonburi, thailand | philippines | 5-0 | win | friendly row 3 : 4 | 8 october 2007 | bangkok, thailand | macau | 6-1 | win | 2010 fifa world cup qualification row 4 : 5 | 6 february 2008 | saitama, japan | japan | 4-1 | loss | 2010 fifa world cup qualification row 5 : 6 | 15 march 2008 | kunming, china | china pr | 3-3 | draw | friendly row 6 : 8 | 20 may 2008 | bangkok, thailand | nepal | 7-0 | win | friendly row 7 : 10 | 25 may 2008 | bangkok, thailand | iraq | 2-1 | win | friendly row 8 : 11 | 2 june 2008 | bangkok, thailand | bahrain | 2-3 | loss | 2010 fifa world cup qualification row 9 : 12 | 20 december 2008 | bangkok, thailand | indonesia | 2-1 | win | 2008 aff suzuki cup row 10 : 13 | 18 july 2009 | bangkok, thailand | pakistan | 4-0 | win | friendly row 11 : 14 | 8 november 2009 | bangkok, thailand | syria | 1-1 | draw | friendly row 12 : 15 | 8 september 2010 | new delhi, india | india | 2-1 | win | friendly row 13 : 16 | 15 january 2012 | bangkok, thailand | south korea | 1-3 | loss | 2012 king's cup row 14 : 17 | 26 january 2013 | chiangmai, thailand | north korea | 2-2 | draw | 2013 king's cup row 15 : 18 | 5 march 2014 | bangkok, thailand | lebanon | 2-5 | loss | 2015 afc asian cup qualification ] Execute this SQL based on the above table: select count ( opponent ) where opponent = 'latvia'
1
[ header: rank | athlete | ski time | penalties p+s+p+s | total row 1 : None | zhang qing (chn) | 59:53.2 | 1+1+0+1 | 1:02:53.2 row 2 : None | dmitriy pozdn | 1:01:01.0 | 0+2+0+0 | 1:03:01.0 row 3 : None | dmitriy pantov ( | 59:24.8 | 1+2+0+1 | 1:03:24.8 row 4 : 4 | hideki yamamoto (jpn) | 1:02:55.5 | 0+1+3+0 | 1:06:55.5 row 5 : 5 | qiu lianhai (ch | 1:03:18.9 | 1+1+0+2 | 1:07:18.9 row 6 : 6 | shin byung-gook (kor | 1:02:49.3 | 1+2+1+1 | 1:07:49.3 row 7 : 7 | son hae-kwon (kor) | 1:02:58.3 | 1+1+2+1 | 1:07:58.3 row 8 : 8 | wang xin (chn) | 1:04:42.4 | 2+1+1+1 | 1:09:42.4 row 9 : 9 | naoki shindo | 1:03:08.5 | 3+1+0+3 | 1:10:08.5 row 10 : 9 | jeon jae-won (kor) | 1:02:08.5 | 2+2+2+2 | 1:10:08.5 row 11 : 11 | alexey karevskiy ( | 1:03:28.8 | 3+1+1+2 | 1:10:28.8 row 12 : 12 | sergey abdukarov (kaz | 1:05:11.4 | 1+2+1+3 | 1:12:11.4 row 13 : 13 | takashi shindo ( | 1:01:15.0 | 3+3+2+4 | 1:13:15.0 row 14 : 14 | shinji ebisawa (jp | 1:04:13.6 | 3+3+1+3 | 1:14:13.6 row 15 : 15 | choi neung-chul | 1:08:50.6 | 3+2+0+1 | 1:14:50.6 row 16 : 16 | byamba enkh-amgalan | 1:15:20.4 | 4+5+2+2 | 1:28:20.4 ] Execute this SQL based on the above table: select count ( * ) where athlete = 'jeon jae-won (kor)'
1
[ header: governorate | percentage | seats won | total seats row 1 : al-anbar | None | 0 | 29 row 2 : babil | 8.2% | 5 | 30 row 3 : baghdad | 5.4% | 3 | 57 row 4 : basra | 11.6% | 5 | 35 row 5 : dhi qar | 11.1% | 5 | 31 row 6 : diyala | None | 0 | 29 row 7 : karbala | 6.4% | 4 | 27 row 8 : maysan | 15.2% | 7 | 27 row 9 : al-muthanna | 9.3% | 5 | 26 row 10 : najaf | 14.8% | 7 | 28 row 11 : ninawa | 1.9% | 0 | 37 row 12 : al-qadisiyyah | 11.7% | 4 | 28 row 13 : salah ad-din | 2.9% | 1 | 28 row 14 : wassit | 10.0% | 6 | 28 row 15 : total | 6.6% | 52 | 440 ] Execute this SQL based on the above table: select count ( governorate )
15
[ header: year | name | source | definition row 1 : c. 486 bc | hidush | naksh-i-rustam | "says darius the king: by row 2 : c.400-300 bc | hodu | book of esther | says "now it took place in the days of row 3 : c. 440 bc | india | herodotus | "eastward of india lies a tract which row 4 : 320 ce or later | bharatam | vishnu purana | "उततर यतसमदरसय हिमादरशचव दकषिणम । row 5 : c. 650 | five indies | xuanzang | "the circumference of 五印 (modern row 6 : 1298 | india the greater india the minor middle india | marco polo | "india the greater is that which extends row 7 : c. 1328 | india | friar jordanus | "what shall i say? the great- ] Execute this SQL based on the above table: select source order by definition limit 1315
herodotus, marco polo, naksh-i-rustam, xuanzang, friar jordanus, vishnu purana, book of esther
[ header: code | year row 1 : a | 1927 row 2 : b | 1928 row 3 : c | 1929 row 4 : ch | 1930 row 5 : d | 1931 row 6 : e | 1932 row 7 : f | 1933 row 8 : g | 1934 row 9 : h | 1935 row 10 : i | 1936 row 11 : j | 1937 row 12 : k | 1938 row 13 : l | 1939 row 14 : ll | 1940 row 15 : m | 1941 row 16 : n | 1942 row 17 : n | 1943 row 18 : o | 1944 row 19 : p | 1945 row 20 : q | 1946 row 21 : r | 1947 row 22 : s | 1948 row 23 : t | 1949 row 24 : u | 1950 row 25 : v | 1951 row 26 : x | 1952 row 27 : y | 1953 row 28 : z | 1954 row 29 : a1 | 1955 row 30 : b1 | 1956 row 31 : c1 | 1957 row 32 : ch1 | None row 33 : d1 | 1958 row 34 : e1 | 1959 row 35 : f1 | 1960 row 36 : g1 | 1961 row 37 : h1 | 1962 row 38 : i1 | 1963 row 39 : j1 | 1964 row 40 : k1 | 1965 row 41 : l1 | 1966 row 42 : ll1 | None row 43 : m1 | 1967 row 44 : n1 | 1968 row 45 : n1 | 1969 row 46 : o1 | 1970 row 47 : p1 | 1971 row 48 : q1 | 1972 row 49 : r1 | 1973 row 50 : s1 | 1974 row 51 : t1 | 1975 row 52 : u1 | 1976 row 53 : v1 | 1977 row 54 : x1 | 1978 row 55 : y1 | 1979 row 56 : z1 | 1980 row 57 : a2 | 1981 row 58 : b2 | 1982 row 59 : c2 | 1983 row 60 : ch2 | None row 61 : d2 | 1984 row 62 : e2 | 1985 row 63 : f2 | 1986 row 64 : g2 | 1987 row 65 : h2 | 1988 row 66 : i2 | 1989 row 67 : j2 | 1990 row 68 : k2 | 1991 row 69 : l2 | 1992 row 70 : ll2 | None row 71 : m2 | 1993 row 72 : n2 | 1994 row 73 : n2 | 1995 row 74 : o2 | 1996 row 75 : p2 | 1997 row 76 : q2 | 1998 row 77 : r2 | 1999 row 78 : s2 | 2000 row 79 : t2 | 2001 row 80 : u2 | 2002 row 81 : v2 | 2003 row 82 : x2 | 2004 row 83 : y2 | 2005 row 84 : z2 | 2006 ] Execute this SQL based on the above table: select code where code = 'n1' and code != '1948'
n1, n1
[ header: rank | athlete | country | time | notes row 1 : None | yevgeny kulikov | soviet union | 39.17 | or row 2 : None | valery muratov | soviet union | 39.25 | None row 3 : None | dan immerfall | united states | 39.54 | None row 4 : 4 | mats wallberg | sweden | 39.56 | None row 5 : 5 | peter mueller | united states | 39.57 | None row 6 : 6 | jan bazen | netherlands | 39.78 | None row 7 : 6 | arnulf sunde | norway | 39.78 | None row 8 : 8 | andrey malikov | soviet union | 39.85 | None row 9 : 9 | oloph granath | sweden | 39.93 | None row 10 : 10 | jim chapin | united states | 40.09 | None row 11 : 11 | tom overend | canada | 40.22 | None row 12 : 11 | masaki suzuki | japan | 40.22 | None row 13 : 13 | johan granath | sweden | 40.25 | None row 14 : 14 | gaetan boucher | canada | 40.53 | None row 15 : 15 | pertti niittyla | finland | 40.65 | None row 16 : 16 | norio hirate | japan | 40.85 | None row 17 : 16 | archie marshall | great britain | 40.85 | None row 18 : 18 | mikio oyama | japan | 40.9 | None row 19 : 19 | hans van helden | netherlands | 40.91 | None row 20 : 19 | emmanuel michon | france | 40.91 | None row 21 : 21 | kay arne stenshj | norway | 40.94 | None row 22 : 22 | lee yeong-ha | south korea | 41.08 | None row 23 : 23 | bruno toniolli | italy | 41.44 | None row 24 : 24 | harald oehme | east germany | 41.54 | None row 25 : 25 | colin coates | australia | 41.77 | None row 26 : 26 | berend schabus | austria | 42.33 | None row 27 : 27 | heinz steinberger | austria | 43.28 | None row 28 : 28 | jan egil storholt | norway | 18 | None row 29 : None | horst freese | west germany | dnf | None ] Execute this SQL based on the above table: select country where time < ( select time where country = 'japan' order by time limit 397 ) order by time desc limit 1
united states
[ header: # | weekend end date | film | weekend gross (millions) | notes row 1 : 1 | january 6, 2008 | national treasure: book of secrets | $1.65 | None row 2 : 3 | january 20, 2008 | cloverfield | $2.26 | None row 3 : 4 | january 27, 2008 | rambo | $1.71 | meet the spartans was #1 in north row 4 : 6 | february 10, 2008 | fool's gold | $1.55 | None row 5 : 7 | february 17, 2008 | jumper | $2.06 | None row 6 : 8 | february 24, 2008 | vantage point | $1.55 | None row 7 : 11 | march 16, 2008 | horton hears a who! | $2.89 | None row 8 : 12 | march 23, 2008 | horton hears a who! | $1.99 | None row 9 : 13 | march 30, 2008 | 21 | $2.17 | None row 10 : 14 | april 6, 2008 | 21 | $1.63 | None row 11 : 15 | april 13, 2008 | prom night | $1.25 | None row 12 : 18 | may 4, 2008 | iron man | $7.49 | None row 13 : 19 | may 11, 2008 | iron man | $3.93 | None row 14 : 20 | may 18, 2008 | the chronicles of narnia: prince | $4.11 | None row 15 : 21 | may 25, 2008 | indiana jones and the kingdom of | $7.00 | None row 16 : 22 | june 1, 2008 | sex and the city | $4.88 | None row 17 : 26 | june 29, 2008 | wanted | $3.10 | wall-e was #1 in north america row 18 : 27 | july 6, 2008 | hancock | $3.67 | None row 19 : 28 | july 13, 2008 | hellboy ii: the golden army | $2.50 | None row 20 : 29 | july 20, 2008 | the dark knight | $10.53 | the dark knight had the highest weekend debut of 2008 row 21 : 31 | august 3, 2008 | the dark knight | $3.65 | None row 22 : 32 | august 10, 2008 | the dark knight | $2.39 | None row 23 : 33 | august 17, 2008 | tropic thunder | $2.11 | None row 24 : 34 | august 24, 2008 | tropic thunder | $1.45 | None row 25 : 35 | august 31, 2008 | tropic thunder | $1.48 | None row 26 : 37 | september 14, 2008 | burn after reading | $1.75 | None row 27 : 38 | september 21, 2008 | burn after reading | $1.15 | lakeview terrace was #1 in north america row 28 : 39 | september 28, 2008 | eagle eye | $2.20 | None row 29 : 40 | october 5, 2008 | eagle eye | $1.16 | beverly hills chihuah row 30 : 41 | october 12, 2008 | body of lies | $1.18 | beverly hills chihuah row 31 : 42 | october 19, 2008 | max payne | $1.50 | None row 32 : 44 | november 2, 2008 | zack & miri make a | $1.53 | high school musical 3: senior year was #1 in row 33 : 46 | november 16, 2008 | quantum of solace | $7.64 | None row 34 : 47 | november 23, 2008 | twilight | $5.30 | None row 35 : 49 | december 7, 2008 | twilight | $1.52 | four christmases was #1 in north america row 36 : 50 | december 14, 2008 | the day the earth stood still | $1.81 | None row 37 : 51 | december 21, 2008 | yes man | $1.22 | None row 38 : 52 | december 28, 2008 | the curious case of benjamin button | $2.22 | marley & me was #1 in north ] Execute this SQL based on the above table: select sum ( weekend gross (millions) )
109.18000000000002
[ header: season | division | w-l | finish | home | road | gf | ga | coach | playoffs | avg attendance row 1 : 2006 | western | 1-15 | 6th | 0-8 | 1-7 | 150 | 202 | paul day | missed playoffs | 10367 row 2 : 2007 | western | 6-10 | 5th | 4-4 | 2-6 | 160 | 189 | paul day | missed playoffs | 10815 row 3 : 2008 | western | 4-12 | 5th | 3-5 | 1-7 | 141 | 197 | paul day (0-5) bob ham | missed playoffs | 8820 row 4 : 2009 | western | 5-11 | 6th | 4-4 | 1-7 | 159 | 200 | bob hamley | missed playoffs | 8347 row 5 : 2010 | western | 10-6 | 3rd | 5-3 | 5-3 | 186 | 201 | derek keenan | lost in western final | 7558 row 6 : 2011 | western | 5-11 | 5th | 4-4 | 1-7 | 175 | 204 | derek keenan | missed playoffs | 7151 row 7 : 2012 | western | 6-10 | 4th | 4-4 | 2-6 | 167 | 175 | derek keenan | lost in final | 7050 row 8 : 2013 | western | 9-7 | 3rd | 2-6 | 7-1 | 203 | 170 | derek keenan | lost in western semi-final | 6714 row 9 : total | 8 seasons | 46-82 | None | 26-38 | 20-44 | 1341 | 1538 | None | None | 8353 row 10 : playoff totals | None | 3-3 | None | 0-0 | 3-3 | 73 | 54 | None | None | None ] Execute this SQL based on the above table: select avg attendance where home = '4-4'
10815, 8347, 7151, 7050
[ header: year | team | games | combined tackles | tackles | assisted tackles | sacks | forced fumbles | fumble recoveries | fumble return yards | interceptions | interception return yards | yards per interception return | longest interception return | interceptions returned for touchdown | passes defended row 1 : 2001 | cin | 15 | 53 | 41 | 12 | 8.5 | 0 | 0 | 0 | 2 | 28 | 14 | 21 | 0 | 5 row 2 : 2002 | cin | 16 | 59 | 47 | 12 | 6.5 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 row 3 : 2003 | cin | 16 | 60 | 41 | 19 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 row 4 : 2004 | cin | 16 | 70 | 41 | 29 | 8 | 2 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 2 row 5 : 2005 | cin | 16 | 65 | 45 | 20 | 6 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 row 6 : 2006 | cin | 16 | 81 | 50 | 31 | 7.5 | 1 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 3 row 7 : 2007 | cin | 16 | 78 | 49 | 29 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 row 8 : 2008 | sf | 16 | 73 | 50 | 23 | 7 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 row 9 : 2009 | sf | 16 | 55 | 40 | 15 | 6 | 2 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 row 10 : 2010 | sf | 16 | 70 | 57 | 13 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 row 11 : 2011 | sf | 16 | 58 | 45 | 13 | 7.5 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 row 12 : 2012 | sf | 14 | 66 | 47 | 19 | 3 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 row 13 : 2013 | sf | 16 | 49 | 32 | 17 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 row 14 : career | None | 205 | 837 | 585 | 252 | 82 | 15 | 9 | 0 | 3 | 28 | 9 | 21 | 0 | 29 ] Execute this SQL based on the above table: select count ( team ) where tackles = 0
0
[ header: bank | foundation | # of branches as of 30 september 2012 | total assets (million tl) as of 30 september 2012 row 1 : turkiye is bankası | 1924 | 1294 | 210535 row 2 : ziraat bankası | 1863 | 1510 | 207871 row 3 : garanti bank | 1946 | 947 | 154550 row 4 : akbank | 1948 | 963 | 150241 row 5 : yapı ve kred | 1944 | 949 | 160309 row 6 : halk bankası | 1938 | 807 | 116372 row 7 : vakıfbank | 1954 | 741 | 135578 row 8 : finansbank | 1987 | 530 | 49902 row 9 : turk ekonomi bankas | 1927 | 510 | 42505 row 10 : denizbank | 1997 | 624 | 40457 row 11 : hsbc bank | 1990 | 331 | 25797 row 12 : ing bank | 1984 | 320 | 23184 row 13 : turk eximbank | 1987 | 2 | 14724 row 14 : sekerbank | 1953 | 272 | 14656 row 15 : iller bankası | 1933 | 19 | 12309 row 16 : turkiye sına | 1950 | 4 | 9929 row 17 : alternatif bank | 1992 | 63 | 7904 row 18 : citibank | 1980 | 37 | 7884 row 19 : anadolubank | 1996 | 88 | 7218 row 20 : burgan bank | 1992 | 60 | 4275 row 21 : imkb takas ve | 1995 | 1 | 3587 row 22 : tekstilbank | 1986 | 44 | 3502 row 23 : deutsche bank | 1988 | 1 | 3426 row 24 : fibabanka | 1984 | 27 | 3120 row 25 : aktif yatırım | 1999 | 7 | 2997 row 26 : the royal bank of scotland | 1921 | 3 | 2750 row 27 : turkiye kalkın | 1975 | 1 | 2651 row 28 : turkland bank | 1991 | 27 | 2649 row 29 : arap turk bankası | 1977 | 7 | 2147 row 30 : merrill lynch | 1992 | 1 | 1898 row 31 : bankpozitif | 1999 | 1 | 1788 row 32 : societe generale | 1989 | 16 | 1457 row 33 : turkish bank | 1982 | 20 | 837 row 34 : jpmorgan chase | 1984 | 1 | 830 row 35 : birlesik fon banka | 1958 | 1 | 801 row 36 : bank mellat | 1982 | 3 | 729 row 37 : portigon | 1985 | 1 | 279 row 38 : nurol yatırım bank | 1999 | 2 | 227 row 39 : diler yatırım bank | 1998 | 1 | 108 row 40 : gsd yatırı | 1998 | 1 | 108 row 41 : habib bank limited | 1983 | 1 | 80 row 42 : credit agricole | 1990 | 1 | 72 row 43 : adabank | 1985 | 1 | 51 row 44 : taib yatır | 1987 | 1 | 18 ] Execute this SQL based on the above table: select bank where id = 22
tekstilbank
[ 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 nation where id = ( select id where nation = 'germany (ger)' ) - 1
canada (can)
[ header: name | elected party | constituency | elected date | military service row 1 : john pallett | progressive conservative | peel | march 22, 1954 | canadian army (1942-1946) row 2 : william albert patterson | conservative | colchester | march 5, 1891 | militia row 3 : william hector payne | progressive conservative | coast-capilano | march 31, 1958 | canadian army (1941-1945) row 4 : george randolph pearkes | progressive conservative | nanaimo | june 11, 1945 | canadian army (1915-1945) row 5 : lester bowles pearson | liberal | algoma east | october 25, 1948 | canadian army (1914-1917), royal row 6 : cyrus wesley peck | unionist | skeena | december 17, 1917 | canadian army (1914-1925) row 7 : charles alphonse pantaleon | liberal | kamouraska | february 17, 1869 | militia row 8 : irenee pelletier | liberal | sherbrooke | october 30, 1972 | royal canadian air force (1960-1962 row 9 : louis-philippe pelletier | conservative | quebec county | september 21, 1911 | militia row 10 : lawrence t. pennell | liberal | brant-haldimand | june 18, 1962 | royal canadian air force row 11 : robert pennock | progressive conservative | etobicoke north | september 4, 1984 | canadian army (1951-1952), royal row 12 : arnold peters | cooperative commonwealth federation | timiskaming | june 10, 1957 | royal canadian air force (1942-1945 row 13 : orville h. phillips | progressive conservative | prince | june 10, 1957 | royal canadian air force (1942-1945 row 14 : elmore philpott | liberal | vancouver south | august 10, 1953 | canadian army (1915-1919) row 15 : bernard pilon | liberal | chambly-rouville | june 18, 1962 | canadian army (1941-1945) row 16 : alfred pinsonneault | conservative | laprairie | september 20, 1867 | militia (1855-1862) row 17 : d'arcy britton plu | conservative | victoria | december 6, 1928 | royal flying corps row 18 : william albert pommer | liberal | lisgar | august 10, 1953 | canadian army row 19 : john henry pope | liberal-conservative | compton | september 20, 1867 | militia row 20 : john poupore | conservative | pontiac | september 17, 1878 | militia (1869-) row 21 : charles gavan power | liberal | quebec south | december 17, 1917 | canadian army (1915-1918) row 22 : russ powers | liberal | ancaster--dundas-- | june 28, 2004 | canadian forces land force command row 23 : david price | progressive conservative | compton-stanstead | june 2, 1997 | canadian army (1959-1965) row 24 : william price | conservative | quebec west | october 26, 1908 | canadian army row 25 : robert william pritt | new democratic | burnaby-richmond | june 18, 1962 | royal canadian air force (1938-1945 row 26 : john oliver probe | cooperative commonwealth federation | regina city | june 11, 1945 | canadian army (1941-1944) ] Execute this SQL based on the above table: select military service where elected party = 'liberal' and elected party = 'liberal'
canadian army (1914-1917), royal flying corps (1917-1918), militia, royal canadian air force (1960-1962), royal canadian air force, canadian army (1915-1919), canadian army (1941-1945), canadian army, canadian army (1915-1918), canadian forces land force command
[ header: polling firm | month | link | favor | oppose row 1 : rutgers-eagleton | march 2014 | None | 64 | 28 row 2 : quinnipiac | july 2013 | None | 60 | 31 row 3 : rutgers-eagleton | june 2013 | None | 59 | 30 row 4 : quinnipiac | march 2013 | None | 64 | 30 row 5 : public policy polling | november 2012 | None | 53 | 36 row 6 : quinnipiac | february 2012 | None | 57 | 37 row 7 : rutgers-eagleton | february 2012 | None | 54 | 35 row 8 : quinnipiac | january 2012 | None | 52 | 42 row 9 : rutgers-eagleton | october 2011 | None | 52 | 39 row 10 : rutgers-eagleton | august 2011 | None | 52 | 32 row 11 : public policy polling | july 2011 | None | 47 | 42 row 12 : quinnipiac | november 2009 | None | 46 | 49 row 13 : rutgers-eagleton | november 2009 | None | 50 | 42 row 14 : quinnipiac | april 2009 | None | 49 | 43 row 15 : zogby international | august 2008 | None | 50 | 42 row 16 : zogby international | august 2007 | None | 48.1 | 44.6 row 17 : rasmussen reports | july 2006 | None | 42 | 54 row 18 : rutgers-eagleton | june 2006 | pdf | 49 | 44 row 19 : zogby international | february 2006 | None | 56 | 39 row 20 : zogby international | april 2005 | html | 54.5 | 40.1 row 21 : rutgers-eagleton | september 2003 | pdf | 43 | 50 row 22 : zogby international | july 2003 | None | 55 | 41 ] Execute this SQL based on the above table: select month order by id desc limit 1
july 2003
[ header: club | nickname | no. of premierships | premiership years | moved to row 1 : calleen (previously hiawath | blues | 0 | none | disbanded in 1932 row 2 : condobolin-milby | kangaroos | 3 | 1966-67, 1990 | disbanded in 2003 row 3 : four corners | redlegs | 13 | 1928-29-30-31-32, 1937, 1949 | disbanded in 1994 row 4 : kikoira | None | 2 | 1940-41 | disbanded row 5 : lake cargelligo | swans | 0 | none | amalgamated with lake cargelligo tig row 6 : parkes | panthers | 0 | none | central west afl in 2008 row 7 : tallimba | hawks | 0 | none | disbanded in 1987 row 8 : west milby | None | 1 | 1936 | disbanded row 9 : young | saints | 0 | none | central west afl ] Execute this SQL based on the above table: select abs ( ( select no. of premierships where nickname = 'swans' ) - ( select no. of premierships where nickname = 'redlegs' ) )
13.0
[ header: m | date | tournament | round | ground | opponent | score | attendance | dinamo scorers | report row 1 : 2 | 17 jul | supercup | None | h | hajduk split | 1 - 0 | 8000 | biscan | sportnet.hr row 2 : 3 | 20 jul | ucl | qr2 | ar | koper | 0 - 3 | 2000 | None | sportnet.hr row 3 : 9 | 14 aug | 1. hnl | 4 | h | karlovac | 4 - 2 | 400 | sammir (2), kramaric | sportnet.hr row 4 : 13 | 28 aug | 1. hnl | 6 | h | cibalia | 2 - 0 | 3500 | vrsaljko, to | sportnet.hr row 5 : 15 | 16 sep | uel | group | h | villarreal | 2 - 0 | 21000 | rukavina, sam | sportnet.hr row 6 : 17 | 22 sep | cup | r1 | a | zadrugar | 6 - 0 | 1500 | beciraj (2), kramaric | sportnet.hr row 7 : 19 | 30 sep | uel | group | a | paok | 0 - 1 | 25000 | None | sportnet.hr row 8 : 20 | 03 oct | 1. hnl | 10 | h | istra 1961 | 4 - 0 | 1500 | sylvestr, beci | sportnet.hr row 9 : 21 | 16 oct | 1. hnl | 11 | a | osijek | 3 - 1 | 5000 | sammir, badelj, | sportnet.hr row 10 : 23 | 23 oct | 1. hnl | 12 | h | sibenik | 1 - 0 | 3000 | tomecak | sportnet.hr row 11 : 24 | 27 oct | cup | r2 | a | karlovac | 2 - 0 | 1500 | beciraj, cufre | sportnet.hr row 12 : 25 | 30 oct | 1. hnl | 13 | a | inter zapresic | 3 - 0 | 3000 | tonel, sammir, i | sportnet.hr row 13 : 27 | 07 nov | 1. hnl | 14 | h | zadar | 1 - 0 | 4000 | tomecak | sportnet.hr row 14 : 30 | 23 nov | cup | qf | h | osijek | 2 - 0 | 1000 | tonel, kramaric | sportnet.hr row 15 : 31 | 27 nov | 1. hnl | 17 | a | rijeka | 2 - 0 | 2500 | beciraj, badelj | sportnet.hr row 16 : 35 | 15 dec | uel | group | h | paok | 0 - 1 | 25000 | None | sportnet.hr row 17 : 37 | 05 mar | 1. hnl | 20 | h | slaven belupo | 0 - 0 | 500 | None | sportnet.hr row 18 : 39 | 19 mar | 1. hnl | 22 | h | hajduk split | 2 - 0 | 15000 | badelj, beciraj | sportnet.hr row 19 : 44 | 20 apr | cup | sf | a | slaven belupo | 1 - 0 | 3000 | tomecak | sportnet.hr ] Execute this SQL based on the above table: select score where score in ( '4 - 0' , '1 - 0' ) order by m desc limit 1
1 - 0
[ header: place | player | country | score | to par row 1 : t1 | ed sneed | united states | 68-67=135 | -9 row 2 : t1 | craig stadler | united states | 69-66=135 | -9 row 3 : t3 | raymond floyd | united states | 70-68=138 | -6 row 4 : t3 | leonard thompson | united states | 68-70=138 | -6 row 5 : t5 | miller barber | united states | 75-64=139 | -5 row 6 : t5 | tom watson | united states | 68-71=139 | -5 row 7 : t5 | joe inman | united states | 68-71=139 | -5 row 8 : t8 | seve ballesteros | spain | 72-68=140 | -4 row 9 : t8 | jack nicklaus | united states | 69-71=140 | -4 row 10 : t8 | lou graham | united states | 69-71=140 | -4 ] Execute this SQL based on the above table: select max ( to par ) - min ( to par )
5