inputs
stringlengths
291
3.71k
targets
stringlengths
1
2.65k
[ header: year | competition | venue | position | notes row 1 : 1996 | olympic games | atlanta, united states | 36th (q) | 5.55 m row 2 : 1998 | asian games | bangkok, thailand | 8th | 6.07 m row 3 : 1999 | world championships | seville, spain | 23rd (q) | 6.40 m row 4 : 2000 | olympic games | sydney, australia | 14th (q) | 6.57 m row 5 : 2001 | world championships | edmonton, canada | 13th (q) | 6.46 m row 6 : 2002 | asian championships | colombo, sri lan | 1st | 6.61 m row 7 : 2002 | asian games | busan, south korea | 3rd | 6.30 m row 8 : 2003 | world championships | paris, france | 23rd (q) | 6.13 m row 9 : 2003 | asian championships | manila, philippines | 6th | 6.23 m row 10 : 2004 | olympic games | athens, greece | 11th | 6.53 m ] Execute this SQL based on the above table: select competition group by competition order by count ( * ) asc limit 1
asian championships
[ header: s.no. | name of kingdom | name of king | no. of villages | capital | names of districts row 1 : 1 | sihag | chokha singh | 150 | suin | rawatsar, baramsar, row 2 : 2 | beniwal | raisal singh | 150 | rasalana | bhukarka, sand row 3 : 3 | johiya | sher singh | 600 | bhurupal | jaitpur, kumanu, ma row 4 : 4 | punia | kanha singh | 300 | luddi | bhadra, ajitpura row 5 : 5 | saharan | pula singh | 300 | bhadang | khejra, phoglo row 6 : 6 | godara | pandu singh | 700 | shekhsar | shekhsar, pundrasar row 7 : 7 | kaswan | kanwarpal singh | 400 | sidhmukh | None ] Execute this SQL based on the above table: select count ( * ) where name of kingdom > 1854
7
[ header: constituency number | name | reserved for (sc/st/none) | district | number of electorates (2009) row 1 : 43 | tikamgarh | none | tikamgarh | 153339 row 2 : 44 | jatara | sc | tikamgarh | 145555 row 3 : 45 | prithvipur | none | tikamgarh | 139110 row 4 : 46 | niwari | none | tikamgarh | 141265 row 5 : 47 | khargapur | none | tikamgarh | 161546 row 6 : 48 | maharajpur | none | chhatarpur | 162460 row 7 : 51 | chhatarpur | none | chhatarpur | 152605 row 8 : 52 | bijawar | none | chhatarpur | 151159 row 9 : total | total | total | total | 1207.039 ] Execute this SQL based on the above table: select max ( constituency number )
52.0
[ header: no. | name | position | date of birth (age) | signed from | notes row 1 : 1 | leonardo burian | gk | january 21, 1984 (age 30) | bella vista | first team goalkeeper row 2 : 4 | christian nunez | df | september 24, 1982 (age 31) | cerro | None row 3 : 5 | santiago romero | mf | february 15, 1990 (age 24) | the academy | reserve team player row 4 : 6 | alexis rolin | df | march 2, 1989 (age 25) | the academy | None row 5 : 7 | rafael garcia | mf | january 6, 1989 (age 25) | rampla juniors | None row 6 : 10 | tabare viudez | fw | september 8, 1989 (age 24) | necaxa | None row 7 : 14 | diego placente | df | april 24, 1977 (age 37) | san lorenzo | None row 8 : 16 | mathias abero | df | april 9, 1990 (age 24) | racing | None row 9 : 17 | maximiliano calzada | mf | april 21, 1990 (age 24) | the academy | None row 10 : 19 | andres scotti | df | december 14, 1975 (age 38) | colo-colo | in on 3 january 2012 row 11 : 21 | matias vecino | mf | august 24, 1991 (age 22) | central espanol | None row 12 : 23 | facundo piriz | mf | march 27, 1990 (age 24) | the academy | None row 13 : 24 | marcos aguirre | mf | march 30, 1984 (age 30) | san martin (san | in on 12 january 2012 row 14 : 25 | jorge bava | gk | january 22, 1982 (age 32) | cerro | in on 13 january 2012 row 15 : None | diego barboza | df | january 9, 1991 (age 23) | the academy | reserve team player row 16 : None | sebastian coates | df | october 7, 1990 (age 23 | the academy | out on 26 august 2011 row 17 : None | gabriel marques | df | march 31, 1983 (age 31) | river plate | out on 29 december 2011 row 18 : None | gonzalo godoy | df | january 17, 1988 (age 26) | cerro | out on 5 january 2012 row 19 : None | sebastian gorga | df | april 6, 1994 (age 20) | the academy | reserve team player row 20 : None | maximiliano moreira | df | june 11, 1994 (age 20) | the academy | reserve team player row 21 : None | agustin tabarez | df | october 15, 1994 (age 19 | the academy | reserve team player row 22 : None | damian eroza | mf | march 22, 1993 (age 21) | the academy | reserve team player row 23 : None | gaston pereiro | mf | june 11, 1995 (age 19) | the academy | reserve team player row 24 : None | gonzalo vega | mf | june 29, 1992 (age 21) | the academy | reserve team player row 25 : None | leandro barcia | fw | october 8, 1993 (age 20 | the academy | reserve team player row 26 : None | lucas cavallini | fw | december 28, 1992 (age 21) | the academy | reserve team player row 27 : None | renato cesar | fw | april 8, 1993 (age 20) | the academy | None ] Execute this SQL based on the above table: select signed from where notes = 'first team goalkeeper' order by no. limit 1
bella vista
[ header: # | date | opponent | score | win | loss | save | attendance | record row 1 : 79 | july 1 | @ braves | 8-4 | gonzalez (11-3) | hudson (6-4) | None | 18796 | 45-32 row 2 : 82 | july 5 | giants | 6-5 | clippard (2-2) | casilla (2-4) | None | 29819 | 48-32 row 3 : 83 | july 6 | rockies | 1-5 | pomeranz (1-3) | strasburg (9-4) | betancourt (14) | 28951 | 48-33 row 4 : 84 | july 7 | rockies | 4-1 | gonzalez (12-3) | francis (2-2) | clippard (14) | 28032 | 49-33 row 5 : 85 | july 8 | rockies | 3-4 | brothers (4-2) | clippard (2-3) | betancourt (15) | 25125 | 49-34 row 6 : None | july 10 | 2012 major league baseball all-star game in | None | None | None | None | None | None row 7 : 86 | july 13 | @ marlins | 5-1 | zimmermann (6-6) | johnson (5-6) | None | 30911 | 50-34 row 8 : 88 | july 15 | @ marlins | 4-0 | strasburg (10-4) | nolasco (8-7) | None | 29889 | 51-35 row 9 : 89 | july 16 | @ marlins | 3-5 | zambrano (5-7) | jackson (5-5) | dunn (1) | 29248 | 51-36 row 10 : 91 | july 18 | mets | 4-3 | zimmermann (7-6) | young (2-4) | clippard (15) | 31660 | 53-36 row 11 : 92 | july 19 | mets | 5-9 | dickey (13-1) | gonzalez (12-5) | None | 36389 | 53-37 row 12 : 93 | july 20 | braves | 10-11 (11) | o'flaherty (2-0 | gorzelanny (2-2) | durbin (1) | 34228 | 53-38 row 13 : 94 | july 21 | braves | 0-4 | sheets (2-0) | jackson (5-6) | None | 28745 | 53-39 row 14 : 52 | july 21 | braves | 5-2 | lannan (1-0) | martinez (4-2) | clippard (16) | 40047 | 54-39 row 15 : 95 | july 22 | braves | 9-2 | detwiler (5-3) | jurrjens (3-4) | None | 34917 | 55-39 row 16 : 96 | july 23 | @ mets | 8-2 (10) | gorzelanny (3-2) | byrdak (2-2) | None | 26735 | 56-39 row 17 : 97 | july 24 | @ mets | 5-2 | gonzalez (13-5) | dickey (13-2) | clippard (17) | 36236 | 57-39 row 18 : 98 | july 25 | @ mets | 5-2 | strasburg (11-4) | hefner (1-4) | clippard (18) | 35517 | 58-39 row 19 : 99 | july 26 | @ brewers | 8-2 | jackson (6-6) | gallardo (8-8) | None | 33176 | 59-39 row 20 : 100 | july 27 | @ brewers | 0-6 | fiers (4-4) | detwiler (5-4) | None | 35858 | 59-40 row 21 : 101 | july 28 | @ brewers | 4-1 | zimmermann (8-6) | wolf (3-7) | clippard (19) | 41890 | 60-40 ] Execute this SQL based on the above table: select opponent where opponent in ( 'braves' , '@ brewers' ) and loss = 'gallardo (8-8)'
@ brewers
[ header: date | opponents | venue | result | scorers | attendance | report 1 | report 2 row 1 : 27-jan-68 | bournemouth | a | 0-0 | None | 24388 | report | report row 2 : 30-jan-68 | bournemouth | h | 4-1 | hateley 33' thompson 44 | 54075 | report | report row 3 : 17-feb-68 | walsall | a | 0-0 | None | 21066 | report | report row 4 : 19-feb-68 | walsall | h | 5-2 | hateley 24', 33', 64' | 39113 | report | report row 5 : 09-mar-68 | tottenham hotspur | a | 1-1 | hateley 54' | 54005 | report | report row 6 : 12-mar-68 | tottenham hotspur | h | 2-1 | hunt 23' smith 78 pen' | 53658 | report | report row 7 : 30-mar-68 | west bromwich albion | a | 0-0 | None | 53062 | report | report row 8 : 08-apr-68 | west bromwich albion | h | 1-1 | hateley 24' | 54273 | report | report row 9 : 18-apr-68 | west bromwich albion | n | 1-2 | hateley 39' | 56000 | report | report ] Execute this SQL based on the above table: select attendance where attendance = 54273
54273
[ header: rank | name | nationality | 1,62 | 1,67 | 1,72 | 1,75 | notes row 1 : 1 | dior delophont | france | None | o | o | o | q row 2 : 1 | ligia grozav | romania | None | o | o | o | q row 3 : 3 | iryna herashchenko | ukraine | None | o | xo | o | q row 4 : 4 | lucija zupzic | croatia | o | o | o | xo | q row 5 : 4 | chanice porter | jamaica | None | None | None | xo | q row 6 : 6 | alexandra plaza | germany | o | xo | o | xxo | q row 7 : 7 | nikola parilova | czech republic | o | o | o | xxx | q row 8 : 7 | ioanna koltsid | greece | o | o | o | xxx | q row 9 : 9 | leontia kallenou | cyprus | None | xo | xo | xxx | None row 10 : 10 | anna pau | italy | xxo | o | xxo | xxx | None row 11 : 11 | emily crutcher | australia | o | o | xxx | None | None row 12 : 11 | keeley o'hagan | new zealand | o | o | xxx | None | None row 13 : 13 | dace dreimane | latvia | xo | o | xxx | None | None row 14 : 14 | vivien baglyos | hungary | o | xo | xxx | None | None row 15 : 15 | thea lafond | dominica | xo | xxx | None | None | None ] Execute this SQL based on the above table: select rank where rank != 14 and 1,67 = 'o' limit 1
1.0
[ header: party | diet representation representatives | diet representation councillors | party leader(s) | comments row 1 : your party (yp) minna no | 18 | 18 | yoshimi watana | conservative liberalism, neoliberalism row 2 : japanese communist party (j | 8 | 11 | kazuo shii reps | the japanese communist party is row 3 : people's life party (plp) | 7 | 2 | ichiro ozawa reps | life party was founded by ichiro row 4 : social democratic party (sdp) s | 2 | 3 | mizuho fukushima co | sdp is a social democratic party row 5 : green wind midori no kaze みとりの風 | 2 | 0 | kuniko tanioka co | a house of councillors parliamentary group row 6 : new party daichi - true democrat | 1 | 0 | muneo suzuki | founded in december 2011 by new party da row 7 : new renaissance party (n | 0 | 1 | yoichi masuzo | conservatism, neoliberalism row 8 : okinawa socialist masses party (os | 0 | 1 | keiko itokazu coun | social democracy, okinawa regionalism ] Execute this SQL based on the above table: select count ( party leader(s) ) where party = 'green wind midori no kaze みとりの風' and party leader(s) > 503
0
[ header: tramway | country | city | height of pylons | span width, leaning straight line | span width, horizontal measurement | height of cable over ground | year of inauguration | notes row 1 : peak 2 peak gondola | canada | whistler | 65m | 3024 m | 3019 m | 436 m | 2008 | 3s aerial tramway constructed by doppel row 2 : hut of regensburg material transport aerial railway | austria | falbeson | None | None | None | 430 m | None | None row 3 : vanoise express | france | vanoise | none | 1850 m | 1800 m | 380 m | 2003 | None row 4 : aiguille du midi | france | chamonix | none | 2867 m | 2500 m | None | 1955 | 2nd section row 5 : vallee blanche aerial tramway | france | mont blanc | none | 2831 m, 1684 m | span is almost horizontal | appr. 300 m | 1958 | rock anchored support structure row 6 : 3s aerial tramway | austria | kitzbuhel | 0 m, 80m | 2507 m | None | 400 m | 2004 | None row 7 : sandia peak tramway | usa | albuquerque | 70.7 m, 21.33 m | 2353 m | None | 274 m | 1966 | None row 8 : feldmoos-chli-tit | switzerland | titlis | 37.6 m | 3476,2 m | None | None | 1979 | temp. site tramway, demolished in ] Execute this SQL based on the above table: select ( select sum ( year of inauguration ) where notes = 'rock anchored support structure' ) + ( select sum ( height of cable over ground ) where notes = 'rock anchored support structure' )
2258.0
[ header: season | competition | round | club | home | away | aggregate row 1 : 1996-97 | uefa cup winners' cup | qualifying round | kotayk abovian | 5-0 | 0-1 | 5-1 row 2 : 1996-97 | uefa cup winners' cup | first round | barcelona | 0-0 | 0-2 | 0-2 row 3 : 2004-05 | uefa cup | second qualifying round | maccabi petah tikva | 3-0 | 0-4 | 3-4 row 4 : 2011-12 | uefa europa league | second qualifying round | floriana | 1-0 | 8-0 | 9-0 row 5 : 2011-12 | uefa europa league | third qualifying round | mlada boleslav | 3-0 | 2-2 | 5-2 row 6 : 2011-12 | uefa europa league | play-off round | rosenborg | 2-1 | 0-0 | 2-1 row 7 : 2011-12 | uefa europa league | group stage (j) | maccabi haifa | 2-1 | 0-1 | 4th place row 8 : 2011-12 | uefa europa league | group stage (j) | steaua bucuresti | 1-1 | 1-3 | 4th place row 9 : 2011-12 | uefa europa league | group stage (j) | schalke 04 | 0-5 | 0-0 | 4th place ] Execute this SQL based on the above table: select competition order by id asc limit 1079
uefa cup winners' cup, uefa cup winners' cup, uefa cup, uefa europa league, uefa europa league, uefa europa league, uefa europa league, uefa europa league, uefa europa league
[ header: year | competition | venue | position | notes row 1 : 1994 | commonwealth games | victoria, canada | 6th | 400 m h row 2 : 1995 | world championships | gothenburg, sweden | 6th | 400 m h row 3 : 1997 | world championships | athens, greece | 7th | 4x400 m relay row 4 : 1998 | commonwealth games | kuala lumpur, malaysi | 3rd | 400 m h row 5 : 1998 | african championships | dakar, senegal | 2nd | 400 m h row 6 : 1999 | all-africa games | johannesburg, south africa | 2nd | 400 m h ] Execute this SQL based on the above table: select position order by year limit 1
6th
[ header: lift name | type | top elevation (ft) | bottom elevation | vertical rise | length (ft) | slope (%) | capacity (rides/hr) | speed (ft/min) | lift manufacturer | year installed row 1 : bruno | fixed double | 5885 | 5840 | 45 | 368 | 12% | 630 | 300 | poma | 1987 row 2 : molly's express | detach quad | 5835 | 4990 | 845 | 5244 | 16% | 1200 | 1000 | doppelmayr | 2000 row 3 : pucci | fixed triple | 5920 | 5350 | 570 | 3398 | 17% | 1330 | 450 | poma | 1987 row 4 : stormin' norman | detach quad | 6245 | 5460 | 785 | 4396 | 18% | 1500 | 1000 | doppelmayr | 2000 row 5 : magic mile express | detach quad | 6990 | 5915 | 1075 | 5359 | 20% | 1600 | 950 | poma | 1992 row 6 : palmer express | detach quad | 8470 | 6940 | 1530 | 5468 | 29% | 1800 | 1000 | doppelmayr | 1996 row 7 : jeff flood express (still creek basin) | detach quad | 6020 | 4850 | 1170 | 6506 | 18% | 1800 | 1000 | doppelmayr | 2007 ] Execute this SQL based on the above table: select lift name where lift name != 'jeff flood express (still creek basin)' and capacity (rides/hr) = ( select capacity (rides/hr) where lift name = 'jeff flood express (still creek basin)' )
palmer express
[ header: year | film | role | co-star | director | notes row 1 : 2004 | bachelor | None | None | mostofa sarwar farook | special appearance row 2 : 2010 | dubshatar | renu | shehzad chowdhury | nurul alam atik | first debut film daily star celebrating life-best actress row 3 : 2011 | firey esho behula | tanima | intekhab deenar, shahid | tanim noor | None row 4 : 2011 | guerrilla | bilkis banu | ferdous ahmed, | nasiruddin yousuff | national film award meril prothom al row 5 : 2012 | chorabali | noboni afroz | indraneil sengupt | redwan rony | national film award meril prothom al row 6 : 2013 | aborto | charu sen | tota roy chowdhur | arindam sil | first debut film in tollywood row 7 : 2013 | purnodoirgho prem | jara/zara | shakib khan, arefin | shafi uddin sha | first film with shakib khan row 8 : 2014 | parle theka (filming) | None | sushama sarkar | maruf hasan | None row 9 : 2014 | zero degree (filming) | sonia | mahfuz ahmed, r | animesh aich | None ] Execute this SQL based on the above table: select co-star order by year desc limit 1
sushama sarkar
[ header: country | zone | national federation | #gm | #fide | national championship row 1 : australia | 3.6 | australian chess federation | 2 | 468 | australian chess championship row 2 : belarus | 1.8 | belarus chess federation | 13 | 425 | belarusian chess championship row 3 : bulgaria | 1.4 | българска ф | 25 | 606 | bulgarian chess championship row 4 : costa rica | 2.3c | federacion central de ajed | 1 | 88 | costa rican chess championship row 5 : england | 1.1a | english chess federation | 35 | 1211 | british chess championship row 6 : fiji | 3.6 | fiji chess federation | 0 | 9 | fijian chess championship row 7 : germany | 1.2a | deutscher schachbund | 66 | 10897 | german chess championship row 8 : guyana | None | guyana chess federation | None | None | guyanese chess championship row 9 : iceland | 1.3 | skaksamband islands | 11 | 227 | icelandic chess championship row 10 : luxembourg | 1.1b | federation luxembourgeoise des e | 1 | 99 | luxembourgian chess championship row 11 : morocco | 4.1 | fed. royale marocaine des e | 1 | 68 | moroccan chess championship row 12 : nepal | 3.5 | nepal chess association | 1 | 155 | nepal chess championship row 13 : peru | 2.4 | federacion peruana de | 1 | 258 | peruvian chess championship row 14 : singapore | 3.3 | singapore chess federation | 4 | 132 | singaporean chess championship row 15 : slovakia | 1.4 | slovensky sachovy z | 9 | 1152 | slovak chess championship row 16 : slovenia | 1.2a | sahovska zveza | 5 | 548 | slovenian chess championship row 17 : tajikistan | 3.4 | federazijai shakhmati | 1 | 17 | tajikistani chess championship row 18 : turkey | 1.5a | turkiye satranc | 2 | 545 | turkish chess championship row 19 : united states | 2.1 | united states chess federation | 61 | 1785 | u.s. chess championship row 20 : venezuela | 2.3c | fed. venezolana de a | 1 | 136 | venezuelan chess championship row 21 : zambia | 4.3 | chess federation of zambi | 1 | 21 | zambian chess championship ] Execute this SQL based on the above table: select ( select count ( * ) where zone = '4.3' ) - ( select count ( * ) where zone = '1.1a' )
0
[ header: line | year opened | termini | termini row 1 : j church | 1917 | embarcadero station | balboa park station row 2 : k ingleside | 1918 | embarcadero station | balboa park station row 3 : l taraval | 1919 | embarcadero station | 46th avenue and wawona s row 4 : m ocean view | 1925 | embarcadero station | san jose and geneva balb row 5 : n judah | 1928 | 4th and king station caltrain depot | judah and la playa ocean beach row 6 : t third street | 2007 | west portal station | sunnydale station row 7 : s castro shuttle (peak hours & | None | embarcadero station 4th and | castro station west portal station (game days) ] Execute this SQL based on the above table: select termini
balboa park station, balboa park station, 46th avenue and wawona san francisco zoo, san jose and geneva balboa park station, judah and la playa ocean beach, sunnydale station, castro station west portal station (game days)
[ header: pos. | city | population (ab) | surface (km2) | density (ab/km2) | altitude (mslm) row 1 : 1st | bergamo | 121.316 | 39.6 | 3064 | 249 row 2 : 2nd | treviglio | 29.334 | 31.54 | 930 | 125 row 3 : 3rd | seriate | 25.036 | 12.41 | 2017 | 247 row 4 : 4th | dalmine | 23.237 | 11.6 | 2003 | 207 row 5 : 5th | romano di lombardia | 19.472 | 18.03 | 1080 | 120 row 6 : 6th | albino | 18.232 | 31.32 | 582 | 342 row 7 : 7th | caravaggio | 16.258 | 32.81 | 496 | 111 row 8 : 8th | alzano lombardo | 13.821 | 13.43 | 1029 | 304 row 9 : 9th | stezzano | 12.999 | 9.25 | 1405 | 211 row 10 : 10th | osio sotto | 12.083 | 7.45 | 1622 | 182 ] Execute this SQL based on the above table: select city order by altitude (mslm) desc limit 1
albino
[ header: year | single | chart | position row 1 : 1999 | "heavy" | billboard hot 100 | 73 row 2 : 1999 | "heavy" | mainstream rock tracks | 1 row 3 : 1999 | "heavy" | modern rock tracks | 5 row 4 : 1999 | "run" | billboard hot 100 | 76 row 5 : 1999 | "run" | modern rock tracks | 36 row 6 : 1999 | "run" | adult top 40 | 12 row 7 : 1999 | "no more, no less" | mainstream rock tracks | 10 row 8 : 1999 | "no more, no less" | modern rock tracks | 32 row 9 : 1999 | "tremble for my beloved" | mainstream rock tracks | 35 ] Execute this SQL based on the above table: select count ( chart ) where chart = 'mainstream rock tracks'
3
[ header: title | release | genre | computer | console | handheld | smartphone row 1 : bionicle heroes | 2006 | third-person shooter | windows | playstation 2, gamecube, xbox | nintendo ds | None row 2 : bionicle: matoran adventures | 2002 | platformer | None | None | game boy advance | None row 3 : bionicle: maze of shadows | 2005 | turn based rpg | None | None | game boy advance | None row 4 : bionicle: the game | 2003 | adventure | windows, os x | playstation 2, gamecube, xbox | game boy advance | None row 5 : drome racers | 2002 | racing | windows | playstation 2, gamecube, xbox | game boy advance | None row 6 : island xtreme stunts | 2002 | action-adventure | windows | playstation 2 | game boy advance | None row 7 : lego alpha team | 2000 | action | windows | None | game boy color | None row 8 : lego battles | 2009 | real-time strategy | None | None | nintendo ds | None row 9 : lego battles: ninjago | 2011 | real-time strategy | None | None | nintendo ds | ios row 10 : lego chess | 1998 | strategy | windows | None | None | None row 11 : lego city undercover | 2013 | open world, platform game | None | wii u | None | None row 12 : lego city undercover: the chase begins | 2013 | open world, platform game | None | None | nintendo 3ds | None row 13 : lego creationary | 2011 | puzzle | None | None | None | ios, android row 14 : lego creator: knights kingdom | 2000 | construction and management simulation | windows | None | None | None row 15 : lego friends | 2013 | miscellaneous | None | None | nintendo ds, | None row 16 : lego island | 1997 | action-adventure | windows | None | None | None row 17 : lego island 2 the brickster's revenge | 2001 | action-adventure | windows | playstation | game boy color, game boy advance | None row 18 : lego knights' kingdom | 2004 | action-adventure | None | None | game boy advance | None row 19 : lego legends of chima online | 2014 | massively multiplayer online (mmo) | windows | None | None | None row 20 : lego legends of chima: speed | 2013 | racing | windows | None | None | ios row 21 : lego loco | 1998 | virtual world | windows | None | None | None row 22 : lego minifigures online | 2014 | massively multiplayer online (mmo) | windows | None | None | ios, android row 23 : lego my style kindergarten | 2000 | educational | windows, mac os | None | None | None row 24 : lego my style preschool | 2000 | educational | windows, mac os | None | None | None row 25 : lego ninjago: the final | 2013 | platformer | windows | None | None | None row 26 : lego racers | 1999 | racing | windows | playstation, nintendo 64 | game boy color | None row 27 : lego racers 2 | 2001 | racing | windows | playstation 2 | game boy advance | None row 28 : lego rock raiders | 1999 | real-time strategy, action | windows | playstation | None | None row 29 : lego soccer mania | 2002 | sport | windows | playstation 2 | game boy advance | None row 30 : lego stunt rally | 2000 | racing | windows | None | game boy color | None row 31 : lego universe | 2010 | massively multiplayer online (mmo) | windows, os x | None | None | None row 32 : legoland | 1999 | simulation strategy | windows | None | None | None ] Execute this SQL based on the above table: select console where release <= 2014
playstation 2, gamecube, xbox, xbox 360, wii, playstation 2, gamecube, xbox, playstation 2, gamecube, xbox, playstation 2, wii u, playstation, playstation, nintendo 64, playstation 2, playstation, playstation 2
[ header: category | urban settlements | population | male | female | inhabited localities in jurisdiction row 1 : urban | dzhebariki-khaya | 1694 | 844 (49.8%) | 850 (50.2%) | urban-type settlement of dzhebar row 2 : urban | khandyga (ханд | 6638 | 3326 (49.8%) | 3312 (50.2%) | urban-type settlement of khandyg row 3 : rural | bayagantaysky na | 1823 | 884 (48.5%) | 939 (51.5%) | selo of krest-khal row 4 : rural | megino-aldansky n | 1020 | 490 (48.0%) | 530 (52.0%) | selo of megino-al row 5 : rural | okhot-perevozovsky | 142 | 70 (49.3%) | 72 (50.7%) | selo of okhotsky-per row 6 : rural | sasylsky na | 555 | 275 (49.5%) | 280 (50.5%) | selo of keskil row 7 : rural | teploklyuchevsky | 887 | 447 (50.4%) | 440 (49.6%) | selo of teply row 8 : rural | tomponsky national nasleg | 915 | 458 (50.1%) | 457 (49.9%) | selo of topolinoye row 9 : rural | ynginsky nasleg | 425 | 217 (51.1%) | 208 (48.9%) | selo of novy selo ] Execute this SQL based on the above table: select inhabited localities in jurisdiction where id = ( select id where inhabited localities in jurisdiction = 'selo of topolinoye' ) - 1
selo of teply klyuch selo of aeroport selo of razbilka
[ header: operators | named trains | destination | year begun | year discontinued row 1 : baltimore and ohio | capitol limited | chicago, illinois via | 1923 | 1958 row 2 : baltimore and ohio | metropolitan special | st. louis, missouri | ca. 1920 | 1958 row 3 : baltimore and ohio | national limited | st. louis, missouri | 1925 | 1958 row 4 : baltimore and ohio | royal blue | washington, d.c | 1890 | 1958 row 5 : central railroad of new jersey | blue comet | atlantic city, new jersey | 1929 | 1941 row 6 : reading railroad with the central railroad of new jersey | crusader | philadelphia, pennsy | 1937 | 1967 row 7 : reading railroad with the central railroad of new jersey | harrisburg special | harrisburg, pennsyl | None | None row 8 : reading railroad with the central railroad of new jersey | queen of the valley | harrisburg, pennsyl | None | 1967 row 9 : reading railroad with the central railroad of new jersey | wall street | philadelphia, pennsy | None | None row 10 : reading railroad with the central railroad of new jersey | williamsporter | williamsport, pennsyl | None | None ] Execute this SQL based on the above table: select year begun order by year discontinued desc limit 1
1937
[ header: ep# | title | broadcast date | written by | directed by row 1 : 1 | "birth of a legend" | april 18, 1995 | michael piller & bill dial | charles correll row 2 : 2 | "mr. pratt goes to | april 25, 1995 | michael piller & bill dial | william gereghty row 3 : 3 | "legend on his president's secret service | may 2, 1995 | bob wilcox | michael vejar row 4 : 4 | "custer's next to last stand" | may 9, 1995 | bill dial | william gereghty row 5 : 5 | "the life, death, and life of wild | may 16, 1995 | peter allan fields | michael caffey row 6 : 6 | "knee-high noon" | may 23, 1995 | steve stolier & fr | james l. conway row 7 : 7 | "the gospel according to legend" | june 12, 1995 | john considine | michael vejar row 8 : 8 | "bone of contention" | june 20, 1995 | george geiger | charles correll row 9 : 9 | "revenge of the herd" | july 4, 1995 | tim burns | bob balaban row 10 : 10 | "fall of a legend" | july 18, 1995 | bob shane & r | michael vejar row 11 : 11 | "clueless in san franci | july 25, 1995 | carol caldwell & marianne clark | charles correll row 12 : 12 | "skeletons in the closet" | august 8, 1995 | david rich | steve shaw ] Execute this SQL based on the above table: select count ( * ) where written by = 1276 and directed by = 'michael vejar'
0
[ header: season | level | division | section | position | movements row 1 : 1999 | tier 5 | division 4 | gotland | 6th | varserier (spring series) row 2 : None | tier 5 | division 4 | gotland | 5th | hostserier (autumn series) row 3 : 2000 | tier 5 | division 4 | gotland | 2nd | varserier (spring series) row 4 : None | tier 5 | division 4 | uppland/gotland host | 10th | hostserier (autumn series) row 5 : 2001 | tier 5 | division 4 | gotland | 4th | varserier (spring series) row 6 : None | tier 5 | division 4 | gotland | 4th | slutspel a ( row 7 : 2002 | tier 5 | division 4 | gotland | 3rd | promotion playoffs row 8 : 2003 | tier 5 | division 4 | gotland | 6th | None row 9 : 2004 | tier 5 | division 4 | gotland | 4th | None row 10 : 2005 | tier 5 | division 4 | gotland | 1st | None row 11 : 2006 | tier 5 | division 3 | ostra svealand | 12th | relegated row 12 : 2007 | tier 6 | division 4 | gotland | 2nd | None row 13 : 2008 | tier 6 | division 4 | gotland | 3rd | None row 14 : 2009 | tier 6 | division 4 | gotland | 7th | None row 15 : 2010 | tier 6 | division 4 | gotland | 2nd | None row 16 : 2011 | tier 6 | division 4 | gotland | 4th | None ] Execute this SQL based on the above table: select movements where season > 560
varserier (spring series), varserier (spring series), varserier (spring series), promotion playoffs, relegated
[ header: pos. | athlete | run 1 | run 2 | total row 1 : 1 | aronne pieruz | 50.39 | 58.25 | 1:48.64 row 2 : 2 | filip trejbal | 50.68 | 58.84 | 1:49.52 row 3 : 3 | adam cole | 51.4 | 58.51 | 1:49.91 row 4 : 4 | tague thorson | 51.2 | 59.13 | 1:50.33 row 5 : 5 | jan urfer | 51.54 | 59.1 | 1:50.64 row 6 : 6 | charles christianson | 51.75 | 58.91 | 1:50.66 row 7 : 7 | francesco ghedina | 51.37 | 59.39 | 1:50.94 row 8 : 8 | luca moretti | 52.05 | 58.89 | 1:51.17 row 9 : 9 | cameron barnes | 51.66 | 59.51 | 1:51.37 row 10 : 10 | martin vrablik | 52.77 | 58.6 | 1:51.48 ] Execute this SQL based on the above table: select athlete where athlete < ( select athlete where athlete = 'luca moretti' ) order by athlete desc limit 1
jan urfer
[ header: school | location | control | type | enrollment | founded row 1 : air force institute of technology | wright-patterson af | public | dru | 719 | 1919 row 2 : california institute of technology | pasadena, californi | private | ru/vh | 2231 | 1891 row 3 : california polytechnic state | san luis obispo, | public | master's l | 18762 | 1901 row 4 : california state polytechnic | pomona, california | public | master's l | 22273 | 1938 row 5 : clarkson university | potsdam, ny | private | ru/h | 3187 | 1896 row 6 : colorado school of mines | golden, colorado | public | ru/h | 4296 | 1874 row 7 : colorado technical university | colorado springs, colorad | private | dru | 30020 | 1965 row 8 : florida institute of technology | melbourne, florida | private | dru | 8985 | 1958 row 9 : georgia institute of technology | atlanta, georgia | public | ru/vh | 20487 | 1885 row 10 : illinois institute of technology | chicago, illinois | private | ru/h | 7787 | 1890 row 11 : massachusetts institute of technology | cambridge, massachusetts | private | ru/vh | 10894 | 1861 row 12 : michigan technological university | houghton, michigan | public | ru/h | 6957 | 1885 row 13 : missouri university of science and technology | rolla, missouri | public | ru/h | 7521 | 1870 row 14 : montana tech of the university of montan | butte, montana | public | bac/diverse | 2694 | 1900 row 15 : new jersey institute of technology | newark, new jersey | private | ru/h | 9558 | 1881 row 16 : new mexico institute of mining and technology | socorro, new mexico | public | master's m | 1921 | 1889 row 17 : oregon institute of technology | klamath falls, oregon | public | bac/diverse | 3927 | 1947 row 18 : polytechnic institute of new york university | brooklyn, new york | private | ru/h | 4514 | 1854 row 19 : rensselaer polytechnic institute | troy, new york | private | ru/vh | 7521 | 1824 row 20 : rochester institute of technology | henrietta, new york | private | master's l | 17652 | 1829 row 21 : rose-hulman institute of technology | terre haute, indiana | private | spec/engg | 1970 | 1874 row 22 : south dakota school of mines and technology | rapid city, south dakota | public | spec/engg | 2354 | 1885 row 23 : southern polytechnic state university | marietta, georgia | public | master's m | 6202 | 1948 row 24 : stevens institute of technology | hoboken, new jersey | private | ru/h | 5260 | 1870 row 25 : texas tech university | lubbock, texas | public | ru/h | 32327 | 1923 row 26 : university of wisconsin-stout | menomonie, wisconsin | public | master's l | 9339 | 1891 row 27 : virginia polytechnic institute and state university | blacksburg, virginia | public | ru/vh | 30739 | 1872 ] Execute this SQL based on the above table: select count ( location ) where enrollment = 3187
1
[ 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 single where single in ( '"band of gold"' , '"if you were a woman and i was a man"' ) order by position desc limit 1
"if you were a woman and i was a man"
[ header: week | date | opponent | result | record | attendance | bye row 1 : 1 | september 11, 2005 | indianapolis colts | l 24-7 | 0-1-0 | 70501 | 0 row 2 : 2 | september 18, 2005 | at tennessee titans | l 25-10 | 0-2-0 | 69149 | 0 row 3 : 3 | None | None | None | None | None | 1 row 4 : 4 | october 2, 2005 | new york jets | w 13-3 | 1-2-0 | 70479 | 0 row 5 : 5 | october 9, 2005 | at detroit lions | l 35-17 | 1-3-0 | 61201 | 0 row 6 : 6 | october 16, 2005 | cleveland browns | w 16-3 | 2-3-0 | 70196 | 0 row 7 : 7 | october 23, 2005 | at chicago bears | l 10-6 | 2-4-0 | 62102 | 0 row 8 : 8 | october 31, 2005 | at pittsburgh steelers | l 20-19 | 2-5-0 | 64178 | 0 row 9 : 9 | november 6, 2005 | cincinnati bengals | l 21-9 | 2-6-0 | 70540 | 0 row 10 : 10 | november 13, 2005 | at jacksonville jaguars | l 30-3 | 2-7-0 | 66107 | 0 row 11 : 11 | november 20, 2005 | pittsburgh steelers | w 16-13 ot | 3-7-0 | 70601 | 0 row 12 : 12 | november 27, 2005 | at cincinnati bengals | l 42-29 | 3-8-0 | 65680 | 0 row 13 : 13 | december 4, 2005 | houston texans | w 16-15 | 4-8-0 | 69909 | 0 row 14 : 14 | december 11, 2005 | at denver broncos | l 12-10 | 4-9-0 | 75651 | 0 row 15 : 15 | december 19, 2005 | green bay packers | w 48-3 | 5-9-0 | 70604 | 0 row 16 : 16 | december 25, 2005 | minnesota vikings | w 30-23 | 6-9-0 | 70246 | 0 row 17 : 17 | january 1, 2006 | at cleveland browns | l 20-16 | 6-10-0 | 69871 | 0 ] Execute this SQL based on the above table: select week where week = 12
12.0
[ header: date | venue | opponents | score | competition | scotland scorer(s) row 1 : 21 october 1950 | ninian park, cardiff (a | wales | 3-1 | bhc | lawrie reilly (2), billy row 2 : 1 november 1950 | hampden park, glasgow | northern ireland | 6-1 | bhc | billy steel (4), john m row 3 : 13 december 1950 | hampden park, glasgow | austria | 0-1 | friendly | None row 4 : 14 april 1951 | wembley stadium, london | england | 3-2 | bhc | bobby johnstone, lawrie row 5 : 12 may 1951 | hampden park, glasgow | denmark | 3-1 | friendly | billy steel, lawrie reilly row 6 : 16 may 1951 | hampden park, glasgow | france | 1-0 | friendly | lawrie reilly row 7 : 20 may 1951 | heysel stadium, brussel | belgium | 5-0 | friendly | george hamilton (3), row 8 : 27 may 1951 | prater stadium, vienna ( | austria | 0-4 | friendly | None ] Execute this SQL based on the above table: select ( select count ( * ) where score = '3-1' ) >= 258
0
[ header: year | title | role | notes row 1 : 1978 | the big fix | pool man | None row 2 : 1979 | french postcards | sayyid | None row 3 : 1979 | last embrace | first commuter | None row 4 : 1980 | night of the juggler | allesandro the cabbie | None row 5 : 1981 | ragtime | tateh | None row 6 : 1983 | yentl | avigdor | nominated-golden globe award for best row 7 : 1983 | daniel | paul isaacson | None row 8 : 1985 | maxie | nick | None row 9 : 1986 | tenku no shiro rap | louis | None row 10 : 1987 | the princess bride | inigo montoya | None row 11 : 1988 | alien nation | detective samuel 'ge | nominated-saturn award for best row 12 : 1988 | the house on carroll street | ray salwen | None row 13 : 1990 | dick tracy | 88 keys | None row 14 : 1991 | true colors | john palmeri | None row 15 : 1991 | impromptu | alfred de musset | None row 16 : 1991 | the doctor | dr. murray kaplan | None row 17 : 1993 | the music of chance | jim nashe | None row 18 : 1993 | life with mikey | irate man | None row 19 : 1994 | squanto: a warrior's | brother daniel | None row 20 : 1998 | lulu on the bridge | philip kleinman | None row 21 : 1998 | men with guns | andrew | None row 22 : 1999 | the adventures of elmo in | huxley | None row 23 : 2001 | pinero | joseph papp | None row 24 : 2002 | run ronnie run | himself | None row 25 : 2003 | celebrity train layouts: mandy patin | himself | None row 26 : 2005 | the choking man | rick | None row 27 : 2006 | everyone's hero | stanley irving | None row 28 : 2010 | 4.3.2.1 ... the countdown begins | jago l | None row 29 : 2014 | wish i was here | saul bloom | None ] Execute this SQL based on the above table: select title where year = 1993
the music of chance, life with mikey
[ header: year | place | gold | silver | bronze row 1 : 1970 | phoenix | united states of america sally carroll | soviet union nadezd | federal republic of germany ortrud f row 2 : 1974 | thun | soviet union galina zari | czechoslovakia ter | australia judith harrison en row 3 : 1978 | seoul | denmark kirsten broge bonnie | australia julie aitken patricia | united states of america sally carroll row 4 : 1982 | caracas | soviet union marina dobrantcheva | hungary palma balogh mart | people's republic of china jian row 5 : 1986 | suhl | soviet union marina dobrantcheva | france martine guepin eve | albania diana mata eman row 6 : 1990 | moscow | soviet union yauheniy | sweden kerstin bodin | people's republic of china haiying row 7 : 1994 | milan | people's republic of china xiaoping | korea soon hee boo | belarus zhanna shitik row 8 : 1998 | barcelona | people's republic of china yeq | korea eun kyung | mongolia munkhbayar row 9 : 2002 | lahti | people's republic of china luna ta | russia irina dolgat | united states of america elizabe row 10 : 2006 | zagreb | people's republic of china ying chen | belarus liudmila | germany munkhbayar dor ] Execute this SQL based on the above table: select gold order by year desc limit 1
people's republic of china ying chen fengji fei duihong li
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | france | 28 | 28 | 24 | 80 row 2 : 2 | romania | 16 | 3 | 5 | 24 row 3 : 3 | canada | 14 | 10 | 15 | 39 row 4 : 4 | quebec | 8 | 4 | 16 | 28 row 5 : 5 | morocco | 6 | 11 | 7 | 24 row 6 : 6 | tunisia | 4 | 7 | 1 | 12 row 7 : 7 | egypt | 2 | 5 | 4 | 11 row 8 : 8 | switzerland | 2 | 1 | 5 | 8 row 9 : 9 | senegal | 2 | 1 | 3 | 6 row 10 : 10 | french community of belgium | 1 | 3 | 6 | 10 row 11 : 11 | madagascar | 1 | 2 | 3 | 6 row 12 : 12 | burkina faso | 1 | None | 2 | 3 row 13 : 13 | togo | 1 | None | 1 | 2 row 14 : 14 | guinea | 1 | None | None | 1 row 15 : 15 | lebanon | 1 | None | None | 1 row 16 : 16 | ivory coast | None | 3 | 3 | 6 row 17 : 17 | republic of the congo | None | 3 | 2 | 5 row 18 : 18 | new brunswick | None | 1 | 2 | 3 row 19 : 19 | central african republic | None | 1 | None | 1 row 20 : 20 | dominica | None | 1 | None | 1 row 21 : 21 | gabon | None | 1 | None | 1 row 22 : 22 | mali | None | 1 | None | 1 row 23 : 23 | cambodia | None | None | 2 | 2 row 24 : 24 | luxembourg | None | None | 2 | 2 row 25 : 25 | mauritius | None | None | 2 | 2 row 26 : 26 | burundi | None | None | 1 | 1 row 27 : 27 | djibouti | None | None | 1 | 1 row 28 : 28 | vietnam | None | None | 1 | 1 ] Execute this SQL based on the above table: select count ( * )
28
[ header: place | team | matches | won | drawn | lost | difference | points row 1 : 1 | canada | 6 | 6 | 0 | 0 | 62-6 | 12 row 2 : 2 | sweden | 6 | 4 | 1 | 1 | 33-14 | 9 row 3 : 3 | switzerland | 6 | 4 | 1 | 1 | 28-12 | 9 row 4 : 4 | norway | 6 | 2 | 0 | 4 | 10-27 | 4 row 5 : 5 | great britain | 6 | 1 | 1 | 4 | 18-42 | 3 row 6 : 6 | united states | 6 | 1 | 1 | 4 | 14-42 | 3 row 7 : 7 | finland | 6 | 1 | 0 | 5 | 15-37 | 2 ] Execute this SQL based on the above table: select count ( place ) where difference = '5'
0
[ header: year | english title | chinese title | director | role row 1 : 1933 | twenty-four hours in shanghai | 上海二十四小时 | shen xiling | None row 2 : 1937 | street angel | 马路天使 | yuan muzhi | xiao chen row 3 : 1937 | crossroads | 十字街头 | shen xiling | zhao row 4 : 1947 | far away love | 遙遠的愛 | chen liting | xiao yuanxi row 5 : 1947 | rhapsody of happiness | 幸福狂想曲 | chen liting | None row 6 : 1949 | crows and sparrows | 烏鴉与麻雀 | zheng junli | little broadcast row 7 : 1949 | women side by side | 丽人行 | chen liting | zhang yuliang row 8 : 1950 | the life of wu xun | 武训传 | sun yu | wu xun row 9 : 1951 | the married couple | 我们夫妇之间 | zheng junli | None row 10 : 1956 | li shizhen | 李时珍 | shen fu | li shizhen row 11 : 1958 | lin zexu | 林则徐 | zheng junli | lin zexu row 12 : 1959 | nie er | 聂耳 | zheng junli | nie er ] Execute this SQL based on the above table: select max ( year ) - min ( year )
26
[ 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 count ( distinct record )
36
[ header: number | builder | entered service | withdrawn | notes row 1 : 439 | nzr addington | 9-1-1909 | 2-3-1957 | converted to 4-cylinder simple, 6-1949 row 2 : 440 | nzr addington | 25-3-1909 | 2-3-1957 | converted to 4-cylinder simple, 7-1948 row 3 : 441 | nzr addington | 10-5-1909 | 2-3-1957 | None row 4 : 442 | nzr addington | 10-7-1909 | 4-3-1944 | converted to 4-cylinder simple, 6-1943. row 5 : 443 | nzr addington | 1-12-1909 | 2-3-1957 | converted to 4-cylinder simple, 7-1947 row 6 : 444 | nzr addington | 3-2-1910 | 2-3-1957 | converted to 4-cylinder simple, 12-1949 row 7 : 445 | nzr addington | 24-5-1910 | 26-5-1949 | None row 8 : 446 | nzr addington | 30-4-1910 | 6-12-1946 | converted to 4-cylinder simple, 12-1946. row 9 : 588 | nzr addington | 14-10-1913 | 2-3-1957 | converted to 4-cylinder simple, 5-1951 row 10 : 589 | nzr addington | 11-11-1949 | 6-1949 | None row 11 : 590 | nzr addington | 27-1-1914 | 2-3-1957 | None row 12 : 591 | nzr addington | 17-3-1914 | 2-3-1957 | converted to 4-cylinder simple, 12-1950 row 13 : 592 | nzr addington | 22-6-1914 | 2-3-1957 | converted to 4-cylinder simple, 10-1950 row 14 : 593 | nzr addington | 3-9-1914 | 2-3-1957 | converted to 4-cylinder simple, 6-1950 row 15 : 594 | nzr addington | 31-10-1914 | 2-3-1957 | converted to 4-cylinder simple, 5-1945 row 16 : 595 | nzr addington | 3-12-1914 | 2-3-1957 | None row 17 : 596 | nzr addington | 26-1-1915 | 2-3-1957 | converted to 4-cylinder simple, 12-1949 row 18 : 597 | nzr addington | 1-4-1915 | 2-3-1957 | None ] Execute this SQL based on the above table: select count ( builder ) where withdrawn = '2-3-1957'
14
[ header: rank | views | closed | item row 1 : 1 | 1319214 | 10 july 2013 | a printer which was stated to be faulty row 2 : 2 | 1072893 | 3 june 2006 | wellington hurricanes player tana um row 3 : 3 | 810802 | 18 june 2009 | mike whittaker (mik row 4 : 4 | 459420 | 1 august 2012 | the implosion of radio network house on 5 row 5 : 5 | 355889 | 20 january 2012 | your tattoo on my bum!! row 6 : 6 | 384705 | 24 may 2009 | buy a tractor and get a 20 row 7 : 7 | 316350 | 7 march 2011 | landscape rocks for sale in chch (follow row 8 : 8 | 292184 | 6 may 2010 | folden 2010 row 9 : 9 | 276094 | 8 january 2009 | jesus christ pita bread row 10 : 10 | 258775 | 9 january 2012 | two days in the studio and advice from n ] Execute this SQL based on the above table: select item where closed = 1 order by rank asc limit 1910
the implosion of radio network house on 5 august 2012 was new zealand's first ever controlled building demolition by explosives. like most other buildings in the christchurch central city, radio network house was damaged beyond repair in the 22 february 2011 christchurch earthquake. the right to push the button for the implosion was put up for auction and became the auction with the third highest page views ever. the winning bid was for $26,000 and the consortium of demolition contractors let the child cancer foundation nominate a six-year-old boy from queenstown
[ header: # | temple name | hangul | hanja | period of reign | personal name | relationship | note row 1 : 2 | daru | 다루왕 | 多婁王 | 28-77 | None | first son of onjo | None row 2 : 3 | giru | 기루왕 | 己婁王 | 77-128 | None | first son of daru | None row 3 : 5 | chogo | 초고왕 | 肖古王 | 166-214 | None | son of gaeru | also sogo (소고왕, 素古王) row 4 : 7 | saban | 사반왕 | 沙泮王 | 234 | None | first son of gusu | also sai (사이왕, 沙伊王 row 5 : 9 | chaekgye | 책계왕 | 責稽王 | 286-298 | None | son of goi | also cheonggye (청계왕, row 6 : 11 | biryu | 비류왕 | 比流王 | 304-344 | None | second son of gusu | None row 7 : 13 | geunchogo | 근초고왕 | 近肖古王 | 346-375 | yeogu | second son of biryu | also chogo (초고왕, 肖古王) row 8 : 15 | chimnyu | 침류왕 | 枕流王 | 384-385 | None | first son of geungusu | None row 9 : 17 | asin | 아신왕 | 阿莘王 | 392-405 | None | nephew of jinsa; first son | also aha (아화왕, 阿華王) row 10 : 24 | dongseong | 동성왕 | 東城王 | 479-501 | modae (모대, 牟大) or | cousin of samgeum | None row 11 : 27 | wideok | 위덕왕 | 威德王 | 554-598 | chang (창, 昌) | first son of seong | also chang (창왕, 昌王) row 12 : 28 | hye | 혜왕 | 惠王 | 598-599 | gye (계, 季) | younger brother of wideok | also heon (헌왕, 獻王) row 13 : 31 | uija | 의자왕 | 義慈王 | 641-660 | None | first son of mu | None ] Execute this SQL based on the above table: select count ( * ) where # > 823
0
[ header: station | type | latitude | longitude | el. (m) | opened | closed | coordinates row 1 : calama, chile | solar | 22o28's | 68o56'w | 2250 | 1918 | 1920 | 22°28′s 68°56′ row 2 : mount montezuma, chile | solar | 22o40's | 68o56'w | 2711 | 1920 | None | 22°40′s 68°56′ row 3 : mount harquahala, arizon | solar | 33o48'n | 113o20'w | 1721 | 1920 | 1925 | 33°48′n 113°20′ row 4 : table mountain, california | solar | 34o22'n | 117o41'w | 2286 | 1925 | 1962 | 34°22′n 117°41′ row 5 : mount brukkaros, namibi | solar | 25o52's | 17o48'e | 1586 | 1926 | 1931 | 25°52′s 17°48′e row 6 : mount saint catherine, egy | solar | 28o31'n | 33o56'e | 2591 | 1934 | 1937 | 28°31′n 33°56′e row 7 : burro mountain, new mexico | solar | 32o40'n | 108o33'w | 2440 | 1938 | 1946 | 32°40′n 108°33′ row 8 : organ pass, new mexico | space track | 32o25'n | 253o27'e | None | None | None | 32°25′n 106°33′ row 9 : olifantsfontein, south africa | space track | 25o58's | 28o15'e | None | None | None | 25°58′s 28°15′e row 10 : woomera, australia | space track | 31o06's | 136o46'e | None | None | None | 31°06′s 136°46′ row 11 : curacao, netherlands west in | space track | 12o05'n | 291o10'e | None | None | None | 12°05′n 68°50′ row 12 : jupiter, florida | space track | 27o01'n | 279o53'e | None | None | None | 27°01′n 80°07′w row 13 : villa dolores, argentina | space track | 31o57'n | 294o54'e | None | None | None | 31°57′n 65°06′e row 14 : mitaka, japan | space track | None | None | None | None | None | None row 15 : nani tal, india | space track | None | None | None | None | None | None ] Execute this SQL based on the above table: select count ( type ) where closed > 1978
0
[ header: place | player | country | score | to par row 1 : 1 | dustin johnson | united states | 71-70-66=207 | -6 row 2 : 2 | graeme mcdowell | northern ireland | 71-68-71=210 | -3 row 3 : 3 | tiger woods | united states | 74-72-66=212 | -1 row 4 : t4 | ernie els | south africa | 73-68-72=213 | e row 5 : t4 | gregory havret | france | 73-71-69=213 | e row 6 : 6 | phil mickelson | united states | 75-66-73=214 | 1 row 7 : t7 | alex cejka | germany | 70-72-74=216 | 3 row 8 : t7 | tim clark | south africa | 72-72-72=216 | 3 row 9 : t7 | ryo ishikawa | japan | 70-71-75=216 | 3 row 10 : t10 | martin kaymer | germany | 74-71-72=217 | 4 row 11 : t10 | davis love iii | united states | 75-74-68=217 | 4 row 12 : t10 | sean o'hair | united states | 76-71-70=217 | 4 ] Execute this SQL based on the above table: select score where score = '73-68-72=213'
73-68-72=213
[ header: year | title | peak chart positions us air | peak chart positions us main | peak chart positions us mod | album row 1 : 1990 | "dig a hole" | None | None | None | non-album single row 2 : 1993 | "mister love" | None | None | None | velvet row 3 : 1994 | "mister love" | None | None | None | rubberneck row 4 : 1995 | "possum kingdom" | 40 | 9 | 4 | rubberneck row 5 : 1995 | "away" | None | 23 | 28 | rubberneck row 6 : 1996 | "tyler" | None | None | None | rubberneck row 7 : 1996 | "backslider" | None | None | None | rubberneck row 8 : 2001 | "push the hand" | None | 34 | None | hell below/stars above row 9 : 2008 | "no deliverance" | None | 38 | None | no deliverance row 10 : 2009 | "song i hate" | None | None | None | no deliverance row 11 : 2012 | "summer of the strange" | None | None | None | play.rock.music ] Execute this SQL based on the above table: select count ( album ) where peak chart positions us air < 'None'
1
[ header: year | award | category | nominated work | result row 1 : 2005 | mbc drama awards | best new actor | be strong, geum-soon! | won row 2 : 2005 | mbc drama awards | excellence award, actor | be strong, geum-soon! | won row 3 : 2007 | kbs drama awards | best couple award with han ji- | capital scandal | won row 4 : 2007 | kbs drama awards | excellence award, actor in a miniseries | capital scandal | won row 5 : 2008 | 44th baeksang arts awards | popularity award | hong gil-dong | won row 6 : 2008 | 28th korean association of film critic | best new actor | rough cut | won row 7 : 2008 | 29th blue dragon film awards | best new actor | rough cut | won row 8 : 2008 | 7th korean film awards | best new actor | rough cut | won row 9 : 2008 | kbs drama awards | best couple award with sung yu | hong gil-dong | won row 10 : 2008 | kbs drama awards | netizen award | hong gil-dong | won row 11 : 2009 | 45th baeksang arts awards | best new actor | rough cut | won row 12 : 2009 | 10th pusan film critics awards | best new actor | rough cut | won row 13 : 2009 | 46th grand bell awards | best new actor | my girlfriend is an agent | won row 14 : 2009 | 5th university film festival of korea | best new actor | my girlfriend is an agent | won row 15 : 2011 | 6th seoul international drama awards | outstanding korean actor | coffee house | nominated row 16 : 2011 | sbs drama awards | excellence award, actor in a special planning drama | lie to me | nominated row 17 : 2013 | sbs drama awards | top excellence award, actor in a drama special | incarnation of money | nominated row 18 : 2014 | 9th asia model festival awards | asia star award | None | won ] Execute this SQL based on the above table: select count ( award ) where year >= 2005
18
[ header: affiliation | house members 2000 election results | house members at dissolution | senate members on election day 2000 | senate members at dissolution row 1 : liberal party of canada | 172 | 168 | 55 | 65 row 2 : canadian alliance | 66 | None | 1 | None row 3 : bloc quebecois | 38 | 33 | 0 | 0 row 4 : new democratic party | 13 | 14 | 0 | 0 row 5 : progressive conservative | 12 | None | 35 | None row 6 : progressive conservative (senate caucus | None | None | None | 3 row 7 : conservative party of canada | None | 72 | None | 24 row 8 : independent | 0 | 10 | 5 | 5 row 9 : total members | 301 | 297 | 96 | 97 row 10 : vacant | 0 | 4 | 9 | 8 row 11 : total seats | 301 | 301 | 105 | 105 ] Execute this SQL based on the above table: select affiliation where house members at dissolution < 10 order by house members at dissolution desc limit 1
vacant
[ header: finished | post | horse | jockey | trainer | owner | time / behind row 1 : 1st | 6 | silver charm | gary l. stevens | bob baffert | bob & beverly lewis | 2:02.44 row 2 : 2nd | 5 | captain bodgit | alex solis | gary a. capuano | team valor | None row 3 : 3rd | 12 | free house | david flores | j. paco gonzal | john toffan & trud | None row 4 : 4th | 3 | pulpit | shane sellers | frank l. brothers | claiborne farm | None row 5 : 5th | 10 | crypto star | pat day | wayne m. catalano | evelyn & darrell | None row 6 : 6th | 9 | phantom on tour | jerry d. bailey | lynn s. whiting | w. cal partee | None row 7 : 7th | 5 | jack flash | craig perret | nick zito | dogwood stable | None row 8 : 8th | 6 | hello | mike smith | ronald mcanally | sandee & al k | None row 9 : 9th | 1 | concerto | carlos h. marquez, j | john j. tammaro | kinsman stable | None row 10 : 10th | 13 | celtic warrior | francisco torres | danny hutt | hutt, quackenbush | None row 11 : 11th | 4 | crimson classic | robby albarado | forrest kaelin | john w. clay | None row 12 : 12th | 15 | shammy davis | willie martinez | nick zito | fox hill farm | None row 13 : 13th | 11 | deeds not words | corey nakatani | d. wayne luka | michael tabor & susan | None ] Execute this SQL based on the above table: select count ( * ) where jockey = 'None'
0
[ header: rank | player | from | to | transfer fee (€ million) | year row 1 : 1 | miralem sulejman | heerenveen | ajax | 16.25 | 2008 row 2 : 2 | strootman & merten | utrecht | psv | 13 | 2011 row 3 : 3 | mateja kezman | partizan | psv | 11.3 | 2000 row 4 : 4 | klaas-jan huntelaar | heerenveen | ajax | 9 | 2006 row 5 : 5 | nikos machlas | vitesse | ajax | 8.6 | 1999 row 6 : 6 | zlatan ibrahimovic | malmo ff | ajax | 8.4 | 2001 row 7 : 7 | jan vennegoor of h | twente | psv | 8.2 | 2001 row 8 : 8 | luis suarez | groningen | ajax | 7.5 | 2007 row 9 : 9 | dario cvitanich | banfield | ajax | 7.5 | 2008 row 10 : 10 | ferdi vierklau | tenerife | ajax | 7.3 | 1998 row 11 : 11 | adam maher | az | psv | 6.5 | 2013 ] Execute this SQL based on the above table: select count ( distinct player )
11
[ header: protein | natural host | normal function | prion state | prion phenotype | year identified row 1 : ure2p | saccharomyces cerevisiae | nitrogen catabolite repressor | [ure3] | growth on poor nitrogen sources | 1994 row 2 : sup35p | saccharomyces cerevisiae | translation termination factor | [psi+] | increased levels of nonsense suppression | 1994 row 3 : het-s | podospora anserina | regulates heterokaryon incompatibility | [het-s] | heterokaryon formation between incompatible strains | 1997 row 4 : vacuolar protease b | saccharomyces cerevisiae | death in stationary phase, failure in meio | [β] | failure to degrade cellular proteins under n | 2003 row 5 : map kinases | podospora anserina | increased pigment, slow growth | [c] | None | 2006 row 6 : rnq1p | saccharomyces cerevisiae | protein template factor | [rnq+],[pin+] | promotes aggregation of other prions | 2008 row 7 : mca1 | saccharomyces cerevisiae | putative yeast caspase | [mca+] | None | 2008 row 8 : swi1 | saccharomyces cerevisiae | chromatin remodeling | [swi+] | poor growth on some carbon sources | 2008 row 9 : cyc8 | saccharomyces cerevisiae | transcriptional repressor | [oct+] | transcriptional derepression of multiple genes | 2009 row 10 : mot3 | saccharomyces cerevisiae | nuclear transcription factor | [mot3+] | transcriptional derepression of anaero | 2009 row 11 : pma1+std1 | saccharomyces cerevisiae | pma1 = major plasma membrane proton pump | [gar+] | resistant to glucose-associated repression | 2009 row 12 : sfp1 | saccharomyces cerevisiae | global transcriptional regulator | [isp+] | antisuppressor of certain sup | 2010 row 13 : mod5 | saccharomyces cerevisiae | None | [mod+] | None | 2012 ] Execute this SQL based on the above table: select count ( prion phenotype )
10
[ header: rank | athlete | country | time | notes row 1 : None | yevgeny kulikov | soviet union | 39.17 | or row 2 : None | valery muratov | soviet union | 39.25 | None row 3 : None | dan immerfall | united states | 39.54 | None row 4 : 4 | mats wallberg | sweden | 39.56 | None row 5 : 5 | peter mueller | united states | 39.57 | None row 6 : 6 | jan bazen | netherlands | 39.78 | None row 7 : 6 | arnulf sunde | norway | 39.78 | None row 8 : 8 | andrey malikov | soviet union | 39.85 | None row 9 : 9 | oloph granath | sweden | 39.93 | None row 10 : 10 | jim chapin | united states | 40.09 | None row 11 : 11 | tom overend | canada | 40.22 | None row 12 : 11 | masaki suzuki | japan | 40.22 | None row 13 : 13 | johan granath | sweden | 40.25 | None row 14 : 14 | gaetan boucher | canada | 40.53 | None row 15 : 15 | pertti niittyla | finland | 40.65 | None row 16 : 16 | norio hirate | japan | 40.85 | None row 17 : 16 | archie marshall | great britain | 40.85 | None row 18 : 18 | mikio oyama | japan | 40.9 | None row 19 : 19 | hans van helden | netherlands | 40.91 | None row 20 : 19 | emmanuel michon | france | 40.91 | None row 21 : 21 | kay arne stenshj | norway | 40.94 | None row 22 : 22 | lee yeong-ha | south korea | 41.08 | None row 23 : 23 | bruno toniolli | italy | 41.44 | None row 24 : 24 | harald oehme | east germany | 41.54 | None row 25 : 25 | colin coates | australia | 41.77 | None row 26 : 26 | berend schabus | austria | 42.33 | None row 27 : 27 | heinz steinberger | austria | 43.28 | None row 28 : 28 | jan egil storholt | norway | 18 | None row 29 : None | horst freese | west germany | dnf | None ] Execute this SQL based on the above table: select country group by country order by count ( * ) desc limit 1
united states
[ header: date | time | opponent | site | tv | result | attendance | record row 1 : 11/09/2013 | 1:00 pm | trinity baptist | moore gymnasium • daytona | None | w 91-74 | 409 | 1-0 row 2 : 11/12/2013 | 7:00 pm | at south florida | usf sun dome • tampa, | espn3 | l 65-91 | 3549 | 1-1 row 3 : 11/19/2013 | 7:00 pm | trinity (fl) | moore gymnasium • daytona | None | w 98-55 | 1180 | 2-2 row 4 : 11/21/2013 | 7:00 pm | fiu | moore gymnasium • daytona | None | l 67-82 | None | 2-3 row 5 : 11/27/2013 | 4:00 pm | at new mexico state | moby arena • fort collins, | None | l 52-66 | 2945 | 2-5 row 6 : 11/29/2013 | 9:00 pm | vs. prairie view a&m | butler-hancock sports pavilion • gre | None | l 80-89 | 102 | 2-6 row 7 : 11/30/2013 | 9:00 pm | at northern colorado | butler-hancock sports pavilion • gre | None | l 60-65 | None | 2-7 row 8 : 12/03/2013 | 7:00 pm | at stetson | edmunds center • del | None | l 52-56 | 1056 | 2-8 row 9 : 12/09/2013 | 7:00 pm | at hampton | hampton convocation center • hampton | None | l 52-85 | 1428 | 2-10 (0-2) row 10 : 12/17/2013 | 7:00 pm | at youngstown state | beeghly center • youngstown | None | l 59-71 | 1399 | 2-12 row 11 : 12/21/2013 | 7:00 pm | at north florida | unf arena • jacksonville, | None | l 64-68 | 617 | 2-13 row 12 : 12/30/2013 | 8:00 pm | at detroit | calihan hall • detroit, | None | l 53-73 | 3107 | 2-14 row 13 : 01/11/2014 | 4:00 pm | north carolina a&t | moore gymnasium • daytona | None | l 67-70 | 1091 | 2-16 (0-3) row 14 : 01/13/2014 | 7:30 pm | north carolina central | moore gymnasium • daytona | None | l 49-64 | 1210 | 2-17 (0-4) row 15 : 01/18/2014 | 6:00 pm | at savannah state | tiger arena • savannah | None | l 60-70 ot | 3220 | 2-18 (0-5) row 16 : 01/20/2014 | 7:30 pm | at south carolina state | shm memorial center • orangeburg, s | None | l 67-69 | 751 | 2-19 (0-6) row 17 : 01/27/2014 | 7:30 pm | howard | moore gymnasium • daytona | None | w 58-47 | 1216 | 4-19 (2-6) row 18 : 02/01/2014 | 4:00 pm | savannah state | moore gymnasium • daytona | None | l 40-50 | 1075 | 4-20 (2-7) row 19 : 02/03/2014 | 7:30 pm | south carolina state | moore gymnasium • daytona | None | w 91-59 | 1063 | 5-20 (3-7) ] Execute this SQL based on the above table: select record where time = ( select time where record = '5-20 (3-7)' and site = 'moore gymnasium • daytona beach, fl' ) + 1
2-14
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | russia | 17 | 5 | 5 | 27 row 2 : 2 | bulgaria | 5 | 2 | 3 | 10 row 3 : 4 | ukraine | 1 | 2 | 11 | 14 row 4 : 6 | latvia | 1 | 0 | 0 | 1 row 5 : 7 | uzbekistan | 0 | 3 | 4 | 7 row 6 : 8 | lithuania | 0 | 1 | 6 | 7 row 7 : 8 | venezuela | 0 | 3 | 3 | 6 row 8 : 13 | azerbaijan | 0 | 1 | 0 | 1 row 9 : 13 | france | 0 | 1 | 0 | 1 row 10 : 13 | germany | 0 | 1 | 0 | 1 row 11 : 13 | romania | 0 | 1 | 0 | 1 row 12 : 17 | serbia | 0 | 0 | 1 | 1 row 13 : 17 | spain | 0 | 0 | 1 | 1 row 14 : 17 | tajikistan | 0 | 0 | 1 | 1 row 15 : 21 | algeria | 0 | 0 | 0 | 0 row 16 : 21 | austria | 0 | 0 | 0 | 0 row 17 : 21 | belgium | 0 | 0 | 0 | 0 row 18 : 21 | cameroon | 0 | 0 | 0 | 0 row 19 : 21 | canada | 0 | 0 | 0 | 0 row 20 : 21 | colombia | 0 | 0 | 0 | 0 row 21 : 21 | czech republic | 0 | 0 | 0 | 0 row 22 : 21 | cyprus | 0 | 0 | 0 | 0 row 23 : 21 | ecuador | 0 | 0 | 0 | 0 row 24 : 21 | great britain | 0 | 0 | 0 | 0 row 25 : 21 | india | 0 | 0 | 0 | 0 row 26 : 21 | indonesia | 0 | 0 | 0 | 0 row 27 : 21 | ireland | 0 | 0 | 0 | 0 row 28 : 21 | israel | 0 | 0 | 0 | 0 row 29 : 21 | italy | 0 | 0 | 0 | 0 row 30 : 21 | jordan | 0 | 0 | 0 | 0 row 31 : 21 | south korea | 0 | 0 | 0 | 0 row 32 : 21 | kyrgyzstan | 0 | 0 | 0 | 0 row 33 : 21 | lebanon | 0 | 0 | 0 | 0 row 34 : 21 | malaysia | 0 | 0 | 0 | 0 row 35 : 21 | morocco | 0 | 0 | 0 | 0 row 36 : 21 | nepal | 0 | 0 | 0 | 0 row 37 : 21 | new zealand | 0 | 0 | 0 | 0 row 38 : 21 | pakistan | 0 | 0 | 0 | 0 row 39 : 21 | panama | 0 | 0 | 0 | 0 row 40 : 21 | peru | 0 | 0 | 0 | 0 row 41 : 21 | poland | 0 | 0 | 0 | 0 row 42 : 21 | slovenia | 0 | 0 | 0 | 0 row 43 : 21 | slovakia | 0 | 0 | 0 | 0 row 44 : 21 | thailand | 0 | 0 | 0 | 0 row 45 : 21 | tunisia | 0 | 0 | 0 | 0 row 46 : 21 | united states | 0 | 0 | 0 | 0 ] Execute this SQL based on the above table: select nation where rank = ( select rank where nation = 'latvia' ) + 1
uzbekistan
[ header: date | event | headline act(s) | supporting act(s) row 1 : july 2002 | move festival | david bowie, new order, green day | None row 2 : september 2002 | None | oasis | richard ashcroft row 3 : july 2003 | move festival | r.e.m | john squire, badly drawn boy row 4 : july 2004 | move festival | the cure, morrissey | None row 5 : june 2006 | None | richard ashcroft | razorlight row 6 : june 2006 | None | foo fighters | the strokes, angels & airwave row 7 : july 2007 | 'mini-festival' | arctic monkeys | supergrass, the coral, the parrots row 8 : june 2008 | world tour | radiohead | None row 9 : august 2008 | accelerate tour | r.e.m | None row 10 : june 2009 | circus tour | take that | the script, lady gaga row 11 : september 2009 | suicide tour | coldplay | jay-z row 12 : june 2010 | None | green day | frank turner row 13 : september 2010 | None | muse | editors, band of skulls, pulled apart by row 14 : june 2011 | None | bon jovi | None row 15 : june 2011 | None | kings of leon | white lies, mona ] Execute this SQL based on the above table: select count ( * ) where date > 1913
15
[ header: rank | player | county | tally | total | opposition row 1 : 1 | eamonn flynn | dublin | 3-5 | 14 | wexford row 2 : 1 | charlie mccarthy | cork | 2-8 | 14 | galway row 3 : 3 | paddy fahy | galway | 2-7 | 13 | kildare row 4 : 5 | charlie mccarthy | cork | 3-3 | 12 | offaly row 5 : 5 | michael moroney | clare | 2-6 | 12 | dublin row 6 : 5 | declan lovett | kerry | 1-9 | 12 | galway row 7 : 9 | ger cuddy | laois | 3-2 | 11 | wicklow row 8 : 9 | pat enright | waterford | 2-5 | 11 | kerry row 9 : 9 | pat enright | waterford | 1-8 | 11 | laois row 10 : 9 | johnny walsh | kildare | 0-11 | 11 | waterford row 11 : 9 | eddie keher | kilkenny | 0-11 | 11 | wexford row 12 : 14 | brendan cummins | cork | 3-1 | 10 | wexford row 13 : 14 | p. j. molloy | galway | 3-1 | 10 | kerry row 14 : 14 | nick behan | kildare | 3-1 | 10 | kerry row 15 : 14 | seanie o'leary | cork | 3-1 | 10 | limerick row 16 : 14 | michael keating | tipperary | 2-4 | 10 | wexford row 17 : 14 | declan lovett | kerry | 2-4 | 10 | waterford row 18 : 14 | michael keating | tipperary | 2-4 | 10 | dublin row 19 : 14 | eddie keher | kilkenny | 2-4 | 10 | dublin row 20 : 14 | mick dwan | kildare | 2-4 | 10 | antrim row 21 : 14 | charlie mccarthy | cork | 1-7 | 10 | kilkenny row 22 : 14 | paddy fahy | galway | 0-10 | 10 | kerry row 23 : 14 | johnny walsh | kildare | 0-10 | 10 | westmeath row 24 : 27 | p flynn | wexford | 3-0 | 9 | offaly row 25 : 27 | n casey | clare | 3-0 | 9 | cork row 26 : 27 | willie moore | limerick | 3-0 | 9 | cork row 27 : 27 | ger cuddy | laois | 3-0 | 9 | westmeath row 28 : 27 | tom ryan | galway | 3-0 | 9 | laois row 29 : 27 | seanie o'leary | cork | 3-0 | 9 | offaly row 30 : 27 | p flynn | wexford | 2-3 | 9 | cork row 31 : 27 | eddie keher | kilkenny | 2-3 | 9 | limerick row 32 : 27 | johnny walsh | kildare | 1-6 | 9 | galway row 33 : 27 | francis loughnane | tipperary | 1-6 | 9 | cork row 34 : 27 | richie bennis | limerick | 1-6 | 9 | cork row 35 : 27 | pat enright | waterford | 0-9 | 9 | kildare row 36 : 27 | johnny walsh | kildare | 0-9 | 9 | kerry ] Execute this SQL based on the above table: select avg ( rank ) where id <= 3
1.6666666666666667
[ header: name | mark | system | from | to | successor | notes row 1 : alexandria and frede | None | rf&p | 1872 | 1890 | baltimore and potomac railroad | None row 2 : alexandria and washington railroad | None | rf&p | 1854 | 1872 | alexandria and frede | None row 3 : chesapeake and ohi | c&o, co | c&o | 1891 | 1987 | csx transportation | None row 4 : consolidated rail corporation | cr | None | 1976 | 1999 | csx transportation/norfo | None row 5 : east washington railway | None | None | 1935 | 1976 | None | None row 6 : georgetown barge, dock, elevator | None | b&o | 1888 | 1972 | baltimore and ohio | None row 7 : orange, alexandria and man | None | sou | 1872 | 1872 | virginia and north carolina railroad | None row 8 : penn central transportation company | pc | None | 1968 | 1976 | consolidated rail corporation | None row 9 : pennsylvania railroad | prr | prr | 1918 | 1968 | penn central transportation company | None row 10 : philadelphia, baltimore | None | prr | 1902 | 1976 | consolidated rail corporation | None row 11 : philadelphia, wilm | None | prr | 1891 | 1902 | philadelphia, baltimore | None row 12 : richmond and danville railroad | None | sou | 1886 | 1894 | southern railway | None row 13 : richmond, fredericksburg and pot | rf&p, rfp | rf&p | 1920 | 1991 | richmond, fredericksburg and pot | None row 14 : southern railway | sou | sou | 1894 | 1990 | norfolk southern railway | None row 15 : southern maryland railroad | None | None | 1882 | 1886 | washington and potomac railroad | None row 16 : virginia midland railway | None | sou | 1880 | 1886 | richmond and danville railroad | None row 17 : virginia and north carolina railroad | None | sou | 1872 | 1873 | washington city, virginia midland | None row 18 : washington, alexandria and | None | rf&p | 1862 | 1868 | alexandria and washington railroad | None row 19 : washington city and point lookout railroad | None | b&o | 1873 | 1874 | baltimore and ohio | None row 20 : washington city, virginia midland | None | sou | 1873 | 1880 | virginia midland railway | None row 21 : washington and potomac railroad | None | None | 1886 | 1900 | washington, potomac and chesa | None row 22 : washington, potomac and chesa | None | None | 1901 | 1910 | washington, potomac and chesa | None row 23 : washington, potomac and chesa | None | None | 1910 | 1918 | chesapeake beach railway | None row 24 : washington southern railway | wsn | rf&p | 1901 | 1920 | richmond, fredericksburg and pot | None row 25 : washington terminal company | watc | b&o/ prr | 1901 | None | None | still exists as a subsidiary of the national railroad row 26 : washington and western maryland railroad | None | b&o | 1889 | 1985 | None | None ] Execute this SQL based on the above table: select count ( to ) where mark < 1076
0
[ header: edition | year | men's winner | time | women's winner | time row 1 : 29th | october 14, 2012 | dickson kiptolo | 2:05:46 | aberume mekuria (eth | 2:27:20 row 2 : 28th | october 9, 2011 | jafred chirchir kipchu | 2:05:48 | georgina rono (ken) | 2:24:33 row 3 : 26th | october 11, 2009 | geoffrey mutai (ken) | 2:07:01 | beata naigambo (nam) | 2:31:01 row 4 : 25th | october 12, 2008 | geoffrey mutai (ken) | 2:07:49 | lydia kurgat (ken | 2:33:39 row 5 : 24th | october 14, 2007 | philip singoei (ken) | 2:07:57 | lydia kurgat (ken | 2:39:21 row 6 : 23rd | october 8, 2006 | philip singoei (ken) | 2:08:18 | agnes hijman (ned | 2:54:36 row 7 : 22nd | october 9, 2005 | boniface usisivu (ken | 2:08:45 | tatyana perepelkina ( | 2:38:27 row 8 : 21st | october 10, 2004 | willy cheruiyot ( | 2:09:20 | annelieke van der sluij | 2:37:33 row 9 : 20th | october 12, 2003 | willy cheruiyot ( | 2:09:05 | vivian ruijters | 2:36:36 row 10 : 19th | october 13, 2002 | willy cheruiyot ( | 2:10:12 | marleen van reusel (bel) | 2:54:23 row 11 : 18th | october 14, 2001 | samuel tangus ( | 2:12:47 | valentina poltavs | 2:54:30 row 12 : 16th | october 10, 1999 | david ngetich (ken) | 2:09:24 | nadezhda wij | 2:28:45 row 13 : 12th | october 8, 1995 | pyotro sarafiny | 2:16:40 | carla beurskens (ned | 2:35:16 row 14 : 11th | october 9, 1994 | aiduna aitnafa | 2:11:37 | jeanne jansen (ned | 2:45:03 row 15 : 7th | october 14, 1990 | john vermeule (ned | 2:15:03 | mieke hombergen (ne | 2:44:59 row 16 : 6th | october 16, 1988 | jean-pierre paumen (bel | 2:14:54 | heather macduff (eng) | 2:34:26 row 17 : 5th | october 12, 1986 | kim reynierse (n | 2:15:13 | heather macduff (eng) | 2:55:39 row 18 : 3rd | october 24, 1982 | lucien rottiers (bel) | 2:16:27 | ann rindt (ned) | 2:59:07 row 19 : None | 1961-1981 | marathon race not held | None | None | None ] Execute this SQL based on the above table: select count ( women's winner ) where women's winner = 'None'
0
[ header: | agglutination | synthesis | compounding | derivation | inflection | prefixing | suffixing row 1 : swahili | 0.67 | 2.56 | 1 | 0.03 | 0.31 | 0.45 | 0.16 row 2 : spoken turkish | 0.67 | 1.75 | 1.04 | 0.06 | 0.38 | 0 | 0.44 row 3 : written turkish | 0.6 | 2.33 | 1 | 0.11 | 0.43 | 0 | 0.54 row 4 : yakut | 0.51 | 2.17 | 1.02 | 0.16 | 0.38 | 0 | 0.53 row 5 : greek | 0.4 | 1.82 | 1.02 | 0.07 | 0.37 | 0.02 | 0.42 row 6 : english | 0.3 | 1.67 | 1 | 0.09 | 0.32 | 0.02 | 0.38 row 7 : eskimo | 0.03 | 3.7 | 1 | 0.34 | 0.47 | 0 | 0.73 ] Execute this SQL based on the above table: select order by agglutination limit 1
eskimo
[ header: county | obama | votes | romney | votes | others | votes | total row 1 : bernalillo | 55.55% | 147,183 | 39.35% | 104,242 | 5.10% | 13,517 | 264,942 row 2 : catron | 26.38% | 560 | 70.37% | 1,494 | 3.25% | 69 | 2,123 row 3 : chaves | 32.28% | 6,641 | 64.77% | 13,327 | 2.95% | 607 | 20,575 row 4 : cibola | 60.18% | 4,907 | 36.37% | 2,966 | 3.45% | 281 | 8,154 row 5 : colfax | 49.05% | 2,828 | 46.83% | 2,700 | 4.11% | 237 | 5,765 row 6 : dona ana | 55.97% | 36,778 | 41.07% | 26,988 | 2.96% | 1,946 | 65,712 row 7 : eddy | 31.83% | 6,110 | 65.36% | 12,546 | 2.81% | 539 | 19,195 row 8 : grant | 55.00% | 7,009 | 41.48% | 5,286 | 3.52% | 449 | 12,744 row 9 : guadalupe | 69.68% | 1,478 | 26.12% | 554 | 4.20% | 89 | 2,121 row 10 : lea | 23.98% | 4,080 | 73.75% | 12,548 | 2.27% | 387 | 17,015 row 11 : los alamos | 48.72% | 5,191 | 45.02% | 4,796 | 6.26% | 667 | 10,654 row 12 : luna | 47.77% | 3,583 | 48.93% | 3,670 | 3.29% | 247 | 7,500 row 13 : mckinley | 72.08% | 15,363 | 25.43% | 5,420 | 2.49% | 530 | 21,313 row 14 : mora | 74.85% | 1,952 | 22.81% | 595 | 2.34% | 61 | 2,608 row 15 : otero | 34.15% | 6,811 | 62.23% | 12,412 | 3.62% | 723 | 19,946 row 16 : quay | 37.32% | 1,384 | 59.39% | 2,202 | 3.29% | 122 | 3,708 row 17 : roosevelt | 28.92% | 1,730 | 67.73% | 4,052 | 3.36% | 201 | 5,983 row 18 : san juan | 34.11% | 15,688 | 62.57% | 28,779 | 3.32% | 1,527 | 45,994 row 19 : san miguel | 76.86% | 8,751 | 20.04% | 2,281 | 3.10% | 353 | 11,385 row 20 : sandoval | 50.29% | 26,976 | 45.17% | 24,228 | 4.53% | 2,432 | 53,636 row 21 : santa fe | 73.37% | 50,097 | 22.48% | 15,351 | 4.15% | 2,832 | 68,280 row 22 : sierra | 38.49% | 1,964 | 57.39% | 2,928 | 4.12% | 210 | 5,102 row 23 : socorro | 56.37% | 4,047 | 37.89% | 2,720 | 5.74% | 412 | 7,179 row 24 : taos | 78.06% | 11,855 | 17.84% | 2,710 | 4.10% | 623 | 15,188 row 25 : torrance | 37.86% | 2,414 | 55.22% | 3,521 | 6.92% | 441 | 6,376 row 26 : union | 26.83% | 472 | 70.27% | 1,236 | 2.90% | 51 | 1,759 row 27 : valencia | 48.73% | 13,473 | 46.25% | 12,788 | 5.01% | 1,386 | 27,647 ] Execute this SQL based on the above table: select count ( obama ) where votes > '1,384'
0
[ header: iec world plugs Type | standard | power rating | earthed | polarised | fused | insulated pins | europlug compatible row 1 : a | nema 1-15 unpolarised | 15 a/125 v | no | no | no | no | no row 2 : a | nema 1-15 polarised | 15 a/125 v | no | yes | no | no | no row 3 : a | jis c 8303, class | 15 a/100 v | no | no | no | no | no row 4 : b | nema 5-15 | 15 a/125 v | yes | yes | no | no | no row 5 : b | nema 5-20 | 20 a/125 v | yes | yes | no | no | no row 6 : b | jis c 8303, class | 15 a/100 v | yes | yes | no | no | no row 7 : c | cee 7/16 (europlug) | 2.5 a/250 v | no | no | no | yes | yes row 8 : None | cee 7/17 | 16 a/250 v | no | no | no | no | yes row 9 : None | gost 7396 c 1 | 6 a/250 v 16 a | no | no | no | no | yes row 10 : None | bs 4573 | socket 0.2 a/250 v plug | no | no | no | yes | no row 11 : e | cee 7/5 | 16 a/250 v | yes | yes | no | no | yes row 12 : f | cee 7/4 schuko | 16 a/250 v | yes | no | no | no | yes row 13 : g | bs 1363, is 401 | 13 a/250 v | yes | yes | yes | yes | no row 14 : h | si 32 | 16 a/250 v | yes | yes | no | no | yes row 15 : None | tis 166-2549 | 16 a/250 v | yes | yes | no | yes | yes row 16 : i | as/nzs 3112 | 10 a/240 v 15 a | yes | yes | no | yes | no row 17 : i | iram 2073 | 10 a/250 v | yes | yes | no | no | no row 18 : j | swiss sev 1011 | 10 a/250 v 16 a | yes | yes | optional | optional | yes row 19 : k | danish 107-2-d1 | 13 a/250 v | yes | yes | no | no | yes row 20 : l | cei 23-16/vii | 10 a/250 v 16 a | yes | no | no | yes | yes row 21 : m | south africa sabs 164-1 | 16 a/250 v | yes | yes | optional | optional | no row 22 : n | brazilian nbr 14136 (2 | 10 a/250 v 20 a | no | no | no | yes | yes row 23 : n | brazilian nbr 14136 (3 | 10 a/250 v 20 a | yes | yes | no | yes | yes row 24 : n | south africa sabs 164-2 (2 pin | 16 a/250 v | no | no | no | yes | yes row 25 : n | south africa sabs 164-2 (3 pin | 16 a/250 v | yes | yes | no | yes | yes ] Execute this SQL based on the above table: select standard group by standard order by count ( insulated pins ) limit 1
as/nzs 3112
[ header: stamp issue date | stamp set | #cards | card set ref | qty. issued row 1 : 16 may 1973 | county cricket, 1873-1973 | one | phq 1 | 20000 row 2 : 15 august 1973 | 400th anniversary, birth of inigo | one | phq 2 | 20000 row 3 : 12 september 1973 | 19th commonwealth parliamentary conference | one | phq 3 | 15200 row 4 : 14 november 1973 | royal wedding (the princess anne) | one | phq 4 | 290000 row 5 : 27 february 1974 | british trees | one | phq 5 | 16750 row 6 : 24 april 1974 | fire service anniversary | one | phq 6 | 30000 row 7 : 10 july 1974 | medieval warriors | four | phq 7 | 31750 row 8 : 9 october 1974 | winston churchill centenary | one | phq 8 | 114430 row 9 : 19 february 1975 | bicentenary, birth j. | one | phq 9 | 46250 row 10 : 23 april 1975 | european architectural year | three | phq 10 | 51000 row 11 : 11 june 1975 | sailing | one | phq 11 | 41350 row 12 : 13 august 1975 | 150th anniversary of public railways | four | phq 12 | 47500 row 13 : 22 october 1975 | jane austen bicentenary | four | phq 13 | 27330 row 14 : 28 april 1976 | social reformers | one | phq 14 | 38350 row 15 : 2 june 1976 | american bicentenary | one | phq 15 | 60950 row 16 : 30 june 1976 | roses | four | phq 16 | 34250 ] Execute this SQL based on the above table: select card set ref order by qty. issued desc limit 1
phq 4
[ header: year | competition | venue | position | notes row 1 : 1996 | world junior championships | sydney, australia | 15th (q) | 7.43 m row 2 : 1996 | asian junior championships | new delhi, india | 1st | 7.68 m row 3 : 1999 | world championships | seville, spain | 6th | 8.01 m row 4 : 2001 | east asian games | osaka, japan | 3rd | 7.77 m row 5 : 2002 | asian championships | colombo, sri lan | 3rd | 7.91 m (w) row 6 : 2002 | asian games | busan, south korea | 4th | 7.75 m row 7 : 2003 | universiade | daegu, south korea | 7th | 7.78 m ] Execute this SQL based on the above table: select venue where venue < ( select venue where venue = 'osaka, japan' ) order by venue desc limit 1
new delhi, india
[ header: s.no. | name of kingdom | name of king | no. of villages | capital | names of districts row 1 : 1 | sihag | chokha singh | 150 | suin | rawatsar, baramsar, row 2 : 2 | beniwal | raisal singh | 150 | rasalana | bhukarka, sand row 3 : 3 | johiya | sher singh | 600 | bhurupal | jaitpur, kumanu, ma row 4 : 4 | punia | kanha singh | 300 | luddi | bhadra, ajitpura row 5 : 5 | saharan | pula singh | 300 | bhadang | khejra, phoglo row 6 : 6 | godara | pandu singh | 700 | shekhsar | shekhsar, pundrasar row 7 : 7 | kaswan | kanwarpal singh | 400 | sidhmukh | None ] Execute this SQL based on the above table: select name of king order by s.no. asc limit 1816
chokha singh, raisal singh, sher singh, kanha singh, pula singh, pandu singh, kanwarpal singh
[ header: opposition | matches | won | drawn | lost | for | against | win% row 1 : bhopal badshahs | 2 | 0 | 1 | 1 | 7 | 8 | 0.00% row 2 : chennai cheeta | 2 | 1 | 0 | 1 | 6 | 5 | 50.00% row 3 : delhi wizards | 2 | 2 | 0 | 0 | 4 | 2 | 100.00% row 4 : karnataka lions | 2 | 1 | 0 | 1 | 8 | 4 | 50.00% row 5 : mumbai marines | 2 | 2 | 0 | 0 | 9 | 5 | 100.00% row 6 : pune strykers | 3 | 2 | 0 | 1 | 11 | 8 | 66.67% row 7 : sher-e-punjab | 2 | 1 | 0 | 1 | 5 | 6 | 50.00% ] Execute this SQL based on the above table: select opposition where win% != '50.00%' and matches = ( select matches where win% = '50.00%' )
bhopal badshahs, delhi wizards, mumbai marines
[ header: discipline | amanda | bernie | javine h | julia | michelle row 1 : whitewater kayak | 0 | 2 | 4 | 3 | 6 row 2 : hurdles | 3 | 1 | 6 | 5 | 3 row 3 : cycling | 4 | 2 | 4 | 6 | 0 row 4 : gym floor | 0 | 3 | 6 | 5 | 2 row 5 : swimming | 4 | 3 | 6 | 5 | 0 row 6 : curling | 0 | 2 | 4 | 3 | 5 row 7 : archery | 4 | 0 | 5 | 2 | 3 row 8 : hammer | 2 | 3 | 5 | 4 | 2 row 9 : 100m sprint | 2 | 0 | 5 | 3 | 4 row 10 : total | 19 | 16 | 45 | 36 | 25 ] Execute this SQL based on the above table: select count ( discipline ) where discipline = 'gym floor'
1
[ header: stage | date | route | terrain | length | winner row 1 : p | 1 july | fontenay-sous-bo | individual time trial | 6 km (3.7 mi) | eric vanderaerden (bel row 2 : 1 | 2 july | nogent-sur-marne - | plain stage | 163 km (101 mi) | frits pirard (ned row 3 : 2 | 3 july | soissons - fontaine-au- | team time trial | 100 km (62 mi) | mercier row 4 : 3 | 4 july | valenciennes - rou | hilly stage | 152 km (94 mi) | rudy matthijs (bel) row 5 : 4 | 5 july | roubaix - le havre | plain stage | 300 km (190 mi) | serge demierre (sui) row 6 : 5 | 6 july | le havre - le mans | plain stage | 257 km (160 mi) | dominique gaigne (fra) row 7 : 6 | 7 july | chateaubriant - nantes | individual time trial | 58 km (36 mi) | bert oosterbosch ( row 8 : 7 | 8 july | nantes - ile d' | plain stage | 216 km (134 mi) | riccardo magrini (ita row 9 : 8 | 9 july | la rochelle - bordeaux | plain stage | 222 km (138 mi) | bert oosterbosch ( row 10 : 9 | 10 july | bordeaux - pau | plain stage | 207 km (129 mi) | philippe chevallier (fra row 11 : 10 | 11 july | pau - bagneres-de | stage with mountain(s) | 201 km (125 mi) | robert millar (gbr row 12 : 11 | 12 july | bagneres-de-luchon | plain stage | 177 km (110 mi) | regis clere (fra) row 13 : 12 | 13 july | fleurance - roquefort | plain stage | 261 km (162 mi) | kim andersen (den) row 14 : 13 | 14 july | roquefort-sur-s | hilly stage | 210 km (130 mi) | henk lubberding (n row 15 : 14 | 15 july | aurillac - issoire | hilly stage | 149 km (93 mi) | pierre le bigaut (fra) row 16 : 15 | 16 july | clermont-ferrand - | individual time trial | 16 km (9.9 mi) | angel arroyo (esp) row 17 : 16 | 17 july | issoire - saint-etienne | hilly stage | 144 km (89 mi) | michel laurent (fra row 18 : 17 | 18 july | la tour-du-pin - alpe | stage with mountain(s) | 223 km (139 mi) | peter winnen (ned) row 19 : 18 | 20 july | le bourg-d'oisans | stage with mountain(s) | 247 km (153 mi) | jacques michaud (fra row 20 : 19 | 21 july | morzine - avoria | individual time trial | 15 km (9.3 mi) | lucien van impe (bel) row 21 : 20 | 22 july | morzine - dijon | plain stage | 291 km (181 mi) | philippe leleu (fr ] Execute this SQL based on the above table: select count ( * ) where stage = 8
1
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | south korea | 11 | 1 | 2 | 14 row 2 : 2 | chinese taipei | 2 | 2 | 5 | 9 row 3 : 3 | spain | 2 | 0 | 4 | 6 row 4 : 4 | egypt | 1 | 0 | 0 | 1 row 5 : 5 | france | 0 | 2 | 1 | 3 row 6 : 5 | iran | 0 | 2 | 1 | 3 row 7 : 7 | china | 0 | 1 | 1 | 2 row 8 : 7 | cuba | 0 | 1 | 1 | 2 row 9 : 7 | greece | 0 | 1 | 1 | 2 row 10 : 7 | turkey | 0 | 1 | 1 | 2 row 11 : 11 | canada | 0 | 1 | 0 | 1 row 12 : 11 | germany | 0 | 1 | 0 | 1 row 13 : 11 | morocco | 0 | 1 | 0 | 1 row 14 : 11 | philippines | 0 | 1 | 0 | 1 row 15 : 11 | russia | 0 | 1 | 0 | 1 row 16 : 16 | mexico | 0 | 0 | 4 | 4 row 17 : 17 | australia | 0 | 0 | 3 | 3 row 18 : 18 | croatia | 0 | 0 | 2 | 2 row 19 : 18 | united states | 0 | 0 | 2 | 2 row 20 : 20 | ecuador | 0 | 0 | 1 | 1 row 21 : 20 | saudi arabia | 0 | 0 | 1 | 1 row 22 : 20 | thailand | 0 | 0 | 1 | 1 row 23 : 20 | yugoslavia | 0 | 0 | 1 | 1 row 24 : total | total | 16 | 16 | 32 | 64 ] Execute this SQL based on the above table: select nation order by rank desc limit 1
ecuador
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 5 | nigel mansell | williams-renault | 65 | 1:56:10.674 | 1 | 10 row 2 : 2 | 19 | michael schumacher | benetton-ford | 65 | + 23.914 | 2 | 6 row 3 : 3 | 27 | jean alesi | ferrari | 65 | + 26.462 | 8 | 4 row 4 : 4 | 2 | gerhard berger | mclaren-honda | 65 | + 1:20.647 | 7 | 3 row 5 : 5 | 9 | michele alboreto | footwork-mugen-honda | 64 | + 1 lap | 16 | 2 row 6 : 6 | 22 | pierluigi martini | dallara-ferrari | 63 | + 2 laps | 13 | 1 row 7 : 7 | 10 | aguri suzuki | footwork-mugen-honda | 63 | + 2 laps | 19 | None row 8 : 8 | 16 | karl wendlinger | march-ilmor | 63 | + 2 laps | 9 | None row 9 : 9 | 1 | ayrton senna | mclaren-honda | 62 | spun off | 3 | None row 10 : 10 | 28 | ivan capelli | ferrari | 62 | spun off | 5 | None row 11 : 11 | 23 | christian fittipaldi | minardi-lamborghini | 61 | + 4 laps | 22 | None row 12 : 12 | 17 | paul belmondo | march-ilmor | 61 | + 4 laps | 23 | None row 13 : ret | 21 | jj lehto | dallara-ferrari | 56 | spun off | 12 | None row 14 : ret | 15 | gabriele tarquini | fondmetal-ford | 56 | spun off | 18 | None row 15 : ret | 11 | mika hakkinen | lotus-ford | 56 | spun off | 21 | None row 16 : ret | 26 | erik comas | ligier-renault | 55 | spun off | 10 | None row 17 : ret | 29 | bertrand gachot | larrousse-lamborghini | 35 | engine | 24 | None row 18 : ret | 3 | olivier grouillard | tyrrell-ilmor | 30 | spun off | 15 | None row 19 : ret | 24 | gianni morbidelli | minardi-lamborghini | 26 | handling | 25 | None row 20 : ret | 33 | mauricio gugelmin | jordan-yamaha | 24 | spun off | 17 | None row 21 : ret | 14 | andrea chiesa | fondmetal-ford | 22 | spun off | 20 | None row 22 : ret | 6 | riccardo patrese | williams-renault | 19 | spun off | 4 | None row 23 : ret | 12 | johnny herbert | lotus-ford | 13 | spun off | 26 | None row 24 : ret | 25 | thierry boutsen | ligier-renault | 11 | engine | 14 | None row 25 : ret | 20 | martin brundle | benetton-ford | 4 | spun off | 6 | None row 26 : ret | 4 | andrea de cesaris | tyrrell-ilmor | 2 | engine | 11 | None row 27 : dnq | 30 | ukyo katayama | larrousse-lamborghini | None | None | None | None row 28 : dnq | 32 | stefano modena | jordan-yamaha | None | None | None | None row 29 : dnpq | 34 | roberto moreno | moda-judd | None | None | None | None ] Execute this SQL based on the above table: select constructor order by id desc limit 1
moda-judd
[ header: date | position | name | from | fee row 1 : 5 july 2001 | mf | andy hughes | notts county | £250,000 by a tribunal row 2 : 5 july 2001 | df | adrian whitbread | portsmouth | free row 3 : 18 july 2001 | df | alex smith | port vale | free row 4 : 30 november 2001 | gk | antony malessa | oxford united | free row 5 : 28 january 2002 | mf | john salako | charlton athletic | £50,000 row 6 : 13 march 2002 | gk | frank talia | sheffield united | free row 7 : 15 march 2002 | mf | kevin watson | charlton athletic | £150,000 ] Execute this SQL based on the above table: select count ( * )
7
[ header: no. | name | took office | left office | president served under | notable for row 1 : 2 | carl l. alsberg m. | december 16, 1912 | july 15, 1921 | william howard taft | None row 2 : 3 | walter gilbert campbell | 7/16/1921 | 6/30/1924 | warren g. harding, cal | None row 3 : 4 | charles albert browne, j | 7/1/1924 | 6/30/1927 | calvin coolidge | None row 4 : 5 | paul b. dunbar, | 5/6/1944 | 5/31/1951 | franklin d. ro | None row 5 : 6 | charles w. crawford | 6/1/1951 | 7/31/1954 | harry s truman, | None row 6 : 8 | james lee goddard, | 1/17/1966 | 7/1/1968 | lyndon b. johnson | None row 7 : 9 | herbert leonard ley, j | 7/1/1968 | 12/12/1969 | lyndon b. johnson | None row 8 : 10 | charles c. edward | 12/13/1969 | 3/15/1973 | richard m. nixon | None row 9 : 11 | alexander mackay schmidt, | 7/20/1973 | 11/30/1976 | richard m. nixon, | None row 10 : 12 | donald kennedy, | 4/4/1977 | 6/30/1979 | jimmy carter | None row 11 : 13 | jere edwin goyan, | 10/21/1979 | 1/20/1981 | jimmy carter | None row 12 : 14 | arthur hull hayes jr. | 4/13/1981 | 9/11/1983 | ronald reagan | None row 13 : 15 | frank edward young, | 7/15/1984 | 12/17/1989 | ronald reagan | None row 14 : 16 | david aaron kessler | 11/8/1990 | 2/28/1997 | george h. w. bush | None row 15 : 17 | jane ellen henney, | 1/17/1999 | 1/19/2001 | bill clinton | None row 16 : 19 | lester mills crawford, | 7/18/2005 | 9/23/2005 | george w. bush | charged with conflict of interest and lying about stock row 17 : 20 | andrew c. von eschen | 12/13/2006 | 1/20/2009 | george w. bush | member of the board of directors of biotime ( row 18 : 21 | margaret a. hamburg | 5/22/2009 | present | barack obama | None ] Execute this SQL based on the above table: select took office where left office = 1
10/21/1979, 1/17/1999, 12/13/2006
[ header: year | venue | winners | runner-up | 3rd place row 1 : 2005 | pardubice | poland (41 pts) | sweden (35 pts | denmark (24 pts) row 2 : 2006 | rybnik | poland (41 pts) | sweden (27 pts | denmark (26 pts) row 3 : 2007 | abensberg | poland (40 pts) | great britain (36 pt | czech republic (30 pts row 4 : 2008 | holsted | poland (40 pts) | denmark (39 pts) | sweden (38 pts row 5 : 2009 | gorzow wlkp | poland (57 pts) | denmark (45 pts) | sweden (32 pts row 6 : 2010 | rye house | denmark (51 pts) | sweden (37 pts | poland (35 pts) row 7 : 2011 | balakovo | russia (61 pts) | denmark (31 pts) | ukraine (29+3 p row 8 : 2012 | gniezno | poland (61 pts) | australia (44 pts) | sweden (26 pts ] Execute this SQL based on the above table: select venue where year > 66
pardubice, rybnik, abensberg, holsted, gorzow wlkp, rye house, balakovo, gniezno
[ header: state | swimsuit | interview | evening gown | average | finalists row 1 : iowa | 9.267 | 9.651 | 9.620 | 9.513 | 9.800 row 2 : oklahoma | 9.226 | 9.309 | 9.487 | 9.341 | 9.586 row 3 : kansas | 9.221 | 9.600 | 9.600 | 9.474 | 9.486 row 4 : alabama | 9.010 | 9.326 | 9.449 | 9.262 | 9.471 row 5 : north carolina | 9.079 | 9.207 | 9.500 | 9.262 | 9.414 row 6 : california | 9.340 | 9.514 | 9.486 | 9.447 | 9.400 row 7 : rhode island | 9.087 | 9.279 | 9.341 | 9.235 | None row 8 : maryland | 9.021 | 9.206 | 9.271 | 9.166 | None row 9 : indiana | 8.966 | 9.103 | 9.370 | 9.146 | None row 10 : virginia | 8.984 | 9.112 | 9.279 | 9.125 | None row 11 : mississippi | 8.917 | 9.200 | 9.247 | 9.121 | None row 12 : illinois | 8.897 | 8.969 | 9.286 | 9.050 | None ] Execute this SQL based on the above table: select state where state in ( 'indiana' , 'rhode island' ) order by interview desc limit 1
rhode island
[ header: courthouse | city | street address | jurisdiction | dates of use | named for row 1 : u.s. post office and court house | aberdeen | 201 w. commerce st | n.d. miss | 1888-1974 now the monroe | None row 2 : thomas g. aberneth | aberdeen | 301 west commerce street | n.d. miss | None | u.s. rep. tho row 3 : u.s. post office, court house | biloxi | 140 lameuse street | s.d. miss | 1908-1959 now biloxi city hall | None row 4 : u.s. post office & court | biloxi | None | s.d. miss | 1908-1959 fate of building unknown | None row 5 : u.s. post office | clarksdale | None | n.d. miss | 1916-1964 razed in 1968 | None row 6 : federal building | clarksdale | None | n.d. miss | 1964-1997 fate of building unknown | None row 7 : federal building | greenville | 305 main street | n.d. miss | 1960-present | None row 8 : dan m. russell jr | gulfport | 2012 15th street | s.d. miss | 2003-present | district court judge dan monroe russe row 9 : u.s. court house | hattiesburg | None | s.d. miss | 1936-? completed in 1911; now the for | None row 10 : william m. colmer federal | hattiesburg | 701 main street | s.d. miss | None | u.s. rep. william row 11 : u.s. court house & post | jackson | None | s.d. miss | 1885-1933 | None row 12 : james eastland federal building | jackson | None | s.d. miss. 5th | 1934-present 1981-present | u.s. sen. jam row 13 : u.s. post office & court | meridian | 8th st and 22nd a | s.d. miss | 1898-1933 razed in the | None row 14 : u.s. post office & court | meridian | 2100 9th street | s.d. miss | 1933-present | None row 15 : u.s. courthouse | natchez | 109 pearl street | s.d. miss | 2007-present built in 1853 | None row 16 : u.s. court house & post | oxford | 107 courthouse square | n.d. miss | 1887-ca. 1974 now ox | None row 17 : federal bldg, post office, | oxford | 911 jackson avenue | n.d. miss | None | None row 18 : u.s. court house, post office | vicksburg | 1400 walnut street | s.d. miss | 1892-1937 now in use by the miss | None row 19 : u.s. post office & court | vicksburg | None | s.d. miss | 1937-present now privately owned | None ] Execute this SQL based on the above table: select count ( jurisdiction ) where street address = '301 west commerce street'
1
[ 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 category where category in ( '843' , 'mainland' ) order by category desc limit 1
mainland
[ header: country | weapon designation | weapon description | year(s) delivered | quantity delivered row 1 : brazil | ee-11 urutu | apc | 1983-1984 | 350 row 2 : china | f-6 | fighter aircraft | 1982-1983 | 40 row 3 : china | type-63 107mm | multiple rocket launcher | 1984-1988 | 100 row 4 : china | wz-121/type 69 | tank | 1983-1987 | 1500 row 5 : china | hn-5a | portable sam | 1986-1987 | 1000 row 6 : czechoslovakia | bmp-2 | infantry fighting vehicle | 1987-1989 | 250 row 7 : czechoslovakia | t-55 | tank | 1982-1985 | 400 row 8 : denmark | al zahraa | landing ship | 1983 | 3 row 9 : east germany | t-55 | tank | 1981 | 50 row 10 : egypt | m-46 130mm | towed gun | 1981-1983 | 96 row 11 : france | sa-330 puma | helicopter | 1980-1981 | 20 row 12 : france | m-3 vtt | apc | 1983-1984 | 115 row 13 : france | trs-2100 tiger | air surv radar | 1988 | 1 row 14 : france | trs-2230/15 tiger | air surv radar | 1984-1985 | 6 row 15 : france | am-39 exocet | anti-ship missile | 1979-1988 | 352 row 16 : france | as-30l | asm | 1986-1990 | 240 row 17 : france | r-550 magic-1 | sraam | 1981-1985 | 534 row 18 : italy | a-109 hirundo | light helicopter | 1982 | 2 row 19 : poland | t-72m1 | tank | 1982-1990 | 500 row 20 : romania | t-55 | tank | 1982-1984 | 150 row 21 : yugoslavia | m-87 orkan 262mm | multiple rocket launcher | 1988 | 2 row 22 : united states | md-500md defender | light helicopter | 1983 | 30 row 23 : united states | md-530f | light helicopter | 1986 | 26 row 24 : soviet union | mig-21bis/fishbed-n | fighter aircraft | 1983-1984 | 61 row 25 : soviet union | mig-23bn/flogger- | fga aircraft | 1984-1985 | 50 row 26 : soviet union | su-22/fitter-h/j/ | fga aircraft | 1986-1987 | 61 row 27 : soviet union | su-25/frogfoot-a | ground attack aircraft | 1986-1987 | 84 row 28 : soviet union | 9p117/ss-1 scu | ssm launcher | 1983-1984 | 10 row 29 : soviet union | bm-21 grad 122mm | multiple rocket launcher | 1983-1988 | 560 row 30 : soviet union | d-30 122mm | towed gun | 1982-1988 | 576 row 31 : soviet union | sa-9/9p31 | aav(m) | 1982-1985 | 160 row 32 : soviet union | long track | air surv radar | 1980-1984 | 10 row 33 : soviet union | sa-8b/9k33m | mobile sam system | 1982-1985 | 50 row 34 : soviet union | thin skin | air surv radar | 1980-1984 | 5 row 35 : soviet union | 9m111/at-4 spigot | anti-tank missile | 1986-1989 | 3000 row 36 : soviet union | 9m37/sa-13 gopher | sam | 1985-1986 | 960 ] Execute this SQL based on the above table: select weapon designation where quantity delivered > 457
wz-121/type 69, hn-5a, r-550 magic-1, t-72m1, bm-21 grad 122mm, d-30 122mm, 9m111/at-4 spigot, 9m37/sa-13 gopher
[ header: rank | mountain peak | mountain range | elevation | prominence | isolation | location row 1 : 1 | mount whitney | sierra nevada | 14,505 ft 4421 m | 10,080 ft 3072 m | 1,646 mi 2,649 km | 36°34′43′′n 118° row 2 : 2 | mount williamson | sierra nevada | 14,379 ft 4383 m | 1,677 ft 511 m | 5.4 mi 8.7 km | 36°39′21′′n 118° row 3 : 4 | north palisade | sierra nevada | 14,248 ft 4343 m | 2,894 ft 882 m | 32 mi 52 km | 37°05′39′′n 118° row 4 : 5 | mount shasta | cascade range | 14,179 ft 4322 m | 9,832 ft 2997 m | 335 mi 539 km | 41°24′33′′n 122° row 5 : 6 | mount humphreys | sierra nevada | 13,992 ft 4265 m | 2,563 ft 781 m | 15 mi 24 km | 37°16′14′′n 118° row 6 : 7 | mount keith | sierra nevada | 13,982 ft 4262 m | 1,936 ft 590 m | 3.1 mi 5.0 km | 36°42′00′′n 118° row 7 : 10 | mount morgan | sierra nevada | 13,758 ft 4193 m | 2,648 ft 807 m | 10 mi 16 km | 37°24′19′′n 118° row 8 : 11 | mount gabb | sierra nevada | 13,747 ft 4190 m | 2,601 ft 793 m | 4.3 mi 6.9 km | 37°22′37′′n 118° row 9 : 12 | mount tom | sierra nevada | 13,657 ft 4163 m | 1,992 ft 607 m | 4.8 mi 7.7 km | 37°22′34′′n 119° row 10 : 13 | mount dubois | white mountains | 13,565 ft 4135 m | 2,339 ft 713 m | 10 mi 16 km | 37°47′00′′n 118° row 11 : 15 | red slate mountain | sierra nevada | 13,162 ft 4012 m | 1,736 ft 529 m | 8 mi 13 km | 37°30′27′′n 118° row 12 : 16 | mount ritter | sierra nevada | 13,149 ft 4008 m | 3,990 ft 1216 m | 22 mi 35 km | 37°41′21′′n 119° ] Execute this SQL based on the above table: select count ( * ) where mountain range = 'sierra nevada'
10
[ header: protein | natural host | normal function | prion state | prion phenotype | year identified row 1 : ure2p | saccharomyces cerevisiae | nitrogen catabolite repressor | [ure3] | growth on poor nitrogen sources | 1994 row 2 : sup35p | saccharomyces cerevisiae | translation termination factor | [psi+] | increased levels of nonsense suppression | 1994 row 3 : het-s | podospora anserina | regulates heterokaryon incompatibility | [het-s] | heterokaryon formation between incompatible strains | 1997 row 4 : vacuolar protease b | saccharomyces cerevisiae | death in stationary phase, failure in meio | [β] | failure to degrade cellular proteins under n | 2003 row 5 : map kinases | podospora anserina | increased pigment, slow growth | [c] | None | 2006 row 6 : rnq1p | saccharomyces cerevisiae | protein template factor | [rnq+],[pin+] | promotes aggregation of other prions | 2008 row 7 : mca1 | saccharomyces cerevisiae | putative yeast caspase | [mca+] | None | 2008 row 8 : swi1 | saccharomyces cerevisiae | chromatin remodeling | [swi+] | poor growth on some carbon sources | 2008 row 9 : cyc8 | saccharomyces cerevisiae | transcriptional repressor | [oct+] | transcriptional derepression of multiple genes | 2009 row 10 : mot3 | saccharomyces cerevisiae | nuclear transcription factor | [mot3+] | transcriptional derepression of anaero | 2009 row 11 : pma1+std1 | saccharomyces cerevisiae | pma1 = major plasma membrane proton pump | [gar+] | resistant to glucose-associated repression | 2009 row 12 : sfp1 | saccharomyces cerevisiae | global transcriptional regulator | [isp+] | antisuppressor of certain sup | 2010 row 13 : mod5 | saccharomyces cerevisiae | None | [mod+] | None | 2012 ] Execute this SQL based on the above table: select protein where year identified < ( select year identified where protein = 'cyc8' ) order by year identified desc limit 1
rnq1p
[ header: interferometer and observing mode | waveband | limiting magnitude | minimum baseline (m) (un-projected) | maximum baseline (m) | approx. no. visibility measurements per year (measurements per night x nights used per year) | max ratio of no. phase / no. amplitude measurements (measure of imaging performance, 0 = none) | accuracy of amplitude2 measurements | accuracy of phase measurements (milli-radians) | number of spectral channels (max in use simultaneously) | comments row 1 : chara array | v, r, i, | 8 | 34 | 330 | 7500 | 0.7 | 1% | 10 | 30000 | yes... 30000 in the visible band; max row 2 : coast visible | r, i | 7 | 4 | 60 | 2000 | 0.5 | 4% | 10 | 4 | 300 cloudy nights per year, maximum baseline 100 row 3 : coast infrared | j, h | 3 | 4 | 60 | 100 | 0.5 | 20% | 10 | 1 | 300 cloudy nights per year, maximum baseline 100 row 4 : gi2t visible | r, i | 5 | 10 | 65 | 2000 | 0 | 10% | None | 400 | closed in 2006 row 5 : iota | j, h, k | 7 | 6 | 30 | 10000 | 0.3 | 2% | 10 | 1 | integrated optics beam combiner. closed row 6 : isi | n | 0 | 10 | 50 | 5000 | 0.3 | 1% | 1 | 1000 | maximum baseline 70-m row 7 : keck interferometer | h, k, l, | 10.3 | 85 | 85 | 1000 | 0 | 4% | 1 | 330 | nulling key science underway - no imaging on row 8 : keck aperture masking | j, h, k, | 2 | 0.5 | 9 | 20000 | 0.9 | 20% | 10 | 1 | closed row 9 : mira 1.2 | r, i | 3 | 30 | 30 | 500 | 0 | 10% | None | 1 | mid-infrared row 10 : navy precision optical interferometer(npo | v, r, i | 5 | 5 | 300 | 50000 | 0.7 | 4% | 10 | 16 | at nofs; siderstats operational row 11 : susi | b, v, r, | 5 | 5 | 640 | 5000 | 0 | 4% | 10 | 21 | no imaging on a single baseline instrument; maximum row 12 : vlti +uts am | j, h, k simultaneously | 7 | 46 | 130 | 400 | 0.3 | 1% | 10 | 2000 | used for a few weeks per year. longest row 13 : vlti +ats amber | j, h, k simultaneously | 4 | 46 | 130 | 400 | 0.3 | 1% | 10 | 2000 | longest overall vlti baseline 130m row 14 : vlti +uts | k | 11 | 46 | 130 | 400 | 0 | >1% | None | 1 | integrated optics beam combiner. longest overall row 15 : vlti +ats v | k | never checked | 12 | 200 | 400 | 0 | >1% | None | 1 | longest overall vlti baseline 130m row 16 : vlti +ats midi | n | 4.5 | None | 200 | 200 | 0 | 10% | None | 250 | vlti inldes world' ] Execute this SQL based on the above table: select interferometer and observing mode where waveband = 'r, i'
coast visible, gi2t visible, mira 1.2
[ header: rank | name | nationality | result | notes row 1 : None | park ho-hyun | south korea | 55.58 | pb row 2 : None | lee young-sun | south korea | 55.29 | None row 3 : None | anne de silva | sri lanka | 54.86 | None row 4 : 4 | liliya dusmetova | uzbekistan | 54.52 | sb row 5 : 5 | zhang li | china | 54.11 | None row 6 : 6 | harumi yamamoto | japan | 52.6 | None row 7 : 7 | suman devi | india | 52.58 | None row 8 : 8 | emika yoshida | japan | 51.62 | None row 9 : 9 | nadeeka lakmali | sri lanka | 48.54 | None row 10 : 10 | jang ok-ju | north korea | 41.68 | pb row 11 : 11 | parveen akhtar | pakistan | 37.51 | None ] Execute this SQL based on the above table: select nationality where nationality in ( 'south korea' , 'emika yoshida' ) order by result desc limit 1
south korea
[ header: ship name | in service | project number | type | class | comments row 1 : lenin | 1959 | 92m | icebreaker | None | decommissioned 1989. museum ship row 2 : arktika | 1975 | 1052-1 | icebreaker | arktika | not operational row 3 : sibir | 1977 | 1052-2 | icebreaker | arktika | defueled and not operational since 1993 row 4 : rossiya | 1985 | 10521-1 | icebreaker | arktika | None row 5 : sevmorput | 1988 | 10081 | container ship | None | has ice-breaking bow row 6 : taymyr | 1989 | 10580-1 | river icebreaker | taymyr | None row 7 : sovetskiy soyuz | 1990 | 10521-2 | icebreaker | arktika | None row 8 : vaygach | 1990 | 10580-2 | river icebreaker | taymyr | None row 9 : yamal | 1993 | 10521-3 | icebreaker | arktika | None row 10 : 50 let pobedy | 2007 | 10521 | icebreaker | arktika | built as ural, completed in 2007 ] Execute this SQL based on the above table: select count ( * ) where in service < 1728
0
[ header: typ | construction time | cylinders | capacity | power | top speed row 1 : vis-a-vis | 1900-1903 | 1 | 400 cc | 2,6 kw (3,5 p | 30 km/h (19 mph) row 2 : 45 ps (33 kw; | 1900-1903 | 1 | 510 cc | 3,3 kw (4,5 ps | 35 km/h (22 mph) row 3 : 24/28 ps | 1904-1905 | 4 inline | 4,016 cc | 20,6 kw (28 ps | 65 km/h (40 mph) row 4 : 8/12 (8/14) ps | 1904-1906 | 2 inline | 2,008 cc | 8,8-10,3 kw (12-14 | 50 km/h (31 mph) row 5 : 4/8 ps | 1906-1907 | 2 v | 1,032 cc | 5,9 kw (8 ps) | 55 km/h (34 mph) row 6 : 5/9 ps | 1907-1909 | 2 inline | 1,134 cc | 6,6 kw (9 ps) | 60 km/h (37 mph) row 7 : 11/18 ps | 1907-1910 | 4 inline | 2,799 cc | 13,2 kw (18 ps) | 55 km/h (34 mph) row 8 : 23/50 ps | 1909-1912 | 4 inline | 5,800 cc | 42,6 kw (58 p | None row 9 : 13/30 ps | 1909-1912 | 4 inline | 3,180 cc | 25,7 kw (35 ps | None row 10 : 10/28 ps | 1909-1912 | 4 inline | 2,612 cc | 22 kw (30 ps) | None row 11 : k 7/15 ps | 1910-1913 | 4 inline | 1,768 cc | 11 kw (15 ps) | 60 km/h (37 mph) row 12 : 30/70 ps | 1911-1914 | 4 inline | 7,853 cc | 51 kw (70 ps) | 115 km/h (71 mph) row 13 : 15/40 ps | 1913-1914 | 4 inline | 3,866 cc | 33 kw (45 ps) | 90 km/h (56 mph) row 14 : 25/55 ps | 1913-1914 | 4 inline | 6,457 cc | 44 kw (60 ps) | None row 15 : 12/30 ps | 1914 | 4 inline | 3,115 cc | 25,7 kw (35 ps | None row 16 : 9/24 (9/30) ps | 1921-1924 | 4 inline | 2,298 cc | 17,6-22 kw (24-30 | 65 km/h (40 mph)- row 17 : 18/60 ps | 1921-1924 | 4 inline | 4,712 cc | 44 kw (60 ps) | 100 km/h (62 mph) row 18 : 18/80 ps | 1925-1927 | 6 inline | 4,704 cc | 59 kw (80 ps | 100 km/h (62 mph) row 19 : standard 8 | 1928-1933 | 8 inline | 3,887 cc | 51-59 kw (70-80 | 100 km/h (62 mph)- row 20 : standard 6 3u | 1933-1934 | 6 inline | 2,916 cc | 44 kw (60 ps) | 100 km/h (62 mph) ] Execute this SQL based on the above table: select typ where typ in ( 'standard 8' , '24/28 ps' ) order by typ asc limit 1
24/28 ps
[ header: no. | player | position | career | date no. retired row 1 : 1 | eddie giacomin | g | 1965-76 | march 15, 1989 row 2 : 2 | brian leetch | d | 1987-2004 | january 24, 2008 row 3 : 3 | harry howell | d | 1952-69 | february 22, 2009 row 4 : 7 | rod gilbert | rw | 1960-78 | october 14, 1979 row 5 : 9 | andy bathgate | c | 1954-64 | february 22, 2009 row 6 : 9 | adam graves | lw | 1991-2001 | february 3, 2009 row 7 : 11 | mark messier | c | 1991-97, 2000-04 | january 12, 2006 row 8 : 35 | mike richter | g | 1990-2003 | february 4, 2004 row 9 : 99 | wayne gretzky | c | 1996-99 | february 6, 2000 ] Execute this SQL based on the above table: select player where id = ( select id where date no. retired = 'october 14, 1979' ) - 1
harry howell
[ header: no | test no | 1st team | 2nd team | winner | margin | toss | bat | date row 1 : 1 | 745 | india | west indies | west indies | 267 runs | won | 2nd | 22-11-1974 row 2 : 2 | 794 | india | england | india | 140 runs | won | 1st | 28-1-1977 row 3 : 3 | 837 | india | west indies | draw | None | lost | 2nd | 15-12-1978 row 4 : 4 | 856 | india | australia | draw | None | lost | 2nd | 19-9-1979 row 5 : 5 | 861 | india | pakistan | draw | None | lost | 2nd | 21-11-1979 row 6 : 6 | 912 | india | england | draw | None | lost | 2nd | 9-12-1981 row 7 : 7 | 961 | india | pakistan | draw | None | won | 1st | 14-9-1983 row 8 : 8 | 1073 | india | pakistan | pakistan | 16 runs | lost | 2nd | 13-3-1987 row 9 : 9 | 1107 | india | new zealand | india | 172 runs | won | 1st | 12-11-1988 row 10 : 10 | 1245 | india | sri lanka | india | inns & 95 runs | won | 1st | 26-1-1994 row 11 : 11 | 1308 | india | new zealand | india | 8 wickets | lost | 2nd | 18-10-1995 row 12 : 12 | 1413 | india | australia | australia | 8 wickets | won | 1st | 25-3-1998 row 13 : 13 | 1486 | india | south africa | south africa | inns & 71 runs | won | 1st | 2-3-2000 row 14 : 14 | 1578 | india | england | draw | None | lost | 2nd | 19-12-2001 row 15 : 15 | 1713 | india | australia | australia | 217 runs | lost | 2nd | 6-10-2004 row 16 : 16 | 1743 | india | pakistan | pakistan | 168 runs | lost | 2nd | 24-3-2005 row 17 : 17 | 1852 | india | pakistan | draw | None | won | 1st | 8-12-2007 row 18 : 18 | 1887 | india | australia | draw | None | lost | 2nd | 9-10-2008 row 19 : 19 | 1973 | india | australia | india | 7 wickets | lost | 2nd | 9-10-2010 row 20 : 20 | 2055 | india | new zealand | india | 5 wickets | lost | 2nd | 25-5-2008 ] Execute this SQL based on the above table: select 1st team where no > 19 order by no limit 1
india
[ header: no. | title (latin) | title (english translation) | subject | date row 1 : 1 | qui pluribus | None | on faith and religion | 9 november 1846 row 2 : 2 | praedecessores nostros | None | on aid for ireland | 25 march 1847 row 3 : 4 | ubi primum | None | on immaculate conception | 2 february 1849 row 4 : 5 | nostis et nobiscum | None | on the church in the papal states | 8 december 1849 row 5 : 6 | exultavit cor nostrum | None | on the effects of the jubilee | 21 november 1851 row 6 : 7 | nemo certe ignorat | None | on discipline for clergy | 25 march 1852 row 7 : 8 | probe noscitis venerabiles | None | on the discipline for clergy | 17 may 1852 row 8 : 9 | inter multiplices | None | pleading for unity of spirit | 21 march 1853 row 9 : 10 | neminem vestrum | None | on the persecution of armenians | 2 february 1854 row 10 : 11 | optime noscitis | None | on the proposed catholic university of irel | 20 march 1854 row 11 : 13 | optime noscitis | None | on episcopal meetings | 5 november 1855 row 12 : 14 | singulari quidem | None | on the church in austria | 17 march 1856 row 13 : 15 | cum nuper | None | on care for clerics | 20 january 1858 row 14 : 16 | amantissimi redemptoris | None | on priests and the care of souls | 3 may 1858 row 15 : 17 | cum sancta mater eccle | None | pleading for public prayer | 27 april 1859 row 16 : 18 | qui nuper | None | on the pontifical states | 18 june 1859 row 17 : 19 | nullis certe verbis | None | on the need for civil sovereignty | 19 january 1860 row 18 : 20 | amantissimus | None | on the care of the churches | 8 april 1862 row 19 : 22 | incredibili | None | on the persecution in new granada | 17 september 1863 row 20 : 24 | quanta cura | None | condemning current errors | 8 december 1864 row 21 : 25 | meridionali americae | None | on the seminary for the native clergy | 30 september 1865 row 22 : 26 | levate | None | on the affiliations of church | 27 october 1867 row 23 : 27 | respicientes | None | protesting the taking of the pontifical states | 1 november 1870 row 24 : 28 | ubi nos | "our city" | on the pontifical states | 15 may 1871 row 25 : 29 | beneficia dei | None | on the 25th anniversary of his pontificate | 4 june 1871 row 26 : 30 | saepe venerabiles | None | thanksgiving for 25 years of pontificate | 5 august 1871 row 27 : 31 | quae in patriarchatu | None | on the church in chaldea | 16 november 1872 row 28 : 32 | quartus supra | None | on the church in armenia | january 1873 row 29 : 34 | vix dum a nobis | None | on the church in austria | 7 march 1874 row 30 : 35 | omnem sollicitudinem | None | on the greek-ruthenian rite | 13 may 1874 row 31 : 36 | gravibus ecclesia | None | proclaiming a jubilee | 24 december 1874 row 32 : 37 | quod nunquam | None | on the church in prussia | 5 february 1875 row 33 : 38 | graves ac diuturnae | None | on the church in switzerland | 23 march 1875 ] Execute this SQL based on the above table: select count ( date ) where date != '2 february 1849' and no. not null
32
[ header: # | president | president's party | senate with | senate opposed | house with | house opposed | years served | elections won row 1 : 1 | george washington | federalist-leaning | 8 | 0 | 6 | 2 | 8 | 2 row 2 : 3 | thomas jefferson | democratic-republican | 8 | 0 | 8 | 0 | 8 | 2 row 3 : 4 | james madison | democratic-republican | 8 | 0 | 8 | 0 | 8 | 2 row 4 : 7 | andrew jackson | democratic | 8 | 0 | 8 | 0 | 8 | 2 row 5 : 8 | martin van buren | democratic | 4 | 0 | 4 | 0 | 4 | 1 row 6 : 10 | john tyler | whig/none | 4 | 0 | 2 | 2 | 4 | 0 row 7 : 13 | millard fillmore | whig | 0 | 3 | 0 | 3 | 3 | 0 row 8 : 15 | james buchanan | democratic | 4 | 0 | 2 | 2 | 4 | 1 row 9 : 16 | abraham lincoln | republican | 4 | 0 | 4 | 0 | 4 | 2 row 10 : 17 | andrew johnson | democratic | 0 | 4 | 0 | 4 | 4 | 0 row 11 : 18 | ulysses grant | republican | 8 | 0 | 6 | 2 | 8 | 2 row 12 : 20 | james garfield | republican | 0 | 0.5 | 0.5 | 0 | 0.5 | 1 row 13 : 21 | chester arthur | republican | 4 | 0 | 2 | 2 | 4 | 0 row 14 : 24 | grover cleveland | democratic | 2 | 2 | 2 | 2 | 4 | 1 row 15 : 25 | william mckinley | republican | 4 | 0 | 4 | 0 | 4 | 2 row 16 : 26 | theodore roosevel | republican | 8 | 0 | 8 | 0 | 8 | 1 row 17 : 27 | william taft | republican | 4 | 0 | 2 | 2 | 4 | 1 row 18 : 28 | woodrow wilson | democratic | 6 | 2 | 6 | 2 | 8 | 2 row 19 : 29 | warren harding | republican | 2 | 0 | 2 | 0 | 2 | 1 row 20 : 30 | calvin coolidge | republican | 6 | 0 | 6 | 0 | 6 | 1 row 21 : 31 | herbert hoover | republican | 4 | 0 | 2 | 2 | 4 | 1 row 22 : 34 | dwight eisenhower | republican | 2 | 6 | 2 | 6 | 8 | 2 row 23 : 36 | lyndon johnson | democratic | 5 | 0 | 5 | 0 | 5 | 1 row 24 : 38 | gerald ford | republican | 0 | 2 | 0 | 2 | 2 | 0 row 25 : 39 | jimmy carter | democratic | 4 | 0 | 4 | 0 | 4 | 1 row 26 : 41 | george h. w. bush | republican | 0 | 4 | 0 | 4 | 4 | 1 row 27 : 42 | bill clinton | democratic | 2 | 6 | 2 | 6 | 8 | 2 row 28 : 43 | george w. bush | republican | 4.5 | 3.5 | 6 | 2 | 8 | 2 row 29 : 44 | barack obama | democratic | 6 | 0 | 2 | 4 | 6 | 2 ] Execute this SQL based on the above table: select elections won where years served = 3
0.0
[ header: rank | name | nationality | result | notes row 1 : None | park ho-hyun | south korea | 55.58 | pb row 2 : None | lee young-sun | south korea | 55.29 | None row 3 : None | anne de silva | sri lanka | 54.86 | None row 4 : 4 | liliya dusmetova | uzbekistan | 54.52 | sb row 5 : 5 | zhang li | china | 54.11 | None row 6 : 6 | harumi yamamoto | japan | 52.6 | None row 7 : 7 | suman devi | india | 52.58 | None row 8 : 8 | emika yoshida | japan | 51.62 | None row 9 : 9 | nadeeka lakmali | sri lanka | 48.54 | None row 10 : 10 | jang ok-ju | north korea | 41.68 | pb row 11 : 11 | parveen akhtar | pakistan | 37.51 | None ] Execute this SQL based on the above table: select count ( * ) where notes = 'sb'
1
[ header: # | name | strike tone (st-1/16) | weight (kg) | diameter (mm) | inscription row 1 : 1 | maria | g0 +8 | 6045 | 2075 | + o mater alma christ row 2 : 2 | carolus | h0 +7 | 2900 | 1628 | honor et cultus, que row 3 : 3 | johannes evangelista | d1 +8 | 1400 | 1367 | nascentes inter soci row 4 : 4 | johannes baptista | e1 +7 | 1225 | 1217 | johannes baptista or row 5 : 5 | leopardus | fis1 +3 | 850 | 1078 | sancte leoparde ora pro nobis row 6 : 6 | stephanus | g1 +8 | 715 | 1027 | sancte stephane ora pro no row 7 : 7 | petrus | a1 +1 | 425 | 894 | sancte petre ora pro nobis row 8 : 8 | simeon | h1 +8 | 290 | 793 | sancte simeon juste e ] Execute this SQL based on the above table: select name order by diameter (mm) desc limit 1
maria
[ header: outcome | no. | date | championship | surface | opponent | score row 1 : runner-up | 1 | 1973 | baltimore, u.s | hard (i) | jimmy connors | 4-6, 5-7 row 2 : winner | 1 | 1974 | baltimore, u.s | carpet | clark graebner | 6-2, 6-1 row 3 : runner-up | 2 | 1974 | birmingham, u.s | carpet | jimmy connors | 5-7, 3-6 row 4 : winner | 2 | 1974 | paramus, u.s | indoor | jurgen fassbender | 6-1, 6-3 row 5 : winner | 3 | 1974 | jackson, u.s | carpet | karl meiler | 7-6, 7-5 row 6 : runner-up | 3 | 1975 | maui, u.s | hard | jimmy connors | 1-6, 0-6 row 7 : runner-up | 4 | 1975 | hong kong | hard | tom gorman | 3-6, 1-6, 1-6 row 8 : winner | 4 | 1977 | little rock, u.s | carpet | haroon rahim | 6-2, 6-4 row 9 : runner-up | 5 | 1977 | san jose, u.s | hard | jiri hrebec | 6-3, 4-6, 5-7 row 10 : winner | 5 | 1977 | hampton, u.s | carpet | stan smith | 4-6, 6-3, 6-2, row 11 : winner | 6 | 1977 | stockholm, sweden | hard (i) | raymond moore | 6-2, 6-4 row 12 : winner | 7 | 1978 | st. louis wct | carpet | eddie dibbs | 7-6, 6-4 row 13 : runner-up | 6 | 1980 | surbiton, england | grass | brian gottfried | 3-6, 3-6 row 14 : runner-up | 7 | 1981 | los angeles, u.s | hard | john mcenroe | 7-6, 3-6, 3-6 row 15 : runner-up | 8 | 1981 | cologne, germany | hard (i) | ivan lendl | 3-6, 3-6 row 16 : runner-up | 9 | 1981 | stockholm, sweden | hard (i) | gene mayer | 4-6, 2-6 row 17 : winner | 8 | 1981 | bologna, italy | carpet | ilie nastase | 7-5, 6-3 row 18 : runner-up | 10 | 1982 | stuttgart outdoor, germany | clay | ramesh krishn | 7-5, 3-6, 3-6, row 19 : winner | 9 | 1982 | cleveland, u.s | hard | robert van't hof | 7-5, 6-3 row 20 : winner | 10 | 1983 | gstaad, switze | clay | tomas smid | 6-0, 6-3, 6-2 ] Execute this SQL based on the above table: select count ( * ) where championship = 'cologne, germany'
1
[ header: | name | took office | left office | party | notes/events row 1 : 11 | william mccreery | march 4, 1803 | march 3, 1809 | democratic republican | None row 2 : 12 | alexander mckim | march 4, 1809 | march 3, 1815 | democratic republican | None row 3 : 13 | william pinkney | march 4, 1815 | april 18, 1816 | democratic republican | resigned to accept position as minister p row 4 : 14 | peter little | september 2, 1816 | march 3, 1823 | democratic republican | None row 5 : 14 | peter little | march 4, 1823 | march 3, 1825 | jacksonian dr | None row 6 : 14 | peter little | march 4, 1825 | march 3, 1829 | adams | None row 7 : 15 | benjamin c. howard | march 4, 1829 | march 3, 1833 | jacksonian | None ] Execute this SQL based on the above table: select avg ( ) where left office in ( 'march 3, 1823' , 'april 18, 1816' )
13.5
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | nigeria | 14 | 12 | 9 | 35 row 2 : 2 | algeria | 9 | 4 | 4 | 17 row 3 : 3 | kenya | 8 | 11 | 4 | 23 row 4 : 4 | ethiopia | 2 | 4 | 7 | 13 row 5 : 5 | ghana | 2 | 2 | 2 | 6 row 6 : 6 | ivory coast | 2 | 1 | 3 | 6 row 7 : 7 | egypt | 2 | 1 | 0 | 3 row 8 : 8 | senegal | 1 | 1 | 5 | 7 row 9 : 9 | morocco | 1 | 1 | 1 | 3 row 10 : 10 | tunisia | 0 | 3 | 1 | 4 row 11 : 11 | madagascar | 0 | 1 | 1 | 2 row 12 : 12 | rwanda | 0 | 0 | 1 | 1 row 13 : 12 | zimbabwe | 0 | 0 | 1 | 1 row 14 : 12 | seychelles | 0 | 0 | 1 | 1 ] Execute this SQL based on the above table: select count ( * ) where nation = 'seychelles' and nation < 1970
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 number where males = 154603
317169.0
[ header: player | year | round | result | opponent row 1 : raymond van barneveld | 2009 | quarter-final | won | jelle klaasen row 2 : raymond van barneveld | 2010 | 2nd round | won | brendan dolan row 3 : adrian lewis | 2011 | final | won | gary anderson row 4 : dean winstanley | 2013 | 2nd round | lost | vincent van der voort row 5 : michael van gerwen | 2013 | semi final | won | james wade row 6 : terry jenkins | 2014 | 1st round | lost | per laursen row 7 : kyle anderson | 2014 | 1st round | lost | ian white ] Execute this SQL based on the above table: select year where year in ( 2011 , 2011 ) order by result limit 1
2011
[ header: season | level | name | position | nationality | international caps row 1 : 1973 | 1 | kevin beattie | defender | england | 9 row 2 : 1974 | 1 | kevin beattie | defender | england | 9 row 3 : 1975 | 1 | colin viljoen | midfielder | england | 2 row 4 : 1976 | 1 | allan hunter | defender | northern ireland | 53 row 5 : 1977 | 1 | george burley | defender | scotland | 11 row 6 : 1978 | 1 | mick mills | defender | england | 42 row 7 : 1979 | 1 | arnold muhren | midfielder | netherlands | 23 row 8 : 1980 | 1 | frans thijssen | midfielder | netherlands | 14 row 9 : 1981 | 1 | paul cooper | goalkeeper | england | None row 10 : 1982 | 1 | alan brazil | striker | scotland | 13 row 11 : 1983 | 1 | paul mariner | striker | england | 35 row 12 : 1984 | 1 | trevor putney | midfielder | england | None row 13 : 1985 | 1 | terry butcher | defender | england | 77 row 14 : 1986 | 1 | terry butcher | defender | england | 77 row 15 : 1987 | 2 | romeo zondervan | midfielder | netherlands | 6 row 16 : 1988 | 2 | frank yallop | defender | canada | 52 row 17 : 1989 | 2 | john wark | midfielder | scotland | 29 row 18 : 1990 | 2 | john wark | midfielder | scotland | 29 row 19 : 1991 | 2 | david linighan | defender | england | None row 20 : 1992 | 2 | john wark | midfielder | scotland | 29 row 21 : 1993 | 1 | mick stockwell | midfielder | england | None row 22 : 1994 | 1 | john wark | midfielder | scotland | 29 row 23 : 1995 | 1 | craig forrest | goalkeeper | canada | 56 row 24 : 1996 | 2 | simon milton | midfielder | england | None row 25 : 1997 | 2 | mauricio taricco | defender | argentina | None row 26 : 1999 | 2 | jamie clapham | defender | england | None row 27 : 2000 | 2 | james scowcroft | striker | england | None row 28 : 2001 | 1 | marcus stewart | striker | england | None row 29 : 2002 | 1 | mark venus | defender | england | None row 30 : 2003 | 2 | matt holland | midfielder | ireland | 49 row 31 : 2004 | 2 | ian westlake | midfielder | england | None row 32 : 2005 | 2 | shefki kuqi | striker | finland | 60 row 33 : 2006 | 2 | fabian wilnis | defender | netherlands | None row 34 : 2007 | 2 | sylvain legwinski | midfielder | france | None row 35 : 2008 | 2 | jonathan walters | striker | ireland | 19 row 36 : 2009 | 2 | richard wright | goalkeeper | england | 2 row 37 : 2010 | 2 | gareth mcauley | defender | northern ireland | 21 row 38 : 2011 | 2 | jimmy bullard | midfielder | england | None row 39 : 2012 | 2 | aaron cresswell | defender | england | None row 40 : 2013 | 2 | tommy smith | defender | new zealand | 22 ] Execute this SQL based on the above table: select ( select season where name = 'arnold muhren' ) - ( select season where name = 'paul mariner' )
-4
[ header: pos | no | driver | constructor | laps | time/retired | grid | points row 1 : 1 | 5 | fernando alonso | renault | 56 | 1:31:33.736 | 1 | 10 row 2 : 2 | 16 | jarno trulli | toyota | 56 | 24.327 | 2 | 8 row 3 : 3 | 8 | nick heidfeld | williams-bmw | 56 | 32.188 | 10 | 6 row 4 : 4 | 10 | juan pablo montoya | mclaren-mercedes | 56 | 41.631 | 11 | 5 row 5 : 5 | 17 | ralf schumacher | toyota | 56 | 51.854 | 5 | 4 row 6 : 6 | 14 | david coulthard | red bull-cosworth | 56 | +1:12.543 | 8 | 3 row 7 : 7 | 1 | michael schumacher | ferrari | 56 | +1:19.988 | 13 | 2 row 8 : 8 | 15 | christian klien | red bull-cosworth | 56 | +1:20.835 | 7 | 1 row 9 : 9 | 9 | kimi raikkonen | mclaren-mercedes | 56 | +1:21.580 | 6 | None row 10 : 10 | 12 | felipe massa | sauber-petronas | 55 | +1 lap | 14 | None row 11 : 11 | 19 | narain karthikeyan | jordan-toyota | 54 | +2 laps | 17 | None row 12 : 12 | 18 | tiago monteiro | jordan-toyota | 53 | +3 laps | 18 | None row 13 : 13 | 21 | christijan albers | minardi-cosworth | 52 | +4 laps | 19 | None row 14 : ret | 2 | rubens barrichello | ferrari | 49 | handling | 12 | None row 15 : ret | 6 | giancarlo fisichella | renault | 36 | collision | 3 | None row 16 : ret | 7 | mark webber | williams-bmw | 36 | collision | 4 | None row 17 : ret | 11 | jacques villeneuve | sauber-petronas | 26 | spun off | 16 | None row 18 : ret | 3 | jenson button | bar-honda | 2 | engine | 9 | None row 19 : ret | 4 | anthony davidson | bar-honda | 2 | engine | 15 | None row 20 : ret | 20 | patrick friesacher | minardi-cosworth | 2 | spun off | 20 | None ] Execute this SQL based on the above table: select grid where constructor = 'toyota' or driver = 'toyota'
2, 5
[ header: name | title | first year in this position | years at nebraska | alma mater row 1 : biff jones | head coach | 1937 | 1937-1941 | army row 2 : henry schulte | lineman coach | 1931 | 1919-1924, 1931-1937 | michigan row 3 : ed weir | freshmen coach | 1929 | 1926, 1929-1937, 1943 | nebraska row 4 : w. harold browne | assistant coach | 1930 | 1930-1940 | None row 5 : roy lyman | None | 1936 | 1936-1941 | None row 6 : adolph j. lewand | None | 1937 | 1937-1944 | nebraska row 7 : jerry adams | None | None | 1937 | None row 8 : charles armstrong | None | 1937 | 1937-1942, 1944 | None ] Execute this SQL based on the above table: select alma mater order by first year in this position desc limit 1
army
[ header: name | position | height | weight | date of birth | current/last known team row 1 : jonathan aldridge | inf | 5'10 | 150 | 10/20/1975 | saskatoon legends (2003) row 2 : henrry alvarez | c | 6'2 | 185 | 10/20/1979 | saskatoon legends (2003) row 3 : bobby brown | of | 5'11 | 180 | 05/24/1974 | sioux city explorers - northern row 4 : derek cockroft | p | 6'4 | 225 | 11/23/1980 | australian capital territory eagles row 5 : bienvenido feliz (note: | p | 6'1 | 210 | 06/04/1977 | newark bears - atlantic league row 6 : david garcia | p | 6'5 | 203 | 11/08/1980 | saskatoon legends (2003) row 7 : craig kilshaw | p | 6'3 | 195 | 02/14/1980 | saskatoon legends (2003) row 8 : joe kirby | inf | 6'0 | 180 | 03/23/1979 | brock university badgers - on row 9 : ryan koback | p | 6'6 | 245 | 12/31/1981 | saskatoon yellow jackets row 10 : javier lorenzo | p | 6'0 | 168 | 12/26/1978 | saskatoon legends (2003) row 11 : alejandro martinez | inf | 6'1 | 215 | 05/22/1977 | laredo broncos - united row 12 : sean murphy | inf | 5'10 | 180 | 05/03/1972 | elmira pioneers - northeast row 13 : jose olmeda | inf | 6'1 | 170 | 07/07/1977 | edinburg coyotes - row 14 : darwin peguero | p | 6'0 | 192 | 12/05/1978 | newark bears - atlantic league row 15 : frankie perez | of | 5'11 | 185 | 10/26/1978 | saskatoon legends (2003) row 16 : jd scholten | p | 6'6 | 228 | 03/04/1980 | sioux city explorers - american row 17 : chris seaton | p | 6'0 | 195 | 09/22/1978 | schaumburg flyers - northern league row 18 : hirotaka shimizu | of | 5'11 | 172 | 01/18/1978 | sichuan dragons - chines row 19 : matt teahen | inf | 6'0 | 210 | 02/27/1979 | mid-missouri mavericks row 20 : angel tovar | p | 6'4 | 195 | 04/25/1978 | olmecas de tabasco row 21 : carlos urquiola (note: the | inf | 5'8 | 150 | 04/22/1980 | ceci & negri parma row 22 : ben van iderstine | of | 6'2 | 200 | 01/20/1978 | sioux falls canaries - american association row 23 : kenny white | p | 6'1 | 170 | 11/27/1978 | gary railcats - northern league (2004) ] Execute this SQL based on the above table: select date of birth order by id desc limit 1
11/27/1978
[ header: date | opponent | venue | result | attendance | scorers row 1 : 15 august 1998 | wolverhampton wanderers | h | 0-2 | 7521 | None row 2 : 29 august 1998 | grimsby town | h | 0-0 | 5587 | None row 3 : 31 august 1998 | barnsley | a | 0-1 | 15328 | None row 4 : 6 september 1998 | portsmouth | h | 3-0 | 6626 | marsh, windass (2, 1 pen) row 5 : 9 september 1998 | swindon town | a | 1-4 | 8305 | banger row 6 : 19 september 1998 | sunderland | a | 0-7 | 34567 | None row 7 : 26 september 1998 | queens park rangers | h | 4-1 | 7489 | beauchamp, murphy, thom row 8 : 10 october 1998 | tranmere rovers | h | 1-2 | 5862 | windass row 9 : 17 october 1998 | bolton wanderers | a | 1-1 | 17064 | thomson row 10 : 31 october 1998 | crewe alexandra | h | 1-1 | 5607 | windass row 11 : 21 november 1998 | port vale | h | 2-1 | 5964 | windass (pen), powell row 12 : 5 december 1998 | bradford city | h | 0-1 | 5969 | None row 13 : 19 december 1998 | stockport county | a | 0-2 | 6500 | None row 14 : 28 december 1998 | portsmouth | a | 2-2 | 12604 | banger (2) row 15 : 9 january 1999 | bristol city | h | 0-0 | 9434 | None row 16 : 30 january 1999 | barnsley | h | 1-0 | 6174 | windass row 17 : 6 february 1999 | wolverhampton wanderers | a | 1-1 | 20811 | windass row 18 : 13 february 1999 | swindon town | h | 2-0 | 8179 | windass (2, 1 pen) row 19 : 27 february 1999 | sunderland | h | 0-0 | 9044 | None row 20 : 3 march 1999 | queens park rangers | a | 0-1 | 9040 | None row 21 : 9 march 1999 | huddersfield town | h | 2-2 | 6034 | cook, beauchamp row 22 : 13 march 1999 | watford | h | 0-0 | 8137 | None row 23 : 20 march 1999 | crewe alexandra | a | 1-3 | 4791 | thomson row 24 : 26 march 1999 | sheffield united | a | 2-1 | 14115 | thomson, banger row 25 : 3 april 1999 | bolton wanderers | h | 0-0 | 7547 | None row 26 : 5 april 1999 | tranmere rovers | a | 2-2 | 7837 | weatherstone, gilchrist row 27 : 17 april 1999 | port vale | a | 0-1 | 7393 | None row 28 : 24 april 1999 | norwich city | h | 2-4 | 7345 | wilsterman, francis row 29 : 1 may 1999 | bradford city | a | 0-0 | 15064 | None row 30 : 9 may 1999 | stockport county | h | 5-0 | 6830 | gilchrist, powell, beauch ] Execute this SQL based on the above table: select count ( date )
30
[ header: year | player | country | score | to par | margin of victory | course | location | purse ($) | winner's share ($) row 1 : 2014 | None | None | None | None | None | cherry hills country club | cherry hills village, colorado | 8000000 | 1440000 row 2 : 2013 | zach johnson | united states | 64-70-69-65=268 | -16 | 2 strokes | conway farms golf club | lake forest, illinois | 8000000 | 1440000 row 3 : 2012 | rory mcilroy | northern ireland | 64-68-69-67=268 | -20 | 2 strokes | crooked stick golf club | carmel, indiana | 8000000 | 1440000 row 4 : 2011 | justin rose | england | 63-68-69-71=27 | -13 | 2 strokes | cog hill golf & country club | lemont, illinois | 8000000 | 1440000 row 5 : 2010 | dustin johnson | united states | 68-70-68-69=275 | -9 | 1 stroke | cog hill golf & country club | lemont, illinois | 7500000 | 1350000 row 6 : 2009 | tiger woods (2) | united states | 68-67-62-68=2 | -19 | 8 strokes | cog hill golf & country club | lemont, illinois | 7500000 | 1350000 row 7 : 2008 | camilo villegas | colombia | 65-66-66-68=265 | -15 | 2 strokes | bellerive country club | town and country, missouri | 7000000 | 1260000 row 8 : 2007 | tiger woods | united states | 67-67-65-63=26 | -22 | 2 strokes | cog hill golf & country club | lemont, illinois | 7000000 | 1260000 ] Execute this SQL based on the above table: select score where location = 'lemont, illinois'
63-68-69-71=271, 68-70-68-69=275, 68-67-62-68=265, 67-67-65-63=262
[ header: season | division one | division two | division three row 1 : 1983-84 | whitehawk | portfield | east preston row 2 : 1984-85 | steyning town | shoreham | oakwood row 3 : 1985-86 | steyning town | wick | seaford town row 4 : 1986-87 | arundel | pagham | langney sports row 5 : 1987-88 | pagham | langney sports | midway row 6 : 1988-89 | pagham | seaford town | saltdean united row 7 : 1989-90 | wick | bexhill town | worthing united row 8 : 1990-91 | littlehampton town | newhaven | ifield row 9 : 1991-92 | peacehaven & telscombe | portfield | hassocks row 10 : 1992-93 | peacehaven & telscombe | crowborough athletic | withdean row 11 : 1993-94 | wick | shoreham | bosham row 12 : 1994-95 | peacehaven & telscombe | mile oak | midhurst & easebourne row 13 : 1995-96 | peacehaven & telscombe | saltdean united | ifield row 14 : 1996-97 | burgess hill town | littlehampton town | sidlesham row 15 : 1997-98 | burgess hill town | east preston | lingfield row 16 : 1998-99 | burgess hill town | sidley united | oving social club row 17 : 1999-2000 | langney sports | sidlesham | bosham row 18 : 2000-01 | sidley united | southwick | rye united row 19 : 2001-02 | burgess hill town | rye & iden united | pease pottage village row 20 : 2002-03 | burgess hill town | rye & iden united | midhurst & easebourne row 21 : 2003-04 | chichester city united | littlehampton town | crowborough athletic row 22 : 2004-05 | horsham y m | crowborough athletic | storrington row 23 : 2005-06 | horsham y m | oakwood | peacehaven & telscombe row 24 : 2006-07 | eastbourne town | pagham | rustington row 25 : 2007-08 | crowborough athletic | east grinstead town | loxwood row 26 : 2008-09 | eastbourne united association | peacehaven & telscombe | clymping row 27 : 2009-10 | whitehawk | rye united | bosham row 28 : 2010-11 | crawley down | a.f.c. uckfield | dorking wanderers row 29 : 2011-12 | three bridges | east preston | newhaven row 30 : 2012-13 | peacehaven & telscombe | littlehampton town | sidlesham ] Execute this SQL based on the above table: select season where division two = 'seaford town'
1988-89
[ header: date | winner | runner-up | result | site | attendance row 1 : february 11, 1978 | #2 maryland | #1 nc state | 89-82 | charlottesville, virginia | 1500 row 2 : february 10, 1979 | #1 maryland | #2 nc state | 75-73 | raleigh, north carolina | 3500 row 3 : february 10, 1980 | #1 nc state | #2 maryland | 85-75 | college park, maryland | None row 4 : february 14, 1981 | #3 maryland | #4 nc state | 64-63 | clemson, south carolina | 300 row 5 : march 6, 1983 | #3 maryland | #1 nc state | 84-81 | fayetteville, north carolin | 2134 row 6 : march 4, 1984 | #5 north carolina | #3 nc state | 99-76 | fayetteville, north carolin | 3733 row 7 : march 3, 1986 | #5 maryland | #2 north carolina | 92-74 | fayetteville, north carolin | 2632 row 8 : march 2, 1987 | #2 nc state | #1 virginia | 57-56 | fayetteville, north carolin | 2987 row 9 : march 7, 1988 | #2 maryland | #1 virginia | 76-70 | fayetteville, north carolin | 1223 row 10 : march 4, 1991 | #3 nc state | #4 clemson | 84-61 | fayetteville, north carolin | 4102 row 11 : march 9, 1992 | #1 virginia | #7 georgia tech | 70-69 | rock hill, south carolina | 4154 row 12 : march 8, 1993 | #1 virginia | #2 maryland | 106-103 3ot | rock hill, south carolina | 3716 row 13 : march 7, 1994 | #2 north carolina | #1 virginia | 77-60 | rock hill, south carolina | 4386 row 14 : march 5, 1995 | #2 north carolina | #4 duke | 95-70 | rock hill, south carolina | 5724 row 15 : march 2, 1997 | #1 north carolina | #6 clemson | 62-58 | charlotte, north carolina | 5543 row 16 : march 1, 1998 | #4 north carolina | #2 clemson | 81-50 | charlotte, north carolina | 5534 row 17 : march 5, 2001 | #1 duke | #3 nc state | 57-45 | greensboro, north carolina | 8933 row 18 : march 4, 2002 | #1 duke | #2 north carolina | 87-80 | greensboro, north carolina | 9204 row 19 : march 10, 2003 | #1 duke | #2 north carolina | 77-59 | greensboro, north carolina | 11127 row 20 : march 7, 2005 | #1 north carolina | #2 duke | 88-67 | greensboro, north carolina | 11578 row 21 : march 5, 2006 | #1 north carolina | #3 maryland | 91-80 | greensboro, north carolina | 10746 row 22 : march 4, 2007 | #2 north carolina | #4 nc state | 60-54 | greensboro, north carolina | 11538 row 23 : march 9, 2008 | #1 north carolina | #3 duke | 86-73 | greensboro, north carolina | 11132 row 24 : march 7, 2010 | #1 duke | #6 nc state | 70-60 | greensboro, north carolina | 9432 row 25 : march 6, 2011 | #1 duke | #6 north carolina | 81-67 | greensboro, north carolina | 9890 row 26 : march 4, 2012 | #3 maryland | #4 georgia tech | 68-65 | greensboro, north carolina | 9122 row 27 : march 10, 2013 | #1 duke | #3 north carolina | 92-73 | greensboro, north carolina | 8166 ] Execute this SQL based on the above table: select result group by result order by count ( result ) desc limit 1
99-76
[ header: title | year | artist(s) | album | writer(s) | producer(s) row 1 : "lucky day (song)" | 2011 | nicola roberts | cinderella's eyes | martina sorbara, dragonette | andras vleminckx row 2 : "positive" | 2011 | taio cruz | ' | taio cruz, andr | andras vleminckx row 3 : "broken (kate ryan song | 2010 | kate ryan | electroshock (kate ryan album | anders hansson, kate | anders hansson, felix per row 4 : "give me more" | 2012 | tara mcdonald | i like this beat | tara mcdonald, luci | andras vleminckx row 5 : "drop it low (kat deluna | 2011 | kat deluna ft fat | inside out (kat deluna album) | kat deluna, andra | andras vleminckx row 6 : "8 days a week" | 2012 | jean-roch ft ti | music saved my life | jean-roch, timati, | andras vleminckx row 7 : "can u feel it" | 2012 | jean-roch ft tara m | music saved my life | jean-roch, tara mcd | andras vleminckx row 8 : "be there (ballad version)" | 2011 | kat deluna | inside out (kat deluna album) | kat deluna, andra | andras vleminckx row 9 : "muevete mueve | 2011 | kat deluna | inside out (kat deluna album) | kat deluna, andra | andras vleminckx row 10 : "hollywood" | 2013 | mitchell niemeyer | ' | andras vleminckx | andras vleminckx ] Execute this SQL based on the above table: select count ( artist(s) ) where year >= 1251
10
[ header: city 2010 census | chinese | built-up area | urban area | level | administrative area | province-level division | remarks row 1 : suzhou | 苏州 | shanghai | 5349090 | prefecture-level city | 10465994 | jiangsu | None row 2 : yangzhou | 扬州 | 2399079 | 2399079 | prefecture-level city | 4459760 | jiangsu | None row 3 : huizhou | 惠州 | guangzhou | 2344507 | prefecture-level city | 4597002 | guangdong | 2 urban districts part of guangzhou- row 4 : baotou | 包头 | 2034996 | 2070801 | prefecture-level city | 2650364 | inner mongolia | shiguai urban district not yet urban row 5 : jilin city | 吉林市 | 1975803 | 1975803 | prefecture-level city | 4414681 | jilin | None row 6 : cixi | 慈溪 | 1462383 | 1462383 | county-level city | ningbo | zhejiang | None row 7 : datong | 大同 | 1447550 | 1570035 | prefecture-level city | 3318057 | shanxi | None row 8 : panjin | 盘锦 | 1392493 | 666205 | prefecture-level city | 1392493 | liaoning | incl. 2 urban districts plus d row 9 : fushun | 抚顺 | shenyang | 1356987 | prefecture-level city | 2138090 | liaoning | None row 10 : yingkou | 营口 | 1351519 | 738128 | prefecture-level city | 2428534 | liaoning | incl. dashiqia row 11 : xining | 西宁 | 1198304 | 1198304 | prefecture-level city provincial capital | 2208708 | qinghai | None row 12 : tianshui | 天水 | 1197174 | 1197174 | prefecture-level city | 3262548 | gansu | None row 13 : taixing | 泰兴市 | 1192213 | 1192213 | county-level city | taizhou | jiangsu | None row 14 : qujing | 曲靖 | 1171805 | 740925 | prefecture-level city | 5855055 | yunnan | incl. zhanyi county row 15 : jining | 济宁 | 1115300 | 1115300 | prefecture-level city | 8081900 | shandong | None row 16 : jinhua | 金华 | 1077300 | 1077300 | prefecture-level city | 5361600 | zhejiang | None row 17 : pingdingshan | 平顶山 | 1033975 | 1033975 | prefecture-level city | 4904367 | henan | None row 18 : qiqihar | 齐齐哈尔 | 979517 | 1481637 | prefecture-level city | 5611000 | heilongjiang | incl. longsha, j row 19 : bengbu | 蚌埠 | 972784 | 972784 | prefecture-level city | 3164467 | anhui | None row 20 : danyang | 丹阳市 | 960418 | 960418 | county-level city | zhenjiang | jiangsu | None row 21 : wuchuan | 吴川 | 947499 | 947499 | county-level city | zhanjiang | guangdong | None ] Execute this SQL based on the above table: select ( select id where chinese = '丹阳市' ) < ( select id where chinese = '西宁' )
0
[ header: | name on the register | date listed | location | city or town | summary row 1 : 1 | arnold trail to quebec | october 1, 1969 (#69 | along the kennebec river, through | coburn gore | extends through franklin, kenn row 2 : 2 | barn on lot 8, range g | august 24, 2011 (#11000581) | 816 foster hill rd. 44° | freeman township | None row 3 : 3 | bass boarding house | april 7, 1988 (#88000 | canal st. 44°35′12 | wilton | None row 4 : 5 | john g. coburn | april 11, 2002 (#02000 | 360 river rd. 44°37′ | carthage | perhaps the "john g. coburn house row 5 : 9 | first congregational church, united church of christ | july 25, 1974 (#74000149 | main st. 44°40′04 | farmington | None row 6 : 13 | greenacre | october 29, 1982 (#82 | 17 court st. 44°40′ | farmington | None row 7 : 15 | holmes-crafts homestead | april 26, 1973 (#73000 | old n. jay rd. | north jay | None row 8 : 17 | jay-niles memorial library | march 13, 1987 (#87000414) | state route 4 44°32′53′′n | north jay | None row 9 : 18 | little red schoolhouse | february 23, 1972 (#72000070 | south of west farmington on wilton r | west farmington | None row 10 : 21 | mccleary farm | april 7, 1989 (#89000 | s. strong rd. 44° | strong | None row 11 : 22 | merrill hall | january 23, 1980 (#800002 | maine and academy sts. 44 | farmington | None row 12 : 23 | new sharon bridge | september 24, 1999 (#99001189) | south of u.s. route 2 over | new sharon | to be demolished ] Execute this SQL based on the above table: select city or town where < ( select where city or town = 'north jay' ) order by desc limit 1
farmington
[ header: team | outgoing manager | manner of departure | date of vacancy | replaced by | date of appointment | position in table row 1 : crystal palace | peter taylor | contract terminated | 8 october 2007 | neil warnock | 11 october 2007 | 19th row 2 : leicester city | martin allen | mutual consent | 29 august 2007 | gary megson | 13 september 2007 | 9th row 3 : queens park rangers | john gregory | contract terminated | 1 october 2007 | luigi de canio | 29 october 2007 | 24th row 4 : norwich city | peter grant | mutual consent | 8 october 2007 | glenn roeder | 30 october 2007 | 22nd row 5 : leicester city | gary megson | mutual consent (hired by bolton wander | 24 october 2007 | ian holloway | 22 november 2007 | 19th row 6 : burnley | steve cotterill | mutual consent | 8 november 2007 | owen coyle | 22 november 2007 | 15th row 7 : preston north end | paul simpson | contract terminated | 13 november 2007 | alan irvine | 20 november 2007 | 21st row 8 : plymouth argyle | ian holloway | resigned (hired by leice | 21 november 2007 | paul sturrock | 27 november 2007 | 7th row 9 : coventry city | iain dowie | contract terminated | 11 february 2008 | chris coleman | 19 february 2008 | 19th row 10 : sheffield united | bryan robson | mutual consent | 14 february 2008 | kevin blackwell | 14 february 2008 | 16th row 11 : queens park rangers | luigi de canio | mutual consent | 8 may 2008 | iain dowie | 14 may 2008 | 14th ] Execute this SQL based on the above table: select abs ( ( select count ( * ) where position in table = '14th' ) - ( select count ( * ) where position in table = '9th' ) )
0
[ header: type | manufacturer | numbers | year built | quantity built | power (horsepower) | max speed (km/h) | note row 1 : rhn | hitachi | 1011-1048 (power cars) 11- | 1967 | 38+38 | 220 | 90 | now use as a northeastern line commute row 2 : rts | tokyu | d9-d16 (power cars) | 1971 | 8+4 | 220 | 70 | ex-mahachai railways, row 3 : thn | tokyu, hitachi and nippo | 1101-1140 | 1983 | 40 | 235 | 105 | similar to nkf row 4 : nkf | nippon sharyo, hitachi | 1201-1264, (center) 2101 | 1985 | 64+12 | 235 | 105 | similar to thn, but with plastic chairs row 5 : asr (class 158 express sprinter) | brel, derby works | 2501-2512, (center) 2113-2 | 1991 | 12+8 | 285 | 120 | metre gauge version of british rail row 6 : apd .20 | daewoo heavy industries | 2513-2524 (center) 2121-21 | 1995 | 10+8 | 298 | 120 | first batch, narrow body row 7 : apd .60 | daewoo heavy industries | 2525-2544 | 1996 | 20+40 | 298 | 120 | second batch, wide body ] Execute this SQL based on the above table: select numbers where note = 'second batch, wide body'
2525-2544
[ header: rank | nation | gold | silver | bronze | total row 1 : 1 | south korea | 7 | 6 | 1 | 14 row 2 : 2 | china | 5 | 5 | 2 | 12 row 3 : 3 | japan | 3 | 1 | 5 | 9 row 4 : 4 | hong kong | 2 | 3 | 5 | 10 row 5 : 5 | chinese taipei | 2 | 0 | 0 | 2 row 6 : 6 | iran | 1 | 3 | 2 | 6 row 7 : 7 | thailand | 1 | 2 | 3 | 6 row 8 : 8 | malaysia | 1 | 1 | 5 | 7 row 9 : 9 | kyrgyzstan | 1 | 0 | 0 | 1 row 10 : 10 | kazakhstan | 0 | 1 | 0 | 1 row 11 : 10 | uzbekistan | 0 | 1 | 0 | 1 row 12 : total | total | 23 | 23 | 23 | 69 ] Execute this SQL based on the above table: select count ( nation ) where nation = 'thailand'
1