inputs
stringlengths
291
3.71k
targets
stringlengths
1
2.65k
[ header: number | year built | livery | current status | notes row 1 : 2 | 1964 | red and white | operational | based on a metropolitan tramway style open row 2 : 4 | 1961 | blackpool tramway green and cream | operational | based on a blackpool style open boat row 3 : 6 | 1954 | green and cream | operational | based on a llandud row 4 : 7 | 1958 | brown and cream | stored awaiting overhaul | based on a llandud row 5 : 8 | 1968 | bristol blue and white | operational | based on a llandud row 6 : 9 | 2002 | two tone blue | operational | based on design elements from plymouth row 7 : 10 | 2002 | orange, green and cream | operational | based on design elements from plymouth row 8 : 11 | 2002 | pink | operational | based on design elements from plymouth row 9 : 12 | 1966 | currently being repainted into london | operational | based on a london felt row 10 : 14 | 1904 | red and white | operational | ex metropolitan tramways 94. rebuilt into its row 11 : 16 | 1921 | crimson and yellow | operational | ex bournemouth 106. rebuilt into its row 12 : 17 | 1988 | red and white | operational | based on a manx electric railway to row 13 : 19 | 1906 | green and white | operational | ex exeter 19. rebuilt into its current format ] Execute this SQL based on the above table: select current status where livery < ( select livery where current status = 'operational' ) order by livery desc limit 1
operational
[ header: tie no | home team | score | away team | attendance row 1 : 1 | blackpool | 2-0 | rochdale | None row 2 : 2 | chesterfield | 1-1 | southend united | None row 3 : replay | southend united | 2 - 0 | chesterfield | None row 4 : 3 | canvey island | 1-0 | northampton town | None row 5 : 4 | macclesfield town | 4-1 | swansea city | None row 6 : 5 | swindon town | 3-2 | hereford united | None row 7 : 6 | tranmere rovers | 6-1 | carlisle united | None row 8 : 7 | wycombe wanderers | 3-0 | notts county | None row 9 : 8 | brighton & hove albion | 2-1 | rushden & diamonds | 5647 row 10 : 9 | plymouth argyle | 1-1 | bristol rovers | None row 11 : replay | bristol rovers | 3 - 2 | plymouth argyle | None row 12 : 10 | hull city | 2-3 | oldham athletic | 9422 row 13 : 11 | altrincham | 1-2 | darlington | None row 14 : 12 | exeter city | 0-0 | dagenham & redbridge | None row 15 : replay | dagenham & redbridge | 3 - 0 | exeter city | None row 16 : 13 | scunthorpe united | 3-2 | brentford | None row 17 : 14 | mansfield town | 4-0 | huddersfield town | 6836 row 18 : 15 | cardiff city | 3-0 | port vale | None row 19 : 16 | halifax town | 1-1 | stoke city | 3335 row 20 : replay | stoke city | 3 - 0 | halifax town | 4356 row 21 : 17 | york city | 2-0 | reading | None row 22 : 18 | peterborough united | 1-0 | bournemouth | None row 23 : 19 | leyton orient | 2-1 | lincoln city | None row 24 : 20 | hinckley united | 0-2 | cheltenham town | None ] Execute this SQL based on the above table: select score where tie no > ( select tie no where score = '2-3' ) order by tie no limit 1
1-2
[ header: year | title | uk | us: billboard hot 100 | us: billboard r&b | us: billboard a/c | australia | various row 1 : 1976 | "right back where we started from" | ('75) #8 | #2 | #46 | #5 | #4 | #3 (netherlands), #2 (belg row 2 : 1976 | "gotta be the one" | None | #53 | None | #22 | #12 | #19 (new zealand) row 3 : 1977 | "love hit me" | #11 | None | None | None | #22 | None row 4 : 1977 | "will you be my lover" | None | None | None | None | None | #44 (france) row 5 : 1979 | "lead me on" | None | #5 | #37 | #1 | #58 | #2 (canada), #8 (new row 6 : 1979 | "(bringin' out) the girl | None | #73 | None | None | None | None row 7 : 1982 | "turn to me" (with jim | None | None | #17 | None | None | None ] Execute this SQL based on the above table: select abs ( ( select year where australia = '#58' ) - ( select year where australia = '#4' ) )
3
[ 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 w/l where round = 'semifinal'
w, w, l, w
[ header: week | date | opponent | result | attendance | bye row 1 : 1 | september 8, 2002 | st. louis rams | w 23-16 | 75710 | 0 row 2 : 2 | september 15, 2002 | at san francisco 49ers | w 24-14 | 67685 | 0 row 3 : 3 | september 22, 2002 | buffalo bills | w 28-23 | 75359 | 0 row 4 : 4 | september 30, 2002 | at baltimore ravens | l 34-23 | 69538 | 0 row 5 : 5 | october 6, 2002 | san diego chargers | w 26-9 | 75065 | 0 row 6 : 6 | october 13, 2002 | miami dolphins | l 24-22 | 75941 | 0 row 7 : 7 | october 20, 2002 | at kansas city chiefs | w 37-34 | 78446 | 0 row 8 : 8 | october 27, 2002 | at new england patriots | w 24-16 | 68436 | 0 row 9 : 9 | None | None | None | None | 1 row 10 : 10 | november 11, 2002 | oakland raiders | l 34-10 | 76643 | 0 row 11 : 11 | november 17, 2002 | at seattle seahawks | w 31-9 | 65495 | 0 row 12 : 12 | november 24, 2002 | indianapolis colts | l 23-20 | 75075 | 0 row 13 : 13 | december 1, 2002 | at san diego chargers | l 30-27 | 66357 | 0 row 14 : 14 | december 8, 2002 | at new york jets | l 19-13 | 78521 | 0 row 15 : 15 | december 15, 2002 | kansas city chiefs | w 31-24 | 75947 | 0 row 16 : 16 | december 22, 2002 | at oakland raiders | l 28-16 | 62592 | 0 row 17 : 17 | december 29, 2002 | arizona cardinals | w 37-7 | 75164 | 0 ] Execute this SQL based on the above table: select date where id = 1
september 8, 2002
[ header: entered | weeks in top 10 | single | artist | peak | peak reached | weeks at peak row 1 : 3 october 1993 | 14 | "i'd do anything for love" | meat loaf | 1 | 17 october 1993 | 7 row 2 : 19 december 1993 | 3 | "bat out of hell" | meat loaf | 8 | 19 december 1993 | 2 row 3 : 2 january 1994 | 9 | "things can only get better" (# | d:ream | 1 | 16 january 1994 | 4 row 4 : 16 january 1994 | 1 | "here i stand" | bitty mclean | 10 | 16 january 1994 | 1 row 5 : 23 january 1994 | 1 | "in your room" | depeche mode | 8 | 23 january 1994 | 1 row 6 : 23 january 1994 | 8 | "return to innocence" | enigma | 3 | 6 february 1994 | 2 row 7 : 13 march 1994 | 7 | "streets of philadelphia" | bruce springsteen | 2 | 27 march 1994 | 1 row 8 : 1 may 1994 | 7 | "come on you reds" | manchester united football squad featuring status quo | 1 | 15 may 1994 | 2 row 9 : 8 may 1994 | 3 | "just a step from heaven" | eternal | 8 | 15 may 1994 | 1 row 10 : 15 may 1994 | 2 | "more to this world" | bad boys inc | 8 | 22 may 1994 | 1 row 11 : 12 june 1994 | 2 | "anytime you need a friend" | mariah carey | 8 | 19 june 1994 | 1 row 12 : 7 august 1994 | 4 | "what's up?" | dj miko | 6 | 14 august 1994 | 1 row 13 : 14 august 1994 | 2 | "live forever" | oasis | 10 | 14 august 1994 | 2 row 14 : 28 august 1994 | 1 | "parklife" | blur | 10 | 28 august 1994 | 1 row 15 : 2 october 1994 | 2 | "secret" | madonna | 5 | 2 october 1994 | 1 row 16 : 2 october 1994 | 6 | "sweetness" | michelle gayle | 4 | 30 october 1994 | 1 row 17 : 30 october 1994 | 4 | "oh baby i..." | eternal | 4 | 6 november 1994 | 1 row 18 : 6 november 1994 | 5 | "another night" | mc sar and real m | 2 | 13 november 1994 | 1 row 19 : 13 november 1994 | 3 | "sight for sore eyes" | m people | 6 | 20 november 1994 | 1 row 20 : 13 november 1994 | 1 | "true faith '94" | new order | 9 | 13 november 1994 | 1 row 21 : 11 december 1994 | 3 | "power rangers: the official single" | the mighty raw | 3 | 11 december | 1 ] Execute this SQL based on the above table: select count ( entered ) where weeks in top 10 = 2
4
[ header: entered | wrestler | place | eliminated by | time row 1 : 1 | junior fatu | 7th | hoyt, kaz, s | 03:00 row 2 : 2 | robert roode | advanced to part three | None | 06:47 row 3 : 3 | kaz | 5th | roode | 05:32 row 4 : 4 | alex shelley | 3rd | young | 06:47 row 5 : 5 | eric young | advanced to part three | None | 06:47 row 6 : 6 | chris sabin | 6th | kaz | 04:55 row 7 : 7 | lance hoyt | 4th | roode | 06:06 row 8 : 8 | james storm | 8th | young | 00:05 ] Execute this SQL based on the above table: select place where place in ( '7th' , 'advanced to part three' ) order by entered asc limit 357
7th, advanced to part three, advanced to part three
[ header: year | nominated work | award | category | result row 1 : 1984 | what becomes a semi-legend most? | grammy award | best comedy album | nominated row 2 : 1990 | the joan rivers show | daytime emmy award | outstanding talk show host | won row 3 : 1991 | the joan rivers show | daytime emmy award | outstanding talk show host | nominated row 4 : 1992 | the joan rivers show | daytime emmy award | outstanding writing - special class | nominated row 5 : 1992 | the joan rivers show | daytime emmy award | outstanding talk show host | nominated row 6 : 1993 | the joan rivers show | daytime emmy award | outstanding writing - special class | nominated row 7 : 1993 | the joan rivers show | daytime emmy award | outstanding talk show host | nominated row 8 : 1994 | sally marr...and her esc | tony award | best actress in a play | nominated row 9 : 2009 | arthur | daytime emmy award | outstanding performer in an animated program | nominated ] Execute this SQL based on the above table: select abs ( award - category ) where category = 'outstanding writing - special class'
0, 0
[ header: party | candidate | votes | % row 1 : labour | martin o'neill | 16004 | 45.3 row 2 : snp | keith brown | 10655 | 30.2 row 3 : conservative | alasdair campbell | 4235 | 12 row 4 : liberal democrat | paul edie | 3253 | 9.2 row 5 : scottish socialist | pauline thomson | 751 | 2.1 row 6 : monster raving loony | flash gordon approaching | 405 | 1.1 row 7 : majority | majority | 5349 | 15.2 row 8 : turnout | turnout | 35303 | 61.3 row 9 : labour hold | labour hold | swing | 2.3 ] Execute this SQL based on the above table: select count ( * ) where votes > 1631
6
[ header: edition | year | men's winner | time (m:s) | women's winner | time (m:s) row 1 : 1st | 1990 | marti ten kate (n | 47:52 | alison gooderham (gbr | 56:09 row 2 : 2nd | 1991 | thomas naali (t | 47:11 | olga bondarenko (urs | 53:16 row 3 : 3rd | 1992 | boay akonay (t | 47:04 | iulia negura (rom) | 53:19 row 4 : 4th | 1993 | gary staines (gbr) | 46:11 | iulia negura (rom) | 53:01 row 5 : 5th | 1994 | gary staines (gbr) | 47:00 | gitte karlshø | 54:49 row 6 : 6th | 1995 | benson masya (ken) | 45:56 | liz mccolgan (gb | 53:12 row 7 : 7th | 1996 | gary staines (gbr) | 46:57 | derartu tulu (eth) | 52:39 row 8 : 8th | 1997 | christopher kelong (ken) | 46:53 | liz mccolgan (gb | 52:00 row 9 : 9th | 1998 | stephane franke (ger) | 47:40 | marian sutton (gbr) | 54:17 row 10 : 10th | 1999 | simon kasimili (ken) | 47:42 | esther kiplagat (ken) | 54:42 row 11 : 11th | 2000 | gert thys (rs | 48:26 | restituta joseph (tan | 55:10 row 12 : 12th | 2001 | khalid skah (mar) | 46:17 | restituta joseph (tan | 52:36 row 13 : 13th | 2002 | simon kasimili (ken) | 47:27 | sonia o'sullivan | 51:00 row 14 : 14th | 2003 | john yuda (tan | 46:35 | sonia o'sullivan | 53:26 row 15 : 15th | 2004 | hendrick ramaala (r | 47:14 | benita johnson (aus) | 52:32 row 16 : 16th | 2005 | john yuda (tan | 46:45 | derartu tulu (eth) | 51:27 row 17 : 17th | 2006 | simon arusei (ken) | 47:17 | jo pavey (gbr) | 52:46 row 18 : 18th | 2007 | luke kibet (ken | 47:31 | rose cheruiyot (ken | 53:44 row 19 : 19th | 2008 | bernard kipyego ( | 46:42 | paula radcliffe (gb | 51:11 row 20 : 20th | 2009 | mo farah (gbr) | 46:25 | ines monteiro (por) | 52:32 row 21 : 21st | 2010 | joseph ebuya (ken | 45:15 | grace momanyi (ken) | 52:03 row 22 : 22nd | 2011 | leonard komon (ken) | 46:18 | aselefech mergia (eth | 52:55 row 23 : 23rd | 2012 | stephen mokoka (rsa | 46:40 | jo pavey (grb) | 53:01 row 24 : 24th | 2013 | emmanuel bett ( | 48:03 | florence kiplagat (ken) | 53:53 ] Execute this SQL based on the above table: select edition where year = 1990
1st
[ header: week | date | opponent | result | attendance row 1 : 1 | september 28, 1952 | at dallas texans | w 24-6 | 17,499 row 2 : 2 | october 4, 1952 | at philadelphia eagle | w 31-7 | 18,648 row 3 : 3 | october 12, 1952 | at cleveland browns | w 17-9 | 51,858 row 4 : 4 | october 19, 1952 | chicago cardinals | l 24-23 | 41,182 row 5 : 5 | october 26, 1952 | philadelphia eagles | l 14-10 | 21,458 row 6 : 6 | november 2, 1952 | at chicago cardinals | w 28-6 | 27,195 row 7 : 7 | november 9, 1952 | san francisco 49ers | w 23-14 | 54,230 row 8 : 8 | november 16, 1952 | green bay packers | l 17-3 | 26,723 row 9 : 9 | november 23, 1952 | at washington redskins | w 14-10 | 21,125 row 10 : 10 | november 30, 1952 | at pittsburgh steelers | l 63-7 | 15,140 row 11 : 11 | december 7, 1952 | washington redskins | l 27-17 | 21,237 row 12 : 12 | december 14, 1952 | cleveland browns | w 37-34 | 41,610 ] Execute this SQL based on the above table: select max ( date )
september 28, 1952
[ header: ship name | in service | project number | type | class | comments row 1 : lenin | 1959 | 92m | icebreaker | None | decommissioned 1989. museum ship row 2 : arktika | 1975 | 1052-1 | icebreaker | arktika | not operational row 3 : sibir | 1977 | 1052-2 | icebreaker | arktika | defueled and not operational since 1993 row 4 : rossiya | 1985 | 10521-1 | icebreaker | arktika | None row 5 : sevmorput | 1988 | 10081 | container ship | None | has ice-breaking bow row 6 : taymyr | 1989 | 10580-1 | river icebreaker | taymyr | None row 7 : sovetskiy soyuz | 1990 | 10521-2 | icebreaker | arktika | None row 8 : vaygach | 1990 | 10580-2 | river icebreaker | taymyr | None row 9 : yamal | 1993 | 10521-3 | icebreaker | arktika | None row 10 : 50 let pobedy | 2007 | 10521 | icebreaker | arktika | built as ural, completed in 2007 ] Execute this SQL based on the above table: select comments where comments in ( 'defueled and not operational since 1993' , 'defueled and not operational since 1993' ) order by in service desc limit 1
defueled and not operational since 1993
[ header: name of place | number of counties | principal county | lower zip code row 1 : yager junction | 1 | humboldt county | None row 2 : yale | 1 | riverside county | 92544 row 3 : yankee hill | 1 | butte county | 95965 row 4 : yankee hill | 1 | tuolumne county | None row 5 : yankee jims | 1 | placer county | 95713 row 6 : yarmouth | 1 | san joaquin county | None row 7 : yellowjacket | 1 | tehama county | None row 8 : yerba buena island | 1 | san francisco county | None row 9 : yermo | 1 | san bernardino county | 92398 row 10 : yettem | 1 | tulare county | 93670 row 11 : ygnacio valley | 1 | contra costa county | 94598 row 12 : yokohl | 1 | tulare county | None row 13 : yolano | 1 | solano county | 95620 row 14 : yolo | 1 | yolo county | 95697 row 15 : yontocket | 1 | del norte county | None row 16 : yorba | 1 | los angeles county | 91767 row 17 : yorba linda | 1 | orange county | 92686 row 18 : york | 1 | los angeles county | 90050 row 19 : yorkville | 1 | mendocino county | 95494 row 20 : yosemite forks | 1 | madera county | None row 21 : yosemite junction | 1 | tuolumne county | 95389 row 22 : yosemite lakes | 1 | madera county | None row 23 : yosemite lakes park | 1 | madera county | None row 24 : yosemite lodge | 1 | mariposa county | 95389 row 25 : yosemite national park | 3 | madera county | 95389 row 26 : yosemite national park | 3 | mariposa county | 95389 row 27 : yosemite national park | 3 | tuolumne county | 95389 row 28 : yosemite national park | 1 | mariposa county | 95389 row 29 : yosemite valley | 1 | mariposa county | None row 30 : yosemite village | 1 | mariposa county | None row 31 : you bet | 1 | nevada county | None row 32 : youngstown | 1 | san joaquin county | None row 33 : yountville | 1 | napa county | 94599 row 34 : yreka | 1 | siskiyou county | 96097 row 35 : yreka city | 1 | siskiyou county | 96097 row 36 : yuba city | 1 | sutter county | 95991 row 37 : yuba city farm labor center | 1 | sutter county | 95991 row 38 : yuba pass | 1 | nevada county | None row 39 : yuba-sutter area | 2 | sutter county yuba county | None row 40 : yucaipa | 1 | san bernardino county | 92399 row 41 : yucca inn | 1 | san bernardino county | None row 42 : yucca valley | 1 | san bernardino county | 92284 row 43 : yurok indian reservation | 2 | del norte county | 95546 ] Execute this SQL based on the above table: select count ( principal county )
43
[ header: fence | name | jockey | age | handicap (st-lb) | starting price | fate row 1 : 22 | what a myth | paul kelleway | 9 | 11-4 | 11/2 | fell row 2 : 3 | rough tweed | pat buckley | 12 | 10-7 | 22/1 | fell row 3 : None | kapeno | david mould | 9 | 10-6 | 100/7 | fell row 4 : 6 | packed home | tommy carberry | 11 | 10-3 | 33/1 | fell row 5 : 22 | greek scholar | michael scudamore | 7 | 10-4 | 50/1 | fell row 6 : None | brown diamond | frank shortt | 11 | 10-0 | 100/1 | fell row 7 : 6 | popham down | willie robinson | 9 | 10-0 | 22/1 | fell row 8 : None | pontin-go | tm jones | 14 | 10-0 | 100/1 | fell row 9 : 15 | game purston | paddy cowley | 8 | 10-0 | 100/1 | fell row 10 : 22 | supersweet | mr d crossley-cook | 9 | 10-6 | 100/1 | fell row 11 : None | major hitch | paddy broderick | 8 | 10-1 | 50/1 | fell row 12 : 15 | irish day | jimmy magee | 10 | 10-0 | 40/1 | fell row 13 : None | scottish final | j gamble | 9 | 10-0 | 100/1 | fell row 14 : None | flamecap | f carroll | 9 | 10-0 | 100/1 | fell row 15 : 15 | black spot | jeremy speid-soo | 9 | 10-0 | 100/1 | fell row 16 : None | harry black | r court | 9 | 10-0 | 100/1 | fell row 17 : None | flying wild | pat taaffe | 10 | 11-0 | 20/1 | pulled up row 18 : None | stirling | hr beasley | 10 | 10-11 | 28/1 | pulled up row 19 : None | vultrix | stan mellor | 8 | 10-7 | 100/7 | pulled up row 20 : None | solimyth | mr john lawrence | 10 | 10-1 | 100/1 | pulled up row 21 : None | april rose | major piers bengough | 11 | 10-7 | 100/1 | pulled up row 22 : None | l'empereur | beltran osorio | 12 | 10-2 | 100/1 | pulled up row 23 : 14 | willow king | liam mcloughlin | 11 | 10-0 | 100/1 | pulled up row 24 : None | royal ryse | t hyde | 8 | 10-0 | 100/1 | pulled up row 25 : None | mac's flare | r langley | 10 | 10-0 | 100/1 | pulled up row 26 : None | king pin | mr tim durant | 10 | 10-11 | 100/1 | pulled up row 27 : None | in haste | j leech | 8 | 10-3 | 100/1 | pulled up row 28 : None | my gift | a redmond | 10 | 10-0 | 100/1 | pulled up row 29 : None | bold biri | j lehane | 10 | 10-0 | 100/1 | pulled up row 30 : 22 | valouis | e prendergast | 7 | 10-0 | 50/1 | brought down row 31 : 22 | leslie | mr jm opperman | 10 | 10-5 | 100/1 | brought down row 32 : None | dorimont | mr w shand-ky | 12 | 10-0 | 50/1 | unseated rider row 33 : 15 | fujino-o | jeff king | 7 | 12-0 | 100/1 | refused row 34 : None | monarch's thought | g cramp | 12 | 10-0 | 100/1 | refused row 35 : 6 | groomsman | mr s roberts | 11 | 11-0 | 100/1 | refused ] Execute this SQL based on the above table: select handicap (st-lb) where age > ( select age where handicap (st-lb) = '10-0' )
10-7, 10-0, 10-2, 10-0, 10-0
[ header: # | president | president's party | senate with | senate opposed | house with | house opposed | years served | elections won row 1 : 1 | george washington | federalist-leaning | 8 | 0 | 6 | 2 | 8 | 2 row 2 : 3 | thomas jefferson | democratic-republican | 8 | 0 | 8 | 0 | 8 | 2 row 3 : 4 | james madison | democratic-republican | 8 | 0 | 8 | 0 | 8 | 2 row 4 : 7 | andrew jackson | democratic | 8 | 0 | 8 | 0 | 8 | 2 row 5 : 8 | martin van buren | democratic | 4 | 0 | 4 | 0 | 4 | 1 row 6 : 10 | john tyler | whig/none | 4 | 0 | 2 | 2 | 4 | 0 row 7 : 13 | millard fillmore | whig | 0 | 3 | 0 | 3 | 3 | 0 row 8 : 15 | james buchanan | democratic | 4 | 0 | 2 | 2 | 4 | 1 row 9 : 16 | abraham lincoln | republican | 4 | 0 | 4 | 0 | 4 | 2 row 10 : 17 | andrew johnson | democratic | 0 | 4 | 0 | 4 | 4 | 0 row 11 : 18 | ulysses grant | republican | 8 | 0 | 6 | 2 | 8 | 2 row 12 : 20 | james garfield | republican | 0 | 0.5 | 0.5 | 0 | 0.5 | 1 row 13 : 21 | chester arthur | republican | 4 | 0 | 2 | 2 | 4 | 0 row 14 : 24 | grover cleveland | democratic | 2 | 2 | 2 | 2 | 4 | 1 row 15 : 25 | william mckinley | republican | 4 | 0 | 4 | 0 | 4 | 2 row 16 : 26 | theodore roosevel | republican | 8 | 0 | 8 | 0 | 8 | 1 row 17 : 27 | william taft | republican | 4 | 0 | 2 | 2 | 4 | 1 row 18 : 28 | woodrow wilson | democratic | 6 | 2 | 6 | 2 | 8 | 2 row 19 : 29 | warren harding | republican | 2 | 0 | 2 | 0 | 2 | 1 row 20 : 30 | calvin coolidge | republican | 6 | 0 | 6 | 0 | 6 | 1 row 21 : 31 | herbert hoover | republican | 4 | 0 | 2 | 2 | 4 | 1 row 22 : 34 | dwight eisenhower | republican | 2 | 6 | 2 | 6 | 8 | 2 row 23 : 36 | lyndon johnson | democratic | 5 | 0 | 5 | 0 | 5 | 1 row 24 : 38 | gerald ford | republican | 0 | 2 | 0 | 2 | 2 | 0 row 25 : 39 | jimmy carter | democratic | 4 | 0 | 4 | 0 | 4 | 1 row 26 : 41 | george h. w. bush | republican | 0 | 4 | 0 | 4 | 4 | 1 row 27 : 42 | bill clinton | democratic | 2 | 6 | 2 | 6 | 8 | 2 row 28 : 43 | george w. bush | republican | 4.5 | 3.5 | 6 | 2 | 8 | 2 row 29 : 44 | barack obama | democratic | 6 | 0 | 2 | 4 | 6 | 2 ] Execute this SQL based on the above table: select president's party where president's party = 'republican' and president = 'abraham lincoln'
republican
[ header: version | length | album | remixed by | year | comment row 1 : single version / radio edit | 3:39 | go - the very best of moby | mhc aka philip la | 2006 | remixed version with dance sonorities, row 2 : extended remix | 6:48 | None | mhc aka philip la | 2006 | similar to the previous but longer row 3 : axwell remix | 7:24 | None | axwell | 2006 | used in a scene in the 2008 movie 21 row 4 : enzo mori & stephan clar | 7:10 | None | enzo mori and stephan clark | 2006 | None row 5 : mhc club remix | 7:31 | None | mhc aka philip la | 2006 | None row 6 : zloot remix | 4:36 | None | toni toolz | 2006 | None row 7 : music video | 3:58 | None | None | 2006 | None ] Execute this SQL based on the above table: select avg ( year ) where id <= 3
2006.0
[ header: sheriff | start of term row 1 : josiah hobart | 1683 row 2 : john mulford | 1701 row 3 : hugh gray | 1702 row 4 : john brush | 1710 row 5 : daniel youngs | 1718 row 6 : samuel dayton | 1723 row 7 : william sell | 1728 row 8 : joseph smith | 1730 row 9 : david corrie | 1731 row 10 : jacob conklin | 1734 row 11 : thomas higbe | 1740 row 12 : james muirson | 1774 row 13 : thomas wickes | 1785 row 14 : silas halsey | 1787 row 15 : thomas wickes | 1791 row 16 : phinaes carll | 1799 row 17 : josiah reeve | 1803 row 18 : phinaes smith | 1807 row 19 : josiah reeve | 1808 row 20 : benjamin brewster | 1810 row 21 : josiah reeve | 1811 row 22 : benjamin brewster | 1812 row 23 : nathaniel conklin | 1814 row 24 : josiah reeve | 1815 row 25 : samuel smith | 1826 row 26 : abraham gardiner | 1829 row 27 : richard smith | 1832 row 28 : silas horton | 1835 row 29 : samuel miller | 1838 row 30 : david brush | 1841 row 31 : henry penny | 1844 row 32 : david rose | 1847 row 33 : john clark | 1850 row 34 : samuel phillips | 1855 row 35 : george carman | 1856 row 36 : daniel osborn | 1862 row 37 : george smith | 1868 row 38 : j. henry perkins | 1871 row 39 : egbert lewis | 1874 row 40 : george cooper | 1877 row 41 : robert petty | 1888 row 42 : selah brewster | 1883 row 43 : henry halsey | 1886 row 44 : robert petty | 1888 row 45 : a. m. darling | 1891 row 46 : benjamin wood | 1897 row 47 : j. sheridan wells | 1900 row 48 : henry preston | 1903 row 49 : john wells | 1906 row 50 : charles platt | 1909 row 51 : melville brush | 1912 row 52 : d. henry brown | 1913 row 53 : charles o'dell | 1914 row 54 : john kelly | 1920 row 55 : amza biggs | 1923 row 56 : burton howe | 1926 row 57 : ellis taylor | 1929 row 58 : joseph warta | 1932 row 59 : william mccollom | 1935 row 60 : jacob dreyer | 1938 row 61 : john levy | 1941 row 62 : william mccollom | 1942 row 63 : charles dominy | 1957 row 64 : frank gross | 1962 row 65 : philip corso | 1970 row 66 : donald dilworth | 1976 row 67 : john finnerty | 1977 row 68 : eugene dooley | 1986 row 69 : patrick mahoney | 1990 row 70 : alfred c. tisch | 2002 row 71 : vincent f. demarco | 2006 ] Execute this SQL based on the above table: select sheriff where sheriff = 'ellis taylor'
ellis taylor
[ header: team | winners | runners-up | years won | years lost row 1 : bayern munich | 5 | 4 | 1982, 1987, 1990, 2010, 2012 | 1989, 1994, 2008, 2013 row 2 : borussia dortmund | 5 | 2 | 1989, 1995, 1996, 2008, 2013 | 2011, 2012 row 3 : werder bremen | 4 | 1 | 1988, 1993, 1994, 2009 | 1991 row 4 : kaiserslautern | 1 | 2 | 1991 | 1990, 1996 row 5 : schalke 04 | 1 | 2 | 2011 | 1940, 2010 row 6 : borussia monchengladbach | 1 | 1 | 1977 | 1995 row 7 : stuttgart | 1 | 0 | 1992 | None row 8 : dresdner sc | 1 | 0 | 1940 | None row 9 : hamburg | 0 | 3 | None | 1977, 1982, 1987 row 10 : eintracht frankfurt | 0 | 1 | None | 1988 row 11 : hannover 96 | 0 | 1 | None | 1992 row 12 : bayer leverkusen | 0 | 1 | None | 1993 row 13 : wolfsburg | 0 | 1 | None | 2009 ] Execute this SQL based on the above table: select team where runners-up = 1
werder bremen, borussia monchengladbach, eintracht frankfurt, hannover 96, bayer leverkusen, wolfsburg
[ header: year | winners | score | runners up | notes row 1 : 1947 | wellington town reserves | 4-1 | walsall wood | None row 2 : 1949 | bilston town | 1-0 | oswestry town | None row 3 : 1950 | brereton social drew | None | None | None row 4 : 1951 | bloxwich strollers | 1-0 | walsall wood | after extra time row 5 : 1955 | shelfield athletic | 5-1 | walsall trinity | None row 6 : 1956 | shelfield athletic | 2-0 | ogley hay | None row 7 : 1959 | shelfield athletic | 4-0 | walsall wood | None row 8 : 1960 | shelfield athletic | 3-0 | walsall wood | None row 9 : 1965 | rushall olympic | 2-1 | brereton social | None row 10 : 1966 | lower gornal athletic | 4-2 | kidderminster harriers | after extra time row 11 : 1968 | wrockwardine wood | 2-1 | tamworth | None row 12 : 1971 | baddesley colliery | 4-3 | atherstone town | aggregate score, 1st leg 2-2, row 13 : 1973 | bilston town | 1-0 | darlaston | None row 14 : 1974 | brereton social | 3-2 | warley county borough | after extra time row 15 : 1977 | blakenall | 1-0 | bilston town | replay, 1st game 0-0 a row 16 : 1978 | sutton coldfield town | 2-0 | alvechurch | None row 17 : 1980 | sutton coldfield town | 1-0 | rushall olympic | None row 18 : 1981 | blakenall | 2-1 | sutton coldfield town | replay, 1st game 1-1 a row 19 : 1983 | coleshill town | 4-3 | wolverhampton united | None row 20 : 1984 | atherstone town | 4-0 | tividale | None row 21 : 1985 | harrisons | 2-0 | wolverhampton united | None row 22 : 1987 | boldmere st. michaels | 2-0 | bloxwich town | None row 23 : 1990 | meir ka | 2-1 | rushall olympic | replay, 1st game 0-0 a row 24 : 1991 | chasetown | 1-0 | blakenall | after extra time row 25 : 1992 | armitage 90 | 3-2 | meir ka | after extra time row 26 : 1993 | chasetown | 3-1 | pelsall villa | None row 27 : 1994 | newcastle town | 1-0 | oldbury united | after extra time row 28 : 1995 | newcastle town | 1-1 | knypersley victoria | after extra time, newcastle won on penalties row 29 : 1996 | blakenall | 0-0 | newcastle town | after extra time, blakenall won on row 30 : 1998 | blakenall | 2-1 | halesowen harriers | None row 31 : 1999 | blakenall | 3-2 | meir ka | None row 32 : 2000 | rushall olympic | 2-2 | rocester | after extra time, rushall won 5-4 on row 33 : 2001 | wolverhampton casuals | 2-0 | sutton coldfield town | None row 34 : 2002 | bolehall swifts | 4-4 | tividale | after extra time, bolehall won 4 row 35 : 2004 | sutton coldfield town | 3-1 | tividale | None row 36 : 2005 | chasetown | 2-1 | tividale | None row 37 : 2006 | boldmere st michaels | 1-0 | tipton town | None ] Execute this SQL based on the above table: select sum ( year ) where year > 1365
73265
[ header: year | single | peak chart positions us mod | peak chart positions uk | album row 1 : 1997 | "automatic" | None | None | losing streak row 2 : 1997 | "dopeman" | None | None | losing streak row 3 : 1997 | "dopeman" (remix) | None | None | non-album single row 4 : 1997 | "howie j. rey | None | None | non-album single row 5 : 1998 | "history of a boring town" | 39 | None | hello rockview row 6 : 2000 | "all my best friends are metalheads" | None | 51 | hello rockview row 7 : 2000 | "all my best friends are metalheads" | None | None | non-album single row 8 : 2001 | "gainesville rock city" | None | 57 | borders & boundaries row 9 : 2003 | "she's gonna break soon" | None | 39 | anthem row 10 : 2003 | "the science of selling yourself short" | 36 | 78 | anthem row 11 : 2003 | "surrender" | None | None | anthem row 12 : 2006 | "overrated (everything is)" | None | 61 | in with the out crowd row 13 : 2006 | "the rest of my life" | None | 77 | in with the out crowd row 14 : 2008 | "does the lion city still | None | None | gnv fla row 15 : 2008 | "abandon ship" | None | None | gnv fla ] Execute this SQL based on the above table: select single where year = ( select year where single = '"dopeman"' ) + 1
"history of a boring town"
[ header: central division v t e | w | l | pct | gb | home | road | div row 1 : y-atlanta hawks | 50 | 32 | 0.61 | None | 32-9 | 18-23 | 21-9 row 2 : x-houston rockets | 41 | 41 | 0.5 | 9 | 29-12 | 12-29 | 20-10 row 3 : x-san antonio | 41 | 41 | 0.5 | 9 | 27-14 | 14-27 | 14-16 row 4 : cleveland cavaliers | 37 | 45 | 0.451 | 13 | 28-13 | 9-32 | 16-14 row 5 : indiana pacers | 37 | 45 | 0.451 | 13 | 26-15 | 11-30 | 15-15 row 6 : detroit pistons | 16 | 66 | 0.195 | 34 | 13-28 | 3-38 | 4-26 ] Execute this SQL based on the above table: select count ( * ) where gb = 9
2
[ header: midwest division v t e | w | l | pct | gb | home | road | div row 1 : y-denver nuggets | 50 | 32 | 0.61 | None | 36-5 | 14-27 | 15-5 row 2 : x-detroit pistons | 44 | 38 | 0.537 | 6 | 30-11 | 14-27 | 12-8 row 3 : x-chicago bulls | 44 | 38 | 0.537 | 6 | 31-10 | 13-28 | 10-10 row 4 : kansas city kings | 40 | 42 | 0.488 | 10 | 28-13 | 12-29 | 7-13 row 5 : indiana pacers | 36 | 46 | 0.439 | 14 | 25-16 | 11-30 | 9-11 row 6 : milwaukee bucks | 30 | 52 | 0.366 | 20 | 24-17 | 6-35 | 7-13 ] Execute this SQL based on the above table: select count ( * ) where midwest division v t e = 'x-chicago bulls'
1
[ header: entrant | constructor | chassis | engine | no | driver row 1 : team ensign | ensign | n180b | cosworth dfv v8 | 3 | jim crawford row 2 : team ensign | ensign | n180b | cosworth dfv v8 | 4 | joe castellano row 3 : colin bennett racing | mclaren | m29 | cosworth dfv v8 | 6 | arnold glass row 4 : colin bennett racing | march | 811 | cosworth dfv v8 | 7 | val musetti row 5 : team sanada | fittipaldi | f8 | cosworth dfv v8 | 8 | tony trimmer row 6 : warren booth | shadow | dn9 | cosworth dfv v8 | 11 | warren booth row 7 : john jordan | brm | p207 | brm 202 v12 | 12 | david williams row 8 : nick mason | tyrrell | 8 | cosworth dfv v8 | 14 | john brindley row 9 : emka productions | williams | fw07 | cosworth dfv v8 | 16 | steve o'rourke row 10 : team peru | williams | fw07 | cosworth dfv v8 | 82 | jorge koechlin ] Execute this SQL based on the above table: select entrant where no = 7
colin bennett racing
[ header: game | date | opponent | location | score | ot | attendance | record row 1 : 1 | january 9, 2009 | @ portland lumberjax | rose garden | w 12-10 | None | 6859 | 1-0 row 2 : 2 | january 10, 2009 | portland lumberjax | pepsi center | l 5-14 | None | 16987 | 1-1 row 3 : 3 | january 24, 2009 | edmonton rush | pepsi center | l 9-11 | None | 16734 | 1-2 row 4 : 4 | january 31, 2009 | new york titans | pepsi center | w 12-8 | None | 15023 | 2-2 row 5 : 5 | february 7, 2009 | @ minnesota swarm | xcel energy center | w 13-8 | None | 11174 | 3-2 row 6 : 6 | february 14, 2009 | calgary roughnecks | pepsi center | w 13-12 | None | 17712 | 4-2 row 7 : 7 | february 21, 2009 | @ san jose stealth | hp pavilion at san jose | l 9-14 | None | 5576 | 4-3 row 8 : 8 | february 22, 2009 | @ edmonton rush | rexall place | l 9-10 | None | 7249 | 4-4 row 9 : 9 | march 14, 2009 | @ san jose stealth | hp pavilion at san jose | w 14-11 | None | 3535 | 5-4 row 10 : 10 | march 21, 2009 | @ calgary roughnecks | pengrowth saddledome | l 10-13 | None | 10958 | 5-5 row 11 : 11 | march 22, 2009 | minnesota swarm | pepsi center | w 13-11 | None | 15594 | 6-5 row 12 : 12 | march 28, 2009 | @ philadelphia wings | wachovia center | l 13-17 | None | 11876 | 6-6 row 13 : 13 | april 3, 2009 | rochester knighthawks | pepsi center | l 8-12 | None | 16834 | 6-7 row 14 : 14 | april 4, 2009 | @ portland lumberjax | rose garden | l 12-13 | ot | 7859 | 6-8 row 15 : 15 | april 11, 2009 | san jose stealth | pepsi center | l 10-11 | ot | 16189 | 6-9 row 16 : 16 | april 17, 2009 | edmonton rush | pepsi center | w 10-9 | None | 16727 | 7-9 ] Execute this SQL based on the above table: select record where opponent = '@ calgary roughnecks'
5-5
[ header: player | league | cup | europa league | total row 1 : garra dembele | 25 | 3 | 8 | 36 row 2 : daniel mladenov | 5 | 0 | 5 | 10 row 3 : ismail isa | 3 | 1 | 4 | 8 row 4 : hristo yovov | 6 | 0 | 1 | 7 row 5 : joazinho | 2 | 0 | 2 | 4 row 6 : vladimir gadzhe | 2 | 1 | 1 | 4 row 7 : darko tasevski | 4 | 0 | 0 | 4 row 8 : alex | 3 | 0 | 0 | 3 row 9 : jeanvion yulu-mat | 3 | 0 | 0 | 3 row 10 : mariyan ognyanov | 2 | 0 | 0 | 2 row 11 : serginho greene | 1 | 0 | 1 | 2 row 12 : yordan miliev | 1 | 0 | 0 | 1 row 13 : ivo ivanov | 1 | 0 | 0 | 1 row 14 : total | 58 | 5 | 22 | 85 ] Execute this SQL based on the above table: select player where cup = 0
daniel mladenov, hristo yovov, joazinho, darko tasevski, alex, jeanvion yulu-matondo, mariyan ognyanov, serginho greene, yordan miliev, ivo ivanov
[ header: rank | name | nationality | time | notes row 1 : None | chelsey gotell | canada | 2:28.15 | wr row 2 : None | kirby cote | canada | 2:28.65 | None row 3 : None | valerie grand maison | canada | 2:29.29 | None row 4 : 4 | kelley becherer | united states | 2:32.21 | None row 5 : 5 | prue watt | australia | 2:32.87 | None row 6 : 6 | teigan van roosmal | australia | 2:39.20 | None row 7 : 7 | lidia marta banos | spain | 2:48.80 | None row 8 : 8 | akari kasamoto | japan | 2:55.16 | None ] Execute this SQL based on the above table: select name where name > 388
chelsey gotell, kirby cote, valerie grand maison, kelley becherer, prue watt, teigan van roosmalen, lidia marta banos, akari kasamoto
[ header: rd. | grand prix | date | location | pole position | fastest lap | winning driver | constructor | report row 1 : 1 | brazilian grand prix | 26 march | jacarepagua | ayrton senna | riccardo patrese | nigel mansell | ferrari | report row 2 : 2 | san marino grand prix | 23 april | imola | ayrton senna | alain prost | ayrton senna | mclaren-honda | report row 3 : 3 | monaco grand prix | 7 may | monaco | ayrton senna | alain prost | ayrton senna | mclaren-honda | report row 4 : 4 | mexican grand prix | 28 may | hermanos rodriguez | ayrton senna | nigel mansell | ayrton senna | mclaren-honda | report row 5 : 5 | united states grand prix | 4 june | phoenix | ayrton senna | ayrton senna | alain prost | mclaren-honda | report row 6 : 6 | canadian grand prix | 18 june | circuit gilles villeneuve | alain prost | jonathan palmer | thierry boutsen | williams-renault | report row 7 : 7 | french grand prix | 9 july | paul ricard | alain prost | mauricio gugelmin | alain prost | mclaren-honda | report row 8 : 8 | british grand prix | 16 july | silverstone | ayrton senna | nigel mansell | alain prost | mclaren-honda | report row 9 : 9 | german grand prix | 30 july | hockenheimring | ayrton senna | ayrton senna | ayrton senna | mclaren-honda | report row 10 : 10 | hungarian grand prix | 13 august | hungaroring | riccardo patrese | nigel mansell | nigel mansell | ferrari | report row 11 : 11 | belgian grand prix | 27 august | spa-francorchamps | ayrton senna | alain prost | ayrton senna | mclaren-honda | report row 12 : 12 | italian grand prix | 10 september | monza | ayrton senna | alain prost | alain prost | mclaren-honda | report row 13 : 13 | portuguese grand prix | 24 september | estoril | ayrton senna | gerhard berger | gerhard berger | ferrari | report row 14 : 14 | spanish grand prix | 1 october | jerez | ayrton senna | ayrton senna | ayrton senna | mclaren-honda | report row 15 : 15 | japanese grand prix | 22 october | suzuka | ayrton senna | alain prost | alessandro nannini | benetton-ford | report row 16 : 16 | australian grand prix | 5 november | adelaide | ayrton senna | satoru nakajima | thierry boutsen | williams-renault | report ] Execute this SQL based on the above table: select grand prix where rd. < ( select rd. where grand prix = 'canadian grand prix' ) order by rd. desc limit 1
united states grand prix
[ header: party | votes | % | swing | seats | change row 1 : australian labor party | 324135 | 51.52 | -0.12 | 26 | -1 row 2 : liberal and country league | 250312 | 39.79 | -3.97 | 20 | 0 row 3 : nationals sa | 24810 | 3.94 | 2.05 | 1 | 1 row 4 : independent | 27178 | 4.32 | 2.86 | 0 | 0 row 5 : other | 2708 | 0.43 | -0.81 | 0 | 0 row 6 : total | 629143 | None | None | 47 | None row 7 : australian labor party | win | 54.5 | 1.2 | 26 | -1 row 8 : liberal and country league | None | 45.5 | -1.2 | 21 | 1 ] Execute this SQL based on the above table: select party order by abs ( party - party ) desc limit 1
australian labor party
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 30 may 1928 | olympic stadium (amsterdam | mexico | 1-0 | 7-1 | 1928 summer olympics row 2 : 2 | 30 may 1928 | olympic stadium (amsterdam | mexico | 3-0 | 7-1 | 1928 summer olympics row 3 : 3 | 22 june 1930 | bologna, italy | italy | 1-0 | 3-2 | friendly row 4 : 4 | 22 june 1930 | bologna, italy | italy | 3-1 | 3-2 | friendly row 5 : 5 | 13 december 1931 | dublin, ireland | ireland | 3-0 | 5-0 | friendly row 6 : 6 | 13 december 1931 | dublin, ireland | ireland | 5-0 | 5-0 | friendly row 7 : 7 | 24 april 1932 | oviedo, spain | yugoslavia | 1-0 | 2-1 | friendly row 8 : 8 | 21 june 1933 | madrid, spain | bulgaria | 8-0 | 13-0 | friendly row 9 : 9 | 21 june 1933 | madrid, spain | bulgaria | 12-0 | 13-0 | friendly row 10 : 10 | 11 march 1934 | madrid, spain | portugal | 4-0 | 9-0 | 1934 world cup qualifier row 11 : 11 | 11 march 1934 | madrid, spain | portugal | 6-0 | 9-0 | 1934 world cup qualifier row 12 : 12 | 21 june 1934 | firenze, italy | italy | 1-0 | 1-1 | 1934 fifa world cup row 13 : 13 | 24 january 1935 | madrid, spain | bulgaria | 1-0 | 2-0 | friendly row 14 : 14 | 19 january 1936 | madrid, spain | austria | 2-4 | 4-5 | friendly row 15 : 15 | 19 january 1936 | madrid, spain | austria | 4-4 | 4-5 | friendly row 16 : 16 | 23 february 1936 | barcelona, spain | germany | 1-2 | 1-2 | friendly ] Execute this SQL based on the above table: select venue where opponent = 'ireland' order by competition limit 1
dublin, ireland
[ header: rank | lane | name | nationality | time | notes row 1 : None | 5 | ryan lochte | united states | 1:53.94 | wr row 2 : None | 4 | aaron peirsol | united states | 1:54.33 | None row 3 : None | 8 | arkady vyatchan | russia | 1:54.93 | eu row 4 : 4 | 3 | markus rogan | austria | 1:55.49 | nr row 5 : 5 | 6 | ryosuke irie | japan | 1:55.72 | None row 6 : 6 | 1 | hayden stoeckel | australia | 1:56.39 | oc row 7 : 7 | 2 | razvan florea | romania | 1:56.52 | None row 8 : 8 | 7 | gregor tait | great britain | 1:57.00 | None ] Execute this SQL based on the above table: select count ( nationality )
8
[ header: year | goalkeeper | defenders | midfielders | forwards row 1 : 1988 | tony meola, virginia | jeff agoos, virginia | henry gutierrez, nc | scott benedetti, portl row 2 : 1993 | tim deck, wisconsin | shane batelle, st | brian kamler, creighton ja | keith defini, creighton row 3 : 1996 | jon busch, charlotte | tahj jakins, u | mike fisher, virginia | tony kuhn, vander row 4 : 1998 | adin brown, william & | matt chulis, virginia | lazo alavanja, indian | chris albright, virginia row 5 : 2000 | chris hamblin, boston | chris gbandi, | carl bussey, sm | chris carrieri, unc row 6 : 2001 | byron foss, sm | chris gbandi, | luchi gonzalez, | nicholas mccrea row 7 : 2009 | jeff attinella, south flori | bobby warshaw, stanford | kyle nakazawa, | teal bunbury, akron col ] Execute this SQL based on the above table: select year order by year desc limit 1
2009
[ header: lift name | type | top elevation (ft) | bottom elevation | vertical rise | length (ft) | slope (%) | capacity (rides/hr) | speed (ft/min) | lift manufacturer | year installed row 1 : bruno | fixed double | 5885 | 5840 | 45 | 368 | 12% | 630 | 300 | poma | 1987 row 2 : molly's express | detach quad | 5835 | 4990 | 845 | 5244 | 16% | 1200 | 1000 | doppelmayr | 2000 row 3 : pucci | fixed triple | 5920 | 5350 | 570 | 3398 | 17% | 1330 | 450 | poma | 1987 row 4 : stormin' norman | detach quad | 6245 | 5460 | 785 | 4396 | 18% | 1500 | 1000 | doppelmayr | 2000 row 5 : magic mile express | detach quad | 6990 | 5915 | 1075 | 5359 | 20% | 1600 | 950 | poma | 1992 row 6 : palmer express | detach quad | 8470 | 6940 | 1530 | 5468 | 29% | 1800 | 1000 | doppelmayr | 1996 row 7 : jeff flood express (still creek basin) | detach quad | 6020 | 4850 | 1170 | 6506 | 18% | 1800 | 1000 | doppelmayr | 2007 ] Execute this SQL based on the above table: select lift name order by top elevation (ft) + length (ft) desc limit 1
palmer express
[ header: institution | location | founded | type | enrollment | joined | nickname row 1 : bryan college | dayton, tennessee | 1930 | private (non-denominational) | 1044 | 2001 | lions row 2 : columbia college | columbia, south carolina | 1854 | private (methodist) | 1200 | 2011 | fighting koalas row 3 : milligan college | elizabethton, | 1866 | private (disciples of christ) | 1006 | 2001 | buffaloes row 4 : montreat college | montreat, north carolina | 1916 | private (presbyterian) | 1145 | 2001 | cavaliers row 5 : point university | west point, georgia | 1937 | private (christian churches and churches of | 1000 | 2011 | skyhawks row 6 : reinhardt university | waleska, georgia | 1883 | private (methodist) | 1057 | 2009 | eagles row 7 : st. andrews university | laurinburg, north carolina | 1958 | private | 800 | 2012 | knights row 8 : savannah college of art and design | atlanta, georgia | 2005 | private | 2000 | 2012 | bees row 9 : tennessee wesleyan college | athens, tennessee | 1857 | private (methodist) | 1103 | 2001 | bulldogs row 10 : truett-mcconnell college | cleveland, georgia | 1946 | private/christian (baptist) | 550 | 2013 | bears row 11 : union college | barbourville, kentucky | 1879 | private/christian (methodist) | 1368 | 2001 | bulldogs row 12 : virginia intermont college | bristol, virginia | 1884 | private/christian (baptist) | 916 | 2001 | cobras ] Execute this SQL based on the above table: select nickname where location = 'montreat, north carolina' order by founded limit 1958
cavaliers
[ header: category | speed (km/h) | speed (mph) | vehicle | pilot | date row 1 : rocket-powered aircraft | 7258 | 4510 | north american x-15 | william j. knight | 3 oct 1967 row 2 : manned air-breathing craft | 3530 | 2194 | lockheed sr-71 blackbird | eldon w. joersz | 28 jul 1976 row 3 : propeller-driven aircraft | 870 | 541 | tupolev tu-114 | ivan soukhomline | 1960 row 4 : piston-engined propeller-driven aircraft | 850.1 | 528.33 | grumman f8f bearcat rare | lyle shelton | 21 aug 1989 row 5 : helicopter | 401 | 249.1 | westland lynx 800 g | john egginton | 11 aug 1986 row 6 : glider (sailplane) | 306.8 | 190.6 | schempp-hirth nim | klaus ohlmann and | 22 dec 2006 row 7 : human-powered aircraft | 32 | 19.8 | mit monarch b | frank scarabino | 1 may 1984 ] Execute this SQL based on the above table: select pilot where pilot in ( 'john egginton' , 'ivan soukhomline' ) order by speed (km/h) limit 1
john egginton
[ header: sport | gold | silver | bronze | total row 1 : athletics | 14 | 8 | 10 | 32 row 2 : weightlifting | 9 | 2 | 1 | 12 row 3 : swimming | 8 | 7 | 5 | 20 row 4 : taekwondo | 7 | 3 | 2 | 12 row 5 : boxing | 7 | 1 | 3 | 11 row 6 : judo | 5 | 3 | 6 | 14 row 7 : canoeing | 5 | 2 | 3 | 10 row 8 : sailing | 4 | 3 | 1 | 8 row 9 : sepak takraw | 4 | 0 | 0 | 4 row 10 : wrestling | 3 | 5 | 4 | 12 row 11 : rowing | 3 | 3 | 3 | 9 row 12 : gymnastic - artistic | 3 | 2 | 3 | 8 row 13 : fencing | 3 | 1 | 9 | 13 row 14 : petanque | 3 | 1 | 2 | 6 row 15 : cycling | 2 | 8 | 4 | 14 row 16 : paragliding | 3 | 1 | 2 | 6 row 17 : fin swimming | 2 | 3 | 7 | 12 row 18 : tennis | 2 | 3 | 4 | 9 row 19 : golf | 2 | 3 | 0 | 5 row 20 : water ski | 2 | 2 | 1 | 5 row 21 : ekuestrian | 2 | 2 | 1 | 5 row 22 : bridge | 2 | 1 | 2 | 5 row 23 : billiard & snooker | 2 | 1 | 1 | 4 row 24 : futsal | 2 | 0 | 0 | 2 row 25 : volleyball | 2 | 0 | 0 | 2 row 26 : shooting | 1 | 6 | 5 | 12 row 27 : badminton | 1 | 2 | 6 | 9 row 28 : gymnastic - aerobic | 1 | 1 | 1 | 3 row 29 : gymnastic - rhythmic | 1 | 1 | 0 | 2 row 30 : basketball | 1 | 1 | 0 | 2 row 31 : wushu | 1 | 0 | 3 | 4 row 32 : beach volleyball | 1 | 0 | 2 | 3 row 33 : chess | 1 | 0 | 0 | 1 row 34 : bowling | 1 | 0 | 0 | 1 row 35 : soft tennis | 0 | 4 | 5 | 9 row 36 : pencak silat | 0 | 4 | 3 | 7 row 37 : traditional boat race | 0 | 2 | 5 | 7 row 38 : karate-do | 0 | 2 | 4 | 6 row 39 : roller sport | 0 | 2 | 2 | 4 row 40 : wall climbing | 0 | 2 | 1 | 3 row 41 : archery | 0 | 1 | 4 | 5 row 42 : table tennis | 0 | 1 | 2 | 3 row 43 : synchronized swimming | 0 | 1 | 1 | 2 row 44 : softball | 0 | 1 | 0 | 1 row 45 : baseball | 0 | 0 | 1 | 1 row 46 : diving | 0 | 0 | 1 | 1 row 47 : total | 109 | 100 | 120 | 329 ] Execute this SQL based on the above table: select count ( * ) where sport = 'synchronized swimming'
1
[ header: wager | winner | loser | location | date | notes row 1 : hair | psycho clown | super crazy | mexico city, distrito federal | may 29, 2011 | six man tag team steel cage masks v row 2 : hair | halloween | coco rojo | tlalnepantla de | july 10, 2011 | steel cage match, where los perros del row 3 : hair | psycho clown | x-fly | guadalajara, | july 31, 2011 | six man tag team steel cage masks v row 4 : title | damian 666 | monster clown | naucalpan, mexico | august 28, 2011 | four tag team steel cage match, where los psycho row 5 : hair | monster clown, murder clown and psycho clown | halloween, damian 666 and n | monterrey, nuevo leon | october 9, 2011 | steel cage masks vs. hairs row 6 : hair | psicosis | joe lider | mexico city | august 5, 2012 | None row 7 : hair | dark cuervo | halloween | san luis potosi, | october 7, 2012 | domo de la muerte, ] Execute this SQL based on the above table: select notes order by winner desc limit 1
six man tag team steel cage masks vs. hairs match, where los perros del mal (crazy, el hijo del perro aguayo and damian 666) faced los psycho circus (psycho clown, monster clown and murder clown)
[ header: first issued | design | slogan | serial format | serials issued | notes row 1 : 1955 | white embossed digits with white border | "grand canyon state" embossed in white | a-12345 | None | coded by county of issuance row 2 : 1958 | white embossed digits with white border | grand canyon state embossed in white and | abc-123 | aaa-001 to bzz | None row 3 : 1960 | blue embossed digits with blue border | grand canyon state embossed in blue and | abc-123 | caa-001 to dzz-999 | None row 4 : 1963 | white embossed digits with white border | grand canyon state embossed in white and | abc-123 | eaa-001 to fzz | None row 5 : 1965 | black embossed digits with black border | grand canyon state embossed in black and | abc-123 | haa-001 to jzz-999 | None row 6 : 1968 | black embossed digits with black border | grand canyon state embossed in black and | abc-123 | kaa-001 to nzz- | None row 7 : 1972 | green embossed digits with green border | grand canyon state embossed in green and | abc-123 | paa-001 to wzz-999 | None row 8 : 1980 | white embossed digits with white emb | grand canyon state embossed in white and | abc-123 | aaa-001 to nzz | None row 9 : 1996 | dark green embossed digits on | grand canyon state in dark green thin plain letters at | 123·abc | 101·aaa to 999·z | awarded "plate of the year" for best new row 10 : 2008 | dark green screened digits on screened | grand canyon state in dark green thin plain letters at | abc1234 | aaa0001 to present | None ] Execute this SQL based on the above table: select slogan order by first issued desc limit 1
grand canyon state in dark green thin plain letters at bottom right in orange part of screen
[ header: | year | city | country | date | venue | no. of events | no. of athletes row 1 : 1st | 2000 | monterrey | mexico | august 3-5 | universidad autonoma de nuevo | 45 | 184 row 2 : 2nd | 2002 | san antonio | united states | august 9-11 | e.m. stevens stadium | 45 | 245 row 3 : 3rd | 2004 | sherbrooke | canada | july 30 - august 1 | universite de sherbrooke stadium | 42 | 243 row 4 : 4th | 2006 | santo domingo | dominican republic | july 7-9 | estadio felix san | 44 | 373 row 5 : 5th | 2008 | toluca | mexico | july 18-20 | estadio universitario alber | 44 | None row 6 : 6th | 2010 | miramar | united states | july 9-11 | ansin sports complex | 44 | None row 7 : 7th | 2012 | irapuato | mexico | july 6-8 | centro paralimpico nacional | 44 | None row 8 : 8th | 2014 | kamloops | canada | august 8-10 | hillside stadium | None | None ] Execute this SQL based on the above table: select no. of athletes where = '4th' order by no. of athletes asc limit 1
373.0
[ header: class | type | ships | displacement | note row 1 : rari class | tug supply vessel | a635 revi | 1,450 tonnes | None row 2 : malabar class | ocean going tug | a664 malabar a6 | 1,440 tonnes | ice-breaking capabilities to 2 meters level row 3 : ut507 class | salvage tug | abeille flandre abeille languedoc | 1,500 tonnes | chartered row 4 : ut515 class | salvage tug | abeille bourbon abeille libert | 4,000 tonnes | chartered row 5 : ut710 class | support, assistance, pollution control vessel | argonaute jason | 2,100 tonnes | chartered, configured to accommodate nato row 6 : ut711 class | support, assistance, pollution control vessel | alcyon ailette | 2,000 tonnes | chartered row 7 : None | training ships | vn partisan | 2,250 tonnes | chartered row 8 : None | training ships | vn rebel | None | chartered ] Execute this SQL based on the above table: select note group by note order by count ( * ) desc limit 1
chartered
[ header: date | competition | home team | score | away team | score row 1 : 16 october 2004 | powergen cup | bedford | None | tabard | None row 2 : 15 february 2005 | national division one | bedford | 26 | otley | 13 row 3 : 19 february 2005 | national division one | bedford | 16 | london welsh | 17 row 4 : 26 february 2005 | national division one | sedgley park | 12 | bedford | 23 row 5 : 12 march 2005 | national division one | bedford | 23 | cornish pirates | 28 row 6 : 2 april 2005 | national division one | bedford | 39 | plymouth albion | 21 row 7 : 9 april 2005 | national division one | birmingham solihull | 18 | bedford | 29 ] Execute this SQL based on the above table: select competition where score > 4 and score < 1516
national division one, national division one, national division one, national division one, national division one, national division one
[ header: institution | location | founded | type | enrollment | joined | nickname row 1 : bryan college | dayton, tennessee | 1930 | private (non-denominational) | 1044 | 2001 | lions row 2 : columbia college | columbia, south carolina | 1854 | private (methodist) | 1200 | 2011 | fighting koalas row 3 : milligan college | elizabethton, | 1866 | private (disciples of christ) | 1006 | 2001 | buffaloes row 4 : montreat college | montreat, north carolina | 1916 | private (presbyterian) | 1145 | 2001 | cavaliers row 5 : point university | west point, georgia | 1937 | private (christian churches and churches of | 1000 | 2011 | skyhawks row 6 : reinhardt university | waleska, georgia | 1883 | private (methodist) | 1057 | 2009 | eagles row 7 : st. andrews university | laurinburg, north carolina | 1958 | private | 800 | 2012 | knights row 8 : savannah college of art and design | atlanta, georgia | 2005 | private | 2000 | 2012 | bees row 9 : tennessee wesleyan college | athens, tennessee | 1857 | private (methodist) | 1103 | 2001 | bulldogs row 10 : truett-mcconnell college | cleveland, georgia | 1946 | private/christian (baptist) | 550 | 2013 | bears row 11 : union college | barbourville, kentucky | 1879 | private/christian (methodist) | 1368 | 2001 | bulldogs row 12 : virginia intermont college | bristol, virginia | 1884 | private/christian (baptist) | 916 | 2001 | cobras ] Execute this SQL based on the above table: select nickname order by enrollment desc limit 1
bees
[ header: name | type | elevation (ground station) | elevation (mountain station) | slope length | capacity (persons/hour) | construction year row 1 : fiesch- -alp 1+2 | cable car | 1074 | 2227 | 2940 | 800 | 1973 row 2 : fiesch- -alp 3+4 | cable car | 1071 | 2221 | 2937 | 270 | 1966 row 3 : fiescheralp-eggishorn | cable car | 2225 | 2879 | 1836 | 495 | 1968 row 4 : heimat | chairlift | 1858 | 2301 | 1144 | 1400 | 2000 row 5 : talegga | chairlift | 2208 | 2727 | 1782 | 2200 | 2010 row 6 : flesch | chairlift | 2208 | 2630 | 1357 | 2400 | 1993 row 7 : trainer 1 | surface lift | 2206 | 2264 | 218 | 1200 | 1987 row 8 : trainer 2 | surface lift | 2206 | 2264 | 218 | 1200 | 1987 row 9 : laxeralp 1 | surface lift | 2135 | 2179 | 396 | 1100 | 1981 row 10 : laxeralp 2 | surface lift | 2179 | 2280 | 394 | 1214 | 1981 ] Execute this SQL based on the above table: select ( select elevation (ground station) where construction year = 1987 ) - ( select elevation (ground station) where construction year = 2000 )
348
[ header: stamp issue date | stamp set | #cards | card set ref | qty. issued row 1 : 16 may 1973 | county cricket, 1873-1973 | one | phq 1 | 20000 row 2 : 15 august 1973 | 400th anniversary, birth of inigo | one | phq 2 | 20000 row 3 : 12 september 1973 | 19th commonwealth parliamentary conference | one | phq 3 | 15200 row 4 : 14 november 1973 | royal wedding (the princess anne) | one | phq 4 | 290000 row 5 : 27 february 1974 | british trees | one | phq 5 | 16750 row 6 : 24 april 1974 | fire service anniversary | one | phq 6 | 30000 row 7 : 10 july 1974 | medieval warriors | four | phq 7 | 31750 row 8 : 9 october 1974 | winston churchill centenary | one | phq 8 | 114430 row 9 : 19 february 1975 | bicentenary, birth j. | one | phq 9 | 46250 row 10 : 23 april 1975 | european architectural year | three | phq 10 | 51000 row 11 : 11 june 1975 | sailing | one | phq 11 | 41350 row 12 : 13 august 1975 | 150th anniversary of public railways | four | phq 12 | 47500 row 13 : 22 october 1975 | jane austen bicentenary | four | phq 13 | 27330 row 14 : 28 april 1976 | social reformers | one | phq 14 | 38350 row 15 : 2 june 1976 | american bicentenary | one | phq 15 | 60950 row 16 : 30 june 1976 | roses | four | phq 16 | 34250 ] Execute this SQL based on the above table: select #cards where id = ( select id where #cards = 'one' ) + 1
one
[ header: year | film | role | language row 1 : 2004 | 7g rainbow colony | kadhir | tamil row 2 : 2005 | sukran | ravi shankar | tamil row 3 : 2005 | ponniyin selvan | venu | tamil row 4 : 2006 | kedi | raghu | tamil row 5 : 2008 | brahmanandam drama company | ravi | telugu row 6 : 2008 | netru indru naal | vetri | tamil row 7 : 2008 | ninna nedu rep | vijay | telugu row 8 : 2009 | kadhalna summa | vetrivel | tamil row 9 : 2011 | aaranya kaandam | sappai | tamil ] Execute this SQL based on the above table: select role where film = 'sukran'
ravi shankar
[ header: year | film | role | notes row 1 : 1986 | love 86 | vikram doshi | None row 2 : 1987 | khudgarz | kumar saxena | None row 3 : 1987 | sindoor | ravi | None row 4 : 1988 | paap ko jalaa | deepak malhotra | None row 5 : 1988 | halaal ki kamai | kabir khanna | None row 6 : 1988 | shiv shakti | shakti | None row 7 : 1989 | sachai ki ta | sagar singh | None row 8 : 1989 | taaqatwar | john d'mello | None row 9 : 1990 | maha-sangram | arjun 'munna' | None row 10 : 1990 | izzatdaar | vijay | None row 11 : 1990 | naya khoon | dr. anand | None row 12 : 1990 | taqdeer ka tama | satya | None row 13 : 1990 | awaargi | dhiren kumar | critically acclaimed role row 14 : 1992 | baaz | deva | None row 15 : 1994 | andaz apna a | himself | special appearance row 16 : 1994 | beta ho to aisa | raju | None row 17 : 1996 | maahir | bhola | None row 18 : 1996 | apne dam par | himself | special appearance row 19 : 1997 | deewana mastana | bunnu | nominated - filmfare best actor row 20 : 1997 | do ankhen barah hath | sagar | None row 21 : 1998 | achanak | arjun | None row 22 : 1998 | naseeb | krishna prasa | None row 23 : 2000 | kunwara | raju | nominated -filmfare award for row 24 : 2001 | aamdani atthani k | bhishma | None row 25 : 2001 | albela | rocky hiranandani | None row 26 : 2001 | censor | himself | special appearance row 27 : 2002 | pyaar diwana hota | sunder | None row 28 : 2002 | chalo ishq ladaa | pappu | None row 29 : 2003 | three roses | himself | tamil film - guest appearance row 30 : 2005 | ssukh | chandraprakash sharma | None row 31 : 2007 | partner | bhaskar diwakar chow | iifa best comedian award zee row 32 : 2013 | samadhi | deputy inspector general of police | bengali debut row 33 : 2014 | kill dil | negative role | filming (releasing on 5 september 2014) row 34 : 2014 | hero | None | filming, (releasing on 12th dec ] Execute this SQL based on the above table: select role where id = ( select id where role = 'satya' ) + 1
dhiren kumar
[ header: number | symbol | name | 21st | 22nd | 23rd | 24th | 25th | 26th | 27th | 28th | 29th | 30th row 1 : 21 | sc | scandium | 582163 | None | None | None | None | None | None | None | None | None row 2 : 22 | ti | titanium | 602930 | 639294 | None | None | None | None | None | None | None | None row 3 : 23 | v | vanadium | 151440 | 661050 | 699144 | None | None | None | None | None | None | None row 4 : 24 | cr | chromium | 157700 | 166090 | 721870 | 761733 | None | None | None | None | None | None row 5 : 25 | mn | manganese | 158600 | 172500 | 181380 | 785450 | 827067 | None | None | None | None | None row 6 : 26 | fe | iron | 163000 | 173600 | 188100 | 195200 | 851800 | 895161 | None | None | None | None row 7 : 27 | co | cobalt | 167400 | 178100 | 189300 | 204500 | 214100 | 920870 | 966023 | None | None | None row 8 : 28 | ni | nickel | 169400 | 182700 | 194000 | 205600 | 221400 | 231490 | 992718 | 1039668 | None | None row 9 : 29 | cu | copper | 174100 | 184900 | 198800 | 210500 | 222700 | 239100 | 249660 | 1067358 | 1116105 | None row 10 : 30 | zn | zinc | 179100 | None | None | None | None | None | None | None | None | None row 11 : 36 | kr | krypton | 85300 | 90400 | 96300 | 101400 | 111100 | 116290 | 282500 | 296200 | 311400 | 326200 row 12 : 42 | mo | molybdenum | 87000 | 93400 | 98420 | 104400 | 121900 | 127700 | 133800 | 139800 | 148100 | 154500 ] Execute this SQL based on the above table: select count ( symbol ) where name = 'vanadium'
1
[ header: category | speed (km/h) | speed (mph) | vehicle | pilot | date row 1 : rocket-powered aircraft | 7258 | 4510 | north american x-15 | william j. knight | 3 oct 1967 row 2 : manned air-breathing craft | 3530 | 2194 | lockheed sr-71 blackbird | eldon w. joersz | 28 jul 1976 row 3 : propeller-driven aircraft | 870 | 541 | tupolev tu-114 | ivan soukhomline | 1960 row 4 : piston-engined propeller-driven aircraft | 850.1 | 528.33 | grumman f8f bearcat rare | lyle shelton | 21 aug 1989 row 5 : helicopter | 401 | 249.1 | westland lynx 800 g | john egginton | 11 aug 1986 row 6 : glider (sailplane) | 306.8 | 190.6 | schempp-hirth nim | klaus ohlmann and | 22 dec 2006 row 7 : human-powered aircraft | 32 | 19.8 | mit monarch b | frank scarabino | 1 may 1984 ] Execute this SQL based on the above table: select count ( vehicle )
7
[ header: rank | name | image | height ft (m) | floors | year | notes row 1 : 1 | key tower | | 947 (289) | 57 | 1991 | 104th-tallest building in the row 2 : 3 | 200 public square | | 658 (201) | 45 | 1985 | also known as the bp building tallest row 3 : 4 | tower at erieview | | 529 (161) | 40 | 1964 | tallest building constructed in cleveland in row 4 : 5 | one cleveland center | | 450 (137) | 31 | 1983 | None row 5 : 6 | fifth third center | | 446 (136) | 27 | 1992 | None row 6 : 7 | federal court house tower | | 430 (131) | 23 | 2002 | tallest building constructed in the city in the 2000 row 7 : 8 | justice center complex | | 420 (128) | 26 | 1977 | tallest building constructed in the city in the 1970 row 8 : 9 | anthony j. celebrezze | | 419 (128) | 31 | 1967 | None row 9 : 10 | pnc center | | 410 (125) | 35 | 1980 | originally known as the national city center; building was row 10 : 12 | at&t huron road building | | 365 (111) | 24 | 1927 | commonly known as ohio bell build row 11 : 13 | rhodes tower | | 363 (111) | 20 | 1971 | originally known as the university tower row 12 : 14 | eaton center | | 356 (109) | 28 | 1983 | None row 13 : 15 | ernst & young tower | | 330 (101) | 21 | 2013 | phase i of the flats east bank row 14 : 16 | marriott at key center | | 320 (98) | 28 | 1991 | tallest all-hotel building in the city row 15 : 17 | mcdonald investment center | | 308 (94) | 23 | 1968 | also known as key center formerly known as the row 16 : 18 | 55 public square | | 300 (91) | 22 | 1958 | tallest building constructed in the city the 1950s row 17 : 19 | huntington bank building | | 289 (88) | 21 | 1924 | None row 18 : 20 | north point tower | | 285 (87) | 20 | 1990 | None row 19 : 21 | diamond building | | 282 (86) | 23 | 1972 | None row 20 : 21 | standard building | | 282 (86) | 21 | 1925 | None row 21 : 23 | 1717 east ninth building | | 275 (84) | 21 | 1959 | also known as the east ohio row 22 : 24 | keith building | | 272 (83) | 21 | 1922 | None row 23 : 25 | east tower | | 266 (81) | 25 | 1973 | tallest all-residential building in the row 24 : 25 | embassy suites tower | | 266 (81) | 26 | 1969 | also known as embassy suites at reserve square row 25 : 27 | superior building | | 265 (81) | 22 | 1922 | None row 26 : 28 | fenn tower | | 265 (81) | 21 | 1930 | None row 27 : 29 | landmark office towers | | 260 (79) | 22 | 1930 | None row 28 : 30 | penton media building | | 253 (77) | 21 | 1972 | None ] Execute this SQL based on the above table: select ( select rank where name = 'diamond building' ) - ( select rank where name = 'embassy suites tower' )
-4.0
[ header: region | country | location | size (m) | payload (metric tonnes) | degrees of freedom | x horiz disp (mm) | y horiz disp (mm) | z vert disp (mm) | x horiz vel (mm/s) | y horiz vel (mm/s) | z vert vel (mm/s) | x horiz accel (m/s2) | y horiz accel (m/s2) | z vert accel (m/s2) | max freq (hz) | details checked row 1 : asia | china | xi'a university of architecture & | 2 x 2 | None | None | None | None | None | None | None | None | None | None | None | None | None row 2 : asia | japan | hitachi engineering corp | 4 x 4 | 20 | 1 | ±150 | None | None | ±750 | None | None | ±20 | None | None | 30 | None row 3 : asia | japan | ishikawajima harima | 4.5 x 4.5 | 35 | 6 | ±100 | ±100 | ±67 | ±750 | ±750 | ±500 | ±15 | ±15 | ±10 | 50 | None row 4 : asia | japan | kumagai-gumi corp | 5 x 5 | 64 | 6 | ±80 | ±260 | ±50 | ±600 | ±1500 | ±500 | ±30 | ±10 | ±10 | 70 | None row 5 : asia | japan | ministry of construction | 6 x 8 | 100 | 2 | ±75 | None | None | ±600 | None | None | ±7 | None | None | 30 | None row 6 : asia | japan | shimizu corporation | 4 x 4 | 20 | 3 | ±200 | None | None | ±1000 | None | None | ±10 | None | None | 50 | None row 7 : asia | japan | tobishima corp ltd | 4 x 4 | 20 | 2 | ±75 | None | None | None | None | None | ±15 | None | None | 30 | None row 8 : canada | canada | university of british columbia | 4 x 4 | 30 | 6 | None | None | None | None | None | None | None | None | None | None | None row 9 : europe | france | commissariat a l'energie | 4 x 3 | 20 | 1 | ±125 | None | None | ±1000 | None | None | ±10 | None | None | 50 | 27/01/2011 row 10 : europe | italy | european centre for training & research in earthquake engineering | 5.6 x 7 | 140 | 1 | ±500 | None | None | ±2200 | None | None | 59 | None | None | 50 | None row 11 : europe | italy | european centre for training & research in earthquake engineering | 1.6 x 4.4 | 5000 (vertical load) | 5 | ±500 | ±265 | 140 | ±2200 | ±600 | ±250 | 18 | None | None | 20 | None row 12 : europe | spain | cedex | None | None | None | None | None | None | None | None | None | None | None | None | None | None row 13 : usa | colorado | anco engineers, inc boulder, colora | 3 x 3 | 10 | 3 | ±200 | ±200 | ±200 | ±2000 | ±2000 | ±2000 | ±30 | ±30 | ±30 | 40 | 16/10/2012 ] Execute this SQL based on the above table: select count ( region ) where size (m) = '4 x 3'
1
[ header: institution | location | enrollment | nickname | varsity sports | rugby since | head coach row 1 : clemson university | clemson, south carolina | 20576 | tigers | 19 | 1967 | justin hickey row 2 : maryland | college park, maryland | 37641 | terrapins | 20 | 1968 | jeff soeken row 3 : navy | annapolis, maryland | 4576 | midshipmen | 30 | 1963 | mike flanagan row 4 : north carolina | chapel hill, north carolina | 29340 | tar heels | 28 | 1966 | pete earsman row 5 : north carolina state | raleigh, north carolina | 34767 | wolfpack | 25 | 1965 | jim latham row 6 : university of virginia | charlottesville, virginia | 20895 | cavaliers | 25 | 1961 | jon roberts row 7 : virginia tech | blacksburg, virginia | 30379 | hokies | 21 | 1891 / 1968 | andy richards row 8 : wake forest | winston-salem, north car | 7079 | demon deacons | 18 | 1973 | patrick kane ] Execute this SQL based on the above table: select count ( location ) where varsity sports >= 902
0
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | united states | 12 | 13 | 6 | 31 row 2 : 2 | russia | 10 | 5 | 6 | 21 row 3 : 3 | australia | 8 | 12 | 6 | 26 row 4 : 4 | china | 7 | 4 | 8 | 19 row 5 : 5 | germany | 5 | 6 | 5 | 16 row 6 : 6 | japan | 3 | 3 | 3 | 9 row 7 : 7 | netherlands | 3 | 2 | 2 | 7 row 8 : 8 | great britain | 2 | 3 | 3 | 8 row 9 : 9 | ukraine | 2 | 3 | 2 | 7 row 10 : 10 | italy | 2 | 2 | 1 | 5 row 11 : 11 | canada | 2 | 0 | 1 | 3 row 12 : 12 | hungary | 1 | 4 | 1 | 6 row 13 : 13 | spain | 1 | 2 | 3 | 6 row 14 : 14 | poland | 1 | 1 | 0 | 2 row 15 : 15 | france | 1 | 0 | 2 | 3 row 16 : 16 | finland | 1 | 0 | 1 | 2 row 17 : 17 | belarus | 1 | 0 | 0 | 1 row 18 : 18 | czech republic | 0 | 2 | 0 | 2 row 19 : 19 | slovakia | 0 | 1 | 1 | 2 row 20 : 20 | denmark | 0 | 1 | 0 | 1 row 21 : 20 | croatia | 0 | 1 | 0 | 1 row 22 : 22 | romania | 0 | 0 | 2 | 2 row 23 : 23 | bulgaria | 0 | 0 | 1 | 1 row 24 : 23 | mexico | 0 | 0 | 1 | 1 row 25 : 23 | serbia and montenegro | 0 | 0 | 1 | 1 row 26 : 23 | south africa | 0 | 0 | 1 | 1 row 27 : 23 | sweden | 0 | 0 | 1 | 1 row 28 : 23 | tunisia | 0 | 0 | 1 | 1 row 29 : total | total | 62 | 65 | 59 | 186 ] Execute this SQL based on the above table: select count ( * ) where nation = 'canada'
1
[ header: pos. | rider | semi-final points | final points | final heats | total points row 1 : 1 | jack milne | 13 | 15 | (3,3,3,3,3) | 28 row 2 : 2 | wilbur lamoreaux | 12 | 13 | (3,3,3,1,3) | 25 row 3 : 3 | cordy milne | 11 | 12 | (2,3,2,3,2) | 23 row 4 : 4 | jack parker | 11 | 10 | (2,3,1,2,2) | 21 row 5 : 5 | ginger lees | 10 | 9 | (1,1,2,2,3) | 19 row 6 : 6 | frank charles | 10 | 7 | (0,0,1,3,3) | 17 row 7 : 7 | lionel van praag | 11 | 6 | (3,0,-,3,0) | 17 row 8 : 8 | bill kitchen | 7 | 9 | (1,2,2,2,2) | 16 row 9 : 9 | george newton | 11 | 5 | (3,0,0,0,2) | 16 row 10 : 10 | eric langton | 12 | 4 | (1,0,0,3,0) | 16 row 11 : 11 | morian hansen | 7 | 8 | (1,2,3,1,1) | 15 row 12 : 12 | eric chitty | 11 | 4 | (0,2,0,1,1) | 15 row 13 : 13 | joe abbott | 8 | 6 | (2,1,1,2,0) | 14 row 14 : 14 | arthur atkinson | 8 | 6 | (2,0,2,1,1) | 14 row 15 : 15 | frank varey | 8 | 3 | (0,1,1,0,1) | 11 row 16 : 16 | tommy croombs | 6 | 2 | (0,2,0,0,0) | 8 row 17 : 17 | bob harrison | 7 | None | None | 7 row 18 : 18 | alec statham | 6 | 0 | (0) | 6 ] Execute this SQL based on the above table: select max ( final points )
15.0
[ header: interferometer and observing mode | waveband | limiting magnitude | minimum baseline (m) (un-projected) | maximum baseline (m) | approx. no. visibility measurements per year (measurements per night x nights used per year) | max ratio of no. phase / no. amplitude measurements (measure of imaging performance, 0 = none) | accuracy of amplitude2 measurements | accuracy of phase measurements (milli-radians) | number of spectral channels (max in use simultaneously) | comments row 1 : chara array | v, r, i, | 8 | 34 | 330 | 7500 | 0.7 | 1% | 10 | 30000 | yes... 30000 in the visible band; max row 2 : coast visible | r, i | 7 | 4 | 60 | 2000 | 0.5 | 4% | 10 | 4 | 300 cloudy nights per year, maximum baseline 100 row 3 : coast infrared | j, h | 3 | 4 | 60 | 100 | 0.5 | 20% | 10 | 1 | 300 cloudy nights per year, maximum baseline 100 row 4 : gi2t visible | r, i | 5 | 10 | 65 | 2000 | 0 | 10% | None | 400 | closed in 2006 row 5 : iota | j, h, k | 7 | 6 | 30 | 10000 | 0.3 | 2% | 10 | 1 | integrated optics beam combiner. closed row 6 : isi | n | 0 | 10 | 50 | 5000 | 0.3 | 1% | 1 | 1000 | maximum baseline 70-m row 7 : keck interferometer | h, k, l, | 10.3 | 85 | 85 | 1000 | 0 | 4% | 1 | 330 | nulling key science underway - no imaging on row 8 : keck aperture masking | j, h, k, | 2 | 0.5 | 9 | 20000 | 0.9 | 20% | 10 | 1 | closed row 9 : mira 1.2 | r, i | 3 | 30 | 30 | 500 | 0 | 10% | None | 1 | mid-infrared row 10 : navy precision optical interferometer(npo | v, r, i | 5 | 5 | 300 | 50000 | 0.7 | 4% | 10 | 16 | at nofs; siderstats operational row 11 : susi | b, v, r, | 5 | 5 | 640 | 5000 | 0 | 4% | 10 | 21 | no imaging on a single baseline instrument; maximum row 12 : vlti +uts am | j, h, k simultaneously | 7 | 46 | 130 | 400 | 0.3 | 1% | 10 | 2000 | used for a few weeks per year. longest row 13 : vlti +ats amber | j, h, k simultaneously | 4 | 46 | 130 | 400 | 0.3 | 1% | 10 | 2000 | longest overall vlti baseline 130m row 14 : vlti +uts | k | 11 | 46 | 130 | 400 | 0 | >1% | None | 1 | integrated optics beam combiner. longest overall row 15 : vlti +ats v | k | never checked | 12 | 200 | 400 | 0 | >1% | None | 1 | longest overall vlti baseline 130m row 16 : vlti +ats midi | n | 4.5 | None | 200 | 200 | 0 | 10% | None | 250 | vlti inldes world' ] Execute this SQL based on the above table: select waveband order by accuracy of amplitude2 measurements limit 1
v, r, i, j, h, k
[ header: rank | name | nationality | time (hand) | notes row 1 : 1 | tommy green | great britain | 4:50:10 | or row 2 : 2 | janis dalins | latvia | 4:57:20 | None row 3 : 3 | ugo frigerio | italy | 4:59:06 | None row 4 : 4 | karl hahnel | germany | 5:06:06 | None row 5 : 5 | ettore rivolta | italy | 5:07:39 | None row 6 : 6 | paul sievert | germany | 5:16:41 | None row 7 : 7 | henri quintric | france | 5:27:25 | None row 8 : 8 | ernie crosbie | united states | 5:28:02 | None row 9 : 9 | bill chisholm | united states | 5:51:00 | None row 10 : 10 | alfred maasik | estonia | 6:19:00 | None row 11 : None | henry cieman | canada | None | dnf row 12 : None | john moralis | greece | None | dnf row 13 : None | francesco pretti | italy | None | dnf row 14 : None | arthur tell schwab | switzerland | None | dnf row 15 : None | harry hinkel | united states | None | dnf ] Execute this SQL based on the above table: select name where name < ( select name where name = 'arthur tell schwab' ) order by name desc limit 1
alfred maasik
[ header: year | original title | english title | role | notes row 1 : 1955 | ordet | the word | morten borgen | directed by carl th. dre row 2 : 1942 | med forenede kræf | None | None | propaganda film row 3 : 1938 | bolettes brudefærd | None | carpenter kristiansen | based on malberg's play row 4 : 1938 | kongen bød | None | jeppe | None row 5 : 1937 | kloge mand, den | the clever man | shoemaker | None row 6 : 1936 | sol over danmark | sun over denmark | pastor nicolaj jacobs | None row 7 : 1933 | kobberbryllup | None | handelsgartner johans | None row 8 : 1932 | paustians uhr | paustian's clock | mayor | None row 9 : 1931 | præsten i vejlby | the vicar of vejlby | præsten søren quist | first danish sound film row 10 : 1930 | hr. tell og s | william tell and son | uncle jokum | fy & bi film row 11 : 1929 | højt paa en | None | None | fy & bi film row 12 : 1925 | grønkøbings glade | pat and patachon are millionaires | bank director | fy & bi film row 13 : 1924 | der mann um mitternacht | the man at midnight | knut hammerdal | None row 14 : 1921 | det største i | love that lives | thomas ward | directed by holger-madsen row 15 : 1920 | gudernes yndling | the penalty of fame | pommel | None row 16 : 1919 | krigsmillionæren | the parvenu | jensen | directed by emanuel greg row 17 : 1916 | udenfor loven | outside the law | brown | None row 18 : 1914 | tre indvendige jom | three maidens | None | None row 19 : 1914 | lejla | lejla | horse trainer | None row 20 : 1913 | lille klaus og | None | lille klaus | None row 21 : 1910 | dorian grays portræt | the picture of dorian gray | None | None ] Execute this SQL based on the above table: select ( select year where role = 'pommel' ) - ( select year where role = 'mayor' )
-12
[ header: date | winner | runner-up | result | site | attendance row 1 : february 11, 1978 | #2 maryland | #1 nc state | 89-82 | charlottesville, virginia | 1500 row 2 : february 10, 1979 | #1 maryland | #2 nc state | 75-73 | raleigh, north carolina | 3500 row 3 : february 10, 1980 | #1 nc state | #2 maryland | 85-75 | college park, maryland | None row 4 : february 14, 1981 | #3 maryland | #4 nc state | 64-63 | clemson, south carolina | 300 row 5 : march 6, 1983 | #3 maryland | #1 nc state | 84-81 | fayetteville, north carolin | 2134 row 6 : march 4, 1984 | #5 north carolina | #3 nc state | 99-76 | fayetteville, north carolin | 3733 row 7 : march 3, 1986 | #5 maryland | #2 north carolina | 92-74 | fayetteville, north carolin | 2632 row 8 : march 2, 1987 | #2 nc state | #1 virginia | 57-56 | fayetteville, north carolin | 2987 row 9 : march 7, 1988 | #2 maryland | #1 virginia | 76-70 | fayetteville, north carolin | 1223 row 10 : march 4, 1991 | #3 nc state | #4 clemson | 84-61 | fayetteville, north carolin | 4102 row 11 : march 9, 1992 | #1 virginia | #7 georgia tech | 70-69 | rock hill, south carolina | 4154 row 12 : march 8, 1993 | #1 virginia | #2 maryland | 106-103 3ot | rock hill, south carolina | 3716 row 13 : march 7, 1994 | #2 north carolina | #1 virginia | 77-60 | rock hill, south carolina | 4386 row 14 : march 5, 1995 | #2 north carolina | #4 duke | 95-70 | rock hill, south carolina | 5724 row 15 : march 2, 1997 | #1 north carolina | #6 clemson | 62-58 | charlotte, north carolina | 5543 row 16 : march 1, 1998 | #4 north carolina | #2 clemson | 81-50 | charlotte, north carolina | 5534 row 17 : march 5, 2001 | #1 duke | #3 nc state | 57-45 | greensboro, north carolina | 8933 row 18 : march 4, 2002 | #1 duke | #2 north carolina | 87-80 | greensboro, north carolina | 9204 row 19 : march 10, 2003 | #1 duke | #2 north carolina | 77-59 | greensboro, north carolina | 11127 row 20 : march 7, 2005 | #1 north carolina | #2 duke | 88-67 | greensboro, north carolina | 11578 row 21 : march 5, 2006 | #1 north carolina | #3 maryland | 91-80 | greensboro, north carolina | 10746 row 22 : march 4, 2007 | #2 north carolina | #4 nc state | 60-54 | greensboro, north carolina | 11538 row 23 : march 9, 2008 | #1 north carolina | #3 duke | 86-73 | greensboro, north carolina | 11132 row 24 : march 7, 2010 | #1 duke | #6 nc state | 70-60 | greensboro, north carolina | 9432 row 25 : march 6, 2011 | #1 duke | #6 north carolina | 81-67 | greensboro, north carolina | 9890 row 26 : march 4, 2012 | #3 maryland | #4 georgia tech | 68-65 | greensboro, north carolina | 9122 row 27 : march 10, 2013 | #1 duke | #3 north carolina | 92-73 | greensboro, north carolina | 8166 ] Execute this SQL based on the above table: select count ( date ) where attendance = 4154
1
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | south korea | 7 | 6 | 1 | 14 row 2 : 2 | china | 5 | 5 | 2 | 12 row 3 : 3 | japan | 3 | 1 | 5 | 9 row 4 : 4 | hong kong | 2 | 3 | 5 | 10 row 5 : 5 | chinese taipei | 2 | 0 | 0 | 2 row 6 : 6 | iran | 1 | 3 | 2 | 6 row 7 : 7 | thailand | 1 | 2 | 3 | 6 row 8 : 8 | malaysia | 1 | 1 | 5 | 7 row 9 : 9 | kyrgyzstan | 1 | 0 | 0 | 1 row 10 : 10 | kazakhstan | 0 | 1 | 0 | 1 row 11 : 10 | uzbekistan | 0 | 1 | 0 | 1 row 12 : total | total | 23 | 23 | 23 | 69 ] Execute this SQL based on the above table: select nation where id = 1
south korea
[ header: pos | class | no | team | drivers | chassis | engine | laps row 1 : 19 | p +5.0 | 7 | chaparral cars inc | phil hill mike spence | chaparral 2f | chevrolet 7.0l v | 225 row 2 : 26 | s 5.0 | 16 | ford france s.a | pierre dumay henri greder | ford gt40 mk. | ford 4.7l v8 | 179 row 3 : 27 | p +5.0 | 5 | holman & moody | roger mccluskey | ford gt40 mk. | ford 7.0l v8 | 179 row 4 : 28 | gt +5.0 | 9 | dana chevrolet inc | bob bondurant dick guld | chevrolet corvette | chevrolet 7.0l v | 167 row 5 : 29 | p 2.0 | 29 | equipe matra sports | jean-pierre beltoise | matra ms630 | brm 2.0l v8 | 155 row 6 : 32 | gt 2.0 | 60 | philippe farjon | philippe farjon andre wick | porsche 911s | porsche 2.0l flat-6 | 126 row 7 : 36 | p +5.0 | 8 | chaparral cars inc | bob johnson bruce jenning | chaparral 2f | chevrolet 7.0l v | 91 row 8 : 39 | p 2.0 | 39 | porsche system engineering | udo schutz joe buzz | porsche 910/6l | porsche 2.0l flat-6 | 84 row 9 : 41 | p +5.0 | 14 | john wyer automotive engineering | david piper richard thomp | mirage m1 (ford gt | ford 5.7l v8 | 59 row 10 : 45 | p 1.15 | 53 | s.e.c. automobiles | andre guilhaudin ala | cd sp66c | peugeot 1.1l i4 | 35 row 11 : 46 | p 5.0 | 26 | north american racing team (nart) | ricardo rodriguez chuck | ferrari 365 p2 | ferrari 4.4l v12 | 30 row 12 : 47 | p +5.0 | 15 | john wyer automotive engineering | jacky ickx brian mu | mirage m1 (ford gt | ford 5.7l v8 | 29 row 13 : 49 | p +5.0 | 12 | lola cars ltd. / | peter de klerk chr | lola t70 mk.i | aston martin 5.0l | 25 row 14 : 50 | s 5.0 | 62 | john wyer automotive engineering / vis | mike salmon brian redman | ford gt40 mk. | ford 4.7l v8 | 20 ] Execute this SQL based on the above table: select class where pos = 45
p 1.15
[ header: club | season | league apps | league goals | fa cup apps | fa cup goals | league cup apps | league cup goals | other apps | other goals | total apps | total goals row 1 : bristol rovers | 2000-01 | 10 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 10 | 2 row 2 : bristol rovers | 2001-02 | 31 | 3 | 3 | 0 | 2 | 0 | 3 | 0 | 39 | 3 row 3 : bristol rovers | 2002-03 | 9 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 11 | 0 row 4 : bristol rovers | total | 50 | 5 | 4 | 0 | 2 | 0 | 4 | 0 | 60 | 5 row 5 : yeovil town | 2002-03 | 13 | 13 | 0 | 0 | 0 | 0 | 2 | 1 | 15 | 14 row 6 : yeovil town | 2003-04 | 43 | 8 | 3 | 1 | 1 | 0 | 2 | 1 | 49 | 10 row 7 : yeovil town | 2004-05 | 44 | 3 | 5 | 0 | 2 | 0 | 1 | 0 | 52 | 3 row 8 : yeovil town | 2005-06 | 36 | 2 | 3 | 0 | 2 | 1 | 1 | 0 | 42 | 3 row 9 : yeovil town | total | 136 | 26 | 11 | 1 | 5 | 1 | 6 | 2 | 158 | 30 row 10 : carlisle united | 2006-07 | 45 | 8 | 1 | 0 | 1 | 0 | 1 | 0 | 48 | 8 row 11 : carlisle united | 2007-08 | 21 | 1 | 2 | 0 | 2 | 0 | 2 | 2 | 27 | 3 row 12 : carlisle united | 2008-09 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 row 13 : carlisle united | total | 66 | 9 | 3 | 0 | 3 | 0 | 3 | 2 | 75 | 11 row 14 : darlington (loan) | 2008-09 | 8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 | 0 row 15 : lincoln city (loan | 2008-09 | 9 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 11 | 0 row 16 : port vale (loan) | 2008-09 | 7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 | 0 row 17 : darlington | 2009-10 | 10 | 2 | 0 | 0 | 0 | 0 | 2 | 0 | 12 | 2 row 18 : york city | 2009-10 | 5 | 1 | 1 | 0 | 0 | 0 | 3 | 0 | 9 | 1 row 19 : wrexham | 2010-11 | 5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 | 0 row 20 : career total | career total | 296 | 43 | 19 | 1 | 11 | 1 | 19 | 4 | 345 | 49 ] Execute this SQL based on the above table: select club where id = 3
bristol rovers
[ header: model | launch | code name | fab (nm) | bus interface | memory (mib) | core clock (mhz) | memory clock (mhz) | config core1 | fillrate moperations/s | fillrate mpixels/s | fillrate mtextels/s | fillrate mvertices/s | memory bandwidth (gb/s) | memory bus type | memory bus width (bit) | directx support row 1 : voodoo graphics | october 1, 1996 | sst1 | 500 | pci | 2, 4 | 50 | 50 | 1:0:1:1 | 50 | 50 | 50 | 0 | 0.8 | edo | 128 | 3 row 2 : voodoo rush | april 1997 | sst96 | 500 | agp 2x, pc | 2, 4 | 50 | 50 | 1:0:1:1 | 50 | 50 | 50 | 0 | 0.4 | edo | 64 | 3 row 3 : voodoo2 | march 1, 1998 | sst96 | 350 | pci | 8, 12 | 90 | 90 | 1:0:2:1 | 90 | 90 | 180 | 0 | 0.72 | edo | 64 | 3 row 4 : voodoo banshee | june 22, 1998 | banshee | 350 | agp 2x, pc | 8, 16 | 100 | 100 | 1:0:1:1 | 100 | 100 | 100 | 0 | 1.6 | sdr | 128 | 6 row 5 : velocity 200 | july 26, 1999 | avenger | 250 | agp 2x | 12 | 143 | 143 | 1:0:2:1 | 143 | 143 | 286 | 0 | 2.288 | sdr | 128 | 6 row 6 : voodoo3 1000 | march 1999 | avenger | 250 | agp 2x, pc | 8, 16 | 125 | 125 | 1:0:2:1 | 125 | 125 | 250 | 0 | 2 | sdr | 128 | 6 row 7 : voodoo3 2000 | april 3, 1999 | avenger | 250 | agp 2x, pc | 16 | 143 | 143 | 1:0:2:1 | 143 | 143 | 286 | 0 | 2.288 | sdr | 128 | 6 row 8 : voodoo3 3500 | june 1999 | avenger | 250 | agp 2x, pc | 16 | 183 | 183 | 1:0:2:1 | 183 | 183 | 366 | 0 | 2.928 | sdr | 128 | 6 row 9 : voodoo4 4200 | never released | vsa-100 | 250 | agp 4x, pc | 32 | 183 | 183 | 2:0:2:2 | 366 | 366 | 366 | 0 | 1.464 | sdr | 64 | 6 row 10 : voodoo4 4500 | october 13, 2000 | vsa-100 | 250 | agp 4x, pc | 32 | 166 | 166 | 2:0:2:2 | 332 | 332 | 332 | 0 | 2.656 | sdr | 128 | 6 row 11 : voodoo4 4800 | never released | vsa-100 | 250 | agp 4x, pc | 32 | 200 | 200 | 2:0:2:2 | 400 | 400 | 400 | 0 | 3.2 | sdr | 128 | 6 ] Execute this SQL based on the above table: select count ( memory bus type )
11
[ header: title | year | artist(s) | album | writer(s) | producer(s) row 1 : "lucky day (song)" | 2011 | nicola roberts | cinderella's eyes | martina sorbara, dragonette | andras vleminckx row 2 : "positive" | 2011 | taio cruz | ' | taio cruz, andr | andras vleminckx row 3 : "broken (kate ryan song | 2010 | kate ryan | electroshock (kate ryan album | anders hansson, kate | anders hansson, felix per row 4 : "give me more" | 2012 | tara mcdonald | i like this beat | tara mcdonald, luci | andras vleminckx row 5 : "drop it low (kat deluna | 2011 | kat deluna ft fat | inside out (kat deluna album) | kat deluna, andra | andras vleminckx row 6 : "8 days a week" | 2012 | jean-roch ft ti | music saved my life | jean-roch, timati, | andras vleminckx row 7 : "can u feel it" | 2012 | jean-roch ft tara m | music saved my life | jean-roch, tara mcd | andras vleminckx row 8 : "be there (ballad version)" | 2011 | kat deluna | inside out (kat deluna album) | kat deluna, andra | andras vleminckx row 9 : "muevete mueve | 2011 | kat deluna | inside out (kat deluna album) | kat deluna, andra | andras vleminckx row 10 : "hollywood" | 2013 | mitchell niemeyer | ' | andras vleminckx | andras vleminckx ] Execute this SQL based on the above table: select artist(s) where title < ( select title where artist(s) = 'mitchell niemeyer' ) order by title desc limit 1
tara mcdonald
[ header: pos | no. | rider | manufacturer | laps | time/retired | grid | points row 1 : 1 | 75 | mattia pasini | aprilia | 27 | 39:44.091 | 3 | 25 row 2 : 2 | 19 | alvaro bautista | aprilia | 27 | 0.01 | 2 | 20 row 3 : 3 | 52 | lukas pesek | derbi | 27 | 0.111 | 1 | 16 row 4 : 5 | 24 | simone corsi | gilera | 27 | 9.372 | 9 | 11 row 5 : 6 | 1 | thomas luthi | honda | 27 | 10.57 | 13 | 10 row 6 : 7 | 18 | nicolas terol | derbi | 27 | 11.835 | 5 | 9 row 7 : 8 | 36 | mika kallio | ktm | 27 | 11.905 | 4 | 8 row 8 : 9 | 6 | joan olive | aprilia | 27 | 26.017 | 16 | 7 row 9 : 10 | 33 | sergio gadea | aprilia | 27 | 26.172 | 12 | 6 row 10 : 11 | 32 | fabrizio lai | honda | 27 | 26.361 | 6 | 5 row 11 : 12 | 38 | bradley smith | honda | 27 | 26.389 | 14 | 4 row 12 : 13 | 11 | sandro cortese | honda | 27 | 26.48 | 11 | 3 row 13 : 14 | 14 | gabor talmacsi | honda | 27 | 26.606 | 7 | 2 row 14 : 15 | 71 | tomoyoshi koyama | malaguti | 27 | 27.068 | 15 | 1 row 15 : 16 | 54 | randy krummenacher | ktm | 27 | 27.192 | 21 | None row 16 : 18 | 17 | stefan bradl | ktm | 27 | 46.201 | 18 | None row 17 : 19 | 95 | georg frohlich | honda | 27 | 56.274 | 28 | None row 18 : 20 | 35 | raffaele de rosa | aprilia | 27 | 56.549 | 25 | None row 19 : 21 | 26 | vincent braillard | aprilia | 27 | 56.782 | 31 | None row 20 : 23 | 15 | michele pirro | aprilia | 27 | 57.474 | 22 | None row 21 : 24 | 29 | andrea iannone | aprilia | 27 | 57.707 | 20 | None row 22 : 25 | 7 | alexis masbou | malaguti | 27 | +1:04.698 | 37 | None row 23 : 26 | 16 | michele conti | honda | 27 | +1:04.793 | 32 | None row 24 : 28 | 43 | manuel hernandez | aprilia | 27 | +1:17.323 | 30 | None row 25 : 29 | 23 | lorenzo baroni | honda | 27 | +1:17.507 | 26 | None row 26 : 30 | 21 | mateo tunez | aprilia | 27 | +1:20.583 | 29 | None row 27 : 32 | 98 | toni wirsing | honda | 26 | +1 lap | 42 | None row 28 : ret | 44 | karel abraham | aprilia | 16 | retirement | 33 | None row 29 : ret | 13 | dino lombardi | aprilia | 13 | retirement | 41 | None row 30 : ret | 37 | joey litjens | honda | 11 | retirement | 38 | None row 31 : ret | 22 | pablo nieto | aprilia | 9 | retirement | 8 | None ] Execute this SQL based on the above table: select sum ( no. )
1025.0
[ header: township | fips | population center | population | population density (/mi2) | population density (/km2) | land area (mi2) | land area (km2) | water area (mi2) | water area (km2) | geographic coordinates row 1 : center | 90735 | None | 515 | 36.8 | 14.2 | 13.99 | 36.23 | 0.0339 | 0.0878 | 35°24′20′′n 92° row 2 : clark | 90813 | london | 2969 | 115.3 | 44.6 | 25.73 | 66.64 | 6.0444 | 15.6549 | 35°19′45′′n 93° row 3 : convenience | 90921 | None | 933 | 50.4 | 19.4 | 18.53 | 47.99 | 0.0942 | 0.244 | 35°20′00′′n 92° row 4 : dover | 91134 | dover | 5277 | 119.1 | 46 | 44.29 | 114.7 | 0.3637 | 0.942 | 35°23′30′′n 93° row 5 : freeman | 91377 | None | 98 | 0.8 | 0.3 | 119.78 | 310.2 | 0 | 0 | 35°39′10′′n 93° row 6 : galla | 91407 | pottsville | 3523 | 88.7 | 34.3 | 39.71 | 102.8 | 1.841 | 4.7682 | 35°13′15′′n 93° row 7 : griffin | 91536 | None | 901 | 26.5 | 10.2 | 33.96 | 87.96 | 0.1106 | 0.2865 | 35°25′30′′n 92° row 8 : illinois | 91812 | russellville | 25841 | 540.9 | 208.9 | 47.77 | 123.7 | 6.6022 | 17.0996 | 35°17′00′′n 93° row 9 : liberty | 92181 | None | 805 | 14.2 | 5.5 | 56.64 | 146.7 | 0.0028 | 0.0073 | 35°29′40′′n 93° row 10 : martin | 92415 | None | 1482 | 23.7 | 9.2 | 62.46 | 161.8 | 0.3931 | 1.0181 | 35°28′25′′n 93° row 11 : phoenix | 92871 | None | 334 | 26.7 | 10.3 | 12.51 | 32.4 | 0 | 0 | 35°24′30′′n 93° row 12 : smyrna | 93420 | None | 173 | 2.4 | 0.9 | 70.69 | 183.1 | 0.0218 | 0.0565 | 35°38′10′′n 92° row 13 : valley | 93765 | None | 2776 | 125.7 | 48.5 | 22.09 | 57.21 | 0.0144 | 0.0373 | 35°20′05′′n 93° ] Execute this SQL based on the above table: select township order by population density (/mi2) asc limit 1
freeman
[ header: name | year inducted | position | apps | goals row 1 : luther blissett | 2003 | forward | 503 | 186 row 2 : tony coton | 2004 | goalkeeper | 291 | 0 row 3 : john mcclelland | 2005 | defender | 234 | 3 row 4 : tommy mooney | 2006 | forward | 287 | 64 row 5 : les taylor | 2007 | midfielder | 211 | 20 row 6 : david james | 2008 | goalkeeper | 98 | 0 row 7 : ian bolton | 2009 | defender | 287 | 36 row 8 : nigel gibbs | 2010 | defender | 491 | 7 row 9 : duncan welbourne | 2011 | defender | 457 | 25 row 10 : ross jenkins | 2012 | forward | 398 | 142 row 11 : robert page | 2013 | defender | 218 | 2 ] Execute this SQL based on the above table: select name where goals = 0
tony coton, david james
[ header: # | title | producer(s) | featured guest(s) | time row 1 : 1 | "the c-quel" | pillo jamel, the heatmakerz | None | 3:36 row 2 : 2 | "2000 b.c. (before can | ty fyffe, laze | None | 3:31 row 3 : 3 | "life liquid" | juju | journalist | 4:24 row 4 : 4 | "shock therapy" (interlude) | None | None | 1:10 row 5 : 5 | "watch who u beef wit" | chaos | None | 4:30 row 6 : 6 | "i'll buss 'em | dj clue, duro | rakim | 4:07 row 7 : 7 | "mic-nificent" | daniel "danny p | None | 3:13 row 8 : 8 | "die slow" | ty fyffe | journalist | 4:00 row 9 : 9 | "doomsday news" | chaos | None | 3:33 row 10 : 10 | "lost @ "c"" | taiwan green, ir | None | 4:59 row 11 : 11 | "phuk u" | mike "punch" harper | None | 4:04 row 12 : 12 | "horsemen" | None | pharoahe monch | 1:22 row 13 : 13 | "horsementality" | chaos | ras kass, kill | 5:59 row 14 : 14 | "100 bars" | mike "punch" harper | None | 4:58 row 15 : 15 | "chaos" | chaos | None | 2:29 ] Execute this SQL based on the above table: select featured guest(s) order by featured guest(s) desc limit 1
ras kass, killah priest, kurupt
[ header: team | location | stadium | capacity | manager | captain | kit manufacturer | shirt sponsor row 1 : auckland city fc | auckland | kiwitea street | 3500 | ramon tribulietx | ivan vicelich | nike | trillian trust inc row 2 : canterbury united | christchurch | asb football park | 9000 | keith braithwaite | dan terris | samurai | robbie's bar and bistro row 3 : hawke's bay united | napier | bluewater stadium | 5000 | chris greatholder | bill robertson | samurai | kinetic electrical row 4 : otago united | dunedin | forsyth barr stadium | 30500 | richard murray | tristan prattley | canterbury | gran's remedy row 5 : team wellington | wellington | david farrington park | 3000 | matt calcott | karl whalen | adidas | exodus health & fitness club row 6 : waikato fc | hamilton | porritt stadium | 2700 | mark cossey | adam thomas | nike | the soccer shop row 7 : waitakere united | waitakere city | fred taylor park | 2500 | paul marshall | jake butler | lotto sport italia | cuesports foundation row 8 : youngheart manawatu | palmerston north | memorial park | 8000 | stu jacobs | nathan cooksley | nike | new zealand pharmaceuticals ] Execute this SQL based on the above table: select count ( manager ) where capacity >= 9000
2
[ header: week | date | opponent | score | result | record row 1 : 1 | july 9 | vs. saskatche | 31-21 | win | 1-0 row 2 : 2 | july 16 | at montreal concordes | 36-0 | win | 2-0 row 3 : 3 | july 24 | vs. hamilton t | 36-25 | loss | 2-1 row 4 : 4 | aug 1 | at edmonton eskimos | 32-26 | win | 3-1 row 5 : 5 | aug 8 | vs. bc lions | 29-16 | win | 4-1 row 6 : 6 | aug 20 | at calgary stampeders | 35-4 | win | 5-1 row 7 : 7 | aug 28 | vs. ottawa rough | 27-20 | win | 6-1 row 8 : 8 | sept 5 | at saskatchewan roughrid | 36-35 | win | 7-1 row 9 : 9 | sept 11 | vs. calgary stampeders | 15-11 | loss | 7-2 row 10 : 10 | sept 18 | at ottawa rough riders | 38-28 | loss | 7-3 row 11 : 11 | sept 25 | vs. montreal concordes | 19-16 | win | 8-3 row 12 : 12 | oct 2 | at bc lions | 29-19 | win | 9-3 row 13 : 13 | oct 11 | vs. toronto argonaut | 39-35 | win | 10-3 row 14 : 14 | oct 17 | at toronto argonauts | 29-16 | win | 11-3 row 15 : 15 | oct 23 | vs. edmonton | 33-17 | loss | 11-4 row 16 : 16 | nov 7 | at hamilton tiger-cat | 24-21 | loss | 11-5 ] Execute this SQL based on the above table: select result where id < ( select id where result = 'win' and score = '29-16' )
win, win, loss, win
[ header: player | league | cup | europa league | total row 1 : garra dembele | 25 | 3 | 8 | 36 row 2 : daniel mladenov | 5 | 0 | 5 | 10 row 3 : ismail isa | 3 | 1 | 4 | 8 row 4 : hristo yovov | 6 | 0 | 1 | 7 row 5 : joazinho | 2 | 0 | 2 | 4 row 6 : vladimir gadzhe | 2 | 1 | 1 | 4 row 7 : darko tasevski | 4 | 0 | 0 | 4 row 8 : alex | 3 | 0 | 0 | 3 row 9 : jeanvion yulu-mat | 3 | 0 | 0 | 3 row 10 : mariyan ognyanov | 2 | 0 | 0 | 2 row 11 : serginho greene | 1 | 0 | 1 | 2 row 12 : yordan miliev | 1 | 0 | 0 | 1 row 13 : ivo ivanov | 1 | 0 | 0 | 1 row 14 : total | 58 | 5 | 22 | 85 ] Execute this SQL based on the above table: select sum ( total )
170.0
[ header: rank | city | population | area (km2) | density (inhabitants/km2) | altitude (mslm) row 1 : 1st | alessandria | 94191 | 203.97 | 461.8 | 95 row 2 : 2nd | casale monferrato | 36039 | 86.32 | 417.5 | 116 row 3 : 3rd | novi ligure | 28581 | 54.22 | 527.1 | 197 row 4 : 4th | tortona | 27476 | 99.29 | 276.7 | 122 row 5 : 5th | acqui terme | 20426 | 33.42 | 611.2 | 156 row 6 : 6th | valenza | 20282 | 50.05 | 405.2 | 125 row 7 : 7th | ovada | 11912 | 35.33 | 337.2 | 186 row 8 : 8th | serravalle scrivia | 6445 | 16.02 | 402.3 | 225 row 9 : 9th | arquata scrivia | 6260 | 30.36 | 206.2 | 248 row 10 : 10th | castelnuovo scrivia | 5473 | 45.42 | 120.5 | 85 ] Execute this SQL based on the above table: select count ( * ) where area (km2) = '16.02'
1
[ header: abbreviation | settlement | district | official name | division | cup | other information row 1 : taaja | taalintehdas | turku | taalintehtaan | vitonen | 2 | None row 2 : tampere united | tampere | tampere | tampere united | veikkausliiga | 3 | None row 3 : tapa 2 | tampere | tampere | tampereen palloil | kutonen | 1 | None row 4 : tarmo | kalvia, kokkola | keski-pohjanma | kalvian tarmo | kutonen | 1 | None row 5 : team vanpa | vantaa | uusimaa | team vanpa | vitonen | 1 | None row 6 : tips | tikkurila, vantaa | uusimaa | tikkurilan palloseura | kolmonen | 2 | None row 7 : tjk liepo | tampere | tampere | tampereen jalkapall | vitonen | 1 | None row 8 : tkt | tampere | tampere | tampereen kisat | kolmonen | 2 | None row 9 : tops-90 | tohmajarvi | ita-suomi | tohmajarven palloseura-90 | nelonen | 2 | None row 10 : torre calcio | turku | turku | torre calcio | kutonen | 1 | None row 11 : tota | tornio | pohjois-suomi | tornion tarmo | kolmonen | 1 | None row 12 : tote/ap | toukola | helsinki | toukolan teras / | vitonen | 2 | None row 13 : tou/2 | toivala, siilinjarvi | ita-suomi | toivalan urheilijat | vitonen | 1 | None row 14 : tove | pori | satakunta | toejoen veikot | kolmonen | 2 | None row 15 : tp-47 | tornio | pohjois-suomi | tornion pallo-47 | kakkonen | 3 | None row 16 : tp-49 | toijala, akaa | tampere | toijalan pallo-49 | nelonen | 2 | also abbreviated as toip row 17 : tp-seinajoki | seinajoki | vaasa | tp-seinajoki ( | nelonen | 1 | None row 18 : tps | turku | turku | turun palloseura | veikkausliiga | 3 | None row 19 : tpv | tampere | tampere | tampereen palloveiko | ykkonen | 3 | None row 20 : tpv 2 | tampere | tampere | tampereen pallo- | kolmonen | 2 | None row 21 : trafk | jarvenpaa | uusimaa | traskanda fotboll k | kutonen | 1 | None ] Execute this SQL based on the above table: select official name where division = 'vitonen'
taalintehtaan janteva, team vanpa, tampereen jalkapalloklubi / liepo, toukolan teras / avauspotku, toivalan urheilijat / 2
[ header: whitworth size (in) | core diameter (in) | threads per inch | pitch (in) | tapping drill size row 1 : 1/16 | 0.0411 | 60 | 0.0167 | number drill 56 (1.2 mm) row 2 : 3/32 | 0.0672 | 48 | 0.0208 | number drill 49 (1.85 mm) row 3 : 1/8 | 0.093 | 40 | 0.025 | number drill 39 (2.55 mm) row 4 : 5/32 | 0.1162 | 32 | 0.0313 | number drill 30 (3.2 mm) row 5 : 3/16 | 0.1341 | 24 | 0.0417 | number drill 26 (3.7 mm) row 6 : 7/32 | 0.1654 | 24 | 0.0417 | number drill 16 (4.5 mm) row 7 : 1/4 | 0.186 | 20 | 0.05 | number drill 9 (5.1 mm) row 8 : 5/16 | 0.2414 | 18 | 0.0556 | letter drill f (6.5 mm) row 9 : 3/8 | 0.295 | 16 | 0.0625 | 5/16 in (7.94 mm) row 10 : 7/16 | 0.346 | 14 | 0.0714 | letter drill u (9.3 mm) row 11 : 1/2 | 0.3933 | 12 | 0.0833 | letter drill z (10.5 mm) row 12 : 9/16 | 0.4558 | 12 | 0.0833 | 12.1 mm (0.4764 in) row 13 : 5/8 | 0.5086 | 11 | 0.0909 | 13.5 mm (0.5315 in) row 14 : 11/16 | 0.5711 | 11 | 0.0909 | 15 mm (0.5906 in) row 15 : 3/4 | 0.6219 | 10 | 0.1 | 16.27 mm (0.6406 in) row 16 : 13/16 | 0.6845 | 10 | 0.1 | 18 mm (0.7087 in) row 17 : 7/8 | 0.7327 | 9 | 0.1111 | 19.25 mm (0.7579 in) row 18 : 15/16 | 0.7953 | 9 | 0.1111 | 20.75 mm (0.8169 in) row 19 : 1 | 0.8399 | 8 | 0.125 | 22 mm (0.8661 in) row 20 : 1 1/8 | 0.942 | 7 | 0.1429 | None row 21 : 1 1/4 | 1.067 | 7 | 0.1429 | None row 22 : 1 1/2 | 1.2866 | 6 | 0.1667 | None row 23 : 1 3/4 | 1.4939 | 5 | 0.2 | None row 24 : 2 | 1.7154 | 4.5 | 0.2222 | None row 25 : 2 1/2 | 2.18 | 4 | 0.25 | None ] Execute this SQL based on the above table: select abs ( ( select pitch (in) where tapping drill size = 'number drill 26 (3.7 mm)' ) - ( select pitch (in) where tapping drill size = 'letter drill f (6.5 mm)' ) )
0.013899999999999996
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 1995-08-06 | kyoto, japan | costa rica | 3-0 | won | friendly row 2 : 2 | 1995-10-24 | tokyo, japan | saudi arabia | 2-1 | won | friendly row 3 : 3 | 1996-12-09 | al ain, united arab emir | uzbekistan | 4-0 | won | 1996 afc asian cup group row 4 : 4 | 1997-03-25 | muscat, oman | macau | 10-0 | won | 1998 fifa world cup qualification row 5 : 5 | 1997-06-22 | tokyo, japan | macau | 10-0 | won | 1998 fifa world cup qualification row 6 : 6 | 1997-11-01 | seoul, korea republic | south korea | 2-0 | won | 1998 fifa world cup qualification row 7 : 7 | 2000-10-14 | sidon, lebanon | saudi arabia | 4-1 | won | 2000 afc asian cup group row 8 : 8 | 2000-10-24 | beirut, lebanon | iraq | 4-1 | won | 2000 afc asian cup quarter row 9 : 9 | 2000-10-24 | beirut, lebanon | iraq | 4-1 | won | 2000 afc asian cup quarter ] Execute this SQL based on the above table: select venue order by # asc limit 1
kyoto, japan
[ header: name | variant name(s) | source | source coordinates | length | mouth | mouth coordinates row 1 : mouth | None | None | None | None | aliso creek beach, laguna beach | 33°30′38′′n 117° row 2 : wood canyon creek | None | aliso viejo | 33°35′39′′n 117° | 2.8 miles (4.5 km) | aliso canyon-right bank of alis | 33°32′28′′n 117° row 3 : sulphur creek | arroyo salada, sulph | north laguna niguel | 33°33′33′′n 117° | 4.5 miles (7.2 km) | head of aliso canyon-left bank of | 33°32′32′′n 117° row 4 : aliso hills channel | None | south laguna hills | None | 4.5 miles (7.2 km) | aliso viejo-left bank of al | None row 5 : dairy fork | dairy fork storm drain | south laguna woods | None | 3 miles (4.8 km) | aliso viejo- right bank of al | None row 6 : munger creek | munger creek storm drain | lake forest | None | 1 mile (1.6 km) | mission viejo-right bank of aliso | None row 7 : unnamed northern fork | None | portola hills | None | 2.5 miles (4.0 km) | mission viejo-right bank of aliso | None row 8 : english canyon | english canyon creek, english canyon channel | mission viejo | 33°39′30′′n 117° | 3.5 miles (5.6 km) | mission viejo-left bank of aliso | 33°37′42′′n 117° row 9 : source | None | cleveland national forest, portola | 33°42′10′′n 117° | None | None | None ] Execute this SQL based on the above table: select mouth order by source limit 1294
aliso creek beach, laguna beach, aliso canyon-right bank of aliso creek, mission viejo-right bank of aliso creek, mission viejo-left bank of aliso creek, head of aliso canyon-left bank of aliso creek, mission viejo-right bank of aliso creek, aliso viejo-left bank of aliso creek, aliso viejo- right bank of aliso creek
[ header: n° | name | position | date of birth | nationality row 1 : 1 | marcus popp | s | 23 settembre 1981 | germany row 2 : 2 | stanislav simin | c | 4 ottobre 1986 | serbia row 3 : 3 | gerald hardy-dessources | c | 9 febbraio 1983 | france row 4 : 4 | soane falafala | s | 16 aprile 1993 | france row 5 : 5 | cyril guitte | l | 13 agosto 1992 | france row 6 : 6 | david konecny | s/o | 10 ottobre 1982 | czech republic row 7 : 7 | jean-francois exiga | l | 9 marzo 1982 | france row 8 : 8 | nuno pinheiro | p | 31 dicembre 1984 | portugal row 9 : 10 | guillaume di betta | s | 8 settembre 1994 | france row 10 : 12 | maxime dillies | p | 11 aprile 1984 | france row 11 : 13 | kamil baranek | s | 2 maggio 1983 | czech republic row 12 : 14 | renaud lachaise | p | 12 maggio 1991 | france row 13 : 15 | david smith | c | 15 maggio 1985 | united states row 14 : 16 | emmanuel ragon | s | 6 agosto 1987 | france row 15 : 17 | victor le guennec | s | 19 giugno 1994 | france row 16 : 18 | thibault szymkowi | c | 19 settembre 1991 | france ] Execute this SQL based on the above table: select position where n° = 6
s/o
[ header: title | year | platforms | developer | publisher | notes row 1 : american mcgee's grimm | 2008 | pc | spicy horse | gametap | episodic mcgee takes on various row 2 : dexiq | 2009 | ipad, iphone, ipod | spicy pony | None | puzzle game row 3 : american mcgee presents akan | 2010 | ipad | spicy pony | None | little red riding hood in japan row 4 : american mcgee's cro | 2010 | ipad, iphone, ipod | spicy pony | None | puzzle game row 5 : alice: madness returns | 2011 | playstation 3, xbox 360, p | spicy horse | electronic arts | sequel to american mcgee's row 6 : bighead bash | 2012 | None | spicy horse | None | side scrolling/battle multiplayer. ( row 7 : crazy fairies | 2012 | mobile, facebook | spicy horse | None | currently in the closed beta stage. (unrelease row 8 : akaneiro: demon hunters | 2013 | browsers, tegra-powered tablets | spicy horse | spicy horse | a japanese/mc ] Execute this SQL based on the above table: select publisher where year > 1000
gametap, electronic arts, spicy horse
[ 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 group by nation order by count ( nation ) desc limit 1
venezuela (ven)
[ header: dance | best dancer(s) | best score | worst dancer(s) | worst score row 1 : cha cha | argo ader | 34 | henrik normann piret | 14 row 2 : waltz (international standard) | maarja-liis ilus | 36 | arne niit | 14 row 3 : rumba | argo ader | 40 | arne niit | 15 row 4 : quickstep | argo ader maarja-l | 40 | henrik normann piret | 16 row 5 : jive | argo ader | 32 | henrik normann | 24 row 6 : tango | maarja-liis ilus | 37 | erika salumae | 26 row 7 : paso doble | lauri pedaja | 36 | evelyn sepp | 28 row 8 : foxtrot | argo ader evelyn | 34 | henrik normann | 25 row 9 : samba | maarja-liis ilus | 37 | henrik normann | 26 row 10 : showdance | argo adar maarja-l | 40 | None | None ] Execute this SQL based on the above table: select worst dancer(s) where worst score > ( select worst score where worst dancer(s) = 'arne niit' ) order by worst score asc limit 1
arne niit
[ header: years | building | city | height (ctbuh) | floors row 1 : 1975-present | first canadian place | toronto | 298.1 m (978 ft) | 72 row 2 : 1972-1975 | commerce court west | toronto | 239.0 m (784 ft | 57 row 3 : 1967-1972 | toronto-dominion centre | toronto | 222.8 m (731 ft) | 56 row 4 : 1964-1967 | tour de la bourse | montreal | 190.0 m (623 ft) | 47 row 5 : 1962-1964 | place ville-marie | montreal | 188.0 m (617 ft) | 44 row 6 : 1962 | tour cibc | montreal | 184.0 m (604 ft) | 45 row 7 : 1931-1962 | commerce court north | toronto | 145.0 m (476 ft) | 34 ] Execute this SQL based on the above table: select distinct city where city = 'montreal' and city = 'montreal'
montreal
[ header: name | built | listed | location | county | type row 1 : bahala creek bridge | 1909 | 1988-11-16 | oma 31°42′17′′ | lawrence | pratt through truss row 2 : bayou pierre bridge | ca. 1920 | 2005-06-10 | carpenter 32°0′10′′n | copiah | None row 3 : bayou pierre bridge | ca. 1900, 1940 | 2005-06-10 | carpenter 32°0′10′′n | copiah | None row 4 : big black river railroad bridge | 1917 | 1988-11-16 | bovina, edwards 32 | hinds, warren | open-spandrel arch row 5 : chunky river bridge | 1911 | 2004-03-22 | chunky 32°19′16′′n | newton | None row 6 : columbus bridge | 1925-1927 | 1988-11-16 | columbus 33°29′37′′n | lowndes | warren truss;swing row 7 : confederate avenue brick arch bridge | 1935 | 1988-11-16 | vicksburg 32°19′44′′ | warren | brick arch row 8 : coon box fork bridge | 1919 | 1979-05-23 | coon box 31°47′25′′n | jefferson | twin-tower swng. sus row 9 : enterprise bridge | ca. 1925, ca. 1935 | 1988-11-16 | enterprise 32°10′33′′n 88 | clarke | warren polygonal pony truss row 10 : gatesville bridge | 1908 | 1988-11-16 | gatesville, pearl 31°59′46′′ | copiah, simpson | pennsylvania through tru row 11 : homochitto river bridge | 1909 | 1988-11-16 | hazelhurst 31°42′48′′n | copiah | pratt through truss row 12 : lamb-fish bridge | 1905 | 1982-05-17 | charleston 34°1′20′′ | tallahatchie | vertical lift span row 13 : lucien bridge | 1938 | 2005-06-16 | mccall creek 31°30′40 | franklin | None row 14 : mississippi river bridge | 1928-1930 | 1989-02-14 | vicksburg 32°18′54′′ | warren | cantilevered truss span row 15 : shubuta bridge | 1919 | 1988-11-16 | shubuta 31°51′25′′ | clarke | camelback through truss ] Execute this SQL based on the above table: select built where name = 'chunky river bridge'
1911
[ header: year | competition | location | event | final-rank | final-score | qualifying rank | qualifying score row 1 : 2008 | 2008 summer olympics | beijing | team | 2 | 186.525 | 2 | 246.8 row 2 : 2008 | 2008 summer olympics | beijing | uneven bars | dnq | None | 23 | 14.8 row 3 : 2008 | olympic trials | philadelphia | all around | 4 | 61.85 | 4 | 61.4 row 4 : 2008 | olympic trials | philadelphia | balance beam | 4 | 15.55 | 4 | 15.8 row 5 : 2008 | olympic trials | philadelphia | floor exercise | 2 | 15.5 | 3 | 15.65 row 6 : 2008 | olympic trials | philadelphia | uneven bars | 6 | 15.2 | 5 | 15.3 row 7 : 2008 | olympic trials | philadelphia | vault | 4 | 15.15 | 3 | 15.1 row 8 : 2008 | u.s. championships | boston | all around | 4 | 61.25 | 4 | 60.75 row 9 : 2008 | u.s. championships | boston | balance beam | 5 | 16 | 5 | 15.4 row 10 : 2008 | u.s. championships | boston | floor exercise | 10 | 14.75 | 4 | 15.2 row 11 : 2008 | u.s. championships | boston | uneven bars | 6 | 15.55 | 6 | 15.15 row 12 : 2008 | american cup | new york city | all around | 3 | 63.075 | 3 | 63.075 ] Execute this SQL based on the above table: select location where location > ( select location where location = 'boston' ) order by location limit 1
new york city
[ header: no | title | directed by | released row 1 : 1 | "kloot's k | hawley pratt | 1973 row 2 : 2 | "apache on the county seat" | hawley pratt | 1973 row 3 : 3 | "the shoe must go on" | gerry chiniquy | 1973 row 4 : 4 | "a self winding sidewinder" | roy morita | 1973 row 5 : 5 | "pay your buffalo bill" | gerry chiniquy | 1973 row 6 : 6 | "stirrups and hic | gerry chiniquy | 1973 row 7 : 7 | "ten miles to the gallop" | arthur leonardi | 1973 row 8 : 8 | "phony express" | gerry chiniquy | 1974 row 9 : 9 | "giddy up woe" | sid marcus | 1974 row 10 : 10 | "gold struck" | roy morita | 1974 row 11 : 11 | "as the tumbleweeds turn" | gerry chiniquy | 1974 row 12 : 12 | "the badge and the beautiful" | bob balsar | 1974 row 13 : 13 | "big beef at o.k. cor | bob balsar | 1974 row 14 : 14 | "by hoot or by crook | bob balsar | 1974 row 15 : 15 | "strange on the range" | durward bonaye | 1974 row 16 : 16 | "mesa trouble" | sid marcus | 1974 row 17 : 17 | "saddle soap opera" | gerry chiniquy | 1974 ] Execute this SQL based on the above table: select count ( * ) where directed by = 'gerry chiniquy'
6
[ header: title | year | artist(s) | album | writer(s) | producer(s) row 1 : "lucky day (song)" | 2011 | nicola roberts | cinderella's eyes | martina sorbara, dragonette | andras vleminckx row 2 : "positive" | 2011 | taio cruz | ' | taio cruz, andr | andras vleminckx row 3 : "broken (kate ryan song | 2010 | kate ryan | electroshock (kate ryan album | anders hansson, kate | anders hansson, felix per row 4 : "give me more" | 2012 | tara mcdonald | i like this beat | tara mcdonald, luci | andras vleminckx row 5 : "drop it low (kat deluna | 2011 | kat deluna ft fat | inside out (kat deluna album) | kat deluna, andra | andras vleminckx row 6 : "8 days a week" | 2012 | jean-roch ft ti | music saved my life | jean-roch, timati, | andras vleminckx row 7 : "can u feel it" | 2012 | jean-roch ft tara m | music saved my life | jean-roch, tara mcd | andras vleminckx row 8 : "be there (ballad version)" | 2011 | kat deluna | inside out (kat deluna album) | kat deluna, andra | andras vleminckx row 9 : "muevete mueve | 2011 | kat deluna | inside out (kat deluna album) | kat deluna, andra | andras vleminckx row 10 : "hollywood" | 2013 | mitchell niemeyer | ' | andras vleminckx | andras vleminckx ] Execute this SQL based on the above table: select artist(s) where year = ( select sum ( year ) where artist(s) in ( 'jean-roch ft tara mcdonald' , 'jean-roch ft tara mcdonald' ) )
tara mcdonald, jean-roch ft timati, jean-roch ft tara mcdonald
[ header: no. | player | position | career | date no. retired row 1 : 1 | eddie giacomin | g | 1965-76 | march 15, 1989 row 2 : 2 | brian leetch | d | 1987-2004 | january 24, 2008 row 3 : 3 | harry howell | d | 1952-69 | february 22, 2009 row 4 : 7 | rod gilbert | rw | 1960-78 | october 14, 1979 row 5 : 9 | andy bathgate | c | 1954-64 | february 22, 2009 row 6 : 9 | adam graves | lw | 1991-2001 | february 3, 2009 row 7 : 11 | mark messier | c | 1991-97, 2000-04 | january 12, 2006 row 8 : 35 | mike richter | g | 1990-2003 | february 4, 2004 row 9 : 99 | wayne gretzky | c | 1996-99 | february 6, 2000 ] Execute this SQL based on the above table: select player order by no. desc limit 1
wayne gretzky
[ header: station | type | latitude | longitude | el. (m) | opened | closed | coordinates row 1 : calama, chile | solar | 22o28's | 68o56'w | 2250 | 1918 | 1920 | 22°28′s 68°56′ row 2 : mount montezuma, chile | solar | 22o40's | 68o56'w | 2711 | 1920 | None | 22°40′s 68°56′ row 3 : mount harquahala, arizon | solar | 33o48'n | 113o20'w | 1721 | 1920 | 1925 | 33°48′n 113°20′ row 4 : table mountain, california | solar | 34o22'n | 117o41'w | 2286 | 1925 | 1962 | 34°22′n 117°41′ row 5 : mount brukkaros, namibi | solar | 25o52's | 17o48'e | 1586 | 1926 | 1931 | 25°52′s 17°48′e row 6 : mount saint catherine, egy | solar | 28o31'n | 33o56'e | 2591 | 1934 | 1937 | 28°31′n 33°56′e row 7 : burro mountain, new mexico | solar | 32o40'n | 108o33'w | 2440 | 1938 | 1946 | 32°40′n 108°33′ row 8 : organ pass, new mexico | space track | 32o25'n | 253o27'e | None | None | None | 32°25′n 106°33′ row 9 : olifantsfontein, south africa | space track | 25o58's | 28o15'e | None | None | None | 25°58′s 28°15′e row 10 : woomera, australia | space track | 31o06's | 136o46'e | None | None | None | 31°06′s 136°46′ row 11 : curacao, netherlands west in | space track | 12o05'n | 291o10'e | None | None | None | 12°05′n 68°50′ row 12 : jupiter, florida | space track | 27o01'n | 279o53'e | None | None | None | 27°01′n 80°07′w row 13 : villa dolores, argentina | space track | 31o57'n | 294o54'e | None | None | None | 31°57′n 65°06′e row 14 : mitaka, japan | space track | None | None | None | None | None | None row 15 : nani tal, india | space track | None | None | None | None | None | None ] Execute this SQL based on the above table: select count ( type ) where el. (m) != 0
7
[ 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 order by year desc limit 1
1st
[ header: year | venue | winners | runner-up | 3rd place row 1 : 2005 | pardubice | poland (41 pts) | sweden (35 pts | denmark (24 pts) row 2 : 2006 | rybnik | poland (41 pts) | sweden (27 pts | denmark (26 pts) row 3 : 2007 | abensberg | poland (40 pts) | great britain (36 pt | czech republic (30 pts row 4 : 2008 | holsted | poland (40 pts) | denmark (39 pts) | sweden (38 pts row 5 : 2009 | gorzow wlkp | poland (57 pts) | denmark (45 pts) | sweden (32 pts row 6 : 2010 | rye house | denmark (51 pts) | sweden (37 pts | poland (35 pts) row 7 : 2011 | balakovo | russia (61 pts) | denmark (31 pts) | ukraine (29+3 p row 8 : 2012 | gniezno | poland (61 pts) | australia (44 pts) | sweden (26 pts ] Execute this SQL based on the above table: select venue order by venue limit 745
abensberg, balakovo, gniezno, gorzow wlkp, holsted, pardubice, rybnik, rye house
[ header: language | number | percentage (%) | males | females row 1 : polish | 1420436 | 73.52 | 687210 | 733226 row 2 : yiddish | 317169 | 16.41 | 154603 | 162566 row 3 : russian | 87850 | 4.54 | 13551 | 1586 row 4 : german | 77160 | 3.99 | 37984 | 39176 row 5 : ukrainian | 15930 | 0.82 | 15623 | 307 row 6 : romanian | 2299 | >0.01 | 2293 | 6 row 7 : latvian | 1759 | >0.01 | 1738 | 21 row 8 : estonian | 1566 | >0.01 | 1555 | 11 row 9 : tatar | 1473 | >0.01 | 1437 | 36 row 10 : belarusian | 1343 | >0.01 | 1234 | 109 row 11 : other | 4824 | 0.24 | 3289 | 1535 row 12 : persons that didn't name their native language | 54 | >0.01 | 33 | 21 row 13 : total | 1931867 | 100 | 977948 | 953919 ] Execute this SQL based on the above table: select language where language != 'total' and females = 1535
other
[ header: year | division | league | regular season | playoffs | open cup | avg. attendance row 1 : 2001 | 2 | usl a-league | 4th, western | quarterfinals | did not qualify | 7169 row 2 : 2002 | 2 | usl a-league | 2nd, pacific | 1st round | did not qualify | 6260 row 3 : 2003 | 2 | usl a-league | 3rd, pacific | did not qualify | did not qualify | 5871 row 4 : 2004 | 2 | usl a-league | 1st, western | quarterfinals | 4th round | 5628 row 5 : 2005 | 2 | usl first division | 5th | quarterfinals | 4th round | 6028 row 6 : 2006 | 2 | usl first division | 11th | did not qualify | 3rd round | 5575 row 7 : 2007 | 2 | usl first division | 2nd | semifinals | 2nd round | 6851 row 8 : 2008 | 2 | usl first division | 11th | did not qualify | 1st round | 8567 row 9 : 2009 | 2 | usl first division | 1st | semifinals | 3rd round | 9734 row 10 : 2010 | 2 | ussf d-2 pro league | 3rd, usl (3rd) | quarterfinals | 3rd round | 10727 ] Execute this SQL based on the above table: select league - year where playoffs = 'quarterfinals' and league = 'usl first division'
-2005
[ header: date | opponent# | rank# | site | result | attendance row 1 : 1959-09-26 | at #16 georgia tech | #6 | grant field • atlanta, ga | l 12-16 | 43000 row 2 : 1959-10-03 | #15 navy | None | cotton bowl • dallas, t | w 20-7 | 46000 row 3 : 1959-10-09 | missouri | #15 | cotton bowl • dallas, t | w 23-2 | 33000 row 4 : 1959-10-17 | at rice | #16 | rice stadium • houston, tx | t 13-13 | 65000 row 5 : 1959-10-24 | texas tech | None | cotton bowl • dallas, t | w 21-13 | 30000 row 6 : 1959-10-31 | #4 texas | None | cotton bowl • dallas, t | l 0-21 | 65000 row 7 : 1959-11-07 | at texas a&m | None | kyle field • college station, t | w 14-11 | 19000 row 8 : 1959-11-14 | #20 arkansas | None | cotton bowl • dallas, t | l 14-17 | 31000 row 9 : 1959-11-21 | at baylor | None | floyd casey stadium • waco, | w 30-14 | 25000 row 10 : 1959-11-28 | at #8 texas christi | None | amon g. carter stadium • for | l 0-19 | 40000 ] Execute this SQL based on the above table: select attendance where attendance in ( 25000 , 46000 ) and date = '1959-10-03' and site = 'cotton bowl • dallas, tx'
46000.0
[ header: kategori | 1995 | 2004 | 2005 | 2006 | 2007 row 1 : best movie | pencet sana pencet sini | arisan | janji joni | berbagi suami | nagabonar jadi 2 row 2 : best director | arizal (pencet s | nia dinata (aris | garin nugroho (rindu kam | riri riza (gie | john de rantau (denias row 3 : most favourite movie | catatan si emon | eiffel i'm in love | ungu violet | heart | None row 4 : most favourite actor | onky alexander (catatan tant | samuel rizal ( | nicholas saputra (ja | nicholas saputra (gie | tora sudiro (nagabon row 5 : most favorite actress | ayu azhari (cat | nirina zubir(30 | dian sastrowardoyo | titi kamal (mendadak d | dinna olivia (mengejar row 6 : most favourite supporting actor | didi petet (catatan si | surya saputra (arisan | fauzi baadila ( | tio pakusadew | winky wiryawan (badai row 7 : most favourite supporting actress | cornelia agatha (lupus | titi kamal (eiffel i | mariana renata (janji | ria irawan (ber | wulan guritno ( row 8 : best crying scene | nita tilana ( | winky wiryawan (mengejar | putri mulia (rindu | sita nursanti (gie) | None row 9 : most favourite heart melting moment | onky alexander and paramitha | vino bastian and maria agnes | None | nirina zubir and | None row 10 : best song in the movie | kisah cinta | mengejar matahari - ari | tentang dia - melly goeslaw | my heart - irwansyah | pulang - float[disambigu row 11 : most favourite rising star | krisdayanti (lupus | None | laudya chintya bell | jonathan mulia (gie | albert fakdawer (d row 12 : lifetime achievement | christine hakim | None | benyamin sueb | warkop dki | deddy mizwar row 13 : best scary scene | hantu tinta | None | None | None | kuntilanak row 14 : best running scene | None | None | None | None | maaf, saya menghamili ] Execute this SQL based on the above table: select count ( kategori ) where id < ( select id where kategori = 'most favourite movie' )
2
[ header: department | total deputies | uninominal deputies | plurinominal deputies | special indigenous or campesino deputies | senators row 1 : la paz | 29 | 14 | 14 | 1 | 4 row 2 : santa cruz | 28 | 14 | 13 | 1 | 4 row 3 : cochabamba | 19 | 9 | 9 | 1 | 4 row 4 : potosi | 13 | 7 | 6 | 0 | 4 row 5 : chuquisaca | 10 | 5 | 5 | 0 | 4 row 6 : oruro | 9 | 4 | 4 | 1 | 4 row 7 : tarija | 9 | 4 | 4 | 1 | 4 row 8 : beni | 8 | 4 | 3 | 1 | 4 row 9 : pando | 5 | 2 | 2 | 1 | 4 row 10 : total | 130 | 63 | 60 | 7 | 36 ] Execute this SQL based on the above table: select count ( * ) where senators = 4
9
[ header: year | division | league | regular season | playoffs | open cup row 1 : 2002 | 4 | usl pdl | 3rd, mid atlantic | did not qualify | did not qualify row 2 : 2003 | 4 | usl pdl | 1st, mid atlantic | conference semifinals | did not qualify row 3 : 2004 | 4 | usl pdl | 3rd, mid atlantic | did not qualify | did not qualify row 4 : 2005 | 4 | usl pdl | 1st, mid atlantic | national semifinals | 2nd round row 5 : 2006 | 4 | usl pdl | 5th, mid atlantic | did not qualify | did not qualify row 6 : 2007 | 4 | usl pdl | 6th, mid atlantic | did not qualify | did not qualify row 7 : 2008 | 4 | usl pdl | 6th, mid atlantic | did not qualify | did not qualify ] Execute this SQL based on the above table: select league order by division desc limit 1
usl pdl
[ header: | | | row 1 : 1962 | the trial/le proces | hilda | notes row 2 : 1949 | in the good old summertime | baby | uncredited row 3 : 1954 | the long, long trailer | wedding guest | scenes deleted row 4 : 1967 | charlie bubbles | eliza | None row 5 : 1969 | the sterile cuckoo | 'pookie' (mary ann | david di donatello for best foreign actress row 6 : 1970 | tell me that you love me, juni | junie moon | None row 7 : 1972 | cabaret | sally bowles | academy award for best actress bafta award row 8 : 1974 | just one more time | herself | uncredited (short subject) row 9 : 1974 | that's entertainment! | herself (narrator) | None row 10 : 1974 | journey back to oz | dorothy | voice (recorded in 1963, released row 11 : 1975 | lucky lady | claire | nominated - golden globe award for best row 12 : 1976 | silent movie | herself | None row 13 : 1976 | a matter of time | nina | None row 14 : 1977 | new york, new york | francine evans | nominated - golden globe award for best row 15 : 1981 | arthur | linda marolla | nominated - golden globe award for best row 16 : 1983 | the king of comedy | herself | scenes deleted row 17 : 1984 | the muppets take manhattan | herself | None row 18 : 1985 | that's dancing! | herself - host | None row 19 : 1987 | rent-a-cop | della roberts | golden raspberry award for worst actress row 20 : 1988 | arthur 2: on the rocks | linda marolla bach | golden raspberry award for worst actress row 21 : 1991 | stepping out | mavis turner | None row 22 : 1994 | a century of cinema | herself | documentary row 23 : 1995 | unzipped | herself - uncredited | documentary row 24 : 2006 | the oh in ohio | alyssa donahue | None row 25 : 2010 | broadway: beyond the golden age | herself | documentary row 26 : 2010 | sex and the city 2 | wedding minister/herself | cameo appearance row 27 : 2011 | lady gaga presents the monster ball tour: at | herself | guest appearance row 28 : 2013 | smash | herself | guest appearance ] Execute this SQL based on the above table: select where in ( 1976 , 1972 ) order by desc limit 1
1976
[ header: pos. | rider | semi-final points | final points | final heats | total points row 1 : 1 | jack milne | 13 | 15 | (3,3,3,3,3) | 28 row 2 : 2 | wilbur lamoreaux | 12 | 13 | (3,3,3,1,3) | 25 row 3 : 3 | cordy milne | 11 | 12 | (2,3,2,3,2) | 23 row 4 : 4 | jack parker | 11 | 10 | (2,3,1,2,2) | 21 row 5 : 5 | ginger lees | 10 | 9 | (1,1,2,2,3) | 19 row 6 : 6 | frank charles | 10 | 7 | (0,0,1,3,3) | 17 row 7 : 7 | lionel van praag | 11 | 6 | (3,0,-,3,0) | 17 row 8 : 8 | bill kitchen | 7 | 9 | (1,2,2,2,2) | 16 row 9 : 9 | george newton | 11 | 5 | (3,0,0,0,2) | 16 row 10 : 10 | eric langton | 12 | 4 | (1,0,0,3,0) | 16 row 11 : 11 | morian hansen | 7 | 8 | (1,2,3,1,1) | 15 row 12 : 12 | eric chitty | 11 | 4 | (0,2,0,1,1) | 15 row 13 : 13 | joe abbott | 8 | 6 | (2,1,1,2,0) | 14 row 14 : 14 | arthur atkinson | 8 | 6 | (2,0,2,1,1) | 14 row 15 : 15 | frank varey | 8 | 3 | (0,1,1,0,1) | 11 row 16 : 16 | tommy croombs | 6 | 2 | (0,2,0,0,0) | 8 row 17 : 17 | bob harrison | 7 | None | None | 7 row 18 : 18 | alec statham | 6 | 0 | (0) | 6 ] Execute this SQL based on the above table: select count ( * ) where rider = '12'
0
[ header: sum | mongolian | population (2005) | population (2008) | population (2009) | area km2 | density /km2 | sum centre population row 1 : battsengel | батцэнгэл | 3818 | 3855 | 3846 | 3500 | 1.1 | 1096 row 2 : bulgan | булган | 2285 | 2361 | 2434 | 3100 | 0.79 | 961 row 3 : chuluut | чулуут | 3943 | 3749 | 3744 | 3900 | 0.96 | 935 row 4 : erdenebulgan | эрдэнэбулг | 17790 | 18022 | 17770 | 536 | 33.15 | 17770 row 5 : erdenemandal | эрдэнэманда | 6099 | 5843 | 5933 | 3400 | 1.74 | 1091 row 6 : ikh-tamir | их тамир | 5714 | 5154 | 5247 | 4800 | 1.09 | 1050 row 7 : jargalant | жаргалант | 4089 | 4114 | 4111 | 3832 | 1.07 | 1035 row 8 : khairkhan | хаирхан | 3756 | 3558 | 3656 | 2500 | 1.46 | 739 row 9 : khangai | хангаи | 3054 | 2805 | 2926 | 4400 | 0.66 | 795 row 10 : khashaat | хашаат | 3594 | 3305 | 3344 | 2600 | 1.29 | 802 row 11 : khotont | хотонт | 4763 | 4809 | 4440 | 2200 | 2.02 | 774 row 12 : ogii nuur | өгии нуур | 3015 | 3041 | 3086 | None | None | 622 row 13 : olziit | өлзиит | 3154 | 3037 | 3102 | 1700 | 1.82 | 829 row 14 : ondor-ulaan | өндөр-улаан | 5873 | 5729 | 5798 | 4000 | 1.45 | 1097 row 15 : tariat | тариат | 5082 | 5022 | 5086 | 3800 | 1.34 | 644 row 16 : tuvshruule | түвшрүүлэх | 3489 | 3410 | 3438 | 1200 | 2.86 | 1869 row 17 : tsakhir | цахир | 2058 | 2126 | 2143 | 3398 | 0.63 | 438 row 18 : tsenkher | цэнхэр | 5480 | 5387 | 5414 | 3200 | 1.69 | 997 row 19 : tsetserleg | цэцэрлэг | 2058 | 3955 | 3813 | 2500 | 1.53 | 848 ] Execute this SQL based on the above table: select count ( * ) where mongolian <= 2000
0
[ header: event | record | athlete(s) | date | time (s) row 1 : bobsleigh - two-man | start | beat hefti & thomas | 6 february 2009 | 4.7 row 2 : bobsleigh - two-man | track | thomas florschutz & | 20 february 2010 21 february 2010 | 51.57 row 3 : bobsleigh - four-man | start | andre lange, kevin kuske | 26 february 2010 | 4.7 row 4 : bobsleigh - four-man | track | steve holcomb, justin | 26 february 2010 | 50.86 row 5 : bobsleigh - two-woman | start | kaillie humphries | 23 february 2010 24 february 2010 | 5.11 row 6 : bobsleigh - two-woman | track | kaillie humphries | 24 february 2010 | 52.85 row 7 : men's skeleton | start | alexander tretiakov (rus | 18 february 2010 | 4.48 row 8 : men's skeleton | track | jon montgomery (can) | 19 february 2010 | 52.2 row 9 : women's skeleton | start | anja huber (ger) | 18 february 2010 | 4.9 row 10 : women's skeleton | track | amy williams (gbr | 19 february 2010 | 53.68 row 11 : luge - men's singles | start | andi langenhan (ger) | 21 february 2009 | 3.541 row 12 : luge - men's singles | track | felix loch (ger) | 21 february 2009 | 46.808 row 13 : luge - women's singles | start | natalie geisenberger (ger | 20 february 2009 | 7.183 row 14 : luge - women's singles | track | natalie geisenberger (ger | 20 february 2009 | 48.992 row 15 : luge - men's doubles | start | tobias wendl & tobia | 20 february 2009 | 7.054 row 16 : luge - men's doubles | track | patric leitner & alexander | 20 february 2009 | 48.608 ] Execute this SQL based on the above table: select athlete(s) where id = ( select id where athlete(s) = 'steve holcomb, justin olsen, steve mesler, & curtis tomasevicz (usa)' ) - 1
andre lange, kevin kuske, alexander rodiger, & martin putze (ger)
[ header: name | gender | age | from | occupation | prize money (usd) | status row 1 : trisha | female | 28 | santa monica, ca | artist | $26,000 | winner row 2 : london | male | 46 | mt. holly, n | us coast guard (retired) | $0 | lost row 3 : adria | female | 25 | seattle, wa | bartender | $0 | 7th captured (by ricky ort row 4 : lucas | male | 32 | carlsbad, ca | student | $0 | 6th captured (by kim) row 5 : andrew | male | 21 | redondo beach, ca | student / lifeguard | $0 | 5th captured (by kim) row 6 : tracy | female | 30 | mililani, hi | student | $0 | 4th captured (by grant) row 7 : lynda | female | 59 | los angeles, ca | general contractor | $0 | 3rd captured (by icey) row 8 : darin | male | 46 | fontana, ca | sports official | $0 | 2nd captured (by wong) row 9 : evan | male | 29 | long island, ny | teacher | $2,000 | opted out row 10 : ameenah | female | 34 | atlanta, ga | drummer | $0 | 1st captured (by grant) ] Execute this SQL based on the above table: select count ( status ) where age = 30
1
[ header: round | circuit | date | pole position | winning driver | winning team | trophy winner row 1 : 1 | aci vallelunga circuit, camp | 7 april | milos pavlovic | milos pavlovic | target racing | nino fama row 2 : 2 | misano world circuit | 28 april | milos pavlovic | milos pavlovic | target racing | giovanni faraonio row 3 : 3 | autodromo di pergusa, | 19 may | milos pavlovic | philip cloostermans | azeta racing | carmine tancredi row 4 : 4 | autodromo nazionale monza | 30 june | philip cloostermans | philip cloostermans | azeta racing | carmine tancredi row 5 : 5 | autodromo riccardo paletti | 21 july | milos pavlovic | milos pavlovic | target racing | carmine tancredi row 6 : 6 | autodromo enzo e din | 1 september | vitantonio liuzzi | vitantonio liuzzi | bertram schafer racing | silvio alberti row 7 : 7 | autodromo del levante, | 8 september | christiano citron | milos pavlovic | target racing | carmine tancredi row 8 : 8 | mugello circuit, scarperia | 6 october | milos pavlovic | milos pavlovic | target racing | dino lusuardi row 9 : 9 | autodromo dell'umbria | 20 october | andreas zuber | christiano citron | target racing | alberto morelli ] Execute this SQL based on the above table: select winning driver where id = ( select id where winning driver = 'philip cloostermans' ) + 1
philip cloostermans
[ header: rank | bib | country | athletes | run 1 | run 2 | run 3 | run 4 | total | behind row 1 : None | 1 | canada (can-1) | kaillie humphries heat | 57.39 | 57.73 | 57.57 | 57.92 | 3:50.61 | None row 2 : None | 2 | united states (usa-1) | elana meyers laury | 57.26 | 57.63 | 57.69 | 58.13 | 3:50.71 | 0.1 row 3 : None | 3 | united states (usa-2) | jamie greubel aja evan | 57.45 | 58 | 58 | 58.16 | 3:51.61 | 1 row 4 : 4 | 9 | netherlands (ned-1) | esme kamphuis jud | 57.94 | 58.1 | 58.2 | 58.03 | 3:52.27 | 1.66 row 5 : 5 | 4 | germany (ger-1) | sandra kiriasis | 57.95 | 58.08 | 58.06 | 58.2 | 3:52.29 | 1.68 row 6 : 7 | 5 | germany (ger-2) | cathleen martini christ | 57.99 | 58.42 | 58.17 | 58.13 | 3:52.71 | 2.1 row 7 : 8 | 8 | switzerland (sui- | fabienne meyer tanja may | 58.18 | 58.34 | 58.29 | 58.39 | 3:53.20 | 2.59 row 8 : 9 | 11 | russia (rus-1) | olga stulneva | 58.03 | 58.24 | 58.45 | 58.74 | 3:53.46 | 2.85 row 9 : 10 | 6 | germany (ger-3) | anja schneiderheinze stephan | 58.17 | 58.3 | 58.53 | 58.74 | 3:53.74 | 3.13 row 10 : 11 | 7 | united states (usa-3) | jazmine fenlator lolo | 58.27 | 58.46 | 58.5 | 58.74 | 3:53.97 | 3.36 row 11 : 12 | 12 | great britain (gbr- | paula walker rebekah | 58.36 | 58.4 | 58.88 | 58.6 | 3:54.24 | 3.63 row 12 : 13 | 13 | canada (can-2) | jennifer ciochetti | 58.43 | 58.63 | 58.72 | 58.71 | 3:54.49 | 3.88 row 13 : 14 | 14 | australia (aus-1) | astrid radjenovic jan | 58.62 | 58.5 | 59.06 | 58.37 | 3:54.55 | 3.94 row 14 : 15 | 15 | austria (aut-1) | christina hengster viol | 58.59 | 58.56 | 58.73 | 58.91 | 3:54.79 | 4.18 row 15 : 16 | 17 | russia (rus-2) | nadezhda serge | 58.8 | 58.69 | 59.27 | 59.1 | 3:55.86 | 5.25 row 16 : 17 | 16 | romania (rou-1) | maria constantin andreea grecu | 59.04 | 59.08 | 59.38 | 59.09 | 3:56.59 | 5.98 ] Execute this SQL based on the above table: select country where id = ( select id where country = 'austria (aut-1)' ) + 1
russia (rus-2)
[ 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 venue order by year desc limit 1
guangzhou, china