inputs
stringlengths
291
3.71k
targets
stringlengths
1
2.65k
[ 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 where district = 28 - 1
manhattan
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | china (chn) | 71 | 39 | 35 | 145 row 2 : 2 | south korea (kor) | 45 | 30 | 31 | 106 row 3 : 3 | thailand (tha) | 17 | 22 | 18 | 57 row 4 : 4 | singapore (sin) | 14 | 18 | 21 | 53 row 5 : 5 | japan (jpn) | 12 | 11 | 10 | 33 row 6 : 6 | hong kong (hkg) | 7 | 13 | 18 | 38 row 7 : 7 | india (ind) | 8 | 7 | 10 | 25 row 8 : 8 | chinese taipei | 7 | 13 | 20 | 40 row 9 : 9 | kazakhstan (kaz) | 5 | 10 | 12 | 27 row 10 : 10 | north korea (prk) | 5 | 6 | 9 | 20 row 11 : 11 | vietnam (vie) | 5 | 6 | 2 | 13 row 12 : 12 | malaysia (mas) | 4 | 6 | 8 | 18 row 13 : 13 | kuwait (kuw) | 4 | 3 | 5 | 12 row 14 : 14 | philippines (phi) | 2 | 4 | 1 | 7 row 15 : 15 | iran (iri) | 1 | 9 | 4 | 14 row 16 : 16 | qatar (qat) | 1 | 4 | 0 | 5 row 17 : 17 | uzbekistan (uzb | 1 | 2 | 8 | 11 row 18 : 18 | indonesia (ina) | 1 | 2 | 3 | 6 row 19 : 19 | saudi arabia (ksa) | 1 | 1 | 2 | 4 row 20 : 20 | yemen (yem) | 1 | 0 | 1 | 2 row 21 : 21 | syria (syr | 1 | 0 | 0 | 1 row 22 : 22 | sri lanka (sr | 0 | 2 | 7 | 9 row 23 : 23 | iraq (irq) | 0 | 1 | 1 | 2 row 24 : 23 | macau (mac) | 0 | 1 | 1 | 2 row 25 : 23 | tajikistan (tjk) | 0 | 1 | 1 | 2 row 26 : 26 | jordan (jor) | 0 | 0 | 3 | 3 row 27 : 26 | mongolia (mgl) | 0 | 0 | 3 | 3 row 28 : 28 | bahrain (brn) | 0 | 0 | 2 | 2 row 29 : 29 | kyrgyzstan (kgz | 0 | 0 | 1 | 1 row 30 : 29 | myanmar (mya) | 0 | 0 | 1 | 1 row 31 : 29 | pakistan (pak) | 0 | 0 | 1 | 1 row 32 : total | total | 213 | 211 | 239 | 663 ] Execute this SQL based on the above table: select min ( min ( rank ) , min ( silver ) )
0.0
[ header: represented | contestant | age | height | hometown row 1 : azua | patricia tomas ferro | 21 | 1.78 m (5 ft 10 in | santo domingo row 2 : com. dom. nueva york | carol maria arciniegas j | 20 | 1.78 m (5 ft 10 in | washington heights row 3 : dajabon | elizabeth rondon garcia | 18 | 1.75 m (5 ft 9 in | loma de cabrera row 4 : distrito nacional | melanie pimentel de la | 26 | 1.69 m (5 ft 6 1 | los alcarrizos row 5 : duverge | yilda santana | 22 | 1.80 m (5 ft 10 3 | santo domingo row 6 : hato mayor | sarah maria reyes | 20 | 1.75 m (5 ft 9 in | san cristobal row 7 : la romana | suanny frontaan de la cruz | 22 | 1.82 m (5 ft 11 3 | la romana row 8 : licey al medio | ana carolina frometa cru | 22 | 1.77 m (5 ft 9 3 | santiago de los caballe row 9 : moca | cindy arias morton | 25 | 1.80 m (5 ft 10 3 | moca row 10 : monte cristi | carolina ayala cro | 18 | 1.71 m (5 ft 7 1 | san felipe de puerto row 11 : neiba | sandra castellanos de fermin | 21 | 1.76 m (5 ft 9 1 | santo domingo row 12 : samana | lucrecia vargas camacho | 20 | 1.74 m (5 ft 8 1 | moca row 13 : san cristobal | elisa mercedes | 19 | 1.74 m (5 ft 8 1 | san cristobal row 14 : san francisco de macoris | johanna del carmen espa | 19 | 1.76 m (5 ft 9 1 | san francisco de macoris row 15 : san jose de las mata | karina german fernandez | 24 | 1.77 m (5 ft 9 3 | santiago de los caballe row 16 : san juan | lizette de los santos | 23 | 1.78 m (5 ft 10 in | san juan de la magu row 17 : santiago | amelia victoria vega | 17 | 1.85 m (6 ft 3⁄ | santiago de los caballe row 18 : santiago rodriguez | martha zamora ta | 20 | 1.83 m (6 ft 0 | santiago de los caballe row 19 : santo domingo oeste | aurora sardena fiallo | 25 | 1.79 m (5 ft 10 1 | santo domingo row 20 : valverde | lourdes medina acosta | 21 | 1.72 m (5 ft 7 3 | laguna salada ] Execute this SQL based on the above table: select hometown where id = 1
santo domingo
[ header: model | origin | type | version | in service | notes row 1 : am general hmmwv | united states | light utility vehicle | m998a1 m1038 | None | divided into several variants and series, including armor row 2 : maxi-ambulance | united states | light utility vehicle | m997a2 | 19 | 23 delivered to afp on nov row 3 : m939 truck | united states | heavy utility vehicle | m923 m929 m | >20 0 0 0 0 | 20 m923 delivered in 2010, several more row 4 : m35 truck | united states | heavy utility vehicle | m35a1 m35a2 | None | divided into several variants and series, in service row 5 : mitsubishi fuso fighter | japan | light utility vehicle | fk troop carrier | None | locally sourced row 6 : cmc cruiser | philippines | 1/4-ton light utility vehicle | standard | None | limited production run, introduced in the mid-1990 row 7 : delta mini cruiser | philippines | 1/4-ton light utility vehicle | m1777 | None | divided into several variants and series, including short row 8 : m151 | united states | 1/4-ton light utility vehicle | m151 | None | in service row 9 : mitsubishi l200 | japan | light utility vehicle | l200 | None | used by military police row 10 : km-50 series | republic of korea | heavy utility vehicle | km-500 km-503 | 6 12 | km-500 as 155mm artillery row 11 : km-25 series | republic of korea | medium utility vehicle | km-250 | <250 | in service. some units received by other armed row 12 : km-45 series | republic of korea | light utility vehicle | km-450 | 727 | 651 purchased by afp on 2007 row 13 : km-45 series | republic of korea | field ambulance | km-451 | 48 | 60 purchased by afp in 2012, ] Execute this SQL based on the above table: select in service order by notes asc limit 1953
>20 0 0 0 0, 19, 48, 727, <250, 6 12
[ header: season | premiere date | the winner | runner-up | finalists | contestants in order of elimination | number of contestants | number of concerts row 1 : af1 | june 21, 2004 | vit (v2) | jeen (v1) | aof (v6), z- | joomjim (v5), por | 12 | 9 row 2 : af2 | july 18, 2005 | aof (v4) | pat (v6) | boy (v8), pas (v9), | joe (v12), loog | 12 | 12 row 3 : af4 | june 18, 2007 | nat (v1) | tol (v9) | papang (v3), music (v8) | cat (v11), tee ( | 12 (20) | 13 row 4 : af5 | may 12, 2008 | natthew (v13) | ron (v12) | pump (v8), good (v10), | green (v16), micky (v6) | 12 (16) | 12 row 5 : af6 | june 28, 2009 | zani (v6) | ann (v10) | tee (v5), & | koonjae-sal ( | 12 | 12 row 6 : af7 | june 27, 2010 | por (v12) | ton (v13) | boss (v10), new (v4), | pum (v7), ben (v | 12 (100) | 12 row 7 : af9 | june 3, 2012 | ice (v8) | zo (v1) | bright(v5), nest(v7) | k (v6), sunny (v11 | 12 (24) | 15 row 8 : af10 | june 23, 2013 | tungbeer (v20) | tayme (v6) | tuey (v21), beam | tung (v13), taeng | 24 | 12 ] Execute this SQL based on the above table: select premiere date where number of concerts > ( select number of concerts where premiere date = 'may 12, 2008' ) order by number of concerts asc limit 1
june 18, 2007
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 8 february 2011 | stade georges pompidou, | mali | 1-0 | 1-0 | friendly row 2 : 2 | 11 may 2011 | stade felix houphouet- | namibia | 4-1 | 5-1 | friendly row 3 : 3 | 5 june 2011 | stade de l'amitie | benin | 0-1 | 2-6 | 2012 africa cup of nations qualification - group row 4 : 4 | 10 august 2011 | stade de geneve, geneve, | israel | 1-0 | 4-3 | friendly row 5 : 5 | 3 september 2011 | stade amahoro, ki | rwanda | 0-4 | 0-5 | 2012 africa cup of nations qualification - group row 6 : 6 | 14 november 2012 | linzer stadion, | austria | 0-1 | 0-3 | friendly row 7 : 7 | 14 january 2013 | al nahyan stadium, abu | egypt | 4-2 | 4-2 | friendly row 8 : 8 | 26 january 2013 | royal bafokeng stadium, rustenburg | tunisia | 3-0 | 3-0 | 2013 africa cup of nations ] Execute this SQL based on the above table: select result where # = 4
4-3
[ header: draw | artist | song | points | place row 1 : 1 | mystique | "rendez-vous" | 25 | 8 row 2 : 2 | vulcano | "met jou d'rbi | 27 | 5 row 3 : 3 | bernadette | "soms" | 26 | 6= row 4 : 4 | deuce | "computer games" | 26 | 6= row 5 : 5 | music hall | "stop die show" | 54 | 3 row 6 : 6 | mystique | "op zo'n dag | 8 | 10 row 7 : 7 | bernadette | "sing me a song" | 69 | 1 row 8 : 8 | vulcano | "een beetje van dit | 68 | 2 row 9 : 9 | deuce | "stopwatch" | 20 | 9 row 10 : 10 | music hall | "voulez-vous danser" | 37 | 4 ] Execute this SQL based on the above table: select place where song = '"een beetje van dit"'
2
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | south korea | 11 | 1 | 2 | 14 row 2 : 2 | chinese taipei | 2 | 2 | 5 | 9 row 3 : 3 | spain | 2 | 0 | 4 | 6 row 4 : 4 | egypt | 1 | 0 | 0 | 1 row 5 : 5 | france | 0 | 2 | 1 | 3 row 6 : 5 | iran | 0 | 2 | 1 | 3 row 7 : 7 | china | 0 | 1 | 1 | 2 row 8 : 7 | cuba | 0 | 1 | 1 | 2 row 9 : 7 | greece | 0 | 1 | 1 | 2 row 10 : 7 | turkey | 0 | 1 | 1 | 2 row 11 : 11 | canada | 0 | 1 | 0 | 1 row 12 : 11 | germany | 0 | 1 | 0 | 1 row 13 : 11 | morocco | 0 | 1 | 0 | 1 row 14 : 11 | philippines | 0 | 1 | 0 | 1 row 15 : 11 | russia | 0 | 1 | 0 | 1 row 16 : 16 | mexico | 0 | 0 | 4 | 4 row 17 : 17 | australia | 0 | 0 | 3 | 3 row 18 : 18 | croatia | 0 | 0 | 2 | 2 row 19 : 18 | united states | 0 | 0 | 2 | 2 row 20 : 20 | ecuador | 0 | 0 | 1 | 1 row 21 : 20 | saudi arabia | 0 | 0 | 1 | 1 row 22 : 20 | thailand | 0 | 0 | 1 | 1 row 23 : 20 | yugoslavia | 0 | 0 | 1 | 1 row 24 : total | total | 16 | 16 | 32 | 64 ] Execute this SQL based on the above table: select count ( gold ) where gold = 0
19
[ header: title | release | genre | computer | console | handheld | smartphone row 1 : bionicle heroes | 2006 | third-person shooter | windows | playstation 2, gamecube, xbox | nintendo ds | None row 2 : bionicle: matoran adventures | 2002 | platformer | None | None | game boy advance | None row 3 : bionicle: maze of shadows | 2005 | turn based rpg | None | None | game boy advance | None row 4 : bionicle: the game | 2003 | adventure | windows, os x | playstation 2, gamecube, xbox | game boy advance | None row 5 : drome racers | 2002 | racing | windows | playstation 2, gamecube, xbox | game boy advance | None row 6 : island xtreme stunts | 2002 | action-adventure | windows | playstation 2 | game boy advance | None row 7 : lego alpha team | 2000 | action | windows | None | game boy color | None row 8 : lego battles | 2009 | real-time strategy | None | None | nintendo ds | None row 9 : lego battles: ninjago | 2011 | real-time strategy | None | None | nintendo ds | ios row 10 : lego chess | 1998 | strategy | windows | None | None | None row 11 : lego city undercover | 2013 | open world, platform game | None | wii u | None | None row 12 : lego city undercover: the chase begins | 2013 | open world, platform game | None | None | nintendo 3ds | None row 13 : lego creationary | 2011 | puzzle | None | None | None | ios, android row 14 : lego creator: knights kingdom | 2000 | construction and management simulation | windows | None | None | None row 15 : lego friends | 2013 | miscellaneous | None | None | nintendo ds, | None row 16 : lego island | 1997 | action-adventure | windows | None | None | None row 17 : lego island 2 the brickster's revenge | 2001 | action-adventure | windows | playstation | game boy color, game boy advance | None row 18 : lego knights' kingdom | 2004 | action-adventure | None | None | game boy advance | None row 19 : lego legends of chima online | 2014 | massively multiplayer online (mmo) | windows | None | None | None row 20 : lego legends of chima: speed | 2013 | racing | windows | None | None | ios row 21 : lego loco | 1998 | virtual world | windows | None | None | None row 22 : lego minifigures online | 2014 | massively multiplayer online (mmo) | windows | None | None | ios, android row 23 : lego my style kindergarten | 2000 | educational | windows, mac os | None | None | None row 24 : lego my style preschool | 2000 | educational | windows, mac os | None | None | None row 25 : lego ninjago: the final | 2013 | platformer | windows | None | None | None row 26 : lego racers | 1999 | racing | windows | playstation, nintendo 64 | game boy color | None row 27 : lego racers 2 | 2001 | racing | windows | playstation 2 | game boy advance | None row 28 : lego rock raiders | 1999 | real-time strategy, action | windows | playstation | None | None row 29 : lego soccer mania | 2002 | sport | windows | playstation 2 | game boy advance | None row 30 : lego stunt rally | 2000 | racing | windows | None | game boy color | None row 31 : lego universe | 2010 | massively multiplayer online (mmo) | windows, os x | None | None | None row 32 : legoland | 1999 | simulation strategy | windows | None | None | None ] Execute this SQL based on the above table: select computer order by id desc limit 1
windows
[ header: | district | headquarters | population (2011) | males | females | percentage decadal growth 2001-2011 | sex ratio | density (persons per km2) | child population 0-6 years | child sex ratio | literacy rate row 1 : 1 | angul | angul | 1271703 | 654898 | 616805 | 11.55 | 942 | 199 | 145690 | 884 | 78.96 row 2 : 3 | balasore | baleswar | 2317419 | 1184371 | 1133048 | 14.47 | 957 | 609 | 274432 | 941 | 80.66 row 3 : 4 | bargarh | bargarh | 1478833 | 748332 | 730501 | 9.84 | 976 | 253 | 156185 | 946 | 75.16 row 4 : 5 | bhadrak | bhadrak | 1506522 | 760591 | 745931 | 12.95 | 981 | 601 | 176793 | 931 | 83.25 row 5 : 7 | cuttack | cuttack | 2618708 | 1339153 | 1279555 | 11.87 | 955 | 666 | 251152 | 913 | 84.2 row 6 : 9 | dhenkanal | dhenkanal | 1192948 | 612597 | 580351 | 11.82 | 947 | 268 | 132647 | 870 | 79.41 row 7 : 11 | ganjam | chhatrapur | 3520151 | 1777324 | 1742827 | 11.37 | 981 | 429 | 397920 | 899 | 71.88 row 8 : 12 | jagatsinghpur | jagatsinghpur | 1136604 | 577699 | 558905 | 7.44 | 967 | 681 | 103517 | 929 | 87.13 row 9 : 13 | jajpur | jajpur | 1826275 | 926058 | 900217 | 12.43 | 972 | 630 | 207310 | 921 | 80.44 row 10 : 14 | jharsuguda | jharsuguda | 579499 | 297014 | 282485 | 12.56 | 951 | 274 | 61823 | 938 | 78.36 row 11 : 16 | kandhamal | phulbani | 731952 | 359401 | 372551 | 12.92 | 1037 | 91 | 106379 | 960 | 65.12 row 12 : 19 | khordha | khordha | 2246341 | 1166949 | 1079392 | 19.65 | 925 | 799 | 222275 | 910 | 87.51 row 13 : 21 | malkangiri | malkangiri | 612727 | 303913 | 308814 | 21.53 | 1016 | 106 | 105636 | 979 | 49.49 row 14 : 23 | nabarangapur | nabarangpur | 1218762 | 604046 | 614716 | 18.81 | 1018 | 230 | 201901 | 988 | 48.2 row 15 : 26 | puri | puri | 1697983 | 865209 | 832774 | 13 | 963 | 488 | 164388 | 924 | 85.37 row 16 : 28 | sambalpur | sambalpur | 1044410 | 529424 | 514986 | 12.24 | 973 | 158 | 112946 | 931 | 76.91 row 17 : 30 | sundergarh | sundergarh | 2080664 | 1055723 | 1024941 | 13.66 | 971 | 214 | 249020 | 937 | 74.13 ] Execute this SQL based on the above table: select max ( )
9
[ header: year | game of the year | abstract strategy | advanced strategy | family | family card | family strategy | party | puzzle | word | historical simulation | other row 1 : 1992 | pipeline | terrace | None | showdown yahtzee | arcade: super tetris | real-life strategy: d-day | humm...ble | heaven & earth | wordsters | adventure: the lost files of sherlock | trivia: times to remember row 2 : 1993 | inklings | char | None | perpetual notion | arcade: ecco the dolphin | real-life: civilization | oodles | the incredible machine | pick two! | adventure: return to zork | trivia: celebrity challenge row 3 : 1994 | myst | the game of y | wargames: v for victory | peg poker | arcade: lode runner: the legend returns | real-life strategy: x-com: | the doonesbury game | breakthru! | boggle master | adventure: the elder scrolls: arena | trivia: quote unquote row 4 : 1995 | sharp shooters | strategy: quixo | conflict: colonial diplomacy | touche | phantoms of the ice | sports: dynasty league baseball | catch phrase | lights out | pre.fix | adventure & role playing: dragon dice: battle | trivia: chronicles ccg: on row 5 : 1997 | 25 words or less | transpose | strategy & conflict: field command | mole in the hole | take 6 | priceless | last chance | deluxe lights out | bethump'd with words | adventure & role-playing: dragonl | trivia: origins row 6 : 1998 | quoridor | balanx | strategy & conflict: princess ryan' | take it easy | get the goods | quandary | wise and otherwise | lost in a jigsaw | a to z | None | trivia: director's cut ccg row 7 : 1999 | fossil | gipf | conflict: atlantic storm | montgolfiere | bohnanza | el grande | say when!! | stormy seas | alpha blitz | None | trivia: where in time is carmen s row 8 : 2000 | torres | octi | memory: mamma mia | moonshot | buried treasure | tikal | apples to apples | ricochet robot | double quick! | None | trivia: bioviva ccg: row 9 : 2001 | aladdin's dragons | zertz | the princes of florence | cafe international | hellrail | web of power | democrazy | lunar lockout | None | paths of glory | two-player card: caesar row 10 : 2002 | evo | morisi | java | africa | babel | lord of the rings | hilarium | flip-it! | my word! | drive on paris | manual dexterity: space game row 11 : 2004 | new england | clans | wildlife | i'm the boss! | queen's necklace | zoosim | party/trivia: dibs | river crossing | crossword pyramids | hammer of the scots | two-player card: balloon cup row 12 : 2005 | buyword | yinsh | tahuantinsuy | vanished planet | victory & honor | alexandros | party/trivia: cranium ho | None | None | memoir '44 | None ] Execute this SQL based on the above table: select year order by year desc limit 1
2005
[ header: name | builder | type | date | works number | notes row 1 : None | w.g. bagnall | 0-4-0t | late 1880s | 1050 | small inverted saddle tank locomotive; sold by 18 row 2 : None | w.g. bagnall | 0-4-0t | 1892 | 1232 | larger version of the first bagnall locomotive; row 3 : None | lowca engineering | 0-4-0st | 1884 | 241 | scrapped 1950 row 4 : None | manning wardle | 0-4-0st | 1888 | None | built for the construction of the ashworth row 5 : None | manning wardle | 0-4-0st | 1888 | None | built for the construction of the ashworth row 6 : prince charlie | hunslet | 4-6-0t | 1917 | 1276 | built as a 2 ft (610 row 7 : vyrnwy | orenstein and koppel | 0-4-0wt | 1930 | None | built reservoir construction; purchased in 1947. sold to ] Execute this SQL based on the above table: select type where works number = 241
0-4-0st
[ header: title | year | language | role | notes row 1 : shakti | 1982 | hindi | None | credited as "murliss" row 2 : maqbool | 2003 | hindi | devsare | None row 3 : market | 2003 | hindi | None | None row 4 : main hoon na | 2004 | hindi | khan | None row 5 : masti: sanam teri | 2004 | hindi | eunuch at band stand | None row 6 : mangal pandey: the rising | 2005 | hindi | sheikh paltu | None row 7 : apaharan | 2005 | hindi | muralidhar | None row 8 : chocolate | 2005 | hindi | None | None row 9 : teesri aank | 2006 | hindi | dinesh | None row 10 : rockin' meera | 2006 | None | prem | None row 11 : fight club - members only | 2006 | hindi | None | None row 12 : buddha mar gaya | 2006 | hindi | rohan alexander | None row 13 : dhol | 2007 | hindi | zicomo | None row 14 : athidi | 2007 | telugu | kaiser/ajay sastr | None row 15 : eik dasttak | 2007 | None | None | None row 16 : black friday | 2004 | hindi | None | None row 17 : laaga chunari mein daag | 2007 | hindi | None | None row 18 : one two three | 2008 | hindi | mm munde | None row 19 : jaane tu... ya | 2008 | hindi | inspector (special appearance) | None row 20 : mere khwabon mein jo | 2009 | None | None | None row 21 : chal chala chal | 2009 | hindi | gajendra singh | None row 22 : 13b: fear has a new address | 2009 | tamil/hindi | inspector shiva | None row 23 : saluun | 2009 | None | sipahi ji | None row 24 : rokkkit | 2010 | None | None | None row 25 : lamhaa | 2010 | hindi | news reporter | None row 26 : dabangg | 2010 | hindi | None | None row 27 : tees maar khan | 2010 | hindi | agent-mukherjee | None row 28 : oosaravelli | 2011 | telugu | chota gangleader | None row 29 : singham | 2011 | hindi | sp | None row 30 : chatur singh two star | 2011 | hindi | None | None row 31 : aalaap | 2012 | hindi | naxalite | None row 32 : jeena hai toh thok | 2012 | hindi | hanumant singh | None row 33 : chakravyuh | 2012 | hindi | None | None row 34 : krishnam vande jaga | 2012 | telugu | chakravarthi | None row 35 : karma yodha | 2012 | malayalam | None | None row 36 : hungame pe hungama | 2013 | hindi | None | None row 37 : platform no. 6 | 2013 | telugu | None | None row 38 : pattathu yaana | 2013 | tamil | marudhamuthu | None row 39 : zindagi 50-50 | 2013 | hindi | None | None row 40 : yevadu | 2013 | telugu | durani | None row 41 : karmachari | 2013 | telugu | None | None ] Execute this SQL based on the above table: select title group by title order by count ( notes ) desc limit 1
shakti
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | south korea | 7 | 6 | 1 | 14 row 2 : 2 | china | 5 | 5 | 2 | 12 row 3 : 3 | japan | 3 | 1 | 5 | 9 row 4 : 4 | hong kong | 2 | 3 | 5 | 10 row 5 : 5 | chinese taipei | 2 | 0 | 0 | 2 row 6 : 6 | iran | 1 | 3 | 2 | 6 row 7 : 7 | thailand | 1 | 2 | 3 | 6 row 8 : 8 | malaysia | 1 | 1 | 5 | 7 row 9 : 9 | kyrgyzstan | 1 | 0 | 0 | 1 row 10 : 10 | kazakhstan | 0 | 1 | 0 | 1 row 11 : 10 | uzbekistan | 0 | 1 | 0 | 1 row 12 : total | total | 23 | 23 | 23 | 69 ] Execute this SQL based on the above table: select nation where bronze > 5 order by bronze limit 1
total
[ 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 place > ( select place where song = '"qualquer dia, quem diria"' ) order by place limit 1
"quando chego a casa"
[ header: ethnicity | 1926 census | 1939 census | 1959 census | 1970 census | 1979 census | 1989 census | 2007 estimate row 1 : ossetians | 60,351 (69.1%) | 72,266 (68.1%) | 63,698 (65.8%) | 66,073 (66.5%) | 65,077 (66.4%) | 65,200 (65.9%) | 47,000 (67.1%) row 2 : georgians | 23,538 (26.9%) | 27,525 (25.9%) | 26,584 (27.5%) | 28,125 (28.3%) | 28,187 (28.8%) | 28,700 (29.0%) | 17,500 (25.0%) row 3 : russians | 157 (0.2%) | 2,111 (2.0%) | 2,380 (2.5%) | 1,574 (1.6%) | 2,046 (2.1%) | 2,128 (2.1%) | 2,100 (3.0%) row 4 : armenians | 1,374 (1.6%) | 1,537 (1.4%) | 1,555 (1.6%) | 1,254 (1.3%) | 953 (1.0%) | 871 (0.9%) | 900 (1.3%) row 5 : jews | 1,739 (2.0%) | 1,979 (1.9%) | 1,723 (1.8%) | 1,485 (1.5%) | 654 (0.7%) | 648 (0.7%) | 650 (0.9%) row 6 : others | 216 (0.2%) | 700 (0.7%) | 867 (0.9%) | 910 (0.9%) | 1,071 (1.1%) | 1,453 (1.5%) | 1,850 (2.6%) row 7 : total | 87375 | 106118 | 96807 | 99421 | 97988 | 99000 | 70000 ] Execute this SQL based on the above table: select ethnicity where ethnicity = 'georgians'
georgians
[ header: name | party | took office | left office row 1 : glenlyon campbell | conservative | 1903 | 1908 row 2 : duncan cameron | conservative | 1908 | 1910 row 3 : sam hughes | conservative | 1910 | 1915 row 4 : william findlater | liberal | 1915 | 1922 row 5 : arthur berry | progressive | 1922 | 1932 row 6 : None | liberal-progressive | 1932 | 1936 row 7 : stanley fox | social credit | 1936 | 1940 row 8 : None | social credit (coalition) | 1940 | 1949 row 9 : ray mitchell | liberal-progressive | 1949 | 1958 ] Execute this SQL based on the above table: select party where party in ( 'conservative' , 'conservative' ) and left office = 1908
conservative
[ header: dutch language group electoral district (as of 2012) | dutch language group seats | french language group electoral district (as of 2012) | french language group seats row 1 : antwerp | 24 | brussels capital region | 13/14 row 2 : brussels capital region | 1/2 | hainaut | 18 row 3 : east flanders | 20 | liege | 15 row 4 : flemish brabant | 15 | luxembourg | 4 row 5 : limburg | 12 | namur | 6 row 6 : west flanders | 16 | walloon brabant | 5 row 7 : total | 88 | total | 62 ] Execute this SQL based on the above table: select count ( dutch language group electoral district (as of 2012) ) where french language group electoral district (as of 2012) = 'total'
1
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 5 | jim clark | lotus-ford | 80 | 1:59:25.6 | 1 | 9 row 2 : 2 | 2 | denny hulme | brabham-repco | 80 | + 12.8 | 4 | 6 row 3 : 3 | 8 | chris amon | ferrari | 80 | + 16.6 | 6 | 4 row 4 : 4 | 1 | jack brabham | brabham-repco | 80 | + 21.8 | 3 | 3 row 5 : 5 | 12 | pedro rodriguez | cooper-maserati | 79 | + 1 lap | 9 | 2 row 6 : 6 | 7 | john surtees | honda | 78 | + 2 laps | 7 | 1 row 7 : 7 | 15 | chris irwin | brm | 77 | + 3 laps | 13 | None row 8 : 8 | 20 | david hobbs | brm | 77 | + 3 laps | 14 | None row 9 : 9 | 14 | alan rees | cooper-maserati | 76 | + 4 laps | 15 | None row 10 : 10 | 18 | guy ligier | brabham-repco | 76 | + 4 laps | 21 | None row 11 : ret | 19 | bob anderson | brabham-climax | 67 | engine | 17 | None row 12 : ret | 6 | graham hill | lotus-ford | 64 | engine | 2 | None row 13 : ret | 4 | mike spence | brm | 44 | ignition | 11 | None row 14 : ret | 9 | dan gurney | eagle-weslake | 34 | clutch | 5 | None row 15 : ret | 22 | silvio moser | cooper-ats | 29 | oil pressure | 20 | None row 16 : ret | 11 | jochen rindt | cooper-maserati | 26 | engine | 8 | None row 17 : ret | 3 | jackie stewart | brm | 20 | transmission | 12 | None row 18 : ret | 10 | bruce mclaren | eagle-weslake | 14 | engine | 10 | None row 19 : ret | 17 | jo siffert | cooper-maserati | 10 | engine | 18 | None row 20 : ret | 23 | jo bonnier | cooper-maserati | 0 | engine | 9 | None row 21 : dns | 16 | piers courage | brm | 0 | non starter | None | None ] Execute this SQL based on the above table: select driver where pos = 'ret'
bob anderson, graham hill, mike spence, dan gurney, silvio moser, jochen rindt, jackie stewart, bruce mclaren, jo siffert, jo bonnier
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | south korea | 7 | 6 | 1 | 14 row 2 : 2 | china | 5 | 5 | 2 | 12 row 3 : 3 | japan | 3 | 1 | 5 | 9 row 4 : 4 | hong kong | 2 | 3 | 5 | 10 row 5 : 5 | chinese taipei | 2 | 0 | 0 | 2 row 6 : 6 | iran | 1 | 3 | 2 | 6 row 7 : 7 | thailand | 1 | 2 | 3 | 6 row 8 : 8 | malaysia | 1 | 1 | 5 | 7 row 9 : 9 | kyrgyzstan | 1 | 0 | 0 | 1 row 10 : 10 | kazakhstan | 0 | 1 | 0 | 1 row 11 : 10 | uzbekistan | 0 | 1 | 0 | 1 row 12 : total | total | 23 | 23 | 23 | 69 ] Execute this SQL based on the above table: select nation order by bronze desc limit 1
total
[ header: party | candidate(s) | votes | percentage row 1 : uup | peter weir alan m | 9270 | 25.6 row 2 : uk unionist | robert mccartney | 7579 | 20.9 row 3 : dup | st clair mcalister rub | 6699 | 18.5 row 4 : alliance | oliver napier brian wil | 6186 | 17.1 row 5 : sdlp | owen adams john bur | 1798 | 5 row 6 : pup | victor ash samuel | 1694 | 4.7 row 7 : ulster democratic | james mccullough | 651 | 1.8 row 8 : ni women's coalition | emma mcguigan an | 496 | 1.4 row 9 : conservative | ann thompson bruce | 444 | 1.2 row 10 : independent chambers | alan chambers james arbut | 334 | 0.9 row 11 : green (ni) | paddy mcevoy mary ring | 283 | 0.8 row 12 : sinn fein | mairtin o mulleoir | 275 | 0.8 row 13 : labour coalition | john magennis sean m | 171 | 0.5 row 14 : independent dup | thomas o'brien will | 97 | 0.3 row 15 : democratic left | daryl armitage tim davis | 95 | 0.3 row 16 : workers' party | dessie o'hagan colum | 60 | 0.2 row 17 : ulster independence | geoffrey watson glenn | 49 | 0.1 row 18 : independent voice | christopher carter fidelm | 49 | 0.1 row 19 : natural law | peter mcgowan tho | 15 | 0 ] Execute this SQL based on the above table: select party where id = ( select id where party = 'uk unionist' ) - 1
uup
[ 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 count ( callsign ) where iata <= 2
0
[ header: title | year | platform | developer | publisher row 1 : swat 3: close quarters battle | 1999 | microsoft windows | sierra northwest | sierra entertainment row 2 : swat: global strike team | 2003 | playstation 2, xbox | argonaut games | argonaut games sierra entertainment row 3 : swat 4 | 2005 | microsoft windows | irrational games | vivendi universal games sierra entertainment row 4 : swat 4: the stetchkov | 2006 | microsoft windows | irrational games | vivendi universal games sierra entertainment row 5 : swat force | 2006 | mobile phones | kaolink | vivendi games mobile row 6 : swat: target liberty | 2007 | playstation portable | 3g studios | sierra entertainment row 7 : swat elite troops | 2008 | mobile phones | rovio mobile | vivendi games mobile ] Execute this SQL based on the above table: select year where publisher = 'sierra entertainment'
1999, 2007
[ header: # | date | venue | opponent | score | result | competition row 1 : 2 | 17 february 2002 | healy park, omagh | tyrone | | 2-10 : 0-18 | national football league round 2 row 2 : 3 | 3 march 2002 | parnell park, dublin | westmeath | | 3-13 : 1-16 | national football league round 4 row 3 : 5 | 31 march 2002 | tuam stadium, galway | galway | | 1-12 : 1-12 | national football league round 7 row 4 : 6 | 2 february 2003 | parnell park, dublin | armagh | | 0-7 : 1-15 | national football league round 1 row 5 : 12 | 8 february 2004 | mchale park, castlebar | mayo | | 0-3 : 1-10 | national football league round 2 row 6 : 15 | 21 march 2004 | parnell park, dublin | cork | | 0-9 : 0-9 | national football league round 6 row 7 : 16 | 5 february 2005 | parnell park, dublin | mayo | | 2-13 : 1-15 | national football league round 1 row 8 : 21 | 26 march 2005 | pairc ui rinn, | cork | | 1-6 : 0-18 | national football league round 6 row 9 : 22 | 3 april 2005 | o'connor park, tul | offaly | | 1-13 : 2-6 | national football league round 7 row 10 : 27 | 25 march 2006 | parnell park, dublin | mayo | | 4-10 : 1-10 | national football league round 6 row 11 : 28 | 9 april 2006 | fitzgerald stadium, kerry | kerry | | 0-13 : 0-13 | national football league round 7 row 12 : 30 | 10 february 2007 | gaelic grounds, limerick | limerick | | 0-14 : 1-10 | national football league round 2 row 13 : 31 | 25 february 2007 | ballyshannon, donegal | donegal | | 0-5 : 0-9 | national football league round 3 row 14 : 32 | 10 march 2007 | parnell park, dublin | cork | | 1-13 : 0-7 | national football league round 4 row 15 : 41 | 26 april 2008 | pairc tailteann, meath | westmeath | | 0-10 : 0-15 | national football league division 2 final row 16 : 42 | 31 january 2009 | croke park, dublin | tyrone | | 1-16 : 1-18 | national football league round 1 row 17 : 43 | 15 february 2009 | pearse stadium, salthill | galway | | 0-13 : 3-12 | national football league round 2 row 18 : 48 | 7 february 2010 | fitzgerald stadium, killarney | kerry | | 1-12 : 1-10 | national football league round 1 row 19 : 50 | 13 march 2010 | parnell park, dublin | monaghan | | 2-11 : 1-9 | national football league round 4 ] Execute this SQL based on the above table: select competition group by competition order by count ( * ) desc limit 1
national football league round 2
[ header: name | function | sentence row 1 : ernst von weizsack | permanent secretary of state in the auswartiges | 7 years' imprisonment; reduced to 5 years on row 2 : gustav adolf | successor of von weizsacker as secretary | 7 years' imprisonment; reduced to 5 years on row 3 : wilhelm keppler | secretary of state; hitler's advisor for | 10 years' imprisonment; released 1951 row 4 : ernst wilhelm bo | ns-gauleiter, secretary of state | 5 years' imprisonment row 5 : ernst woermann (de | secretary in the foreign ministry; head of the political | 7 years' imprisonment; reduced to 5 years on row 6 : karl ritter | liaison between foreign office and the high command of the | 4 years' imprisonment incl. time already row 7 : otto von erdmanns | secretary in the foreign ministry; deputy to wor | acquitted row 8 : edmund veesen | plenipotentiary in hung | 20 years' imprisonment; reduced to 10 years in row 9 : hans heinrich lammers | head of the reich chancellery | 20 years' imprisonment; reduced to 10 years in row 10 : wilhelm stuckart | secretary of state in the interior ministry | time already served (3 years and 10 months) row 11 : richard walther darre | minister for food and agriculture | 7 years' imprisonment; released 1950 row 12 : otto meissner | head of the presidential chancellery | acquitted row 13 : otto dietrich | reichspressechef of the | 7 years' imprisonment incl. time already row 14 : gottlob berger | head of the ss-hauptamt | 25 years' imprisonment; reduced to 10 years in row 15 : walter schellenberg | second-in-command of the gestapo, | 6 years' imprisonment incl. time already row 16 : lutz graf schwerin von kro | minister of finance | 10 years' imprisonment; released in 1951 row 17 : emil puhl | vice-president of the reichsbank | 5 years' imprisonment incl. time already row 18 : karl rasche | director of the dresdner bank | 7 years' imprisonment incl. time already row 19 : paul korner (de) | secretary of state, deputy of goring | 15 years' imprisonment; reduced to 10 years in row 20 : paul pleiger | head of the reichswerke hermann | 15 years' imprisonment; reduced to 10 years in row 21 : hans kehrl (de) | secretary in the ministry of armament; head | 15 years' imprisonment; released in 1951 ] Execute this SQL based on the above table: select count ( * ) where function not null
21
[ header: margin | teams | venue | season row 1 : 192 runs | kent (205 & 512-9 | county ground, chelmsford | 2009 row 2 : 72 runs | kent (117 & 332) beat | woodbridge road, guildford | 1992 row 3 : 57 runs | kent (151 & 348) beat | hesketh park, dartford | 1976 row 4 : 36 runs | kent (127 & 198) | st lawrence ground, canter | 1893 row 5 : 24 runs | kent (115 & 389) beat | mote park, maidstone | 1925 row 6 : 16 runs | kent (120 & 176) beat | mote park, maidstone | 1863 ] Execute this SQL based on the above table: select count ( teams )
6
[ header: no. in series | no. in season | title | directed by | written by | original air date | production code row 1 : 125 | 1 | "burnin' down the house" | madeline cripe | joel madison & | september 18, 1995 | 60101 row 2 : 126 | 2 | "get a job" | shelley jensen | mort scrivner | september 25, 1995 | 60102 row 3 : 127 | 3 | "stress related" | shelley jensen | larry wilmore | october 2, 1995 | 60103 row 4 : 128 | 4 | "bourgie sings the blues" | shelley jensen | tom devanney | october 9, 1995 | 60104 row 5 : 129 | 5 | "the script formerly known as..." | shelley jensen | felicia d. henderson | october 16, 1995 | 60105 row 6 : 130 | 6 | "not i barbecue" | madeline cripe | matt tarses & kand | october 23, 1995 | 60106 row 7 : 132 | 8 | "viva lost wages" | shelley jensen | robert bruce | november 13, 1995 | 60108 row 8 : 133 | 9 | "there's the rub" (part 1) | shelley jensen | joel madison | november 20, 1995 | 60109 row 9 : 134 | 10 | "there's the rub" (part 2) | shelley jensen | joel madison | november 20, 1995 | 60110 row 10 : 135 | 11 | "i, ooh, baby, | alfonso ribeiro | adam markowitz & tom | december 11, 1995 | 60111 row 11 : 136 | 12 | "boxing helena" | shelley jensen | michael soccio | january 8, 1996 | 60112 row 12 : 137 | 13 | "i, clownius" | shelley jensen | story: david wyatt | january 15, 1996 | 60115 row 13 : 138 | 14 | "breaking up is hard to do" (part | shelley jensen | lisa rosenthal | february 12, 1996 | 60113 row 14 : 139 | 15 | "breaking up is hard to do" (part | shelley jensen | lisa rosenthal | february 19, 1996 | 60114 row 15 : 140 | 16 | "i, bowl buster" | shelley jensen | michael soccio | february 26, 1996 | 60117 row 16 : 141 | 17 | "the butler's son did it" | madeline cripe | lisa rosenthal | march 18, 1996 | 60116 row 17 : 142 | 18 | "hare today..." | shelley jensen | robert bruce | april 8, 1996 | 60119 row 18 : 143 | 19 | "i, whoops, there it is" | shelley jensen | tanya ward & mary | april 15, 1996 | 60124 row 19 : 144 | 20 | "i, stank horse" | shelley jensen | tom devanney | april 22, 1996 | 60120 row 20 : 145 | 21 | "i, stank hole in one" | werner walian | matt tarses & michae | may 6, 1996 | 60121 row 21 : 146 | 22 | "eye, tooth" | shelley jensen | adam markowitz | may 13, 1996 | 60118 ] Execute this SQL based on the above table: select count ( written by ) where production code > 161
21
[ header: chip | flash size | eeprom | sram | frequency [mhz] | package row 1 : at90s1200 | 1k | 64 | 0 | 12 | pdip-20 row 2 : at90s2313 | 2k | 128 | 128 | 10 | pdip-20 row 3 : at90s/ls2323 | 2k | 128 | 128 | 10 | pdip-8 row 4 : at90s/ls2343 | 2k | 128 | 128 | 10 | pdip-8 row 5 : at90s4414 | 4k | 256 | 256 | 8 | pdip-40 row 6 : at90s/ls4434 | 4k | 256 | 256 | 8 | pdip-40 row 7 : at90s8515 | 8k | 512 | 512 | 8 | pdip-40 row 8 : at90s/ls8535 | 8k | 512 | 512 | 8 | pdip-40 ] Execute this SQL based on the above table: select chip order by sram desc limit 1
at90s8515
[ header: year | competition | venue | position | event | notes row 1 : 2003 | world youth championships | sherbrooke, canada | 7th | hammer | 54.43 m row 2 : 2005 | alba games | la habana, cuba | 1st | hammer | 63.30 m row 3 : 2005 | central american and caribbean championships | nassau, bahamas | 4th | hammer | 60.49 m row 4 : 2005 | pan american junior championships | windsor, canada | 1st | hammer | 64.80 m row 5 : 2006 | nacac u23 championships | santo domingo, dominican | 2nd | hammer | 66.28 m row 6 : 2007 | pan american games | rio de janeiro, bra | 2nd | hammer | 68.70 m row 7 : 2007 | world championships | osaka, japan | 9th | hammer | 70.20 m row 8 : 2008 | olympic games | beijing, china | 15th (q) | hammer | 68.74 m row 9 : 2009 | alba games | la habana, cuba | 2nd | hammer | 68.89 m row 10 : 2009 | central american and caribbean championships | havana, cuba | 1st | hammer | 71.32 m row 11 : 2009 | world championships | berlin, germany | 16th (q) | hammer | 69.97 m row 12 : 2011 | pan american games | guadalajara, me | 4th | hammer | 68.88 m row 13 : 2012 | olympic games | london, united kingdom | 23rd (q) | hammer | 67.93 m ] Execute this SQL based on the above table: select position where event = 'hammer' order by year desc limit 1
23rd (q)
[ header: season | tier | division | place row 1 : 1992-96 | 5 | regional | None row 2 : 1996/97 | 4 | 3a | 16th row 3 : 1997/98 | 4 | 3a | 5th row 4 : 1998/99 | 4 | 3a | 12th row 5 : 1999/00 | 4 | 3a | 4th row 6 : 2000/01 | 4 | 3a | 6th row 7 : 2001/02 | 4 | 3a | 4th row 8 : 2002/03 | 4 | 3a | 3rd row 9 : 2003/04 | 3 | 2ab | 19th row 10 : 2004/05 | 4 | 3a | 2nd ] Execute this SQL based on the above table: select division where tier = 4
3a, 3a, 3a, 3a, 3a, 3a, 3a, 3a
[ header: # | title | time | performer(s) | songwriters | producer(s) | samples and notes row 1 : 1 | "everything man" | 3:16 | talib kweli, | talib kweli greene | madlib | "everything man" by daybreak row 2 : 3 | "hostile gospel (part 1) (deliver | 5:22 | talib kweli | talib kweli greene | just blaze | "deliverance" by space row 3 : 4 | "say something" | 3:43 | talib kweli, | talib kweli greene | will.i.am | "theme for la's team" by row 4 : 6 | "holy moly" | 2:08 | talib kweli | talib kweli greene | pete rock | "border song (holy moses)" row 5 : 7 | "eat to live" | 3:07 | talib kweli | talib kweli greene | madlib | "ghetto lament" by row 6 : 11 | "more or less" | 4:40 | talib kweli, di | talib kweli greene | hi-tek | None row 7 : 13 | "hot thing" | 3:48 | talib kweli, will | talib kweli greene | will.i.am | "we're no exception" by john row 8 : 14 | "space fruit" (interlude) | 1:31 | sa-ra | om'mas keith, sh | sa-ra | None row 9 : 16 | "oh my stars" | 3:40 | talib kweli, | talib kweli greene | dj khalil | None row 10 : 18 | "go with us" | 3:59 | talib kweli, strong | talib kweli greene | e. jones | None row 11 : 19 | "hostile gospel (part 2) (deliver | 4:21 | talib kweli, si | talib kweli greene | dj khalil | "tight rope" by steel pulse row 12 : 21 | "hush" | 3:55 | talib kweli, | talib kweli greene | chad beatz | lp edition #19 & itune ] Execute this SQL based on the above table: select sum ( # ) where title in ( '"space fruit" (interlude)' , '"hush"' )
35.0
[ header: pos | no | driver | team | laps | time/retired | grid | points row 1 : 1 | 1 | alex zanardi | chip ganassi racing | 95 | 1:52:24.080 | 2 | 20 row 2 : 2 | 6 | michael andretti | newman-haas racing | 95 | 1.921 | 3 | 16 row 3 : 3 | 12 | jimmy vasser | chip ganassi racing | 95 | 6.702 | 6 | 14 row 4 : 4 | 7 | bobby rahal | team rahal | 95 | 8.078 | 9 | 12 row 5 : 5 | 8 | bryan herta | team rahal | 95 | 12.984 | 17 | 10 row 6 : 6 | 20 | scott pruett | patrick racing | 95 | 14.607 | 8 | 8 row 7 : 7 | 10 | richie hearn | della penna motorsports | 95 | 15.305 | 13 | 6 row 8 : 8 | 25 | max papis | arciero-wells racing | 95 | 24.676 | 20 | 5 row 9 : 9 | 40 | adrian fernandez | patrick racing | 95 | 31.923 | 16 | 4 row 10 : 10 | 16 | helio castro-neves | bettenhausen racing | 95 | 32.691 | 21 | 3 row 11 : 11 | 99 | greg moore | forsythe racing | 95 | 34.926 | 12 | 2 row 12 : 12 | 17 | mauricio gugelmin | pacwest racing group | 95 | 37.64 | 19 | 1 row 13 : 13 | 24 | robby gordon | arciero-wells racing | 94 | +1 lap | 22 | None row 14 : 14 | 26 | paul tracy | team kool green | 94 | +1 lap | 10 | None row 15 : 15 | 77 | arnd meier | davis racing | 94 | +1 lap | 25 | None row 16 : 16 | 11 | christian fittipaldi | newman-haas racing | 93 | +2 laps | 5 | None row 17 : 17 | 2 | al unser, jr | marlboro team penske | 93 | +2 laps | 14 | None row 18 : 18 | 19 | michel jourdain jr | payton/coyne racing | 93 | +2 laps | 24 | None row 19 : 19 | 98 | p. j. jones | all american racing | 84 | suspension | 23 | None row 20 : 20 | 27 | dario franchitti | team kool green | 79 | brakes | 1 | 1+1 row 21 : 21 | 34 | gualter salles | payton/coyne racing | 65 | contact | 28 | None row 22 : 22 | 21 | tony kanaan | tasman motorsports group | 61 | fire | 7 | None row 23 : 23 | 3 | andre ribeiro | marlboro team penske | 54 | transmission | 11 | None row 24 : 24 | 9 | jj lehto | hogan racing | 37 | contact | 26 | None row 25 : 25 | 33 | patrick carpentier | forsythe racing | 33 | suspension | 18 | None row 26 : 26 | 18 | mark blundell | pacwest racing group | 30 | electrical | 15 | None row 27 : 27 | 5 | gil de ferran | walker racing | 26 | contact | 4 | None row 28 : 28 | 36 | alex barron | all american racing | 25 | contact | 27 | None ] Execute this SQL based on the above table: select max ( team ) where driver = 'bryan herta'
team rahal
[ header: year | title | role | network | notes row 1 : 2000 | youth y2k 青春@y2 | cheng shasha | None | None row 2 : 2001 | the monkey king: quest for the sutra | purple orchid | tvb | None row 3 : 2001 | 藍寶石的夜空 | shek po-yi | tvb | eason chan's music video row 4 : 2002 | 一twins零一夜 | ah sa | tvb | music video row 5 : 2003 | triumph in the skies 衝上雲霄 | charlene | tvb | cameo row 6 : 2003 | all about boy'z 一起喝采 | langlang princess | now.com.hk | appearance in episode 2 row 7 : 2003 | 2半3更之困車立 | ah sa | now.com.hk | None row 8 : 2003 | 愛在陽光下 | aids patient | None | music video produced to support the global anti-aid row 9 : 2004 | kung fu soccer 功夫足球 | None | tvb | guest star row 10 : 2004 | sunshine heartbeat 赤沙印記@四葉草.2 | ah sa | tvb | guest star row 11 : 2004 | 家有寶貝 | ah sa | None | guest star row 12 : 2007 | colours of love 森之愛情 | wai-fong / ching- | tvb | None row 13 : 2007 | life off stage | None | None | None row 14 : 2010 | calling for love! 呼叫大明星 | chen dexin | cts | None row 15 : 2011 | the legend of swordman 劍俠情緣 | tang xiaowan / n | None | None row 16 : 2012 | happy marshal 歡樂元帥 | little dragon girl (xiao long nu) | None | None ] Execute this SQL based on the above table: select role where role in ( 'chen dexin' , '愛在陽光下' ) group by role order by count ( * ) desc limit 1
chen dexin
[ header: title | year | peak chart positions us | peak chart positions us alt. | peak chart positions us main. rock | peak chart positions aus | peak chart positions aut | peak chart positions fin | peak chart positions ger | peak chart positions nld | peak chart positions swi | peak chart positions uk | album row 1 : "toxic" | 1999 | None | None | None | None | None | None | None | None | None | None | the gift of game row 2 : "darkside" | 2000 | None | None | None | None | None | None | None | None | None | None | the gift of game row 3 : "butterfly" | 2000 | 1 | 1 | 21 | 4 | 1 | 2 | 1 | 8 | 1 | 3 | the gift of game row 4 : "revolving door" | 2001 | None | None | None | 76 | 29 | 19 | 26 | 71 | 43 | 23 | the gift of game row 5 : "drowning" | 2002 | None | 24 | 24 | None | 45 | None | 45 | None | None | 50 | darkhorse row 6 : "hurt you so bad" | 2003 | None | None | None | None | None | None | None | None | None | None | darkhorse ] Execute this SQL based on the above table: select count ( album ) where peak chart positions ger > 1
2
[ header: # | event year | season | flag bearer row 1 : 10 | 2012 | summer | nino salukvadze row 2 : 9 | 2010 | winter | iason abramashvili row 3 : 8 | 2008 | summer | ramaz nozadze row 4 : 7 | 2006 | winter | vakhtang murvanidze row 5 : 6 | 2004 | summer | zurab zviadauri row 6 : 5 | 2002 | winter | sofia akhmeteli row 7 : 4 | 2000 | summer | giorgi asanidze row 8 : 3 | 1998 | winter | sofia akhmeteli row 9 : 2 | 1996 | summer | giorgi k'andel row 10 : 1 | 1994 | winter | zurab dzhidzhishvil ] Execute this SQL based on the above table: select season where id = 9
summer
[ header: date | event | duration (months) | duration (years) row 1 : 1927 | experiment set up | None | None row 2 : 1930 | the stem was cut | None | None row 3 : december 1938 | 1st drop fell | 96-107 | 8.0-8.9 row 4 : february 1947 | 2nd drop fell | 99 | 8.2 row 5 : april 1954 | 3rd drop fell | 86 | 7.2 row 6 : may 1962 | 4th drop fell | 97 | 8.1 row 7 : august 1970 | 5th drop fell | 99 | 8.3 row 8 : april 1979 | 6th drop fell | 104 | 8.7 row 9 : july 1988 | 7th drop fell | 111 | 9.2 row 10 : 28 november 2000 | 8th drop fell | 148 | 12.3 ] Execute this SQL based on the above table: select event where date = 'april 1954' and duration (years) = '7.2'
3rd drop fell
[ header: | wine | rank | beer | rank | spirits | rank | total | rank↓ row 1 : yukon | 18.3 | 1 | 90.6 | 1 | 13.8 | 1 | 12.7 | 1 row 2 : northwest territories | 8.1 | 7 | 55.2 | 5 | 10.8 | 2 | 9.2 | 2 row 3 : alberta | 13.9 | 4 | 89.8 | 4 | 7.6 | 9 | 8.6 | 3 row 4 : newfoundland & labrador | 6.5 | 11 | 93.3 | 3 | 7.3 | 10 | 8 | 4 row 5 : british columbia | 14.5 | 3 | 76.6 | 12 | 9 | 7 | 7.8 | 5 row 6 : ontario | 11.8 | 5 | 84.3 | 6 | 8.8 | 8 | 7.8 | 6 row 7 : quebec | 17.4 | 2 | 93.9 | 2 | 4.1 | 12 | 7.8 | 7 row 8 : prince edward island | 7.4 | 10 | 78.9 | 9 | 9.7 | 3 | 7.5 | 8 row 9 : nova scotia | 8 | 8 | 79.5 | 8 | 9.1 | 5 | 7.5 | 9 row 10 : manitoba | 8 | 9 | 76.8 | 10 | 9.4 | 4 | 7.4 | 10 row 11 : saskatchewan | 5 | 12 | 76.8 | 11 | 9.1 | 6 | 7 | 11 row 12 : new brunswick | 8.4 | 6 | 79.8 | 7 | 6.8 | 11 | 6.7 | 12 row 13 : nunavut | None | None | None | None | None | None | None | None row 14 : canada | 13.1 | None | 85.6 | None | 7.5 | None | 7.8 | None ] Execute this SQL based on the above table: select where = 'ontario' order by desc limit 1
ontario
[ header: year | chassis | engine | start | finish row 1 : 1974 | eagle | offy | 21st | 7th row 2 : 1975 | eagle | offy | 18th | 4th row 3 : 1976 | eagle | offy | 6th | 5th row 4 : 1977 | eagle | offy | 8th | 15th row 5 : 1978 | lighning | cosworth | 21st | 24th row 6 : 1979 | lighning | cosworth | 17th | 20th row 7 : 1980 | penske | cosworth | 8th | 6th row 8 : 1981 | penske | cosworth | 10th | 28th row 9 : 1982 | march | cosworth | 10th | 3rd row 10 : 1983 | march | cosworth | 14th | 7th row 11 : 1984 | march | cosworth | 21st | 19th row 12 : 1985 | march | buick | 1st | 33rd row 13 : 1986 | lola | cosworth | 14th | 16th row 14 : 1987 | march | cosworth | 29th | 27th row 15 : 1988 | march | buick | qualifying crash | None row 16 : 1989 | lola | cosworth | 32nd | 22nd row 17 : 1990 | lola | cosworth | 22nd | 29th row 18 : 1991 | lola | buick | 32nd | 21st row 19 : 1992 | lola | buick | failed to qualify | None row 20 : 1994 | lola | chevrolet | failed to qualify | None ] Execute this SQL based on the above table: select sum ( finish ) where year = 1989
22.0
[ header: year | position (after finals) | coach | captain | best & fairest | leading goalkicker (goals) row 1 : 1997 | 9 | john cahill | gavin wanganeen | darren mead | scott cummings (70) row 2 : 1998 | 10 | john cahill | gavin wanganeen | adam kingsley | warren tredrea (33) row 3 : 1999 | 7 (7) | mark williams | gavin wanganeen | stephen paxman | warren tredrea (40) row 4 : 2000 | 14 | mark williams | gavin wanganeen | brett montgomery | warren tredrea (32) row 5 : 2001 | 3 (5) | mark williams | matthew primus | warren tredrea | warren tredrea (51) row 6 : 2002 | 1 (3) | mark williams | matthew primus | matthew primus | stuart dew (51) row 7 : 2003 | 1 (4) | mark williams | matthew primus | gavin wanganeen | warren tredrea (58) row 8 : 2004 | 1 (premiers) | mark williams | matthew primus warren tred | warren tredrea | warren tredrea (81) row 9 : 2005 | 8 (6) | mark williams | matthew primus | warren tredrea | warren tredrea (65) row 10 : 2006 | 12 | mark williams | warren tredrea | brendon lade | josh mahoney (29) row 11 : 2007 | 2 (grand finalist) | mark williams | warren tredrea | kane cornes | brett ebert (56) row 12 : 2008 | 13 | mark williams | warren tredrea | kane cornes | daniel motlop (57) row 13 : 2009 | 10 | mark williams | domenic cassisi | warren tredrea | warren tredrea (51) row 14 : 2010 | 10 | mark williams matthew primus | domenic cassisi | kane cornes | jay schulz (33) row 15 : 2011 | 16 | matthew primus | domenic cassisi | travis boak jackson trengov | robert gray (32) row 16 : 2012 | 14 | matthew primus garry hocking | domenic cassisi | kane cornes | jay schulz (42) row 17 : 2013 | 7 (5) | ken hinkley | travis boak | chad wingard | jay schulz (49) row 18 : 2014 | None | ken hinkley | travis boak | None | None ] Execute this SQL based on the above table: select year where position (after finals) = 14
2000, 2012
[ header: year | tournament | venue | played | won | lost | tied | n/r | result row 1 : 1989-90 | world series | australia | 8 | 6 | 2 | 0 | 0 | won row 2 : 1990-91 | world series | australia | 10 | 9 | 1 | 0 | 0 | won row 3 : 1991-92 | world series | australia | 10 | 7 | 2 | 0 | 1 | won row 4 : 1992 | 5th world cup | aust/nz | 8 | 4 | 4 | 0 | 0 | eliminated row 5 : 1992 | v sri lanka | sri lanka | 3 | 1 | 2 | 0 | 0 | lost row 6 : 1993 | v new zealand | new zealand | 5 | 3 | 2 | 0 | 0 | won row 7 : 1993 | texaco trophy | england | 3 | 3 | 0 | 0 | 0 | won row 8 : 1993-94 | world series | australia | 11 | 7 | 4 | 0 | 0 | won row 9 : 1994 | v south africa | south africa | 8 | 4 | 4 | 0 | 0 | drawn row 10 : 1994 | wills triangular series | pakistan | 6 | 5 | 1 | 0 | 0 | won row 11 : 1994-95 | world series | australia | 4 | 3 | 1 | 0 | 0 | won row 12 : 1995 | nz centenary t'ment | new zealand | 4 | 3 | 1 | 0 | 0 | won row 13 : 1995 | v west indies | west indies | 5 | 1 | 4 | 0 | 0 | lost row 14 : 1995-96 | world series | australia | 10 | 7 | 3 | 0 | 0 | won row 15 : 1996 | singer world series | sri lanka | 4 | 2 | 2 | 0 | 0 | runner-up row 16 : 1996 | titan cup | india | 5 | 0 | 5 | 0 | 0 | eliminated row 17 : 1997 | v south africa | south africa | 7 | 4 | 3 | 0 | 0 | won row 18 : 1997 | texaco trophy | england | 3 | 0 | 3 | 0 | 0 | lost row 19 : 1998 | v new zealand | australia | 4 | 2 | 2 | 0 | 0 | drawn row 20 : 1998 | pepsi triangular series | india | 5 | 3 | 2 | 0 | 0 | won row 21 : 1998 | coca-cola cup | sharjah | 5 | 4 | 1 | 0 | 0 | runner-up row 22 : 1998 | wills cup | bangladesh | 1 | 0 | 1 | 0 | 0 | eliminated row 23 : 1998 | v pakistan | pakistan | 3 | 3 | 0 | 0 | 0 | won row 24 : 1999 | cub series | australia | 12 | 9 | 3 | 0 | 0 | won row 25 : 1999 | v west indies | west indies | 7 | 3 | 3 | 1 | 0 | drawn row 26 : 1999 | 7th world cup | uk/ire/neth | 10 | 7 | 2 | 1 | 0 | won row 27 : 1999 | aiwa cup | sri lanka | 5 | 4 | 1 | 0 | 0 | runner-up row 28 : 1999 | v zimbabwe | zimbabwe | 3 | 3 | 0 | 0 | 0 | won ] Execute this SQL based on the above table: select count ( result ) where result = 'eliminated'
3
[ header: round | opponent | result | brisbane | opponent | date | venue | crowd | position | bye row 1 : bocc | celtic crusaders | win | 32 | 6 | 15 feb | brewery field | 2000 | None | 0 row 2 : wcc | st helens | loss | 14 | 18 | 23 feb | reebok stadium | 23207 | None | 0 row 3 : trial match | canberra raiders | win | 18 | 12 | 24 feb | dolphin oval | None | None | 0 row 4 : trial match | melbourne storm | loss | 0 | 46 | 3 mar | princes park | 8273 | None | 0 row 5 : 1 | north queensland cowboys | loss | 16 | 23 | 16 mar | suncorp stadium | 50416 | 12/16 | 0 row 6 : 2 | new zealand warriors | loss | 14 | 24 | 25 mar | mt smart stadium | 16738 | 12/16 | 0 row 7 : 5 | gold coast titans | loss | 16 | 28 | 13 apr | suncorp stadium | 47686 | 13/16 | 0 row 8 : 6 | newcastle knights | win | 20 | 16 | 22 apr | energyaustralia stadium | 25524 | 11/16 | 0 row 9 : 7 | melbourne storm | loss | 18 | 28 | 27 apr | suncorp stadium | 33750 | 13/16 | 0 row 10 : 8 | south sydney rabbitohs | win | 8 | 4 | 4 may | suncorp stadium | 27387 | 12/16 | 0 row 11 : 9 | cronulla sharks | loss | 8 | 16 | 11 may | toyota park | 12262 | 13/16 | 0 row 12 : 10 | manly sea eagles | loss | 6 | 18 | 21 may | brookvale oval | 13493 | 14/16 | 0 row 13 : 11 | newcastle knights | win | 71 | 6 | 27 may | suncorp stadium | 27433 | 12/16 | 0 row 14 : 12 | st george illawarra | loss | 4 | 11 | 1 jun | oki jubilee stadium | 10302 | 15/16 | 0 row 15 : 13 | None | None | None | None | None | None | None | 12/16 | 1 row 16 : 14 | canterbury bulldogs | win | 19 | 12 | 15 jun | telstra stadium | 10121 | 10/16 | 0 row 17 : 15 | wests tigers | win | 48 | 18 | 25 jun | suncorp stadium | 29364 | 9/16 | 0 row 18 : 16 | penrith panthers | win | 24 | 16 | 30 jun | cua stadium | 8553 | 7/16 | 0 row 19 : 17 | gold coast titans | win | 19 | 18 | 6 jul | suncorp stadium | 48621 | 6/16 | 0 row 20 : 18 | north queensland cowboys | win | 24 | 16 | 13 jul | dairy farmers stadium | 25126 | 5/16 | 0 row 21 : 19 | parramatta eels | loss | 16 | 20 | 23 jul | suncorp stadium | 25702 | 5/16 | 0 row 22 : 20 | cronulla sharks | win | 30 | 16 | 29 jul | suncorp stadium | 24563 | 5/16 | 0 row 23 : 21 | manly sea eagles | loss | 8 | 21 | 5 aug | suncorp stadium | 35784 | 6/16 | 0 row 24 : 22 | melbourne storm | loss | 6 | 14 | 12 aug | olympic park | None | 7/16 | 0 row 25 : 23 | canterbury bulldogs | loss | 24 | 25 | 17 aug | suncorp stadium | 35199 | 9/16 | 0 row 26 : 24 | canberra raiders | win | 30 | 19 | 26 aug | suncorp stadium | 31614 | 8/16 | 0 ] Execute this SQL based on the above table: select round where position > ( select position where position = '13/16' ) order by position asc limit 1
10
[ header: year | award | result | category | series row 1 : 2004 | bet comedy awards | won | outstanding supporting actor in a comedy series | scrubs row 2 : 2002 | bet comedy awards | won | outstanding supporting actor in a comedy series | scrubs row 3 : 2004 | teen choice awards | nominated | choice tv sidekick | scrubs row 4 : 2005 | teen choice awards | nominated | choice tv sidekick | scrubs row 5 : 2006 | teen choice awards | nominated | choice tv sidekick | scrubs row 6 : 2007 | teen choice awards | nominated | choice tv sidekick | scrubs row 7 : 2005 | naacp image awards | nominated | outstanding supporting actor in a comedy series | scrubs row 8 : 2006 | naacp image awards | nominated | outstanding actor in a comedy series | scrubs row 9 : 2007 | naacp image awards | nominated | outstanding actor in a comedy series | scrubs row 10 : 2008 | naacp image awards | nominated | outstanding actor in a comedy series | scrubs ] Execute this SQL based on the above table: select result where result in ( 'won' , 'nominated' ) order by year desc limit 1
nominated
[ header: year | single | peak chart positions at | peak chart positions uk | peak chart positions u.s. dance | peak chart positions u.s. rock | peak chart positions ger | peak chart positions sui | peak chart positions ned | peak chart positions swe | album row 1 : 1988 / 89 | "bring me edelweiss" | 1 | 5 | 7 | 24 | 2 | 1 | 2 | 1 | singles only row 2 : 1989 | "i can't get no... edel | None | None | None | None | None | None | None | None | singles only row 3 : 1992 | "raumschiff edelweiss" / | 1 | None | None | None | 7 | 8 | 19 | 25 | wonderful world of edelweiss row 4 : 1992 | "planet edelweiss" | 14 | None | None | None | None | None | None | None | wonderful world of edelweiss row 5 : 1993 | "beam me up" | None | None | None | None | None | None | None | None | wonderful world of edelweiss row 6 : 1993 | "ski instructor" | None | None | None | None | None | None | None | None | wonderful world of edelweiss row 7 : 1997 | "edeltaler hochzeitsmarsch ( | None | None | None | None | None | None | None | None | singles only row 8 : 2001 | "bring me edelweiss" ( | None | None | None | None | None | None | None | None | singles only ] Execute this SQL based on the above table: select album order by peak chart positions swe desc limit 1
wonderful world of edelweiss
[ header: lift name | type | top elevation (ft) | bottom elevation | vertical rise | length (ft) | slope (%) | capacity (rides/hr) | speed (ft/min) | lift manufacturer | year installed row 1 : bruno | fixed double | 5885 | 5840 | 45 | 368 | 12% | 630 | 300 | poma | 1987 row 2 : molly's express | detach quad | 5835 | 4990 | 845 | 5244 | 16% | 1200 | 1000 | doppelmayr | 2000 row 3 : pucci | fixed triple | 5920 | 5350 | 570 | 3398 | 17% | 1330 | 450 | poma | 1987 row 4 : stormin' norman | detach quad | 6245 | 5460 | 785 | 4396 | 18% | 1500 | 1000 | doppelmayr | 2000 row 5 : magic mile express | detach quad | 6990 | 5915 | 1075 | 5359 | 20% | 1600 | 950 | poma | 1992 row 6 : palmer express | detach quad | 8470 | 6940 | 1530 | 5468 | 29% | 1800 | 1000 | doppelmayr | 1996 row 7 : jeff flood express (still creek basin) | detach quad | 6020 | 4850 | 1170 | 6506 | 18% | 1800 | 1000 | doppelmayr | 2007 ] Execute this SQL based on the above table: select slope (%) order by length (ft) desc limit 1
18%
[ header: title | director | production | music | cast | release date row 1 : arunthathi | m. l. tandan | t. r. sundaram, | m. d. parathas | c. honnappa b | 02.07.1943 row 2 : achayam (vaarai | None | None | None | None | None row 3 : harichandra (dubbed from kanna | a. v. meiyapp | a. v. meiyapp | None | r. nagendra rao | None row 4 : mangamma sabatham | acharya (t. g. | s. s. vasan, | s. rajeswara | ranjan, vasundhara devi, | None row 5 : diwan bahadur | t. r. sundaram | t. r. sundaram, | None | t. r. ramachand | 28.10.1943 row 6 : utthami | r. prakash | shyamala pictures | t. p. rajago | m. lakshmanan, | None ] Execute this SQL based on the above table: select count ( production )
5
[ header: device | type | iops | interface | notes row 1 : simple slc ssd | ssd | ~400 iops[citation needed] | sata 3 gbit/s | None row 2 : intel x25-m g2 | ssd | ~8,600 iops | sata 3 gbit/s | intel's data sheet claims 6,600/8 row 3 : intel x25-e (sl | ssd | ~5,000 iops | sata 3 gbit/s | intel's data sheet claims 3,300 row 4 : g.skill phoenix pro | ssd | ~20,000 iops | sata 3 gbit/s | sandforce-1200 based s row 5 : ocz vertex 3 | ssd | up to 60,000 iops | sata 6 gbit/s | random write 4 kb (aligned row 6 : corsair force series gt | ssd | up to 85,000 iops | sata 6 gbit/s | 240 gb drive, 555 row 7 : ocz vertex 4 | ssd | up to 120,000 iops | sata 6 gbit/s | 256 gb drive, 560 row 8 : texas memory systems ramsan | ssd | 120,000+ random read/write iops | pcie | includes ram cache row 9 : virident systems tachion | ssd | 320,000 sustained read iops using 4k | pcie | None row 10 : fusion-io iodrive du | ssd | 250,000+ iops | pcie | None row 11 : violin memory violin 3200 | ssd | 250,000+ random read/write iops | pcie /fc/infini | flash memory array row 12 : whiptail, accela | ssd | 250,000/200,000+ write/read i | fibre channel, iscsi, infini | flash based storage array row 13 : ddrdrive x1 | ssd | 300,000+ (512b random read | pcie | None row 14 : whiptail, invicta | ssd | 650,000/550,000+ read/write i | fibre channel, iscsi, infini | flash based storage array row 15 : violin memory violin 6000 | 3ru flash memory array | 1,000,000+ random read/write iops | /fc/infiniband/10g | None ] Execute this SQL based on the above table: select count ( type )
15
[ header: location | reactor type | status | net capacity (mwe) | gross capacity (mwe) row 1 : chernobyl-1 | rbmk-1000 | shut down in 1996 | 740 | 800 row 2 : chernobyl-2 | rbmk-1000 | shut down in 1991 | 925 | 1 row 3 : chernobyl-3 | rbmk-1000 | shut down in 2000 | 925 | 1 row 4 : chernobyl-4 | rbmk-1000 | destroyed in the 1986 accident | 925 | 1 row 5 : chernobyl-5 | rbmk-1000 | construction cancelled in 1988 | 950 | 1 row 6 : chernobyl-6 | rbmk-1000 | construction cancelled in 1988 | 950 | 1 row 7 : ignalina-1 | rbmk-1500 | shut down in 2004 | 1,185 | 1,3 row 8 : ignalina-2 | rbmk-1500 | shut down in 2009 | 1,185 | 1,3 row 9 : ignalina-3 | rbmk-1500 | construction cancelled in 1988 | 1,38 | 1,5 row 10 : ignalina-4 | rbmk-1500 | plan cancelled in 1988 | 1,38 | 1,5 row 11 : kostroma-1 | rbmk-1500 | construction cancelled in 1980s | 1,38 | 1,5 row 12 : kostroma-2 | rbmk-1500 | construction cancelled in 1980s | 1,38 | 1,5 row 13 : kursk-1 | rbmk-1000 | operational until 2021 | 925 | 1 row 14 : kursk-2 | rbmk-1000 | operational until 2024 | 925 | 1 row 15 : kursk-3 | rbmk-1000 | operational until march 2014 | 925 | 1 row 16 : kursk-4 | rbmk-1000 | operational until february 2016 | 925 | 1 row 17 : kursk-5 | mker-1000 | construction begin was 1985, since then shelve | 925 | 1 row 18 : kursk-6 | rbmk-1000 | construction cancelled in 1993 | 925 | 1 row 19 : leningrad-1 | rbmk-1000 | operational | 925 | 1 row 20 : leningrad-2 | rbmk-1000 | operational until 2021 | 925 | 1 row 21 : leningrad-3 | rbmk-1000 | operational until june 2025 | 925 | 1 row 22 : leningrad-4 | rbmk-1000 | operational until august 2026 | 925 | 1 row 23 : smolensk-1 | rbmk-1000 | operational until december 2022 | 925 | 1 row 24 : smolensk-2 | rbmk-1000 | operational until july 2015 | 925 | 1 row 25 : smolensk-3 | rbmk-1000 | operational until july 2023 | 925 | 1 row 26 : smolensk-4 | rbmk-1000 | construction cancelled in 1993 | 925 | 1 ] Execute this SQL based on the above table: select net capacity (mwe) where gross capacity (mwe) = 800
740.0
[ header: sheriff | start of term row 1 : josiah hobart | 1683 row 2 : john mulford | 1701 row 3 : hugh gray | 1702 row 4 : john brush | 1710 row 5 : daniel youngs | 1718 row 6 : samuel dayton | 1723 row 7 : william sell | 1728 row 8 : joseph smith | 1730 row 9 : david corrie | 1731 row 10 : jacob conklin | 1734 row 11 : thomas higbe | 1740 row 12 : james muirson | 1774 row 13 : thomas wickes | 1785 row 14 : silas halsey | 1787 row 15 : thomas wickes | 1791 row 16 : phinaes carll | 1799 row 17 : josiah reeve | 1803 row 18 : phinaes smith | 1807 row 19 : josiah reeve | 1808 row 20 : benjamin brewster | 1810 row 21 : josiah reeve | 1811 row 22 : benjamin brewster | 1812 row 23 : nathaniel conklin | 1814 row 24 : josiah reeve | 1815 row 25 : samuel smith | 1826 row 26 : abraham gardiner | 1829 row 27 : richard smith | 1832 row 28 : silas horton | 1835 row 29 : samuel miller | 1838 row 30 : david brush | 1841 row 31 : henry penny | 1844 row 32 : david rose | 1847 row 33 : john clark | 1850 row 34 : samuel phillips | 1855 row 35 : george carman | 1856 row 36 : daniel osborn | 1862 row 37 : george smith | 1868 row 38 : j. henry perkins | 1871 row 39 : egbert lewis | 1874 row 40 : george cooper | 1877 row 41 : robert petty | 1888 row 42 : selah brewster | 1883 row 43 : henry halsey | 1886 row 44 : robert petty | 1888 row 45 : a. m. darling | 1891 row 46 : benjamin wood | 1897 row 47 : j. sheridan wells | 1900 row 48 : henry preston | 1903 row 49 : john wells | 1906 row 50 : charles platt | 1909 row 51 : melville brush | 1912 row 52 : d. henry brown | 1913 row 53 : charles o'dell | 1914 row 54 : john kelly | 1920 row 55 : amza biggs | 1923 row 56 : burton howe | 1926 row 57 : ellis taylor | 1929 row 58 : joseph warta | 1932 row 59 : william mccollom | 1935 row 60 : jacob dreyer | 1938 row 61 : john levy | 1941 row 62 : william mccollom | 1942 row 63 : charles dominy | 1957 row 64 : frank gross | 1962 row 65 : philip corso | 1970 row 66 : donald dilworth | 1976 row 67 : john finnerty | 1977 row 68 : eugene dooley | 1986 row 69 : patrick mahoney | 1990 row 70 : alfred c. tisch | 2002 row 71 : vincent f. demarco | 2006 ] Execute this SQL based on the above table: select sheriff group by sheriff order by count ( sheriff ) desc limit 1
josiah reeve
[ header: tournament | games played | points per game | rebounds per game | assists per game row 1 : 2003 eurobasket | 6 | 6.8 | 5.3 | 0.7 row 2 : 2005 eurobasket | 7 | 7.6 | 7.1 | 0.6 row 3 : 2006 fiba world championship | 9 | 9.7 | 6.7 | 0.6 row 4 : 2007 eurobasket | 7 | 8.9 | 3.7 | 0.6 row 5 : 2009 eurobasket | 8 | 6.5 | 2.9 | 1.1 row 6 : 2010 fiba world championship | 4 | 4.5 | 4.8 | 1.5 row 7 : 2011 eurobasket | 11 | 2.6 | 3.4 | 0.8 row 8 : 2012 olympics | 6 | 4.5 | 2.8 | 0.5 row 9 : 2013 eurobasket | 11 | 1.9 | 3.5 | 0.2 ] Execute this SQL based on the above table: select tournament where games played = ( select games played where tournament = '2007 eurobasket' ) - 1
2003 eurobasket, 2012 olympics
[ header: # | player | span | caps | total caps | win % row 1 : 1 | fabien pelous | 1997-2006 | 42 | 118 | 64.28% row 2 : 2 | raphael ibanez | 1998-2007 | 41 | 98 | 63.41% row 3 : 3 | jean-pierre rives | 1978-1984 | 34 | 59 | 55.88% row 4 : 3 | philippe saint-andre | 1994-1997 | 34 | 69 | 73.53% row 5 : 5 | thierry dusautoir | 2009- | 31 | 54 | 54.84% row 6 : 6 | daniel dubroca | 1986-1988 | 11 | 33 | 72.00% row 7 : 6 | fabien galthie | 1999-2003 | 11 | 64 | 64.00% row 8 : 8 | guy basquet | 1948-1952 | 11 | 33 | 50.00% row 9 : 9 | michel crauste | 1961-1966 | 11 | 63 | 68.18% row 10 : 10 | jacques fouroux | 1974-1977 | 11 | 27 | 66.67% ] Execute this SQL based on the above table: select count ( win % ) where total caps >= 63
5
[ header: manufacturer | model | first flight | max payload (t) | cruise (km/h) | max range (km) | mtow row 1 : airbus | a330 mrtt | 2007 | 45 | 860 | 14,800 | 223 row 2 : airbus | a400m | 2009 | 37 | 780 | 9,300 | 141 row 3 : alenia | c-27j spartan | 2008 | 11.5 | 583 | 5,926 | 31.8 row 4 : antonov | an-12 | 1957 | 20 | 777 | 5,700 | 61 row 5 : antonov | an-22 antei | 1965 | 80 | 740 | 5,000 | 250 row 6 : antonov | an-26 | 1969 | 5.5 | 440 | 2,550 | 24 row 7 : antonov | an-32 | 1976 | 6.7 | 480 | 2,500 | 26.9 row 8 : antonov | an-70 | 1994 | 47 | 729 | 6,600 | 145 row 9 : antonov | an-72 | 1977 | 7.5 | 600 | 4,800 | 33 row 10 : antonov | an-124 ruslan | 1982 | 150 | 800-850 | 5,410 | 405 row 11 : antonov | an-225 mriya | 1988 | 250 | 800 | 15,400 | 600 row 12 : avic | y-8 | 1974 | 20 | 550 | 5,616 | 61 row 13 : avic | y-9 | 2008 | 25 | 650 | 7,800 | 77 row 14 : avic | y-20 | 2013 | 66 | 700 | 7,800 | 220 row 15 : bell/boeing | v-22 osprey | 1989 | 6.8 | 396 | 1,627 | 27.4 row 16 : boeing | c-17 globemaster iii | 1991 | 77.5 | 830 | 4,482 | 265 row 17 : casa | c-212 aviocar | 1971 | 2.8 | 315 | 1,433 | 8 row 18 : casa/indonesian aerospace | cn-235 | 1983 | 5 | 509 | 5,003 | 15.1 row 19 : casa | c-295 | 1998 | 9.3 | 481 | 5,630 | 23.2 row 20 : de havilland canada | c-7 caribou | 1958 | 3.6 | 348 | 2,103 | 14.2 row 21 : douglas | c-47 | 1943 | 3 | 360 | 2,600 | 10.5 row 22 : grumman | c-2 greyhound | 1964 | 4.5 | 465 | 2,400 | 24.7 row 23 : embraer | kc-390 | 2014 | 23 | 900 | 6,200 | 72 row 24 : fairchild | c-123 provider | 1949 | 11 | 367 | 1,666 | 27 row 25 : ilyushin | il-76 | 1971 | 47 | 900 | 4,400 | 210 row 26 : ilyushin | il-112 | 2011 | 5.9 | 550 | 5,000 | 20 row 27 : kawasaki | c-1 | 1970 | 11.9 | 657 | 1,300 | 45 row 28 : kawasaki | xc-2 | 2010 | 37.6 | 890 | 6,500 | 120 row 29 : lockheed | c-5 galaxy | 1968 | 122 | 907 | 4,445 | 381 row 30 : lockheed | c-130 hercules | 1954 | 20 | 540 | 3,800 | 70.3 row 31 : lockheed | c-141 starlifter | 1963 | 45 | 912 | 9,880 | 147 row 32 : pzl mielec | m-28 skytruck | 1993 | 2.5 | 270 | 1,500 | 8 row 33 : short brothers | c-23 sherpa | 1982 | 3.2 | 296 | 1,239 | 3.2 row 34 : transport allianz | transall c-160 | 1963 | 16 | 513 | 1,850 | 49.2 row 35 : uac and hal | uac/hal multirole transport | 2015 | 22 | 830 | 2,500 | 68 ] Execute this SQL based on the above table: select count ( max range (km) ) where model = 'c-123 provider'
1
[ header: pos | rider | manufacturer | time/retired | grid | points row 1 : 1 | roberto rolfo | honda | 45:14.ret3 | 8 | 25 row 2 : 2 | anthony west | aprilia | 14.04 | 11 | 20 row 3 : 3 | fonsi nieto | aprilia | 33.511 | 5 | 16 row 4 : 4 | franco battaini | aprilia | 54.252 | 3 | 13 row 5 : 5 | alex debon | honda | +1:06.895 | 13 | 11 row 6 : 6 | naoki matsudo | yamaha | +1:06.943 | 9 | 10 row 7 : 7 | erwan nigon | aprilia | +1:13.421 | 12 | 9 row 8 : 8 | jaroslav hules | yamaha | +1:22.119 | 10 | 8 row 9 : 9 | manuel poggiali | aprilia | +1:22.163 | 7 | 7 row 10 : 10 | johann stigefelt | aprilia | +1:25.303 | 22 | 6 row 11 : 11 | toni elias | aprilia | +1:41.591 | 1 | 5 row 12 : 12 | lukas pesek | yamaha | +2:49.682 | 18 | 4 row 13 : 13 | dirk heidolf | aprilia | +1 lap | 17 | 3 row 14 : 14 | hugo marchand | aprilia | +1 lap | 19 | 2 row 15 : 15 | chaz davies | aprilia | +1 lap | 15 | 1 row 16 : 16 | hector faubel | aprilia | +1 lap | 16 | None row 17 : 17 | henk vd lagema | honda | +2 laps | 25 | None row 18 : 18 | joan olive | aprilia | +3 laps | 20 | None row 19 : ret | randy de puniet | aprilia | retirement | 4 | None row 20 : ret | christian gemmel | honda | retirement | 23 | None row 21 : ret | eric bataille | honda | retirement | 14 | None row 22 : ret | sebastian porto | honda | retirement | 2 | None row 23 : ret | katja poensgen | honda | retirement | 24 | None row 24 : ret | geoff hardcastle | yamaha | retirement | 26 | None row 25 : ret | alex baldolini | aprilia | retirement | 21 | None row 26 : ret | sylvain guintoli | aprilia | retirement | 6 | None ] Execute this SQL based on the above table: select count ( rider ) where time/retired >= 'retirement'
0
[ header: institution | location | established | gained university status | vice-chancellor | total number of students | research funding (£,000) row 1 : birkbeck, university of lon | london | 1823 | 1920 | professor david latchman | 19020 | 9985 row 2 : university of east anglia | norwich | 1963 | 1963 | professor edward acton | 19585 | 16482 row 3 : university of essex | colchester | 1964 | 1964 | professor anthony forster | 11690 | 9967 row 4 : goldsmiths, university of london | london | 1891 | 1904 | dr pat loughrey | 7615 | 8539 row 5 : institute of education, university of london | london | 1902 | 1932 | professor chris husbands | 7215 | 7734 row 6 : university of lancaster | lancaster | 1964 | 1964 | professor mark smith | 12695 | 18640 row 7 : university of leicester | leicester | 1921 | 1957 | professor robert burgess | 16160 | 22225 row 8 : loughborough university | loughborough | 1909 | 1966 | professor robert allison | 17825 | 22398 row 9 : royal holloway, university of lon | egham | 1849 | 1900 | professor paul layzell (principal | 7620 | 13699 row 10 : soas, university of london | london | 1916 | 1916 | professor paul webley | 4525 | 7238 row 11 : university of sussex | brighton | 1961 | 1961 | professor michael farthing | 12415 | 16196 ] Execute this SQL based on the above table: select count ( location )
11
[ header: rank | city | population | area (km2) | density (inhabitants/km2) | altitude (mslm) row 1 : 1st | alessandria | 94191 | 203.97 | 461.8 | 95 row 2 : 2nd | casale monferrato | 36039 | 86.32 | 417.5 | 116 row 3 : 3rd | novi ligure | 28581 | 54.22 | 527.1 | 197 row 4 : 4th | tortona | 27476 | 99.29 | 276.7 | 122 row 5 : 5th | acqui terme | 20426 | 33.42 | 611.2 | 156 row 6 : 6th | valenza | 20282 | 50.05 | 405.2 | 125 row 7 : 7th | ovada | 11912 | 35.33 | 337.2 | 186 row 8 : 8th | serravalle scrivia | 6445 | 16.02 | 402.3 | 225 row 9 : 9th | arquata scrivia | 6260 | 30.36 | 206.2 | 248 row 10 : 10th | castelnuovo scrivia | 5473 | 45.42 | 120.5 | 85 ] Execute this SQL based on the above table: select altitude (mslm) order by area (km2) desc limit 1
95
[ header: model | origin | type | version | in service | notes row 1 : larc-v | united states | amphibious support vehicle | larc-v | 5 | most refurbished in 2006 row 2 : gkn aquatrack | united kingdom | amphibious support vehicle | aquatrack | 2 | introduced in mid 1990s. originally owned by the row 3 : am general hmmwv | united states | light utility vehicle | m998a1 m1038 | None | divided into several variants and series row 4 : maxi-ambulance | united states | light utility vehicle | m997a2 | 4 | 150 delivered to afp on nov row 5 : m939 truck | united states | heavy utility vehicle | m923 | None | several delivered to afp in 2013, several row 6 : m35 truck | united states | 2 1/2-ton utility vehicle | m35 | None | divided into several variants and series. more delivered row 7 : m151 | united states | 1/4-ton light utility vehicle and weapons carrier | standard | None | in service, several carrying m40 106 row 8 : delta mini cruiser | philippines | 1/4-ton light utility vehicle | m1777 | None | divided into several variants and series, including short row 9 : marine multi-purpose vehicle | philippines | light utility vehicle and weapons carrier | standard | None | to replace the m151 mutt, row 10 : km-50 series | republic of korea | 5-ton utility vehicle | km-500 | 12 | 155mm artillery prime mover. row 11 : km-45 series | republic of korea | 1 1/2-ton utility vehicle | km-450 | >50 | 3000 purchased by afp on 2007, row 12 : km-45 series | republic of korea | field ambulance | km-451 | 12 | 500 purchased by afp in 2012, ] Execute this SQL based on the above table: select in service where id = ( select id where in service = 2 ) - 1
5
[ header: year | date | winner | result | loser | attendance | location row 1 : 1980 | oct 19 | chicago bears | 24-7 | detroit lions | None | chicago, illinois row 2 : 1980 | nov 27 | chicago bears | 23-17 (ot) | detroit lions | 58508 | pontiac, michigan row 3 : 1981 | oct 19 | detroit lions | 48-17 | chicago bears | 75397 | pontiac, michigan row 4 : 1981 | nov 22 | detroit lions | 23-7 | chicago bears | 71273 | chicago, illinois row 5 : 1982 | sept 12 | detroit lions | 17-10 | chicago bears | 50082 | pontiac, michigan row 6 : 1982 | nov 21 | chicago bears | 20-17 | detroit lions | 46783 | chicago, illinois row 7 : 1983 | oct 16 | detroit lions | 31-17 | chicago bears | 66709 | pontiac, michigan row 8 : 1983 | oct 30 | detroit lions | 38-17 | chicago bears | 58764 | chicago, illinois row 9 : 1984 | nov 18 | chicago bears | 16-14 | detroit lions | 54911 | chicago, illinois row 10 : 1984 | dec 16 | chicago bears | 30-13 | detroit lions | 53252 | pontiac, michigan row 11 : 1985 | nov 10 | chicago bears | 24-3 | detroit lions | 53467 | chicago, illinois row 12 : 1985 | dec 22 | chicago bears | 37-17 | detroit lions | 74042 | pontiac, michigan row 13 : 1986 | oct 26 | chicago bears | 13-7 | detroit lions | 62064 | chicago, illinois row 14 : 1986 | dec 15 | chicago bears | 16-13 | detroit lions | 75602 | pontiac, michigan row 15 : 1987 | nov 22 | chicago bears | 30-10 | detroit lions | 63357 | chicago, illinois row 16 : 1988 | oct 9 | chicago bears | 24-7 | detroit lions | 64526 | pontiac, michigan row 17 : 1988 | dec 11 | chicago bears | 13-12 | detroit lions | 55010 | chicago, illinois row 18 : 1989 | sept 24 | chicago bears | 47-27 | detroit lions | 71418 | pontiac, michigan row 19 : 1989 | dec 10 | detroit lions | 27-17 | chicago bears | 52650 | chicago, illinois ] Execute this SQL based on the above table: select location where loser = 'detroit lions' and result = '24-7'
chicago, illinois, pontiac, michigan
[ header: year | title | role | notes row 1 : 1978 | the big fix | pool man | None row 2 : 1979 | french postcards | sayyid | None row 3 : 1979 | last embrace | first commuter | None row 4 : 1980 | night of the juggler | allesandro the cabbie | None row 5 : 1981 | ragtime | tateh | None row 6 : 1983 | yentl | avigdor | nominated-golden globe award for best row 7 : 1983 | daniel | paul isaacson | None row 8 : 1985 | maxie | nick | None row 9 : 1986 | tenku no shiro rap | louis | None row 10 : 1987 | the princess bride | inigo montoya | None row 11 : 1988 | alien nation | detective samuel 'ge | nominated-saturn award for best row 12 : 1988 | the house on carroll street | ray salwen | None row 13 : 1990 | dick tracy | 88 keys | None row 14 : 1991 | true colors | john palmeri | None row 15 : 1991 | impromptu | alfred de musset | None row 16 : 1991 | the doctor | dr. murray kaplan | None row 17 : 1993 | the music of chance | jim nashe | None row 18 : 1993 | life with mikey | irate man | None row 19 : 1994 | squanto: a warrior's | brother daniel | None row 20 : 1998 | lulu on the bridge | philip kleinman | None row 21 : 1998 | men with guns | andrew | None row 22 : 1999 | the adventures of elmo in | huxley | None row 23 : 2001 | pinero | joseph papp | None row 24 : 2002 | run ronnie run | himself | None row 25 : 2003 | celebrity train layouts: mandy patin | himself | None row 26 : 2005 | the choking man | rick | None row 27 : 2006 | everyone's hero | stanley irving | None row 28 : 2010 | 4.3.2.1 ... the countdown begins | jago l | None row 29 : 2014 | wish i was here | saul bloom | None ] Execute this SQL based on the above table: select count ( title ) where title = 'true colors'
1
[ header: party | votes | % | swing | seats | change row 1 : australian labor party | 166106 | 50.84 | 2.75 | 15 | 3 row 2 : liberal and country league | 119106 | 36.45 | -4.05 | 20 | -3 row 3 : independent | 36271 | 11.1 | 1.03 | 4 | 0 row 4 : other | 5238 | 1.6 | None | 0 | 0 row 5 : total | 326721 | None | None | 39 | None row 6 : liberal and country league | win | 47 | -4.3 | 20 | -3 row 7 : australian labor party | None | 53 | 4.3 | 15 | 3 ] Execute this SQL based on the above table: select count ( party ) where swing < ( select swing where party = 'australian labor party' )
3
[ header: year | total | romanians | hungarians | roma row 1 : 1850 | 4,541 | 69.3% | 23.9% | 6.5% row 2 : 1880 | 4,636 | 63.0% | 30.2% | None row 3 : 1890 | 5,499 | 62.7% | 31.6% | None row 4 : 1900 | 5,553 | 64.3% | 29.7% | None row 5 : 1910 | 6,234 | 64.6% | 30.4% | None row 6 : 1920 | 5,887 | 71.6% | 27.9% | None row 7 : 1930 | 6,456 | 70.5% | 22.8% | 2.6% row 8 : 1941 | 6,981 | 78.3% | 19.4% | None row 9 : 1956 | 6,649 | 74.7% | 19.0% | 6.0% row 10 : 1966 | 6,991 | 80.9% | 17.3% | 1.7% row 11 : 1977 | 7,089 | 78.1% | 16.9% | 4.9% row 12 : 1992 | 5,723 | 74.1% | 14.2% | 11.6% row 13 : 2002 | 5,506 | 74.4% | 12.0% | 13.6% row 14 : 2011 | 4,574 | 70.7% | 11.2% | 17.9% ] Execute this SQL based on the above table: select count ( roma ) where romanians = '78.1%'
1
[ header: number/name | wheel arrangement | builder | year | disposition and location row 1 : 1 san francisco | 4-4-0 | norris locomotive works | 1862 | to southern pacific #2, #1109. row 2 : 2 san jose | 4-4-0 | norris locomotive works | 1862 | to sf&np as little jos row 3 : 3 t. dame | 4-4-0 | norris locomotive works | None | to southern pacific #3, #1110. row 4 : 4 a.h. houston | 4-4-0 | cooke locomotive and machine works | 11/1863 | to southern pacific #4. unknown row 5 : 5 chas. mclaughl | 4-4-0 | cooke locomotive and machine works | None | to southern pacific #5. unknown row 6 : 6 california | 4-4-0 | h. j. booth at union iron | 7/1865 | to southern pacific #6, #1303. row 7 : 7 atlantic | 4-4-0 | h.j. booth at union iron works | 1865 | to southern pacific #7, #123 row 8 : 8 union | 0-4-0 | h.j. booth at union iron works | 6/1867 | to southern pacific #8, #1002. row 9 : 9 donahue | 4-4-0 | cooke locomotive and machine works | 4/1870 | to southern pacific #9. unknown row 10 : 10 newhall | None | None | None | to southern pacific #10. unknown row 11 : 11 menlo park | 4-4-0 | mason machine works | 4/16/1870 | to southern pacific #11. unknown row 12 : 12 racer | None | mck/a | 7/1868 | to southern pacific #12. unknown row 13 : 13 shoshone | None | norris locomotive works | 6/1867 | to southern pacific #13. unknown row 14 : 14 red eagle | None | cooke locomotive and machine works | 7/1868 | to southern pacific #14. unknown row 15 : 15 black deer | None | mck/a | 10/1867 | to southern pacific #15. unknown row 16 : 16 reindeer | None | schenectady locomotive works | 11/1868 | to southern pacific #1151. unknown row 17 : 17 mohave | None | norris locomotive works | 7/1860 | to southern pacific #17. unknown row 18 : 18 peeler | None | rhode island locomotive works | 11/1868 | to southern pacific #18. unknown row 19 : 19 raven | None | schenectady locomotive works | 10/1868 | to southern pacific #19. unknown row 20 : 20 | None | baldwin locomotive works | 6/1872 | to southern pacific #20. unknown ] Execute this SQL based on the above table: select disposition and location group by disposition and location order by count ( * ) desc limit 1
to southern pacific #9. unknown
[ header: class | name | company | residence | term expires dec 31 | notes row 1 : a | max t. wake | jones national bank & trust co | seward, nebraska | 2013 | None row 2 : a | vacancy | None | None | 2014 | None row 3 : a | david w. brownback | citizens state bank & trust company | ellsworth, kansas | 2015 | None row 4 : b | vacancy | None | None | 2013 | None row 5 : b | richard k. ratcliffe | ratcliffe's inc | weatherford, oklahoma | 2014 | None row 6 : b | john t. stout, | plaza belmont management group llc | shawnee mission, kans | 2015 | None row 7 : c | rose washington | otulsa economic development corporation | tulsa, oklahoma | 2013 | None row 8 : c | barbara mowry | gorecreek advisors | greenwood village, colorado | 2014 | chairman row 9 : c | steve maestas | nai maestas and | albuquerque, new mexico | 2015 | deputy chairman ] Execute this SQL based on the above table: select term expires dec 31 where term expires dec 31 > 1375 order by term expires dec 31 desc limit 1
2015
[ header: outcome | no. | date | championship | surface | opponent in the final | score in the final row 1 : winner | 1 | 20 july 1981 | bastad, sweden | clay | anders jarryd | 6-2, 6-3 row 2 : runner-up | 1 | 21 september 1981 | bordeaux, france | clay | andres gomez | 6-7, 6-7, 1-6 row 3 : winner | 2 | 10 june 1985 | bologna, italy | clay | claudio panatta | 6-2, 6-0 row 4 : winner | 3 | 9 september 1985 | palermo, italy | clay | joakim nystrom | 6-2, 6-0 row 5 : winner | 4 | 23 september 1985 | barcelona, spain | clay | mats wilander | 0-6, 6-2, 3-6, row 6 : winner | 5 | 10 february 1986 | metz, france | indoor | broderick dyke | 6-4, 6-3 row 7 : runner-up | 2 | 28 april 1986 | indianapolis, u.s | clay | andres gomez | 4-6, 6-7(1-7) row 8 : runner-up | 3 | 28 july 1986 | washington, d.c., | clay | karel novacek | 1-6, 6-7(4-7) row 9 : runner-up | 4 | 8 september 1986 | geneva, switzerland | clay | henri leconte | 5-7, 3-6 ] Execute this SQL based on the above table: select score in the final order by no. desc limit 1
6-4, 6-3
[ header: position | player | free agency tag | date signed | 2013 team row 1 : qb | josh mccown | ufa | march 29 | chicago bears row 2 : rb | kahlil bell | ufa | august 11 | new york jets row 3 : og | lance louis | ufa | march 27 | miami dolphins row 4 : og | chris spencer | ufa | april 1 | tennessee titans row 5 : og | chilo rachal | ufa | april 10 | arizona cardinals row 6 : ot | jonathan scott | ufa | march 25 | chicago bears row 7 : de | israel idonije | ufa | june 25 | detroit lions row 8 : dt | amobi okoye | ufa | None | None row 9 : lb | geno hayes | ufa | march 13 | jacksonville jaguars row 10 : lb | nick roach | ufa | march 15 | oakland raiders row 11 : cb | zack bowman | ufa | march 15 | chicago bears row 12 : cb | d. j. moore | ufa | march 19 | carolina panthers row 13 : s | troy nolan | ufa | july 29 | tampa bay buccaneers row 14 : k | olindo mare | ufa | None | None ] Execute this SQL based on the above table: select count ( 2013 team ) where 2013 team = 'arizona cardinals'
1
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 9 | kimi raikkonen | mclaren-mercedes | 44 | 1:30:01.295 | 2 | 10 row 2 : 2 | 5 | fernando alonso | renault | 44 | 28.394 | 4 | 8 row 3 : 3 | 3 | jenson button | bar-honda | 44 | 32.077 | 8 | 6 row 4 : 4 | 7 | mark webber | williams-bmw | 44 | +1:09.167 | 9 | 5 row 5 : 5 | 2 | rubens barrichello | ferrari | 44 | +1:18.136 | 12 | 4 row 6 : 6 | 11 | jacques villeneuve | sauber-petronas | 44 | +1:27.435 | 14 | 3 row 7 : 7 | 17 | ralf schumacher | toyota | 44 | +1:27.574 | 5 | 2 row 8 : 8 | 18 | tiago monteiro | jordan-toyota | 43 | +1 lap | 19 | 1 row 9 : 9 | 15 | christian klien | red bull-cosworth | 43 | +1 lap | 16 | None row 10 : 10 | 12 | felipe massa | sauber-petronas | 43 | +1 lap | 7 | None row 11 : 11 | 19 | narain karthikeyan | jordan-toyota | 43 | +1 lap | 20 | None row 12 : 12 | 21 | christijan albers | minardi-cosworth | 42 | +2 laps | 18 | None row 13 : 13 | 20 | robert doornbos | minardi-cosworth | 41 | +3 laps | 17 | None row 14 : 14 | 10 | juan pablo montoya | mclaren-mercedes | 40 | collision | 1 | None row 15 : 15 | 8 | antonio pizzonia | williams-bmw | 39 | collision | 15 | None row 16 : ret | 16 | jarno trulli | toyota | 34 | accident | 3 | None row 17 : ret | 14 | david coulthard | red bull-cosworth | 18 | engine | 11 | None row 18 : ret | 1 | michael schumacher | ferrari | 13 | collision | 6 | None row 19 : ret | 4 | takuma sato | bar-honda | 13 | collision | 10 | None row 20 : ret | 6 | giancarlo fisichella | renault | 10 | accident | 13 | None ] Execute this SQL based on the above table: select count ( * ) where constructor = pos
0
[ header: name | # | position | height | weight | year | home town | high school row 1 : harrison barnes | 40 | forward | 8-jun | 210 | freshman | ames, ia | ames row 2 : daniel bolick | 3 | guard | 10-may | 175 | senior | carrboro, nc | chapel hill row 3 : reggie bullock | 35 | guard | 7-jun | 190 | freshman | kinston, nc | kinston row 4 : stewart cooper | 15 | forward | 5-jun | 205 | junior | winston-salem, n | forsyth county day row 5 : patrick crouch | 30 | guard | 11-may | 175 | junior | asheville, nc | t.c. roberson row 6 : larry drew ii | 11 | guard | 2-jun | 180 | junior | encino, ca | woodland hills taft row 7 : david dupont | 22 | forward | 5-jun | 195 | junior | greensboro, nc | grimsley row 8 : van hatchell | 13 | forward | 4-jun | 185 | senior | chapel hill, nc | cresset christian row 9 : john henson | 31 | forward | 10-jun | 210 | sophomore | tampa, fl | sickles row 10 : d.j. johnston | 32 | forward | 4-jun | 195 | junior | lower gwynedd, pa | germantown row 11 : justin knox | 25 | forward | 9-jun | 240 | graduate | tuscaloosa, al | central row 12 : kendall marshall | 5 | guard | 3-jun | 186 | freshman | dumfries, va | bishop o'connell row 13 : leslie mcdonald | 15 | guard | 4-jun | 215 | sophomore | memphis, tn | briarcrest christian row 14 : dexter strickland | 1 | guard | 3-jun | 180 | sophomore | rahway, nj | st. patrick row 15 : justin watts | 24 | guard | 4-jun | 210 | junior | durham, nc | jordan row 16 : tyler zeller | 44 | forward | jul-00 | 250 | junior | washington, in | washington ] Execute this SQL based on the above table: select count ( high school )
16
[ header: year | team | games | combined tackles | tackles | assisted tackles | sacks | forced fumbles | fumble recoveries | fumble return yards | interceptions | interception return yards | yards per interception return | longest interception return | interceptions returned for touchdown | passes defended row 1 : 2002 | buf | 16 | 96 | 71 | 25 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 row 2 : 2003 | buf | 16 | 28 | 24 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 row 3 : 2004 | buf | 12 | 25 | 14 | 11 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 row 4 : 2005 | buf | 13 | 9 | 6 | 3 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 row 5 : 2006 | buf | 16 | 23 | 13 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 row 6 : 2007 | buf | 7 | 4 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 row 7 : 2008 | atl | 16 | 34 | 28 | 6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 row 8 : 2009 | atl | 16 | 17 | 15 | 2 | 0 | 1 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 row 9 : 2010 | atl | 15 | 12 | 8 | 4 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 row 10 : career | None | 127 | 248 | 182 | 66 | 5 | 2 | 4 | 0 | 0 | 0 | 0 | 0 | 0 | 5 ] Execute this SQL based on the above table: select team order by year desc limit 2003
atl, atl, atl, buf, buf, buf, buf, buf, buf
[ header: year | host / location | division i overall | division i undergraduate | division ii overall | division ii community college row 1 : 1997 | penn | chicago | None | None | None row 2 : 1998 | vanderbilt | stanford | swarthmore | harvard | None row 3 : 1999 | michigan | chicago | carleton | princeton | None row 4 : 2000 | boston u | illinois | princeton | harvard | None row 5 : 2001 | washington, st. louis | chicago | princeton | pittsburgh | None row 6 : 2002 | north carolina | michigan | princeton | yale | valencia cc row 7 : 2003 | ucla and caltech | chicago | harvard | berkeley | valencia cc row 8 : 2004 | washington, st. louis | cal-berkeley | illinois | ucla | valencia cc row 9 : 2005 | tulane | michigan | va commonwealth | chicago | faulkner st row 10 : 2006 | maryland | cal-berkeley | williams college | stanford | broward cc row 11 : 2007 | minnesota | chicago | carleton | maryland | valencia cc row 12 : 2008 | washington, st. louis | maryland | harvard | carleton | valencia cc row 13 : 2009 | dallas, texas | chicago | minnesota | chicago | northeast alabama cc row 14 : 2010 | chicago, illinois | chicago | minnesota | brown | st. charles cc row 15 : 2011 | chicago, illinois | minnesota | vcu | yale | chipola row 16 : 2012 | chicago, illinois | virginia | ohio state | harvard | chipola row 17 : 2013 | chicago, illinois | yale | ohio state | stanford | chipola row 18 : 2014 | chicago, illinois | virginia | yale | harvard | valencia ] Execute this SQL based on the above table: select ( select count ( division ii overall ) where year = 0 ) > 0
0
[ header: year | winners | score | runners up | notes row 1 : 1947 | wellington town reserves | 4-1 | walsall wood | None row 2 : 1949 | bilston town | 1-0 | oswestry town | None row 3 : 1950 | brereton social drew | None | None | None row 4 : 1951 | bloxwich strollers | 1-0 | walsall wood | after extra time row 5 : 1955 | shelfield athletic | 5-1 | walsall trinity | None row 6 : 1956 | shelfield athletic | 2-0 | ogley hay | None row 7 : 1959 | shelfield athletic | 4-0 | walsall wood | None row 8 : 1960 | shelfield athletic | 3-0 | walsall wood | None row 9 : 1965 | rushall olympic | 2-1 | brereton social | None row 10 : 1966 | lower gornal athletic | 4-2 | kidderminster harriers | after extra time row 11 : 1968 | wrockwardine wood | 2-1 | tamworth | None row 12 : 1971 | baddesley colliery | 4-3 | atherstone town | aggregate score, 1st leg 2-2, row 13 : 1973 | bilston town | 1-0 | darlaston | None row 14 : 1974 | brereton social | 3-2 | warley county borough | after extra time row 15 : 1977 | blakenall | 1-0 | bilston town | replay, 1st game 0-0 a row 16 : 1978 | sutton coldfield town | 2-0 | alvechurch | None row 17 : 1980 | sutton coldfield town | 1-0 | rushall olympic | None row 18 : 1981 | blakenall | 2-1 | sutton coldfield town | replay, 1st game 1-1 a row 19 : 1983 | coleshill town | 4-3 | wolverhampton united | None row 20 : 1984 | atherstone town | 4-0 | tividale | None row 21 : 1985 | harrisons | 2-0 | wolverhampton united | None row 22 : 1987 | boldmere st. michaels | 2-0 | bloxwich town | None row 23 : 1990 | meir ka | 2-1 | rushall olympic | replay, 1st game 0-0 a row 24 : 1991 | chasetown | 1-0 | blakenall | after extra time row 25 : 1992 | armitage 90 | 3-2 | meir ka | after extra time row 26 : 1993 | chasetown | 3-1 | pelsall villa | None row 27 : 1994 | newcastle town | 1-0 | oldbury united | after extra time row 28 : 1995 | newcastle town | 1-1 | knypersley victoria | after extra time, newcastle won on penalties row 29 : 1996 | blakenall | 0-0 | newcastle town | after extra time, blakenall won on row 30 : 1998 | blakenall | 2-1 | halesowen harriers | None row 31 : 1999 | blakenall | 3-2 | meir ka | None row 32 : 2000 | rushall olympic | 2-2 | rocester | after extra time, rushall won 5-4 on row 33 : 2001 | wolverhampton casuals | 2-0 | sutton coldfield town | None row 34 : 2002 | bolehall swifts | 4-4 | tividale | after extra time, bolehall won 4 row 35 : 2004 | sutton coldfield town | 3-1 | tividale | None row 36 : 2005 | chasetown | 2-1 | tividale | None row 37 : 2006 | boldmere st michaels | 1-0 | tipton town | None ] Execute this SQL based on the above table: select max ( year ) - min ( year )
59
[ header: date | winner | yacht | loser | yacht | score | delta row 1 : september 14, 1983 | liberty | us-40 | australia ii | ka-6 | 1-0 | 1:10 row 2 : september 15, 1983 | liberty | us-40 | australia ii | ka-6 | 2-0 | 1:33 row 3 : september 18, 1983 | australia ii | ka-6 | liberty | us-40 | 1-2 | 3:14 row 4 : september 20, 1983 | liberty | us-40 | australia ii | ka-6 | 3-1 | 0:43 row 5 : september 21, 1983 | australia ii | ka-6 | liberty | us-40 | 2-3 | 1:47 row 6 : september 22, 1983 | australia ii | ka-6 | liberty | us-40 | 3-3 | 3:25 row 7 : september 26, 1983 | australia ii | ka-6 | liberty | us-40 | 4-3 | 0:41 ] Execute this SQL based on the above table: select count ( score ) where delta > 16
0
[ header: region | country | location | size (m) | payload (metric tonnes) | degrees of freedom | x horiz disp (mm) | y horiz disp (mm) | z vert disp (mm) | x horiz vel (mm/s) | y horiz vel (mm/s) | z vert vel (mm/s) | x horiz accel (m/s2) | y horiz accel (m/s2) | z vert accel (m/s2) | max freq (hz) | details checked row 1 : asia | china | xi'a university of architecture & | 2 x 2 | None | None | None | None | None | None | None | None | None | None | None | None | None row 2 : asia | japan | hitachi engineering corp | 4 x 4 | 20 | 1 | ±150 | None | None | ±750 | None | None | ±20 | None | None | 30 | None row 3 : asia | japan | ishikawajima harima | 4.5 x 4.5 | 35 | 6 | ±100 | ±100 | ±67 | ±750 | ±750 | ±500 | ±15 | ±15 | ±10 | 50 | None row 4 : asia | japan | kumagai-gumi corp | 5 x 5 | 64 | 6 | ±80 | ±260 | ±50 | ±600 | ±1500 | ±500 | ±30 | ±10 | ±10 | 70 | None row 5 : asia | japan | ministry of construction | 6 x 8 | 100 | 2 | ±75 | None | None | ±600 | None | None | ±7 | None | None | 30 | None row 6 : asia | japan | shimizu corporation | 4 x 4 | 20 | 3 | ±200 | None | None | ±1000 | None | None | ±10 | None | None | 50 | None row 7 : asia | japan | tobishima corp ltd | 4 x 4 | 20 | 2 | ±75 | None | None | None | None | None | ±15 | None | None | 30 | None row 8 : canada | canada | university of british columbia | 4 x 4 | 30 | 6 | None | None | None | None | None | None | None | None | None | None | None row 9 : europe | france | commissariat a l'energie | 4 x 3 | 20 | 1 | ±125 | None | None | ±1000 | None | None | ±10 | None | None | 50 | 27/01/2011 row 10 : europe | italy | european centre for training & research in earthquake engineering | 5.6 x 7 | 140 | 1 | ±500 | None | None | ±2200 | None | None | 59 | None | None | 50 | None row 11 : europe | italy | european centre for training & research in earthquake engineering | 1.6 x 4.4 | 5000 (vertical load) | 5 | ±500 | ±265 | 140 | ±2200 | ±600 | ±250 | 18 | None | None | 20 | None row 12 : europe | spain | cedex | None | None | None | None | None | None | None | None | None | None | None | None | None | None row 13 : usa | colorado | anco engineers, inc boulder, colora | 3 x 3 | 10 | 3 | ±200 | ±200 | ±200 | ±2000 | ±2000 | ±2000 | ±30 | ±30 | ±30 | 40 | 16/10/2012 ] Execute this SQL based on the above table: select region where region != 'canada' and size (m) = ( select size (m) where region = 'canada' )
asia, asia, asia
[ header: date | name | nationality | tonnage (grt) | fate row 1 : 7 october 1941 | svend foyn | united kingdom | 14795 | damaged row 2 : 16 february 1942 | monagas | venezuela | 2650 | sunk row 3 : 16 february 1942 | san nicholas | united kingdom | 2391 | sunk row 4 : 16 february 1942 | tia juana | united kingdom | 2395 | sunk row 5 : 22 february 1942 | j.n.pew | united states | 9033 | sunk row 6 : 23 february 1942 | sun | united states | 9002 | damaged row 7 : 23 february 1942 | thalia | panama | 8329 | sunk row 8 : 11 may 1942 | cape of good hope | united kingdom | 4963 | sunk row 9 : 24 may 1942 | goncalves dias | brazil | 4996 | sunk row 10 : 28 may 1942 | alcoa pilgrim | united states | 6759 | sunk row 11 : 3 june 1942 | m.f. elllio | united states | 6940 | sunk row 12 : 9 june 1942 | bruxelles | belgium | 5085 | sunk row 13 : 9 june 1942 | franklin k. lane | united states | 6589 | sunk row 14 : 15 june 1942 | cold harbor | panama | 5010 | sunk row 15 : 15 june 1942 | scottsburg | united states | 8010 | sunk row 16 : 15 june 1942 | west hardaway | united states | 5702 | sunk ] Execute this SQL based on the above table: select name where id = ( select id where name = 'sun' ) + 1
thalia
[ header: year | domestic passengers | international passengers | total passengers | change row 1 : 2006 | 764831 | 83115 | 847946 | +4.6% row 2 : 2007 | 764674 | 75276 | 839950 | -0.9% row 3 : 2008 | 709779 | 92176 | 801955 | -4.5% row 4 : 2009 | 605534 | 82424 | 687958 | -14.3% row 5 : 2010 | 595457 | 105119 | 700576 | +1.7% row 6 : 2011 | 850305 | 123607 | 973912 | +39.1% row 7 : 2012 | 899854 | 178679 | 1078533 | +10.7% row 8 : 2013 | 745178 | 131902 | 877080 | -18.7% ] Execute this SQL based on the above table: select change where change = '-18.7%'
-18.7%
[ header: season | tier | division | place row 1 : 2005/06 | 5 | 1a aut. pref | None row 2 : 2006/07 | 4 | 3a | 19th row 3 : 2007/08 | 5 | 1a aut. pref | 2nd row 4 : 2008/09 | 4 | 3a | 18th row 5 : 2009/10 | 5 | 1a aut. pref | 3rd row 6 : 2010/11 | 5 | 1a aut. pref | 9th row 7 : 2011/12 | 5 | 1a aut. pref | 8th row 8 : 2012/13 | 5 | 1a aut. pref | 11th row 9 : 2013/14 | 5 | 1a aut. pref | None ] Execute this SQL based on the above table: select tier order by tier - tier desc limit 1
5
[ header: date | opponent | score | overall record | scba record row 1 : april 3 | uc santa barbara | 5-1 | 28-6 | 4-0 row 2 : april 6 | san diego | 11-11 | 28-6-1 | 4-0-1 row 3 : april 7 | at san diego | 10-3 | 29-6-1 | 5-0-1 row 4 : april 7 | at san diego | 8-2 | 30-6-1 | 6-0-1 row 5 : april 8 | at loyola marymount | 2-1 | 31-6-1 | 7-0-1 row 6 : april 12 | vs. uc ir | 16-2 | 32-6-1 | None row 7 : april 13 | vs. chapman | 4-13 | 32-7-1 | None row 8 : april 13 | vs. uc ir | 11-2 | 33-7-1 | None row 9 : april 14 | vs. chapman | 5-2 | 34-7-1 | None row 10 : april 14 | vs. chapman | 5-6 | 34-8-1 | None row 11 : april 17 | cal state la | 12-6 | 35-8-1 | 7-2-1 row 12 : april 20 | pepperdine | 3-5 | 35-9-1 | 7-1-1 row 13 : april 21 | at pepperdine | 9-10 | 35-10-1 | 8-2-1 row 14 : april 21 | pepperdine | 8-7 | 36-10-1 | 9-2-1 row 15 : april 22 | hawaii | 12-4 | 37-10-1 | None row 16 : april 24 | san diego | 7-2 | 38-10-1 | 10-2-1 row 17 : april 27 | at long beach state | 6-9 | 38-11-1 | 10-3-1 row 18 : april 28 | long beach state | 7-1 | 39-11-1 | 11-3-1 row 19 : april 28 | long beach state | 5-3 | 40-11-1 | 12-3-1 ] Execute this SQL based on the above table: select opponent where overall record = '39-11-1'
long beach state
[ header: year | single | chart positions spa | album row 1 : 2011 | "breathe in the light" | 10 | endless road 7058 row 2 : 2011 | "last night on earth" | 6 | endless road 7058 row 3 : 2012 | "i don't think so" | 7 | endless road 7058 row 4 : 2012 | "don't give up my game" | 13 | endless road 7058 row 5 : 2012 | "1900" | None | endless road 7058 row 6 : 2012 | "i met an angel (on christmas day) | 39 | christmas non-album release row 7 : 2013 | "cuando te volvere | 34 | from soundtrack of wreck-it ralph row 8 : 2013 | "heartbreaker" | 13 | anti-heroes ] Execute this SQL based on the above table: select count ( single ) where chart positions spa > 1511
0
[ header: year | film | role | co-star | director | notes row 1 : 2004 | bachelor | None | None | mostofa sarwar farook | special appearance row 2 : 2010 | dubshatar | renu | shehzad chowdhury | nurul alam atik | first debut film daily star celebrating life-best actress row 3 : 2011 | firey esho behula | tanima | intekhab deenar, shahid | tanim noor | None row 4 : 2011 | guerrilla | bilkis banu | ferdous ahmed, | nasiruddin yousuff | national film award meril prothom al row 5 : 2012 | chorabali | noboni afroz | indraneil sengupt | redwan rony | national film award meril prothom al row 6 : 2013 | aborto | charu sen | tota roy chowdhur | arindam sil | first debut film in tollywood row 7 : 2013 | purnodoirgho prem | jara/zara | shakib khan, arefin | shafi uddin sha | first film with shakib khan row 8 : 2014 | parle theka (filming) | None | sushama sarkar | maruf hasan | None row 9 : 2014 | zero degree (filming) | sonia | mahfuz ahmed, r | animesh aich | None ] Execute this SQL based on the above table: select film where film = 'aborto'
aborto
[ header: title | contents | pages | published | isbn row 1 : volume 1 | "the iron legion" (issues 1- | 112 | july 2008 | isbn 978-1-60010- row 2 : volume 2 | "the star beast" (issue 26 only) | 120 | december 2008 | isbn 978-1-60010-2 row 3 : volume 3 | "changes" (issues 118-11 | 128 | may 2009 | isbn 978-1-60010-4 row 4 : volume 4 | "junk-yard demon" (issue | 152 | november 2009 | isbn 978-1-60010- row 5 : volume 6 | "the shape shifter" (issues | 148 | december 2010 | isbn 978-1-60010-7 row 6 : omnibus 1 | collects volumes 1, 2 & 3 | 356 | april 2010 | isbn 978-1-60010- row 7 : omnibus 2 | collects volumes 4, 5 & 6 | 400 | september 2011 | isbn 978-1-60010-9 row 8 : omnibus 3 | collects volumes 7, 8 & 9 | tbc | 2014 tbc | isbn tbc ] Execute this SQL based on the above table: select count ( title ) where published = 'may 2009'
1
[ header: no. | race title | track | date | tv row 1 : 1 | nextera energy resources 250 | daytona international speedway, dayt | february 21 | fs1 row 2 : 2 | kroger 250 | martinsville speedway, martin | march 30 | fs1 row 3 : 3 | sfp 250 | kansas speedway, kan | may 9 | fs1 row 4 : 4 | north carolina education lottery 200 | charlotte motor speedway, concord | may 16 | fs1 row 5 : 5 | lucas oil 200 | dover international speedway, dover | may 30 | fs1 row 6 : 6 | winstar world casino 400k | texas motor speedway, fort | june 6 | fs1 row 7 : 7 | gateway 200 | gateway motorsports park, madison, | june 14 | fs1 row 8 : 8 | unoh 225 | kentucky speedway, s | june 26 | fs1 row 9 : 9 | american ethanol 200 | iowa speedway, newton | july 12 | fs1 row 10 : 10 | mudsummer classic | eldora speedway, new weston | july 23 | fs1 row 11 : 11 | pocono mountains 150 | pocono raceway, long pond | august 2 | fs1 row 12 : 12 | michigan national guard 200 | michigan international speedway, brooklyn | august 16 | fs1 row 13 : 13 | unoh 200 | bristol motor speedway, b | august 20 | fs1 row 14 : 14 | chevy silverado 250 | canadian tire motorsport park, bowman | august 31 | fs1 row 15 : 15 | enjoyillinois.com 225 | chicagoland speedway, joliet | september 12 | fs1 row 16 : 16 | unoh 175 | new hampshire motor speedway, loud | september 20 | fs1 row 17 : 17 | smith's 350 | las vegas motor speedway, la | september 27 | fs1 row 18 : 18 | fred's 250 | talladega superspeedway, talla | october 18 | fox row 19 : 19 | kroger 200 | martinsville speedway, martin | october 25 | fs1 row 20 : 20 | winstar world casino 350k | texas motor speedway, fort | october 31 | fs1 row 21 : 21 | lucas oil 150 | phoenix international raceway, a | november 7 | fs1 row 22 : 22 | ford ecoboost 200 | homestead-miami speedway, home | november 14 | fs1 ] Execute this SQL based on the above table: select date where id = ( select id where date = 'july 23' ) + 1
august 2
[ header: year | film | role | language | notes row 1 : 2009 | toss: a flip of destiny | sherry | hindi | None row 2 : 2009 | aa okkadu | dr. pavitra | telugu | None row 3 : 2010 | mouna ragam | sandhya | telugu | None row 4 : 2010 | saradaga kasepu | manimala | telugu | None row 5 : 2010 | orange | madhu | telugu | special appearance row 6 : 2012 | kamaal dhamaal malam | maria | hindi | None row 7 : 2013 | mahankali | tanisha | telugu | None row 8 : 2013 | shadow | None | telugu | None row 9 : 2013 | eepeeko | None | tamil | filming row 10 : 2013 | black coffee | None | malayalam | filming row 11 : 2014 | koothara | shaista | malayalam | filming row 12 : 2014 | kotha janta | None | telugu | filming row 13 : 2013 | serndhu polama | None | tamil | filming ] Execute this SQL based on the above table: select notes where year >= 449
special appearance, filming, filming, filming, filming, filming
[ header: rank | name | nationality | time | notes row 1 : 1 | janelle atkinson | jamaica | 4:16.89 | q row 2 : 2 | None | None | None | q row 3 : 3 | kaitlin sandeno | united states | 4:18.97 | q row 4 : 4 | julia stowers | united states | 4:19.84 | q row 5 : 5 | None | None | None | q row 6 : 6 | None | None | None | q row 7 : 7 | None | None | None | q row 8 : 8 | None | None | None | q ] Execute this SQL based on the above table: select name where name != 'kaitlin sandeno' and notes = 'q'
janelle atkinson, julia stowers
[ header: place | player | country | score | to par | money ($) row 1 : 1 | ben hogan | united states | 70-72-70-68=280 | -8 | 3,000 row 2 : 2 | skee riegel | united states | 73-68-70-71=28 | -6 | 1,875 row 3 : t3 | lloyd mangrum | united states | 69-74-70-73=2 | -2 | 1162 row 4 : t3 | lew worsham | united states | 71-71-72-72=2 | -2 | 1162 row 5 : 5 | dave douglas | united states | 74-69-72-73=2 | e | 750 row 6 : 6 | lawson little | united states | 72-73-72-72=289 | +1 | 600 row 7 : 7 | jim ferrier | australia | 74-70-74-72=290 | +2 | 525 row 8 : t8 | johnny bulla | united states | 71-72-73-75=2 | +3 | 450 row 9 : t8 | byron nelson | united states | 71-73-73-74=2 | +3 | 450 row 10 : t8 | sam snead | united states | 69-74-68-80=2 | +3 | 450 ] Execute this SQL based on the above table: select player where to par < ( select to par where player = 'jim ferrier' ) order by to par desc limit 1
lawson little
[ header: year | film title | genre | cast | notes row 1 : 1988 | tarka | a murder mystery | shankar nag, devaraj | filmfare award for best director - kann row 2 : 1990 | utkarsha | thriller | dr.ambareesh, | None row 3 : 1991 | sangarsha | thriller | dr.vishnuvard | None row 4 : 1994 | nishkarsha | real time thriller | dr.vishnuvard | karnataka state film award for best row 5 : 1996 | beladingala baale | love story | ananth nag | filmfare award for best director - kann row 6 : 1997 | nammoora mandara hoove | love story | ramesh aravind, | karnataka state film award for best row 7 : 1998 | prema raaga haadu | love story | shivrajkumar, nive | None row 8 : 1999 | pratyartha | thriller | ramesh aravind, | None row 9 : 2000 | sparsha | love story | sudeep, sudha rani | filmfare award for best director - kann row 10 : 2001 | parva | a musical love story | dr.vishnuvard | None row 11 : 2002 | marma | suspense thriller | prema | None row 12 : 2006 | ramya chaitrakaal | a village love story | sandeep, nanditha | None row 13 : 2007 | kshana kshana | a suspense thriller | dr.vishnuvard | None row 14 : 2011 | sarigama | romance | prajwal devaraj, sunil | filming row 15 : 2013 | tanana tandanan | drama | ramesh aravind, | filming ] Execute this SQL based on the above table: select count ( year ) where genre = 'love story'
4
[ header: date | time | opponent# | rank# | site | tv | result | attendance row 1 : august 30 | 8:00 pm | vs. alabama | #9 | georgia dome • atlanta, | abc | l 10-34 | 70097 row 2 : september 6 | 3:30 pm | the citadel | #22 | memorial stadium • clemson, s | None | w 45-17 | 76794 row 3 : september 13 | 12:00 pm | nc state | #23 | memorial stadium • clemson, s | raycom | w 27-9 | 77071 row 4 : september 20 | 1:00 pm | sc state | #21 | memorial stadium • clemson, s | None | w 54-0 | 78607 row 5 : september 27 | 12:00 pm | maryland | #19 | memorial stadium • clemson, s | raycom | l 17-20 | 81500 row 6 : october 9 | 7:45 pm | at wake forest | None | bb&t field • winston- | espn | l 7-12 | 33988 row 7 : october 18 | 12:00 pm | georgia tech | None | memorial stadium • clemson, s | espn | l 17-21 | 81500 row 8 : november 1 | 3:30 pm | at boston college | None | alumni stadium • chestnut hill, ma (o | espnu | w 27-21 | 41863 row 9 : november 8 | 3:30 pm | at #24 florida state | None | doak campbell stadium • tallahasse | abc | l 27-41 | 77013 row 10 : november 15 | 12:00 pm | duke | None | memorial stadium • clemson, s | raycom | w 31-7 | 76217 row 11 : november 22 | 12:00 pm | at virginia | None | scott stadium • charlottesville, | raycom | w 13-3 | 51979 row 12 : november 29 | 12:00 pm | south carolina | None | memorial stadium • clemson, s | espn2 | w 31-14 | 82456 row 13 : january 1, 2009 | 1:00 pm | vs. nebraska | None | jacksonville municipal stadium • jackson | cbs | l 21-26 | 67282 ] Execute this SQL based on the above table: select max ( tv )
raycom
[ header: name | year inducted | position | apps | goals row 1 : luther blissett | 2003 | forward | 503 | 186 row 2 : tony coton | 2004 | goalkeeper | 291 | 0 row 3 : john mcclelland | 2005 | defender | 234 | 3 row 4 : tommy mooney | 2006 | forward | 287 | 64 row 5 : les taylor | 2007 | midfielder | 211 | 20 row 6 : david james | 2008 | goalkeeper | 98 | 0 row 7 : ian bolton | 2009 | defender | 287 | 36 row 8 : nigel gibbs | 2010 | defender | 491 | 7 row 9 : duncan welbourne | 2011 | defender | 457 | 25 row 10 : ross jenkins | 2012 | forward | 398 | 142 row 11 : robert page | 2013 | defender | 218 | 2 ] Execute this SQL based on the above table: select count ( position ) where goals = 36
1
[ header: player | played | legs won | legs lost | lwat | 100+ | 140+ | 180s | high checkout | 3-dart average row 1 : phil taylor | 5 | 74 | 20 | 34 | 130 | 77 | 44 | 144 | 105.73 row 2 : raymond van barneveld | 3 | 35 | 30 | 9 | 85 | 43 | 17 | 126 | 98.10 row 3 : gary anderson | 2 | 17 | 19 | 4 | 42 | 28 | 10 | 151 | 97.98 row 4 : kevin painter | 2 | 13 | 16 | 5 | 32 | 18 | 8 | 130 | 96.71 row 5 : mervyn king | 4 | 45 | 38 | 16 | 112 | 66 | 18 | 147 | 96.30 row 6 : co stompe | 1 | 7 | 10 | 2 | 26 | 9 | 4 | 127 | 95.84 row 7 : james wade | 3 | 33 | 26 | 10 | 75 | 47 | 12 | 153 | 95.73 row 8 : andy smith | 1 | 5 | 10 | 1 | 19 | 15 | 1 | 112 | 95.29 row 9 : terry jenkins | 5 | 61 | 58 | 20 | 157 | 80 | 26 | 131 | 94.08 row 10 : adrian lewis | 3 | 26 | 28 | 13 | 63 | 40 | 13 | 156 | 93.69 row 11 : ronnie baxter | 4 | 54 | 49 | 18 | 142 | 49 | 19 | 132 | 93.35 row 12 : alan tabern | 2 | 24 | 21 | 8 | 66 | 32 | 7 | 157 | 92.68 row 13 : steve beaton | 2 | 18 | 20 | 8 | 52 | 23 | 5 | 110 | 92.58 row 14 : vincent van der voort | 3 | 29 | 28 | 9 | 71 | 42 | 13 | 131 | 92.57 row 15 : jelle klaasen | 1 | 8 | 10 | 2 | 24 | 4 | 4 | 71 | 92.19 row 16 : mark walsh | 2 | 21 | 18 | 9 | 49 | 26 | 9 | 121 | 92.02 row 17 : wes newton | 1 | 3 | 10 | 1 | 16 | 3 | 5 | 96 | 91.92 row 18 : michael van gerwen | 1 | 3 | 10 | 0 | 14 | 6 | 1 | 126 | 91.26 row 19 : andy hamilton | 1 | 6 | 10 | 2 | 21 | 7 | 4 | 120 | 91.18 row 20 : denis ovens | 2 | 22 | 19 | 12 | 64 | 32 | 5 | 125 | 90.63 row 21 : wayne jones | 1 | 7 | 10 | 4 | 26 | 12 | 4 | 121 | 90.06 row 22 : peter wright | 1 | 4 | 10 | 1 | 17 | 9 | 2 | 96 | 89.39 row 23 : colin osborne | 1 | 7 | 10 | 4 | 18 | 13 | 2 | 116 | 89.18 row 24 : dennis priestley | 1 | 5 | 10 | 3 | 22 | 13 | 2 | 84 | 89.06 row 25 : robert thornton | 1 | 4 | 10 | 1 | 17 | 9 | 3 | 56 | 88.88 row 26 : mark dudbridge | 1 | 7 | 10 | 5 | 17 | 10 | 3 | 109 | 88.28 row 27 : wayne mardle | 2 | 16 | 14 | 6 | 36 | 22 | 4 | 115 | 87.27 row 28 : jamie caven | 1 | 3 | 10 | 0 | 13 | 6 | 2 | 120 | 86.95 row 29 : john part | 1 | 6 | 10 | 2 | 19 | 5 | 4 | 76 | 86.62 ] Execute this SQL based on the above table: select count ( player ) where legs lost > 1150
0
[ header: year | competition | venue | position | event | notes row 1 : 2001 | world youth championships | debrecen, hungary | 2nd | 400 m | 47.12 row 2 : 2001 | world youth championships | debrecen, hungary | 1st | medley relay | 1:50.46 row 3 : 2001 | european junior championships | grosseto, italy | 1st | 4x400 m relay | 3:06.12 row 4 : 2003 | european junior championships | tampere, finland | 3rd | 400 m | 46.69 row 5 : 2003 | european junior championships | tampere, finland | 2nd | 4x400 m relay | 3:08.62 row 6 : 2005 | european u23 championships | erfurt, germany | 11th (sf) | 400 m | 46.62 row 7 : 2005 | european u23 championships | erfurt, germany | 1st | 4x400 m relay | 3:04.41 row 8 : 2005 | universiade | izmir, turkey | 7th | 400 m | 46.89 row 9 : 2005 | universiade | izmir, turkey | 1st | 4x400 m relay | 3:02.57 row 10 : 2006 | world indoor championships | moscow, russia | 2nd (h) | 4x400 m relay | 3:06.10 row 11 : 2006 | european championships | gothenburg, sweden | 3rd | 4x400 m relay | 3:01.73 row 12 : 2007 | european indoor championships | birmingham, united kingdom | 3rd | 4x400 m relay | 3:08.14 row 13 : 2007 | universiade | bangkok, thailand | 7th | 400 m | 46.85 row 14 : 2007 | universiade | bangkok, thailand | 1st | 4x400 m relay | 3:02.05 row 15 : 2008 | world indoor championships | valencia, spain | 4th | 4x400 m relay | 3:08.76 row 16 : 2008 | olympic games | beijing, china | 7th | 4x400 m relay | 3:00.32 row 17 : 2009 | universiade | belgrade, serbia | 2nd | 4x400 m relay | 3:05.69 ] Execute this SQL based on the above table: select venue where id = ( select id where venue = 'bangkok, thailand' ) - 1
birmingham, united kingdom
[ header: date | time (edt) | team #1 | res. | team #2 | round | spectators row 1 : 1994-06-18 | 16 | italy | 0-1 | republic of ireland | group e | 75338 row 2 : 1994-06-23 | 16 | italy | 1-0 | norway | group e | 74624 row 3 : 1994-06-25 | 12.3 | saudi arabia | 2-1 | morocco | group f | 76322 row 4 : 1994-06-28 | 12.3 | republic of ireland | 0-0 | norway | group e | 72404 row 5 : 1994-07-05 | 16.3 | mexico | 1-1 (1-3 on pen.) | bulgaria | round of 16 | 71030 row 6 : 1994-07-10 | 12 | bulgaria | 2-1 | germany | quarterfinals | 72000 row 7 : 1994-07-13 | 16 | bulgaria | 1-2 | italy | semifinals | 74110 ] Execute this SQL based on the above table: select team #1 where team #1 != 'bulgaria' and time (edt) = 16
italy, italy
[ header: round | round | country | circuit | date | pole position | fastest lap | winning rider | winning team | report row 1 : 1 | r1 | qatar | losail | 23 february | troy corser | noriyuki haga | troy bayliss | xerox ducati | report row 2 : 2 | r1 | australia | phillip island | 2 march | troy bayliss | troy bayliss | troy bayliss | xerox ducati | report row 3 : 2 | r2 | australia | phillip island | 2 march | troy bayliss | max biaggi | troy bayliss | xerox ducati | report row 4 : 3 | r1 | spain | valencia | 6 april | max neukirchner | noriyuki haga | lorenzo lanzi | team r.g | report row 5 : 4 | r1 | netherlands | assen | 27 april | troy bayliss | max neukirchner | troy bayliss | xerox ducati | report row 6 : 4 | r2 | netherlands | assen | 27 april | troy bayliss | troy bayliss | troy bayliss | xerox ducati | report row 7 : 5 | r1 | italy | monza | 11 may | troy bayliss | noriyuki haga | max neukirchner | alstare suzuki | report row 8 : 5 | r2 | italy | monza | 11 may | troy bayliss | noriyuki haga | noriyuki haga | yamaha motor italia | report row 9 : 6 | r1 | united states | miller motorsports park | 1 june | carlos checa | carlos checa | carlos checa | ten kate honda | report row 10 : 6 | r2 | united states | miller motorsports park | 1 june | carlos checa | carlos checa | carlos checa | ten kate honda | report row 11 : 7 | r1 | germany | nurburgring | 15 june | max neukirchner | troy bayliss | noriyuki haga | yamaha motor italia | report row 12 : 8 | r1 | san marino | misano adriatico | 29 june | troy corser | jakub smrz | max neukirchner | alstare suzuki | report row 13 : 8 | r2 | san marino | misano adriatico | 29 june | troy corser | troy corser | ruben xaus | sterilgarda go eleven | report row 14 : 10 | r1 | great britain | brands hatch | 3 august | troy bayliss | ryuichi kiyonari | ryuichi kiyonari | ten kate honda | report row 15 : 10 | r2 | great britain | brands hatch | 3 august | troy bayliss | michel fabrizio | ryuichi kiyonari | ten kate honda | report row 16 : 11 | r1 | europe | donington park | 7 september | troy bayliss | troy bayliss | troy bayliss | xerox ducati | report row 17 : 12 | r1 | italy | vallelunga | 21 september | troy bayliss | carlos checa | noriyuki haga | yamaha motor italia | report ] Execute this SQL based on the above table: select fastest lap where round = ( select round where fastest lap = 'carlos checa' ) + 1
troy bayliss
[ header: genre | year | title | episode | role | notes row 1 : short film | 1992 | the bet | None | henry | 21 minutes row 2 : short film | 1996 | sin #8 | None | None | None row 3 : tv series | 1997 | nothing sacred | "speaking in tongues" | dr. elliott | None row 4 : film | 1998 | finding north | None | travis furlong | None row 5 : tv series | 1998 | sex and the city | "oh come all ye faithful" | tom | None row 6 : tv series | 1999 | homicide: life on the street | "zen and the art of murder" | dennis kohler | None row 7 : film | 1999 | the general's daughter | None | captain goodson | None row 8 : tv series | 2000 | law & order: special victims unit | "misleader" "nocturne" | assistant district attorney | None row 9 : film | 2001 | the anniversary party | None | jerry adams | None row 10 : tv series | 2001 | the guardian | "loyalties" | the hudson's attorney | None row 11 : tv film | 2001 | life with judy garland: me and | None | roger edens | None row 12 : tv series | 2002 | hack | "obsession" | dr. martin shan | None row 13 : tv series | 2005 | law & order | "mammon" | aaron solomon | 5 episodes total row 14 : tv series | 2006 | brothers & sisters | "light the lights" | major guinness | None row 15 : tv series | 2006 | justice | "wrongful death" | lloyd barrett | None row 16 : tv series | 2006 | law & order | "profiteer" | aaron solomon | 5 episodes total row 17 : tv series | 2007 | critical situation | "nightmare on mt. | narrator | voice actor; also known as situation critical row 18 : tv series | 2007 | undercover history | "the hunt for hitler" "the hunt | narrator | voice actor; 6 episodes total row 19 : tv series | 2008 | undercover history | "unabomber: the secret history" | narrator/himself | voice actor; 6 episodes total row 20 : film | 2009 | the taking of pelham 123 | None | deputy mayor lasalle | None row 21 : tv series | 2009 | timewatch | "the real bonnie and clyde | narrator | voice actor row 22 : tv series | 2010 | the big c | "pilot" "summer time" "there | sean tolkey | 36 episodes total row 23 : tv series | 2011 | a gifted man | "in case of exposure" | ben tucker | None row 24 : tv series | 2011 | the good wife | "great firewall" | neil gross | 3 episodes total row 25 : tv series | 2012 | the big c | "thin ice" "what's | sean tolkey | 36 episodes total ] Execute this SQL based on the above table: select count ( role ) where episode = 'None'
0
[ header: pos | team | total | high | low | average | change row 1 : 1 | honda motor | 13178 | 3305 | 402 | 879 | -11.9% row 2 : 2 | sc tottori | 12281 | 2124 | 401 | 819 | None row 3 : 3 | ntt west kumamoto | 10394 | 1378 | 324 | 693 | None row 4 : 4 | ehime fc | 9896 | 1250 | 348 | 660 | None row 5 : 5 | tochigi sc | 9723 | 1141 | 285 | 648 | -38.2% row 6 : 6 | otsuka pharmaceuticals | 8975 | 2391 | 284 | 598 | +18.4% row 7 : 7 | ykk fc | 8093 | 2477 | 198 | 540 | None row 8 : 8 | sony sendai | 7817 | 886 | 342 | 521 | -52.3% row 9 : 9 | yokogawa fc | 7334 | 1198 | 240 | 489 | -30.4% row 10 : 10 | alo's hokuriku | 6380 | 1801 | 180 | 425 | -12.1% row 11 : 11 | jatco fc | 6329 | 1075 | 167 | 422 | -36.7% row 12 : 12 | sagawa express | 5365 | 1054 | 48 | 358 | None row 13 : 13 | denso sc | 5344 | 831 | 119 | 356 | -17.7% row 14 : 14 | kyoken kyoto | 5262 | 468 | 203 | 351 | -9.0% row 15 : 15 | shizuoka sangyo university | 4013 | 803 | 101 | 268 | -48.8% row 16 : 16 | kokushikan university | 3298 | 414 | 54 | 220 | -28.3% row 17 : None | league total | 123682 | 3305 | 48 | 515 | -42.8% ] Execute this SQL based on the above table: select count ( * ) where team = 'league total' and change = 74
0
[ header: date | opponent# | rank# | site | result | attendance row 1 : september 1 | delta state | None | m.m. roberts | w 12-0 | 17590 row 2 : september 8 | at #13 alabama | None | legion field • birmingham, al | w 27-24 | 75962 row 3 : september 15 | at georgia | None | sanford stadium • athens, | l 17-18 | 79812 row 4 : september 22 | at mississippi state | None | scott field • starkville, m | l 10-13 | 40115 row 5 : september 29 | louisville | None | m.m. roberts | w 25-13 | 20545 row 6 : october 6 | at east carolina | None | ficklen memorial stadium • greenville, | w 16-7 | 31305 row 7 : october 13 | at tulane | None | louisiana superdome • new orle | w 20-14 | 26662 row 8 : october 20 | memphis state | None | m.m. roberts | w 23-7 | 24520 row 9 : october 27 | at virginia tech | None | lane stadium • blacksburg, va | l 16-20 | 37462 row 10 : november 3 | at sw louisiana | None | cajun field • lafayette, | w 14-13 | 17860 row 11 : november 10 | at #15 auburn | None | jordan-hare stadium • auburn | w 13-12 | 85214 row 12 : december 28 | vs. nc state | #23 | legion field • birmingham, al | l 27-31 | 44000 ] Execute this SQL based on the above table: select count ( * ) where date = 'september 8'
1
[ header: name of president | picture | life span | year of presidency | place of conference row 1 : pherozeshah meh | 75px | 4 august 1845 - 1915 | 1890 | calcutta row 2 : womesh chunder bonnerjee | None | 29 december 1844 - 1906 | 1892 | allahabad row 3 : surendranath banerjee | None | 10 november 1848 - 1925 | 1895 | poona row 4 : rahimtulla m. say | None | 5 april 1847 - 19 | 1896 | calcutta row 5 : anandamohan bose | None | 23 september 1847 - 1906 | 1898 | madras row 6 : romesh chunder dutt | None | 13 august 1848 - 1909 | 1899 | lucknow row 7 : henry cotton | None | 1845-1915 | 1904 | bombay row 8 : dadabhai naoroji | None | 4 september 1825 - 1917 | 1906 | calcutta row 9 : nawab syed muhammad | None | None | 1913 | karachi row 10 : annie besant | None | 1 october 1847 - | 1917 | calcutta row 11 : madan mohan malaviya | None | 25 december 1861 - 1946 | 1918 | delhi row 12 : hakim ajmal khan | None | 1863- 29 december 1927 | 1921 | ahmedabad row 13 : mohammad ali jouhar | None | 10 december 1878- 4 jan | 1923 | kakinada row 14 : mohandas gandhi | None | 2 october 1869- 30 | 1924 | belgaum row 15 : sarojini naidu | None | 13 february 1879- 2 march 1949 | 1925 | kanpur row 16 : madan mohan malaviya | None | 25 december 1861 - 1946 | 1932 | delhi row 17 : jawaharlal nehru | None | 14 november 1889- 27 may 1964 | 1936 | lucknow row 18 : jawaharlal nehru | None | 14 november 1889- 27 may 1964 | 1954 | calcutta row 19 : u. n. dhebar | None | 21 september 1905 - 1977 | 1957 | indore row 20 : neelam sanji | None | 19 may 1913- 1 june 1996 | 1960 | bangalore row 21 : neelam sanji | None | 19 may 1913- 1 june 1996 | 1962 & 63 | patna row 22 : k. kamaraj | None | 15 july 1903- 2 o | 1964 | bhubaneswar row 23 : p. mehul | None | 10 december 1902- 9 august 2000 | 1969 | faridabad row 24 : indira gandhi | None | 19 november 1917 - 31 o | 1978 - 83 | delhi row 25 : sonia gandhi | None | 9 december 1946- | 1998-present | calcutta ] Execute this SQL based on the above table: select year of presidency where year of presidency in ( 1917 , '1962 & 63' ) order by picture desc limit 1
1917
[ header: rank | views | closed | item row 1 : 1 | 1319214 | 10 july 2013 | a printer which was stated to be faulty row 2 : 2 | 1072893 | 3 june 2006 | wellington hurricanes player tana um row 3 : 3 | 810802 | 18 june 2009 | mike whittaker (mik row 4 : 4 | 459420 | 1 august 2012 | the implosion of radio network house on 5 row 5 : 5 | 355889 | 20 january 2012 | your tattoo on my bum!! row 6 : 6 | 384705 | 24 may 2009 | buy a tractor and get a 20 row 7 : 7 | 316350 | 7 march 2011 | landscape rocks for sale in chch (follow row 8 : 8 | 292184 | 6 may 2010 | folden 2010 row 9 : 9 | 276094 | 8 january 2009 | jesus christ pita bread row 10 : 10 | 258775 | 9 january 2012 | two days in the studio and advice from n ] Execute this SQL based on the above table: select item where closed > ( select closed where item = 'landscape rocks for sale in chch (following the february 2011 christchurch earthquake, there was no shortage of rocks, as whole cliffs had collapsed)' ) order by closed asc limit 1
two days in the studio and advice from neil finn
[ header: round | pick | player | nationality | college/junior/club team row 1 : 1 | 3 | rick hampton | canada | st. catharines black hawk row 2 : 1 | 17 | ron chipperfield | canada | brandon wheat kings (wchl row 3 : 2 | 21 | bruce affleck | canada | university of denver pioneers (wcha) row 4 : 3 | 39 | charlie simmer | canada | sault ste. marie greyhound row 5 : 4 | 57 | tom price | canada | ottawa 67's ( row 6 : 5 | 75 | jim warden | united states | michigan tech huskies (wcha row 7 : 6 | 93 | tom sundberg | united states | st. paul vulcans row 8 : 7 | 111 | tom anderson | united states | st. paul vulcans row 9 : 8 | 128 | jim mccabe | canada | welland sabres (so ] Execute this SQL based on the above table: select nationality where player = 'ron chipperfield' order by pick desc limit 1
canada
[ 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 ( select begin order by begin asc limit 1 ) - ( select begin order by begin desc limit 1 )
-42
[ header: date | result | opponent | event | location | method | round | time row 1 : 2013-12-14 | loss | mohamed diaby | victory, semi finals | paris, france | decision | 3 | 3:00 row 2 : 2013-03-09 | None | juanma chacon | enfusion live: barcelona | barcelona, spain | None | None | None row 3 : 2012-05-27 | loss | murthel groenhart | k-1 world max 2012 world championship tournament final | madrid, spain | ko (punches) | 3 | 3:00 row 4 : 2012-02-11 | win | francesco tadiello | sporthal de zandbergen | sint-job-in-'t- | ko | 1 | None row 5 : 2012-01-28 | win | chris ngimbi | it's showtime 2012 in leeu | leeuwarden, netherlands | tko (cut) | 2 | 1:22 row 6 : 2011-09-24 | loss | andy souwer | bfn group & music hall presents | brussels, belgium | extra round decision (split) | 4 | 3:00 row 7 : 2011-04-09 | win | lahcen ait ouss | le grande ko xi | liege, belgium | ko | 1 | None row 8 : 2011-02-12 | win | henri van opstal | war of the ring | amsterdam, netherlands | decision (unanimous) | 3 | 3:00 row 9 : 2010-09-10 | win | edson fortes | ring sensation gala | utrecht, netherlands | decision | 3 | 3:00 row 10 : 2010-03-21 | loss | mohamed khamal | k-1 world max 2010 west europe tournament | utrecht, netherlands | ko (punch) | 2 | None row 11 : 2009-11-21 | win | seo doo won | it's showtime 2009 barneveld | barneveld, netherlands | tko (referee stop | 1 | None row 12 : 2009-09-24 | win | chris ngimbi | it's showtime 2009 lommel | lommel, belgium | extra round decision | 4 | 4:00 row 13 : 2009-04-11 | win | farid riffi | almelo fight for delight | almelo, netherlands | tko | None | None row 14 : 2009-03-14 | win | viktor sarezki | war of the ring | belgium | ko (punch to the body) | 1 | None row 15 : 2009-02-21 | win | pedro sedarous | turnhout gala | turnhout, belgium | decision | 5 | 3:00 row 16 : 2009-01-31 | win | dahou naim | tielrode gala | tielrode, belgium | 2nd extra round decision | 5 | 3:00 row 17 : 2008-09-20 | win | abdallah mabel | s-cup europe 2008, reserve bout | gorinchem, netherlands | decision | 3 | 3:00 row 18 : 2008-09-14 | win | jordy sloof | the outland rumble | rotterdam, netherlands | ko (right cross) | 1 | None row 19 : 2008-03-08 | win | naraim ruben | lommel gala | lommel, belgium | tko (retirement) | 3 | None row 20 : 2008-02-23 | win | pierre petit | st. job gala | st. job, belgium | ko (right punch) | 2 | None ] Execute this SQL based on the above table: select event where method = 'tko (retirement)' order by round asc limit 758
lommel gala
[ header: # | title | producer(s) | featured guest(s) | time row 1 : 1 | "the c-quel" | pillo jamel, the heatmakerz | None | 3:36 row 2 : 2 | "2000 b.c. (before can | ty fyffe, laze | None | 3:31 row 3 : 3 | "life liquid" | juju | journalist | 4:24 row 4 : 4 | "shock therapy" (interlude) | None | None | 1:10 row 5 : 5 | "watch who u beef wit" | chaos | None | 4:30 row 6 : 6 | "i'll buss 'em | dj clue, duro | rakim | 4:07 row 7 : 7 | "mic-nificent" | daniel "danny p | None | 3:13 row 8 : 8 | "die slow" | ty fyffe | journalist | 4:00 row 9 : 9 | "doomsday news" | chaos | None | 3:33 row 10 : 10 | "lost @ "c"" | taiwan green, ir | None | 4:59 row 11 : 11 | "phuk u" | mike "punch" harper | None | 4:04 row 12 : 12 | "horsemen" | None | pharoahe monch | 1:22 row 13 : 13 | "horsementality" | chaos | ras kass, kill | 5:59 row 14 : 14 | "100 bars" | mike "punch" harper | None | 4:58 row 15 : 15 | "chaos" | chaos | None | 2:29 ] Execute this SQL based on the above table: select title where # < ( select # where title = '"horsemen"' and # = 12 ) order by # desc limit 1
"phuk u"
[ header: title | artist | year | location/gps coordinates | material | dimensions | owner row 1 : titanic memorial | gertrude vanderbilt whi | 1926 | waterfront park, 4th & p | granite & concrete | sculpture: approx. 12 × 8 | united states department of the interior row 2 : andrew w. mellon memorial | sidney waugh & o | 1949-1951 | constitution ave & 6th s | bronze, granite & quartz | fountain: approx. diam: 38 | united states department of the interior row 3 : the maine lobsterman | victor kahill | 1981 | water st. & 6th | bronze & granite | sculpture: approx. 5 × 2 | united states department of the interior row 4 : justice, the guardian of liberty | hermon atkins macneil | 1935 | united states supreme court building | marble | approx. h. 18 ft | architect of the capitol row 5 : figure of puck over fountain and pool | brenda putnam | 1932 | folger shakespeare library | marble | sculpture: approx. h. 46 in | folger shakespeare library row 6 : emancipation memorial | thomas ball | 1875 | lincoln park 38°53′ | bronze & granite | sculpture: approx. 9 × 6 | united states department of the interior row 7 : medallions on national archives | james earle fraser, | 1934 | national archives and records administration, 7th & | indiana limestone | 13 medallions. each medallion: di | national archives and records administration row 8 : darlington memorial fountain: nymph | c. paul jennewein | 1922 | judiciary park at 5th & d | gilded bronze | figure: approx. h. 5 | district of columbia ] Execute this SQL based on the above table: select count ( * ) where owner > ( select owner where title = 'andrew w. mellon memorial fountain' )
0
[ header: # | district | land area (km2) | population (2010 census) | density (persons/km2) row 1 : 1 | anse la raye | 30.9 | 6247 | 210 row 2 : 2 | praslin | 16 | 2044 | 119 row 3 : 3 | castries | 79.5 | 65656 | 776 row 4 : 4 | choiseul | 31.3 | 6098 | 206 row 5 : 5 | dennery | 69.7 | 12599 | 182 row 6 : 6 | forest reserve | 78 | 0 | 0 row 7 : 7 | gros islet | 101.5 | 25210 | 196 row 8 : 8 | laborie | 37.8 | 6701 | 210 row 9 : 9 | micoud | 77.7 | 16284 | 220 row 10 : 10 | soufriere | 50.5 | 8472 | 144 row 11 : 11 | vieux fort | 43.8 | 16284 | 371 row 12 : None | saint lucia | 608.7 | 165595 | 256 ] Execute this SQL based on the above table: select district group by district order by count ( district ) desc limit 1
vieux fort
[ header: year | winner | county | opponent | county row 1 : 2013 | rower-inistioge | kilkenny | buffers alley | wexford row 2 : 2012 | clara | kilkenny | oylegate/glenbrien | wexford row 3 : 2011 | mount leinster rangers | carlow | celbridge | kildare row 4 : 2010 | dicksboro | kilkenny | celbridge | kildare row 5 : 2009 | st. lachtains | kilkenny | mount leinster rangers | carlow row 6 : 2008 | kilmessan | meath | erin's own | kilkenny row 7 : 2007 | clonkill | westmeath | ferns st. aiden' | wexford row 8 : 2006 | ardclough | kildare | raharney | westmeath row 9 : 2005 | dicksboro | kilkenny | marshalstown | wexford row 10 : 2004 | carrickshock | kilkenny | st. patrick's | wexford ] Execute this SQL based on the above table: select county where county in ( 'westmeath' , 'wexford' ) and county = 'kilkenny'
wexford, wexford, wexford, wexford