inputs
stringlengths
291
3.71k
targets
stringlengths
1
2.65k
[ header: pos. | driver | co-driver | car | time | difference | points row 1 : 1 | sebastien loeb | daniel elena | citroen c4 wr | 3:59:18.9 | 0 | 10 row 2 : 2 | dani sordo | marc marti | citroen c4 wr | 3:59;36.4 | 17.5 | 8 row 3 : 3 | mikko hirvonen | jarmo lehtinen | ford focus rs wrc | 4:00:00.4 | 41.5 | 6 row 4 : 4 | petter solberg | phil mills | subaru impreza wrc | 4:02:07.8 | 2:48.9 | 5 row 5 : 5 | urmo aava | kuldar sikk | citroen c4 wr | 4:02:49.6 | 3:30.7 | 4 row 6 : 6 | pg andersson | jonas andersson | suzuki sx4 wr | 4:06:56.3 | 7:37.4 | 3 row 7 : 7 | toni gardemeister | tomi tuominen | suzuki sx4 wr | 4:07:13.8 | 7:54.9 | 2 row 8 : 8 | federico villagra | jorge perez companc | ford focus rs wrc | 4:07:53.9 | 8:35.0 | 1 row 9 : 1. (10.) | martin prokop | jan tomanek | mitsubishi lancer evo ix | 4:13:07.9 | 0 | 10 row 10 : 2. (11.) | patrik sandell | emil axelsson | mitsubishi lancer evo ix | 4:13:44.1 | 36.2 | 8 row 11 : 3. (12.) | martin rauam | silver kutt | mitsubishi lancer evo ix | 4:14:05.7 | 57.8 | 6 ] Execute this SQL based on the above table: select co-driver where points = ( select points where co-driver = 'jorge perez companc' ) + 1
tomi tuominen
[ header: round | opponent | result | bro. | opp. | date | venue | crowd | position row 1 : 1 | auckland warriors | win | 14 | 2 | 1 mar | anz stadium | 42361 | 2/10 row 2 : 2 | adelaide rams | win | 28 | 12 | 9 mar | anz stadium | 16279 | 1/10 row 3 : 3 | perth reds | win | 26 | 16 | 16 mar | waca ground | 11109 | 2/10 row 4 : 4 | canberra raiders | win | 24 | 8 | 24 mar | anz stadium | 26103 | 2/10 row 5 : 5 | cronulla sharks | win | 14 | 12 | 31 mar | anz stadium | 17294 | 1/10 row 6 : 6 | north queensland cowboys | win | 42 | 16 | 5 apr | stockland stadium | 30122 | 1/10 row 7 : 7 | adelaide rams | win | 20 | 10 | 13 apr | adelaide oval | 17633 | 1/10 row 8 : 8 | penrith panthers | loss | 26 | 27 | 21 apr | penrith football stadium | 12648 | 1/10 row 9 : 9 | canterbury bulldogs | win | 34 | 16 | 28 apr | anz stadium | 17921 | 1/10 row 10 : 10 | auckland warriors | win | 34 | 18 | 4 may | mt smart stadium | 16471 | 1/10 row 11 : 11 | north queensland cowboys | draw | 20 | 20 | 25 may | anz stadium | 14167 | 1/10 row 12 : 12 | hunter mariners | loss | 6 | 24 | 30 may | topper stadium | 7124 | 1/10 row 13 : 13 | cronulla sharks | loss | 4 | 32 | 30 jun | endeavour field | 12240 | 1/10 row 14 : 14 | perth reds | win | 50 | 14 | 6 jul | anz stadium | 11806 | 1/10 row 15 : 15 | canberra raiders | win | 19 | 4 | 14 jul | bruce stadium | 13067 | 1/10 row 16 : 16 | penrith panthers | win | 54 | 12 | 10 aug | anz stadium | 13921 | 1/10 row 17 : 17 | hunter mariners | win | 34 | 16 | 18 aug | anz stadium | 13830 | 1/10 row 18 : 18 | canterbury bulldogs | win | 32 | 24 | 25 aug | belmore oval | 9781 | 1/10 row 19 : semi final | cronulla sharks | win | 34 | 2 | 6 sep | stockland stadium | 26256 | None row 20 : grand final | cronulla sharks | win | 26 | 8 | 20 sep | anz stadium | 58912 | None ] Execute this SQL based on the above table: select position where id = 1
2/10
[ header: county | obama | votes | romney | votes | others | votes | total row 1 : colusa | 38.3% | 2,314 | 59.6% | 3,601 | 2.1% | 130 | 6,045 row 2 : contra costa | 66.2% | 290,824 | 31.1% | 136,517 | 2.7% | 11,804 | 439,145 row 3 : del norte | 43.4% | 3,791 | 52.8% | 4,614 | 3.8% | 331 | 8,736 row 4 : fresno | 49.7% | 129,129 | 47.9% | 124,490 | 1.8% | 6,078 | 259,697 row 5 : imperial | 65.2% | 25,136 | 33.2% | 12,776 | 1.6% | 620 | 38,532 row 6 : kern | 40.5% | 89,495 | 57.3% | 126,618 | 2.2% | 4,900 | 221,013 row 7 : lassen | 28.5% | 3,053 | 68.0% | 7,296 | 3.5% | 376 | 10,725 row 8 : madera | 40.2% | 16,018 | 57.3% | 22,852 | 2.5% | 996 | 39,866 row 9 : merced | 53.0% | 33,005 | 44.3% | 27,581 | 2.7% | 1,636 | 62,222 row 10 : modoc | 27.7% | 1,113 | 69.1% | 2,779 | 3.2% | 130 | 4,022 row 11 : mono | 52.9% | 2,733 | 44.2% | 2,285 | 2.9% | 150 | 5,168 row 12 : nevada | 47.7% | 24,663 | 48.4% | 24,986 | 3.9% | 2,026 | 51,675 row 13 : placer | 38.9% | 66,818 | 58.2% | 99,921 | 2.9% | 4,972 | 171,711 row 14 : plumas | 39.9% | 4,026 | 56.8% | 5,721 | 3.3% | 333 | 10,080 row 15 : san bernardino | 52.6% | 305,109 | 45.2% | 262,358 | 2.2% | 13,136 | 580,603 row 16 : san francisco | 83.4% | 301,723 | 13.0% | 47,076 | 3.4% | 12,996 | 361,795 row 17 : san joaquin | 55.6% | 114,121 | 41.9% | 86,071 | 2.5% | 5,172 | 205,364 row 18 : san luis obispo | 48.6% | 61,258 | 47.6% | 59,967 | 3.8% | 4,741 | 125,966 row 19 : santa cruz | 75.4% | 90,805 | 20.0% | 24,047 | 4.6% | 5,533 | 120,385 row 20 : sierra | 36.3% | 652 | 58.7% | 1,056 | 5.0% | 90 | 1,798 row 21 : siskiyou | 40.2% | 8,044 | 55.4% | 11,076 | 4.4% | 870 | 19,990 row 22 : solano | 63.3% | 96,783 | 34.1% | 52,092 | 2.6% | 3,965 | 152,840 row 23 : stanislaus | 49.9% | 77,724 | 47.1% | 73,459 | 3.0% | 4,633 | 155,816 row 24 : trinity | 46.6% | 2,674 | 47.3% | 2,716 | 6.1% | 349 | 5,739 row 25 : tulare | 41.2% | 41,752 | 56.2% | 56,956 | 2.6% | 2,571 | 101,279 row 26 : ventura | 52.2% | 170,929 | 45.1% | 147,958 | 2.7% | 8,825 | 327,712 ] Execute this SQL based on the above table: select count ( county ) where votes = '1,113'
1
[ header: film | year | role | language row 1 : miss christina | 2013 | mrs. moscu | romanian row 2 : fata din transilvania | 2011 | None | romanian row 3 : sange tanar, munti si brazi | 2011 | mama | romanian drama row 4 : luna verde | 2010 | simona | romanian row 5 : aniela (tv series) | 2009-2010 | maica stareta | romanian row 6 : eva | 2009 | maria | english row 7 : the fence | 2007 (in production) | herman's mother | english row 8 : margo | 2006 | margo's stepmother | romanian row 9 : l'homme presse | 2005, tv | bonne de bois de rose | french row 10 : orient express | 2004 | amalia frunzetti | romanian row 11 : casatorie imposibila ("impossible | 2004, tv series | None | romanian row 12 : a rozsa eneke | 2003 | olga | hungarian row 13 : patul lui procust (procu | 2001 | doamna t | romanian row 14 : dark prince: the true story of dracul | 2000, tv | woman at the fountain | english row 15 : kinai vedelem (chines | 1999 | None | hungarian row 16 : fata in fata (face to face) | 1999 | None | romanian row 17 : triunghiul mortii ("triangle | 1999 | regina maria | romanian row 18 : az alombanya | 1998, tv, short | None | hungarian row 19 : witman fiuk (witman boys) | 1997 | mrs. witman | hungarian row 20 : siodmy pokoj (the | 1995 | edith stein (the starring role) | hungarian row 21 : nostradamus | 1994 | helen | english row 22 : trahir (betrayal, roman | 1993 | woman in prison | french / romanian row 23 : casa din vis ("the house from the dream") | 1993 | None | romanian row 24 : cel mai iubit dintre paminteni (the | 1993 | None | romanian row 25 : balanta (the oak) | 1992 | nela (the starring role) | romanian row 26 : raminerea (forgotten by god) | 1992 | None | romanian row 27 : baiatul cu o singura brete | 1991 | None | romanian row 28 : pasaj | 1990 | None | romanian row 29 : marea sfidare ("the | 1989 | None | romanian row 30 : anotimpul iubirii (the | 1986 | None | romanian row 31 : secretul lui bachus (the secret of | 1984 | the girl in the restaurant (as maia | romanian ] Execute this SQL based on the above table: select count ( * ) where film = 'casatorie imposibila ("impossible marriage")'
1
[ header: year | nw rank | venue | opp rank | opponent | score | w/l | round | notes row 1 : 1996 | 2 | away | None | northern colorado | 26-27 | l | quarterfinal | None row 2 : 1998 | 2 | maryville | 11 | texas a&m-king | 49-34 | w | semifinal | None row 3 : 1998 | 2 | braly stadium | 3 | carson-newman | 24-6 | w | finals | None row 4 : 2000 | 1 | maryville | 5 | north dakota state | 17-13 | l | 1st round | None row 5 : 2002 | 4 | maryville | 7 | northern colorado | 12-23 | l | quarterfinal | None row 6 : 2004 | 4 | maryville | 6 | texas a&m-king | 34-14 | w | 1st round | None row 7 : 2005 | 21 | away | 12 | washburn | 42-32 | w | 2nd round | None row 8 : 2006 | 2 | maryville | 18 | midwestern state | 27-0 | w | 2nd round (first round bye) | None row 9 : 2006 | 2 | braly stadium | 1 | grand valley state | 14-17 | l | finals | None row 10 : 2007 | 5 | away | 2 | chadron state | 26-13 | w | quarterfinal | None row 11 : 2007 | 5 | maryville | 1 | grand valley state | 34-16 | w | semifinal | None row 12 : 2008 | 3 | braly stadium | 6 | minnesota-duluth | 14-21 | l | finals | None row 13 : 2009 | 2 | away | 1 | central washington | 21-20 | w | quarterfinal | None row 14 : 2010 | 3 | away | 1 | minnesota-duluth | 13-17 | l | semifinal | played during snowstorm that collapsed the huber row 15 : 2013 | 2 | maryville | 5 | minnesota-duluth | 59-21 | w | second round (first round bye) | None row 16 : 2013 | 2 | maryville | 12 | minnesota-st. cloud | 59-21 | w | quarterfinal | None row 17 : 2013 | 2 | maryville | 22 | grand valley state | 27-13 | w | semifinal | game was attend by missouri governor jay ] Execute this SQL based on the above table: select count ( year )
17
[ header: rank | athlete | time | notes | q row 1 : 1 | habtamu fayisa | 5:38.62 | pb | fa row 2 : 2 | peter matheka mutuku ( | 5:38.72 | pb | fa row 3 : 3 | zakaria kiprotich ( | 5:44.51 | pb | fa row 4 : 4 | waleed elayah (ye | 5:51.58 | pb | fa row 5 : 5 | bilal tabti (alg) | 5:56.21 | pb | fa row 6 : 6 | yousif daifalla (su | 5:56.46 | pb | fa row 7 : 7 | salem attiatalla (eg | 6:03.41 | None | fa row 8 : 8 | daniel wong (usa | 6:05.92 | pb | fa row 9 : 9 | david morcillo (esp | 6:10.90 | None | fb row 10 : 10 | laurentiu rosu (rou | 6:12.77 | None | fb row 11 : 11 | grant gwynne (aus) | 6:16.83 | None | fb row 12 : 12 | ioran etchechury (bra | 6:39.87 | None | fb row 13 : 13 | bacem salhi (tun | 6:43.17 | None | fb row 14 : None | ahmed burhan (ksa | dsq | None | fb row 15 : None | zak seddon (gbr | dsq | None | fb ] Execute this SQL based on the above table: select q order by rank desc limit 1
fb
[ header: year | nw rank | venue | opp rank | opponent | score | w/l | round | notes row 1 : 1996 | 2 | away | None | northern colorado | 26-27 | l | quarterfinal | None row 2 : 1998 | 2 | maryville | 11 | texas a&m-king | 49-34 | w | semifinal | None row 3 : 1998 | 2 | braly stadium | 3 | carson-newman | 24-6 | w | finals | None row 4 : 2000 | 1 | maryville | 5 | north dakota state | 17-13 | l | 1st round | None row 5 : 2002 | 4 | maryville | 7 | northern colorado | 12-23 | l | quarterfinal | None row 6 : 2004 | 4 | maryville | 6 | texas a&m-king | 34-14 | w | 1st round | None row 7 : 2005 | 21 | away | 12 | washburn | 42-32 | w | 2nd round | None row 8 : 2006 | 2 | maryville | 18 | midwestern state | 27-0 | w | 2nd round (first round bye) | None row 9 : 2006 | 2 | braly stadium | 1 | grand valley state | 14-17 | l | finals | None row 10 : 2007 | 5 | away | 2 | chadron state | 26-13 | w | quarterfinal | None row 11 : 2007 | 5 | maryville | 1 | grand valley state | 34-16 | w | semifinal | None row 12 : 2008 | 3 | braly stadium | 6 | minnesota-duluth | 14-21 | l | finals | None row 13 : 2009 | 2 | away | 1 | central washington | 21-20 | w | quarterfinal | None row 14 : 2010 | 3 | away | 1 | minnesota-duluth | 13-17 | l | semifinal | played during snowstorm that collapsed the huber row 15 : 2013 | 2 | maryville | 5 | minnesota-duluth | 59-21 | w | second round (first round bye) | None row 16 : 2013 | 2 | maryville | 12 | minnesota-st. cloud | 59-21 | w | quarterfinal | None row 17 : 2013 | 2 | maryville | 22 | grand valley state | 27-13 | w | semifinal | game was attend by missouri governor jay ] Execute this SQL based on the above table: select opponent where year not null and opp rank is null
northern colorado
[ header: year | title | role | notes row 1 : 1980 | hawaii five-o | neal forrester | episode: "the flight of the jewels" row 2 : 1982 | american playhouse | jed jenkins | episode: "the fifth of july" row 3 : 1991 | saturday night live | host | episode: jeff daniels/ row 4 : 1993 | frasier | doug | episode: "here's looking at you row 5 : 1995 | saturday night live | host | episode: jeff daniels/ row 6 : 2010 | planet sheen | glonb | episode: "what's up chock?" row 7 : 2012-present | the newsroom | will mcavoy | 19 episodes primetime emmy award for ] Execute this SQL based on the above table: select notes order by id desc limit 1
19 episodes primetime emmy award for outstanding lead actor in a drama series (2013) nominated-golden globe award for best actor - television series drama (2012) nominated-satellite award for best actor - television series drama (2013, 2014) nominated-screen actors guild award for outstanding performance by a male actor in a drama series (2013, 2014)
[ header: league | league | position | teams | matches | win | lose row 1 : v1.league | 3rd (2000-01) | 8th | 8 | 14 | 0 | 14 row 2 : v1.league | 4th (2001-02) | 7th | 7 | 12 | 1 | 11 row 3 : v1.league | 5th (2002-03) | 3rd | 8 | 14 | 9 | 5 row 4 : v1.league | 6th (2003-04) | champion | 7 | 12 | 11 | 1 row 5 : v1.league | 7th (2004-05) | 3rd | 8 | 14 | 10 | 4 row 6 : v1.league | 8th (2005-06) | 4th | 8 | 14 | 8 | 6 row 7 : v・challenge | 2006-07 | 6th | 8 | 14 | 5 | 9 row 8 : v・challenge | 2007-08 | 8th | 8 | 14 | 1 | 13 row 9 : v・challenge | 2008-09 | 7th | 10 | 18 | 8 | 10 row 10 : v・challenge | 2009-10 | 5th | 12 | 16 | 8 | 8 row 11 : v・challenge | 2010-11 | 5th | 12 | 18 | 11 | 7 row 12 : v・challenge | 2011-12 | 3rd | 12 | 22 | 16 | 6 row 13 : v・challenge | 2012-13 | 5th | 10 | 18 | 9 | 9 ] Execute this SQL based on the above table: select win where lose = 6
8.0, 16.0
[ header: pick # | nfl team | player | position | college row 1 : 183 | tampa bay buccaneers | parnell dickinson | quarterback | mississippi valley state row 2 : 184 | seattle seahawks | dick dixon | defensive tackle | arkansas state row 3 : 185 | miami dolphins | joe ingersoll | guard | unlv row 4 : 186 | dallas cowboys | greg schaum | defensive tackle | michigan state row 5 : 187 | cincinnati bengals | bob bateman | quarterback | brown row 6 : 188 | new york jets | abdul salaam | defensive end | kent state row 7 : 189 | cleveland browns | steve cassidy | defensive tackle | louisiana state row 8 : 190 | chicago bears | jerry muckensturm | linebacker | arkansas state row 9 : 191 | philadelphia eagles | carl hairston | defensive end | maryland-eastern shore row 10 : 192 | cincinnati bengals | carmen rome | defensive back | miami (oh) row 11 : 193 | atlanta falcons | karl farmer | wide receiver | pittsburgh row 12 : 194 | san francisco 49ers | jay chesley | defensive back | vanderbilt row 13 : 195 | buffalo bills | jackie williams | defensive back | texas a&m row 14 : 196 | kansas city chiefs | rod wellington | running back | iowa row 15 : 197 | houston oilers | larry harris | defensive tackle | oklahoma state row 16 : 198 | detroit lions | garth ten napel | linebacker | texas a&m row 17 : 199 | new york jets | james richards | running back | florida row 18 : 200 | miami dolphins | john owens | defensive end | tennessee state row 19 : 201 | new orleans saints | ed bauer | guard | notre dame row 20 : 202 | new england patriots | perry brooks | defensive tackle | southern row 21 : 203 | st. louis cardinals | phil rogers | running back | virginia tech row 22 : 204 | oakland raiders | clarence chapman | wide receiver | eastern michigan row 23 : 205 | cincinnati bengals | ken kuhn | linebacker | ohio state row 24 : 206 | minnesota vikings | larry brune | defensive back | rice row 25 : 207 | los angeles rams | larry buie | defensive back | mississippi state row 26 : 208 | dallas cowboys | david williams | running back | colorado row 27 : 209 | pittsburgh steelers | barry burton | tight end | vanderbilt ] Execute this SQL based on the above table: select position where pick # > 184 order by pick # limit 1
guard
[ header: year | competition | venue | position | notes row 1 : 1982 | european championships | athens, greece | 1st | 2.30 m row 2 : 1983 | world championships | helsinki, finland | 4th | 2.29 m row 3 : 1984 | olympic games | los angeles, united states | 1st | 2.35 m row 4 : 1986 | european championships | stuttgart, west germany | 4th | 2.29 m row 5 : 1987 | world championships | rome, italy | 4th | 2.35 m row 6 : 1988 | olympic games | seoul, south korea | 6th | 2.34 m row 7 : 1989 | world indoor championships | budapest, hungary | 2nd | 2.35 m row 8 : 1990 | european championships | split, yugoslavia | 6th | 2.31 m row 9 : 1992 | olympic games | barcelona, spain | None | 2.15 m ] Execute this SQL based on the above table: select position where venue = 'helsinki, finland'
4th
[ header: place | code | area (km2) | population | most spoken language row 1 : beatrix mine | 40701 | 0.17 | 2492 | sotho row 2 : boipatong | 40702 | 0.31 | 1501 | sotho row 3 : brandfort | 40703 | 3.2 | 1516 | afrikaans row 4 : fora | 40704 | 0.05 | 530 | sotho row 5 : ikgomotseng | 40705 | 1.07 | 2254 | tswana row 6 : joel mine | 40706 | 0.11 | 728 | sotho row 7 : lusaka | 40707 | 1.4 | 6110 | sotho row 8 : majwemasweu | 40708 | 2.5 | 10328 | sotho row 9 : makeleketla | 40709 | 1.35 | 6629 | sotho row 10 : masilo | 40710 | 3.02 | 14903 | sotho row 11 : star diamond mine | 40712 | 0.11 | 212 | sotho row 12 : theunissen | 40713 | 15.11 | 1667 | afrikaans row 13 : tshepong | 40714 | 0.54 | 1710 | sotho row 14 : verkeerdevlei | 40715 | 1.22 | 151 | afrikaans row 15 : winburg | 40716 | 70.22 | 3371 | sotho row 16 : remainder of the municipality | 40711 | 6696.44 | 10304 | sotho ] Execute this SQL based on the above table: select max ( code ) - min ( code )
15.0
[ header: player | games played | minutes played | minutes played per game | rebounds | rebounds per game | assists | assists per game | field goal % | free throw % | 3-point % | points | points per game row 1 : allan houston | 78 | 2858 | 36.6 | 283 | 3.6 | 173 | 2.2 | 0.449 | 0.909 | 0.381 | 1459 | 18.7 row 2 : latrell sprewell | 77 | 3017 | 39.2 | 347 | 4.5 | 269 | 3.5 | 0.43 | 0.783 | 0.304 | 1364 | 17.7 row 3 : glen rice | 75 | 2212 | 29.5 | 307 | 4.1 | 89 | 1.2 | 0.44 | 0.852 | 0.389 | 899 | 12 row 4 : marcus camby | 63 | 2127 | 33.8 | 515 | 11.5 | 52 | 0.8 | 0.524 | 0.667 | 0.125 | 759 | 12 row 5 : kurt thomas | 77 | 2125 | 27.6 | 723 | 6.7 | 63 | 0.8 | 0.511 | 0.814 | 0.333 | 800 | 10.4 row 6 : larry johnson | 65 | 2105 | 32.4 | 363 | 5.6 | 127 | 2 | 0.411 | 0.797 | 0.313 | 645 | 9.9 row 7 : charlie ward | 61 | 1492 | 24.5 | 159 | 2.6 | 273 | 4.5 | 0.416 | 0.8 | 0.383 | 433 | 7.1 row 8 : othella harrington | 30 | 548 | 18.3 | 99 | 3.3 | 20 | 0.7 | 0.554 | 0.729 | None | 185 | 6.2 row 9 : mark jackson | 29 | 786 | 27.1 | 120 | 4.1 | 163 | 5.6 | 0.411 | 0.529 | 0.31 | 170 | 5.9 row 10 : chris childs | 51 | 1309 | 25.7 | 138 | 2.7 | 236 | 4.6 | 0.419 | 0.848 | 0.313 | 245 | 4.8 row 11 : erick strickland | 28 | 421 | 15 | 52 | 1.9 | 29 | 1 | 0.305 | 0.857 | 0.34 | 120 | 4.3 row 12 : lavor postell | 26 | 169 | 6.5 | 25 | 1 | 5 | 0.2 | 0.315 | 0.815 | 0.273 | 59 | 2.3 row 13 : felton spencer | 18 | 113 | 6.3 | 35 | 1.9 | 2 | 0.1 | 0.6 | 0.6 | None | 39 | 2.2 row 14 : luc longley | 25 | 301 | 12 | 66 | 2.6 | 7 | 0.3 | 0.333 | 0.765 | None | 49 | 2 row 15 : rick brunson | 15 | 66 | 4.4 | 12 | 0.8 | 7 | 0.5 | 0.421 | 0.667 | 0 | 20 | 1.3 row 16 : travis knight | 45 | 256 | 5.7 | 53 | 1.2 | 5 | 0.1 | 0.189 | 0.5 | 0 | 29 | 0.6 ] Execute this SQL based on the above table: select player where player = 'erick strickland'
erick strickland
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | japan | 18 | 8 | 8 | 34 row 2 : 2 | india | 4 | 5 | 6 | 15 row 3 : 3 | philippines | 4 | 3 | 3 | 10 row 4 : 4 | taiwan | 2 | 6 | 7 | 15 row 5 : 5 | south korea | 2 | 3 | 1 | 6 row 6 : 6 | thailand | 2 | 2 | 0 | 4 row 7 : 7 | pakistan | 2 | 1 | 0 | 3 row 8 : 8 | iran | 2 | 0 | 2 | 4 row 9 : 9 | israel | 1 | 0 | 1 | 2 row 10 : 10 | singapore | 0 | 4 | 4 | 8 row 11 : 11 | malaysia | 0 | 3 | 1 | 4 row 12 : 12 | iraq | 0 | 2 | 0 | 2 row 13 : 13 | kampuchea | 0 | 0 | 2 | 2 row 14 : 14 | nepal | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select gold where total = 2
1.0, 0.0, 0.0
[ header: team | constructor | motorcycle | tyres | no | rider | rounds row 1 : camel yamaha team | yamaha | yamaha yzr-m1 | m | 5 | colin edwards | all row 2 : camel yamaha team | yamaha | yamaha yzr-m1 | m | 46 | valentino rossi | all row 3 : konica minolta honda | honda | honda rc211v | m | 6 | makoto tamada | all row 4 : tech 3 yamaha | yamaha | yamaha yzr-m1 | d | 7 | carlos checa | all row 5 : tech 3 yamaha | yamaha | yamaha yzr-m1 | d | 77 | james ellison | all row 6 : ducati marlboro team | ducati | ducati desmosedici gp | b | 15 | sete gibernau | 1-7, 10-11, 13-16 row 7 : ducati marlboro team | ducati | ducati desmosedici gp | b | 65 | loris capirossi | all row 8 : ducati marlboro team | ducati | ducati desmosedici gp | b | 66 | alex hofmann | 8-9, 12 row 9 : ducati marlboro team | ducati | ducati desmosedici gp | b | 12 | troy bayliss | 17 row 10 : kawasaki racing team | kawasaki | kawasaki ninja z | b | 17 | randy de puniet | all row 11 : kawasaki racing team | kawasaki | kawasaki ninja z | b | 56 | shinya nakano | all row 12 : kawasaki racing team | kawasaki | kawasaki ninja z | b | 8 | naoki matsudo | 15 row 13 : rizla suzuki motogp | suzuki | suzuki gsv-r | b | 21 | john hopkins | all row 14 : rizla suzuki motogp | suzuki | suzuki gsv-r | b | 71 | chris vermeulen | all row 15 : repsol honda team | honda | honda rc211v | m | 26 | dani pedrosa | all row 16 : repsol honda team | honda | honda rc211v | m | 69 | nicky hayden | all row 17 : honda lcr | honda | honda rc211v | m | 27 | casey stoner | all row 18 : pramac d'antin moto | ducati | ducati desmosedici gp | d | 30 | jose luis cardoso | all row 19 : pramac d'antin moto | ducati | ducati desmosedici gp | d | 66 | alex hofmann | 1-7, 10-11, 13-17 row 20 : pramac d'antin moto | ducati | ducati desmosedici gp | d | 22 | ivan silva | 8-9, 12 row 21 : fortuna honda | honda | honda rc211v | m | 24 | toni elias | 1-8, 10-17 row 22 : fortuna honda | honda | honda rc211v | m | 33 | marco melandri | all row 23 : fortuna honda | honda | honda rc211v | m | 84 | michel fabrizio | 9 ] Execute this SQL based on the above table: select rounds where tyres = 'm'
all, all, all, all, all, all, 1-8, 10-17, all, 9
[ header: title | year | peak chart positions us | peak chart positions us alt. | peak chart positions us main. rock | peak chart positions aus | peak chart positions aut | peak chart positions fin | peak chart positions ger | peak chart positions nld | peak chart positions swi | peak chart positions uk | album row 1 : "toxic" | 1999 | None | None | None | None | None | None | None | None | None | None | the gift of game row 2 : "darkside" | 2000 | None | None | None | None | None | None | None | None | None | None | the gift of game row 3 : "butterfly" | 2000 | 1 | 1 | 21 | 4 | 1 | 2 | 1 | 8 | 1 | 3 | the gift of game row 4 : "revolving door" | 2001 | None | None | None | 76 | 29 | 19 | 26 | 71 | 43 | 23 | the gift of game row 5 : "drowning" | 2002 | None | 24 | 24 | None | 45 | None | 45 | None | None | 50 | darkhorse row 6 : "hurt you so bad" | 2003 | None | None | None | None | None | None | None | None | None | None | darkhorse ] Execute this SQL based on the above table: select title order by year desc limit 1
"hurt you so bad"
[ header: year | film | role | notes row 1 : 1976 | liebesfallen | liane bruckner | None row 2 : 1976 | unser stiller mann | regina | None row 3 : 1979 | bildnis einer trinkerin | singer in a taxi drivers' bar | None row 4 : 1979 | cha-cha | None | None row 5 : 1983 | pankow '95 | jungfrau maria | None row 6 : 1996 | lilien in der bank | suzanne | None row 7 : 2000 | vasilisa | the witch | None row 8 : 2004 | 7 dwarves - men alone | the evil queen | hagen's daughter cosma played snow row 9 : 2006 | 7 zwerge - der wald | the evil queen | hagen's daughter cosma played snow ] Execute this SQL based on the above table: select count ( film ) where year > 1983
4
[ header: year | competition | venue | position | notes row 1 : 2002 | world junior championships | kingston, jamaica | 1st | 64.51 m (1.75 kg) row 2 : 2002 | asian games | busan, south korea | 1st | 60.76 m row 3 : 2003 | universiade | daegu, south korea | 1st | 62.32 m row 4 : 2003 | asian championships | manila, philippines | 1st | 61.43 m row 5 : 2004 | olympic games | athens, greece | 18th (q) | 60.60 m row 6 : 2005 | world championships | helsinki, finland | 18th (q) | 61.75 m row 7 : 2005 | universiade | izmir, turkey | 7th | 59.67 m row 8 : 2005 | east asian games | macau | 1st | 61.74 m row 9 : 2006 | asian games | doha, qatar | 5th | 58.54 m row 10 : 2009 | asian championships | guangzhou, china | 3rd | 59.27 m ] Execute this SQL based on the above table: select year where year = 2002
2002, 2002
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | great britain (gbr) | 2 | 1 | 2 | 5 row 2 : 2 | brazil (bra) | 2 | 0 | 0 | 2 row 3 : 3 | spain (esp) | 1 | 2 | 0 | 3 row 4 : 4 | austria (aut) | 1 | 1 | 0 | 2 row 5 : 4 | greece (gre) | 1 | 1 | 0 | 2 row 6 : 4 | united states (usa) | 1 | 1 | 0 | 2 row 7 : 7 | france (fra) | 1 | 0 | 1 | 2 row 8 : 7 | israel (isr) | 1 | 0 | 0 | 1 row 9 : 7 | norway (nor) | 1 | 0 | 0 | 1 row 10 : 10 | ukraine (ukr) | 0 | 2 | 0 | 2 row 11 : 11 | china (chn) | 0 | 1 | 0 | 1 row 12 : 11 | czech republic (cze) | 0 | 1 | 0 | 1 row 13 : 11 | canada (can) | 0 | 1 | 0 | 1 row 14 : 14 | denmark (den) | 0 | 0 | 2 | 2 row 15 : 15 | argentina (arg) | 0 | 0 | 1 | 1 row 16 : 15 | italy (ita) | 0 | 0 | 1 | 1 row 17 : 15 | japan (jpn) | 0 | 0 | 1 | 1 row 18 : 15 | poland (pol) | 0 | 0 | 1 | 1 row 19 : 15 | slovenia (slo) | 0 | 0 | 1 | 1 row 20 : 15 | sweden (swe) | 0 | 0 | 1 | 1 row 21 : total | None | 11 | 11 | 11 | 33 ] Execute this SQL based on the above table: select rank where rank != '2' and gold = ( select gold where rank = '2' )
1
[ header: capacitor type | capacity | volts | temp. | energy-to-weight ratio | power-to-weight ratio row 1 : act premlis lithium ion capacitor | 2000 f | 4.0 v | 25 °c | 54 kj/kg to 2.0 v | 44.4 w/kg @ 5 a row 2 : act premlis lithium ion capacitor | 2000 f | 4.0 v | 25 °c | 31 kj/kg to 2.0 v | 850 w/kg @ 10 a row 3 : nesccap electric double-layer capacitor | 5000 f | 2.7 v | 25 °c | 19.58 kj/kg to 1.35 | 5.44 w/kg c/1 ( row 4 : nesccap electric double-layer capacitor | 5000 f | 2.7 v | 25 °c | 5.2 kj/kg to 1.35 | 5,200 w/kg @ 2,547 row 5 : eestor eesu bar | 30.693 f | 3500 v | 85 °c | 1471.98 kj/kg | 80.35 w/kg c/5 row 6 : eestor eesu bar | 30.693 f | 3500 v | 85 °c | 1471.98 kj/kg | 8,035 w∕kg 20 c row 7 : general atomics 3330cmx22 | 20.5 mf | 3300 v | None | 2.3 kj/kg | 6.8 mw/kg @ 100 ] Execute this SQL based on the above table: select power-to-weight ratio where capacity >= 1459
44.4 w/kg @ 5 a, 850 w/kg @ 10 a, 5.44 w/kg c/1 (1.875 a), 5,200 w/kg @ 2,547a
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | russia | 7 | 3 | 0 | 10 row 2 : 2 | italy | 1 | 3 | 0 | 4 row 3 : 3 | france | 1 | 1 | 2 | 4 row 4 : 4 | austria | 1 | 1 | 0 | 2 row 5 : 4 | germany | 1 | 1 | 0 | 2 row 6 : 4 | iran | 1 | 1 | 0 | 2 row 7 : 4 | israel | 1 | 1 | 0 | 2 row 8 : 8 | poland | 1 | 0 | 5 | 6 row 9 : 9 | netherlands | 1 | 0 | 1 | 2 row 10 : 9 | romania | 1 | 0 | 1 | 2 row 11 : 11 | belgium | 1 | 0 | 0 | 1 row 12 : 11 | mexico | 1 | 0 | 0 | 1 row 13 : 13 | spain | 0 | 2 | 0 | 2 row 14 : 14 | sweden | 0 | 1 | 3 | 4 row 15 : 15 | colombia | 0 | 1 | 1 | 2 row 16 : 15 | ukraine | 0 | 1 | 1 | 2 row 17 : 17 | denmark | 0 | 1 | 0 | 1 row 18 : 17 | switzerland | 0 | 1 | 0 | 1 row 19 : 19 | algeria | 0 | 0 | 1 | 1 row 20 : 19 | greece | 0 | 0 | 1 | 1 row 21 : 19 | kazakhstan | 0 | 0 | 1 | 1 row 22 : 19 | slovenia | 0 | 0 | 1 | 1 row 23 : total | total | 18 | 18 | 18 | 54 ] Execute this SQL based on the above table: select count ( * )
23
[ header: no. | title (latin) | title (english translation) | subject | date row 1 : 1 | ad beatissimi aposto | to the chair of the prince of the apostles | appealing for peace | 1 november 1914 row 2 : 2 | humani generis redemptionem | redemption of the human race | on preaching the word of god | 15 june 1917 row 3 : 3 | quod iam diu | None | on the future peace conference | 1 december 1918 row 4 : 4 | in hac tanta | None | on st. boniface | 14 may 1919 row 5 : 5 | paterno iam diu | None | on the children of central europe | 24 november 1919 row 6 : 6 | pacem, dei munus pulcher | peace, the beautiful gift of god | on peace and christian reconciliation | 23 may 1920 row 7 : 7 | spiritus paraclitus | the spirit, the paraclete | on st. jerome | 15 september 1920 row 8 : 8 | principi apostolorum p | to peter, prince of the apostles | on st. ephram the | 5 october 1920 row 9 : 9 | annus iam plenus | None | on children in central europe | 1 december 1920 row 10 : 10 | sacra propediem | None | on the third order of st. fr | 6 january 1921 row 11 : 11 | in praeclara summorum | None | on dante | 30 april 1921 row 12 : 12 | fausto appetente die | None | on st. dominic | 29 june 1921 ] Execute this SQL based on the above table: select no. where subject = 'on preaching the word of god'
2.0
[ header: year | title | role | notes row 1 : 1980 | the flintstone comedy hour | freaky frankenstone | voice episode: "rv fever/birthday row 2 : 1980 | steve martin: comedy is not | unnamed terrorist | reubens played an unnamed terrorist row 3 : 1980 | steve martin: all commercials | multiple roles | reubens played multiple roles in multiple ski row 4 : 1981 | mork & mindy | dickie nimitz | episode: "long before we met" row 5 : 1981 | the pee-wee herman show | pee-wee herman | tv movie row 6 : 1982 | madame's place | pee-wee herman | episode: "episode #1. row 7 : 1984 | faerie tale theatre | pinocchio | episode: "pinocchio" row 8 : 1985 | saturday night live | pee-wee herman | host episode: "pee-wee her row 9 : 1986-1990 | pee-wee's playhouse | pee-wee herman | creator, writer, director of 3 episodes daytime row 10 : 1988 | sesame street | pee-wee herman | episode:"put down the duckie" row 11 : 1995-1997 | murphy brown | andrew j. lansing | 6 episodes nominated - primetime row 12 : 2001 | ally mcbeal | louis | episode: "cloudy skies, chance of parade row 13 : 2006 | campus ladies | drama instructor | episode: "drama class" row 14 : 2006 | reno 911! | rick | episode: "rick's on it" row 15 : 2006 | tom goes to the mayor | paul | voice episode: "puddins" row 16 : 2006 | re-animated | golly gopher | voice tv movie row 17 : 2007 | area 57 | alien | unaired pilot row 18 : 2007 | 30 rock | gerhardt hapsburg | episode: "black tie" row 19 : 2007 | tim and eric awesome show, great | the moon | episode: "cats" row 20 : 2007-2009 | chowder | reuben | voice 3 episodes row 21 : 2007 | pushing daisies | oscar vibenius | 2 episodes row 22 : 2009-2011 | batman: the brave and the bold | bat-mite | voice 4 episodes row 23 : 2012-2013 | tron: uprising | pavel | voice 17 episodes row 24 : 2012 | robot chicken dc comics special | the riddler | voice tv movie row 25 : 2013 | comedy bang! bang! | pee-wee herman | episode: "pee wee herman wear ] Execute this SQL based on the above table: select year where role = 'pavel'
2012-2013
[ header: state | interview | swimsuit | evening gown | average row 1 : idaho | 8.688 | 8.925 | 8.850 | 8.821 row 2 : kentucky | 8.863 | 9.175 | 9.400 | 9.146 row 3 : vermont | 8.425 | 9.013 | 9.300 | 8.913 row 4 : texas | 8.688 | 8.975 | 8.875 | 8.846 row 5 : north dakota | 8.800 | 8.975 | 9.175 | 8.983 row 6 : washington | 8.688 | 8.788 | 8.863 | 8.779 row 7 : alabama | 8.650 | 8.475 | 8.938 | 8.688 row 8 : south dakota | 8.300 | 8.838 | 8.513 | 8.550 row 9 : new york | 8.463 | 8.713 | 8.400 | 8.525 row 10 : oklahoma | 8.275 | 8.325 | 8.700 | 8.433 ] Execute this SQL based on the above table: select average where swimsuit = '9.013' and average != 1332
8.913
[ header: pos. | time | athlete | country | venue | date row 1 : 1 | 12.21 (+0.7) | yordanka donkova | bulgaria | stara zagora | 20 august 1988 row 2 : 2 | 12.25 (+1.4) | ginka zagorcheva | bulgaria | drama | 8 august 1987 row 3 : 3 | 12.26 (+1.7) | ludmila narozh | russia | seville | 6 june 1992 row 4 : 3 | 12.26 (+1.2) | brianna rollins | united states | des moines | 22 june 2013 row 5 : 5 | 12.28 (+1.1) | sally pearson | australia | daegu | 3 september 2011 row 6 : 6 | 12.33 (-0.3) | gail devers | united states | sacramento | 23 july 2000 row 7 : 7 | 12.36 (+1.9) | grazyna rabszt | poland | warsaw | 13 june 1980 row 8 : 8 | 12.37 (+1.5) | joanna hayes | united states | athens | 24 august 2004 row 9 : 8 | 12.37 (-0.2) | dawn harper | united states | london | 7 august 2012 row 10 : 10 | 12.39 (+1.5) | vera komisova | soviet union | rome | 5 august 1980 row 11 : 10 | 12.39 (+1.8) | nataliya grygoryeva | soviet union | kiev | 11 july 1991 row 12 : 12 | 12.42 (+1.8) | bettine jahn | east germany | berlin | 8 june 1983 row 13 : 12 | 12.42 (+2.0) | anjanette kirkland | united states | edmonton | 11 august 2001 row 14 : 14 | 12.43 (-0.9) | lucyna kalek | poland | hannover | 19 august 1984 row 15 : 14 | 12.43 (-0.3) | michelle perry | united states | carson | 26 june 2005 row 16 : 14 | 12.43 (+0.2) | lolo jones | united states | beijing | 18 august 2008 row 17 : 14 | 12.43 (+1.2) | queen harrison | united states | des moines | 22 june 2013 row 18 : 18 | 12.44 (-0.5) | gloria siebert | east germany | rome | 4 september 1987 row 19 : 18 | 12.44 (-0.8) | olga shishigina | kazakhstan | lucerne | 27 june 1995 row 20 : 18 | 12.44 (+0.4) | glory alozie | nigeria | monaco | 8 august 1998 row 21 : 18 | 12.44 (+0.6) | damu cherry | united states | lausanne | 7 july 2006 row 22 : 22 | 12.45 (+1.3) | cornelia oschkenat | east germany | neubrandenburg | 11 june 1987 row 23 : 22 | 12.45 (+1.4) | brigitte foster-hylton | jamaica | eugene | 24 may 2003 row 24 : 22 | 12.45 (+1.5) | olena krasov | ukraine | athens | 24 august 2004 row 25 : 22 | 12.45 (+1.4) | virginia crawford | united states | new york city | 2 june 2007 ] Execute this SQL based on the above table: select count ( country ) where pos. >= 55
0
[ header: # | title | songwriters | producer(s) | performer (s) row 1 : 1 | "creative control" | o. credle, l. bas | organized konfusion | o.c row 2 : 2 | "word...life" | o. credle, a. best | buckwild | o.c row 3 : 3 | "o-zone" | o. credle, a. best | buckwild | o.c row 4 : 4 | "born 2 live" | o. credle, a. best | buckwild | o.c row 5 : 5 | "time's up" | o. credle, a. best | buckwild | o.c row 6 : 6 | "point o' viewz" | o. credle, d. van | buckwild, prestige | o.c row 7 : 7 | "constables" | o. credle, l. bas | organized konfusion | o.c row 8 : 8 | "ga head" | o. credle, r. hall | lord finesse | o.c row 9 : 9 | "no main topic" | o. credle, g. | dj ogee/o. | o.c., prince po row 10 : 10 | "let it slide" | o. credle, a. best | buckwild | o.c., pharo row 11 : 11 | "ma dukes" | o. credle, a. best | buckwild | o.c row 12 : 12 | "story" | o. credle, g. | dj ogee/o. | o.c row 13 : 13 | "outtro (sabotage) | o. credle, a. best | buckwild | o.c row 14 : 14 | "born 2 live (remix)" | o. credle, a. best | organized konfusion | o.c ] Execute this SQL based on the above table: select producer(s) where id = 2
buckwild
[ header: name | nation | position | league apps | league goals | fa cup apps | fa cup goals | total apps | total goals row 1 : ned barkas | england | df | 4 | 0 | 0 | 0 | 4 | 0 row 2 : harry brough | england | df | 9 | 0 | 0 | 0 | 9 | 0 row 3 : george brown | england | fw | 6 | 4 | 0 | 0 | 6 | 4 row 4 : jack byers | england | mf | 5 | 1 | 0 | 0 | 5 | 1 row 5 : harry cawthorne | england | df | 5 | 0 | 0 | 0 | 5 | 0 row 6 : ted davis | england | gk | 27 | 0 | 7 | 0 | 34 | 0 row 7 : ernie islip | england | fw | 34 | 11 | 9 | 4 | 43 | 15 row 8 : billy johnston | england | fw | 21 | 2 | 2 | 0 | 23 | 2 row 9 : robert jones | england | mf | 2 | 1 | 0 | 0 | 2 | 1 row 10 : frank mann | england | fw | 40 | 5 | 8 | 4 | 48 | 9 row 11 : len marlow | england | fw | 1 | 0 | 0 | 0 | 1 | 0 row 12 : colin mckay | scotland | df | 14 | 2 | 0 | 0 | 14 | 2 row 13 : sandy mutch | scotland | gk | 15 | 0 | 2 | 0 | 17 | 0 row 14 : stan pearson | england | mf | 1 | 0 | 1 | 0 | 2 | 0 row 15 : george richardson | england | mf | 14 | 1 | 8 | 1 | 22 | 2 row 16 : charlie slade | england | df | 25 | 0 | 9 | 0 | 34 | 0 row 17 : billy e. smith | england | fw | 1 | 0 | 0 | 0 | 1 | 0 row 18 : billy h. smith | england | mf | 40 | 8 | 9 | 4 | 49 | 12 row 19 : clem stephenson | england | fw | 39 | 9 | 9 | 6 | 48 | 15 row 20 : jack swann | england | fw | 9 | 3 | 0 | 0 | 9 | 3 row 21 : sam wadsworth | england | df | 39 | 1 | 9 | 0 | 48 | 1 row 22 : billy watson | england | df | 36 | 0 | 9 | 1 | 45 | 1 row 23 : tom wilson | england | df | 39 | 1 | 9 | 0 | 48 | 1 row 24 : james wood | england | df | 36 | 0 | 9 | 0 | 45 | 0 ] Execute this SQL based on the above table: select fa cup goals group by fa cup goals order by count ( * ) desc limit 1
0.0
[ header: code | district | headquarters | population (as of 2011) | area (km2) | density (/km2) row 1 : al | almora | almora | 621972 | 3083 | 202 row 2 : ba | bageshwar | bageshwar | 259840 | 2302 | 113 row 3 : cl | chamoli | chamoli gopeshwar | 391114 | 7613 | 51 row 4 : cp | champawat | champawat | 259315 | 1781 | 146 row 5 : dd | dehradun | dehradun | 1695860 | 3088 | 550 row 6 : ha | haridwar | haridwar | 1927029 | 2360 | 817 row 7 : na | nainital | nainital | 955128 | 3860 | 247 row 8 : pg | pauri garhwal | pauri | 686572 | 5399 | 127 row 9 : pi | pithoragarh | pithoragarh | 485993 | 7100 | 68 row 10 : rp | rudra prayag | rudraprayag | 236857 | 1890 | 125 row 11 : tg | tehri garhwal | new tehri | 616409 | 4080 | 151 row 12 : us | udham singh nagar | rudrapur | 1648367 | 2908 | 567 row 13 : ut | uttarkashi | uttarkashi | 329686 | 8016 | 41 ] Execute this SQL based on the above table: select abs ( code - headquarters ) where density (/km2) = 151
0
[ header: name | party | province | term expires | years in office row 1 : william atkinson | liberal | central | 1989 | 1983-1984 row 2 : colin bell | liberal | lower west | 1989 | 1983-1989 row 3 : joe berinson | labor | north central metropolitan | 1986 | 1980-1993 row 4 : james brown | labor | south-east | 1986 | 1980-1992 row 5 : eric charlton | national/np | central | 1989 | 1984-1998 row 6 : des dans | labor | south metropolitan | 1989 | 1971-1989 row 7 : peter dowding | labor | north | 1986 | 1980-1986 row 8 : graham edwards | labor | north metropolitan | 1989 | 1983-1997 row 9 : lyla elliott | labor | north-east metropolitan | 1986 | 1971-1986 row 10 : vic ferry | liberal | south-west | 1989 | 1965-1987 row 11 : harry gayfer | national/ncp | central | 1986 | 1974-1989 row 12 : clive griffiths | liberal | south central metropolitan | 1989 | 1965-1997 row 13 : kay hallahan | labor | south-east metropolitan | 1989 | 1983-1993 row 14 : bob hetherington | labor | south-east metropolitan | 1986 | 1977-1989 row 15 : garry kelly | labor | south metropolitan | 1986 | 1982-1993 row 16 : thomas knight | liberal | south | 1986 | 1974-1986 row 17 : sandy lewis | liberal | lower central | 1986 | 1974-1989 row 18 : phil lockyer | liberal | lower north | 1986 | 1980-1997 row 19 : margaret mcaleer | liberal | upper west | 1986 | 1974-1993 row 20 : fred mckenzie | labor | north-east metropolitan | 1989 | 1977-1993 row 21 : graham mackinnon | liberal | south west | 1986 | 1956-1986 row 22 : thomas mcneil | national/np | upper west | 1989 | 1977-1989 row 23 : gordon masters | liberal | west | 1986 | 1974-1989 row 24 : ian medcalf | liberal | metropolitan | 1986 | 1968-1986 row 25 : norman moore | liberal | lower north | 1989 | 1977-2013 row 26 : mark nevill | labor | south-east | 1989 | 1983-2001 row 27 : neil oliver | liberal | west | 1989 | 1977-1989 row 28 : phillip pendal | liberal | south central metropolitan | 1986 | 1980-1993 row 29 : sam piantadosi | labor | north central metropolitan | 1989 | 1983-1996 row 30 : ian pratt | liberal | lower west | 1986 | 1974-1986 row 31 : tom stephens | labor | north | 1989 | 1982-2004 row 32 : bill stretch | liberal | lower central | 1989 | 1983-2005 row 33 : peter wells | liberal | north metropolitan | 1986 | 1980-1986 row 34 : richard williams | liberal | metropolitan | 1989 | 1971-1989 row 35 : david wordsworth | liberal | south | 1989 | 1971-1993 ] Execute this SQL based on the above table: select province where name = 'clive griffiths' and term expires > ( select term expires where province = 'north central metropolitan' )
south central metropolitan
[ header: # | date | venue | opponent | score | result | competition row 1 : 2 | 17 february 2002 | healy park, omagh | tyrone | | 2-10 : 0-18 | national football league round 2 row 2 : 3 | 3 march 2002 | parnell park, dublin | westmeath | | 3-13 : 1-16 | national football league round 4 row 3 : 5 | 31 march 2002 | tuam stadium, galway | galway | | 1-12 : 1-12 | national football league round 7 row 4 : 6 | 2 february 2003 | parnell park, dublin | armagh | | 0-7 : 1-15 | national football league round 1 row 5 : 12 | 8 february 2004 | mchale park, castlebar | mayo | | 0-3 : 1-10 | national football league round 2 row 6 : 15 | 21 march 2004 | parnell park, dublin | cork | | 0-9 : 0-9 | national football league round 6 row 7 : 16 | 5 february 2005 | parnell park, dublin | mayo | | 2-13 : 1-15 | national football league round 1 row 8 : 21 | 26 march 2005 | pairc ui rinn, | cork | | 1-6 : 0-18 | national football league round 6 row 9 : 22 | 3 april 2005 | o'connor park, tul | offaly | | 1-13 : 2-6 | national football league round 7 row 10 : 27 | 25 march 2006 | parnell park, dublin | mayo | | 4-10 : 1-10 | national football league round 6 row 11 : 28 | 9 april 2006 | fitzgerald stadium, kerry | kerry | | 0-13 : 0-13 | national football league round 7 row 12 : 30 | 10 february 2007 | gaelic grounds, limerick | limerick | | 0-14 : 1-10 | national football league round 2 row 13 : 31 | 25 february 2007 | ballyshannon, donegal | donegal | | 0-5 : 0-9 | national football league round 3 row 14 : 32 | 10 march 2007 | parnell park, dublin | cork | | 1-13 : 0-7 | national football league round 4 row 15 : 41 | 26 april 2008 | pairc tailteann, meath | westmeath | | 0-10 : 0-15 | national football league division 2 final row 16 : 42 | 31 january 2009 | croke park, dublin | tyrone | | 1-16 : 1-18 | national football league round 1 row 17 : 43 | 15 february 2009 | pearse stadium, salthill | galway | | 0-13 : 3-12 | national football league round 2 row 18 : 48 | 7 february 2010 | fitzgerald stadium, killarney | kerry | | 1-12 : 1-10 | national football league round 1 row 19 : 50 | 13 march 2010 | parnell park, dublin | monaghan | | 2-11 : 1-9 | national football league round 4 ] Execute this SQL based on the above table: select # order by # desc limit 1
50.0
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | united states (usa) | 25 | 16 | 7 | 48 row 2 : 2 | canada (can) | 5 | 4 | 7 | 16 row 3 : 3 | jamaica (jam) | 4 | 3 | 4 | 11 row 4 : 4 | cuba (cub) | 3 | 8 | 4 | 15 row 5 : 5 | mexico (mex) | 0 | 3 | 3 | 6 row 6 : 6 | brazil (bra) | 0 | 2 | 1 | 3 row 7 : 7 | puerto rico (pur) | 0 | 1 | 1 | 2 row 8 : 8 | colombia (col) | 0 | 0 | 3 | 3 row 9 : 9 | peru (per) | 0 | 0 | 2 | 2 row 10 : 9 | trinidad and tobago (tri) | 0 | 0 | 2 | 2 row 11 : 11 | chile (chi) | 0 | 0 | 1 | 1 row 12 : 11 | uruguay (uru) | 0 | 0 | 1 | 1 row 13 : 11 | venezuela (ven) | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select nation order by bronze desc limit 2
united states (usa), canada (can)
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | japan | 18 | 8 | 8 | 34 row 2 : 2 | india | 4 | 5 | 6 | 15 row 3 : 3 | philippines | 4 | 3 | 3 | 10 row 4 : 4 | taiwan | 2 | 6 | 7 | 15 row 5 : 5 | south korea | 2 | 3 | 1 | 6 row 6 : 6 | thailand | 2 | 2 | 0 | 4 row 7 : 7 | pakistan | 2 | 1 | 0 | 3 row 8 : 8 | iran | 2 | 0 | 2 | 4 row 9 : 9 | israel | 1 | 0 | 1 | 2 row 10 : 10 | singapore | 0 | 4 | 4 | 8 row 11 : 11 | malaysia | 0 | 3 | 1 | 4 row 12 : 12 | iraq | 0 | 2 | 0 | 2 row 13 : 13 | kampuchea | 0 | 0 | 2 | 2 row 14 : 14 | nepal | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select ( select id where nation = 'malaysia' ) < ( select id where nation = 'taiwan' )
0
[ header: series | launch date | finale date | days | housemates | winner | main presenter | grand prize | liveshow audience millions row 1 : grande fratello 1 | 14 september 2000 | 21 december 2000 | 99 | 10 | cristina plevani | daria bignardi | £250,000,000 (nowadays €12 | 9.82 row 2 : grande fratello 2 | 20 september 2001 | 20 december 2001 | 92 | 16 | flavio montrucchio | daria bignardi | £250,000,000 (nowadays €12 | 8 row 3 : grande fratello 3 | 30 january 2003 | 8 may 2003 | 99 | 16 | floriana secondi | barbara d'urso | €241,000 (reduced from €300 | 8 row 4 : grande fratello 4 | 22 january 2004 | 6 may 2004 | 106 | 15 | serena garitta | barbara d'urso | €300,000 | 8.44 row 5 : grande fratello 5 | 23 september 2004 | 2 december 2004 | 71 | 17 | jonathan kashanian | barbara d'urso | €250,000 | 6.86 row 6 : grande fratello 6 | 19 january 2006 | 27 april 2006 | 99 | 18 | augusto de megni | alessia marcuzzi | €900,000 (reduced from € | 6.51 row 7 : grande fratello 7 | 18 january 2007 | 19 april 2007 | 92 | 19 | milo coretti | alessia marcuzzi | €500,000 | 5.57 row 8 : grande fratello 8 | 21 january 2008 | 21 april 2008 | 92 | 21 | mario ferretti | alessia marcuzzi | €500,000 | 5.46 row 9 : grande fratello 9 | 12 january 2009 | 20 april 2009 | 99 | 23 | ferdi berisa | alessia marcuzzi | €300,000 | 6.63 row 10 : grande fratello 10 | 26 october 2009 | 8 march 2010 | 134 | 26 | mauro marin | alessia marcuzzi | €250,000 | 6.16 row 11 : grande fratello 11 | 18 october 2010 | 18 april 2011 | 183 | 35 | andrea cocco | alessia marcuzzi | €300,000 (extended from €2 | 5.43 row 12 : grande fratello 12 | 24 october 2011 | 1 april 2012 | 161 | 36 | sabrina mbarek | alessia marcuzzi | €240,000 (reduced from €2 | 3.85 row 13 : grande fratello 13 | 3 march 2014 | early june | 92 | 15 | None | alessia marcuzzi | €250,000 | None ] Execute this SQL based on the above table: select series where finale date = '8 march 2010'
grande fratello 10
[ header: season | tier | division | place row 1 : 2005/06 | 5 | 1a aut. pref | None row 2 : 2006/07 | 4 | 3a | 19th row 3 : 2007/08 | 5 | 1a aut. pref | 2nd row 4 : 2008/09 | 4 | 3a | 18th row 5 : 2009/10 | 5 | 1a aut. pref | 3rd row 6 : 2010/11 | 5 | 1a aut. pref | 9th row 7 : 2011/12 | 5 | 1a aut. pref | 8th row 8 : 2012/13 | 5 | 1a aut. pref | 11th row 9 : 2013/14 | 5 | 1a aut. pref | None ] Execute this SQL based on the above table: select place where place != '11th' and tier = ( select tier where place = '11th' )
2nd, 3rd, 9th, 8th
[ header: name | date built | builder | works no. | wheels | cylinders | notes | withdrawn row 1 : veteran | 1847 | None | None | 0-6-0 | inside | arr. 1847 | None row 2 : fairfield | 1847 | None | None | 0-6-0 | inside | arr. 1847 | None row 3 : waverley | None | henry hughes of lough | None | 0-4-0st | outside | None | 1889 row 4 : bee | None | None | None | 0-6-0t | None | None | None row 5 : spider | None | None | None | 0-6-0t | None | None | None row 6 : gillingham | None | aveling and porter | None | 0-6-0tg | None | arr. 1893 | 1893 row 7 : no.1 | 1880 | hunslet | 231 | 0-6-0st | inside | arr. 1893 | 1923 row 8 : no.2 | 1898 | peckett | 696 | 0-4-0st | outside | arr. 1904 | 1923 ] Execute this SQL based on the above table: select name where withdrawn = 1923
no.1, no.2
[ header: species | common name | ncbi accession # | ncbi name | length | sequence identity | sequence similarity | years since divergence from human (mya) row 1 : pan troglodytes | chimpanzee | xp_003317262 | depdc5 | 1572 aa | 99% | 99% | 6.4 row 2 : nomascus leucogenys | gibbon | xp_003258163 | depdc5 | 1602 aa | 99% | 99% | 20.4 row 3 : mus musculus | mouse | np_001164038 | depdc5 | 1591 aa | 94% | 96% | 92.4 row 4 : bos taurus | cow | xp_002694678 | depdc5 | 1593 aa | 94% | 96% | 94.4 row 5 : sorex araneus | shrew | ace77702 | depdc5 | 1570 aa | 94% | 96% | 94.4 row 6 : monodelphis domestica | possum | xp_001378772 | depdc5 | 1522 aa | 89% | 93% | 163.9 row 7 : gallus gallus | chicken | xp_415249 | depdc5 | 1592 aa | 88% | 93% | 301.7 row 8 : meleagris gallopavo | turkey | xp_003211073 | depdc5 | 1592 aa | 88% | 93% | 301.7 row 9 : taeniopygi | zebra finch | xp_002199825 | depdc5 | 1572 aa | 87% | 92% | 301.7 row 10 : xenopus tropicalis | frog | xp_002931964 | depdc5-like | 1574 aa | 79% | 86% | 371.2 row 11 : danio rerio | zebra fish | xp_691450 | depdc5-like | 1590 aa | 75% | 84% | 400.1 row 12 : oreochromis niloticus | cichlid | xp_003459226 | depdc5 | 1577 aa | 74% | 82% | 400.1 row 13 : strongylocentrotus purpuratus | sea urchin | xp_794020 | similar to depdc5 | 1608 aa | 43% | 57% | 742.9 row 14 : drosophila melanogaster | drosophila | np_647618 | gc12090 | 1471 aa | 41% | 57% | 782.7 row 15 : pediculus humanus corporis | louse | xp_002429401 | depdc, putative | 1538 aa | 38% | 53% | 782.7 row 16 : anopheles gambiae | mosquito | xp_308760 | agap007010-pa | 1640 aa | 36% | 51% | 782.7 row 17 : ascaris suum | ascaris | ady40551 | depdcp5 | 1359 aa | 31% | 51% | 937.5 row 18 : ustilago maydis | corn smut | xp_757759 | vacuolar-associated protein iml1 | 1867 aa | 23% | 52% | 1215.8 row 19 : saccharomyces cerevisiae | yeast | np_012672 | iml1p | 1584 aa | 20% | 50% | 1215.8 row 20 : albugo laibachii | white rust | cca27519 | vacuolar membrane-associated protein putative | 1591 aa | 20% | 46% | 1362 ] Execute this SQL based on the above table: select species where sequence similarity = '51%' group by species order by count ( * ) desc limit 1
ascaris suum
[ header: rank | bib | name | nation | run 1 | rank | run 2 | rank | total | difference row 1 : 6 | 13 | manuela molgg | italy | 1:07.99 | 5 | 1:13.44 | 14 | 2:21.43 | 0.89 row 2 : 7 | 26 | jessica lindell-vikar | sweden | 1:08.94 | 14 | 1:12.61 | 5 | 2:21.55 | 1.01 row 3 : 13 | 2 | tanja poutiainen | finland | 1:08.59 | 11 | 1:13.29 | 11 | 2:21.88 | 1.34 row 4 : 17 | 27 | sara hector | sweden | 1:10.37 | 30 | 1:12.30 | 3 | 2:22.67 | 2.13 row 5 : 18 | 24 | lena durr | germany | 1:08.94 | 14 | 1:13.75 | 19 | 2:22.69 | 2.15 row 6 : 23 | 22 | marie-michele gagnon | canada | 1:09.95 | 27 | 1:13.37 | 12 | 2:23.32 | 2.78 row 7 : 24 | 25 | marie-pier prefontaine | canada | 1:09.91 | 26 | 1:13.58 | 17 | 2:23.49 | 2.95 row 8 : 28 | 35 | britt janyk | canada | 1:10.18 | 28 | 1:15.55 | 32 | 2:25.73 | 5.19 row 9 : 36 | 44 | kristina saalova | slovakia | 1:12.22 | 42 | 1:16.44 | 34 | 2:28.66 | 8.12 row 10 : 37 | 51 | katerina paulathova | czech republic | 1:12.10 | 41 | 1:16.71 | 38 | 2:28.81 | 8.27 row 11 : 43 | 42 | sofija novoselic | croatia | 1:13.18 | 48 | 1:17.40 | 42 | 2:30.58 | 10.04 row 12 : 47 | 65 | maria shkanova | belarus | 1:13.86 | 53 | 1:18.28 | 45 | 2:32.14 | 11.6 row 13 : 49 | 59 | daniela markova | czech republic | 1:13.78 | 52 | 1:18.87 | 49 | 2:32.65 | 12.11 row 14 : 52 | 77 | bogdana matsotska | ukraine | 1:14.21 | 56 | 1:19.18 | 51 | 2:33.39 | 12.85 row 15 : None | 7 | kathrin holzl | germany | 1:09.41 | 20 | dns | None | None | None row 16 : None | 38 | rebecca buhler | liechtenstein | 1:12.03 | 40 | dnf | None | None | None row 17 : None | 45 | tea palic | croatia | 1:14.73 | 61 | dnq | None | None | None row 18 : None | 81 | lelde gasuna | latvia | 1:15.37 | 64 | dnq | None | None | None row 19 : None | 61 | anna berecz | hungary | 1:15.95 | 68 | dnq | None | None | None row 20 : None | 85 | iulia petruta cra | romania | 1:16.80 | 70 | dnq | None | None | None row 21 : None | 82 | isabel van buynder | belgium | 1:17.06 | 71 | dnq | None | None | None row 22 : None | 100 | sophie fjellvang- | denmark | 1:18.37 | 75 | dnq | None | None | None row 23 : None | 91 | yom hirshfeld | israel | 1:22.87 | 82 | dnq | None | None | None ] Execute this SQL based on the above table: select name order by rank desc limit 1
yom hirshfeld
[ header: against | played | won | drawn | lost | win % row 1 : andorra | 3 | 3 | 0 | 0 | 100% row 2 : argentina | 4 | 0 | 0 | 4 | 0% row 3 : australia | 1 | 0 | 0 | 1 | 0% row 4 : australia emerging | 1 | 0 | 1 | 0 | 0% row 5 : belgium | 14 | 12 | 1 | 1 | 85.71% row 6 : canada | 1 | 0 | 0 | 1 | 0% row 7 : chile | 4 | 2 | 0 | 2 | 50% row 8 : croatia | 2 | 1 | 1 | 0 | 50% row 9 : denmark | 1 | 1 | 0 | 0 | 100% row 10 : england a | 7 | 0 | 0 | 7 | 0% row 11 : england counties | 1 | 0 | 0 | 1 | 0% row 12 : royal air force rugby team | 4 | 0 | 2 | 2 | 0% row 13 : fiji | 1 | 0 | 0 | 1 | 0% row 14 : france | 24 | 0 | 0 | 24 | 0% row 15 : france a | 2 | 0 | 0 | 2 | 0% row 16 : france u | 2 | 1 | 0 | 1 | 50% row 17 : french protectorate of morocco | 4 | 1 | 1 | 2 | 25% row 18 : georgia | 12 | 3 | 1 | 8 | 25% row 19 : germany | 7 | 6 | 0 | 1 | 85.71% row 20 : hungary | 1 | 1 | 0 | 0 | 100% row 21 : italy | 27 | 3 | 1 | 23 | 11.11% row 22 : japan | 3 | 0 | 0 | 3 | 0% row 23 : moldova | 1 | 1 | 0 | 0 | 100% row 24 : morocco | 17 | 10 | 1 | 6 | 58.82% row 25 : namibia | 2 | 2 | 0 | 0 | 100% row 26 : netherlands | 13 | 12 | 1 | 0 | 92.31% row 27 : new zealand services | 2 | 0 | 0 | 2 | 0% row 28 : poland | 16 | 10 | 0 | 6 | 62.50% row 29 : portugal | 33 | 21 | 2 | 10 | 63.63% row 30 : czech republic | 8 | 2 | 0 | 6 | 75% row 31 : romania | 29 | 2 | 0 | 27 | 6.90% row 32 : russia | 16 | 2 | 0 | 14 | 12.50% row 33 : scotland | 8 | 0 | 0 | 8 | 0% row 34 : slovenia | 1 | 1 | 0 | 0 | 100% row 35 : south africa | 1 | 0 | 0 | 1 | 0% row 36 : south africa "a" | 1 | 0 | 0 | 1 | 0% row 37 : soviet union | 7 | 0 | 0 | 7 | 0% row 38 : sweden | 2 | 2 | 0 | 0 | 100% row 39 : switzerland | 1 | 1 | 0 | 0 | 100% row 40 : tunisia | 6 | 1 | 0 | 5 | 83.33% row 41 : ukraine | 2 | 2 | 0 | 0 | 100% row 42 : uruguay | 7 | 3 | 0 | 4 | 42.86% row 43 : united states | 3 | 0 | 0 | 3 | 0% row 44 : wales a | 3 | 0 | 0 | 3 | 0% row 45 : yugoslavia | 4 | 4 | 0 | 0 | 100% row 46 : zimbabwe | 7 | 5 | 0 | 2 | 71.43% row 47 : total | 336 | 126 | 14 | 197 | 37.50% ] Execute this SQL based on the above table: select against order by drawn asc limit 1
andorra
[ header: country | masters | u.s. open | the open | pga | total row 1 : united states | 57 | 80 | 42 | 79 | 258 row 2 : scotland | 1 | 12 | 41 | 0 | 54 row 3 : england | 3 | 8 | 22 | 2 | 35 row 4 : south africa | 5 | 5 | 10 | 2 | 22 row 5 : australia | 1 | 2 | 9 | 4 | 16 row 6 : jersey | 0 | 2 | 7 | 0 | 9 row 7 : spain | 4 | 0 | 3 | 0 | 7 row 8 : northern ireland | 0 | 2 | 2 | 1 | 5 row 9 : argentina | 1 | 1 | 1 | 0 | 3 row 10 : fiji | 1 | 0 | 0 | 2 | 3 row 11 : germany | 2 | 0 | 0 | 1 | 3 row 12 : ireland | 0 | 0 | 2 | 1 | 3 row 13 : zimbabwe | 0 | 0 | 1 | 2 | 3 row 14 : new zealand | 0 | 1 | 1 | 0 | 2 row 15 : canada | 1 | 0 | 0 | 0 | 1 row 16 : france | 0 | 0 | 1 | 0 | 1 row 17 : south korea | 0 | 0 | 0 | 1 | 1 row 18 : wales | 1 | 0 | 0 | 0 | 1 ] Execute this SQL based on the above table: select country order by country desc limit 1
zimbabwe
[ header: | album | artist(s) | sales row 1 : 1 | vain elamaa | various artists | 164119 row 2 : 2 | koodi | robin | 117126 row 3 : 3 | vain elamaa | various artists | 81725 row 4 : 4 | chillaa | robin | 73439 row 5 : 5 | 21 | adele | 44297 row 6 : 6 | yhdesta puusta | jukka poika | 42429 row 7 : 7 | vie mut kotiin | jesse kaikuranta | 38985 row 8 : 8 | kun valaistun | chisu | 31541 row 9 : 9 | joululauluja | juha tapio | 29080 row 10 : 10 | hunningolla | erin | 27655 ] Execute this SQL based on the above table: select ( select count ( album ) where artist(s) = 'juha tapio' and album != 'vain elamaa' ) > 0
1
[ header: type | manufacturer | numbers | year built | quantity built | power (horsepower) | max speed (km/h) | note row 1 : rhn | hitachi | 1011-1048 (power cars) 11- | 1967 | 38+38 | 220 | 90 | now use as a northeastern line commute row 2 : rts | tokyu | d9-d16 (power cars) | 1971 | 8+4 | 220 | 70 | ex-mahachai railways, row 3 : thn | tokyu, hitachi and nippo | 1101-1140 | 1983 | 40 | 235 | 105 | similar to nkf row 4 : nkf | nippon sharyo, hitachi | 1201-1264, (center) 2101 | 1985 | 64+12 | 235 | 105 | similar to thn, but with plastic chairs row 5 : asr (class 158 express sprinter) | brel, derby works | 2501-2512, (center) 2113-2 | 1991 | 12+8 | 285 | 120 | metre gauge version of british rail row 6 : apd .20 | daewoo heavy industries | 2513-2524 (center) 2121-21 | 1995 | 10+8 | 298 | 120 | first batch, narrow body row 7 : apd .60 | daewoo heavy industries | 2525-2544 | 1996 | 20+40 | 298 | 120 | second batch, wide body ] Execute this SQL based on the above table: select count ( type ) where power (horsepower) >= 1604
0
[ header: team | location | home ground | first year in qld cup | last year in qld cup | qld cup premierships row 1 : aspley broncos | brisbane | bishop park | 2007 | 2007 | nil row 2 : brothers-valleys | brisbane | o'callaghan park | 2004 | 2004 | nil row 3 : bundaberg grizzlies | bundaberg | salter oval | 1996 | 1998 | nil row 4 : cairns cyclones | cairns | barlow park | 1996 | 2000 | nil row 5 : central capras | rockhampton | browne park | 1996 | 1997 | nil row 6 : gold coast vikings | gold coast | owen park and carrara stadium | 1998 | 1998 | nil row 7 : logan scorpions | logan city | meakin park | 1996 | 2002 | nil row 8 : mackay sea eagles | mackay | mackay junior rugby league ground | 1996 | 1996 | nil row 9 : north queensland young guns | townsville | dairy farmers stadium | 2002 | 2007 | 2005 row 10 : past brothers | brisbane | corbett park, crosby park, | 1996 | 1998 | nil row 11 : port moresby vipers | port moresby | lloyd robson oval | 1996 | 1997 | nil row 12 : souths magpies | brisbane | davies park | 1996 | 2002 | nil row 13 : sunshine coast falcons | sunshine coast | quad park | 1996 | 1996 | nil row 14 : townsville stingers | townsville | dairy farmers stadium, townsville sports reserve | 1998 | 1998 | nil row 15 : toowoomba clydesdales | toowoomba | athletic oval (clive berghofer | 1996 | 2006 | 1996, 2001 row 16 : wests panthers | brisbane | purtell park | 1996 | 2003 | nil ] Execute this SQL based on the above table: select count ( team ) where last year in qld cup >= 197
16
[ header: date | opponent# | rank# | site | result row 1 : september 5 | maryland | None | carrier dome • syracuse, | w 35-11 row 2 : september 12 | rutgers | None | rutgers stadium • piscataway | w 20-3 row 3 : september 19 | miami (oh) | None | carrier dome • syracuse, | w 24-10 row 4 : september 26 | at virginia tech | None | lane stadium • blacksburg, va | w 35-21 row 5 : october 3 | at missouri | None | memorial stadium • columbia, mo | w 24-13 row 6 : october 17 | #10 penn state | #13 | carrier dome • syracuse, | w 48-21 row 7 : october 24 | colgate | #9 | carrier dome • syracuse, | w 52-6 row 8 : october 31 | at pittsburgh | #8 | pitt stadium • pittsburgh, pa | w 24-10 row 9 : november 7 | at navy | #8 | navy-marine corps memorial stadium • anna | w 34-10 row 10 : november 14 | boston college | #6 | carrier dome • syracuse, | w 45-17 row 11 : november 21 | west virginia | #6 | carrier dome • syracuse, | w 32-31 row 12 : january 1 | vs. #6 auburn | #4 | louisiana superdome • new orle | t 16-16 ] Execute this SQL based on the above table: select opponent# group by opponent# order by count ( * ) limit 1
#10 penn state
[ header: | 1948 | 1952 | 1956 | 1960 | 1964 row 1 : all voters | 50 | 45 | 42 | 50 | 61 row 2 : white | 50 | 43 | 41 | 49 | 59 row 3 : black | 50 | 79 | 61 | 68 | 94 row 4 : college educated | 22 | 34 | 31 | 39 | 52 row 5 : high school educated | 51 | 45 | 42 | 52 | 62 row 6 : grade school educated | 64 | 52 | 50 | 55 | 66 row 7 : professional & business | 19 | 36 | 32 | 42 | 54 row 8 : white collar | 47 | 40 | 37 | 48 | 57 row 9 : manual worker | 66 | 55 | 50 | 60 | 71 row 10 : farmer | 60 | 33 | 46 | 48 | 53 row 11 : union member | 76 | None | 51 | 62 | 77 row 12 : not union | 42 | None | 35 | 44 | 56 row 13 : protestant | 43 | 37 | 37 | 38 | 55 row 14 : catholic | 62 | 56 | 51 | 78 | 76 row 15 : republican | None | 8 | 4 | 5 | 20 row 16 : independent | None | 35 | 30 | 43 | 56 row 17 : democrat | None | 77 | 85 | 84 | 87 row 18 : east | 48 | 45 | 40 | 53 | 68 row 19 : midwest | 50 | 42 | 41 | 48 | 61 row 20 : west | 49 | 42 | 43 | 49 | 60 row 21 : south | 53 | 51 | 49 | 51 | 52 ] Execute this SQL based on the above table: select ( select count ( * ) where = 'farmer' ) - ( select count ( * ) where = 'west' )
0
[ header: game | day | date | kickoff | opponent | results score | results record | location | attendance row 1 : 1 | saturday | november 9 | 7:05pm | at detroit waza | w 8-7 (ot) | 1-0 | melvindale civic center | 545 row 2 : 2 | sunday | november 10 | 3:05pm | at cleveland freeze | l 3-11 | 1-1 | soccer sportsplex | 703 row 3 : 3 | saturday | november 16 | 7:35pm | detroit waza | l 5-8 | 1-2 | farm show arena | 1605 row 4 : 4 | saturday | november 23 | 7:05pm | cleveland freeze | l 7-10 | 1-3 | farm show arena | 1050 row 5 : 5 | saturday | november 30 | 7:05pm | cincinnati saints | w 8-6 | 2-3 | farm show arena | 1458 row 6 : 6 | saturday | december 21 | 7:05pm | detroit waza | w 9-8 | 3-3 | farm show arena | 1590 row 7 : 7 | sunday | december 22 | 4:05pm | at cleveland freeze | l 4-12 | 3-4 | soccer sportsplex | 431 row 8 : 8 | saturday | december 28 | 7:05pm | cleveland freeze | l 5-12 | 3-5 | farm show arena | 1581 row 9 : 9 | saturday | january 11 | 7:35pm | at cincinnati saints | l 8-9 | 3-6 | tri-county soccerplex | 421 row 10 : 10 | sunday | january 12 | 3:05pm | at detroit waza | l 6-12 | 3-7 | melvindale civic center | 356 row 11 : 11 | saturday | january 18 | 7:05pm | cincinnati saints | w 10-5 | 4-7 | farm show arena | 2209 row 12 : 12 | friday | january 24 | 7:05pm | chicago mustangs | l 7-13 | 4-8 | farm show arena | 1895 row 13 : 13 | saturday | january 25 | 7:05pm | chicago mustangs | l 5-12 | 4-9 | farm show arena | 2373 row 14 : 14 | saturday | february 8 | 8:35pm | at illinois piasa | l 3-4 | 4-10 | the field sports complex | 206 row 15 : 15 | sunday | february 9 | 5:05pm | at chicago mustangs | l 3-14 | 4-11 | grand sports arena | 748 row 16 : 16 | sunday | february 16 | 4:05pm | at dallas sidekicks | l 3-13 | 4-12 | allen event center | 4207 ] Execute this SQL based on the above table: select day group by day order by count ( * ) desc limit 1
saturday
[ header: year | winner | jockey | trainer | owner | breeder row 1 : 1919 | sir barton | johnny loftus | h. guy bedwell | j. k. l. | None row 2 : 1930 | gallant fox | earl sande | jim fitzsimmons | belair stud | belair stud row 3 : 1935 | omaha | willie saunders | jim fitzsimmons | belair stud | belair stud row 4 : 1937 | war admiral | charley kurtsinger | george h. conway | samuel d. rid | samuel d. rid row 5 : 1941 | whirlaway | eddie arcaro | ben a. jones | calumet farm | calumet farm row 6 : 1943 | count fleet | johnny longden | don cameron | fannie hertz | fannie hertz row 7 : 1946 | assault | warren mehrtens | max hirsch | king ranch | king ranch row 8 : 1948 | citation | eddie arcaro | horace a. jones | calumet farm | calumet farm row 9 : 1973 | secretariat | ron turcotte | lucien laurin | meadow stable | meadow stud row 10 : 1977 | seattle slew | jean cruguet | william h. turner, | karen l. tay | ben s. castleman row 11 : 1978 | affirmed | steve cauthen | laz barrera | harbor view farm | harbor view farm ] Execute this SQL based on the above table: select abs ( ( select year where breeder = 'ben s. castleman' ) - ( select year where breeder = 'fannie hertz' ) )
34
[ header: name | date built | builder | works no. | wheels | cylinders | notes | withdrawn row 1 : veteran | 1847 | None | None | 0-6-0 | inside | arr. 1847 | None row 2 : fairfield | 1847 | None | None | 0-6-0 | inside | arr. 1847 | None row 3 : waverley | None | henry hughes of lough | None | 0-4-0st | outside | None | 1889 row 4 : bee | None | None | None | 0-6-0t | None | None | None row 5 : spider | None | None | None | 0-6-0t | None | None | None row 6 : gillingham | None | aveling and porter | None | 0-6-0tg | None | arr. 1893 | 1893 row 7 : no.1 | 1880 | hunslet | 231 | 0-6-0st | inside | arr. 1893 | 1923 row 8 : no.2 | 1898 | peckett | 696 | 0-4-0st | outside | arr. 1904 | 1923 ] Execute this SQL based on the above table: select sum ( date built )
7472
[ header: | album | artist(s) | sales row 1 : 1 | vain elamaa | various artists | 164119 row 2 : 2 | koodi | robin | 117126 row 3 : 3 | vain elamaa | various artists | 81725 row 4 : 4 | chillaa | robin | 73439 row 5 : 5 | 21 | adele | 44297 row 6 : 6 | yhdesta puusta | jukka poika | 42429 row 7 : 7 | vie mut kotiin | jesse kaikuranta | 38985 row 8 : 8 | kun valaistun | chisu | 31541 row 9 : 9 | joululauluja | juha tapio | 29080 row 10 : 10 | hunningolla | erin | 27655 ] Execute this SQL based on the above table: select artist(s) group by artist(s) order by count ( album ) desc limit 1
various artists
[ header: call sign | frequency | city of license | licensee | format row 1 : kacl | 98.7 fm | bismarck | townsquare media bismarck license, ll | classic hits row 2 : kauj | 100.9 fm | grafton | simmons broadcasting | oldies row 3 : kbep-lp | 93.7 fm | bismarck | bismarck educational prayer association | None row 4 : kbmk | 88.3 fm | bismarck | educational media foundation | contemporary christian row 5 : kdkt | 1410 am | beulah | digital syndicate network | all sports row 6 : kdlr | 1240 am | devils lake | double z broadcasting | classic country row 7 : kdsr | 101.1 fm | williston | williston community broadcasting corp. d | adult hits row 8 : kegk | 106.9 fm | wahpeton | smahh communications ii | classic hits row 9 : keya | 88.5 fm | belcourt | keya, inc | country row 10 : keyz | 660 am | williston | ccr-williston i | news talk information row 11 : kfaa | 89.5 fm | horace | selah corporation | contemporary christian row 12 : kfgo | 790 am | fargo | midwest communications, inc | news talk information row 13 : kfnw | 1200 am | west fargo | northwestern college | religious row 14 : kjkr | 88.1 fm | jamestown | jamestown college | None row 15 : kkxl-fm | 92.9 fm | grand forks | citicasters licenses, inc | pop contemporary hit radio row 16 : kltc | 1460 am | dickinson | cc licenses, llc | classic country row 17 : kltq | 97.9 fm | beulah | synergy broadcast north dakota, | None row 18 : kmav-fm | 105.5 fm | mayville | kmsr, inc | country row 19 : kmsr | 1520 am | mayville | kmsr, inc | all sports row 20 : kmxa-fm | 99.9 fm | minot | cc licenses, llc | adult contemporary row 21 : kndc | 1490 am | hettinger | schweitzer media | country row 22 : kndk | 1080 am | langdon | kndk, inc | news talk information row 23 : knds-lp | 96.3 fm | fargo | alliance for the arts and humanities | None row 24 : knox | 1310 am | grand forks | leighton enterprises, inc | news talk information row 25 : koww-lp | 98.1 fm | burlington | pointe of view institute | None row 26 : kpfx | 107.9 fm | fargo | l&l licensee, llc | classic rock row 27 : kppr | 89.5 fm | williston | prairie public broadcasting, inc | variety row 28 : kqdj-fm | 101.1 fm | valley city | sioux valley broadcasting | pop contemporary hit radio row 29 : krrz | 1390 am | minot | aloha station trust, llc | oldies row 30 : krwk | 101.9 fm | fargo | midwest communications, inc | mainstream rock row 31 : ksjb | 600 am | jamestown | chesterman communications of jamestown, | classic country ] Execute this SQL based on the above table: select count ( format ) where licensee = 'synergy broadcast north dakota, llc'
0
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | great britain (gbr) | 6 | 3 | 2 | 11 row 2 : 2 | south africa (rsa) | 1 | 2 | 1 | 4 row 3 : 3 | canada (can) | 1 | 1 | 0 | 2 row 4 : 4 | australia (aus) | 0 | 1 | 1 | 2 row 5 : 4 | hong kong (hkg) | 0 | 1 | 1 | 2 row 6 : 6 | israel (isr) | 0 | 0 | 2 | 2 row 7 : 7 | south korea (kor) | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select nation order by gold desc limit 1
great britain (gbr)
[ header: position | name | height | weight | birthdate | birthplace | 2009-10 team row 1 : g | brianne mclaughlin | 174 cm (5 ft 9 in) | 59 kg (130 lb) | june 20, 1987 | sheffield, ohio | robert morris colonials row 2 : g | molly schaus | 174 cm (5 ft 9 in) | 67 kg (148 lb) | july 29, 1988 | natick, massachusetts | boston eagles row 3 : g | jessie vetter | 174 cm (5 ft 9 in) | 77 kg (170 lb) | december 19, 1985 | cottage grove, wisconsin | wisconsin badgers row 4 : d | kacey bellamy | 174 cm (5 ft 9 in) | 65 kg (143 lb) | april 22, 1987 | westfield, massachusetts | new hampshire wildcats row 5 : d | caitlin cahow | 163 cm (5 ft 4 in) | 71 kg (157 lb) | may 20, 1985 | new haven, connecticut | harvard crimson row 6 : d | lisa chesson | 169 cm (5 ft 7 in) | 69 kg (152 lb) | august 18, 1986 | plainfield, illinois | ohio state buckeyes row 7 : d | molly engstrom | 175 cm (5 ft 9 in) | 81 kg (179 lb) | march 1, 1983 | siren, wisconsin | wisconsin badgers row 8 : d | angela ruggiero - a | 175 cm (5 ft 9 in) | 87 kg (192 lb) | january 3, 1980 | los angeles, californi | harvard crimson row 9 : f | julie chu - a | 174 cm (5 ft 9 in) | 67 kg (148 lb) | march 13, 1982 | bridgeport, connecticut | harvard crimson row 10 : f | natalie darwitz - c | 160 cm (5 ft 3 in) | 62 kg (137 lb) | october 13, 1983 | eagan, minnesota | minnesota golden gophers row 11 : f | meghan duggan | 175 cm (5 ft 9 in) | 74 kg (163 lb) | september 3, 1987 | danvers, massachusetts | wisconsin badgers row 12 : f | monique lamoureux | 168 cm (5 ft 6 in) | 71 kg (157 lb) | july 3, 1989 | grand forks, north dakota | north dakota fighting sioux row 13 : f | erika lawler | 152 cm (5 ft 0 in | 59 kg (130 lb) | february 5, 1987 | fitchburg, massachusetts | wisconsin badgers row 14 : f | gisele marvin | 174 cm (5 ft 9 in) | 75 kg (165 lb) | march 7, 1987 | warroad, minnesota | minnesota golden gophers row 15 : f | jenny potter - a | 163 cm (5 ft 4 in) | 66 kg (146 lb) | january 12, 1979 | edina, minnesota | minnesota golden gophers row 16 : f | kelli stack | 165 cm (5 ft 5 in) | 59 kg (130 lb) | january 13, 1988 | brooklyn heights, oh | boston eagles ] Execute this SQL based on the above table: select count ( * ) where birthplace = 'eagan, minnesota'
1
[ header: party | candidate | votes | % | ±% row 1 : labour | frank dobson | 14857 | 43.2 | -10.7 row 2 : liberal democrat | jill fraser | 10070 | 29.3 | 11.3 row 3 : conservative | margot james | 6482 | 18.9 | 2 row 4 : green | adrian oliver | 2798 | 8.1 | 2.1 row 5 : rainbow dream ticket | rainbow george weiss | 152 | 0.4 | 0.4 row 6 : majority | majority | 4787 | 13.9 | None row 7 : turnout | turnout | 34359 | 50.4 | 0.8 row 8 : labour hold | labour hold | swing | -11 | None ] Execute this SQL based on the above table: select count ( party ) where candidate = 'labour hold'
1
[ header: year | car | start | qual | rank | finish | laps | led | retired row 1 : 1956 | 14 | 23 | 142.535 | 16 | 7 | 200 | 0 | running row 2 : 1957 | 7 | 16 | 141.016 | 19 | 9 | 200 | 0 | running row 3 : 1958 | 14 | 4 | 144.881 | 4 | 26 | 1 | 0 | crash t3 row 4 : 1959 | 74 | 7 | 144.023 | 8 | 12 | 200 | 0 | running row 5 : 1960 | 44 | 25 | 143.363 | 23 | 8 | 200 | 0 | running row 6 : 1962 | 96 | 19 | 146.157 | 32 | 33 | 12 | 0 | engine row 7 : 1963 | 86 | 24 | 148.289 | 26 | 26 | 74 | 0 | valve row 8 : 1964 | 54 | 23 | 153.381 | 10 | 19 | 88 | 0 | piston row 9 : 1965 | 54 | 10 | 156.427 | 11 | 24 | 58 | 0 | piston row 10 : 1967 | 46 | 28 | 162.58 | 32 | 11 | 189 | 0 | flagged row 11 : 1968 | 16 | 24 | 163.495 | 24 | 11 | 196 | 0 | flagged row 12 : totals | totals | totals | totals | totals | totals | 1418 | 0 | None ] Execute this SQL based on the above table: select retired where retired = 'piston'
piston, piston
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 18 march 1987 | stadion miejski, | finland | 2-0 | 3-1 | international friendly row 2 : 2 | 2 september 1987 | zawisza bydgosz | romania | 1-0 | 3-1 | international friendly row 3 : 3 | 2 september 1987 | zawisza bydgosz | romania | 3-0 | 3-1 | international friendly row 4 : 4 | 23 september 1987 | polish army stadium, warsaw, poland | hungary | 3-1 | 3-2 | uefa euro 1988 qualifying row 5 : 5 | 11 november 1987 | makario stadium, nicosi | cyprus | 0-1 | 0-1 | uefa euro 1988 qualifying row 6 : 6 | 13 april 1993 | stadion radomiaka rado | finland | 1-0 | 2-1 | international friendly row 7 : 7 | 13 april 1993 | stadion radomiaka rado | finland | 2-0 | 2-1 | international friendly row 8 : 8 | 19 may 1993 | stadio olimpico, ser | san marino | 0-1 | 0-3 | 1994 fifa world cup qualification row 9 : 9 | 19 may 1993 | stadio olimpico, ser | san marino | 0-2 | 0-3 | 1994 fifa world cup qualification row 10 : 10 | 17 november 1993 | stadion miejski, | netherlands | 1-1 | 1-3 | 1994 fifa world cup qualification ] Execute this SQL based on the above table: select count ( * ) where # >= 1500
0
[ header: team | basic elements | tumbling | stunts | tosses | pyramids | deductions | total score | result row 1 : ccp bobcats | 62 | 54 | 60 | 66 | 70.5 | -4 | 308.5 | champion row 2 : up pep squad | 61.5 | 61.5 | 61 | 62 | 71 | -11 | 306 | runner-up row 3 : altas perp squad | 57 | 55.5 | 53.5 | 53.5 | 69.5 | -6 | 283 | third place row 4 : eac generals pep squad | 55.5 | 46.5 | 57.5 | 55 | 66 | -4 | 276.5 | fourth place row 5 : ateneo blue babble batallion | 59 | 55.5 | 50 | 47 | 64.5 | -13 | 263 | fifth place row 6 : adamson pep squad | 56 | 55 | 52.5 | 48.5 | 66 | -19 | 259 | sixth place row 7 : pup-taguig pep squad | 52 | 45.5 | 49.5 | 48.5 | 65 | -2 | 258.5 | seventh place row 8 : pup stars | 49 | 46.5 | 50.5 | 49.5 | 64.5 | -12 | 248 | eighth place ] Execute this SQL based on the above table: select tosses where result = 'seventh place'
48.5
[ header: year | host | gold | silver | bronze row 1 : 1976 | paraguay (asuncion) | brazil | paraguay | argentina row 2 : 1981 | peru (lima) | brazil | colombia | argentina row 3 : 1986 | colombia (cucuta) | brazil | colombia | peru row 4 : 1987 | argentina (mar del plata) | argentina | brazil | chile row 5 : 1990 | ecuador (ibarra) | brazil | argentina | ecuador row 6 : 1992 | chile (santiago) | brazil | argentina | colombia row 7 : 1995 | brazil (sao ro | colombia | brazil | argentina row 8 : 1996 | ecuador (quito) | argentina | brazil | colombia row 9 : 1998 | chile (ancud) | brazil | argentina | bolivia row 10 : 2000 | venezuela (san feli | brazil | argentina | venezuela row 11 : 2002 | chile (santiago) | ecuador | chile | paraguay row 12 : 2004 | bolivia (quillacollo) | brazil | argentina | bolivia row 13 : 2005 | paraguay (asuncion) | argentina | brazil | paraguay row 14 : 2007 | venezuela (guanare) | venezuela | argentina | brazil row 15 : 2009 | chile (santiago) | brazil | chile | argentina row 16 : 2011 | colombia (pasto) | colombia | argentina | brazil row 17 : 2013 | ecuador (portoviejo) | brazil | argentina | chile ] Execute this SQL based on the above table: select count ( * ) where host = 'colombia (cucuta)'
1
[ 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 team group by team order by count ( * ) desc limit 1
vacansoleil-dcm
[ header: date | name | moving from | moving to | fee row 1 : 3 march 2009 | silvestre varela | estrela da amadora | porto | free row 2 : 14 april 2009 | mario rondon | pontassolense | nacional | free row 3 : 18 april 2009 | patric | sao caetano | benfica | undisclosed fee row 4 : 16 may 2009 | manuel jose | cluj | pacos de ferreira | free row 5 : 26 may 2009 | jonathan bru | aep paphos | academica de coimbra | free row 6 : 1 june 2009 | boris peskovic | academica de coimbra | cluj | free row 7 : 6 june 2009 | anselmo | estrela da amadora | nacional | free row 8 : 15 june 2009 | gustavo lazzaretti | atletico paranaense | vitoria de guimaraes | loan row 9 : 17 june 2009 | beto | leixoes | porto | undisclosed fee row 10 : 18 june 2009 | angelo pena | estudiantes de merida | braga | undisclosed fee row 11 : 23 june 2009 | kostas katsourani | benfica | panathinaikos | € 2,500,000 row 12 : 1 july 2009 | matias fernandez | villarreal | sporting cp | € 3,635,000 row 13 : 2 july 2009 | rodrigo possebon | manchester united | braga | loan row 14 : 2 july 2009 | tarik sektioui | porto | ajman club | free row 15 : 3 july 2009 | paulo machado | porto | toulouse | € 3,500,000 row 16 : 4 july 2009 | jean paul yontcha | otopeni | belenenses | free row 17 : 6 july 2009 | fernando belluschi | olympiacos | porto | € 5,000,000 row 18 : 7 july 2009 | ladji keita | aep paphos | vitoria de setubal | free row 19 : 8 july 2009 | cristian trombetta | nueva chicago | leixoes | free row 20 : 10 july 2009 | filipe da costa | levski sofia | nacional | free row 21 : 10 july 2009 | saulo | belenenses | celta vigo | free row 22 : 12 july 2009 | romeu ribeiro | benfica | trofense | loan row 23 : 13 july 2009 | fernando avalos | belenenses | nea salamis | free row 24 : 14 july 2009 | ibson | porto | spartak moscow | undisclosed fee row 25 : 14 july 2013 | pedro celestino | sporting cp | belenenses | free row 26 : 17 july 2009 | carlos carneiro | pacos de ferreira | vizela | free row 27 : 18 july 2009 | wanderley | cruzeiro | maritimo | € 750,000 row 28 : 18 july 2009 | ruben lima | benfica | vitoria de setubal | loan row 29 : 18 july 2009 | aly cissokho | porto | lyon | € 15,000,000 row 30 : 24 july 2009 | alberto | rio branco | uniao de leiria | free row 31 : 21 july 2009 | weldon | sport | benfica | € 276,000 ] Execute this SQL based on the above table: select count ( * ) where moving from = 'sport'
1
[ header: res. | record | opponent | method | event | date | round | time | location | notes row 1 : loss | 5-3 | alistair overeem | tko (kick to the body | ufc 141 | december 30, 2011 | 1 | 2:26 | las vegas, united states | announced retirement after fight row 2 : loss | 5-2 | cain velasquez | tko (punches) | ufc 121 | october 23, 2010 | 1 | 4:12 | anaheim, california | lost ufc heavyweight championship row 3 : win | 5-1 | shane carwin | submission (arm triangle choke) | ufc 116 | july 3, 2010 | 2 | 2:19 | las vegas, united states | defended ufc heavyweight championship. row 4 : win | 4-1 | frank mir | tko (punches) | ufc 100 | july 11, 2009 | 2 | 1:48 | las vegas, united states | defended ufc heavyweight championship. row 5 : win | 3-1 | randy couture | tko (punches) | ufc 91 | november 15, 2008 | 2 | 3:07 | las vegas, united states | won ufc heavyweight championship row 6 : win | 2-1 | heath herring | decision (unanimous) | ufc 87 | august 9, 2008 | 3 | 5:00 | minneapolis, minnesot | None row 7 : loss | 1-1 | frank mir | submission (kneebar) | ufc 81 | february 2, 2008 | 1 | 1:30 | las vegas, united states | ufc debut row 8 : win | 1-0 | min-soo kim | submission (punches) | dynamite!! usa | june 2, 2007 | 1 | 1:09 | los angeles, united states | mma debut ] Execute this SQL based on the above table: select ( select round where event = 'ufc 116' ) < ( select round where event = 'ufc 91' )
0
[ header: year | award | group | result | notes row 1 : 2004 | black reel awards | best actor: drama | nominated | the human stain (film) row 2 : 2004 | black reel awards | best breakthrough performance | nominated | the human stain (film) row 3 : 2006 | academy of science fiction, fantasy & horror films | best actor on television | nominated | prison break row 4 : 2006 | teen choice awards | tv - choice actor | nominated | prison break row 5 : 2006 | teen choice awards | tv - choice breakout star | nominated | prison break row 6 : 2006 | golden globes awards | best performance by an actor in a television series | nominated | prison break row 7 : 2007 | teen choice awards | choice tv actor: drama | nominated | prison break row 8 : 2008 | teen choice awards | choice tv actor: action adventure | nominated | prison break row 9 : 2014 | fangoria chainsaw awards | best screenplay | pending | stoker (film) ] Execute this SQL based on the above table: select count ( result )
9
[ header: team | stadium | capacity | seated row 1 : merthyr town | penydarren park | 10000 | None row 2 : paulton rovers | athletic field | 5000 | 253 row 3 : evesham united | st george's lane | 4749 | None row 4 : winchester city | the city ground | 4500 | 180 row 5 : clevedon town | hand stadium | 3500 | 300 row 6 : cinderford town | the causeway | 3500 | 250 row 7 : tiverton town | ladysmead | 3500 | 520 row 8 : wimborne town | cuthbury | 3250 | 275 row 9 : didcot town | npower loop meadow stadium | 3000 | 150 row 10 : swindon supermarine | the webb's wood stadium | 3000 | None row 11 : bridgwater town | fairfax park | 2500 | 128 row 12 : hungerford town | bulpit lane | 2500 | 170 row 13 : mangotsfield united | cossham street | 2500 | 300 row 14 : taunton town | wordsworth drive | 2500 | 300 row 15 : abingdon united | northcourt road | 2000 | 158 row 16 : poole town | tatnam | 2000 | 154 row 17 : north leigh | eynsham hall park sports ground | 2000 | 100 row 18 : yate town | lodge road | 2000 | 236 row 19 : bishop's cleeve | kayte lane | 1500 | 50 row 20 : sholing | vt group sports ground | 1000 | 150 row 21 : shortwood united | the meadowbank ground | tbc | None row 22 : cirencester town | corinium stadium | tbc | None ] Execute this SQL based on the above table: select stadium , team where id = 7
ladysmead, tiverton town
[ header: draw | artist | song | points | place row 1 : 1 | gonzaga coutinho | "tema para um homem so" | 102 | 5th row 2 : 2 | pedro osorio | "uma cancao comercial" | 123 | 3rd row 3 : 3 | concha | "qualquer dia, quem dir | 78 | 6th row 4 : 4 | gabriela schaaf | "eu so quero" | 132 | 2nd row 5 : 5 | toze brito | "novo canto portugues" | 110 | 4th row 6 : 6 | teresa silva carval | "cantemos ate ser dia" | 52 | 9th row 7 : 7 | florencia | "o comboio do tua | 63 | 8th row 8 : 8 | manuel jose soares | "quando chego a casa | 76 | 7th row 9 : 9 | manuela bravo | "sobe, sobe, bala | 149 | 1st ] Execute this SQL based on the above table: select artist where points = 52
teresa silva carvalho
[ header: jurisdiction | adherents | bishops | priests | monastics | monasteries | parishes row 1 : constantinople (details) | 5200000 | 125 | None | 1800 | 142 | 648 row 2 : alexandria (details | 1200000 | 41 | None | None | None | None row 3 : antioch (details) | 2000000 | 36 | None | None | None | None row 4 : jerusalem (details) | 700000 | 20 | None | None | None | None row 5 : russia (details) | 150000000 | 217 | 30675 | None | 807 | 30142 row 6 : georgia (details) | 3500000 | 37 | 437 | None | None | 600 row 7 : bulgaria (details) | 10000000 | 15 | 1500 | None | 120 | 2600 row 8 : serbia (details) | 11000000 | 44 | None | None | 49 | 3100 row 9 : romania (details) | 17000000 | 53 | 15068 | 7605 | 359 | 15717 row 10 : cyprus (details) | 700000 | 16 | None | None | 67 | None row 11 : greece (details) | 6000000 | 101 | 10000 | 3541 | 541 | None row 12 : albania (details) | 700000 | 6 | 135 | None | 150 | 909 row 13 : poland (details) | 600000 | 12 | None | None | None | 400 row 14 : czech lands & s | 100000 | 6 | None | None | None | 172 row 15 : orthodox church in america (details | 85000 | 10 | None | None | 20 | 700 row 16 : total | 208785000 | 729 | 54382 | 12946 | 2236 | 54239 ] Execute this SQL based on the above table: select count ( jurisdiction ) where jurisdiction = 'albania (details)'
1
[ header: serial number | river | name | area (km2) | district | co-ordinate | altitude (m) row 1 : 1 | bharathapuzha | malampuzha | 23.13 | palakkad | 10°50′n 76°41′ | 104 row 2 : 2 | bharathapuzha | mangalam | 3.93 | palakkad | 10°31′n 76°32′ | 72 row 3 : 3 | bharathapuzha | meenkara | 2.59 | palakkad | 10°37′n 76°48′ | 152 row 4 : 4 | bharathapuzha | chulliar | 1.59 | palakkad | 10°35′n 76°46′ | 143 row 5 : 5 | bharathapuzha | pothundi | 3.63 | palakkad | 10°32′n 76°38′ | 93 row 6 : 9 | chalakkudy | thunakkadavu | 2.83 | palakkad | 10°25′59′′n 76° | 565 row 7 : 10 | chalakkudy | peruvaaripallam | None | palakkad | 10°26′49′′n 76° | 565 row 8 : 12 | chalakkudy | peringalkuthu dam | 2.63 | thrissur | None | None row 9 : 13 | kallada | parappar | 25.9 | kollam | 09° 57' 77° 4' | None row 10 : 15 | karuvanoor | peechi | 12.63 | thrissur | 10°32′n 76°23′ | 73 row 11 : 16 | keecheri | vazhani | 2.55 | thrissur | 10° 40' 76° 15' | None row 12 : 17 | kuttiadi | kuttiadi | 10.52 | kozhikode | 11° 36' 75° 49'27" | None row 13 : 19 | pamba | pamba | 5.7 | pathanamthitta | 09° 20' 76° 53' | None row 14 : 20 | pamba | kakki | 18 | pathanamthitta | None | None row 15 : 21 | periyar | idukki | 61.6 | idukki | 09° 48' 76° 53' | 720 row 16 : 22 | periyar | ponmudi | 2.6 | idukki | 09° 55' 77° 05' | None row 17 : 24 | periyar | kundala | 2.3 | idukki | 10° 0' 77° 0 | None row 18 : 26 | periyar | sengulam | 0.33 | idukki | 10° 00' 77° 05 | None row 19 : 27 | periyar | neriamangalam | 4.13 | idukki | None | None row 20 : 30 | valapattanam | pazhassi | 6.48 | kannur | None | None row 21 : 33 | chimmini dam | thrissur | 85.067 | thrissur | None | None ] Execute this SQL based on the above table: select count ( distinct district ) where altitude (m) >= 565
2
[ header: no. | date | home team | visiting team | goals | score | result | venue | competition row 1 : 2 | 25 mar 1992 | scotland | finland | 41' 1-1 | 1-1 | draw | hampden park, glasgow | friendly row 2 : 3 | 13 oct 1993 | sweden | finland | 60' 3-2 | 3-2 | loss | rasunda stadium, stockhol | 1994 fifa world cup qualification row 3 : 5 | 16 nov 1994 | finland | faroe islands | 53' 2-0 72' 3-0 | 5-0 | win | helsinki olym | uefa euro 1996 qualifying row 4 : 7 | 11 jun 1995 | finland | greece | 45+1' 1-1 (pen.) | 2-1 | win | helsinki olym | uefa euro 1996 qualifying row 5 : 9 | 2 feb 1997 | turkey | finland | 17' 0-1 | 1-1 | draw | ataturk stadium, denizli | friendly row 6 : 12 | 6 sep 1997 | switzerland | finland | 16' 0-1 | 1-2 | win | stade olympique de la pont | 1998 fifa world cup qualification row 7 : 13 | 14 oct 1998 | turkey | finland | 90+6' 1-3 | 1-3 | win | ali sami yen stadium, | uefa euro 2000 qualifying row 8 : 14 | 29 mar 2000 | wales | finland | 21' 0-1 | 1-2 | win | millennium stadium, cardiff | friendly row 9 : 15 | 16 aug 2000 | finland | norway | 24' 1-0 61' 2-1 | 3-1 | win | finnair stadium, helsink | 2000-01 nordic football championship row 10 : 17 | 2 sep 2000 | finland | albania | 45 ' 1-0 | 2-1 | win | finnair stadium, helsink | 2002 fifa world cup qualification row 11 : 18 | 15 aug 2001 | finland | belgium | 3-0 (pen.) | 4-1 | win | helsinki olym | friendly row 12 : 20 | 27 mar 2002 | portugal | finland | 41' 1-3 53' 1-4 | 1-4 | win | estadio do bessa | friendly row 13 : 22 | 30 apr 2003 | finland | iceland | 55' 1-0 (pen.) | 3-0 | win | pohjola stadion, my | friendly row 14 : 23 | 31 apr 2004 | malta | finland | 86' 0-2 | 1-2 | win | ta' qali national stadium, | friendly row 15 : 25 | 26 mar 2005 | czech republic | finland | 46 ' 2-1 | 4-3 | loss | na stinadle | 2006 fifa world cup qualification row 16 : 27 | 2 sep 2006 | poland | finland | 54' 0-1 76' 0 | 1-3 | win | zdzisław k | uefa euro 2008 qualifying row 17 : 29 | 6 feb 2008 | finland | greece | 66' 1-0 | 1-2 | loss | neo gsp stadium, | friendly ] Execute this SQL based on the above table: select no. where score = '3-1'
15.0
[ header: no. | dub no. | english dubbed title / english subbed title original japanese title | original air date | english air date row 1 : 6 | None | "protect the melody of love! usagi is | april 18, 1992 | None row 2 : 9 | 6 | "time bomb" / "usagi' | may 9, 1992 | september 18, 1995 row 3 : 12 | 9 | "cruise blues" / " | may 30, 1992 | september 21, 1995 row 4 : 14 | 11 | "match point for sailor moon" | june 13, 1992 | september 25, 1995 row 5 : 19 | 16 | "who is that masked man?" | july 25, 1992 | october 2, 1995 row 6 : 24 | 20 | "a friend in wolf's clothing" | august 29, 1992 | october 6, 1995 row 7 : 26 | 22 | "the power of friendship" / "b | september 12, 1992 | october 10, 1995 row 8 : 34 | 30 | "a crystal clear destiny" / "the | november 28, 1992 | october 20, 1995 row 9 : 36 | 32 | "bad hair day" / "usagi | december 12, 1992 | october 24, 1995 row 10 : 40 | 36 | "last resort" / "the legendary lake | january 16, 1993 | october 30, 1995 ] Execute this SQL based on the above table: select dub no. where original air date = 'may 9, 1992'
6.0
[ header: year | film | director | producer | writer | notes row 1 : 1953 | the sea around us | yes | yes | yes | documentary academy award for best documentary feature row 2 : 1954 | dangerous mission | None | yes | None | None row 3 : 1956 | the animal world | yes | yes | yes | documentary row 4 : 1957 | the story of mankind | yes | yes | yes | documentary row 5 : 1960 | the big circus | None | yes | yes | None row 6 : 1960 | the lost world | yes | yes | yes | None row 7 : 1961 | voyage to the bottom of the sea | yes | yes | yes | None row 8 : 1962 | five weeks in a balloon | yes | yes | yes | None row 9 : 1972 | the poseidon adventure | yes | yes | None | directed action sequences only nominated-gold row 10 : 1974 | the towering inferno | None | yes | None | nominated-academy award for best row 11 : 1978 | the swarm | yes | yes | None | None row 12 : 1979 | beyond the poseidon adventure | yes | yes | None | None row 13 : 1980 | when time ran out | None | yes | None | None row 14 : 1983 | cave-in! | None | yes | None | None ] Execute this SQL based on the above table: select notes - film where producer = 'yes'
0, 0, 0, 0, 0
[ 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 : alexandria | 1100 | None | 859 | 7 (18) | 123 (48) | 1 (0) | 0.62% | 39°16′8′′n 95°7 row 2 : delaware | 17450 | None | 1361 | 22 (57) | 62 (24) | 3 (1) | 4.19% | 39°14′50′′n 94° row 3 : easton | 19625 | None | 1245 | 11 (30) | 109 (42) | 0 (0) | 0.11% | 39°21′57′′n 95°7 row 4 : fairmount | 22325 | basehor | 6266 | 61 (159) | 102 (39) | 0 (0) | 0.39% | 39°8′4′′n 94° row 5 : high prairie | 32125 | None | 1768 | 14 (37) | 124 (48) | 0 (0) | 0.27% | 39°15′30′′n 95°0 row 6 : kickapoo | 36700 | None | 1760 | 15 (40) | 114 (44) | 3 (1) | 2.39% | 39°20′45′′n 94° row 7 : reno | 58950 | None | 1143 | 10 (27) | 111 (43) | 2 (1) | 1.56% | 39°1′8′′n 95°8 row 8 : sherman | 65000 | None | 2367 | 22 (57) | 108 (42) | 3 (1) | 2.44% | 39°0′59′′n 95°0 row 9 : stranger | 68500 | None | 2451 | 19 (50) | 127 (49) | 0 (0) | 0.17% | 39°8′16′′n 95°2 row 10 : tonganoxie | 70825 | tonganoxie (part) | 4852 | 35 (91) | 137 (53) | 1 (0) | 0.66% | 39°7′0′′n 95°6 ] Execute this SQL based on the above table: select township where township in ( 'stranger' , 'kickapoo' ) order by fips desc limit 1
stranger
[ header: finalist | age | from | dress colour | status row 1 : laura sicurello | 26 | milton keynes | yellow | eliminated 1st in week 1 row 2 : belinda evans | 28 | somerset | dark blue | eliminated 2nd in week 2 row 3 : meliz serman | 23 | chingford, london | gold | eliminated 3rd in week 3 row 4 : simona armstrong | 28 | romania | purple | eliminated 4th in week 4 row 5 : leanne dobinson | 20 | colchester | lilac | eliminated 5th in week 4 row 6 : abi finley | 23 | manchester | light blue | eliminated 6th in week 5 row 7 : aoife mulholland | 28 | salthill | green | eliminated 7th in week 5 row 8 : siobhan dillon | 21 | staffordshire | red | third place row 9 : helena blackman | 23 | southampton | pink | second place row 10 : connie fisher | 23 | pembrokeshire | orange | winner ] Execute this SQL based on the above table: select ( select age where dress colour = 'pink' ) - ( select age where dress colour = 'red' )
2.0
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 5 | jim clark | lotus-ford | 80 | 1:59:25.6 | 1 | 9 row 2 : 2 | 2 | denny hulme | brabham-repco | 80 | + 12.8 | 4 | 6 row 3 : 3 | 8 | chris amon | ferrari | 80 | + 16.6 | 6 | 4 row 4 : 4 | 1 | jack brabham | brabham-repco | 80 | + 21.8 | 3 | 3 row 5 : 5 | 12 | pedro rodriguez | cooper-maserati | 79 | + 1 lap | 9 | 2 row 6 : 6 | 7 | john surtees | honda | 78 | + 2 laps | 7 | 1 row 7 : 7 | 15 | chris irwin | brm | 77 | + 3 laps | 13 | None row 8 : 8 | 20 | david hobbs | brm | 77 | + 3 laps | 14 | None row 9 : 9 | 14 | alan rees | cooper-maserati | 76 | + 4 laps | 15 | None row 10 : 10 | 18 | guy ligier | brabham-repco | 76 | + 4 laps | 21 | None row 11 : ret | 19 | bob anderson | brabham-climax | 67 | engine | 17 | None row 12 : ret | 6 | graham hill | lotus-ford | 64 | engine | 2 | None row 13 : ret | 4 | mike spence | brm | 44 | ignition | 11 | None row 14 : ret | 9 | dan gurney | eagle-weslake | 34 | clutch | 5 | None row 15 : ret | 22 | silvio moser | cooper-ats | 29 | oil pressure | 20 | None row 16 : ret | 11 | jochen rindt | cooper-maserati | 26 | engine | 8 | None row 17 : ret | 3 | jackie stewart | brm | 20 | transmission | 12 | None row 18 : ret | 10 | bruce mclaren | eagle-weslake | 14 | engine | 10 | None row 19 : ret | 17 | jo siffert | cooper-maserati | 10 | engine | 18 | None row 20 : ret | 23 | jo bonnier | cooper-maserati | 0 | engine | 9 | None row 21 : dns | 16 | piers courage | brm | 0 | non starter | None | None ] Execute this SQL based on the above table: select driver where grid = ( select grid where driver = 'bob anderson' ) + 1
jo siffert
[ header: year | position row 1 : 1957 | did not enter row 2 : 1959 | did not enter row 3 : 1962 | did not enter row 4 : 1963 | did not enter row 5 : 1965 | did not enter row 6 : 1968 | did not qualify row 7 : 1970 | did not qualify row 8 : 1972 | round 1 row 9 : 1974 | withdrew row 10 : 1976 | did not qualify row 11 : 1978 | did not qualify row 12 : 1980 | did not qualify row 13 : 1982 | did not qualify row 14 : 1984 | round 1 row 15 : 1986 | did not qualify row 16 : 1988 | did not qualify row 17 : 1990 | withdrew row 18 : 1992 | did not qualify row 19 : 1994 | withdrew during qualifying row 20 : 1996 | did not qualify row 21 : 1998 | round 1 row 22 : 2000 | round 1 row 23 : 2002 | round 1 row 24 : 2004 | did not qualify row 25 : 2006 | round 1 row 26 : 2008 | did not qualify row 27 : 2010 | withdrew due to rebel attack row 28 : 2012 | did not qualify row 29 : 2013 | quarter-final ] Execute this SQL based on the above table: select abs ( ( select year where position = 'did not qualify' ) - ( select year where position = 'did not qualify' ) )
0
[ header: district | senator | party | caucus | first elected | counties represented row 1 : 1 | kenneth p. lavalle | republican | republican | 1976 | suffolk row 2 : 3 | lee zeldin | republican | republican | 2010 | suffolk row 3 : 8 | vacant | None | None | None | nassau, suffo row 4 : 10 | james sanders, j | democratic | democratic | 2012 | queens row 5 : 11 | tony avella | democratic | democratic | 2010 | queens row 6 : 13 | jose peralta | democratic | democratic | 2010 | queens row 7 : 14 | malcolm smith | democratic | no caucus | 2000 | queens row 8 : 15 | joseph addabbo, j | democratic | democratic | 2008 | queens row 9 : 16 | toby ann stavisky | democratic | democratic | 1999 | queens row 10 : 17 | simcha felder | democratic | republican | 2012 | brooklyn row 11 : 20 | vacant | None | None | None | brooklyn row 12 : 24 | andrew j. lanza | republican | republican | 2006 | staten island row 13 : 25 | velmanette montgomery | democratic | democratic | 1984 | brooklyn row 14 : 26 | daniel squadron | democratic | democratic | 2008 | brooklyn, manhattan row 15 : 27 | brad hoylman | democratic | democratic | 2012 | manhattan row 16 : 28 | liz krueger | democratic | democratic | 2002 | manhattan row 17 : 29 | jose m. serrano | democratic | democratic | 2004 | manhattan, the bronx row 18 : 31 | adriano espaillat | democratic | democratic | 2010 | manhattan row 19 : 32 | ruben diaz, sr | democratic | democratic | 2002 | the bronx row 20 : 33 | gustavo rivera | democratic | democratic | 2010 | the bronx row 21 : 35 | andrea stewart-cousins | democratic | democratic | 2006 | westchester row 22 : 37 | george s. latimer | democratic | democratic | 2012 | westchester row 23 : 40 | gregory r. ball | republican | republican | 2010 | dutchess, putnam, westchester row 24 : 41 | terry w. gipson | democratic | democratic | 2012 | dutchess, putnam row 25 : 42 | john bonacic | republican | republican | 1998 | delaware, orange, sulliv row 26 : 45 | betty little | republican | republican | 2002 | clinton, essex, fran row 27 : 46 | cecilia tkaczyk | democratic | democratic | 2012 | albany, greene, montgomery row 28 : 47 | joseph griffo | republican | republican | 2006 | lewis, oneida, saint row 29 : 48 | patty ritchie | republican | republican | 2010 | jefferson, oswego, row 30 : 50 | john defrancisco | republican | republican | 1992 | cayuga, onondaga row 31 : 51 | james seward | republican | republican | 1986 | cayuga, chenango, cort row 32 : 52 | thomas w. libous | republican | republican | 1988 | broome, chenango, delaware ] Execute this SQL based on the above table: select first elected where id = 45
2002
[ header: tie no | home team | score | away team | date row 1 : 1 | leicester city | 1-2 | manchester united | 14 february 1976 row 2 : 2 | bolton wanderers | 3-3 | newcastle united | 14 february 1976 row 3 : replay | newcastle united | 0-0 | bolton wanderers | 18 february 1976 row 4 : replay | bolton wanderers | 1-2 | newcastle united | 23 february 1976 row 5 : 3 | wolverhampton wanderers | 3-0 | charlton athletic | 14 february 1976 row 6 : 4 | west bromwich albion | 1-1 | southampton | 14 february 1976 row 7 : replay | southampton | 4-0 | west bromwich albion | 17 february 1976 row 8 : 5 | derby county | 1-0 | southend united | 14 february 1976 row 9 : 6 | norwich city | 1-2 | bradford city | 23 february 1976 row 10 : 7 | chelsea | 2-3 | crystal palace | 14 february 1976 row 11 : 8 | stoke city | 0-0 | sunderland | 14 february 1976 row 12 : replay | sunderland | 2-1 | stoke city | 17 february 1976 ] Execute this SQL based on the above table: select sum ( date ) where date = '17 february 1976'
34.0
[ header: year | title | label | uk singles chart | u.s. billboard hot 100 chart row 1 : 1969 | "melting pot" | philips | 3 | None row 2 : 1970 | "good morning freedom" | philips | 10 | None row 3 : 1970 | "our world" | philips | 17 | 64 row 4 : 1971 | "the banner man" | regal zonophone | 3 | None row 5 : 1972 | "stay with me" | regal zonophone | 11 | None row 6 : 1973 | "by the devil (i was tempted | emi | 26 | None row 7 : 1973 | "randy" | emi | 9 | None ] Execute this SQL based on the above table: select title - uk singles chart where title = '"good morning freedom"' and label = 'philips'
-10.0
[ header: team 1 | agg. | team 2 | 1st leg | 2nd leg row 1 : benfica | 3-2 | paris saint-germain | 2-1 | 1-1 row 2 : dynamo kyiv | 2-1 | manchester city | 2-0 | 0-1 row 3 : twente | 3-2 | zenit saint petersburg | 3-0 | 0-2 row 4 : cska moscow | 1-3 | porto | 0-1 | 1-2 row 5 : psv eindhoven | 1-0 | rangers | 0-0 | 1-0 row 6 : bayer leverkusen | 3-5 | villarreal | 2-3 | 1-2 row 7 : ajax | 0-4 | spartak moscow | 0-1 | 0-3 row 8 : braga | 1-08 | liverpool | 1-0 | 0-0 ] Execute this SQL based on the above table: select team 2 where id = ( select id where team 2 = 'villarreal' ) + 1
spartak moscow
[ header: country | weapon designation | weapon description | year(s) delivered | quantity delivered row 1 : brazil | ee-11 urutu | apc | 1983-1984 | 350 row 2 : china | f-6 | fighter aircraft | 1982-1983 | 40 row 3 : china | type-63 107mm | multiple rocket launcher | 1984-1988 | 100 row 4 : china | wz-121/type 69 | tank | 1983-1987 | 1500 row 5 : china | hn-5a | portable sam | 1986-1987 | 1000 row 6 : czechoslovakia | bmp-2 | infantry fighting vehicle | 1987-1989 | 250 row 7 : czechoslovakia | t-55 | tank | 1982-1985 | 400 row 8 : denmark | al zahraa | landing ship | 1983 | 3 row 9 : east germany | t-55 | tank | 1981 | 50 row 10 : egypt | m-46 130mm | towed gun | 1981-1983 | 96 row 11 : france | sa-330 puma | helicopter | 1980-1981 | 20 row 12 : france | m-3 vtt | apc | 1983-1984 | 115 row 13 : france | trs-2100 tiger | air surv radar | 1988 | 1 row 14 : france | trs-2230/15 tiger | air surv radar | 1984-1985 | 6 row 15 : france | am-39 exocet | anti-ship missile | 1979-1988 | 352 row 16 : france | as-30l | asm | 1986-1990 | 240 row 17 : france | r-550 magic-1 | sraam | 1981-1985 | 534 row 18 : italy | a-109 hirundo | light helicopter | 1982 | 2 row 19 : poland | t-72m1 | tank | 1982-1990 | 500 row 20 : romania | t-55 | tank | 1982-1984 | 150 row 21 : yugoslavia | m-87 orkan 262mm | multiple rocket launcher | 1988 | 2 row 22 : united states | md-500md defender | light helicopter | 1983 | 30 row 23 : united states | md-530f | light helicopter | 1986 | 26 row 24 : soviet union | mig-21bis/fishbed-n | fighter aircraft | 1983-1984 | 61 row 25 : soviet union | mig-23bn/flogger- | fga aircraft | 1984-1985 | 50 row 26 : soviet union | su-22/fitter-h/j/ | fga aircraft | 1986-1987 | 61 row 27 : soviet union | su-25/frogfoot-a | ground attack aircraft | 1986-1987 | 84 row 28 : soviet union | 9p117/ss-1 scu | ssm launcher | 1983-1984 | 10 row 29 : soviet union | bm-21 grad 122mm | multiple rocket launcher | 1983-1988 | 560 row 30 : soviet union | d-30 122mm | towed gun | 1982-1988 | 576 row 31 : soviet union | sa-9/9p31 | aav(m) | 1982-1985 | 160 row 32 : soviet union | long track | air surv radar | 1980-1984 | 10 row 33 : soviet union | sa-8b/9k33m | mobile sam system | 1982-1985 | 50 row 34 : soviet union | thin skin | air surv radar | 1980-1984 | 5 row 35 : soviet union | 9m111/at-4 spigot | anti-tank missile | 1986-1989 | 3000 row 36 : soviet union | 9m37/sa-13 gopher | sam | 1985-1986 | 960 ] Execute this SQL based on the above table: select weapon designation where quantity delivered = 1
trs-2100 tiger
[ header: name | red vs. blue | couples team | status | weight | total votes row 1 : valerica marin 47, bucha | none | None | eliminated week 1 | 142 kg | 0 row 2 : tatiana musat 25, buch | none | None | eliminated week 1 | 150 kg | 0 row 3 : gige state 47, bucharest | none | None | eliminated week 1 | 200 kg | 0 row 4 : alex ionescu returned week 5 | none | None | eliminated week 1 | 196 kg | 0 row 5 : catalin chiriac 23, | blue team | None | 1st voted out week 1 | 146, 4 kg | 6 row 6 : dana mocanu 34, plo | red team | None | 2nd voted out week 2 | 111, 5 kg | 6 row 7 : daniela gheorghe | red team | None | 3rd voted out week 3 | 112, 8 kg | 5 row 8 : alexandra patrascu 37, | red team | None | eliminated week 4 | 118, 4 kg | 0 row 9 : mihai florescu 35, bucha | red team | None | 4th voted out week 4 | 175, 8 kg | 0 row 10 : alexandru briscu 26, | blue team | gray team | 5th voted out week 5 | 158, 1 kg | 0 row 11 : daniel sulugiu | blue team | yellow team | 5th voted out week 6 | 158, 1 kg | 0 row 12 : irina gur 39, | blue team | lightgreen team | 6th voted out week7 | 129,4 kg | 1 row 13 : dragos holeac 30, bucha | blue team | lightgreen team | 6th voted out week7 | 129,4 kg | 1 ] Execute this SQL based on the above table: select total votes where couples team = 'gray team'
0
[ header: dutch language group electoral district (as of 2012) | dutch language group seats | french language group electoral district (as of 2012) | french language group seats row 1 : antwerp | 24 | brussels capital region | 13/14 row 2 : brussels capital region | 1/2 | hainaut | 18 row 3 : east flanders | 20 | liege | 15 row 4 : flemish brabant | 15 | luxembourg | 4 row 5 : limburg | 12 | namur | 6 row 6 : west flanders | 16 | walloon brabant | 5 row 7 : total | 88 | total | 62 ] Execute this SQL based on the above table: select dutch language group electoral district (as of 2012) order by french language group electoral district (as of 2012) desc limit 1
west flanders
[ header: title | author | date | length (first edition) row 1 : bull-dog drummond | h. c. mcn | 1920 | 320 pp row 2 : the black gang | h. c. mcn | 1922 | 318 pp row 3 : the third round | h. c. mcn | 1924 | 320 pp row 4 : the final count | h. c. mcn | 1926 | 319 pp row 5 : the female of the species | h. c. mcn | 1928 | 312 pp row 6 : temple tower | h. c. mcn | 1929 | 320 pp row 7 : the return of bulldog drummond | h. c. mcn | 1932 | 316 pp row 8 : knock-out | h. c. mcn | 1933 | 317 pp row 9 : bulldog drummond at bay | h. c. mcn | 1935 | 310 pp row 10 : challenge | h. c. mcn | 1937 | 311 pp row 11 : bulldog drummond on dartmoor | gerard fairlie | 1938 | 254 pp row 12 : bulldog drummond attacks | gerard fairlie | 1939 | 287 pp row 13 : captain bulldog drummond | gerard fairlie | 1945 | 256 pp row 14 : bulldog drummond stands fast | gerard fairlie | 1947 | 319 pp row 15 : hands off bulldog drummond | gerard fairlie | 1949 | 271 pp row 16 : calling bulldog drummond | gerard fairlie | 1951 | 255 pp row 17 : the return of the black gang | gerard fairlie | 1954 | 192 pp row 18 : deadlier than the male | henry reymond | 1967 | 192 pp row 19 : some girls do | henry reymond | 1969 | 192 pp ] Execute this SQL based on the above table: select count ( author ) where date = 1932 or date = 1935
2
[ header: county | kerry | votes | bush | votes | others | votes row 1 : manhattan | 82.1% | 526765 | 16.7% | 107405 | 1.2% | 7781 row 2 : brooklyn | 74.9% | 514973 | 24.3% | 167149 | 0.8% | 5762 row 3 : queens | 71.7% | 433835 | 27.4% | 165954 | 0.9% | 5603 row 4 : tompkins | 64.2% | 27229 | 33.0% | 13994 | 2.8% | 1179 row 5 : albany | 60.7% | 89323 | 37.3% | 54872 | 2.0% | 3004 row 6 : erie | 56.4% | 251090 | 41.4% | 184423 | 2.2% | 9625 row 7 : ulster | 54.3% | 47602 | 43.1% | 37821 | 2.6% | 2289 row 8 : nassau | 52.2% | 323070 | 46.6% | 288355 | 1.1% | 6918 row 9 : clinton | 52.2% | 17624 | 45.4% | 15330 | 2.3% | 782 row 10 : schenectady | 51.8% | 35971 | 46.2% | 32066 | 2.1% | 1432 row 11 : broome | 50.4% | 46281 | 47.4% | 43568 | 2.2% | 2041 row 12 : suffolk | 49.5% | 315909 | 48.5% | 309949 | 2.0% | 12854 row 13 : niagara | 49.3% | 47602 | 48.8% | 47111 | 1.9% | 1867 row 14 : rockland | 48.9% | 64191 | 49.6% | 65130 | 1.5% | 1910 row 15 : cayuga | 48.6% | 17534 | 49.2% | 17743 | 2.1% | 775 row 16 : otsego | 47.7% | 12723 | 50.1% | 13342 | 2.2% | 587 row 17 : oswego | 46.8% | 24133 | 51.0% | 26325 | 2.2% | 1149 row 18 : saratoga | 45.6% | 48730 | 52.5% | 56158 | 1.9% | 1985 row 19 : montgomery | 44.5% | 9449 | 53.4% | 11338 | 2.0% | 434 row 20 : orange | 43.8% | 63394 | 54.7% | 79089 | 1.5% | 2190 row 21 : chemung | 43.7% | 17080 | 54.6% | 21321 | 1.7% | 674 row 22 : oneida | 42.8% | 40792 | 54.9% | 52392 | 2.3% | 2185 row 23 : ontario | 42.2% | 21166 | 55.9% | 27999 | 1.9% | 937 row 24 : putnam | 42.0% | 19575 | 56.6% | 26356 | 1.4% | 632 row 25 : fulton | 41.4% | 9202 | 56.6% | 12570 | 2.0% | 443 row 26 : herkimer | 41.2% | 11675 | 56.6% | 16024 | 2.2% | 611 row 27 : tioga | 40.6% | 9694 | 57.6% | 13762 | 1.9% | 446 row 28 : schuyler | 40.1% | 3445 | 57.7% | 4960 | 2.2% | 185 row 29 : cattaraugus | 39.4% | 13514 | 58.5% | 20051 | 2.0% | 697 row 30 : yates | 39.3% | 4205 | 58.9% | 6309 | 1.8% | 197 row 31 : wayne | 38.1% | 15709 | 60.0% | 24709 | 1.9% | 782 row 32 : orleans | 36.0% | 5959 | 62.3% | 10317 | 1.8% | 297 ] Execute this SQL based on the above table: select sum ( others + others )
121.19999999999999
[ 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 min ( gold ) where gold > 1
3.0
[ header: launch date | operator | name | sample origin | samples returned | recovery date | mission result row 1 : june 14, 1969 | None | luna e-8-5 no.402 | the moon | none | None | failure launch failure row 2 : july 13, 1969 | None | luna 15 | the moon | none | None | failure crash-landed on the moon row 3 : 23 september 1969 | None | cosmos 300 | the moon | none | None | failure failed to leave earth orbit row 4 : 22 october 1969 | None | cosmos 305 | the moon | none | None | failure failed to leave earth orbit row 5 : 6 february 1970 | None | luna e-8-5 no.405 | the moon | none | None | failure launch failure row 6 : september 12, 1970 | None | luna 16 | the moon | 101 grams (3.6 oz) of lunar | september 24, 1970 | success row 7 : september 2, 1971 | None | luna 18 | the moon | none | None | failure crash-landed on the moon row 8 : february 14, 1972 | None | luna 20 | the moon | 55 grams (1.9 oz) of lunar | february 25, 1972 | success row 9 : november 2, 1974 | None | luna 23 | the moon | none | None | failure drilling device damaged on moon landing mission abandoned row 10 : october 16, 1975 | None | luna e-8-5m no.412 | the moon | none | None | failure launch failure row 11 : august 9, 1976 | None | luna 24 | the moon | 170 grams (6.0 oz) of | august 22, 1976 | success row 12 : 1979 (planned) (canceled 1977) | None | mars 79 ("mars 5m") | mars | None | None | canceled in 1977 planned to return 500 grams (18 row 13 : february 7, 1999 | None | stardust | 81p/wild (comet | over 1 million comet particles | january 15, 2006 | success row 14 : august 8, 2001 | None | genesis | solar wind | solar wind particles | september 8, 2004 | partial success return capsule damaged after failed parachute row 15 : may 9, 2003 | None | hayabusa | 25143 itokawa (asteroid surface) | 1,500 grains of asteroid particles | june 13, 2010 | partial success planned to return several hundred milligram row 16 : november 8, 2011 | None | fobos-grunt | phobos (mars satellite soil) | none | None | failure failed to leave earth orbit crashed into the southern row 17 : july 2014 (planned, earliest) | None | hayabusa 2 | planned for (162173) 1999 ju3 | None | 2020 (planned) | None row 18 : 2016 (planned) | None | osiris-rex | planned for 101955 bennu ( | None | 2023 (planned) | planned to return between 60 g to 2 kg row 19 : 2017 (planned) | None | chang'e 5 | the moon | None | 2017 (planned) | planned to return at least 2 kilograms (4.4 row 20 : 2020-2022 (proposed) | None | marcopolo-r | near-earth object (asteroid surface) | None | to be determined | to return samples from a yet to be determined row 21 : 2020/2021 (planned) | None | luna-grunt | the moon | None | 2021 (planned) | planned to return up to 1 kilogram (2.2 row 22 : mid-2020s (proposed) | None | meji msr | mars | None | to be determined | to be determined row 23 : mid-2020s (proposed) | None | mars-grunt | mars | None | to be determined | intended to return about 200 grams (7.1 o row 24 : by 2030 | None | chinese mars sample return mission | mars | None | to be determined | to be determined ] Execute this SQL based on the above table: select count ( * ) where mission result = 'success'
4
[ 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 album title order by year desc limit 1
love at the bottom of the sea
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | great britain (gbr) | 6 | 3 | 2 | 11 row 2 : 2 | south africa (rsa) | 1 | 2 | 1 | 4 row 3 : 3 | canada (can) | 1 | 1 | 0 | 2 row 4 : 4 | australia (aus) | 0 | 1 | 1 | 2 row 5 : 4 | hong kong (hkg) | 0 | 1 | 1 | 2 row 6 : 6 | israel (isr) | 0 | 0 | 2 | 2 row 7 : 7 | south korea (kor) | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select count ( nation ) where silver >= 1754
0
[ header: week | date | opponent | home/away | result | bye row 1 : 1 | february 8 | new orleans voodoo | home | l 42-34 | 0 row 2 : 2 | february 15 | dallas desperados | away | l 51-47 | 0 row 3 : 3 | february 21 | columbus destroyers | home | w 56-34 | 0 row 4 : 4 | february 29 | tampa bay storm | away | l 40-37 | 0 row 5 : 5 | march 7 | chicago rush | home | w 53-47 | 0 row 6 : 6 | march 13 | columbus destroyers | away | l 43-41 | 0 row 7 : 7 | march 21 | colorado crush | home | l 40-33 | 0 row 8 : 8 | march 28 | austin wranglers | away | w 65-60 | 0 row 9 : 9 | april 4 | dallas desperados | home | w 47-31 | 0 row 10 : 10 | None | None | week | None | 1 row 11 : 11 | april 17 | carolina cobras | away | l 63-59 | 0 row 12 : 12 | april 24 | new york dragons | home | w 60-58 | 0 row 13 : 13 | may 1 | colorado crush | away | l 58-40 | 0 row 14 : 14 | may 8 | las vegas gladiators | home | l 63-35 | 0 row 15 : 15 | may 15 | carolina cobras | home | l 46-43 | 0 row 16 : 16 | may 22 | san jose sabercat | away | l 48-36 | 0 row 17 : 17 | may 30 | new york dragons | away | l 69-54 | 0 ] Execute this SQL based on the above table: select week order by week desc limit 1
17.0
[ header: year | award | category | title | result row 1 : 1955 | academy award | best actor | marty | won row 2 : 1955 | bafta award | best foreign actor | marty | won row 3 : 1955 | golden globe award | best actor - motion picture drama | marty | won row 4 : 1955 | nbr award | best actor | marty | won row 5 : 1955 | nyfcc award | best actor | marty | won row 6 : 1962 | emmy award | outstanding continued performance by an actor in a series | mchale's navy | nominated row 7 : 1979 | emmy award | outstanding supporting actor in a limited series or | all quiet on the western front | nominated row 8 : 1999 | daytime emmy award | outstanding performer in an animated program | all dogs go to heaven: the series | nominated row 9 : 2007 | golden globe award | best performance by an actor in a mini- | a grandpa for christmas | nominated row 10 : 2009 | emmy award | outstanding guest actor - drama | er | nominated row 11 : 2009 | lifetime achievement award | from the rhode island international film | None | won row 12 : 2011 | screen actors guild life achievement award | from the screen actors guild | None | won ] Execute this SQL based on the above table: select title order by year asc limit 1
marty
[ header: | | | | | | | | row 1 : ccc | ieee conference on computational complexity | 1993 | 1996 | 1999 | None | 2007 | 2011 | 2015 row 2 : ec | acm conference on electronic commerce | None | None | None | 2003 | 2007 | 2011 | 2015 row 3 : isca | acm/ieee international | 1993 | 1996 | 1999 | 2003 | 2007 | 2011 | 2015 row 4 : lctes | acm sigplan/sigbed | None | None | 1999 | 2003 | 2007 | None | None row 5 : metrics | acm sigmetrics international conference | None | 1996 | 1999 | 2003 | 2007 | None | 2015 row 6 : pldi | acm sigplan conference on programming | None | 1996 | 1999 | 2003 | 2007 | 2011 | 2015 row 7 : podc | acm symposium on principles of distributed computing | None | 1996 | 1999 | None | None | 2011 | None row 8 : ppopp | acm sigplan symposium on principles | 1993 | None | 1999 | 2003 | None | None | None row 9 : spaa | acm symposium on parallelism in | None | None | None | 2003 | 2007 | 2011 | 2015 row 10 : socg | acm symposium on computational geometry | 1993 | 1996 | None | 2003 | None | None | None row 11 : stoc | acm symposium on theory of computing | 1993 | 1996 | 1999 | 2003 | 2007 | 2011 | 2015 ] Execute this SQL based on the above table: select count ( ) where = 'None'
0
[ header: party | candidate | votes | % | ∆% row 1 : conservative | joe daniel | 14422 | 36.78 | 5.78 row 2 : liberal | yasmin ratansi | 13552 | 34.56 | -13.51 row 3 : new democratic | mary trapani hynes | 9878 | 25.19 | 11.87 row 4 : green | akil sadikali | 1114 | 2.84 | -4.05 row 5 : christian heritage | ryan kidd | 246 | 0.63 | -0.07 row 6 : total valid votes | total valid votes | 39212 | 100 | None row 7 : total rejected ballots | total rejected ballots | 218 | 0.55 | None row 8 : turnout | turnout | 39430 | 57.24 | None row 9 : eligible voters | eligible voters | 68890 | None | None ] Execute this SQL based on the above table: select candidate order by % limit 1
eligible voters
[ header: 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 month order by day limit 1
jan
[ header: | landmark name | location | summary row 1 : 1 | flagpole | the flagpole was once located at 10 s | flagpole erected in 1941 by del row 2 : 2 | water pump station and water tower | northeastern corner of the junction of innovation and | None row 3 : 3 | ammo bunker (s-1007) | southwest of vosler dr. (formerly | built by del e. webb construction row 4 : 4 | ammo bunker (s-1008) | southwest of vosler dr. (formerly | also built by del e. webb row 5 : 5 | civil engineering maintenance shop | northeastern corner of unity ave. | built by del e. webb construction row 6 : 6 | demountable hangar | located at the north apron of | built in 1925 and designed by webb, de row 7 : 7 | housing storage supply warehouse | northwestern corner of the junction of innovation and unity | built by del e. webb construction ] Execute this SQL based on the above table: select count ( location ) where > 5
2
[ header: year | film | director | producer | writer | notes row 1 : 1953 | the sea around us | yes | yes | yes | documentary academy award for best documentary feature row 2 : 1954 | dangerous mission | None | yes | None | None row 3 : 1956 | the animal world | yes | yes | yes | documentary row 4 : 1957 | the story of mankind | yes | yes | yes | documentary row 5 : 1960 | the big circus | None | yes | yes | None row 6 : 1960 | the lost world | yes | yes | yes | None row 7 : 1961 | voyage to the bottom of the sea | yes | yes | yes | None row 8 : 1962 | five weeks in a balloon | yes | yes | yes | None row 9 : 1972 | the poseidon adventure | yes | yes | None | directed action sequences only nominated-gold row 10 : 1974 | the towering inferno | None | yes | None | nominated-academy award for best row 11 : 1978 | the swarm | yes | yes | None | None row 12 : 1979 | beyond the poseidon adventure | yes | yes | None | None row 13 : 1980 | when time ran out | None | yes | None | None row 14 : 1983 | cave-in! | None | yes | None | None ] Execute this SQL based on the above table: select film where id = ( select id where film = 'when time ran out' ) - 1
beyond the poseidon adventure
[ header: date | opponent# | rank# | site | result row 1 : september 12 | at colorado | None | folsom field • boulder, co | w 44-6 row 2 : september 19 | at #5 ohio state | None | ohio stadium • columbus | l 14-24 row 3 : september 26 | san diego state | None | autzen stadium • eugene | w 25-20 row 4 : october 3 | #16 washington | None | autzen stadium • eugene | w 29-22 row 5 : october 10 | usc | None | autzen stadium • eugene | w 34-27 row 6 : october 17 | at #9 ucla | #16 | rose bowl • pasadena, ca | l 10-41 row 7 : october 24 | at stanford | None | stanford stadium • stanford, ca | l 10-13 row 8 : october 31 | california | None | autzen stadium • eugene | l 6-20 row 9 : november 7 | at arizona state | None | sun devil stadium • tempe, a | l 17-37 row 10 : november 14 | at washington state | None | martin stadium • pullman, wa | w 31-17 row 11 : november 21 | oregon state | None | autzen stadium • eugene | w 44-0 ] Execute this SQL based on the above table: select date where rank# is null
september 12, september 19, september 26, october 3, october 10, october 24, october 31, november 7, november 14, november 21
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | france | 28 | 28 | 24 | 80 row 2 : 2 | romania | 16 | 3 | 5 | 24 row 3 : 3 | canada | 14 | 10 | 15 | 39 row 4 : 4 | quebec | 8 | 4 | 16 | 28 row 5 : 5 | morocco | 6 | 11 | 7 | 24 row 6 : 6 | tunisia | 4 | 7 | 1 | 12 row 7 : 7 | egypt | 2 | 5 | 4 | 11 row 8 : 8 | switzerland | 2 | 1 | 5 | 8 row 9 : 9 | senegal | 2 | 1 | 3 | 6 row 10 : 10 | french community of belgium | 1 | 3 | 6 | 10 row 11 : 11 | madagascar | 1 | 2 | 3 | 6 row 12 : 12 | burkina faso | 1 | None | 2 | 3 row 13 : 13 | togo | 1 | None | 1 | 2 row 14 : 14 | guinea | 1 | None | None | 1 row 15 : 15 | lebanon | 1 | None | None | 1 row 16 : 16 | ivory coast | None | 3 | 3 | 6 row 17 : 17 | republic of the congo | None | 3 | 2 | 5 row 18 : 18 | new brunswick | None | 1 | 2 | 3 row 19 : 19 | central african republic | None | 1 | None | 1 row 20 : 20 | dominica | None | 1 | None | 1 row 21 : 21 | gabon | None | 1 | None | 1 row 22 : 22 | mali | None | 1 | None | 1 row 23 : 23 | cambodia | None | None | 2 | 2 row 24 : 24 | luxembourg | None | None | 2 | 2 row 25 : 25 | mauritius | None | None | 2 | 2 row 26 : 26 | burundi | None | None | 1 | 1 row 27 : 27 | djibouti | None | None | 1 | 1 row 28 : 28 | vietnam | None | None | 1 | 1 ] Execute this SQL based on the above table: select count ( * ) where nation <= 306
0
[ header: year | vote % | place | seats | place | cabinet row 1 : 1945 | None | None | 25 | 1st | yes row 2 : 1948 | None | None | 22 | 1st | yes row 3 : 1951 | None | None | 21 | 1st | yes row 4 : 1954 | 42.4 | 1st | 26 | 1st | yes row 5 : 1959 | 36.9 | 1st | 21 | 1st | yes row 6 : 1964 | 33.3 | 2nd | 22 | 1st | yes row 7 : 1968 | 35.2 | 1st | 21 | 1st | yes row 8 : 1974 | 27.6 | 2nd | 18 | 1st | no row 9 : 1979 | 34.5 | 1st | 24 | 1st | yes row 10 : 1984 | 34.9 | 1st | 25 | 1st | yes row 11 : 1989 | 32.4 | 1st | 22 | 1st | yes row 12 : 1994 | 30.3 | 1st | 21 | 1st | yes row 13 : 1999 | 30.1 | 1st | 19 | 1st | yes row 14 : 2004 | 36.1 | 1st | 24 | 1st | yes row 15 : 2009 | 38 | 1st | 26 | 1st | yes row 16 : 2013 | 33.6 | 1st | 23 | 1st | no ] Execute this SQL based on the above table: select place where place != '1st'
2nd, 2nd
[ header: # | date | opponent | score | result | competition row 1 : 1 | 1988 | indonesia | 4-0 | won | 1988 afc u-17 championship group row 2 : 2 | 1988 | south korea | 6-1 | won | 1988 afc u-17 championship group row 3 : 3 | 1988 | south korea | 6-1 | won | 1988 afc u-17 championship group row 4 : 4 | 1988 | south korea | 6-1 | won | 1988 afc u-17 championship group row 5 : 5 | 1988 | south korea | 6-1 | won | 1988 afc u-17 championship group row 6 : 6 | 1988 | iraq | 2-1 | won | 1988 afc u-17 championship semifinal row 7 : 7 | 1988 | bahrain | 2-0 | won | 1988 afc u-17 championship final row 8 : 8 | 1988 | bahrain | 2-0 | won | 1988 afc u-17 championship final row 9 : 9 | june 12, 1989 | guinea | 2-2 | draw | 1989 fifa u-16 world championship group row 10 : 10 | june 12, 1989 | colombia | 1-0 | won | 1989 fifa u-16 world championship group row 11 : 11 | june 12, 1989 | bahrain | 1-0 | won | 1989 fifa u-16 world championship semifinal row 12 : 12 | february 22, 1989 | portugal | 3-0 | won | 1989 fifa world youth championship group stages row 13 : 13 | 1989 | kuwait | 1-0 | won | 1989 palestine cup of nations for youth group row 14 : 14 | 1989 | bahrain | 1-1(4-3) | lost | 1989 palestine cup of nations for youth third ] Execute this SQL based on the above table: select ( select # where # = 5 ) - ( select # where # = 1 )
4.0
[ header: year | australian open | french open | wimbledon | us open row 1 : 1891 | None | None | None | mabel cahill (1/2) emm row 2 : 1892 | None | None | None | mabel cahill (2/2) adeline row 3 : 1896 | None | None | None | elisabeth moore row 4 : 1938 | thelma coyne long (3 | simone mathieu (8/9) | sarah palfrey cooke | sarah palfrey cooke row 5 : 1946 | joyce fitch mary bevis haw | louise brough clapp (5 | louise brough clapp (6 | louise brough clapp (7 row 6 : 1948 | thelma coyne long (7 | doris hart (2/14) patricia cann | louise brough clapp (10 | louise brough clapp (1 row 7 : 1949 | thelma coyne long (8 | louise brough clapp (12 | louise brough clapp ( | louise brough clapp ( row 8 : 1973 | margaret court (16/19) virgini | margaret court (17/19) virgini | rosemary casals (7/9) billie | margaret court (18/19) virgini row 9 : 1978 | betsy nagelsen ( | mima jausovec virgini | kerry melville reid | billie jean king (14/16 row 10 : 1979 | judy chaloner dianne ever | betty stove (5/6) wendy | billie jean king (15/16) | betty stove (6/6) wendy row 11 : 1981 | kathy jordan (4/5) | rosalyn fairbank nide | martina navratilova (8 | kathy jordan (3/5) row 12 : 1982 | martina navratilova ( | martina navratilova (9 | martina navratilova (10 | rosemary casals (9/9) wendy turn ] Execute this SQL based on the above table: select us open order by year desc limit 1
rosemary casals (9/9) wendy turnbull (4/4)
[ header: week | date | opponent | result | attendance row 1 : 1 | september 6, 1981 | new orleans saints | w 27-0 | 57,406 row 2 : 2 | september 13, 1981 | at green bay packers | w 31-17 | 55,382 row 3 : 3 | september 20, 1981 | san francisco 49ers | w 34-17 | 56,653 row 4 : 4 | september 27, 1981 | at cleveland browns | l 28-17 | 78,283 row 5 : 5 | october 5, 1981 | at philadelphia eagle | l 16-13 | 71,488 row 6 : 6 | october 11, 1981 | los angeles rams | l 37-35 | 57,841 row 7 : 7 | october 18, 1981 | st. louis cardinals | w 41-20 | 51,428 row 8 : 8 | october 25, 1981 | new york giants | l 27-24 | 48,410 row 9 : 9 | november 1, 1981 | at new orleans saints | w 41-10 | 63,637 row 10 : 10 | november 8, 1981 | at san francisco 49ers | l 17-14 | 59,127 row 11 : 11 | november 15, 1981 | pittsburgh steelers | l 34-20 | 57,485 row 12 : 12 | november 23, 1981 | minnesota vikings | w 31-30 | 54,086 row 13 : 13 | november 29, 1981 | at houston oilers | w 31-27 | 40,201 row 14 : 14 | december 6, 1981 | at tampa bay buccaneers | l 24-23 | 69,221 row 15 : 15 | december 14, 1981 | at los angeles rams | l 21-16 | 57,054 row 16 : 16 | december 20, 1981 | cincinnati bengals | l 30-28 | 35,972 ] Execute this SQL based on the above table: select attendance where date = 'december 14, 1981'
57,054
[ header: province | capital | population | density | municipalities | legal districts row 1 : almeria | almeria | 702819 | 72.5 /km2 (188 / | 102 municipalities | 8 row 2 : cadiz | cadiz | 1243519 | 158.8 /km2 (411 | 44 municipalities | 14 row 3 : cordoba | cordoba | 805857 | 72.4 /km2 (188 / | 75 municipalities | 12 row 4 : granada | granada | 924550 | 68.7 /km2 (178 | 169 municipalities | 9 row 5 : huelva | huelva | 521968 | 47.7 /km2 (124 | 79 municipalities | 6 row 6 : jaen | jaen | 670600 | 49.1 /km2 (127 | 97 municipalities | 10 row 7 : malaga | malaga | 1625827 | 204.1 /km2 (529 / | 101 municipalities | 11 row 8 : seville | seville | 1928962 | 129.2 /km2 (335 | 105 municipalities | 15 ] Execute this SQL based on the above table: select province where legal districts = ( select min ( legal districts ) )
huelva
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | south korea | 11 | 1 | 2 | 14 row 2 : 2 | chinese taipei | 2 | 2 | 5 | 9 row 3 : 3 | spain | 2 | 0 | 4 | 6 row 4 : 4 | egypt | 1 | 0 | 0 | 1 row 5 : 5 | france | 0 | 2 | 1 | 3 row 6 : 5 | iran | 0 | 2 | 1 | 3 row 7 : 7 | china | 0 | 1 | 1 | 2 row 8 : 7 | cuba | 0 | 1 | 1 | 2 row 9 : 7 | greece | 0 | 1 | 1 | 2 row 10 : 7 | turkey | 0 | 1 | 1 | 2 row 11 : 11 | canada | 0 | 1 | 0 | 1 row 12 : 11 | germany | 0 | 1 | 0 | 1 row 13 : 11 | morocco | 0 | 1 | 0 | 1 row 14 : 11 | philippines | 0 | 1 | 0 | 1 row 15 : 11 | russia | 0 | 1 | 0 | 1 row 16 : 16 | mexico | 0 | 0 | 4 | 4 row 17 : 17 | australia | 0 | 0 | 3 | 3 row 18 : 18 | croatia | 0 | 0 | 2 | 2 row 19 : 18 | united states | 0 | 0 | 2 | 2 row 20 : 20 | ecuador | 0 | 0 | 1 | 1 row 21 : 20 | saudi arabia | 0 | 0 | 1 | 1 row 22 : 20 | thailand | 0 | 0 | 1 | 1 row 23 : 20 | yugoslavia | 0 | 0 | 1 | 1 row 24 : total | total | 16 | 16 | 32 | 64 ] Execute this SQL based on the above table: select nation where nation = 'france'
france
[ header: rank | athlete | country | time | notes row 1 : None | nataliya petrusyova | soviet union | 1:24.10 | or row 2 : None | leah poulos | united states | 1:25.41 | None row 3 : None | sylvia albrecht | east germany | 1:26.46 | None row 4 : 4 | karin enke | east germany | 1:26.66 | None row 5 : 5 | beth heiden | united states | 1:27.01 | None row 6 : 6 | annie borckink | netherlands | 1:27.24 | None row 7 : 7 | sylvia burka | canada | 1:27.50 | None row 8 : 8 | ann-sofie jarnstrom | sweden | 1:28.10 | None row 9 : 9 | sylvia filipsson | sweden | 1:28.18 | None row 10 : 10 | annette carlen-karls | sweden | 1:28.25 | None row 11 : 11 | valentina lalenkova | soviet union | 1:28.27 | None row 12 : 12 | bjørg eva jen | norway | 1:28.55 | None row 13 : 13 | sijtje van der lende | netherlands | 1:28.72 | None row 14 : 14 | sarah docter | united states | 1:28.80 | None row 15 : 14 | haitske valentijn-pij | netherlands | 1:28.80 | None row 16 : 16 | erwina rys-feren | poland | 1:28.82 | None row 17 : 17 | miyoshi kato | japan | 1:28.97 | None row 18 : 18 | christa rothenburger | east germany | 1:29.69 | None row 19 : 19 | brenda webster | canada | 1:29.84 | None row 20 : 20 | irina kuleshova | soviet union | 1:29.94 | None row 21 : 21 | monika pflug | west germany | 1:30.13 | None row 22 : 22 | makiko nagaya | japan | 1:30.27 | None row 23 : 23 | sigrid smuda | west germany | 1:30.29 | None row 24 : 24 | kathy vogt | canada | 1:30.33 | None row 25 : 25 | yuko yaegashi- | japan | 1:30.72 | None row 26 : 26 | lee nam-sun | south korea | 1:31.30 | None row 27 : 27 | cao guifeng | china | 1:31.74 | None row 28 : 28 | anneli repola | finland | 1:31.76 | None row 29 : 29 | silvia brunner | switzerland | 1:31.79 | None row 30 : 30 | lee seong-ae | south korea | 1:32.04 | None row 31 : 31 | zhang li | china | 1:32.20 | None row 32 : 32 | shen zhenshu | china | 1:32.49 | None row 33 : 33 | brigitte flierl | west germany | 1:33.61 | None row 34 : 34 | kim yeong-hui | south korea | 1:34.17 | None row 35 : 35 | kim ferran | great britain | 1:34.19 | None row 36 : 36 | marzia peretti | italy | 1:35.66 | None row 37 : 37 | mandy horsepool | great britain | 1:36.31 | None ] Execute this SQL based on the above table: select athlete where athlete in ( 'monika pflug' , 'makiko nagaya' ) order by time desc limit 1
monika pflug