inputs
stringlengths
291
3.71k
targets
stringlengths
1
2.65k
[ header: mlb season | team season | league | division | finish | wins | losses | win % | gb | postseason | awards row 1 : 1969 | 1969 | al | west | 6th | 64 | 98 | 0.395 | 33 | None | None row 2 : 1970 | 1970 | al | west | 4th | 65 | 97 | 0.401 | 33 | None | None row 3 : 1971 | 1971 | al | west | 6th | 69 | 92 | 0.429 | 32 | None | None row 4 : 1973 | 1973 | al | east | 5th | 74 | 88 | 0.457 | 23 | None | None row 5 : 1974 | 1974 | al | east | 5th | 76 | 86 | 0.469 | 15 | None | None row 6 : 1976 | 1976 | al | east | 6th | 66 | 95 | 0.41 | 32 | None | None row 7 : 1977 | 1977 | al | east | 6th | 67 | 95 | 0.414 | 33 | None | None row 8 : 1979 | 1979 | al | east | 2nd | 95 | 66 | 0.59 | 8 | None | None row 9 : 1981 | 1981 | al | east | 3rd | 31 | 25 | 0.554 | 3 | lost alds vs. new york | rollie fingers (mvp, row 10 : 1981 | 1981 | al | east | 1st | 31 | 22 | 0.585 | None | lost alds vs. new york | rollie fingers (mvp, row 11 : 1982 | 1982 | al | east | 1st | 95 | 67 | 0.586 | None | won alcs vs. cali | robin yount (mvp row 12 : 1983 | 1983 | al | east | 5th | 87 | 75 | 0.537 | 11 | None | cecil cooper (rca) row 13 : 1984 | 1984 | al | east | 7th | 67 | 94 | 0.416 | 361⁄2 | None | None row 14 : 1988 | 1988 | al | east | 3rd | 87 | 75 | 0.537 | 2 | None | None row 15 : 1993 | 1993 | al | east | 7th | 69 | 93 | 0.426 | 26 | None | None row 16 : 1997 | 1997 | al | central | 3rd | 78 | 83 | 0.484 | 8 | None | None row 17 : 1999 | 1999 | nl | central | 5th | 74 | 87 | 0.46 | 221⁄2 | None | None row 18 : 2000 | 2000 | nl | central | 3rd | 73 | 89 | 0.451 | 22 | None | None row 19 : 2001 | 2001 | nl | central | 4th | 68 | 94 | 0.42 | 25 | None | None row 20 : 2002 | 2002 | nl | central | 6th | 56 | 106 | 0.346 | 41 | None | None row 21 : 2003 | 2003 | nl | central | 6th | 68 | 94 | 0.412 | 20 | None | None row 22 : 2004 | 2004 | nl | central | 6th | 67 | 94 | 0.411 | 371⁄2 | None | None row 23 : 2007 | 2007 | nl | central | 2nd | 83 | 79 | 0.512 | 2 | None | ryan braun (roy) prince field row 24 : 2008 | 2008 | nl | central | 2nd | 90 | 72 | 0.556 | 71⁄2 | lost nlds vs. | None row 25 : 2009 | 2009 | nl | central | 3rd | 80 | 82 | 0.494 | 11 | None | None ] Execute this SQL based on the above table: select finish where finish in ( '5th' , '6th' ) order by mlb season desc limit 1
6th
[ header: year | host | champion | second place | third place | fourth place row 1 : 2005 | ninh binh | tianjin bridgestone | chung shan | korea highway corporation | rahat cska row 2 : 2006 | manila | tianjin bridgestone | chung shan | sang som | rahat cska row 3 : 2008 | vinh phuc | tianjin bridgestone | sang som | toray arrows | sobaeksu row 4 : 2009 | nakhon pathom | federbrau | tianjin bridgestone | toray arrows | zhetysu almaty row 5 : 2010 | gresik | federbrau | zhetysu almaty | jt marvelous | tianjin bridgestone row 6 : 2011 | vinh phuc | chang | tianjin bridgestone | zhetysu almaty | thong tin lien viet bank row 7 : 2012 | nakhon ratchasima | tianjin bridgestone | toray arrows | chang | zhetysu almaty ] Execute this SQL based on the above table: select count ( third place ) where second place = 1626
0
[ header: season | competition | round | club | 1st leg | 2nd leg row 1 : 2001-02 | uefa cup | qr | cska sofia | 1-2 (h) | 1-3 (a) row 2 : 2003 | uefa intertoto cup | 1r | omagh town | 1-0 (h) | 7-1 (a) row 3 : 2003 | uefa intertoto cup | 2r | cibalia | 1-1 (h) | 2-4 (a) row 4 : 2004-05 | uefa cup | 1q | nistru otaci | 1-1 (a) | 1-2 (h) row 5 : 2006-07 | uefa champions league | 1q | siroki brijeg | 0-1 (h) | 0-1 (a) row 6 : 2007 | uefa intertoto cup | 1r | ararat yerevan | 4-1 (h) | 0-2 (a) row 7 : 2007 | uefa intertoto cup | 2r | chornomorets odes | 2-4 (a) | 0-2 (h) row 8 : 2008 | uefa intertoto cup | 1r | cracovia krakow | 2-1 (a) | 3-0 (h) row 9 : 2008 | uefa intertoto cup | 2r | sturm graz | 0-2 (a) | 0-0 (h) row 10 : 2011-12 | uefa europa league | 2q | ventspils | 0-1 (h) | 2-3 (a) row 11 : 2012-13 | uefa europa league | 2q | ried | 1-1 (h) | 0-0 (a) row 12 : 2013-14 | uefa europa league | 2q | milsami | 1-1 (h) | 1-1 (p. 2-4)(a ] Execute this SQL based on the above table: select min ( round )
1q
[ header: year | title | role | notes row 1 : 1995 | polio water | diane | short film row 2 : 1996 | new york crossing | drummond | television film row 3 : 1997 | lawn dogs | devon stockard | None row 4 : 1999 | pups | rocky | None row 5 : 1999 | notting hill | 12-year-old actress | None row 6 : 1999 | the sixth sense | kyra collins | None row 7 : 2000 | paranoid | theresa | None row 8 : 2000 | skipped parts | maurey pierce | None row 9 : 2000 | frankie & hazel | francesca 'frankie' | television film row 10 : 2001 | lost and delirious | mary 'mouse' bedford | None row 11 : 2001 | julie johnson | lisa johnson | None row 12 : 2001 | tart | grace bailey | None row 13 : 2002 | a ring of endless light | vicky austin | television film row 14 : 2003 | octane | natasha 'nat' | None row 15 : 2006 | the oh in ohio | kristen taylor | None row 16 : 2007 | closing the ring | young ethel ann | None row 17 : 2007 | st trinian's | jj french | None row 18 : 2007 | virgin territory | pampinea | None row 19 : 2008 | assassination of a high school | francesca fachini | None row 20 : 2009 | walled in | sam walczak | None row 21 : 2009 | homecoming | shelby mercer | None row 22 : 2010 | don't fade away | kat | None row 23 : 2011 | you and i | lana | None row 24 : 2012 | into the dark | sophia monet | None row 25 : 2012 | ben banks | amy | None row 26 : 2012 | apartment 1303 3d | lara slate | None row 27 : 2012 | cyberstalker | aiden ashley | television film row 28 : 2013 | bhopal: a prayer for rain | eva gascon | None row 29 : 2013 | a resurrection | jessie | also producer row 30 : 2013 | l.a. slasher | the actress | None row 31 : 2013 | gutsy frog | ms. monica | television film ] Execute this SQL based on the above table: select title group by title order by count ( * ) desc limit 1
you and i
[ header: year | division | league | reg. season | playoffs | open cup row 1 : 1998 | 3 | usisl d-3 pro league | 3rd, northeast | division semifinals | 2nd round row 2 : 1999 | 3 | usl d-3 pro league | 1st, northern | champion | did not qualify row 3 : 2000 | 3 | usl d-3 pro league | 5th, northern | conference finals | did not qualify row 4 : 2001 | 3 | usl d-3 pro league | 7th, northern | did not qualify | did not qualify row 5 : 2002 | 3 | usl d-3 pro league | 1st, northern | quarterfinals | did not qualify row 6 : 2003 | 3 | usl pro select league | 3rd, northern | did not qualify | did not qualify row 7 : 2004 | 3 | usl pro soccer league | 3rd, northern | did not qualify | 2nd round row 8 : 2005 | 3 | usl second division | 1st | final | 3rd round row 9 : 2006 | 3 | usl second division | 6th | did not qualify | did not qualify row 10 : 2007 | 3 | usl second division | 6th | did not qualify | 2nd round row 11 : 2008 | 3 | usl second division | 6th | quarterfinals | 2nd round row 12 : 2009 | 3 | usl second division | 7th | did not qualify | 2nd round row 13 : 2010 | 4 | usl pdl | 6th, northeast | did not qualify | did not qualify row 14 : 2011 | 4 | usl pdl | 3rd, northeast | did not qualify | 1st round row 15 : 2012 | 4 | usl pdl | 3rd, northeast | did not qualify | did not qualify row 16 : 2013 | 4 | usl pdl | 4th, northeast | did not qualify | did not qualify ] Execute this SQL based on the above table: select count ( * ) where playoffs < 533
0
[ header: name | club | date of departure | replacement | date of appointment row 1 : jadet meelarp | chonburi | january 2009 | kiatisuk senamuang | january 2009 row 2 : kiatisuk senamuang | chula united | january 2009 | carlos ferreira | january 2009 row 3 : prajuk viengsong | ttm samut s | january 2009 | attaphol puspakom | january 2009 row 4 : attaphol puspakom | ttm samut s | april 2009 | kij meesrisuk | april 2009 row 5 : surasak tansurat | muangthong united | april 2009 | attaphol puspakom | april 2009 row 6 : prapol pongpanich | pea | may 2009 | thongsuk sampahung | may 2009 row 7 : hans r. ems | bangkok glass | june 2009 | surachai jaturapattarapong | june 2009 row 8 : pansak ketwattha | pattaya united | june 2009 | wisoon wichaya | june 2009 row 9 : christophe larrouilh | bec tero sasan | june 2009 | tawan sripan | june 2009 row 10 : wisoon wichaya | pattaya united | june 2009 | jadet meelarp | june 2009 row 11 : carlos ferreira | chula united | august 2009 | pichai pituwong | august 2009 row 12 : kij meesrisuk | ttm samut s | august 2009 | prajuk viengsong | august 2009 row 13 : chatchai paholpat | nakhon pathom | september 2009 | piyapong pue-on | september 2009 ] Execute this SQL based on the above table: select replacement where date of departure = 'september 2009'
piyapong pue-on
[ 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 ( select change (%) where name = 'lumsden' ) - ( select change (%) where name = 'govan' )
14.0
[ header: language | number | percentage (%) | males | females row 1 : polish | 1420436 | 73.52 | 687210 | 733226 row 2 : yiddish | 317169 | 16.41 | 154603 | 162566 row 3 : russian | 87850 | 4.54 | 13551 | 1586 row 4 : german | 77160 | 3.99 | 37984 | 39176 row 5 : ukrainian | 15930 | 0.82 | 15623 | 307 row 6 : romanian | 2299 | >0.01 | 2293 | 6 row 7 : latvian | 1759 | >0.01 | 1738 | 21 row 8 : estonian | 1566 | >0.01 | 1555 | 11 row 9 : tatar | 1473 | >0.01 | 1437 | 36 row 10 : belarusian | 1343 | >0.01 | 1234 | 109 row 11 : other | 4824 | 0.24 | 3289 | 1535 row 12 : persons that didn't name their native language | 54 | >0.01 | 33 | 21 row 13 : total | 1931867 | 100 | 977948 | 953919 ] Execute this SQL based on the above table: select abs ( ( select number where language = 'other' ) - ( select number where language = 'polish' ) )
1415612.0
[ header: pos | no | driver | team | laps | time/retired | grid | points row 1 : 1 | 5 | will power | team australia | 73 | 1:45:58.568 | 7 | 31 row 2 : 2 | 21 | neel jani | pkv racing | 73 | 2.972 | 9 | 28 row 3 : 3 | 9 | justin wilson | rsports | 73 | 3.48 | 2 | 25 row 4 : 4 | 15 | simon pagenaud | team australia | 73 | 5.643 | 4 | 23 row 5 : 5 | 19 | bruno junqueira | dale coyne racing | 73 | 20.738 | 5 | 21 row 6 : 6 | 14 | robert doornbos | minardi team usa | 72 | + 1 lap | 12 | 19 row 7 : 7 | 28 | ryan dalziel | pacific coast motorsports | 72 | + 1 lap | 11 | 17 row 8 : 8 | 8 | alex tagliani | rsports | 71 | + 2 laps | 6 | 15 row 9 : 9 | 1 | sebastien bourdais | n/h/l racing | 67 | contact | 1 | 16 row 10 : 10 | 7 | oriol servia | forsythe racing | 56 | contact | 3 | 11 row 11 : 11 | 2 | graham rahal | n/h/l racing | 52 | contact | 15 | 10 row 12 : 12 | 4 | dan clarke | minardi team usa | 43 | contact | 13 | 9 row 13 : 13 | 34 | jan heylen | conquest racing | 1 | contact | 8 | 8 row 14 : 14 | 3 | paul tracy | forsythe racing | 0 | contact | 10 | 7 row 15 : 15 | 22 | tristan gommendy | pkv racing | 0 | contact | 14 | 6 row 16 : 16 | 11 | katherine legge | dale coyne racing | 0 | contact | 16 | 5 row 17 : 17 | 29 | alex figge | pacific coast motorsports | 0 | contact | 17 | 4 ] Execute this SQL based on the above table: select count ( distinct grid )
17
[ header: no. | ritu | season | hindu lunar months | gregorian month | characteristics | seasonal festivals row 1 : 1 | vasanta वसनत | spring | chaitra and baisakh | ~ march to may | temperature around 20-30 degrees; vernal | vasant panchami, ugad row 2 : 2 | grishma गरीषम | summer | jyeshta and aash | ~ may to july | very hot, temperatures up to 50 degrees cels | vat pournima, rath row 3 : 3 | varsha वरषा | monsoon | shraavana (sawan | ~ july to september | very hot, very humid and heavy monso | raksha bandhan, kris row 4 : 4 | sharad शरद, पतझड | autumn | ashwin (kwar) and kar | ~ september to november | mild temperatures; 19 to 22 degrees celsi | navaratri, vijayadas row 5 : 5 | hemant हमनत | fall winter | margashirsha (agrahayana | ~ november to january | very pleasant temperatures; generally, 20-25 degrees cel | (mid-winter celebration), bihu row 6 : 6 | shishir शिशिर | winter | magh and phalguna (phagun | ~ january to march | moderately cold, but pleasant during occasional sunshine; | shivaratri, shigm ] Execute this SQL based on the above table: select count ( no. ) where no. = 0 and no. = 0
0
[ header: conference | bids | record | win % | quarterfinals | semifinals | final | champions row 1 : atlantic coast conference | 4 | 6-4 | 0.6 | 4 | 2 | None | None row 2 : ivy league | 3 | 4-3 | 0.571 | 2 | 1 | 1 | None row 3 : independent | 2 | 5-1 | 0.833 | 2 | 1 | 1 | 1 row 4 : colonial athletic association | 2 | 0-2 | 0 | None | None | None | None row 5 : america east conference | 1 | 0-1 | 0 | None | None | None | None row 6 : eastern college athletic conference | 1 | 0-1 | 0 | None | None | None | None row 7 : great western lacrosse league | 1 | 0-1 | 0 | None | None | None | None row 8 : metro atlantic athletic conference | 1 | 0-1 | 0 | None | None | None | None row 9 : patriot league | 1 | 0-1 | 0 | None | None | None | None ] Execute this SQL based on the above table: select count ( conference ) where win % = 0 or win % = 0
6
[ header: edition | year | men's winner | time (h:m:s) | women's winner | time (h:m:s) row 1 : 1st | 1983 | tommy persson (swe) | 2:24:15 | None | None row 2 : 2nd | 1984 | steven marwa (tan) | 2:33:59 | None | None row 3 : 4th | 1986 | savio d'souza | 2:31:28 | karolina szabo (h | 1:17:09 row 4 : 6th | 1989 | yeshwant singh rawat (in | 2:31:47 | sunita godhara (ind) | 2:58:39 row 5 : 9th | 1992 | shivkumar yada | 2:26:34 | suman mehta (ind) | 2:51:01 row 6 : 10th | 1993 | robert nolan (aus) | 2:23:23 | vally sathyab | 2:47:46 row 7 : 11th | 1994 | joshua kipkemboi | 2:24:35 | midde hamrin (swe) | 1:17:19 row 8 : 12th | 1996 | joseph kahugu ( | 2:13:00 | lukose leelamma | None row 9 : 13th | 1997 (jan) | abhay singh (ind) | 2:23:08 | camilla benjaminsson ( | 1:20:00 row 10 : 14th | 1997 (dec) | my tahar echchadl | 2:25:36 | zahra akrachi ( | 1:16:42 row 11 : 15th | 1999 | zablon mokaya (ken) | 2:22:54 | lyubov fyodor | 1:29:49 row 12 : 16th | 2000 | fedor ryzhov (rus) | 2:25:17 | margaret ngotho ( | 1:18:10 row 13 : 17th | 2002 | ambrose makau (ken) | 2:23:20 | natalya volgina (rus) | 1:15:52 row 14 : 18th | 2003 | robert kipyego ( | 2:16:36 | masila ndunge (ken | 1:13:49 row 15 : 19th | 2004 | douglas gwandaru (ken | 2:21:22 | jane muia (ken) | 1:11:59 row 16 : 20th | 2005 | josephat ndeti ( | 2:19:35 | nailiya yulamanova | 1:15:05 row 17 : 21st | 2006 | said regragui (swe) | 2:18:23 | hellen musyoka (ken) | 1:13:20 row 18 : 22nd | 2007 | philip makau muia ( | 2:17:32 | roman gebregessese (eth) | 1:11:30.4 row 19 : 23rd | 2008 | nelson kirwa rot | 2:17:45 | caroline kilel (ken) | 1:10:17 row 20 : 24th | 2009 | augustine rono sembri ( | 2:13:05 | agnes katunga mutune | 1:10:30 row 21 : 25th | 2010 | gudeta gemechu birat | 2:13:20 | birzaf gebre tekele ( | 2:38:41 ] Execute this SQL based on the above table: select women's winner order by id desc limit 1
birzaf gebre tekele (eth)
[ header: date | race | competition | rider | country | location row 1 : february 9 | tour of qatar, stage 3 | uci asia tour | tom boonen (bel) | qatar | mesaieed row 2 : february 11 | tour of qatar, stage 5 | uci asia tour | tom boonen (bel) | qatar | madinat al shamal row 3 : february 18 | tour of oman, stage 5 | uci asia tour | tom boonen (bel) | oman | sultan qaboos row 4 : march 11 | tirreno-adriatico | uci world ranking | tom boonen (bel) | italy | montecatini terme row 5 : march 26 | volta a catalunya | uci protour | davide malacarne (it | spain | cabaces row 6 : may 10 | giro d'italia, stage | uci world ranking | wouter weylandt (bel) | netherlands | middelburg row 7 : may 13 | giro d'italia, stage | uci world ranking | jerome pineau (fra) | italy | novi ligure row 8 : may 30 | giro d'italia, premi | uci world ranking | jerome pineau (fra) | italy | None row 9 : may 30 | tour of belgium, overall | uci europe tour | stijn devolder (bel) | belgium | None row 10 : june 23 | halle-ingooigem | uci europe tour | jurgen van de walle (bel) | belgium | ingooigem row 11 : july 5 | tour de france, stage 2 | uci world ranking | sylvain chavane | belgium | spa row 12 : july 10 | tour de france, stage 7 | uci world ranking | sylvain chavane | france | les rousses row 13 : september 12 | vuelta a espana, | uci world ranking | carlos barredo (esp) | spain | lagos de covadonga row 14 : october 3 | circuit franco-belge, stage 4 | uci europe tour | wouter weylandt (bel) | belgium | tournai row 15 : october 10 | g.p. beghelli | uci europe tour | dario cataldo (ita | italy | monteveglio ] Execute this SQL based on the above table: select count ( * ) where date = 'february 18'
1
[ header: from | to | name | party | position row 1 : 1850 | 1862 | m. borgarelli d' | None | colonel of infantry e.r row 2 : 1862 | 1869 | jules alfred le tourneur du | None | first secretary for the minister of finance row 3 : 1869 | 1903 | stanislas le tourneur d | None | attached to the taxation administration of france row 4 : None | None | yves le tourneur d' | None | doctor of juridical science row 5 : 1966 | 1989 | maurice lecoq | None | market gardener row 6 : 1989 | 2008 | michel deuzet | se | farmer row 7 : 2008 | 2014 | patrice martin | se | bank officer ] Execute this SQL based on the above table: select position group by position order by count ( * ) desc limit 1
market gardener
[ header: date | number | type | captain | casualties | sunk by row 1 : 4-may-43 | u-209 | viic | heinrich brodda | 46 | catalina flying-boat of no. 5 row 2 : 5-may-43 | u-638 | viic | oskar staudinger | 44 | hms sunflower row 3 : 5-may-43 | u-531 | ixc/40 | herbert neckel | 54 | hms vidette row 4 : 6-may-43 | u-192 | ixc/40 | werner happe | 55 | hms loosestrife row 5 : 6-may-43 | u-125 | ixc | ulrich folkers | 54 | hms oribi, hm row 6 : 6-may-43 | u-630 | viic | werner winkler | 47 | hms vidette row 7 : 6-may-43 | u-438 | viic | heinrich hensohn | 48 | hms pelican ] Execute this SQL based on the above table: select sunk by where sunk by != 'hms oribi, hms snowflake' and casualties = ( select casualties where sunk by = 'hms oribi, hms snowflake' )
hms vidette
[ header: name | street address | years as tallest | height ft (m) | floors row 1 : globe building | 4th street south | 1882-1886 | 157 (48) | 8 row 2 : lumber exchange building | 10 5th street south | 1886-1887 | 165 (50) | 12 row 3 : industrial exposition building | central avenue southeast and main street southeast | 1887-1890 | 240 (73) | 8 row 4 : metropolitan building | 308 2nd avenue south | 1890-1895 | 258 (79) | 12 row 5 : minneapolis city hall | 350 5th street south | 1895-1929 | 341 (104) | 14 row 6 : foshay tower | 821 marquette avenue | 1929-1973 | 448 (137) | 32 row 7 : ids tower | 80 8th street south | 1973-present | 792 (241) | 55 ] Execute this SQL based on the above table: select count ( name ) where floors > 8
5
[ header: season | tier | division | place row 1 : 1963-86 | 5 | regional | None row 2 : 1986/87 | 5 | preferente | 2nd row 3 : 1987/88 | 4 | 3a | 15th row 4 : 1988/89 | 4 | 3a | 15th row 5 : 1989/90 | 4 | 3a | 17th row 6 : 1990/91 | 4 | 3a | 12th row 7 : 1991/92 | 4 | 3a | 18th row 8 : 1992/93 | 5 | preferente | 1st row 9 : 1993/94 | 4 | 3a | 14th row 10 : 1994/95 | 4 | 3a | 16th row 11 : 1995/96 | 4 | 3a | 19th row 12 : 1996/97 | 5 | preferente | 1st row 13 : 1997/98 | 4 | 3a | 7th row 14 : 1998/99 | 4 | 3a | 18th ] Execute this SQL based on the above table: select division order by place desc limit 1
3a
[ header: genre | date | japanese title (original title) | english title | scoring | notes row 1 : orchestral | 1988 | トゥリー・ライン | tree line | for chamber orchestra | early title: 並木 (namiki?) row 2 : concertante | 1971 | カシオヘア | cassiopeia | for percussion solo and orchestra | None row 3 : concertante | 1981 | 海へ ii 夜 白鯨 | toward the sea ii the night moby | for alto flute, harp and string | None row 4 : concertante | 1995 | スヘクトラル・カンティクル | spectral canticle | for violin, guitar and orchestra | None row 5 : chamber music | 1965 | ソナント | sonant | for 2 flutes, violin, cello, | revised as valeria in 1969 row 6 : chamber music | 1982 | クロス・ハッチ | cross hatch | for marimba and vibraphone (or 2 | None row 7 : chamber music | 1987 | オール・イン・トワイライト - キターのための四つの小品 - | all in twilight, 4 pieces | for guitar | written for julian bream row 8 : keyboard | 1948 | かけひ | kakehi (conduit) | for piano | None row 9 : keyboard | 1949 | 二つの小品 | 2 pieces | for piano | None row 10 : keyboard | 1950 | 二つのレント | lento in due movimenti | for piano | revised as litany in 1989 row 11 : choral | 1963 | 三重県伊賀市上野西小学校校歌 | kamino nishi elementary school song | None | school song; words by keiji hash row 12 : choral | 1982 | 芝生 | grass | for male chorus | words by shuntaro ta row 13 : vocal | 1955 | 小さな部屋て | in a small room (chiisana | for voice and piano | words by akira kawaji row 14 : vocal | 1963 | 雲に向かって起つ | take off for the clouds (kumo | None | song for a television drama; words by row 15 : vocal | 1985 | 明日ハ晴レカナ、曇リカナ | will tomorrow, i wonder, be cloudy | for voice and piano | words by the composer row 16 : stage | 1956 | タンタロスの踊り | tantalos no odori | None | incidental music for the play by ri row 17 : stage | 1961 | おまえの敵はおまえた | omae no teki wa | None | incidental music for the play by jun is row 18 : electronic music | 1970 | None | years of ear - what is music? | for tape | None row 19 : commercial music | 1982 | サントリーリサーフ | suntory reserve | None | None row 20 : film scores | 1955 | 北斎 | hokusai | None | not produced row 21 : film scores | 1962 | 切腹 | harakiri | None | directed by masaki kobayashi row 22 : film scores | 1964 | 乾いた花 | pale flower | None | directed by masahiro shinod row 23 : film scores | 1965 | 美しさと哀しみと | with beauty and sadness | None | directed by masahiro shinod row 24 : film scores | 1965 | 四谷怪談 | yotsuya ghost story | None | directed by shiro toyod row 25 : film scores | 1966 | 他人の顔 | the face of another | None | directed by hiroshi teshiga ] Execute this SQL based on the above table: select count ( * ) where genre = 1271
0
[ header: party | candidate | votes | % | ∆% row 1 : conservative | joe daniel | 14422 | 36.78 | 5.78 row 2 : liberal | yasmin ratansi | 13552 | 34.56 | -13.51 row 3 : new democratic | mary trapani hynes | 9878 | 25.19 | 11.87 row 4 : green | akil sadikali | 1114 | 2.84 | -4.05 row 5 : christian heritage | ryan kidd | 246 | 0.63 | -0.07 row 6 : total valid votes | total valid votes | 39212 | 100 | None row 7 : total rejected ballots | total rejected ballots | 218 | 0.55 | None row 8 : turnout | turnout | 39430 | 57.24 | None row 9 : eligible voters | eligible voters | 68890 | None | None ] Execute this SQL based on the above table: select count ( * ) where party = 'green'
1
[ header: serial number | river | name | area (km2) | district | co-ordinate | altitude (m) row 1 : 1 | bharathapuzha | malampuzha | 23.13 | palakkad | 10°50′n 76°41′ | 104 row 2 : 2 | bharathapuzha | mangalam | 3.93 | palakkad | 10°31′n 76°32′ | 72 row 3 : 3 | bharathapuzha | meenkara | 2.59 | palakkad | 10°37′n 76°48′ | 152 row 4 : 4 | bharathapuzha | chulliar | 1.59 | palakkad | 10°35′n 76°46′ | 143 row 5 : 5 | bharathapuzha | pothundi | 3.63 | palakkad | 10°32′n 76°38′ | 93 row 6 : 9 | chalakkudy | thunakkadavu | 2.83 | palakkad | 10°25′59′′n 76° | 565 row 7 : 10 | chalakkudy | peruvaaripallam | None | palakkad | 10°26′49′′n 76° | 565 row 8 : 12 | chalakkudy | peringalkuthu dam | 2.63 | thrissur | None | None row 9 : 13 | kallada | parappar | 25.9 | kollam | 09° 57' 77° 4' | None row 10 : 15 | karuvanoor | peechi | 12.63 | thrissur | 10°32′n 76°23′ | 73 row 11 : 16 | keecheri | vazhani | 2.55 | thrissur | 10° 40' 76° 15' | None row 12 : 17 | kuttiadi | kuttiadi | 10.52 | kozhikode | 11° 36' 75° 49'27" | None row 13 : 19 | pamba | pamba | 5.7 | pathanamthitta | 09° 20' 76° 53' | None row 14 : 20 | pamba | kakki | 18 | pathanamthitta | None | None row 15 : 21 | periyar | idukki | 61.6 | idukki | 09° 48' 76° 53' | 720 row 16 : 22 | periyar | ponmudi | 2.6 | idukki | 09° 55' 77° 05' | None row 17 : 24 | periyar | kundala | 2.3 | idukki | 10° 0' 77° 0 | None row 18 : 26 | periyar | sengulam | 0.33 | idukki | 10° 00' 77° 05 | None row 19 : 27 | periyar | neriamangalam | 4.13 | idukki | None | None row 20 : 30 | valapattanam | pazhassi | 6.48 | kannur | None | None row 21 : 33 | chimmini dam | thrissur | 85.067 | thrissur | None | None ] Execute this SQL based on the above table: select district where name = 'neriamangalam'
idukki
[ header: date | race name | d(f) | course | prize (£) | odds | runners | place | margin | winner/runner-up | time | jockey row 1 : july 1879 | chesterfield stakes | 5 | newmarket | 1130 | 9/4 | 11 | 1 | 1 | petal | 0:59 | charles wood row 2 : 29 july 1879 | richmond stakes | 6 | goodwood | 1762 | None | 8 | 1 | None | None | None | None row 3 : august 1879 | prince of wales stakes | 5 | york | 340 | 1/2 | 9 | 1 | 0.5 | brother to ersilia | None | fred archer row 4 : 1879 | triennial produce stakes | 10 | newmarket | 881 | None | 11 | 1 | None | None | None | None row 5 : 1879 | rous memorial stakes | 5 | newmarket | 567 | None | 10 | 1 | None | None | None | None row 6 : 26 may 1880 | epsom derby | 12 | epsom downs | 6375 | 2/1 | 19 | 1 | head | robert the devil | 2:48 | fred archer row 7 : june 1880 | st. james's palace | 8 | ascot | 1550 | 30/100 | 5 | 1 | head | fernandez | None | g fordham row 8 : 15 september 1880 | st leger | 14.5 | doncaster | 6100 | 4/5 | 12 | 6 | None | robert the devil | 3:32 | None row 9 : 28 september 1880 | great foal stakes | 10 | newmarket | 2697 | 9/2 | 7 | 2 | head | robert the devil | 2:25 | tom cannon row 10 : 14 october 1880 | champion stakes | 10 | newmarket | 2071 | 5/4 | 4 | 2 | 10 | robert the devil | 2:10 | g fordham row 11 : 27 april 1881 | city and suburban handicap | 10 | epsom downs | 1230 | 100/8 | 24 | 1 | 1.5 | foxhall | 2:07 | fred archer row 12 : 3 june 1881 | epsom gold cup | 12 | epsom downs | 500 | None | 2 | 1 | None | robert the devil | None | None row 13 : 13 october 1881 | champion stakes | 10 | newmarket | 2087 | 4/6 | 8 | 1 | 0.75 | scobell | 2:23.6 | fred archer row 14 : 25 october 1881 | cambridgeshire stakes | 9 | newmarket | 2017 | 9/2 | 32 | 7 | None | foxhall | 2:15.4 | fred archer ] Execute this SQL based on the above table: select date where place < ( select min ( place ) where date = '25 october 1881' ) order by place desc limit 1
15 september 1880
[ header: category | | area (sq miles) | area (km2) | population (2011) | density (per km2) row 1 : mainland | aberdeen city | 70 | 182 | 222800 | 1224 row 2 : mainland | aberdeenshire | 2439 | 6317 | 253000 | 40 row 3 : mainland | angus | 843 | 2184 | 116000 | 53 row 4 : mainland | argyll and bute | 2712 | 7023 | 88200 | 13 row 5 : mainland | clackmannanshire | 61 | 158 | 51400 | 325 row 6 : mainland | dumfries and galloway | 2489 | 6446 | 151300 | 23 row 7 : mainland | dundee city | 21 | 55 | 147300 | 2678 row 8 : mainland | east ayrshire | 492 | 1275 | 122700 | 96 row 9 : mainland | east dunbartonshire | 68 | 176 | 105000 | 597 row 10 : mainland | east lothian | 257 | 666 | 99700 | 150 row 11 : mainland | east renfrewshire | 65 | 168 | 90600 | 539 row 12 : mainland | city of edinburgh | 100 | 260 | 476600 | 1833 row 13 : mainland | falkirk | 113 | 293 | 156000 | 532 row 14 : mainland | fife | 517 | 1340 | 365200 | 273 row 15 : mainland | glasgow city | 68 | 175 | 593200 | 3390 row 16 : mainland | highland | 10085 | 26119 | 232100 | 9 row 17 : mainland | inverclyde | 64 | 167 | 81500 | 488 row 18 : mainland | midlothian | 135 | 350 | 83200 | 238 row 19 : mainland | moray | 864 | 2237 | 93300 | 42 row 20 : mainland | north ayrshire | 343 | 888 | 138200 | 156 row 21 : mainland | north lanarkshire | 184 | 476 | 337800 | 710 row 22 : mainland | perth and kinross | 2083 | 5395 | 146700 | 27 row 23 : mainland | renfrewshire | 102 | 263 | 174900 | 665 row 24 : mainland | scottish borders | 1825 | 4727 | 113900 | 24 row 25 : mainland | south ayrshire | 475 | 1230 | 112800 | 92 row 26 : mainland | south lanarkshire | 686 | 1778 | 313800 | 176 row 27 : mainland | stirling | 866 | 2243 | 90200 | 40 row 28 : mainland | west dunbartonshire | 68 | 176 | 90700 | 515 row 29 : mainland | west lothian | 165 | 427 | 175100 | 410 row 30 : None | total mainland | 28260 | 73193 | 5223100 | 71 row 31 : island | na h-eileanan | 1185 | 3070 | 27700 | 8 row 32 : island | orkney islands | 396 | 1025 | 21400 | 21 row 33 : island | shetland islands | 568 | 1471 | 23200 | 15 row 34 : None | total islands | 2149 | 5566 | 72300 | 13 row 35 : None | total scotland | 30409 | 78759 | 5295400 | 67 ] Execute this SQL based on the above table: select count ( category ) where population (2011) < 3 or ( population (2011) = 3 and area (sq miles) < 3 )
0
[ header: year | single | chart positions spa | album row 1 : 2011 | "breathe in the light" | 10 | endless road 7058 row 2 : 2011 | "last night on earth" | 6 | endless road 7058 row 3 : 2012 | "i don't think so" | 7 | endless road 7058 row 4 : 2012 | "don't give up my game" | 13 | endless road 7058 row 5 : 2012 | "1900" | None | endless road 7058 row 6 : 2012 | "i met an angel (on christmas day) | 39 | christmas non-album release row 7 : 2013 | "cuando te volvere | 34 | from soundtrack of wreck-it ralph row 8 : 2013 | "heartbreaker" | 13 | anti-heroes ] Execute this SQL based on the above table: select abs ( ( select chart positions spa where album = 'endless road 7058' ) - ( select chart positions spa where album = 'from soundtrack of wreck-it ralph' ) )
24.0
[ header: location | region | coordinates (links to map & photo sources) | population | elevation row 1 : andahuaylas | apurimac | 13°39′20′′s 73° | 17444 | 3052 row 2 : barranca | lima | 10°45′00′′s 77° | 46290 | 64 row 3 : candarave | tacna | 17°16′04′′s 70°14 | 3415 | 3077 row 4 : checca | cusco | 14°28′22′′s 71° | 3810 | 3991 row 5 : chota | cajamarca | 6°33′s 78°39′ | 14240 | 2552 row 6 : independencia | lima | 11°59′24′′s 77° | 3987 | 390 row 7 : iquitos | loreto | 3°44′53′′s 73° | 437620 | 107 row 8 : junin | junin | 11°09′32′′s 75°59 | 15320 | 3999 row 9 : los aquijes | ica | 14°05′48′′s 75°41 | 7848 | 457 row 10 : mochumi | lambayeque | 6°32′49′′s 79° | 7460 | 151 row 11 : morrope | lambayeque | 6°32′30′′s 80°00 | 6662 | 116 row 12 : oyon | lima | 10°40′05′′s 76° | 6276 | 3553 row 13 : pangoa | cusco | 12°07′00′′s 73° | 6638 | 901 row 14 : pucallpa | ucayali | 8°22′45′′s 74° | 310750 | 158 row 15 : salaverry | la libertad | 8°14′00′′s 78° | 10066 | 70 row 16 : salinera colan | piura | 5°02′00′′s 81° | 14210 | 1 row 17 : san pedro de cachor | apurimac | 13°38′00′′s 72°53 | None | 2772 row 18 : sullana | piura | 4°54′14′′s 80°41 | 160789 | 67 row 19 : talara | piura | 4°34′38′′s 81° | 99074 | 14 ] Execute this SQL based on the above table: select count ( location )
19
[ header: name | street address | years as tallest | height ft (m) | floors row 1 : globe building | 4th street south | 1882-1886 | 157 (48) | 8 row 2 : lumber exchange building | 10 5th street south | 1886-1887 | 165 (50) | 12 row 3 : industrial exposition building | central avenue southeast and main street southeast | 1887-1890 | 240 (73) | 8 row 4 : metropolitan building | 308 2nd avenue south | 1890-1895 | 258 (79) | 12 row 5 : minneapolis city hall | 350 5th street south | 1895-1929 | 341 (104) | 14 row 6 : foshay tower | 821 marquette avenue | 1929-1973 | 448 (137) | 32 row 7 : ids tower | 80 8th street south | 1973-present | 792 (241) | 55 ] Execute this SQL based on the above table: select name where street address < ( select street address where name = 'industrial exposition building' ) order by street address desc limit 1
foshay tower
[ header: station | distance from wellington | height above sea level (m) | opened | closed | notes row 1 : tawa | 13.58 km | 25.6m | 1937 | open | tawa flat (closed 1937) was row 2 : kenepuru | 16.16 km | 15m | 1940 | open | None row 3 : paremata | 21.7 km | 2.7m | 1885 | open | None row 4 : plimmerton | 24.4 km | 5.8m | 1885 | open | None row 5 : waikanae | 55.31 km | 31m | 1886 | open | None row 6 : ohau | 84.95 km | 30.7m | 1886 | c.1970 | None row 7 : linton | 124.19 km | 18.3m | 1886 | closed | None row 8 : awapuni | 132 km | 24.7m | 1876 | 1965 | None row 9 : palmerston north | 136.03 km | 28m | 1963 | open | None row 10 : bunnythorpe | 144.47 km | 55.2m | 1876 | closed | None row 11 : halcombe | 165.76 km | 118m | 1878 | closed | None row 12 : greatford | 175.67 km | 104.5m | 1878 | c.1970 | None row 13 : cliff road | 183.58 km | 159.7m | 1888 | 1966 | None row 14 : ohingaiti | 222.14 km | 279m | 1902 | 1975 | None row 15 : ohotu | 247.08 km | 395.6m | 1904 | closed | None row 16 : ngaurukehu | 270.25 km | 640m | 1908 | closed | None row 17 : turangarere | 274.5 km | 702m | 1912 | 1972 | None row 18 : tangiwai | 299.49 km | 699.5m | 1909 | closed | nearest station to the tangiwai row 19 : rangataua | 312.79 km | 670m | 1909 | closed | None row 20 : raurimu | 358.31 km | 589m | 1908 | closed | None row 21 : owhango | 371.89 km | 456.6m | 1908 | closed | None row 22 : taumarunui | 397.75 km | 171m | 1903 | 2012 | None row 23 : taringamotu | 402 km | 172.5m | 1903 | 1971 | None row 24 : okahukura | 408.54 | 178.3m | 1903 | closed | okahukura junction in working time row 25 : waiteti | 470.07 km | 135m | 1889 | closed | None row 26 : te kumi | 478.56 km | 49.6m | 1887 | closed | None row 27 : otorohonga | 494.41 km | 37m | 1887 | 2012 | reopened summer 2012 row 28 : te awamutu | 517.02 km | 50m | 1880 | 2005 | new zealand dairy board (now font row 29 : ngaroto | 519.92 km | 56m | 1880 | 1954 | None row 30 : ohinewai | 582.04 km | 10m | 1877 | c1968 | None row 31 : paerata | 633.29 km | 45.1m | 1875 | 1980 | paerata junction from 1917 row 32 : takanini | 650.64 km | 15.2m | 1875 | open | None row 33 : puhinui | 658.92 km | 19.8m | 1904 | open | None row 34 : middlemore | 662.28 km | 8.8m | 1904 | open | None ] Execute this SQL based on the above table: select notes where closed = 'closed'
nearest station to the tangiwai disaster, december 24, 1953, okahukura junction in working timetables 1933-2010
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 22 june 2008 | addis abeba | mauritania | 6-1 | win | 2010 wc qualification row 2 : 2 | 30 november 2009 | nairobi | djibouti | 5-0 | win | 2009 cecafa cup row 3 : 3 | 8 october 2011 | addis abeba | madagascar | 4-2 | win | 2012 caf qualification row 4 : 4 | 2 december 2011 | dar es salaam | malawi | 1-1 | draw | 2011 cecafa cup row 5 : 5 | 17 june 2012 | cotonou | benin | 1-1 | draw | 2013 africa cup of nations qualifier row 6 : 6 | 8 september 2012 | khartoum | sudan | 3-5 | loss | 2013 africa cup of nations qualifier row 7 : 7 | 14 september 2012 | addis abeba | sudan | 2-0 | win | 2013 africa cup of nations qualifier row 8 : 8 | 21 january 2013 | nelspruit | zambia | 1-1 | draw | 2013 africa cup of nations ] Execute this SQL based on the above table: select count ( competition ) where # = 1
1
[ header: # | picture | name | took office | left office | party row 1 : 1 | None | johan ferrier | 25 november 1975 | 13 august 1980 (resigned after a febr | independent row 2 : 2 | None | hendrick chin a s | 15 august 1980 | 4 february 1982 | pnr row 3 : 3 | None | fred ramdat misier | 8 february 1982 | 25 january 1988 | independent row 4 : 4 | 60px | ramsewak shankar | 25 january 1988 | 24 december 1990 (deposed) | vhp row 5 : 5 | 60px | johan kraag | 29 december 1990 | 16 september 1991 | nps row 6 : 6 | None | ronald venetiaan | 16 september 1991 | 15 september 1996 | nps row 7 : 7 | None | jules wijdenbosch | 15 september 1996 | 12 august 2000 | ndp row 8 : (6) | None | ronald venetiaan | 12 august 2000 | 12 august 2010 | nps row 9 : 8 | None | desi bouterse | 12 august 2010 | incumbent | ndp ] Execute this SQL based on the above table: select max ( picture )
60
[ header: date | ship | nationality | tonnage | fate row 1 : 19 august 1941 | ss aguila | united kingdom | 3255 | sunk row 2 : 27 november 1941 | hmas parramatta | royal australian navy | 1060 | sunk row 3 : 23 december 1941 | ss shuntien | united kingdom | 3059 | sunk row 4 : 26 december 1941 | ss warszawa | poland | 2487 | sunk row 5 : 10 june 1942 | mv athene | norway | 4681 | sunk row 6 : 10 june 1942 | ss brambleleaf | united kingdom | 5917 | damaged ] Execute this SQL based on the above table: select count ( tonnage ) where ship = 'ss warszawa'
1
[ header: # | date | opponent | score | result | competition row 1 : 1 | 1988 | indonesia | 4-0 | won | 1988 afc u-17 championship group row 2 : 2 | 1988 | south korea | 6-1 | won | 1988 afc u-17 championship group row 3 : 3 | 1988 | south korea | 6-1 | won | 1988 afc u-17 championship group row 4 : 4 | 1988 | south korea | 6-1 | won | 1988 afc u-17 championship group row 5 : 5 | 1988 | south korea | 6-1 | won | 1988 afc u-17 championship group row 6 : 6 | 1988 | iraq | 2-1 | won | 1988 afc u-17 championship semifinal row 7 : 7 | 1988 | bahrain | 2-0 | won | 1988 afc u-17 championship final row 8 : 8 | 1988 | bahrain | 2-0 | won | 1988 afc u-17 championship final row 9 : 9 | june 12, 1989 | guinea | 2-2 | draw | 1989 fifa u-16 world championship group row 10 : 10 | june 12, 1989 | colombia | 1-0 | won | 1989 fifa u-16 world championship group row 11 : 11 | june 12, 1989 | bahrain | 1-0 | won | 1989 fifa u-16 world championship semifinal row 12 : 12 | february 22, 1989 | portugal | 3-0 | won | 1989 fifa world youth championship group stages row 13 : 13 | 1989 | kuwait | 1-0 | won | 1989 palestine cup of nations for youth group row 14 : 14 | 1989 | bahrain | 1-1(4-3) | lost | 1989 palestine cup of nations for youth third ] Execute this SQL based on the above table: select count ( distinct # ) where # < ( select # where # = '1989' )
0
[ header: team | truck(s) | # | driver(s) | primary sponsor(s) | listed owner(s) | crew chief row 1 : addington racing | chevrolet silverado | 60 | travis kvapil | cat rental stores | mike addington | rick ren row 2 : bobby hamilton racing | dodge ram | 4 | brian rose | perry connection | debbie hamilton | danny rollins row 3 : bobby hamilton racing | dodge ram | 8 | bill lester (r) | dodge dealers | bobby hamilton | kip mccord row 4 : circle bar racing | ford f-150 | 14 | rick crawford | circle bar motel & rv park | tom mitchell | ray stonkus row 5 : countryman motorsports | ford f-150 | 15 | rich bickle | dickies | billy ballew | craig osbourne row 6 : green light racing | chevrolet silverado | 8 | bobby dotter | people against drugs | gene christensen | doug howe row 7 : joe gibbs racing | chevrolet silverado | 20 | coy gibbs | mbna | joe gibbs | doug hewitt row 8 : k automotive racing | ford f-150 | 29 | terry cook | power stroke diesel | kay keselowski | bob keselowski row 9 : l&r racing | chevrolet silverado | 90 | lance norick | express personnel services | ron norick | gary showalter row 10 : morgan-dollar motorsports | chevrolet silverado | 46 | dennis setzer | acxiom/computer associate | david dollar | john monsam row 11 : portenga motorsports | chevrolet silverado | 39 | steve portenga | roto-rooter | steve portenga | george church row 12 : powers motorsports | dodge ram | 55 | tom powers | university of northwestern ohio | sherri powers | bryan berry row 13 : sealmaster racing | chevrolet silverado | 88 | matt crafton | sealmaster | duke thorson | jerry cook row 14 : spears motorsports | chevrolet silverado | 75 | david starr | spears manufacturing | wayne spears | dave mccarty row 15 : tagsby racing | chevrolet silverado | 73 | loni richardson (r) | intensitee/uti | joey sonntag | joey sonntag row 16 : team racing | chevrolet silverado | 86 | dana white (r) | red line oil/coverall carports | phil bonifield | bernie taft row 17 : troxell racing | chevrolet silverado | 93 | jerry allec, jr | None | lonnie troxell | lonnie troxell row 18 : ultra motorsports | dodge ram | 1 | ted musgrave | mopar | jim smith | gene nead row 19 : ultra motorsports | dodge ram | 2 | jason leffler | team ase racing | marlene smith | tim kohuth row 20 : ware racing enterprises | dodge ram | 5 | lance hooper | diamond cut jeans/blair5.com | rick ware | cal northrop row 21 : ware racing enterprises | dodge ram | 51 | michael dokken | ooida | rick ware | ken glen ] Execute this SQL based on the above table: select driver(s) where # = 14 + 1
rich bickle
[ header: rank | circuit | headquarters | screens | sites row 1 : 1 | regal entertainment group | knoxville,tn | 7318 | 574 row 2 : 2 | amc entertainment inc | kansas city, mo | 4988 | 344 row 3 : 3 | cinemark theatres | plano, tx | 4434 | 332 row 4 : 4 | carmike cinemas, inc | columbus, ga | 2476 | 249 row 5 : 5 | cineplex entertainment | toronto, on | 1672 | 136 row 6 : 6 | marcus theatres | milwaukee, wi | 687 | 55 row 7 : 7 | harkins theatres | phoenix, az | 440 | 31 row 8 : 8 | national amusements | dedham, ma | 423 | 32 row 9 : 9 | bow tie cinemas | ridgefield, ct | 388 | 63 row 10 : 10 | georgia theatre company | st. simon's island, | 326 | 32 ] Execute this SQL based on the above table: select sites where headquarters = 'dedham, ma'
32.0
[ header: # | date | venue | opponent | score | result | competition row 1 : 1 | 1995-08-06 | kyoto, japan | costa rica | 3-0 | won | friendly row 2 : 2 | 1995-10-24 | tokyo, japan | saudi arabia | 2-1 | won | friendly row 3 : 3 | 1996-12-09 | al ain, united arab emir | uzbekistan | 4-0 | won | 1996 afc asian cup group row 4 : 4 | 1997-03-25 | muscat, oman | macau | 10-0 | won | 1998 fifa world cup qualification row 5 : 5 | 1997-06-22 | tokyo, japan | macau | 10-0 | won | 1998 fifa world cup qualification row 6 : 6 | 1997-11-01 | seoul, korea republic | south korea | 2-0 | won | 1998 fifa world cup qualification row 7 : 7 | 2000-10-14 | sidon, lebanon | saudi arabia | 4-1 | won | 2000 afc asian cup group row 8 : 8 | 2000-10-24 | beirut, lebanon | iraq | 4-1 | won | 2000 afc asian cup quarter row 9 : 9 | 2000-10-24 | beirut, lebanon | iraq | 4-1 | won | 2000 afc asian cup quarter ] Execute this SQL based on the above table: select # where opponent = 'uzbekistan'
3.0
[ header: model name | length | width | height | riders | capacity | description | portable | notes row 1 : skater | 21.5 m (71 ft) | 11.65 m (38.2 f | 10.69 m (35.1 ft) | 24 | 600 | small halfpipe with inwards-facing seats | yes | row 2 : disk'o | 24.55 m (80.5 ft | 9.68 m (31.8 ft) | 10 m (33 ft) | 24 | 600 | small halfpipe with outwards-facing seats | yes | row 3 : surf's up | 29 m (95 ft) | 11 m (36 ft) | 7.5 m (25 ft) | 20 | 480 | small halfpipe with hill in middle. guests stand | yes | row 4 : mega disk'o | 37.5 m (123 ft) | 10 m (33 ft) | 15.5 m (51 ft) | 24 | 600 | large halfpipe with outwards-facing seats | no | row 5 : mega disk'o | 37.5 m (123 ft) | 10 m (33 ft) | 15.5 m (51 ft) | 40 | 1000 | large halfpipe with outwards-facing seats | no | row 6 : skater coaster | None | None | None | None | None | large halfpipe with hill in middle. inward | None | row 7 : disk'o coaster | 81.5 m (267 ft) | 11.3 m (37 ft) | 15.5 m (51 ft) | 24 | 500 | large halfpipe with hill in middle. outward | no | row 8 : disk'o coaster | 81.5 m (267 ft) | 11.3 m (37 ft) | 15.5 m (51 ft) | 40 | 600 | large halfpipe with hill in middle. outward | no | ] Execute this SQL based on the above table: select portable where id = ( select id where notes = '' ) + 1
yes
[ header: rank | bib | athlete | country | time | deficit row 1 : None | 5 | sjur røthe | norway | 1:13:11.3 | 2 row 2 : 4 | 4 | petter northug | norway | 1:13:14.5 | 5.2 row 3 : 12 | 41 | tord asle gjerdalen | norway | 1:13:22.7 | 13.4 row 4 : 15 | 23 | johannes durr | austria | 1:13:26.0 | 16.7 row 5 : 16 | 13 | giorgio di centa | italy | 1:13:27.1 | 17.8 row 6 : 17 | 19 | matti heikkinen | finland | 1:13:30.0 | 20.7 row 7 : 18 | 26 | daniel richardsson | sweden | 1:13:31.1 | 21.8 row 8 : 23 | 12 | lukas bauer | czech republic | 1:13:36.9 | 27.6 row 9 : 27 | 43 | lari lehtonen | finland | 1:13:54.9 | 45.6 row 10 : 28 | 31 | martin jaks | czech republic | 1:13:55.6 | 46.3 row 11 : 31 | 44 | jiri magal | czech republic | 1:14:00.8 | 51.5 row 12 : 32 | 16 | ivan babikov | canada | 1:14:03.0 | 53.7 row 13 : 38 | 33 | martin bajcicak | slovakia | 1:15:25.7 | +2:16.4 row 14 : 39 | 51 | andrew musgrave | great britain | 1:15:33.4 | +2:24.1 row 15 : 47 | 36 | andy kuhne | germany | 1:17:02.2 | +3:52.9 row 16 : 52 | 34 | graham nishikawa | canada | 1:17:18.9 | +4:09.6 row 17 : 57 | 65 | philipp halg | liechtenstein | 1:18:19.6 | +5:10.3 row 18 : 59 | 62 | sergey mikayelyan | armenia | 1:19:04.3 | +5:55.0 row 19 : 62 | 61 | javier gutierrez | spain | 1:19:48.7 | +6:39.4 row 20 : 66 | 59 | ondrej horyna | czech republic | 1:20:23.9 | +7:14.6 row 21 : 67 | 69 | imanol rojo | spain | 1:20:25.5 | +7:16.2 row 22 : 69 | 78 | andrew pohl | new zealand | 1:20:48.2 | +7:38.9 row 23 : 70 | 84 | callum smith | great britain | 1:22:01.3 | +8:52.0 row 24 : 72 | 85 | artur yeghoyan | armenia | 1:22:22.9 | +9:13.6 row 25 : None | 77 | andrej buric | croatia | lap | None row 26 : None | 79 | viorel andrei palici | romania | lap | None row 27 : None | 81 | tadevos poghosy | armenia | lap | None row 28 : None | 89 | mark van der ploeg | australia | lap | None row 29 : None | 90 | cesar baena | venezuela | lap | None row 30 : None | 91 | viossi-akpedje mad | togo | lap | None row 31 : None | 94 | dachhiri sherpa | nepal | lap | None row 32 : None | 72 | oleksii kraso | ukraine | dnf | None ] Execute this SQL based on the above table: select max ( abs ( country - athlete ) )
0
[ header: year | competition | venue | position | notes row 1 : 1999 | european junior championships | riga, latvia | 6th | 49.65 m row 2 : 2001 | european u23 championships | amsterdam, netherlands | 10th | 53.30 m row 3 : 2005 | universiade | izmir, turkey | 9th | 58.29 m row 4 : 2006 | european championships | gothenburg, sweden | 15th (q) | 59.54 m row 5 : 2007 | universiade | bangkok, thailand | 1st | 61.55 m row 6 : 2008 | olympic games | beijing, china | 18th (q) | 61.32 m row 7 : 2009 | world championships | berlin, germany | 8th | 63.17 m row 8 : 2010 | european championships | barcelona, spain | 15th (q) | 60.76 m row 9 : 2011 | world championships | daegu, south korea | 21st (q) | 61.47 m row 10 : 2012 | european championships | helsinki, finland | 7th | 62.85 m row 11 : 2012 | olympic games | london, united kingdom | 24th (q) | 60.81 m row 12 : 2013 | world championships | moscow, russia | 18th (q) | 59.85 m ] Execute this SQL based on the above table: select competition , venue order by notes desc limit 1
world championships, berlin, germany
[ header: place | player | country | score | to par | money ($) row 1 : 1 | ben hogan | united states | 70-72-70-68=280 | -8 | 3,000 row 2 : 2 | skee riegel | united states | 73-68-70-71=28 | -6 | 1,875 row 3 : t3 | lloyd mangrum | united states | 69-74-70-73=2 | -2 | 1162 row 4 : t3 | lew worsham | united states | 71-71-72-72=2 | -2 | 1162 row 5 : 5 | dave douglas | united states | 74-69-72-73=2 | e | 750 row 6 : 6 | lawson little | united states | 72-73-72-72=289 | +1 | 600 row 7 : 7 | jim ferrier | australia | 74-70-74-72=290 | +2 | 525 row 8 : t8 | johnny bulla | united states | 71-72-73-75=2 | +3 | 450 row 9 : t8 | byron nelson | united states | 71-73-73-74=2 | +3 | 450 row 10 : t8 | sam snead | united states | 69-74-68-80=2 | +3 | 450 ] Execute this SQL based on the above table: select count ( * ) where player = 'lew worsham'
1
[ header: date | time | opponent# | rank# | site | tv | result | attendance row 1 : august 31 | 6:00 pm | at #13 michigan state | #22 | spartan stadium • east lans | espn | l 13-17 | 78709 row 2 : september 15 | 2:00 pm | miami (oh) | None | bronco stadium • boise, i | nbcsn | w 39-12 | 34178 row 3 : september 20 | 7:00 pm | byu | None | bronco stadium • boise, i | espn | w 7-6 | 36864 row 4 : september 29 | 4:00 pm | at new mexico | None | university stadium • albuequerque, | ktvb | w 32-29 | 28270 row 5 : october 6 | 10:00 am | at southern miss | #25 | m. m. robert | fsn | w 40-14 | 25337 row 6 : october 13 | 1:30 pm | fresno state | #22 | bronco stadium • boise, i | nbcsn | w 20-10 | 35742 row 7 : october 20 | 1:30 pm | unlv | #22 | bronco stadium • boise, i | nbcsn | w 32-7 | 36012 row 8 : october 27 | 1:30 pm | at wyoming | #18 | war memorial stadium • laramie, | cbssn | w 45-14 | 17855 row 9 : november 3 | 8:30 pm | san diego state | #14 | bronco stadium • boise, i | cbssn | l 19-21 | 36084 row 10 : november 10 | 5:00 pm | at hawaiʻi | #24 | aloha stadium • honolul | nbcsn | w 49-14 | 29471 row 11 : november 17 | 1:30 pm | colorado state | #22 | bronco stadium • boise, i | nbcsn | w 42-14 | 33545 row 12 : december 1 | 1:30 pm | at nevada | #15 | mackay stadium • reno, n | abc | w 27-21 | 30017 row 13 : december 22 | 1:30 pm | vs. washington | #15 | sam boyd stadium • whit | espn | w 28-26 | 33217 ] Execute this SQL based on the above table: select sum ( time )
48
[ header: squad # | position | player | transferred to | fee | date row 1 : 20 | df | lau nim yat | biu chun rangers | free transfer | 5 june 2012 row 2 : 16 | mf | leung chun pong | guangdong sunray cave | free transfer | 12 june 2012 row 3 : 3 | df | yeo jee-hoon | unattached (released) | None | 9 july 2012 row 4 : 8 | mf | xu deshuai | sun pegasus | free transfer (released) | 9 july 2012 row 5 : 11 | mf | li haiqiang | tuen mun | free transfer (released) | 9 july 2012 row 6 : 22 | fw | giovane alves da sil | biu chun rangers | free transfer (released) | 9 july 2012 row 7 : 23 | gk | zhang chunhui | sunray cave jc sun hei | free transfer (released) | 9 july 2012 row 8 : 26 | mf | chan pak hang | sun pegasus | free transfer (released) | 9 july 2012 row 9 : 7 | fw | chan siu ki | guangdong sunray cave | free transfer (released) | 10 july 2012 row 10 : None | mf | kot cho wai | sunray cave jc sun hei | undisclosed | 16 july 2012 row 11 : 6 | df | wong chin hung | biu chun rangers | free transfer | 9 january 2013 row 12 : 33 | fw | mauro rafael | unattached (released) | free transfer | 1 february 2013 ] Execute this SQL based on the above table: select count ( * ) where player = 'xu deshuai'
1
[ 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 player = 'jim mccabe'
128
[ header: year | film | function | notes row 1 : 2002 | the bacchae | producer | screen adaptation of euripides' classic row 2 : 2004 | shakespeare's merchant | producer | adaptation of shakespeare's the merchant row 3 : 2004 | the trojan women | producer/actress | documentary film of brad mays' 2003 los row 4 : 2007 | schooled | co-producer | None row 5 : 2008 | sing*ularity | producer | documentary about the world-famous operaworks row 6 : 2008 | the watermelon | producer | oddball romantic comedy, written by michae row 7 : 2008 | the audacity of democracy | producer | documentary film of the 2008 democratic presidential primary, shot row 8 : 2011 | customer diss-service | co-producer | web series directed by brad mays and row 9 : 2012 | beginning blue | producer, writer | feature film about an all-girl rock band determined row 10 : 2012 | the donut shop | co-producer | comedy short directed by brad mays, and row 11 : 2013 | i grew up in princeton | producer | feature documentary directed by brad mays ] Execute this SQL based on the above table: select count ( film ) where year > 2002
10
[ header: boat # | name | builder | laid down | launched | completed | fate row 1 : 4918 | ha-208 | sasebo naval arsenal | 01-05-1945 | 26-05-1945 | 04-08-1945 | decommissioned 30-11-1945. scut row 2 : 4920 | ha-210 | sasebo naval arsenal | 14-05-1945 | 10-06-1945 | 11-08-1945 | decommissioned 30-11-1945. scut row 3 : 4925 | ha-215 | sasebo naval arsenal | 22-05-1945 | 15-05-1945 | None | incomplete until the end of war (95%). row 4 : 4931 | ha-221 | mitsubishi-kobe shipyard | 20-04-1945 | 04-08-1945 | None | incomplete until the end of war (85%). row 5 : 4933 | ha-223 | kawasaki-kobe shipyard | 01-05-1945 | None | None | incomplete until the end of war (60%). scrap row 6 : 4938 | ha-228 | sasebo naval arsenal | 21-06-1945 | 18-07-1945 | None | incomplete until the end of war (75%). row 7 : 4939 | ha-229 | sasebo naval arsenal | 27-06-1945 | 27-07-1945 | None | incomplete until the end of war (75%). scrap row 8 : 4942 | ha-232 | sasebo naval arsenal | 18-07-1945 | None | None | incomplete until the end of war (40%). later row 9 : 4944 | ha-234 | kawasaki-kobe shipyard | 15-05-1945 | None | None | incomplete until the end of war (50%). scrap row 10 : 4945 | ha-235 | kawasaki-senshu shipyard | 01-06-1945 | None | None | incomplete until the end of war (10%). later row 11 : 4946 | ha-236 | kawasaki-kobe shipyard | 01-06-1945 | None | None | incomplete until the end of war (40%). scrap row 12 : 4958 - 4989 | None | None | None | None | None | constructions were not started until the end of war ] Execute this SQL based on the above table: select ( select boat # where builder = 'sasebo naval arsenal' ) - ( select boat # where builder = 'kawasaki-kobe shipyard' )
-15
[ header: name | faith | type | gov | opened | intake | dcsf number | ofsted number | web | coordinates row 1 : ashfield | None | junior | vc | 1845 | 60 | 3012 | 117391 | w | 51°38′22′′n 0° row 2 : bournehall | None | primary | cy | 1969 | 30 | 2360 | 117296 | w | 51°39′00′′n 0° row 3 : bushey heath | None | primary | cy | 1879 | 30 | 2012 | 117088 | w | 51°38′12′′n 0° row 4 : bushey manor | None | junior | cy | 1907 | 60 | 2261 | 117242 | w | 51°38′49′′n 0° row 5 : falconer | None | special | cy | None | None | 7033 | 117686 | w | 51°38′49′′n 0° row 6 : hartsbourne | None | primary | cy | None | 30 | 2372 | 117300 | w | 51°37′52′′n 0° row 7 : highwood | None | primary | cy | 1949 | 60 | 2013 | 117089 | w | 51°39′57′′n 0° row 8 : little reddings | None | primary | fd | None | 51 | 5208 | 117568 | w | 51°38′51′′n 0° row 9 : meadow wood | None | special | cy | None | None | 7043 | 117691 | w | 51°38′54′′n 0° row 10 : merry hill | None | infants | cy | 1885 | 60 | 2014 | 117090 | w | 51°38′17′′n 0° row 11 : sacred heart | rc | primary | va | 1970 | 40 | 3415 | 117488 | w | 51°38′38′′n 0° ] Execute this SQL based on the above table: select name where name in ( 'sacred heart' , 'meadow wood' ) order by dcsf number desc limit 1
meadow wood
[ header: event | performance | athlete | nation | place | date row 1 : 100 m | 9.72 | usain bolt | jamaica | new york city ny, usa | may 31 row 2 : 100 m | 9.69 | usain bolt | jamaica | beijing, china | august 16 row 3 : 200 m | 19.3 | usain bolt | jamaica | beijing, china | august 20 row 4 : 4 x 100 m relay | 37.1 | nesta carter michael frater | jamaica | beijing, china | august 22 row 5 : 110 m hurdles | 12.87 | dayron robles | cuba | ostrava, czech republic | june 12 row 6 : 50 km race walk | 3:34:14 | denis nizhegorodov | russia | cheboksary, russia | may 11 row 7 : marathon | 2:03:59 | haile gebrselassie | ethiopia | berlin, germany | september 28 ] Execute this SQL based on the above table: select performance order by performance limit 1
2:03:59
[ header: year | competition | venue | position | event | notes row 1 : 2003 | world youth championships | sherbrooke, canada | 1st | 3000 m | 9:12.70 row 2 : 2004 | world junior championships | grosseto, italy | 3rd | 1500 m | 4:17.39 row 3 : 2004 | world junior championships | grosseto, italy | 3rd | 3000 m | 9:03.16 (pb) row 4 : 2007 | world athletics final | stuttgart, germany | 8th | 1500 m | 4:16.51 row 5 : 2007 | world championships | osaka, japan | 31st (h) | 1500 m | 4:22.12 row 6 : 2008 | world indoor championships | valencia, spain | 5th | 1500 m | 4:15.54 row 7 : 2008 | olympic games | beijing, china | 10th | 1500 m | 4:05.57 row 8 : 2009 | mediterranean games | pescara, italy | 4th | 1500 m | 4:12.83 row 9 : 2009 | world championships | berlin, germany | 29th (h) | 1500 m | 4:10.57 row 10 : 2009 | jeux de la francophonie | beirut, lebanon | 2nd | 1500 m | 4:21.56 row 11 : 2010 | african championships | nairobi, kenya | 11th | 1500 m | 4:20.98 row 12 : 2011 | world championships | daegu, south korea | 16th (sf) | 1500 m | 4:09.64 row 13 : 2011 | pan arab games | doha, qatar | 2nd | 1500 m | 4:20.83 row 14 : 2012 | world indoor championships | istanbul, turkey | 11th (h) | 1500 m | 4:11.69 row 15 : 2013 | mediterranean games | mersin, turkey | 2nd | 800 m | 2:00.79 row 16 : 2013 | mediterranean games | mersin, turkey | 1st | 1500 m | 4:04.06 row 17 : 2013 | world championships | moscow, russia | 11th | 1500 m | 4:09.16 row 18 : 2013 | jeux de la francophonie | nice, france | 4th | 800 m | 2:03.73 row 19 : 2013 | jeux de la francophonie | nice, france | 2nd | 1500 m | 4:18.89 row 20 : 2014 | world indoor championships | sopot, poland | 4th | 1500 m | 4:07.62 ] Execute this SQL based on the above table: select count ( venue )
20
[ header: # | title | date | director | story | synopsis | notes row 1 : 13 | sacre bleu cross | february 1, 1967 | gerry chiniquy | john w. dunn | when they go after hassan the ass | the commissioner does not appear row 2 : 14 | le quiet squad | may 17, 1967 | robert mckimson | jim ryan | the commissioner is overworked and needs absolute | sgt. deux-deux does row 3 : 15 | bomb voyage | may 22, 1967 | robert mckimson | tony benedict | the commissioner is kidnapped by alien | music score is set to ottorin row 4 : 16 | le pig-al patrol | may 24, 1967 | gerry chiniquy | jim ryan | the inspector is sent after biker pig al | sgt. deux-deux does row 5 : 17 | le bowser bagger | may 30, 1967 | gerry chiniquy | jim ryan | the inspector is given private bowser, | sgt. deux-deux does row 6 : 18 | le escape goat | june 29, 1967 | gerry chiniquy | jim ryan | after being fired for letting louie le | sgt. deux-deux does row 7 : 19 | le cop on le rocks | july 3, 1967 | george singer | jim ryan | the inspector is sent to prison having been mistaken | sgt. deux-deux and row 8 : 20 | crow de guerre | august 16, 1967 | gerry chiniquy | john w. dunn | the inspector is continually outwitted by a | sgt. deux-deux and row 9 : 21 | canadian can-can | september 20, 1967 | gerry chiniquy | john w. dunn | sent to canada on an exchange programme, the inspector | sgt. deux-deux does row 10 : 22 | tour de farce | october 25, 1967 | gerry chiniquy | jim ryan | through his own mistake, the inspector is strand | sgt. deux-deux and row 11 : 23 | the shooting of caribou lou | december 20, 1967 | gerry chiniquy | john w. dunn | on holiday in canada as a mountie | sgt. deux-deux and ] Execute this SQL based on the above table: select # where # in ( 13 , 1054 )
13
[ header: chord | root | major third | perfect fifth | minor seventh row 1 : c7 | c | e | g | b♭ row 2 : c♯7 | c♯ | e♯ (f) | g♯ | b row 3 : d♭7 | d♭ | f | a♭ | c♭ (b) row 4 : d7 | d | f♯ | a | c row 5 : d♯7 | d♯ | f (g) | a♯ | c♯ row 6 : e♭7 | e♭ | g | b♭ | d♭ row 7 : e7 | e | g♯ | b | d row 8 : f7 | f | a | c | e♭ row 9 : f♯7 | f♯ | a♯ | c♯ | e row 10 : g♭7 | g♭ | b♭ | d♭ | f♭ (e) row 11 : g7 | g | b | d | f row 12 : g♯7 | g♯ | b♯ (c) | d♯ | f♯ row 13 : a♭7 | a♭ | c | e♭ | g♭ row 14 : a7 | a | c♯ | e | g row 15 : a♯7 | a♯ | c (d) | e♯ (f) | g♯ row 16 : b♭7 | b♭ | d | f | a♭ row 17 : b7 | b | d♯ | f♯ | a ] Execute this SQL based on the above table: select count ( distinct ( chord ) )
17
[ header: no. | name | term of office | term of office | political party | ministry row 1 : 1 | c. d. howe | november 2, 1936 | july 8, 1940 | liberal | 16 (king) row 2 : 2 | arthur cardin | july 8, 1940 | may 13, 1942 | liberal | 16 (king) row 3 : None | c. d. howe (act | may 13, 1942 | october 6, 1942 | liberal | 16 (king) row 4 : 3 | joseph-enoil michau | october 6, 1942 | april 18, 1945 | liberal | 16 (king) row 5 : 4 | lionel chevrier | april 18, 1945 | july 1, 1954 | liberal | 17 (st. laurent) row 6 : 5 | george carlyle marler | july 1, 1954 | june 21, 1957 | liberal | 17 (st. laurent) row 7 : 7 | leon balcer | october 11, 1960 | april 22, 1963 | progressive conservative | 18 (diefenbaker) row 8 : 8 | george mcilraith | april 22, 1963 | february 3, 1964 | liberal | 19 (pearson) row 9 : 9 | jack pickersgill | february 3, 1964 | september 19, 1967 | liberal | 19 (pearson) row 10 : 10 | paul hellyer | september 19, 1967 | april 20, 1968 | liberal | 19 (pearson) row 11 : 10 | paul hellyer | april 20, 1968 | april 30, 1969 | liberal | 20 (trudeau) row 12 : None | james armstrong richardson (act | april 30, 1969 | may 5, 1969 | liberal | 20 (trudeau) row 13 : 11 | don jamieson | may 5, 1969 | november 27, 1972 | liberal | 20 (trudeau) row 14 : 12 | jean marchand | november 27, 1972 | september 26, 1975 | liberal | 20 (trudeau) row 15 : 14 | don mazankowski | june 4, 1979 | march 3, 1980 | progressive conservative | 21 (clark) row 16 : 15 | jean-luc pepin | march 3, 1980 | august 12, 1983 | liberal | 22 (trudeau) row 17 : 16 | lloyd axworthy | august 12, 1983 | june 29, 1984 | liberal | 22 (trudeau) row 18 : 16 | lloyd axworthy | june 30, 1984 | september 16, 1984 | liberal | 23 (turner) row 19 : (14) | don mazankowski (2nd time) | september 17, 1984 | june 29, 1986 | progressive conservative | 24 (mulroney) row 20 : 17 | john crosbie | june 30, 1986 | march 30, 1988 | progressive conservative | 24 (mulroney) row 21 : 18 | benoit bouchard | march 31, 1988 | february 22, 1990 | progressive conservative | 24 (mulroney) row 22 : 20 | jean corbeil | april 21, 1991 | june 24, 1993 | progressive conservative | 24 (mulroney) row 23 : 20 | jean corbeil | june 25, 1993 | november 3, 1993 | progressive conservative | 25 (campbell) row 24 : 21 | doug young | november 4, 1993 | january 24, 1996 | liberal | 26 (chretien) row 25 : 22 | david anderson | january 25, 1996 | june 10, 1997 | liberal | 26 (chretien) row 26 : 23 | david collenette | june 11, 1997 | december 11, 2003 | liberal | 26 (chretien) row 27 : 24 | tony valeri | december 12, 2003 | july 19, 2004 | liberal | 27 (martin) row 28 : 25 | jean lapierre | july 20, 2004 | february 5, 2006 | liberal | 27 (martin) ] Execute this SQL based on the above table: select abs ( ( select no. where political party = 'liberal' ) - ( select no. where political party = 'liberal' ) )
0.0
[ header: year | competition | venue | position | notes row 1 : 2002 | world junior championships | kingston, jamaica | 1st | 64.51 m (1.75 kg) row 2 : 2002 | asian games | busan, south korea | 1st | 60.76 m row 3 : 2003 | universiade | daegu, south korea | 1st | 62.32 m row 4 : 2003 | asian championships | manila, philippines | 1st | 61.43 m row 5 : 2004 | olympic games | athens, greece | 18th (q) | 60.60 m row 6 : 2005 | world championships | helsinki, finland | 18th (q) | 61.75 m row 7 : 2005 | universiade | izmir, turkey | 7th | 59.67 m row 8 : 2005 | east asian games | macau | 1st | 61.74 m row 9 : 2006 | asian games | doha, qatar | 5th | 58.54 m row 10 : 2009 | asian championships | guangzhou, china | 3rd | 59.27 m ] Execute this SQL based on the above table: select count ( notes ) where year >= 66
10
[ header: county | km | intersecting road | notes | coordinates row 1 : rocky view county | 0 | hwy 772 (symon | north to madden south to sage hill | 51°13′4′′n 114° row 2 : rocky view county | 3 | panorama road (24 street nw), range | south to evanston | 51°12′45′′n 114° row 3 : rocky view county | 5 | 14 street nw, range road 14 | south to panorama hills | 51°12′45′′n 114° row 4 : rocky view county | 7 | centre street n, range road 13 | formerly highway 782 south to coventry | 51°12′45′′n 114° row 5 : rocky view county | 10 | 15 street ne (calgary), | balzac south to stony industrial | 51°12′45′′n 114° row 6 : rocky view county | 11 | hwy 2, range road 10, fifth | grade separated north to airdrie south to de | 51°12′45′′n 114° row 7 : rocky view county | 13 | range road 293, 36 street ne | crossiron mills shopping centre south to ston | 51°12′45′′n 113° row 8 : rocky view county | 18 | range road 290, 84 street n | None | 51°12′45′′n 113° row 9 : rocky view county | 28 | hwy 791, range road | south to delacour | 51°12′45′′n 113° row 10 : rocky view county | 32 | range road 273 | kathyrn | 51°12′45′′n 113° row 11 : rocky view county | 34 | hwy 9, range road 272 | north to irricana south to langdon | 51°12′45′′n 113° row 12 : rocky view county | 36 | 1 avenue, range road 271 | keoma | 51°12′45′′n 113° ] Execute this SQL based on the above table: select count ( intersecting road )
12
[ header: name | year built | country | town | height | remarks row 1 : glacial aerial tramway kaprun i | 1966 | austria | kaprun | 113.6 m | the tallest pylon is on the third row 2 : mississippi aerial river transit | 1984 | usa | new orleans | 109 m | the tallest pylon on a row 3 : torre jaume i | 1931 | spain | barcelona | 107 m | intermediate stop of the harbour aerial tramway, also row 4 : gant hohtaelli aerial tram | None | switzerland | zermatt | 94 m | one pylon row 5 : london emirates air line | early 2012 | uk | london | 88 m | north main tower. river thames aerial row 6 : singapore cable car | 1972 | singapore | singapore | 88 m | pylon i row 7 : eibsee aerial tramway | 1962 | germany | garmisch-partenkirchen | 85 m | pylon ii row 8 : nizhny novgorod vol | 2012 | russia | nizhny novgorod | 82 m | None row 9 : mittersill goods aerial tramway | 1940s | austria | mittersill | 80 m | two pylons for a tramway row 10 : singapore cable car | 1972 | singapore | singapore | 80 m | pylon ii row 11 : 3s aerial tramway | 2004 | austria | kitzbuhel | 80 m | one pylon row 12 : torre sant sebasti | 1931 | spain | barcelona | 78 m | terminal of harbour aerial tramway row 13 : roosevelt island tram | 1976 | usa | new york city | 76 m | central pylon of commuter tramway row 14 : wendelstein aerial tramway | 1970 | germany | bayerischzell-osterhof | 75 m | None row 15 : vinpearl cable car | 2007 | vietnam | nha trang | 75 m | 7 pylons standing in the sea. row 16 : sandia peak tramway | 1965 | usa | albuquerque | 70.7 m | pylon 1, inclined at an angle of 18 row 17 : eibsee aerial tramway | 1962 | germany | garmisch-partenkirchen | 65 m | pylon i ] Execute this SQL based on the above table: select count ( country ) where country != 'austria'
14
[ header: city | county(ies) | population (2000 census) | population (2010 census) | class | incorporation date row 1 : adams | adams | 1831 | 1967 | 4th | 1926 row 2 : altoona | eau claire | 6698 | 6706 | 4th | 1887 row 3 : appleton | calumet outagamie winne | 70087 | 72623 | 2nd | 1857 row 4 : arcadia | trempealeau | 2402 | 2925 | 4th | 1925 row 5 : baraboo | sauk | 10711 | 12048 | 3rd | 1882 row 6 : berlin | green lake waushara | 5305 | 5524 | 4th | 1857 row 7 : chilton | calumet | 3708 | 3933 | 4th | 1877 row 8 : chippewa falls | chippewa | 12900 | 13679 | 3rd | 1840 row 9 : cumberland | barron | 2280 | 2170 | 4th | 1885 row 10 : delafield | waukesha | 6472 | 7085 | 4th | 1959 row 11 : de pere | brown | 20559 | 23800 | 3rd | 1883 row 12 : durand | pepin | 1968 | 1931 | 4th | 1887 row 13 : edgerton | dane rock | 4898 | 5461 | 4th | 1883 row 14 : fountain city | buffalo | 983 | 859 | 4th | 1889 row 15 : hillsboro | vernon | 1302 | 1417 | 4th | 1885 row 16 : horicon | dodge | 3775 | 3655 | 4th | 1897 row 17 : jefferson | jefferson | 7338 | 7973 | 4th | 1878 row 18 : lancaster | grant | 4070 | 3868 | 4th | 1878 row 19 : medford | taylor | 4350 | 4326 | 4th | 1889 row 20 : merrill | lincoln | 10146 | 9661 | 4th | 1883 row 21 : milwaukee | milwaukee washington waukes | 596974 | 594833 | 1st | 1846 row 22 : nekoosa | wood | 2590 | 2580 | 4th | 1926 row 23 : owen | clark | 936 | 940 | 4th | 1925 row 24 : park falls | price | 2739 | 2462 | 4th | 1912 row 25 : phillips | price | 1675 | 1478 | 4th | 1891 row 26 : prescott | pierce | 3764 | 4258 | 4th | 1857 row 27 : st. croix falls | polk | 2033 | 2133 | 4th | 1958 row 28 : sheboygan | sheboygan | 50792 | 49288 | 2nd | 1853 row 29 : south milwaukee | milwaukee | 21256 | 21156 | 4th | 1897 row 30 : sturgeon bay | door | 9437 | 9144 | 4th | 1883 row 31 : sun prairie | dane | 20369 | 29364 | 3rd | 1958 row 32 : verona | dane | 7052 | 10619 | 4th | 1977 row 33 : watertown | dodge jefferson | 21598 | 23861 | 3rd | 1853 row 34 : waukesha | waukesha | 64825 | 70718 | 2nd | 1895 row 35 : wausau | marathon | 38426 | 39106 | 3rd | 1872 row 36 : westby | vernon | 2045 | 2200 | 4th | 1920 row 37 : whitehall | trempealeau | 1651 | 1558 | 4th | 1941 ] Execute this SQL based on the above table: select abs ( ( select population (2000 census) where class = '4th' ) - ( select population (2000 census) where class = '4th' ) )
0.0
[ header: rnd | circuit | lmp1 winning team lmp1 winning drivers | lmp2 winning team lmp2 winning drivers | gt1 winning team gt1 winning drivers | gt2 winning team gt2 winning drivers | results row 1 : 1 | sebring | #2 audi sport north america | #37 intersport racing | #4 corvette racing | #50 multimatic motorsports | results row 2 : 1 | sebring | rinaldo capello tom | clint field liz halliday | oliver gavin olivier beretta | scott maxwell david brabham | results row 3 : 2 | reliant park | #2 audi sport north america | #37 intersport racing | #4 corvette racing | #23 alex job racing | results row 4 : 2 | reliant park | allan mcnish rinal | clint field liz halliday | oliver gavin olivier beretta | mike rockenfeller klaus | results row 5 : 3 | mid-ohio | #2 audi sport north america | #7 penske racing | #4 corvette racing | #45 flying lizard motorsports | results row 6 : 3 | mid-ohio | allan mcnish rinal | timo bernhard roma | oliver gavin olivier beretta | johannes van overbeek wolf | results row 7 : 4 | lime rock | #2 audi sport north america | #7 penske racing | #009 aston martin racing | #31 petersen/white lightning | results row 8 : 4 | lime rock | allan mcnish rinal | timo bernhard roma | stephane sarrazin pedr | jorg bergmeister patrick long | results row 9 : 5 | miller | #1 audi sport north america | #6 penske racing | #007 aston martin racing | #62 risi competi | results row 10 : 7 | road america | #1 audi sport north america | #6 penske racing | #3 corvette racing | #31 petersen/white lightning | results row 11 : 7 | road america | frank biela emanu | sascha maassen tim | ron fellows johnny | jorg bergmeister patrick long mich | results row 12 : 8 | mosport | #2 audi sport north america | #7 penske racing | #009 aston martin racing | #62 risi competi | results row 13 : 8 | mosport | allan mcnish rinal | lucas luhr roma | stephane sarrazin pedr | stephane ortelli johnny | results row 14 : 9 | road atlanta | #2 audi sport north america | #6 penske racing | #007 aston martin racing | #31 petersen/white lightning | results row 15 : 9 | road atlanta | allan mcnish rinal | sascha maassen tim | tomas enge darren turner | jorg bergmeister patrick long | results row 16 : 10 | mazda raceway laguna sec | #2 audi sport north america | #7 penske racing | #009 aston martin racing | #62 risi competi | results ] Execute this SQL based on the above table: select ( select count ( lmp2 winning team lmp2 winning drivers ) ) > 870
0
[ header: region | seed | team | coach | finished | final opponent | score row 1 : west | 4 | unlv | jerry tarkanian | sweet sixteen | 8 auburn | l 70-63 row 2 : west | 8 | auburn | sonny smith | regional runner-up | 2 louisville | l 84-76 row 3 : west | 11 | missouri | norm stewart | round of 64 | 6 uab | l 66-64 row 4 : west | 13 | northeast louisiana | mike vining | round of 64 | 4 unlv | l 74-51 row 5 : west | 14 | utah | lynn archibald | round of 64 | 3 north carolina | l 84-72 row 6 : midwest | 1 | kansas | larry brown | national semifinals | 1 duke | l 71-67 row 7 : midwest | 3 | notre dame | digger phelps | round of 64 | 14 arkansas-little rock | l 90-83 row 8 : midwest | 4 | georgetown | john thompson | round of 32 | 5 michigan state | l 80-68 row 9 : midwest | 5 | michigan state | jud heathcote | sweet sixteen | 1 kansas | l 96-86 row 10 : midwest | 6 | north carolina state | jim valvano | regional runner-up | 1 kansas | l 75-67 row 11 : midwest | 7 | iowa state | johnny orr | sweet sixteen | 6 north carolina state | l 70-66 row 12 : midwest | 8 | jacksonville | bob wenzel | round of 64 | 9 temple | l 61-50 row 13 : midwest | 10 | miami, ohio | jerry peirson | round of 64 | 7 iowa state | l 81-79 row 14 : midwest | 12 | washington | andy russo | round of 64 | 5 michigan state | l 72-70 row 15 : midwest | 13 | texas tech | gerald myers | round of 64 | 4 georgetown | l 70-64 row 16 : midwest | 14 | arkansas-little rock | mike newell | round of 32 | 6 north carolina state | l 80-66 row 17 : southeast | 3 | memphis state (vacated) | dana kirk | round of 32 | 11 lsu | l 83-81 row 18 : southeast | 6 | purdue | gene keady | round of 64 | 11 lsu | l 94-87 row 19 : southeast | 8 | western kentucky | clem haskins | round of 32 | 1 kentucky | l 71-64 row 20 : southeast | 9 | nebraska | moe iba | round of 64 | 8 western kentucky | l 67-59 row 21 : southeast | 13 | fairfield | mitch buonaguro | round of 64 | 4 illinois | l 75-51 row 22 : southeast | 15 | marist | matt furjanic | round of 64 | 2 georgia tech | l 68-53 row 23 : east | 1 | duke | mike krzyzewski | runner up | 2 louisville | l 72-69 row 24 : east | 2 | syracuse | jim boeheim | round of 32 | 7 navy | l 97-85 row 25 : east | 3 | indiana | bob knight | round of 64 | 14 cleveland state | l 83-79 row 26 : east | 8 | old dominion | tom young | round of 32 | 1 duke | l 89-61 ] Execute this SQL based on the above table: select final opponent where seed < ( select seed where final opponent = '2 louisville' ) order by seed desc limit 1
6 north carolina state
[ header: year | men's winner | time (h:m:s) | women's winner | time (h:m:s) | finishers row 1 : 1996 | zoltan kaldy (h | 1:04:45 | simona staicu (hun) | 1:11:11 | 1768 row 2 : 1997 | keita fujino (jp | 1:03:14 | sachie ozaki (jp | 1:11:04 | 2535 row 3 : 1998 | seiji hamada (jp | 1:02:44 | kazumi kanbayashi (j | 1:10:37 | 2703 row 4 : 1999 | takaki morikawa (jp | 1:03:28 | tomoko tamamushi (j | 1:12:15 | 3422 row 5 : 2000 | piotr gladki (pol) | 1:04:45 | mihaela botezan (rom) | 1:10:17 | 4024 row 6 : 2001 | sreten ninkovic (y | 1:04:43 | beata rakonczai (h | 1:13:33 | 3912 row 7 : 2002 | william kipsang (ken) | 1:02:59 | beata rakonczai (h | 1:13:39 | 4403 row 8 : 2003 | miklos zatyko ( | 1:05:53 | aniko kalovics (hun) | 1:11:08 | 4470 row 9 : 2004 | sreten ninkovic (s | 1:06:51 | aniko kalovics (hun) | 1:11:18 | 4601 row 10 : 2005 | andras juhasz (h | 1:05:57 | eszter erdelyi | 1:16:10 | 5466 row 11 : 2006 | barnabas bene (hun) | 1:06:32 | aniko kalovics (hun) | 1:10:46 | 4964 row 12 : 2007 | balazs ott (h | 1:07:19 | krisztina papp | 1:12:09 | 5020 row 13 : 2008 | roberto pasquale ruti | 1:07:22 | beata rakonczai (h | 1:14:38 | 4930 row 14 : 2009 | erkolo ashenafi ( | 1:07:24 | krisztina papp | 1:15:27 | 4848 row 15 : 2010 | laszlo toth (hun | 1:04:38 | krisztina papp | 1:13:13 | 5520 row 16 : 2011 | tamas kovacs (h | 1:06:03 | aniko kalovics (hun) | 1:15:04 | 6203 row 17 : 2012 | gabor jozsa (hun | 1:06:36 | krisztina papp | 1:15:07 | 6751 row 18 : 2013 | henry kemboi (ken) | 1:05:53 | krisztina papp | 1:12:32 | 7436 ] Execute this SQL based on the above table: select count ( men's winner ) where time (h:m:s) >= 56
0
[ header: year | competition | venue | position | event | notes row 1 : 1990 | central american and caribbean games | mexico city, mexico | 1st | 3000 m s'chase | None row 2 : 1991 | pan american games | havana city, cuba | 6th | 3000 m s'chase | None row 3 : 1992 | olympic games | barcelona, spain | 6th | 10,000 m | None row 4 : 1993 | world championships | stuttgart, germany | 9th | 10,000 m | None row 5 : 1994 | world half marathon championships | oslo, norway | 2nd | half marathon | 1:00:28 pb row 6 : 1994 | new york city marathon | new york city, united states | 1st | marathon | None row 7 : 1994 | london marathon | london, england | 3rd | marathon | None row 8 : 1995 | world championships | gothenburg, sweden | 13th | 10,000 m | None row 9 : 1995 | new york city marathon | new york city, united states | 1st | marathon | None row 10 : 1996 | olympic games | atlanta, united states | 6th | marathon | None row 11 : 1997 | new york city marathon | new york city, united states | 5th | marathon | None row 12 : 1997 | boston marathon | boston, united states | 4th | marathon | None ] Execute this SQL based on the above table: select year order by event desc limit 1
1994
[ header: outcome | no. | date | tournament | surface | partner | opponents in the final | score in the final row 1 : runner-up | 1 | 1969 | los angeles, u.s | hard | jim mcmanus | pancho gonzales ron | 3-6, 4-6 row 2 : runner-up | 2 | 1970 | merion, u.s | hard | jim mcmanus | william bowrey ray ruf | 6-3, 2-6, 5-7 row 3 : winner | 1 | 1971 | columbus, u.s | hard | jim mcmanus | jimmy connors ros | 4-6, 7-5, 6-2 row 4 : winner | 2 | 1971 | merion, u.s | hard | clark graebner | robert mckinley | 7-6, 6-3 row 5 : winner | 3 | 1971 | sacramento, u. | hard | jim mcmanus | bob maud frew m | 7-6, 6-3 row 6 : winner | 4 | 1972 | los angeles, u.s | outdoor | jim mcmanus | ilie nastase i | 6-2, 5-7, 6-4 row 7 : winner | 5 | 1972 | london/queen's club | grass | jim mcmanus | jurgen fassbender karl me | 4-6, 6-3, 7-5 row 8 : runner-up | 3 | 1972 | tanglewood, u.s | other | jim mcmanus | bob hewitt andrew | 4-6, 4-6 ] Execute this SQL based on the above table: select no. where surface = 'outdoor'
4
[ header: margin | teams | venue | season row 1 : 192 runs | kent (205 & 512-9 | county ground, chelmsford | 2009 row 2 : 72 runs | kent (117 & 332) beat | woodbridge road, guildford | 1992 row 3 : 57 runs | kent (151 & 348) beat | hesketh park, dartford | 1976 row 4 : 36 runs | kent (127 & 198) | st lawrence ground, canter | 1893 row 5 : 24 runs | kent (115 & 389) beat | mote park, maidstone | 1925 row 6 : 16 runs | kent (120 & 176) beat | mote park, maidstone | 1863 ] Execute this SQL based on the above table: select teams where teams = 'kent (120 & 176) beat cambridgeshire (206 & 74)'
kent (120 & 176) beat cambridgeshire (206 & 74)
[ header: outcome | no. | date | tournament | surface | partner | opponents in the final | score in the final row 1 : runner-up | 1 | 1969 | los angeles, u.s | hard | jim mcmanus | pancho gonzales ron | 3-6, 4-6 row 2 : runner-up | 2 | 1970 | merion, u.s | hard | jim mcmanus | william bowrey ray ruf | 6-3, 2-6, 5-7 row 3 : winner | 1 | 1971 | columbus, u.s | hard | jim mcmanus | jimmy connors ros | 4-6, 7-5, 6-2 row 4 : winner | 2 | 1971 | merion, u.s | hard | clark graebner | robert mckinley | 7-6, 6-3 row 5 : winner | 3 | 1971 | sacramento, u. | hard | jim mcmanus | bob maud frew m | 7-6, 6-3 row 6 : winner | 4 | 1972 | los angeles, u.s | outdoor | jim mcmanus | ilie nastase i | 6-2, 5-7, 6-4 row 7 : winner | 5 | 1972 | london/queen's club | grass | jim mcmanus | jurgen fassbender karl me | 4-6, 6-3, 7-5 row 8 : runner-up | 3 | 1972 | tanglewood, u.s | other | jim mcmanus | bob hewitt andrew | 4-6, 4-6 ] Execute this SQL based on the above table: select count ( * ) where date >= 1101
8
[ header: # | season | competition | date | round | opponent | h / a | result | scorer (s) row 1 : 35 | 2011 | afc champions league | 2011-03-02 | group stage | al-ain | a | 1-0 | s : dejan damjanovic row 2 : 36 | 2011 | afc champions league | 2011-03-15 | group stage | hangzhou greentown | h | 3-0 | s : dejan damjanovic, row 3 : 37 | 2011 | afc champions league | 2011-04-06 | group stage | nagoya grampus | a | 1-1 | s : choi hy row 4 : 39 | 2011 | afc champions league | 2011-05-04 | group stage | al-ain | h | 3-0 | s : dejan damjanovic (2) row 5 : 41 | 2011 | afc champions league | 2011-05-25 | round of 16 | kashima antlers | h | 3-0 | s : bang seung-h row 6 : 42 | 2011 | afc champions league | 2011-09-14 | quarter-finals 1st leg | al-ittihad | a | 1-3 | s : choi ta row 7 : 43 | 2011 | afc champions league | 2011-09-27 | quarter-finals 2nd leg | al-ittihad | h | 1-0 | s : mauricio molina row 8 : 44 | 2013 | afc champions league | 2013-02-26 | group stage | jiangsu sainty | h | 5-1 | s : dejan damjanovic (2) row 9 : 45 | 2013 | afc champions league | 2013-03-12 | group stage | buriram united | a | 0-0 | None row 10 : 46 | 2013 | afc champions league | 2013-04-02 | group stage | vegalta sendai | h | 2-1 | s : sergio escudero row 11 : 48 | 2013 | afc champions league | 2013-04-24 | group stage | jiangsu sainty | a | 2-0 | s : koh myong row 12 : 49 | 2013 | afc champions league | 2013-05-01 | group stage | buriram united | h | 2-2 | s : jung seung-y row 13 : 50 | 2013 | afc champions league | 2013-05-14 | round of 16 1st leg | beijing guoan | a | 0-0 | None row 14 : 53 | 2013 | afc champions league | 2013-09-18 | quarter-finals 2nd leg | al-ahli | h | 1-0 | s : dejan damjanovic row 15 : 55 | 2013 | afc champions league | 2013-10-02 | semi-finals 2nd leg | esteghlal | a | 2-2 | s : ha dae-sung ] Execute this SQL based on the above table: select result order by season limit 1
1-0
[ header: round | pick | player | position | school/club team row 1 : 1 | 8 | eric fraser | s | central michigan row 2 : 2 | 16 | tristan black | lb | wayne state row 3 : 3 | 24 | john hashem | ot | regina row 4 : 4 | 28 | spencer armstrong | wr | air force row 5 : 4 | 30 | steve myddelton | de | st. francis xa row 6 : 4 | 32 | scott mchenry | sb | saskatchewan row 7 : 5 | 40 | osie ukwuoma | dl | queen's row 8 : 6 | 48 | john kanaroski | wr | regina ] Execute this SQL based on the above table: select position order by round asc limit 1
s
[ header: candidate | votes | percentage | counties | delegates row 1 : john mccain | 701761 | 36% | 45 | 57 row 2 : mitt romney | 604932 | 31.03% | 18 | 0 row 3 : rudy giuliani | 286089 | 14.68% | 0 | 0 row 4 : mike huckabee | 262681 | 13.47% | 4 | 0 row 5 : ron paul | 62887 | 3.23% | 0 | 0 row 6 : fred thompson | 22668 | 1.16% | 0 | 0 row 7 : alan keyes | 4060 | 0.21% | 0 | 0 row 8 : duncan hunter | 2847 | 0.15% | 0 | 0 row 9 : tom tancredo | 1573 | 0.08% | 0 | 0 row 10 : totals | 1949498 | 100% | 67 | 57 ] Execute this SQL based on the above table: select percentage where id = ( select id where percentage = '31.03%' and percentage = '31.03%' ) + 1
14.68%
[ header: model | availability | introduced | length of use | last of whiteness row 1 : crest whitestrips classic previously crest | discontinued | may 2001 | 14 days | 12 months row 2 : crest whitestrips professional | discontinued | 2001 | 10 days | 12 months row 3 : crest whitestrips supreme | dentist and online | september 2003 | 21 days | 18 months row 4 : crest whitestrips premium | discontinued | january 2004 | 7 days | 12 months row 5 : crest whitestrips pro previously crest | discontinued | april 2005 | 10 days | 18 months row 6 : crest whitestrips renewal | discontinued | january 2006 | 10 days | 18 months row 7 : crest whitestrips daily multicare | discontinued | march 2007 | daily | white after using system row 8 : crest whitestrips advanced seal | discontinued | february 2009 | 14 days | 18 months row 9 : crest whitestrips 3d vivid | instore and online | 2009 | 10 days | 12 months row 10 : crest whitestrips 3d advanced vivid | instore and online | march 2010 | 14 days | 12 months row 11 : crest whitestrips 3d professional effects | instore and online | march 2010 | 20 days | 12 months row 12 : crest 3d white 2 hour express | instore and online | 2010 | 2 hours | 3 months row 13 : crest 3d intensive professional effects | instore and online | 2011 | 7 days | 12 months ] Execute this SQL based on the above table: select count ( * ) where availability > introduced
5
[ header: round | round | circuit | date | pole position | fastest lap | winning rider row 1 : 1 | r1 | jerez | 18 march | raymond roche | stephane mertens | raymond roche row 2 : 1 | r2 | jerez | 18 march | raymond roche | raymond roche | raymond roche row 3 : 2 | r1 | donington | 16 april | giancarlo falappa | rob phillis | fred merkel row 4 : 2 | r2 | donington | 16 april | giancarlo falappa | raymond roche | giancarlo falappa row 5 : 3 | r1 | hungaroring | 30 april | malcolm campbell | raymond roche | fred merkel row 6 : 3 | r2 | hungaroring | 30 april | malcolm campbell | fred merkel | raymond roche row 7 : 4 | r1 | hockenheim | 6 may | raymond roche | fred merkel | fred merkel row 8 : 4 | r2 | hockenheim | 6 may | raymond roche | raymond roche | stephane mertens row 9 : 5 | r1 | mosport | 3 june | giancarlo falappa | raymond roche | raymond roche row 10 : 5 | r2 | mosport | 3 june | giancarlo falappa | jamie james | raymond roche row 11 : 6 | r1 | brainerd | 10 june | doug chandler | doug chandler | stephane mertens row 12 : 6 | r2 | brainerd | 10 june | doug chandler | fabrizio pirovano | doug chandler row 13 : 7 | r1 | osterreichring | 1 july | stephane mertens | rob mcelnea | fabrizio pirovano row 14 : 7 | r2 | osterreichring | 1 july | stephane mertens | stephane mertens | stephane mertens row 15 : 8 | r1 | sugo | 26 august | raymond roche | raymond roche | raymond roche row 16 : 8 | r2 | sugo | 26 august | raymond roche | peter goddard | doug chandler row 17 : 9 | r1 | le mans | 9 september | baldassarre monti | raymond roche | raymond roche row 18 : 9 | r2 | le mans | 9 september | baldassarre monti | jamie james | raymond roche row 19 : 10 | r1 | monza | 7 october | baldassarre monti | rob phillis | fabrizio pirovano row 20 : 10 | r2 | monza | 7 october | baldassarre monti | rob phillis | fabrizio pirovano row 21 : 11 | r1 | shah alam | 4 november | rob phillis | fabrizio pirovano | fabrizio pirovano row 22 : 11 | r2 | shah alam | 4 november | rob phillis | raymond roche | fabrizio pirovano row 23 : 12 | r1 | phillip island | 11 november | peter goddard | fabrizio pirovano | peter goddard ] Execute this SQL based on the above table: select count ( * ) where date = '18 march'
2
[ header: year | division | league | regular season | playoffs | open cup row 1 : 2002 | 4 | usl pdl | 3rd, mid atlantic | did not qualify | did not qualify row 2 : 2003 | 4 | usl pdl | 1st, mid atlantic | conference semifinals | did not qualify row 3 : 2004 | 4 | usl pdl | 3rd, mid atlantic | did not qualify | did not qualify row 4 : 2005 | 4 | usl pdl | 1st, mid atlantic | national semifinals | 2nd round row 5 : 2006 | 4 | usl pdl | 5th, mid atlantic | did not qualify | did not qualify row 6 : 2007 | 4 | usl pdl | 6th, mid atlantic | did not qualify | did not qualify row 7 : 2008 | 4 | usl pdl | 6th, mid atlantic | did not qualify | did not qualify ] Execute this SQL based on the above table: select ( select league where league = 'usl pdl' and year = 2003 ) >= 2016
1
[ header: coach | years | seasons | wins | losses | ties | pct row 1 : o. b. "rip" | 1908 | 1 | 5 | 1 | 0 | 0.833 row 2 : ed sabre | 1920 | 1 | 3 | 1 | 0 | 0.75 row 3 : mack erwin | 1957-60 | 4 | 62 | 30 | 1 | 0.672 row 4 : chal port | 1965-91 | 27 | 641 | 386 | 2 | 0.624 row 5 : fred jordan | 1992-pres | 22 | 726 | 552 | 0 | 0.568 row 6 : john d. mcmillan | 1952-53 | 2 | 14 | 15 | 0 | 0.483 row 7 : jim newsome | 1961-64 | 4 | 37 | 43 | 0 | 0.463 row 8 : bunzy o'neal | 1948 | 1 | 6 | 7 | 0 | 0.462 row 9 : george c. rogers | 1914-15, 1921-24 | 6 | 26 | 33 | 1 | 0.441 row 10 : fred montsdeoca | 1954-56 | 2 | 22 | 31 | 0 | 0.415 row 11 : george a. schmick | 1910 | 1 | 4 | 6 | 0 | 0.4 row 12 : thomas s. mc | 1916, 1919 | 2 | 8 | 12 | 0 | 0.4 row 13 : harold manley | 1954 | 1 | 5 | 9 | 0 | 0.357 row 14 : "barney" legge | 1911 | 1 | 2 | 5 | 1 | 0.286 row 15 : h. l. "matty" | 1926-30, 37-38 | 3 | 10 | 25 | 1 | 0.286 row 16 : dusty rhodes | 1947 | 1 | 2 | 5 | 0 | 0.286 row 17 : "shorty" o'brien | 1918 | 1 | 3 | 9 | 0 | 0.25 row 18 : "bull dog" drummond | 1925 | 1 | 2 | 7 | 0 | 0.222 ] Execute this SQL based on the above table: select count ( * ) where coach = '0.624'
0
[ header: year | derby winner | galaxy | draw | chivas row 1 : 2005 | galaxy | 5 | 0 | 0 row 2 : 2006 | galaxy | 2 | 1 | 1 row 3 : 2007 | chivas | 1 | 1 | 2 row 4 : 2008 | galaxy | 1 | 2 | 0 row 5 : 2009 | galaxy | 3 | 2 | 0 row 6 : 2010 | galaxy | 2 | 0 | 0 row 7 : 2011 | galaxy | 2 | 0 | 0 row 8 : 2012 | galaxy | 2 | 0 | 1 row 9 : 2013 | galaxy | 2 | 1 | 0 row 10 : total | None | 20 | 7 | 4 ] Execute this SQL based on the above table: select chivas order by year asc limit 1
4
[ header: week | date | opponent | result | attendance row 1 : 1 | september 28, 1952 | at dallas texans | w 24-6 | 17,499 row 2 : 2 | october 4, 1952 | at philadelphia eagle | w 31-7 | 18,648 row 3 : 3 | october 12, 1952 | at cleveland browns | w 17-9 | 51,858 row 4 : 4 | october 19, 1952 | chicago cardinals | l 24-23 | 41,182 row 5 : 5 | october 26, 1952 | philadelphia eagles | l 14-10 | 21,458 row 6 : 6 | november 2, 1952 | at chicago cardinals | w 28-6 | 27,195 row 7 : 7 | november 9, 1952 | san francisco 49ers | w 23-14 | 54,230 row 8 : 8 | november 16, 1952 | green bay packers | l 17-3 | 26,723 row 9 : 9 | november 23, 1952 | at washington redskins | w 14-10 | 21,125 row 10 : 10 | november 30, 1952 | at pittsburgh steelers | l 63-7 | 15,140 row 11 : 11 | december 7, 1952 | washington redskins | l 27-17 | 21,237 row 12 : 12 | december 14, 1952 | cleveland browns | w 37-34 | 41,610 ] Execute this SQL based on the above table: select abs ( week - week ) where week = 4
0.0
[ header: township | fips | population center | population | population density /km2 (/sq mi) | land area km2 (sq mi) | water area km2 (sq mi) | water % | geographic coordinates row 1 : ash creek | 2575 | None | 58 | 1 (2) | 93 (36) | 0 (0) | 0.51% | 38°39′17′′n 98° row 2 : black wolf | 7025 | None | 87 | 1 (2) | 94 (36) | 0 (0) | 0.10% | 38°44′40′′n 98° row 3 : carneiro | 10800 | None | 57 | 1 (2) | 93 (36) | 0 (0) | 0.36% | 38°45′2′′n 97° row 4 : clear creek | 13725 | None | 91 | 1 (3) | 94 (36) | 0 (0) | 0.17% | 38°44′10′′n 98° row 5 : columbia | 15025 | None | 60 | 1 (2) | 94 (36) | 0 (0) | 0.04% | 38°50′5′′n 98° row 6 : ellsworth | 20525 | None | 797 | 9 (23) | 88 (34) | 0 (0) | 0.23% | 38°43′6′′n 98° row 7 : empire | 21150 | None | 174 | 1 (3) | 171 (66) | 14 (6) | 7.79% | 38°39′6′′n 98° row 8 : garfield | 25575 | None | 27 | 0 (1) | 92 (36) | 0 (0) | 0.30% | 38°50′9′′n 98° row 9 : langley | 38600 | None | 76 | 1 (2) | 92 (35) | 2 (1) | 1.86% | 38°35′33′′n 97° row 10 : mulberry | 49050 | None | 44 | 0 (1) | 93 (36) | 0 (0) | 0.24% | 38°50′5′′n 97° row 11 : noble | 50825 | None | 90 | 1 (3) | 93 (36) | 0 (0) | 0.04% | 38°44′51′′n 98° row 12 : sherman | 64950 | None | 65 | 1 (2) | 94 (36) | 0 (0) | 0.22% | 38°49′21′′n 98° row 13 : trivoli | 71525 | None | 55 | 1 (2) | 93 (36) | 0 (0) | 0.38% | 38°35′7′′n 98° row 14 : valley | 72800 | holyrood | 577 | 6 (16) | 93 (36) | 0 (0) | 0.14% | 38°34′22′′n 98° ] Execute this SQL based on the above table: select count ( * ) where township = 'None'
0
[ header: date | opponent | score | result | record row 1 : may 19 | san antonio | 81-72 | win | 1-0 row 2 : may 23 | @ seattle | 87-100 | loss | 1-1 row 3 : may 25 | houston | 111-85 | win | 2-1 row 4 : may 29 | sacramento | 76-75 | win | 3-1 row 5 : may 31 | @ san antonio | 97-85 | win | 4-1 row 6 : june 5 | minnesota | 85-90 | loss | 4-4 row 7 : june 7 | chicago | 80-66 | win | 5-4 row 8 : june 9 | @ sacramento | 74-70 | win | 6-4 row 9 : june 13 | @ washington | 69-86 | loss | 6-5 row 10 : june 15 | @ indiana | 89-78 | win | 7-5 row 11 : june 20 | washington | 101-106 | loss | 7-6 row 12 : june 22 | detroit | 84-87 | loss | 7-7 row 13 : june 24 | houston | 90-85 | win | 8-7 row 14 : june 30 | @ houston | 92-75 | win | 9-7 row 15 : july 3 | @ minnesota | 95-79 | win | 10-7 row 16 : july 8 | @ detroit | 82-111 | loss | 11-8 row 17 : july 11 | san antonio | 77-87 | loss | 11-9 row 18 : july 20 | los angeles | 77-87 | loss | 12-10 row 19 : july 22 | minnesota | 106-93 | win | 13-10 row 20 : july 27 | @ chicago | 98-96 | win | 15-10 row 21 : july 29 | indiana | 80-75 | win | 16-10 row 22 : july 31 | @ houston | 76-74 | win | 17-10 row 23 : august 2 | @ san antonio | 84-79 | win | 18-10 row 24 : august 4 | @ seattle | 101-111 | loss | 18-11 row 25 : august 7 | @ los angeles | 96-93 | win | 19-11 row 26 : august 9 | new york | 97-86 | win | 20-11 row 27 : august 11 | los angeles | 100-83 | win | 21-11 row 28 : august 17 | @ sacramento | 101-91 | win | 22-11 row 29 : august 19 | sacramento | 87-73 | win | 23-11 row 30 : august 24 (first round, game 1) | @ seattle | 101-84 | win | 1-0 row 31 : august 26 (first round, game 2) | seattle | 95-89 | win | 2-0 row 32 : august 30 (west finals, game 1) | @ san antonio | 102-100 | win | 3-0 row 33 : september 1 (west finals, game 2) | san antonio | 98-92 | win | 4-0 row 34 : september 5 (wnba finals | @ detroit | 100-108 | loss | 4-1 row 35 : september 8 (wnba finals | @ detroit | 98-70 | win | 5-1 row 36 : september 11 (wnba finals | detroit | 83-88 | loss | 5-2 row 37 : september 13 (wnba finals | detroit | 77-76 | win | 6-2 row 38 : september 15 (wnba finals | @ detroit | 108-92 | win | 7-2 ] Execute this SQL based on the above table: select ( select count ( opponent ) where date = 'august 26 (first round, game 2)' ) - ( select count ( opponent ) where date = 'august 11' )
0
[ header: name | builder | type | date | works number | notes row 1 : None | w.g. bagnall | 0-4-0t | late 1880s | 1050 | small inverted saddle tank locomotive; sold by 18 row 2 : None | w.g. bagnall | 0-4-0t | 1892 | 1232 | larger version of the first bagnall locomotive; row 3 : None | lowca engineering | 0-4-0st | 1884 | 241 | scrapped 1950 row 4 : None | manning wardle | 0-4-0st | 1888 | None | built for the construction of the ashworth row 5 : None | manning wardle | 0-4-0st | 1888 | None | built for the construction of the ashworth row 6 : prince charlie | hunslet | 4-6-0t | 1917 | 1276 | built as a 2 ft (610 row 7 : vyrnwy | orenstein and koppel | 0-4-0wt | 1930 | None | built reservoir construction; purchased in 1947. sold to ] Execute this SQL based on the above table: select count ( * ) where notes = 'built reservoir construction; purchased in 1947. sold to the piel and walney gravel company in 1953'
1
[ header: date | event | duration (months) | duration (years) row 1 : 1927 | experiment set up | None | None row 2 : 1930 | the stem was cut | None | None row 3 : december 1938 | 1st drop fell | 96-107 | 8.0-8.9 row 4 : february 1947 | 2nd drop fell | 99 | 8.2 row 5 : april 1954 | 3rd drop fell | 86 | 7.2 row 6 : may 1962 | 4th drop fell | 97 | 8.1 row 7 : august 1970 | 5th drop fell | 99 | 8.3 row 8 : april 1979 | 6th drop fell | 104 | 8.7 row 9 : july 1988 | 7th drop fell | 111 | 9.2 row 10 : 28 november 2000 | 8th drop fell | 148 | 12.3 ] Execute this SQL based on the above table: select count ( date )
10
[ header: number | author | first line | notes row 1 : 1 | william shakespeare | "when my love swears that she is made | first publication, later appears as sonnet 138 row 2 : 2 | william shakespeare | "two loves i have, of comfort and | first publication, later appears as sonnet 144 row 3 : 3 | william shakespeare | "did not the heavenly rhetoric of thine | a version of longaville's son row 4 : 4 | None | "sweet cytherea, sitting by | on the theme of venus and adon row 5 : 5 | william shakespeare | "if love make me forsworn, how | a version of berowne's row 6 : 6 | None | "scarce had the sun dried up the | on the theme of venus and adon row 7 : 7 | None | "fair is my love, but not so fair | in the same six-line stanza row 8 : 8 | richard barnfield | "if music and sweet poetry agree" | first published in poems in diverse humours row 9 : 9 | None | "fair was the morn when the fair queen | on the theme of venus and adon row 10 : 10 | None | "sweet rose, fair flower, untimely | in the same six-line stanza row 11 : 11 | bartholomew griffin | "venus, with young adonis sitting | printed in fidessa (1596). on row 12 : 12 | thomas deloney? | "crabbed age and youth cannot live together | was reprinted with additional stanza row 13 : 13 | None | "beauty is but a va | in the same six-line stanza row 14 : 14 | None | "good-night, good rest, a | in the same six-line stanza row 15 : 15 | None | "it was a lording' | None row 16 : 16 | william shakespeare | "on a day (alack the day | dumaine's poem to catherine row 17 : 18 | None | "when as thine eye hath chose | three versions of the poem exist in manuscript miscell row 18 : 20 | richard barnfield | "as it fell upon a day" | first published in poems in divers humors (1598 ] Execute this SQL based on the above table: select author order by number asc limit 987
william shakespeare, william shakespeare, william shakespeare, william shakespeare, richard barnfield, bartholomew griffin, thomas deloney?, william shakespeare, richard barnfield
[ header: designation | classification | constellation | apparent magnitude row 1 : comet galaxy | s | sculptor | None row 2 : eso 269-57 | sb(r)a | centaurus | 12.49 row 3 : ic 342 | sab(rs)cd | camelopardalis | 9.1 row 4 : ic 442 | s | camelopardalis | 13.8 row 5 : ic 1296 | sbbc | lyra | 14.8 row 6 : m31, andromeda | sa(s)b | andromeda | 4.36 row 7 : m61 | sab(rs)bc | virgo | 10.2 row 8 : m77 | (r)sa(rs)b | cetus | 9.6 row 9 : m81 | sa(s)ab | ursa major | 7.9 row 10 : m95 | sb(r)b | leo | 11.4 row 11 : m96 | sab(rs)ab | leo | 10.1 row 12 : m104, sombrero galaxy | sa(s)a | virgo | 9 row 13 : m106 | sab(s)bc | canes venatici | 9.1 row 14 : m109 | sb(rs)bc | ursa major | 10.6 row 15 : maffei 2 | sab(rs)bc | cassiopeia | 16 row 16 : ngc 2 | sab | pegasus | 15 row 17 : ngc 247 | sab(s)d | cetus | 9.9 row 18 : ngc 253, sculptor galaxy | sab(s)c | sculptor | 8 row 19 : ngc 300 | sa(s)d | sculptor | 9 row 20 : ngc 514 | sab(rs)c | pisces | 12.2 row 21 : ngc 1032 | s0/a | cetus | 12.6 row 22 : ngc 1042 | sab(rs)cd | cetus | 14 row 23 : ngc 1055 | sbb:ii-ii | cetus | 11.6 row 24 : ngc 1090 | sb(rs)bc | cetus | 12.5 row 25 : ngc 1300 | (r')sb(s)b | eridanus | 11.4 row 26 : ngc 2903 | sb(s)d | leo | 9.7 row 27 : ngc 2997 | sa(s)c | antlia | 10.1 row 28 : ngc 3223 | None | antlia | 12 row 29 : ngc 3486 | sb | leo minor | 11 row 30 : ngc 3521 | sabbc | leo | 10 row 31 : ngc 3596 | sab(rs)c | leo | 12 row 32 : ngc 3877 | sc | ursa major | 12.1 row 33 : ngc 3949 | sa(s)bc | ursa major | 11.5 row 34 : ngc 3953 | sb(r)bc | ursa major | 10.8 row 35 : ngc 4395 | sa(s)m | canes venatici | 10.6 row 36 : ngc 4625 | sab(rs)m pe | canes venatici | 13.2 row 37 : ngc 4911 | sb | coma berenices | None row 38 : ngc 4945 | sb(s)cd | centaurus | 9.3 row 39 : ngc 5068 | sb(s)d | virgo | 10.5 ] Execute this SQL based on the above table: select min ( apparent magnitude ) where apparent magnitude < 8
4.36
[ 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 role where role = 'buck mansfield'
buck mansfield
[ header: year | title | role | notes row 1 : 1991 | let him have it | derek bentley | None row 2 : 1992 | death and the compass | alonso zunz | None row 3 : 1993 | anchoress | priest | None row 4 : 1994 | shallow grave | david | None row 5 : 1996 | jude | jude fawley | None row 6 : 1998 | elizabeth | duke of norfolk | None row 7 : 1998 | a price above rubies | sender horowitz | None row 8 : 1999 | heart | gary ellis | None row 9 : 1999 | existenz | seminar leader | None row 10 : 1999 | with or without you | vincent boyd | None row 11 : 2000 | gone in 60 seconds | raymond calitri | None row 12 : 2000 | the tyre | salesman | short film row 13 : 2001 | the others | charles stewart | None row 14 : 2001 | the invisible circus | wolf | None row 15 : 2001 | this little piggy | cabbie | short film row 16 : 2002 | 24 hour party people | boethius | None row 17 : 2002 | i am dina | leo zhukovsky | None row 18 : 2002 | revengers tragedy | vindici | None row 19 : 2002 | 28 days later | major henry west | None row 20 : 2007 | the dark is rising | the rider | None row 21 : 2008 | new orleans, mon amour | dr. henry | None row 22 : 2009 | g.i. joe: the | james mccullen | None row 23 : 2009 | amelia | fred noonan | None row 24 : 2009 | the happiness salesman | salesman | short film row 25 : 2012 | song for marion | james harris | None row 26 : 2013 | thor: the dark world | malekith | None ] Execute this SQL based on the above table: select notes where year >= 1359
short film, short film, short film
[ header: match | date | ground | opponent | score1 | pos. | pts. | gd row 1 : 2 | 22 august | h | 1. fc kaiserslau | 1 - 0 | 1 | 4 | 4 row 2 : 4 | 29 august | h | dynamo dresden | 3 - 1 | 1 | 6 | 6 row 3 : 5 | 2 september | a | 1. fc koln | 3 - 1 | 1 | 8 | 8 row 4 : 6 | 5 september | h | hamburger sv | 4 - 0 | 1 | 10 | 12 row 5 : 7 | 19 september | h | sg wattenscheid 09 | 1 - 1 | 1 | 11 | 12 row 6 : 8 | 25 september | a | borussia dortmund | 2 - 1 | 1 | 13 | 13 row 7 : 9 | 3 october | h | borussia monchengladbach | 2 - 2 | 1 | 14 | 13 row 8 : 10 | 17 october | a | 1. fc saarbrucken | 1 - 1 | 1 | 15 | 13 row 9 : 11 | 24 october | h | werder bremen | 1 - 3 | 1 | 15 | 11 row 10 : 3 | 27 october | a | eintracht frankfurt | 1 - 1 | 1 | 16 | 11 row 11 : 12 | 31 october | a | vfb stuttgart | 3 - 2 | 1 | 18 | 12 row 12 : 14 | 21 november | a | bayer leverkusen | 4 - 2 | 1 | 22 | 15 row 13 : 15 | 28 november | h | karlsruher sc | 3 - 3 | 1 | 23 | 15 row 14 : 16 | 5 december | a | vfl bochum | 2 - 2 | 1 | 24 | 15 row 15 : 19 | 27 february | a | 1. fc kaiserslau | 3 - 1 | 1 | 29 | 19 row 16 : 20 | 6 march | h | eintracht frankfurt | 1 - 0 | 1 | 31 | 20 row 17 : 22 | 20 march | h | 1. fc koln | 3 - 0 | 1 | 34 | 23 row 18 : 23 | 28 march | a | hamburger sv | 1 - 3 | 1 | 34 | 21 row 19 : 24 | 2 april | a | sg wattenscheid 09 | 0 - 2 | 1 | 34 | 19 row 20 : 25 | 10 april | h | borussia dortmund | 2 - 0 | 1 | 36 | 21 row 21 : 26 | 17 april | a | borussia monchengladbach | 2 - 2 | 1 | 37 | 21 row 22 : 27 | 23 april | h | 1. fc saarbrucken | 6 - 0 | 1 | 39 | 27 row 23 : 28 | 26 april | a | werder bremen | 1 - 4 | 1 | 39 | 24 row 24 : 30 | 8 may | a | 1. fc nurnberg | 0 - 0 | 1 | 42 | 26 row 25 : 31 | 15 may | h | bayer leverkusen | 4 - 1 | 1 | 44 | 29 row 26 : 32 | 23 may | a | karlsruher sc | 2 - 4 | 1 | 44 | 27 row 27 : 33 | 29 may | h | vfl bochum | 3 - 1 | 2 | 46 | 29 row 28 : 34 | 5 june | a | schalke 04 | 3 - 3 | 2 | 47 | 29 ] Execute this SQL based on the above table: select gd where match = ( select match where gd = 13 ) - 1
12
[ header: round | round | circuit | date | pole position | fastest lap | winning rider row 1 : 1 | r1 | jerez | 18 march | raymond roche | stephane mertens | raymond roche row 2 : 1 | r2 | jerez | 18 march | raymond roche | raymond roche | raymond roche row 3 : 2 | r1 | donington | 16 april | giancarlo falappa | rob phillis | fred merkel row 4 : 2 | r2 | donington | 16 april | giancarlo falappa | raymond roche | giancarlo falappa row 5 : 3 | r1 | hungaroring | 30 april | malcolm campbell | raymond roche | fred merkel row 6 : 3 | r2 | hungaroring | 30 april | malcolm campbell | fred merkel | raymond roche row 7 : 4 | r1 | hockenheim | 6 may | raymond roche | fred merkel | fred merkel row 8 : 4 | r2 | hockenheim | 6 may | raymond roche | raymond roche | stephane mertens row 9 : 5 | r1 | mosport | 3 june | giancarlo falappa | raymond roche | raymond roche row 10 : 5 | r2 | mosport | 3 june | giancarlo falappa | jamie james | raymond roche row 11 : 6 | r1 | brainerd | 10 june | doug chandler | doug chandler | stephane mertens row 12 : 6 | r2 | brainerd | 10 june | doug chandler | fabrizio pirovano | doug chandler row 13 : 7 | r1 | osterreichring | 1 july | stephane mertens | rob mcelnea | fabrizio pirovano row 14 : 7 | r2 | osterreichring | 1 july | stephane mertens | stephane mertens | stephane mertens row 15 : 8 | r1 | sugo | 26 august | raymond roche | raymond roche | raymond roche row 16 : 8 | r2 | sugo | 26 august | raymond roche | peter goddard | doug chandler row 17 : 9 | r1 | le mans | 9 september | baldassarre monti | raymond roche | raymond roche row 18 : 9 | r2 | le mans | 9 september | baldassarre monti | jamie james | raymond roche row 19 : 10 | r1 | monza | 7 october | baldassarre monti | rob phillis | fabrizio pirovano row 20 : 10 | r2 | monza | 7 october | baldassarre monti | rob phillis | fabrizio pirovano row 21 : 11 | r1 | shah alam | 4 november | rob phillis | fabrizio pirovano | fabrizio pirovano row 22 : 11 | r2 | shah alam | 4 november | rob phillis | raymond roche | fabrizio pirovano row 23 : 12 | r1 | phillip island | 11 november | peter goddard | fabrizio pirovano | peter goddard ] Execute this SQL based on the above table: select fastest lap where round in ( 11 , 2 )
rob phillis, raymond roche, fabrizio pirovano, raymond roche
[ header: state | passed | referendum | vote row 1 : s. carolina | december 20, 1860 | None | None row 2 : mississippi | january 9, 1861 | None | None row 3 : florida | january 10, 1861 | None | None row 4 : alabama | january 11, 1861 | None | None row 5 : georgia | january 19, 1861 | None | None row 6 : louisiana | january 26, 1861 | None | None row 7 : texas | february 1, 1861 | february 23 | 46,153-14,747 row 8 : virginia | april 17, 1861 | may 23 | 132,201-37,451 row 9 : arkansas | may 6, 1861 | None | None row 10 : tennessee | may 6, 1861 | june 8 | 104,471-47,183 row 11 : n. carolina | may 20, 1861 | None | None row 12 : missouri | october 31, 1861 | None | None row 13 : kentucky | november 20, 1861 | None | None ] Execute this SQL based on the above table: select referendum order by vote desc limit 1
may 23
[ header: season | date | location | discipline | place row 1 : 2007 | 18 mar 2007 | lenzerheide, switze | giant slalom | 2nd row 2 : 2009 | 10 jan 2009 | maribor, slovenia | giant slalom | 3rd row 3 : 2010 | 28 nov 2009 | aspen, usa | giant slalom | 1st row 4 : 2010 | 28 dec 2009 | lienz, austria | giant slalom | 1st row 5 : 2010 | 24 jan 2010 | cortina d'ampezzo | giant slalom | 3rd row 6 : 2010 | 11 mar 2010 | garmisch, germany | giant slalom | 2nd row 7 : 2011 | 23 oct 2010 | solden, austria | giant slalom | 2nd row 8 : 2011 | 27 nov 2010 | aspen, usa | giant slalom | 3rd row 9 : 2011 | 28 dec 2010 | semmering, austria | giant slalom | 3rd ] Execute this SQL based on the above table: select date where date in ( '28 dec 2009' , '28 dec 2009' ) order by season desc limit 1
28 dec 2009
[ header: year | competition | location | event | final-rank | final-score | qualifying rank | qualifying score row 1 : 2008 | 2008 summer olympics | beijing | team | 2 | 186.525 | 2 | 246.8 row 2 : 2008 | 2008 summer olympics | beijing | uneven bars | dnq | None | 23 | 14.8 row 3 : 2008 | olympic trials | philadelphia | all around | 4 | 61.85 | 4 | 61.4 row 4 : 2008 | olympic trials | philadelphia | balance beam | 4 | 15.55 | 4 | 15.8 row 5 : 2008 | olympic trials | philadelphia | floor exercise | 2 | 15.5 | 3 | 15.65 row 6 : 2008 | olympic trials | philadelphia | uneven bars | 6 | 15.2 | 5 | 15.3 row 7 : 2008 | olympic trials | philadelphia | vault | 4 | 15.15 | 3 | 15.1 row 8 : 2008 | u.s. championships | boston | all around | 4 | 61.25 | 4 | 60.75 row 9 : 2008 | u.s. championships | boston | balance beam | 5 | 16 | 5 | 15.4 row 10 : 2008 | u.s. championships | boston | floor exercise | 10 | 14.75 | 4 | 15.2 row 11 : 2008 | u.s. championships | boston | uneven bars | 6 | 15.55 | 6 | 15.15 row 12 : 2008 | american cup | new york city | all around | 3 | 63.075 | 3 | 63.075 ] Execute this SQL based on the above table: select event where event in ( 'all around' , 'balance beam' ) order by year desc limit 1
all around
[ header: # | title | producer(s) | performer (s) | time row 1 : 1 | "i see dead people" | phd | grand puba, lord jamar, | 4:26 row 2 : 2 | "hunny" | grant parks | grand puba | 4:04 row 3 : 3 | "it is what it is" | phd | grand puba, tiffani davis | 5:03 row 4 : 4 | "how long?" | elements | grand puba | 3:22 row 5 : 5 | "good to go" | q-tip | grand puba, q-tip | 3:53 row 6 : 6 | "same old drama" | large professor | grand puba, large professor | 1:29 row 7 : 7 | "get that money" | phd | grand puba | 3:29 row 8 : 8 | "this joint right here" | grand puba | grand puba, kid capri | 3:17 row 9 : 9 | "go hard" | grand puba | grand puba, talee | 3:35 row 10 : 10 | "reality check" | phd | grand puba, sarah martine | 3:09 row 11 : 11 | "cold cold world" | grand puba | grand puba, khadija mo | 3:31 row 12 : 12 | "smile" | big throwback | grand puba, big phill | 1:55 row 13 : 13 | "the joint right here (remix)" | grand puba | grand puba, kid capri, lor | 3:23 ] Execute this SQL based on the above table: select count ( producer(s) ) where performer (s) = 'grand puba, khadija mohamed'
1
[ header: year | award ceremony | category | film/show | result row 1 : 2005 | indian television academy awards | ita award for best actress - comedy | sarabhai vs | won row 2 : 2005 | indian telly awards | best actress in a comic role | sarabhai vs | won row 3 : 2006 | indian television academy awards | ita award for best actress - comedy | sarabhai vs | nominated row 4 : 2009 | screen awards | screen award for best supporting actress | jaane tu ya ja | nominated row 5 : 2009 | filmfare awards | filmfare best supporting actress award | jaane tu ya ja | nominated row 6 : 2011 | filmfare awards | filmfare best supporting actress award | golmaal 3 | nominated row 7 : 2011 | screen awards | screen award for best supporting actress | golmaal 3 | nominated row 8 : 2011 | zee cine awards | zee cine award for best actor in | golmaal 3 | nominated row 9 : 2011 | apsara film & television producers | apsara award for best actress in | golmaal 3 | nominated row 10 : 2011 | 12th iifa awards | iifa award for best supporting actress | golmaal 3 | nominated ] Execute this SQL based on the above table: select film/show order by result limit 1815
sarabhai vs sarabhai, jaane tu ya jaane na, jaane tu ya jaane na, golmaal 3, golmaal 3, golmaal 3, golmaal 3, golmaal 3, sarabhai vs sarabhai, sarabhai vs sarabhai
[ header: party | active voters | inactive voters | total voters | percentage row 1 : republican | 13916 | 5342 | 19258 | 25.61% row 2 : democratic | 21493 | 7115 | 28608 | 38.05% row 3 : unaffiliated | 20118 | 7062 | 27180 | 36.15% row 4 : minor parties | 100 | 40 | 140 | 0.19% row 5 : total | 55627 | 19559 | 75186 | 100% ] Execute this SQL based on the above table: select percentage group by percentage order by count ( * ) desc limit 1
38.05%
[ 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 # where result = 'win'
2.0, 4.0, 8.0, 10.0, 12.0, 13.0, 15.0
[ header: ecclesiastical jurisdictions | latin name | type | rite | ecclesiastical province | established | area (km2) row 1 : bani | baniensis | diocese | roman | santo domingo | 8 november 1986 | 2892 row 2 : barahona | barahonensis | diocese | roman | santo domingo | 24 april 1976 | 6973 row 3 : dominican republic | reipublicae dominicana | military ordinariate | roman | immediately subject to the holy see | 23 january 1958 | None row 4 : la vega | vegensis | diocese | roman | santiago de los caballe | 25 september 1953 | 4919 row 5 : mao-monte cristi | maoensis-montis christ | diocese | roman | santiago de los caballe | 16 january 1978 | 4841 row 6 : nuestra senora de la | higueyensis / | diocese | roman | santo domingo | 1 april 1959 | 5437 row 7 : puerto plata | portus argentarii | diocese | roman | santiago de los caballe | 16 december 1996 | 2700 row 8 : san francisco de macoris | sancti francisci de mac | diocese | roman | santiago de los caballe | 16 january 1978 | 3682 row 9 : san juan de la magu | sancti ioannis magu | diocese | roman | santo domingo | 25 september 1953 | 7476 row 10 : san pedro de macori | sancti petri de macoris | diocese | roman | santo domingo | 1 february 1997 | 2588 row 11 : santiago de los caballe | sancti iacobi e | metropolitan archdiocese | roman | santiago de los caballe | 25 september 1953 | 6391 row 12 : santo domingo | sancti dominici | metropolitan archdiocese | roman | santo domingo | 8 august 1511 | 4033 ] Execute this SQL based on the above table: select rite where rite in ( 'roman' , 'roman' ) order by latin name desc limit 1
roman
[ header: no. | name | class | games | minutes | points | 2 points (made/attempts) | 2 points (%) | 3 points (made/attempts) | 3 points (%) | free throws (made/attempts) | free throws (%) | rebounds offensive | rebounds defensive | rebounds total | assists | turnovers | steals | blocked shots | personal fouls | fouls drawn row 1 : 4 | sarah vinci | 1 | 7 | 125 | 8 | 4/9 | 44 | None | None | None | None | 2 | 6 | 8 | 1 | 2 | 2 | 1 | 4 | 1 row 2 : 5 | cobi crispin | 4 | 7 | 180 | 72 | 33/77 | 43 | None | None | 6/14 | 43 | 13 | 34 | 47 | 11 | 13 | 4 | 1 | 18 | 17 row 3 : 6 | bridie kean | 4 | 7 | 109 | 16 | 7/26 | 27 | 0/1 | 0 | 2/8 | 25 | 5 | 27 | 32 | 6 | 4 | 6 | None | 8 | 8 row 4 : 7 | amanda carter | 1 | 3 | 38 | 7 | 3/5 | 60 | None | None | 1/1 | 100 | 4 | None | 4 | None | 1 | 1 | None | 1 | 1 row 5 : 8 | tina mckenzie | 3 | 2 | 18 | None | 0/2 | 0 | None | None | None | None | None | 4 | 4 | 2 | 1 | None | None | 2 | None row 6 : 9 | leanne del toso | 3.5 | 3 | 24 | 4 | 2/7 | 29 | None | None | None | None | 2 | 7 | 9 | 2 | 3 | None | None | 2 | 1 row 7 : 10 | clare nott | 1 | 7 | 212 | 37 | 18/32 | 56 | 0/1 | 0 | 1/7 | 14 | 6 | 14 | 20 | 7 | 7 | 4 | 3 | 10 | 4 row 8 : 11 | kylie gauci | 2 | 7 | 186 | 54 | 24/68 | 35 | 2/6 | 33 | 0/2 | 0 | 4 | 11 | 15 | 28 | 14 | 5 | None | 9 | 12 row 9 : 12 | shelley chaplin | 3.5 | 7 | 166 | 26 | 13/48 | 27 | 0/1 | 0 | 0/7 | 0 | 5 | 15 | 20 | 28 | 10 | 4 | None | 12 | 13 row 10 : 13 | sarah stewart | 3 | 7 | 83 | 25 | 12/27 | 44 | None | None | 1/5 | 20 | 4 | 12 | 16 | 12 | 2 | 2 | None | 7 | 6 row 11 : 14 | katie hill | 3 | 7 | 107 | 25 | 12/30 | 40 | None | None | 1/1 | 100 | 1 | 7 | 8 | 6 | 4 | 2 | None | 4 | 4 row 12 : 15 | amber merritt | 4.5 | 7 | 153 | 83 | 40/77 | 52 | 0/1 | 0 | 3/12 | 25 | 11 | 30 | 41 | 6 | 8 | 5 | 2 | 16 | 16 row 13 : None | team | None | None | None | None | None | None | None | None | None | None | 7 | 12 | 19 | None | None | None | None | None | None row 14 : None | team totals | None | None | None | 357 | 168/408 | 41 | 2/10 | 20 | 15/57 | 26 | 64 | 179 | 243 | 109 | 84 | 35 | 7 | 93 | 83 ] Execute this SQL based on the above table: select free throws (made/attempts) where free throws (made/attempts) in ( 'None' , '1/7' ) group by free throws (made/attempts) order by count ( * ) desc limit 1
1/7
[ header: payload type (pt) | name | type | no. of channels | clock rate (hz) | frame size (ms) | default packet size (ms) | description | references row 1 : 5 | dvi4 | audio | 1 | 8000 | any | 20 | ima adpcm audio 32 | rfc 3551 row 2 : 11 | l16 | audio | 1 | 44100 | any | 20 | linear pcm 16-bit audio 70 | rfc 3551, page 27 row 3 : 15 | g728 | audio | 1 | 8000 | 2.5 | 20 | itu-t g.728 audio | rfc 3551 row 4 : 18 | g729 | audio | 1 | 8000 | 10 | 20 | itu-t g.729 and | rfc 3551, page 20 row 5 : 26 | jpeg | video | 1 | 90000 | None | None | jpeg video | rfc 2435 row 6 : 33 | mp2t | audio/video | 1 | 90000 | None | None | mpeg-2 transport stream video | rfc 2250 row 7 : 34 | h263 | video | None | 90000 | None | None | h.263 video, first version ( | rfc 3551, rf row 8 : 72 - 76 | reserved for rtcp conflict avoidance | None | None | None | None | None | None | rfc 3551, page 32 row 9 : dynamic | h263-2000 | video | None | 90000 | None | None | h.263 video, third version | rfc 4629 row 10 : dynamic (or profile) | h264 | video | None | 90000 | None | None | h.264 video (mpeg-4 | rfc 6184, previously r row 11 : dynamic | pcma-wb | audio | None | 16000 | 5 | None | itu-t g.711.1, | rfc 5391 row 12 : dynamic | g7221 | audio | None | 32000, 16000 | 20 | None | itu-t g.722.1 | rfc 5577 row 13 : dynamic | g726-24 | audio | 1 | 8000 | any | 20 | itu-t g.726 audio | rfc 3551 row 14 : dynamic | g7291 | audio | None | 16000 | 20 | None | itu-t g.729.1 | rfc 4749 row 15 : dynamic (or profile) | speex | audio | 1 | 8000, 16000 or 32000 | 20 | None | rtp payload format for the spe | rfc 5574 row 16 : dynamic (or profile) | mp4v-es | video | None | 90000 or others | None | recommended same as frame size | rtp payload format for mp | rfc 6416 (previously row 17 : dynamic (or profile) | mpeg4-generic | audio/video | None | 90000 or other | None | None | rtp payload format for transport of | rfc 3640 row 18 : dynamic | vp8 | video | None | 90000 | None | None | rtp payload format for transport of | draft-ietf-payload- row 19 : dynamic | l8 | audio | (various) | (various) | any | 20 | linear pcm 8-bit audio with | rfc 3551 section 4.5. ] Execute this SQL based on the above table: select ( select count ( * ) where frame size (ms) = 'any' ) - ( select count ( * ) where frame size (ms) = '2.5' )
3
[ header: year | title | role | notes row 1 : 1991 | let him have it | derek bentley | None row 2 : 1992 | death and the compass | alonso zunz | None row 3 : 1993 | anchoress | priest | None row 4 : 1994 | shallow grave | david | None row 5 : 1996 | jude | jude fawley | None row 6 : 1998 | elizabeth | duke of norfolk | None row 7 : 1998 | a price above rubies | sender horowitz | None row 8 : 1999 | heart | gary ellis | None row 9 : 1999 | existenz | seminar leader | None row 10 : 1999 | with or without you | vincent boyd | None row 11 : 2000 | gone in 60 seconds | raymond calitri | None row 12 : 2000 | the tyre | salesman | short film row 13 : 2001 | the others | charles stewart | None row 14 : 2001 | the invisible circus | wolf | None row 15 : 2001 | this little piggy | cabbie | short film row 16 : 2002 | 24 hour party people | boethius | None row 17 : 2002 | i am dina | leo zhukovsky | None row 18 : 2002 | revengers tragedy | vindici | None row 19 : 2002 | 28 days later | major henry west | None row 20 : 2007 | the dark is rising | the rider | None row 21 : 2008 | new orleans, mon amour | dr. henry | None row 22 : 2009 | g.i. joe: the | james mccullen | None row 23 : 2009 | amelia | fred noonan | None row 24 : 2009 | the happiness salesman | salesman | short film row 25 : 2012 | song for marion | james harris | None row 26 : 2013 | thor: the dark world | malekith | None ] Execute this SQL based on the above table: select role where role = 'vindici'
vindici
[ header: year | title | image | dimensions | collection | comments row 1 : 1942 | assassination of heydrich | view | 61.4 × 76.1 cm. (24.2 | the national archives, kew, richmond | subject: ss-general reinhard row 2 : 1944 | production of tanks (original may have been untitled | view | 51.3 × 61.5 cm. (20.2 | the national archives, kew, richmond | scene: workers manufacture churchill tanks on a row 3 : 1968 | express engines at tyseley, | view view | 75 × 100 cm. (29.5 × | None | scene: rolling stock-london, mid row 4 : 1972 | field marshall viscount montgomery of | view | 125 × 100 cm. (49. | defence academy of the united kingdom, shriven | subject: field marshal bernard law row 5 : 1971 | sir edward heath | view | 123 × 99 cm. (48. | balliol college, university of o | subject: sir edward heath row 6 : 1972 | self portrait | None | None | None | None row 7 : None | her majesty the queen with her dogs | see cuneo society website | None | None | subject: queen elizabeth row 8 : None | bentley vs the blue train | view see cuneo society website | None | None | scene: 1930 cannes to calais ] Execute this SQL based on the above table: select ( select year where title = 'express engines at tyseley, oil on canvas' ) - ( select year where title = 'assassination of heydrich (c. 1942; originally may have been untitled), oil on canvas on board' )
26
[ header: year | competition | venue | position | event | notes row 1 : 1996 | world junior championships | sydney, australia | 8th | 200 m | 23.89 row 2 : 1996 | olympic games | atlanta, united states | 11th (sf) | 4x100 m relay | 44.21 row 3 : 1997 | european junior championships | ljubljana, s | 1st | 100 m | 11.39 row 4 : 1997 | european junior championships | ljubljana, s | 3rd | 200 m | 23.43 row 5 : 1997 | world championships | athens, greece | 36th (h) | 100 m | 11.59 row 6 : 1998 | world junior championships | annecy, france | 8th (sf) | 100 m | 11.75 row 7 : 1998 | european championships | budapest, hungary | 27th (h) | 200 m | 24.1 row 8 : 1998 | european championships | budapest, hungary | 6th | 4x100 m relay | 44.1 row 9 : 1999 | european junior championships | riga, latvia | 2nd | 100 m | 11.47 row 10 : 1999 | european junior championships | riga, latvia | 2nd | 200 m | 23.26 row 11 : 1999 | european junior championships | riga, latvia | 2nd | 4x100 m relay | 44.4 row 12 : 1999 | world championships | seville, spain | 24th (qf) | 100 m | 11.45 row 13 : 1999 | world championships | seville, spain | 10th (h) | 4x100 m relay | 43.86 row 14 : 2000 | european indoor championships | ghent, belgium | 21st (h) | 60 m | 7.4 row 15 : 2000 | european indoor championships | ghent, belgium | 12th (sf) | 200 m | 23.83 row 16 : 2000 | olympic games | sydney, australia | 12th (sf) | 4x100 m relay | 43.5 row 17 : 2001 | european u23 championships | amsterdam, netherlands | 1st | 100 m | 11.61 row 18 : 2001 | european u23 championships | amsterdam, netherlands | 1st | 4x100 m relay | 44.76 row 19 : 2001 | world championships | edmonton, canada | 12th (sf) | 100 m | 11.46 row 20 : 2002 | european championships | munich, germany | 20th (h) | 100 m | 11.58 row 21 : 2003 | world championships | paris, france | 23rd (qf) | 200 m | 23.42 row 22 : 2004 | world indoor championships | budapest, hungary | 13th (sf) | 60 m | 7.3 row 23 : 2004 | world indoor championships | budapest, hungary | 10th (h) | 200 m | 23.79 row 24 : 2006 | european championships | gothenburg, sweden | 11th (h) | 4x100 m relay | 44.32 row 25 : 2007 | european indoor championships | birmingham, united kingdom | 5th (sf) | 60 m | 7.24 row 26 : 2007 | universiade | bangkok, thailand | 1st | 100 m | 11.46 row 27 : 2007 | universiade | bangkok, thailand | 1st | 4x100 m relay | 43.48 row 28 : 2007 | world championships | osaka, japan | 32nd (h) | 100 m | 11.52 row 29 : 2007 | world championships | osaka, japan | 10th (h) | 4x100 m relay | 43.41 ] Execute this SQL based on the above table: select count ( venue ) where position <= 1412
9
[ header: year | single | chart | position row 1 : 1986 | "holding out for a hero" | irish singles chart (1985) | 1 row 2 : 1986 | "holding out for a hero" | uk singles chart (1985) | 2 row 3 : 1986 | "holding out for a hero" | euro charts (1985) | 12 row 4 : 1986 | "holding out for a hero" | german singles chart (1984) | 19 row 5 : 1986 | "holding out for a hero" | canadian singles chart (1984) | 19 row 6 : 1986 | "holding out for a hero" | austrian singles chart (1984) | 19 row 7 : 1986 | "holding out for a hero" | swedish singles chart (1984 | 19 row 8 : 1986 | "holding out for a hero" | italian singles chart (1984) | 30 row 9 : 1986 | "holding out for a hero" | new zealand singles chart (1984 | 33 row 10 : 1986 | "holding out for a hero" | u.s. billboard singles chart | 34 row 11 : 1986 | "holding out for a hero" | australian singles chart (1984) | 44 row 12 : 1986 | "holding out for a hero" | uk singles chart (1991) | 69 row 13 : 1986 | "holding out for a hero" | uk singles chart (1984) | 96 row 14 : 1986 | "if you were a woman and i | venezuela | 1 row 15 : 1986 | "if you were a woman and i | french snep singles chart | 6 row 16 : 1986 | "if you were a woman and i | swiss singles chart | 16 row 17 : 1986 | "if you were a woman and i | uk club chart | 16 row 18 : 1986 | "if you were a woman and i | new zealand | 20 row 19 : 1986 | "if you were a woman and i | german singles chart | 32 row 20 : 1986 | "if you were a woman and i | australia | 77 row 21 : 1986 | "if you were a woman and i | u.s. billboard singles chart | 77 row 22 : 1986 | "if you were a woman and i | uk singles chart | 78 row 23 : 1986 | "if you were a woman and i | canada rpm | 87 row 24 : 1986 | "loving you's a dirty job | spain | 6 row 25 : 1986 | "loving you's a dirty job | switzerland | 24 row 26 : 1986 | "loving you's a dirty job | germany | 30 row 27 : 1986 | "loving you's a dirty job | french | 34 row 28 : 1986 | "loving you's a dirty job | uk | 73 row 29 : 1986 | "band of gold" | billboard hot dance breakouts singles sales | 6 row 30 : 1986 | "band of gold" | uk | 81 ] Execute this SQL based on the above table: select count ( single ) where single = '"holding out for a hero"'
13
[ header: date announced | plant name | location | date of closing | products | employees row 1 : january 23, 2006 | st. louis assembly | hazelwood, missouri | 2006 | ford explorer lincoln | 1445 row 2 : january 23, 2006 | atlanta assembly | hapeville, georgia | oct. 2006 | ford taurus mercury sable | 2028 row 3 : january 23, 2006 | batavia transmission | batavia, ohio | 2008 | transmissions | 1745 row 4 : january 23, 2006 | windsor casting | windsor, ontario, canada | 2008 | engine blocks, parts | 684 row 5 : january 23, 2006 | wixom assembly | wixom, michigan | june 2007 | lincoln town car lin | 1567 row 6 : april 13, 2006 | twin cities assembly | st. paul, minneso | 2011 | ford ranger mazda b | 1885 row 7 : april 13, 2006 | norfolk assembly | norfolk, virginia, | 2007 | ford f-series | 2433 row 8 : september 14, 2006 | essex engine | windsor, ontario, canada | 2008 | ford triton engine ford esse | None row 9 : september 14, 2006 | maumee stamping | maumee, ohio | 2008 | body panels | None row 10 : total | total | total | total | total | 11787 ] Execute this SQL based on the above table: select products where products in ( 'total' , 'ford triton engine ford essex v6 engine' ) order by employees desc limit 1
total
[ header: number | south or west terminus | north or east terminus | length (mi) | length (km) | formed | deleted | notes row 1 : sr-25 | sr-24 at fish lake junction | bowery haven resort (fish lake) | 9.995 | 16.085 | 1930s | current | None row 2 : us-40 | i-80 near park city | colorado state line near dinosaur, color | 174.624 | 281.03 | 1977 | current | None row 3 : sr-47 | arizona state line in monument valley | monticello | None | None | 1930s | 1977 | now us-163 and part of us-191 row 4 : sr-63 | None | None | None | None | 1930s | 1971 | None row 5 : i-70 | i-15 near cove fort | colorado state line near fruita, | 231.673 | 372.842 | 1977 | current | None row 6 : sr-70 | nevada state route 30 at the | us-30s near snowville | None | None | 1930s | 1977 | now part of sr-30 row 7 : sr-92 | i-15 in lehi | us-189 in provo canyon | 27.272 | 43.89 | 1977 | current | renumbered from sr-80 row 8 : sr-106 | i-15 west of bountiful | us-89 in farmington | 9.426 | 15.17 | 1930s | current | None row 9 : sr-126 | i-15 south of layton | us-89 at hot springs junction near pleasant | 21.609 | 34.776 | 1977 | current | None row 10 : sr-140 | hinckley | deseret | None | None | 1930s | 1969 | None row 11 : sr-143 | i-15 west of parowan | us-89 in panguitch | 51.206 | 82.408 | 1930s | current | None row 12 : sr-212 | i-15 near washington | washington | 1.289 | 2.074 | 1941 | current | None row 13 : sr-215 | None | None | None | None | 1957 | 1959 | None row 14 : sr-230 | None | None | None | None | 1941 | 1969 | None row 15 : sr-234 | None | None | None | None | 1941 | 1968 | None row 16 : sr-256 | None | None | None | None | 1955 | 1969 | None row 17 : sr-260 | None | None | None | None | 1957 | 1981 | None row 18 : sr-280 | i-80 south of coalville | coalville | 0.399 | 0.642 | 1963 | current | None row 19 : sr-311 | us-40 | starvation state park | 3.916 | 6.302 | 1972 | current | None row 20 : sr-317 | south 2700 west in west valley city | calvin l. rampton complex | 1.62 | 2.607 | 1983 | current | None ] Execute this SQL based on the above table: select formed where formed in ( 1963 , 1955 ) order by length (mi) desc limit 1
1963
[ header: date | series | circuit | city / state | winner | team | car | report row 1 : 23 feb | atcc round 1 | amaroo park | sydney, new south w | mark skaife | winfield team nissan | nissan skyline r32 | None row 2 : 8 mar | atcc round 2 | sandown international raceway | melbourne, victoria | john bowe | shell ultra-high racing | ford sierra rs500 | None row 3 : 15 mar | atcc round 3 | symmons plains raceway | launceston, tasmania | glenn seton | peter jackson racing | ford sierra rs500 | None row 4 : 5 apr | atcc round 4 | winton motor raceway | benalla, victoria | mark skaife | winfield team nissan | nissan skyline r32 | None row 5 : 3 may | atcc round 5 | lakeside international raceway | brisbane, queensland | tony longhurst | benson & hedges racing | bmw m3 evolution | None row 6 : 24 may | atcc round 6 | eastern creek raceway | sydney, new south w | john bowe | shell ultra-high racing | ford sierra rs500 | None row 7 : 31 may | atcc round 7 | mallala motor sport park | mallala, south australia | mark skaife | winfield team nissan | nissan skyline r32 | None row 8 : 7 jun | atcc round 8 | barbagallo raceway | perth, western australia | john bowe | shell ultra-high racing | ford sierra rs500 | None row 9 : 21 jun | atcc round 9 | oran park raceway | sydney, new south w | mark skaife | winfield team nissan | nissan skyline r32 | None row 10 : 13 sep | drink/drive sandown 500 | sandown international raceway | melbourne, victoria | larry perkins steve harrington | bob jane t-mart | holden vl commodore | report row 11 : 4 oct | tooheys 1000 | mount panorama circuit | bathurst, new south wales | mark skaife jim richard | winfield team nissan | nissan skyline r32 | report row 12 : 8 nov | clarke shoes group a finale | adelaide street circuit | adelaide, south australia | jim richards | winfield team nissan | nissan skyline r32 | None ] Execute this SQL based on the above table: select count ( * ) where winner = 'john bowe'
3
[ header: name | pos. | caps | goals | club row 1 : olle ahlund | mf | 6 | 0 | degerfors if row 2 : henry andersson | gk | 2 | 0 | ifk goteborg row 3 : bertil backvall | fw | 1 | 0 | hammarby if stockholm row 4 : henry "garvis" carls | fw | 5 | 4 | aik solna row 5 : arvid "emma" eman | mf | 5 | 0 | if elfsborg boras row 6 : rune "killing" emanu | mf/df | 3 | 0 | ifk goteborg row 7 : karl-erik grahn | mf | 4 | 1 | if elfsborg boras row 8 : gunnar "il professore" gren | fw | 6 | 9 | ifk goteborg row 9 : erik "mulle" holm | fw | 2 | 1 | ifk norrkoping row 10 : oskar "masse" hol | df | 2 | 0 | ifk norrkoping row 11 : ove karlsson-wid | df | 1 | 0 | aik solna row 12 : borje leander | df/mf | 4 | 0 | aik solna row 13 : gosta malm | df | 2 | 0 | ifk norrkoping row 14 : malte "svarta bli | fw | 1 | 0 | halsingborgs if row 15 : harry nilsson | df | 6 | 0 | aik solna row 16 : stellan nilsson | fw | 2 | 1 | malmo ff row 17 : bertil nordahl | df/mf | 2 | 0 | degerfors if row 18 : gunnar nordahl | fw | 5 | 6 | ifk norrkoping row 19 : knut nordahl | fw | 2 | 0 | ifk norrkoping row 20 : arne nyberg | fw | 6 | 4 | ifk goteborg row 21 : stig nystrom | fw | 1 | 1 | djurgardens if stockhol row 22 : vincent persson | fw | 1 | 1 | degerfors if row 23 : birger "bian" rosengren | mf | 1 | 0 | ifk norrkoping row 24 : carl-erik "pigge" | fw | 1 | 0 | malmo ff row 25 : carl "timpa" simons | fw | 1 | 0 | jonkopings sodra if row 26 : gustav "gurra" s | gk | 6 | 0 | aik solna row 27 : borje tapper | fw | 1 | 5 | malmo ff row 28 : lennart "skinnet" | mf | 1 | 0 | ifk norrkoping ] Execute this SQL based on the above table: select count ( * ) where goals = 0
18
[ header: year | title | role | notes row 1 : 2014 | and so it goes | producer | starring michael douglas and row 2 : 2011 | flypaper | producer | starring patrick dempsey and row 3 : 2007 | captivity | producer | None row 4 : 2006 | o jerusalem | producer | None row 5 : 2005 | the upside of anger | executive producer | starring kevin costner and jo row 6 : 2004 | beyond the sea | executive producer | starring kevin spacey row 7 : 2004 | the i inside | producer | None row 8 : 2003 | monster | producer | starring charlize theron academy row 9 : 2003 | 11:14 | executive producer | None row 10 : 2002 | extreme ops | executive producer | None row 11 : 2001 | the musketeer | executive producer | None row 12 : 2001 | the body | executive producer | None row 13 : 1997 | the blackout | executive producer | None row 14 : 1996 | the winner | executive producer | None row 15 : 1993 | stalingrad | executive producer | None row 16 : 1991 | diary of a hitman | executive producer | None row 17 : 1990 | vietnam, texas | executive producer | None row 18 : 1989 | wild orchid | producer | starring mickey rourke row 19 : 1988 | high spirits | executive producer | None row 20 : 1988 | mac and me | executive producer | None row 21 : 1986 | flight of the navigator | executive producer | None row 22 : 1986 | short circuit | executive producer | None row 23 : 1986 | 9 1/2 weeks | producer | starring mickey rourke and row 24 : 1984 | metropolis | sales agent | directed by fritz lang row 25 : 1984 | the neverending story | executive producer | directed by wolfgang petersen row 26 : 1977 | the choirboys | executive producer | None row 27 : 1974 | there is no 13 | george thomas | None row 28 : 1973 | "hannah, queen of the vampires" | peter | None row 29 : 1973 | the devil's wedding night | karl schiller | None row 30 : 1973 | little mother | riano | None row 31 : 1972 | byleth - il demone de | duke lionello shandwell | None row 32 : 1972 | i leoni di pietroburgo | eldar | None row 33 : 1972 | confessioni segrete di un convento di | domenico | None row 34 : 1972 | they call him veritas | veritas | None row 35 : 1971 | l'arciere di fuoco | allen | None row 36 : 1971 | pistol packin' preacher | slim | None row 37 : 1968 | dead men don't count | johnny dalton | None row 38 : 1967 | requiescant | george ferguson | also starring pier paolo pas row 39 : 1966 | johnny oro | johnny oro/ringo | directed by sergio corbucci row 40 : 1964 | son of cleopatra | el kebir | None row 41 : 1964 | i cento cavalieri | don fernando herrera y | None row 42 : 1963 | the tyrant of castile | pietro i: re di castigl | None row 43 : 1963 | the young racers | stephen children | directed by roger corman row 44 : 1962 | the reluctant saint | aldo | directed by edward dmytry row 45 : 1962 | the longest day | pvt. harris | also starring richard burton and se row 46 : 1962 | beauty and the beast | eduardo | None ] Execute this SQL based on the above table: select title where title != 'son of cleopatra' and year = ( select year where title = 'son of cleopatra' )
i cento cavalieri
[ header: rank | athlete | nationality | time | notes row 1 : None | valeriy borchin | russia | 1:19:56 | None row 2 : None | vladimir kanay | russia | 1:20:27 | None row 3 : None | luis fernando lopez | colombia | 1:20:38 | sb row 4 : 4 | wang zhen | china | 1:20:54 | None row 5 : 5 | stanislav emelyanov | russia | 1:21:11 | None row 6 : 6 | kim hyun-sub | south korea | 1:21:17 | None row 7 : 7 | ruslan dmytrenko | ukraine | 1:21:31 | sb row 8 : 8 | yusuke suzuki | japan | 1:21:39 | None row 9 : 9 | alex schwazer | italy | 1:21:50 | sb row 10 : 10 | erick barrondo | guatemala | 1:22:08 | None row 11 : 11 | chu yafei | china | 1:22:10 | None row 12 : 12 | sergey morozov | russia | 1:22:37 | None row 13 : 14 | matej toth | slovakia | 1:22:55 | None row 14 : 15 | eder sanchez | mexico | 1:23:05 | None row 15 : 16 | joao vieira | portugal | 1:23:26 | None row 16 : 17 | miguel angel lopez | spain | 1:23:41 | None row 17 : 18 | anton kucmin | slovakia | 1:23:57 | None row 18 : 19 | james rendon | colombia | 1:24:08 | sb row 19 : 20 | horacio nava | mexico | 1:24:15 | None row 20 : 21 | christopher linke | germany | 1:24:17 | None row 21 : 22 | caio bonfim | brazil | 1:24:29 | None row 22 : 23 | trevor barron | united states | 1:24:33 | None row 23 : 24 | rafał augustyn | poland | 1:24:47 | None row 24 : 25 | byun youngjun | south korea | 1:24:48 | None row 25 : 28 | recep celik | turkey | 1:25:39 | None row 26 : 29 | nazar kovalenko | ukraine | 1:25:50 | None row 27 : 31 | babubhai panucha | india | 1:26:53 | None row 28 : 32 | david kimutai | kenya | 1:27:20 | sb row 29 : 33 | yerko araya | chile | 1:27:47 | None row 30 : 34 | hedi teraoui | tunisia | 1:29:48 | None row 31 : 35 | diego flores | mexico | 1:30:00 | None row 32 : 37 | emerson hernandez | el salvador | 1:30:48 | sb row 33 : 38 | ronald quispe | bolivia | 1:32:09 | pb row 34 : None | moacir zimmermann | brazil | dsq | None row 35 : None | gustavo restrepo | colombia | dsq | None row 36 : None | giorgio rubino | italy | dsq | None row 37 : None | anatole ibanez | sweden | dsq | None row 38 : None | adam rutter | australia | dnf | None row 39 : None | mauricio arteaga | ecuador | dnf | None ] Execute this SQL based on the above table: select time where nationality = 'japan'
1:21:39
[ header: title | album details | peak chart positions us | peak chart positions us r&b | certifications row 1 : can-i-bus | released: september 8, 1998 label: universal format | 2 | 2 | riaa: gold row 2 : 2000 b.c. (before can- | released: july 18, 2000 label: universal | 23 | 6 | None row 3 : c! true hollywood stories | released: november 13, 2001 label: archives | None | 71 | None row 4 : mic club: the curriculum | released: november 19, 2002 label: mic | None | None | None row 5 : rip the jacker | released: july 22, 2003 label: baby | 194 | 34 | None row 6 : mind control | released: june 21, 2005 label: to | None | 79 | None row 7 : hip-hop for sale | released: november 22, 2005 label: baby | None | None | None row 8 : for whom the beat tolls | released: june 5, 2007 label: mic | None | None | None row 9 : melatonin magik | released: february 2, 2010 label: war | None | 91 | None row 10 : c of tranquility | released: october 5, 2010 label | None | 70 | None row 11 : lyrical law | released: june 24, 2011 label: can | None | None | None ] Execute this SQL based on the above table: select certifications order by title asc limit 762
riaa: gold
[ header: season | tier | division | place row 1 : 1963-86 | 5 | regional | None row 2 : 1986/87 | 5 | preferente | 2nd row 3 : 1987/88 | 4 | 3a | 15th row 4 : 1988/89 | 4 | 3a | 15th row 5 : 1989/90 | 4 | 3a | 17th row 6 : 1990/91 | 4 | 3a | 12th row 7 : 1991/92 | 4 | 3a | 18th row 8 : 1992/93 | 5 | preferente | 1st row 9 : 1993/94 | 4 | 3a | 14th row 10 : 1994/95 | 4 | 3a | 16th row 11 : 1995/96 | 4 | 3a | 19th row 12 : 1996/97 | 5 | preferente | 1st row 13 : 1997/98 | 4 | 3a | 7th row 14 : 1998/99 | 4 | 3a | 18th ] Execute this SQL based on the above table: select division where id = 1
regional