inputs
stringlengths
291
3.71k
targets
stringlengths
1
2.65k
[ header: township | fips | population center | population | population density /km2 (/sq mi) | land area km2 (sq mi) | water area km2 (sq mi) | water % | geographic coordinates row 1 : ash creek | 2575 | None | 58 | 1 (2) | 93 (36) | 0 (0) | 0.51% | 38°39′17′′n 98° row 2 : black wolf | 7025 | None | 87 | 1 (2) | 94 (36) | 0 (0) | 0.10% | 38°44′40′′n 98° row 3 : carneiro | 10800 | None | 57 | 1 (2) | 93 (36) | 0 (0) | 0.36% | 38°45′2′′n 97° row 4 : clear creek | 13725 | None | 91 | 1 (3) | 94 (36) | 0 (0) | 0.17% | 38°44′10′′n 98° row 5 : columbia | 15025 | None | 60 | 1 (2) | 94 (36) | 0 (0) | 0.04% | 38°50′5′′n 98° row 6 : ellsworth | 20525 | None | 797 | 9 (23) | 88 (34) | 0 (0) | 0.23% | 38°43′6′′n 98° row 7 : empire | 21150 | None | 174 | 1 (3) | 171 (66) | 14 (6) | 7.79% | 38°39′6′′n 98° row 8 : garfield | 25575 | None | 27 | 0 (1) | 92 (36) | 0 (0) | 0.30% | 38°50′9′′n 98° row 9 : langley | 38600 | None | 76 | 1 (2) | 92 (35) | 2 (1) | 1.86% | 38°35′33′′n 97° row 10 : mulberry | 49050 | None | 44 | 0 (1) | 93 (36) | 0 (0) | 0.24% | 38°50′5′′n 97° row 11 : noble | 50825 | None | 90 | 1 (3) | 93 (36) | 0 (0) | 0.04% | 38°44′51′′n 98° row 12 : sherman | 64950 | None | 65 | 1 (2) | 94 (36) | 0 (0) | 0.22% | 38°49′21′′n 98° row 13 : trivoli | 71525 | None | 55 | 1 (2) | 93 (36) | 0 (0) | 0.38% | 38°35′7′′n 98° row 14 : valley | 72800 | holyrood | 577 | 6 (16) | 93 (36) | 0 (0) | 0.14% | 38°34′22′′n 98° ] Execute this SQL based on the above table: select geographic coordinates where population < 57 order by population desc limit 1
38°35′7′′n 98°4′23′′w / 38.58528°n 98.07306°w
[ header: name | lifetime | nationality | notable as | notes row 1 : paul iacono | b. 1988 | american | actor | g row 2 : janis ian | b. 1951 | american | folk musician | l row 3 : witi ihimaera | b. 1944 | new zealand | author | g row 4 : william inge | 1913-1973 | american | playwright, novelist | g row 5 : per imerslund | 1912-1943 | norwegian | nazi socialist soldier, writer | g row 6 : john inman | 1935-2007 | english | actor | g row 7 : daniela irasch | b. 1983 | austrian | ski jumper | l row 8 : doug ireland | b. 1946 | american | journalist, blogger | g row 9 : jim ireton | b. ? | american | politician | g row 10 : evelyn irons | 1900-2000 | scottish | journalist | l row 11 : hakan isacson | 1958-2002 | swedish | intelligence agent | g row 12 : richard isay | b. 1934 | american | author, psychiatrist | g row 13 : sharon isbin | b. 1956 | american | classical musician | l row 14 : taiga ishikawa | b. 1974 | japanese | politician, activist | g row 15 : sam irvin | b. 1956 | american | director | g row 16 : elisabeth ir | 1880-1942 | american | educator, psychologist, reformer | l row 17 : christopher isherwood | 1904-1986 | english | author | g row 18 : arturo islas | 1938-1991 | american | academic | g row 19 : maja ivarsson | b. 1979 | swedish | rock musician (the sounds) | b row 20 : george cecil ives | 1867-1950 | british | poet, writer, penal reformer, gay rights | g row 21 : james ivory | b. 1928 | american | filmmaker | g row 22 : boris izaguirre | b. 1965 | venezuelan | writer | g ] Execute this SQL based on the above table: select count ( notes )
22
[ header: place | player | country | score | to par | money ($) row 1 : t1 | bobby jones (a) | united states | 69-75-71-79=2 | 6 | playoff row 2 : t1 | al espinosa | united states | 70-72-77-75=294 | 6 | playoff row 3 : t3 | gene sarazen | united states | 71-71-76-78=2 | 8 | 700 row 4 : t3 | denny shute | united states | 73-71-76-76=2 | 8 | 700 row 5 : t5 | tommy armour | scotland united states | 74-71-76-76=2 | 9 | 550 row 6 : t5 | george von elm (a | united states | 79-70-74-74=2 | 9 | 0 row 7 : 7 | henry ciuci | united states | 78-74-72-75=2 | 11 | 450 row 8 : t8 | leo diegel | united states | 74-74-76-77=301 | 13 | 300 row 9 : t8 | peter o'hara | united states | 74-76-73-78=301 | 13 | 300 row 10 : 10 | horton smith | united states | 76-77-74-75=30 | 14 | 150 ] Execute this SQL based on the above table: select money ($) where player = 'horton smith'
150
[ header: month | day | visitor | score | home | score row 1 : dec | 28 | spokane | 5 | portland | 4 row 2 : jan | 1 | portland | 7 | seattle | 4 row 3 : jan | 4 | vancouver | 3 | portland | 5 row 4 : jan | 8 | seattle | 1 | spokane | 5 row 5 : jan | 11 | spokane | 1 | seattle | 3 row 6 : jan | 14 | portland | 4 | vancouver | 5 row 7 : jan | 16 | vancouver | 3 | seattle | 12 row 8 : jan | 18 | portland | 3 | spokane | 5 row 9 : jan | 22 | vancouver | 8 | spokane | 5 row 10 : jan | 25 | spokane | 5 | portland | 4 row 11 : jan | 28 | seattle | 2 | vancouver | 3 row 12 : jan | 30 | spokane | 2 | seattle | 4 row 13 : feb | 4 | seattle | 5 | vancouver | 6 (10:45 ot) row 14 : feb | 6 | portland | 3 | seattle | 9 row 15 : feb | 8 | vancouver | 4 | portland | 8 row 16 : feb | 11 | portland | 3 | vancouver | 6 row 17 : feb | 13 | vancouver | 1 | seattle | 3 row 18 : feb | 15 | seattle | 2 | portland | 4 row 19 : feb | 18 | seattle | 1 | vancouver | 8 row 20 : feb | 20 | portland | 2 | seattle | 6 row 21 : feb | 22 | vancouver | 1 | portland | 2 (20:20 ot) row 22 : feb | 25 | portland | 4 | vancouver | 9 row 23 : feb | 27 | vancouver | 1 | seattle | 2 (22:20 ot) row 24 : march | 1 | seattle | 3 | portland | 1 row 25 : march | 4 | portland | 4 | vancouver | 8 row 26 : march | 6 | vancouver | 3 | seattle | 4 (2:58 ot) row 27 : march | 8 | seattle | 6 | portland | 9 ] Execute this SQL based on the above table: select score where home = 'portland' and day = 4
3
[ header: # | title | producer(s) | performer (s) | time row 1 : 1 | "i see dead people" | phd | grand puba, lord jamar, | 4:26 row 2 : 2 | "hunny" | grant parks | grand puba | 4:04 row 3 : 3 | "it is what it is" | phd | grand puba, tiffani davis | 5:03 row 4 : 4 | "how long?" | elements | grand puba | 3:22 row 5 : 5 | "good to go" | q-tip | grand puba, q-tip | 3:53 row 6 : 6 | "same old drama" | large professor | grand puba, large professor | 1:29 row 7 : 7 | "get that money" | phd | grand puba | 3:29 row 8 : 8 | "this joint right here" | grand puba | grand puba, kid capri | 3:17 row 9 : 9 | "go hard" | grand puba | grand puba, talee | 3:35 row 10 : 10 | "reality check" | phd | grand puba, sarah martine | 3:09 row 11 : 11 | "cold cold world" | grand puba | grand puba, khadija mo | 3:31 row 12 : 12 | "smile" | big throwback | grand puba, big phill | 1:55 row 13 : 13 | "the joint right here (remix)" | grand puba | grand puba, kid capri, lor | 3:23 ] Execute this SQL based on the above table: select count ( producer(s) ) where title = '"how long?"'
1
[ header: year | film | role | language | notes row 1 : 2007 | chirutha | sanjna | telugu | debut telugu film row 2 : 2009 | kurradu | hema | telugu | None row 3 : 2010 | crook: it's good to be | suhani | hindi | debut hindi film row 4 : 2012 | teri meri kahaani | meera | hindi | special appearance row 5 : 2012 | kyaa super kool | simran | hindi | None row 6 : 2013 | jayantabhai ki | simran | hindi | None row 7 : 2013 | yamla pagla deewana | suman | hindi | None row 8 : 2014 | youngistaan | anwita chauhan | hindi | None ] Execute this SQL based on the above table: select count ( * ) where film < 575 or ( film = 575 and film < 843 )
0
[ header: class | no | team | drivers | chassis | engine | laps row 1 : gt 1.6 | 186 | luigi rinaldi | luigi rinaldi mario | alfa romeo gta | alfa romeo 1.6 i | 6 row 2 : p 3.0 | 14 | autodelta spa | toine hezemans masten | alfa romeo t33/3 | alfa romeo 3.0l | 5 row 3 : gt 1.6 | 188 | etna | checco d'angelo | alfa romeo gta | alfa romeo 1.6l | 5 row 4 : gt 1.3 | 288 | v10 kleber | ferdi bokmann hans | simca 1300 | simca 1.3l i4 | 5 row 5 : gt 2.0 | 128 | None | ignazio capuano | porsche 911s | porsche 2.0l flat-6 | 4 row 6 : gt 1.6 | 180 | scuderia pegaso | paolo de luca giu | alfa romeo gta | alfa romeo 1.6l | 4 row 7 : s 1.6 | 156 | etna | giuseppe d'amico | alfa romeo giuli | alfa romeo 1.6l | 3 row 8 : gt 1.6 | 198 | salvatore gagliano | salvatore gagliano alfons | alfa romeo gta | alfa romeo 1.6l | 3 row 9 : p 1.0 | 254 | romano martini | francesco patane "oras | fiat-abarth 1000sp | abarth 1.0l i4 | 3 row 10 : gt 1.6 | 264 | romano martini | romano martini alessandro | ats 1000 sp | ford 1.0l i4 | 3 row 11 : p 3.0 | 38 | abarth-osella | arturo merzario johan | abarth 3000sp | abarth 3.0l v8 | 2 row 12 : p 1.0 | 256 | scuderia brescia cor | luigi moreschi "patrizia | ams sp | ford 1.0l i4 | 2 row 13 : p 1.0 | 266 | "gero" | "gero" "roger" | de sanctis | ford 1.0l i4 | 2 row 14 : gt 1.6 | 276 | scuderia pegaso | antonio catalano marc | lancia fulvia hf | lancia 1.6l v4 | 2 row 15 : s 1.3 | 232 | aldo bersano | aldo bersano willi | abarth 1300s | abarth 1.3l i4 | 1 row 16 : gt 1.3 | 272 | jolly club | antonio trenti alber | lancia fulvia hf | lancia 1.6l v4 | 1 row 17 : p 3.0 | 20 | porsche system | vic elford hans her | porsche 908/03 | porsche 3.0l flat-8 | 0 ] Execute this SQL based on the above table: select count ( * ) where drivers = 'francesco patane "oras"'
0
[ header: month | jan | feb | mar | apr | may | jun | jul | aug | sep | oct | nov | dec | year row 1 : record high °c (°f) | 10.8 (51.4) | 10.7 (51.3) | 25.7 (78.3) | 29.2 (84.6) | 35.4 (95.7) | 38.3 (100.9) | 36.7 (98.1) | 40.0 (104) | 35.1 (95.2) | 27.8 (82) | 21.0 (69.8) | 12.9 (55.2) | 40.0 (104) row 2 : average high °c (°f) | -8.5 (16.7) | -6.2 (20.8) | 1.6 (34.9) | 11.6 (52.9) | 18.1 (64.6) | 22.1 (71.8) | 25.2 (77.4) | 24.6 (76.3) | 18.6 (65.5) | 10.8 (51.4) | -0.2 (31.6) | -6.6 (20.1) | 9.3 (48.7) row 3 : daily mean °c (°f) | -14.5 (5.9) | -11.6 (11.1) | -4.1 (24.6) | 4.8 (40.6) | 11.0 (51.8) | 15.5 (59.9) | 18.1 (64.6) | 17.3 (63.1) | 11.6 (52.9) | 4.1 (39.4) | -5.2 (22.6) | -11.9 (10.6) | 4.9 (40.8) row 4 : average low °c (°f) | -19.0 (-2.2) | -16.9 (1.6) | -9.4 (15.1) | -2.1 (28.2) | 3.8 (38.8) | 8.8 (47.8) | 11.0 (51.8) | 10.0 (50) | 4.4 (39.9) | -2.5 (27.5) | -10.4 (13.3) | -17.1 (1.2) | -3.3 (26.1) row 5 : record low °c (°f) | -40.4 (-40.7) | -43.4 (-46.1) | -34.7 (-30.5) | -17.4 (0.7) | -11.4 (11.5) | -2.3 (27.9) | 3.4 (38.1) | -0.0 (32) | -10.7 (12.7) | -26.3 (-15.3) | -36.1 (-33) | -40.4 (-40.7) | -43.4 (-46.1) row 6 : precipitation mm (inches) | 10.9 (0.429) | 6.7 (0.264) | 11.7 (0.461) | 23.5 (0.925) | 40.3 (1.587) | 67.0 (2.638) | 58.4 (2.299) | 43.8 (1.724) | 28.8 (1.134) | 13.2 (0.52) | 10.6 (0.417) | 12.7 (0.5) | 327.6 (12.898) row 7 : rainfall mm (inches) | 0.3 (0.012) | 0.3 (0.012) | 1.7 (0.067) | 15.6 (0.614) | 38.3 (1.508) | 67.0 (2.638) | 58.7 (2.311) | 43.8 (1.724) | 28.5 (1.122) | 8.3 (0.327) | 1.9 (0.075) | 0.2 (0.008) | 264.6 (10.417) ] Execute this SQL based on the above table: select count ( distinct month )
8
[ header: place | position | number | name | league one | fa cup | league cup | football league trophy | total row 1 : 1 | mf | 4 | luke summerfield | 5 | 0 | 0 | 0 | 5 row 2 : 2 | mf | 17 | paul parry | 3 | 0 | 1 | 0 | 4 row 3 : 3 | fw | 24 | tom eaves | 3 | 0 | 0 | 0 | 3 row 4 : 4 | mf | 11 | jon taylor | 1 | 0 | 0 | 1 | 2 row 5 : 4 | df | 5 | darren jones | 2 | 0 | 0 | 0 | 2 row 6 : 4 | mf | 23 | adam reach | 2 | 0 | 0 | 0 | 2 row 7 : 4 | mf | 22 | ryan woods | 2 | 0 | 0 | 0 | 2 row 8 : 4 | fw | 26 | curtis main | 2 | 0 | 0 | 0 | 2 row 9 : 5 | mf | 2 | jermaine grandison | 1 | 0 | 0 | 0 | 1 row 10 : 5 | mf | 8 | dave mcallister | 1 | 0 | 0 | 0 | 1 row 11 : 5 | fw | 15 | aaron wildig | 1 | 0 | 0 | 0 | 1 row 12 : 5 | fw | 29 | asa hall | 1 | 0 | 0 | 0 | 1 row 13 : 5 | fw | 7 | gozie ugwu | 1 | 0 | 0 | 0 | 1 row 14 : 5 | df | 18 | connor goldson | 1 | 0 | 0 | 0 | 1 row 15 : 5 | mf | 10 | nicky wroe | 1 | 0 | 0 | 0 | 1 row 16 : 5 | fw | 9 | tom bradshaw | 1 | 0 | 0 | 0 | 1 ] Execute this SQL based on the above table: select position where id != 1 and league one < 2
mf, mf, mf, fw, fw, fw, df, mf, fw
[ header: # | president | president's party | senate with | senate opposed | house with | house opposed | years served | elections won row 1 : 1 | george washington | federalist-leaning | 8 | 0 | 6 | 2 | 8 | 2 row 2 : 3 | thomas jefferson | democratic-republican | 8 | 0 | 8 | 0 | 8 | 2 row 3 : 4 | james madison | democratic-republican | 8 | 0 | 8 | 0 | 8 | 2 row 4 : 7 | andrew jackson | democratic | 8 | 0 | 8 | 0 | 8 | 2 row 5 : 8 | martin van buren | democratic | 4 | 0 | 4 | 0 | 4 | 1 row 6 : 10 | john tyler | whig/none | 4 | 0 | 2 | 2 | 4 | 0 row 7 : 13 | millard fillmore | whig | 0 | 3 | 0 | 3 | 3 | 0 row 8 : 15 | james buchanan | democratic | 4 | 0 | 2 | 2 | 4 | 1 row 9 : 16 | abraham lincoln | republican | 4 | 0 | 4 | 0 | 4 | 2 row 10 : 17 | andrew johnson | democratic | 0 | 4 | 0 | 4 | 4 | 0 row 11 : 18 | ulysses grant | republican | 8 | 0 | 6 | 2 | 8 | 2 row 12 : 20 | james garfield | republican | 0 | 0.5 | 0.5 | 0 | 0.5 | 1 row 13 : 21 | chester arthur | republican | 4 | 0 | 2 | 2 | 4 | 0 row 14 : 24 | grover cleveland | democratic | 2 | 2 | 2 | 2 | 4 | 1 row 15 : 25 | william mckinley | republican | 4 | 0 | 4 | 0 | 4 | 2 row 16 : 26 | theodore roosevel | republican | 8 | 0 | 8 | 0 | 8 | 1 row 17 : 27 | william taft | republican | 4 | 0 | 2 | 2 | 4 | 1 row 18 : 28 | woodrow wilson | democratic | 6 | 2 | 6 | 2 | 8 | 2 row 19 : 29 | warren harding | republican | 2 | 0 | 2 | 0 | 2 | 1 row 20 : 30 | calvin coolidge | republican | 6 | 0 | 6 | 0 | 6 | 1 row 21 : 31 | herbert hoover | republican | 4 | 0 | 2 | 2 | 4 | 1 row 22 : 34 | dwight eisenhower | republican | 2 | 6 | 2 | 6 | 8 | 2 row 23 : 36 | lyndon johnson | democratic | 5 | 0 | 5 | 0 | 5 | 1 row 24 : 38 | gerald ford | republican | 0 | 2 | 0 | 2 | 2 | 0 row 25 : 39 | jimmy carter | democratic | 4 | 0 | 4 | 0 | 4 | 1 row 26 : 41 | george h. w. bush | republican | 0 | 4 | 0 | 4 | 4 | 1 row 27 : 42 | bill clinton | democratic | 2 | 6 | 2 | 6 | 8 | 2 row 28 : 43 | george w. bush | republican | 4.5 | 3.5 | 6 | 2 | 8 | 2 row 29 : 44 | barack obama | democratic | 6 | 0 | 2 | 4 | 6 | 2 ] Execute this SQL based on the above table: select president's party order by id desc limit 1
democratic
[ header: name | lifetime | nationality | notable as | notes row 1 : peter fallico | b. ? | canadian | interior designer, television personality | g row 2 : sam falson | b. 1982 | american | singer | g row 3 : rotimi fani-kayode | 1955-1989 | nigerian | photographer | g row 4 : gareth farr | b. 1968 | new zealander | contemporary classical composer, drag performer | g row 5 : james fenton | b. 1949 | english | writer, academic | g row 6 : lynne fernie | b. 1946 | canadian | filmmaker | l row 7 : mark ferrandino | b. 1977 | american | politician | g row 8 : frank ferri | b. 1954 | american | politician | g row 9 : patricia field | b. 1941 | american | costume designer, stylist | l row 10 : harvey fierstein | b. 1952 | american | actor | g row 11 : william p. fitzpatrick | b. ? | american | politician | g row 12 : rosanna flamer-caldera | b. ? | sri lankan | activist | l row 13 : gustave flaubert | 1821-1880 | french | author | b row 14 : kate fleming | 1965-2006 | american | audio book narrator and producer | l row 15 : elizabeth gurley fly | 1890-1964 | american | activist | b row 16 : waawaate fobister | b. 1984 | canadian | writer, actor | g row 17 : mark foley | b. 1954 | american | u.s. representative (r-f | g row 18 : e. m. forster | 1879-1970 | british | writer | g row 19 : jackie forster | 1926-1998 | english | actor, activist | l row 20 : wolfgang fortner | 1907-1987 | german | classical composer and conductor | g row 21 : pim fortuyn | 1948-2002 | dutch | politician, academic and sociologist | g row 22 : per-kristian foss | b. 1950 | norwegian | politician, first openly gay minister in norway | g row 23 : michel foucault | 1926-1984 | french | philosopher, historian | b row 24 : virgil fox | 1912-1980 | american | classical musician | g row 25 : david france | b. ? | american | journalist, filmmaker | g row 26 : kay francis | 1905-1968 | american | actor | b row 27 : margo frasier | b. ? | american | first openly lesbian sheriff elected to office | l row 28 : marcia freedman | b. 1938 | israeli-american | activist | l row 29 : elsa von freytag-lor | 1874-1927 | german-american | artist, poet | b row 30 : benedict friedlander | 1866-1908 | german | early gay rights activist, author | g row 31 : adrian fulford | b. 1953 | british | judge | g row 32 : bryan fuller | b. 1969 | american | tv writer | g row 33 : wes funk | b. ? | canadian | writer | g row 34 : sia furler | b. 1975 | australian | pop singer | b ] Execute this SQL based on the above table: select count ( * ) where notes = 'g'
21
[ header: position | swara | short name | notation | mnemonic row 1 : 1 | shadja | sa | s | sa row 2 : 2 | shuddha rishabha | ri | r1 | ra row 3 : 3 | chatushruti rishabha | ri | r2 | ri row 4 : 3 | shuddha gandhara | ga | g1 | ga row 5 : 4 | shatshruti ris | ri | r3 | ru row 6 : 4 | sadharana gandhara | ga | g2 | gi row 7 : 5 | antara gandhara | ga | g3 | gu row 8 : 6 | shuddha madhyama | ma | m1 | ma row 9 : 7 | prati madhyama | ma | m2 | mi row 10 : 8 | panchama | pa | p | pa row 11 : 9 | shuddha dhaivat | dha | d1 | dha row 12 : 10 | chatushruti dhaivata | dha | d2 | dhi row 13 : 10 | shuddha nishada | ni | n1 | na row 14 : 11 | shatshruti dha | dha | d3 | dhu row 15 : 11 | kaisiki nishada | ni | n2 | ni row 16 : 12 | kakali nishada | ni | n3 | nu ] Execute this SQL based on the above table: select ( select position where short name = 'ri' ) - ( select position where short name = 'pa' )
-6.0
[ header: song | chinese | hito radio top 10 | 9+2 music top 15 | global asia top 15 | ufo radio top 15 | channel [v] top 20 | mtv taiwan top 20 | yes 93.3 top 20 row 1 : super star | None | 3 | None | >4 | 3 | 4 | None | 14 row 2 : far away | 遠方 | None | None | 3 | 2 | 5 | None | 7 row 3 : half-sugarism | 半糖主義 | 3 | None | None | 7 | None | 3 | None row 4 : river shore park | 河濱公園 | 1 | 2 | None | None | None | None | None row 5 : i.o.i.o | None | 2 | None | None | 5 | 3 | None | None row 6 : heavy rain | 落大雨 | 1 | None | None | None | None | >1 | None row 7 : smile of summer | 夏天的微笑 | 3 | None | None | None | None | 7 | None ] Execute this SQL based on the above table: select chinese where chinese = '河濱公園'
河濱公園
[ header: from | to | name | party | position row 1 : 1870 | 1897 | eugene bernain | None | None row 2 : 1897 | None | albert le barillier | None | None row 3 : 1935 | 1937 | daubin | None | doctor row 4 : 1937 | 1941 | francois dommain | radical | None row 5 : 1971 | 1993 | victor mendiboure | udf | None row 6 : 1993 | 1999 | michel bonnet | udf | None row 7 : 1999 | 2001 | alain lamassoure | udf | vice president of the udf advisor to row 8 : 2001 | 2008 | robert villenave | udf ps | vice-president of cabab vice-p ] Execute this SQL based on the above table: select name where name != 'daubin' and party = 'radical'
francois dommain
[ header: year | association | category | nominated work | result row 1 : 1991 | tony awards | best actress in a play | our country's good | nominated row 2 : 1995 | drama desk awards | outstanding actress in a play | the heiress | won row 3 : 1995 | tony awards | best actress in a play | the heiress | won row 4 : 1998 | drama desk awards | outstanding actress in a play | pride's crossing | won row 5 : 2000 | tony awards | best actress in a play | a moon for the misbegotten | nominated row 6 : 2004 | glaad media awards | vito russo award | herself | won row 7 : 2005 | drama desk awards | outstanding actress in a play | doubt | won row 8 : 2005 | tony awards | best actress in a play | doubt | won row 9 : 2006 | drama desk awards | outstanding actress in a play | faith healer | nominated row 10 : 2009 | primetime emmy awards | outstanding supporting actress in a drama series | 24 | won row 11 : 2009 | satellite awards | best supporting actress - series, miniseries | 24 | nominated ] Execute this SQL based on the above table: select category where association > ( select association where category = 'outstanding actress in a play' ) order by association limit 1
vito russo award
[ header: year | song | u.s. | u.s. r&b | u.s. ac | uk | album row 1 : 1986 | "strollin' on" | None | None | None | 32 | intentions row 2 : 1986 | "in the springtime" | None | None | None | 54 | you're safe row 3 : 1986 | "crazy love" | None | None | None | 67 | intentions row 4 : 1987 | "let me know" | None | None | None | 49 | intentions row 5 : 1987 | "woman in you" | None | None | None | None | intentions row 6 : 1987 | "some guys have all the luck" | None | None | None | 12 | None row 7 : 1989 | "wild world" | 25 | None | None | 5 | maxi priest row 8 : 1990 | "human work of art" | None | None | None | 71 | bonafide row 9 : 1990 | "close to you" | 1 | 2 | 15 | 7 | bonafide row 10 : 1990 | "just a little bit longer" | 62 | 30 | None | 62 | bonafide row 11 : 1991 | "space in my heart" | None | 76 | None | None | bonafide row 12 : 1991 | "set the night to music" (with | 6 | 45 | 2 | None | set the night to music (roberta row 13 : 1992 | "groovin' in the midnight" | 63 | 29 | None | 50 | fe real row 14 : 1993 | "one more chance" | None | 77 | None | 40 | fe real row 15 : 1996 | "that girl" (with shaggy) | 20 | 34 | None | 15 | man with the fun row 16 : 1996 | "watching the world go by" | None | None | None | 36 | man with the fun row 17 : 2009 | "2 play feat maxi priest - that | None | None | None | None | None ] Execute this SQL based on the above table: select count ( album ) where album = 'intentions'
4
[ header: season | driver | equipment | position | points | races | wins | second | third row 1 : 2001 | modris stelle | zabel-ayr | 27 | 14 | 10 | None | None | None row 2 : 2002 | modris stelle | zabel-ayr | 23 | 69 | 12 | None | None | None row 3 : 2003 | daniel willemsen | zabel-vmc | 1 | 561 | 24 | 13 | 9 | None row 4 : 2004 | daniel willemsen | zabel-vmc | 1 | 572 | 26 | 18 | 4 | 1 row 5 : 2005 | kristers sergis | mth-bsu | 2 | 440 | 22 | 7 | 12 | None row 6 : 2006 | kristers sergis | ktm-mefo | 19 | 64 | 4 | None | 2 | 1 row 7 : 2007 | kristers sergis | ktm-mefo | 3 | 242 | 16 | 1 | 8 | 1 row 8 : 2008 | kristers sergis | ktm-ayr | 2 | 434 | 24 | 4 | 12 | 2 row 9 : 2009 | nicky pulinx | zabel-vmc | 12 | 229 | 25 | None | None | None row 10 : 2010 | maris rupeiks | ktm-wsp | 5 | 423 | 28 | 1 | 4 | 2 row 11 : 2011 | maris rupeiks | zabel-wsp | 4 | 316 | 22 | 1 | 4 | None row 12 : 2012 | etienne bax | zabel-wsp | 2 | 447 | 22 | 9 | 8 | 1 row 13 : 2013 | etienne bax | zabel-vmc | 2 | 513 | 25 | 14 | 6 | None row 14 : None | overall 2001 - 2013 | None | None | 4224 | 250 | 68 | 69 | 8 ] Execute this SQL based on the above table: select ( select driver where driver = 'etienne bax' ) > 4
1
[ header: rank | bib | country | distance (m) | points | time difference row 1 : 1 | 14 | germany tino edelmann | 124.5 127.0 | 264.3 128.0 136.3 | 0:00 row 2 : 2 | 10 | japan akito watabe t | 123.5 126.0 | 258.4 126.4 132.0 | +0:12 row 3 : 3 | 12 | austria bernhard gruber w | 123.0 122.0 | 251.8 123.3 128.5 | +0:25 row 4 : 4 | 11 | france jason lamy-chappuis | 120.5 118.5 | 242.7 121.8 120.9 | +0:43 row 5 : 5 | 13 | norway mikko kokslien | 118.0 118.5 | 238.1 116.8 121.3 | +0:52 row 6 : 6 | 8 | czech republic miroslav d | 114.5 120.0 | 232.8 110.7 122.1 | +1:03 row 7 : 7 | 7 | slovenia mitja oranic mar | 109.5 123.5 | 227.8 99.5 128.3 | +1:13 row 8 : 8 | 6 | finland ilkka herola | 120.5 113.5 | 226.6 115.4 111.2 | +1:15 row 9 : 9 | 4 | estonia han-hendrik pih | 113.0 113.0 | 217.5 107.4 110.1 | +1:34 row 10 : 10 | 9 | united states bill demong taylor | 111.0 112.5 | 214.1 104.9 109.2 | +1:40 row 11 : 11 | 1 | ukraine viktor pasichny | 107.0 115.0 | 206.2 95.7 110.5 | +1:56 row 12 : 12 | 2 | russia ernest yahin | 110.0 109.5 | 204.8 101.8 103.0 | +1:59 row 13 : 13 | 5 | italy armin bauer aless | 105.0 113.5 | 203.0 92.7 110.3 | +2:03 row 14 : 14 | 3 | switzerland seppi hur | 102.5 113.0 | 196.2 88.1 108.1 | +2:16 ] Execute this SQL based on the above table: select country order by time difference asc limit 1
germany tino edelmann eric frenzel
[ header: | 1965 | 1960 | 1960 | 1970 | 1970 row 1 : world | 3334874000 | 3021475000 | 313399000 | 3692492000 | 357618000 row 2 : africa | 313744000 | 277398000 | 36346000 | 357283000 | 43539000 row 3 : asia | 1899424000 | 1701336000 | 198088000 | 2143118000 | 243694000 row 4 : europe | 634026000 | 604401000 | 29625000 | 655855000 | 21829000 row 5 : latin america | 250452000 | 218300000 | 1270000 | 284856000 | 34404000 row 6 : northern america | 219570000 | 204152000 | 15418000 | 231937000 | 12367000 row 7 : oceania | 17657000 | 15888000 | 1769000 | 19443000 | 1786000 ] Execute this SQL based on the above table: select count ( * ) where = 'latin america'
1
[ header: draw | artist | song | jury | televote | total | place row 1 : 1 | kasia nova | "the devil" | 0 | 1 | 1 | 11 row 2 : 2 | edi ann | "lovin'u" | 7 | 5 | 12 | 4 row 3 : 3 | izabela kopec | "you've got my love" | 4 | 6 | 10 | 6 row 4 : 4 | starnawski & urban noiz | "it's not a game" | 5 | 0 | 5 | 10 row 5 : 5 | queens | "i say my body" | 0 | 0 | 0 | 12 row 6 : 6 | isis gee | "for life" | 12 | 12 | 24 | 1 row 7 : 7 | man meadow | "viva la musica" | 2 | 10 | 12 | 3 row 8 : 8 | afromental | "thing we've got" | 3 | 4 | 7 | 9 row 9 : 9 | plastic | "do something" | 10 | 2 | 12 | 5 row 10 : 10 | sandra oxenryd | "superhero" | 6 | 3 | 9 | 8 row 11 : 11 | natasza urbanska | "blow over" | 8 | 7 | 15 | 2 row 12 : 12 | margo | "dlatego walcz" | 1 | 8 | 9 | 7 ] Execute this SQL based on the above table: select artist where id = 1
kasia nova
[ header: year | title | role | notes row 1 : 1995 | new york undercover | herself | "private enemy no. 1" (ep row 2 : 1998 | the jamie foxx show | ola mae | "papa don't preach" (e row 3 : 1999 | moesha | herself | "good vibrations?" (episo row 4 : 2001 | angel: one more road to cross | guardian angel | direct to dvd row 5 : 2001 | prison song | mrs. butler | main role row 6 : 2001 | strong medicine | simone fellows | "history" (episode row 7 : 2007 | ghost whisperer | jackie boyd | "mean ghost" (episo row 8 : 2007 | entourage | herself | "gary's desk" (ep row 9 : 2009 | i can do bad all by myself | tanya | supporting role row 10 : 2009 | 30 rock | herself | guest row 11 : 2010 | american idol | guest judge/herself | auditions were held in atlanta, ge row 12 : 2012 | rock of ages | justice charlier | None row 13 : 2013 | betty and coretta | dr. betty shab | an original lifetime movie row 14 : 2013 | the x factor | guest judge/herself | blige assisted nicole scher row 15 : 2013 | black nativity | platinum fro | None ] Execute this SQL based on the above table: select year where role = 'herself' and year = 2007
2007
[ header: party | candidate | votes row 1 : labour | james kinney | 5513 row 2 : labour | james east | 4847 row 3 : labour | rice sheppard | 4644 row 4 : citizens' committee | percy abbott | 4233 row 5 : citizens' committee | john bowen | 4093 row 6 : citizens' committee | george h. scott | 3835 row 7 : labour | james findlay | 3775 row 8 : labour | j. j. murray | 3696 row 9 : citizens' committee | valentine richards | 3524 row 10 : citizens' committee | charles grant | 3230 row 11 : independent | charles g. davidson | 2982 row 12 : independent | joseph adair | 2356 ] Execute this SQL based on the above table: select party where party = 'labour'
labour, labour, labour, labour, labour
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 15 august 2012 | ullevaal stadion, | norway | 1-3 | 2-3 | friendly row 2 : 2 | 11 september 2012 | karaiskakis stadium, pir | lithuania | 2-0 | 2-0 | 2014 fifa world cup qualifier row 3 : 3 | 14 august 2013 | red bull arena, salzburg, austria | austria | 0-1 | 0-2 | friendly row 4 : 4 | 14 august 2013 | red bull arena, salzburg, austria | austria | 0-2 | 0-2 | friendly row 5 : 5 | 6 september 2013 | rheinpark stadion, | liechtenstein | 0-1 | 0-1 | 2014 fifa world cup qualifier row 6 : 6 | 15 november 2013 | karaiskakis stadium, pir | romania | 1-0 | 3-1 | 2014 fifa world cup qualifier - row 7 : 7 | 15 november 2013 | karaiskakis stadium, pir | romania | 3-1 | 3-1 | 2014 fifa world cup qualifier - row 8 : 8 | 19 november 2013 | arena nationala, bucharest, roman | romania | 0-1 | 1-1 | 2014 fifa world cup qualifier - ] Execute this SQL based on the above table: select count ( * ) where venue + competition = 1
0
[ header: album title | format | year | original label | chart positions row 1 : distant plastic trees | lp | 1991 | red flame | None row 2 : the wayward bus | lp | 1992 | popup | None row 3 : the house of tomorrow | ep | 1992 | feel good all over | None row 4 : the charm of the highway strip | lp | 1994 | merge records | None row 5 : holiday | lp | 1994 | feel good all over | None row 6 : get lost | lp | 1995 | merge records | None row 7 : 69 love songs | lp | 1999 | merge records | None row 8 : i | lp | 2004 | nonesuch records | #152 (billboard 200) row 9 : distortion | lp | 2008 | nonesuch records | #77 (billboard 200) row 10 : realism | lp | 2010 | nonesuch records | #110 (billboard 200) row 11 : love at the bottom of the sea | lp | 2012 | merge records | #89 (billboard 200) ] Execute this SQL based on the above table: select count ( * ) where chart positions = 7
0
[ header: | | | | | row 1 : world record | snatch | akakios kakias | 188 kg | athens, greece | 27 november 1999 row 2 : world record | clean & jerk | szymon kołecki | 232 kg | sofia, bulgaria | 29 april 2000 row 3 : world record | total | akakios kakias | 412 kg | athens, greece | 27 november 1999 row 4 : asian record | snatch | kourosh bagheri ( | 187 kg | sydney, australia | 24 september 2000 row 5 : asian record | clean & jerk | ilya ilyin (kaz) | 226 kg | doha, qatar | 5 december 2006 row 6 : asian record | total | kourosh bagheri ( | 407 kg | antalya, turkey | 9 november 2001 row 7 : games record | snatch | bakhyt akhmetov | 185 kg | busan, south korea | 8 october 2002 row 8 : games record | clean & jerk | ilya ilyin (kaz) | 226 kg | doha, qatar | 5 december 2006 row 9 : games record | total | bakhyt akhmetov | 400 kg | busan, south korea | 8 october 2002 ] Execute this SQL based on the above table: select where = 'total'
412.0, 407.0, 400.0
[ header: code | county | former province | area (km2) | population census 2009 | capital row 1 : 1 | mombasa | coast | 212.5 | 939370 | mombasa (city) row 2 : 2 | kwale | coast | 8270.3 | 649931 | kwale row 3 : 3 | kilifi | coast | 12245.9 | 1109735 | kilifi row 4 : 4 | tana river | coast | 35375.8 | 240075 | hola row 5 : 5 | lamu | coast | 6497.7 | 101539 | lamu row 6 : 6 | taita-tavet | coast | 17083.9 | 284657 | voi row 7 : None | totals | None | 79686.1 | 3325307 | None ] Execute this SQL based on the above table: select min ( min ( population census 2009 ) , min ( population census 2009 ) )
101539.0
[ header: date | time | opponent | site | tv | result | attendance | record row 1 : 11/03/2012 | 7:30 pm | central missouri | dunn center • clarksville, | None | w 75-66 | None | None row 2 : 11/09/2012 | 7:00 pm | samford | dunn center • clarksville, | None | w 75-64 | 2315 | 1-0 row 3 : 11/13/2012 | 7:00 pm | at wku | e. a. diddle arena • | None | l 54-74 | 4160 | 1-1 row 4 : 11/20/2012 | 12:30 pm | vs. western carolina | moon palace resort • cancun, mex | None | w 72-71 | 902 | 2-2 row 5 : 11/28/2012 | 7:00 pm | berea | dunn center • clarksville, | None | w 108-53 | 2023 | 3-3 row 6 : 12/01/2012 | 7:30 pm | fairfield | dunn center • clarksville, | None | l 55-74 | 2208 | 3-4 row 7 : 12/05/2012 | 7:00 pm | oakland city | dunn center • clarksville, | None | w 88-63 | 2012 | 4-4 row 8 : 12/08/2012 | 12:00 pm | at memphis | fedexforum • memphis, t | None | l 65-83 | 15249 | 4-5 row 9 : 12/16/2012 | 2:05 pm | at arkasnas state | convocation center • jonesboro, ar | None | l 57-69 | 2652 | 4-6 row 10 : 12/18/2012 | 7:00 pm | lipscomb | dunn center • clarksville, | None | l 84-87 | 2498 | 4-7 row 11 : 12/28/2012 | 3:30 pm | vs. utah valley | mckenzie arena • chattano | None | l 77-84 | 2568 | 4-9 row 12 : 12/29/2012 | 3:30 pm | vs. high point | mckenzie arena • chattano | None | l 74-76 | 2534 | 4-10 row 13 : 01/03/2013 | 7:00 pm | at southeast missouri state | show me center • cape girardeau | None | l 84-86 | 1845 | 4-11 (0-1) row 14 : 01/05/2013 | 6:20 pm | at tennessee-martin | skyhawk arena • martin, t | None | l 74-76 ot | 2578 | 4-12 (0-2) row 15 : 01/12/2013 | 7:30 pm | murray state | dunn center • clarksville, | espn3 | l 68-71 | 4718 | 5-13 (1-3) row 16 : 01/17/2013 | 7:00 pm | siu edwardsville | dunn center • clarksville, | None | l 53-66 | 2014 | 5-14 (1-4) row 17 : 01/19/2013 | 7:30 pm | eastern illinois | dunn center • clarksville, | None | l 67-77 | 2517 | 5-15 (1-5) row 18 : 02/07/2013 | 7:00 pm | tennessee state | dunn center • clarksville, | None | l 82-88 ot | 2186 | 5-19 (1-9) row 19 : 02/20/2013 | 6:00 pm | at eastern kentucky | alumni coliseum • richmond, | None | l 53-91 | 3400 | 7-21 (3-11) ] Execute this SQL based on the above table: select sum ( time ) where date = 1
34
[ header: date | opponent# | rank# | site | result | attendance row 1 : september 11 | baylor | #14 | ohio stadium • columbus | w 21-14 | 88622 row 2 : september 18 | at michigan state | #12 | spartan stadium • east lans | w 31-10 | 73483 row 3 : september 25 | stanford | #13 | ohio stadium • columbus | l 20-23 | 89436 row 4 : october 2 | florida state | None | ohio stadium • columbus | l 17-34 | 89491 row 5 : october 9 | wisconsin | None | ohio stadium • columbus | l 0-6 | 88344 row 6 : october 16 | at #15 illinois | None | memorial stadium • champaign, il | w 26-21 | 73488 row 7 : october 23 | at indiana | None | memorial stadium • bloomington, in | w 49-25 | 52,04 row 8 : october 30 | purdue | None | ohio stadium • columbus | w 38-6 | 89341 row 9 : november 6 | minnesota | None | ohio stadium • columbus | w 35-10 | 87666 row 10 : november 13 | at northwestern | None | dyche stadium • evanston | w 40-28 | 30074 row 11 : november 20 | #13 michigan | None | ohio stadium • columbus | w 24-14 | 90252 row 12 : december 17 | vs. byu | #17 | jack murphy stadium • san die | w 47-17 | 52533 ] Execute this SQL based on the above table: select count ( date ) where attendance = 90252
1
[ header: year | publisher | country | accolade | rank row 1 : 1981 | dave marsh & james | united states | "singles of the year 1978" | 1 row 2 : 1989 | dave marsh | united states | "the 1001 greatest singles ever made" | 716 row 3 : 1989 | rolling stone | united states | "the 100 best singles of the last 25 | 50 row 4 : 1995 | rock and roll hall of fame | united states | "500 songs that shaped rock and roll" | None row 5 : 2000 | rolling stone | united states | "100 greatest pop songs" | 93 row 6 : 2000 | vh1 | united states | "100 greatest dance songs" | 10 row 7 : 2001 | riaa | united states | "songs of the century" (365 | 94 row 8 : 2003 | popmatters | united states | "the 100 best songs since johnny | 65 row 9 : 2003 | q | united kingdom | "100 songs that changed the world" | 17 row 10 : 2003 | q | united kingdom | "the 1001 best songs ever" | 280 row 11 : 2004 | rolling stone | united states | "the 500 greatest songs of all time" | 189 row 12 : 2009 | vh1 | united states | "100 greatest rock songs" | 54 row 13 : 2010 | rolling stone | united states | "the 500 greatest songs of all time" | 191 row 14 : 2011 | robert dimery | united kingdom | "1001 songs you must hear before you die | None row 15 : 2011 | time | united states | "all-time 100 songs" | None ] Execute this SQL based on the above table: select sum ( year ) where publisher in ( 'q' , 'dave marsh' )
5995
[ header: | cyclist | team | time | uci world tour points row 1 : 1 | john degenkolb (ger) | argos-shimano | 5h 45' 16" | 80 row 2 : 2 | andre greipel (ger) | lotto-belisol | s.t | 60 row 3 : 3 | alexander kristoff (nor) | team katusha | + 1" | 50 row 4 : 4 | jose joaquin ro | movistar team | + 1" | 40 row 5 : 5 | elia viviani (ita) | cannondale | + 1" | 30 row 6 : 6 | boy van poppel (nld) | vacansoleil-dcm | + 1" | 22 row 7 : 7 | nikolas maes (bel | omega pharma-quick step | + 1" | 14 row 8 : 8 | thor hushovd (nor | bmc racing team | + 1" | 10 row 9 : 9 | matti breschel (dn | team saxo-tinkoff | + 1" | 6 row 10 : 10 | arnaud demare (fra | fdj.fr | + 1" | 2 ] Execute this SQL based on the above table: select time where = ( select max ( ) )
+ 1"
[ header: entered | weeks in top 10 | single | artist | peak | peak reached | weeks at peak row 1 : 3 october 1993 | 14 | "i'd do anything for love" | meat loaf | 1 | 17 october 1993 | 7 row 2 : 19 december 1993 | 3 | "bat out of hell" | meat loaf | 8 | 19 december 1993 | 2 row 3 : 2 january 1994 | 9 | "things can only get better" (# | d:ream | 1 | 16 january 1994 | 4 row 4 : 16 january 1994 | 1 | "here i stand" | bitty mclean | 10 | 16 january 1994 | 1 row 5 : 23 january 1994 | 1 | "in your room" | depeche mode | 8 | 23 january 1994 | 1 row 6 : 23 january 1994 | 8 | "return to innocence" | enigma | 3 | 6 february 1994 | 2 row 7 : 13 march 1994 | 7 | "streets of philadelphia" | bruce springsteen | 2 | 27 march 1994 | 1 row 8 : 1 may 1994 | 7 | "come on you reds" | manchester united football squad featuring status quo | 1 | 15 may 1994 | 2 row 9 : 8 may 1994 | 3 | "just a step from heaven" | eternal | 8 | 15 may 1994 | 1 row 10 : 15 may 1994 | 2 | "more to this world" | bad boys inc | 8 | 22 may 1994 | 1 row 11 : 12 june 1994 | 2 | "anytime you need a friend" | mariah carey | 8 | 19 june 1994 | 1 row 12 : 7 august 1994 | 4 | "what's up?" | dj miko | 6 | 14 august 1994 | 1 row 13 : 14 august 1994 | 2 | "live forever" | oasis | 10 | 14 august 1994 | 2 row 14 : 28 august 1994 | 1 | "parklife" | blur | 10 | 28 august 1994 | 1 row 15 : 2 october 1994 | 2 | "secret" | madonna | 5 | 2 october 1994 | 1 row 16 : 2 october 1994 | 6 | "sweetness" | michelle gayle | 4 | 30 october 1994 | 1 row 17 : 30 october 1994 | 4 | "oh baby i..." | eternal | 4 | 6 november 1994 | 1 row 18 : 6 november 1994 | 5 | "another night" | mc sar and real m | 2 | 13 november 1994 | 1 row 19 : 13 november 1994 | 3 | "sight for sore eyes" | m people | 6 | 20 november 1994 | 1 row 20 : 13 november 1994 | 1 | "true faith '94" | new order | 9 | 13 november 1994 | 1 row 21 : 11 december 1994 | 3 | "power rangers: the official single" | the mighty raw | 3 | 11 december | 1 ] Execute this SQL based on the above table: select entered where single = '"streets of philadelphia"'
13 march 1994
[ header: central division v t e | w | l | pct | gb | home | road | div row 1 : y-atlanta hawks | 50 | 32 | 0.61 | None | 32-9 | 18-23 | 21-9 row 2 : x-houston rockets | 41 | 41 | 0.5 | 9 | 29-12 | 12-29 | 20-10 row 3 : x-san antonio | 41 | 41 | 0.5 | 9 | 27-14 | 14-27 | 14-16 row 4 : cleveland cavaliers | 37 | 45 | 0.451 | 13 | 28-13 | 9-32 | 16-14 row 5 : indiana pacers | 37 | 45 | 0.451 | 13 | 26-15 | 11-30 | 15-15 row 6 : detroit pistons | 16 | 66 | 0.195 | 34 | 13-28 | 3-38 | 4-26 ] Execute this SQL based on the above table: select count ( road ) where pct > '0.61'
0
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | south korea | 7 | 6 | 1 | 14 row 2 : 2 | china | 5 | 5 | 2 | 12 row 3 : 3 | japan | 3 | 1 | 5 | 9 row 4 : 4 | hong kong | 2 | 3 | 5 | 10 row 5 : 5 | chinese taipei | 2 | 0 | 0 | 2 row 6 : 6 | iran | 1 | 3 | 2 | 6 row 7 : 7 | thailand | 1 | 2 | 3 | 6 row 8 : 8 | malaysia | 1 | 1 | 5 | 7 row 9 : 9 | kyrgyzstan | 1 | 0 | 0 | 1 row 10 : 10 | kazakhstan | 0 | 1 | 0 | 1 row 11 : 10 | uzbekistan | 0 | 1 | 0 | 1 row 12 : total | total | 23 | 23 | 23 | 69 ] Execute this SQL based on the above table: select nation where bronze = ( select bronze where nation = 'iran' ) - 1
south korea
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | russia | 6 | 3 | 7 | 16 row 2 : 2 | united states | 5 | 0 | 4 | 9 row 3 : 3 | japan | 3 | 4 | 1 | 8 row 4 : 4 | france | 3 | 1 | 1 | 5 row 5 : 5 | ukraine | 2 | 0 | 2 | 4 row 6 : 6 | turkey | 2 | 0 | 1 | 3 row 7 : 7 | sweden | 2 | 0 | 0 | 2 row 8 : 8 | iran | 1 | 2 | 1 | 4 row 9 : 9 | armenia | 1 | 1 | 2 | 4 row 10 : 10 | china | 1 | 1 | 1 | 3 row 11 : 11 | austria | 1 | 0 | 0 | 1 row 12 : 11 | bulgaria | 1 | 0 | 0 | 1 row 13 : 11 | south korea | 1 | 0 | 0 | 1 row 14 : 14 | germany | 0 | 3 | 4 | 7 row 15 : 15 | kazakhstan | 0 | 3 | 0 | 3 row 16 : 16 | cuba | 0 | 2 | 3 | 5 row 17 : 17 | norway | 0 | 2 | 0 | 2 row 18 : 18 | venezuela | 0 | 1 | 1 | 2 row 19 : 19 | canada | 0 | 1 | 0 | 1 row 20 : 19 | hungary | 0 | 1 | 0 | 1 row 21 : 19 | israel | 0 | 1 | 0 | 1 row 22 : 19 | moldova | 0 | 1 | 0 | 1 row 23 : 19 | poland | 0 | 1 | 0 | 1 row 24 : 19 | romania | 0 | 1 | 0 | 1 row 25 : 25 | uzbekistan | 0 | 0 | 1 | 1 row 26 : total | total | 29 | 29 | 29 | 87 ] Execute this SQL based on the above table: select nation where nation = 'ukraine'
ukraine
[ header: rank | circuit | headquarters | screens | sites row 1 : 1 | regal entertainment group | knoxville,tn | 7318 | 574 row 2 : 2 | amc entertainment inc | kansas city, mo | 4988 | 344 row 3 : 3 | cinemark theatres | plano, tx | 4434 | 332 row 4 : 4 | carmike cinemas, inc | columbus, ga | 2476 | 249 row 5 : 5 | cineplex entertainment | toronto, on | 1672 | 136 row 6 : 6 | marcus theatres | milwaukee, wi | 687 | 55 row 7 : 7 | harkins theatres | phoenix, az | 440 | 31 row 8 : 8 | national amusements | dedham, ma | 423 | 32 row 9 : 9 | bow tie cinemas | ridgefield, ct | 388 | 63 row 10 : 10 | georgia theatre company | st. simon's island, | 326 | 32 ] Execute this SQL based on the above table: select count ( circuit ) where sites = 574
1
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | china (chn) | 14 | 10 | 12 | 36 row 2 : 2 | thailand (tha) | 13 | 9 | 6 | 28 row 3 : 3 | south korea (kor) | 6 | 7 | 10 | 23 row 4 : 4 | indonesia (ina) | 6 | 6 | 4 | 16 row 5 : 5 | chinese taipei | 3 | 6 | 6 | 15 row 6 : 6 | india (ind) | 2 | 0 | 1 | 3 row 7 : 7 | iran (iri) | 2 | 0 | 0 | 2 row 8 : 8 | japan (jpn) | 1 | 3 | 2 | 6 row 9 : 9 | afghanistan (afg | 1 | 0 | 0 | 1 row 10 : 9 | qatar (qat) | 1 | 0 | 0 | 1 row 11 : 11 | philippines (phi) | 0 | 2 | 2 | 4 row 12 : 12 | vietnam (vie) | 0 | 2 | 1 | 3 row 13 : 13 | kazakhstan (kaz) | 0 | 1 | 1 | 2 row 14 : 13 | pakistan (pak) | 0 | 1 | 1 | 2 row 15 : 15 | bahrain (brn) | 0 | 1 | 0 | 1 row 16 : 15 | turkmenistan (tkm) | 0 | 1 | 0 | 1 row 17 : 17 | sri lanka (sr | 0 | 0 | 2 | 2 row 18 : 18 | bangladesh (ban) | 0 | 0 | 1 | 1 row 19 : 18 | brunei (bru) | 0 | 0 | 1 | 1 row 20 : 18 | laos (lao) | 0 | 0 | 1 | 1 row 21 : 18 | mongolia (mgl) | 0 | 0 | 1 | 1 row 22 : 18 | palestine (ple) | 0 | 0 | 1 | 1 row 23 : 18 | singapore (sin) | 0 | 0 | 1 | 1 row 24 : total | total | 49 | 49 | 54 | 152 ] Execute this SQL based on the above table: select count ( * ) where nation = 1
0
[ header: rnd | circuit | lmp1 winning team lmp1 winning drivers | lmp2 winning team lmp2 winning drivers | gt1 winning team gt1 winning drivers | gt2 winning team gt2 winning drivers | results row 1 : 1 | sebring | #2 audi sport north america | #37 intersport racing | #4 corvette racing | #50 multimatic motorsports | results row 2 : 1 | sebring | rinaldo capello tom | clint field liz halliday | oliver gavin olivier beretta | scott maxwell david brabham | results row 3 : 2 | reliant park | #2 audi sport north america | #37 intersport racing | #4 corvette racing | #23 alex job racing | results row 4 : 2 | reliant park | allan mcnish rinal | clint field liz halliday | oliver gavin olivier beretta | mike rockenfeller klaus | results row 5 : 3 | mid-ohio | #2 audi sport north america | #7 penske racing | #4 corvette racing | #45 flying lizard motorsports | results row 6 : 3 | mid-ohio | allan mcnish rinal | timo bernhard roma | oliver gavin olivier beretta | johannes van overbeek wolf | results row 7 : 4 | lime rock | #2 audi sport north america | #7 penske racing | #009 aston martin racing | #31 petersen/white lightning | results row 8 : 4 | lime rock | allan mcnish rinal | timo bernhard roma | stephane sarrazin pedr | jorg bergmeister patrick long | results row 9 : 5 | miller | #1 audi sport north america | #6 penske racing | #007 aston martin racing | #62 risi competi | results row 10 : 7 | road america | #1 audi sport north america | #6 penske racing | #3 corvette racing | #31 petersen/white lightning | results row 11 : 7 | road america | frank biela emanu | sascha maassen tim | ron fellows johnny | jorg bergmeister patrick long mich | results row 12 : 8 | mosport | #2 audi sport north america | #7 penske racing | #009 aston martin racing | #62 risi competi | results row 13 : 8 | mosport | allan mcnish rinal | lucas luhr roma | stephane sarrazin pedr | stephane ortelli johnny | results row 14 : 9 | road atlanta | #2 audi sport north america | #6 penske racing | #007 aston martin racing | #31 petersen/white lightning | results row 15 : 9 | road atlanta | allan mcnish rinal | sascha maassen tim | tomas enge darren turner | jorg bergmeister patrick long | results row 16 : 10 | mazda raceway laguna sec | #2 audi sport north america | #7 penske racing | #009 aston martin racing | #62 risi competi | results ] Execute this SQL based on the above table: select count ( lmp2 winning team lmp2 winning drivers ) where rnd = 2
2
[ header: year | author | illustrator | title | publisher row 1 : 1982 | angela carter (ed. and translator | michael foreman | sleeping beauty and other favourite fairy tales | v. gollancz row 2 : 1983 | anthony browne | browne | gorilla | julia macrae row 3 : 1984 | john burningham | burningham | granpa | j. cape row 4 : 1985 | ted hughes (1968) | andrew davidson | the iron man | faber row 5 : 1986 | allan ahlberg | janet ahlberg | the jolly postman | heinemann row 6 : 1987 | charles causley | charles keeping | jack the treacle eater | macmillan row 7 : 1988 | lewis carroll (1865) | anthony browne | alice's adventures in wonderland | julia macrae row 8 : 1989 | martin waddell | barbara firth | the park in the dark | walker row 9 : 1990 | quentin blake | blake | all join in | j. cape row 10 : 1991 | colin mcnaughton | mcnaughton | have you seen who's just moved in next | walker row 11 : 1992 | raymond briggs | briggs | the man | julia macrae row 12 : 1993 | karen wallace | mike bostock | think of an eel | walker row 13 : 1994 | trish cooke | helen oxenbury | so much | walker row 14 : 1995 | kathy henderson | patrick benson | the little boat | walker row 15 : 1996 | babette cole | cole | drop dead | j. cape row 16 : 1997 | william mayne | jonathan heale | lady muck | heinemann row 17 : 1998 | anthony browne | browne | voices in the park | doubleday row 18 : 1999 | lewis carroll (1865) | helen oxenbury | alice's adventures in wonderland | walker ] Execute this SQL based on the above table: select author where year > 1887 order by publisher limit 1
anthony browne
[ header: pos | no | driver | team | laps | time/retired | grid | points row 1 : 1 | 1 | sebastien bourdais | newman/haas racing | 76 | 1:39:50.252 | 1 | 34 row 2 : 2 | 9 | justin wilson | rusport | 76 | +3.066 secs | 2 | 29 row 3 : 3 | 10 | a. j. allmendinger | rusport | 76 | +14.132 secs | 3 | 25 row 4 : 4 | 3 | paul tracy | forsythe racing | 76 | +47.222 secs | 5 | 23 row 5 : 5 | 15 | alex tagliani | team australia | 76 | +57.778 secs | 6 | 21 row 6 : 6 | 7 | mario dominguez | forsythe racing | 76 | +58.782 secs | 8 | 19 row 7 : 7 | 27 | andrew ranger | mi-jack conquest racing | 76 | +59.302 secs | 13 | 18 row 8 : 8 | 6 | oriol servia | pkv racing | 76 | +1:13.956 | 7 | 15 row 9 : 9 | 19 | cristiano da matta | dale coyne racing | 76 | +1:14.958 | 12 | 13 row 10 : 10 | 2 | bruno junqueira | newman/haas racing | 75 | + 1 lap | 4 | 11 row 11 : 11 | 5 | will power | team australia | 75 | + 1 lap | 9 | 10 row 12 : 12 | 34 | charles zwolsman | mi-jack conquest racing | 75 | + 1 lap | 10 | 9 row 13 : 13 | 14 | dan clarke | cte racing-hvm | 75 | + 1 lap | 14 | 9 row 14 : 14 | 20 | katherine legge | pkv racing | 75 | + 1 lap | 17 | 7 row 15 : 15 | 8 | nicky pastorelli | rocketsports racing | 74 | + 2 laps | 16 | 6 row 16 : 16 | 11 | jan heylen | dale coyne racing | 71 | + 5 laps | 11 | 5 row 17 : 17 | 4 | nelson philippe | cte racing-hvm | 0 | contact | 15 | 4 ] Execute this SQL based on the above table: select driver order by driver asc limit 1
a. j. allmendinger
[ header: rank | rider | team | points row 1 : 1 | robbie mcewen (aus | davitamon-lotto | 288 row 2 : 2 | erik zabel (ger) | team milram | 199 row 3 : 3 | thor hushovd (nor | credit agricole | 195 row 4 : 4 | bernhard eisel ( | francaise des jeux | 176 row 5 : 5 | luca paolini (ita) | liquigas | 174 row 6 : 6 | inaki isasi (esp | euskaltel-euskad | 130 row 7 : 7 | francisco ventoso (es | saunier duval-prodir | 128 row 8 : 8 | cristian moreni (ita | cofidis | 116 row 9 : 9 | jimmy casper (fra | cofidis | 98 row 10 : 10 | oscar pereiro (esp | caisse d'epargne-illes | 88 ] Execute this SQL based on the above table: select sum ( rank ) where rider in ( 'robbie mcewen (aus)' , 'thor hushovd (nor)' )
4.0
[ header: rank | country | winners | runners-up | finals total row 1 : 1 | spain | 17 | 8 | 25 row 2 : 2 | germany east germany | 11 1 12 | 10 3 13 | 21 4 25 row 3 : 3 | soviet union russia | 2 1 3 | 1 0 1 | 3 1 4 row 4 : 4 | hungary | 2 | 3 | 5 row 5 : 5 | belarus | 2 | 0 | 2 row 6 : 6 | france | 1 | 3 | 4 row 7 : 7 | sweden | 0 | 2 | 2 row 8 : 8 | bosnia & herzegov | 0 | 1 | 1 row 9 : 8 | croatia | 0 | 1 | 1 row 10 : 8 | czech republic | 0 | 1 | 1 row 11 : 8 | denmark | 0 | 1 | 1 row 12 : 8 | romania | 0 | 1 | 1 row 13 : 8 | serbia | 0 | 1 | 1 row 14 : 8 | switzerland | 0 | 1 | 1 row 15 : total | total | 37 | 37 | 74 ] Execute this SQL based on the above table: select count ( country ) where rank = 8
7
[ header: county | feinstein | votes | seymour | votes | horne | votes | meeu. | votes | boddie | votes | w/i | v's row 1 : san mateo | 67.25% | 181,990 | 27.89% | 75,470 | 1.84% | 4,983 | 1.29% | 3,478 | 1.73% | 4,684 | 0.00% | 0 row 2 : contra costa | 62.96% | 229,988 | 31.62% | 115,507 | 1.92% | 7,011 | 1.77% | 6,470 | 1.73% | 6,320 | 0.00% | 2 row 3 : sonoma | 62.84% | 121,471 | 29.38% | 56,793 | 3.02% | 5,846 | 2.43% | 4,702 | 2.33% | 4,502 | 0.00% | 0 row 4 : santa clara | 62.19% | 364,997 | 30.98% | 181,858 | 2.15% | 12,646 | 2.20% | 12,912 | 2.47% | 14,518 | 0.00% | 2 row 5 : monterey | 58.89% | 66,417 | 34.74% | 39,182 | 2.10% | 2,369 | 2.30% | 2,590 | 1.96% | 2,216 | 0.00% | 0 row 6 : los angeles | 58.72% | 1,552,223 | 34.03% | 899,656 | 3.18% | 84,093 | 2.09% | 55,380 | 1.97% | 52,123 | 0.00% | 20 row 7 : napa | 57.01% | 29,875 | 35.38% | 18,539 | 2.46% | 1,288 | 2.93% | 1,537 | 2.22% | 1,161 | 0.00% | 0 row 8 : del norte | 50.92% | 4,696 | 39.66% | 3,658 | 2.56% | 236 | 4.98% | 459 | 1.89% | 174 | 0.00% | 0 row 9 : merced | 47.61% | 22,010 | 43.79% | 20,246 | 2.79% | 1,289 | 2.95% | 1,365 | 2.86% | 1,323 | 0.00% | 0 row 10 : nevada | 46.04% | 20,044 | 44.73% | 19,476 | 2.90% | 1,261 | 3.32% | 1,444 | 3.02% | 1,313 | 0.00% | 0 row 11 : placer | 45.75% | 40,511 | 45.73% | 40,497 | 2.38% | 2,109 | 3.30% | 2,920 | 2.84% | 2,518 | 0.00% | 0 row 12 : mariposa | 45.38% | 3,681 | 43.98% | 3,568 | 3.09% | 251 | 5.07% | 411 | 2.48% | 201 | 0.00% | 0 row 13 : sierra | 45.12% | 818 | 44.57% | 808 | 2.48% | 45 | 3.47% | 63 | 4.36% | 79 | 0.00% | 0 row 14 : mono | 45.11% | 1,931 | 44.64% | 1,911 | 2.83% | 121 | 3.95% | 169 | 3.48% | 149 | 0.00% | 0 row 15 : butte | 44.72% | 37,396 | 45.57% | 38,111 | 2.96% | 2,477 | 3.56% | 2,980 | 3.19% | 2,666 | 0.00% | 0 row 16 : trinity | 42.41% | 2,743 | 43.66% | 2,824 | 3.80% | 246 | 6.29% | 407 | 3.83% | 248 | 0.00% | 0 row 17 : yuba | 40.76% | 6,890 | 46.63% | 7,882 | 3.07% | 518 | 6.09% | 1,030 | 3.45% | 584 | 0.00% | 0 ] Execute this SQL based on the above table: select county order by votes desc limit 1
los angeles
[ header: draw | artist | song | points | place row 1 : 1 | the memories | "if it means losing you" | 57 | 8th row 2 : 2 | ann breen | "oh, darling" | 80 | 4th row 3 : 3 | fran meen | "say that you love me" | 66 | 6th row 4 : 4 | dreams | "sin sin ("that's that") | 73 | 5th row 5 : 5 | connor stevens | "count on me" | 88 | 3rd row 6 : 6 | linda martin and friends | "all the people in the world" | 105 | 2nd row 7 : 7 | maggie toal | "feed him with love" | 61 | 7th row 8 : 8 | liam reilly | "somewhere in europe" | 130 | 1st ] Execute this SQL based on the above table: select song order by draw desc limit 1
"somewhere in europe"
[ header: year | location | men's individual | women's individual | men's team | women's team | mixed team | ref row 1 : 1996 | vaulx-en-velin | franck dauphin (fra) | anna campagnoli (ita | None | None | None | row 2 : 1998 | taoyuan | john blaschke (usa) | shih ya-ping (t | united states | chinese taipei | None | row 3 : 2000 | madrid | tsai sung-pin | jamie van natta (usa) | united states | united states | None | row 4 : 2002 | chonburi | adam wheatcroft (usa) | mary zorn (usa) | united states | united states | None | row 5 : 2004 | madrid | choi yong-hee ( | mary zorn (usa) | south korea | united states | None | row 6 : 2006 | vinicne | braden gellenthien (usa | amandine bouillot (fr | united states | france | united states | row 7 : 2008 | tainan | jedd greschock (usa | erika anschutz (usa) | mexico | south korea | united states | row 8 : 2010 | shenzhen | adam gallant (usa) | vida halimian (ir | united states | united states | united states | row 9 : 2012 | cordoba | daniel suter (us | kristina berger (ger) | italy | united states | united states | row 10 : 2014 | legnica | None | None | None | None | None | ] Execute this SQL based on the above table: select count ( ref ) where year > 744
10
[ header: country | zone | national federation | #gm | #fide | national championship row 1 : australia | 3.6 | australian chess federation | 2 | 468 | australian chess championship row 2 : belarus | 1.8 | belarus chess federation | 13 | 425 | belarusian chess championship row 3 : bulgaria | 1.4 | българска ф | 25 | 606 | bulgarian chess championship row 4 : costa rica | 2.3c | federacion central de ajed | 1 | 88 | costa rican chess championship row 5 : england | 1.1a | english chess federation | 35 | 1211 | british chess championship row 6 : fiji | 3.6 | fiji chess federation | 0 | 9 | fijian chess championship row 7 : germany | 1.2a | deutscher schachbund | 66 | 10897 | german chess championship row 8 : guyana | None | guyana chess federation | None | None | guyanese chess championship row 9 : iceland | 1.3 | skaksamband islands | 11 | 227 | icelandic chess championship row 10 : luxembourg | 1.1b | federation luxembourgeoise des e | 1 | 99 | luxembourgian chess championship row 11 : morocco | 4.1 | fed. royale marocaine des e | 1 | 68 | moroccan chess championship row 12 : nepal | 3.5 | nepal chess association | 1 | 155 | nepal chess championship row 13 : peru | 2.4 | federacion peruana de | 1 | 258 | peruvian chess championship row 14 : singapore | 3.3 | singapore chess federation | 4 | 132 | singaporean chess championship row 15 : slovakia | 1.4 | slovensky sachovy z | 9 | 1152 | slovak chess championship row 16 : slovenia | 1.2a | sahovska zveza | 5 | 548 | slovenian chess championship row 17 : tajikistan | 3.4 | federazijai shakhmati | 1 | 17 | tajikistani chess championship row 18 : turkey | 1.5a | turkiye satranc | 2 | 545 | turkish chess championship row 19 : united states | 2.1 | united states chess federation | 61 | 1785 | u.s. chess championship row 20 : venezuela | 2.3c | fed. venezolana de a | 1 | 136 | venezuelan chess championship row 21 : zambia | 4.3 | chess federation of zambi | 1 | 21 | zambian chess championship ] Execute this SQL based on the above table: select country order by id desc limit 1
zambia
[ header: no. | title | directed by | written by | original air date row 1 : 1 | "reunion" | bryan spicer | patrick massett & john | january 27, 2003 row 2 : 2 | "antarctica" | perry lang | patrick massett & john | february 3, 2003 row 3 : 3 | "skulls" | adam nimoy | patrick massett & john | february 10, 2003 row 4 : 4 | "heist" | rick kolbe | rick kellard | march 10, 2003 row 5 : 5 | "the wheel of dharma" | r. w. goodwin | stephanie bloch-chambers | None row 6 : 6 | "sangraal" | perry lang | gabrielle stanton & harry | None row 7 : 7 | "mummy virus" | vern gillum | rick kellard & thani | None row 8 : 8 | "name of god" | michael nankin | brad falchuk | None row 9 : 9 | "devil's child" | tom wright | thania st. john | None row 10 : 10 | "avalon" | dwight little | i. c. rapoport | None row 11 : 11 | "the lost codex" | tom wright | gabrielle stanton & harry | None row 12 : 12 | "eternal" | fred gerber | thania st. john | None row 13 : 13 | "helmholtz resonance" | larry shaw | patrick massett & john | None ] Execute this SQL based on the above table: select original air date where directed by = 'bryan spicer'
january 27, 2003
[ header: song | artist(s) | concert | film | 1978 album | 2002 album row 1 : "up on cripple creek" | the band | 1 | 3 | 2 | 2 row 2 : "it makes no difference" | the band | 3 | 6 | 8 | 4 row 3 : "this wheel's on fire" | the band | 5 | None | None | 10 row 4 : "w.s. walcott medicine show | the band | 6 | None | None | 26 row 5 : "georgia on my mind" | the band | 7 | None | None | None row 6 : "ophelia" | the band | 8 | 20 | 16 | 18 row 7 : "king harvest (has surely come)" | the band | 9 | None | None | None row 8 : "rag mama rag" | the band | 12 | None | None | 15 row 9 : "such a night" | dr. john | 14 | 8 | 9 | 7 row 10 : "down south in new orleans" | bobby charles and dr | 15 | None | 15 | 9 row 11 : "mystery train" | paul butterfield | 16 | 15 | 11 | 11 row 12 : "caldonia" | muddy waters | 17 | None | None | 12 row 13 : "all our past times" | eric clapton | 19 | None | None | 16 row 14 : "further on up the road" | eric clapton | 20 | 17 | 13 | 17 row 15 : "four strong winds" | neil young | 22 | None | None | 20 row 16 : "shadows and light" | joni mitchell | 24 | None | None | 22 row 17 : "furry sings the blues" | joni mitchell | 25 | None | None | 23 row 18 : "dry your eyes" | neil diamond | 26 | 13 | 7 | 25 row 19 : "tura lura lural (that | van morrison | 27 | None | 17 | 27 row 20 : "caravan" | van morrison | 28 | 21 | 18 | 28 row 21 : "genetic method"/"chest fever | the band | 30 | 19 | None | 30 row 22 : "the last waltz suite: | the band | 31 | None | None | None row 23 : "baby, let me follow you down" | bob dylan | 33 | None | 20 | 31 row 24 : "hazel" | bob dylan | 34 | None | None | 32 row 25 : "i don't believe you" | bob dylan | 35 | None | 21 | 33 row 26 : "forever young" | bob dylan | 36 | 23 | 22 | 34 row 27 : "jam #2" | neil young, ronnie | 40 | None | None | 38 row 28 : "don't do it" | the band | 41 | 1 | None | 39 row 29 : "greensleeves" | the band | 42 | None | None | 40 row 30 : introduction to the canterbury tales in | michael mcclure | None | 7 | None | None row 31 : "the weight" (studio version) | the band and the staple singers | None | 11 | 29 | 44 row 32 : "evangeline" (studio version) | the band and emmylou | None | 18 | 27 | None row 33 : "loud prayer" | lawrence ferlinghetti | None | 22 | None | None ] Execute this SQL based on the above table: select max ( 2002 album ) - min ( 2002 album ) where 2002 album = 23
0.0
[ header: round | date | score | opponent | opponent's score | result | venue | attendance | best on ground | team row 1 : 1 | saturday, 2 april | 14.20 (104) | richmond | 11.17 (83) | won by 21 points | kardinia park (stadium) | 20781 | alex ishchenko | west coast row 2 : 2 | friday, 8 april 7: | 26.19 (175) | essendon | 11.10 (76) | won by 99 points | waca ground | 24886 | john gastev | west coast row 3 : 4 | saturday, 23 april | 8.7 (55) | collingwood | 13.16 (94) | lost by 87 points | victoria park | 26276 | james manson | collingwood row 4 : 5 | friday, 29 april 7: | 14.16 (100) | footscray | 14.9 (93) | won by 7 points | waca ground | 17662 | ross glendinning | west coast row 5 : 6 | friday, 6 may 7:40pm | 17.8 (110) | north melbourne | 17.23 (123) | lost by 13 points | melbourne cricket ground | 10133 | donald mcdonald | north melbourne row 6 : 7 | friday, 13 may 7:40pm | 17.10 (112) | st kilda | 3.18 (36) | won by 76 points | waca ground | 12803 | alex ishchenko | west coast row 7 : 8 | sunday, 22 may 2:10pm | 9.9 (63) | hawthorn | 17.14 (116) | lost by 53 points | subiaco oval | 27344 | chris wittman | hawthorn row 8 : 9 | sunday, 29 may 2:10pm | 12.15 (87) | carlton | 15.10 (100) | lost by 13 points | subiaco oval | 27663 | ken hunter | carlton row 9 : 11 | monday, 13 june 2:10pm | 10.13 (73) | melbourne | 13.15 (93) | lost by 20 points | melbourne cricket ground | 28045 | alan johnson | melbourne row 10 : 13 | sunday, 26 june 2:10pm | 17.19 (121) | fitzroy | 13.9 (87) | won by 34 points | subiaco oval | 15028 | wally matera | west coast row 11 : 14 | saturday, 2 july 2:1 | 13.7 (85) | essendon | 16.16 (112) | lost by 27 points | windy hill | 10298 | simon madden | essendon row 12 : 15 | sunday, 10 july 2:10pm | 18.18 (126) | geelong | 16.10 (106) | won by 20 points | subiaco oval | 18537 | chris mainwaring | west coast row 13 : 16 | friday, 15 july 7:40 | 14.14 (98) | brisbane bears | 12.17 (89) | won by 9 points | waca ground | 16074 | mark withers | brisbane bears row 14 : 17 | friday, 22 july 7:40 | 8.16 (64) | fitzroy | 19.20 (134) | lost by 70 points | melbourne cricket ground | 7611 | john ironmonger | fitzroy row 15 : 18 | sunday, 31 july 2:10pm | 18.14 (122) | melbourne | 11.12 (78) | won by 44 points | subiaco oval | 16266 | murray rance | west coast row 16 : 19 | sunday, 7 august 2:10pm | 16.9 (115) | north melbourne | 12.12 (84) | won by 31 points | subiaco oval | 18193 | guy mckenna | west coast ] Execute this SQL based on the above table: select best on ground where date = 'sunday, 31 july 2:10pm'
murray rance
[ header: rank | county | per capita income | median household income | median family income | population | number of households row 1 : 1 | mccone | $32,205 | $42,998 | $52,636 | 1,734 | 774 row 2 : 3 | stillwater | $27,168 | $57,227 | $65,438 | 9,117 | 3,796 row 3 : 4 | richland | $26,888 | $52,516 | $60,236 | 9,746 | 4,167 row 4 : 5 | fallon | $26,819 | $52,529 | $64,500 | 2,890 | 1,233 row 5 : 6 | sheridan | $26,537 | $39,578 | $55,313 | 3,384 | 1,587 row 6 : 10 | carbon | $24,983 | $49,010 | $59,823 | 10,078 | 4,571 row 7 : 13 | park | $24,717 | $38,830 | $50,252 | 15,636 | 7,310 row 8 : 15 | missoula | $24,343 | $42,887 | $58,302 | 109,299 | 45,926 row 9 : 17 | phillips | $24,227 | $36,453 | $55,362 | 4,253 | 1,819 row 10 : None | montana | $23,836 | $43,872 | $55,725 | 989,415 | 409,607 row 11 : 21 | granite | $23,222 | $36,052 | $47,685 | 3,079 | 1,417 row 12 : 22 | cascade | $22,963 | $42,389 | $53,540 | 81,327 | 33,809 row 13 : 23 | sweet grass | $22,785 | $43,723 | $56,552 | 3,651 | 1,590 row 14 : 24 | wibaux | $22,579 | $40,417 | $51,354 | 1,017 | 457 row 15 : 29 | powder river | $21,543 | $37,685 | $50,156 | 1,743 | 755 row 16 : 30 | hill | $21,420 | $43,606 | $55,963 | 16,096 | 6,275 row 17 : 33 | beaverhead | $21,110 | $38,264 | $53,036 | 9,246 | 4,014 row 18 : 34 | petroleum | $21,008 | $36,875 | $39,107 | 494 | 225 row 19 : 36 | musselshell | $20,875 | $37,033 | $47,860 | 4,538 | 2,046 row 20 : 38 | teton | $20,509 | $39,516 | $49,102 | 6,073 | 2,450 row 21 : 39 | toole | $20,464 | $42,949 | $54,722 | 5,324 | 2,015 row 22 : 40 | chouteau | $20,202 | $41,064 | $50,201 | 5,813 | 2,294 row 23 : 42 | rosebud | $19,844 | $44,776 | $56,282 | 9,233 | 3,395 row 24 : 43 | lincoln | $19,626 | $30,823 | $39,600 | 19,687 | 8,843 row 25 : 47 | liberty | $19,097 | $40,212 | $44,957 | 2,339 | 822 row 26 : 48 | pondera | $18,989 | $36,419 | $47,656 | 6,153 | 2,285 row 27 : 50 | sanders | $18,472 | $30,622 | $37,514 | 11,413 | 5,121 row 28 : 51 | powell | $17,849 | $39,851 | $45,339 | 7,027 | 2,466 row 29 : 52 | roosevelt | $17,821 | $37,451 | $50,146 | 10,425 | 3,553 row 30 : 55 | blaine | $16,813 | $37,034 | $40,890 | 6,491 | 2,357 ] Execute this SQL based on the above table: select count ( * ) where county = 'stillwater'
1
[ header: date | opponents | venue | result | scorers | attendance | report 1 | report 2 row 1 : 27-jan-68 | bournemouth | a | 0-0 | None | 24388 | report | report row 2 : 30-jan-68 | bournemouth | h | 4-1 | hateley 33' thompson 44 | 54075 | report | report row 3 : 17-feb-68 | walsall | a | 0-0 | None | 21066 | report | report row 4 : 19-feb-68 | walsall | h | 5-2 | hateley 24', 33', 64' | 39113 | report | report row 5 : 09-mar-68 | tottenham hotspur | a | 1-1 | hateley 54' | 54005 | report | report row 6 : 12-mar-68 | tottenham hotspur | h | 2-1 | hunt 23' smith 78 pen' | 53658 | report | report row 7 : 30-mar-68 | west bromwich albion | a | 0-0 | None | 53062 | report | report row 8 : 08-apr-68 | west bromwich albion | h | 1-1 | hateley 24' | 54273 | report | report row 9 : 18-apr-68 | west bromwich albion | n | 1-2 | hateley 39' | 56000 | report | report ] Execute this SQL based on the above table: select count ( * ) where date = '30-jan-68'
1
[ header: model name | length | width | height | riders | capacity | description | portable | notes row 1 : skater | 21.5 m (71 ft) | 11.65 m (38.2 f | 10.69 m (35.1 ft) | 24 | 600 | small halfpipe with inwards-facing seats | yes | row 2 : disk'o | 24.55 m (80.5 ft | 9.68 m (31.8 ft) | 10 m (33 ft) | 24 | 600 | small halfpipe with outwards-facing seats | yes | row 3 : surf's up | 29 m (95 ft) | 11 m (36 ft) | 7.5 m (25 ft) | 20 | 480 | small halfpipe with hill in middle. guests stand | yes | row 4 : mega disk'o | 37.5 m (123 ft) | 10 m (33 ft) | 15.5 m (51 ft) | 24 | 600 | large halfpipe with outwards-facing seats | no | row 5 : mega disk'o | 37.5 m (123 ft) | 10 m (33 ft) | 15.5 m (51 ft) | 40 | 1000 | large halfpipe with outwards-facing seats | no | row 6 : skater coaster | None | None | None | None | None | large halfpipe with hill in middle. inward | None | row 7 : disk'o coaster | 81.5 m (267 ft) | 11.3 m (37 ft) | 15.5 m (51 ft) | 24 | 500 | large halfpipe with hill in middle. outward | no | row 8 : disk'o coaster | 81.5 m (267 ft) | 11.3 m (37 ft) | 15.5 m (51 ft) | 40 | 600 | large halfpipe with hill in middle. outward | no | ] Execute this SQL based on the above table: select model name where riders = ( select max ( riders ) )
mega disk'o, disk'o coaster
[ header: | date of award | honour/award title | reason for award | awarding body row 1 : 1 | 1973 | lenin peace prize | None | ussr row 2 : 2 | 1980 | frederic joliot curie gold | None | None row 3 : 3 | 1984 | medaglia pontificia ( | None | the vatican city,italy row 4 : 4 | 1988 | grant master order merit: the grant cruz ( | None | brazil row 5 : 5 | 1988 | ho chi minh peace award | None | vietnam row 6 : 6 | 1988 | the namibia freedom award | for his leadership role in the struggle against aparthe | california state university, us row 7 : 7 | 1988 | honorary citizenship of the city of atlanta | for his leadership role in the struggle for freedom, | atlanta, usa row 8 : 8 | 1988 | recognition granted | None | city and county of san francisco row 9 : 9 | 1988 | recognition granted | None | city of chicago row 10 : 10 | 1988 | recognition granted | None | city of east palo alto row 11 : 11 | 1990 | indira gandhi peace prize | in recognition of his outstanding contribution in leading the people | india row 12 : 12 | 1991 | medaglia pontificia ( | None | the vatican city, italy row 13 : 13 | 1991 | order of jose marti | None | cuba row 14 : 14 | 1991 | ordre du merite congo | None | republic of congo row 15 : 15 | 1992 | chief of golden heart | None | kenya row 16 : 16 | 1992 | order of the national flag (first class) | None | democratic people's republic of korea row 17 : 17 | 1994 | "grand cordon" decoration | None | tunisia row 18 : 18 | 1995 | grand master of the order of welwitschi | None | namibia row 19 : 19 | 1995 | order of liberty (highest cross) | None | portugal row 20 : 20 | 1995 | africa prize for leadership for the sustainable end of hunger | None | the hunger project row 21 : 21 | 1996 | order of good hope (gold) | None | south africa row 22 : 22 | 2002 | order of friendship award | None | vietnam row 23 : 23 | 2003 | o.b.f.f.s | None | romania row 24 : 24 | 2003 | fellowship award of the institute of governance and social research | in recognition of his contribution to the liberation of | institute of governance and social research, nigeria row 25 : 25 | 2004 | companion of the order of the star of ghan | as an expression of respect and admiration of the | ghana row 26 : 26 | 2004 | founding president of the republic of namibia | in recognition of his dedication to his selfless sacrifice | namibian parliament row 27 : 27 | 2004 | lifetime conservation award | None | cheetah conservation fund (n row 28 : 28 | 2008 | international kim il sung prize certificate | None | india row 29 : 29 | 2010 | sir seretse kham | None | sadc ] Execute this SQL based on the above table: select awarding body where reason for award = 'in recognition of his dedication to his selfless sacrifice to the national liberation struggle and nation building' order by asc limit 1
namibian parliament
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | venezuela | 9 | 8 | 6 | 23 row 2 : 2 | guatemala | 6 | 6 | 6 | 18 row 3 : 3 | peru | 5 | 8 | 9 | 22 row 4 : 4 | chile | 4 | 4 | 1 | 9 row 5 : 5 | el salvador | 4 | 0 | 2 | 6 row 6 : 6 | ecuador | 2 | 5 | 1 | 8 row 7 : 7 | bolivia | 2 | 1 | 2 | 5 row 8 : 8 | dominican republic | 1 | 0 | 2 | 3 row 9 : 9 | colombia | 0 | 1 | 3 | 4 row 10 : total | total | 33 | 33 | 32 | 98 ] Execute this SQL based on the above table: select nation where nation > 650 order by nation limit 1
bolivia
[ header: tour | official title | venue | city | date start | date finish | prize money usd | report row 1 : 1 | korea open super series premier | seoul national university gymnasium | seoul | january 8 | january 13 | 1,000,000 | report row 2 : 2 | malaysia open super series | bukit kiara sports complex | kuala lumpur | january 15 | january 20 | 400,000 | report row 3 : 3 | all england super series premier | national indoor arena | birmingham | march 5 | march 10 | 400,000 | report row 4 : 4 | india super series | siri fort indoor stadium | new delhi | april 23 | april 28 | 200,000 | report row 5 : 5 | indonesia super series premier | istora senayan | jakarta | june 11 | june 16 | 700,000 | report row 6 : 6 | singapore super series | singapore indoor stadium | singapore | june 18 | june 23 | 200,000 | report row 7 : 7 | china masters super series | olympic sports centre xinch | changzhou | september 10 | september 15 | 250,000 | report row 8 : 8 | japan super series | yoyogi national gymnasium | tokyo | september 17 | september 22 | 200,000 | report row 9 : 9 | denmark super series premier | odense idræt | odense | october 15 | october 20 | 400,000 | report row 10 : 10 | french super series | stade pierre de coubertin | paris | october 22 | october 27 | 200,000 | report row 11 : 11 | china open super series premier | yuanshen sports centre stadium | shanghai | november 12 | november 17 | 350,000 | report row 12 : 12 | hong kong super series | hong kong coliseum | kowloon | november 19 | november 24 | 250,000 | report row 13 : 13 | super series masters finals | kuala lumpur badminton | kuala lumpur | december 11 | december 15 | 500,000 | report ] Execute this SQL based on the above table: select venue where city = 'kuala lumpur'
bukit kiara sports complex, kuala lumpur badminton stadium
[ header: pos | no | rider | manufacturer | laps | time | grid | points row 1 : 1 | 58 | marco simoncelli | gilera | 25 | 39:02.553 | 1 | 25 row 2 : 2 | 19 | alvaro bautista | aprilia | 25 | 0.223 | 3 | 20 row 3 : 3 | 36 | mika kallio | ktm | 25 | 14.45 | 2 | 16 row 4 : 4 | 60 | julian simon | ktm | 25 | 14.478 | 6 | 13 row 5 : 5 | 6 | alex debon | aprilia | 25 | 26.226 | 8 | 11 row 6 : 6 | 15 | roberto locatelli | gilera | 25 | 26.392 | 11 | 10 row 7 : 7 | 72 | yuki takahashi | honda | 25 | 26.434 | 7 | 9 row 8 : 8 | 41 | aleix espargaro | aprilia | 25 | 40.546 | 9 | 8 row 9 : 9 | 14 | ratthapark wilairot | honda | 25 | +1:00.219 | 12 | 7 row 10 : 10 | 32 | fabrizio lai | gilera | 25 | +1:20.825 | 13 | 6 row 11 : 11 | 17 | karel abraham | aprilia | 25 | +1:22.802 | 17 | 5 row 12 : 12 | 25 | alex baldolini | aprilia | 25 | +1:22.864 | 18 | 4 row 13 : 13 | 10 | imre toth | aprilia | 25 | +1:23.995 | 16 | 3 row 14 : 14 | 52 | lukas pesek | aprilia | 25 | +1:39.740 | 14 | 2 row 15 : 15 | 35 | simone grotzkyj | gilera | 24 | +1 lap | 21 | 1 row 16 : 16 | 92 | daniel arcas | honda | 24 | +1 lap | 20 | None row 17 : 17 | 45 | doni tata pradita | yamaha | 24 | +1 lap | 22 | None row 18 : ret | 4 | hiroshi aoyama | ktm | 15 | retirement | 4 | None row 19 : ret | 75 | mattia pasini | aprilia | 15 | accident | 10 | None row 20 : ret | 55 | hector faubel | aprilia | 4 | accident | 5 | None row 21 : ret | 90 | federico sandi | aprilia | 1 | accident | 15 | None row 22 : ret | 43 | manuel hernandez | aprilia | 1 | retirement | 19 | None row 23 : dnq | 27 | stefano bianco | gilera | None | None | None | None row 24 : dnq | 89 | ho wan chow | aprilia | None | None | None | None ] Execute this SQL based on the above table: select laps where points in ( 25 , 'None' ) order by rider limit 1770
25
[ header: tie | home team | score | away team | attendance row 1 : 1 | aylesbury united | 2-2 | windsor & eton | 847 row 2 : 2 | burscough | 5-0 | wakefield & emley | 437 row 3 : 3 | dover athletic | 0-3 | forest green roves | 932 row 4 : 4 | farnborough town | 2-0 | halifax town | 863 row 5 : 5 | gloucester city | 1-1 | southport | 1,237 row 6 : 6 | havant & waterlooville | 3-0 | hayes | 456 row 7 : 7 | margate | 0-2 | tamworth | 971 row 8 : 8 | yeovil town | 2-1 | northwich victoria | 4,469 ] Execute this SQL based on the above table: select count ( home team )
8
[ header: name | canton | district | area (km2) | population (as of 2005) | date of law row 1 : diekirch dikrech | diekirch | diekirch | 12.42 | 6165 | 24 february 1843 row 2 : differdange deifferdeng | esch-sur-alzette | luxembourg | 22.18 | 19005 | 4 august 1907 row 3 : dudelange diddeleng | esch-sur-alzette | luxembourg | 21.38 | 17618 | 4 august 1907 row 4 : echternach iechternach | echternach | grevenmacher | 20.49 | 4507 | 24 february 1843 row 5 : esch-sur-alzette | esch-sur-alzette | luxembourg | 14.35 | 28000 | 29 may 1906 row 6 : ettelbruck ettelbreck | diekirch | diekirch | 15.18 | 7364 | 4 august 1907 row 7 : grevenmacher greiwemaa | grevenmacher | grevenmacher | 16.48 | 3966 | 24 february 1843 row 8 : luxembourg city letzebuerg | luxembourg | luxembourg | 51.46 | 76420 | 24 february 1843 row 9 : remich reimech | remich | grevenmacher | 5.29 | 2986 | 24 february 1843 row 10 : rumelange remeleng | esch-sur-alzette | luxembourg | 6.83 | 4495 | 4 august 1907 row 11 : vianden veianen | vianden | diekirch | 9.67 | 1561 | 24 february 1843 row 12 : wiltz wolz | wiltz | diekirch | 19.37 | 4587 | 24 february 1843 ] Execute this SQL based on the above table: select canton where id = 1
diekirch
[ header: pos | country | gold | silver | bronze | total row 1 : 1 | italy (ita) | 3 | 3 | 1 | 7 row 2 : 2 | united states (usa) | 3 | 0 | 1 | 4 row 3 : 3 | poland (pol) | 1 | 3 | 3 | 7 row 4 : 4 | soviet union (urs) | 1 | 2 | 2 | 5 row 5 : 5 | hungary (hun) | 1 | 0 | 0 | 1 row 6 : 5 | czechoslovakia (t | 1 | 0 | 1 | 2 row 7 : 7 | ghana (gha) | 0 | 1 | 0 | 1 row 8 : 7 | south africa (rsa) | 0 | 1 | 1 | 2 row 9 : 9 | great britain (gbr) | 0 | 0 | 3 | 3 row 10 : 10 | australia (aus) | 0 | 0 | 2 | 2 row 11 : 11 | japan (jpn) | 0 | 0 | 1 | 1 row 12 : 11 | united arab republic (egy) | 0 | 0 | 1 | 1 row 13 : 11 | finland (fin) | 0 | 0 | 1 | 1 row 14 : 11 | argentina (arg) | 0 | 0 | 1 | 1 row 15 : 11 | romania (rou) | 0 | 0 | 1 | 1 row 16 : 11 | germany (eua) | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select sum ( pos ) where country in ( 'finland (fin)' , 'italy (ita)' , 'united states (usa)' )
14.0
[ header: crossing | carries | location | coordinates row 1 : chesapeake city bridge | md 213 | chesapeake city, maryland | 39°31′45′′n 75°48 row 2 : summit bridge | us 301 de 71 de 896 | summit, delaware | 39°32′29′′n 75°44 row 3 : chesapeake & delaware | norfolk southern railway | kirkwood, delaware | 39°32′36′′n 75°42 row 4 : chesapeake & delaware | de 1 | st. georges, delaw | 39°33′00′′n 75°39 row 5 : st. georges bridge | u.s. 13 | st. georges, delaw | 39°33′10′′n 75°39 row 6 : reedy point bridge | de 9 | delaware city, delaware | 39°33′30′′n 75°34 ] Execute this SQL based on the above table: select coordinates where crossing = 'st. georges bridge' order by coordinates desc limit 1
39°33′10′′n 75°39′05′′w / 39.55278°n 75.65139°w
[ header: year | award | work/artist | result row 1 : 1999 | grammy award for best contemporary folk album | mermaid avenue | nominated row 2 : 2005 | grammy award for best alternative music album | a ghost is born | won row 3 : 2005 | grammy award for best recording package (a | a ghost is born | won row 4 : 2008 | grammy award for best rock album | sky blue sky | nominated row 5 : 2010 | grammy award for best americana album | wilco (the album) | nominated row 6 : 2012 | grammy award for best rock album | the whole love | nominated ] Execute this SQL based on the above table: select award where year > ( select year where award = 'grammy award for best rock album' ) order by year asc limit 1
grammy award for best americana album
[ header: week | date | song title | performer | album title | performer row 1 : 1 | 3 january 2014 | "timber" | pitbull feat. ke$ha | true | avicii row 2 : 2 | 10 january 2014 | "timber" | pitbull feat. ke$ha | true | avicii row 3 : 3 | 17 january 2014 | "i see fire" | ed sheeran | high hopes | bruce springsteen row 4 : 4 | 24 january 2014 | "i see fire" | ed sheeran | high hopes | bruce springsteen row 5 : 5 | 31 january 2014 | "i see fire" | ed sheeran | true | avicii row 6 : 6 | 7 february 2014 | "i see fire" | ed sheeran | sjunger sinatra | christer sjogren row 7 : 7 | 14 february 2014 | "i see fire" | ed sheeran | sjunger sinatra | christer sjogren row 8 : 8 | 21 february 2014 | "i see fire" | ed sheeran | true | avicii row 9 : 9 | 28 february 2014 | "i see fire" | ed sheeran | true | avicii row 10 : 10 | 7 march 2014 | "busy doin' nothin'" | ace wilder | true | avicii row 11 : 11 | 14 march 2014 | "busy doin' nothin'" | ace wilder | true | avicii row 12 : 12 | 21 march 2014 | "busy doin' nothin'" | ace wilder | all turns red | takida row 13 : 13 | 28 march 2014 | "busy doin' nothin'" | ace wilder | together we stand alone | yohio ] Execute this SQL based on the above table: select album title where performer = 'ace wilder' and album title != 'together we stand alone'
true, true, all turns red
[ header: date | opponent# | rank# | site | result | attendance row 1 : 1959-09-26 | at #16 georgia tech | #6 | grant field • atlanta, ga | l 12-16 | 43000 row 2 : 1959-10-03 | #15 navy | None | cotton bowl • dallas, t | w 20-7 | 46000 row 3 : 1959-10-09 | missouri | #15 | cotton bowl • dallas, t | w 23-2 | 33000 row 4 : 1959-10-17 | at rice | #16 | rice stadium • houston, tx | t 13-13 | 65000 row 5 : 1959-10-24 | texas tech | None | cotton bowl • dallas, t | w 21-13 | 30000 row 6 : 1959-10-31 | #4 texas | None | cotton bowl • dallas, t | l 0-21 | 65000 row 7 : 1959-11-07 | at texas a&m | None | kyle field • college station, t | w 14-11 | 19000 row 8 : 1959-11-14 | #20 arkansas | None | cotton bowl • dallas, t | l 14-17 | 31000 row 9 : 1959-11-21 | at baylor | None | floyd casey stadium • waco, | w 30-14 | 25000 row 10 : 1959-11-28 | at #8 texas christi | None | amon g. carter stadium • for | l 0-19 | 40000 ] Execute this SQL based on the above table: select count ( date )
10
[ header: pos | no | driver | team | laps | time/retired | grid | points row 1 : 1 | 14 | robert doornbos | minardi team usa | 107 | 1:45:07.617 | 15 | 31 row 2 : 2 | 21 | neel jani | pkv racing | 107 | +6.1 secs | 5 | 27 row 3 : 3 | 3 | oriol servia | forsythe racing | 107 | +6.9 secs | 4 | 26 row 4 : 4 | 5 | will power | team australia | 107 | +7.5 secs | 12 | 23 row 5 : 5 | 1 | sebastien bourdais | n/h/l racing | 107 | +8.0 secs | 2 | 21 row 6 : 6 | 2 | graham rahal | n/h/l racing | 107 | +9.6 secs | 6 | 19 row 7 : 7 | 19 | bruno junqueira | dale coyne racing | 107 | +14.0 secs | 10 | 17 row 8 : 8 | 22 | tristan gommendy | pkv racing | 107 | +19.2 secs | 8 | 15 row 9 : 9 | 42 | jan heylen | conquest racing | 107 | +28.5 secs | 13 | 13 row 10 : 10 | 15 | simon pagenaud | team australia | 107 | +48.4 secs | 9 | 11 row 11 : 11 | 3 | paul tracy | forsythe championship racing | 105 | + 2 laps | 11 | 10 row 12 : 12 | 28 | mario dominguez | pacific coast motorsports | 104 | + 3 laps | 14 | 12 row 13 : 13 | 22 | justin wilson | rsports | 87 | + 20 laps | 1 | 8 row 14 : 14 | 29 | alex figge | pacific coast motorsports | 34 | contact | 0 | 7 row 15 : 15 | 11 | alex tagliani | rsports | 83 | mechanical | 8 | 6 row 16 : 16 | 11 | katherine legge | dale coyne racing | 13 | contact | 16 | 5 row 17 : 17 | 4 | dan clarke | minardi team usa | 3 | contact | 3 | 4 ] Execute this SQL based on the above table: select grid where team = 'forsythe racing'
4
[ header: year | competition | venue | position | notes row 1 : 1985 | european indoor championships | athens, greece | 1st | long jump row 2 : 1986 | european championships | stuttgart, west germany | 2nd | long jump row 3 : 1987 | european indoor championships | lievin, france | 2nd | long jump row 4 : 1988 | european indoor championships | budapest, hungary | 2nd | long jump row 5 : 1988 | summer olympics | seoul, south korea | 3rd | long jump row 6 : 1989 | european indoor championships | the hague, netherlands | 1st | long jump row 7 : 1989 | world indoor championships | budapest, hungary | 1st | long jump row 8 : 1990 | european indoor championships | glasgow, scotland | 1st | long jump row 9 : 1990 | european indoor championships | glasgow, scotland | 1st | triple jump ] Execute this SQL based on the above table: select count ( * ) where notes = 'athens, greece'
0
[ header: rank | heat | name | nationality | time | notes row 1 : 1 | 1 | lacena golding-clarke | jamaica | 12.74 | q, pb row 2 : 2 | 1 | vonette dixon | jamaica | 12.83 | q, pb row 3 : 3 | 2 | diane allahgreen | england | 12.92 | q, pb row 4 : 4 | 2 | brigitte foster | jamaica | 12.98 | q row 5 : 5 | 2 | angela atede | nigeria | 13.01 | q, sb row 6 : 6 | 1 | angela whyte | canada | 13.03 | q, pb row 7 : 7 | 1 | julie pratt | england | 13.08 | q, pb row 8 : 8 | 2 | jacquie munro | australia | 13.22 | q row 9 : 9 | 1 | melanie wilkins | england | 13.29 | None row 10 : 9 | 2 | sriyani kulawans | sri lanka | 13.29 | None row 11 : 11 | 1 | fiona cullen | australia | 13.45 | None row 12 : 12 | 2 | rachel king | wales | 13.58 | None row 13 : 13 | 2 | tamsin stephens | northern ireland | 13.59 | None row 14 : 14 | 1 | christy akinremi | nigeria | 13.73 | None row 15 : None | 2 | shabana khattak | pakistan | dnf | None row 16 : None | 1 | carole kaboud mebam | cameroon | dns | None row 17 : None | 1 | olutoyin augustus | nigeria | dns | None ] Execute this SQL based on the above table: select count ( * ) where notes = 'q, pb'
5
[ header: pos | driver | entrant | constructor | time/retired | grid row 1 : 1 | jim clark | team lotus | lotus-climax | 2.02:58.6 | 1 row 2 : 2 | richie ginther | owen racing organisation | brm | + 22.6 s | 3 row 3 : 3 | graham hill | owen racing organisation | brm | + 28.2 s | 2 row 4 : 4 | jack brabham | brabham racing organisation | brabham-climax | + 52.0 s | 11 row 5 : 5 | tony maggs | cooper car company | cooper-climax | 72 laps | 6 row 6 : 6 | bruce mclaren | cooper | cooper-climax | 72 laps | 7 row 7 : 7 | mike hailwood | reg parnell (racing) | lola-climax | 70 laps | 9 row 8 : 8 | ian burgess | scirocco-powell (racing | scirocco-brm | 69 laps | 18 row 9 : 9 | peter revson | reg parnell (racing) | lotus-brm | 69 laps | 15 row 10 : 10 | carel godin de beaufort | ecurie maarsbergen | porsche | 67 laps | 20 row 11 : 11 | jo siffert | siffert racing team | lotus-brm | engine (66 laps) | 12 row 12 : 12 | andre pilette | andre pilette | lotus-climax | 63 laps | 21 row 13 : 13 | innes ireland | british racing partnership | lotus-brm | oil pressure (56 laps) | 5 row 14 : 14 | bernard collomb | bernard collomb | lotus-climax | oil pressure (46 laps) | 19 row 15 : ret | ian raby | ian raby (racing) | gilby-brm | ignition | 13 row 16 : ret | dan gurney | brabham racing organisation | brabham-climax | oil leak | 16 row 17 : ret | mike beckwith | british racing partnership | lotus-brm | accident | 17 row 18 : ret | masten gregory | tim parnell | lotus-brm | cam follower | 14 row 19 : ret | trevor taylor | team lotus | lotus-climax | crownwheel & pinion | 4 row 20 : ret | jo bonnier | rob walker racing team | cooper-climax | oil pressure | 8 row 21 : ret | tony settember | scirocco-powell (racing | scirocco-brm | valve gear | 22 row 22 : ret | bob anderson | dw racing enterprises | lola-climax | gearbox | 10 row 23 : wd | peter arundell | team lotus | lotus-climax | car not ready | None ] Execute this SQL based on the above table: select count ( driver )
23
[ header: year | division | league | regular season | playoffs | open cup | avg. attendance row 1 : 2001 | 2 | usl a-league | 4th, western | quarterfinals | did not qualify | 7169 row 2 : 2002 | 2 | usl a-league | 2nd, pacific | 1st round | did not qualify | 6260 row 3 : 2003 | 2 | usl a-league | 3rd, pacific | did not qualify | did not qualify | 5871 row 4 : 2004 | 2 | usl a-league | 1st, western | quarterfinals | 4th round | 5628 row 5 : 2005 | 2 | usl first division | 5th | quarterfinals | 4th round | 6028 row 6 : 2006 | 2 | usl first division | 11th | did not qualify | 3rd round | 5575 row 7 : 2007 | 2 | usl first division | 2nd | semifinals | 2nd round | 6851 row 8 : 2008 | 2 | usl first division | 11th | did not qualify | 1st round | 8567 row 9 : 2009 | 2 | usl first division | 1st | semifinals | 3rd round | 9734 row 10 : 2010 | 2 | ussf d-2 pro league | 3rd, usl (3rd) | quarterfinals | 3rd round | 10727 ] Execute this SQL based on the above table: select regular season + playoffs where open cup = '3rd round' and playoffs = 'did not qualify'
11
[ header: opposition | matches | won | drawn | lost | for | against | win% row 1 : bhopal badshahs | 2 | 0 | 1 | 1 | 7 | 8 | 0.00% row 2 : chennai cheeta | 2 | 1 | 0 | 1 | 6 | 5 | 50.00% row 3 : delhi wizards | 2 | 2 | 0 | 0 | 4 | 2 | 100.00% row 4 : karnataka lions | 2 | 1 | 0 | 1 | 8 | 4 | 50.00% row 5 : mumbai marines | 2 | 2 | 0 | 0 | 9 | 5 | 100.00% row 6 : pune strykers | 3 | 2 | 0 | 1 | 11 | 8 | 66.67% row 7 : sher-e-punjab | 2 | 1 | 0 | 1 | 5 | 6 | 50.00% ] Execute this SQL based on the above table: select count ( win% ) where won > 669
0
[ header: season | series | team | races | wins | poles | f/laps | podiums | points | position row 1 : 2003 | formula renault 2.0 italy | cram competition | 12 | 0 | 1 | 1 | 3 | 118 | 7th row 2 : 2003 | formula renault 2000 masters season | cram competition | 8 | 0 | 0 | 0 | 0 | 0 | 28th row 3 : 2003 | formula renault 2.0 germany | cram competition | 2 | 0 | 0 | 0 | 0 | 3 | 43rd row 4 : 2003 | formula renault 2.0 italy winter cup | cram competition | None | None | None | None | None | None | 1st row 5 : 2004 | formula renault 2.0 italy | cram competition | 17 | 8 | 6 | 11 | 12 | 326 | 1st row 6 : 2004 | formula renault 2000 eurocup | cram competition | 15 | 2 | 0 | 1 | 3 | 134 | 8th row 7 : 2004 | formula renault v6 eurocup | cram competition | 2 | 0 | 0 | 0 | 0 | 12 | 21st row 8 : 2004 | formula one | minardi | test driver | test driver | test driver | test driver | test driver | test driver | test driver row 9 : 2005 | world series by renault | dams | 8 | 0 | 0 | 0 | 0 | 4 | 25th row 10 : 2005 | italian formula 3000 | sighinolfi auto racing | 4 | 1 | 1 | 1 | 1 | 14 | 9th row 11 : 2006 | world series by renault | draco racing | 17 | 3 | 5 | 6 | 5 | 103 | 3rd row 12 : 2007 | gp2 series | trident racing | 13 | 1 | 1 | 0 | 2 | 25 | 11th row 13 : 2007 | euroseries 3000 | g-tec | 2 | 1 | 1 | 1 | 1 | 12 | 10th row 14 : 2007 | formula 3000 italy | g-tec | 2 | 1 | 1 | 1 | 1 | 12 | 8th row 15 : 2008 | gp2 series | piquet sports | 20 | 1 | 2 | 3 | 6 | 60 | 5th row 16 : 2008 | international gt open - gt | scuderia latorre | 2 | 0 | 0 | 0 | 1 | 8 | 22nd row 17 : 2008 | euroseries 3000 | gp racing | 1 | 1 | 0 | 1 | 1 | 11 | 12th row 18 : 2008 | international gt open | scuderia latorre | None | None | None | None | None | 18 | 32nd row 19 : 2008-09 | gp2 asia series | art grand prix | 5 | 0 | 0 | 0 | 1 | 7 | 15th row 20 : 2009 | euroseries 3000 | teamcraft motorsport | 2 | 1 | 0 | 0 | 1 | 10 | 10th row 21 : 2009 | gp2 series | art grand prix | 20 | 2 | 0 | 0 | 2 | 36 | 6th row 22 : 2010 | gp2 series | rapax team | 20 | 6 | 0 | 5 | 8 | 87 | 1st row 23 : 2011 | formula one | at&t williams | 19 | 0 | 0 | 0 | 0 | 1 | 18th row 24 : 2012 | formula one | williams f1 team | 20 | 1 | 1 | 0 | 1 | 45 | 15th row 25 : 2013 | formula one | williams f1 team | 19 | 0 | 0 | 0 | 0 | 1 | 18th row 26 : 2014 | formula one | lotus f1 team | 2 | 0 | 0 | 0 | 0 | 0 | nc ] Execute this SQL based on the above table: select position where podiums > 8
1st
[ header: # | date | opponent | score | win | loss | save | attendance | record | other info row 1 : 104 | august 2 | phillies | 3 - 2 10 | smith (3-6) | calhoun (0-1) | None | 33629 | 54-50 | None row 2 : 105 | august 3 | @ pirates | 6 - 4 | drabek (3-10) | maddux (6-10) | gott (1) | 7281 | 54-51 | None row 3 : 106 | august 4 | @ pirates | 3 - 2 11 | mason (3-1) | gideon (1-2) | None | 8744 | 55-51 | None row 4 : 107 | august 5 | @ pirates | 10 - 0 | fisher (7-6) | moyer (9-8) | None | 7726 | 55-52 | None row 5 : 110 | august 8 | @ mets | 5 - 3 | mason (4-1) | schulze (1-2) | smith (27) | 47893 | 56-54 | None row 6 : 111 | august 9 | @ mets | 6 - 3 | sanderson (5-6) | gooden (9-4) | smith (28) | 49031 | 57-54 | None row 7 : 112 | august 10 | @ phillies | 4 - 2 | frohwirth (1-0) | moyer (9-9) | bedrosian (31) | 26796 | 57-55 | None row 8 : 113 | august 11 | @ phillies | 9 - 8 13 | k. gross (7-10) | tewksbury (0-4) | None | 30459 | 57-56 | None row 9 : 114 | august 12 | @ phillies | 13 - 7 | calhoun (1-1) | lynch (1-7) | None | 36190 | 57-57 | None row 10 : 116 | august 14 | mets | 6 - 1 | sanderson (6-6) | mitchell (3-5) | None | 17811 | 59-57 | None row 11 : 117 | august 15 | mets | 7 - 3 | moyer (10-9) | leach (10-1) | dipino (2) | 32425 | 60-57 | None row 12 : 118 | august 16 | mets | 23 - 10 | darling (10-7) | maddux (6-11) | None | 32731 | 60-58 | billy williams day ruined by row 13 : 119 | august 18 | @ braves | 9 - 5 | mahler (7-12) | lynch (1-8) | acker (8) | 17469 | 60-59 | None row 14 : 120 | august 19 | @ braves | 9 - 1 | sanderson (7-6) | puleo (5-6) | None | 10523 | 61-59 | None row 15 : 121 | august 20 | @ braves | 13 - 4 | acker (1-5) | moyer (10-10) | None | 11647 | 61-60 | None row 16 : 123 | august 22 | astros | 5 - 4 11 | andersen (8-4) | dipino (3-3) | smith (21) | 32552 | 62-61 | None row 17 : 124 | august 23 | astros | 4 - 2 | heathcock (3-1) | sutcliffe (15-6) | smith (22) | 33934 | 62-62 | None row 18 : 126 | august 27 | braves | 8 - 6 8 | lancaster (4-1) | mahler (7-13) | dipino (3) | 19006 | 63-63 | None row 19 : 127 | august 28 | @ reds | 6 - 5 10 | smith (4-7) | franco (7-5) | None | 28223 | 64-63 | None row 20 : 128 | august 29 | @ reds | 4 - 1 | browning (6-11) | sanderson (7-7) | None | 37783 | 64-64 | None ] Execute this SQL based on the above table: select win where loss = 'lynch (1-8)'
mahler (7-12)
[ 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 nationality order by id limit 1
norway
[ header: draw | country | language | artist | song | english translation | place | points row 1 : 1 | spain | spanish | serafin zubiri | "todo esto es la | all this is music | 14 | 37 row 2 : 2 | belgium | french | morgane | "nous, on veut des violon | we want violins | 20 | 11 row 3 : 3 | israel | hebrew | dafna dekel | "ze rak sport" (זה רק | it's just sport | 6 | 85 row 4 : 4 | turkey | turkish | aylin vatankos | "yaz bitti" | summer is over | 19 | 17 row 5 : 5 | greece | greek | cleopatra | "olou tou kosmou | the whole world's hope | 5 | 94 row 6 : 6 | france | french, antillean creole | kali | "monte la rivie" | go up the river | 8 | 73 row 7 : 7 | sweden | swedish | christer bjorkman | "i morgon ar en annan | tomorrow is another day | 22 | 9 row 8 : 8 | portugal | portuguese | dina | "amor d'agua fr | fresh water love | 17 | 26 row 9 : 9 | cyprus | greek | evridiki | "teriazoume" (ταιριαζουμε) | we hit it off | 11 | 57 row 10 : 10 | malta | english | mary spiteri | "little child" | None | 3 | 123 row 11 : 11 | iceland | icelandic | heart 2 heart | "nei eða ja" | no or yes? | 7 | 80 row 12 : 12 | finland | finnish | pave maijanen | "yamma, yamm | None | 23 | 4 row 13 : 13 | switzerland | french | daisy auvray | "mister music man" | None | 15 | 32 row 14 : 14 | luxembourg | luxembourgish | marion welter & kontin | "sou frai" | so free | 21 | 10 row 15 : 15 | austria | german | tony wegas | "zusammen geh'n" | go together | 10 | 63 row 16 : 16 | united kingdom | english | michael ball | "one step out of time" | None | 2 | 139 row 17 : 17 | ireland | english | linda martin | "why me?" | None | 1 | 155 row 18 : 18 | denmark | danish | kenny lubcke & lotte | "alt det som ingen ser" | all the things that nobody sees | 12 | 47 row 19 : 19 | italy | italian | mia martini | "rapsodia" | rhapsody | 4 | 111 row 20 : 20 | fr yugoslavia | serbian | extra nena | "ljubim te pes | i'm kissing you with songs | 13 | 44 row 21 : 21 | norway | norwegian | merethe trøan | "visjoner" | visions | 18 | 23 row 22 : 22 | germany | german | wind | "traume sind fur alle da" | dreams are there for everyone | 16 | 27 row 23 : 23 | netherlands | dutch | humphrey campbell | "wijs me de weg" | show me the way | 9 | 67 ] Execute this SQL based on the above table: select draw where draw != 9 and language = ( select language where draw = 9 )
5
[ header: | | | | | | | | | | row 1 : 2010s | 2010 | 2011 | 2012 | 2013 | 2014 | 2015 | 2016 | 2017 | 2018 | None row 2 : 2000s | 2000 | 2001 | 2002 | 2003 | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 row 3 : 1990s | 1990 | 1991 | 1992 | 1993 | 1994 | 1995 | 1996 | 1997 | 1998 | 1999 row 4 : 1980s | 1980 | 1981 | 1982 | 1983 | 1984 | 1985 | 1986 | 1987 | 1988 | 1989 row 5 : 1970s | 1970 | 1971 | 1972 | 1973 | 1974 | 1975 | 1976 | 1977 | 1978 | 1979 row 6 : 1960s | 1960 | 1961 | 1962 | 1963 | 1964 | 1965 | 1966 | 1967 | 1968 | 1969 row 7 : 1950s | 1950 | 1951 | 1952 | 1953 | 1954 | 1955 | 1956 | 1957 | 1958 | 1959 row 8 : 1940s | 1940 | 1941 | 1942 | 1943 | 1944 | 1945 | 1946 | 1947 | 1948 | 1949 row 9 : 1930s | 1930 | 1931 | 1932 | 1933 | 1934 | 1935 | 1936 | 1937 | 1938 | 1939 row 10 : 1920s | 1920 | 1921 | 1922 | 1923 | 1924 | 1925 | 1926 | 1927 | 1928 | 1929 row 11 : 1910s | 1910 | 1911 | 1912 | 1913 | 1914 | 1915 | 1916 | 1917 | 1918 | 1919 row 12 : 1900s | 1900 | 1901 | 1902 | 1903 | 1904 | 1905 | 1906 | 1907 | 1908 | 1909 row 13 : 1890s | 1890 | 1891 | 1892 | 1893 | 1894 | 1895 | 1896 | 1897 | 1898 | 1899 row 14 : 1880s | 1880 | 1881 | 1882 | 1883 | 1884 | 1885 | 1886 | 1887 | 1888 | 1889 row 15 : 1870s | 1870 | 1871 | 1872 | 1873 | 1874 | 1875 | 1876 | 1877 | 1878 | 1879 ] Execute this SQL based on the above table: select where = ( select max ( ) )
2010s
[ header: community | currency | region | target date | notes row 1 : economic and monetary community of central africa (ce | central african cfa franc | africa | None | not yet functioning common market row 2 : west african economic and monetary union (u | west african cfa franc | africa | None | not yet functioning common market row 3 : gulf cooperation council (gcc) | khaleeji | middle east | 2013 | possibly gold backed, but postponed row 4 : east african community (eac) | east african shilling | africa | 2015 | to be used by the future east african row 5 : caribbean single market and economy (a | None | latin america /caribbean | 2015 | to supplement the oecs eastern ca row 6 : southern african customs union (sacu | south african rand | africa | 2015 | de facto for the cma member when the row 7 : southern african development community (sadc | south african rand (interim proposal) | africa | 2016 | to supplement or succeed the cma and southern africa row 8 : south asian association for regional cooperation | None | south asia | 2016 | None row 9 : union of south american nations (unasur) | latino | latin america /caribbean | 2019 | None row 10 : economic community of central african states (ecca | None | africa | None | to supplement the economic and monetary community of central row 11 : economic community of west african states (eco | None | africa | None | to succeed uemoa and wa row 12 : african economic community | None | africa | 2028 | see african monetary union row 13 : union state of russia and belarus | russian ruble | europe | None | None row 14 : arab league | arab dinar | arab states | None | arab dinar has been proposed ever since the creation ] Execute this SQL based on the above table: select count ( community ) where community = 'economic community of central african states (eccas)'
1
[ header: no. | name | term of office | president(s) served under row 1 : 1 | william bennett | 1989 - 1991 | george h. w. bush row 2 : 2 | bob martinez | march 28, 1991 - january 20, | george h. w. bush row 3 : 3 | lee p. brown | january 1993 - december | bill clinton row 4 : 4 | barry mccaffrey | february 29, 1996 - janu | bill clinton row 5 : 5 | john p. walters | december 7, 2001 - janu | george w. bush row 6 : 6 | gil kerlikowske | may 7, 2009 - march 6, 2014 | barack obama row 7 : acting | michael botticelli | march 6, 2014 - | barack obama ] Execute this SQL based on the above table: select count ( distinct president(s) served under ) where no. >= 1436 and no. <= 1108
0
[ header: race | race name | pole position | fastest lap | winning driver | winning team | yokohama winner | jay-ten winner | report row 1 : 1 | race of brazil | robert huff | robert huff | robert huff | chevrolet | kristian poulsen | michel nykjær | report row 2 : 3 | race of belgium | robert huff | robert huff | robert huff | chevrolet | kristian poulsen | michel nykjær | report row 3 : 5 | race of italy | robert huff | yvan muller | robert huff | chevrolet | norbert michelisz | fredy barth | report row 4 : 7 | race of hungary | alain menu | norbert michelisz | alain menu | chevrolet | norbert michelisz | aleksei dudukalo | report row 5 : 8 | race of hungary | None | norbert michelisz | yvan muller | chevrolet | franz engstler | aleksei dudukalo | report row 6 : 9 | race of the czech republic | yvan muller | robert huff | robert huff | chevrolet | kristian poulsen | aleksei dudukalo | report row 7 : 10 | race of the czech republic | None | yvan muller | yvan muller | chevrolet | michel nykjær | aleksei dudukalo | report row 8 : 11 | race of portugal | alain menu | alain menu | alain menu | chevrolet | norbert michelisz | no finishers | report row 9 : 17 | race of spain | yvan muller | yvan muller | yvan muller | chevrolet | kristian poulsen | fabio fabiani | report row 10 : 18 | race of spain | None | yvan muller | yvan muller | chevrolet | kristian poulsen | fabio fabiani | report row 11 : 20 | race of japan | None | robert dahlgren | tom coronel | roal motorsport | michel nykjær | charles ng | report row 12 : 21 | race of china | alain menu | robert huff | alain menu | chevrolet | colin turkington | fabio fabiani | report row 13 : 22 | race of china | None | yvan muller | yvan muller | chevrolet | colin turkington | fabio fabiani | report row 14 : 23 | guia race of macau | robert huff | yvan muller | robert huff | chevrolet | michel nykjær | jo merszei | report ] Execute this SQL based on the above table: select race group by race order by count ( * ) desc limit 1
9
[ header: outcome | no. | date | tournament | surface | partner | opponents in the final | score in the final row 1 : runner-up | 1 | 1986 | toronto indoor, canada | carpet | danie visser | wojtek fibak joakim | 3-6, 6-7 row 2 : winner | 1 | 1986 | milan, italy | carpet | colin dowdeswell | brian levine laurie warder | 6-3, 4-6, 6-1 row 3 : runner-up | 2 | 1986 | atlanta, u.s | carpet | danie visser | andy kohlberg robert van | 2-6, 3-6 row 4 : winner | 2 | 1986 | bristol, england | grass | danie visser | mark edmondson wally masur | 6-7, 7-6, 12-10 row 5 : runner-up | 3 | 1986 | cincinnati, u.s | hard | danie visser | mark kratzmann kim warwick | 3-6, 4-6 row 6 : runner-up | 4 | 1986 | tel aviv, israel | hard | danie visser | john letts peter lund | 3-6, 6-3, 3-6 row 7 : runner-up | 5 | 1987 | philadelphia, u.s | carpet | danie visser | sergio casal emilio s | 6-3, 1-6, 6-7 ] Execute this SQL based on the above table: select ( select outcome where date = 1986 ) > 693
1
[ 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 ( name ) where stages > 873
0
[ header: team | car(s) | # | driver(s) | primary sponsor(s) | listed owner(s) | crew chief row 1 : akins-sutton motorsports | ford taurus | 98 | elton sawyer | lysol | brad akins | ricky viers row 2 : allcar racing | chevrolet monte carlo | 22 | jimmy kitchens | air jamaica vacations | dave carroll | todd lohse row 3 : buckshot racing | pontiac grand prix | 0 | larry pearson | cheez-it | billy jones | kenneth campbell row 4 : cicci-welliver racing | chevrolet monte carlo | 34 | mike mclaughlin | goulds pumps | frank cicci | jay smith row 5 : cicci-welliver racing | pontiac grand prix | 36 | tim fedewa | stanley tools | scott welliver | vic kangas row 6 : cicci-welliver racing | chevrolet monte carlo | 66 | todd bodine | phillips 66 | jeffrey welliver | donnie richeson row 7 : diamond ridge motorsports | chevrolet monte carlo | 4 | jeff purvis | lance snacks | gary bechtel | johnny allen row 8 : henderson brothers racing | chevrolet monte carlo | 75 | kelly denton (r) | big daddy's bbq sauce | charlie henderson | ron denton row 9 : hvp motorsports | chevrolet monte carlo | 63 | chuck bown | exxon superflo | hubert hensley | jeff hensley row 10 : innovative motorsports | chevrolet monte carlo | 47 | andy santerre | monro muffler brake | george debidart | kevin caldwell row 11 : joe gibbs racing | pontiac grand prix | 18 | bobby labonte | mbna | joe gibbs | bryant frazier row 12 : prw racing | ford taurus | 77 | ed berrier | lear corporation | tony hall | jimmy means row 13 : phil parsons racing | chevrolet monte carlo | 10 | phil parsons | alltel | marcia parsons | doug taylor row 14 : phoenix racing | chevrolet monte carlo | 1 | randy lajoie | bob evans restaurants | james finch | marc reno row 15 : progressive motorsports | chevrolet monte carlo | 32 | jeff green | kleenex | greg pollex | harold holly row 16 : reiser enterprises | chevrolet monte carlo | 17 | matt kenseth | dewalt tools | robbie reiser | robbie reiser row 17 : roush racing | ford taurus | 9 | jeff burton | track gear | jack roush | tommy morgan row 18 : sadler brothers racing | chevrolet monte carlo | 95 | bobby hamilton, j | shoney's inn | earl sadler | chick sadler row 19 : st motorsports | chevrolet monte carlo | 59 | mike dillon | kingsford | tad geschickter | steve plattenberger row 20 : team yellow racing | chevrolet monte carlo | 19 | mike skinner | yellow freight | david ridling | c. r. miller ] Execute this SQL based on the above table: select count ( # ) where driver(s) <= 1045
0
[ header: round | game | date | visitor | score | home | score | ot | bye row 1 : preliminary round | None | None | None | None | None | None | None | row 2 : quarter-finals | game 1 | 13-apr-75 | chicago black hawks | 1 | buffalo sabres | 4 | None | row 3 : quarter-finals | game 2 | 15-apr-75 | chicago black hawks | 1 | buffalo sabres | 3 | None | row 4 : quarter-finals | game 3 | 17-apr-75 | buffalo sabres | 4 | chicago black hawks | 5 | (ot) | row 5 : quarter-finals | game 4 | 20-apr-75 | buffalo sabres | 6 | chicago black hawks | 2 | None | row 6 : quarter-finals | game 5 | 22-apr-75 | chicago black hawks | 1 | buffalo sabres | 3 | None | row 7 : semi-finals | game 1 | 27-apr-75 | montreal canadiens | 5 | buffalo sabres | 6 | (ot) | row 8 : semi-finals | game 2 | 29-apr-75 | montreal canadiens | 2 | buffalo sabres | 4 | None | row 9 : semi-finals | game 3 | 1-may-75 | buffalo sabres | 0 | montreal canadiens | 7 | None | row 10 : semi-finals | game 4 | 3-may-75 | buffalo sabres | 2 | montreal canadiens | 8 | None | row 11 : semi-finals | game 5 | 6-may-75 | montreal canadiens | 4 | buffalo sabres | 5 | (ot) | row 12 : semi-finals | game 6 | 8-may-75 | buffalo sabres | 4 | montreal canadiens | 3 | None | row 13 : stanley cup finals | game 1 | 15-may-75 | buffalo sabres | 1 | philadelphia flyers | 4 | None | row 14 : stanley cup finals | game 2 | 18-may-75 | buffalo sabres | 1 | philadelphia flyers | 2 | None | row 15 : stanley cup finals | game 3 | 20-may-75 | philadelphia flyers | 4 | buffalo sabres | 5 | (ot) | row 16 : stanley cup finals | game 4 | 22-may-75 | philadelphia flyers | 2 | buffalo sabres | 4 | None | row 17 : stanley cup finals | game 5 | 25-may-75 | buffalo sabres | 1 | philadelphia flyers | 5 | None | row 18 : stanley cup finals | game 6 | 27-may-75 | philadelphia flyers | 2 | buffalo sabres | 0 | None | ] Execute this SQL based on the above table: select home where score = ( select score where home = 'montreal canadiens' ) + 1
montreal canadiens
[ 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 yards > 1334
charles frederick
[ header: order in position | president of the republic | length of the presidential action | rank by length of term(s) | notes row 1 : 1 | k. j. stahlberg | 5 years, 220 days | 8 | 1 term serving row 2 : 2 | lauri kristian relander | 6 years, 0 days one leap year (19 | 6 | 1 term serving row 3 : 3 | p. e. svinh | 5 years, 364 days two leap years (19 | 6 | 1 term serving row 4 : 4 | kyosti kallio | 3 years, 293 days | 9 | resigned due to poor health row 5 : 5 | risto ryti | 3 years, 229 days | 10 | resigned due to agreement with nazi german row 6 : 6 | gustaf mannerheim | 1 year, 219 days | 11 | resigned due to poor health and after not row 7 : 7 | j. k. paasiki | 9 years, 356 days | 4 | 2 terms serving (remainder of mannerheim row 8 : 8 | urho kekkonen | 25 years, 332 days | 1 | 3 whole terms serving (the 3rd exceptionally row 9 : 9 | mauno koivisto | 12 years, 33 days | 2 | 2 terms serving row 10 : 10 | martti ahtisa | 6 years, 0 days two leap years (19 | 5 | 1 term serving row 11 : 11 | tarja halonen | 12 years, 0 days | 3 | 2 terms serving row 12 : 12 | sauli niinisto | 2 years, 115 days | None | incumbent: first term serving ] Execute this SQL based on the above table: select president of the republic where president of the republic = 'martti ahtisaari' and notes = '1 term serving' order by president of the republic asc limit 1174
martti ahtisaari
[ header: yacht | nation | owner | skipper | launch year row 1 : afr midnight rambler | (nsw) | ed psaltis | ed psaltis | 2002 row 2 : another challenge | (vic) | chris lewin | chris lewin | 2000 row 3 : another fiasco | (qld) | damian suckling | damian suckling | 1994 row 4 : balance | (nsw) | paul clitheroe | paul clitheroe | 2006 row 5 : bear necessity | (nsw) | andrew & pauline d | andrew dally | 2007 row 6 : berrimilla | (nsw) | alex whitworth | alex whitworth | 1977 row 7 : george gregan foundation | (nsw) | peter goldsworthy | david witt | 2001 row 8 : georgia | (vic) | john williams/graeme | john williams | 2000 row 9 : getaway sailing 2 | (vic) | peter tarimo | jay pettifer | 2000 row 10 : global yacht racing - kioni | (nsw) | kioni sailing services p/l | richard falk | 2001 row 11 : helsal iv | (tas) | tony fisher | rob fisher | 1986 row 12 : huckleberry | (wa) | steve humphries | steve humphries | 1982 row 13 : hugo boss ii | None | alex thomson racing | ross daniel | 2001 row 14 : ichi ban | (nsw) | matt allen | matt allen | 2005 row 15 : imarex | (nsw) | marc & louis ryckmans | ola strand andersen | 2000 row 16 : jazz | None | chris bull | chris bull | 2003 row 17 : living doll | (vic) | michael hiatt | michael hiatt | 2005 row 18 : mr kite | (nsw) | andrew buckland/andre | andrew buckland/andre | 2005 row 19 : noonmark vi | None | sir geoffrey mulcahy | mike gilburt | 1998 row 20 : quantum racing | (nsw) | ray roberts | ray roberts | 2007 row 21 : quetzalcoatl | (nsw) | bruce/hampshire/lee | antony sweetapple | 2001 row 22 : ragamuffin | (nsw) | syd fischer | syd fischer | 2004 row 23 : rosebud | None | roger sturgeon | roger sturgeon | 2007 row 24 : scarlet runner | (vic) | robert date | robert date | 2001 row 25 : secret men's business #1 | (nsw) | smb syndicate | ross trembath/r cur | 1996 row 26 : sextant | (nsw) | denis doyle | denis doyle | 1999 row 27 : shogun | (vic) | rob hanna | rob hanna | 2007 row 28 : toyota aurion | (nsw) | andrew short | andrew short | 1993 row 29 : wild oats xi | (nsw) | bob oatley | mark richards | 2005 row 30 : wot's next | (nsw) | graeme wood | bill sykes | 2005 ] Execute this SQL based on the above table: select owner order by launch year asc limit 1
alex whitworth
[ header: team | car(s) | # | driver(s) | primary sponsor(s) | listed owner(s) | crew chief row 1 : akins-sutton motorsports | ford taurus | 98 | elton sawyer | lysol | brad akins | ricky viers row 2 : allcar racing | chevrolet monte carlo | 22 | jimmy kitchens | air jamaica vacations | dave carroll | todd lohse row 3 : buckshot racing | pontiac grand prix | 0 | larry pearson | cheez-it | billy jones | kenneth campbell row 4 : cicci-welliver racing | chevrolet monte carlo | 34 | mike mclaughlin | goulds pumps | frank cicci | jay smith row 5 : cicci-welliver racing | pontiac grand prix | 36 | tim fedewa | stanley tools | scott welliver | vic kangas row 6 : cicci-welliver racing | chevrolet monte carlo | 66 | todd bodine | phillips 66 | jeffrey welliver | donnie richeson row 7 : diamond ridge motorsports | chevrolet monte carlo | 4 | jeff purvis | lance snacks | gary bechtel | johnny allen row 8 : henderson brothers racing | chevrolet monte carlo | 75 | kelly denton (r) | big daddy's bbq sauce | charlie henderson | ron denton row 9 : hvp motorsports | chevrolet monte carlo | 63 | chuck bown | exxon superflo | hubert hensley | jeff hensley row 10 : innovative motorsports | chevrolet monte carlo | 47 | andy santerre | monro muffler brake | george debidart | kevin caldwell row 11 : joe gibbs racing | pontiac grand prix | 18 | bobby labonte | mbna | joe gibbs | bryant frazier row 12 : prw racing | ford taurus | 77 | ed berrier | lear corporation | tony hall | jimmy means row 13 : phil parsons racing | chevrolet monte carlo | 10 | phil parsons | alltel | marcia parsons | doug taylor row 14 : phoenix racing | chevrolet monte carlo | 1 | randy lajoie | bob evans restaurants | james finch | marc reno row 15 : progressive motorsports | chevrolet monte carlo | 32 | jeff green | kleenex | greg pollex | harold holly row 16 : reiser enterprises | chevrolet monte carlo | 17 | matt kenseth | dewalt tools | robbie reiser | robbie reiser row 17 : roush racing | ford taurus | 9 | jeff burton | track gear | jack roush | tommy morgan row 18 : sadler brothers racing | chevrolet monte carlo | 95 | bobby hamilton, j | shoney's inn | earl sadler | chick sadler row 19 : st motorsports | chevrolet monte carlo | 59 | mike dillon | kingsford | tad geschickter | steve plattenberger row 20 : team yellow racing | chevrolet monte carlo | 19 | mike skinner | yellow freight | david ridling | c. r. miller ] Execute this SQL based on the above table: select count ( * )
20
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 10 | juan pablo montoya | mclaren-mercedes | 60 | 1:24:29.588 | 3 | 10 row 2 : 2 | 5 | fernando alonso | renault | 60 | 2.739 | 1 | 8 row 3 : 3 | 9 | kimi raikkonen | mclaren-mercedes | 60 | 14.436 | 12 | 6 row 4 : 4 | 6 | giancarlo fisichella | renault | 60 | 17.914 | 6 | 5 row 5 : 5 | 3 | jenson button | bar-honda | 60 | 40.264 | 2 | 4 row 6 : 6 | 1 | michael schumacher | ferrari | 60 | +1:15.322 | 9 | 3 row 7 : 7 | 2 | rubens barrichello | ferrari | 60 | +1:16.567 | 5 | 2 row 8 : 8 | 17 | ralf schumacher | toyota | 60 | +1:19.212 | 8 | 1 row 9 : 9 | 16 | jarno trulli | toyota | 60 | +1:20.851 | 4 | None row 10 : 10 | 12 | felipe massa | sauber-petronas | 59 | +1 lap | 16 | None row 11 : 11 | 7 | mark webber | williams-bmw | 59 | +1 lap | 11 | None row 12 : 12 | 8 | nick heidfeld | williams-bmw | 59 | +1 lap | 14 | None row 13 : 13 | 14 | david coulthard | red bull-cosworth | 59 | +1 lap | 13 | None row 14 : 14 | 11 | jacques villeneuve | sauber-petronas | 59 | +1 lap | 10 | None row 15 : 15 | 15 | christian klien | red bull-cosworth | 59 | +1 lap | 15 | None row 16 : 16 | 4 | takuma sato | bar-honda | 58 | +2 laps | 7 | None row 17 : 17 | 18 | tiago monteiro | jordan-toyota | 58 | +2 laps | 20 | None row 18 : 18 | 21 | christijan albers | minardi-cosworth | 57 | +3 laps | 18 | None row 19 : 19 | 20 | patrick friesacher | minardi-cosworth | 56 | +4 laps | 19 | None row 20 : ret | 19 | narain karthikeyan | jordan-toyota | 10 | electrical | 17 | None ] Execute this SQL based on the above table: select sum ( laps ) where laps >= 58 and laps <= 59
470.0
[ header: entrant | constructor | chassis | engine | no | driver row 1 : team ensign | ensign | n180b | cosworth dfv v8 | 3 | jim crawford row 2 : team ensign | ensign | n180b | cosworth dfv v8 | 4 | joe castellano row 3 : colin bennett racing | mclaren | m29 | cosworth dfv v8 | 6 | arnold glass row 4 : colin bennett racing | march | 811 | cosworth dfv v8 | 7 | val musetti row 5 : team sanada | fittipaldi | f8 | cosworth dfv v8 | 8 | tony trimmer row 6 : warren booth | shadow | dn9 | cosworth dfv v8 | 11 | warren booth row 7 : john jordan | brm | p207 | brm 202 v12 | 12 | david williams row 8 : nick mason | tyrrell | 8 | cosworth dfv v8 | 14 | john brindley row 9 : emka productions | williams | fw07 | cosworth dfv v8 | 16 | steve o'rourke row 10 : team peru | williams | fw07 | cosworth dfv v8 | 82 | jorge koechlin ] Execute this SQL based on the above table: select engine order by constructor desc limit 1
cosworth dfv v8
[ header: party | candidate(s) | votes | percentage row 1 : uup | peter weir alan m | 9270 | 25.6 row 2 : uk unionist | robert mccartney | 7579 | 20.9 row 3 : dup | st clair mcalister rub | 6699 | 18.5 row 4 : alliance | oliver napier brian wil | 6186 | 17.1 row 5 : sdlp | owen adams john bur | 1798 | 5 row 6 : pup | victor ash samuel | 1694 | 4.7 row 7 : ulster democratic | james mccullough | 651 | 1.8 row 8 : ni women's coalition | emma mcguigan an | 496 | 1.4 row 9 : conservative | ann thompson bruce | 444 | 1.2 row 10 : independent chambers | alan chambers james arbut | 334 | 0.9 row 11 : green (ni) | paddy mcevoy mary ring | 283 | 0.8 row 12 : sinn fein | mairtin o mulleoir | 275 | 0.8 row 13 : labour coalition | john magennis sean m | 171 | 0.5 row 14 : independent dup | thomas o'brien will | 97 | 0.3 row 15 : democratic left | daryl armitage tim davis | 95 | 0.3 row 16 : workers' party | dessie o'hagan colum | 60 | 0.2 row 17 : ulster independence | geoffrey watson glenn | 49 | 0.1 row 18 : independent voice | christopher carter fidelm | 49 | 0.1 row 19 : natural law | peter mcgowan tho | 15 | 0 ] Execute this SQL based on the above table: select party where percentage >= 3
uup, uk unionist, dup, alliance, sdlp, pup
[ header: school year | class a | class aa | class aaa | class aaaa | class aaaaa row 1 : 1994-95 | menard | van alstyne | cameron yoe | wichita falls | weslaco row 2 : 1995-96 | era | coahoma | colorado city | livingston | duncanville row 3 : 1996-97 | sulphur bluff | marion | colorado city | snyder | duncanville row 4 : 1997-98 | westbrook | edgewood | perryton | san angelo lake view | flower mound marcus row 5 : 1998-99 | graford | lindsay | hamshire-fannett | brownwood | weslaco row 6 : 1999-2000 | garden city | keene | giddings | friendswood | college station a&m consolidated row 7 : 2000-01 | granger | edgewood | midland greenwood | friendswood | college station a&m consolidated row 8 : 2001-02 | lazbuddie | edgewood | giddings | friendswood | pasadena dobie row 9 : 2002-03 | rocksprings | rosebud-lott | pearsall | harlingen south | san antonio clark row 10 : 2003-04 | lazbuddie | wall | hamshire-fannett | friendswood | klein row 11 : 2004-05 | loop | mount pleasant chapel hill | llano | sherman | college station a&m consolidated row 12 : 2005-06 | wellington | centerville | hamshire-fannett | brownwood | abilene cooper row 13 : 2006-07 | springlake-earth | crawford | princeton | friendswood | college station a&m consolidated row 14 : 2007-08 | springlake-earth | grandview | hamshire-fannett | sherman | mission sharyland row 15 : 2008-09 | garden city | shelbyville | lubbock-cooper | friendswood | humble kingwood ] Execute this SQL based on the above table: select count ( class aa )
15
[ header: city/municipality | city/municipality | no. of barangays | area (hectares) | population (2010) | income class (2010) | mayor (2010-2013) row 1 : None | baao | 30 | 10663 | 54971 | 3rd class | melquiades i. gait row 2 : None | balatan | 17 | 9309 | 28699 | 4th class | ernesto a. bagas row 3 : None | bato | 33 | 10712 | 48306 | 3rd class | jeanette r. bernal row 4 : None | buhi | 38 | 24665 | 73809 | 1st class | rey p. lacoste row 5 : None | bula | 33 | 16764 | 68011 | 2nd class | benjamin s. decen row 6 : None | calabanga | 48 | 16380 | 78119 | 1st class | eduardo severo row 7 : None | camaligan | 13 | 468 | 22254 | 5th class | marilou marquez-hirose row 8 : None | caramoan | 49 | 27600 | 44945 | 2nd class | constantino h. cordial, row 9 : None | gainza | 8 | 1475 | 10345 | 5th class | william angeles abilay row 10 : None | garchitorena | 23 | 24380 | 25204 | 4th class | solon o.demetriou j row 11 : None | goa | 34 | 20618 | 58503 | 2nd class | antero s. lim row 12 : None | iriga city | 36 | 13735 | 105919 | 4th class | madeleine a. gazmen row 13 : None | lagonoy | 38 | 37790 | 51814 | 2nd class | delfin r. pilapil row 14 : None | libmanan | 75 | 34282 | 100002 | 1st class | marilyn a. jimenez row 15 : None | lupi | 38 | 19912 | 30118 | 3rd class | raul m. matamoros row 16 : None | magarao | 15 | 4497 | 24274 | 4th class | salvador a. senar row 17 : None | milaor | 20 | 3364 | 28474 | 4th class | rogelio a. row 18 : None | nabua | 42 | 9620 | 80111 | 1st class | delia c. simbulan row 19 : 25px | naga city | 27 | 8448 | 174931 | 2nd class | john g. bongat row 20 : None | ocampo | 25 | 11833 | 43523 | 3rd class | fidel c. carido row 21 : None | pamplona | 17 | 8060 | 34471 | 4th class | gimeno a. imperial row 22 : None | pasacao | 19 | 14954 | 45946 | 3rd class | asuncion v. arseni row 23 : None | pili | 26 | 12625 | 82307 | 1st class | tomas p. bongalonta, row 24 : None | presentacion | 18 | 14380 | 20023 | 4th class | joey a. delen row 25 : None | sagnay | 19 | 15476 | 31314 | 4th class | evelyn b. fuente row 26 : None | san fernando | 22 | 7176 | 33281 | 4th class | eugenio "jun" ] Execute this SQL based on the above table: select max ( no. of barangays )
75.0
[ header: site | date(s) | designated | location | description row 1 : bonsecours market | 1847 (completed) | 1984 | montreal 45°30′32.21′′ | a monumental, domed masonry civic building row 2 : former montreal custom house | 1838 (completed) | 1997 | montreal 45°30′11.98′′n | an excellent example of palladian architecture in canada row 3 : george stephen house / mount step | 1881 (completed) | 1971 | montreal 45°29′56.73′′ | a large, stone victorian man row 4 : h. vincent meredith residence | 1897 (completed) | 1990 | montreal 45°30′15.11′′ | representative of the mansions built by montreal row 5 : hochelaga | 1300s (ca.) (first construction | 1920 | montreal 45°30′12.83′′n | a grass-covered area about 79 square row 6 : senneville historic district | 1860 (established) | 2002 | senneville 45°25′50.1 | a 565-hectare (1,400- row 7 : sulpician towers / | 1694 (completed) | 1970 | montreal 45°29′37.68′′ | two 13-metre (43 ft) ] Execute this SQL based on the above table: select site where site in ( 'george stephen house / mount stephen club' , 'hochelaga' ) order by designated desc limit 1
george stephen house / mount stephen club
[ header: name | developer | release | type | game flow | setting row 1 : 8realms | jagex | 2011 (now closed) | strategy | real-time | empire building row 2 : adventure quest worlds | artix entertainment | 2008 | mmorpg | real-time | rpg row 3 : blood wars | bw team | 2006 | mmorpg | real-time | post-apocalyptic world row 4 : business tycoon online | dovogame llc | 2009 | mmorpg | real-time | fantasy/business simulation row 5 : castle marrach | skotos | 2001 | role-playing | real-time | fantasy/storytelling row 6 : club penguin | new horizon entertainment/disney | 2005 | social networking | real-time | antarctica row 7 : dead frontier | neil yates | 2008 | mmorpg, third-person shoot | real-time | post-apocalyptic world row 8 : doomlord | beholder kft | 2008 | rpg | real-time | fantasy row 9 : earth eternal | sparkplay media | 2009 | mmorpg | real-time | fantasy row 10 : echo bazaar! | failbetter games | 2009 | rpg | turn-based | gothic fantasy/steampunk row 11 : fusionfall | cartoon network/grigon entertainment | 2009 | mmorpg | real-time | science fiction row 12 : legends of zork | jolt online gaming | 2009-2011 (now closed) | role-playing | turn-based | fantasy/humorous row 13 : lord of ultima | electronic arts | 2010 | strategy | real-time | fantasy row 14 : miniconomy | trade games international bv | 2002 | strategy | real-time | contemporary/country building row 15 : nationstates | max barry | 2002 | strategy | real-time | contemporary/country building row 16 : neopets | viacom | 1999 | strategy, simulation | real-time | virtual pet site row 17 : pardus | bayer&szell oeg | 2004 | strategy | turn-based | science fiction row 18 : pirate galaxy | splitscreen studios | 2000 | role-playing | real-time | science fiction row 19 : planetarion | fubra | 2000 | strategy | turn-based | science fiction row 20 : quick hit football | play hard sports | 2009 | sports game | None | sports/american football row 21 : raceconflicts | raceconflicts | 2004 | mmorpg | turn-based | fantasy row 22 : sentou gakuen | pst team | 2012 | mmorpg, visual novel | real-time | school life row 23 : threechess | rs consult bg lt | 2010 | strategy | turn-based | chess variant row 24 : transformice | tigrounette, melibell | 2010 | platform game | real-time | mmog row 25 : travian | travian games | 2004 | mmorts, strategy | real-time | antiquity/empire building row 26 : urban dead | kevan davis | 2005 | mmorpg | turn-based | contemporary/zombies row 27 : tribal wars | inno games | 2003 | strategy | real-time | empire building ] Execute this SQL based on the above table: select count ( * ) where game flow = 1333
0
[ header: no | title | directed by | released row 1 : 1 | "kloot's k | hawley pratt | 1973 row 2 : 2 | "apache on the county seat" | hawley pratt | 1973 row 3 : 3 | "the shoe must go on" | gerry chiniquy | 1973 row 4 : 4 | "a self winding sidewinder" | roy morita | 1973 row 5 : 5 | "pay your buffalo bill" | gerry chiniquy | 1973 row 6 : 6 | "stirrups and hic | gerry chiniquy | 1973 row 7 : 7 | "ten miles to the gallop" | arthur leonardi | 1973 row 8 : 8 | "phony express" | gerry chiniquy | 1974 row 9 : 9 | "giddy up woe" | sid marcus | 1974 row 10 : 10 | "gold struck" | roy morita | 1974 row 11 : 11 | "as the tumbleweeds turn" | gerry chiniquy | 1974 row 12 : 12 | "the badge and the beautiful" | bob balsar | 1974 row 13 : 13 | "big beef at o.k. cor | bob balsar | 1974 row 14 : 14 | "by hoot or by crook | bob balsar | 1974 row 15 : 15 | "strange on the range" | durward bonaye | 1974 row 16 : 16 | "mesa trouble" | sid marcus | 1974 row 17 : 17 | "saddle soap opera" | gerry chiniquy | 1974 ] Execute this SQL based on the above table: select directed by where directed by = 'bob balsar' order by released asc limit 1974
bob balsar, bob balsar, bob balsar
[ header: full name | nickname | gender | weight at birth | meaning row 1 : chukwuebuka n | ebuka | girl | 690g (22 oz.) | god is big row 2 : chidinma anulika | chidi | girl | 760g (24.4 oz.) | god is good row 3 : chinecherem nwabugw | echerem | girl | 800g (25.7 oz.) | god thinks for me row 4 : chimaijem otto | chima | girl | 730g (23.5 oz.) | god knows my journey row 5 : chijindu chidera | odera | girl | 320g (10.3 oz.) | god holds my life row 6 : chukwubuikem madu | ikem | boy | 500g (16.0 oz.) | god is my strength row 7 : chijioke chinedum | jioke | boy | 810g (26.0 oz.) | god holds my share row 8 : chinagorom chidiebere | gorom | girl | 520g (16.7 oz.) | god is my advocate ] Execute this SQL based on the above table: select weight at birth where gender = 'girl'
690g (22 oz.), 760g (24.4 oz.), 800g (25.7 oz.), 730g (23.5 oz.), 320g (10.3 oz.), 520g (16.7 oz.)
[ header: year | english title | chinese title | director | role row 1 : 1933 | twenty-four hours in shanghai | 上海二十四小时 | shen xiling | None row 2 : 1937 | street angel | 马路天使 | yuan muzhi | xiao chen row 3 : 1937 | crossroads | 十字街头 | shen xiling | zhao row 4 : 1947 | far away love | 遙遠的愛 | chen liting | xiao yuanxi row 5 : 1947 | rhapsody of happiness | 幸福狂想曲 | chen liting | None row 6 : 1949 | crows and sparrows | 烏鴉与麻雀 | zheng junli | little broadcast row 7 : 1949 | women side by side | 丽人行 | chen liting | zhang yuliang row 8 : 1950 | the life of wu xun | 武训传 | sun yu | wu xun row 9 : 1951 | the married couple | 我们夫妇之间 | zheng junli | None row 10 : 1956 | li shizhen | 李时珍 | shen fu | li shizhen row 11 : 1958 | lin zexu | 林则徐 | zheng junli | lin zexu row 12 : 1959 | nie er | 聂耳 | zheng junli | nie er ] Execute this SQL based on the above table: select count ( year ) where year > 1933
11
[ header: central division v t e | w | l | pct | gb | home | road | div row 1 : y-atlanta hawks | 50 | 32 | 0.61 | None | 32-9 | 18-23 | 21-9 row 2 : x-houston rockets | 41 | 41 | 0.5 | 9 | 29-12 | 12-29 | 20-10 row 3 : x-san antonio | 41 | 41 | 0.5 | 9 | 27-14 | 14-27 | 14-16 row 4 : cleveland cavaliers | 37 | 45 | 0.451 | 13 | 28-13 | 9-32 | 16-14 row 5 : indiana pacers | 37 | 45 | 0.451 | 13 | 26-15 | 11-30 | 15-15 row 6 : detroit pistons | 16 | 66 | 0.195 | 34 | 13-28 | 3-38 | 4-26 ] Execute this SQL based on the above table: select div where div != '15-15' and l = ( select l where div = '15-15' )
16-14
[ header: year | title | chart-positions uk | chart-positions us | chart-positions nl | comments row 1 : 1969 | renaissance | 60 | None | 10 | None row 2 : 1971 | illusion | None | None | None | 1976 (uk) row 3 : 1972 | prologue | None | None | None | None row 4 : 1973 | ashes are burning | None | 171 | None | None row 5 : 1974 | turn of the cards | None | 94 | None | 1975 (uk) row 6 : 1975 | scheherazade and other stories | None | 48 | None | None row 7 : 1977 | novella | None | 46 | None | 1977 (january in us, august in row 8 : 1978 | a song for all seasons | 35 | 58 | None | uk:silver row 9 : 1979 | azure d'or | 73 | 125 | None | None row 10 : 1981 | camera camera | None | 196 | None | None row 11 : 1983 | time-line | None | 207 | None | None row 12 : 2001 | tuscany | None | None | None | None row 13 : 2013 | grandine il vento | None | None | None | None ] Execute this SQL based on the above table: select year where title = 'prologue'
1972
[ header: # | date | opponent | score | win | loss | save | attendance | record row 1 : 79 | july 1 | @ braves | 8-4 | gonzalez (11-3) | hudson (6-4) | None | 18796 | 45-32 row 2 : 82 | july 5 | giants | 6-5 | clippard (2-2) | casilla (2-4) | None | 29819 | 48-32 row 3 : 83 | july 6 | rockies | 1-5 | pomeranz (1-3) | strasburg (9-4) | betancourt (14) | 28951 | 48-33 row 4 : 84 | july 7 | rockies | 4-1 | gonzalez (12-3) | francis (2-2) | clippard (14) | 28032 | 49-33 row 5 : 85 | july 8 | rockies | 3-4 | brothers (4-2) | clippard (2-3) | betancourt (15) | 25125 | 49-34 row 6 : None | july 10 | 2012 major league baseball all-star game in | None | None | None | None | None | None row 7 : 86 | july 13 | @ marlins | 5-1 | zimmermann (6-6) | johnson (5-6) | None | 30911 | 50-34 row 8 : 88 | july 15 | @ marlins | 4-0 | strasburg (10-4) | nolasco (8-7) | None | 29889 | 51-35 row 9 : 89 | july 16 | @ marlins | 3-5 | zambrano (5-7) | jackson (5-5) | dunn (1) | 29248 | 51-36 row 10 : 91 | july 18 | mets | 4-3 | zimmermann (7-6) | young (2-4) | clippard (15) | 31660 | 53-36 row 11 : 92 | july 19 | mets | 5-9 | dickey (13-1) | gonzalez (12-5) | None | 36389 | 53-37 row 12 : 93 | july 20 | braves | 10-11 (11) | o'flaherty (2-0 | gorzelanny (2-2) | durbin (1) | 34228 | 53-38 row 13 : 94 | july 21 | braves | 0-4 | sheets (2-0) | jackson (5-6) | None | 28745 | 53-39 row 14 : 52 | july 21 | braves | 5-2 | lannan (1-0) | martinez (4-2) | clippard (16) | 40047 | 54-39 row 15 : 95 | july 22 | braves | 9-2 | detwiler (5-3) | jurrjens (3-4) | None | 34917 | 55-39 row 16 : 96 | july 23 | @ mets | 8-2 (10) | gorzelanny (3-2) | byrdak (2-2) | None | 26735 | 56-39 row 17 : 97 | july 24 | @ mets | 5-2 | gonzalez (13-5) | dickey (13-2) | clippard (17) | 36236 | 57-39 row 18 : 98 | july 25 | @ mets | 5-2 | strasburg (11-4) | hefner (1-4) | clippard (18) | 35517 | 58-39 row 19 : 99 | july 26 | @ brewers | 8-2 | jackson (6-6) | gallardo (8-8) | None | 33176 | 59-39 row 20 : 100 | july 27 | @ brewers | 0-6 | fiers (4-4) | detwiler (5-4) | None | 35858 | 59-40 row 21 : 101 | july 28 | @ brewers | 4-1 | zimmermann (8-6) | wolf (3-7) | clippard (19) | 41890 | 60-40 ] Execute this SQL based on the above table: select opponent group by opponent order by count ( attendance ) limit 1
2012 major league baseball all-star game in kansas city, missouri
[ header: place | player | country | score | to par row 1 : 1 | dustin johnson | united states | 71-70-66=207 | -6 row 2 : 2 | graeme mcdowell | northern ireland | 71-68-71=210 | -3 row 3 : 3 | tiger woods | united states | 74-72-66=212 | -1 row 4 : t4 | ernie els | south africa | 73-68-72=213 | e row 5 : t4 | gregory havret | france | 73-71-69=213 | e row 6 : 6 | phil mickelson | united states | 75-66-73=214 | 1 row 7 : t7 | alex cejka | germany | 70-72-74=216 | 3 row 8 : t7 | tim clark | south africa | 72-72-72=216 | 3 row 9 : t7 | ryo ishikawa | japan | 70-71-75=216 | 3 row 10 : t10 | martin kaymer | germany | 74-71-72=217 | 4 row 11 : t10 | davis love iii | united states | 75-74-68=217 | 4 row 12 : t10 | sean o'hair | united states | 76-71-70=217 | 4 ] Execute this SQL based on the above table: select country where country in ( 'germany' , 'south africa' ) order by to par desc limit 1
south africa
[ header: season | date | driver | team | chassis | engine | race distance laps | race distance miles (km) | race time | average speed (mph) | report row 1 : 2005 | july 17 | sebastien bourdais | newman/haas racing | lola | ford-cosworth | 88 | 173.624 (279.42) | 1:38:55 | 105.302 | report row 2 : 2006 | july 23 | justin wilson | rusport | lola | ford-cosworth | 85 | 167.705 (269.895) | 1:40:30 | 100.112 | report row 3 : 2007 | july 22 | sebastien bourdais | newman/haas/lanigan racing | panoz | cosworth | 96 | 189.408 (304.822) | 1:45:41 | 107.517 | report row 4 : 2008 | july 26 | scott dixon | chip ganassi racing | dallara | honda | 91 | 179.543 (288.946) | 1:51:06 | 96.967 | report row 5 : 2009 | july 26 | will power | penske racing | dallara | honda | 95 | 187.435 (301.647) | 1:42:42 | 109.498 | report row 6 : 2010 | july 25 | scott dixon | chip ganassi racing | dallara | honda | 95 | 187.435 (301.647) | 1:50:37 | 101.666 | report row 7 : 2011 | july 24 | will power | penske racing | dallara | honda | 80 | 180.48 (290.454) | 1:57:23 | 90.949 | report row 8 : 2012 | july 22 | helio castroneves | penske racing | dallara | chevrolet | 75 | 169.2 (272.301) | 1:38:51 | 101.246 | report ] Execute this SQL based on the above table: select report where average speed (mph) = '105.302'
report
[ header: game | december | opponent | score | record row 1 : 9 | 4 | @ montreal canadiens | 5 - 4 | 3-4-2 row 2 : 10 | 6 | @ toronto maple leafs | 4 - 2 | 3-5-2 row 3 : 11 | 9 | ottawa senators | 3 - 2 | 4-5-2 row 4 : 12 | 14 | detroit falcons | 3 - 0 | 5-5-2 row 5 : 13 | 18 | boston bruins | 4 - 2 | 5-6-2 row 6 : 14 | 20 | @ boston bruins | 2 - 2 ot | 5-6-3 row 7 : 15 | 23 | montreal canadiens | 5 - 1 | 6-6-3 row 8 : 16 | 25 | @ ottawa senators | 4 - 1 | 7-6-3 row 9 : 17 | 28 | philadelphia quakers | 4 - 2 | 8-6-3 row 10 : 18 | 30 | @ new york americans | 2 - 2 ot | 8-6-4 ] Execute this SQL based on the above table: select sum ( december )
177.0