inputs
stringlengths
291
3.71k
targets
stringlengths
1
2.65k
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | japan (jpn) | 9 | 0 | 1 | 10 row 2 : 2 | iran (iri) | 1 | 2 | 1 | 4 row 3 : 3 | syria (syr | 1 | 1 | 0 | 2 row 4 : 4 | indonesia (ina) | 0 | 3 | 2 | 5 row 5 : 5 | vietnam (vie) | 0 | 2 | 0 | 2 row 6 : 6 | chinese taipei | 0 | 1 | 3 | 4 row 7 : 7 | kuwait (kuw) | 0 | 1 | 1 | 2 row 8 : 7 | saudi arabia (ksa) | 0 | 1 | 1 | 2 row 9 : 9 | malaysia (mas) | 0 | 0 | 3 | 3 row 10 : 10 | brunei (bru) | 0 | 0 | 2 | 2 row 11 : 10 | philippines (phi) | 0 | 0 | 2 | 2 row 12 : 12 | macau (mac) | 0 | 0 | 1 | 1 row 13 : 12 | nepal (nep) | 0 | 0 | 1 | 1 row 14 : 12 | tajikistan (tjk) | 0 | 0 | 1 | 1 row 15 : 12 | united arab emirates (uae | 0 | 0 | 1 | 1 row 16 : total | total | 11 | 11 | 20 | 42 ] Execute this SQL based on the above table: select nation where total = 1
macau (mac), nepal (nep), tajikistan (tjk), united arab emirates (uae)
[ header: team 1 | agg. | team 2 | 1st leg | 2nd leg row 1 : england | 2-3 | france | 1-1 | 1-2 row 2 : czech republic | 0-3 | germany | 0-2 | 0-1 row 3 : hungary | 1-2 | italy | 1-1 | 0-1 row 4 : serbia and montenegro | 5-2 | croatia | 3-1 | 2-1 row 5 : ukraine | 5-4 | belgium | 2-3 | 3-1 row 6 : russia | 1-4 | denmark | 0-1 | 1-3 row 7 : switzerland | 2-3 | portugal | 1-1 | 1-2 row 8 : slovenia | 0-2 | netherlands | 0-0 | 0-2 ] Execute this SQL based on the above table: select count ( 1st leg )
8
[ header: season | series | team | races | wins | poles | f/lap | podiums | points | position row 1 : 2009 | star mazda championship | andersen racing | 13 | 1 | 1 | 3 | 6 | 416 | 3rd row 2 : 2010 | star mazda championship | juncos racing | 13 | 7 | 9 | 7 | 12 | 539 | 1st row 3 : 2011 | indy lights | sam schmidt motorsports | 5 | 1 | 1 | 2 | 2 | 145 | 13th row 4 : 2011 | gp3 series | carlin motorsport | 16 | 0 | 0 | 0 | 0 | 10 | 17th row 5 : 2012 | gp3 series | lotus gp | 16 | 1 | 0 | 0 | 5 | 106 | 6th row 6 : 2012 | masters of formula 3 | double r racing | 1 | 0 | 0 | 0 | 0 | None | 15th row 7 : 2012-13 | mrf challenge formula 2000 | mrf challenge | 10 | 4 | 0 | 1 | 6 | 164 | 1st row 8 : 2013 | gp2 series | hilmer motorsport | 2 | 0 | 0 | 0 | 0 | 2 | 26th row 9 : 2013 | gp3 series | art grand prix | 16 | 1 | 1 | 1 | 6 | 126 | 3rd row 10 : 2013 | indycar series | a.j. foyt enterprises | 1 | 0 | 0 | 0 | 0 | 11 | 34th row 11 : 2013 | indy lights | team moore racing | 1 | 0 | 0 | 0 | 1 | 35 | 13th ] Execute this SQL based on the above table: select position order by f/lap desc limit 1
1st
[ header: no. in series | no. in season | title | directed by | written by | original air date | production code | u.s. viewers (millions) row 1 : 1 | 1 | "pilot" | jace alexander | matt nix | june 28, 2007 | bn100 | 4 row 2 : 2 | 2 | "identity" | rod hardy | matt nix | july 5, 2007 | bn101 | 4 row 3 : 3 | 3 | "fight or flight" | colin bucksey | craig o'neill | july 12, 2007 | bn103 | None row 4 : 4 | 4 | "old friends" | david solomon | alfredo barrios, jr | july 19, 2007 | bn102 | None row 5 : 5 | 5 | "family business" | sandy bookstaver | matt nix | july 26, 2007 | bn104 | None row 6 : 6 | 6 | "unpaid debts" | paul holahan | nick thiel | august 2, 2007 | bn105 | 4.41 row 7 : 7 | 7 | "broken rules" | tim matheson | mere smith | august 9, 2007 | bn106 | None row 8 : 8 | 8 | "wanted man" | ken girotti | craig o'neill | august 16, 2007 | bn107 | None row 9 : 9 | 9 | "hard bargain" | john kretchmer | alfredo barrios, jr | august 23, 2007 | bn108 | 4.08 row 10 : 10 | 10 | "false flag" | paul shapiro | matt nix & ben wa | september 13, 2007 | bn109 | 4 row 11 : 11 | 11 | "dead drop" | jeremiah chechik | craig o'neill | september 20, 2007 | bn110 | 4.8 row 12 : 12 | 12 | "loose ends" | stephen surjik | matt nix & alfred | september 20, 2007 | bn111 | 4.8 ] Execute this SQL based on the above table: select directed by order by id desc limit 1
stephen surjik
[ header: season | division one | division two | division three row 1 : 1983-84 | whitehawk | portfield | east preston row 2 : 1984-85 | steyning town | shoreham | oakwood row 3 : 1985-86 | steyning town | wick | seaford town row 4 : 1986-87 | arundel | pagham | langney sports row 5 : 1987-88 | pagham | langney sports | midway row 6 : 1988-89 | pagham | seaford town | saltdean united row 7 : 1989-90 | wick | bexhill town | worthing united row 8 : 1990-91 | littlehampton town | newhaven | ifield row 9 : 1991-92 | peacehaven & telscombe | portfield | hassocks row 10 : 1992-93 | peacehaven & telscombe | crowborough athletic | withdean row 11 : 1993-94 | wick | shoreham | bosham row 12 : 1994-95 | peacehaven & telscombe | mile oak | midhurst & easebourne row 13 : 1995-96 | peacehaven & telscombe | saltdean united | ifield row 14 : 1996-97 | burgess hill town | littlehampton town | sidlesham row 15 : 1997-98 | burgess hill town | east preston | lingfield row 16 : 1998-99 | burgess hill town | sidley united | oving social club row 17 : 1999-2000 | langney sports | sidlesham | bosham row 18 : 2000-01 | sidley united | southwick | rye united row 19 : 2001-02 | burgess hill town | rye & iden united | pease pottage village row 20 : 2002-03 | burgess hill town | rye & iden united | midhurst & easebourne row 21 : 2003-04 | chichester city united | littlehampton town | crowborough athletic row 22 : 2004-05 | horsham y m | crowborough athletic | storrington row 23 : 2005-06 | horsham y m | oakwood | peacehaven & telscombe row 24 : 2006-07 | eastbourne town | pagham | rustington row 25 : 2007-08 | crowborough athletic | east grinstead town | loxwood row 26 : 2008-09 | eastbourne united association | peacehaven & telscombe | clymping row 27 : 2009-10 | whitehawk | rye united | bosham row 28 : 2010-11 | crawley down | a.f.c. uckfield | dorking wanderers row 29 : 2011-12 | three bridges | east preston | newhaven row 30 : 2012-13 | peacehaven & telscombe | littlehampton town | sidlesham ] Execute this SQL based on the above table: select count ( * ) where division two in ( 'east grinstead town' , 'crowborough athletic' )
3
[ header: district | vacator | reason for change | successor | date successor seated row 1 : indiana's 8th | disputed | house declared mccloskey the winner | frank mccloskey ( | may 1, 1985 row 2 : louisiana's 8th | gillis w. long (d | died january 20, 1985 | catherine s. long (d) | march 30, 1985 row 3 : texas's 1st | sam b. hall (d) | resigned may 27, 1985 after being appointed judge | jim chapman (d) | august 3, 1985 row 4 : new york's 6th | joseph p. addabbo | died april 10, 1986 | alton r. waldon, | june 10, 1986 row 5 : hawaii's 1st | cecil heftel (d) | resigned july 11, 1986 | neil abercrombie (d | september 20, 1986 row 6 : north carolina's 10th | jim broyhill (r) | resigned july 14, 1986 after being | cass ballenger (r) | november 4, 1986 row 7 : illinois's 4th | george m. o'bri | died july 17, 1986 | vacant | not filled this term row 8 : illinois's 14th | john e. grotberg ( | died november 15, 1986 | vacant | not filled this term row 9 : north carolina's 3rd | charles o. whitley | resigned december 31, 1986 | vacant | not filled this term ] Execute this SQL based on the above table: select date successor seated order by reason for change - district desc limit 1
may 1, 1985
[ header: | landmark name | location | summary row 1 : 1 | flagpole | the flagpole was once located at 10 s | flagpole erected in 1941 by del row 2 : 2 | water pump station and water tower | northeastern corner of the junction of innovation and | None row 3 : 3 | ammo bunker (s-1007) | southwest of vosler dr. (formerly | built by del e. webb construction row 4 : 4 | ammo bunker (s-1008) | southwest of vosler dr. (formerly | also built by del e. webb row 5 : 5 | civil engineering maintenance shop | northeastern corner of unity ave. | built by del e. webb construction row 6 : 6 | demountable hangar | located at the north apron of | built in 1925 and designed by webb, de row 7 : 7 | housing storage supply warehouse | northwestern corner of the junction of innovation and unity | built by del e. webb construction ] Execute this SQL based on the above table: select location order by id desc limit 1
northwestern corner of the junction of innovation and unity aves. (once known as jct. of 11th and a sts.), at arizona state university at the polytechnic campus in the grounds that once belonged to williams air force base. 33°18′14′′n 111°40′49′′w / 33.30389°n 111.68028°w
[ header: res. | record | opponent | method | event | date | round | time | location | notes row 1 : loss | 21-7 | kenji osawa | decision (unanimous) | vale tudo japan 2012 | december 24, 2012 | 3 | 5:00 | tokyo, japan | None row 2 : win | 20-5 | koichiro matsumoto | tko (punches) | dream: fight for japan! | may 29, 2011 | 1 | 6:51 | saitama, japan | None row 3 : loss | 18-4 | hatsu hioki | decision (split) | shooto: the way of shooto 3: | may 30, 2010 | 3 | 5:00 | tokyo, japan | lost shooto lightweight (143 lbs.) row 4 : win | 18-3 | gerald lovato | submission (armbar) | shooto: the way of shooto 1: | january 23, 2010 | 3 | 4:11 | tokyo, japan | None row 5 : loss | 14-3 | savant young | decision (unanimous) | shooto tradition 1 | may 3, 2008 | 2 | 5:00 | tokyo, japan | None row 6 : win | 13-2 | marc duncan | submission (rear-naked choke) | shooto: back to our roots 4 | july 15, 2007 | 1 | 3:16 | tokyo, japan | None row 7 : loss | 12-2 | akitoshi tamura | decision (unanimous) | shooto: back to our roots 3 | may 18, 2007 | 3 | 5:00 | tokyo, japan | lost shooto lightweight (143 lbs.) row 8 : win | 10-1 | cole miller | decision (unanimous) | shooto 2006: 7/21 in kor | july 21, 2006 | 3 | 5:00 | tokyo, japan | None row 9 : win | 8-1 | makoto ishikawa | decision (unanimous) | shooto: the victory of the truth | february 17, 2006 | 3 | 5:00 | tokyo, japan | None row 10 : win | 7-1 | akitoshi tamura | decision (majority) | shooto 2005: 11/6 in koraku | november 6, 2005 | 2 | 5:00 | tokyo, japan | None row 11 : loss | 6-1 | antonio carvalho | decision (majority) | shooto: alive road | august 20, 2005 | 3 | 5:00 | yokohama, japan | None row 12 : win | 6-0 | jin kazeta | submission (rear-naked choke) | shooto: 3/11 in korakuen | march 11, 2005 | 2 | 4:17 | tokyo, japan | None row 13 : win | 1-0 | hayate usui | decision (unanimous) | shooto: shooter's dream 2 | may 30, 2003 | 2 | 5:00 | tokyo, japan | None ] Execute this SQL based on the above table: select event order by time desc limit 1
dream: fight for japan!
[ header: yacht | nation | owner | skipper | launch year row 1 : afr midnight rambler | (nsw) | ed psaltis | ed psaltis | 2002 row 2 : another challenge | (vic) | chris lewin | chris lewin | 2000 row 3 : another fiasco | (qld) | damian suckling | damian suckling | 1994 row 4 : balance | (nsw) | paul clitheroe | paul clitheroe | 2006 row 5 : bear necessity | (nsw) | andrew & pauline d | andrew dally | 2007 row 6 : berrimilla | (nsw) | alex whitworth | alex whitworth | 1977 row 7 : george gregan foundation | (nsw) | peter goldsworthy | david witt | 2001 row 8 : georgia | (vic) | john williams/graeme | john williams | 2000 row 9 : getaway sailing 2 | (vic) | peter tarimo | jay pettifer | 2000 row 10 : global yacht racing - kioni | (nsw) | kioni sailing services p/l | richard falk | 2001 row 11 : helsal iv | (tas) | tony fisher | rob fisher | 1986 row 12 : huckleberry | (wa) | steve humphries | steve humphries | 1982 row 13 : hugo boss ii | None | alex thomson racing | ross daniel | 2001 row 14 : ichi ban | (nsw) | matt allen | matt allen | 2005 row 15 : imarex | (nsw) | marc & louis ryckmans | ola strand andersen | 2000 row 16 : jazz | None | chris bull | chris bull | 2003 row 17 : living doll | (vic) | michael hiatt | michael hiatt | 2005 row 18 : mr kite | (nsw) | andrew buckland/andre | andrew buckland/andre | 2005 row 19 : noonmark vi | None | sir geoffrey mulcahy | mike gilburt | 1998 row 20 : quantum racing | (nsw) | ray roberts | ray roberts | 2007 row 21 : quetzalcoatl | (nsw) | bruce/hampshire/lee | antony sweetapple | 2001 row 22 : ragamuffin | (nsw) | syd fischer | syd fischer | 2004 row 23 : rosebud | None | roger sturgeon | roger sturgeon | 2007 row 24 : scarlet runner | (vic) | robert date | robert date | 2001 row 25 : secret men's business #1 | (nsw) | smb syndicate | ross trembath/r cur | 1996 row 26 : sextant | (nsw) | denis doyle | denis doyle | 1999 row 27 : shogun | (vic) | rob hanna | rob hanna | 2007 row 28 : toyota aurion | (nsw) | andrew short | andrew short | 1993 row 29 : wild oats xi | (nsw) | bob oatley | mark richards | 2005 row 30 : wot's next | (nsw) | graeme wood | bill sykes | 2005 ] Execute this SQL based on the above table: select launch year order by id desc limit 1
2005
[ header: title | album details | peak chart positions us | peak chart positions us r&b | certifications row 1 : can-i-bus | released: september 8, 1998 label: universal format | 2 | 2 | riaa: gold row 2 : 2000 b.c. (before can- | released: july 18, 2000 label: universal | 23 | 6 | None row 3 : c! true hollywood stories | released: november 13, 2001 label: archives | None | 71 | None row 4 : mic club: the curriculum | released: november 19, 2002 label: mic | None | None | None row 5 : rip the jacker | released: july 22, 2003 label: baby | 194 | 34 | None row 6 : mind control | released: june 21, 2005 label: to | None | 79 | None row 7 : hip-hop for sale | released: november 22, 2005 label: baby | None | None | None row 8 : for whom the beat tolls | released: june 5, 2007 label: mic | None | None | None row 9 : melatonin magik | released: february 2, 2010 label: war | None | 91 | None row 10 : c of tranquility | released: october 5, 2010 label | None | 70 | None row 11 : lyrical law | released: june 24, 2011 label: can | None | None | None ] Execute this SQL based on the above table: select peak chart positions us where peak chart positions us r&b = 6
23
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | great britain (gbr) | 2 | 1 | 2 | 5 row 2 : 2 | brazil (bra) | 2 | 0 | 0 | 2 row 3 : 3 | spain (esp) | 1 | 2 | 0 | 3 row 4 : 4 | austria (aut) | 1 | 1 | 0 | 2 row 5 : 4 | greece (gre) | 1 | 1 | 0 | 2 row 6 : 4 | united states (usa) | 1 | 1 | 0 | 2 row 7 : 7 | france (fra) | 1 | 0 | 1 | 2 row 8 : 7 | israel (isr) | 1 | 0 | 0 | 1 row 9 : 7 | norway (nor) | 1 | 0 | 0 | 1 row 10 : 10 | ukraine (ukr) | 0 | 2 | 0 | 2 row 11 : 11 | china (chn) | 0 | 1 | 0 | 1 row 12 : 11 | czech republic (cze) | 0 | 1 | 0 | 1 row 13 : 11 | canada (can) | 0 | 1 | 0 | 1 row 14 : 14 | denmark (den) | 0 | 0 | 2 | 2 row 15 : 15 | argentina (arg) | 0 | 0 | 1 | 1 row 16 : 15 | italy (ita) | 0 | 0 | 1 | 1 row 17 : 15 | japan (jpn) | 0 | 0 | 1 | 1 row 18 : 15 | poland (pol) | 0 | 0 | 1 | 1 row 19 : 15 | slovenia (slo) | 0 | 0 | 1 | 1 row 20 : 15 | sweden (swe) | 0 | 0 | 1 | 1 row 21 : total | None | 11 | 11 | 11 | 33 ] Execute this SQL based on the above table: select bronze where gold in ( 0 , 1 ) and rank = 7
1, 0, 0
[ header: name | place | map ref | date | notes | image row 1 : salisbury cathedral school | the close, salisbury. sp | 51°03′50′′n 1°47 | 13/15th century | initially residential, now a private school | None row 2 : the walton canonry | no. 96 west walk, the close, | 51°03′47′′n 1°47 | 1720 | a private residence, named from earlier resident, | None row 3 : john halle's hall | the new canal, salisbury. s | 51°05′13′′n 1°47 | 15th century with late 19th century frontage | originally residential, now entrance to odeon | no image row 4 : 91 crane street | salisbury sp1 2pu | 51°04′03′′n 1°47 | mid 14th century | residential. previously called 'le crane' in | None row 5 : the old george inn | 15-17 the high street, salisbury. | 51°04′04′′n 1°47 | 14th century | this old inn has a number of literary | None row 6 : school of arts annexe | 4 new street, salisbury. s | 51°04′02′′n 1°47 | 18th century | originally part of salisbury school of art, | None row 7 : trinity street almshouses | nos. 1-13 trinity street salis | 51°04′01′′n 1°47 | 1379 | 2 storied medieval hospital and accommodation rebuilt in | None row 8 : crane bridge | cranebridge road, salisbury. s | 51°04′04′′n 1°47 | 15th century | 4 span bridge over river avon | None row 9 : remains of old sarum castle and cathedral | castle road, salisbury. sp | 51°05′34′′n 1°48 | 12th century | originally an important town and citadel, now | None ] Execute this SQL based on the above table: select count ( date ) where image = 'None'
0
[ header: no. | name | class | games | minutes | points | 2 points (made/attempts) | 2 points (%) | 3 points (made/attempts) | 3 points (%) | free throws (made/attempts) | free throws (%) | rebounds offensive | rebounds defensive | rebounds total | assists | turnovers | steals | blocked shots | personal fouls | fouls drawn row 1 : 4 | sarah vinci | 1 | 7 | 125 | 8 | 4/9 | 44 | None | None | None | None | 2 | 6 | 8 | 1 | 2 | 2 | 1 | 4 | 1 row 2 : 5 | cobi crispin | 4 | 7 | 180 | 72 | 33/77 | 43 | None | None | 6/14 | 43 | 13 | 34 | 47 | 11 | 13 | 4 | 1 | 18 | 17 row 3 : 6 | bridie kean | 4 | 7 | 109 | 16 | 7/26 | 27 | 0/1 | 0 | 2/8 | 25 | 5 | 27 | 32 | 6 | 4 | 6 | None | 8 | 8 row 4 : 7 | amanda carter | 1 | 3 | 38 | 7 | 3/5 | 60 | None | None | 1/1 | 100 | 4 | None | 4 | None | 1 | 1 | None | 1 | 1 row 5 : 8 | tina mckenzie | 3 | 2 | 18 | None | 0/2 | 0 | None | None | None | None | None | 4 | 4 | 2 | 1 | None | None | 2 | None row 6 : 9 | leanne del toso | 3.5 | 3 | 24 | 4 | 2/7 | 29 | None | None | None | None | 2 | 7 | 9 | 2 | 3 | None | None | 2 | 1 row 7 : 10 | clare nott | 1 | 7 | 212 | 37 | 18/32 | 56 | 0/1 | 0 | 1/7 | 14 | 6 | 14 | 20 | 7 | 7 | 4 | 3 | 10 | 4 row 8 : 11 | kylie gauci | 2 | 7 | 186 | 54 | 24/68 | 35 | 2/6 | 33 | 0/2 | 0 | 4 | 11 | 15 | 28 | 14 | 5 | None | 9 | 12 row 9 : 12 | shelley chaplin | 3.5 | 7 | 166 | 26 | 13/48 | 27 | 0/1 | 0 | 0/7 | 0 | 5 | 15 | 20 | 28 | 10 | 4 | None | 12 | 13 row 10 : 13 | sarah stewart | 3 | 7 | 83 | 25 | 12/27 | 44 | None | None | 1/5 | 20 | 4 | 12 | 16 | 12 | 2 | 2 | None | 7 | 6 row 11 : 14 | katie hill | 3 | 7 | 107 | 25 | 12/30 | 40 | None | None | 1/1 | 100 | 1 | 7 | 8 | 6 | 4 | 2 | None | 4 | 4 row 12 : 15 | amber merritt | 4.5 | 7 | 153 | 83 | 40/77 | 52 | 0/1 | 0 | 3/12 | 25 | 11 | 30 | 41 | 6 | 8 | 5 | 2 | 16 | 16 row 13 : None | team | None | None | None | None | None | None | None | None | None | None | 7 | 12 | 19 | None | None | None | None | None | None row 14 : None | team totals | None | None | None | 357 | 168/408 | 41 | 2/10 | 20 | 15/57 | 26 | 64 | 179 | 243 | 109 | 84 | 35 | 7 | 93 | 83 ] Execute this SQL based on the above table: select max ( minutes )
212.0
[ 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 ( peak reached )
21
[ header: date | opponents | h / a | result f - a | scorers | attendance row 1 : 26 august 1933 | plymouth argyle | a | 0 - 4 | None | 25700 row 2 : 30 august 1933 | nottingham forest | h | 0 - 1 | None | 16934 row 3 : 2 september 1933 | lincoln city | h | 1 - 1 | green | 16987 row 4 : 7 september 1933 | nottingham forest | a | 1 - 1 | stewart | 10650 row 5 : 9 september 1933 | bolton wanderers | h | 1 - 5 | stewart | 21779 row 6 : 16 september 1933 | brentford | a | 4 - 3 | brown (2), frame, hine | 17180 row 7 : 23 september 1933 | burnley | h | 5 - 2 | dewar (4), brown | 18411 row 8 : 14 october 1933 | bradford park avenue | a | 1 - 6 | hine | 11033 row 9 : 21 october 1933 | bury | a | 1 - 2 | byrne | 15008 row 10 : 25 november 1933 | bradford city | h | 2 - 1 | dewar, own goal | 20902 row 11 : 2 december 1933 | port vale | a | 3 - 2 | black, brown, dewar | 10316 row 12 : 9 december 1933 | notts county | h | 1 - 2 | dewar | 15564 row 13 : 16 december 1933 | swansea town | a | 1 - 2 | hine | 6591 row 14 : 23 december 1933 | millwall | h | 1 - 1 | dewar | 12043 row 15 : 26 december 1933 | grimsby town | a | 3 - 7 | byrne (2), frame | 15801 row 16 : 6 january 1934 | lincoln city | a | 1 - 5 | brown | 6075 row 17 : 20 january 1934 | bolton wanderers | a | 1 - 3 | ball | 11887 row 18 : 3 february 1934 | burnley | a | 4 - 1 | cape (2), green, stewart | 9906 row 19 : 10 february 1934 | oldham athletic | h | 2 - 3 | cape, green | 24480 row 20 : 24 february 1934 | bradford park avenue | h | 0 - 4 | None | 13389 row 21 : 3 march 1934 | bury | h | 2 - 1 | ball, gallimore | 11176 row 22 : 10 march 1934 | hull city | a | 1 - 4 | ball | 5771 row 23 : 17 march 1934 | fulham | h | 1 - 0 | ball | 17565 row 24 : 24 march 1934 | southampton | a | 0 - 1 | None | 4840 row 25 : 30 march 1934 | west ham united | h | 0 - 1 | None | 29114 row 26 : 31 march 1934 | blackpool | h | 2 - 0 | cape, hine | 20038 row 27 : 2 april 1934 | west ham united | a | 1 - 2 | cape | 20085 row 28 : 7 april 1934 | bradford city | a | 1 - 1 | cape | 9258 row 29 : 14 april 1934 | port vale | h | 2 - 0 | brown, mcmillen | 14777 row 30 : 21 april 1934 | notts county | a | 0 - 0 | None | 9645 row 31 : 28 april 1934 | swansea town | h | 1 - 1 | topping | 16678 row 32 : 5 may 1934 | millwall | a | 2 - 0 | cape, manley | 24003 ] Execute this SQL based on the above table: select sum ( attendance ) where result f - a in ( '0 - 0' , '2 - 1' )
41723.0
[ header: date | venue | score | victor | comments | match reports row 1 : 24 november 2012 | millennium stadium, cardiff | 10 - 33 | new zealand | 2012 autumn international | None row 2 : 27 november 2010 | millennium stadium, cardiff | 25 - 37 | new zealand | 2010 autumn international | bbc row 3 : 26 june 2010 | waikato stadium, hamilton | 29 - 10 | new zealand | 2010 mid-year rugby test series | None row 4 : 19 june 2010 | carisbrook, dunedin | 42 - 9 | new zealand | 2010 mid-year rugby test series | stuff row 5 : 7 november 2009 | millennium stadium, cardiff | 12 - 19 | new zealand | 2009 autumn international | bbc row 6 : 25 november 2006 | millennium stadium, cardiff | 10 - 45 | new zealand | 2006 autumn international | bbc row 7 : 5 november 2005 | millennium stadium, cardiff | 3 - 41 | new zealand | 2005 autumn internationals | bbc row 8 : 20 november 2004 | millennium stadium, cardiff | 25 - 26 | new zealand | 2004 autumn internationals | bbc row 9 : 2 november 2003 | stadium australia, sydney | 53 - 37 | new zealand | 2003 rugby world cup | bbc row 10 : 23 june 2003 | waikato stadium, hamilton | 55 - 3 | new zealand | None | None row 11 : 29 november 1997 | wembley stadium, london | 7 - 42 | new zealand | 1997 new zealand rugby union tour of | None row 12 : 31 may 1995 | ellis park, johannesburg | 34 - 9 | new zealand | 1995 rugby world cup | None row 13 : 4 november 1989 | national stadium, cardiff | 9 - 34 | new zealand | 1989 new zealand rugby union tour | None row 14 : 11 june 1988 | eden park, auckland | 54 - 9 | new zealand | 1988 wales tour | None row 15 : 28 may 1988 | lancaster park, christchurch | 52 - 3 | new zealand | 1988 wales tour | None row 16 : 14 june 1987 | ballymore, brisbane | 49 - 6 | new zealand | 1987 rugby world cup | None row 17 : 1 november 1980 | national stadium, cardiff | 3 - 23 | new zealand | 1980 nz tour | None row 18 : 2 december 1972 | national stadium, cardiff | 16 - 19 | new zealand | 1972/73 nz tour | None row 19 : 14 june 1969 | eden park, auckland | 33 - 12 | new zealand | 1969 wales tour | None row 20 : 31 may 1969 | lancaster park, christchurch | 19 - 0 | new zealand | 1969 wales tour | None row 21 : 11 november 1967 | national stadium, cardiff | 6 - 13 | new zealand | 1967 new zealand rugby union tour of | None row 22 : 21 december 1963 | national stadium, cardiff | 0 - 6 | new zealand | 1963/64 nz tour | None row 23 : 21 december 1935 | national stadium, cardiff | 13 - 12 | wales | 1935/36 nz tour | None row 24 : 16 december 1905 | cardiff arms park, cardiff | 3 - 0 | wales | the originals tour | None ] Execute this SQL based on the above table: select venue where score = '0 - 6'
national stadium, cardiff
[ header: operators | named trains | destination | year begun | year discontinued row 1 : baltimore and ohio | capitol limited | chicago, illinois via | 1923 | 1958 row 2 : baltimore and ohio | metropolitan special | st. louis, missouri | ca. 1920 | 1958 row 3 : baltimore and ohio | national limited | st. louis, missouri | 1925 | 1958 row 4 : baltimore and ohio | royal blue | washington, d.c | 1890 | 1958 row 5 : central railroad of new jersey | blue comet | atlantic city, new jersey | 1929 | 1941 row 6 : reading railroad with the central railroad of new jersey | crusader | philadelphia, pennsy | 1937 | 1967 row 7 : reading railroad with the central railroad of new jersey | harrisburg special | harrisburg, pennsyl | None | None row 8 : reading railroad with the central railroad of new jersey | queen of the valley | harrisburg, pennsyl | None | 1967 row 9 : reading railroad with the central railroad of new jersey | wall street | philadelphia, pennsy | None | None row 10 : reading railroad with the central railroad of new jersey | williamsporter | williamsport, pennsyl | None | None ] Execute this SQL based on the above table: select named trains where year begun > ( select year begun where named trains = 'blue comet' ) order by year begun limit 1
crusader
[ header: week # | theme | song choice | original artist | order # | result row 1 : audition | auditioner's choice | "tempos modernos" | lulu santos | None | advanced row 2 : theater | first solo | "a sombra da maldade" | cidade negra | None | advanced row 3 : top 30 | semi-final/group 3 | "noite do prazer" | claudio zoli | 10 | advanced row 4 : top 10 | my idol | "paraiso" | claudio zoli | 6 | safe row 5 : top 9 | male singers | "ultimo romantico" | lulu santos | 8 | safe row 6 : top 8 | female singers | "lanterna dos afo | cassia eller | 1 | safe row 7 : top 7 | birth year songs | "frisson" | tunai | 4 | safe row 8 : top 6 | jovem pan hits | "do seu lado" | jota quest | 6 | safe row 9 : top 5 | jovem guarda | "o bom" | eduardo araujo | 3 | safe row 10 : top 5 | jovem guarda | "vem me ajudar" | the fevers | 8 | safe row 11 : top 4 | brazil regional | "eva" | radio taxi | 3 | safe row 12 : top 4 | brazil regional | "admiravel gado novo | ze ramalho | 7 | safe row 13 : top 3 | contestant's choice | "as sete vampiras | leo jaime | 2 | safe row 14 : top 3 | contestant's choice | "eu me rendo" | fabio junior | 5 | safe row 15 : top 2 | winner's single | "deixo a voz me | leandro lopes | 2 | winner row 16 : top 2 | challenging songs | "queixa" | caetano veloso | 4 | winner row 17 : top 2 | judge's choice | "quero te encon | kid abelha | 6 | winner row 18 : top 2 | best of the season | "paraiso" | claudio zoli | 8 | winner row 19 : top 2 | celebrity duet | "admiravel gado novo | ze ramalho | 10 | winner ] Execute this SQL based on the above table: select theme where order # > 7 order by order # asc limit 1
male singers
[ header: district | senator | party | caucus | first elected | counties represented row 1 : 1 | kenneth p. lavalle | republican | republican | 1976 | suffolk row 2 : 3 | lee zeldin | republican | republican | 2010 | suffolk row 3 : 8 | vacant | None | None | None | nassau, suffo row 4 : 10 | james sanders, j | democratic | democratic | 2012 | queens row 5 : 11 | tony avella | democratic | democratic | 2010 | queens row 6 : 13 | jose peralta | democratic | democratic | 2010 | queens row 7 : 14 | malcolm smith | democratic | no caucus | 2000 | queens row 8 : 15 | joseph addabbo, j | democratic | democratic | 2008 | queens row 9 : 16 | toby ann stavisky | democratic | democratic | 1999 | queens row 10 : 17 | simcha felder | democratic | republican | 2012 | brooklyn row 11 : 20 | vacant | None | None | None | brooklyn row 12 : 24 | andrew j. lanza | republican | republican | 2006 | staten island row 13 : 25 | velmanette montgomery | democratic | democratic | 1984 | brooklyn row 14 : 26 | daniel squadron | democratic | democratic | 2008 | brooklyn, manhattan row 15 : 27 | brad hoylman | democratic | democratic | 2012 | manhattan row 16 : 28 | liz krueger | democratic | democratic | 2002 | manhattan row 17 : 29 | jose m. serrano | democratic | democratic | 2004 | manhattan, the bronx row 18 : 31 | adriano espaillat | democratic | democratic | 2010 | manhattan row 19 : 32 | ruben diaz, sr | democratic | democratic | 2002 | the bronx row 20 : 33 | gustavo rivera | democratic | democratic | 2010 | the bronx row 21 : 35 | andrea stewart-cousins | democratic | democratic | 2006 | westchester row 22 : 37 | george s. latimer | democratic | democratic | 2012 | westchester row 23 : 40 | gregory r. ball | republican | republican | 2010 | dutchess, putnam, westchester row 24 : 41 | terry w. gipson | democratic | democratic | 2012 | dutchess, putnam row 25 : 42 | john bonacic | republican | republican | 1998 | delaware, orange, sulliv row 26 : 45 | betty little | republican | republican | 2002 | clinton, essex, fran row 27 : 46 | cecilia tkaczyk | democratic | democratic | 2012 | albany, greene, montgomery row 28 : 47 | joseph griffo | republican | republican | 2006 | lewis, oneida, saint row 29 : 48 | patty ritchie | republican | republican | 2010 | jefferson, oswego, row 30 : 50 | john defrancisco | republican | republican | 1992 | cayuga, onondaga row 31 : 51 | james seward | republican | republican | 1986 | cayuga, chenango, cort row 32 : 52 | thomas w. libous | republican | republican | 1988 | broome, chenango, delaware ] Execute this SQL based on the above table: select counties represented order by first elected desc limit 1
queens
[ header: city/municipality | no. of barangays | area (km2) | population (2010 census) | pop. density (per km2) row 1 : angono | 10 | 26.22 | 102,407 | 3,905.68 row 2 : antipolo | 16 | 306.10 | 677,741 | 2,214.12 row 3 : baras | 10 | 84.93 | 32,609 | 383.95 row 4 : binangonan | 40 | 66.34 | 249,872 | 3,766.54 row 5 : cainta | 7 | 42.99 | 311,845 | 7,253.90 row 6 : cardona | 18 | 28.56 | 47,414 | 1,660.15 row 7 : jalajala | 11 | 44.12 | 30,074 | 681.64 row 8 : morong | 8 | 37.58 | 52,194 | 1,388.88 row 9 : pililla | 9 | 69.95 | 59,527 | 850.99 row 10 : rodriguez | 11 | 312.70 | 280,904 | 898.32 row 11 : san mateo | 15 | 55.09 | 205,255 | 3,725.81 row 12 : tanay | 19 | 200.00 | 98,879 | 494.3 row 13 : taytay | 5 | 38.80 | 288,956 | 7,447.32 row 14 : teresa | 9 | 18.61 | 47,163 | 2,534.28 ] Execute this SQL based on the above table: select count ( city/municipality ) where population (2010 census) < 379
0
[ header: rank | bib | athlete | country | time | deficit | note row 1 : 8 | 37 | laure barthelemy | france | 3:08.53 | 4.64 | q row 2 : 10 | 27 | magda genuin | italy | 3:09.91 | 6.02 | q row 3 : 11 | 16 | arianna follis | italy | 3:10.41 | 6.52 | q row 4 : 12 | 24 | celine brun-lie | norway | 3:10.45 | 6.56 | q row 5 : 21 | 40 | riikka sarasoja | finland | 3:13.49 | 9.6 | q row 6 : 24 | 9 | perianne jones | canada | 3:13.95 | 10.06 | q row 7 : 26 | 21 | anastasia dotsenko | russia | 3:15.03 | 11.14 | q row 8 : 27 | 33 | daria gaiazova | canada | 3:15.10 | 11.21 | q row 9 : 29 | 7 | jessica diggins | united states | 3:15.24 | 11.35 | q row 10 : 32 | 38 | natalya korostelyova | russia | 3:15.83 | 11.94 | None row 11 : 37 | 26 | madoka natsumi | japan | 3:17.89 | 14 | None row 12 : 38 | 28 | pirjo muranen | finland | 3:18.21 | 14.32 | None row 13 : 39 | 54 | elena soboleva | russia | 3:19.55 | 15.66 | None row 14 : 40 | 11 | elena kolomina | kazakhstan | 3:20.17 | 16.28 | None row 15 : 53 | 59 | rosamund musgrave | united kingdom | 3:26.34 | 22.45 | None row 16 : 54 | 1 | anastasia slonova | kazakhstan | 3:26.51 | 22.62 | None row 17 : 56 | 4 | piret pormeister | estonia | 3:27.34 | 23.45 | None row 18 : 57 | 64 | maryna antsybor | ukraine | 3:28.17 | 24.28 | None row 19 : 62 | 63 | monika gyorgy | romania | 3:32.20 | 28.31 | None row 20 : 63 | 71 | niviaq chemnitz | denmark | 3:32.56 | 28.67 | None row 21 : 67 | 67 | zoya zaviediei | ukraine | 3:38.21 | 31.32 | None row 22 : 74 | 86 | irina khodiakov | kyrgyzstan | 3:52.24 | 48.35 | None row 23 : 78 | 77 | agnes simon | hungary | 4:04.44 | +1:00.55 | None row 24 : 82 | 73 | syuzanna varosyan | armenia | 4:25.77 | +1:21.88 | None row 25 : 84 | 76 | valya varosyan | armenia | 4:30.74 | +1:26.85 | None row 26 : 85 | 80 | zane eglite | latvia | 4:37.37 | +1:33.48 | None row 27 : None | 61 | brooke gosling | canada | dns | None | None ] Execute this SQL based on the above table: select country order by rank limit 1
canada
[ header: year | party affiliation | winner | number of votes | party affiliation | loser | number of votes | percentage of votes row 1 : 1920 | republican | william f. kopp | 38100 | democrat | e.w. mcmanus | 20977 | 64% - 36% row 2 : 1930 | republican | william f. kopp | 27053 | democrat | max a. conrad | 15538 | 63% - 36% row 3 : 1932 | democrat | edward c. eich | 55378 | republican | william f. kopp | 46738 | 54% - 46% row 4 : 1936 | democrat | edward c. eich | 55721 | republican | john n. calhoun | 53474 | 51% - 49% row 5 : 1938 | republican | thomas e. martin | 46636 | democrat | james p. gaffney | 33765 | 58% - 42% row 6 : 1940 | republican | thomas e. martin | 70120 | democrat | mrs. zoe | 46040 | 60% - 40% row 7 : 1946 | republican | thomas e. martin | 52488 | democrat | clair a. williams | 32849 | 62% - 38% row 8 : 1948 | republican | thomas e. martin | 70959 | democrat | james d. france | 60860 | 53% - 46% row 9 : 1950 | republican | thomas e. martin | 70058 | democrat | james d. france | 43140 | 62% - 38% row 10 : 1954 | republican | fred schwengel | 67128 | democrat | john o'connor | 50577 | 57% - 43% row 11 : 1960 | republican | fred schwengel | 104737 | democrat | walter j. guenther | 67287 | 61% - 39% row 12 : 1962 | republican | fred schwengel | 65975 | democrat | harold stephens | 42000 | 61% - 39% row 13 : 1964 | democrat | john r. schmidhauser | 84042 | republican | fred schwengel | 80697 | 51% - 49% row 14 : 1966 | republican | fred schwengel | 64795 | democrat | john r. schmidhauser | 60534 | 51% - 48% row 15 : 1968 | republican | fred schwengel | 91419 | democrat | john r. schmidhauser | 81049 | 53% - 47% row 16 : 1970 | republican | fred schwengel | 60270 | democrat | edward mezvinsky | 59505 | 50% - 49% row 17 : 1974 | democrat | edward mezvinsky | 75687 | republican | james a. leach | 63540 | 54% - 46% row 18 : 1978 | republican | james a. leach | 79940 | democrat | richard e. meyers | 45037 | 63% - 36% row 19 : 1982 | republican | james a. leach | 89595 | democrat | bill gluba | 61734 | 59% - 41% row 20 : 1984 | republican | james a. leach | 131182 | democrat | kevin ready | 65293 | 68% - 33% row 21 : 1986 | republican | james a. leach | 86834 | democrat | john r. whitaker | 43985 | 66% - 34% ] Execute this SQL based on the above table: select year - number of votes where number of votes = 84042
-82078.0
[ header: country | total gdp (nominal) (billion us$) | gdp per capita (us$, ppp) | gdp growth, 2007-2011 (in %) | hdi row 1 : algeria | 188.7 | 8715 | 2.7 | 0.733 row 2 : angola | 101 | 5930 | 9.1 | 0.446 row 3 : benin | 7.3 | 1628 | 3.9 | 0.437 row 4 : botswana | 17.6 | 14753 | 3 | 0.654 row 5 : burkina faso | 10.2 | 1310 | 4.9 | 0.37 row 6 : cameroon | 25.5 | 2383 | 3.1 | 0.532 row 7 : chad | 9.5 | 1531 | 2.9 | 0.388 row 8 : comoros | 0.6 | 1117 | 1.5 | 0.561 row 9 : democratic republic of the congo | 15.6 | 375 | 5.9 | 0.411 row 10 : congo | 14.7 | 4429 | 4.9 | 0.548 row 11 : ivory coast | 24.1 | 1803 | 1.1 | 0.432 row 12 : egypt | 229.5 | 6324 | 5.2 | 0.708 row 13 : equatorial guinea | 19.8 | 36515 | 8.8 | 0.642 row 14 : eritrea | 2.6 | 589 | 1.3 | 0.483 row 15 : ethiopia | 31.7 | 1116 | 9.7 | 0.406 row 16 : gabon | 17.1 | 15960 | 3.6 | 0.677 row 17 : ghana | 39.2 | 1884 | 8.3 | 0.553 row 18 : guinea | 5.1 | 1128 | 2.4 | 0.456 row 19 : guinea-bissau | 1 | 1251 | 3.6 | 0.374 row 20 : kenya | 33.6 | 1718 | 4.2 | 0.521 row 21 : lesotho | 2.4 | 1715 | 4.9 | 0.549 row 22 : liberia | 1.2 | 577 | 11.6 | None row 23 : libya | 62.4 (2009) | 16,855 (2009) | 4 | 0.769 row 24 : malawi | 5.7 | 918 | 6.8 | 0.437 row 25 : mali | 10.6 | 1099 | 4.5 | 0.38 row 26 : mauritania | 4.1 | 2571 | 2.8 | 0.55 row 27 : mauritius | 11.3 | 14523 | 4.5 | 0.804 row 28 : morocco | 100.2 | 4986 | 4.3 | 0.646 row 29 : mozambique | 12.8 | 982 | 6.9 | 0.384 row 30 : namibia | 12.3 | 6826 | 3.7 | 0.65 row 31 : niger | 6 | 732 | 4.3 | 0.374 row 32 : nigeria | 235.9 | 2532 | 6.8 | 0.67 row 33 : reunion (france) | 15.98 | 8,233 (nominal) | None | 0.850 (2003) row 34 : rwanda | 6.4 | 1251 | 7.3 | 0.452 row 35 : sao tome and principe | 0.2 | 2058 | 5.7 | 0.654 row 36 : senegal | 14.3 | 1981 | 3.5 | 0.499 row 37 : seychelles | 1 | 26420 | 4.2 | 0.843 row 38 : sierra leone | 2.2 | 877 | 5.2 | 0.336 row 39 : somalia | (n/a) | None | None | None row 40 : south africa | 408.2 | 11035 | 2.7 | 0.674 row 41 : south sudan | None | None | None | None row 42 : sudan | 55.1 | 2141 | 4.1 | 0.526 row 43 : swaziland | 4 | 6099 | 2.1 | 0.547 row 44 : tanzania | 23.7 | 1521 | 6.8 | 0.467 ] Execute this SQL based on the above table: select avg ( gdp growth, 2007-2011 (in %) )
4.8
[ header: no. | name | term of office | president(s) served under row 1 : 1 | william bennett | 1989 - 1991 | george h. w. bush row 2 : 2 | bob martinez | march 28, 1991 - january 20, | george h. w. bush row 3 : 3 | lee p. brown | january 1993 - december | bill clinton row 4 : 4 | barry mccaffrey | february 29, 1996 - janu | bill clinton row 5 : 5 | john p. walters | december 7, 2001 - janu | george w. bush row 6 : 6 | gil kerlikowske | may 7, 2009 - march 6, 2014 | barack obama row 7 : acting | michael botticelli | march 6, 2014 - | barack obama ] Execute this SQL based on the above table: select term of office where no. < 'acting'
1989 - 1991, march 28, 1991 - january 20, 1993, january 1993 - december 12, 1995, february 29, 1996 - january 4, 2001, december 7, 2001 - january 19, 2009, may 7, 2009 - march 6, 2014
[ header: model name | date | type | thrust (kg) / power (eshp) | fitted to row 1 : rtd-1/vdr-2 | 1938 | two-stage centrifugal compressor turbojet | 500 kg estimated | test-bed only row 2 : s-18/vdr-3 | 1945 | axial flow compressor turbojet | 1,250 kg | gu-vrd project row 3 : tr-1 | 1946 | 8-stage axial flow compressor turbojet | 1,300 kg | alekseyev i-21, ily row 4 : tr-1a | 1947 | 8-stage axial flow compressor turbojet | 1,500 kg | None row 5 : tr-2 | 1947 | None | None | projected growth version of tr-1 row 6 : tr-3 and al-5 | 1949 | 7-stage axial-flow turbojet | 4,600 kg (at qualification in 1950) | il-30, il-46, la row 7 : tr-7 | 1950s | supersonic compressor prototype of the al-7 | None | prototype for al-7 row 8 : al-7 | 1954 | 9-stage supersonic compressor turbojet | 6,500 kg | il-54, su-7b, row 9 : al-21 | 1961 | 14-stage axial compressor with variable stator | 11,000 kg | yak-38, tu-28 row 10 : al-31 | 1976 | twin-spool turbofan 0.6 bypass ratio | 13,300 kg | su-27, su-30, su-34 ] Execute this SQL based on the above table: select count ( model name )
10
[ header: location | mile | destinations | notes row 1 : woodmont | 0 | i-68 / us 40 (national | western terminus; i-68 exit row 2 : woodmont | 0.12 | us 40 scenic west (national pike) | us 40 scenic is county-maintained but signed row 3 : woodmont | 0.25 | woodmont road south | former md 453 row 4 : hancock | 3.52 | us 522 south - berkeley | ramp is unsigned us 522b row 5 : hancock | 3.67 | limestone road north | unsigned md 894; old alignment row 6 : hancock | 3.75 | virginia avenue to us 522 north | unsigned us 522c row 7 : hancock | 5.91 | i-70 / us 40 east ( | eastern terminus; i-70 exit 3 ] Execute this SQL based on the above table: select mile where destinations = 'us 40 scenic west (national pike)'
0.12
[ header: year | album | peak us | peak us holiday | certifications (sales threshold) row 1 : 1990 | go west young man released: octo | 74 | None | riaa: platinum mc row 2 : 1992 | change your world released: september 1, 1992 label | 86 | None | riaa: platinum row 3 : 1995 | i'll lead you home released: august | 16 | None | riaa: platinum row 4 : 1998 | live the life released: april 28, | 23 | None | riaa: gold row 5 : 1998 | christmastime released: october 13, | 90 | 4 | riaa: gold row 6 : 1999 | this is your time released: november 23, | 21 | None | riaa: gold ] Execute this SQL based on the above table: select album order by album desc limit 1
this is your time released: november 23, 1999 label: reunion format: cd
[ header: | date of award | honour/award title | reason for award | awarding body row 1 : 1 | 1973 | lenin peace prize | None | ussr row 2 : 2 | 1980 | frederic joliot curie gold | None | None row 3 : 3 | 1984 | medaglia pontificia ( | None | the vatican city,italy row 4 : 4 | 1988 | grant master order merit: the grant cruz ( | None | brazil row 5 : 5 | 1988 | ho chi minh peace award | None | vietnam row 6 : 6 | 1988 | the namibia freedom award | for his leadership role in the struggle against aparthe | california state university, us row 7 : 7 | 1988 | honorary citizenship of the city of atlanta | for his leadership role in the struggle for freedom, | atlanta, usa row 8 : 8 | 1988 | recognition granted | None | city and county of san francisco row 9 : 9 | 1988 | recognition granted | None | city of chicago row 10 : 10 | 1988 | recognition granted | None | city of east palo alto row 11 : 11 | 1990 | indira gandhi peace prize | in recognition of his outstanding contribution in leading the people | india row 12 : 12 | 1991 | medaglia pontificia ( | None | the vatican city, italy row 13 : 13 | 1991 | order of jose marti | None | cuba row 14 : 14 | 1991 | ordre du merite congo | None | republic of congo row 15 : 15 | 1992 | chief of golden heart | None | kenya row 16 : 16 | 1992 | order of the national flag (first class) | None | democratic people's republic of korea row 17 : 17 | 1994 | "grand cordon" decoration | None | tunisia row 18 : 18 | 1995 | grand master of the order of welwitschi | None | namibia row 19 : 19 | 1995 | order of liberty (highest cross) | None | portugal row 20 : 20 | 1995 | africa prize for leadership for the sustainable end of hunger | None | the hunger project row 21 : 21 | 1996 | order of good hope (gold) | None | south africa row 22 : 22 | 2002 | order of friendship award | None | vietnam row 23 : 23 | 2003 | o.b.f.f.s | None | romania row 24 : 24 | 2003 | fellowship award of the institute of governance and social research | in recognition of his contribution to the liberation of | institute of governance and social research, nigeria row 25 : 25 | 2004 | companion of the order of the star of ghan | as an expression of respect and admiration of the | ghana row 26 : 26 | 2004 | founding president of the republic of namibia | in recognition of his dedication to his selfless sacrifice | namibian parliament row 27 : 27 | 2004 | lifetime conservation award | None | cheetah conservation fund (n row 28 : 28 | 2008 | international kim il sung prize certificate | None | india row 29 : 29 | 2010 | sir seretse kham | None | sadc ] Execute this SQL based on the above table: select count ( * ) where awarding body = 186
0
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 22 june 2008 | addis abeba | mauritania | 6-1 | win | 2010 wc qualification row 2 : 2 | 30 november 2009 | nairobi | djibouti | 5-0 | win | 2009 cecafa cup row 3 : 3 | 8 october 2011 | addis abeba | madagascar | 4-2 | win | 2012 caf qualification row 4 : 4 | 2 december 2011 | dar es salaam | malawi | 1-1 | draw | 2011 cecafa cup row 5 : 5 | 17 june 2012 | cotonou | benin | 1-1 | draw | 2013 africa cup of nations qualifier row 6 : 6 | 8 september 2012 | khartoum | sudan | 3-5 | loss | 2013 africa cup of nations qualifier row 7 : 7 | 14 september 2012 | addis abeba | sudan | 2-0 | win | 2013 africa cup of nations qualifier row 8 : 8 | 21 january 2013 | nelspruit | zambia | 1-1 | draw | 2013 africa cup of nations ] Execute this SQL based on the above table: select ( select id where result = 'draw' ) - ( select id where result = 'draw' ) - 1
-1
[ header: nation | 1986 | 1989 | 1991 | 1997 | 1999 | 2000 | 2003 | 2005 | 2007 | 2009 | 2011 | years row 1 : argentina | 4th | None | 4th | 4th | 3rd | 4th | 2nd | 2nd | 2nd | 1st | 2nd | 10 row 2 : brazil | 3rd | 3rd | 3rd | 1st | 1st | 1st | 1st | 1st | 1st | 2nd | 1st | 11 row 3 : canada | 2nd | 1st | 2nd | 2nd | None | None | 5th | 4th | 6th | None | None | 7 row 4 : chile | None | None | None | None | None | None | None | None | None | 3rd | 5th | 2 row 5 : colombia | None | None | None | None | 6th | 6th | None | None | None | None | None | 2 row 6 : costa rica | None | None | None | 5th | None | None | None | None | None | None | None | 1 row 7 : cuba | None | None | None | None | 2nd | None | None | None | None | None | 3rd | 2 row 8 : dominican republic | None | None | None | None | None | None | 6th | 5th | 3rd | 4th | 6th | 5 row 9 : greenland | None | None | None | None | 5th | 3rd | None | None | None | None | None | 2 row 10 : guatemala | None | None | None | None | None | None | 7th | None | None | None | None | 1 row 11 : mexico | None | 4th | None | 6th | None | 5th | None | None | 8th | 5th | 7th | 6 row 12 : paraguay | None | None | 6th | None | None | None | None | None | 4th | 7th | None | 3 row 13 : puerto rico | None | None | 7th | None | None | None | None | None | None | None | None | 1 row 14 : uruguay | None | None | 5th | 3rd | 4th | 2nd | 3rd | 3rd | 5th | 6th | 4th | 9 row 15 : united states | 1st | 2nd | 1st | None | None | None | 4th | 6th | 7th | None | None | 6 row 16 : venezuela | None | None | None | None | None | None | None | None | None | None | 8th | 1 ] Execute this SQL based on the above table: select count ( * ) where years >= 4
7
[ header: airline | icao | iata | callsign | commenced operations row 1 : air uganda | uga | u7 | uganda | 2007 row 2 : eagle air (uganda) | egu | h7 | african eagle | 1994 row 3 : fly540 uganda | ful | None | orange crane | 2008 row 4 : pearl air services | pby | None | pearl services | None row 5 : royal daisy airlines | kdr | 6d | darlines | 2005 row 6 : skyjet airlines | sju | uq | skyjet | 2003 row 7 : africa safari air | asa | as | asa | 2013 row 8 : uganda air cargo | ucc | None | uganda cargo | 1994 row 9 : united airlines limited | None | None | None | None ] Execute this SQL based on the above table: select airline order by commenced operations desc limit 1
africa safari air
[ header: incumbent | reason for vacancy | appointed successor | date of appointment | elected successor | date of election row 1 : l. b. lindsay | disqualified, never took office | henry e. prickett | november 19, 1867 | thomas b. hart | january 1868 row 2 : john hailey | never took office | charles himrod | july 10, 1871 | george h. twitche | july 8, 1872 row 3 : sol hasbrouck | resigned november 5, 1885 | james w. huston | december 28, 1885 | peter j. pefley | july 1887 row 4 : harry fritchman | resigned may 25, 1912 | arthur hodges | may 25, 1912 | arthur hodges | april 1, 1913 row 5 : j. w. robinson | recalled june 1, 1916 | s. h. hays | june 6, 1916 | s. h. hays | april 1917 row 6 : herbert f. lemp | died may 6, 1927 | walter f. hansen | may 6, 1927 | james p. pope | april 1929 row 7 : james p. pope | resigned february 13, 1933 | ross cady | february 13, 1933 | j. j. mccu | april 1933 row 8 : byron e. hyat | died november 11, 1936 | j. l. edle | november 11, 1936 | j. l. edle | april 1937 row 9 : h. w. whillock | resigned may 11, 1942 | austin walker | may 11, 1942 | austin walker | april 1943 row 10 : austin walker sam s | died october 31, 1945 re | sam s. griffin | october 31, 1945 february | potter p. howard | april 1947 row 11 : dirk kempthorne | resigned january 5, 1993 | h. brent coles | january 5, 1993 | h. brent coles | november 1993 row 12 : h. brent coles | resigned february 15, 2003 | carolyn terteling-p | february 18, 2003 | david h. bieter | november 2003 ] Execute this SQL based on the above table: select count ( date of appointment )
12
[ header: pos | rider | manufacturer | time/retired | points row 1 : 1 | loris capirossi | honda | 43:06.089 | 25 row 2 : 2 | doriano romboni | honda | 0.689 | 20 row 3 : 3 | max biaggi | aprilia | 1.181 | 16 row 4 : 4 | ralf waldmann | honda | 5.123 | 13 row 5 : 5 | jean-michel bayle | aprilia | 5.528 | 11 row 6 : 6 | nobuatsu aoki | honda | 5.821 | 10 row 7 : 7 | jean philippe ruggia | aprilia | 9.018 | 9 row 8 : 8 | tetsuya harada | yamaha | 24.059 | 8 row 9 : 9 | tadayuki okad | honda | 29.043 | 7 row 10 : 10 | wilco zeelenberg | honda | 36.273 | 6 row 11 : 11 | toshihiko honma | yamaha | 41.787 | 5 row 12 : 12 | adrien bosshard | honda | 52.489 | 4 row 13 : 13 | carlos checa | honda | 57.206 | 3 row 14 : 14 | eskil suter | aprilia | +1:01.503 | 2 row 15 : 15 | luis maurel | honda | +1:03.353 | 1 row 16 : 16 | patrick vd goorbergh | aprilia | +1:04.277 | None row 17 : 17 | adolf stadler | honda | +1:16.427 | None row 18 : 18 | juan borja | honda | +1:19.607 | None row 19 : 19 | chrisrian boudinot | aprilia | +1:20.163 | None row 20 : 20 | bernd kassner | aprilia | +1:20.761 | None row 21 : 21 | andreas preining | aprilia | +1:26.864 | None row 22 : 22 | noel ferro | honda | +1:27.009 | None row 23 : 23 | sebastien scarnato | honda | +1:36.321 | None row 24 : 24 | krisse kaas | yamaha | +1 lap | None row 25 : 25 | donnie hough | honda | +1 lap | None row 26 : ret | rodney fee | honda | retirement | None row 27 : ret | jurgen vd goorbergh | aprilia | retirement | None row 28 : ret | luis d'antin | honda | retirement | None row 29 : ret | manuel hernandez | aprilia | retirement | None row 30 : ret | frederic protat | honda | retirement | None row 31 : ret | giuseppe fiorillo | honda | retirement | None row 32 : ret | jose luis cardoso | aprilia | retirement | None row 33 : ret | enrique de juan | aprilia | retirement | None row 34 : ret | alessandro gramigni | aprilia | retirement | None ] Execute this SQL based on the above table: select count ( manufacturer ) where manufacturer = 'aprilia'
13
[ header: year | single | peak chart positions fin | peak chart positions nor | peak chart positions swe | album row 1 : 1994 | "together" | None | None | None | finally row 2 : 1994 | "in your dreams" | None | None | None | finally row 3 : 1995 | "mirror, mirror" | None | 6 | None | finally row 4 : 1995 | "stars in the night" | None | None | None | finally row 5 : 1996 | "you never know" | 12 | 4 | None | finally row 6 : 1996 | "let it all be sunshine" | 13 | None | None | finally row 7 : 1997 | "all my life" | None | None | None | finally row 8 : 1997 | "fly to be free" | None | None | None | finally row 9 : 1998 | "come'n get me" | 6 | None | None | the take off row 10 : 1998 | "sunny holiday" | None | None | None | the take off row 11 : 1999 | "ticket to fly" | None | None | 48 | the take off row 12 : 1999 | "once you pop (you can't stop | None | None | None | express row 13 : 1999 | "this is how we do it" | None | None | None | express row 14 : 2000 | "push it" | None | None | 53 | express row 15 : 2000 | "sha la long" | None | None | None | express row 16 : 2000 | "come on everybody" | None | None | None | express row 17 : 2001 | "i like it" | None | None | None | in action ] Execute this SQL based on the above table: select count ( * ) where album = 'express'
5
[ header: pos. | athlete | run 1 | run 2 | total row 1 : 1 | aronne pieruz | 50.39 | 58.25 | 1:48.64 row 2 : 2 | filip trejbal | 50.68 | 58.84 | 1:49.52 row 3 : 3 | adam cole | 51.4 | 58.51 | 1:49.91 row 4 : 4 | tague thorson | 51.2 | 59.13 | 1:50.33 row 5 : 5 | jan urfer | 51.54 | 59.1 | 1:50.64 row 6 : 6 | charles christianson | 51.75 | 58.91 | 1:50.66 row 7 : 7 | francesco ghedina | 51.37 | 59.39 | 1:50.94 row 8 : 8 | luca moretti | 52.05 | 58.89 | 1:51.17 row 9 : 9 | cameron barnes | 51.66 | 59.51 | 1:51.37 row 10 : 10 | martin vrablik | 52.77 | 58.6 | 1:51.48 ] Execute this SQL based on the above table: select sum ( pos. ) where athlete != 'adam cole'
52.0
[ header: # | date | opponent | score | win | loss | save | attendance | record row 1 : 106 | august 2 | pirates | 2-3 | rick white (4-5) | bobby munoz (7-4) | dan miceli (2) | 40164 | 51-55 row 2 : 107 | august 3 | pirates | 7-0 | danny jackson (14-5) | steve cooke (4-10) | none | 36542 | 52-55 row 3 : 108 | august 4 | pirates | 1-5 | jon lieber (6-6) | curt schilling (1-8) | none | 37481 | 52-56 row 4 : 109 | august 5 | expos | 0-5 | pedro martinez (10-5) | david west (4-9) | none | 33642 | 52-57 row 5 : 110 | august 6 | expos | 3-4 (11) | john wetteland (4-6) | doug jones (2-4) | jeff shaw (1) | 41699 | 52-58 row 6 : 111 | august 7 | expos | 4-6 | ken hill (16-5) | bobby munoz (7-5) | mel rojas (16) | 45346 | 52-59 row 7 : 112 | august 8 | mets | 2-3 | bobby j. jones (12 | danny jackson (14-6) | john franco (29) | 35977 | 52-60 row 8 : 113 | august 9 | mets | 5-1 | curt schilling (2-8) | mike remlinger (1-5) | none | 31740 | 53-60 row 9 : 114 | august 10 | mets | 2-6 | bret saberhagen ( | david west (4-10) | john franco (30) | 36716 | 53-61 row 10 : 115 | august 11 | mets | 2-1 (15) | tom edens (5-1) | mauro gozzo (3-5) | none | 37605 | 54-61 ] Execute this SQL based on the above table: select attendance where opponent = 'mets'
35977.0, 31740.0, 36716.0, 37605.0
[ header: tie no | home team | score | away team | date row 1 : 1 | enfield | 1-1 | leyton orient | 19 november 1988 row 2 : replay | leyton orient | 2-2 | enfield | 23 november 1988 row 3 : replay | leyton orient | 0-1 | enfield | 28 november 1988 row 4 : 2 | blackpool | 2-1 | scunthorpe united | 19 november 1988 row 5 : 3 | darlington | 1-2 | notts county | 19 november 1988 row 6 : 4 | bath city | 2-0 | grays athletic | 19 november 1988 row 7 : 6 | burnley | 0-2 | chester city | 19 november 1988 row 8 : 7 | preston north end | 1-1 | tranmere rovers | 19 november 1988 row 9 : replay | tranmere rovers | 3-0 | preston north end | 22 november 1988 row 10 : 9 | reading | 4-2 | hendon | 19 november 1988 row 11 : 10 | woking | 1-4 | cambridge united | 19 november 1988 row 12 : 11 | gillingham | 3-3 | peterborough united | 19 november 1988 row 13 : replay | peterborough united | 1-0 | gillingham | 23 november 1988 row 14 : 12 | bolton wanderers | 0-0 | chesterfield | 19 november 1988 row 15 : replay | chesterfield | 2-3 | bolton wanderers | 28 november 1988 row 16 : 13 | grimsby town | 1-0 | wolverhampton wanderers | 19 november 1988 row 17 : 14 | stafford rangers | 2-2 | crewe alexandra | 19 november 1988 row 18 : replay | crewe alexandra | 3-2 | stafford rangers | 22 november 1988 row 19 : 15 | scarborough | 2-1 | stockport county | 19 november 1988 row 20 : replay | doncaster rovers | 2-1 | brandon united | 22 november 1988 row 21 : 17 | fulham | 0-1 | colchester united | 19 november 1988 row 22 : 18 | brentford | 2-0 | halesowen town | 19 november 1988 row 23 : 20 | altrincham | 3-2 | lincoln city | 19 november 1988 row 24 : 23 | mansfield town | 1-1 | sheffield united | 19 november 1988 row 25 : replay | sheffield united | 2-1 | mansfield town | 22 november 1988 row 26 : 25 | halifax town | 1-0 | york city | 19 november 1988 row 27 : 27 | southport | 0-2 | port vale | 19 november 1988 row 28 : 28 | runcorn | 2-2 | wrexham | 19 november 1988 row 29 : replay | wrexham | 2-3 | runcorn | 22 november 1988 row 30 : 29 | torquay united | 2-2 | fareham town | 19 november 1988 row 31 : 30 | kettering town | 2-1 | dartford | 19 november 1988 row 32 : 31 | rotherham united | 3-1 | barrow | 19 november 1988 row 33 : 34 | waterlooville | 1-4 | aylesbury united | 19 november 1988 row 34 : 35 | telford united | 1-1 | carlisle united | 19 november 1988 row 35 : replay | carlisle united | 4-1 | telford united | 22 november 1988 row 36 : 36 | swansea city | 3-1 | northampton town | 19 november 1988 row 37 : 37 | frickley athletic | 0-2 | northwich victoria | 19 november 1988 row 38 : 38 | hartlepool united | 2-0 | wigan athletic | 19 november 1988 row 39 : 39 | welling united | 3-0 | bromsgrove rovers | 19 november 1988 ] Execute this SQL based on the above table: select count ( score ) where score != '1-0'
36
[ header: date | opponents | h/a | result f-a | scorers | attendance row 1 : 27 august 1921 | everton | a | 0-5 | None | 30000 row 2 : 29 august 1921 | west bromwich albion | h | 2-3 | partridge, robinson | 20000 row 3 : 3 september 1921 | everton | h | 2-1 | harrison, spence | 25000 row 4 : 7 september 1921 | west bromwich albion | a | 0-0 | None | 15000 row 5 : 10 september 1921 | chelsea | a | 0-0 | None | 35000 row 6 : 17 september 1921 | chelsea | h | 0-0 | None | 28000 row 7 : 24 september 1921 | preston north end | a | 2-3 | lochhead, partridge | 25000 row 8 : 1 october 1921 | preston north end | h | 1-1 | spence | 30000 row 9 : 15 october 1921 | tottenham hotspur | h | 2-1 | sapsford, spence | 30000 row 10 : 22 october 1921 | manchester city | a | 1-4 | spence | 24000 row 11 : 5 november 1921 | middlesbrough | h | 3-5 | lochhead, sapsford, spence | 30000 row 12 : 12 november 1921 | middlesbrough | a | 0-2 | None | 18000 row 13 : 26 november 1921 | aston villa | h | 1-0 | henderson | 33000 row 14 : 3 december 1921 | bradford city | a | 1-2 | spence | 15000 row 15 : 10 december 1921 | bradford city | h | 1-1 | henderson | 9000 row 16 : 17 december 1921 | liverpool | a | 1-2 | sapsford | 40000 row 17 : 24 december 1921 | liverpool | h | 0-0 | None | 30000 row 18 : 26 december 1921 | burnley | h | 0-1 | None | 15000 row 19 : 2 january 1922 | sheffield united | a | 0-3 | None | 18000 row 20 : 14 january 1922 | newcastle united | h | 0-1 | None | 20000 row 21 : 21 january 1922 | sunderland | a | 1-2 | sapsford | 10000 row 22 : 28 january 1922 | sunderland | h | 3-1 | lochhead, sapsford, spence | 18000 row 23 : 11 february 1922 | huddersfield town | h | 1-1 | spence | 30000 row 24 : 27 february 1922 | huddersfield town | a | 1-1 | sapsford | 30000 row 25 : 11 march 1922 | arsenal | h | 1-0 | spence | 30000 row 26 : 18 march 1922 | blackburn rovers | h | 0-1 | None | 30000 row 27 : 5 april 1922 | arsenal | a | 1-3 | lochhead | 25000 row 28 : 8 april 1922 | bolton wanderers | a | 0-1 | None | 28000 row 29 : 15 april 1922 | oldham athletic | h | 0-3 | None | 30000 row 30 : 17 april 1922 | sheffield united | h | 3-2 | harrison, lochhead, partridge | 28000 row 31 : 22 april 1922 | oldham athletic | a | 1-1 | lochhead | 30000 row 32 : 29 april 1922 | cardiff city | h | 1-1 | partridge | 18000 ] Execute this SQL based on the above table: select count ( date )
32
[ header: draw | artist | song | points | place row 1 : 1 | gonzaga coutinho | "tema para um homem so" | 102 | 5th row 2 : 2 | pedro osorio | "uma cancao comercial" | 123 | 3rd row 3 : 3 | concha | "qualquer dia, quem dir | 78 | 6th row 4 : 4 | gabriela schaaf | "eu so quero" | 132 | 2nd row 5 : 5 | toze brito | "novo canto portugues" | 110 | 4th row 6 : 6 | teresa silva carval | "cantemos ate ser dia" | 52 | 9th row 7 : 7 | florencia | "o comboio do tua | 63 | 8th row 8 : 8 | manuel jose soares | "quando chego a casa | 76 | 7th row 9 : 9 | manuela bravo | "sobe, sobe, bala | 149 | 1st ] Execute this SQL based on the above table: select song where points < ( select points where song = '"novo canto portugues"' ) order by points desc limit 1
"tema para um homem so"
[ header: place | code | area (km2) | population | most spoken language row 1 : beatrix mine | 40701 | 0.17 | 2492 | sotho row 2 : boipatong | 40702 | 0.31 | 1501 | sotho row 3 : brandfort | 40703 | 3.2 | 1516 | afrikaans row 4 : fora | 40704 | 0.05 | 530 | sotho row 5 : ikgomotseng | 40705 | 1.07 | 2254 | tswana row 6 : joel mine | 40706 | 0.11 | 728 | sotho row 7 : lusaka | 40707 | 1.4 | 6110 | sotho row 8 : majwemasweu | 40708 | 2.5 | 10328 | sotho row 9 : makeleketla | 40709 | 1.35 | 6629 | sotho row 10 : masilo | 40710 | 3.02 | 14903 | sotho row 11 : star diamond mine | 40712 | 0.11 | 212 | sotho row 12 : theunissen | 40713 | 15.11 | 1667 | afrikaans row 13 : tshepong | 40714 | 0.54 | 1710 | sotho row 14 : verkeerdevlei | 40715 | 1.22 | 151 | afrikaans row 15 : winburg | 40716 | 70.22 | 3371 | sotho row 16 : remainder of the municipality | 40711 | 6696.44 | 10304 | sotho ] Execute this SQL based on the above table: select most spoken language where most spoken language = 'sotho' group by most spoken language order by count ( * ) desc limit 1
sotho
[ header: season | series | team | races | wins | poles | f/lap | podiums | points | position row 1 : 2009 | star mazda championship | andersen racing | 13 | 1 | 1 | 3 | 6 | 416 | 3rd row 2 : 2010 | star mazda championship | juncos racing | 13 | 7 | 9 | 7 | 12 | 539 | 1st row 3 : 2011 | indy lights | sam schmidt motorsports | 5 | 1 | 1 | 2 | 2 | 145 | 13th row 4 : 2011 | gp3 series | carlin motorsport | 16 | 0 | 0 | 0 | 0 | 10 | 17th row 5 : 2012 | gp3 series | lotus gp | 16 | 1 | 0 | 0 | 5 | 106 | 6th row 6 : 2012 | masters of formula 3 | double r racing | 1 | 0 | 0 | 0 | 0 | None | 15th row 7 : 2012-13 | mrf challenge formula 2000 | mrf challenge | 10 | 4 | 0 | 1 | 6 | 164 | 1st row 8 : 2013 | gp2 series | hilmer motorsport | 2 | 0 | 0 | 0 | 0 | 2 | 26th row 9 : 2013 | gp3 series | art grand prix | 16 | 1 | 1 | 1 | 6 | 126 | 3rd row 10 : 2013 | indycar series | a.j. foyt enterprises | 1 | 0 | 0 | 0 | 0 | 11 | 34th row 11 : 2013 | indy lights | team moore racing | 1 | 0 | 0 | 0 | 1 | 35 | 13th ] Execute this SQL based on the above table: select position order by points desc limit 1
1st
[ header: title | alternate title(s) | year | manufacturer | genre(s) | max. players row 1 : ocean hunter, the | None | 1998 | sega | shooting gallery | 2 row 2 : off road challenge | None | 1997 | midway | racing | 1 row 3 : off road thunder | None | 2000 | midway | racing | 1 row 4 : off the wall | None | 1991 | atari games | breakout | 2 row 5 : oh my god! | None | 1993 | atlus | puzzle | 2 row 6 : oishii puzzle wa irim | None | 1993 | sunsoft | puzzle | 2 row 7 : oli-boo-chu | None | 1982 | irem | None | 2 row 8 : ollie king | None | 2004 | smilebit | None | None row 9 : omega fighter | None | 1989 | upl | scrolling shooter | 2 row 10 : omega race | None | 1982 | midway | multidirectional shooter | 1 row 11 : one shot one kill | None | None | playmark | shooting gallery | 2 row 12 : onna sansirou - ty | None | 1985 | taito | None | 2 row 13 : operation thunderbolt | None | 1988 | taito | shooting gallery | 2 row 14 : operation tiger | None | 1998 | taito | shooting gallery | 2 row 15 : operation wolf | None | 1987 | taito | shooting gallery | 2 row 16 : operation wolf 3 | None | 1994 | taito | shooting gallery | 2 row 17 : orbit | None | 1978 | atari | multi-directional shooter | 2 row 18 : ordyne | None | 1988 | namco | scrolling shooter | 2 row 19 : oriental legend | None | 1997 | international game system | beat 'em up | 4 row 20 : osman | cannon dancer | 1996 | mitchell corporation | platformer | 1 row 21 : otomedius | None | 2007 | konami | scrolling shooter | None row 22 : outfoxies, the | None | 1995 | namco | shoot'em up/ fighting game | 2 row 23 : outlaw | None | 1976 | atari | shooter | 1 row 24 : outrun | None | 1986 | sega am2 | racing | 1 row 25 : out zone | None | 1990 | toaplan | scrolling shooter | 2 row 26 : outrun 2 | None | 2003 | sega am2 | racing | 1 row 27 : outrunners | None | 1993 | sega am1 | racing | 2 row 28 : outtrigger | None | 1999 | sega am2 | first person shooter | None row 29 : over drive | None | 1990 | konami | racing | 1 row 30 : over rev | None | 1997 | jaleco | racing | 2 row 31 : over top | None | 1996 | alpha denshi | racing | 2 row 32 : ozma wars | None | 1978 | snk | fixed shooter | 2 ] Execute this SQL based on the above table: select genre(s) group by genre(s) order by count ( * ) desc limit 1
racing
[ header: year | title | us hot 100 | us modern rock | us mainstream rock | album row 1 : 1994 | "neenah menasha" | None | None | None | rotting pinata row 2 : 1994 | "plowed" | None | 5 | 9 | rotting pinata row 3 : 1995 | "molly (16 candles down the drain)" | 55 | 3 | 11 | rotting pinata row 4 : 1995 | "rainin'" | None | 34 | 18 | rotting pinata row 5 : 1996 | "wax ecstatic (to | None | 15 | 11 | wax ecstatic row 6 : 1997 | "have you seen mary" | None | None | 7 | wax ecstatic row 7 : 1999 | "live here without you" | None | None | None | new pop sunday row 8 : 1999 | "1000 times" | None | None | None | new pop sunday row 9 : 2003 | "treat me wrong" | None | None | None | for all the drugs in the world row 10 : 2003 | "leave this world" | None | None | None | for all the drugs in the world row 11 : 2005 | "the man" | None | None | None | the man row 12 : 2005 | "higher (part 1)" | None | None | None | the man row 13 : 2009 | "come in from the rain" | None | None | None | destroy the boy ep row 14 : 2010 | "destroy the boy" | None | None | None | destroy the boy ep row 15 : 2013 | "fade from view" | None | None | None | stop the bleeding row 16 : 2013 | "lifes bitter pills" | None | None | None | stop the bleeding ] Execute this SQL based on the above table: select title order by id desc limit 1
"lifes bitter pills"
[ header: rank | lane | name | nationality | react | time | notes row 1 : 1 | 4 | yelizaveta bry | ukraine | 0.245 | 23.1 | q row 2 : 2 | 6 | myriam soumare | france | 0.179 | 23.22 | q row 3 : 3 | 3 | ksenija balta | estonia | 0.205 | 23.75 | q row 4 : 4 | 5 | niamh whelan | ireland | 0.253 | 23.78 | q row 5 : 5 | 7 | sabina veit | slovenia | 0.205 | 23.78 | None row 6 : 6 | 2 | elin backman | sweden | 0.217 | 24.13 | None ] Execute this SQL based on the above table: select name where react = '0.205'
ksenija balta, sabina veit
[ header: no. | date | location | surface | opponent in final | score row 1 : 1 | 28 august 2000 | spoleto, italy $10,000 | clay | maret ani | 6-2 7-6(7) row 2 : 2 | 9 april 2001 | san luis potosi, | clay | martina muller | 6-4 7-5 row 3 : 3 | 16 april 2001 | coatzacoalcos, mexico | hard | gabriela volekova | 6-1 6-3 row 4 : 4 | 15 october 2002 | sedona, usa $25,000 | hard | brie rippner | 6-3 4-6 6-3 row 5 : 5 | 5 november 2002 | pittsburgh, usa $50,000 | hard | maria sharapova | 7-6(4) 6-2 row 6 : 6 | 14 april 2003 | san luis potosi, | clay | maria vanina garcia sokol | 6-0 6-4 row 7 : 7 | 27 april 2009 | cagnes-sur-mer, france | clay | zuzana ondraskova | 6-1 6-2 row 8 : 8 | 1 june 2009 | nottingham, england $50,000 | grass | stefanie vogele | 6-2 4-6 6-1 ] Execute this SQL based on the above table: select opponent in final order by id desc limit 1
stefanie vogele
[ header: # | date | opponent | score | win | loss | save | attendance | record row 1 : 79 | july 1 | @ braves | 8-4 | gonzalez (11-3) | hudson (6-4) | None | 18796 | 45-32 row 2 : 82 | july 5 | giants | 6-5 | clippard (2-2) | casilla (2-4) | None | 29819 | 48-32 row 3 : 83 | july 6 | rockies | 1-5 | pomeranz (1-3) | strasburg (9-4) | betancourt (14) | 28951 | 48-33 row 4 : 84 | july 7 | rockies | 4-1 | gonzalez (12-3) | francis (2-2) | clippard (14) | 28032 | 49-33 row 5 : 85 | july 8 | rockies | 3-4 | brothers (4-2) | clippard (2-3) | betancourt (15) | 25125 | 49-34 row 6 : None | july 10 | 2012 major league baseball all-star game in | None | None | None | None | None | None row 7 : 86 | july 13 | @ marlins | 5-1 | zimmermann (6-6) | johnson (5-6) | None | 30911 | 50-34 row 8 : 88 | july 15 | @ marlins | 4-0 | strasburg (10-4) | nolasco (8-7) | None | 29889 | 51-35 row 9 : 89 | july 16 | @ marlins | 3-5 | zambrano (5-7) | jackson (5-5) | dunn (1) | 29248 | 51-36 row 10 : 91 | july 18 | mets | 4-3 | zimmermann (7-6) | young (2-4) | clippard (15) | 31660 | 53-36 row 11 : 92 | july 19 | mets | 5-9 | dickey (13-1) | gonzalez (12-5) | None | 36389 | 53-37 row 12 : 93 | july 20 | braves | 10-11 (11) | o'flaherty (2-0 | gorzelanny (2-2) | durbin (1) | 34228 | 53-38 row 13 : 94 | july 21 | braves | 0-4 | sheets (2-0) | jackson (5-6) | None | 28745 | 53-39 row 14 : 52 | july 21 | braves | 5-2 | lannan (1-0) | martinez (4-2) | clippard (16) | 40047 | 54-39 row 15 : 95 | july 22 | braves | 9-2 | detwiler (5-3) | jurrjens (3-4) | None | 34917 | 55-39 row 16 : 96 | july 23 | @ mets | 8-2 (10) | gorzelanny (3-2) | byrdak (2-2) | None | 26735 | 56-39 row 17 : 97 | july 24 | @ mets | 5-2 | gonzalez (13-5) | dickey (13-2) | clippard (17) | 36236 | 57-39 row 18 : 98 | july 25 | @ mets | 5-2 | strasburg (11-4) | hefner (1-4) | clippard (18) | 35517 | 58-39 row 19 : 99 | july 26 | @ brewers | 8-2 | jackson (6-6) | gallardo (8-8) | None | 33176 | 59-39 row 20 : 100 | july 27 | @ brewers | 0-6 | fiers (4-4) | detwiler (5-4) | None | 35858 | 59-40 row 21 : 101 | july 28 | @ brewers | 4-1 | zimmermann (8-6) | wolf (3-7) | clippard (19) | 41890 | 60-40 ] Execute this SQL based on the above table: select score where win = 'zimmermann (8-6)'
4-1
[ header: year | single | chart positions usa billboard hot dance club play | chart positions polish charts | album row 1 : 2008 | "fall" | None | 2 | natalia lesz row 2 : 2008 | "power of attraction" | 24 | 5 | natalia lesz row 3 : 2008 | "miss you" | None | None | natalia lesz row 4 : 2009 | "cos za cos" | None | 1 | that girl row 5 : 2010 | "arabesque" | 53 | None | natalia lesz row 6 : 2010 | "radioactive" | None | 107 | None row 7 : 2010 | "that girl" | None | 7 | that girl row 8 : 2012 | "beat of my heart" | None | 98 | that girl ] Execute this SQL based on the above table: select year order by chart positions polish charts desc limit 1
2010
[ 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 building where id = 1
first canadian place
[ header: finalist | age | from | dress colour | status row 1 : laura sicurello | 26 | milton keynes | yellow | eliminated 1st in week 1 row 2 : belinda evans | 28 | somerset | dark blue | eliminated 2nd in week 2 row 3 : meliz serman | 23 | chingford, london | gold | eliminated 3rd in week 3 row 4 : simona armstrong | 28 | romania | purple | eliminated 4th in week 4 row 5 : leanne dobinson | 20 | colchester | lilac | eliminated 5th in week 4 row 6 : abi finley | 23 | manchester | light blue | eliminated 6th in week 5 row 7 : aoife mulholland | 28 | salthill | green | eliminated 7th in week 5 row 8 : siobhan dillon | 21 | staffordshire | red | third place row 9 : helena blackman | 23 | southampton | pink | second place row 10 : connie fisher | 23 | pembrokeshire | orange | winner ] Execute this SQL based on the above table: select count ( distinct status ) where finalist = 'connie fisher'
1
[ header: from | to | name | party | position row 1 : 1850 | 1862 | m. borgarelli d' | None | colonel of infantry e.r row 2 : 1862 | 1869 | jules alfred le tourneur du | None | first secretary for the minister of finance row 3 : 1869 | 1903 | stanislas le tourneur d | None | attached to the taxation administration of france row 4 : None | None | yves le tourneur d' | None | doctor of juridical science row 5 : 1966 | 1989 | maurice lecoq | None | market gardener row 6 : 1989 | 2008 | michel deuzet | se | farmer row 7 : 2008 | 2014 | patrice martin | se | bank officer ] Execute this SQL based on the above table: select position where position in ( 'doctor of juridical science' , 'market gardener' ) order by name asc limit 1
market gardener
[ header: rank | bib | country | distance (m) | points | time difference row 1 : 1 | 14 | germany tino edelmann | 124.5 127.0 | 264.3 128.0 136.3 | 0:00 row 2 : 2 | 10 | japan akito watabe t | 123.5 126.0 | 258.4 126.4 132.0 | +0:12 row 3 : 3 | 12 | austria bernhard gruber w | 123.0 122.0 | 251.8 123.3 128.5 | +0:25 row 4 : 4 | 11 | france jason lamy-chappuis | 120.5 118.5 | 242.7 121.8 120.9 | +0:43 row 5 : 5 | 13 | norway mikko kokslien | 118.0 118.5 | 238.1 116.8 121.3 | +0:52 row 6 : 6 | 8 | czech republic miroslav d | 114.5 120.0 | 232.8 110.7 122.1 | +1:03 row 7 : 7 | 7 | slovenia mitja oranic mar | 109.5 123.5 | 227.8 99.5 128.3 | +1:13 row 8 : 8 | 6 | finland ilkka herola | 120.5 113.5 | 226.6 115.4 111.2 | +1:15 row 9 : 9 | 4 | estonia han-hendrik pih | 113.0 113.0 | 217.5 107.4 110.1 | +1:34 row 10 : 10 | 9 | united states bill demong taylor | 111.0 112.5 | 214.1 104.9 109.2 | +1:40 row 11 : 11 | 1 | ukraine viktor pasichny | 107.0 115.0 | 206.2 95.7 110.5 | +1:56 row 12 : 12 | 2 | russia ernest yahin | 110.0 109.5 | 204.8 101.8 103.0 | +1:59 row 13 : 13 | 5 | italy armin bauer aless | 105.0 113.5 | 203.0 92.7 110.3 | +2:03 row 14 : 14 | 3 | switzerland seppi hur | 102.5 113.0 | 196.2 88.1 108.1 | +2:16 ] Execute this SQL based on the above table: select country order by rank desc limit 1
switzerland seppi hurschler tim hug
[ header: county | feinstein | votes | seymour | votes | horne | votes | meeu. | votes | boddie | votes | w/i | v's row 1 : san mateo | 67.25% | 181,990 | 27.89% | 75,470 | 1.84% | 4,983 | 1.29% | 3,478 | 1.73% | 4,684 | 0.00% | 0 row 2 : contra costa | 62.96% | 229,988 | 31.62% | 115,507 | 1.92% | 7,011 | 1.77% | 6,470 | 1.73% | 6,320 | 0.00% | 2 row 3 : sonoma | 62.84% | 121,471 | 29.38% | 56,793 | 3.02% | 5,846 | 2.43% | 4,702 | 2.33% | 4,502 | 0.00% | 0 row 4 : santa clara | 62.19% | 364,997 | 30.98% | 181,858 | 2.15% | 12,646 | 2.20% | 12,912 | 2.47% | 14,518 | 0.00% | 2 row 5 : monterey | 58.89% | 66,417 | 34.74% | 39,182 | 2.10% | 2,369 | 2.30% | 2,590 | 1.96% | 2,216 | 0.00% | 0 row 6 : los angeles | 58.72% | 1,552,223 | 34.03% | 899,656 | 3.18% | 84,093 | 2.09% | 55,380 | 1.97% | 52,123 | 0.00% | 20 row 7 : napa | 57.01% | 29,875 | 35.38% | 18,539 | 2.46% | 1,288 | 2.93% | 1,537 | 2.22% | 1,161 | 0.00% | 0 row 8 : del norte | 50.92% | 4,696 | 39.66% | 3,658 | 2.56% | 236 | 4.98% | 459 | 1.89% | 174 | 0.00% | 0 row 9 : merced | 47.61% | 22,010 | 43.79% | 20,246 | 2.79% | 1,289 | 2.95% | 1,365 | 2.86% | 1,323 | 0.00% | 0 row 10 : nevada | 46.04% | 20,044 | 44.73% | 19,476 | 2.90% | 1,261 | 3.32% | 1,444 | 3.02% | 1,313 | 0.00% | 0 row 11 : placer | 45.75% | 40,511 | 45.73% | 40,497 | 2.38% | 2,109 | 3.30% | 2,920 | 2.84% | 2,518 | 0.00% | 0 row 12 : mariposa | 45.38% | 3,681 | 43.98% | 3,568 | 3.09% | 251 | 5.07% | 411 | 2.48% | 201 | 0.00% | 0 row 13 : sierra | 45.12% | 818 | 44.57% | 808 | 2.48% | 45 | 3.47% | 63 | 4.36% | 79 | 0.00% | 0 row 14 : mono | 45.11% | 1,931 | 44.64% | 1,911 | 2.83% | 121 | 3.95% | 169 | 3.48% | 149 | 0.00% | 0 row 15 : butte | 44.72% | 37,396 | 45.57% | 38,111 | 2.96% | 2,477 | 3.56% | 2,980 | 3.19% | 2,666 | 0.00% | 0 row 16 : trinity | 42.41% | 2,743 | 43.66% | 2,824 | 3.80% | 246 | 6.29% | 407 | 3.83% | 248 | 0.00% | 0 row 17 : yuba | 40.76% | 6,890 | 46.63% | 7,882 | 3.07% | 518 | 6.09% | 1,030 | 3.45% | 584 | 0.00% | 0 ] Execute this SQL based on the above table: select max ( votes )
1552223.0
[ header: game | date | opponent | location | score | ot | attendance | record row 1 : 1 | january 8, 2005 | philadelphia wings | arrowhead pond | w 13-10 | None | 5,732 | 1-0 row 2 : 2 | january 22, 2005 | rochester knighthawks | arrowhead pond | l 11-15 | None | 4,053 | 1-1 row 3 : 3 | january 28, 2005 | @ minnesota swarm | xcel energy center | w 8-7 | None | 12,514 | 2-1 row 4 : 4 | january 29, 2005 | calgary roughnecks | arrowhead pond | l 12-13 | None | 4,159 | 2-2 row 5 : 5 | february 4, 2005 | @ arizona sting | jobing.com arena | l 10-17 | None | 6,313 | 2-3 row 6 : 6 | february 11, 2005 | @ buffalo bandits | hsbc arena | l 9-20 | None | 8,805 | 2-4 row 7 : 7 | february 18, 2005 | @ calgary roughnecks | pengrowth saddledome | l 15-18 | None | 9,550 | 2-5 row 8 : 8 | march 4, 2005 | colorado mammoth | arrowhead pond | l 12-13 | None | 4,500 | 2-6 row 9 : 9 | march 13, 2005 | toronto rock | arrowhead pond | l 6-14 | None | 4,499 | 2-7 row 10 : 10 | march 19, 2005 | @ colorado mammoth | pepsi center | l 8-16 | None | 16,270 | 2-8 row 11 : 11 | march 25, 2005 | @ san jose stealth | hp pavilion at san jose | l 14-15 | None | 5,022 | 2-9 row 12 : 12 | march 26, 2005 | san jose stealth | arrowhead pond | w 13-12 | ot | 4,834 | 3-9 row 13 : 13 | april 2, 2005 | @ colorado mammoth | pepsi center | w 10-6 | None | 18,326 | 4-9 row 14 : 14 | april 9, 2005 | minnesota swarm | arrowhead pond | l 11-12 | ot | 4,967 | 4-10 row 15 : 15 | april 15, 2005 | arizona sting | arrowhead pond | l 12-14 | None | 5,891 | 4-11 row 16 : 16 | april 16, 2005 | @ arizona sting | jobing.com arena | w 11-10 | None | 7,731 | 5-11 ] Execute this SQL based on the above table: select location order by game asc limit 1
arrowhead pond
[ header: # | date | visitor | score | home | record | pts row 1 : 2 | november 4 | montreal canadiens | 5-3 | chicago black hawks | 0-2-0 | 0 row 2 : 4 | november 7 | chicago black hawks | 1-5 | montreal canadiens | 1-3-0 | 2 row 3 : 5 | november 11 | boston bruins | 4-6 | chicago black hawks | 2-3-0 | 4 row 4 : 6 | november 13 | chicago black hawks | 4-1 | toronto maple leafs | 3-3-0 | 6 row 5 : 9 | november 21 | chicago black hawks | 2-5 | detroit red wings | 5-4-0 | 10 row 6 : 10 | november 25 | detroit red wings | 3-4 | chicago black hawks | 6-4-0 | 12 row 7 : 12 | november 30 | chicago black hawks | 5-6 | boston bruins | 7-5-0 | 14 row 8 : 13 | december 2 | chicago black hawks | 2-6 | montreal canadiens | 7-6-0 | 14 row 9 : 14 | december 5 | new york rangers | 6-7 | chicago black hawks | 8-6-0 | 16 row 10 : 17 | december 18 | chicago black hawks | 4-8 | toronto maple leafs | 9-8-0 | 18 row 11 : 23 | january 4 | chicago black hawks | 4-6 | boston bruins | 10-13-0 | 20 row 12 : 24 | january 6 | chicago black hawks | 1-6 | toronto maple leafs | 10-14-0 | 20 row 13 : 25 | january 9 | chicago black hawks | 2-4 | detroit red wings | 10-15-0 | 20 row 14 : 27 | january 16 | montreal canadiens | 1-1 | chicago black hawks | 11-15-1 | 23 row 15 : 29 | january 23 | toronto maple leafs | 3-5 | chicago black hawks | 12-16-1 | 25 row 16 : 32 | january 30 | detroit red wings | 2-3 | chicago black hawks | 15-16-1 | 31 row 17 : 34 | february 5 | chicago black hawks | 1-5 | montreal canadiens | 16-17-1 | 33 row 18 : 35 | february 6 | chicago black hawks | 4-4 | new york rangers | 16-17-2 | 34 row 19 : 43 | march 4 | chicago black hawks | 2-6 | detroit red wings | 20-19-4 | 44 row 20 : 44 | march 5 | detroit red wings | 1-6 | chicago black hawks | 21-19-4 | 46 row 21 : 47 | march 14 | chicago black hawks | 4-6 | boston bruins | 21-21-5 | 47 row 22 : 48 | march 16 | chicago black hawks | 2-3 | montreal canadiens | 21-22-5 | 47 row 23 : 49 | march 18 | chicago black hawks | 3-6 | detroit red wings | 21-23-5 | 47 ] Execute this SQL based on the above table: select date where # <= 16
november 4, november 7, november 11, november 13, november 21, november 25, november 30, december 2, december 5
[ header: # | nation | qualification tournament | place in qt | sailor row 1 : 1 | china | host country | None | None row 2 : 2 | brazil | 2007 worlds | 1 | robert scheidt, bruno row 3 : 3 | france | 2007 worlds | 2 | xavier rohart, pas row 4 : 4 | great britain | 2007 worlds | 3 | iain percy, andre row 5 : 5 | new zealand | 2007 worlds | 4 | hamish pepper, carl william row 6 : 6 | italy | 2007 worlds | 5 | diego negri, luigi row 7 : 7 | poland | 2007 worlds | 6 | mateusz kuszniere row 8 : 8 | germany | 2007 worlds | 7 | marc pickel, ingo borkowski row 9 : 9 | sweden | 2007 worlds | 8 | fredrik loof, anders row 10 : 10 | australia | 2007 worlds | 9 | iain murray, andrew row 11 : 11 | portugal | 2007 worlds | 10 | afonso domingos, row 12 : 12 | united states | 2007 worlds | 11 | mark reynolds, hal row 13 : 13 | switzerland | 2008 worlds | 4 | flavio marazzi, enric row 14 : 14 | croatia | 2008 worlds | 12 | marin lovrovic, sinsa row 15 : 15 | ireland | 2008 worlds | 14 | max treacy, anthony shank row 16 : 16 | austria | 2008 worlds | 16 | hans spitzauer, ] Execute this SQL based on the above table: select count ( qualification tournament ) where place in qt >= 4
12
[ header: # | date | opponent | score | win | loss | save | attendance | record row 1 : 74 | july 1 | mariners | 4 - 3 | perry (6-7) | leal (5-6) | caudill (14) | 21004 | 33-41 row 2 : 76 | july 3 | @ twins | 2 - 1 | o'connor (1-2) | clancy (7-5) | None | 9591 | 34-42 row 3 : 77 | july 4 | @ twins | 4 - 3 | little (1-0) | stieb (6-10) | None | 6532 | 34-43 row 4 : 80 | july 7 | @ royals | 3 - 1 | gura (10-4) | clancy (7-6) | None | 22217 | 35-45 row 5 : 81 | july 8 | @ royals | 5 - 4 | stieb (7-10) | armstrong (2-3) | mclaughlin (4) | 24409 | 36-45 row 6 : 83 | july 10 | white sox | 6 - 5 | escarrega (1-1) | gott (1-5) | hickey (4) | 17035 | 37-46 row 7 : 84 | july 11 | white sox | 16 - 7 | burns (9-4) | clancy (7-7) | None | 16169 | 37-47 row 8 : 86 | july 16 | rangers | 6 - 0 | clancy (8-7) | hough (7-8) | None | 13359 | 39-47 row 9 : 88 | july 18 | rangers | 5 - 4 (10) | mclaughlin (8-3) | darwin (6-4) | None | 15512 | 41-47 row 10 : 89 | july 19 | royals | 4 - 2 | leal (6-7) | black (3-3) | None | 16466 | 42-47 row 11 : 90 | july 20 | royals | 9 - 2 | stieb (9-10) | gura (10-7) | None | 18552 | 43-47 row 12 : 91 | july 21 | royals | 9 - 7 | blue (7-7) | clancy (8-8) | quisenberry (23) | 19152 | 43-48 row 13 : 93 | july 23 | @ white sox | 7 - 1 | leal (7-7) | barnes (0-2) | jackson (5) | 27770 | 44-49 row 14 : 96 | july 26 | @ red sox | 3 - 2 | eckersley (11-8) | gott (1-6) | None | 22261 | 45-51 row 15 : 97 | july 27 | @ red sox | 3 - 1 | leal (8-7) | tudor (6-8) | None | 27077 | 46-51 row 16 : 98 | july 28 | @ red sox | 9 - 7 | ojeda (4-5) | jackson (3-7) | stanley (8) | 18627 | 46-52 row 17 : 99 | july 30 | tigers | 6 - 5 (12) | murray (7-3) | james (0-2) | None | 18262 | 47-52 ] Execute this SQL based on the above table: select date order by date desc limit 1
july 30
[ header: # | title | time | lead vocals | notes row 1 : 1 | savior more than life | 6:44 | keisha grandy | None row 2 : 2 | whatcha lookin' 4 | 4:25 | darrell blair, dal | None row 3 : 3 | melodies from heaven | 4:34 | the family | None row 4 : 4 | conquerors | 8:24 | dalon collins | None row 5 : 5 | don't take your joy away | 6:33 | tamela mann | None row 6 : 6 | when i think about jesus | 1:38 | None | None row 7 : 7 | mama's song | 4:16 | kirk franklin | None row 8 : 8 | jesus paid it all | 5:04 | kirk franklin, darrell | None row 9 : 9 | i love you jesus | 7:25 | teresa young, stephani | None row 10 : 10 | washed away | 5:20 | jeannette johnson, carrie | None row 11 : 11 | where the spirit is | 4:03 | jon drummond | None row 12 : 12 | let me touch you | 5:26 | dalon collins | None row 13 : 13 | anything 4 u | 5:08 | david mann, yoland | None row 14 : 14 | whatcha lookin' 4 (remix) | 4:36 | kirk franklin, d | drum & synth programming - buster row 15 : 15 | melodies from heaven (skate remix | 4:18 | kirk franklin | drum & synth programming - buster ] Execute this SQL based on the above table: select lead vocals order by time desc limit 1
dalon collins
[ header: date | team | name | position | years in nba | notes row 1 : april 23, 2009 | houston rockets | dikembe mutombo | c | 18 | suffered a season-ending injury row 2 : may 21, 2009 | free agent | sam cassell | g | 15 | became an assistant coach of the wizards row 3 : september 3, 2009 | free agent | bruce bowen | f | 12 | None row 4 : october 22, 2009 | free agent | mark madsen | f | 9 | became an assistant coach of the uta row 5 : october 23, 2009 | free agent | bobby jackson | g | 12 | None row 6 : october 23, 2009 | free agent | tyronn lue | g | 11 | became the director of basketball development of the celtics row 7 : november 5, 2009 | free agent | darrick martin | g | 14 | named assistant director of player development of timberwolves ] Execute this SQL based on the above table: select position where years in nba > 11 and team = 'free agent' and team = 'free agent' order by years in nba limit 1
f
[ header: selected latin american countries | internl. tourism arrivals 2010 (x 1000) | internl. tourism receipts. 2010 (usd (x1000) | average receipt per visitor 2009 (usd/turista) | tourist arrivals per 1000 inhab (estimated) 2007 | receipts per capita 2005 usd | revenues as % exports of goods and services 2003 | tourism income % gdp 2003 | % direct and indirect employment in tourism 2005 | world ranking tourism competitiv. ttci 2011 | 2011 ttci index row 1 : argentina | 5288 | 4930 | 932 | 115 | 57 | 7.4 | 1.8 | 9.1 | 60 | 4.2 row 2 : brazil | 5161 | 5919 | 1147 | 26 | 18 | 3.2 | 0.5 | 7 | 52 | 4.36 row 3 : chile | 2766 | 1636 | 591 | 151 | 73 | 5.3 | 1.9 | 6.8 | 57 | 4.27 row 4 : costa rica | 2100 | 2111 | 1005 | 442 | 343 | 17.5 | 8.1 | 13.3 | 44 | 4.43 row 5 : cuba | 2507 | None | None | 188 | 169 | None | None | None | None | None row 6 : dominican republic | 4125 | 4240 | 1028 | 408 | 353 | 36.2 | 18.8 | 19.8 | 72 | 3.99 row 7 : mexico | 22395 | 11872 | 530 | 201 | 103 | 5.7 | 1.6 | 14.2 | 43 | 4.43 row 8 : panama | 1317 | 1676 | 1273 | 330 | 211 | 10.6 | 6.3 | 12.9 | 56 | 4.3 row 9 : peru | 2299 | 2274 | 989 | 65 | 41 | 9 | 1.6 | 7.6 | 69 | 4.04 row 10 : uruguay | 2352 | 1496 | 636 | 525 | 145 | 14.2 | 3.6 | 10.7 | 58 | 4.24 ] Execute this SQL based on the above table: select selected latin american countries order by receipts per capita 2005 usd desc limit 1
dominican republic
[ header: rank | bib | name | nationality | start | penalties (p+p+s+s) | time | deficit row 1 : None | 1 | emil hegle sven | norway | 0:00 | 1 (0+0+0+1) | 32:35.5 | None row 2 : 7 | 8 | fredrik lindstrom | sweden | 0:38 | 1 (0+0+1+0) | 33:18.9 | 43.4 row 3 : 8 | 6 | alexis bœuf | france | 0:25 | 2 (0+0+2+0) | 33:22.1 | 46.6 row 4 : 9 | 13 | bjorn ferry | sweden | 0:52 | 0 (0+0+0+0) | 33:23.6 | 48.1 row 5 : 12 | 10 | simon eder | austria | 0:39 | 3 (0+0+2+1) | 33:50.5 | +1:15.0 row 6 : 13 | 32 | lowell bailey | united states | 1:38 | 0 (0+0+0+0) | 33:56.4 | +1:20.9 row 7 : 14 | 12 | erik lesser | germany | 0:49 | 4 (1+0+2+1) | 34:06.0 | +1:30.5 row 8 : 16 | 9 | evgeny ustyugov | russia | 0:38 | 3 (0+1+2+0) | 34:16.7 | +1:41.2 row 9 : 17 | 18 | tarjei bø | norway | 1:14 | 3 (2+0+1+0) | 34:18.9 | +1:43.4 row 10 : 18 | 29 | simon schempp | germany | 1:36 | 1 (0+0+0+1) | 34:24.4 | +1:48.9 row 11 : 24 | 21 | klemen bauer | slovenia | 1:16 | 4 (1+0+3+0) | 34:55.4 | +2:19.9 row 12 : 25 | 26 | christian de lorenzi | italy | 1:30 | 1 (0+0+0+1) | 34:57.5 | +2:22.0 row 13 : 26 | 20 | jean-guillaume beatr | france | 1:15 | 4 (0+1+2+1) | 34:58.4 | +2:22.9 row 14 : 27 | 33 | daniel mesotit | austria | 1:39 | 3 (0+0+2+1) | 34:58.7 | +2:23.2 row 15 : 29 | 30 | matej kazar | slovakia | 1:36 | 5 (2+1+1+1) | 35:04.9 | +2:29.4 row 16 : 30 | 17 | andriy deryzemlya | ukraine | 1:13 | 4 (0+0+2+2) | 35:05.3 | +2:29.8 row 17 : 33 | 58 | dominik windisch | italy | 2:31 | 2 (0+0+1+1) | 35:36.4 | +3:00.9 row 18 : 35 | 25 | benjamin weger | switzerland | 1:28 | 3 (0+1+1+1) | 36:13.1 | +3:37.6 row 19 : 38 | 22 | tomas kaukenas | lithuania | 1:20 | 4 (0+0+2+2) | 36:33.4 | +3:57.9 row 20 : 42 | 27 | jaroslav soukup | czech republic | 1:32 | 6 (2+2+2+0) | 36:59.8 | +4:24.3 row 21 : 44 | 56 | hidenori isa | japan | 2:27 | 2 (0+0+0+2) | 37:13.9 | +4:38.4 row 22 : 51 | 48 | claudio bockli | switzerland | 2:13 | 3 (2+0+0+1) | 38:02.8 | +5:27.3 ] Execute this SQL based on the above table: select nationality where nationality in ( 'italy' , 'germany' ) order by rank desc limit 1
italy
[ header: county | obama% | obama# | mccain% | mccain# | total row 1 : andrew | 38.8% | 3345 | 61.2% | 5279 | 8624 row 2 : audrain | 41.8% | 4434 | 58.2% | 6167 | 10601 row 3 : barry | 32.2% | 4630 | 67.8% | 9758 | 14388 row 4 : boone | 56.1% | 47062 | 43.9% | 36849 | 83911 row 5 : buchanan | 50.1% | 19164 | 49.9% | 19110 | 38274 row 6 : carroll | 34.2% | 1535 | 65.8% | 2955 | 4490 row 7 : carter | 34.8% | 984 | 65.2% | 1840 | 2824 row 8 : cedar | 32.9% | 2060 | 67.1% | 4194 | 6254 row 9 : clay | 49.7% | 53761 | 50.3% | 54516 | 108277 row 10 : cooper | 37.9% | 2996 | 62.1% | 4902 | 7898 row 11 : dekalb | 36.9% | 1692 | 63.1% | 2889 | 4581 row 12 : douglas | 32.7% | 2140 | 67.3% | 4405 | 6545 row 13 : gentry | 38.6% | 1235 | 61.4% | 1964 | 3199 row 14 : greene | 42.0% | 56181 | 58.0% | 77683 | 133864 row 15 : grundy | 34.5% | 1580 | 65.5% | 3006 | 4586 row 16 : hickory | 43.2% | 2171 | 56.8% | 2850 | 5021 row 17 : howard | 42.9% | 2036 | 57.1% | 2708 | 4744 row 18 : howell | 34.3% | 5736 | 65.7% | 10982 | 16718 row 19 : jefferson | 51.3% | 53467 | 48.7% | 50804 | 104271 row 20 : knox | 38.5% | 759 | 61.5% | 1212 | 1971 row 21 : lewis | 41.5% | 1837 | 58.5% | 2594 | 4431 row 22 : lincoln | 44.2% | 10234 | 55.8% | 12924 | 23158 row 23 : livingston | 37.9% | 2435 | 62.1% | 3993 | 6428 row 24 : madison | 41.3% | 2042 | 58.7% | 2897 | 4939 row 25 : maries | 35.9% | 1599 | 64.1% | 2853 | 4452 row 26 : marion | 37.9% | 4703 | 62.1% | 7705 | 12408 row 27 : mercer | 30.7% | 519 | 69.3% | 1169 | 1688 row 28 : miller | 31.3% | 3553 | 68.7% | 7797 | 11350 row 29 : moniteau | 31.8% | 2084 | 68.2% | 4467 | 6551 row 30 : montgomery | 40.6% | 2347 | 59.4% | 3428 | 5775 row 31 : morgan | 39.5% | 3565 | 60.5% | 5451 | 9016 row 32 : oregon | 40.6% | 1811 | 59.4% | 2652 | 4463 row 33 : pike | 45.0% | 3487 | 55.0% | 4268 | 7755 row 34 : polk | 33.7% | 4553 | 66.3% | 8956 | 13509 row 35 : scotland | 38.8% | 793 | 61.2% | 1249 | 2042 row 36 : st. clair | 38.8% | 1886 | 61.2% | 2981 | 4867 ] Execute this SQL based on the above table: select mccain% group by mccain% order by count ( * ) limit 1
43.9%
[ header: # | title | producer(s) | performer (s) | sample(s) | length row 1 : 1 | "likwit" | e-swift, th | tash, j-ro, | "ode to billy joe" | 2:34 row 2 : 2 | "only when i'm drunk" | e-swift, th | j-ro, tash, | "seven minutes of funk" by | 3:36 row 3 : 3 | "last call" | e-swift, king | tash, j-ro, | "the payback" by james brown | 4:37 row 4 : 4 | "can't tell me shit" | derick "d. pimp" willi | e-swift, j | "think(about it)" by ly | 4:09 row 5 : 5 | "turn tha party out" | lootpack, tha alka | lootpack, tash, | "synthetic substitution" by mel | 3:19 row 6 : 6 | "bullshit" | king tee, e- | j-ro, king t | "it's a new day" by | 3:27 row 7 : 7 | "soda pop" | e-swift, king | e-swift, field trip | "hard times" by baby huey "s | 2:48 row 8 : 8 | "make room" | e-swift, th | j-ro, tash | "sing a simple song" by | 3:28 row 9 : 9 | "mary jane" | lootpack, tha alka | j-ro, tash | "mary jane" by rick | 3:31 row 10 : 10 | "who dem niggas" | e-swift, th | threat, e-swift, | "take me to the mardi gras" by | 3:46 ] Execute this SQL based on the above table: select count ( distinct sample(s) ) group by sample(s) having count ( sample(s) ) = 1
1, 1, 1, 1, 1, 1, 1, 1, 1, 1
[ header: model name | length | width | height | riders | capacity | description | portable | notes row 1 : skater | 21.5 m (71 ft) | 11.65 m (38.2 f | 10.69 m (35.1 ft) | 24 | 600 | small halfpipe with inwards-facing seats | yes | row 2 : disk'o | 24.55 m (80.5 ft | 9.68 m (31.8 ft) | 10 m (33 ft) | 24 | 600 | small halfpipe with outwards-facing seats | yes | row 3 : surf's up | 29 m (95 ft) | 11 m (36 ft) | 7.5 m (25 ft) | 20 | 480 | small halfpipe with hill in middle. guests stand | yes | row 4 : mega disk'o | 37.5 m (123 ft) | 10 m (33 ft) | 15.5 m (51 ft) | 24 | 600 | large halfpipe with outwards-facing seats | no | row 5 : mega disk'o | 37.5 m (123 ft) | 10 m (33 ft) | 15.5 m (51 ft) | 40 | 1000 | large halfpipe with outwards-facing seats | no | row 6 : skater coaster | None | None | None | None | None | large halfpipe with hill in middle. inward | None | row 7 : disk'o coaster | 81.5 m (267 ft) | 11.3 m (37 ft) | 15.5 m (51 ft) | 24 | 500 | large halfpipe with hill in middle. outward | no | row 8 : disk'o coaster | 81.5 m (267 ft) | 11.3 m (37 ft) | 15.5 m (51 ft) | 40 | 600 | large halfpipe with hill in middle. outward | no | ] Execute this SQL based on the above table: select model name where description > ( select description where model name = 'skater' ) order by description asc limit 1
disk'o
[ 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 ( details checked ) where x horiz disp (mm) >= 295
0
[ header: week | date | opponent | result | attendance row 1 : 1 | september 15, 1968 | at green bay packers | l 30-13 | 50,861 row 2 : 2 | september 22, 1968 | new york giants | l 34-25 | 60,858 row 3 : 3 | september 29, 1968 | dallas cowboys | l 45-13 | 60,858 row 4 : 4 | october 6, 1968 | at washington redskins | l 17-14 | 50,816 row 5 : 5 | october 13, 1968 | at dallas cowboys | l 34-14 | 72,083 row 6 : 6 | october 20, 1968 | chicago bears | l 29-16 | 60,858 row 7 : 7 | october 27, 1968 | at pittsburgh steelers | l 6-3 | 26,908 row 8 : 8 | november 3, 1968 | st. louis cardinals | l 45-17 | 59,208 row 9 : 9 | november 10, 1968 | washington redskins | l 16-10 | 59,133 row 10 : 10 | november 17, 1968 | at new york giants | l 7-6 | 62,896 row 11 : 11 | november 24, 1968 | at cleveland browns | l 47-13 | 62,338 row 12 : 12 | november 28, 1968 | at detroit lions | w 12-0 | 47,909 row 13 : 13 | december 8, 1968 | new orleans saints | w 29-17 | 57,128 row 14 : 14 | december 15, 1968 | minnesota vikings | l 24-17 | 54,530 ] Execute this SQL based on the above table: select result where result != 'l 29-16' and attendance = ( select attendance where result = 'l 29-16' )
l 34-25, l 45-13
[ header: athlete | nation | olympics | gold | silver | bronze | total row 1 : gillis grafstrom | sweden (swe) | 1920-1932 | 3 | 1 | 0 | 4 row 2 : evgeni plushenko | russia (rus) | 2002-2014 | 2 | 2 | 0 | 4 row 3 : ludmila belousova | soviet union (urs) | 1964-1968 | 2 | 0 | 0 | 2 row 4 : dick button | united states (usa) | 1948-1952 | 2 | 0 | 0 | 2 row 5 : ekaterina gordeeva | soviet union (urs) russia ( | 1988, 1994 | 2 | 0 | 0 | 2 row 6 : tatiana volosozhar | russia (rus) | 2014 | 2 | 0 | 0 | 2 row 7 : katarina witt | east germany (gdr) | 1984-1988 | 2 | 0 | 0 | 2 row 8 : marina klimova / sergei | unified team (eun) soviet | 1984-1992 | 1 | 1 | 1 | 3 row 9 : tenley albright | united states (usa) | 1952-1956 | 1 | 1 | 0 | 2 row 10 : elena berezhnay | russia (rus) | 1998-2002 | 1 | 1 | 0 | 2 row 11 : carol heiss | united states (usa) | 1956-1960 | 1 | 1 | 0 | 2 row 12 : kim yu-na | south korea (kor) | 2010-2014 | 1 | 1 | 0 | 2 row 13 : shen xue / z | china (chn) | 2002-2010 | 1 | 0 | 2 | 3 row 14 : jeannette altwegg | great britain (gbr) | 1948-1952 | 1 | 0 | 1 | 2 row 15 : marina anissina / g | france (fra) | 1998-2002 | 1 | 0 | 1 | 2 row 16 : beatrix loughran | united states (usa) | 1924-1932 | 0 | 2 | 1 | 3 row 17 : patrick chan | canada (can) | 2014 | 0 | 2 | 0 | 2 row 18 : marika kilius / hans | unified team of germany (eua | 1960-1964 | 0 | 2 | 0 | 2 row 19 : brian orser | canada (can) | 1984-1988 | 0 | 2 | 0 | 2 row 20 : elvis stojko | canada (can) | 1994-1998 | 0 | 2 | 0 | 2 row 21 : phyllis johnson | great britain (gbr) | 1908-1920 | 0 | 1 | 1 | 2 row 22 : michelle kwan | united states (usa) | 1998-2002 | 0 | 1 | 1 | 2 row 23 : irina slut | russia (rus) | 2002-2006 | 0 | 1 | 1 | 2 row 24 : philippe candeloro | france (fra) | 1994-1998 | 0 | 0 | 2 | 2 row 25 : manuela groß / uwe ka | east germany (gdr) | 1972-1976 | 0 | 0 | 2 | 2 row 26 : chen lu | china (chn) | 1994-1998 | 0 | 0 | 2 | 2 row 27 : patrick pera | france (fra) | 1968-1972 | 0 | 0 | 2 | 2 ] Execute this SQL based on the above table: select ( select sum ( bronze ) where nation = 'russia (rus)' ) > ( select sum ( bronze ) where nation = 'russia (rus)' )
0
[ header: # | title | artist | highest pos. reached | weeks at no. 1 row 1 : 1 | "don't cry for me argentin | julie covington | 1 | 7 row 2 : 2 | "the way you that you do it" | pussyfoot | 1 | 7 row 3 : 3 | "i just want to be your everything" | andy gibb | 1 | 7 row 4 : 4 | "that's rock and roll" | shaun cassidy | 2 | None row 5 : 5 | "living next door to alice" | smokie | 2 | None row 6 : 6 | "i go to rio" | peter allen | 1 | 5 row 7 : 7 | "torn between two lovers" | mary mcgregor | 1 | 4 row 8 : 8 | "walk right in" | dr hook | 1 | 5 row 9 : 9 | "you're moving out today" | carole bayer sager | 1 | 4 row 10 : 10 | "if you leave me now" | chicago | 1 | 5 (pkd #1 in 76 row 11 : 11 | "don't give up on us" | david soul | 1 | 3 row 12 : 12 | "lido shuffle" / " | boz scaggs | 2 | None row 13 : 13 | "you and me" | alice cooper | 2 | None row 14 : 14 | "dance little lady dance" | tina charles | 4 | None row 15 : 15 | "when i need you" | leo sayer | 8 | None row 16 : 16 | "don't fall in love" | ferrets | 2 | None row 17 : 17 | "i feel love" | donna summer | 1 | 1 row 18 : 18 | "help is on its way" | little river band | 1 | 1 row 19 : 19 | "you gotta get up and dance" | supercharge | 3 | None row 20 : 20 | "mull of kintyre" | wings | 1 | 11 (pkd #1 in 77 row 21 : 21 | "don't leave me this way" | thelma houston | 6 | None row 22 : 22 | "ain't gonna bump no more | joe tex | 2 | None row 23 : 23 | "you're in my heart" | rod stewart | 1 | 1 row 24 : 24 | "ma baker" | boney m | 5 | None row 25 : 25 | "lucille" | kenny rogers | 7 | None ] Execute this SQL based on the above table: select # where # = 18
18.0
[ header: month | jan | feb | mar | apr | may | jun | jul | aug | sep | oct | nov | dec | year row 1 : average high °f (°c) | 64 (18) | 63 (17) | 63 (17) | 64 (18) | 65 (18) | 67 (19) | 70 (21) | 71 (22) | 71 (22) | 70 (21) | 67 (19) | 64 (18) | 66.6 (19.2) row 2 : average low °f (°c) | 51 (11) | 52 (11) | 53 (12) | 55 (13) | 57 (14) | 60 (16) | 63 (17) | 63 (17) | 63 (17) | 60 (16) | 55 (13) | 51 (11) | 56.9 (14) row 3 : precipitation inches (mm) | 2.84 (72.1) | 3.44 (87.4) | 1.96 (49.8) | 0.66 (16.8) | 0.21 (5.3) | 0.04 (1) | 0.01 (0.3) | 0.04 (1) | 0.13 (3.3) | 0.50 (12.7) | 1.08 (27.4) | 1.88 (47.8) | 12.79 (324.9) row 4 : avg. rainy days | 7.0 | 7.9 | 5.1 | 2.4 | 1.0 | 0.4 | 0.1 | 0.5 | 1.0 | 0.8 | 2.5 | 4.0 | 32.7 ] Execute this SQL based on the above table: select max ( month ) - min ( month )
0
[ 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 loser where notes = 'steel cage masks vs. hairs match' and notes > 1374 order by notes limit 1
halloween, damian 666 and nicho el millonario
[ 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 count ( film ) where role = 'naya khoon'
0
[ header: treaty | organization | introduced | signed | ratified row 1 : convention on the prevention and punishment of the crime of | united nations | 1948 | None | 1958 row 2 : international convention on the elimination of all forms of | united nations | 1966 | 1967 | 1970 row 3 : international covenant on economic, social and cultural rights | united nations | 1966 | 1977 | 1979 row 4 : international covenant on civil and political rights | united nations | 1966 | 1977 | 1979 row 5 : first optional protocol to the international covenant on civil and | united nations | 1966 | None | None row 6 : convention on the non-applicability of | united nations | 1968 | None | None row 7 : international convention on the suppression and punishment of the crime | united nations | 1973 | None | None row 8 : convention on the elimination of all forms of discrimination | united nations | 1979 | None | 1993 row 9 : convention against torture and other cruel, inhuman or | united nations | 1984 | 1986 | 1993 row 10 : convention on the rights of the child | united nations | 1989 | 1990 | 1993 row 11 : second optional protocol to the international covenant on civil and | united nations | 1989 | None | None row 12 : international convention on the protection of the rights of all | united nations | 1990 | 1991 | 1993 row 13 : optional protocol to the convention on the elimination of all | united nations | 1999 | None | None row 14 : optional protocol to the convention on the rights of the | united nations | 2000 | 2000 | 2002 row 15 : optional protocol to the convention on the rights of the | united nations | 2000 | 2000 | 2001 row 16 : convention on the rights of persons with disabilities | united nations | 2006 | 2007 | 2009 row 17 : optional protocol to the convention on the rights of persons | united nations | 2006 | None | 2009 row 18 : international convention for the protection of all persons from enforce | united nations | 2006 | 2007 | 2013 row 19 : optional protocol to the international covenant on economic, social | united nations | 2008 | None | None row 20 : optional protocol to the convention on the rights of the | united nations | 2011 | 2012 | None ] Execute this SQL based on the above table: select max ( ratified ) where introduced > 1997
2013
[ header: year | order | quantity | ger nos. row 1 : 1893 | n31 | 1 | 999 row 2 : 1893 | h33 | 10 | 979-988 row 3 : 1894 | l33 | 10 | 989-998 row 4 : 1894 | e34 | 10 | 969-978 row 5 : 1896 | n37 | 10 | 959-968 row 6 : 1897 | h40 | 10 | 949-958 row 7 : 1897 | o41 | 10 | 602-608, 946-948 row 8 : 1898 | g42 | 10 | 542-551 row 9 : 1898 | k43 | 10 | 562-571 ] Execute this SQL based on the above table: select order where quantity = 1
n31
[ header: boat # | name | builder | laid down | launched | completed | fate row 1 : 4918 | ha-208 | sasebo naval arsenal | 01-05-1945 | 26-05-1945 | 04-08-1945 | decommissioned 30-11-1945. scut row 2 : 4920 | ha-210 | sasebo naval arsenal | 14-05-1945 | 10-06-1945 | 11-08-1945 | decommissioned 30-11-1945. scut row 3 : 4925 | ha-215 | sasebo naval arsenal | 22-05-1945 | 15-05-1945 | None | incomplete until the end of war (95%). row 4 : 4931 | ha-221 | mitsubishi-kobe shipyard | 20-04-1945 | 04-08-1945 | None | incomplete until the end of war (85%). row 5 : 4933 | ha-223 | kawasaki-kobe shipyard | 01-05-1945 | None | None | incomplete until the end of war (60%). scrap row 6 : 4938 | ha-228 | sasebo naval arsenal | 21-06-1945 | 18-07-1945 | None | incomplete until the end of war (75%). row 7 : 4939 | ha-229 | sasebo naval arsenal | 27-06-1945 | 27-07-1945 | None | incomplete until the end of war (75%). scrap row 8 : 4942 | ha-232 | sasebo naval arsenal | 18-07-1945 | None | None | incomplete until the end of war (40%). later row 9 : 4944 | ha-234 | kawasaki-kobe shipyard | 15-05-1945 | None | None | incomplete until the end of war (50%). scrap row 10 : 4945 | ha-235 | kawasaki-senshu shipyard | 01-06-1945 | None | None | incomplete until the end of war (10%). later row 11 : 4946 | ha-236 | kawasaki-kobe shipyard | 01-06-1945 | None | None | incomplete until the end of war (40%). scrap row 12 : 4958 - 4989 | None | None | None | None | None | constructions were not started until the end of war ] Execute this SQL based on the above table: select count ( * ) where builder = 'sasebo naval arsenal'
6
[ header: | | | | | | | | | | row 1 : 2010s | 2010 | 2011 | 2012 | 2013 | 2014 | 2015 | 2016 | 2017 | 2018 | None row 2 : 2000s | 2000 | 2001 | 2002 | 2003 | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 row 3 : 1990s | 1990 | 1991 | 1992 | 1993 | 1994 | 1995 | 1996 | 1997 | 1998 | 1999 row 4 : 1980s | 1980 | 1981 | 1982 | 1983 | 1984 | 1985 | 1986 | 1987 | 1988 | 1989 row 5 : 1970s | 1970 | 1971 | 1972 | 1973 | 1974 | 1975 | 1976 | 1977 | 1978 | 1979 row 6 : 1960s | 1960 | 1961 | 1962 | 1963 | 1964 | 1965 | 1966 | 1967 | 1968 | 1969 row 7 : 1950s | 1950 | 1951 | 1952 | 1953 | 1954 | 1955 | 1956 | 1957 | 1958 | 1959 row 8 : 1940s | 1940 | 1941 | 1942 | 1943 | 1944 | 1945 | 1946 | 1947 | 1948 | 1949 row 9 : 1930s | 1930 | 1931 | 1932 | 1933 | 1934 | 1935 | 1936 | 1937 | 1938 | 1939 row 10 : 1920s | 1920 | 1921 | 1922 | 1923 | 1924 | 1925 | 1926 | 1927 | 1928 | 1929 row 11 : 1910s | 1910 | 1911 | 1912 | 1913 | 1914 | 1915 | 1916 | 1917 | 1918 | 1919 row 12 : 1900s | 1900 | 1901 | 1902 | 1903 | 1904 | 1905 | 1906 | 1907 | 1908 | 1909 row 13 : 1890s | 1890 | 1891 | 1892 | 1893 | 1894 | 1895 | 1896 | 1897 | 1898 | 1899 row 14 : 1880s | 1880 | 1881 | 1882 | 1883 | 1884 | 1885 | 1886 | 1887 | 1888 | 1889 row 15 : 1870s | 1870 | 1871 | 1872 | 1873 | 1874 | 1875 | 1876 | 1877 | 1878 | 1879 ] Execute this SQL based on the above table: select group by order by count ( * ) desc limit 1
2016
[ header: position | driver | no. | car | entrant | rd 1 | rd 2 | rd 3 | rd 4 | rd 5 | rd 6 | rd 7 | rd 8 | total row 1 : 1 | greg crick | 3 | dodge viper gts ac | crickcars.com | 98 | 108 | 91 | 72 | 98 | 96 | 60 | 90 | 713 row 2 : 5 | sven burchartz | 90 | porsche 996 gt3 | cargraphic ag | 32 | 18 | None | 63 | 57 | 69 | 114 | 85.5 | 438.5 row 3 : 6 | david wall | 38 | porsche 996 gt3 r | rds | 32 | 37.5 | 63 | None | 80 | 33 | None | 117 | 362.5 row 4 : 7 | john teulan | 88 | ferrari 360 challenge ferrari f430 challenge | industry central - stahlwille | 47 | 48 | 61 | 77 | None | 48 | 48 | 19.5 | 348.5 row 5 : 8 | max twigg | 18 & 17 | porsche 996 gt3 | twigg waste management luxton | 45 | 33 | 51 | 14 | 37 | 57 | None | 66 | 303 row 6 : 9 | d'arcy russell | 7 | dodge viper gts ac | dupont | 34 | 31.5 | None | 23 | None | 117 | None | 60 | 265.5 row 7 : 14 | paul tressider | 23 | porsche 996 gt3 cup car | wynn tressider management | 29 | 22.5 | 49 | None | None | 45 | None | 43.5 | 189 row 8 : 16 | damien flack | 55 | porsche 996 gt3 cup car | roock | None | None | 69 | 12 | None | 54 | None | 25.5 | 160.5 row 9 : 18 | bill pye | 44 | porsche 996 gt3 cup car | autohaus hamilton property solutions group | None | 58.5 | None | None | None | 39 | None | 43.5 | 141 row 10 : 19 | anthony skinner | 46 | porsche 996 gt3 | travelplan ski holiday | 52 | 18 | None | None | None | None | 69 | None | 139 row 11 : 20 | andrew luxton | 17 & 18 | porsche 996 gt3 cup car | luxton plant twigg waste | None | None | None | None | None | 57 | None | 66 | 123 row 12 : 22 | ian palmer | 20 | honda nsx | instant fountains paluky ho | 25 | None | 33 | 53 | None | None | None | None | 111 row 13 : 24 | kevin miller | 2 | ferrari f430 | property solutions group | None | None | None | None | None | None | 63 | 36 | 99 row 14 : 26 | peter hackett | 5 | lamborghini diablo gt | team lamborghini australia | None | 91.5 | None | None | None | None | None | None | 91.5 row 15 : 28 | graeme cook | 91 | porsche 996 gt3 cup car | container solutions | 27 | None | None | None | 58 | None | None | None | 85 row 16 : 32 | stuart kostera | 70 | porsche 996 gt3 cup car | phr scuderia | None | None | None | 73 | None | None | None | None | 73 row 17 : 34 | justin levis | 78 | lotus elise motorsport 200 | cue autohaus hamilton | None | 24 | None | None | None | 39 | None | None | 63 ] Execute this SQL based on the above table: select count ( entrant ) where car = 'porsche 996 gt3 cup car'
6
[ header: by-election | date | incumbent | party | winner | party | cause | retained row 1 : stanstead | january 22, 1908 | henry lovell | liberal | charles henry lovell | liberal | death | yes row 2 : nicolet | december 30, 1907 | charles ramsay devlin | liberal | gustave-adolphe-n | liberal | resignation upon appointment to the provincial cabinet of quebe | yes row 3 : london | october 29, 1907 | c. s. hyman | liberal | thomas beattie | conservative | resignation | no row 4 : brockville | september 18, 1907 | daniel derbyshire | liberal | george perry graham | liberal | called to the senate | yes row 5 : city and county of st. john | september 18, 1907 | alfred stockton | conservative | william pugsley | liberal | death | no row 6 : richelieu | march 7, 1907 | arthur-aime bruneau | liberal | adelard lanctot | liberal | appointed a judge of the superior court of que | yes row 7 : three rivers and st. maurice | february 28, 1907 | jacques bureau | liberal | jacques bureau | liberal | recontested upon appointment as solicitor general | yes row 8 : st. mary | november 21, 1906 | camille piche | liberal | mederic martin | liberal | appointed police magistrate in montreal | yes row 9 : shelburne and queen's | october 31, 1906 | william stevens fielding | liberal | william stevens fielding | liberal | election declared void | yes row 10 : elgin east | october 14, 1906 | andrew b. ingram | liberal-conservative | david marshall | conservative | appointed vice chairman of the ontario railway and | yes row 11 : renfrew north | october 9, 1906 | peter white | conservative | gerald verner white | conservative | death | yes row 12 : strathcona | april 5, 1906 | peter talbot | liberal | wilbert mcinty | liberal | called to the senate | yes row 13 : victoria city | march 6, 1906 | george riley | liberal | william templeman | liberal | resignation to provide a seat for templeman | yes row 14 : maisonneuve | february 23, 1906 | raymond prefontaine | liberal | alphonse verville | labour | death | no row 15 : assiniboia west | february 6, 1906 | thomas walter scott | liberal | william erskine knowles | liberal | resignation to enter provincial politics in sas | yes row 16 : saskatchewan | february 6, 1906 | john henderson lamont | liberal | george ewan mccra | liberal | resignation to enter provincial politics in sas | yes row 17 : antigonish | november 22, 1905 | colin mcisaac | liberal | william chisholm | liberal | appointed a railway commissioner | yes row 18 : lambton west | november 22, 1905 | thomas george johnston | liberal | frederick forsyth parde | liberal | death | yes row 19 : wentworth | november 22, 1905 | e. d. smith | conservative | peter douglas mclean | conservative | election declared void | yes row 20 : edmonton | april 25, 1905 | frank oliver | liberal | frank oliver | liberal | recontested upon appointment as minister of the interior | yes ] Execute this SQL based on the above table: select date where id = 1
january 22, 1908
[ header: series | launch date | finale date | days | housemates | winner | main presenter | grand prize | liveshow audience millions row 1 : grande fratello 1 | 14 september 2000 | 21 december 2000 | 99 | 10 | cristina plevani | daria bignardi | £250,000,000 (nowadays €12 | 9.82 row 2 : grande fratello 2 | 20 september 2001 | 20 december 2001 | 92 | 16 | flavio montrucchio | daria bignardi | £250,000,000 (nowadays €12 | 8 row 3 : grande fratello 3 | 30 january 2003 | 8 may 2003 | 99 | 16 | floriana secondi | barbara d'urso | €241,000 (reduced from €300 | 8 row 4 : grande fratello 4 | 22 january 2004 | 6 may 2004 | 106 | 15 | serena garitta | barbara d'urso | €300,000 | 8.44 row 5 : grande fratello 5 | 23 september 2004 | 2 december 2004 | 71 | 17 | jonathan kashanian | barbara d'urso | €250,000 | 6.86 row 6 : grande fratello 6 | 19 january 2006 | 27 april 2006 | 99 | 18 | augusto de megni | alessia marcuzzi | €900,000 (reduced from € | 6.51 row 7 : grande fratello 7 | 18 january 2007 | 19 april 2007 | 92 | 19 | milo coretti | alessia marcuzzi | €500,000 | 5.57 row 8 : grande fratello 8 | 21 january 2008 | 21 april 2008 | 92 | 21 | mario ferretti | alessia marcuzzi | €500,000 | 5.46 row 9 : grande fratello 9 | 12 january 2009 | 20 april 2009 | 99 | 23 | ferdi berisa | alessia marcuzzi | €300,000 | 6.63 row 10 : grande fratello 10 | 26 october 2009 | 8 march 2010 | 134 | 26 | mauro marin | alessia marcuzzi | €250,000 | 6.16 row 11 : grande fratello 11 | 18 october 2010 | 18 april 2011 | 183 | 35 | andrea cocco | alessia marcuzzi | €300,000 (extended from €2 | 5.43 row 12 : grande fratello 12 | 24 october 2011 | 1 april 2012 | 161 | 36 | sabrina mbarek | alessia marcuzzi | €240,000 (reduced from €2 | 3.85 row 13 : grande fratello 13 | 3 march 2014 | early june | 92 | 15 | None | alessia marcuzzi | €250,000 | None ] Execute this SQL based on the above table: select launch date order by liveshow audience millions desc limit 1
14 september 2000
[ header: name | armenian | location | # of prisoners designed for | notes row 1 : nubarashen | «նուբարաշեն» | nubarashen, yerevan | 840 | None row 2 : kosh | «կոշ» | kosh, aragatsot | 640 | None row 3 : sevan | «սեւան» | hrazdan, kotayk | 548 | None row 4 : prison hospital | «դատապարտյալների հիվանդանոց» | kentron, yerevan | 464 | None row 5 : erebuni | «էրեբունի» | nubarashen, yerevan | 391 | None row 6 : artik | «արթիկ» | harich, shirak | 373 | None row 7 : abovyan | «աբովյան» | abovyan, kotay | 250 | for women and minors row 8 : vanadzor | «վանաձոր» | vanadzor, lori | 245 | None row 9 : goris | «գորիս» | goris, syunik | 215 | None row 10 : hrazdan | «հրազդան» | hrazdan, kotayk | 215 | None row 11 : vardashen | «վարդաշեն» | nubarashen, yerevan | 150 | for former policemen and military officers row 12 : yerevan-center | «երեւան-կենտրոն» | kentron, yerevan | 60 | None row 13 : total | total | total | 4391 | None ] Execute this SQL based on the above table: select count ( armenian ) where # of prisoners designed for >= 464
5
[ header: score | 2007 | 2008 | 2009 | 2010 | 2011 | 2012 | 2013 row 1 : 5 | 15.3% | 18.4% | 18.0% | 17.1% | 17.0% | 16.4% | 18.9% row 2 : 4 | 18.0% | 17.5% | 17.9% | 18.5% | 18.4% | 19.3% | 21.5% row 3 : 3 | 23.0% | 20.0% | 20.2% | 19.3% | 19.5% | 20.1% | 18.8% row 4 : 2 | 18.5% | 14.3% | 14.2% | 12.7% | 14.6% | 15.0% | 14.9% row 5 : 1 | 25.3% | 29.9% | 29.8% | 32.3% | 30.4% | 29.2% | 26.0% row 6 : mean | 2.79 | 2.8 | 2.8 | 2.76 | 2.77 | 2.79 | 2.92 row 7 : number of students | 97136 | 100586 | 104789 | 115077 | 122651 | 132425 | 140006 ] Execute this SQL based on the above table: select abs ( ( select 2013 where 2010 = '18.5%' ) - ( select 2010 where 2008 = '18.4%' ) )
4.399999999999999
[ header: devanagari | iso 15919 | unrsgn | iast | comment row 1 : ए / | e | e | e | to distinguish between long and short 'e' row 2 : ओ / ो | o | o | o | to distinguish between long and short 'o' row 3 : ऋ / | r | r | r | in iso 15919, r is row 4 : ॠ / | r | r | r | for consistency with r row 5 : ऌ / | l | l | l | in iso 15919, l is row 6 : ॡ / | l | l | l | for consistency with l row 7 : ◌ | m | m | m | iso 15919 has two options about an row 8 : ◌ | n n n n m | m | m | iso 15919 has two options about an row 9 : ◌ | m | None | m | vowel nasalization is transliterated as ] Execute this SQL based on the above table: select comment where iso 15919 in ( 'l' , 'n n n n m' )
in iso 15919, l is used to represent ळ, for consistency with l, iso 15919 has two options about anusvara. (1) in the simplified nasalization option, an anusvara is always transliterated as m. (2) in the strict nasalization option, anusvara before a class consonant is transliterated as the class nasal-n before k, kh, g, gh, n; n before c, ch, j, jh, n; n before t, th, d, dh, n; n before t, th, d, dh, n; m before p, ph, b, bh, m. m is sometimes used to specifically represent gurmukhi tippi
[ header: town/village | population | postal code | municipality | island | location row 1 : dalur | 48 | fo 235 | husavikar | sandoy | 61°46′56′′n 6° row 2 : depil | 2 | fo 735 | hvannasunds | borðoy | 62°17′10′′n 6° row 3 : famjin | 113 | fo 870 | famjins | suðuroy | 61°31′35′′n 6° row 4 : funningur | 83 | fo 475 | funnings | eysturoy | 62°17′17′′n 6° row 5 : gøtugjogv | 53 | fo 511 | gøtu | eysturoy | 62°11′25′′n 6° row 6 : haldarsvik | 164 | fo 440 | sunda | streymoy | 62°16′37′′n 7° row 7 : hellur | 26 | fo 695 | fuglafjarðar | eysturoy | 62°15′49′′n 6° row 8 : klaksvik | 4681 | fo 700 | klaksvikar | borðoy | 62°13′26′′n 6° row 9 : lambi | 142 | fo 627 | runavikar | eysturoy | 62°8′33′′n 6° row 10 : miðvagur | 1032 | fo 370 | miðvags | vagar | 62°3′4′′n 7° row 11 : nes, vagur | 30 | fo 925 | vags | suðuroy | 61°28′20′′n 6° row 12 : saltnes | 153 | fo 656 | nes | eysturoy | 62°6′19′′n 6° row 13 : sandur | 596 | fo 210 | sands | sandoy | 61°50′10′′n 6° row 14 : selatrað | 63 | fo 497 | sjovar | eysturoy | 62°9′31′′n 6° row 15 : skalabotnur | 100 | fo 485 | runavikar | eysturoy | 62°11′52′′n 6° row 16 : strendur | 817 | fo 490 | sjovar | eysturoy | 62°6′46′′n 6° ] Execute this SQL based on the above table: select island group by island order by count ( municipality ) desc limit 1
eysturoy
[ header: wicket | score | batting partners | opposition | venue | year | link row 1 : 1st | 375 | ra white & mj po | gloucestershire | northampton | 2002 | row 2 : 2nd | 344 | g cook & rj boyd | lancashire | northampton | 1986 | row 3 : 3rd | 393 | a fordham & aj | yorkshire | leeds | 1990 | row 4 : 4th | 370 | rt virgin & p wille | somerset | northampton | 1976 | row 5 : 5th | 401 | mb loye & d | glamorgan | northampton | 1998 | row 6 : 6th | 376 | r subba row & a | surrey | the oval | 1958 | row 7 : 7th | 293 | djg sales & d | essex | northampton | 1999 | row 8 : 8th | 179 | aj hall & jd middle | surrey | the oval | 2011 | row 9 : 9th | 156 | r subba row & s | lancashire | northampton | 1955 | row 10 : 10th | 148 | bw bellamy & j | glamorgan | northampton | 1925 | ] Execute this SQL based on the above table: select count ( opposition ) where opposition != 'yorkshire' and year >= 1976
6
[ 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 road = 1369
0
[ header: date | round | opponent | venue | result | attendance | scorers row 1 : 16 september 1992 | r1 | lyngby | h | 2-0 | 40036 | hateley, huistra row 2 : 30 september 1992 | r1 | lyngby | a | 1-0 | 4273 | durrant row 3 : 21 october 1992 | r2 | leeds united | h | 2-1 | 43251 | mccoist, lukic row 4 : 4 november 1992 | r2 | leeds united | a | 2-1 | 25118 | hateley, mccoist row 5 : 25 november 1992 | gs | marseille | h | 2-2 | 41624 | mcswegan, hateley row 6 : 9 december 1992 | gs | cska moscow | a | 1-0 | 9000 | ferguson row 7 : 3 march 1993 | gs | club brugge | a | 1-1 | 19000 | huistra row 8 : 17 march 1993 | gs | club brugge | h | 2-1 | 42731 | durrant, nisbet row 9 : 7 april 1993 | gs | marseille | a | 1-1 | 46000 | durrant row 10 : 21 april 1993 | gs | cska moscow | h | 0-0 | 43142 | None ] Execute this SQL based on the above table: select venue order by attendance asc limit 1
a
[ header: | dingli | marsa | mellieha | mosta | qormi | senglea | st.georges | st.patrick | tarxien | vittoriosa row 1 : dingli | None | 6-2 | 2-2 | 0-2 | 2-0 | 0-1 | 2-2 | 2-0 | 1-3 | 0-0 row 2 : marsa | 0-3 | None | 0-1 | 2-4 | 3-4 | 0-5 | 1-3 | 1-0 | 2-3 | 1-4 row 3 : mellieha | 0-2 | 1-3 | None | 1-2 | 4-3 | 1-3 | 0-1 | 2-2 | 2-2 | 3-6 row 4 : mosta | 4-0 | 0-3 | 3-0 | None | 2-2 | 3-1 | 2-0 | 2-0 | 0-1 | 2-1 row 5 : qormi | 4-2 | 1-1 | 3-0 | 3-3 | None | 1-0 | 1-0 | 1-0 | 4-1 | 0-1 row 6 : senglea | 0-4 | 5-2 | 4-0 | 2-1 | 1-3 | None | 2-0 | 0-4 | 0-1 | 1-0 row 7 : st. george's | 4-2 | 6-0 | 1-2 | 2-2 | 0-0 | 0-4 | None | 2-1 | 2-0 | 3-7 row 8 : st. patrick | 0-2 | 1-1 | 3-1 | 0-1 | 1-3 | 1-1 | 4-1 | None | 1-1 | 1-3 row 9 : tarxien | 2-1 | 4-0 | 3-0 | 0-0 | 0-2 | 1-0 | 1-0 | 3-0 | None | 3-2 row 10 : vittoriosa | 1-3 | 2-1 | 2-1 | 0-1 | 1-2 | 1-2 | 2-0 | 0-2 | 0-3 | None ] Execute this SQL based on the above table: select abs ( vittoriosa - st.georges ) order by marsa desc limit 1
2
[ header: date | opponent | home/away | field | result row 1 : june 2 | lizards | away | hofstra stadium | l 8-21 row 2 : june 7 | pride | away | commerce bank ballpark | l 7-12 row 3 : june 15 | cannons | home | the ballpark at harbor yard | l 18-19 ot row 4 : june 21 | bayhawks | home | dunning field | l 7-15 row 5 : june 22 | bayhawks | away | ravens stadium | w 15-12 row 6 : june 28 | lizards | home | the ballpark at harbor yard | l 20-21 ot row 7 : july 6 | pride | home | the ballpark at harbor yard | l 16-17 ot row 8 : july 12 | rattlers | away | frontier field | l 5-15 row 9 : july 18 | cannons | away | cawley memorial stadium | l 13-22 row 10 : july 25 | rattlers | home | the ballpark at harbor yard | l 12-16 row 11 : july 27 | cannons | away | cawley memorial stadium | w 19-17 row 12 : july 31 | lizards | home | the ballpark at harbor yard | w 15-13 row 13 : august 9 | cannons | home | the ballpark at harbor yard | l 15-17 row 14 : august 17 | lizards | away | hofstra stadium | l 11-18 ] Execute this SQL based on the above table: select count ( date ) where opponent = 'rattlers'
2
[ header: japanese title | western title | regions | release | platform(s) | genre row 1 : chinese hero | None | jp | 1984 | arcade | action row 2 : super chinese | kung-fu heroes | jp, na | 1986 | fc/nes | action row 3 : super chinese 2 | little ninja brothers | jp, na | 1989 | fc/nes | role-playing row 4 : super chinese 3 | None | jp | 1991 | fc | role-playing row 5 : super chinese land | ninja boy | jp, na | 1990 | gb | action row 6 : super chinese land 2 | ninja boy 2 | jp, na | 1990 | gb | role-playing row 7 : super chinese land 3 | None | jp | 1995 | gb | role-playing row 8 : super chinese world | super ninja boy | jp, na | 1991 | sfc/snes | role-playing row 9 : super chinese world 2 | None | jp | 1993 | sfc | role-playing row 10 : super chinese world 3 | None | jp | 1995 | sfc | role-playing row 11 : super chinese fighter | None | jp | 1995 | sfc | fighting row 12 : super chinese fighter gb | None | jp | 1996 | gb | fighting row 13 : super chinese fighter ex | None | jp | 1999 | gbc | fighting ] Execute this SQL based on the above table: select platform(s) order by western title asc limit 1
arcade
[ header: year | team | games | attempts | yards | ypc | long | tds row 1 : 1983 | los angeles rams | 16 | 390 | 1808 | 4.6 | 85 | 18 row 2 : 1984 | los angeles rams | 16 | 379 | 2105 | 5.6 | 66 | 14 row 3 : 1985 | los angeles rams | 14 | 292 | 1234 | 4.2 | 43 | 12 row 4 : 1986 | los angeles rams | 16 | 404 | 1821 | 4.5 | 42 | 11 row 5 : 1987 | los angeles rams | 3 | 60 | 277 | 4.6 | 57 | 1 row 6 : 1987 | indianapolis colts | 9 | 223 | 1011 | 4.5 | 53 | 5 row 7 : 1988 | indianapolis colts | 16 | 388 | 1659 | 4.3 | 41 | 14 row 8 : 1989 | indianapolis colts | 15 | 314 | 1311 | 4.2 | 21 | 7 row 9 : 1990 | indianapolis colts | 11 | 166 | 677 | 4.1 | 43 | 4 row 10 : 1991 | indianapolis colts | 10 | 167 | 536 | 3.2 | 28 | 2 row 11 : 1992 | los angeles raiders | 16 | 187 | 729 | 3.9 | 40 | 2 row 12 : 1993 | atlanta falcons | 4 | 26 | 91 | 3.5 | 10 | 0 row 13 : career | None | 146 | 2996 | 13259 | 4.4 | 85 | 90 ] Execute this SQL based on the above table: select ( select count ( team ) ) >= 1423
0
[ header: rank | team | athletes | run 1 | run 2 | run 3 | run 4 | final row 1 : silver | italy (ita) italy | eugenio monti, | 1:17.69 | 1:17.97 | 1:18.13 | 1:18.31 | 5:12.10 row 2 : bronze | united states (usa) usa i | arthur tyler, william | 1:17.75 | 1:17.87 | 1:18.25 | 1:18.52 | 5:12.39 row 3 : 4 | switzerland (sui) | max angst, aby gar | 1:17.41 | 1:17.85 | 1:18.68 | 1:20.33 | 5:14.27 row 4 : 7 | austria (aut) austria i | kurt loserth, wil | 1:19.37 | 1:19.12 | 1:20.08 | 1:19.72 | 5:18.29 row 5 : 8 | germany (ger) germany ii | franz schelle, jako | 1:19.03 | 1:18.84 | 1:19.31 | 1:21.35 | 5:18.50 row 6 : 9 | spain (esp) spain | alfonso de portago, | 1:18.87 | 1:19.27 | 1:21.37 | 1:19.08 | 5:19.49 row 7 : 11 | norway (nor) norway i | arne røgden, ar | 1:20.96 | 1:20.08 | 1:20.45 | 1:20.01 | 5:21.50 row 8 : 13 | sweden (swe) s | kjell holmstrom, | 1:20.58 | 1:20.32 | 1:21.15 | 1:21.13 | 5:23.18 row 9 : 16 | sweden (swe) s | olle axelsson, | 1:18.95 | 1:19.98 | 1:22.75 | 1:21.86 | 5:23.54 row 10 : 18 | france (fra) france | andre robin, pierre bouvier | 1:20.00 | 1:21.25 | 1:20.95 | 1:21.63 | 5:23.83 row 11 : 21 | poland (pol) poland | aleksy konieczny | None | None | None | None | 5:28.40 ] Execute this SQL based on the above table: select rank where rank in ( 16 , 4 ) order by run 2 desc limit 1
4
[ header: type | stage | cyclist | team | reason row 1 : dnf | 2 | remi pauriol | cofidis | broken collarbone row 2 : dns | 3 | jose angel gomez marchante | cervelo testteam | broken arm sustained from crash in stage 2 row 3 : dns | 3 | daniel martin | garmin-slipstream | illness row 4 : dns | 3 | joost posthuma | rabobank | illness row 5 : dnf | 3 | matteo bono | lampre-ngc | None row 6 : dnf | 3 | anthony charteau | caisse d'epargne | None row 7 : dns | 4 | sylvain calzat | agritubel | None row 8 : dns | 4 | bradley wiggins | garmin-slipstream | death in the family row 9 : dnf | 4 | jussi veikkanen | francaise des jeux | None row 10 : dns | 5 | inigo cuesta | cervelo testteam | None row 11 : dns | 5 | enrico franzoi | liquigas | None row 12 : dnf | 5 | steven cozza | garmin-slipstream | None row 13 : dnf | 5 | philippe gilbert | silence-lotto | None row 14 : dnf | 5 | brian vandborg | liquigas | None row 15 : dns | 6 | jelle vanendert | silence-lotto | None row 16 : dnf | 6 | jose luis arrieta | ag2r-la mondiale | None row 17 : dnf | 6 | sebastien chavanel | francaise des jeux | None row 18 : dnf | 6 | simon spilak | lampre-ngc | None row 19 : dnf | 6 | thomas voeckler | bbox bouygues telecom | shoulder injury sustained from crash row 20 : dns | 7 | sebastian langeveld | rabobank | None row 21 : dnf | 7 | samuel sanchez | euskaltel-euskad | None row 22 : dnf | 7 | mickael cherel | francaise des jeux | None row 23 : dnf | 7 | thomas fothen | team milram | None row 24 : dnf | 7 | marcel sieberg | team columbia-high road | None row 25 : dnf | 7 | tom veelers | skil-shimano | None row 26 : dnf | 7 | mickael buffaz | cofidis | None row 27 : dnf | 7 | javier aramendia | euskaltel-euskad | None row 28 : dnf | 7 | romain feillu | agritubel | None ] Execute this SQL based on the above table: select ( select stage order by stage asc limit 7 ) - ( select stage order by stage desc limit 1 )
-5.0
[ header: no | driver | entrant | constructor | chassis | engine | tyre row 1 : 2 | johnny claes | ecurie belge | talbot-lago | talbot-lago t26c | talbot 23cv 4.5 l | d row 2 : 6 | yves giraud-cab | yves giraud-cab | talbot-lago | talbot-lago t26c | talbot 23cv 4.5 l | d row 3 : 8 | louis rosier | ecurie rosier | talbot-lago | talbot-lago t26c | talbot 23cv 4.5 l | d row 4 : 10 | henri louveau | ecurie rosier | talbot-lago | talbot-lago t26c | talbot 23cv 4.5 l | d row 5 : 12 | george abecassis | hw motors | hwm-alta | hwm 51 | alta 1.5 l4s | d row 6 : 16 | peter whitehead | scuderia ferrari | ferrari | ferrari 125 | ferrari 125 f1 1.5 v | d row 7 : 18 | luigi villoresi | scuderia ferrari | ferrari | ferrari 375 | ferrari type 375 4.5 v12 | p row 8 : 20 | alberto ascari | scuderia ferrari | ferrari | ferrari 375 | ferrari type 375 4.5 v12 | p row 9 : 22 | nino farina | alfa romeo spa | alfa romeo | alfa romeo 159a | alfa romeo 1.5 l8 | p row 10 : 24 | juan manuel fangio | alfa romeo spa | alfa romeo | alfa romeo 159a | alfa romeo 1.5 l8 | p row 11 : 26 | toulo de graffenried | alfa romeo spa | alfa romeo | alfa romeo 159a | alfa romeo 1.5 l8 | p row 12 : 30 | louis chiron | enrico plate | maserati | maserati 4clt-48 | maserati 4 cl 1.5 | p row 13 : 32 | harry schell | enrico plate | maserati | maserati 4clt-48 | maserati 4 cl 1.5 | p row 14 : 40 | guy mairesse | yves giraud-cab | talbot-lago | talbot-lago t26c | talbot 23cv 4.5 l | d row 15 : 42 | jose froilan gonzal | jose froilan gonzal | talbot-lago | talbot-lago t26c | talbot 23cv 4.5 l | d row 16 : 48 | maurice trintignant | equipe gordini | simca-gordini | simca-gordini t | simca-gordini 15c | e row 17 : 52 | peter hirt | peter hirt | veritas | veritas meteor | veritas 2.0 l6 | None ] Execute this SQL based on the above table: select min ( no ) where engine = 'alfa romeo 1.5 l8s'
22.0
[ header: by-election | date | incumbent | party | winner | party | cause | retained row 1 : stanstead | january 22, 1908 | henry lovell | liberal | charles henry lovell | liberal | death | yes row 2 : nicolet | december 30, 1907 | charles ramsay devlin | liberal | gustave-adolphe-n | liberal | resignation upon appointment to the provincial cabinet of quebe | yes row 3 : london | october 29, 1907 | c. s. hyman | liberal | thomas beattie | conservative | resignation | no row 4 : brockville | september 18, 1907 | daniel derbyshire | liberal | george perry graham | liberal | called to the senate | yes row 5 : city and county of st. john | september 18, 1907 | alfred stockton | conservative | william pugsley | liberal | death | no row 6 : richelieu | march 7, 1907 | arthur-aime bruneau | liberal | adelard lanctot | liberal | appointed a judge of the superior court of que | yes row 7 : three rivers and st. maurice | february 28, 1907 | jacques bureau | liberal | jacques bureau | liberal | recontested upon appointment as solicitor general | yes row 8 : st. mary | november 21, 1906 | camille piche | liberal | mederic martin | liberal | appointed police magistrate in montreal | yes row 9 : shelburne and queen's | october 31, 1906 | william stevens fielding | liberal | william stevens fielding | liberal | election declared void | yes row 10 : elgin east | october 14, 1906 | andrew b. ingram | liberal-conservative | david marshall | conservative | appointed vice chairman of the ontario railway and | yes row 11 : renfrew north | october 9, 1906 | peter white | conservative | gerald verner white | conservative | death | yes row 12 : strathcona | april 5, 1906 | peter talbot | liberal | wilbert mcinty | liberal | called to the senate | yes row 13 : victoria city | march 6, 1906 | george riley | liberal | william templeman | liberal | resignation to provide a seat for templeman | yes row 14 : maisonneuve | february 23, 1906 | raymond prefontaine | liberal | alphonse verville | labour | death | no row 15 : assiniboia west | february 6, 1906 | thomas walter scott | liberal | william erskine knowles | liberal | resignation to enter provincial politics in sas | yes row 16 : saskatchewan | february 6, 1906 | john henderson lamont | liberal | george ewan mccra | liberal | resignation to enter provincial politics in sas | yes row 17 : antigonish | november 22, 1905 | colin mcisaac | liberal | william chisholm | liberal | appointed a railway commissioner | yes row 18 : lambton west | november 22, 1905 | thomas george johnston | liberal | frederick forsyth parde | liberal | death | yes row 19 : wentworth | november 22, 1905 | e. d. smith | conservative | peter douglas mclean | conservative | election declared void | yes row 20 : edmonton | april 25, 1905 | frank oliver | liberal | frank oliver | liberal | recontested upon appointment as minister of the interior | yes ] Execute this SQL based on the above table: select cause where id = ( select id where cause = 'appointed police magistrate in montreal' ) + 1
election declared void
[ header: season | level | division | section | administration | position | movements row 1 : 1999 | tier 2 | ykkonen (first division) | south group | finnish fa (suo | 9th | relegation group - relegate row 2 : 2000 | tier 3 | kakkonen (second division) | south group | finnish fa (suo | 2nd | play-offs - promoted row 3 : 2001 | tier 2 | ykkonen (first division) | south group | finnish fa (suo | 9th | relegated row 4 : 2002 | tier 3 | kakkonen (second division) | south group | finnish fa (suo | 2nd | None row 5 : 2003 | tier 3 | kakkonen (second division) | south group | finnish fa (suo | 11th | relegated row 6 : 2004 | tier 4 | kolmonen (third division) | section 3 | helsinki & u | 8th | None row 7 : 2005 | tier 4 | kolmonen (third division) | section 3 | helsinki & u | 6th | None row 8 : 2006 | tier 4 | kolmonen (third division) | section 2 | helsinki & u | 7th | None row 9 : 2007 | tier 4 | kolmonen (third division) | section 3 | helsinki & u | 2nd | None row 10 : 2008 | tier 4 | kolmonen (third division) | section 3 | helsinki & u | 2nd | None row 11 : 2009 | tier 4 | kolmonen (third division) | section 2 | helsinki & u | 1st | promoted row 12 : 2010 | tier 3 | kakkonen (second division) | group a | finnish fa (suo | None | None ] Execute this SQL based on the above table: select division where id = 3
ykkonen (first division)
[ header: full name | nickname | gender | weight at birth | meaning row 1 : chukwuebuka n | ebuka | girl | 690g (22 oz.) | god is big row 2 : chidinma anulika | chidi | girl | 760g (24.4 oz.) | god is good row 3 : chinecherem nwabugw | echerem | girl | 800g (25.7 oz.) | god thinks for me row 4 : chimaijem otto | chima | girl | 730g (23.5 oz.) | god knows my journey row 5 : chijindu chidera | odera | girl | 320g (10.3 oz.) | god holds my life row 6 : chukwubuikem madu | ikem | boy | 500g (16.0 oz.) | god is my strength row 7 : chijioke chinedum | jioke | boy | 810g (26.0 oz.) | god holds my share row 8 : chinagorom chidiebere | gorom | girl | 520g (16.7 oz.) | god is my advocate ] Execute this SQL based on the above table: select count ( * ) where gender = 'boy'
2
[ header: city | country | airport | begin | end row 1 : aberdeen | united kingdom | aberdeen airport | 1999 | None row 2 : alesund | norway | alesund airport, vigra | 1971 | None row 3 : alta | norway | alta airport | 1974 | None row 4 : batsfjord | norway | batsfjord airport | 1999 | None row 5 : bodø | norway | bodø airport | 1968 | None row 6 : brønnøysund | norway | brønnøysund airport, | 1968 | None row 7 : fagernes | norway | fagernes airport, leirin | 1999 | 2000 row 8 : florø | norway | florø airport | 1971 | None row 9 : førde | norway | førde airport, bringel | 1986 | None row 10 : førde | norway | førde airport, øy | 1971 | 1986 row 11 : glasgow | united kingdom | glasgow international airport | 1997 | 1999 row 12 : gothenburg | sweden | gothenburg-landvetter airport | 1996 | None row 13 : hammerfest | norway | hammerfest airport | 1974 | None row 14 : haugesund | norway | haugesund airport, karmø | 2010 | None row 15 : harstad/narvik | norway | harstad/narvik airport, | 1975 | None row 16 : kirkenes | norway | kirkenes airport, hø | 1974 | None row 17 : kristiansand | norway | kristiansand airport, kje | 1991 | None row 18 : lakselv | norway | lakselv airport, banak | 1974 | None row 19 : leknes | norway | leknes airport | 1972 | None row 20 : lerwick | united kingdom | sumburgh airport | 1995 | 2005 row 21 : london | united kingdom | london stansted airport | 1989 | 1992 row 22 : molde | norway | molde airport, arø | 1972 | None row 23 : murmansk | russia | murmansk airport | 1994 | 2000 row 24 : narvik | norway | narvik airport, framnes | 1975 | None row 25 : namsos | norway | namsos airport, hø | 1968 | None row 26 : newcastle | united kingdom | newcastle airport | 2006 | None row 27 : ørland | norway | ørland airport | 1971 | 1987 row 28 : ørsta/volda | norway | ørsta-volda airport, | 1971 | None row 29 : oslo | norway | oslo airport, forne | 1974 | 1998 row 30 : oslo | norway | oslo airport, gardermo | 1998 | None row 31 : rønne | denmark | bornholm airport | 2007 | None row 32 : sandefjord | norway | sandefjord airport, to | 1989 | None row 33 : sandnessjøen | norway | sandnessjøen airport, | 1968 | None row 34 : sogndal | norway | sogndal airport, haukas | 1971 | None row 35 : stavanger | norway | stavanger airport, sola | 1989 | None row 36 : svolvær | norway | svolvær airport, helle | 1972 | None row 37 : tromsø | norway | tromsø airport | 1974 | None row 38 : umea | sweden | umea airport | 1995 | 1995 ] Execute this SQL based on the above table: select count ( airport ) where end > 1152
9
[ header: game | date | opponent | location | score | ot | attendance | record row 1 : 1 | january 6, 2006 | philadelphia wings | xcel energy center | l 11-15 | None | 8024 | 0-1 row 2 : 2 | january 14, 2006 | @ philadelphia wings | wachovia center | w 13-10 | None | 11874 | 1-1 row 3 : 3 | january 20, 2006 | @ calgary roughnecks | pengrowth saddledome | w 12-8 | None | 10637 | 2-1 row 4 : 4 | january 21, 2006 | rochester knighthawks | xcel energy center | l 6-12 | None | 7124 | 2-2 row 5 : 5 | january 29, 2006 | rochester knighthawks | xcel energy center | l 9-10 | None | 7544 | 3-2 row 6 : 6 | february 3, 2006 | @ edmonton rush | rexall place | w 7-6 | None | 8745 | 3-3 row 7 : 7 | february 10, 2006 | philadelphia wings | xcel energy center | w 11-10 | None | 7524 | 4-3 row 8 : 8 | february 18, 2006 | @ buffalo bandits | hsbc arena | l 9-14 | None | 12458 | 4-4 row 9 : 9 | march 3, 2006 | @ toronto rock | air canada centre | l 8-13 | None | 15830 | 4-5 row 10 : 10 | march 4, 2006 | @ buffalo bandits | hsbc arena | w 11-8 | None | 10961 | 5-5 row 11 : 11 | march 17, 2006 | @ portland lumberjax | rose garden | w 14-12 | None | 5487 | 6-5 row 12 : 12 | march 24, 2006 | buffalo bandits | xcel energy center | l 11-13 | None | 9533 | 6-6 row 13 : 13 | april 1, 2006 | toronto rock | xcel energy center | w 10-9 | None | 10084 | 7-6 row 14 : 14 | april 8, 2006 | @ rochester knighthawks | blue cross arena | l 9-10 | None | 10352 | 7-7 row 15 : 15 | april 9, 2006 | san jose stealth | xcel energy center | w 9-8 | ot | 7044 | 8-7 row 16 : 16 | april 15, 2006 | portland lumberjax | xcel energy center | l 8-13 | None | 10104 | 8-8 ] Execute this SQL based on the above table: select location where game = ( select game where location = 'rose garden' ) - 1
hsbc arena
[ 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 sum ( start of term )
131823
[ header: # | title | tpb isbn | tpb release date | tpb page number | collected material row 1 : 1 | the name of the game | isbn 91-33-30546-3 | june, 2007 | 152 | the boys #1-6 row 2 : 2 | get some | isbn 1-933305-68-1 | march, 2008 | 192 | the boys #7-14 row 3 : 3 | good for the soul | isbn 1-933305-92-4 | october, 2008 | 192 | the boys #15-22 row 4 : 4 | we gotta go now | isbn 1-84856-298-5 | july, 2009 | 192 | the boys #23-30 row 5 : 5 | herogasm | isbn 1-60690-082-x | november, 2009 | 144 | herogasm #1-6 row 6 : 6 | the self-preservation society | isbn 1-60690-125-7 | march, 2010 | 192 | the boys #31-38 row 7 : 7 | the innocents | isbn 1-60690-150-8 | december, 2010 | 216 | the boys #39-47 row 8 : 8 | highland laddie | isbn 1-60690-207-5 | april, 2011 | 144 | highland laddie #1-6 row 9 : 9 | the big ride | isbn 1-60690-220-2 | november 9, 2011 | 276 | the boys #48-59 row 10 : 10 | butcher, baker, candlestickmaker | isbn 1-60690-264-4 | march 6, 2012 | 144 | butcher, baker, candlestickmaker #1 row 11 : 11 | over the hill with the sword of a thousand | isbn 1-60690-341-1 | june/july, 2012 | 152 | the boys #60-65 row 12 : 12 | the bloody doors off | isbn 1-60690-373- | december, 2012 | 170 | the boys #66-72 ] Execute this SQL based on the above table: select tpb isbn order by # desc limit 1
isbn 1-60690-220-2
[ header: n | p | nat. | name | age | moving from | type | transfer window | ends | transfer fee row 1 : 20 | rw | por | nuno capucho | 31 | porto | transfer | summer | 2005 | £0.67m row 2 : 15 | cb | georgia | zurab khizanishvili | 21 | dundee | transfer | summer | 2006 | free row 3 : 16 | lb | ita | paolo vanoli | 30 | bologna | transfer | summer | 2005 | free row 4 : 25 | cb | nor | henning berg | 33 | blackburn rovers | transfer | summer | 2004 | free row 5 : 4 | cm | bra | emerson | 31 | atletico madrid | transfer | summer | 2005 | free row 6 : 9 | cf | nor | egil østenstad | 31 | blackburn rovers | transfer | summer | 2004 | free row 7 : 37 | lm | tun | hamed namouchi | 19 | cannes | transfer | None | 2005 | free row 8 : None | cm | fra | marc kalenga | 18 | auxerre | transfer | None | 2004 | free row 9 : 11 | cm | sco | gavin rae | 26 | dundee | transfer | winter | 2007 | £0.25m row 10 : 5 | cb | ned | frank de boer | 33 | galatasaray | transfer | winter | 2004 | free row 11 : 52 | cf | mkd | bajram fetai | 18 | b.93 | transfer | winter | 2006 | £0.2m ] Execute this SQL based on the above table: select max ( age ) where name = 'marc kalenga'
18.0
[ header: rank | name | height ft (m) | floors | year | coordinates | notes row 1 : 1 | ordway building | 404 (123) | 28 | 1970 | 37°48′36′′n 122° | tallest building in both oakland and in row 2 : 2 | kaiser center | 390 (119) | 28 | 1960 | 37°48′32′′n 122° | tallest building constructed in the 1960s row 3 : 4 | 1111 broadway | 360 (110) | 24 | 1990 | 37°48′10′′n 122° | tallest building constructed in the 1990s row 4 : 5 | kaiser engineering building | 336 (102) | 25 | 1984 | 37°48′21′′n 122° | None row 5 : 7= | em harris state office building | 328 (100) | 22 | 1998 | 37°48′23′′n 122° | None row 6 : 7= | ronald v. dellum | 328 (100) | 18 | 1994 | 37°48′16′′n 122° | None row 7 : 7= | ronald v. dellum | 328 (100) | 18 | 1994 | 37°48′18′′n 122° | None row 8 : 10 | oakland city hall | 320 (98) | 14 | 1914 | 37°48′19′′n 122° | tallest building constructed in the 1910s; national row 9 : 12 | 1330 broadway | 297 (91) | 21 | 1956-1959 | 37°48′14′′n 122° | None row 10 : 13 | pacific bell building | 296 (90) | 20 | 1985 | 37°48′37′′n 122° | None row 11 : 14 | 555 city center | 279 (85) | 20 | 2002 | 37°48′13′′n 122° | None row 12 : 15 | park bellevue tower | 270 (82) | 25 | 1969 | 37°48′28′′n 122° | None row 13 : 16 | st. paul's towers | 267 (81) | 22 | 1966 | 37°48′42′′n 122° | None row 14 : 17 | the grand apartments | 263 (80) | 22 | 2008 | 37°48′41′′n 122° | None row 15 : 18 | central building | 235 (72) | 15 | 1926 | 37°48′15′′n 122° | None row 16 : 19 | bank of america building | 225 (69) | 18 | 1907 | 37°48′10′′n 122° | tallest building constructed in the decade of 1900 ] Execute this SQL based on the above table: select count ( * ) where height ft (m) = '235 (72)'
1