inputs
stringlengths
291
3.71k
targets
stringlengths
1
2.65k
[ header: constituency number | name | reserved for (sc/st/none) | district | number of electorates (2009) row 1 : 43 | tikamgarh | none | tikamgarh | 153339 row 2 : 44 | jatara | sc | tikamgarh | 145555 row 3 : 45 | prithvipur | none | tikamgarh | 139110 row 4 : 46 | niwari | none | tikamgarh | 141265 row 5 : 47 | khargapur | none | tikamgarh | 161546 row 6 : 48 | maharajpur | none | chhatarpur | 162460 row 7 : 51 | chhatarpur | none | chhatarpur | 152605 row 8 : 52 | bijawar | none | chhatarpur | 151159 row 9 : total | total | total | total | 1207.039 ] Execute this SQL based on the above table: select reserved for (sc/st/none) order by number of electorates (2009) asc limit 1
total
[ header: date | round | opponent | venue | result | attendance | scorers row 1 : 16 september 1992 | r1 | lyngby | h | 2-0 | 40036 | hateley, huistra row 2 : 30 september 1992 | r1 | lyngby | a | 1-0 | 4273 | durrant row 3 : 21 october 1992 | r2 | leeds united | h | 2-1 | 43251 | mccoist, lukic row 4 : 4 november 1992 | r2 | leeds united | a | 2-1 | 25118 | hateley, mccoist row 5 : 25 november 1992 | gs | marseille | h | 2-2 | 41624 | mcswegan, hateley row 6 : 9 december 1992 | gs | cska moscow | a | 1-0 | 9000 | ferguson row 7 : 3 march 1993 | gs | club brugge | a | 1-1 | 19000 | huistra row 8 : 17 march 1993 | gs | club brugge | h | 2-1 | 42731 | durrant, nisbet row 9 : 7 april 1993 | gs | marseille | a | 1-1 | 46000 | durrant row 10 : 21 april 1993 | gs | cska moscow | h | 0-0 | 43142 | None ] Execute this SQL based on the above table: select ( select attendance where venue = 'a' ) - ( select attendance where venue = 'a' )
0.0
[ header: year | date | winner | result | loser | attendance | location row 1 : 1980 | oct 19 | chicago bears | 24-7 | detroit lions | None | chicago, illinois row 2 : 1980 | nov 27 | chicago bears | 23-17 (ot) | detroit lions | 58508 | pontiac, michigan row 3 : 1981 | oct 19 | detroit lions | 48-17 | chicago bears | 75397 | pontiac, michigan row 4 : 1981 | nov 22 | detroit lions | 23-7 | chicago bears | 71273 | chicago, illinois row 5 : 1982 | sept 12 | detroit lions | 17-10 | chicago bears | 50082 | pontiac, michigan row 6 : 1982 | nov 21 | chicago bears | 20-17 | detroit lions | 46783 | chicago, illinois row 7 : 1983 | oct 16 | detroit lions | 31-17 | chicago bears | 66709 | pontiac, michigan row 8 : 1983 | oct 30 | detroit lions | 38-17 | chicago bears | 58764 | chicago, illinois row 9 : 1984 | nov 18 | chicago bears | 16-14 | detroit lions | 54911 | chicago, illinois row 10 : 1984 | dec 16 | chicago bears | 30-13 | detroit lions | 53252 | pontiac, michigan row 11 : 1985 | nov 10 | chicago bears | 24-3 | detroit lions | 53467 | chicago, illinois row 12 : 1985 | dec 22 | chicago bears | 37-17 | detroit lions | 74042 | pontiac, michigan row 13 : 1986 | oct 26 | chicago bears | 13-7 | detroit lions | 62064 | chicago, illinois row 14 : 1986 | dec 15 | chicago bears | 16-13 | detroit lions | 75602 | pontiac, michigan row 15 : 1987 | nov 22 | chicago bears | 30-10 | detroit lions | 63357 | chicago, illinois row 16 : 1988 | oct 9 | chicago bears | 24-7 | detroit lions | 64526 | pontiac, michigan row 17 : 1988 | dec 11 | chicago bears | 13-12 | detroit lions | 55010 | chicago, illinois row 18 : 1989 | sept 24 | chicago bears | 47-27 | detroit lions | 71418 | pontiac, michigan row 19 : 1989 | dec 10 | detroit lions | 27-17 | chicago bears | 52650 | chicago, illinois ] Execute this SQL based on the above table: select ( select location where date = 'dec 11' ) - ( select result where date = 'dec 11' )
-13
[ header: frequency band | band number | radio interface | generation | status | notes row 1 : 850 mhz | 5 | gsm/gprs/ | 2g | roaming | not operated by t-mobile, except for row 2 : 850 mhz clr | 5 | umts/hspa | 3g | roaming | not operated by t-mobile. after the row 3 : 1900 mhz | 2 | gsm/gprs/ | 2g | in service | most of this spectrum will be upgraded to 4g row 4 : 1700/2100 mhz a | 4 | umts/dc-hspa 42 | 4g | in service | has marketed 3g hspa+ as row 5 : 1900 mhz pcs | 2 | umts/hspa+ 21mbit | 4g | in service/building out | hspa+ 21mbps on the 1900 row 6 : 1700/2100 mhz a | 4 | lte | 4g | in service/building out | covers 210 million pops as of march, row 7 : 700 mhz block a | 12 | lte | 4g | rollout starts by q4 2014 | spectrum acquired from verizon wireless row 8 : 1900 mhz pcs | 2 | lte | 4g | rolling out in 2014 | None ] Execute this SQL based on the above table: select ( select band number where status = 'in service/building out' ) - ( select band number where status = 'rollout starts by q4 2014' )
-10.0
[ header: | average population (x 1000) | live births | deaths | natural change | crude birth rate (per 1000) | crude death rate (per 1000) | natural change (per 1000) row 1 : 1970 | 31 | 683 | 356 | 327 | 22.0 | 11.5 | 10.5 row 2 : 1975 | 33 | 706 | 374 | 332 | 21.4 | 11.3 | 10.1 row 3 : 1980 | 35 | 701 | 351 | 350 | 20.0 | 10.0 | 10.0 row 4 : 1985 | 37 | 793 | 289 | 504 | 21.4 | 7.8 | 13.6 row 5 : 1990 | 38 | 635 | 342 | 293 | 16.9 | 9.1 | 7.8 row 6 : 1991 | 38 | 623 | 350 | 273 | 16.6 | 9.3 | 7.3 row 7 : 1992 | 37 | 611 | 369 | 242 | 16.7 | 10.1 | 6.6 row 8 : 1993 | 34 | 459 | 433 | 26 | 13.3 | 12.6 | 0.8 row 9 : 1994 | 32 | 433 | 460 | - 27 | 13.5 | 14.3 | -0.8 row 10 : 1995 | 31 | 382 | 481 | - 99 | 12.5 | 15.8 | -3.2 row 11 : 1996 | 29 | 374 | 436 | - 62 | 12.7 | 14.8 | -2.1 row 12 : 1997 | 29 | 373 | 400 | - 27 | 13.0 | 13.9 | -0.9 row 13 : 1998 | 28 | 396 | 355 | 41 | 14.2 | 12.7 | 1.5 row 14 : 1999 | 27 | 319 | 397 | - 78 | 11.8 | 14.7 | -2.9 row 15 : 2000 | 26 | 289 | 391 | - 102 | 11.0 | 14.9 | -3.9 row 16 : 2001 | 26 | 298 | 390 | - 92 | 11.6 | 15.1 | -3.6 row 17 : 2002 | 25 | 310 | 376 | - 66 | 12.3 | 14.9 | -2.6 row 18 : 2003 | 24 | 268 | 462 | - 194 | 11.0 | 19.0 | -8.0 row 19 : 2004 | 24 | 339 | 463 | - 124 | 14.4 | 19.7 | -5.3 row 20 : 2005 | 23 | 294 | 466 | - 172 | 12.9 | 20.5 | -7.6 row 21 : 2006 | 22 | 270 | 366 | - 96 | 12.3 | 16.7 | -4.4 row 22 : 2007 | 21 | 280 | 351 | - 71 | 13.2 | 16.5 | -3.3 row 23 : 2008 | 20 | 267 | 368 | - 101 | 13.0 | 18.0 | -4.9 row 24 : 2009 | 20 | 268 | 365 | - 97 | 13.6 | 18.5 | -4.9 row 25 : 2010 | 19 | 233 | 397 | - 164 | 12.3 | 20.9 | -8.7 ] Execute this SQL based on the above table: select ( select crude death rate (per 1000) where id = 1 ) >= '7.8'
1
[ header: team name | leagues | base | year started | year ended | notable riders row 1 : aldershot shots | national league division three | tongham greyhound stadium | 1950 | 1960 | None row 2 : bristol bulldogs | national league, provincial league | knowle stadium, bristol | pre-1939 | 1954 | phil crump row 3 : cradley heath heathens | british league | dudley wood stadium | 1947 | 1996 | listed in article row 4 : crayford kestrels | british league division two/national league | crayford stadium, crayford | 1968 | 1983 | None row 5 : fleetwood flyers | speedway national league division two | highbury avenue sports stadium, fleetwood | 1948 | 1952 | None row 6 : hackney wick wolves | speedway national league | hackney wick stadium | 1935 | 1939 | listed in article row 7 : hackney hawks | british league | hackney wick stadium | 1963 | 1983 | listed in article row 8 : hastings saxons | speedway national league division three | pilot field, hastings | 1948 | 1949 | None row 9 : hull vikings | elite league, premier league | craven park | 1995 | 2005 | listed in article row 10 : leicester stadium | speedway northern league, speedway southern league | the stadium, blackbird road, leicester | 1929 | 1931 | cyril "squib" row 11 : leicester hounds | speedway national league division two | the stadium, blackbird road, leicester | 1937 | 1937 | wilf plant, lloy row 12 : liverpool chads | speedway national league division three, speedway national | stanley stadium, liverpool | late 1920s | 1960 | peter craven row 13 : middlesbrough bears | northern league, speedway national league | cleveland park | 1939 | 1996 | listed in article row 14 : milton keynes knights | None | groveway greyhound stadium, milton key | 1978 | 1992 | None row 15 : new cross rangers | speedway national league, speedway provincial league | new cross stadium | 1937 | 1963 | tom farndon row 16 : newport wasps | provincial league, british league, national | hayley stadium | 1964 (closed 1977, reopened | 2011 | None row 17 : nottingham | southern league, national league | olympic gardens/white city stadium | 1930 | 1938 | None row 18 : paisley lions | speedway national league | love street | 1975 | 1976 | sid and mick sheldrick, row 19 : rayleigh rockets | speedway provincial league, metropolitan league | rayleigh weir stadium, ray | 1949 | 1973 | None row 20 : southampton saints | speedway national league | banister court stadium, southampton | 1928 | 1963 | None row 21 : sunderland stars | speedway national league | sunderland greyhound stadium, east boldon | 1971 | 1974 | None row 22 : trelawny pitbulls | conference league | clay country moto parc, st aus | 2003 | 2003 | None row 23 : wembley lions | southern league, speedway national league | empire stadium | 1929 | 1971 | listed in article row 24 : west ham hammers | speedway british league, speedway | west ham stadium | 1930 | 1971 | listed in article row 25 : white city rebels | speedway british league | white city stadium | 1976 | 1978 | gordon kennett, steve row 26 : wimbledon dons | speedway national league | wimbledon stadium | 1929 | 2005 | listed in article ] Execute this SQL based on the above table: select leagues where id = ( select id where leagues = 'british league' ) + 1
british league division two/national league
[ header: year | champion | score | runner-up | total prize money | champion | runner-up row 1 : 2001 | ravi sandiran | | thanawat gaweenuntavong | None | None | None row 2 : 2005 | tengku hadzali shah | | mohd nazib khalit | None | None | None row 3 : 2006 | selbaraju subramaniam | | tengku hadzali shah | None | None | None row 4 : 2007 | s raj | | keshminder singh | sgd 3,600 | sgd 1,600 | sgd 800 row 5 : 2008 | robert calupit | | shah azhar | sgd 3,600 | sgd 1,600 | sgd 800 row 6 : 2009 | ronald l briones | | tengku hadzali shah | sgd 2,400 | sgd 1,000 | sgd 500 row 7 : 2010 | None | | None | None | sgd 1,000 | sgd 500 ] Execute this SQL based on the above table: select abs ( runner-up - runner-up ) where champion = 's raj'
0
[ header: month | song | artist | aggregate points | total downloads | year-end chart row 1 : january | "lovey-dovey" | t-ara | 142,691,767 | 1,903,727 | 7 row 2 : february | "blue" | big bang | 102,380,663 | 1,351,429 | 10 row 3 : march | "fantastic baby" | big bang | 105,296,671 | 1,229,518 | 5 row 4 : april | "cherry blossom ending" | busker busker | 169,546,447 | 1,570,146 | 2 row 5 : may | "twinkle" | girls' generation-tts | 119,415,981 | 997,122 | 11 row 6 : june | "like this" | wonder girls | 138,592,996 | 1,444,339 | 18 row 7 : july | "i love you" | 2ne1 | 151,627,608 | 1,522,263 | 6 row 8 : august | "gangnam style" | psy | 150,855,485 | 1,280,050 | 1 row 9 : september | "all for you" | jung eunji & seo | 113,858,049 | 1,037,911 | 8 row 10 : october | "bloom" | gain | 115,479,048 | 1,182,829 | 42 row 11 : november | "1, 2, 3, 4" | lee hi | 132,391,547 | 1,210,297 | 23 row 12 : december | "return" | lee seung gi | 110,364,099 | 896,196 | 37 ] Execute this SQL based on the above table: select artist where artist in ( 'big bang' , 'wonder girls' ) order by total downloads asc limit 1
big bang
[ header: club | nickname | no. of premierships | premiership years | moved to row 1 : calleen (previously hiawath | blues | 0 | none | disbanded in 1932 row 2 : condobolin-milby | kangaroos | 3 | 1966-67, 1990 | disbanded in 2003 row 3 : four corners | redlegs | 13 | 1928-29-30-31-32, 1937, 1949 | disbanded in 1994 row 4 : kikoira | None | 2 | 1940-41 | disbanded row 5 : lake cargelligo | swans | 0 | none | amalgamated with lake cargelligo tig row 6 : parkes | panthers | 0 | none | central west afl in 2008 row 7 : tallimba | hawks | 0 | none | disbanded in 1987 row 8 : west milby | None | 1 | 1936 | disbanded row 9 : young | saints | 0 | none | central west afl ] Execute this SQL based on the above table: select moved to order by premiership years desc limit 1
disbanded in 1932
[ header: election year | # of constituency votes | % of constituency votes | +/- | # of party list votes | % of party list votes | +/- | # of overall seats won row 1 : 1965 | 587216 | 1.8 | 1.8 | 664193 | 2 | 2 | 0 / 518 row 2 : 1969 | 1189375 | 3.6 | 1.8 | 1422010 | 4.3 | 2.3 | 0 / 518 row 3 : 1972 | 194389 | 0.5 | 3.1 | 207465 | 0.6 | 3.7 | 0 / 518 row 4 : 1976 | 136.023 | 0.4 | 0.1 | 122661 | 0.3 | 0.3 | 0 / 518 row 5 : 1980 | None | None | None | 68096 | 0.2 | 0.1 | 0 / 497 row 6 : 1983 | 57112 | 0.1 | 0.3 | 91095 | 0.2 | 0 | 0 / 498 row 7 : 1987 | 182880 | 0.5 | 0.4 | 227054 | 0.6 | 0.4 | 0 / 497 row 8 : 1990 | 190105 | 0.4 | 0.1 | 145776 | 0.3 | 0.3 | 0 / 662 row 9 : 1998 | 45043 | 0.1 | 0.3 | 126571 | 0.3 | 0 | 0 / 669 row 10 : 2002 | 103209 | 0.1 | 0.1 | 215232 | 0.4 | 0.1 | 0 / 603 row 11 : 2005 | 857.777 | 1.8 | 1.6 | 748568 | 1.6 | 1.2 | 0 / 614 row 12 : 2009 | 768442 | 1.8 | 0 | 635525 | 1.5 | 0.1 | 0 / 620 row 13 : 2013 | 634842 | 1.5 | 0.3 | 560660 | 1.3 | 0.2 | 0 / 630 ] Execute this SQL based on the above table: select # of overall seats won order by # of overall seats won - # of overall seats won desc limit 1
0 / 518
[ header: outcome | no. | date | tournament | surface | opponent in the final | score row 1 : runner-up | 1 | 2 september 2001 | mostar | clay | adriana basaric | 4-6, 3-6 row 2 : winner | 1 | 27 january 2002 | courmayeur | hard | stefanie weis | 4-6, 7-6(7-3), row 3 : winner | 2 | 17 february 2002 | bergamo | hard | rita degli-esposti | 6-1, 6-2 row 4 : runner-up | 2 | 31 march 2002 | rome - parioli | clay | dinara safina | 7-6(7-3), 2-6, row 5 : runner-up | 3 | 23 june 2002 | gorizia | clay | ainhoa goni-blanco | 6-7(4-7), 1-6 row 6 : runner-up | 4 | 11 august 2002 | rimini | clay | laurence andretto | 5-7, 4-6 row 7 : winner | 3 | 26 january 2003 | grenoble | hard | sophie lefevre | 7-5, 7-5 row 8 : winner | 4 | 16 february 2003 | southampton | hard | magdalena zdenovcova | 6-1, 3-0, ret row 9 : winner | 5 | 23 february 2003 | redbridge | hard | olga barabanschikov | 6-3, 6-2 row 10 : winner | 6 | 23 march 2003 | castellon | clay | ludmila cervanova | 6-3, 6-3 row 11 : winner | 7 | 2 november 2003 | poitiers | hard | roberta vinci | 6-4, 7-5 row 12 : winner | 8 | 1 march 2009 | biberach | hard | kirsten flipkens | 6-1, 6-2 row 13 : winner | 9 | 11 april 2009 | torhout | hard | viktoriya kutuzova | 6-1, 6-4 row 14 : winner | 10 | 11 april 2009 | mestre | hard | yvonne meusburger | 2-6, 6-2, 6-4 ] Execute this SQL based on the above table: select outcome where id = ( select id where outcome = 'winner' ) + 1
winner
[ header: name | rural municipality (rm) | population (2011) | population (2006) | change (%) | land area (km2) | population density (per km2) row 1 : assiniboia | lake of the rivers no. 72 | 2418 | 2305 | 4.9 | 3.78 | 639.8 row 2 : bengough | bengough no. 40 | 313 | 337 | -7.1 | 1.07 | 292 row 3 : bienfait | coalfields no. 4 | 780 | 748 | 4.3 | 3.09 | 252.4 row 4 : big river | big river no. 555 | 639 | 728 | -12.2 | 2.51 | 255 row 5 : birch hills | birch hills no. 460 | 1064 | 935 | 13.8 | 2.27 | 468.4 row 6 : broadview | elcapo no. 154 | 574 | 611 | -6.1 | 2.45 | 233.8 row 7 : bruno | bayne no. 371 | 574 | 495 | 16 | 0.95 | 606.1 row 8 : churchbridge | churchbridge no. 211 | 743 | 704 | 5.5 | 2.76 | 269.2 row 9 : craik | craik no. 222 | 453 | 408 | 11 | 3.02 | 150 row 10 : govan | last mountain valley no. 250 | 216 | 232 | -6.9 | 1.35 | 159.7 row 11 : kindersley | kindersley no. 290 | 4678 | 4412 | 6 | 12.55 | 372.8 row 12 : kipling | kingsley no. 124 | 1051 | 973 | 8 | 2.15 | 487.9 row 13 : lampman | browning no. 34 | 713 | 634 | 12.5 | 2.23 | 319.9 row 14 : leader | happyland no. 231 | 821 | 881 | -6.8 | 1.71 | 481.2 row 15 : lemberg | abernethy no. 186 | 274 | 255 | 7.5 | 2.67 | 102.7 row 16 : lumsden | lumsden no. 189 | 1631 | 1523 | 7.1 | 4.06 | 402 row 17 : maple creek | maple creek no. 111 | 2176 | 2198 | -1 | 4.42 | 492.1 row 18 : milestone | brock no. 64 | 618 | 562 | 10 | 2.17 | 284.4 row 19 : morse | morse no. 165 | 240 | 236 | 1.7 | 1.45 | 165.7 row 20 : naicam | pleasantdale no. 398 | 686 | 690 | -0.6 | 1.69 | 405.5 row 21 : nipawin | nipawin no. 487 | 4265 | 4076 | 4.6 | 8.71 | 489.4 row 22 : osler | corman park no. 344 | 1088 | 926 | 17.5 | 1.55 | 700.6 row 23 : pilot butte | mcleod no. 185 | 1848 | 1872 | -1.3 | 5.05 | 365.6 row 24 : porcupine plain | porcupine no. 395 | 855 | 783 | 9.2 | 2.27 | 377.2 row 25 : preeceville | preeceville no. 334 | 1070 | 1050 | 1.9 | 3.06 | 350.2 row 26 : rouleau | redburn no. 130 | 453 | 400 | 13.3 | 1.61 | 282.2 row 27 : shaunavon | grassy creek no. 78 | 1756 | 1691 | 3.8 | 5.1 | 344.2 row 28 : springside | st. philips no. | 534 | 513 | 4.1 | 0.68 | 791 row 29 : star city | star city no. 428 | 460 | 428 | 7.5 | 0.7 | 661.1 row 30 : strasbourg | mckillop no. 220 | 752 | 732 | 2.7 | 5.7 | 132 ] Execute this SQL based on the above table: select rural municipality (rm) where rural municipality (rm) = 'star city no. 428' order by population (2011) asc limit 1147
star city no. 428
[ header: year | title | peak chart positions aus | peak chart positions nz | peak chart positions uk | album row 1 : 1981 | "stand up" | None | None | None | triffids sixth row 2 : 1982 | "spanish blue" | None | None | None | single-only release row 3 : 1984 | "beautiful waste" | None | None | None | single-only release row 4 : 1985 | "you don't miss your water" | None | None | None | single-only release row 5 : 1986 | "wide open road" | 64 | None | 26 | born sandy devotional row 6 : 1987 | "bury me deep in love" | 48 | 34 | None | calenture row 7 : 1988 | "trick of the light" | 77 | None | 73 | calenture row 8 : 1988 | "holy water" | None | None | None | calenture row 9 : 1989 | "goodbye little boy" | 81 | None | None | the black swan row 10 : 1989 | "falling over you" | None | None | None | the black swan row 11 : 2007 | "save what you can" | None | None | None | promotional release ] Execute this SQL based on the above table: select count ( title ) where year = 2007
1
[ header: year | w | l | t | finish | coach row 1 : 1910 | 11 | 0 | 1 | None | earl ball row 2 : 1911 | 7 | 1 | 2 | None | earl ball row 3 : 1912 | 6 | 3 | 2 | None | earl ball row 4 : 1913 | 8 | 2 | 0 | indiana state champs | earl ball row 5 : 1914 | 5 | 3 | 1 | None | earl ball row 6 : 1915 | 8 | 2 | 1 | None | earl ball row 7 : 1916 | 2 | 7 | 1 | None | f.w. smith row 8 : 1917 | 2 | 2 | 0 | None | ky foster, ralph daw row 9 : 1918 | None | None | None | None | None row 10 : 1919 | 4 | 1 | 1 | None | cooney checkaye row 11 : 1920 | 0 | 1 | 0 | 14th apfa | ken huffine row 12 : 1921 | 0 | 2 | 0 | 18th apfa | cooney checkaye row 13 : 1922 | 5 | 1 | 3 | None | cooney checkaye row 14 : 1923 | 3 | 4 | 0 | None | cooney checkaye row 15 : 1924 | 3 | 3 | 0 | None | cooney checkaye row 16 : 1925 | 6 | 2 | 3 | None | cooney checkaye row 17 : 1926 | 0 | 1 | 0 | incomplete | None ] Execute this SQL based on the above table: select ( select coach where coach = 'ken huffine' ) - ( select coach where coach = 'earl ball' )
0
[ header: number | name | year built | boat builder | current status row 1 : 1 | hilbre | 1958 | williams & nixon | wksc-regularly row 2 : 4 | hioco | 1959 | enterprise boat company, rock ferry | wksc-regularly row 3 : 6 | hie | 1959 | williams & nixon | wksc-regularly row 4 : 9 | hiawatha | 1960 | williams & nixon | wksc-regularly row 5 : 13 | no boat | None | None | None row 6 : 15 | hieros | 1961 | turner & son, donegal | understood to be in a garden in chester row 7 : 16 | high & dry | 1961 | turner & son, donegal | went down in the persian gulf after row 8 : 17 | hilsa | 1961 | enterprise boat company, rock ferry | wksc-regularly row 9 : 19 | hilarity | 1960 | williams & nixon | wksc-regularly row 10 : 20 | hilda | 1960 | enterprise boat company, rock ferry | wksc-regularly row 11 : 22 | hijack | 1961 | turner & son, donegal | set on fire and destroyed in nevin, row 12 : 24 | hibiscus | 1961 | enterprise boat company, rock ferry | sunk when it disappeared from its moor row 13 : 27 | hicotee | 1961 | enterprise boat company, rock ferry | wksc-regularly row 14 : 33 | hiwmor | 1961 | crossfield successors, arnside | south east england row 15 : 35 | hilo | 1961 | enterprise boat company, rock ferry | wrecked when escaped moorings row 16 : 37 | hinden | 1961 | crossfield successors, arnside | destroyed when put in a skip in liverpool row 17 : 39 | hickory | 1961 | crossfield successors, arnside | burnt on bonfire night row 18 : 41 | highcrest | 1961 | crossfield successors, arnside | wrecked when came off its mooring row 19 : 44 | hibrena | 1961 | crossfield successors, arnside | cut up and burnt in 2002 and parts salvage row 20 : 49 | higgler | 1961 | crossfield successors, arnside | last heard of in polperro row 21 : 50 | heulwen | 1962 | wirral boat co., rock ferry | porthmadog row 22 : 54 | hinon | 1964 | crossfield successors, arnside | lying in a garden in buckley, in row 23 : 55 | hiriver | 1964 | anglesey boat co., beaumaris | sunk in the river mersey row 24 : 56 | hipparchus | 1966 | anglesey boat co., beaumaris | liverpool maritime museum ] Execute this SQL based on the above table: select count ( name ) where year built = 1964
2
[ 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 margin of victory - margin of victory where tournament = 'arizona copper classic'
0.0
[ header: year | title | chart-positions uk | chart-positions us | chart-positions nl | comments row 1 : 1969 | renaissance | 60 | None | 10 | None row 2 : 1971 | illusion | None | None | None | 1976 (uk) row 3 : 1972 | prologue | None | None | None | None row 4 : 1973 | ashes are burning | None | 171 | None | None row 5 : 1974 | turn of the cards | None | 94 | None | 1975 (uk) row 6 : 1975 | scheherazade and other stories | None | 48 | None | None row 7 : 1977 | novella | None | 46 | None | 1977 (january in us, august in row 8 : 1978 | a song for all seasons | 35 | 58 | None | uk:silver row 9 : 1979 | azure d'or | 73 | 125 | None | None row 10 : 1981 | camera camera | None | 196 | None | None row 11 : 1983 | time-line | None | 207 | None | None row 12 : 2001 | tuscany | None | None | None | None row 13 : 2013 | grandine il vento | None | None | None | None ] Execute this SQL based on the above table: select count ( * )
13
[ header: date | winner | yacht | loser | yacht | score | delta row 1 : september 14, 1983 | liberty | us-40 | australia ii | ka-6 | 1-0 | 1:10 row 2 : september 15, 1983 | liberty | us-40 | australia ii | ka-6 | 2-0 | 1:33 row 3 : september 18, 1983 | australia ii | ka-6 | liberty | us-40 | 1-2 | 3:14 row 4 : september 20, 1983 | liberty | us-40 | australia ii | ka-6 | 3-1 | 0:43 row 5 : september 21, 1983 | australia ii | ka-6 | liberty | us-40 | 2-3 | 1:47 row 6 : september 22, 1983 | australia ii | ka-6 | liberty | us-40 | 3-3 | 3:25 row 7 : september 26, 1983 | australia ii | ka-6 | liberty | us-40 | 4-3 | 0:41 ] Execute this SQL based on the above table: select date where score = 1 order by delta asc limit 492
september 14, 1983, september 18, 1983
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 24 december 2005 | phang nga, tha | latvia | 1-1 | draw | 2005 king's cup row 2 : 2 | 26 march 2006 | chonburi, thailand | philippines | 5-0 | win | friendly row 3 : 4 | 8 october 2007 | bangkok, thailand | macau | 6-1 | win | 2010 fifa world cup qualification row 4 : 5 | 6 february 2008 | saitama, japan | japan | 4-1 | loss | 2010 fifa world cup qualification row 5 : 6 | 15 march 2008 | kunming, china | china pr | 3-3 | draw | friendly row 6 : 8 | 20 may 2008 | bangkok, thailand | nepal | 7-0 | win | friendly row 7 : 10 | 25 may 2008 | bangkok, thailand | iraq | 2-1 | win | friendly row 8 : 11 | 2 june 2008 | bangkok, thailand | bahrain | 2-3 | loss | 2010 fifa world cup qualification row 9 : 12 | 20 december 2008 | bangkok, thailand | indonesia | 2-1 | win | 2008 aff suzuki cup row 10 : 13 | 18 july 2009 | bangkok, thailand | pakistan | 4-0 | win | friendly row 11 : 14 | 8 november 2009 | bangkok, thailand | syria | 1-1 | draw | friendly row 12 : 15 | 8 september 2010 | new delhi, india | india | 2-1 | win | friendly row 13 : 16 | 15 january 2012 | bangkok, thailand | south korea | 1-3 | loss | 2012 king's cup row 14 : 17 | 26 january 2013 | chiangmai, thailand | north korea | 2-2 | draw | 2013 king's cup row 15 : 18 | 5 march 2014 | bangkok, thailand | lebanon | 2-5 | loss | 2015 afc asian cup qualification ] Execute this SQL based on the above table: select # order by score asc limit 1
1
[ header: | landmark name | location | summary row 1 : 1 | flagpole | the flagpole was once located at 10 s | flagpole erected in 1941 by del row 2 : 2 | water pump station and water tower | northeastern corner of the junction of innovation and | None row 3 : 3 | ammo bunker (s-1007) | southwest of vosler dr. (formerly | built by del e. webb construction row 4 : 4 | ammo bunker (s-1008) | southwest of vosler dr. (formerly | also built by del e. webb row 5 : 5 | civil engineering maintenance shop | northeastern corner of unity ave. | built by del e. webb construction row 6 : 6 | demountable hangar | located at the north apron of | built in 1925 and designed by webb, de row 7 : 7 | housing storage supply warehouse | northwestern corner of the junction of innovation and unity | built by del e. webb construction ] Execute this SQL based on the above table: select ( select max ( ) ) - ( select max ( ) where != ( select max ( ) ) )
1.0
[ header: date | opponent | site | result | attendance | record row 1 : thu., dec. 5, 1940 | at loyola maryland | alumni gymnasium • baltimore, | l 32-36 | None | 0-1 row 2 : tue., dec. 10, | western maryland | riverside stadium • washington, dc | w 41-29 | None | 1-1 row 3 : thu., dec. 12, 1940 | at american | clendenen gymnasium • washington | w 41-35 | None | 2-1 row 4 : mon., dec. 16, 1940 | george washington | riverside stadium • washington, dc | w 50-42 | None | 3-1 row 5 : wed., dec. 18, 1940 | at loyola chicago | chicago stadium • chicago, | w 38-35 | None | 4-1 row 6 : wed, jan. 8, 1941 | at canisius | buffalo memorial auditorium • buffalo, ny | w 53-35 | None | 5-1 row 7 : fri., jan. 10, 1941 | at temple | philadelphia convention hall • phil | w 46-45 | None | 6-1 row 8 : wed., jan 15, 1941 | at army | hayes gymnasium • west point, n | w 40-28 | None | 7-1 row 9 : thu., jan. 16, 1941 | new york university | riverside stadium • washington, dc | w 36-27 | None | 8-1 row 10 : fri., jan. 17, 1941 | at maryland | ritchie coliseum • | w 51-34 | None | 9-1 row 11 : wed., jan. 22, 1941 | at navy | dahlgren hall • annapolis, | w 38-18 | None | 10-1 row 12 : wed, jan. 29, 1941 | penn state | riverside stadium • washington, dc | w 28-24 ot | None | 11-1 row 13 : wed., feb. 5, | at syracuse | archbold gymnasium • syrac | l 43-49 | None | 11-2 row 14 : thu., feb. | at colgate | huntington gymnasium • hamilton, | w 39-36 | None | 12-2 row 15 : fri., feb. 7, 1941 | at yale | payne whitney gymnasium • | w 41-39 | None | 13-2 row 16 : mon, feb. 10, 1941 | temple | riverside stadium • washington, dc | w 57-49 | 7000 | 14-2 row 17 : wed., feb. 19, | at penn state | recreation hall • state college, pa | l 38-45 | None | 14-3 row 18 : thu., feb. | at scranton | watres armory • scranton, | w 51-40 | None | 15-3 row 19 : fri., feb. 28, 1941 | at fordham | madison square garden • new york, | l 42-52 | None | 15-4 row 20 : thu., mar. 6, 1941 | at george washington | riverside stadium • washington, dc | w 41-34 | None | 16-4 ] Execute this SQL based on the above table: select date where attendance > 1094
mon, feb. 10, 1941
[ header: position | team | points | played | won | drawn | lost | for | against | difference row 1 : 1 | paulistano | 30 | 18 | 14 | 2 | 2 | 62 | 19 | 43 row 2 : 2 | palestra italia-sp | 29 | 18 | 14 | 1 | 3 | 59 | 21 | 38 row 3 : 3 | corinthians | 26 | 18 | 12 | 2 | 4 | 51 | 16 | 35 row 4 : 4 | ypiranga-sp | 25 | 18 | 11 | 3 | 4 | 56 | 34 | 22 row 5 : 5 | aa sao bento | 16 | 18 | 7 | 2 | 9 | 38 | 44 | -6 row 6 : 6 | santos | 13 | 18 | 6 | 1 | 11 | 36 | 43 | -7 row 7 : 7 | sc internacional de sa | 11 | 15 | 3 | 5 | 7 | 26 | 44 | -18 row 8 : 8 | minas gerais | 10 | 15 | 4 | 2 | 9 | 18 | 49 | -31 row 9 : 9 | aa das palmeiras | 6 | 15 | 3 | 0 | 12 | 27 | 57 | -30 row 10 : 10 | mackenzie | 2 | 15 | 1 | 0 | 14 | 11 | 57 | -46 ] Execute this SQL based on the above table: select against where against in ( 34 , 21 ) order by team limit 1
21.0
[ header: # | menteri besar | took office | left office | party row 1 : 1 | jaafar mohamed | 1886 | july 1890 | no party row 2 : 2 | mohamed mahbob | june 1920 | 1922 | no party row 3 : 3 | abdullah jaafar | september 1923 | 1928 | no party row 4 : 4 | mustapha jaafar | september 16, 1928 | november 23, 1931 | no party row 5 : 5 | abdul hamid yusof | november 23, 1931 | december 28, 1934 | no party row 6 : 6 | ungku abdul aziz abd | april 1935 | june 1, 1947 | no party row 7 : 7 | onn jaafar | june 1, 1947 | may 18, 1950 | no party row 8 : 8 | syed abdul kadir mo | february 18, 1952 | june 5, 1955 | no party row 9 : 9 | wan idris ibra | october 1, 1955 | august 31, 1957 | no party ] Execute this SQL based on the above table: select left office where party = 'no party' and # = 6
june 1, 1947
[ header: round | pick | player | nationality | college/junior/club team row 1 : 1 | 3 | rick hampton | canada | st. catharines black hawk row 2 : 1 | 17 | ron chipperfield | canada | brandon wheat kings (wchl row 3 : 2 | 21 | bruce affleck | canada | university of denver pioneers (wcha) row 4 : 3 | 39 | charlie simmer | canada | sault ste. marie greyhound row 5 : 4 | 57 | tom price | canada | ottawa 67's ( row 6 : 5 | 75 | jim warden | united states | michigan tech huskies (wcha row 7 : 6 | 93 | tom sundberg | united states | st. paul vulcans row 8 : 7 | 111 | tom anderson | united states | st. paul vulcans row 9 : 8 | 128 | jim mccabe | canada | welland sabres (so ] Execute this SQL based on the above table: select pick where college/junior/club team = 'michigan tech huskies (wcha)'
75.0
[ header: # | name (birth-death) | took office | left office | monarch | prime minister row 1 : 1 | the viscount gladstone (1854-1930) | 31 may 1910 | 8 september 1914 | george v | botha row 2 : 2 | the viscount buxton (1853-1934) | 8 september 1914 | 17 november 1920 | george v | botha row 3 : 3 | hrh prince arthur of conn | 17 november 1920 | 21 january 1924 | george v | smuts row 4 : 4 | the earl of athlone (1874 | 21 january 1924 | 26 january 1931 | george v | smuts row 5 : 5 | the earl of clarendon (1877 | 26 january 1931 | 5 april 1937 | george v | hertzog row 6 : 6 | sir patrick duncan (1870-19 | 5 april 1937 | 17 july 1943 | george vi | hertzog row 7 : 6 | nicolaas jacobus de | 17 july 1943 | 1 january 1946 | george vi | smuts row 8 : 7 | gideon brand van zyl (18 | 1 january 1946 | 1 january 1951 | george vi | smuts row 9 : 8 | ernest george jans | 1 january 1951 | 25 november 1959 | george vi | malan row 10 : 8 | lucas cornelius stey | 26 november 1959 | 11 december 1959 | elizabeth ii | verwoerd row 11 : 9 | charles robberts swar | 11 december 1959 | 30 april 1961 | elizabeth ii | verwoerd row 12 : 9 | lucas cornelius stey | 30 april 1961 | 31 may 1961 | elizabeth ii | verwoerd ] Execute this SQL based on the above table: select count ( monarch ) where # >= 7
5
[ header: date | round | opponent | venue | result | attendance | scorers row 1 : 16 september 1992 | r1 | lyngby | h | 2-0 | 40036 | hateley, huistra row 2 : 30 september 1992 | r1 | lyngby | a | 1-0 | 4273 | durrant row 3 : 21 october 1992 | r2 | leeds united | h | 2-1 | 43251 | mccoist, lukic row 4 : 4 november 1992 | r2 | leeds united | a | 2-1 | 25118 | hateley, mccoist row 5 : 25 november 1992 | gs | marseille | h | 2-2 | 41624 | mcswegan, hateley row 6 : 9 december 1992 | gs | cska moscow | a | 1-0 | 9000 | ferguson row 7 : 3 march 1993 | gs | club brugge | a | 1-1 | 19000 | huistra row 8 : 17 march 1993 | gs | club brugge | h | 2-1 | 42731 | durrant, nisbet row 9 : 7 april 1993 | gs | marseille | a | 1-1 | 46000 | durrant row 10 : 21 april 1993 | gs | cska moscow | h | 0-0 | 43142 | None ] Execute this SQL based on the above table: select date where attendance not null
16 september 1992, 30 september 1992, 21 october 1992, 4 november 1992, 25 november 1992, 9 december 1992, 3 march 1993, 17 march 1993, 7 april 1993, 21 april 1993
[ header: pos. | athlete | run 1 | run 2 | total row 1 : 1 | aronne pieruz | 50.39 | 58.25 | 1:48.64 row 2 : 2 | filip trejbal | 50.68 | 58.84 | 1:49.52 row 3 : 3 | adam cole | 51.4 | 58.51 | 1:49.91 row 4 : 4 | tague thorson | 51.2 | 59.13 | 1:50.33 row 5 : 5 | jan urfer | 51.54 | 59.1 | 1:50.64 row 6 : 6 | charles christianson | 51.75 | 58.91 | 1:50.66 row 7 : 7 | francesco ghedina | 51.37 | 59.39 | 1:50.94 row 8 : 8 | luca moretti | 52.05 | 58.89 | 1:51.17 row 9 : 9 | cameron barnes | 51.66 | 59.51 | 1:51.37 row 10 : 10 | martin vrablik | 52.77 | 58.6 | 1:51.48 ] Execute this SQL based on the above table: select pos. where pos. in ( 2 , 3 ) group by pos. order by count ( athlete ) desc limit 1
3.0
[ header: riding | candidate | gender | residence | occupation | votes | % | rank | biographical notes row 1 : cape breton-canso | mark macneill | m | inverness | government and business policy advisor | 7660 | 21.1 | 3rd | served in ottawa as a row 2 : central nova | mary louise lorefice | f | antigonish | retired educator | 7659 | 19.6 | 3rd | lorefice is a retired teacher row 3 : cumberland-colchester-musquod | karen olsson | f | north river | stay-at-home mother | 4874 | 12.3 | 2nd | None row 4 : dartmouth-cole harbour | brad pye | m | ottawa, on | senior political party program officer | 12793 | 31.5 | 2nd | pye is an international development worker and row 5 : halifax | megan leslie | f | halifax | community legal worker | 19252 | 42.7 | 1st | None row 6 : halifax west | tamara lorincz | f | halifax | director of nova scotia environment | 12201 | 29.6 | 2nd | an environmentalist row 7 : kings-hants | carol e. harris | f | wolfville | university professor | 8291 | 22 | 3rd | she was the ndp's candidate in row 8 : sackville-eastern shore | peter stoffer | m | windsor junction | parliamentarian | 24279 | 61.4 | 1st | stoffer has been the incumbent mp since row 9 : south shore-st. margaret | gordon s. earle | m | upper tantallon | retired public servant | 13456 | 33.7 | 2nd | earle is the former federal mp for row 10 : sydney-victoria | wayne mckay | m | sydney | teacher | 8559 | 24.4 | 2nd | None row 11 : west nova | george barron | m | bear river | paramedic | 7097 | 16.9 | 3rd | barron was born near paris, on ] Execute this SQL based on the above table: select votes where biographical notes is null
4874.0, 19252.0, 8559.0
[ header: round | selection | player | position | college row 1 : 1 | 22 | desmond trufant | cb | washington row 2 : 2 | 60 | robert alford | cb | southeastern louisiana row 3 : 4 | 127 | malliciah goodman | de | clemson row 4 : 4 | 133 | levine toilolo | te | stanford row 5 : 5 | 153 | stansly maponga | de | tcu row 6 : 7 | 243 | kemal ishmael | s | central florida row 7 : 7 | 244 | zeke motta | s | notre dame row 8 : 7 | 249 | sean renfree | qb | duke ] Execute this SQL based on the above table: select count ( distinct college )
8
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 10 | juan pablo montoya | mclaren-mercedes | 60 | 1:24:29.588 | 3 | 10 row 2 : 2 | 5 | fernando alonso | renault | 60 | 2.739 | 1 | 8 row 3 : 3 | 9 | kimi raikkonen | mclaren-mercedes | 60 | 14.436 | 12 | 6 row 4 : 4 | 6 | giancarlo fisichella | renault | 60 | 17.914 | 6 | 5 row 5 : 5 | 3 | jenson button | bar-honda | 60 | 40.264 | 2 | 4 row 6 : 6 | 1 | michael schumacher | ferrari | 60 | +1:15.322 | 9 | 3 row 7 : 7 | 2 | rubens barrichello | ferrari | 60 | +1:16.567 | 5 | 2 row 8 : 8 | 17 | ralf schumacher | toyota | 60 | +1:19.212 | 8 | 1 row 9 : 9 | 16 | jarno trulli | toyota | 60 | +1:20.851 | 4 | None row 10 : 10 | 12 | felipe massa | sauber-petronas | 59 | +1 lap | 16 | None row 11 : 11 | 7 | mark webber | williams-bmw | 59 | +1 lap | 11 | None row 12 : 12 | 8 | nick heidfeld | williams-bmw | 59 | +1 lap | 14 | None row 13 : 13 | 14 | david coulthard | red bull-cosworth | 59 | +1 lap | 13 | None row 14 : 14 | 11 | jacques villeneuve | sauber-petronas | 59 | +1 lap | 10 | None row 15 : 15 | 15 | christian klien | red bull-cosworth | 59 | +1 lap | 15 | None row 16 : 16 | 4 | takuma sato | bar-honda | 58 | +2 laps | 7 | None row 17 : 17 | 18 | tiago monteiro | jordan-toyota | 58 | +2 laps | 20 | None row 18 : 18 | 21 | christijan albers | minardi-cosworth | 57 | +3 laps | 18 | None row 19 : 19 | 20 | patrick friesacher | minardi-cosworth | 56 | +4 laps | 19 | None row 20 : ret | 19 | narain karthikeyan | jordan-toyota | 10 | electrical | 17 | None ] Execute this SQL based on the above table: select count ( pos ) where driver = 168
0
[ header: season | date | jia-a/csl winner | result | fa cup winner | scorers | stadium row 1 : 1995 | 9 december 1995 | shanghai shenhua | 1 - 0 | jinan taishan ( | fan zhiyi | hongkou stadium, shangha row 2 : 1996 | 9 march 1997 | dalian wanda (now dalian | 3 - 2 | beijing guoan | wang tao (2), l | shenzhen stadium, shenzhen row 3 : 1997 | 12 march 1998 | dalian wanda (now dalian | 1 - 2 aet (g | beijing guoan | wang tao, olivas | wenzhou stadium, wenzhou row 4 : 1998 | 7 march 1999 | dalian wanda (now dalian | 0 - 3 | shanghai shenhua | wu chengying, marcel | mianyang stadium, mianyang row 5 : 1999 | 4 march 2000 | shandong luneng | 2 - 4 | liaoning fushun | li xiaopeng, casiano | hongkou stadium, shangha row 6 : 2000 | 30 december 2000 | dalian shide | 4 - 1 | chongqing lifan | hao haidong, wang pe | hongkou stadium, shangha row 7 : 2001 | 26 february 2002 | dalian shide | 1 - 3 (1 - 1 / | shanghai shenhua | srđan bajcetic | hongkou stadium, shangha row 8 : 2001 | 2 march 2002 | dalian shide | 1 - 3 (1 - 1 / | shanghai shenhua | orlando (2) | jinzhou stadium, dalian row 9 : 2002 | 6 february 2003 | dalian shide | 1 - 0 | qingdao beilaite | hao haidong | wuhan sports center, wu row 10 : 2003 | 18 january 2004 | shanghai shenhua | 3 - 4 | beijing hyundai ( | zhang yuning, z | olympic park stadium, w row 11 : 2012 | 25 february 2012 | guangzhou evergrande | 2 - 1 | tianjin teda | cleo (2) wang xinx | guangzhou university city stadium, gu row 12 : 2013 | 3 march 2013 | guangzhou evergrande | 1 - 2 | jiangsu sainty | salihi krivets | tianhe stadium, guangzhou row 13 : 2014 | 17 february 2014 | guangzhou evergrande | 0 - 1 | guizhou renhe | sun jihai | guizhou olympic stadium, ] Execute this SQL based on the above table: select count ( stadium ) where stadium = 'shenzhen stadium, shenzhen'
1
[ header: year | winner | second | third | starters row 1 : 2013 | new year's day | havana | strong mandate | 13 row 2 : 2012 | shanghai bobby | he's had enough | capo bastone | 9 row 3 : 2011 | hansen | union rags | creative cause | 13 row 4 : 2010 | uncle mo | boys at toscanova | rogue romance | 11 row 5 : 2009 | vale of york | lookin at lucky | noble's promise | 13 row 6 : 2008 | midshipman | square eddie | street hero | 12 row 7 : 2007 | war pass | pyro | kodiak kowboy | 11 row 8 : 2006 | street sense | circular quay | great hunter | 14 row 9 : 2005 | stevie wonderboy | henny hughes | first samurai | 14 row 10 : 2004 | wilko | afleet alex | sun king | 8 row 11 : 2003 | action this day | minister eric | chapel royal | 12 row 12 : 2002 | vindication | kafwain | hold that tiger | 13 row 13 : 2001 | johannesburg | repent | siphonic | 12 row 14 : 2000 | macho uno | point given | street cry | 14 row 15 : 1999 | anees | chief seattle | high yield | 14 row 16 : 1998 | answer lively | aly's alley | cat thief | 13 row 17 : 1997 | favorite trick | dawson's legacy | nationalore | 8 row 18 : 1996 | boston harbor | acceptable | ordway | 10 row 19 : 1995 | unbridled's song | hennessy | editor's note | 13 row 20 : 1994 | timber country | eltish | tejano run | 13 row 21 : 1993 | brocco | blumin affair | tabasco cat | 11 row 22 : 1992 | gilded time | it'sali'lknownfact | river special | 13 row 23 : 1991 | arazi | bertrando | snappy landing | 14 row 24 : 1990 | fly so free | take me out | lost mountain | 11 row 25 : 1989 | rhythm | grand canyon | slavic | 12 row 26 : 1988 | is it true | easy goer | tagel | 10 row 27 : 1987 | success express | regal classic | tejano | 13 row 28 : 1986 | capote | qualify | alysheba | 13 row 29 : 1985 | tasso | storm cat | scat dancer | 13 row 30 : 1984 | chief's crown | tank's prospect | spend a buck | 10 ] Execute this SQL based on the above table: select winner where second = 'storm cat'
tasso
[ header: year | species | height | location grown | state | notes row 1 : 2006 | pacific silver fir | 65 feet (20 m) | olympic national forest | washington | the tree was lit by dennis hastert row 2 : 2005 | engelmann spruce | 65 feet (20 m) | santa fe national forest | new mexico | the tree was lit by dennis hastert row 3 : 2004 | red spruce | 65 feet (20 m) | george washington and jefferson national | virginia | the tree was lit by dennis hastert row 4 : 2001 | white spruce | 72 feet (22 m) | ottawa national forest | michigan | known as "the tree of hope," the tree row 5 : 1995 | douglas fir | 60 feet (18 m) | plumas national forest | california | None row 6 : 1987 | norway spruce | 60 feet (18 m) | wayne national forest | ohio | None row 7 : 1983 | white spruce | 52 feet (16 m) | chequamegon national forest | wisconsin | None row 8 : 1982 | balsam fir | 50 feet (15 m) | riley bostwich wildlife management | vermont | None row 9 : 1980 | white spruce | 48 feet (15 m) | green mountain national forest | vermont | None row 10 : 1975 | balsam fir | 41 feet (12 m) | ottawa national forest | michigan | None row 11 : 1972 | balsam fir | 50 feet (15 m) | tennessee national forest | pennsylvania | None row 12 : 1968 | white pine | 30 feet (9.1 m) | finksburg, maryland | maryland | made from two different trees ] Execute this SQL based on the above table: select location grown where height >= 410
finksburg, maryland
[ header: tournament | 1992 | 1993 | 1994 | 1995 | 1996 | 1997 | 1998 | 1999 | 2000 | 2001 | 2002 | 2003 | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 | 2010 | career sr | career w-l row 1 : australian open | a | a | 1r | qf | a | 2r | 1r | 1r | 2r | qf | qf | 3r | qf | w | sf | sf | 3r | 3r | a | 1 / 15 | 33-14 row 2 : wimbledon | a | lq | 1r | 1r | a | 1r | 2r | 3r | 1r | 1r | 2r | 3r | qf | sf | qf | 2r | f | qf | 1r | 0 / 16 | 24-16 row 3 : grand slam w-l | 0-0 | 0-0 | 0-4 | 3-2 | 0-1 | 1-4 | 3-4 | 4-4 | 2-4 | 11-3 | 9-4 | 7-4 | 12-4 | 14-3 | 12-4 | 10-4 | 8-4 | 9-4 | 0-1 | 2 / 60 | 105-58 row 4 : indian wells | a | a | sf | lq | a | a | a | 2r | 1r | 1r | qf | 2r | f | qf | 1r | qf | qf | 1r | a | 0 / 12 | 16-12 row 5 : miami | a | a | 2r | 1r | a | a | 2r | 2r | 3r | 3r | 3r | 2r | w | f | sf | qf | 2r | qf | a | 1 / 14 | 23-13 row 6 : monte carlo | a | a | a | a | a | a | a | 2r | 1r | 1r | a | sf | a | a | a | sf | sf | 2r | a | 0 / 7 | 7-7 row 7 : rome | a | a | a | a | a | a | a | 1r | a | 1r | f | 2r | qf | 2r | qf | qf | sf | sf | a | 0 / 10 | 11-10 row 8 : canada | a | a | a | a | a | a | 1r | 2r | 2r | 2r | 2r | 1r | 2r | w | f | f | qf | 2r | a | 1 / 12 | 14-11 row 9 : shanghai | not held | not held | not held | not held | not held | not held | not held | not held | not held | not held | not held | not held | not held | not held | not held | not held | not held | 2r | a | 0 / 1 | 0-1 row 10 : paris | a | a | a | a | a | a | qf | 1r | 1r | sf | 2r | qf | f | sf | 1r | qf | w | 2r | a | 1 / 12 | 16-11 row 11 : hamburg | a | a | a | a | a | a | a | 2r | a | 2r | 1r | 2r | w | 2r | w | f | 2r | nme | nme | 2 / 9 | 13-7 row 12 : year end ranking | 235 | 135 | 91 | 158 | 103 | 92 | 35 | 26 | 34 | 13 | 11 | 18 | 9 | 6 | 8 | 10 | 8 | 24 | None | None | None ] Execute this SQL based on the above table: select count ( * ) where 2008 = 'a'
0
[ header: no. | name | term of office | president(s) served under row 1 : 1 | william bennett | 1989 - 1991 | george h. w. bush row 2 : 2 | bob martinez | march 28, 1991 - january 20, | george h. w. bush row 3 : 3 | lee p. brown | january 1993 - december | bill clinton row 4 : 4 | barry mccaffrey | february 29, 1996 - janu | bill clinton row 5 : 5 | john p. walters | december 7, 2001 - janu | george w. bush row 6 : 6 | gil kerlikowske | may 7, 2009 - march 6, 2014 | barack obama row 7 : acting | michael botticelli | march 6, 2014 - | barack obama ] Execute this SQL based on the above table: select count ( distinct ( name ) )
7
[ header: # | date | opponent | score | win | loss | save | attendance | record | other info row 1 : 104 | august 2 | phillies | 3 - 2 10 | smith (3-6) | calhoun (0-1) | None | 33629 | 54-50 | None row 2 : 105 | august 3 | @ pirates | 6 - 4 | drabek (3-10) | maddux (6-10) | gott (1) | 7281 | 54-51 | None row 3 : 106 | august 4 | @ pirates | 3 - 2 11 | mason (3-1) | gideon (1-2) | None | 8744 | 55-51 | None row 4 : 107 | august 5 | @ pirates | 10 - 0 | fisher (7-6) | moyer (9-8) | None | 7726 | 55-52 | None row 5 : 110 | august 8 | @ mets | 5 - 3 | mason (4-1) | schulze (1-2) | smith (27) | 47893 | 56-54 | None row 6 : 111 | august 9 | @ mets | 6 - 3 | sanderson (5-6) | gooden (9-4) | smith (28) | 49031 | 57-54 | None row 7 : 112 | august 10 | @ phillies | 4 - 2 | frohwirth (1-0) | moyer (9-9) | bedrosian (31) | 26796 | 57-55 | None row 8 : 113 | august 11 | @ phillies | 9 - 8 13 | k. gross (7-10) | tewksbury (0-4) | None | 30459 | 57-56 | None row 9 : 114 | august 12 | @ phillies | 13 - 7 | calhoun (1-1) | lynch (1-7) | None | 36190 | 57-57 | None row 10 : 116 | august 14 | mets | 6 - 1 | sanderson (6-6) | mitchell (3-5) | None | 17811 | 59-57 | None row 11 : 117 | august 15 | mets | 7 - 3 | moyer (10-9) | leach (10-1) | dipino (2) | 32425 | 60-57 | None row 12 : 118 | august 16 | mets | 23 - 10 | darling (10-7) | maddux (6-11) | None | 32731 | 60-58 | billy williams day ruined by row 13 : 119 | august 18 | @ braves | 9 - 5 | mahler (7-12) | lynch (1-8) | acker (8) | 17469 | 60-59 | None row 14 : 120 | august 19 | @ braves | 9 - 1 | sanderson (7-6) | puleo (5-6) | None | 10523 | 61-59 | None row 15 : 121 | august 20 | @ braves | 13 - 4 | acker (1-5) | moyer (10-10) | None | 11647 | 61-60 | None row 16 : 123 | august 22 | astros | 5 - 4 11 | andersen (8-4) | dipino (3-3) | smith (21) | 32552 | 62-61 | None row 17 : 124 | august 23 | astros | 4 - 2 | heathcock (3-1) | sutcliffe (15-6) | smith (22) | 33934 | 62-62 | None row 18 : 126 | august 27 | braves | 8 - 6 8 | lancaster (4-1) | mahler (7-13) | dipino (3) | 19006 | 63-63 | None row 19 : 127 | august 28 | @ reds | 6 - 5 10 | smith (4-7) | franco (7-5) | None | 28223 | 64-63 | None row 20 : 128 | august 29 | @ reds | 4 - 1 | browning (6-11) | sanderson (7-7) | None | 37783 | 64-64 | None ] Execute this SQL based on the above table: select attendance order by record desc limit 1
28223
[ header: first issued | design | slogan | serial format | serials issued | notes row 1 : 1955 | white embossed digits with white border | "grand canyon state" embossed in white | a-12345 | None | coded by county of issuance row 2 : 1958 | white embossed digits with white border | grand canyon state embossed in white and | abc-123 | aaa-001 to bzz | None row 3 : 1960 | blue embossed digits with blue border | grand canyon state embossed in blue and | abc-123 | caa-001 to dzz-999 | None row 4 : 1963 | white embossed digits with white border | grand canyon state embossed in white and | abc-123 | eaa-001 to fzz | None row 5 : 1965 | black embossed digits with black border | grand canyon state embossed in black and | abc-123 | haa-001 to jzz-999 | None row 6 : 1968 | black embossed digits with black border | grand canyon state embossed in black and | abc-123 | kaa-001 to nzz- | None row 7 : 1972 | green embossed digits with green border | grand canyon state embossed in green and | abc-123 | paa-001 to wzz-999 | None row 8 : 1980 | white embossed digits with white emb | grand canyon state embossed in white and | abc-123 | aaa-001 to nzz | None row 9 : 1996 | dark green embossed digits on | grand canyon state in dark green thin plain letters at | 123·abc | 101·aaa to 999·z | awarded "plate of the year" for best new row 10 : 2008 | dark green screened digits on screened | grand canyon state in dark green thin plain letters at | abc1234 | aaa0001 to present | None ] Execute this SQL based on the above table: select first issued group by first issued order by count ( serial format ) desc limit 1
2008
[ header: year | single | peak chart positions ger | peak chart positions ire | peak chart positions uk | peak chart positions us | peak chart positions us main | peak chart positions us dance | certifications (sales thresholds) | album row 1 : 1970 | "memo from turner" | 23 | None | 32 | None | None | None | | performance (soundtrack) row 2 : 1978 | "don't look back" (with pe | None | None | 43 | 81 | None | None | | bush doctor (peter tosh album) row 3 : 1984 | "state of shock" (with the jack | 23 | 8 | 14 | 3 | 3 | None | | victory (the jacksons album) row 4 : 1985 | "just another night" | 16 | 21 | 32 | 12 | 1 | 11 | | she's the boss row 5 : 1985 | "lonely at the top" | None | None | None | None | 9 | None | | she's the boss row 6 : 1985 | "lucky in love" | 44 | None | 91 | 38 | 5 | 11 | | she's the boss row 7 : 1985 | "hard woman" | 57 | None | None | None | None | None | | she's the boss row 8 : 1985 | "dancing in the street" (with | 6 | 1 | 1 | 7 | 3 | 4 | | single only row 9 : 1986 | "ruthless people" | None | None | None | 51 | 14 | 29 | | ruthless people (soundtrack) row 10 : 1987 | "let's work" | 29 | 24 | 31 | 39 | 7 | 32 | | primitive cool row 11 : 1987 | "throwaway" | None | None | None | 67 | 7 | None | | primitive cool row 12 : 1987 | "say you will" | None | None | None | None | 39 | None | | primitive cool row 13 : 1993 | "sweet thing" | 23 | None | 24 | 84 | 34 | None | | wandering spirit row 14 : 1993 | "wired all night" | None | None | None | None | 3 | None | | wandering spirit row 15 : 1993 | "don't tear me up" | 77 | None | 86 | None | 1 | None | | wandering spirit row 16 : 1993 | "out of focus" | 70 | None | None | None | None | None | | wandering spirit row 17 : 2001 | "god gave me everything" | 60 | None | None | None | 24 | None | | goddess in the doorway row 18 : 2002 | "visions of paradise" | 77 | None | 43 | None | None | None | | goddess in the doorway row 19 : 2004 | "old habits die hard" (with dave | 62 | None | 45 | None | None | None | | alfie (soundtrack) row 20 : 2008 | "charmed life" | None | None | None | None | None | 18 | | the very best of mick jagger row 21 : 2011 | "miracle worker" (with superhe | None | None | 136 | None | None | None | | superheavy (superheavy album) row 22 : 2011 | "t.h.e (the hardest ever | None | 13 | 3 | 36 | None | None | | #willpower (will.i.am album ] Execute this SQL based on the above table: select album where single = '"state of shock" (with the jacksons)'
victory (the jacksons album)
[ header: name(s) | yard no. | type (as built) | owner | imo number | laid down | launched | delivered/ commissioned | fate/ decommissioned | notes row 1 : sally | 100 | yacht | lyman | | None | None | None | None | None row 2 : caprice | 101 | yacht | robinson | | None | None | None | None | None row 3 : eleanor | 103 | yacht | clapp | | None | None | None | None | None row 4 : uss lawrence (dd-8) | 104 | bainbridge-class destroyer | u.s. navy | | 10 april 1899 | 7 november 1900 | 7 april 1903 | 20 june 1919 | sold to joseph g. hit row 5 : uss macdonough (dd-9) | 105 | bainbridge-class destroyer | u.s. navy | | 10 april 1899 | 24 december 1900 | 5 september 1903 | 3 september 1919 | sold to joseph g. hit row 6 : jule | 106 | yacht | j. arthur | | None | None | 12 june 1899 | None | None row 7 : united states lightship lv-72 | 107 | lightvessel | u.s lighthouse board | | None | None | 13 february 1901 | None | None ] Execute this SQL based on the above table: select type (as built) order by yard no. desc limit 1
lightvessel
[ header: record | date and time | competition | home or away | opponent | score row 1 : biggest win | 19.10.1912 at 15:00 | spartan league | home | aylesbury united | 14-0 row 2 : biggest defeat | 09.11.1946 at 15:00 | isthmian league | home | wimbledon | 0-11 row 3 : most goals in one match | 22.11.1922 at 15:00 | fa cup / 4th q | away | dulwich hamlet | 7-8 row 4 : biggest home win | 19.10.1912 at 15:00 | spartan league | home | aylesbury united | 14-0 row 5 : biggest home defeat | 09.11.1946 at 15:00 | isthmian league | home | wimbledon | 0-11 row 6 : biggest away win | 24.11.1970 at 15:00 | mithras cup 2nd r | away | ruislip manor | 10-0 row 7 : biggest away win | 17.04.1920 at 15:00 | spartan league | away | tufnell spartans | 11-1 row 8 : biggest away defeat | 04.11.2008 at 19:45 | herts charity cup | away | hemel hempstead town | 0-10 ] Execute this SQL based on the above table: select date and time where record = 'biggest defeat'
09.11.1946 at 15:00
[ header: year | team | games | punt return attempts | punt return yards | punts returned for touchdown | punts fair caught | longest punt return | kickoff attempts | kickoff return yards | kickoffs returned for touchdown | kickoffs fair caught | longest kickoff return row 1 : 2008 | den | 15 | 14 | 140 | 0 | 10 | 36 | 23 | 600 | 0 | 0 | 95 row 2 : 2009 | den | 14 | 30 | 335 | 1 | 13 | 71 | 26 | 621 | 1 | 0 | 93 row 3 : 2010 | den | 16 | 25 | 298 | 0 | 12 | 33 | 5 | 107 | 0 | 0 | 33 row 4 : 2011 | den | 12 | 12 | 194 | 1 | 9 | 85 | 3 | 47 | 0 | 0 | 20 row 5 : 2012 | sd | 10 | 12 | 64 | 0 | 2 | 14 | 0 | 0 | 0 | 0 | 0 row 6 : 2013 | sd | 15 | 7 | 41 | 0 | 7 | 12 | 0 | 0 | 0 | 0 | 0 row 7 : total | total | 82 | 100 | 1072 | 2 | 53 | 85 | 57 | 1375 | 1 | 0 | 95 ] Execute this SQL based on the above table: select ( select games where team = 'den' ) - ( select games where team = 'den' )
0.0
[ header: name | dates | grt | propulsion | port | notes row 1 : arataki i | 1948-84 | 74 | 320 bhp diesel, 10 knot | None | us navy harbour tug row 2 : arataki ii | 1984-99 | 143 | 1100 bhp diesel, 12 knot | timaru | harbour tug row 3 : hipi | 1942-56 | 39 | 100 bhp diesel, 8 knots | auckland | towing lighters row 4 : kahanui | 1942-45 | 207 | 800 ihp sr t | wanganui | harbour tug row 5 : manawanui i | 1948-52 | 74 | 329 bhp diesel, 10 knot | auckland | us navy harbour tug row 6 : meola | 1961- | 19 | 76 bhp diesel, 9 knot | auckland | work boat row 7 : toia | 1926-49 | 423 | 1250 ihp sr | wellington | world war i saint class naval tug, ] Execute this SQL based on the above table: select count ( * ) where grt = 74
2
[ header: year | single | peak chart positions us | peak chart positions us r&b | peak chart positions aus | peak chart positions can | peak chart positions nld | peak chart positions nz | peak chart positions uk | certifications | album row 1 : 1992 | "happy days" | 86 | 13 | None | None | None | None | None | None | lose control row 2 : 1993 | "freak me" | 1 | 1 | 3 | 43 | 42 | 9 | 46 | us: platinum | lose control row 3 : 1993 | "girl u for me" | 26 | 4 | None | None | None | 30 | 67 | None | lose control row 4 : 1993 | "lose control" | 26 | 4 | None | None | None | None | None | None | lose control row 5 : 1993 | "it had to be you" | 109 | 45 | None | None | None | None | None | None | lose control row 6 : 1993 | "baby it's you" | None | None | None | None | None | None | 44 | None | lose control row 7 : 1994 | "i can go deep" | 71 | 22 | None | None | None | None | None | None | a low down dirty shame / silk row 8 : 1995 | "hooked on you" | 54 | 12 | None | None | None | 11 | 81 | None | silk row 9 : 1996 | "don't rush" | 91 | 39 | None | None | None | None | None | None | silk row 10 : 1999 | "if you (lovin' me)" | 13 | 4 | None | None | None | 28 | None | us: gold | tonight row 11 : 1999 | "meeting in my bedroom" | 62 | 15 | None | None | None | None | None | None | tonight row 12 : 1999 | "let's make love" | None | 58 | None | None | None | None | None | None | tonight row 13 : 2001 | "we're callin u" | None | 56 | None | None | None | None | None | None | love session row 14 : 2001 | "ebony eyes" | None | None | None | None | None | None | None | None | love session row 15 : 2003 | "silktime" | None | None | None | None | None | None | None | None | silktime row 16 : 2004 | "side show" | None | 66 | None | None | None | None | None | None | silktime row 17 : 2006 | "the secret garden (sweet seduction suite) | None | None | None | None | None | None | None | None | always and forever ] Execute this SQL based on the above table: select album where single < ( select single where album = 'tonight' ) order by single desc limit 1
a low down dirty shame / silk
[ header: pos | no | driver | team | laps | time/retired | grid | points row 1 : 1 | 14 | robert doornbos | minardi team usa | 107 | 1:45:07.617 | 15 | 31 row 2 : 2 | 21 | neel jani | pkv racing | 107 | +6.1 secs | 5 | 27 row 3 : 3 | 3 | oriol servia | forsythe racing | 107 | +6.9 secs | 4 | 26 row 4 : 4 | 5 | will power | team australia | 107 | +7.5 secs | 12 | 23 row 5 : 5 | 1 | sebastien bourdais | n/h/l racing | 107 | +8.0 secs | 2 | 21 row 6 : 6 | 2 | graham rahal | n/h/l racing | 107 | +9.6 secs | 6 | 19 row 7 : 7 | 19 | bruno junqueira | dale coyne racing | 107 | +14.0 secs | 10 | 17 row 8 : 8 | 22 | tristan gommendy | pkv racing | 107 | +19.2 secs | 8 | 15 row 9 : 9 | 42 | jan heylen | conquest racing | 107 | +28.5 secs | 13 | 13 row 10 : 10 | 15 | simon pagenaud | team australia | 107 | +48.4 secs | 9 | 11 row 11 : 11 | 3 | paul tracy | forsythe championship racing | 105 | + 2 laps | 11 | 10 row 12 : 12 | 28 | mario dominguez | pacific coast motorsports | 104 | + 3 laps | 14 | 12 row 13 : 13 | 22 | justin wilson | rsports | 87 | + 20 laps | 1 | 8 row 14 : 14 | 29 | alex figge | pacific coast motorsports | 34 | contact | 0 | 7 row 15 : 15 | 11 | alex tagliani | rsports | 83 | mechanical | 8 | 6 row 16 : 16 | 11 | katherine legge | dale coyne racing | 13 | contact | 16 | 5 row 17 : 17 | 4 | dan clarke | minardi team usa | 3 | contact | 3 | 4 ] Execute this SQL based on the above table: select count ( driver ) where driver = 'oriol servia'
1
[ header: name of place | number of counties | principal county | lower zip code row 1 : yager junction | 1 | humboldt county | None row 2 : yale | 1 | riverside county | 92544 row 3 : yankee hill | 1 | butte county | 95965 row 4 : yankee hill | 1 | tuolumne county | None row 5 : yankee jims | 1 | placer county | 95713 row 6 : yarmouth | 1 | san joaquin county | None row 7 : yellowjacket | 1 | tehama county | None row 8 : yerba buena island | 1 | san francisco county | None row 9 : yermo | 1 | san bernardino county | 92398 row 10 : yettem | 1 | tulare county | 93670 row 11 : ygnacio valley | 1 | contra costa county | 94598 row 12 : yokohl | 1 | tulare county | None row 13 : yolano | 1 | solano county | 95620 row 14 : yolo | 1 | yolo county | 95697 row 15 : yontocket | 1 | del norte county | None row 16 : yorba | 1 | los angeles county | 91767 row 17 : yorba linda | 1 | orange county | 92686 row 18 : york | 1 | los angeles county | 90050 row 19 : yorkville | 1 | mendocino county | 95494 row 20 : yosemite forks | 1 | madera county | None row 21 : yosemite junction | 1 | tuolumne county | 95389 row 22 : yosemite lakes | 1 | madera county | None row 23 : yosemite lakes park | 1 | madera county | None row 24 : yosemite lodge | 1 | mariposa county | 95389 row 25 : yosemite national park | 3 | madera county | 95389 row 26 : yosemite national park | 3 | mariposa county | 95389 row 27 : yosemite national park | 3 | tuolumne county | 95389 row 28 : yosemite national park | 1 | mariposa county | 95389 row 29 : yosemite valley | 1 | mariposa county | None row 30 : yosemite village | 1 | mariposa county | None row 31 : you bet | 1 | nevada county | None row 32 : youngstown | 1 | san joaquin county | None row 33 : yountville | 1 | napa county | 94599 row 34 : yreka | 1 | siskiyou county | 96097 row 35 : yreka city | 1 | siskiyou county | 96097 row 36 : yuba city | 1 | sutter county | 95991 row 37 : yuba city farm labor center | 1 | sutter county | 95991 row 38 : yuba pass | 1 | nevada county | None row 39 : yuba-sutter area | 2 | sutter county yuba county | None row 40 : yucaipa | 1 | san bernardino county | 92399 row 41 : yucca inn | 1 | san bernardino county | None row 42 : yucca valley | 1 | san bernardino county | 92284 row 43 : yurok indian reservation | 2 | del norte county | 95546 ] Execute this SQL based on the above table: select name of place where principal county > ( select principal county where name of place = 'yreka' ) order by principal county limit 1
yolano
[ 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 ( select count ( playoffs ) where open cup = 'did not qualify' ) > 5
1
[ header: name | first held | country | earliest attendance figure known | 1998 attendance | 2000 attendance | 2002 attendance | 2004 attendance | 2006 attendance | 2008 attendance | 2010 attendance | 2012 attendance row 1 : animefest | 1992 | usa | 105 (1992) | 650 | 750 | 1800 | 2725 | 4127 | None | None | None row 2 : animeexpo | 1992 | usa | 1750 (1992) | 4883 | 9700 | 15250 | 25000 | 40647 | 43000 | 44000 | 49400 row 3 : fanimecon | 1994 | usa | 200 (1994) | 1700 | 2300 | 4600 | 6122 | 10000 | 14926 | 16000 | 21000 row 4 : otakon | 1994 | usa | 350 (1994) | 2500 | 7500 | 12880 | 20899 | 22302 | 26262 | 29274 | 32724 row 5 : katsucon | 1995 | usa | 500 (1995) | 1400 | 2300 | 3000 | 4300 | 5664 | 6300 | None | 12614 row 6 : nan desu kan | 2000 | usa | None | None | 1477 | 2467 | 2859 | 5018 | 5975 | None | None row 7 : animeiowa | 1997 | usa | 150 (1997) | 300 | 700 | None | None | None | None | None | None row 8 : otafest | 1999 | usa | 700 (1999) | None | 900 | None | None | None | 4042 | 3697 | None row 9 : sakura-con | 2000 | usa | 866(2000) | 313 | 866 | 2328 | 4425 | 7500 | 13600 | 18002 | 21457 row 10 : shoujocon | 2000 | usa | 456(2000) | 456 | 1229 | None | None | None | None | None | None row 11 : j-popcon | 2000 | denmark | None | None | 200 | None | None | 1000 | None | 2200 | None row 12 : sugoicon | 2000 | usa | 522(2000) | None | 522 | 930 | 1333 | 1400 | None | None | None row 13 : ohayocon | 2001 | usa | 654(2001) | None | None | 1200 | 3042 | 4257 | 7000 | 10120 | 40 row 14 : big apple anime fest | 2001 | usa | 3500(2001) | None | None | 7500 | None | None | None | None | None row 15 : manifest | 2001 | australia | 3500(2006) | None | None | None | None | 3500 | 4800 | None | None row 16 : anime detour | 2004 | usa | 1200(2004) | None | None | None | 1200 | 2464 | 3000 | None | None row 17 : portconmaine | 2002 | usa | 250(2002) | None | None | 250 | 811 | 1400 | 1650 | 2072 | 2306 row 18 : anime friends | 2003 | brazil | 25000(2004) | None | None | None | 25000 | 50000 | 120000 | None | None row 19 : anime nebraskon | 2004 | usa | None | None | None | None | 300 | None | None | 2000 | None row 20 : tsubasacon | 2004 | usa | 407(2004) | None | None | None | 407 | 564 | 723 | 1105 | 1320 row 21 : kawaii kon | 2005 | hawaii | 2610 (2005) | None | None | None | None | 2610 | 3495 | 4877 | 6077 row 22 : sac-anime | 2005 | usa | 2000(2006) | None | None | None | None | 2000 | None | None | 5000 row 23 : youmacon | 2005 | usa | 1078(2005) | None | None | None | None | 2125 | 4494 | None | 12156 row 24 : anime punch | 2005 | usa | 200(2005) | None | None | None | None | 977 | 1337 | 1206 | None ] Execute this SQL based on the above table: select count ( * ) where name = '12880'
0
[ header: team | stadium | capacity | seated row 1 : merthyr town | penydarren park | 10000 | None row 2 : paulton rovers | athletic field | 5000 | 253 row 3 : evesham united | st george's lane | 4749 | None row 4 : winchester city | the city ground | 4500 | 180 row 5 : clevedon town | hand stadium | 3500 | 300 row 6 : cinderford town | the causeway | 3500 | 250 row 7 : tiverton town | ladysmead | 3500 | 520 row 8 : wimborne town | cuthbury | 3250 | 275 row 9 : didcot town | npower loop meadow stadium | 3000 | 150 row 10 : swindon supermarine | the webb's wood stadium | 3000 | None row 11 : bridgwater town | fairfax park | 2500 | 128 row 12 : hungerford town | bulpit lane | 2500 | 170 row 13 : mangotsfield united | cossham street | 2500 | 300 row 14 : taunton town | wordsworth drive | 2500 | 300 row 15 : abingdon united | northcourt road | 2000 | 158 row 16 : poole town | tatnam | 2000 | 154 row 17 : north leigh | eynsham hall park sports ground | 2000 | 100 row 18 : yate town | lodge road | 2000 | 236 row 19 : bishop's cleeve | kayte lane | 1500 | 50 row 20 : sholing | vt group sports ground | 1000 | 150 row 21 : shortwood united | the meadowbank ground | tbc | None row 22 : cirencester town | corinium stadium | tbc | None ] Execute this SQL based on the above table: select count ( stadium ) where capacity = 2500
4
[ header: drop(s) | multiplayer map(s) | spec ops mission(s) | face off map(s) | xbox 360 release date | playstation 3 release date row 1 : 1-2 | liberation & piazza | None | None | 24 january 2012 | 28 february 2012 row 2 : 3 | overwatch | None | None | 21 february 2012 | 29 march 2012 row 3 : 4-6 | black box | black ice & negotiator | None | 13 march 2012 | 12 april 2012 row 4 : 7-8 | sanctuary & foundation | None | None | 10 april 2012 | 10 may 2012 row 5 : 9-12 | oasis | iron clad & kill switch | getaway & lookout | 15 may 2012 | 14 june 2012 row 6 : 13-15 | None | arctic recon | vortex, u-turn & intersection | 19 june 2012 | 19 july 2012 row 7 : 16-18 | decommission & offshore | vertigo | None | 17 july 2012 | 16 august 2012 row 8 : 19-21 | None | special delivery, light 'em up | None | 7 august 2012 | 6 september 2012 row 9 : 22-24 | parish, gulch & boardwalk | None | None | 5 september 2012 | 9 october 2012 ] Execute this SQL based on the above table: select count ( * ) where xbox 360 release date = '24 january 2012' and multiplayer map(s) = 'overwatch'
0
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 15 | sebastian vettel | red bull-renault | 56 | 1:57:43.485 | 1 | 10 row 2 : 2 | 14 | mark webber | red bull-renault | 56 | 10.97 | 3 | 8 row 3 : 3 | 22 | jenson button | brawn-mercedes | 56 | 44.975 | 5 | 6 row 4 : 4 | 23 | rubens barrichello | brawn-mercedes | 56 | +1:03.704 | 4 | 5 row 5 : 5 | 2 | heikki kovalain | mclaren-mercedes | 56 | +1:05.102 | 12 | 4 row 6 : 6 | 1 | lewis hamilton | mclaren-mercedes | 56 | +1:11.866 | 9 | 3 row 7 : 7 | 10 | timo glock | toyota | 56 | +1:14.476 | 19 | 2 row 8 : 8 | 12 | sebastien buemi | toro rosso-ferr | 56 | +1:16.439 | 10 | 1 row 9 : 9 | 7 | fernando alonso | renault | 56 | +1:24.309 | 2 | None row 10 : 10 | 4 | kimi raikkonen | ferrari | 56 | +1:31.750 | 8 | None row 11 : 11 | 11 | sebastien bourdais | toro rosso-ferr | 56 | +1:34.156 | 15 | None row 12 : 12 | 6 | nick heidfeld | bmw sauber | 56 | +1:35.834 | 11 | None row 13 : 13 | 5 | robert kubica | bmw sauber | 56 | +1:46.853 | 17 | None row 14 : 14 | 21 | giancarlo fisichella | force india-mercedes | 55 | +1 lap | 20 | None row 15 : 15 | 16 | nico rosberg | williams-toyota | 55 | +1 lap | 7 | None row 16 : 16 | 8 | nelson piquet, | renault | 54 | +2 laps | 16 | None row 17 : 17 | 20 | adrian sutil | force india-mercedes | 50 | accident | 18 | None row 18 : ret | 17 | kazuki nakajima | williams-toyota | 43 | transmission | 14 | None row 19 : ret | 3 | felipe massa | ferrari | 20 | electrical | 13 | None row 20 : ret | 9 | jarno trulli | toyota | 18 | collision damage | 6 | None ] Execute this SQL based on the above table: select pos where pos in ( 4 , 13 ) order by time/retired asc limit 1
4
[ header: year | title | peak chart positions us air | peak chart positions us main | peak chart positions us mod | album row 1 : 1990 | "dig a hole" | None | None | None | non-album single row 2 : 1993 | "mister love" | None | None | None | velvet row 3 : 1994 | "mister love" | None | None | None | rubberneck row 4 : 1995 | "possum kingdom" | 40 | 9 | 4 | rubberneck row 5 : 1995 | "away" | None | 23 | 28 | rubberneck row 6 : 1996 | "tyler" | None | None | None | rubberneck row 7 : 1996 | "backslider" | None | None | None | rubberneck row 8 : 2001 | "push the hand" | None | 34 | None | hell below/stars above row 9 : 2008 | "no deliverance" | None | 38 | None | no deliverance row 10 : 2009 | "song i hate" | None | None | None | no deliverance row 11 : 2012 | "summer of the strange" | None | None | None | play.rock.music ] Execute this SQL based on the above table: select title where id = ( select id where title = '"song i hate"' ) - 1
"no deliverance"
[ header: title | year | channel | role | notes row 1 : parkinson | 2002 | bbc one | herself | performed "we will rock you" and "we row 2 : loose women | 2007 | itv | elphaba | performed "the wizard and i" row 3 : i'd do anything | 2008 | bbc one | herself | mentored potential nancys at the row 4 : royal variety performance | 2008 | bbc one | herself | performed "defying gravity" with bri row 5 : over the rainbow | 2010 | bbc one | herself | mentored potential dorothys at row 6 : big brother's little brother | 2010 | e4 | herself | interview row 7 : tonight's the night | 2010 | bbc one | herself | performed "wind beneath my wings" with contestant row 8 : this morning | 2010 | itv | herself | interview; performed "anthem" with bri row 9 : breakfast | 2010 | bbc one | herself | interview row 10 : proms in the park | 2010 | bbc red button | herself | performed "dangerland", "i'm row 11 : the wright stuff | 2010 | channel 5 | herself | special guest panelist row 12 : festival of remembrance | 2010 | bbc one | herself | performed "anthem" with brian may row 13 : only men aloud - merry | 2010 | s4c | herself | performed "somebody to love" with only men row 14 : breakfast | 2011 | bbc one | herself | interview with brian may row 15 : 2011 laurence olivier awards | 2011 | bbc red button | herself | performed "look to the rainbow" with barry row 16 : the alan titchmarsh | 2011 | itv | herself | performed "defying gravity" row 17 : fern | 2011 | channel 4 | herself | interview; performed "i love a butterfly" row 18 : the hour | 2011 | stv | herself | interview; performed "i love a butterfly" row 19 : fa community shield | 2011 | sky sports | herself | performed the british national anthem row 20 : sanremo music festival 2012 | 2012 | rai 1 | herself | performed "i (who have nothing)" and row 21 : the voice uk | 2012 | bbc one | herself | auditioned for the show's first series row 22 : foxes live: wild in the city | 2012 | channel 4 | herself | appeared in a short film about saving fox row 23 : live with | 2012 | channel 5 | herself | interview with jeff wayne row 24 : the wright stuff | 2012 | channel 5 | herself | special guest panelist row 25 : itv news london | 2013 | itv | herself | interview about tiger tracks and animal conservation with row 26 : the late late show | 2013 | rte one | herself | interview; performed "life is real" with row 27 : this morning | 2013 | itv | herself | interview; performed "born free" with bri row 28 : the alan titchmarsh | 2013 | itv | herself | interview; performed "the kissing me song" row 29 : sunday brunch | 2013 | channel 4 | herself | interview with brian may row 30 : big brother's bit on the side | 2013 | channel 5 | herself | surprise guest panelist ] Execute this SQL based on the above table: select role where role in ( 'elphaba' , 'herself' ) and channel = 'channel 5' order by role - year desc limit 1
herself
[ header: pos. | city | population (ab) | surface (km2) | density (ab/km2) | altitude (mslm) row 1 : 1st | bergamo | 121.316 | 39.6 | 3064 | 249 row 2 : 2nd | treviglio | 29.334 | 31.54 | 930 | 125 row 3 : 3rd | seriate | 25.036 | 12.41 | 2017 | 247 row 4 : 4th | dalmine | 23.237 | 11.6 | 2003 | 207 row 5 : 5th | romano di lombardia | 19.472 | 18.03 | 1080 | 120 row 6 : 6th | albino | 18.232 | 31.32 | 582 | 342 row 7 : 7th | caravaggio | 16.258 | 32.81 | 496 | 111 row 8 : 8th | alzano lombardo | 13.821 | 13.43 | 1029 | 304 row 9 : 9th | stezzano | 12.999 | 9.25 | 1405 | 211 row 10 : 10th | osio sotto | 12.083 | 7.45 | 1622 | 182 ] Execute this SQL based on the above table: select city where pos. = ( select pos. where city = 'albino' ) + 1
caravaggio
[ header: # | player | span | caps | total caps | win % row 1 : 1 | fabien pelous | 1997-2006 | 42 | 118 | 64.28% row 2 : 2 | raphael ibanez | 1998-2007 | 41 | 98 | 63.41% row 3 : 3 | jean-pierre rives | 1978-1984 | 34 | 59 | 55.88% row 4 : 3 | philippe saint-andre | 1994-1997 | 34 | 69 | 73.53% row 5 : 5 | thierry dusautoir | 2009- | 31 | 54 | 54.84% row 6 : 6 | daniel dubroca | 1986-1988 | 11 | 33 | 72.00% row 7 : 6 | fabien galthie | 1999-2003 | 11 | 64 | 64.00% row 8 : 8 | guy basquet | 1948-1952 | 11 | 33 | 50.00% row 9 : 9 | michel crauste | 1961-1966 | 11 | 63 | 68.18% row 10 : 10 | jacques fouroux | 1974-1977 | 11 | 27 | 66.67% ] Execute this SQL based on the above table: select count ( win % ) where total caps > 1871
0
[ header: date | championship | location | category | surface | prev. result | prev. points | new points | outcome row 1 : 29 december 2013- 5 janu | brisbane international | brisbane (aus) | wta premier | hard | sf | 200 | 305 | final lost to serena williams row 2 : 14 january 2014- 27 jan | australian open | melbourne (aus) | grand slam | hard | w | 2000 | 430 | quarter-finals lost to agnies row 3 : 10 february 2014- 16 february | qatar total open | doha (qat) | wta premier 5 | hard | w | 900 | 0 | withdrew due to left foot injury row 4 : 3 march 2014- 16 march 2014 | indian wells | indian wells (usa) | wta premier mandatory | hard | qf | 250 | 45 | second round lost to lauren davis row 5 : 17 march 2013- 30 march 2014 | sony open tennis | miami (usa) | wta premier mandatory | hard | dnp | 0 | 0 | withdrew due to left foot injury row 6 : 5 may 2014- 11 may 2014 | mutua madrid masters | madrid (esp) | wta premier mandatory | clay | 2r | 60 | None | pending row 7 : 12 may 2014- 18 may 2014 | internazionali bnl | rome (ita) | wta premier 5 | clay | f | 700 | None | pending row 8 : 25 may 2014- 8 june 2014 | french open | paris (fra) | grand slam | clay | sf | 900 | None | pending row 9 : 23 june 2014- 6 july | wimbledon | london (gbr) | grand slam | grass | 2r | 100 | None | pending row 10 : 4 august 2014- 10 august 2014 | rogers cup | toronto (can) | wta premier 5 | hard | dnp | 0 | None | pending row 11 : 11 august 2014- 17 august 2014 | western and southern open | cincinnati (usa) | wta premier 5 | hard | w | 900 | None | pending row 12 : 25 august 2014- 8 september 2014 | us open | new york (usa) | grand slam | hard | f | 1400 | None | pending row 13 : 22 september 2014- 27 september 2014 | toray pan pacific open | wuhan (chn) | wta premier 5 | hard | 2r | 60 | None | pending row 14 : 27 september 2014- 5 octo | china open | beijing (chn) | wta premier mandatory | hard | 1r | 5 | None | pending row 15 : 20 october 2013- 26 | wta tour championships | singapore (sin) | wta tour championships | hard (i) | rr | 400 | None | pending ] Execute this SQL based on the above table: select surface where surface in ( 'hard' , 'clay' ) and outcome = 'pending'
clay, clay, clay, hard, hard, hard, hard, hard
[ header: year | position (after finals) | coach | captain | best & fairest | leading goalkicker (goals) row 1 : 1997 | 9 | john cahill | gavin wanganeen | darren mead | scott cummings (70) row 2 : 1998 | 10 | john cahill | gavin wanganeen | adam kingsley | warren tredrea (33) row 3 : 1999 | 7 (7) | mark williams | gavin wanganeen | stephen paxman | warren tredrea (40) row 4 : 2000 | 14 | mark williams | gavin wanganeen | brett montgomery | warren tredrea (32) row 5 : 2001 | 3 (5) | mark williams | matthew primus | warren tredrea | warren tredrea (51) row 6 : 2002 | 1 (3) | mark williams | matthew primus | matthew primus | stuart dew (51) row 7 : 2003 | 1 (4) | mark williams | matthew primus | gavin wanganeen | warren tredrea (58) row 8 : 2004 | 1 (premiers) | mark williams | matthew primus warren tred | warren tredrea | warren tredrea (81) row 9 : 2005 | 8 (6) | mark williams | matthew primus | warren tredrea | warren tredrea (65) row 10 : 2006 | 12 | mark williams | warren tredrea | brendon lade | josh mahoney (29) row 11 : 2007 | 2 (grand finalist) | mark williams | warren tredrea | kane cornes | brett ebert (56) row 12 : 2008 | 13 | mark williams | warren tredrea | kane cornes | daniel motlop (57) row 13 : 2009 | 10 | mark williams | domenic cassisi | warren tredrea | warren tredrea (51) row 14 : 2010 | 10 | mark williams matthew primus | domenic cassisi | kane cornes | jay schulz (33) row 15 : 2011 | 16 | matthew primus | domenic cassisi | travis boak jackson trengov | robert gray (32) row 16 : 2012 | 14 | matthew primus garry hocking | domenic cassisi | kane cornes | jay schulz (42) row 17 : 2013 | 7 (5) | ken hinkley | travis boak | chad wingard | jay schulz (49) row 18 : 2014 | None | ken hinkley | travis boak | None | None ] Execute this SQL based on the above table: select captain where captain = 'warren tredrea' order by captain limit 1
warren tredrea
[ header: medal | name | sport | event row 1 : silver | None | badminton | men's team row 2 : silver | aparna popat | badminton | women's singles row 3 : silver | jitender kumar | boxing | middleweight row 4 : silver | jaspal rana | shooting | men's 25 m air pistol row 5 : silver | jaspal rana satendra | shooting | men's air pistol pairs row 6 : silver | dharmaraj wilson | weightlifting | men's 56 kg-combined row 7 : silver | arumugam k. pandian | weightlifting | men's 56 kg-snatch row 8 : silver | arumugam k. pandian | weightlifting | men's 56 kg-clean and jer row 9 : silver | satheesha rai | weightlifting | men's 77 kg-clean and row 10 : silver | satheesha rai | weightlifting | men's 77 kg-combined ] Execute this SQL based on the above table: select count ( * ) where sport = 'badminton'
2
[ header: year | show | role | channel | notes row 1 : 2004 | mtv roadies season 2 | contestant | mtv india | winner of mtv roadies season 2 row 2 : 2007 | kayamath | saket shergil | star plus | None row 3 : 2008 | pepsi mtv wass | video jockey | mtv india | co-hosted the show with mt row 4 : 2008 | mtv fully faltoo movie- | fakir lan | mtv | spoof of shahrukh row 5 : 2008 | mtv fully faltoo movie- | prince jalebi | mtv | spoof of the movie jodha row 6 : 2008 | mtv roadies hell down under | anchor | mtv india | anchor at the auditions only row 7 : 2008 | ek thi rajkumari | antagonist | zee next | antagonist row 8 : 2008-09 | fantastic 5 | video jockey | mtv india | None row 9 : 2009 | india's got talent season 1 | anchor | colors tv | co-hosted the show with nikh row 10 : 2009 | kurkure desi beats rock on | anchor | mtv india | anchor at the auditions only row 11 : 2008 | mtv roadies season 7 | anchor | mtv india | anchor at the auditions only row 12 : 2009 | stripped | anchor | mtv india | None row 13 : 2009 | amul music ka maha muqq | anchor | star plus | None row 14 : 2010 | extra innings t20 for indian premier league | presenter | set max | co-hosted the show with gaurav row 15 : 2010 | india's got talent season 2 | anchor | colors tv | co-hosted the show with nikh row 16 : 2010 | kurkure desi beats rock on | anchor | mtv india | co-hosted the show with lis row 17 : 2010 - present | airtel super star buzz | anchor | star plus | None row 18 : 2011 | mtv grind | anchor | mtv india | None row 19 : 2011 | mtv roadies season 8 graveyard | anchor | mtv india | None row 20 : 2011 | just dance | anchor | star plus | winner, indian television academy award for best anchor ] Execute this SQL based on the above table: select channel where show = 'amul music ka maha muqqabla'
star plus
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 3 | michael schumacher | ferrari | 71 | 1:34:45.026 | 2 | 10 row 2 : 2 | 4 | eddie irvine | ferrari | 71 | 19.575 | 4 | 6 row 3 : 3 | 8 | mika hakkinen | mclaren-mercedes | 71 | 19.747 | 1 | 4 row 4 : 4 | 1 | jacques villeneuve | williams-mecachrome | 71 | +1:06.965 | 5 | 3 row 5 : 5 | 6 | alexander wurz | benetton-playlife | 70 | +1 lap | 10 | 2 row 6 : 6 | 7 | david coulthard | mclaren-mercedes | 70 | +1 lap | 3 | 1 row 7 : 7 | 14 | jean alesi | sauber-petronas | 70 | +1 lap | 11 | None row 8 : 8 | 15 | johnny herbert | sauber-petronas | 70 | +1 lap | 13 | None row 9 : 9 | 5 | giancarlo fisichella | benetton-playlife | 70 | +1 lap | 9 | None row 10 : 10 | 18 | rubens barrichello | stewart-ford | 69 | +2 laps | 14 | None row 11 : 11 | 11 | olivier panis | prost-peugeot | 69 | +2 laps | 16 | None row 12 : 12 | 19 | jos verstappen | stewart-ford | 69 | +2 laps | 15 | None row 13 : 13 | 17 | mika salo | arrows | 69 | +2 laps | 19 | None row 14 : 14 | 16 | pedro diniz | arrows | 69 | +2 laps | 17 | None row 15 : 15 | 2 | heinz-harald frent | williams-mecachrome | 68 | suspension | 8 | None row 16 : 16 | 10 | ralf schumacher | jordan-mugen-honda | 68 | +3 laps | 6 | None row 17 : 17 | 22 | shinji nakano | minardi-ford | 65 | engine | 21 | None row 18 : ret | 21 | toranosuke takagi | tyrrell-ford | 60 | engine | 20 | None row 19 : ret | 12 | jarno trulli | prost-peugeot | 55 | spun off | 12 | None row 20 : ret | 23 | esteban tuero | minardi-ford | 41 | gearbox | 22 | None row 21 : ret | 9 | damon hill | jordan-mugen-honda | 19 | hydraulics | 7 | None row 22 : ret | 20 | ricardo rosset | tyrrell-ford | 16 | hydraulics | 18 | None ] Execute this SQL based on the above table: select count ( constructor ) where no < 11 and no > 731
0
[ header: poll source | date(s) administered | sample size | margin of error | andrew cuomo (d) | rob astorino (r) | other | undecided row 1 : siena | march 16-20, 2014 | 813 | ± 3.4% | 61% | 26% | None | 13% row 2 : marist | february 28-march 3, 2014 | 658 | ± 3.8% | 65% | 25% | None | 10% row 3 : quinnipiac | february 6-10, 2014 | 1488 | ± 2.5% | 58% | 24% | 2% | 16% row 4 : siena | january 12-16, 2014 | 808 | ± 3.4% | 67% | 19% | 3% | 11% row 5 : quinnipiac | november 20-24, 2013 | 1337 | ± 2.7% | 56% | 25% | 2% | 17% row 6 : marist | november 18-20, 2013 | 675 | ± 3.8% | 65% | 23% | None | 12% row 7 : siena | november 11-14, 2013 | 806 | ± 3.5% | 63% | 24% | None | 13% ] Execute this SQL based on the above table: select margin of error where margin of error = '± 3.4%'
± 3.4%, ± 3.4%
[ header: from | to | name | party | position row 1 : 1870 | 1897 | eugene bernain | None | None row 2 : 1897 | None | albert le barillier | None | None row 3 : 1935 | 1937 | daubin | None | doctor row 4 : 1937 | 1941 | francois dommain | radical | None row 5 : 1971 | 1993 | victor mendiboure | udf | None row 6 : 1993 | 1999 | michel bonnet | udf | None row 7 : 1999 | 2001 | alain lamassoure | udf | vice president of the udf advisor to row 8 : 2001 | 2008 | robert villenave | udf ps | vice-president of cabab vice-p ] Execute this SQL based on the above table: select name where from > 1024
eugene bernain, albert le barillier, daubin, francois dommain, victor mendiboure, michel bonnet, alain lamassoure, robert villenave
[ header: new municipality | old municipalities | seat row 1 : gortynia | dimitsana | dimitsana row 2 : gortynia | vytina | dimitsana row 3 : gortynia | iraia | dimitsana row 4 : gortynia | kleitor | dimitsana row 5 : gortynia | kontovazaina | dimitsana row 6 : gortynia | langadia | dimitsana row 7 : gortynia | trikolonoi | dimitsana row 8 : gortynia | tropaia | dimitsana row 9 : megalopoli | gortyna | megalopoli row 10 : megalopoli | falaisia | megalopoli row 11 : north kynouria (vore | north kynouria | astros row 12 : south kynouria (noti | leonidio | leonidio row 13 : south kynouria (noti | kosmas | leonidio row 14 : south kynouria (noti | tyros | leonidio row 15 : tripoli | valtetsi | tripoli row 16 : tripoli | korythio | tripoli row 17 : tripoli | levidi | tripoli row 18 : tripoli | mantineia | tripoli row 19 : tripoli | skyritida | tripoli row 20 : tripoli | tegea | tripoli row 21 : tripoli | falanthos | tripoli ] Execute this SQL based on the above table: select old municipalities where id = 5
kontovazaina
[ header: state | type | name | title | royal house | from | to row 1 : chu | sovereign | huai | king | mi | 328 bc | 299 bc row 2 : han | sovereign | xiang | marquis | None | 311 bc | 296 bc row 3 : lu | sovereign | wen ii | duke | ji | 302 bc | 280 bc row 4 : qi | sovereign | min | king | tian | 300 bc | 284 bc row 5 : qin | sovereign | zhaoxiang | king | ying | 306 bc | 251 bc row 6 : song | sovereign | kang | king | None | 328 bc | 286 bc row 7 : wei | sovereign | xiang | king | None | 318 bc | 296 bc row 8 : wey | sovereign | si jun | marquis | None | 334 bc | 293 bc row 9 : yan | sovereign | zhao | king | None | 311 bc | 279 bc row 10 : zhao | sovereign | wuling | king | None | 325 bc | 299 bc ] Execute this SQL based on the above table: select royal house where id = ( select id where royal house = 'ji' order by id desc limit 1 ) + 1
tian
[ header: year | winners | score | score | runners-up | venue | winning captain row 1 : 2000 | meath | 5-14 (29) | 2-10 (16) | carlow | cusack park | None row 2 : 2001 | kerry | 4-14 (22) | 3-10 (19) | westmeath | croke park | michael 'boxer' row 3 : 2002 | laois | 1-20 (23) | 2-14 (20) | antrim | semple stadium | john lyons row 4 : 2003 | antrim | 3-18 (27) | 3-12 (21) | kerry | croke park | None row 5 : 2004 | down | 5-15 (30) | 3-7 (16) | westmeath | gaelic grounds | simon wilson row 6 : 2005 | offaly | 6-21 (39) | 4-7 (19) | carlow | semple stadium | barry teehan row 7 : 2006 | dublin | 0-16 (16) | 1-6 (9) | kerry | semple stadium | philip brennan row 8 : 2007 | laois | 2-19 (25) | 0-8 (8) | wicklow | semple stadium | joe fitzpatrick row 9 : 2008 | westmeath | 2-12 (18) | 0-12 (12) | carlow | gaelic grounds | brendan murtagh row 10 : 2009 | offaly | 1-13 (16) | 0-13 (13) | wexford | semple stadium | ger oakley row 11 : 2010 | wexford | 1-16 (19) | 2-9 (15) | clare | semple stadium | diarmuid lyng row 12 : 2011 | limerick | 4-12 (24) | 2-13 (19) | clare | cusack park | gavin o'mahony row 13 : 2012 | clare | 0-21 (21) | 1-16 (19) | limerick | gaelic grounds | patrick donnellan row 14 : 2013 | dublin | 1-16 (19) | 1-15 (18) | limerick | semple stadium | tbc ] Execute this SQL based on the above table: select winning captain where year = 2007
joe fitzpatrick
[ header: central division v t e | w | l | pct | gb | home | road | div row 1 : y-atlanta hawks | 50 | 32 | 0.61 | None | 32-9 | 18-23 | 21-9 row 2 : x-houston rockets | 41 | 41 | 0.5 | 9 | 29-12 | 12-29 | 20-10 row 3 : x-san antonio | 41 | 41 | 0.5 | 9 | 27-14 | 14-27 | 14-16 row 4 : cleveland cavaliers | 37 | 45 | 0.451 | 13 | 28-13 | 9-32 | 16-14 row 5 : indiana pacers | 37 | 45 | 0.451 | 13 | 26-15 | 11-30 | 15-15 row 6 : detroit pistons | 16 | 66 | 0.195 | 34 | 13-28 | 3-38 | 4-26 ] Execute this SQL based on the above table: select count ( central division v t e ) where pct > '0.5'
1
[ header: # | air date | timeslot (est) | season | rating | share | 18-49 (rating/share) | viewers (m) | weekly rank (#) row 1 : 1 | march 2, 2008 | sunday 9:00 p.m | 2007-2008 | 9.4 | 14 | 5.3/12 | 15.55 | 4 row 2 : 2 | march 9, 2008 | sunday 9:00 p.m | 2007-2008 | 7.4 | 11 | 4.1/10 | 11.83 | 10 row 3 : 3 | march 16, 2008 | sunday 9:00 p.m | 2007-2008 | 6 | 9 | 3.6/9 | 9.71 | 18 row 4 : 4 | march 23, 2008 | sunday 9:00 p.m | 2007-2008 | 6.1 | 10 | 3.5/9 | 9.92 | 19 row 5 : 5 | march 30, 2008 | sunday 9:00 p.m | 2007-2008 | 7.1 | 11 | 3.9/9 | 11.35 | 13 row 6 : 6 | april 6, 2008 | sunday 9:00 p.m | 2007-2008 | 5.9 | 9 | 3.2/8 | 9.42 | 27 row 7 : 7 | april 13, 2008 | sunday 8:00 p.m | 2007-2008 | 5.6 | 9 | 2.9/9 | 8.88 | 19 row 8 : 8 | april 20, 2008 | sunday 8:00 p.m | 2007-2008 | 6.4 | 10 | 3.2/9 | 10.03 | None ] Execute this SQL based on the above table: select air date order by 18-49 (rating/share) desc limit 1
march 2, 2008
[ header: year | player | position | high school | college row 1 : 1987 | buster howe | rb-db-k-p | zanesville | ohio state row 2 : 1988 | robert smith | rb | euclid | ohio state row 3 : 1989 | robert smith | rb | euclid | ohio state row 4 : 1990 | bobby hoying | qb | st. henry | ohio state row 5 : 1991 | derek kidwell | qb-de | fostoria | bowling green row 6 : 1992 | marc edwards | rb-lb | norwood | notre dame row 7 : 1993 | curtis enis | rb-lb | mississinawa valley | penn state row 8 : 1994 | charles woodson | db-rb | fremont ross | michigan row 9 : 1995 | andy katzenmoyer | lb | westerville south | ohio state row 10 : 1996 | derek combs | rb-db-kr | grove city | ohio state row 11 : 1997 | tony fisher | rb | euclid | notre dame row 12 : 1998 | ryan brewer | rb | troy | south carolina row 13 : 1999 | bam childress | db-wr-kr | st. peter chanel | ohio state row 14 : 2000 | jeff backes | rb-db | upper arlington | northwestern row 15 : 2001 | maurice clarett | rb | warren g. harding | ohio state row 16 : 2002 | ben mauk | qb | kenton | wake forest cincinnati row 17 : 2003 | ray williams | rb | cleveland benedictine | west virginia row 18 : 2004 | tyrell sutton | rb | archbishop hoban | northwestern row 19 : 2005 | delone carter | rb | copley | syracuse row 20 : 2006 | brandon saine | rb | piqua | ohio state row 21 : 2007 | bart tanski | qb | mentor | bowling green row 22 : 2008 | erick howard | rb | north canton hoover | akron row 23 : 2009 | erick howard | rb | north canton hoover | akron row 24 : 2010 | akise teague | rb-db-kr | youngstown ursuline | cincinnati row 25 : 2011 | maty mauk | qb | kenton | missouri row 26 : 2012 | mitch trubisky | qb | mentor | north carolina row 27 : 2013 | dante booker jr | lb | st. vincent - s | ohio state ] Execute this SQL based on the above table: select high school where high school = 'youngstown ursuline' order by high school limit 467
youngstown ursuline
[ header: season | tier | division | pos. | notes row 1 : 2002-03 | 3 | 1a estatal | 9th | None row 2 : 2003-04 | 3 | 1a estatal | 3rd | None row 3 : 2004-05 | 3 | 1a estatal | 3rd | None row 4 : 2005-06 | 3 | 1a estatal | 2nd | promoted row 5 : 2006-07 | 2 | honor b | 10th | None row 6 : 2007-08 | 2 | honor b | 11th | None row 7 : 2008-09 | 2 | honor b | 11th | None row 8 : 2009-10 | 2 | plata | 5th | None row 9 : 2010-11 | 2 | plata | 9th | None row 10 : 2011-12 | 2 | plata | 2nd | promoted row 11 : 2012-13 | 1 | asobal | 16th | relegated row 12 : 2013-14 | 2 | plata | None | None ] Execute this SQL based on the above table: select pos. order by tier desc limit 1
9th
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 10 october 2004 | estadio cuscatlan, | el salvador | 2-0 | 2-0 | 2006 fifa world cup qualification row 2 : 2 | 13 october 2004 | rfk stadium, washington, | panama | 3-0 | 6-0 | 2006 fifa world cup qualification row 3 : 3 | 13 october 2004 | rfk stadium, washington, | panama | 4-0 | 6-0 | 2006 fifa world cup qualification row 4 : 4 | 13 october 2004 | rfk stadium, washington, | panama | 5-0 | 6-0 | 2006 fifa world cup qualification row 5 : 5 | 17 november 2004 | columbus crew stadium, columbus, | jamaica | 1-0 | 1-1 | 2006 fifa world cup qualification row 6 : 6 | 9 february 2005 | queen's park oval, port of spain | trinidad and tobago | 1-0 | 2-1 | 2006 fifa world cup qualification row 7 : 7 | 19 march 2005 | university stadium, albuquerque, united | honduras | 1-0 | 1-0 | friendly row 8 : 8 | 30 march 2005 | legion field, birmingham, united | guatemala | 1-0 | 2-0 | 2006 fifa world cup qualification row 9 : 9 | 19 february 2006 | pizza hut park, frisco, united states | guatemala | 3-0 | 4-0 | friendly row 10 : 10 | 9 june 2007 | the home depot center, carson, united states | trinidad and tobago | 2-0 | 2-0 | 2007 concacaf gold cup row 11 : 11 | 28 june 2007 | estadio jose pachencho | argentina | 1-0 | 1-4 | 2007 copa america row 12 : 12 | 15 june 2008 | the home depot center, carson, united states | barbados | 6-0 | 8-0 | 2010 fifa world cup qualification row 13 : 13 | 12 october 2012 | sir vivian richards stadium | antigua and barbuda | 1-0 | 2-1 | 2014 fifa world cup qualification row 14 : 14 | 12 october 2012 | sir vivian richards stadium | antigua and barbuda | 2-1 | 2-1 | 2014 fifa world cup qualification row 15 : 15 | 12 june 2013 | centurylink field, seattle, united states | panama | 2-0 | 2-0 | 2014 fifa world cup qualification row 16 : 16 | 21 july 2013 | m&t bank stadium, balti | el salvador | 3-1 | 5-1 | 2013 concacaf gold cup row 17 : 17 | 24 july 2013 | cowboys stadium, arlington, united | honduras | 1-0 | 3-1 | 2013 concacaf gold cup row 18 : 18 | 14 august 2013 | asim ferhatovic hase stadium, | bosnia and herzegovin | 1-2 | 4-3 | friendly row 19 : 19 | 10 september 2013 | columbus crew stadium, columbus, | mexico | 1-0 | 2-0 | 2014 fifa world cup qualification ] Execute this SQL based on the above table: select opponent where # = ( select # where opponent = 'honduras' ) + 1
guatemala
[ header: kilometers | name | location | intersecting routes row 1 : 0 | netanya mall | netanya | petah tikva street, r row 2 : 0.6 | netanya interchange | netanya | highway 2 row 3 : 0.75 | harakevet road | netanya | entrance to netanya railway station row 4 : 1.45 | pinkas street | netanya | pinkas street row 5 : 2.2 | deganya road | netanya | deganya road row 6 : 2.8 | beit yitzhak | beit yitzhak | hasharon road row 7 : 3.8 | ganot hadar | ganot hadar | entrance to ganot hadar and nordiy row 8 : 4.3 | hasharon junction ("beit lid") | ganot hadar | highway 4 row 9 : 6.2 | rabin boulevard | kfar yona | entrance to kfar yona row 10 : 7.3 | begin boulevard | kfar yona | entrance to kfar yona row 11 : 7.7 | ha'atzmaut street | haniel | entrance to haniel row 12 : 9.3 | yanuv junction | yanuv | route 5613, entrance to yanu row 13 : 10 | haerez way | tnuvot industrial zone | entrance to tnuvot and row 14 : 12 | be'erotayim junction | hagor | entrance to be'erotayim and row 15 : 13.2 | nitzanei oz junction | nitzanei oz | route 5714, entrance to nitz row 16 : 14.5 | nitzanei oz interchange | nitzanei oz | highway 6 row 17 : 15 | idf checkpoint | tulkarm | entrance to nitzanei s ] Execute this SQL based on the above table: select name group by name order by count ( * ) desc limit 1
yanuv junction
[ header: date | opponent | score | leading scorer | attendance | record row 1 : may 17 | @ indiana | 53-64 | nakia sanford (14) | 10533 | 0-1 row 2 : may 31 | vs. los angeles | 59-70 | monique currie (15) | 11517 | 2-3 row 3 : june 3 | @ phoenix | 93-98 | alana beard (33) | 7561 | 2-4 row 4 : june 8 | @ connecticut | 79-87 | monique currie (28) | 7174 | 2-6 row 5 : june 11 | vs. sacramento | 76-79 | taj mcwilliam | 6146 | 2-7 row 6 : june 13 | @ chicago | 64-57 | alana beard (22) | 2600 | 3-7 row 7 : june 18 | @ houston | 67-63 | alana beard (23) | 7054 | 4-7 row 8 : june 20 | vs. atlanta | 72-61 | alana beard (18) | 7448 | 5-7 row 9 : june 29 | @ seattle | 49-64 | alana beard (16) | 7965 | 6-9 row 10 : july 1 | @ sacramento | 81-87 | alana beard (31) | 5705 | 6-10 row 11 : july 8 | vs. indiana | 50-48 | taj mcwilliam | 7587 | 7-11 row 12 : july 11 | @ detroit | 66-79 | coco miller (15) | 8596 | 7-12 row 13 : july 13 | vs. connecticut | 69-64 | nikki blue (13) | 9610 | 8-12 row 14 : july 17 | @ new york | 56-77 | alana beard (15) | 8344 | 8-13 row 15 : july 20 | vs. seattle | 89-57 | taj mcwilliam | 8543 | 9-14 row 16 : july 27 | vs. connecticut | 60-82 | taj mcwilliam | 9357 | 10-16 row 17 : august 29 | vs. chicago | 75-79 | alana beard (18) | 10043 | 10-17 row 18 : august 30 | @ minnesota | 78-92 | alana beard (27) | 6980 | 10-18 row 19 : september 2 | vs. indiana | 68-79 | alana beard (17) | 7244 | 10-19 row 20 : september 6 | vs. detroit | 69-84 | monique currie (15) | 9976 | 10-20 row 21 : september 11 | @ detroit | 66-78 | alana beard (16) monique | 8145 | 10-22 row 22 : september 13 | @ connecticut | 81-87 | monique currie (23) | 8652 | 10-23 row 23 : september 14 | vs. minnesota | 70-96 | alana beard (17) | 10438 | 10-24 ] Execute this SQL based on the above table: select attendance - attendance + 1 where record = '6-10'
1.0
[ header: # | date | film | gross | notes row 1 : 2 | january 13, 2002 | the lord of the rings: the fellowship | $16,201,260 | None row 2 : 3 | january 20, 2002 | black hawk down | $28,611,736 | black hawk down broke save the last dance' row 3 : 5 | february 3, 2002 | black hawk down | $11,112,555 | None row 4 : 8 | february 24, 2002 | queen of the damned | $14,757,535 | None row 5 : 11 | march 17, 2002 | ice age | $46,312,454 | ice age broke liar l row 6 : 13 | march 31, 2002 | panic room | $30,056,751 | None row 7 : 14 | april 7, 2002 | panic room | $18,244,157 | None row 8 : 15 | april 14, 2002 | changing lanes | $17,128,062 | None row 9 : 24 | june 16, 2002 | scooby-doo | $54,155,312 | None row 10 : 26 | june 30, 2002 | mr. deeds | $37,162,787 | None row 11 : 28 | july 14, 2002 | men in black ii | $24,410,311 | None row 12 : 29 | july 21, 2002 | road to perdition | $15,412,515 | road to perdition reached #1 in its second weekend row 13 : 32 | august 11, 2002 | xxx | $44,506,103 | None row 14 : 33 | august 18, 2002 | xxx | $22,111,421 | None row 15 : 35 | september 1, 2002 | signs | $13,441,194 | None row 16 : 37 | september 15, 2002 | barbershop | $20,627,433 | None row 17 : 39 | september 29, 2002 | sweet home alabama | $35,648,740 | sweet home alabama broke rush hour row 18 : 43 | october 27, 2002 | jackass: the movie | $22,763,437 | None row 19 : 45 | november 10, 2002 | 8 mile | $51,240,555 | None row 20 : 47 | november 24, 2002 | die another day | $47,072,040 | None row 21 : 48 | december 1, 2002 | harry potter and the chamber of secrets | $32,117,496 | harry potter and the chamber of secrets ] Execute this SQL based on the above table: select date where # = 5
february 3, 2002
[ header: constituency | region | name | party | last elected row 1 : 1 | arica and parinacota tarapac | fulvio rossi | ps | 2009 row 2 : 2 | antofagasta | carlos cantero ojeda | ind | 2005 row 3 : 2 | antofagasta | jose antonio gomez | prsd | 2005 row 4 : 3 | atacama | isabel allende | ps | 2009 row 5 : 4 | coquimbo | gonzalo uriarte | udi | 2005 row 6 : 5 | valparaiso | ignacio walker | pdc | 2009 row 7 : 5 | valparaiso | lily perez | rn | 2009 row 8 : 6 | valparaiso | ricardo l. weber | ppd | 2009 row 9 : 6 | valparaiso | francisco chahuan | rn | 2009 row 10 : 7 | santiago | jovino novoa vasque | udi | 2005 row 11 : 8 | santiago | soledad alvear valenzue | pdc | 2005 row 12 : 9 | o'higgins | alejandro garcia-huidobro | udi | 2005 row 13 : 9 | o'higgins | juan pablo letelier morel | ps | 2005 row 14 : 10 | maule | ximena rincon | pdc | 2009 row 15 : 10 | maule | juan antonio colo | udi | 2009 row 16 : 11 | maule | hernan larrain fernandez | udi | 2009 row 17 : 12 | biobio | hosain sabag castill | pdc | 2005 row 18 : 13 | biobio | mariano ruiz-es | pdc | 2005 row 19 : 14 | araucania | jaime quintana | ppd | 2009 row 20 : 14 | araucania | alberto espina otero | rn | 2009 row 21 : 15 | araucania | eugenio tuma | ppd | 2009 row 22 : 15 | araucania | jose garcia ruminot | rn | 2009 row 23 : 16 | los rios (plus district 55) | carlos larrain pena | rn | 2005 row 24 : 16 | los rios (plus district 55) | eduardo frei rui | pdc | 2005 row 25 : 17 | los lagos (minus district 55) | camilo escalona medin | ps | 2005 row 26 : 17 | los lagos (minus district 55) | carlos kuschel silva | rn | 2005 row 27 : 18 | aisen | patricio walker | pdc | 2009 row 28 : 18 | aisen | antonio horvath | rn | 2001 row 29 : 19 | magallanes | carlos bianchi chelech (vic | ind | 2005 row 30 : 19 | magallanes | pedro munoz abur | ps | 2005 ] Execute this SQL based on the above table: select max ( constituency )
19.0
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | south korea | 9 | 2 | 1 | 12 row 2 : 2 | chinese taipei | 2 | 3 | 3 | 8 row 3 : 3 | spain | 1 | 5 | 4 | 10 row 4 : 4 | united states | 1 | 2 | 7 | 10 row 5 : 5 | turkey | 1 | 1 | 2 | 4 row 6 : 6 | west germany | 1 | 0 | 3 | 4 row 7 : 7 | netherlands | 1 | 0 | 1 | 2 row 8 : 8 | mexico | 0 | 2 | 1 | 3 row 9 : 9 | indonesia | 0 | 1 | 0 | 1 row 10 : 10 | france | 0 | 0 | 2 | 2 row 11 : 11 | australia | 0 | 0 | 1 | 1 row 12 : 11 | canada | 0 | 0 | 1 | 1 row 13 : 11 | ivory coast | 0 | 0 | 1 | 1 row 14 : 11 | denmark | 0 | 0 | 1 | 1 row 15 : 11 | italy | 0 | 0 | 1 | 1 row 16 : 11 | jordan | 0 | 0 | 1 | 1 row 17 : 11 | nepal | 0 | 0 | 1 | 1 row 18 : 11 | switzerland | 0 | 0 | 1 | 1 row 19 : total | total | 16 | 16 | 32 | 64 ] Execute this SQL based on the above table: select abs ( ( select bronze where nation = 'turkey' ) - ( select bronze where nation = 'mexico' ) )
1.0
[ header: draw | artist | song | points | place row 1 : 1 | gonzaga coutinho | "tema para um homem so" | 102 | 5th row 2 : 2 | pedro osorio | "uma cancao comercial" | 123 | 3rd row 3 : 3 | concha | "qualquer dia, quem dir | 78 | 6th row 4 : 4 | gabriela schaaf | "eu so quero" | 132 | 2nd row 5 : 5 | toze brito | "novo canto portugues" | 110 | 4th row 6 : 6 | teresa silva carval | "cantemos ate ser dia" | 52 | 9th row 7 : 7 | florencia | "o comboio do tua | 63 | 8th row 8 : 8 | manuel jose soares | "quando chego a casa | 76 | 7th row 9 : 9 | manuela bravo | "sobe, sobe, bala | 149 | 1st ] Execute this SQL based on the above table: select place where id = 1
5th
[ header: outcome | no. | date | tournament | surface | opponent | score row 1 : runner-up | 1 | 1 august 2011 | sao paulo, brazi | clay | maria fernanda alves | 6-4, 5-7, 3-6 row 2 : winner | 1 | 24 october 2011 | goiania, brazil | clay | barbara luz | 6-2, 6-0 row 3 : winner | 2 | 2 april 2012 | ribeirao preto, brazil | hard | natasha fourouclas | 6-0, 6-1 row 4 : winner | 3 | 25 march 2013 | ribeirao preto, brazil | clay | andrea benitez | 7-6(7-2), 6-2 row 5 : winner | 4 | 15 april 2013 | antalya 15, turkey | hard | tereza martincova | 6-4, 6-3 row 6 : runner-up | 2 | 20 may 2013 | caserta, italy | clay | renata voracova | 4-6, 1-6 row 7 : runner-up | 3 | 17 june 2013 | lenzerheide, switze | clay | laura siegemund | 2-6, 3-6 ] Execute this SQL based on the above table: select count ( surface ) where surface = 'hard'
2
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | china | 41 | 27 | 13 | 81 row 2 : 2 | russia | 26 | 22 | 34 | 82 row 3 : 3 | south korea | 26 | 12 | 17 | 55 row 4 : 4 | ukraine | 23 | 15 | 17 | 55 row 5 : 5 | japan | 13 | 13 | 21 | 47 row 6 : 6 | france | 8 | 8 | 4 | 20 row 7 : 7 | great britain | 8 | 3 | 6 | 17 row 8 : 8 | united states | 5 | 13 | 18 | 36 row 9 : 9 | north korea | 3 | 8 | 3 | 14 row 10 : 10 | poland | 3 | 4 | 3 | 10 row 11 : 11 | chinese taipei | 3 | 3 | 5 | 11 row 12 : 12 | belarus | 3 | 3 | 4 | 10 row 13 : 13 | germany | 3 | 2 | 8 | 13 row 14 : 14 | hungary | 3 | 2 | 7 | 12 row 15 : 15 | czech republic | 3 | 0 | 3 | 6 row 16 : 16 | australia | 2 | 5 | 5 | 12 row 17 : 17 | italy | 2 | 5 | 5 | 12 row 18 : 18 | kazakhstan | 2 | 4 | 0 | 6 row 19 : 19 | south africa | 2 | 1 | 2 | 5 row 20 : 20 | uzbekistan | 2 | 0 | 1 | 3 row 21 : 21 | spain | 1 | 4 | 8 | 13 row 22 : 22 | brazil | 1 | 2 | 8 | 11 row 23 : 23 | romania | 1 | 2 | 4 | 7 row 24 : 24 | netherlands | 1 | 1 | 2 | 4 row 25 : 25 | morocco | 1 | 1 | 1 | 3 row 26 : 25 | serbia and montenegro | 1 | 1 | 1 | 3 row 27 : 27 | latvia | 1 | 0 | 0 | 1 row 28 : 27 | moldova | 1 | 0 | 0 | 1 row 29 : 29 | mexico | 0 | 3 | 2 | 5 row 30 : 30 | finland | 0 | 3 | 1 | 4 row 31 : 32 | iran | 0 | 2 | 2 | 4 row 32 : 33 | slovenia | 0 | 2 | 0 | 2 row 33 : 33 | turkey | 0 | 2 | 0 | 2 row 34 : 35 | canada | 0 | 1 | 2 | 3 row 35 : 35 | switzerland | 0 | 1 | 2 | 3 row 36 : 35 | estonia | 0 | 1 | 2 | 3 row 37 : 38 | cuba | 0 | 1 | 1 | 2 row 38 : 38 | ireland | 0 | 1 | 1 | 2 row 39 : 40 | denmark | 0 | 1 | 0 | 1 row 40 : 40 | uganda | 0 | 1 | 0 | 1 row 41 : 42 | croatia | 0 | 0 | 3 | 3 row 42 : 42 | thailand | 0 | 0 | 3 | 3 row 43 : 44 | israel | 0 | 0 | 2 | 2 row 44 : 45 | armenia | 0 | 0 | 1 | 1 row 45 : 45 | jamaica | 0 | 0 | 1 | 1 row 46 : 45 | mongolia | 0 | 0 | 1 | 1 row 47 : 45 | malaysia | 0 | 0 | 1 | 1 row 48 : 45 | austria | 0 | 0 | 1 | 1 row 49 : 45 | greece | 0 | 0 | 1 | 1 row 50 : 45 | cyprus | 0 | 0 | 1 | 1 row 51 : 45 | bahamas | 0 | 0 | 1 | 1 row 52 : 45 | bosnia and herzegovin | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select gold where total > 1 order by total limit 1
0
[ header: # | prime minister | date of birth | start date of (first) term | age at beginning of (first) term | end date of (final) term | total time in office | date of death | lifespan row 1 : 1 | edmund barton | 18 january 1849 | 1-jan-01 | 51 years, 348 days | 24-sep-03 | 996 days | 7-jan-20 | 25,920 days (70 years, 354 days row 2 : 2 | alfred deakin | 3 august 1856 | 24-sep-03 | 47 years, 52 days | 29-apr-10 | 1,774 days | 7-oct-19 | 23,074 days (63 years, 65 days row 3 : 3 | chris watson | 9 april 1867 | 27-apr-04 | 37 years, 18 days | 18-aug-04 | 113 days | 18-nov-41 | 27,251 days (74 years, 223 row 4 : 4 | george reid | 25 february 1845 | 18-aug-04 | 59 years, 175 days | 5-jul-05 | 321 days | 12-sep-18 | 26,861 days (73 years, 199 row 5 : 7 | billy hughes | 25 september 1862 | 27-oct-15 | 53 years, 32 days | 9-feb-23 | 2,662 days | 28-oct-52 | 32,905 days (90 years, 33 row 6 : 8 | stanley bruce | 15 april 1883 | 9-feb-23 | 39 years, 300 days | 22-oct-29 | 2,447 days | 25-aug-67 | 30,812 days (84 years, 132 row 7 : 9 | james scullin | 18 september 1876 | 22-oct-29 | 53 years, 34 days | 6-jan-32 | 806 days | 28-jan-53 | 27,890 days (76 years, 132 row 8 : 10 | joseph lyons | 15 september 1879 | 6-jan-32 | 52 years, 113 days | 7-apr-39 | 2,648 days | 7-apr-39 | 21,753 days (59 years, 204 row 9 : 11 | earle page | 8 august 1880 | 7-apr-39 | 58 years, 242 days | 26-apr-39 | 19 days | 20-dec-61 | 29,718 days (81 years, 134 row 10 : 12 | robert menzies | 20 december 1894 | 26-apr-39 | 44 years, 127 days | 26-jan-66 | 6,735 days | 15-may-78 | 30,461 days (83 years, 146 row 11 : 14 | john curtin | 8 january 1885 | 7-oct-41 | 56 years, 272 days | 5-jul-45 | 1,367 days | 5-jul-45 | 22,092 days (60 years, 178 row 12 : 15 | frank forde | 18 july 1890 | 6-jul-45 | 54 years, 353 days | 13-jul-45 | 7 days | 28-jan-83 | 33,796 days (92 years, 19 row 13 : 16 | ben chifley | 22 september 1885 | 13-jul-45 | 59 years, 294 days | 19-dec-49 | 1,620 days | 13-jun-51 | 24,004 days (65 years, 264 row 14 : 17 | harold holt | 5-aug-08 | 26-jan-66 | 57 years, 174 days | 19-dec-67 | 690 days | 17-dec-67 | 21,683 days (59 years, 134 ] Execute this SQL based on the above table: select start date of (first) term where start date of (first) term in ( '22-oct-29' , '9-feb-23' ) order by total time in office desc limit 1
9-feb-23
[ header: goal | date | venue | opponent | score | result | competition row 1 : 1 | 24 january 2007 | estadio cuscatlan, | denmark | 1-0 | 1-0 | friendly row 2 : 2 | 8 february 2007 | estadio cuscatlan, | belize | 2-0 | 2-1 | 2007 uncaf nations cup row 3 : 3 | 10 february 2007 | estadio cuscatlan, | nicaragua | 1-0 | 2-1 | 2007 uncaf nations cup row 4 : 4 | 10 february 2007 | estadio cuscatlan, | nicaragua | 2-1 | 2-1 | 2007 uncaf nations cup row 5 : 5 | 8 september 2007 | estadio olimpico at | ecuador | 1-2 | 1-5 | friendly row 6 : 6 | 13 october 2007 | estadio cuscatlan, | costa rica | 1-2 | 2-2 | friendly row 7 : 7 | 6 february 2008 | estadio cuscatlan, | anguilla | 9-0 | 12-0 | 2010 fifa world cup qualification row 8 : 8 | 22 june 2008 | estadio cuscatlan, | panama | 1-1 | 3-1 | 2010 fifa world cup qualification row 9 : 9 | 22 june 2008 | estadio cuscatlan, | panama | 2-1 | 3-1 | 2010 fifa world cup qualification row 10 : 10 | 15 october 2008 | estadio cuscatlan, | suriname | 2-0 | 3-0 | 2010 fifa world cup qualification row 11 : 11 | 22 october 2008 | robert f. kenne | bolivia | 1-0 | 2-0 | friendly row 12 : 12 | 28 march 2009 | estadio cuscatlan, | united states | 1-0 | 2-2 | 2010 fifa world cup qualification row 13 : 13 | 6 june 2009 | estadio cuscatlan, | mexico | 2-1 | 2-1 | 2010 fifa world cup qualification row 14 : 14 | 3 march 2010 | los angeles coliseum, | guatemala | 2-1 | 2-1 | friendly row 15 : 15 | 12 june 2011 | soldier field, chicago, united states | cuba | 6-1 | 6-1 | 2011 concacaf gold cup ] Execute this SQL based on the above table: select min ( goal )
1.0
[ 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 ( 'tommy taylor' , 'tommy taylor' ) order by rank desc limit 1
tommy taylor
[ header: game | date | visitor | score | home | decision | attendance | record | points row 1 : 34 | january 3 | ny rangers | 2 - 4 | philadelphia | parent | 17007 | 22-8-4 | 48 row 2 : 35 | january 5 | philadelphia | 3 - 3 | minnesota | parent | 15296 | 22-8-5 | 49 row 3 : 36 | january 7 | philadelphia | 1 - 2 | montreal | parent | 19040 | 22-9-5 | 49 row 4 : 37 | january 10 | minnesota | 4 - 7 | philadelphia | parent | 17007 | 23-9-5 | 51 row 5 : 38 | january 11 | philadelphia | 7 - 6 | atlanta | taylor | 5141 | 24-9-5 | 53 row 6 : 39 | january 13 | atlanta | 0 - 1 | philadelphia | parent | 17007 | 25-9-5 | 55 row 7 : 40 | january 17 | buffalo | 2 - 7 | philadelphia | parent | 17007 | 26-9-5 | 57 row 8 : 41 | january 19 | los angeles | 0 - 2 | philadelphia | parent | 17007 | 27-9-5 | 59 row 9 : 42 | january 20 | pittsburgh | 5 - 3 | philadelphia | parent | 17007 | 27-10-5 | 59 row 10 : 43 | january 22 | philadelphia | 3 - 2 | vancouver | taylor | 15570 | 28-10-5 | 61 row 11 : 44 | january 24 | philadelphia | 4 - 4 | los angeles | parent | 14343 | 28-10-6 | 62 row 12 : 45 | january 25 | philadelphia | 5 - 0 | california | parent | 10776 | 29-10-6 | 64 row 13 : 46 | january 27 | philadelphia | 3 - 5 | boston | taylor | 15003 | 29-11-6 | 64 row 14 : 47 | january 31 | buffalo | 3 - 4 | philadelphia | parent | 17007 | 30-11-6 | 66 ] Execute this SQL based on the above table: select visitor where points = 62
philadelphia
[ header: # | player | σ points | qual. | final row 1 : 1 | karel hromadka | 9.5 | 3 | 6.5 row 2 : 2 | jan schulz (czechos | 9 | 4 | 5 row 3 : 3 | erwin voellmy (switz | 8.5 | 3.5 | 5 row 4 : 4 | karl behting (latvia | 8 | 2 | 6 row 5 : 4 | georges renaud (france | 8 | 3 | 5 row 6 : 4 | roberto grau (argentina | 8 | 3.5 | 4.5 row 7 : 4 | george koltanowski (bel | 8 | 3.5 | 4.5 row 8 : 8 | giovanni cenni (ital | 7.5 | 1.5 | 6 row 9 : 8 | endre steiner (hungary) | 7.5 | 2 | 5.5 row 10 : 8 | otto zimmermann (switz | 7.5 | 2.5 | 5 row 11 : 8 | dawid daniuszewski (poland | 7.5 | 2.5 | 5 row 12 : 8 | karoly sterk (hungary | 7.5 | 3 | 4.5 row 13 : 8 | damian reca (argentina) | 7.5 | 3.5 | 4 row 14 : 14-45 | etc | None | None | None ] Execute this SQL based on the above table: select player where id = ( select id where player = 'georges renaud (france)' ) - 1
karl behting (latvia)
[ header: year | representative | hometown | placement in miss nepal | special awards at miss nepal | placement in miss pokhara row 1 : 1995 | rita gurung | pamee | 1st runner up | None | winner row 2 : 1996 | binita gurung | batulichor | 2nd runner up | None | winner row 3 : 1997 | neelima gurung | nadipur | winner | miss personality | winner row 4 : 1998 | sunita ranjit | lakeside | None | None | winner row 5 : 1999 | kripa gurung | tersapatti | 2nd runner up | miss photogenic | winner row 6 : 2004 | anita gurung | bajapatan | 2nd runner up | miss talent | miss paschimanchal 2003 row 7 : 2005 | chandra gurung | ghorepatan | None | None | None row 8 : 2011 | madina begum | pokreli | None | miss perseverance | None row 9 : 2012 | dilasha gc | chindata | None | None | None row 10 : 2013 | sipora gurung | mahendrapool | 3rd runner up | miss talent | None row 11 : 2014 | rashmi adhikari | goripatan | None | None | winner ] Execute this SQL based on the above table: select max ( year )
2014
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 8 february 2011 | stade georges pompidou, | mali | 1-0 | 1-0 | friendly row 2 : 2 | 11 may 2011 | stade felix houphouet- | namibia | 4-1 | 5-1 | friendly row 3 : 3 | 5 june 2011 | stade de l'amitie | benin | 0-1 | 2-6 | 2012 africa cup of nations qualification - group row 4 : 4 | 10 august 2011 | stade de geneve, geneve, | israel | 1-0 | 4-3 | friendly row 5 : 5 | 3 september 2011 | stade amahoro, ki | rwanda | 0-4 | 0-5 | 2012 africa cup of nations qualification - group row 6 : 6 | 14 november 2012 | linzer stadion, | austria | 0-1 | 0-3 | friendly row 7 : 7 | 14 january 2013 | al nahyan stadium, abu | egypt | 4-2 | 4-2 | friendly row 8 : 8 | 26 january 2013 | royal bafokeng stadium, rustenburg | tunisia | 3-0 | 3-0 | 2013 africa cup of nations ] Execute this SQL based on the above table: select competition where id > ( select id where # = 3 ) order by # limit 1
friendly
[ header: season | club | country | competition | apps. | goals row 1 : 1997/98 | rapide club lebbeke | belgium | fourth division | None | None row 2 : 1998/99 | ksc eendracht a | belgium | jupiler league | 30 | 7 row 3 : 1999/00 | ksc eendracht a | belgium | jupiler league | 31 | 7 row 4 : 2000/01 | ksc eendracht a | belgium | jupiler league | 30 | 6 row 5 : 2001/02 | omonia nicosia | cyprus | cypriot first division | 22 | 8 row 6 : 2002/03 | fc denderleeuw | belgium | belgian second division | 32 | 23 row 7 : 2003/04 | 1. fc saarbrucken | germany | regionalliga sud | 33 | 16 row 8 : 2004/05 | 1. fc saarbrucken | germany | 2. bundesliga | 14 | 7 row 9 : 2005/06 | 1. fc saarbrucken | germany | 2. bundesliga | 10 | 0 row 10 : 2005/06 | s.v. zulte | belgium | jupiler league | 14 | 1 row 11 : 2006/07 | fcv dender eh | belgium | belgian second division | 33 | 21 row 12 : 2007/08 | mvv | netherlands | eerste divisie | 33 | 22 row 13 : 2008/09 | mvv | netherlands | eerste divisie | 32 | 20 row 14 : total | None | None | None | 302 | 132 ] Execute this SQL based on the above table: select country order by club - country desc limit 1
germany
[ header: model | origin | type | versions | in service | notes row 1 : vought f-8 crusa | united states | air superiority fighter/interceptor aircraft | f-8p | 35 | placed in open storage 1988-01-23 at bas row 2 : northrop f-5 freedom fighter | united states | fighter/bomber | f-5a f-5b | 37 | retired. the 10 remaining f-5s, row 3 : north american f-86 sabre | united states | fighter/bomber | f-86f f-86d | 50 20 | replaced by the northrop f-5a row 4 : north american p-51 mustang | united states | fighter | p-51d | 103 | paf's 1950s fighter, replaced by row 5 : north american t-28 trojan | united states | trainer/light strike aircraft | t-28a t-28d | 20 24 | replaced by ov-10 bronco row 6 : north american t-6 texan | united states | trainer aircraft | None | 38 | None row 7 : beechcraft t-34 mentor | united states | trainer aircraft | None | 36 | replaced by the sf-260 row 8 : lockheed t-33 shooting star | united states | trainer aircraft | t-33a rt-33 | 25 2 | replaced by the s-211 row 9 : douglas ac-47 s | united states | close air support aircraft | None | 11 | None row 10 : douglas c-47 skytrain | united states | military transport aircraft | None | None | replaced by the c-130 row 11 : de havilland canada dhc | canada | military transport aircraft | None | None | replaced by the c-130 row 12 : grumman hu-16 albatros | united states | military transport aircraft | hu-16b | 6 | None row 13 : namc ys-11 | japan | vip transport | None | None | None row 14 : stinson l-5 sentine | united states | liaison aircraft | None | None | None row 15 : sikorsky s-62 | united states japan | multipurpose utility helicopter multipurpose utility helicopter vip | s-62a s-62j | 1 2 | None row 16 : sikorsky h-34 | united states | sar helicopter | None | None | None row 17 : sikorsky h-19 | united states | None | None | None | None row 18 : bell 212 | united states | utility helicopter | None | 1 | a presidential aircraft that crashed in bengue row 19 : aerospatiale sa 330 | france | presidential helicopter | sa 330l | 2 | None ] Execute this SQL based on the above table: select count ( * ) where notes = 'replaced by the s-211'
1
[ header: date | time | opponent# | site | tv | result | attendance row 1 : september 4 | 7:00 pm | pacific | jones stadium • lubbock, | None | w 55-7 | 29164 row 2 : september 11 | 1:00 pm | at #9 nebraska | memorial stadium • lincoln, | None | l 27-50 | 75771 row 3 : september 18 | 12:00 pm | at georgia | sanford stadium • athens, | None | l 11-17 | 74511 row 4 : september 25 | 12:00 pm | at baylor | floyd casey stadium • waco, | raycom | l 26-28 | 32690 row 5 : october 2 | 11:00 am | #14 texas a&m | jones stadium • lubbock, | abc | l 6-31 | 50748 row 6 : october 9 | 1:00 pm | north carolina state | jones stadium • lubbock, | None | l 34-36 | 26943 row 7 : october 16 | 7:00 pm | rice | jones stadium • lubbock, | None | w 45-16 | 27812 row 8 : october 30 | 12:00 pm | at texas | texas memorial stadium • austin | raycom | w 31-22 | 63132 row 9 : november 6 | 12:00 pm | tcu | jones stadium • lubbock, | raycom | w 49-21 | 31922 row 10 : november 13 | 2:00 pm | at smu | ownby stadium • university park, tx | None | w 41-24 | 15714 row 11 : november 20 | 7:00 pm | vs. houston | alamodome • san a | None | w 58-7 | 28652 row 12 : december 31 | 1:30 pm | vs. #19 oklahom | sun bowl stadium • el paso, | cbs | l 10-41 | 43848 ] Execute this SQL based on the above table: select tv where tv != 'cbs'
raycom, abc, raycom, raycom
[ header: rd | home team | score | away team | result (w/d/l) | attendance row 1 : 1 | harlequins rl | 28-47 | wigan warriors | l | 8041 row 2 : 2 | hull | 6-24 | harlequins rl | w | 13313 row 3 : 3 | harlequins rl | 34-18 | wakefield trinity wildcats | w | 3176 row 4 : 4 | castleford tigers | 16-22 | harlequins rl | w | 6268 row 5 : 5 | harlequins rl | 24-0 | huddersfield giants | w | 3284 row 6 : 6 | None | None | None | None | None row 7 : 7 | None | None | None | None | None row 8 : ccc4 | None | None | None | None | None row 9 : 8 | None | None | None | None | None row 10 : 9 | None | None | None | None | None row 11 : 10 | None | None | None | None | None row 12 : 11 | None | None | None | None | None row 13 : 12 | None | None | None | None | None row 14 : 13 (a) | None | None | None | None | None row 15 : 14 | None | None | None | None | None row 16 : 15 | None | None | None | None | None row 17 : 16 | None | None | None | None | None row 18 : 17 | None | None | None | None | None row 19 : 18 | None | None | None | None | None row 20 : 19 | None | None | None | None | None row 21 : 20 | None | None | None | None | None row 22 : 21 | None | None | None | None | None row 23 : 22 | None | None | None | None | None row 24 : 23 | None | None | None | None | None row 25 : 24 | None | None | None | None | None row 26 : 25 | None | None | None | None | None row 27 : 26 | None | None | None | None | None row 28 : 27 | None | None | None | None | None row 29 : esl po1 | None | None | None | None | None row 30 : esl po2 | None | None | None | None | None row 31 : esl po3 | None | None | None | None | None row 32 : esl gf | None | None | None | None | None ] Execute this SQL based on the above table: select rd order by result (w/d/l) - away team limit 1
6.0
[ header: battle | location | date(s) | engagement remarks | victor row 1 : battle of gonzales | gonzales | october 2, 1835 | this battle resulted in the first casualties | t row 2 : battle of goliad | goliad | october 10, 1835 | texians captured presidio la bah | t row 3 : battle of concepcion | san antonio de be | october 28, 1835 | in the last offensive ordered by general martin | t row 4 : grass fight | san antonio de be | november 26, 1835 | texans attack a large mexi | t row 5 : battle of san patricio | san patricio | february 27, 1836 | this was the first battle of the goli | m row 6 : battle of the alamo | san antonio de be | february 23 - march 6, 1836 | mexican president antonio | m row 7 : battle of refugio | refugio | march 14, 1836 | third battle of the goliad campaign | m ] Execute this SQL based on the above table: select count ( * ) where victor = 't'
4
[ header: selected latin american countries | internl. tourism arrivals 2010 (x 1000) | internl. tourism receipts. 2010 (usd (x1000) | average receipt per visitor 2009 (usd/turista) | tourist arrivals per 1000 inhab (estimated) 2007 | receipts per capita 2005 usd | revenues as % exports of goods and services 2003 | tourism income % gdp 2003 | % direct and indirect employment in tourism 2005 | world ranking tourism competitiv. ttci 2011 | 2011 ttci index row 1 : argentina | 5288 | 4930 | 932 | 115 | 57 | 7.4 | 1.8 | 9.1 | 60 | 4.2 row 2 : brazil | 5161 | 5919 | 1147 | 26 | 18 | 3.2 | 0.5 | 7 | 52 | 4.36 row 3 : chile | 2766 | 1636 | 591 | 151 | 73 | 5.3 | 1.9 | 6.8 | 57 | 4.27 row 4 : costa rica | 2100 | 2111 | 1005 | 442 | 343 | 17.5 | 8.1 | 13.3 | 44 | 4.43 row 5 : cuba | 2507 | None | None | 188 | 169 | None | None | None | None | None row 6 : dominican republic | 4125 | 4240 | 1028 | 408 | 353 | 36.2 | 18.8 | 19.8 | 72 | 3.99 row 7 : mexico | 22395 | 11872 | 530 | 201 | 103 | 5.7 | 1.6 | 14.2 | 43 | 4.43 row 8 : panama | 1317 | 1676 | 1273 | 330 | 211 | 10.6 | 6.3 | 12.9 | 56 | 4.3 row 9 : peru | 2299 | 2274 | 989 | 65 | 41 | 9 | 1.6 | 7.6 | 69 | 4.04 row 10 : uruguay | 2352 | 1496 | 636 | 525 | 145 | 14.2 | 3.6 | 10.7 | 58 | 4.24 ] Execute this SQL based on the above table: select selected latin american countries where receipts per capita 2005 usd > ( select receipts per capita 2005 usd where selected latin american countries = 'peru' ) order by receipts per capita 2005 usd limit 1
argentina
[ header: year | title | role | network | notes row 1 : 2000 | youth y2k 青春@y2 | cheng shasha | None | None row 2 : 2001 | the monkey king: quest for the sutra | purple orchid | tvb | None row 3 : 2001 | 藍寶石的夜空 | shek po-yi | tvb | eason chan's music video row 4 : 2002 | 一twins零一夜 | ah sa | tvb | music video row 5 : 2003 | triumph in the skies 衝上雲霄 | charlene | tvb | cameo row 6 : 2003 | all about boy'z 一起喝采 | langlang princess | now.com.hk | appearance in episode 2 row 7 : 2003 | 2半3更之困車立 | ah sa | now.com.hk | None row 8 : 2003 | 愛在陽光下 | aids patient | None | music video produced to support the global anti-aid row 9 : 2004 | kung fu soccer 功夫足球 | None | tvb | guest star row 10 : 2004 | sunshine heartbeat 赤沙印記@四葉草.2 | ah sa | tvb | guest star row 11 : 2004 | 家有寶貝 | ah sa | None | guest star row 12 : 2007 | colours of love 森之愛情 | wai-fong / ching- | tvb | None row 13 : 2007 | life off stage | None | None | None row 14 : 2010 | calling for love! 呼叫大明星 | chen dexin | cts | None row 15 : 2011 | the legend of swordman 劍俠情緣 | tang xiaowan / n | None | None row 16 : 2012 | happy marshal 歡樂元帥 | little dragon girl (xiao long nu) | None | None ] Execute this SQL based on the above table: select count ( title ) where role = 'None'
0
[ 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 team where rider = 'erik zabel (ger)'
team milram
[ header: rank | lane | name | nationality | time | notes row 1 : None | 4 | sophie pascoe | new zealand | 2:25.65 | wr row 2 : None | 5 | summer ashley mortimer | canada | 2:32.08 | None row 3 : None | 3 | zhang meng | china | 2:33.95 | as row 4 : 4 | 6 | katherine downie | australia | 2:34.64 | None row 5 : 5 | 2 | nina ryabova | russia | 2:35.65 | None row 6 : 6 | 8 | aurelie rivard | canada | 2:37.70 | None row 7 : 7 | 7 | harriet lee | great britain | 2:39.42 | None row 8 : 8 | 1 | gemma almond | great britain | 2:42.16 | None ] Execute this SQL based on the above table: select name where rank = ( select rank where name = 'harriet lee' ) - 1
aurelie rivard
[ header: year | title | role | notes row 1 : 1941 | the maltese falcon | kasper gutman | nominated - academy award for best supporting row 2 : 1941 | they died with their boots on | lt. gen. winfield | None row 3 : 1942 | across the pacific | dr. lorenz | None row 4 : 1942 | casablanca | signor ferrari | None row 5 : 1943 | background to danger | col. robinson | None row 6 : 1944 | passage to marseille | major duval | None row 7 : 1944 | between two worlds | rev. tim thompson | None row 8 : 1944 | the mask of dimitrios | mr. peters | None row 9 : 1944 | the conspirators | ricardo quintanilla | None row 10 : 1944 | hollywood canteen | himself | None row 11 : 1945 | pillow to post | col. michael otley | None row 12 : 1945 | conflict | dr. mark hamilton | None row 13 : 1945 | christmas in connecticut | alexander yardley | None row 14 : 1946 | three strangers | jerome k. arbutny | None row 15 : 1946 | devotion | william makepeace thacke | None row 16 : 1946 | the verdict | supt. george e | None row 17 : 1947 | that way with women | james p. alden | None row 18 : 1947 | the hucksters | evan llewellyn | None row 19 : 1948 | the velvet touch | capt. danbury | None row 20 : 1948 | ruthless | buck mansfield | None row 21 : 1948 | the woman in white | count alessandro fosco | None row 22 : 1949 | flamingo road | sheriff titus semple | None row 23 : 1949 | malaya | the dutchman | None ] Execute this SQL based on the above table: select title order by year asc limit 1
the maltese falcon
[ header: country | gdp (usd bln, 2012) | gdp (usd bln, 2017) | gdp (usd ppp bln, 2012) | gdp (usd ppp bln, 2017) | per capita (usd, 2012) | per capita (usd, 2017) | per capita (usd ppp, 2012) | per capita (usd ppp, 2017) row 1 : albania | 12.39 | 14.75 | 25.86 | 31.55 | 3,821.09 | 4,435.73 | 7,975.86 | 9,489.11 row 2 : azerbaijan | 71.04 | 109.95 | 98.24 | 123.35 | 7,726.65 | 11,491.29 | 10,684.95 | 12,891.89 row 3 : bangladesh | 118.69 | 177.66 | 305.51 | 462.42 | 791.09 | 1,122.90 | 2,036.23 | 2,922.78 row 4 : brunei darussalam | 16.85 | 18.15 | 21.94 | 28.31 | 38,801.27 | 37,516.64 | 50,526.35 | 58,522.83 row 5 : cote d'ivoire | 24.27 | 37.03 | 39.64 | 61.66 | 1,038.74 | 1,366.89 | 1,696.15 | 2,276.02 row 6 : egypt | 255.00 | 339.33 | 537.76 | 756.42 | 3,109.47 | 3,729.36 | 6,557.38 | 8,313.47 row 7 : gabon | 16.80 | 18.00 | 26.71 | 32.68 | 10,908.38 | 10,881.51 | 17,338.98 | 19,762.74 row 8 : indonesia | 894.85 | 1,842.78 | 1,211.96 | 1,814.58 | 3,660.42 | 7,022.67 | 4,957.55 | 6,915.24 row 9 : iran | 483.78 | 671.01 | 1,006.54 | 1,173.48 | 6,355.74 | 8,269.55 | 13,103.90 | 14,462.05 row 10 : jordan | 31.35 | 46.33 | 38.67 | 51.61 | 4,901.28 | 6,464.77 | 6,044.40 | 7,201.71 row 11 : kuwait | 174.63 | 193.10 | 165.94 | 212.73 | 46,142.29 | 44,467.96 | 43,846.72 | 48,990.11 row 12 : lebanon | 41.77 | 56.25 | 63.69 | 82.99 | 10,416.17 | 13,149.68 | 15,884.07 | 19,401.42 row 13 : libya | 85.11 | 117.76 | 87.91 | 145.08 | 12,878.85 | 16,141.08 | 13,303.20 | 19,886.33 row 14 : morocco | 97.17 | 140.01 | 170.95 | 242.78 | 2,987.92 | 4,099.70 | 5,256.55 | 7,109.34 row 15 : mozambique | 14.64 | 23.76 | 26.22 | 41.71 | 652.00 | 958.25 | 1,167.30 | 1,682.38 row 16 : nigeria | 272.55 | 388.42 | 450.54 | 676.25 | 1,654.31 | 2,058.57 | 2,734.63 | 3,584.02 row 17 : pakistan | 230.53 | 274.82 | 514.56 | 662.44 | 1,288.50 | 1,391.71 | 2,876.08 | 3,354.68 row 18 : qatar | 184.57 | 237.85 | 188.96 | 274.46 | 100,377.54 | 106,320.28 | 102,768.69 | 122,684.13 ] Execute this SQL based on the above table: select count ( country ) where country = '123.35'
0
[ header: place | player | country | score | to par row 1 : t1 | ed sneed | united states | 68-67=135 | -9 row 2 : t1 | craig stadler | united states | 69-66=135 | -9 row 3 : t3 | raymond floyd | united states | 70-68=138 | -6 row 4 : t3 | leonard thompson | united states | 68-70=138 | -6 row 5 : t5 | miller barber | united states | 75-64=139 | -5 row 6 : t5 | tom watson | united states | 68-71=139 | -5 row 7 : t5 | joe inman | united states | 68-71=139 | -5 row 8 : t8 | seve ballesteros | spain | 72-68=140 | -4 row 9 : t8 | jack nicklaus | united states | 69-71=140 | -4 row 10 : t8 | lou graham | united states | 69-71=140 | -4 ] Execute this SQL based on the above table: select to par group by to par order by count ( * ) desc limit 1
-4
[ header: kilometers | name | location | intersecting routes row 1 : 0 | mahanayim junction | mahanayim, near hatz | highway 90 (israel) row 2 : 7 | gadot junction | gadot | route 918 row 3 : 12 | customs house junction | customs office | route 888 row 4 : 15 | nashot junction | northwest of katzrin | route 9088 row 5 : 21 | None | golan heights | petroleum road row 6 : 22 | hashiryon junction | golan heights | route 978 row 7 : 23 | shipon junction | shipon (spelt) mountain | route 9099 row 8 : 27 | avital junction | mount avital | route 9881 row 9 : 28 | zivan junction | ein zivan | highway 98 (israel) ] Execute this SQL based on the above table: select count ( location )
9
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | united states (usa) | 25 | 16 | 7 | 48 row 2 : 2 | canada (can) | 5 | 4 | 7 | 16 row 3 : 3 | jamaica (jam) | 4 | 3 | 4 | 11 row 4 : 4 | cuba (cub) | 3 | 8 | 4 | 15 row 5 : 5 | mexico (mex) | 0 | 3 | 3 | 6 row 6 : 6 | brazil (bra) | 0 | 2 | 1 | 3 row 7 : 7 | puerto rico (pur) | 0 | 1 | 1 | 2 row 8 : 8 | colombia (col) | 0 | 0 | 3 | 3 row 9 : 9 | peru (per) | 0 | 0 | 2 | 2 row 10 : 9 | trinidad and tobago (tri) | 0 | 0 | 2 | 2 row 11 : 11 | chile (chi) | 0 | 0 | 1 | 1 row 12 : 11 | uruguay (uru) | 0 | 0 | 1 | 1 row 13 : 11 | venezuela (ven) | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select nation where nation != 'chile (chi)' order by silver desc limit 1
united states (usa)
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 30 may 1928 | olympic stadium (amsterdam | mexico | 1-0 | 7-1 | 1928 summer olympics row 2 : 2 | 30 may 1928 | olympic stadium (amsterdam | mexico | 3-0 | 7-1 | 1928 summer olympics row 3 : 3 | 22 june 1930 | bologna, italy | italy | 1-0 | 3-2 | friendly row 4 : 4 | 22 june 1930 | bologna, italy | italy | 3-1 | 3-2 | friendly row 5 : 5 | 13 december 1931 | dublin, ireland | ireland | 3-0 | 5-0 | friendly row 6 : 6 | 13 december 1931 | dublin, ireland | ireland | 5-0 | 5-0 | friendly row 7 : 7 | 24 april 1932 | oviedo, spain | yugoslavia | 1-0 | 2-1 | friendly row 8 : 8 | 21 june 1933 | madrid, spain | bulgaria | 8-0 | 13-0 | friendly row 9 : 9 | 21 june 1933 | madrid, spain | bulgaria | 12-0 | 13-0 | friendly row 10 : 10 | 11 march 1934 | madrid, spain | portugal | 4-0 | 9-0 | 1934 world cup qualifier row 11 : 11 | 11 march 1934 | madrid, spain | portugal | 6-0 | 9-0 | 1934 world cup qualifier row 12 : 12 | 21 june 1934 | firenze, italy | italy | 1-0 | 1-1 | 1934 fifa world cup row 13 : 13 | 24 january 1935 | madrid, spain | bulgaria | 1-0 | 2-0 | friendly row 14 : 14 | 19 january 1936 | madrid, spain | austria | 2-4 | 4-5 | friendly row 15 : 15 | 19 january 1936 | madrid, spain | austria | 4-4 | 4-5 | friendly row 16 : 16 | 23 february 1936 | barcelona, spain | germany | 1-2 | 1-2 | friendly ] Execute this SQL based on the above table: select count ( result ) where venue = 'madrid, spain'
7
[ header: season | tier | division | place row 1 : 2002/03 | 8 | 3a aficio | 1st row 2 : 2003/04 | 6 | 1a aficio | 1st row 3 : 2004/05 | 5 | preferente | 13th row 4 : 2005/06 | 5 | preferente | 4th row 5 : 2006/07 | 5 | preferente | 8th row 6 : 2007/08 | 5 | preferente | 8th row 7 : 2008/09 | 5 | preferente | 3rd row 8 : 2009/10 | 5 | preferente | 2nd row 9 : 2010/11 | 4 | 3a | 6th row 10 : 2011/12 | 4 | 3a | 6th row 11 : 2012/13 | 4 | 3a | 11th ] Execute this SQL based on the above table: select division order by id desc limit 1
3a