inputs
stringlengths
291
3.71k
targets
stringlengths
1
2.65k
[ header: year | competition | venue | position | notes row 1 : 2005 | european u23 championships | erfurt, germany | 7th | 72.81 m row 2 : 2008 | olympic games | beijing, china | 8th | 82.06 m (=pb row 3 : 2009 | universiade | belgrade, serbia | 5th | 78.29 m row 4 : 2010 | european championships | barcelona, spain | 14th (q) | 76.29 m row 5 : 2012 | olympic games | london, united kingdom | 15th (q) | 80.06 m row 6 : 2013 | world championships | moscow, russia | 32nd (q) | 72.66 m ] Execute this SQL based on the above table: select venue order by year limit 1
erfurt, germany
[ 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 position where id = ( select id where position = 'og' ) - 1
rb
[ header: rank in 2011 | name of concern | location of headquarters | revenue (thou. pln) | profit (thou. pln) | employees row 1 : 1 | pkn orlen sa | płock | 79037121 | 2396447 | 4445 row 2 : 2 | lotos group sa | gdansk | 29258539 | 584878 | 5168 row 3 : 3 | pge sa | warsaw | 28111354 | 6165394 | 44317 row 4 : 4 | jeronimo martins | kostrzyn | 25285407 | None | 36419 row 5 : 5 | pgnig sa | warsaw | 23003534 | 1711787 | 33071 row 6 : 6 | tauron group sa | katowice | 20755222 | 1565936 | 26710 row 7 : 7 | kghm polska miedz | lubin | 20097392 | 13653597 | 18578 row 8 : 8 | metro group poland | warsaw | 17200000 | None | 22556 row 9 : 9 | fiat auto poland sa | bielsko-biała | 16513651 | 83919 | 5303 row 10 : 10 | orange polska | warsaw | 14922000 | 1785000 | 23805 ] Execute this SQL based on the above table: select name of concern where location of headquarters < ( select location of headquarters where name of concern = 'lotos group sa' ) order by location of headquarters desc limit 1
fiat auto poland sa
[ header: # | matters | sections of the constitution allowing their institution | eligible petitioners | type row 1 : 2 | a petition for a decision as to whether | section 68 | any person | constitutional defence row 2 : 3 | a petition for a decision as to whether | section 91 | at least one tenth of the existing representatives | membership row 3 : 4 | a petition for a decision as to whether | section 106 (7) | the representative in question | political party row 4 : 5 | a petition for a decision concerning the constitutional | section 141 | the national assembly | constitutionality of draft law row 5 : 6 | a petition for a decision as to whether | sections 140 and 149 | the president of the house of representatives or s | constitutionality of draft law row 6 : 9 | a petition for a decision as to whether | section 168, paragraph 7 | at least one tenth of the existing representatives | others row 7 : 11 | a petition for a decision as to whether | section 185 | at least one fifth of the existing representatives or senator | constitutionality of law row 8 : 12 | a petition for a decision as to whether | section 190 | at least one tenth of the existing representatives | authority row 9 : 13 | a petition for a decision as to whether | section 211 | a party to such case | constitutionality of law row 10 : 14 | a petition for a decision as to the | section 212 | any person whose constitutionally recognised right or freedom | constitutionality of law row 11 : 15 | a petition for a decision as to | section 214 | the president of the national assembly the prime minister the | authority row 12 : 16 | a petition for a decision as to whether | section 233 | at least one tenth of the existing representatives | membership row 13 : 18 | a petition for a decision as to the | section 245 (1) | ombudsmen | constitutionality of law row 14 : 19 | a petition for a decision as to the | section 257, paragraph 1 (2) | the national human rights commission | constitutionality of law ] Execute this SQL based on the above table: select # where eligible petitioners = 'at least one tenth of the existing representatives or senators'
3.0, 9.0, 12.0, 16.0
[ header: week | date | opponent | score | result | attendance | record row 1 : 1 | thursday, aug 11 | vs. winnipeg blue | 35-21 | loss | 31837 | 0-1 row 2 : 2 | monday, aug 15 | at edmonton eskimos | 33-14 | loss | 17500 | 0-2 row 3 : 3 | saturday, aug 20 | vs. saskatche | 27-12 | win | 29532 | 1-2 row 4 : 4 | monday, aug 22 | at calgary stampeders | 26-19 | win | None | 2-2 row 5 : 5 | monday, aug 29 | vs. edmonton | 26-0 | loss | 28420 | 2-3 row 6 : 6 | thursday, sept 1 | at winnipeg blue bombers | 19-14 | loss | 18297 | 2-4 row 7 : 7 | monday, sept 5 | at saskatchewan roughrid | 31-21 | win | 14105 | 3-4 row 8 : 8 | monday, sept 12 | vs. calgary stampeders | 21-21 | tie | 27759 | 3-4-1 row 9 : 9 | saturday, sept 17 | vs. winnipeg blue | 26-14 | loss | 30292 | 3-5-1 row 10 : 10 | monday, sept 19 | at edmonton eskimos | 18-10 | loss | None | 3-6-1 row 11 : 11 | saturday, sept 24 | at calgary stampeders | 28-14 | loss | 13000 | 3-7-1 row 12 : 12 | thursday, oct 6 | vs. edmonton | 21-13 | win | 21707 | 4-7-1 row 13 : 13 | thursday, oct 13 | at winnipeg blue bombers | 49-21 | loss | 16773 | 4-8-1 row 14 : 14 | saturday, oct 15 | at saskatchewan roughrid | 14-14 | tie | 7255 | 4-8-2 row 15 : 15 | saturday, oct 22 | vs. calgary stampeders | 22-10 | loss | 29599 | 4-9-2 row 16 : 16 | saturday, oct 29 | vs. saskatche | 38-0 | win | 21114 | 5-9-2 ] Execute this SQL based on the above table: select attendance where date = 'monday, aug 15'
17500
[ header: model | released | usage | features | storage row 1 : betsie/dottie | None | used for calculating odds for bookmakers | None | None row 2 : mark 2 | 1973 | sales order processing | totally new processor with hardware interrupt stacking, | fabritek or emm fer row 3 : mark 3 | None | None | designation not used but was effectively the 3me/6 | None row 4 : mark 4 | None | sop, livestock markets, paper merchants, | developed after the demise of bcl | core memory or static ram, introduced the row 5 : mark 5 | 1984 | sop, livestock markets, paper merchants, | basically a re engineering of the 6me | initially large-format ampex ferrite core row 6 : None | 1990 | sop, livestock markets, paper merchants, | a single board processor was developed to replace the | support for seven additional external lark 2 or row 7 : distributor ep | 1989 | sop, livestock markets | enhanced version of the distributor | scsi disk and tape support ] Execute this SQL based on the above table: select released where model is null
1990
[ header: title | author | date | length (first edition) row 1 : bull-dog drummond | h. c. mcn | 1920 | 320 pp row 2 : the black gang | h. c. mcn | 1922 | 318 pp row 3 : the third round | h. c. mcn | 1924 | 320 pp row 4 : the final count | h. c. mcn | 1926 | 319 pp row 5 : the female of the species | h. c. mcn | 1928 | 312 pp row 6 : temple tower | h. c. mcn | 1929 | 320 pp row 7 : the return of bulldog drummond | h. c. mcn | 1932 | 316 pp row 8 : knock-out | h. c. mcn | 1933 | 317 pp row 9 : bulldog drummond at bay | h. c. mcn | 1935 | 310 pp row 10 : challenge | h. c. mcn | 1937 | 311 pp row 11 : bulldog drummond on dartmoor | gerard fairlie | 1938 | 254 pp row 12 : bulldog drummond attacks | gerard fairlie | 1939 | 287 pp row 13 : captain bulldog drummond | gerard fairlie | 1945 | 256 pp row 14 : bulldog drummond stands fast | gerard fairlie | 1947 | 319 pp row 15 : hands off bulldog drummond | gerard fairlie | 1949 | 271 pp row 16 : calling bulldog drummond | gerard fairlie | 1951 | 255 pp row 17 : the return of the black gang | gerard fairlie | 1954 | 192 pp row 18 : deadlier than the male | henry reymond | 1967 | 192 pp row 19 : some girls do | henry reymond | 1969 | 192 pp ] Execute this SQL based on the above table: select title order by length (first edition) desc limit 1
bull-dog drummond
[ header: season | tier | division | place row 1 : 1981/82 | 4 | 3a | 17th row 2 : 1982/83 | 5 | regional | None row 3 : 1983/84 | 4 | 3a | 1st row 4 : 1984/85 | 4 | 3a | 2nd row 5 : 1985/86 | 4 | 3a | 1st row 6 : 1986/87 | 3 | 2ab | 10th row 7 : 1987/88 | 3 | 2ab | 1st row 8 : 1988/89 | 2 | 2a | 18th row 9 : 1989/90 | 3 | 2ab | 7th row 10 : 1990/91 | 3 | 2ab | 8th row 11 : 1991/92 | 3 | 2ab | 20th row 12 : 1992/93 | 4 | 3a | 14th row 13 : 1993/94 | 4 | 3a | 19th row 14 : 1994/95 | 5 | reg. pref | 9th row 15 : 1995/96 | 5 | reg. pref | 4th row 16 : 1996/97 | 5 | reg. pref | 1st row 17 : 1997/98 | 5 | reg. pref | 2nd ] Execute this SQL based on the above table: select count ( * ) where tier < 3
1
[ header: parish | locality | parish priest | founded | closed row 1 : st mary | bacup | fr frank thorpe | 1852 | None row 2 : our immaculate mother & st | whitworth | fr frank thorpe | 1860 | None row 3 : st joseph | stacksteads | None | 1947 | 2005 row 4 : st joseph & | newchurch-in-rossendale | fr philip boast | 1915 | None row 5 : the immaculate conception | haslingden | fr canon john mackie | 1854 | None row 6 : st veronica (chapel of | helmshore | served from the immaculate conception | 1959 | None row 7 : st james the less | rawtenstall | fr david lupton, rural de | 1828 | None ] Execute this SQL based on the above table: select locality order by founded desc limit 1576
helmshore, stacksteads, newchurch-in-rossendale, whitworth, haslingden, bacup, rawtenstall
[ header: year | artist | album | chart position | role row 1 : 1961 | eddie harris | "exodus" (single) | #16 r&b, #36 us | remastering engineer row 2 : 1968 | eddie harris | "it's crazy" (single | #88 us | remastering engineer row 3 : 1969 | eddie harris & | swiss movement | #1 jazz, #2 r&b, # | remixing & remastering engineer row 4 : 1969 | r.b. greaves | r.b. greaves | #24 r&b, #85 us | mixing engineer row 5 : 1971 | eddie harris & | second movement | #1 jazz, # 41 us | recording and remastering engineer row 6 : 1971 | les mccann | invitation to openness | #8 jazz | remastering engineer row 7 : 1971 | donny hathaway | donny hathaway | #6 r&b, #89 us | recording engineer row 8 : 1972 | roberta flack & | roberta flack & | #3 us, #2 r&b, # | recording engineer row 9 : 1972 | cream | live cream volume ii | #27 us | remixing engineer row 10 : 1972 | herbie mann | hold on, i'm coming | #7 jazz | mixing engineer row 11 : 1973 | bette midler | bette midler | #6 us | recording engineer row 12 : 1973 | hall & oates | abandoned luncheonette | #33 us | recording engineer row 13 : 1973 | willie nelson | shotgun willie | #41 us | recording engineer row 14 : 1973 | les mccann | layers | #5 jazz | remastering engineer row 15 : 1973 | the modern jazz quartet | blues on bach | #34 jazz | recording and mixing engineer row 16 : 1973 | donny hathaway | extension of a man | #18 r&b, #69 us | recording engineer row 17 : 1973 | bee gees | mr. natural | #178 us | recording engineer row 18 : 1974 | the modern jazz quartet | the complete last concert | #34 jazz | mixing engineer row 19 : 1976 | the rolling stones | black and blue | #1 us | recording engineer row 20 : 1976 | willie nelson | the troublemaker | #1 country, #60 us | recording engineer row 21 : 1979 | bette midler | thighs and whispers | #65 us | recording engineer row 22 : 1983 | paul simon | hearts and bones | #35 us | recording engineer row 23 : 1993 | david "fathead" newman | bigger & better | #10 jazz, #42 r&b | remastering engineer row 24 : 1998 | various artists | jazz for the open road | #1 jazz | mastering engineer row 25 : 1998 | various artists | jazz for the quiet times | #1 jazz | mastering engineer row 26 : 1999 | various artists | jazz for when you're alone | #1 jazz | mastering engineer row 27 : 1999 | various artists | jazz for a lazy day | #4 jazz | mastering engineer row 28 : 2000 | various artists | jazz for a rainy afternoon | #1 jazz | mastering engineer row 29 : 2000 | jane monheit | never never land | #2 jazz | mixing & mastering engineer row 30 : 2000 | various artists | jazz for when you're in love | #9 jazz | mastering engineer row 31 : 2001 | jane monheit | come dream with me | #1 jazz | mixing & mastering engineer row 32 : 2002 | jane monheit | in the sun | #2 jazz | recording, mixing & mastering engineer row 33 : 2003 | various artists | jazz for those peaceful moments | #4 jazz | mastering engineer row 34 : 2007 | mocean worker | cinco de mowo! | #16 electronic | mastering engineer ] Execute this SQL based on the above table: select role , album where artist = 'herbie mann'
mixing engineer, hold on, i'm coming
[ header: # | date | opponent | score | win | loss | save | crowd | record row 1 : 1 | apr 3 | @min | w 8-1 | morris | williams | None | 34381 | 1-0 row 2 : 2 | apr 5 | @min | w 7-3 | petry | viola | None | 8373 | 2-0 row 3 : 3 | apr 6 | @chw | w 3-2 | wilcox | dotson | hernandez | 42692 | 3-0 row 4 : 4 | apr 7 | @chw | w 4-0 | morris | bannister | None | 24616 | 4-0 row 5 : 5 | apr 8 | @chw | w 7-3 | lopez | seaver | None | 20478 | 5-0 row 6 : 6 | apr 10 | tex | w 5-1 | petry | stewart | None | 51238 | 6-0 row 7 : 7 | apr 12 | tex | w 9-4 | morris | tanana | None | 19154 | 7-0 row 8 : 8 | apr 13 | @bos | w 13-9 | bair | hurst | None | 35179 | 8-0 row 9 : 9 | apr 18 | kcr | w 4-3 (10) | hernandez | beckwith | None | 12310 | 9-0 row 10 : 10 | apr 19 | kcr | l 2-5 | saberhagen | petry | quisenberry | 12100 | 9-1 row 11 : 11 | apr 20 | chw | w 3-2 | lopez | reed | None | 33554 | 10-1 row 12 : 12 | apr 21 | chw | w 4-1 | rozema | hoyt | bair | 34395 | 11-1 row 13 : 13 | apr 22 | chw | w 9-1 | berenguer | brennan | None | 10603 | 12-1 row 14 : 14 | apr 24 | min | w 6-5 | morris | davis | None | None | 13-1 row 15 : 15 | apr 24 | min | w 4-3 | abbott | viola | lopez | 20315 | 14-1 row 16 : 16 | apr 25 | @tex | w 9-4 | wilcox | stewart | hernandez | 25883 | 15-1 row 17 : 17 | apr 26 | @tex | w 7-5 | bair | tanana | lopez | 13559 | 16-1 row 18 : 18 | apr 27 | cle | l 4-8 (19) | aponte | abbott | None | 34112 | 16-2 row 19 : 19 | apr 28 | cle | w 6-2 | morris | behenna | None | 28253 | 17-2 row 20 : 20 | apr 29 | cle | w 6-1 | petry | spillner | None | 24853 | 18-2 ] Execute this SQL based on the above table: select max ( crowd )
51238.0
[ header: year | english title | chinese title | director | role row 1 : 1933 | twenty-four hours in shanghai | 上海二十四小时 | shen xiling | None row 2 : 1937 | street angel | 马路天使 | yuan muzhi | xiao chen row 3 : 1937 | crossroads | 十字街头 | shen xiling | zhao row 4 : 1947 | far away love | 遙遠的愛 | chen liting | xiao yuanxi row 5 : 1947 | rhapsody of happiness | 幸福狂想曲 | chen liting | None row 6 : 1949 | crows and sparrows | 烏鴉与麻雀 | zheng junli | little broadcast row 7 : 1949 | women side by side | 丽人行 | chen liting | zhang yuliang row 8 : 1950 | the life of wu xun | 武训传 | sun yu | wu xun row 9 : 1951 | the married couple | 我们夫妇之间 | zheng junli | None row 10 : 1956 | li shizhen | 李时珍 | shen fu | li shizhen row 11 : 1958 | lin zexu | 林则徐 | zheng junli | lin zexu row 12 : 1959 | nie er | 聂耳 | zheng junli | nie er ] Execute this SQL based on the above table: select sum ( year ) where year = 1951
1951
[ header: rank | rider | team | points row 1 : 1 | robbie mcewen (aus | davitamon-lotto | 288 row 2 : 2 | erik zabel (ger) | team milram | 199 row 3 : 3 | thor hushovd (nor | credit agricole | 195 row 4 : 4 | bernhard eisel ( | francaise des jeux | 176 row 5 : 5 | luca paolini (ita) | liquigas | 174 row 6 : 6 | inaki isasi (esp | euskaltel-euskad | 130 row 7 : 7 | francisco ventoso (es | saunier duval-prodir | 128 row 8 : 8 | cristian moreni (ita | cofidis | 116 row 9 : 9 | jimmy casper (fra | cofidis | 98 row 10 : 10 | oscar pereiro (esp | caisse d'epargne-illes | 88 ] Execute this SQL based on the above table: select count ( team ) where points >= 288
1
[ header: game | date | team | score | high points | high rebounds | high assists | location attendance | record row 1 : 1 | october 5 | @ portland | l 86-115 | chris kaman (14) | chris kaman, blake | randy foye (5) | rose garden 18,209 | 0-1 row 2 : 2 | october 7 | @ sacramento | w 120-88 | chris kaman (20) | blake griffin (13) | randy foye (8) | arco arena 10,284 | 1-1 row 3 : 3 | october 8 | @ golden state | l 87-127 | blake griffin (23) | blake griffin (9) | randy foye (6) | oracle arena 10,004 | 1-2 row 4 : 4 | october 12 | san antonio | l 99-100 | eric gordon (23) | blake griffin (17) | baron davis (7) | palacio de los deportes 18, | 1-3 row 5 : 5 | october 14 | denver | l 95-100 | blake griffin (24) | blake griffin (14) | baron davis (6) | staples center 10,572 | 1-4 row 6 : 6 | october 16 | utah | l 91-103 | eric gordon (23) | blake griffin (14) | baron davis (8) | staples center 18,997 | 1-5 row 7 : 7 | october 17 | denver | l 104-108 | brian cook (28) | al-farouq aminu (8) | baron davis, eric ble | staples center | 1-6 row 8 : 8 | october 19 | sacramento | l 94-96 | chris kaman (21) | chris kaman (10) | baron davis (8) | staples center 10,838 | 1-7 ] Execute this SQL based on the above table: select count ( * ) where record = '0-1'
1
[ header: stage | date | route | terrain | length | winner row 1 : p | 1 july | fontenay-sous-bo | individual time trial | 6 km (3.7 mi) | eric vanderaerden (bel row 2 : 1 | 2 july | nogent-sur-marne - | plain stage | 163 km (101 mi) | frits pirard (ned row 3 : 2 | 3 july | soissons - fontaine-au- | team time trial | 100 km (62 mi) | mercier row 4 : 3 | 4 july | valenciennes - rou | hilly stage | 152 km (94 mi) | rudy matthijs (bel) row 5 : 4 | 5 july | roubaix - le havre | plain stage | 300 km (190 mi) | serge demierre (sui) row 6 : 5 | 6 july | le havre - le mans | plain stage | 257 km (160 mi) | dominique gaigne (fra) row 7 : 6 | 7 july | chateaubriant - nantes | individual time trial | 58 km (36 mi) | bert oosterbosch ( row 8 : 7 | 8 july | nantes - ile d' | plain stage | 216 km (134 mi) | riccardo magrini (ita row 9 : 8 | 9 july | la rochelle - bordeaux | plain stage | 222 km (138 mi) | bert oosterbosch ( row 10 : 9 | 10 july | bordeaux - pau | plain stage | 207 km (129 mi) | philippe chevallier (fra row 11 : 10 | 11 july | pau - bagneres-de | stage with mountain(s) | 201 km (125 mi) | robert millar (gbr row 12 : 11 | 12 july | bagneres-de-luchon | plain stage | 177 km (110 mi) | regis clere (fra) row 13 : 12 | 13 july | fleurance - roquefort | plain stage | 261 km (162 mi) | kim andersen (den) row 14 : 13 | 14 july | roquefort-sur-s | hilly stage | 210 km (130 mi) | henk lubberding (n row 15 : 14 | 15 july | aurillac - issoire | hilly stage | 149 km (93 mi) | pierre le bigaut (fra) row 16 : 15 | 16 july | clermont-ferrand - | individual time trial | 16 km (9.9 mi) | angel arroyo (esp) row 17 : 16 | 17 july | issoire - saint-etienne | hilly stage | 144 km (89 mi) | michel laurent (fra row 18 : 17 | 18 july | la tour-du-pin - alpe | stage with mountain(s) | 223 km (139 mi) | peter winnen (ned) row 19 : 18 | 20 july | le bourg-d'oisans | stage with mountain(s) | 247 km (153 mi) | jacques michaud (fra row 20 : 19 | 21 july | morzine - avoria | individual time trial | 15 km (9.3 mi) | lucien van impe (bel) row 21 : 20 | 22 july | morzine - dijon | plain stage | 291 km (181 mi) | philippe leleu (fr ] Execute this SQL based on the above table: select date order by winner asc limit 1
16 july
[ header: sl no | constituency name | constituency number | member of legislative assembly | political party row 1 : 2 | abhayapuri south | 35 | chandan kumar sarkar | indian national congress row 2 : 4 | amguri | 103 | anjan dutta | indian national congress row 3 : 9 | barhampur | 87 | prafulla kumar mahanta | asom gana parishad row 4 : 15 | bihali | 77 | pallab lochan das | indian national congress row 5 : 16 | bihpuria | 109 | bhupen kumar bor | indian national congress row 6 : 17 | bijni | 33 | kamalshing narzary | bodoland peoples front row 7 : 21 | bokajan | 17 | klengdoon engti | indian national congress row 8 : 35 | dhemaji | 113 | sumitra doley patir | indian national congress row 9 : 49 | gauripur | 24 | banendra kumar mushahary | bodoland peoples front row 10 : 53 | golakganj | 25 | abu taher bepari | indian national congress row 11 : 56 | hajo | 55 | dwipen pathak | all india trinamool congress row 12 : 59 | howraghat | 18 | khorsing engti | indian national congress row 13 : 60 | jagiroad | 79 | bibekananda dalai | indian national congress row 14 : 62 | jalukbari | 51 | himanta biswa sarma | indian national congress row 15 : 63 | jamunamukh | 90 | mohammed sirajuddin a | all india united democratic front row 16 : 64 | jania | 44 | rafiqul islam | all india united democratic front row 17 : 65 | jonai | 114 | pradan baruah | indian national congress row 18 : 73 | katlicherra | 7 | gautam roy | indian national congress row 19 : 76 | kokrajhar west | 29 | pradip kumar brahma | bodoland peoples front row 20 : 83 | majuli | 99 | sri rajib lochan | indian national congress row 21 : 87 | mazbat | 70 | rakheswar brahma | bodoland peoples front row 22 : 95 | nowgong | 86 | dr. durlav chandra | indian national congress row 23 : 101 | rangapara | 74 | bhimananda tanti | indian national congress row 24 : 105 | sadiya | 126 | bolin chetia | indian national congress row 25 : 111 | sidli | 31 | sri chandan brahm | bodoland peoples front row 26 : 114 | sonai | 10 | anamul haque | indian national congress row 27 : 115 | sonari | 106 | sarat borkotoky | indian national congress row 28 : 116 | sootea | 75 | padma hazarika | asom gana parishad row 29 : 119 | teok | 102 | membar gogoi | indian national congress row 30 : 122 | tingkhong | 119 | atuwa munda | indian national congress row 31 : 123 | tinsukia | 122 | rajendra prasad singh | indian national congress ] Execute this SQL based on the above table: select count ( political party )
31
[ header: district | name | party | district office | first elected row 1 : 1 | a.g. crowe | rep | slidell | 2007 row 2 : 2 | troy brown | dem | napoleonville | 2011 row 3 : 3 | j.p. morrell | dem | new orleans | 2008 row 4 : 4 | ed murray | dem | new orleans | 2005 row 5 : 5 | karen carter peterson | dem | new orleans | 2010 row 6 : 6 | bodi white | rep | baton rouge | 2011 row 7 : 7 | david heitmeier | dem | new orleans | 2007 row 8 : 8 | john alario | rep | westwego | 2007 row 9 : 9 | conrad appel | rep | metairie | 2008 row 10 : 10 | daniel martiny | rep | metairie | 2007 row 11 : 11 | jack donahue | rep | mandeville | 2007 row 12 : 12 | ben nevers | dem | bogalusa | 2003 row 13 : 13 | dale m. erdey | rep | livingston | 2007 row 14 : 14 | yvonne dorsey- | dem | baton rouge | 2007 row 15 : 15 | sharon weston broome | dem | baton rouge | 2004 row 16 : 16 | dan claitor | rep | baton rouge | 2009 row 17 : 17 | rick ward, iii | rep | port allen | 2011 row 18 : 18 | jody amedee | rep | gonzales | 2003 row 19 : 19 | gary smith, jr | dem | norco | 2011 row 20 : 20 | norby chabert | rep | houma | 2009 row 21 : 21 | bret allain | rep | franklin | 2011 row 22 : 22 | fred h. mills, | rep | new iberia | 2011 row 23 : 23 | page cortez | rep | lafayette | 2011 row 24 : 24 | elbert guillory | rep | opelousas | 2009 row 25 : 25 | dan "blade" morrish | rep | jennings | 2007 row 26 : 26 | jonathan perry | rep | kaplan | 2011 row 27 : 27 | ronnie johns | rep | lake charles | 2011 row 28 : 28 | eric lafleur | dem | ville platte | 2007 row 29 : 29 | rick gallot | dem | ruston | 2011 row 30 : 30 | john r. smith | rep | leesville | 2007 row 31 : 31 | gerald long | rep | winnfield | 2007 row 32 : 32 | neil riser | rep | columbia | 2007 row 33 : 33 | mike walsworth | rep | west monroe | 2007 row 34 : 34 | francis c. thomp | dem | delhi | 2007 row 35 : 35 | robert kostelka | rep | monroe | 2003 row 36 : 36 | robert adley | rep | benton | 2003 row 37 : 37 | barrow peacock | rep | bossier | 2011 row 38 : 38 | sherri smith buffington | rep | keithville | 2003 row 39 : 39 | gregory tarver | dem | shreveport | 2011 ] Execute this SQL based on the above table: select name where district office = 'shreveport'
gregory tarver
[ header: rank | group | name | nationality | 2.05 | 2.15 | 2.19 | 2.23 | 2.26 | result | notes row 1 : 1 | a | nicola ciotti | italy | None | o | o | o | o | 2.26 | q row 2 : 1 | a | linus thornblad | sweden | None | o | o | o | o | 2.26 | q row 3 : 1 | b | oskari frosen | finland | None | o | o | o | o | 2.26 | q row 4 : 1 | b | stefan holm | sweden | None | o | o | o | o | 2.26 | q row 5 : 1 | b | svatoslav ton | czech republic | None | o | o | o | o | 2.26 | q row 6 : 7 | a | niki palli | israel | o | o | o | o | xo | 2.26 | q row 7 : 7 | b | yaroslav rybakov | russia | None | o | o | o | xo | 2.26 | q row 8 : 9 | b | giulio ciotti | italy | None | o | xo | o | xo | 2.26 | q row 9 : 11 | a | ivan ukhov | russia | None | None | None | o | None | 2.23 | q row 10 : 11 | a | andrea bettinelli | italy | None | o | o | o | xxx | 2.23 | q row 11 : 14 | a | martyn bernard | united kingdom | None | o | xxo | xo | xxx | 2.23 | None row 12 : 15 | b | peter horak | slovakia | None | o | o | xxo | xxx | 2.23 | None row 13 : 15 | b | normunds pupols | latvia | None | o | o | xxo | xxx | 2.23 | None row 14 : 17 | a | germaine mason | united kingdom | None | o | o | xxx | None | 2.19 | None row 15 : 17 | b | rozle prezelj | slovenia | o | o | o | xxx | None | 2.19 | None row 16 : 19 | a | heikki tanel | finland | None | xo | o | xxx | None | 2.19 | None row 17 : 19 | b | andriy sokolovskyy | ukraine | None | xo | o | xxx | None | 2.19 | None row 18 : 21 | b | mickael hanany | france | None | xo | xo | xxx | None | 2.19 | None row 19 : 22 | b | javier bermejo | spain | o | o | xxx | None | None | 2.15 | None row 20 : 23 | a | osku torro | finland | None | xo | x- | x | None | 2.15 | None row 21 : 24 | a | jan-peter larsen | netherlands | o | xxx | None | None | None | 2.05 | None row 22 : None | b | adam scarr | united kingdom | None | xxx | None | None | None | nm | None ] Execute this SQL based on the above table: select group where 2.26 = 'xxx'
a, a, b, b
[ header: airing date | english title (chinese title) | number of episodes | main cast | theme song (t) sub-theme song (st) | genre | notes | official website row 1 : 19 feb- 15 mar | mutual affection 河東獅吼 | 20 | esther kwan, gordon la | t: "怕老婆會發達" (david | costume drama | None | None row 2 : 18 mar- 3 may | dark tales 聊齋 | 35 | gallen lo, grace yu, ja | t: "隔世情" (cass | costume drama | prequel to 1998's dark tales | None row 3 : 6 may- 31 may | money just can't buy 天降財神 | 20 | bobby au yeung, mari | t: "運財有福星" (natalis | modern drama | None | None row 4 : 3 jun- 21 jun | crossing boundaries 盞鬼老豆 | 15 | mini kung, benz hui | t: "覺悟" (vivian | modern drama | released overseas on april 3, 1995 | None row 5 : 24 jun- 16 aug | state of divinity 笑傲江湖 | 40 | jackie lui, fiona le | t: "活得瀟灑" (alan | costume drama | None | official website row 6 : 19 aug- 6 sep | the price to pay 五個醒覺的少年 | 20 | john kwan, may kw | t: "改改改" (hacken le | modern drama | released overseas on december 7, 1995 | None row 7 : 9 sep- 4 oct | night journey 殭屍福星 | 20 | yuen wah, dani | t: "今天開始" (danie | costume drama | None | None row 8 : 7 oct- 15 nov | food of love 闔府統請 | 30 | wong he, kenix k | t: "闔府統請" (gabriel | modern drama | None | None row 9 : 10 nov- 20 dec | journey to the west 西遊記 | 30 | dicky cheung, kw | t: "西遊記" (dicky | costume drama | prequel to 1998's journey to the west | official website row 10 : 30 dec 1996- 27 jan 1998 | in the name of love 有肥人終成眷屬 | 20 | kent cheng, sunny chan | t: "但願有情人" (mo | modern drama | None | None ] Execute this SQL based on the above table: select main cast where theme song (t) sub-theme song (st) > ( select theme song (t) sub-theme song (st) where main cast = 'dicky cheung, kwong wah, wayne lai, evergreen mak' ) order by theme song (t) sub-theme song (st) limit 1
mini kung, benz hui
[ header: year | song | us r&b | us rap | album row 1 : 1991 | "mistadobalina" | 55 | 6 | i wish my brother george was here row 2 : 1991 | "sleepin' on my couch" | None | None | i wish my brother george was here row 3 : 1992 | "dr. bombay.." | None | None | i wish my brother george was here row 4 : 1993 | "catch a bad one" | None | None | no need for alarm row 5 : 1994 | "wrong place" | None | 48 | no need for alarm row 6 : 1999 | "phoney phranchise" | None | 47 | both sides of the brain row 7 : 2000 | "if you must" | None | 27 | both sides of the brain row 8 : 2008 | "workin' it" | None | None | eleventh hour row 9 : 2011 | "one out of a million" | None | None | golden era ] Execute this SQL based on the above table: select song where song in ( '"one out of a million"' , '"mistadobalina"' ) order by album desc limit 1
"mistadobalina"
[ header: no | name | date of birth | height | weight | spike | block | 2008 club row 1 : 1 | oliveira walewska | 1 october 1979 | 1.90 m (6 ft 3 in | 73 kg (161 lb) | 310 cm (120 in) | 290 cm (110 in) | cav murcia row 2 : 2 | carolina albuquerque | 25 july 1977 | 1.82 m (6 ft 0 | 76 kg (168 lb) | 289 cm (114 in) | 279 cm (110 in) | finasa row 3 : 3 | marianne steinbrecher | 23 august 1983 | 1.88 m (6 ft 2 in | 70 kg (150 lb) | 310 cm (120 in) | 290 cm (110 in) | scavolini pesaro row 4 : 4 | paula pequeno | 22 january 1982 | 1.84 m (6 ft 0 | 74 kg (163 lb) | 302 cm (119 in) | 285 cm (112 in) | finasa row 5 : 6 | thaisa menezes | 15 may 1987 | 1.96 m (6 ft 5 in | 79 kg (174 lb) | 316 cm (124 in) | 301 cm (119 in) | rexona ades row 6 : 7 | helia souza | 3 october 1970 | 1.73 m (5 ft 8 in | 63 kg (139 lb) | 283 cm (111 in) | 264 cm (104 in) | cav murcia row 7 : 8 | valeska menezes | 23 april 1976 | 1.80 m (5 ft 11 in | 62 kg (137 lb) | 302 cm (119 in) | 290 cm (110 in) | asystel novara row 8 : 9 | fabiana claudino | 24 january 1984 | 1.93 m (6 ft 4 in | 76 kg (168 lb) | 314 cm (124 in) | 293 cm (115 in) | rexona ades row 9 : 10 | welissa gonzaga | 9 september 1982 | 1.79 m (5 ft 10 in | 76 kg (168 lb) | 300 cm (120 in) | 287 cm (113 in) | rexona ades row 10 : 12 | jacqueline carvalho | 31 december 1983 | 1.86 m (6 ft 1 in | 70 kg (150 lb) | 302 cm (119 in) | 286 cm (113 in) | cav murcia row 11 : 13 | sheilla castro | 1 july 1983 | 1.85 m (6 ft 1 in | 64 kg (141 lb) | 302 cm (119 in) | 284 cm (112 in) | scavolini pesaro row 12 : 14 | fabiana de oliveira | 7 march 1980 | 1.69 m (5 ft 7 in | 59 kg (130 lb) | 276 cm (109 in) | 266 cm (105 in) | rexona ades ] Execute this SQL based on the above table: select name order by id desc limit 1
fabiana de oliveira
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | brazil | 9 | 0 | 0 | 9 row 2 : 2 | argentina | 0 | 7 | 1 | 8 row 3 : 3 | uruguay | 0 | 1 | 4 | 5 row 4 : 4 | dominican republic | 0 | 1 | 0 | 1 row 5 : 5 | chile | 0 | 0 | 1 | 1 row 6 : 5 | greenland | 0 | 0 | 1 | 1 row 7 : 5 | paraguay | 0 | 0 | 1 | 1 row 8 : 5 | puerto rico | 0 | 0 | 1 | 1 row 9 : total | total | 9 | 9 | 9 | 27 ] Execute this SQL based on the above table: select count ( nation ) where total = 9
1
[ header: jurisdiction | adherents | bishops | priests | monastics | monasteries | parishes row 1 : constantinople (details) | 5200000 | 125 | None | 1800 | 142 | 648 row 2 : alexandria (details | 1200000 | 41 | None | None | None | None row 3 : antioch (details) | 2000000 | 36 | None | None | None | None row 4 : jerusalem (details) | 700000 | 20 | None | None | None | None row 5 : russia (details) | 150000000 | 217 | 30675 | None | 807 | 30142 row 6 : georgia (details) | 3500000 | 37 | 437 | None | None | 600 row 7 : bulgaria (details) | 10000000 | 15 | 1500 | None | 120 | 2600 row 8 : serbia (details) | 11000000 | 44 | None | None | 49 | 3100 row 9 : romania (details) | 17000000 | 53 | 15068 | 7605 | 359 | 15717 row 10 : cyprus (details) | 700000 | 16 | None | None | 67 | None row 11 : greece (details) | 6000000 | 101 | 10000 | 3541 | 541 | None row 12 : albania (details) | 700000 | 6 | 135 | None | 150 | 909 row 13 : poland (details) | 600000 | 12 | None | None | None | 400 row 14 : czech lands & s | 100000 | 6 | None | None | None | 172 row 15 : orthodox church in america (details | 85000 | 10 | None | None | 20 | 700 row 16 : total | 208785000 | 729 | 54382 | 12946 | 2236 | 54239 ] Execute this SQL based on the above table: select jurisdiction where jurisdiction = 'czech lands & slovakia (details)'
czech lands & slovakia (details)
[ header: rank | bib | name | nationality | start | penalties (p+p+s+s) | time | deficit row 1 : None | 1 | emil hegle sven | norway | 0:00 | 1 (0+0+0+1) | 32:35.5 | None row 2 : 7 | 8 | fredrik lindstrom | sweden | 0:38 | 1 (0+0+1+0) | 33:18.9 | 43.4 row 3 : 8 | 6 | alexis bœuf | france | 0:25 | 2 (0+0+2+0) | 33:22.1 | 46.6 row 4 : 9 | 13 | bjorn ferry | sweden | 0:52 | 0 (0+0+0+0) | 33:23.6 | 48.1 row 5 : 12 | 10 | simon eder | austria | 0:39 | 3 (0+0+2+1) | 33:50.5 | +1:15.0 row 6 : 13 | 32 | lowell bailey | united states | 1:38 | 0 (0+0+0+0) | 33:56.4 | +1:20.9 row 7 : 14 | 12 | erik lesser | germany | 0:49 | 4 (1+0+2+1) | 34:06.0 | +1:30.5 row 8 : 16 | 9 | evgeny ustyugov | russia | 0:38 | 3 (0+1+2+0) | 34:16.7 | +1:41.2 row 9 : 17 | 18 | tarjei bø | norway | 1:14 | 3 (2+0+1+0) | 34:18.9 | +1:43.4 row 10 : 18 | 29 | simon schempp | germany | 1:36 | 1 (0+0+0+1) | 34:24.4 | +1:48.9 row 11 : 24 | 21 | klemen bauer | slovenia | 1:16 | 4 (1+0+3+0) | 34:55.4 | +2:19.9 row 12 : 25 | 26 | christian de lorenzi | italy | 1:30 | 1 (0+0+0+1) | 34:57.5 | +2:22.0 row 13 : 26 | 20 | jean-guillaume beatr | france | 1:15 | 4 (0+1+2+1) | 34:58.4 | +2:22.9 row 14 : 27 | 33 | daniel mesotit | austria | 1:39 | 3 (0+0+2+1) | 34:58.7 | +2:23.2 row 15 : 29 | 30 | matej kazar | slovakia | 1:36 | 5 (2+1+1+1) | 35:04.9 | +2:29.4 row 16 : 30 | 17 | andriy deryzemlya | ukraine | 1:13 | 4 (0+0+2+2) | 35:05.3 | +2:29.8 row 17 : 33 | 58 | dominik windisch | italy | 2:31 | 2 (0+0+1+1) | 35:36.4 | +3:00.9 row 18 : 35 | 25 | benjamin weger | switzerland | 1:28 | 3 (0+1+1+1) | 36:13.1 | +3:37.6 row 19 : 38 | 22 | tomas kaukenas | lithuania | 1:20 | 4 (0+0+2+2) | 36:33.4 | +3:57.9 row 20 : 42 | 27 | jaroslav soukup | czech republic | 1:32 | 6 (2+2+2+0) | 36:59.8 | +4:24.3 row 21 : 44 | 56 | hidenori isa | japan | 2:27 | 2 (0+0+0+2) | 37:13.9 | +4:38.4 row 22 : 51 | 48 | claudio bockli | switzerland | 2:13 | 3 (2+0+0+1) | 38:02.8 | +5:27.3 ] Execute this SQL based on the above table: select name order by id desc limit 1
claudio bockli
[ header: pos | no | driver | team | laps | time/retired | grid | points row 1 : 1 | 6 | michael andretti | newman-haas racing | 150 | 1:33:39.268 | 8 | 20+1 row 2 : 2 | 99 | greg moore | forsythe racing | 150 | 0.075 | 1 | 16+1 row 3 : 3 | 1 | alex zanardi | chip ganassi racing | 150 | 0.918 | 6 | 14 row 4 : 4 | 11 | christian fittipaldi | newman-haas racing | 150 | 3.359 | 4 | 12 row 5 : 5 | 20 | scott pruett | patrick racing | 150 | 5.257 | 12 | 10 row 6 : 6 | 40 | adrian fernandez | patrick racing | 150 | 5.926 | 5 | 8 row 7 : 7 | 5 | gil de ferran | walker racing | 150 | 6.81 | 11 | 6 row 8 : 8 | 8 | bryan herta | team rahal | 150 | 9.866 | 16 | 5 row 9 : 9 | 27 | dario franchitti | team kool green | 150 | 10.275 | 13 | 4 row 10 : 10 | 17 | mauricio gugelmin | pacwest racing group | 150 | 10.855 | 10 | 3 row 11 : 11 | 33 | patrick carpentier | forsythe racing | 150 | 11.382 | 9 | 2 row 12 : 12 | 18 | mark blundell | pacwest racing group | 150 | 29.029 | 7 | 1 row 13 : 13 | 10 | richie hearn | della penna motorsports | 149 | +1 lap | 15 | None row 14 : 14 | 9 | jj lehto | hogan racing | 149 | +1 lap | 29 | None row 15 : 15 | 15 | roberto moreno | project indy | 149 | +1 lap | 23 | None row 16 : 16 | 12 | jimmy vasser | chip ganassi racing | 148 | +2 laps | 3 | None row 17 : 17 | 3 | andre ribeiro | marlboro team penske | 148 | +2 laps | 2 | None row 18 : 18 | 36 | alex barron | all american racing | 148 | +2 laps | 27 | None row 19 : 19 | 7 | bobby rahal | team rahal | 147 | +3 laps | 17 | None row 20 : 20 | 98 | p. j. jones | all american racing | 146 | +4 laps | 26 | None row 21 : 21 | 77 | arnd meier | davis racing | 136 | +14 laps | 28 | None row 22 : 22 | 2 | al unser, jr | marlboro team penske | 122 | transmission | 14 | None row 23 : 23 | 24 | hiro matsushita | arciero-wells racing | 121 | contact | 24 | None row 24 : 24 | 16 | helio castro-neves | bettenhausen racing | 97 | contact | 22 | None row 25 : 25 | 34 | dennis vitolo | payton/coyne racing | 90 | withdrew | 25 | None row 26 : 26 | 25 | max papis | arciero-wells racing | 83 | wheel bearing | 20 | None row 27 : 27 | 26 | paul tracy | team kool green | 79 | suspension | 21 | None row 28 : 28 | 19 | michel jourdain jr | payton/coyne racing | 78 | handling | 19 | None row 29 : 29 | 21 | tony kanaan | tasman motorsports group | 32 | contact | 18 | None ] Execute this SQL based on the above table: select count ( team )
29
[ header: stage | date | route | terrain | length | winner row 1 : p | 1 july | saint-brieuc | individual time trial | 7.3 km (4.5 mi) | jacky durand (fra) row 2 : 1 | 2 july | dinan - lannion | plain stage | 233.5 km (145.1 mi) | fabio baldato (it row 3 : 2 | 3 july | perros-guirec - vitre | plain stage | 235.5 km (146.3 mi) | mario cipollini (ita row 4 : 3 | 4 july | mayenne - alencon | team time trial | 67.0 km (41.6 mi) | gewiss-ballan (ita row 5 : 4 | 5 july | alencon - le havre | plain stage | 162.0 km (100.7 mi) | mario cipollini (ita row 6 : 5 | 6 july | fecamp - dunkerque | plain stage | 261.0 km (162.2 mi) | jeroen blijlevens row 7 : 6 | 7 july | dunkerque - charlero | plain stage | 202.0 km (125.5 mi) | erik zabel (ger) row 8 : 7 | 8 july | charleroi - liege | hilly stage | 203.0 km (126.1 mi) | johan bruyneel row 9 : 8 | 9 july | huy - seraing | individual time trial | 54.0 km (33.6 mi) | miguel indurain (es row 10 : 9 | 11 july | le grand-bornand - la plagne | stage with mountain(s) | 160.0 km (99.4 mi) | alex zulle (sui) row 11 : 10 | 12 july | la plagne - l'alpe | stage with mountain(s) | 162.5 km (101.0 mi) | marco pantani (ita) row 12 : 11 | 13 july | le bourg-d'oisans | hilly stage | 199.0 km (123.7 mi) | maximilian sciandri (gb row 13 : 12 | 14 july | saint-etienne - mende | hilly stage | 222.5 km (138.3 mi) | laurent jalabert (fra row 14 : 13 | 15 july | mende - revel | plain stage | 245.0 km (152.2 mi) | serhiy utchakov ( row 15 : 14 | 16 july | saint-orens-de-gameville | stage with mountain(s) | 164.0 km (101.9 mi) | marco pantani (ita) row 16 : 15 | 18 july | saint-girons - cautere | stage with mountain(s) | 206.0 km (128.0 mi) | richard virenque (fra row 17 : 16 | 19 july | tarbes - pau | stage with mountain(s) | 149.0 km (92.6 mi) | cancelled row 18 : 17 | 20 july | pau - bordeaux | plain stage | 246.0 km (152.9 mi) | erik zabel (ger) row 19 : 18 | 21 july | montpon-menesterol - lim | plain stage | 166.5 km (103.5 mi) | lance armstrong (usa) row 20 : 19 | 22 july | lac de vassiviere - lac | individual time trial | 46.5 km (28.9 mi) | miguel indurain (es ] Execute this SQL based on the above table: select ( select stage where terrain = 'plain stage' ) - ( select stage where terrain = 'team time trial' )
-2
[ header: week | date | kickoff | opponent | results final score | results team record | game site | attendance row 1 : 1 | saturday, april 13 | 7:00 p.m | at rhein fire | w 27-21 | 1-0 | rheinstadion | 32092 row 2 : 2 | saturday, april 20 | 7:00 p.m | london monarchs | w 37-3 | 2-0 | waldstadion | 34186 row 3 : 3 | sunday, april 28 | 6:00 p.m | at barcelona dragons | w 33-29 | 3-0 | estadi olimpic de mont | 17503 row 4 : 4 | sunday, may 5 | 7:00 p.m | amsterdam admirals | w 40-28 | 4-0 | waldstadion | 28627 row 5 : 5 | saturday, may 11 | 7:00 p.m | scottish claymores | l 0-20 | 4-1 | waldstadion | 32126 row 6 : 6 | sunday, may 19 | 3:00 p.m | at london monarchs | l 7-27 | 4-2 | white hart lane | 10764 row 7 : 7 | sunday, may 26 | 3:00 p.m | at scottish claymores | l 17-20 | 4-3 | murrayfield stadium | 13116 row 8 : 8 | saturday, june 1 | 7:00 p.m | rhein fire | l 8-31 | 4-4 | waldstadion | 38798 row 9 : 9 | saturday, june 8 | 7:00 p.m | barcelona dragons | w 24-21 | 5-4 | waldstadion | 33115 row 10 : 10 | saturday, june 15 | 6:30 p.m | at amsterdam admirals | w 28-20 | 6-4 | olympisch stadion | 14062 row 11 : 11 | sunday, june 23 | 6:00 p.m | at scottish claymores | l 27-32 | 6-5 | murrayfield stadium | 38982 ] Execute this SQL based on the above table: select results team record where attendance = 32092
1-0
[ header: draw | artist | song | points | place row 1 : 1 | the memories | "if it means losing you" | 57 | 8th row 2 : 2 | ann breen | "oh, darling" | 80 | 4th row 3 : 3 | fran meen | "say that you love me" | 66 | 6th row 4 : 4 | dreams | "sin sin ("that's that") | 73 | 5th row 5 : 5 | connor stevens | "count on me" | 88 | 3rd row 6 : 6 | linda martin and friends | "all the people in the world" | 105 | 2nd row 7 : 7 | maggie toal | "feed him with love" | 61 | 7th row 8 : 8 | liam reilly | "somewhere in europe" | 130 | 1st ] Execute this SQL based on the above table: select ( select id where song = '"oh, darling"' ) < ( select id where song = '"say that you love me"' )
1
[ header: year | film | role | language row 1 : 2004 | 7g rainbow colony | kadhir | tamil row 2 : 2005 | sukran | ravi shankar | tamil row 3 : 2005 | ponniyin selvan | venu | tamil row 4 : 2006 | kedi | raghu | tamil row 5 : 2008 | brahmanandam drama company | ravi | telugu row 6 : 2008 | netru indru naal | vetri | tamil row 7 : 2008 | ninna nedu rep | vijay | telugu row 8 : 2009 | kadhalna summa | vetrivel | tamil row 9 : 2011 | aaranya kaandam | sappai | tamil ] Execute this SQL based on the above table: select max ( year )
2011
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | united states | 5 | 6 | 5 | 16 row 2 : 2 | jamaica | 4 | 1 | 1 | 6 row 3 : 3 | netherlands | 2 | 0 | 0 | 2 row 4 : 4 | bahamas | 1 | 1 | 0 | 2 row 5 : 5 | ukraine | 1 | 0 | 1 | 2 row 6 : 6 | east germany | 1 | 0 | 0 | 1 row 7 : 6 | greece | 1 | 0 | 0 | 1 row 8 : 6 | soviet union | 1 | 0 | 0 | 1 row 9 : 9 | ivory coast | 0 | 2 | 0 | 2 row 10 : 9 | united kingdom | 0 | 2 | 0 | 2 row 11 : 11 | belgium | 0 | 1 | 1 | 2 row 12 : 12 | bulgaria | 0 | 1 | 0 | 1 row 13 : 12 | russia | 0 | 1 | 0 | 1 row 14 : 12 | germany | 0 | 1 | 0 | 1 row 15 : 15 | canada | 0 | 0 | 2 | 2 row 16 : 15 | france | 0 | 0 | 2 | 2 row 17 : 17 | belarus | 0 | 0 | 1 | 1 row 18 : 17 | cuba | 0 | 0 | 1 | 1 row 19 : 17 | gabon | 0 | 0 | 1 | 1 row 20 : 17 | british virgin islands | 0 | 0 | 1 | 1 row 21 : total | total | 16 | 16 | 16 | 48 ] Execute this SQL based on the above table: select nation where nation = 'gabon'
gabon
[ header: game | date | opponent | location | score | ot | attendance | record row 1 : 1 | january 8, 2005 | philadelphia wings | arrowhead pond | w 13-10 | None | 5,732 | 1-0 row 2 : 2 | january 22, 2005 | rochester knighthawks | arrowhead pond | l 11-15 | None | 4,053 | 1-1 row 3 : 3 | january 28, 2005 | @ minnesota swarm | xcel energy center | w 8-7 | None | 12,514 | 2-1 row 4 : 4 | january 29, 2005 | calgary roughnecks | arrowhead pond | l 12-13 | None | 4,159 | 2-2 row 5 : 5 | february 4, 2005 | @ arizona sting | jobing.com arena | l 10-17 | None | 6,313 | 2-3 row 6 : 6 | february 11, 2005 | @ buffalo bandits | hsbc arena | l 9-20 | None | 8,805 | 2-4 row 7 : 7 | february 18, 2005 | @ calgary roughnecks | pengrowth saddledome | l 15-18 | None | 9,550 | 2-5 row 8 : 8 | march 4, 2005 | colorado mammoth | arrowhead pond | l 12-13 | None | 4,500 | 2-6 row 9 : 9 | march 13, 2005 | toronto rock | arrowhead pond | l 6-14 | None | 4,499 | 2-7 row 10 : 10 | march 19, 2005 | @ colorado mammoth | pepsi center | l 8-16 | None | 16,270 | 2-8 row 11 : 11 | march 25, 2005 | @ san jose stealth | hp pavilion at san jose | l 14-15 | None | 5,022 | 2-9 row 12 : 12 | march 26, 2005 | san jose stealth | arrowhead pond | w 13-12 | ot | 4,834 | 3-9 row 13 : 13 | april 2, 2005 | @ colorado mammoth | pepsi center | w 10-6 | None | 18,326 | 4-9 row 14 : 14 | april 9, 2005 | minnesota swarm | arrowhead pond | l 11-12 | ot | 4,967 | 4-10 row 15 : 15 | april 15, 2005 | arizona sting | arrowhead pond | l 12-14 | None | 5,891 | 4-11 row 16 : 16 | april 16, 2005 | @ arizona sting | jobing.com arena | w 11-10 | None | 7,731 | 5-11 ] Execute this SQL based on the above table: select count ( opponent )
16
[ header: season | division | w-l | finish | home | road | gf | ga | coach | playoffs | avg attendance row 1 : 2006 | western | 1-15 | 6th | 0-8 | 1-7 | 150 | 202 | paul day | missed playoffs | 10367 row 2 : 2007 | western | 6-10 | 5th | 4-4 | 2-6 | 160 | 189 | paul day | missed playoffs | 10815 row 3 : 2008 | western | 4-12 | 5th | 3-5 | 1-7 | 141 | 197 | paul day (0-5) bob ham | missed playoffs | 8820 row 4 : 2009 | western | 5-11 | 6th | 4-4 | 1-7 | 159 | 200 | bob hamley | missed playoffs | 8347 row 5 : 2010 | western | 10-6 | 3rd | 5-3 | 5-3 | 186 | 201 | derek keenan | lost in western final | 7558 row 6 : 2011 | western | 5-11 | 5th | 4-4 | 1-7 | 175 | 204 | derek keenan | missed playoffs | 7151 row 7 : 2012 | western | 6-10 | 4th | 4-4 | 2-6 | 167 | 175 | derek keenan | lost in final | 7050 row 8 : 2013 | western | 9-7 | 3rd | 2-6 | 7-1 | 203 | 170 | derek keenan | lost in western semi-final | 6714 row 9 : total | 8 seasons | 46-82 | None | 26-38 | 20-44 | 1341 | 1538 | None | None | 8353 row 10 : playoff totals | None | 3-3 | None | 0-0 | 3-3 | 73 | 54 | None | None | None ] Execute this SQL based on the above table: select home order by gf limit 1
0-0
[ header: # | president | president's party | senate with | senate opposed | house with | house opposed | years served | elections won row 1 : 1 | george washington | federalist-leaning | 8 | 0 | 6 | 2 | 8 | 2 row 2 : 3 | thomas jefferson | democratic-republican | 8 | 0 | 8 | 0 | 8 | 2 row 3 : 4 | james madison | democratic-republican | 8 | 0 | 8 | 0 | 8 | 2 row 4 : 7 | andrew jackson | democratic | 8 | 0 | 8 | 0 | 8 | 2 row 5 : 8 | martin van buren | democratic | 4 | 0 | 4 | 0 | 4 | 1 row 6 : 10 | john tyler | whig/none | 4 | 0 | 2 | 2 | 4 | 0 row 7 : 13 | millard fillmore | whig | 0 | 3 | 0 | 3 | 3 | 0 row 8 : 15 | james buchanan | democratic | 4 | 0 | 2 | 2 | 4 | 1 row 9 : 16 | abraham lincoln | republican | 4 | 0 | 4 | 0 | 4 | 2 row 10 : 17 | andrew johnson | democratic | 0 | 4 | 0 | 4 | 4 | 0 row 11 : 18 | ulysses grant | republican | 8 | 0 | 6 | 2 | 8 | 2 row 12 : 20 | james garfield | republican | 0 | 0.5 | 0.5 | 0 | 0.5 | 1 row 13 : 21 | chester arthur | republican | 4 | 0 | 2 | 2 | 4 | 0 row 14 : 24 | grover cleveland | democratic | 2 | 2 | 2 | 2 | 4 | 1 row 15 : 25 | william mckinley | republican | 4 | 0 | 4 | 0 | 4 | 2 row 16 : 26 | theodore roosevel | republican | 8 | 0 | 8 | 0 | 8 | 1 row 17 : 27 | william taft | republican | 4 | 0 | 2 | 2 | 4 | 1 row 18 : 28 | woodrow wilson | democratic | 6 | 2 | 6 | 2 | 8 | 2 row 19 : 29 | warren harding | republican | 2 | 0 | 2 | 0 | 2 | 1 row 20 : 30 | calvin coolidge | republican | 6 | 0 | 6 | 0 | 6 | 1 row 21 : 31 | herbert hoover | republican | 4 | 0 | 2 | 2 | 4 | 1 row 22 : 34 | dwight eisenhower | republican | 2 | 6 | 2 | 6 | 8 | 2 row 23 : 36 | lyndon johnson | democratic | 5 | 0 | 5 | 0 | 5 | 1 row 24 : 38 | gerald ford | republican | 0 | 2 | 0 | 2 | 2 | 0 row 25 : 39 | jimmy carter | democratic | 4 | 0 | 4 | 0 | 4 | 1 row 26 : 41 | george h. w. bush | republican | 0 | 4 | 0 | 4 | 4 | 1 row 27 : 42 | bill clinton | democratic | 2 | 6 | 2 | 6 | 8 | 2 row 28 : 43 | george w. bush | republican | 4.5 | 3.5 | 6 | 2 | 8 | 2 row 29 : 44 | barack obama | democratic | 6 | 0 | 2 | 4 | 6 | 2 ] Execute this SQL based on the above table: select years served where president's party = 'democratic'
8.0, 4.0, 4.0, 4.0, 4.0, 8.0, 5.0, 4.0, 8.0, 6.0
[ header: date | opponent# | rank# | site | result row 1 : september 12 | at colorado | None | folsom field • boulder, co | w 44-6 row 2 : september 19 | at #5 ohio state | None | ohio stadium • columbus | l 14-24 row 3 : september 26 | san diego state | None | autzen stadium • eugene | w 25-20 row 4 : october 3 | #16 washington | None | autzen stadium • eugene | w 29-22 row 5 : october 10 | usc | None | autzen stadium • eugene | w 34-27 row 6 : october 17 | at #9 ucla | #16 | rose bowl • pasadena, ca | l 10-41 row 7 : october 24 | at stanford | None | stanford stadium • stanford, ca | l 10-13 row 8 : october 31 | california | None | autzen stadium • eugene | l 6-20 row 9 : november 7 | at arizona state | None | sun devil stadium • tempe, a | l 17-37 row 10 : november 14 | at washington state | None | martin stadium • pullman, wa | w 31-17 row 11 : november 21 | oregon state | None | autzen stadium • eugene | w 44-0 ] Execute this SQL based on the above table: select result where date = 'october 31'
l 6-20
[ header: ship name | in service | project number | type | class | comments row 1 : lenin | 1959 | 92m | icebreaker | None | decommissioned 1989. museum ship row 2 : arktika | 1975 | 1052-1 | icebreaker | arktika | not operational row 3 : sibir | 1977 | 1052-2 | icebreaker | arktika | defueled and not operational since 1993 row 4 : rossiya | 1985 | 10521-1 | icebreaker | arktika | None row 5 : sevmorput | 1988 | 10081 | container ship | None | has ice-breaking bow row 6 : taymyr | 1989 | 10580-1 | river icebreaker | taymyr | None row 7 : sovetskiy soyuz | 1990 | 10521-2 | icebreaker | arktika | None row 8 : vaygach | 1990 | 10580-2 | river icebreaker | taymyr | None row 9 : yamal | 1993 | 10521-3 | icebreaker | arktika | None row 10 : 50 let pobedy | 2007 | 10521 | icebreaker | arktika | built as ural, completed in 2007 ] Execute this SQL based on the above table: select class where comments = comments
arktika, arktika, arktika
[ header: rank | lane | name | nationality | time | notes row 1 : 1 | 4 | petra chocova | czech republic | 31.44 | q row 2 : 2 | 5 | sycerika mcma | ireland | 31.51 | q row 3 : 3 | 6 | concepcion badillo diaz | spain | 31.66 | q row 4 : 4 | 1 | katharina stiberg | norway | 31.84 | q row 5 : 5 | 3 | hrafnhildur | iceland | 31.95 | q row 6 : 6 | 8 | anastasia christoforou | cyprus | 31.98 | None row 7 : 7 | 2 | ivana ninkovic | bosnia and herzegovin | 32.26 | None row 8 : 8 | 7 | jenna laukkanen | finland | 32.26 | None ] Execute this SQL based on the above table: select notes where notes in ( 'q' , 'cyprus' ) group by notes order by count ( * ) desc limit 1
q
[ header: | 1948 | 1952 | 1956 | 1960 | 1964 row 1 : all voters | 50 | 45 | 42 | 50 | 61 row 2 : white | 50 | 43 | 41 | 49 | 59 row 3 : black | 50 | 79 | 61 | 68 | 94 row 4 : college educated | 22 | 34 | 31 | 39 | 52 row 5 : high school educated | 51 | 45 | 42 | 52 | 62 row 6 : grade school educated | 64 | 52 | 50 | 55 | 66 row 7 : professional & business | 19 | 36 | 32 | 42 | 54 row 8 : white collar | 47 | 40 | 37 | 48 | 57 row 9 : manual worker | 66 | 55 | 50 | 60 | 71 row 10 : farmer | 60 | 33 | 46 | 48 | 53 row 11 : union member | 76 | None | 51 | 62 | 77 row 12 : not union | 42 | None | 35 | 44 | 56 row 13 : protestant | 43 | 37 | 37 | 38 | 55 row 14 : catholic | 62 | 56 | 51 | 78 | 76 row 15 : republican | None | 8 | 4 | 5 | 20 row 16 : independent | None | 35 | 30 | 43 | 56 row 17 : democrat | None | 77 | 85 | 84 | 87 row 18 : east | 48 | 45 | 40 | 53 | 68 row 19 : midwest | 50 | 42 | 41 | 48 | 61 row 20 : west | 49 | 42 | 43 | 49 | 60 row 21 : south | 53 | 51 | 49 | 51 | 52 ] Execute this SQL based on the above table: select count ( * ) where = 'not union'
1
[ header: place | player | country | score | to par | money ($) row 1 : t1 | bobby jones (a) | united states | 69-75-71-79=2 | 6 | playoff row 2 : t1 | al espinosa | united states | 70-72-77-75=294 | 6 | playoff row 3 : t3 | gene sarazen | united states | 71-71-76-78=2 | 8 | 700 row 4 : t3 | denny shute | united states | 73-71-76-76=2 | 8 | 700 row 5 : t5 | tommy armour | scotland united states | 74-71-76-76=2 | 9 | 550 row 6 : t5 | george von elm (a | united states | 79-70-74-74=2 | 9 | 0 row 7 : 7 | henry ciuci | united states | 78-74-72-75=2 | 11 | 450 row 8 : t8 | leo diegel | united states | 74-74-76-77=301 | 13 | 300 row 9 : t8 | peter o'hara | united states | 74-76-73-78=301 | 13 | 300 row 10 : 10 | horton smith | united states | 76-77-74-75=30 | 14 | 150 ] Execute this SQL based on the above table: select count ( score ) where country = 2
0
[ header: staple: | maize / corn | rice | wheat | potato | cassava | soybean (green) | sweet potato | sorghum | yam | plantain row 1 : component (per 100g portion) | amount | amount | amount | amount | amount | amount | amount | amount | amount | amount row 2 : water (g) | 10 | 12 | 13 | 79 | 60 | 68 | 77 | 9 | 70 | 65 row 3 : energy (kj) | 1528 | 1528 | 1369 | 322 | 670 | 615 | 360 | 1419 | 494 | 511 row 4 : protein (g) | 9.4 | 7.1 | 12.6 | 2 | 1.4 | 13 | 1.6 | 11.3 | 1.5 | 1.3 row 5 : fat (g) | 4.74 | 0.66 | 1.54 | 0.09 | 0.28 | 6.8 | 0.05 | 3.3 | 0.17 | 0.37 row 6 : carbohydrates (g) | 74 | 80 | 71 | 17 | 38 | 11 | 20 | 75 | 28 | 32 row 7 : fiber (g) | 7.3 | 1.3 | 12.2 | 2.2 | 1.8 | 4.2 | 3 | 6.3 | 4.1 | 2.3 row 8 : sugar (g) | 0.64 | 0.12 | 0.41 | 0.78 | 1.7 | 0 | 4.18 | 0 | 0.5 | 15 row 9 : calcium (mg) | 7 | 28 | 29 | 12 | 16 | 197 | 30 | 28 | 17 | 3 row 10 : iron (mg) | 2.71 | 0.8 | 3.19 | 0.78 | 0.27 | 3.55 | 0.61 | 4.4 | 0.54 | 0.6 row 11 : phosphorus (mg) | 210 | 115 | 288 | 57 | 27 | 194 | 47 | 287 | 55 | 34 row 12 : potassium (mg) | 287 | 115 | 363 | 421 | 271 | 620 | 337 | 350 | 816 | 499 row 13 : sodium (mg) | 35 | 5 | 2 | 6 | 14 | 15 | 55 | 6 | 9 | 4 row 14 : zinc (mg) | 2.21 | 1.09 | 2.65 | 0.29 | 0.34 | 0.99 | 0.3 | 0 | 0.24 | 0.14 row 15 : copper (mg) | 0.31 | 0.22 | 0.43 | 0.11 | 0.1 | 0.13 | 0.15 | None | 0.18 | 0.08 row 16 : manganese (mg) | 0.49 | 1.09 | 3.99 | 0.15 | 0.38 | 0.55 | 0.26 | None | 0.4 | None row 17 : selenium (μg) | 15.5 | 15.1 | 70.7 | 0.3 | 0.7 | 1.5 | 0.6 | 0 | 0.7 | 1.5 row 18 : vitamin c (mg) | 0 | 0 | 0 | 19.7 | 20.6 | 29 | 2.4 | 0 | 17.1 | 18.4 row 19 : thiamin (mg) | 0.39 | 0.07 | 0.3 | 0.08 | 0.09 | 0.44 | 0.08 | 0.24 | 0.11 | 0.05 row 20 : riboflavin (mg) | 0.2 | 0.05 | 0.12 | 0.03 | 0.05 | 0.18 | 0.06 | 0.14 | 0.03 | 0.05 row 21 : pantothenic acid (mg) | 0.42 | 1.01 | 0.95 | 0.3 | 0.11 | 0.15 | 0.8 | None | 0.31 | 0.26 row 22 : vitamin b6 (mg) | 0.62 | 0.16 | 0.3 | 0.3 | 0.09 | 0.07 | 0.21 | None | 0.29 | 0.3 row 23 : folate total (μg) | 19 | 8 | 38 | 16 | 27 | 165 | 11 | 0 | 23 | 22 row 24 : vitamin a (iu) | 214 | 0 | 9 | 2 | 13 | 180 | 14187 | 0 | 138 | 1127 ] Execute this SQL based on the above table: select count ( staple: ) where yam >= 8
10
[ header: | name on the register | date listed | location | city or town | summary row 1 : 40 | highland park general hospital | october 31, 1985 (#850 | 357 glendale ave. | highland park | the highland park general hospital is a ] Execute this SQL based on the above table: select count ( name on the register ) where name on the register = 'highland park general hospital'
1
[ header: place | player | country | score | to par row 1 : 1 | tiger woods | united states | 67-66-67=200 | -16 row 2 : t2 | thomas bjørn | denmark | 69-69-68=206 | -10 row 3 : t2 | david duval | united states | 70-70-66=206 | -10 row 4 : t4 | darren clarke | northern ireland | 70-69-68=207 | -9 row 5 : t4 | loren roberts | united states | 69-68-70=207 | -9 row 6 : t4 | david toms | united states | 69-67-71=207 | -9 row 7 : t7 | ernie els | south africa | 66-72-70=208 | -8 row 8 : t7 | steve flesch | united states | 67-70-71=208 | -8 row 9 : t7 | tom lehman | united states | 68-70-70=208 | -8 row 10 : t7 | dennis paulson | united states | 68-71-70=208 | -8 ] Execute this SQL based on the above table: select ( select player where place = 't4' ) > ( select player where place = 't7' )
0
[ header: model | release date | sensor res., size | lens (35 mm equiv.) zoom, aperture | screen size, pixels | dimensions w (mm) × h (mm) × d (mm) | weight | features row 1 : s01 | aug 22, 2012 | 10.1 mp 3648x2736 1/2 | 29-87 mm (3×) f | 2.5 in 230 kpixel | 77 × 51.2 × 17.2 | 96 g (w/batt. | ccd sensor, 2.5 in touch screen row 2 : s30 | feb 1, 2012 | 10.1 mp 3648x2736 1/3 | 29.1-87.3 mm (3×) | 2.7 in 230 kpixel | 101.9 × 64.8 × 39. | 214 g (w/batt. | compact drop-resistant and waterproof with large buttons and row 3 : s800c | aug 22, 2012 | 16.0 mp 4608x3456 1/2 | 25-250 mm (10×) f | 3.5 in 819 kpixel | 111.4 × 60.0 × 27.2 | 184 g (w/batt. | android 2.3 os, 3.5 in row 4 : s1200pj | aug 24, 2011 | 14.1 mp 4320x3240 1/2 | 28-140 mm (5×) f | 3 in 460 kpixel | 107 × 63.4 × 22.6 | 186 g (w/batt. | ccd sensor, built-in project row 5 : s2600 | None | 14.0 mp 4320x3240 1/2 | 26-130 mm (5×) f | 2.7 in 230 kpixel | 93.8 × 58.4 × | 121 g (w/batt. | None row 6 : s3300 | feb 1, 2012 | 16.0 mp 4608x3456 1/2 | 26-156 mm (6×) f | 2.7 in 230 kpixel | 94.8 × 57.8 × | 128 g (w/batt. | None row 7 : s4300 | feb 1, 2012 | 16.0 mp 4608x3456 1/2 | 26-156 mm (6×) f | 3 in 460 kpixel | 95.5 × 58.9 × | 139 g (w/batt. | None row 8 : s6400 | aug 22, 2012 | 16.0 mp 4608x3456 1/2 | 25-300 mm (12×) f | 3.0 in 460 kpixel | 95.4 × 58.6 × | 150 g (w/batt.) | cmos sensor, lens-based vibration reduction row 9 : s9300 | feb 1, 2012 | 16.0 mp 4608x3456 1/2 | 25-450 mm (18×) f | 3 in 921 kpixel | 108.7 × 62.3 × | 215 g (w/batt. | s9200 with built in gp ] Execute this SQL based on the above table: select sum ( weight ) + sum ( weight )
2866.0
[ header: year | laureate | relation | category | rationale row 1 : 1922 | otto fritz meyerhof | research professor in physiological chemistry, 1940-1951 | physiology or medicine | "for his discovery of the fixed relationship between the row 2 : 1955 | vincent du vigneaud | assistant in biochemistry, graduate school of medicine, | chemistry | "for his work on sulphur compounds row 3 : 1964 | martin luther king | graduate student, 1950-51 | nobel peace prize | for being "the first person in the western world row 4 : 1967 | ragnar granit | research fellow, 1929-1931; sc | physiology or medicine | "for their discoveries concerning the primary physiological and chemical row 5 : 1971 | simon kuznets | assistant professor of economic statistics, 1930-1934; | economics | "for his empirically founded interpretation of economic growth row 6 : 1985 | michael stuart brown | a.b., 1962; m | physiology or medicine | "for their discoveries concerning the regulation of cholesterol metabolism row 7 : 2000 | alan macdiarmid | department of chemistry, 1955- ; blanc | chemistry | "for their discovery and development of conductive poly row 8 : 2000 | hideki shirakawa | department of chemistry, post-doctoral | chemistry | "for their discovery and development of conductive poly row 9 : 2004 | edward c. prescott | assistant professor, 1967-1971 | economics | "for their contributions to dynamic macroeconomics: row 10 : 2006 | edmund phelps | professor, 1966-1971 | economics | "for his analysis of intertemporal tradeoff row 11 : 2009 | george e. smith | b.s., 1955 | physics | "for the invention of an imaging semiconductor circuit row 12 : 2009 | oliver e. williamson | professor, 1965-1983 | economics | "for his analysis of economic governance, especially the row 13 : 2010 | ei'ichi negishi | ph.d., 1963 | chemistry | "for palladium-catalyze row 14 : 2011 | thomas j. sargent | professor, 1970-1971 | economics | "for their empirical research on cause and effect in ] Execute this SQL based on the above table: select rationale where relation = 'professor, 1970-1971'
"for their empirical research on cause and effect in the macroeconomy"
[ header: no. | date | tournament | winning score | margin of victory | runner(s)-up row 1 : 4 | may 21, 1978 | coca-cola classic | -3 (69-71-70=210 | playoff | joanne carner row 2 : 8 | aug 6, 1978 | colgate european open | -7 (73-71-72-73 | 3 strokes | joanne carner, mary d row 3 : 9 | nov 12, 1978 | colgate far east open | e (75-69-72=216 | 2 strokes | silvia bertolaccini, row 4 : 11 | mar 25, 1979 | sahara national pro-am | -16 (72-67-66-69 | 2 strokes | donna caponi row 5 : 17 | sep 30, 1979 | mary kay classic | -14 (71-66-67-70 | 2 strokes | sandra post row 6 : 18 | mar 30, 1980 | women's kemper open | e (72-66-77-69 | 2 strokes | debbie massey, jo an row 7 : 19 | jun 29, 1980 | the sarah coventry | -9 (73-67-72-71 | 1 stroke | pat bradley row 8 : 20 | sep 1, 1980 | rail charity golf classic | -13 (65-71-71-68 | 1 stroke | joanne carner row 9 : 21 | mar 8, 1981 | arizona copper classic | -14 (70-72-68-68 | 4 strokes | pat bradley row 10 : 22 | apr 5, 1981 | colgate-dinah shore | -11 (71-73-69-64 | 2 strokes | carolyn hill row 11 : 28 | mar 4, 1984 | uniden lpga invitational | e (70-74-66-74=28 | 3 strokes | pat bradley row 12 : 29 | aug 19, 1984 | chevrolet world championship of women' | -7 (69-74-65-73=28 | 1 stroke | joanne carner row 13 : 30 | may 19, 1985 | chrysler-plymouth classic | -9 (69-69-72=210 | 3 strokes | pat bradley row 14 : 32 | jul 7, 1985 | mazda hall of fame championship | -7 (71-70-72-68 | 3 strokes | joanne carner, allison fin row 15 : 36 | sep 13, 1987 | cellular one-ping golf championship | -6 (72-67-71=210 | 1 stroke | kelly leadbetter, muffin s row 16 : 39 | may 15, 1988 | chrysler-plymouth classic | -12 (68-70-66=204 | 8 strokes | jan stephenson row 17 : 42 | sep 24, 1989 | nippon travel-mbs classic | -11 (73-69-65-70 | 2 strokes | alice ritzman, pamela row 18 : 43 | sep 23, 1990 | mbs lpga classic | -7 (69-70-74-68 | playoff | cathy gerring row 19 : 44 | may 5, 1991 | sara lee classic | -10 (65-70-71=206) | 2 strokes | kris monaghan row 20 : 47 | jul 11, 1993 | youngstown-warren lpg | -13 (68-68-67=203 | playoff | deb richard ] Execute this SQL based on the above table: select count ( * )
20
[ header: region | date | label | format row 1 : australia | march 4, 2011 | warner music group | cd, digital download row 2 : united kingdom | march 7, 2011 | atlantic records | cd, digital download row 3 : france | march 7, 2011 | atlantic records | cd, digital download row 4 : united states | march 8, 2011 | atlantic records | cd, digital download row 5 : canada | march 8, 2011 | warner music group | cd, digital download row 6 : japan | march 23, 2011 | None | cd, digital download row 7 : germany | april 29, 2011 | atlantic records | cd, digital download row 8 : austria | april 29, 2011 | atlantic records | cd, digital download row 9 : switzerland | april 29, 2011 | atlantic records | cd, digital download ] Execute this SQL based on the above table: select label order by id asc limit 380
warner music group, atlantic records, atlantic records, atlantic records, warner music group, atlantic records, atlantic records, atlantic records
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | united states | 12 | 13 | 6 | 31 row 2 : 2 | russia | 10 | 5 | 6 | 21 row 3 : 3 | australia | 8 | 12 | 6 | 26 row 4 : 4 | china | 7 | 4 | 8 | 19 row 5 : 5 | germany | 5 | 6 | 5 | 16 row 6 : 6 | japan | 3 | 3 | 3 | 9 row 7 : 7 | netherlands | 3 | 2 | 2 | 7 row 8 : 8 | great britain | 2 | 3 | 3 | 8 row 9 : 9 | ukraine | 2 | 3 | 2 | 7 row 10 : 10 | italy | 2 | 2 | 1 | 5 row 11 : 11 | canada | 2 | 0 | 1 | 3 row 12 : 12 | hungary | 1 | 4 | 1 | 6 row 13 : 13 | spain | 1 | 2 | 3 | 6 row 14 : 14 | poland | 1 | 1 | 0 | 2 row 15 : 15 | france | 1 | 0 | 2 | 3 row 16 : 16 | finland | 1 | 0 | 1 | 2 row 17 : 17 | belarus | 1 | 0 | 0 | 1 row 18 : 18 | czech republic | 0 | 2 | 0 | 2 row 19 : 19 | slovakia | 0 | 1 | 1 | 2 row 20 : 20 | denmark | 0 | 1 | 0 | 1 row 21 : 20 | croatia | 0 | 1 | 0 | 1 row 22 : 22 | romania | 0 | 0 | 2 | 2 row 23 : 23 | bulgaria | 0 | 0 | 1 | 1 row 24 : 23 | mexico | 0 | 0 | 1 | 1 row 25 : 23 | serbia and montenegro | 0 | 0 | 1 | 1 row 26 : 23 | south africa | 0 | 0 | 1 | 1 row 27 : 23 | sweden | 0 | 0 | 1 | 1 row 28 : 23 | tunisia | 0 | 0 | 1 | 1 row 29 : total | total | 62 | 65 | 59 | 186 ] Execute this SQL based on the above table: select nation order by bronze desc limit 1
total
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | france | 1 | 3 | 0 | 4 row 2 : 2 | england | 1 | 2 | 1 | 4 row 3 : 3 | ireland | 1 | 1 | 0 | 2 row 4 : 3 | sweden | 1 | 1 | 0 | 2 row 5 : 5 | belgium | 1 | 0 | 2 | 3 row 6 : 6 | hungary | 1 | 0 | 0 | 1 row 7 : 6 | netherlands | 1 | 0 | 0 | 1 row 8 : 6 | spain | 1 | 0 | 0 | 1 row 9 : 9 | scotland | 0 | 1 | 0 | 1 row 10 : 10 | czechoslovakia | 0 | 0 | 2 | 2 row 11 : 10 | italy | 0 | 0 | 2 | 2 row 12 : 12 | denmark | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select nation where id = ( select id where silver = 1 ) + 1
sweden
[ header: model | class | length | fuel | starting price row 1 : tour | class a | 42' | diesel | $362,285 row 2 : journey | class a | 35'-43' | diesel | $246,736 row 3 : adventurer | class a | 32'-37' | gas | $150,711 row 4 : via | class a | 25' | diesel | $126,476 row 5 : sightseer | class a | 31'-37' | gas | $126,162 row 6 : vista | class a | 26'-35' | gas | $107,717 row 7 : view | class c | 24'-25' | diesel | $100,955 row 8 : aspect | class c | 29'-31' | gas | $95,948 row 9 : access | class c | 25'-31' | gas | $74,704 ] Execute this SQL based on the above table: select model order by starting price desc limit 1
tour
[ header: japanese title | western title | regions | release | platform(s) | genre row 1 : chinese hero | None | jp | 1984 | arcade | action row 2 : super chinese | kung-fu heroes | jp, na | 1986 | fc/nes | action row 3 : super chinese 2 | little ninja brothers | jp, na | 1989 | fc/nes | role-playing row 4 : super chinese 3 | None | jp | 1991 | fc | role-playing row 5 : super chinese land | ninja boy | jp, na | 1990 | gb | action row 6 : super chinese land 2 | ninja boy 2 | jp, na | 1990 | gb | role-playing row 7 : super chinese land 3 | None | jp | 1995 | gb | role-playing row 8 : super chinese world | super ninja boy | jp, na | 1991 | sfc/snes | role-playing row 9 : super chinese world 2 | None | jp | 1993 | sfc | role-playing row 10 : super chinese world 3 | None | jp | 1995 | sfc | role-playing row 11 : super chinese fighter | None | jp | 1995 | sfc | fighting row 12 : super chinese fighter gb | None | jp | 1996 | gb | fighting row 13 : super chinese fighter ex | None | jp | 1999 | gbc | fighting ] Execute this SQL based on the above table: select western title where id = ( select id where western title = 'little ninja brothers' ) - 1
kung-fu heroes
[ header: year | title | lead vocalist | aria chart position | album row 1 : 1985 | "time out (for serious fun)" | sandi chick | None | None row 2 : 1985 | "sweat it out" | peter blakeley | None | None row 3 : 1987 | "rhymes" | john kenny | None | tales of the city row 4 : 1987 | "new groove" | john kenny | None | tales of the city row 5 : 1988 | "what's it gonna be" | john kenny | None | tales of the city row 6 : 1988 | "jump" | wendy matthews | None | tales of the city row 7 : 1988 | "dreams in the empty city" | john kenny | None | tales of the city row 8 : 1988 | "boogietron" | ensemble | None | tales of the city row 9 : 1991 | "ain't no sunshine" | deni hines | 5 | form 1 planet row 10 : 1992 | "that word (l.o.v. | deni hines | 4 | form 1 planet row 11 : 1992 | "it's not over" | deni hines | 15 | form 1 planet row 12 : 1992 | "stronger together" | doug williams | None | form 1 planet row 13 : 1992 | "love's gonna bring you home | doug williams | None | form 1 planet row 14 : 1993 | "form one planet" | eric sebastian | None | form 1 planet row 15 : 2002 | "all i want is you" | jeremy gregory | 41 | rockies 3 row 16 : 2002 | "i ain't playin' | roxane lebrasse | 79 | rockies 3 row 17 : 2002 | "police woman 2002" (with groove quant | None | None | None ] Execute this SQL based on the above table: select min ( year ) - 1987 where year > 1987
1
[ header: week | date | opponent | result | venue | attendance row 1 : 1 | september 3, 1978 | at detroit lions | w 13-7 | pontiac silverdome | 51187 row 2 : 2 | september 10, 1978 | new orleans saints | w 28-17 | milwaukee county stadium | 54336 row 3 : 3 | september 17, 1978 | oakland raiders | l 28-3 | lambeau field | 55903 row 4 : 4 | september 24, 1978 | at san diego chargers | w 24-3 | san diego stadium | 42755 row 5 : 5 | october 1, 1978 | detroit lions | w 35-14 | milwaukee county stadium | 54601 row 6 : 6 | october 8, 1978 | chicago bears | w 24-14 | lambeau field | 56267 row 7 : 7 | october 15, 1978 | seattle seahawks | w 45-28 | milwaukee county stadium | 52712 row 8 : 8 | october 22, 1978 | at minnesota vikings | l 21-7 | metropolitan stadium | 47411 row 9 : 9 | october 29, 1978 | tampa bay buccaneers | w 9-7 | lambeau field | 55108 row 10 : 10 | november 5, 1978 | at philadelphia eagle | l 10-3 | veterans stadium | 64214 row 11 : 11 | november 12, 1978 | dallas cowboys | l 42-14 | milwaukee county stadium | 55256 row 12 : 12 | november 19, 1978 | at denver broncos | l 16-3 | mile high stadium | 74965 row 13 : 13 | november 26, 1978 | minnesota vikings | t 10-10 (ot) | lambeau field | 51737 row 14 : 14 | december 3, 1978 | at tampa bay buccaneers | w 17-7 | tampa stadium | 67754 row 15 : 15 | december 10, 1978 | at chicago bears | l 14-0 | soldier field | 34306 row 16 : 16 | december 17, 1978 | at los angeles rams | l 31-14 | los angeles memorial coliseum | 42500 ] Execute this SQL based on the above table: select count ( opponent ) where opponent = 'detroit lions'
1
[ header: rank | heat | name | nationality | time | notes row 1 : 1 | 1 | lacena golding-clarke | jamaica | 12.74 | q, pb row 2 : 2 | 1 | vonette dixon | jamaica | 12.83 | q, pb row 3 : 3 | 2 | diane allahgreen | england | 12.92 | q, pb row 4 : 4 | 2 | brigitte foster | jamaica | 12.98 | q row 5 : 5 | 2 | angela atede | nigeria | 13.01 | q, sb row 6 : 6 | 1 | angela whyte | canada | 13.03 | q, pb row 7 : 7 | 1 | julie pratt | england | 13.08 | q, pb row 8 : 8 | 2 | jacquie munro | australia | 13.22 | q row 9 : 9 | 1 | melanie wilkins | england | 13.29 | None row 10 : 9 | 2 | sriyani kulawans | sri lanka | 13.29 | None row 11 : 11 | 1 | fiona cullen | australia | 13.45 | None row 12 : 12 | 2 | rachel king | wales | 13.58 | None row 13 : 13 | 2 | tamsin stephens | northern ireland | 13.59 | None row 14 : 14 | 1 | christy akinremi | nigeria | 13.73 | None row 15 : None | 2 | shabana khattak | pakistan | dnf | None row 16 : None | 1 | carole kaboud mebam | cameroon | dns | None row 17 : None | 1 | olutoyin augustus | nigeria | dns | None ] Execute this SQL based on the above table: select nationality where id = ( select id where nationality = 'sri lanka' ) + 1
australia
[ header: no. | title | directed by | written by | original air date row 1 : 1 | "reunion" | bryan spicer | patrick massett & john | january 27, 2003 row 2 : 2 | "antarctica" | perry lang | patrick massett & john | february 3, 2003 row 3 : 3 | "skulls" | adam nimoy | patrick massett & john | february 10, 2003 row 4 : 4 | "heist" | rick kolbe | rick kellard | march 10, 2003 row 5 : 5 | "the wheel of dharma" | r. w. goodwin | stephanie bloch-chambers | None row 6 : 6 | "sangraal" | perry lang | gabrielle stanton & harry | None row 7 : 7 | "mummy virus" | vern gillum | rick kellard & thani | None row 8 : 8 | "name of god" | michael nankin | brad falchuk | None row 9 : 9 | "devil's child" | tom wright | thania st. john | None row 10 : 10 | "avalon" | dwight little | i. c. rapoport | None row 11 : 11 | "the lost codex" | tom wright | gabrielle stanton & harry | None row 12 : 12 | "eternal" | fred gerber | thania st. john | None row 13 : 13 | "helmholtz resonance" | larry shaw | patrick massett & john | None ] Execute this SQL based on the above table: select sum ( no. ) where written by in ( 'thania st. john' , 'thania st. john & chad hodge' , 'thania st. john & chad hodge' )
21.0
[ header: year | title | album | uk | b-sides row 1 : 2004 | "kim wilde" (download-only) | grey will fade | None | None row 2 : 2004 | "summer" | grey will fade | 31 | commodore; smut row 3 : 2005 | "bastardo" | grey will fade | 31 | 3 minutes; i am a kamera row 4 : 2006 | "behave" | the deep blue | 168 | mr. ed; cou row 5 : 2007 | "i want you to know" | the deep blue | 108 | sister universe; suspiria row 6 : 2007 | "siberia" | the deep blue | None | last night; this is pop; i don row 7 : 2007 | "again" | the deep blue | None | again (acoustic) row 8 : 2007 | "ch v fd (deep blue | non-album single | None | dawn treader (fredmix); it is row 9 : 2009 | "white" | new worlds | None | white (squarepusher remix); white (a row 10 : 2009 | "alexander" | new worlds | None | alexander (radio edit); alex ] Execute this SQL based on the above table: select title order by year asc limit 1
"kim wilde" (download-only)
[ header: date | opponent# | rank# | site | result row 1 : september 12 | at colorado | None | folsom field • boulder, co | w 44-6 row 2 : september 19 | at #5 ohio state | None | ohio stadium • columbus | l 14-24 row 3 : september 26 | san diego state | None | autzen stadium • eugene | w 25-20 row 4 : october 3 | #16 washington | None | autzen stadium • eugene | w 29-22 row 5 : october 10 | usc | None | autzen stadium • eugene | w 34-27 row 6 : october 17 | at #9 ucla | #16 | rose bowl • pasadena, ca | l 10-41 row 7 : october 24 | at stanford | None | stanford stadium • stanford, ca | l 10-13 row 8 : october 31 | california | None | autzen stadium • eugene | l 6-20 row 9 : november 7 | at arizona state | None | sun devil stadium • tempe, a | l 17-37 row 10 : november 14 | at washington state | None | martin stadium • pullman, wa | w 31-17 row 11 : november 21 | oregon state | None | autzen stadium • eugene | w 44-0 ] Execute this SQL based on the above table: select result where site = 'ohio stadium • columbus, oh'
l 14-24
[ header: category | | area (sq miles) | area (km2) | population (2011) | density (per km2) row 1 : mainland | aberdeen city | 70 | 182 | 222800 | 1224 row 2 : mainland | aberdeenshire | 2439 | 6317 | 253000 | 40 row 3 : mainland | angus | 843 | 2184 | 116000 | 53 row 4 : mainland | argyll and bute | 2712 | 7023 | 88200 | 13 row 5 : mainland | clackmannanshire | 61 | 158 | 51400 | 325 row 6 : mainland | dumfries and galloway | 2489 | 6446 | 151300 | 23 row 7 : mainland | dundee city | 21 | 55 | 147300 | 2678 row 8 : mainland | east ayrshire | 492 | 1275 | 122700 | 96 row 9 : mainland | east dunbartonshire | 68 | 176 | 105000 | 597 row 10 : mainland | east lothian | 257 | 666 | 99700 | 150 row 11 : mainland | east renfrewshire | 65 | 168 | 90600 | 539 row 12 : mainland | city of edinburgh | 100 | 260 | 476600 | 1833 row 13 : mainland | falkirk | 113 | 293 | 156000 | 532 row 14 : mainland | fife | 517 | 1340 | 365200 | 273 row 15 : mainland | glasgow city | 68 | 175 | 593200 | 3390 row 16 : mainland | highland | 10085 | 26119 | 232100 | 9 row 17 : mainland | inverclyde | 64 | 167 | 81500 | 488 row 18 : mainland | midlothian | 135 | 350 | 83200 | 238 row 19 : mainland | moray | 864 | 2237 | 93300 | 42 row 20 : mainland | north ayrshire | 343 | 888 | 138200 | 156 row 21 : mainland | north lanarkshire | 184 | 476 | 337800 | 710 row 22 : mainland | perth and kinross | 2083 | 5395 | 146700 | 27 row 23 : mainland | renfrewshire | 102 | 263 | 174900 | 665 row 24 : mainland | scottish borders | 1825 | 4727 | 113900 | 24 row 25 : mainland | south ayrshire | 475 | 1230 | 112800 | 92 row 26 : mainland | south lanarkshire | 686 | 1778 | 313800 | 176 row 27 : mainland | stirling | 866 | 2243 | 90200 | 40 row 28 : mainland | west dunbartonshire | 68 | 176 | 90700 | 515 row 29 : mainland | west lothian | 165 | 427 | 175100 | 410 row 30 : None | total mainland | 28260 | 73193 | 5223100 | 71 row 31 : island | na h-eileanan | 1185 | 3070 | 27700 | 8 row 32 : island | orkney islands | 396 | 1025 | 21400 | 21 row 33 : island | shetland islands | 568 | 1471 | 23200 | 15 row 34 : None | total islands | 2149 | 5566 | 72300 | 13 row 35 : None | total scotland | 30409 | 78759 | 5295400 | 67 ] Execute this SQL based on the above table: select where id = ( select id where = 'moray' ) - 1
midlothian
[ header: date | position | name | from | fee row 1 : 5 july 2001 | mf | andy hughes | notts county | £250,000 by a tribunal row 2 : 5 july 2001 | df | adrian whitbread | portsmouth | free row 3 : 18 july 2001 | df | alex smith | port vale | free row 4 : 30 november 2001 | gk | antony malessa | oxford united | free row 5 : 28 january 2002 | mf | john salako | charlton athletic | £50,000 row 6 : 13 march 2002 | gk | frank talia | sheffield united | free row 7 : 15 march 2002 | mf | kevin watson | charlton athletic | £150,000 ] Execute this SQL based on the above table: select count ( * ) where from = 'portsmouth'
1
[ header: pos. | driver | co-driver | car | time | difference | points row 1 : 1 | raffaele pinto | arnaldo bernacchini | fiat abarth 124 rallye | 6:26:15 | 0 | 20 row 2 : 2 | alcide paganelli | ninni russo | fiat abarth 124 rallye | 6:30:12 | 3.57 | None row 3 : 3 | markku alen | ilkka kivimaki | fiat abarth 124 rallye | 6:37:17 | 11.02 | None row 4 : 4 | ove andersson | arne hertz | toyota corolla | 6:40:54 | 14.39 | 10 row 5 : 5 | harry kallstrom | claes billstam | datsun 260z | 6:54:27 | 28.12 | 8 row 6 : 6 | bob neyret | yveline vanoni | alpine-renault a110 1800 | 7:04:18 | 38.03 | 6 row 7 : 7 | georg fischer | harald gottlieb | bmw 2002 | 7:05:02 | 38.47 | 4 row 8 : 8 | francisco romaozinho | jose bernardo | citroen gs | 7:17:04 | 50.49 | 3 row 9 : 9 | chris sclater | neil wilson | ford escort rs1 | 7:26:59 | 1:00.44 | 2 row 10 : 10 | antonio borges | miguel sottomayor | fiat 124 sport spyder | 7:27:55 | 1:01.40 | None ] Execute this SQL based on the above table: select count ( * ) where car = 11
0
[ header: school name | city | grades | establishment | charter row 1 : aliamanu intermediate school | honolulu | 7-8 | 1958 | None row 2 : anuenue school | honolulu | k-12 | 1958 | charter row 3 : central middle school | honolulu | 6-8 | 1926 | None row 4 : dole middle school | honolulu | 6-8 | 1955 | None row 5 : halau ku mana nc | honolulu | 6-12 | 2000 | charter row 6 : jarrett middle school | honolulu | 6-8 | 1955 | None row 7 : kaimuki middle school | honolulu | 6-8 | 1939 | None row 8 : kalakaua middle school | honolulu | 6-8 | 1928 | None row 9 : kawananakoa middle school | honolulu | 6-8 | 1927 | None row 10 : moanalua middle school | honolulu | 7-8 | 1967 | None row 11 : niu valley middle school | honolulu | 6-8 | 1955 | None row 12 : stevenson middle school | honolulu | 6-8 | 1937 | None row 13 : washington middle school | honolulu | 6-8 | 1854 | None ] Execute this SQL based on the above table: select count ( * ) where school name = 'moanalua middle school'
1
[ header: rank | title | studio | actor/actress | director | gross row 1 : 1 | three men and a baby | touchstone | tom selleck, ted danson, | leonard nimoy | $167,780,960 row 2 : 2 | fatal attraction | paramount | michael douglas, gle | adrian lyne | $156,645,693 row 3 : 3 | beverly hills cop ii | paramount | eddie murphy, judge reinhold | tony scott | $153,665,036 row 4 : 4 | good morning, vietnam | touchstone | robin williams and forest | barry levinson | $123,922,370 row 5 : 5 | moonstruck | mgm | cher, nicolas cage, | norman jewison | $80,640,528 row 6 : 7 | the secret of my success | universal | michael j. fox, | herbert ross | $66,995,000 row 7 : 8 | stakeout | touchstone | richard dreyfuss, | john badham | $65,673,233 row 8 : 9 | lethal weapon | warner bros | mel gibson, danny glover, | richard donner | $65,207,127 row 9 : 10 | dirty dancing | vestron | patrick swayze, jenn | emile ardolino | $63,892,689 row 10 : 12 | predator | fox | arnold schwarzenegger, car | john mctiernan | $59,735,548 row 11 : 13 | throw momma from the train | orion | danny devito, billy crystal, | danny devito | $57,915,972 row 12 : 14 | dragnet | universal | dan aykroyd, to | tom mankiewicz | $57,387,516 row 13 : 15 | robocop | orion | peter weller, nancy allen, | paul verhoeven | $53,424,681 row 14 : 16 | outrageous fortune | touchstone | bette midler and shelley long | arthur hiller | $52,864,741 row 15 : 17 | la bamba | columbia | lou diamond phillips, es | luis valdez | $52,678,820 row 16 : 18 | broadcast news | fox | william hurt, holly hunter | james l. brooks | $51,300,000 row 17 : 19 | the living daylights | united artists | timothy dalton and mary | john glen | $51,185,000 row 18 : 20 | eddie murphy raw | paramount | eddie murphy | robert townsend | $50,505,655 ] Execute this SQL based on the above table: select count ( * ) ( select gross group by gross having count ( studio ) >= 59 )
0
[ header: township | fips | population center | population | population density /km2 (/sq mi) | land area km2 (sq mi) | water area km2 (sq mi) | water % | geographic coordinates row 1 : alexandria | 1100 | None | 859 | 7 (18) | 123 (48) | 1 (0) | 0.62% | 39°16′8′′n 95°7 row 2 : delaware | 17450 | None | 1361 | 22 (57) | 62 (24) | 3 (1) | 4.19% | 39°14′50′′n 94° row 3 : easton | 19625 | None | 1245 | 11 (30) | 109 (42) | 0 (0) | 0.11% | 39°21′57′′n 95°7 row 4 : fairmount | 22325 | basehor | 6266 | 61 (159) | 102 (39) | 0 (0) | 0.39% | 39°8′4′′n 94° row 5 : high prairie | 32125 | None | 1768 | 14 (37) | 124 (48) | 0 (0) | 0.27% | 39°15′30′′n 95°0 row 6 : kickapoo | 36700 | None | 1760 | 15 (40) | 114 (44) | 3 (1) | 2.39% | 39°20′45′′n 94° row 7 : reno | 58950 | None | 1143 | 10 (27) | 111 (43) | 2 (1) | 1.56% | 39°1′8′′n 95°8 row 8 : sherman | 65000 | None | 2367 | 22 (57) | 108 (42) | 3 (1) | 2.44% | 39°0′59′′n 95°0 row 9 : stranger | 68500 | None | 2451 | 19 (50) | 127 (49) | 0 (0) | 0.17% | 39°8′16′′n 95°2 row 10 : tonganoxie | 70825 | tonganoxie (part) | 4852 | 35 (91) | 137 (53) | 1 (0) | 0.66% | 39°7′0′′n 95°6 ] Execute this SQL based on the above table: select geographic coordinates where township = 'easton'
39°21′57′′n 95°7′27′′w / 39.36583°n 95.12417°w
[ header: courthouse | city | street address | jurisdiction | dates of use | named for row 1 : u.s. post office and court house | aberdeen | 201 w. commerce st | n.d. miss | 1888-1974 now the monroe | None row 2 : thomas g. aberneth | aberdeen | 301 west commerce street | n.d. miss | None | u.s. rep. tho row 3 : u.s. post office, court house | biloxi | 140 lameuse street | s.d. miss | 1908-1959 now biloxi city hall | None row 4 : u.s. post office & court | biloxi | None | s.d. miss | 1908-1959 fate of building unknown | None row 5 : u.s. post office | clarksdale | None | n.d. miss | 1916-1964 razed in 1968 | None row 6 : federal building | clarksdale | None | n.d. miss | 1964-1997 fate of building unknown | None row 7 : federal building | greenville | 305 main street | n.d. miss | 1960-present | None row 8 : dan m. russell jr | gulfport | 2012 15th street | s.d. miss | 2003-present | district court judge dan monroe russe row 9 : u.s. court house | hattiesburg | None | s.d. miss | 1936-? completed in 1911; now the for | None row 10 : william m. colmer federal | hattiesburg | 701 main street | s.d. miss | None | u.s. rep. william row 11 : u.s. court house & post | jackson | None | s.d. miss | 1885-1933 | None row 12 : james eastland federal building | jackson | None | s.d. miss. 5th | 1934-present 1981-present | u.s. sen. jam row 13 : u.s. post office & court | meridian | 8th st and 22nd a | s.d. miss | 1898-1933 razed in the | None row 14 : u.s. post office & court | meridian | 2100 9th street | s.d. miss | 1933-present | None row 15 : u.s. courthouse | natchez | 109 pearl street | s.d. miss | 2007-present built in 1853 | None row 16 : u.s. court house & post | oxford | 107 courthouse square | n.d. miss | 1887-ca. 1974 now ox | None row 17 : federal bldg, post office, | oxford | 911 jackson avenue | n.d. miss | None | None row 18 : u.s. court house, post office | vicksburg | 1400 walnut street | s.d. miss | 1892-1937 now in use by the miss | None row 19 : u.s. post office & court | vicksburg | None | s.d. miss | 1937-present now privately owned | None ] Execute this SQL based on the above table: select count ( * ) where named for = 'None'
0
[ header: year | title | role | notes row 1 : 2014 | and so it goes | producer | starring michael douglas and row 2 : 2011 | flypaper | producer | starring patrick dempsey and row 3 : 2007 | captivity | producer | None row 4 : 2006 | o jerusalem | producer | None row 5 : 2005 | the upside of anger | executive producer | starring kevin costner and jo row 6 : 2004 | beyond the sea | executive producer | starring kevin spacey row 7 : 2004 | the i inside | producer | None row 8 : 2003 | monster | producer | starring charlize theron academy row 9 : 2003 | 11:14 | executive producer | None row 10 : 2002 | extreme ops | executive producer | None row 11 : 2001 | the musketeer | executive producer | None row 12 : 2001 | the body | executive producer | None row 13 : 1997 | the blackout | executive producer | None row 14 : 1996 | the winner | executive producer | None row 15 : 1993 | stalingrad | executive producer | None row 16 : 1991 | diary of a hitman | executive producer | None row 17 : 1990 | vietnam, texas | executive producer | None row 18 : 1989 | wild orchid | producer | starring mickey rourke row 19 : 1988 | high spirits | executive producer | None row 20 : 1988 | mac and me | executive producer | None row 21 : 1986 | flight of the navigator | executive producer | None row 22 : 1986 | short circuit | executive producer | None row 23 : 1986 | 9 1/2 weeks | producer | starring mickey rourke and row 24 : 1984 | metropolis | sales agent | directed by fritz lang row 25 : 1984 | the neverending story | executive producer | directed by wolfgang petersen row 26 : 1977 | the choirboys | executive producer | None row 27 : 1974 | there is no 13 | george thomas | None row 28 : 1973 | "hannah, queen of the vampires" | peter | None row 29 : 1973 | the devil's wedding night | karl schiller | None row 30 : 1973 | little mother | riano | None row 31 : 1972 | byleth - il demone de | duke lionello shandwell | None row 32 : 1972 | i leoni di pietroburgo | eldar | None row 33 : 1972 | confessioni segrete di un convento di | domenico | None row 34 : 1972 | they call him veritas | veritas | None row 35 : 1971 | l'arciere di fuoco | allen | None row 36 : 1971 | pistol packin' preacher | slim | None row 37 : 1968 | dead men don't count | johnny dalton | None row 38 : 1967 | requiescant | george ferguson | also starring pier paolo pas row 39 : 1966 | johnny oro | johnny oro/ringo | directed by sergio corbucci row 40 : 1964 | son of cleopatra | el kebir | None row 41 : 1964 | i cento cavalieri | don fernando herrera y | None row 42 : 1963 | the tyrant of castile | pietro i: re di castigl | None row 43 : 1963 | the young racers | stephen children | directed by roger corman row 44 : 1962 | the reluctant saint | aldo | directed by edward dmytry row 45 : 1962 | the longest day | pvt. harris | also starring richard burton and se row 46 : 1962 | beauty and the beast | eduardo | None ] Execute this SQL based on the above table: select notes where id = 12
starring kevin costner and joan allen
[ header: year | actor | award | category | role | episode | result row 1 : 1992 | nancy cartwright | primetime emmy award | outstanding voice-over performance | bart simpson | "separate vocations" | won row 2 : 1992 | dan castellaneta | primetime emmy award | outstanding voice-over performance | homer simpson | "lisa's pony" | won row 3 : 1992 | julie kavner | primetime emmy award | outstanding voice-over performance | marge simpson | "i married marge" | won row 4 : 1992 | jackie mason | primetime emmy award | outstanding voice-over performance | rabbi hyman k | "like father, like clown" | won row 5 : 1992 | yeardley smith | primetime emmy award | outstanding voice-over performance | lisa simpson | "lisa the greek" | won row 6 : 1992 | marcia wallace | primetime emmy award | outstanding voice-over performance | edna krabappel | "bart the lover" | won row 7 : 1993 | dan castellaneta | primetime emmy award | outstanding voice-over performance | homer simpson | "mr. plow" | won row 8 : 1995 | nancy cartwright | annie award | voice acting in the field of animation | bart simpson | "radio bart" | won row 9 : 1997 | maggie roswell | annie award | best voice acting by a female performer | shary bobbins | "simpsoncalifragilisticex | nominated row 10 : 1998 | hank azaria | primetime emmy award | outstanding voice-over performance | apu nahasapee | None | won row 11 : 2001 | hank azaria | primetime emmy award | outstanding voice-over performance | various | "worst episode ever" | won row 12 : 2003 | hank azaria | primetime emmy award | outstanding voice-over performance | various | "moe baby blues" | won row 13 : 2004 | dan castellaneta | primetime emmy award | outstanding voice-over performance | various characters | "today i am a clown" | won row 14 : 2006 | kelsey grammer | primetime emmy award | outstanding voice-over performance | sideshow bob | "the italian bob" | won row 15 : 2007 | julie kavner | annie award | best voice acting in an animated feature | marge simpson | the simpsons movie | nominated row 16 : 2009 | hank azaria | primetime emmy award | outstanding voice-over performance | moe szyslak | "eeny teeny maya mo | nominated row 17 : 2009 | dan castellaneta | primetime emmy award | outstanding voice-over performance | homer simpson | "father knows worst" | won row 18 : 2009 | harry shearer | primetime emmy award | outstanding voice-over performance | mr. burns, smithers | "the burns and the bees" | nominated row 19 : 2010 | hank azaria | primetime emmy award | outstanding voice-over performance | moe szyslak, | "moe letter blues" | nominated row 20 : 2010 | dan castellaneta | primetime emmy award | outstanding voice-over performance | homer simpson, grampa | "thursday with abie" | nominated ] Execute this SQL based on the above table: select count ( category ) where year > 1403
20
[ header: game | december | opponent | score | record row 1 : 9 | 4 | @ montreal canadiens | 5 - 4 | 3-4-2 row 2 : 10 | 6 | @ toronto maple leafs | 4 - 2 | 3-5-2 row 3 : 11 | 9 | ottawa senators | 3 - 2 | 4-5-2 row 4 : 12 | 14 | detroit falcons | 3 - 0 | 5-5-2 row 5 : 13 | 18 | boston bruins | 4 - 2 | 5-6-2 row 6 : 14 | 20 | @ boston bruins | 2 - 2 ot | 5-6-3 row 7 : 15 | 23 | montreal canadiens | 5 - 1 | 6-6-3 row 8 : 16 | 25 | @ ottawa senators | 4 - 1 | 7-6-3 row 9 : 17 | 28 | philadelphia quakers | 4 - 2 | 8-6-3 row 10 : 18 | 30 | @ new york americans | 2 - 2 ot | 8-6-4 ] Execute this SQL based on the above table: select count ( record ) where record = '5-6-3'
1
[ header: name | railway | series | maker | dates | drive | wheel arrangement | weight | power | notes row 1 : re 465 | bls, switzerland | re 465 001-465 00 | slm, abb | 1994-97 | electric | bo-bo | 84 t | 9,520 horsepower (7,099 kw | most powerful locomotive with only four axles, similar row 2 : prr gg1 | pennsylvania rail road ( | 4800-4938, 900-929 | altoona works, general electric | 1934-43 | electric | 2-c+c-2 (4-6-6-4) | 208.9 to 216.4 | 4,629 horsepower (3,452 k | most scrapped; the prototype and 15 production locomotive row 3 : allegheny | chesapeake and ohi | 1600-1659 (c&o), 900 | lima locomotive works | 1941-48 | steam | 2-6-6-6 | 544 t | 7,500 horsepower (5,593 kw | two on static display row 4 : 060-ea softronic phoen | romanian railways (cfr) | 001, 2001-2004 | softronic craiova | 2009-present | electric | co'co' | 120 t | 8,851 horsepower (6,600 kw | most powerful locomotive with highest continuous tractive effort row 5 : jr freight class ef200 | jr freight | None | hitachi ltd | 1990- | electric | bo'bo'bo' | 100.8 t | 8,046 horsepower (6,000 kw) | most powerful single-frame narrow-gauge locomotive row 6 : china railways hxn5 | china railways | hxn50001-hxn | ge, csr qishu | 2008- | diesel-electric | co'co' | 150 t | 6,250 horsepower (4,661 kw | most powerful diesel-electric locomotive in active production row 7 : china railways hxd1b | china railways | hxd1b0001-h | csr zhuzhou electric | 2009- | electric | co'co' | 150 t | 12,874 horsepower (9,600 kw | most powerful single-frame locomotive in series production row 8 : china railways hxd2b | china railways | hxd2b0001-h | datong electric locomotive, alstom | 2009- | electric | co'co' | 150 t | 12,874 horsepower (9,600 kw | most powerful single-frame locomotive in series production row 9 : china railways hxd1c | china railways | hxd1c0001-h | csr zhuzhou electric | 2009- | electric | co'co' | 150 t | 9,655 horsepower (7,200 kw | None ] Execute this SQL based on the above table: select weight + weight where series = '001, 2001-2004'
240.0
[ header: # | wrestlers | reign | date | days held | location | event | notes row 1 : 1 | los perros del mal (bestia | 1 | november 28, 2010 | 311 | cuautitlan izcalli | iwl house show | los perros del mal defeated los traumas row 2 : None | vacated | None | october 5, 2011 | None | tlalnepantla, | announced on iwl official's facebook | after bestia 666 and x- row 3 : 2 | scorpio, jr. | 1 | october 22, 2011 | 580 | tlalnepantla, | iwl oktoberfest | scorpio, jr. row 4 : None | vacated | None | may 2011 | None | None | announced on iwl official's facebook | None row 5 : 3 | ultimo gladiador and ul | 1 | june 16, 2013 | 145 | huehuetoca, state of me | iwl oktoberfest | defeated los piratas (hijo de row 6 : None | vacated | None | november 5, 2011 | None | None | the iwl explained that ultim | None row 7 : 4 | dinamic black & freser | 1 | november 5, 2013 | 231 | hidalgo, state of mexico | live event | defeated mascara jr. & ul ] Execute this SQL based on the above table: select min ( # )
1.0
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | soviet union | 50 | 27 | 22 | 99 row 2 : 2 | united states | 33 | 31 | 30 | 94 row 3 : 3 | east germany (gdr) | 20 | 23 | 23 | 66 row 4 : 4 | west germany (frg) | 13 | 11 | 16 | 40 row 5 : 5 | japan | 13 | 8 | 8 | 29 row 6 : 6 | australia | 8 | 7 | 2 | 17 row 7 : 7 | poland | 7 | 5 | 9 | 21 row 8 : 8 | hungary | 6 | 13 | 16 | 35 row 9 : 9 | bulgaria | 6 | 10 | 5 | 21 row 10 : 10 | italy | 5 | 3 | 10 | 18 ] Execute this SQL based on the above table: select count ( distinct nation ) where nation = 'east germany (gdr)'
1
[ header: number | south or west terminus | north or east terminus | length (mi) | length (km) | formed | deleted | notes row 1 : sr-25 | sr-24 at fish lake junction | bowery haven resort (fish lake) | 9.995 | 16.085 | 1930s | current | None row 2 : us-40 | i-80 near park city | colorado state line near dinosaur, color | 174.624 | 281.03 | 1977 | current | None row 3 : sr-47 | arizona state line in monument valley | monticello | None | None | 1930s | 1977 | now us-163 and part of us-191 row 4 : sr-63 | None | None | None | None | 1930s | 1971 | None row 5 : i-70 | i-15 near cove fort | colorado state line near fruita, | 231.673 | 372.842 | 1977 | current | None row 6 : sr-70 | nevada state route 30 at the | us-30s near snowville | None | None | 1930s | 1977 | now part of sr-30 row 7 : sr-92 | i-15 in lehi | us-189 in provo canyon | 27.272 | 43.89 | 1977 | current | renumbered from sr-80 row 8 : sr-106 | i-15 west of bountiful | us-89 in farmington | 9.426 | 15.17 | 1930s | current | None row 9 : sr-126 | i-15 south of layton | us-89 at hot springs junction near pleasant | 21.609 | 34.776 | 1977 | current | None row 10 : sr-140 | hinckley | deseret | None | None | 1930s | 1969 | None row 11 : sr-143 | i-15 west of parowan | us-89 in panguitch | 51.206 | 82.408 | 1930s | current | None row 12 : sr-212 | i-15 near washington | washington | 1.289 | 2.074 | 1941 | current | None row 13 : sr-215 | None | None | None | None | 1957 | 1959 | None row 14 : sr-230 | None | None | None | None | 1941 | 1969 | None row 15 : sr-234 | None | None | None | None | 1941 | 1968 | None row 16 : sr-256 | None | None | None | None | 1955 | 1969 | None row 17 : sr-260 | None | None | None | None | 1957 | 1981 | None row 18 : sr-280 | i-80 south of coalville | coalville | 0.399 | 0.642 | 1963 | current | None row 19 : sr-311 | us-40 | starvation state park | 3.916 | 6.302 | 1972 | current | None row 20 : sr-317 | south 2700 west in west valley city | calvin l. rampton complex | 1.62 | 2.607 | 1983 | current | None ] Execute this SQL based on the above table: select notes order by length (km) asc limit 178
now us-163 and part of us-191, now part of sr-30, renumbered from sr-80
[ header: year | division | league | regular season | playoffs | open cup row 1 : 2006 | 4 | usl pdl | 4th, heartland | did not qualify | did not qualify row 2 : 2007 | 4 | usl pdl | 2nd, heartland | conference semifinals | did not qualify row 3 : 2008 | 4 | usl pdl | 4th, heartland | did not qualify | 1st round row 4 : 2009 | 4 | usl pdl | 4th, heartland | did not qualify | did not qualify row 5 : 2010 | 4 | usl pdl | 5th, heartland | did not qualify | did not qualify row 6 : 2011 | 4 | usl pdl | 5th, heartland | did not qualify | did not qualify row 7 : 2012 | 4 | usl pdl | 7th, heartland | did not qualify | did not qualify row 8 : 2013 | 4 | usl pdl | 5th, heartland | did not qualify | did not qualify ] Execute this SQL based on the above table: select count ( * ) where year >= 1218
8
[ header: lower mississippi periods | lower yazoo phases | lower yazoo dates | tensas/natchez phases | cahokia phases | cahokia dates | ohio/miss. river confluence phases | ohio/miss. dates row 1 : historic | russell | 1650-1750 ce | tensas / nat | vacant quarter | 1350 ce - european contact | jackson | 1500-1650 ce row 2 : plaquemine mississippian culture late | wasp lake | 1400-1650 ce | transylvania / emer | vacant quarter | 1350 ce - european contact | jackson | 1500-1650 ce row 3 : plaquemine mississippian culture late | lake george | 1300-1400 ce | fitzhugh / foster | sand prairie | 1275-1350 ce | medley phase | 1300-1500 ce row 4 : plaquemine mississippian culture late | winterville | 1200-1300 ce | routh / anna | moorehead | 1200-1275 ce | dorena | 1100-1300 ce row 5 : transitional coles creek | crippen point | 1050-1200 ce | preston / gordon | lohmann sterling | 1050-1200 ce | dorena | 1100-1300 ce row 6 : coles creek culture late coles creek middle co | kings crossing | 950-1050 ce | balmoral | terminal late woodland | 900-1050 ce | james bayou | 900-1100 ce row 7 : coles creek culture late coles creek middle co | aden | 800-950 ce | ballina | terminal late woodland | 900-1050 ce | james bayou | 900-1100 ce row 8 : coles creek culture late coles creek middle co | bayland | 600-800 ce | sundown | late woodland | 400-900 ce | cane hills berkley | 600-900 ce 400-600 ce row 9 : baytown/troyville baytown 2 bay | deasonville | 500-600 ce | marsden | late woodland | 400-900 ce | cane hills berkley | 600-900 ce 400-600 ce row 10 : baytown/troyville baytown 2 bay | little sunflower | 400-500 ce | indian bayou | late woodland | 400-900 ce | cane hills berkley | 600-900 ce 400-600 ce row 11 : marksville culture late marksville early marksville | issaquena | 200-400 ce | issaquena | middle woodland | 200 bce - 400 ce | la plant burkett | 100 bce-400 ce 550- row 12 : marksville culture late marksville early marksville | anderson landing | 0-200 ce | point lake/ grand gulf | middle woodland | 200 bce - 400 ce | la plant burkett | 100 bce-400 ce 550- row 13 : tchefuncte culture | tuscola | 400 bce-0 ce | panther lake | middle woodland | 200 bce - 400 ce | la plant burkett | 100 bce-400 ce 550- row 14 : jaketown | poverty point | 700- 400 bce | frasier | early woodland | 700-200 bce | o'bryan ridge | 700-550 bce row 15 : None | poverty point | 1000-700 bce | None | late archaic | 1000 - 200 bce | o'bryan ridge | 700-550 bce ] Execute this SQL based on the above table: select cahokia phases where cahokia phases = 'late archaic'
late archaic
[ header: stamp issue date | stamp set | #cards | card set ref | qty. issued row 1 : 16 may 1973 | county cricket, 1873-1973 | one | phq 1 | 20000 row 2 : 15 august 1973 | 400th anniversary, birth of inigo | one | phq 2 | 20000 row 3 : 12 september 1973 | 19th commonwealth parliamentary conference | one | phq 3 | 15200 row 4 : 14 november 1973 | royal wedding (the princess anne) | one | phq 4 | 290000 row 5 : 27 february 1974 | british trees | one | phq 5 | 16750 row 6 : 24 april 1974 | fire service anniversary | one | phq 6 | 30000 row 7 : 10 july 1974 | medieval warriors | four | phq 7 | 31750 row 8 : 9 october 1974 | winston churchill centenary | one | phq 8 | 114430 row 9 : 19 february 1975 | bicentenary, birth j. | one | phq 9 | 46250 row 10 : 23 april 1975 | european architectural year | three | phq 10 | 51000 row 11 : 11 june 1975 | sailing | one | phq 11 | 41350 row 12 : 13 august 1975 | 150th anniversary of public railways | four | phq 12 | 47500 row 13 : 22 october 1975 | jane austen bicentenary | four | phq 13 | 27330 row 14 : 28 april 1976 | social reformers | one | phq 14 | 38350 row 15 : 2 june 1976 | american bicentenary | one | phq 15 | 60950 row 16 : 30 june 1976 | roses | four | phq 16 | 34250 ] Execute this SQL based on the above table: select count ( * ) where qty. issued >= 10
16
[ header: name | faith | type | gov | opened | intake | dcsf number | ofsted number | web | coordinates row 1 : ashfield | None | junior | vc | 1845 | 60 | 3012 | 117391 | w | 51°38′22′′n 0° row 2 : bournehall | None | primary | cy | 1969 | 30 | 2360 | 117296 | w | 51°39′00′′n 0° row 3 : bushey heath | None | primary | cy | 1879 | 30 | 2012 | 117088 | w | 51°38′12′′n 0° row 4 : bushey manor | None | junior | cy | 1907 | 60 | 2261 | 117242 | w | 51°38′49′′n 0° row 5 : falconer | None | special | cy | None | None | 7033 | 117686 | w | 51°38′49′′n 0° row 6 : hartsbourne | None | primary | cy | None | 30 | 2372 | 117300 | w | 51°37′52′′n 0° row 7 : highwood | None | primary | cy | 1949 | 60 | 2013 | 117089 | w | 51°39′57′′n 0° row 8 : little reddings | None | primary | fd | None | 51 | 5208 | 117568 | w | 51°38′51′′n 0° row 9 : meadow wood | None | special | cy | None | None | 7043 | 117691 | w | 51°38′54′′n 0° row 10 : merry hill | None | infants | cy | 1885 | 60 | 2014 | 117090 | w | 51°38′17′′n 0° row 11 : sacred heart | rc | primary | va | 1970 | 40 | 3415 | 117488 | w | 51°38′38′′n 0° ] Execute this SQL based on the above table: select count ( intake )
9
[ header: institution | location | enrollment | nickname | varsity sports | rugby since | head coach row 1 : clemson university | clemson, south carolina | 20576 | tigers | 19 | 1967 | justin hickey row 2 : maryland | college park, maryland | 37641 | terrapins | 20 | 1968 | jeff soeken row 3 : navy | annapolis, maryland | 4576 | midshipmen | 30 | 1963 | mike flanagan row 4 : north carolina | chapel hill, north carolina | 29340 | tar heels | 28 | 1966 | pete earsman row 5 : north carolina state | raleigh, north carolina | 34767 | wolfpack | 25 | 1965 | jim latham row 6 : university of virginia | charlottesville, virginia | 20895 | cavaliers | 25 | 1961 | jon roberts row 7 : virginia tech | blacksburg, virginia | 30379 | hokies | 21 | 1891 / 1968 | andy richards row 8 : wake forest | winston-salem, north car | 7079 | demon deacons | 18 | 1973 | patrick kane ] Execute this SQL based on the above table: select sum ( location - nickname ) where location in ( 'clemson, south carolina' , 'annapolis, maryland' )
0
[ header: date | time | opponent# | site | tv | result | attendance row 1 : august 29 | 7:30 pm | appalachian state | groves stadium • winston-sa | None | w 19-13 | 21129 row 2 : september 7 | 6:30 pm | #13 northwestern | groves stadium • winston-sa | fsn | w 28-27 | 21749 row 3 : september 14 | 7:00 pm | at georgia tech | bobby dodd stadium • atlant | None | l 10-30 | 45750 row 4 : september 21 | 12:00 pm | #20 virginia | groves stadium • winston-sa | jps | l 7-42 | 23220 row 5 : september 28 | 12:00 pm | at clemson | memorial stadium • clemson, s | jps | l 10-21 | 63263 row 6 : october 5 | 6:30 pm | #15 north carolina | groves stadium • winston-sa | None | l 6-45 | 25681 row 7 : october 19 | 2:00 pm | at maryland | byrd stadium • college park, m | None | l 0-52 | 30212 row 8 : october 26 | 1:00 pm | navy | groves stadium • winston-sa | None | l 18-47 | 17307 row 9 : november 9 | 12:00 pm | vs. #3 florida state | citrus bowl • orlando, f | jps | l 7-44 | 34974 row 10 : november 16 | 1:00 pm | duke | groves stadium • winston-sa | None | w 17-16 | 17842 row 11 : november 23 | 1:00 pm | at nc state | carter-finley stadium • r | None | l 22-37 | 40500 ] Execute this SQL based on the above table: select count ( result )
11
[ header: year | film | language | actors | music | banner | note row 1 : 1954 | ratha paasam | tamil | t. k. shanmug | m. k. athmana | jupiter pictures & av | directed by r. s. mani row 2 : 1956 | amara deepam | tamil | sivaji ganesan, | t. chalapathi r | venus pictures | directed by t. prakash row 3 : 1956 | bhaai bhaai | hindi | ashok kumar, kishore | None | avm productions | directed by m. v. rama row 4 : 1964 | kalai kovil | tamil | r. muthuraman | viswanathan ramamoorthy | bhagyalakshm | None row 5 : 1968 | saathi | hindi | rajendra kumar, vy | naushad | venus pictures | None row 6 : 1969 | sivandha mann | tamil | sivaji ganesan, | m. s. viswanathan | chitralaya films | None row 7 : 1971 | duniya kya jan | hindi | None | None | None | None row 8 : 1974 | urimai kural | tamil | mgr, latha | m. s. viswanathan | chitrayuga films | None row 9 : 1975 | vaira nenjam | tamil | sivaji ganesan, | m. s. viswanathan | chitralaya films | None row 10 : 1978 | ilamai oonjalaa | tamil | kamal hassan, rajini | ilaiyaraaja | chithrakala pictures | None row 11 : 1982 | ninaivellam ni | tamil | karthik, jiji, | ilaiyaraaja | sivasakthi films | None row 12 : 1983 | thudikkum karangal | tamil | rajinikanth, radha | s. p. balasubram | krg films | None row 13 : 1984 | unnaithedi varu | tamil | None | ilaiyaraaja | None | None row 14 : 1991 | thanthu vitten enna | tamil | vikram, rohini | ilaiyaraaja | chitralaya films | None ] Execute this SQL based on the above table: select year - year where year = 1971
0
[ header: staple: | maize / corn | rice | wheat | potato | cassava | soybean (green) | sweet potato | sorghum | yam | plantain row 1 : component (per 100g portion) | amount | amount | amount | amount | amount | amount | amount | amount | amount | amount row 2 : water (g) | 10 | 12 | 13 | 79 | 60 | 68 | 77 | 9 | 70 | 65 row 3 : energy (kj) | 1528 | 1528 | 1369 | 322 | 670 | 615 | 360 | 1419 | 494 | 511 row 4 : protein (g) | 9.4 | 7.1 | 12.6 | 2 | 1.4 | 13 | 1.6 | 11.3 | 1.5 | 1.3 row 5 : fat (g) | 4.74 | 0.66 | 1.54 | 0.09 | 0.28 | 6.8 | 0.05 | 3.3 | 0.17 | 0.37 row 6 : carbohydrates (g) | 74 | 80 | 71 | 17 | 38 | 11 | 20 | 75 | 28 | 32 row 7 : fiber (g) | 7.3 | 1.3 | 12.2 | 2.2 | 1.8 | 4.2 | 3 | 6.3 | 4.1 | 2.3 row 8 : sugar (g) | 0.64 | 0.12 | 0.41 | 0.78 | 1.7 | 0 | 4.18 | 0 | 0.5 | 15 row 9 : calcium (mg) | 7 | 28 | 29 | 12 | 16 | 197 | 30 | 28 | 17 | 3 row 10 : iron (mg) | 2.71 | 0.8 | 3.19 | 0.78 | 0.27 | 3.55 | 0.61 | 4.4 | 0.54 | 0.6 row 11 : phosphorus (mg) | 210 | 115 | 288 | 57 | 27 | 194 | 47 | 287 | 55 | 34 row 12 : potassium (mg) | 287 | 115 | 363 | 421 | 271 | 620 | 337 | 350 | 816 | 499 row 13 : sodium (mg) | 35 | 5 | 2 | 6 | 14 | 15 | 55 | 6 | 9 | 4 row 14 : zinc (mg) | 2.21 | 1.09 | 2.65 | 0.29 | 0.34 | 0.99 | 0.3 | 0 | 0.24 | 0.14 row 15 : copper (mg) | 0.31 | 0.22 | 0.43 | 0.11 | 0.1 | 0.13 | 0.15 | None | 0.18 | 0.08 row 16 : manganese (mg) | 0.49 | 1.09 | 3.99 | 0.15 | 0.38 | 0.55 | 0.26 | None | 0.4 | None row 17 : selenium (μg) | 15.5 | 15.1 | 70.7 | 0.3 | 0.7 | 1.5 | 0.6 | 0 | 0.7 | 1.5 row 18 : vitamin c (mg) | 0 | 0 | 0 | 19.7 | 20.6 | 29 | 2.4 | 0 | 17.1 | 18.4 row 19 : thiamin (mg) | 0.39 | 0.07 | 0.3 | 0.08 | 0.09 | 0.44 | 0.08 | 0.24 | 0.11 | 0.05 row 20 : riboflavin (mg) | 0.2 | 0.05 | 0.12 | 0.03 | 0.05 | 0.18 | 0.06 | 0.14 | 0.03 | 0.05 row 21 : pantothenic acid (mg) | 0.42 | 1.01 | 0.95 | 0.3 | 0.11 | 0.15 | 0.8 | None | 0.31 | 0.26 row 22 : vitamin b6 (mg) | 0.62 | 0.16 | 0.3 | 0.3 | 0.09 | 0.07 | 0.21 | None | 0.29 | 0.3 row 23 : folate total (μg) | 19 | 8 | 38 | 16 | 27 | 165 | 11 | 0 | 23 | 22 row 24 : vitamin a (iu) | 214 | 0 | 9 | 2 | 13 | 180 | 14187 | 0 | 138 | 1127 ] Execute this SQL based on the above table: select staple: where maize / corn > 1384
energy (kj)
[ header: name | party | province | term expires | years in office row 1 : william atkinson | liberal | central | 1989 | 1983-1984 row 2 : colin bell | liberal | lower west | 1989 | 1983-1989 row 3 : joe berinson | labor | north central metropolitan | 1986 | 1980-1993 row 4 : james brown | labor | south-east | 1986 | 1980-1992 row 5 : eric charlton | national/np | central | 1989 | 1984-1998 row 6 : des dans | labor | south metropolitan | 1989 | 1971-1989 row 7 : peter dowding | labor | north | 1986 | 1980-1986 row 8 : graham edwards | labor | north metropolitan | 1989 | 1983-1997 row 9 : lyla elliott | labor | north-east metropolitan | 1986 | 1971-1986 row 10 : vic ferry | liberal | south-west | 1989 | 1965-1987 row 11 : harry gayfer | national/ncp | central | 1986 | 1974-1989 row 12 : clive griffiths | liberal | south central metropolitan | 1989 | 1965-1997 row 13 : kay hallahan | labor | south-east metropolitan | 1989 | 1983-1993 row 14 : bob hetherington | labor | south-east metropolitan | 1986 | 1977-1989 row 15 : garry kelly | labor | south metropolitan | 1986 | 1982-1993 row 16 : thomas knight | liberal | south | 1986 | 1974-1986 row 17 : sandy lewis | liberal | lower central | 1986 | 1974-1989 row 18 : phil lockyer | liberal | lower north | 1986 | 1980-1997 row 19 : margaret mcaleer | liberal | upper west | 1986 | 1974-1993 row 20 : fred mckenzie | labor | north-east metropolitan | 1989 | 1977-1993 row 21 : graham mackinnon | liberal | south west | 1986 | 1956-1986 row 22 : thomas mcneil | national/np | upper west | 1989 | 1977-1989 row 23 : gordon masters | liberal | west | 1986 | 1974-1989 row 24 : ian medcalf | liberal | metropolitan | 1986 | 1968-1986 row 25 : norman moore | liberal | lower north | 1989 | 1977-2013 row 26 : mark nevill | labor | south-east | 1989 | 1983-2001 row 27 : neil oliver | liberal | west | 1989 | 1977-1989 row 28 : phillip pendal | liberal | south central metropolitan | 1986 | 1980-1993 row 29 : sam piantadosi | labor | north central metropolitan | 1989 | 1983-1996 row 30 : ian pratt | liberal | lower west | 1986 | 1974-1986 row 31 : tom stephens | labor | north | 1989 | 1982-2004 row 32 : bill stretch | liberal | lower central | 1989 | 1983-2005 row 33 : peter wells | liberal | north metropolitan | 1986 | 1980-1986 row 34 : richard williams | liberal | metropolitan | 1989 | 1971-1989 row 35 : david wordsworth | liberal | south | 1989 | 1971-1993 ] Execute this SQL based on the above table: select count ( * ) where term expires >= 616
35
[ header: year | title | peak chart positions ger | label | artist row 1 : 1981 | savoir faire | None | capitol | mink deville row 2 : 1993 | spanish stroll 1977-1987 | None | disky, raven | mink deville row 3 : 1995 | les inoubliables de willy deville | None | wagram | willy deville row 4 : 1996 | love & emotion: the atlantic years | 54 | atlantic | mink deville row 5 : 1996 | mink/willy deville greatest hits | None | emi | mink deville row 6 : 1996 | spanish stroll | None | disky | mink deville row 7 : 1996 | best of willy deville | None | arcade | willy deville row 8 : 1997 | his greatest hits | None | arcade | mink deville row 9 : 1997 | premium gold collection | None | emi | mink deville row 10 : 1997 | the best of mink deville | None | emi | mink deville row 11 : 1999 | collection legende | None | wagram | willy deville row 12 : 2001 | cadillac walk: the mink de | None | capitol | mink deville row 13 : 2003 | greatest hits | None | emi | mink deville row 14 : 2005 | mink deville | None | disky | mink deville row 15 : 2009 | introducing willy deville | None | edel | willy deville ] Execute this SQL based on the above table: select label where year = ( select year where label = 'disky' ) - 1
wagram
[ header: pos | class | no | team | drivers | chassis | engine row 1 : 32 | s 2.0 | 27 | societe roc | laurent ferrier xavier la | lola t294 | roc-simca 2.0l i row 2 : 33 | s 2.0 | 29 | societe roc | pierre-marie painvin franz | lola t292 | roc-simca 2.0l i row 3 : 34 | s 3.0 | 3 | christian poirot | christian poirot gerard | porsche 908/2 | porsche 3.0l flat-8 row 4 : 35 | gt | 59 | gelo racing team | tim schenken howden ganley | porsche 911 carrera rsr | porsche 3.0l flat-6 row 5 : 36 | s 3.0 | 1 | wicky racing team | max cohen-olivar philippe | porsche 908/2 | porsche 3.0l flat-8 row 6 : 39 | t | 98 | auto mazda claude bouche | claude bouchet jean rondeau | mazda rx-3 | mazda 12a 1.2l 2- row 7 : 40 | gt | 57 | ganto racing | john rulon-miller tom | porsche 911 carrera rsr | porsche 3.0l flat-6 row 8 : 41 | gt | 60 | gelo racing team | toine hezemans manfred | porsche 911 carrera rsr | porsche 3.0l flat-6 row 9 : 42 | gt | 68 | guy verrier | guy verrier florian vetsch jean- | porsche 911 carrera rs | porsche 3.0l flat-6 row 10 : 43 | gt | 7 | beurlys international auto | pietro polese "willer" | de tomaso pantera | ford 5.8l v8 row 11 : 45 | s 2.0 | 26 | elf switzerland | marie-claude charmasson | renault-alpine a44 | renault 2.0l v6 row 12 : 46 | s 3.0 | 18 | sigma automotive co. ltd | hiroshi fushida har | sigma mc75 | toyota 2.3l turbo row 13 : 47 | gt | 16 | joest racing / teber | clemens schickentanz hartwig | porsche 911 carrera rsr | porsche 3.0l flat-6 row 14 : 48 | gt | 96 | bonnemaison - thiaw | lucien nageotte gerard pic | porsche 911 carrera rsr | porsche 3.0l flat-6 row 15 : 50 | s 3.0 | 97 | gitanes automobiles ligier | jean-pierre beltoise | ligier js2 | maserati 3.0l v6 row 16 : 52 | s 2.0 | 40 | philippe mettetal | jean ragnotti michel latest | tecma 755 | ford 1.8l i4 row 17 : 53 | gt ser | 83 | jean-yves gadal | jean-yves gadal " | porsche 911 carrera rs | porsche 2.6l flat-6 ] Execute this SQL based on the above table: select team order by pos asc limit 1
societe roc
[ header: rank | name | caps | goals | years row 1 : 1 | bedford jezzard | 3 | 6 | 1954-1955 row 2 : 2 | tommy taylor | 2 | 4 | 1956 row 3 : 2 | gordon hill | 6 | 4 | 1978 row 4 : 2 | alan smith | 4 | 4 | 1990-1992 row 5 : 5 | jack rowley | 1 | 3 | 1949 row 6 : 5 | brian talbot | 6 | 3 | 1978-1980 row 7 : 5 | paul merson | 4 | 3 | 1991-1998 row 8 : 5 | matthew le tissier | 6 | 3 | 1990-1998 ] Execute this SQL based on the above table: select name where name in ( 'brian talbot' , 'matthew le tissier' ) order by caps desc limit 1
brian talbot
[ header: year | title | role | notes row 1 : 1999 | bob rizzo's simply | himself | as matthew j. morrison row 2 : 2003 | marci x | boyz r us | as matthew j. morrison row 3 : 2005 | once upon a mattress | sir harry | None row 4 : 2006 | blinders | scott | None row 5 : 2007 | music and lyrics | ray | None row 6 : 2007 | dan in real life | policeman | None row 7 : 2007 | i think i love my wife | salesman #2 | None row 8 : 2011 | the muppets | mahna mahna host | None row 9 : 2012 | what to expect when you're expecting | evan | None ] Execute this SQL based on the above table: select max ( year )
2012
[ header: year | team | games | carries | yards | yards per carry | longest carry | touchdowns | first downs | fumbles | fumbles lost row 1 : 2002 | gb | 8 | 39 | 184 | 4.7 | 43 | 1 | 8 | 1 | 1 row 2 : 2003 | gb | 15 | 77 | 420 | 5.5 | 76 | 2 | 18 | 4 | 1 row 3 : 2004 | gb | 11 | 71 | 359 | 5.1 | 40 | 2 | 16 | 0 | 0 row 4 : 2005 | gb | 5 | 30 | 105 | 3.5 | 24 | 2 | 9 | 1 | 0 row 5 : 2006 | pit | 13 | 60 | 221 | 3.7 | 48 | 1 | 9 | 1 | 0 row 6 : 2007 | pit | 15 | 107 | 499 | 4.7 | 45 | 5 | 37 | 1 | 0 row 7 : 2008 | pit | 4 | 2 | 5 | 2.5 | 3 | 0 | 2 | 0 | 0 row 8 : 2008 | ind | 2 | 8 | 26 | 3.3 | 8 | 0 | 1 | 0 | 0 row 9 : career | None | 73 | 394 | 1819 | 4.6 | 76 | 13 | 100 | 8 | 2 ] Execute this SQL based on the above table: select team order by longest carry desc limit 1
gb
[ header: name | state of residence | took office | left office | president served under row 1 : karl rove | texas | january 21, 2001 | august 31, 2007 | george w. bush row 2 : barry steven jackson | ohio | september 1, 2007 | january 19, 2009 | george w. bush row 3 : pete rouse | south dakota | january 20, 2009 | october 1, 2010 | barack obama row 4 : david axelrod | illinois | january 20, 2009 | january 10, 2011 | barack obama row 5 : david plouffe | delaware | january 10, 2011 | january 25, 2013 | barack obama row 6 : valerie jarrett | illinois | january 20, 2009 | present | barack obama row 7 : daniel pfeif | delaware | january 25, 2013 | present | barack obama ] Execute this SQL based on the above table: select left office where president served under = 'barack obama' and name > ( select name where left office = 'october 1, 2010' ) order by name limit 1
present
[ 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 where density (persons/km2) = 0
forest reserve
[ header: tramway | country | city | height of pylons | span width, leaning straight line | span width, horizontal measurement | height of cable over ground | year of inauguration | notes row 1 : peak 2 peak gondola | canada | whistler | 65m | 3024 m | 3019 m | 436 m | 2008 | 3s aerial tramway constructed by doppel row 2 : hut of regensburg material transport aerial railway | austria | falbeson | None | None | None | 430 m | None | None row 3 : vanoise express | france | vanoise | none | 1850 m | 1800 m | 380 m | 2003 | None row 4 : aiguille du midi | france | chamonix | none | 2867 m | 2500 m | None | 1955 | 2nd section row 5 : vallee blanche aerial tramway | france | mont blanc | none | 2831 m, 1684 m | span is almost horizontal | appr. 300 m | 1958 | rock anchored support structure row 6 : 3s aerial tramway | austria | kitzbuhel | 0 m, 80m | 2507 m | None | 400 m | 2004 | None row 7 : sandia peak tramway | usa | albuquerque | 70.7 m, 21.33 m | 2353 m | None | 274 m | 1966 | None row 8 : feldmoos-chli-tit | switzerland | titlis | 37.6 m | 3476,2 m | None | None | 1979 | temp. site tramway, demolished in ] Execute this SQL based on the above table: select notes order by year of inauguration asc limit 1444
2nd section, rock anchored support structure, temp. site tramway, demolished in 1986, 3s aerial tramway constructed by doppelmayr
[ header: year | name of show | episodes | other guests | winner(s) row 1 : 1997 | super trio series 2: movie buff championship | 18 | florence kwok, jo | charmaine sheh row 2 : 2000 | the super trio show | 6 | julian cheung, calvin | charmaine sheh, julian che row 3 : 2002 | a trio delights | 3 | timmy hung, ken wong | louis yuen row 4 : 2004 | the super trio continues | 7 | michael tao, | charmaine sheh, michael row 5 : 2007 | foodie 2 shoes | 19, 20 | chin ka lok, e | charmaine sheh, chin ka row 6 : 2008 | super trio supreme | 1 | bosco wong, michael mi | charmaine sheh, cutie mui row 7 : 2009 | are you smarter than a 5th grade | 05, 06 | None | hk$175,000 (levels 8 row 8 : 2010 | super trio game master | 20 | moses chan, kenneth ma | tie row 9 : 2011 | all star glam exam | 8 | ekin cheng, eric | charmaine sheh ] Execute this SQL based on the above table: select year where id > ( select id where year = 2002 order by id desc limit 1 ) limit 1
2004
[ header: state | no. of candidates | no. of elected | total no. of seats in assembly | year of election row 1 : andhra pradesh | 12 | 6 | 294 | 2004 row 2 : assam | 19 | 1 | 126 | 2001 row 3 : bihar | 153 | 5 | 324 | 2000 row 4 : chhattisgarh | 18 | 0 | 90 | 2003 row 5 : delhi | 2 | 0 | 70 | 2003 row 6 : goa | 3 | 0 | 40 | 2002 row 7 : gujarat | 1 | 0 | 181 | 2002 row 8 : haryana | 10 | 0 | 90 | 2000 row 9 : himachal pradesh | 7 | 0 | 68 | 2003 row 10 : jammu and kashmir | 5 | 0 | 87 | 2002 row 11 : karnataka | 5 | 0 | 224 | 2004 row 12 : kerala | 22 | 17 | 140 | 2006 row 13 : madhya pradesh | 17 | 0 | 230 | 2003 row 14 : maharashtra | 19 | 0 | 288 | 1999 row 15 : manipur | 16 | 4 | 60 | 2006 row 16 : meghalaya | 3 | 0 | 60 | 2003 row 17 : mizoram | 4 | 0 | 40 | 2003 row 18 : odisha | 6 | 1 | 147 | 2004 row 19 : puducherry | 2 | 0 | 30 | 2001 row 20 : punjab | 11 | 0 | 117 | 2006 row 21 : rajasthan | 15 | 0 | 200 | 2003 row 22 : tamil nadu | 8 | 6 | 234 | 2006 row 23 : tripura | 2 | 1 | 60 | 2003 row 24 : uttar pradesh | 5 | 0 | 402 | 2002 row 25 : uttarakhand | 14 | 0 | 70 | 2002 row 26 : west bengal | 13 | 8 | 294 | 2006 ] Execute this SQL based on the above table: select state where state in ( 'gujarat' , 'manipur' ) and state = 'manipur'
manipur
[ header: sl no | constituency name | constituency number | member of legislative assembly | political party row 1 : 2 | abhayapuri south | 35 | chandan kumar sarkar | indian national congress row 2 : 4 | amguri | 103 | anjan dutta | indian national congress row 3 : 9 | barhampur | 87 | prafulla kumar mahanta | asom gana parishad row 4 : 15 | bihali | 77 | pallab lochan das | indian national congress row 5 : 16 | bihpuria | 109 | bhupen kumar bor | indian national congress row 6 : 17 | bijni | 33 | kamalshing narzary | bodoland peoples front row 7 : 21 | bokajan | 17 | klengdoon engti | indian national congress row 8 : 35 | dhemaji | 113 | sumitra doley patir | indian national congress row 9 : 49 | gauripur | 24 | banendra kumar mushahary | bodoland peoples front row 10 : 53 | golakganj | 25 | abu taher bepari | indian national congress row 11 : 56 | hajo | 55 | dwipen pathak | all india trinamool congress row 12 : 59 | howraghat | 18 | khorsing engti | indian national congress row 13 : 60 | jagiroad | 79 | bibekananda dalai | indian national congress row 14 : 62 | jalukbari | 51 | himanta biswa sarma | indian national congress row 15 : 63 | jamunamukh | 90 | mohammed sirajuddin a | all india united democratic front row 16 : 64 | jania | 44 | rafiqul islam | all india united democratic front row 17 : 65 | jonai | 114 | pradan baruah | indian national congress row 18 : 73 | katlicherra | 7 | gautam roy | indian national congress row 19 : 76 | kokrajhar west | 29 | pradip kumar brahma | bodoland peoples front row 20 : 83 | majuli | 99 | sri rajib lochan | indian national congress row 21 : 87 | mazbat | 70 | rakheswar brahma | bodoland peoples front row 22 : 95 | nowgong | 86 | dr. durlav chandra | indian national congress row 23 : 101 | rangapara | 74 | bhimananda tanti | indian national congress row 24 : 105 | sadiya | 126 | bolin chetia | indian national congress row 25 : 111 | sidli | 31 | sri chandan brahm | bodoland peoples front row 26 : 114 | sonai | 10 | anamul haque | indian national congress row 27 : 115 | sonari | 106 | sarat borkotoky | indian national congress row 28 : 116 | sootea | 75 | padma hazarika | asom gana parishad row 29 : 119 | teok | 102 | membar gogoi | indian national congress row 30 : 122 | tingkhong | 119 | atuwa munda | indian national congress row 31 : 123 | tinsukia | 122 | rajendra prasad singh | indian national congress ] Execute this SQL based on the above table: select count ( * ) ( select member of legislative assembly group by member of legislative assembly having count ( * ) >= 5 )
0
[ header: race | race name | pole position | fastest lap | winning driver | winning team | yokohama winner | jay-ten winner | report row 1 : 1 | race of brazil | robert huff | robert huff | robert huff | chevrolet | kristian poulsen | michel nykjær | report row 2 : 3 | race of belgium | robert huff | robert huff | robert huff | chevrolet | kristian poulsen | michel nykjær | report row 3 : 5 | race of italy | robert huff | yvan muller | robert huff | chevrolet | norbert michelisz | fredy barth | report row 4 : 7 | race of hungary | alain menu | norbert michelisz | alain menu | chevrolet | norbert michelisz | aleksei dudukalo | report row 5 : 8 | race of hungary | None | norbert michelisz | yvan muller | chevrolet | franz engstler | aleksei dudukalo | report row 6 : 9 | race of the czech republic | yvan muller | robert huff | robert huff | chevrolet | kristian poulsen | aleksei dudukalo | report row 7 : 10 | race of the czech republic | None | yvan muller | yvan muller | chevrolet | michel nykjær | aleksei dudukalo | report row 8 : 11 | race of portugal | alain menu | alain menu | alain menu | chevrolet | norbert michelisz | no finishers | report row 9 : 17 | race of spain | yvan muller | yvan muller | yvan muller | chevrolet | kristian poulsen | fabio fabiani | report row 10 : 18 | race of spain | None | yvan muller | yvan muller | chevrolet | kristian poulsen | fabio fabiani | report row 11 : 20 | race of japan | None | robert dahlgren | tom coronel | roal motorsport | michel nykjær | charles ng | report row 12 : 21 | race of china | alain menu | robert huff | alain menu | chevrolet | colin turkington | fabio fabiani | report row 13 : 22 | race of china | None | yvan muller | yvan muller | chevrolet | colin turkington | fabio fabiani | report row 14 : 23 | guia race of macau | robert huff | yvan muller | robert huff | chevrolet | michel nykjær | jo merszei | report ] Execute this SQL based on the above table: select winning team where pole position = 'robert huff' order by race limit 719
chevrolet, chevrolet, chevrolet, chevrolet
[ header: club | league | sport | venue | established | championships row 1 : madison mustangs | ifl | american football | breitenbach stadium | 1997 | 4 consecutive ironbowls row 2 : madison mallards | nl | baseball | warner park | 2001 | 1 championship row 3 : madison 56ers | npsl | soccer | breese stevens field | 2005 | 0 championships row 4 : wisconsin rugby club | wrfu | rugby | wisconsin rugby club sports complex | 1962 | 2 championships row 5 : madison minotaurs | wrfu | rugby | yahara rugby field | 2007 | 0 bingham cups row 6 : wisconsin badgers | big ten, ncaa div | 23 varsity teams | camp randall stadium, kohl center | 1849 | 27 championships row 7 : edgewood eagles | nacc, ncaa div | 16 varsity teams | edgedome | 1974 | 35 championships row 8 : madison college wolfpack | n4c, njcaa | 8 varsity teams | redsten gymnasium, roberts | 1912 | 21 championships row 9 : mad rollin' dolls | wftda | roller derby | alliant energy center | 2005 | 0 championships row 10 : madison blues | glhl | hockey | capitol ice arena | 2010 | 0 championships ] Execute this SQL based on the above table: select venue where established > 937
breitenbach stadium, warner park, breese stevens field, wisconsin rugby club sports complex, yahara rugby field, camp randall stadium, kohl center, edgedome, redsten gymnasium, roberts field, alliant energy center, capitol ice arena
[ header: year | single | chart | position row 1 : 1986 | "best of both worlds" | album rock tracks | 12 row 2 : 1986 | "dreams" | album rock tracks | 6 row 3 : 1986 | "dreams" | billboard hot 100 | 22 row 4 : 1986 | "love walks in" | album rock tracks | 4 row 5 : 1986 | "love walks in" | billboard hot 100 | 22 row 6 : 1986 | "summer nights" | album rock tracks | 33 row 7 : 1986 | "why can't this be love" | album rock tracks | 1 row 8 : 1986 | "why can't this be love" | billboard hot 100 | 3 ] Execute this SQL based on the above table: select ( select position where single = '"best of both worlds"' ) < ( select position where single = '"love walks in"' )
0
[ header: pennant number | name | builder | laid down | launched | completed | fate row 1 : f00 | jervis | hawthorn leslie & company, | 26 august 1937 | 9 september 1938 | 12 may 1939 | sold for scrap 1949 row 2 : f22 | jackal | john brown & company, cly | 24 september 1937 | 25 october 1938 | 31 march 1939 | bombed off mersa matruh row 3 : f34 | jaguar | william denny & brothers, dumb | 25 november 1937 | 22 november 1938 | 12 september 1939 | torpedoed by german u row 4 : f46 | juno (ex-jamaica) | fairfield shipbuilding & engineering company, go | 15 october 1937 | 8 december 1938 | 25 august 1939 | bombed and sunk south of row 5 : f53 | janus | swan hunter & wigham | 29 september 1937 | 11 october 1938 | 5 august 1939 | torpedoed and sunk row 6 : f61 | javelin (ex-kashmir) | john brown | 11 october 1937 | 21 december 1938 | 10 june 1939 | sold for scrap 1949 row 7 : f72 | jersey | j. samuel white | 1937 | 26 september 1938 | 28 april 1939 | mined off valletta 2 may 1941, row 8 : f85 | jupiter | yarrow & company, scot | 28 september 1937 | 27 october 1938 | 25 june 1939 | hit a dutch mine during the battle row 9 : None | jubilant | None | None | None | None | ordered march 1937, cancelled december 1937 ] Execute this SQL based on the above table: select count ( name )
9
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 5 | fernando alonso | renault | 56 | 1:31:33.736 | 1 | 10 row 2 : 2 | 16 | jarno trulli | toyota | 56 | 24.327 | 2 | 8 row 3 : 3 | 8 | nick heidfeld | williams-bmw | 56 | 32.188 | 10 | 6 row 4 : 4 | 10 | juan pablo montoya | mclaren-mercedes | 56 | 41.631 | 11 | 5 row 5 : 5 | 17 | ralf schumacher | toyota | 56 | 51.854 | 5 | 4 row 6 : 6 | 14 | david coulthard | red bull-cosworth | 56 | +1:12.543 | 8 | 3 row 7 : 7 | 1 | michael schumacher | ferrari | 56 | +1:19.988 | 13 | 2 row 8 : 8 | 15 | christian klien | red bull-cosworth | 56 | +1:20.835 | 7 | 1 row 9 : 9 | 9 | kimi raikkonen | mclaren-mercedes | 56 | +1:21.580 | 6 | None row 10 : 10 | 12 | felipe massa | sauber-petronas | 55 | +1 lap | 14 | None row 11 : 11 | 19 | narain karthikeyan | jordan-toyota | 54 | +2 laps | 17 | None row 12 : 12 | 18 | tiago monteiro | jordan-toyota | 53 | +3 laps | 18 | None row 13 : 13 | 21 | christijan albers | minardi-cosworth | 52 | +4 laps | 19 | None row 14 : ret | 2 | rubens barrichello | ferrari | 49 | handling | 12 | None row 15 : ret | 6 | giancarlo fisichella | renault | 36 | collision | 3 | None row 16 : ret | 7 | mark webber | williams-bmw | 36 | collision | 4 | None row 17 : ret | 11 | jacques villeneuve | sauber-petronas | 26 | spun off | 16 | None row 18 : ret | 3 | jenson button | bar-honda | 2 | engine | 9 | None row 19 : ret | 4 | anthony davidson | bar-honda | 2 | engine | 15 | None row 20 : ret | 20 | patrick friesacher | minardi-cosworth | 2 | spun off | 20 | None ] Execute this SQL based on the above table: select driver where driver in ( 'tiago monteiro' , 'jacques villeneuve' ) order by pos desc limit 1
jacques villeneuve
[ header: year | best | location | date | world rank row 1 : 2012 | 27:02.59 | birmingham | 22 june | 3rd row 2 : 2011 | 26:43.16 | brussels | 16 september | 1st row 3 : 2009 | 26:46.31 | berlin | 17 august | 1st row 4 : 2008 | 26:25.97 | eugene, oregon | 8 june | 1st row 5 : 2007 | 26:46.19 | brussels | 14 september | 1st row 6 : 2005 | 26:17.53 | brussels | 26 august | 1st row 7 : 2004 | 26:20.31 | ostrava | 8 june | 1st row 8 : 2003 | 26:49.57 | paris | 25 august | 4th ] Execute this SQL based on the above table: select count ( * ) where location < 1838
0
[ header: number | builder | type | date | length | notes row 1 : 51 | american car company | motor | 1904 | 47'9" | retired 1933 row 2 : 53 | american car company | motor | 1904 | 47'9" | retired 1933 row 3 : 55 | american car company | motor | 1904 | 47'9" | became inspection car in 1932 retired 1941 row 4 : 57 | american car company | motor | 1904 | 47'9" | became inspection car in 1932 retired 1941 row 5 : 59 | w. l. holman car | motor | 1904 | 44' | retired 1932 row 6 : 61 | w. l. holman car | motor | 1904 | 44' | retired 1932 row 7 : 63 | w. l. holman car | motor | 1904 | 44' | retired 1932 preserved western railway museum row 8 : 65 | w. l. holman car | motor | 1904 | 44' | retired 1932 row 9 : 67 | w. l. holman car | motor | 1904 | 44' | retired 1932 row 10 : 69 | w. l. holman car | motor | 1904 | 44' | converted to express trailer in 1919 retired 1932 row 11 : 71 | w. l. holman car | trailer | 1905 | 44' | retired 1929 row 12 : 73 | w. l. holman car | trailer | 1905 | 44' | retired 1929 row 13 : 1 | w. l. holman car | express trailer | 1916 | None | built as #8 express motor demotorized 1917 ] Execute this SQL based on the above table: select type order by id desc limit 1
express trailer
[ header: name | full name | caps | goals | first cap | opponent | club row 1 : cafu | marcos evangelista de morae | 142 | 5 | 12 september 1990 | spain | sao paulo row 2 : rogerio ceni | rogerio ceni | 17 | 0 | 16 december 1997 | mexico | sao paulo row 3 : juninho | antonio augusto ribeiro | 40 | 6 | 28 march 1999 | south korea | vasco da gama row 4 : edmilson | edmilson jose gomes | 42 | 1 | 18 july 2000 | paraguay | sao paulo row 5 : tinga | paulo cesar fonseca | 4 | 0 | 9 august 2001 | panama | gremio row 6 : kaka | ricardo izecson dos | 87 | 29 | 31 january 2002 | bolivia | sao paulo row 7 : diego | diego ribas da cunha | 33 | 4 | 30 april 2003 | mexico | santos row 8 : gomes | heurelho da silva go | 11 | 0 | 13 july 2003 | mexico | cruzeiro row 9 : dudu cearense | alexandro silva de sousa | 11 | 0 | 8 july 2004 | chile | vitoria row 10 : grafite | edinaldo batista | 4 | 1 | 27 april 2005 | guatemala | sao paulo row 11 : josue | josue anunciado de olive | 28 | 1 | 27 march 2007 | ghana | sao paulo row 12 : doni | donieber alexander marangon | 10 | 0 | 5 june 2007 | turkey | as roma row 13 : alex silva | alex sandro da silva | 2 | 0 | 4 july 2007 | ecuador | sao paulo row 14 : thiago silva | thiago emiliano da | 40 | 1 | 12 october 2008 | venezuela | fluminense row 15 : ramires | ramires santos do | 34 | 3 | 6 june 2009 | uruguay | cruzeiro row 16 : diego tardelli | diego tardelli martins | 5 | 0 | 12 august 2009 | estonia | atletico mineiro row 17 : carlos eduardo | carlos eduardo marques | 6 | 0 | 14 november 2009 | england | hoffenheim row 18 : victor | victor leandro bagy | 5 | 0 | 10 august 2010 | united states | gremio row 19 : ederson | ederson honorato campos | 1 | 0 | 10 august 2010 | united states | lyon row 20 : wesley | wesley lopes beltrame | 2 | 0 | 3 october 2010 | iran | werder bremen row 21 : oscar | oscar dos santo | 22 | 6 | 14 september 2011 | argentina | internacional row 22 : jefferson | jefferson de oliveira galva | 7 | 0 | 14 september 2011 | argentina | botafogo row 23 : kleber | kleber laude pinheiro | 2 | 0 | 10 november 2011 | gabon | fc porto ] Execute this SQL based on the above table: select count ( full name )
23
[ header: rank | census subdivision | province | type | land area (km2, 2011) | population 2011 | population 2006 | population 2001 | population 1996 | change in % 2006-2011 | change in % 1996-2011 row 1 : 2 | montreal | quebec | ville | 365.13 | 1649519 | 1620693 | 1583590 | 1547030 | 1.8 | 6.6 row 2 : 3 | calgary | alberta | city | 825.29 | 1096833 | 988193 | 879003 | 768082 | 10.9 | 42.7 row 3 : 19 | longueuil | quebec | ville | 115.59 | 231409 | 229330 | 225761 | 225722 | 0.9 | 2.7 row 4 : 25 | richmond | british columbia | city | 129.27 | 190473 | 174461 | 164345 | 148867 | 9.2 | 28.4 row 5 : 27 | oakville | ontario | town | 138.88 | 182520 | 165613 | 144738 | 128405 | 10.2 | 42.2 row 6 : 31 | oshawa | ontario | city | 145.68 | 149607 | 141590 | 139051 | 134464 | 5.7 | 11.1 row 7 : 61 | north vancouver | british columbia | district municipality | 160.76 | 84412 | 82562 | 82310 | 80418 | 2.2 | 5 row 8 : 64 | lethbridge | alberta | city | 122.36 | 83517 | 74637 | 67374 | 63053 | 11.8 | 32.5 row 9 : 65 | niagara falls | ontario | city | 209.71 | 82997 | 82184 | 78815 | 76917 | 1 | 7.9 row 10 : 68 | newmarket | ontario | town | 38.33 | 79978 | 74295 | 65788 | 57125 | 7.6 | 40 row 11 : 82 | wood buffalo | alberta | specialized municipality | 63637.47 | 65565 | 51496 | 41445 | 35213 | 27.3 | 86.2 row 12 : 83 | granby | quebec | ville | 152.72 | 63433 | 47637 | 44121 | 43316 | 6.8 | 46.4 row 13 : 84 | norfolk county | ontario | city | 1607.6 | 63175 | 62563 | 60847 | 60534 | 1 | 4.4 row 14 : 91 | grande prairie | alberta | city | 72.8 | 55032 | 47076 | 36983 | 31353 | 16.8 | 75.5 row 15 : 92 | north bay | ontario | city | 319.05 | 53651 | 53966 | 52771 | 54332 | -0.6 | -1.2 row 16 : 98 | dollard-des-ormeaux | quebec | ville | 15.1 | 49637 | 48930 | 48206 | 47826 | 1.4 | 3.8 ] Execute this SQL based on the above table: select sum ( population 2011 )
4181758
[ header: township | fips | population center | population | population density /km2 (/sq mi) | land area km2 (sq mi) | water area km2 (sq mi) | water % | geographic coordinates row 1 : belleville | 5575 | None | 675 | 4 (11) | 155 (60) | 0 (0) | 0.14% | 37°3′50′′n 96° row 2 : caneyville | 10425 | None | 88 | 1 (2) | 144 (55) | 1 (0) | 0.38% | 37°15′23′′n 96° row 3 : center | 11575 | None | 75 | 1 (1) | 144 (56) | 1 (0) | 0.80% | 37°15′28′′n 96° row 4 : harrison | 30275 | None | 114 | 1 (2) | 142 (55) | 0 (0) | 0.14% | 37°4′3′′n 96° row 5 : hendricks | 31300 | None | 179 | 1 (3) | 142 (55) | 0 (0) | 0.05% | 37°1′12′′n 96° row 6 : jefferson | 35125 | cedar vale | 834 | 6 (15) | 144 (56) | 1 (0) | 0.45% | 37°6′45′′n 96° row 7 : lafayette | 37650 | None | 65 | 0 (1) | 154 (59) | 2 (1) | 1.40% | 37°15′36′′n 96° row 8 : little caney | 41525 | None | 353 | 3 (8) | 117 (45) | 0 (0) | 0.31% | 37°3′51′′n 96° row 9 : salt creek | 62775 | None | 123 | 1 (3) | 127 (49) | 0 (0) | 0.34% | 37°15′13′′n 96° row 10 : sedan | 63775 | sedan | 1660 | 13 (34) | 128 (49) | 1 (0) | 0.65% | 37°7′50′′n 96° row 11 : summit | 69025 | None | 106 | 1 (2) | 144 (56) | 1 (0) | 0.40% | 37°8′17′′n 96° row 12 : washington | 75550 | None | 87 | 1 (2) | 121 (47) | 1 (0) | 0.71% | 37°7′41′′n 96° ] Execute this SQL based on the above table: select count ( population center ) where population center = 'None'
0
[ header: year | driver | constructor | location | report row 1 : 1992 | nigel mansell | williams-renault | hermanos rodriguez | report row 2 : 1991 | riccardo patrese | williams-renault | hermanos rodriguez | report row 3 : 1990 | alain prost | ferrari | hermanos rodriguez | report row 4 : 1989 | ayrton senna | mclaren-honda | hermanos rodriguez | report row 5 : 1988 | alain prost | mclaren-honda | hermanos rodriguez | report row 6 : 1987 | nigel mansell | williams-honda | hermanos rodriguez | report row 7 : 1986 | gerhard berger | benetton-bmw | hermanos rodriguez | report row 8 : 1985 - 1971 | None | None | None | not held row 9 : 1970 | jacky ickx | ferrari | magdalena mixhuca | report row 10 : 1969 | denny hulme | mclaren-ford | magdalena mixhuca | report row 11 : 1968 | graham hill | lotus-ford | magdalena mixhuca | report row 12 : 1967 | jim clark | lotus-ford | magdalena mixhuca | report row 13 : 1966 | john surtees | cooper-maserati | magdalena mixhuca | report row 14 : 1965 | richie ginther | honda | magdalena mixhuca | report row 15 : 1964 | dan gurney | brabham-climax | magdalena mixhuca | report row 16 : 1963 | jim clark | lotus-climax | magdalena mixhuca | report row 17 : 1962 | trevor taylor j | lotus-climax | magdalena mixhuca | report ] Execute this SQL based on the above table: select driver where report = 'report' order by id desc limit 1
trevor taylor jim clark