diff --git "a/validate_spider_templatized.json" "b/validate_spider_templatized.json" new file mode 100644--- /dev/null +++ "b/validate_spider_templatized.json" @@ -0,0 +1 @@ +{"db_id":{"0":"concert_singer","1":"concert_singer","2":"concert_singer","3":"concert_singer","4":"concert_singer","5":"concert_singer","6":"concert_singer","7":"concert_singer","8":"concert_singer","9":"concert_singer","10":"concert_singer","11":"concert_singer","12":"concert_singer","13":"concert_singer","14":"concert_singer","15":"concert_singer","16":"concert_singer","17":"concert_singer","18":"concert_singer","19":"concert_singer","20":"concert_singer","21":"concert_singer","22":"concert_singer","23":"concert_singer","24":"concert_singer","25":"concert_singer","26":"concert_singer","27":"concert_singer","28":"concert_singer","29":"concert_singer","30":"concert_singer","31":"concert_singer","32":"concert_singer","33":"concert_singer","34":"concert_singer","35":"concert_singer","36":"concert_singer","37":"concert_singer","38":"concert_singer","39":"concert_singer","40":"concert_singer","41":"concert_singer","42":"concert_singer","43":"concert_singer","44":"concert_singer","45":"pets_1","46":"pets_1","47":"pets_1","48":"pets_1","49":"pets_1","50":"pets_1","51":"pets_1","52":"pets_1","53":"pets_1","54":"pets_1","55":"pets_1","56":"pets_1","57":"pets_1","58":"pets_1","59":"pets_1","60":"pets_1","61":"pets_1","62":"pets_1","63":"pets_1","64":"pets_1","65":"pets_1","66":"pets_1","67":"pets_1","68":"pets_1","69":"pets_1","70":"pets_1","71":"pets_1","72":"pets_1","73":"pets_1","74":"pets_1","75":"pets_1","76":"pets_1","77":"pets_1","78":"pets_1","79":"pets_1","80":"pets_1","81":"pets_1","82":"pets_1","83":"pets_1","84":"pets_1","85":"pets_1","86":"pets_1","87":"car_1","88":"car_1","89":"car_1","90":"car_1","91":"car_1","92":"car_1","93":"car_1","94":"car_1","95":"car_1","96":"car_1","97":"car_1","98":"car_1","99":"car_1","100":"car_1","101":"car_1","102":"car_1","103":"car_1","104":"car_1","105":"car_1","106":"car_1","107":"car_1","108":"car_1","109":"car_1","110":"car_1","111":"car_1","112":"car_1","113":"car_1","114":"car_1","115":"car_1","116":"car_1","117":"car_1","118":"car_1","119":"car_1","120":"car_1","121":"car_1","122":"car_1","123":"car_1","124":"car_1","125":"car_1","126":"car_1","127":"car_1","128":"car_1","129":"car_1","130":"car_1","131":"car_1","132":"car_1","133":"car_1","134":"car_1","135":"car_1","136":"car_1","137":"car_1","138":"car_1","139":"car_1","140":"car_1","141":"car_1","142":"car_1","143":"car_1","144":"car_1","145":"car_1","146":"car_1","147":"car_1","148":"car_1","149":"car_1","150":"car_1","151":"car_1","152":"car_1","153":"car_1","154":"car_1","155":"car_1","156":"car_1","157":"car_1","158":"car_1","159":"car_1","160":"car_1","161":"car_1","162":"car_1","163":"car_1","164":"car_1","165":"car_1","166":"car_1","167":"car_1","168":"car_1","169":"car_1","170":"car_1","171":"car_1","172":"car_1","173":"car_1","174":"car_1","175":"car_1","176":"car_1","177":"car_1","178":"car_1","179":"flight_2","180":"flight_2","181":"flight_2","182":"flight_2","183":"flight_2","184":"flight_2","185":"flight_2","186":"flight_2","187":"flight_2","188":"flight_2","189":"flight_2","190":"flight_2","191":"flight_2","192":"flight_2","193":"flight_2","194":"flight_2","195":"flight_2","196":"flight_2","197":"flight_2","198":"flight_2","199":"flight_2","200":"flight_2","201":"flight_2","202":"flight_2","203":"flight_2","204":"flight_2","205":"flight_2","206":"flight_2","207":"flight_2","208":"flight_2","209":"flight_2","210":"flight_2","211":"flight_2","212":"flight_2","213":"flight_2","214":"flight_2","215":"flight_2","216":"flight_2","217":"flight_2","218":"flight_2","219":"flight_2","220":"flight_2","221":"flight_2","222":"flight_2","223":"flight_2","224":"flight_2","225":"flight_2","226":"flight_2","227":"flight_2","228":"flight_2","229":"flight_2","230":"flight_2","231":"flight_2","232":"flight_2","233":"flight_2","234":"flight_2","235":"flight_2","236":"flight_2","237":"flight_2","238":"flight_2","239":"flight_2","240":"flight_2","241":"flight_2","242":"flight_2","243":"flight_2","244":"flight_2","245":"flight_2","246":"flight_2","247":"flight_2","248":"flight_2","249":"flight_2","250":"flight_2","251":"flight_2","252":"flight_2","253":"flight_2","254":"flight_2","255":"flight_2","256":"flight_2","257":"flight_2","258":"flight_2","259":"employee_hire_evaluation","260":"employee_hire_evaluation","261":"employee_hire_evaluation","262":"employee_hire_evaluation","263":"employee_hire_evaluation","264":"employee_hire_evaluation","265":"employee_hire_evaluation","266":"employee_hire_evaluation","267":"employee_hire_evaluation","268":"employee_hire_evaluation","269":"employee_hire_evaluation","270":"employee_hire_evaluation","271":"employee_hire_evaluation","272":"employee_hire_evaluation","273":"employee_hire_evaluation","274":"employee_hire_evaluation","275":"employee_hire_evaluation","276":"employee_hire_evaluation","277":"employee_hire_evaluation","278":"employee_hire_evaluation","279":"employee_hire_evaluation","280":"employee_hire_evaluation","281":"employee_hire_evaluation","282":"employee_hire_evaluation","283":"employee_hire_evaluation","284":"employee_hire_evaluation","285":"employee_hire_evaluation","286":"employee_hire_evaluation","287":"employee_hire_evaluation","288":"employee_hire_evaluation","289":"employee_hire_evaluation","290":"employee_hire_evaluation","291":"employee_hire_evaluation","292":"employee_hire_evaluation","293":"employee_hire_evaluation","294":"employee_hire_evaluation","295":"employee_hire_evaluation","296":"employee_hire_evaluation","297":"cre_Doc_Template_Mgt","298":"cre_Doc_Template_Mgt","299":"cre_Doc_Template_Mgt","300":"cre_Doc_Template_Mgt","301":"cre_Doc_Template_Mgt","302":"cre_Doc_Template_Mgt","303":"cre_Doc_Template_Mgt","304":"cre_Doc_Template_Mgt","305":"cre_Doc_Template_Mgt","306":"cre_Doc_Template_Mgt","307":"cre_Doc_Template_Mgt","308":"cre_Doc_Template_Mgt","309":"cre_Doc_Template_Mgt","310":"cre_Doc_Template_Mgt","311":"cre_Doc_Template_Mgt","312":"cre_Doc_Template_Mgt","313":"cre_Doc_Template_Mgt","314":"cre_Doc_Template_Mgt","315":"cre_Doc_Template_Mgt","316":"cre_Doc_Template_Mgt","317":"cre_Doc_Template_Mgt","318":"cre_Doc_Template_Mgt","319":"cre_Doc_Template_Mgt","320":"cre_Doc_Template_Mgt","321":"cre_Doc_Template_Mgt","322":"cre_Doc_Template_Mgt","323":"cre_Doc_Template_Mgt","324":"cre_Doc_Template_Mgt","325":"cre_Doc_Template_Mgt","326":"cre_Doc_Template_Mgt","327":"cre_Doc_Template_Mgt","328":"cre_Doc_Template_Mgt","329":"cre_Doc_Template_Mgt","330":"cre_Doc_Template_Mgt","331":"cre_Doc_Template_Mgt","332":"cre_Doc_Template_Mgt","333":"cre_Doc_Template_Mgt","334":"cre_Doc_Template_Mgt","335":"cre_Doc_Template_Mgt","336":"cre_Doc_Template_Mgt","337":"cre_Doc_Template_Mgt","338":"cre_Doc_Template_Mgt","339":"cre_Doc_Template_Mgt","340":"cre_Doc_Template_Mgt","341":"cre_Doc_Template_Mgt","342":"cre_Doc_Template_Mgt","343":"cre_Doc_Template_Mgt","344":"cre_Doc_Template_Mgt","345":"cre_Doc_Template_Mgt","346":"cre_Doc_Template_Mgt","347":"cre_Doc_Template_Mgt","348":"cre_Doc_Template_Mgt","349":"cre_Doc_Template_Mgt","350":"cre_Doc_Template_Mgt","351":"cre_Doc_Template_Mgt","352":"cre_Doc_Template_Mgt","353":"cre_Doc_Template_Mgt","354":"cre_Doc_Template_Mgt","355":"cre_Doc_Template_Mgt","356":"cre_Doc_Template_Mgt","357":"cre_Doc_Template_Mgt","358":"cre_Doc_Template_Mgt","359":"cre_Doc_Template_Mgt","360":"cre_Doc_Template_Mgt","361":"cre_Doc_Template_Mgt","362":"cre_Doc_Template_Mgt","363":"cre_Doc_Template_Mgt","364":"cre_Doc_Template_Mgt","365":"cre_Doc_Template_Mgt","366":"cre_Doc_Template_Mgt","367":"cre_Doc_Template_Mgt","368":"cre_Doc_Template_Mgt","369":"cre_Doc_Template_Mgt","370":"cre_Doc_Template_Mgt","371":"cre_Doc_Template_Mgt","372":"cre_Doc_Template_Mgt","373":"cre_Doc_Template_Mgt","374":"cre_Doc_Template_Mgt","375":"cre_Doc_Template_Mgt","376":"cre_Doc_Template_Mgt","377":"cre_Doc_Template_Mgt","378":"cre_Doc_Template_Mgt","379":"cre_Doc_Template_Mgt","380":"cre_Doc_Template_Mgt","381":"course_teach","382":"course_teach","383":"course_teach","384":"course_teach","385":"course_teach","386":"course_teach","387":"course_teach","388":"course_teach","389":"course_teach","390":"course_teach","391":"course_teach","392":"course_teach","393":"course_teach","394":"course_teach","395":"course_teach","396":"course_teach","397":"course_teach","398":"course_teach","399":"course_teach","400":"course_teach","401":"course_teach","402":"course_teach","403":"course_teach","404":"course_teach","405":"course_teach","406":"course_teach","407":"course_teach","408":"course_teach","409":"course_teach","410":"course_teach","411":"museum_visit","412":"museum_visit","413":"museum_visit","414":"museum_visit","415":"museum_visit","416":"museum_visit","417":"museum_visit","418":"museum_visit","419":"museum_visit","420":"museum_visit","421":"museum_visit","422":"museum_visit","423":"museum_visit","424":"museum_visit","425":"museum_visit","426":"museum_visit","427":"museum_visit","428":"museum_visit","429":"wta_1","430":"wta_1","431":"wta_1","432":"wta_1","433":"wta_1","434":"wta_1","435":"wta_1","436":"wta_1","437":"wta_1","438":"wta_1","439":"wta_1","440":"wta_1","441":"wta_1","442":"wta_1","443":"wta_1","444":"wta_1","445":"wta_1","446":"wta_1","447":"wta_1","448":"wta_1","449":"wta_1","450":"wta_1","451":"wta_1","452":"wta_1","453":"wta_1","454":"wta_1","455":"wta_1","456":"wta_1","457":"wta_1","458":"wta_1","459":"wta_1","460":"wta_1","461":"wta_1","462":"wta_1","463":"wta_1","464":"wta_1","465":"wta_1","466":"wta_1","467":"wta_1","468":"wta_1","469":"wta_1","470":"wta_1","471":"wta_1","472":"wta_1","473":"wta_1","474":"wta_1","475":"wta_1","476":"wta_1","477":"wta_1","478":"wta_1","479":"wta_1","480":"wta_1","481":"wta_1","482":"wta_1","483":"wta_1","484":"wta_1","485":"wta_1","486":"wta_1","487":"wta_1","488":"wta_1","489":"wta_1","490":"wta_1","491":"battle_death","492":"battle_death","493":"battle_death","494":"battle_death","495":"battle_death","496":"battle_death","497":"battle_death","498":"battle_death","499":"battle_death","500":"battle_death","501":"battle_death","502":"battle_death","503":"battle_death","504":"battle_death","505":"battle_death","506":"battle_death","507":"student_transcripts_tracking","508":"student_transcripts_tracking","509":"student_transcripts_tracking","510":"student_transcripts_tracking","511":"student_transcripts_tracking","512":"student_transcripts_tracking","513":"student_transcripts_tracking","514":"student_transcripts_tracking","515":"student_transcripts_tracking","516":"student_transcripts_tracking","517":"student_transcripts_tracking","518":"student_transcripts_tracking","519":"student_transcripts_tracking","520":"student_transcripts_tracking","521":"student_transcripts_tracking","522":"student_transcripts_tracking","523":"student_transcripts_tracking","524":"student_transcripts_tracking","525":"student_transcripts_tracking","526":"student_transcripts_tracking","527":"student_transcripts_tracking","528":"student_transcripts_tracking","529":"student_transcripts_tracking","530":"student_transcripts_tracking","531":"student_transcripts_tracking","532":"student_transcripts_tracking","533":"student_transcripts_tracking","534":"student_transcripts_tracking","535":"student_transcripts_tracking","536":"student_transcripts_tracking","537":"student_transcripts_tracking","538":"student_transcripts_tracking","539":"student_transcripts_tracking","540":"student_transcripts_tracking","541":"student_transcripts_tracking","542":"student_transcripts_tracking","543":"student_transcripts_tracking","544":"student_transcripts_tracking","545":"student_transcripts_tracking","546":"student_transcripts_tracking","547":"student_transcripts_tracking","548":"student_transcripts_tracking","549":"student_transcripts_tracking","550":"student_transcripts_tracking","551":"student_transcripts_tracking","552":"student_transcripts_tracking","553":"student_transcripts_tracking","554":"student_transcripts_tracking","555":"student_transcripts_tracking","556":"student_transcripts_tracking","557":"student_transcripts_tracking","558":"student_transcripts_tracking","559":"student_transcripts_tracking","560":"student_transcripts_tracking","561":"student_transcripts_tracking","562":"student_transcripts_tracking","563":"student_transcripts_tracking","564":"student_transcripts_tracking","565":"student_transcripts_tracking","566":"student_transcripts_tracking","567":"student_transcripts_tracking","568":"student_transcripts_tracking","569":"student_transcripts_tracking","570":"student_transcripts_tracking","571":"student_transcripts_tracking","572":"student_transcripts_tracking","573":"student_transcripts_tracking","574":"student_transcripts_tracking","575":"student_transcripts_tracking","576":"student_transcripts_tracking","577":"student_transcripts_tracking","578":"student_transcripts_tracking","579":"student_transcripts_tracking","580":"student_transcripts_tracking","581":"student_transcripts_tracking","582":"student_transcripts_tracking","583":"student_transcripts_tracking","584":"student_transcripts_tracking","585":"tvshow","586":"tvshow","587":"tvshow","588":"tvshow","589":"tvshow","590":"tvshow","591":"tvshow","592":"tvshow","593":"tvshow","594":"tvshow","595":"tvshow","596":"tvshow","597":"tvshow","598":"tvshow","599":"tvshow","600":"tvshow","601":"tvshow","602":"tvshow","603":"tvshow","604":"tvshow","605":"tvshow","606":"tvshow","607":"tvshow","608":"tvshow","609":"tvshow","610":"tvshow","611":"tvshow","612":"tvshow","613":"tvshow","614":"tvshow","615":"tvshow","616":"tvshow","617":"tvshow","618":"tvshow","619":"tvshow","620":"tvshow","621":"tvshow","622":"tvshow","623":"tvshow","624":"tvshow","625":"tvshow","626":"tvshow","627":"tvshow","628":"tvshow","629":"tvshow","630":"tvshow","631":"tvshow","632":"tvshow","633":"tvshow","634":"tvshow","635":"tvshow","636":"tvshow","637":"tvshow","638":"tvshow","639":"tvshow","640":"tvshow","641":"tvshow","642":"tvshow","643":"tvshow","644":"tvshow","645":"tvshow","646":"tvshow","647":"poker_player","648":"poker_player","649":"poker_player","650":"poker_player","651":"poker_player","652":"poker_player","653":"poker_player","654":"poker_player","655":"poker_player","656":"poker_player","657":"poker_player","658":"poker_player","659":"poker_player","660":"poker_player","661":"poker_player","662":"poker_player","663":"poker_player","664":"poker_player","665":"poker_player","666":"poker_player","667":"poker_player","668":"poker_player","669":"poker_player","670":"poker_player","671":"poker_player","672":"poker_player","673":"poker_player","674":"poker_player","675":"poker_player","676":"poker_player","677":"poker_player","678":"poker_player","679":"poker_player","680":"poker_player","681":"poker_player","682":"poker_player","683":"poker_player","684":"poker_player","685":"poker_player","686":"poker_player","687":"voter_1","688":"voter_1","689":"voter_1","690":"voter_1","691":"voter_1","692":"voter_1","693":"voter_1","694":"voter_1","695":"voter_1","696":"voter_1","697":"voter_1","698":"voter_1","699":"voter_1","700":"voter_1","701":"voter_1","702":"world_1","703":"world_1","704":"world_1","705":"world_1","706":"world_1","707":"world_1","708":"world_1","709":"world_1","710":"world_1","711":"world_1","712":"world_1","713":"world_1","714":"world_1","715":"world_1","716":"world_1","717":"world_1","718":"world_1","719":"world_1","720":"world_1","721":"world_1","722":"world_1","723":"world_1","724":"world_1","725":"world_1","726":"world_1","727":"world_1","728":"world_1","729":"world_1","730":"world_1","731":"world_1","732":"world_1","733":"world_1","734":"world_1","735":"world_1","736":"world_1","737":"world_1","738":"world_1","739":"world_1","740":"world_1","741":"world_1","742":"world_1","743":"world_1","744":"world_1","745":"world_1","746":"world_1","747":"world_1","748":"world_1","749":"world_1","750":"world_1","751":"world_1","752":"world_1","753":"world_1","754":"world_1","755":"world_1","756":"world_1","757":"world_1","758":"world_1","759":"world_1","760":"world_1","761":"world_1","762":"world_1","763":"world_1","764":"world_1","765":"world_1","766":"world_1","767":"world_1","768":"world_1","769":"world_1","770":"world_1","771":"world_1","772":"world_1","773":"world_1","774":"world_1","775":"world_1","776":"world_1","777":"world_1","778":"world_1","779":"world_1","780":"world_1","781":"world_1","782":"world_1","783":"world_1","784":"world_1","785":"world_1","786":"world_1","787":"world_1","788":"world_1","789":"world_1","790":"world_1","791":"world_1","792":"world_1","793":"world_1","794":"world_1","795":"world_1","796":"world_1","797":"world_1","798":"world_1","799":"world_1","800":"world_1","801":"world_1","802":"world_1","803":"world_1","804":"world_1","805":"world_1","806":"world_1","807":"world_1","808":"world_1","809":"world_1","810":"world_1","811":"world_1","812":"world_1","813":"world_1","814":"world_1","815":"world_1","816":"world_1","817":"world_1","818":"world_1","819":"world_1","820":"world_1","821":"world_1","822":"orchestra","823":"orchestra","824":"orchestra","825":"orchestra","826":"orchestra","827":"orchestra","828":"orchestra","829":"orchestra","830":"orchestra","831":"orchestra","832":"orchestra","833":"orchestra","834":"orchestra","835":"orchestra","836":"orchestra","837":"orchestra","838":"orchestra","839":"orchestra","840":"orchestra","841":"orchestra","842":"orchestra","843":"orchestra","844":"orchestra","845":"orchestra","846":"orchestra","847":"orchestra","848":"orchestra","849":"orchestra","850":"orchestra","851":"orchestra","852":"orchestra","853":"orchestra","854":"orchestra","855":"orchestra","856":"orchestra","857":"orchestra","858":"orchestra","859":"orchestra","860":"orchestra","861":"orchestra","862":"network_1","863":"network_1","864":"network_1","865":"network_1","866":"network_1","867":"network_1","868":"network_1","869":"network_1","870":"network_1","871":"network_1","872":"network_1","873":"network_1","874":"network_1","875":"network_1","876":"network_1","877":"network_1","878":"network_1","879":"network_1","880":"network_1","881":"network_1","882":"network_1","883":"network_1","884":"network_1","885":"network_1","886":"network_1","887":"network_1","888":"network_1","889":"network_1","890":"network_1","891":"network_1","892":"network_1","893":"network_1","894":"network_1","895":"network_1","896":"network_1","897":"network_1","898":"network_1","899":"network_1","900":"network_1","901":"network_1","902":"network_1","903":"network_1","904":"network_1","905":"network_1","906":"network_1","907":"network_1","908":"network_1","909":"network_1","910":"network_1","911":"network_1","912":"network_1","913":"network_1","914":"network_1","915":"network_1","916":"network_1","917":"network_1","918":"dog_kennels","919":"dog_kennels","920":"dog_kennels","921":"dog_kennels","922":"dog_kennels","923":"dog_kennels","924":"dog_kennels","925":"dog_kennels","926":"dog_kennels","927":"dog_kennels","928":"dog_kennels","929":"dog_kennels","930":"dog_kennels","931":"dog_kennels","932":"dog_kennels","933":"dog_kennels","934":"dog_kennels","935":"dog_kennels","936":"dog_kennels","937":"dog_kennels","938":"dog_kennels","939":"dog_kennels","940":"dog_kennels","941":"dog_kennels","942":"dog_kennels","943":"dog_kennels","944":"dog_kennels","945":"dog_kennels","946":"dog_kennels","947":"dog_kennels","948":"dog_kennels","949":"dog_kennels","950":"dog_kennels","951":"dog_kennels","952":"dog_kennels","953":"dog_kennels","954":"dog_kennels","955":"dog_kennels","956":"dog_kennels","957":"dog_kennels","958":"dog_kennels","959":"dog_kennels","960":"dog_kennels","961":"dog_kennels","962":"dog_kennels","963":"dog_kennels","964":"dog_kennels","965":"dog_kennels","966":"dog_kennels","967":"dog_kennels","968":"dog_kennels","969":"dog_kennels","970":"dog_kennels","971":"dog_kennels","972":"dog_kennels","973":"dog_kennels","974":"dog_kennels","975":"dog_kennels","976":"dog_kennels","977":"dog_kennels","978":"dog_kennels","979":"dog_kennels","980":"dog_kennels","981":"dog_kennels","982":"dog_kennels","983":"dog_kennels","984":"dog_kennels","985":"dog_kennels","986":"dog_kennels","987":"dog_kennels","988":"dog_kennels","989":"dog_kennels","990":"dog_kennels","991":"dog_kennels","992":"dog_kennels","993":"dog_kennels","994":"dog_kennels","995":"dog_kennels","996":"dog_kennels","997":"dog_kennels","998":"dog_kennels","999":"dog_kennels","1000":"singer","1001":"singer","1002":"singer","1003":"singer","1004":"singer","1005":"singer","1006":"singer","1007":"singer","1008":"singer","1009":"singer","1010":"singer","1011":"singer","1012":"singer","1013":"singer","1014":"singer","1015":"singer","1016":"singer","1017":"singer","1018":"singer","1019":"singer","1020":"singer","1021":"singer","1022":"singer","1023":"singer","1024":"singer","1025":"singer","1026":"singer","1027":"singer","1028":"singer","1029":"singer","1030":"real_estate_properties","1031":"real_estate_properties","1032":"real_estate_properties","1033":"real_estate_properties"},"query":{"0":"SELECT count(*) FROM singer","1":"SELECT count(*) FROM singer","2":"SELECT name , country , age FROM singer ORDER BY age DESC","3":"SELECT name , country , age FROM singer ORDER BY age DESC","4":"SELECT avg(age) , min(age) , max(age) FROM singer WHERE country = 'France'","5":"SELECT avg(age) , min(age) , max(age) FROM singer WHERE country = 'France'","6":"SELECT song_name , song_release_year FROM singer ORDER BY age LIMIT 1","7":"SELECT song_name , song_release_year FROM singer ORDER BY age LIMIT 1","8":"SELECT DISTINCT country FROM singer WHERE age > 20","9":"SELECT DISTINCT country FROM singer WHERE age > 20","10":"SELECT country , count(*) FROM singer GROUP BY country","11":"SELECT country , count(*) FROM singer GROUP BY country","12":"SELECT song_name FROM singer WHERE age > (SELECT avg(age) FROM singer)","13":"SELECT song_name FROM singer WHERE age > (SELECT avg(age) FROM singer)","14":"SELECT LOCATION , name FROM stadium WHERE capacity BETWEEN 5000 AND 10000","15":"SELECT LOCATION , name FROM stadium WHERE capacity BETWEEN 5000 AND 10000","16":"select max(capacity), average from stadium","17":"select avg(capacity) , max(capacity) from stadium","18":"SELECT name , capacity FROM stadium ORDER BY average DESC LIMIT 1","19":"SELECT name , capacity FROM stadium ORDER BY average DESC LIMIT 1","20":"SELECT count(*) FROM concert WHERE YEAR = 2014 OR YEAR = 2015","21":"SELECT count(*) FROM concert WHERE YEAR = 2014 OR YEAR = 2015","22":"SELECT T2.name , count(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id GROUP BY T1.stadium_id","23":"SELECT T2.name , count(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id GROUP BY T1.stadium_id","24":"SELECT T2.name , T2.capacity FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year >= 2014 GROUP BY T2.stadium_id ORDER BY count(*) DESC LIMIT 1","25":"select t2.name , t2.capacity from concert as t1 join stadium as t2 on t1.stadium_id = t2.stadium_id where t1.year > 2013 group by t2.stadium_id order by count(*) desc limit 1","26":"SELECT YEAR FROM concert GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1","27":"SELECT YEAR FROM concert GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1","28":"SELECT name FROM stadium WHERE stadium_id NOT IN (SELECT stadium_id FROM concert)","29":"SELECT name FROM stadium WHERE stadium_id NOT IN (SELECT stadium_id FROM concert)","30":"SELECT country FROM singer WHERE age > 40 INTERSECT SELECT country FROM singer WHERE age < 30","31":"SELECT name FROM stadium EXCEPT SELECT T2.name FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year = 2014","32":"SELECT name FROM stadium EXCEPT SELECT T2.name FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year = 2014","33":"SELECT T2.concert_name , T2.theme , count(*) FROM singer_in_concert AS T1 JOIN concert AS T2 ON T1.concert_id = T2.concert_id GROUP BY T2.concert_id","34":"select t2.concert_name , t2.theme , count(*) from singer_in_concert as t1 join concert as t2 on t1.concert_id = t2.concert_id group by t2.concert_id","35":"SELECT T2.name , count(*) FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id GROUP BY T2.singer_id","36":"SELECT T2.name , count(*) FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id GROUP BY T2.singer_id","37":"SELECT T2.name FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id JOIN concert AS T3 ON T1.concert_id = T3.concert_id WHERE T3.year = 2014","38":"SELECT T2.name FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id JOIN concert AS T3 ON T1.concert_id = T3.concert_id WHERE T3.year = 2014","39":"SELECT name , country FROM singer WHERE song_name LIKE '%Hey%'","40":"SELECT name , country FROM singer WHERE song_name LIKE '%Hey%'","41":"SELECT T2.name , T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.Year = 2014 INTERSECT SELECT T2.name , T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.Year = 2015","42":"SELECT T2.name , T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.Year = 2014 INTERSECT SELECT T2.name , T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.Year = 2015","43":"select count(*) from concert where stadium_id = (select stadium_id from stadium order by capacity desc limit 1)","44":"select count(*) from concert where stadium_id = (select stadium_id from stadium order by capacity desc limit 1)","45":"SELECT count(*) FROM pets WHERE weight > 10","46":"SELECT count(*) FROM pets WHERE weight > 10","47":"SELECT weight FROM pets ORDER BY pet_age LIMIT 1","48":"SELECT weight FROM pets ORDER BY pet_age LIMIT 1","49":"SELECT max(weight) , petType FROM pets GROUP BY petType","50":"SELECT max(weight) , petType FROM pets GROUP BY petType","51":"SELECT count(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid WHERE T1.age > 20","52":"SELECT count(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid WHERE T1.age > 20","53":"SELECT count(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T2.petid = T3.petid WHERE T1.sex = 'F' AND T3.pettype = 'dog'","54":"SELECT count(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T2.petid = T3.petid WHERE T1.sex = 'F' AND T3.pettype = 'dog'","55":"SELECT count(DISTINCT pettype) FROM pets","56":"SELECT count(DISTINCT pettype) FROM pets","57":"SELECT DISTINCT T1.Fname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat' OR T3.pettype = 'dog'","58":"SELECT DISTINCT T1.Fname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat' OR T3.pettype = 'dog'","59":"select t1.fname from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'cat' intersect select t1.fname from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'dog'","60":"SELECT T1.Fname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat' INTERSECT SELECT T1.Fname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'dog'","61":"SELECT major , age FROM student WHERE stuid NOT IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat')","62":"SELECT major , age FROM student WHERE stuid NOT IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat')","63":"SELECT stuid FROM student EXCEPT SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat'","64":"SELECT stuid FROM student EXCEPT SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat'","65":"SELECT T1.fname , T1.age FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'dog' AND T1.stuid NOT IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat')","66":"SELECT T1.fname , T1.age FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'dog' AND T1.stuid NOT IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat')","67":"SELECT pettype , weight FROM pets ORDER BY pet_age LIMIT 1","68":"SELECT pettype , weight FROM pets ORDER BY pet_age LIMIT 1","69":"SELECT petid , weight FROM pets WHERE pet_age > 1","70":"SELECT petid , weight FROM pets WHERE pet_age > 1","71":"SELECT avg(pet_age) , max(pet_age) , pettype FROM pets GROUP BY pettype","72":"SELECT avg(pet_age) , max(pet_age) , pettype FROM pets GROUP BY pettype","73":"SELECT avg(weight) , pettype FROM pets GROUP BY pettype","74":"SELECT avg(weight) , pettype FROM pets GROUP BY pettype","75":"SELECT DISTINCT T1.fname , T1.age FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid","76":"SELECT DISTINCT T1.fname , T1.age FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid","77":"SELECT T2.petid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid WHERE T1.Lname = 'Smith'","78":"SELECT T2.petid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid WHERE T1.Lname = 'Smith'","79":"SELECT count(*) , T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid GROUP BY T1.stuid","80":"select count(*) , t1.stuid from student as t1 join has_pet as t2 on t1.stuid = t2.stuid group by t1.stuid","81":"SELECT T1.fname , T1.sex FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid GROUP BY T1.stuid HAVING count(*) > 1","82":"SELECT T1.fname , T1.sex FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid GROUP BY T1.stuid HAVING count(*) > 1","83":"SELECT T1.lname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pet_age = 3 AND T3.pettype = 'cat'","84":"SELECT T1.lname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pet_age = 3 AND T3.pettype = 'cat'","85":"select avg(age) from student where stuid not in (select stuid from has_pet)","86":"select avg(age) from student where stuid not in (select stuid from has_pet)","87":"SELECT count(*) FROM CONTINENTS;","88":"SELECT count(*) FROM CONTINENTS;","89":"SELECT T1.ContId , T1.Continent , count(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId = T2.Continent GROUP BY T1.ContId;","90":"SELECT T1.ContId , T1.Continent , count(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId = T2.Continent GROUP BY T1.ContId;","91":"SELECT count(*) FROM COUNTRIES;","92":"SELECT count(*) FROM COUNTRIES;","93":"SELECT T1.FullName , T1.Id , count(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id;","94":"SELECT T1.FullName , T1.Id , count(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id;","95":"SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id ORDER BY T2.horsepower ASC LIMIT 1;","96":"SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id ORDER BY T2.horsepower ASC LIMIT 1;","97":"SELECT T1.model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.Weight < (SELECT avg(Weight) FROM CARS_DATA)","98":"SELECT T1.model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.Weight < (SELECT avg(Weight) FROM CARS_DATA)","99":"SELECT DISTINCT T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker JOIN CAR_NAMES AS T3 ON T2.model = T3.model JOIN CARS_DATA AS T4 ON T3.MakeId = T4.id WHERE T4.year = '1970';","100":"SELECT DISTINCT T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker JOIN CAR_NAMES AS T3 ON T2.model = T3.model JOIN CARS_DATA AS T4 ON T3.MakeId = T4.id WHERE T4.year = '1970';","101":"SELECT T2.Make , T1.Year FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T1.Year = (SELECT min(YEAR) FROM CARS_DATA);","102":"SELECT T2.Make , T1.Year FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T1.Year = (SELECT min(YEAR) FROM CARS_DATA);","103":"SELECT DISTINCT T1.model FROM MODEL_LIST AS T1 JOIN CAR_NAMES AS T2 ON T1.model = T2.model JOIN CARS_DATA AS T3 ON T2.MakeId = T3.id WHERE T3.year > 1980;","104":"SELECT DISTINCT T1.model FROM MODEL_LIST AS T1 JOIN CAR_NAMES AS T2 ON T1.model = T2.model JOIN CARS_DATA AS T3 ON T2.MakeId = T3.id WHERE T3.year > 1980;","105":"SELECT T1.Continent , count(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId = T2.continent JOIN car_makers AS T3 ON T2.CountryId = T3.Country GROUP BY T1.Continent;","106":"SELECT T1.Continent , count(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId = T2.continent JOIN car_makers AS T3 ON T2.CountryId = T3.Country GROUP BY T1.Continent;","107":"SELECT T2.CountryName FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country = T2.CountryId GROUP BY T1.Country ORDER BY Count(*) DESC LIMIT 1;","108":"SELECT T2.CountryName FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country = T2.CountryId GROUP BY T1.Country ORDER BY Count(*) DESC LIMIT 1;","109":"select count(*) , t2.fullname from model_list as t1 join car_makers as t2 on t1.maker = t2.id group by t2.id;","110":"SELECT Count(*) , T2.FullName , T2.id FROM MODEL_LIST AS T1 JOIN CAR_MAKERS AS T2 ON T1.Maker = T2.Id GROUP BY T2.id;","111":"SELECT T1.Accelerate FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T2.Make = 'amc hornet sportabout (sw)';","112":"SELECT T1.Accelerate FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T2.Make = 'amc hornet sportabout (sw)';","113":"SELECT count(*) FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country = T2.CountryId WHERE T2.CountryName = 'france';","114":"SELECT count(*) FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country = T2.CountryId WHERE T2.CountryName = 'france';","115":"SELECT count(*) FROM MODEL_LIST AS T1 JOIN CAR_MAKERS AS T2 ON T1.Maker = T2.Id JOIN COUNTRIES AS T3 ON T2.Country = T3.CountryId WHERE T3.CountryName = 'usa';","116":"SELECT count(*) FROM MODEL_LIST AS T1 JOIN CAR_MAKERS AS T2 ON T1.Maker = T2.Id JOIN COUNTRIES AS T3 ON T2.Country = T3.CountryId WHERE T3.CountryName = 'usa';","117":"SELECT avg(mpg) FROM CARS_DATA WHERE Cylinders = 4;","118":"SELECT avg(mpg) FROM CARS_DATA WHERE Cylinders = 4;","119":"select min(weight) from cars_data where cylinders = 8 and year = 1974","120":"select min(weight) from cars_data where cylinders = 8 and year = 1974","121":"SELECT Maker , Model FROM MODEL_LIST;","122":"SELECT Maker , Model FROM MODEL_LIST;","123":"SELECT T1.CountryName , T1.CountryId FROM COUNTRIES AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId = T2.Country GROUP BY T1.CountryId HAVING count(*) >= 1;","124":"SELECT T1.CountryName , T1.CountryId FROM COUNTRIES AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId = T2.Country GROUP BY T1.CountryId HAVING count(*) >= 1;","125":"SELECT count(*) FROM CARS_DATA WHERE horsepower > 150;","126":"SELECT count(*) FROM CARS_DATA WHERE horsepower > 150;","127":"SELECT avg(Weight) , YEAR FROM CARS_DATA GROUP BY YEAR;","128":"SELECT avg(Weight) , YEAR FROM CARS_DATA GROUP BY YEAR;","129":"SELECT T1.CountryName FROM COUNTRIES AS T1 JOIN CONTINENTS AS T2 ON T1.Continent = T2.ContId JOIN CAR_MAKERS AS T3 ON T1.CountryId = T3.Country WHERE T2.Continent = 'europe' GROUP BY T1.CountryName HAVING count(*) >= 3;","130":"SELECT T1.CountryName FROM COUNTRIES AS T1 JOIN CONTINENTS AS T2 ON T1.Continent = T2.ContId JOIN CAR_MAKERS AS T3 ON T1.CountryId = T3.Country WHERE T2.Continent = 'europe' GROUP BY T1.CountryName HAVING count(*) >= 3;","131":"SELECT T2.horsepower , T1.Make FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.cylinders = 3 ORDER BY T2.horsepower DESC LIMIT 1;","132":"SELECT T2.horsepower , T1.Make FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.cylinders = 3 ORDER BY T2.horsepower DESC LIMIT 1;","133":"SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id ORDER BY T2.mpg DESC LIMIT 1;","134":"select t1.model from car_names as t1 join cars_data as t2 on t1.makeid = t2.id order by t2.mpg desc limit 1;","135":"SELECT avg(horsepower) FROM CARS_DATA WHERE YEAR < 1980;","136":"select avg(horsepower) from cars_data where year < 1980;","137":"SELECT avg(T2.edispl) FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T1.Model = 'volvo';","138":"SELECT avg(T2.edispl) FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T1.Model = 'volvo';","139":"SELECT max(Accelerate) , Cylinders FROM CARS_DATA GROUP BY Cylinders;","140":"SELECT max(Accelerate) , Cylinders FROM CARS_DATA GROUP BY Cylinders;","141":"SELECT Model FROM CAR_NAMES GROUP BY Model ORDER BY count(*) DESC LIMIT 1;","142":"SELECT Model FROM CAR_NAMES GROUP BY Model ORDER BY count(*) DESC LIMIT 1;","143":"SELECT count(*) FROM CARS_DATA WHERE Cylinders > 4;","144":"SELECT count(*) FROM CARS_DATA WHERE Cylinders > 4;","145":"SELECT count(*) FROM CARS_DATA WHERE YEAR = 1980;","146":"SELECT count(*) FROM CARS_DATA WHERE YEAR = 1980;","147":"SELECT count(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker WHERE T1.FullName = 'American Motor Company';","148":"SELECT count(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker WHERE T1.FullName = 'American Motor Company';","149":"SELECT T1.FullName , T1.Id FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id HAVING count(*) > 3;","150":"SELECT T1.FullName , T1.Id FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id HAVING count(*) > 3;","151":"SELECT DISTINCT T2.Model FROM CAR_NAMES AS T1 JOIN MODEL_LIST AS T2 ON T1.Model = T2.Model JOIN CAR_MAKERS AS T3 ON T2.Maker = T3.Id JOIN CARS_DATA AS T4 ON T1.MakeId = T4.Id WHERE T3.FullName = 'General Motors' OR T4.weight > 3500;","152":"SELECT DISTINCT T2.Model FROM CAR_NAMES AS T1 JOIN MODEL_LIST AS T2 ON T1.Model = T2.Model JOIN CAR_MAKERS AS T3 ON T2.Maker = T3.Id JOIN CARS_DATA AS T4 ON T1.MakeId = T4.Id WHERE T3.FullName = 'General Motors' OR T4.weight > 3500;","153":"select distinct year from cars_data where weight between 3000 and 4000;","154":"select distinct year from cars_data where weight between 3000 and 4000;","155":"SELECT T1.horsepower FROM CARS_DATA AS T1 ORDER BY T1.accelerate DESC LIMIT 1;","156":"SELECT T1.horsepower FROM CARS_DATA AS T1 ORDER BY T1.accelerate DESC LIMIT 1;","157":"SELECT T1.cylinders FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T2.Model = 'volvo' ORDER BY T1.accelerate ASC LIMIT 1;","158":"SELECT T1.cylinders FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T2.Model = 'volvo' ORDER BY T1.accelerate ASC LIMIT 1;","159":"SELECT COUNT(*) FROM CARS_DATA WHERE Accelerate > ( SELECT Accelerate FROM CARS_DATA ORDER BY Horsepower DESC LIMIT 1 );","160":"SELECT COUNT(*) FROM CARS_DATA WHERE Accelerate > ( SELECT Accelerate FROM CARS_DATA ORDER BY Horsepower DESC LIMIT 1 );","161":"select count(*) from countries as t1 join car_makers as t2 on t1.countryid = t2.country group by t1.countryid having count(*) > 2","162":"select count(*) from countries as t1 join car_makers as t2 on t1.countryid = t2.country group by t1.countryid having count(*) > 2","163":"SELECT COUNT(*) FROM CARS_DATA WHERE Cylinders > 6;","164":"SELECT COUNT(*) FROM CARS_DATA WHERE Cylinders > 6;","165":"SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.Cylinders = 4 ORDER BY T2.horsepower DESC LIMIT 1;","166":"SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.Cylinders = 4 ORDER BY T2.horsepower DESC LIMIT 1;","167":"SELECT T2.MakeId , T2.Make FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T1.Horsepower > (SELECT min(Horsepower) FROM CARS_DATA) AND T1.Cylinders <= 3;","168":"select t2.makeid , t2.make from cars_data as t1 join car_names as t2 on t1.id = t2.makeid where t1.horsepower > (select min(horsepower) from cars_data) and t1.cylinders < 4;","169":"select max(mpg) from cars_data where cylinders = 8 or year < 1980","170":"select max(mpg) from cars_data where cylinders = 8 or year < 1980","171":"SELECT DISTINCT T1.model FROM MODEL_LIST AS T1 JOIN CAR_NAMES AS T2 ON T1.Model = T2.Model JOIN CARS_DATA AS T3 ON T2.MakeId = T3.Id JOIN CAR_MAKERS AS T4 ON T1.Maker = T4.Id WHERE T3.weight < 3500 AND T4.FullName != 'Ford Motor Company';","172":"SELECT DISTINCT T1.model FROM MODEL_LIST AS T1 JOIN CAR_NAMES AS T2 ON T1.Model = T2.Model JOIN CARS_DATA AS T3 ON T2.MakeId = T3.Id JOIN CAR_MAKERS AS T4 ON T1.Maker = T4.Id WHERE T3.weight < 3500 AND T4.FullName != 'Ford Motor Company';","173":"SELECT CountryName FROM countries EXCEPT SELECT T1.CountryName FROM countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.countryId = T2.Country;","174":"SELECT CountryName FROM countries EXCEPT SELECT T1.CountryName FROM countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.countryId = T2.Country;","175":"select t1.id , t1.maker from car_makers as t1 join model_list as t2 on t1.id = t2.maker group by t1.id having count(*) >= 2 intersect select t1.id , t1.maker from car_makers as t1 join model_list as t2 on t1.id = t2.maker join car_names as t3 on t2.model = t3.model group by t1.id having count(*) > 3;","176":"SELECT T1.Id , T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id HAVING count(*) >= 2 INTERSECT SELECT T1.Id , T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker JOIN CAR_NAMES AS T3 ON T2.model = T3.model GROUP BY T1.Id HAVING count(*) > 3;","177":"SELECT T1.countryId , T1.CountryName FROM Countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId = T2.Country GROUP BY T1.countryId HAVING count(*) > 3 UNION SELECT T1.countryId , T1.CountryName FROM Countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId = T2.Country JOIN MODEL_LIST AS T3 ON T2.Id = T3.Maker WHERE T3.Model = 'fiat';","178":"select t1.countryid , t1.countryname from countries as t1 join car_makers as t2 on t1.countryid = t2.country group by t1.countryid having count(*) > 3 union select t1.countryid , t1.countryname from countries as t1 join car_makers as t2 on t1.countryid = t2.country join model_list as t3 on t2.id = t3.maker where t3.model = 'fiat';","179":"SELECT Country FROM AIRLINES WHERE Airline = \"JetBlue Airways\"","180":"SELECT Country FROM AIRLINES WHERE Airline = \"JetBlue Airways\"","181":"SELECT Abbreviation FROM AIRLINES WHERE Airline = \"JetBlue Airways\"","182":"SELECT Abbreviation FROM AIRLINES WHERE Airline = \"JetBlue Airways\"","183":"SELECT Airline , Abbreviation FROM AIRLINES WHERE Country = \"USA\"","184":"SELECT Airline , Abbreviation FROM AIRLINES WHERE Country = \"USA\"","185":"SELECT AirportCode , AirportName FROM AIRPORTS WHERE city = \"Anthony\"","186":"SELECT AirportCode , AirportName FROM AIRPORTS WHERE city = \"Anthony\"","187":"SELECT count(*) FROM AIRLINES","188":"SELECT count(*) FROM AIRLINES","189":"SELECT count(*) FROM AIRPORTS","190":"SELECT count(*) FROM AIRPORTS","191":"SELECT count(*) FROM FLIGHTS","192":"SELECT count(*) FROM FLIGHTS","193":"SELECT Airline FROM AIRLINES WHERE Abbreviation = \"UAL\"","194":"SELECT Airline FROM AIRLINES WHERE Abbreviation = \"UAL\"","195":"SELECT count(*) FROM AIRLINES WHERE Country = \"USA\"","196":"SELECT count(*) FROM AIRLINES WHERE Country = \"USA\"","197":"SELECT City , Country FROM AIRPORTS WHERE AirportName = \"Alton\"","198":"SELECT City , Country FROM AIRPORTS WHERE AirportName = \"Alton\"","199":"SELECT AirportName FROM AIRPORTS WHERE AirportCode = \"AKO\"","200":"SELECT AirportName FROM AIRPORTS WHERE AirportCode = \"AKO\"","201":"SELECT AirportName FROM AIRPORTS WHERE City = \"Aberdeen\"","202":"SELECT AirportName FROM AIRPORTS WHERE City = \"Aberdeen\"","203":"SELECT count(*) FROM FLIGHTS WHERE SourceAirport = \"APG\"","204":"SELECT count(*) FROM FLIGHTS WHERE SourceAirport = \"APG\"","205":"SELECT count(*) FROM FLIGHTS WHERE DestAirport = \"ATO\"","206":"SELECT count(*) FROM FLIGHTS WHERE DestAirport = \"ATO\"","207":"SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport = T2.AirportCode WHERE T2.City = \"Aberdeen\"","208":"SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport = T2.AirportCode WHERE T2.City = \"Aberdeen\"","209":"SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.City = \"Aberdeen\"","210":"SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.City = \"Aberdeen\"","211":"SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRPORTS AS T3 ON T1.SourceAirport = T3.AirportCode WHERE T2.City = \"Ashley\" AND T3.City = \"Aberdeen\"","212":"SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRPORTS AS T3 ON T1.SourceAirport = T3.AirportCode WHERE T2.City = \"Ashley\" AND T3.City = \"Aberdeen\"","213":"SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T1.Airline = T2.uid WHERE T2.Airline = \"JetBlue Airways\"","214":"SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T1.Airline = T2.uid WHERE T2.Airline = \"JetBlue Airways\"","215":"SELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline = T1.uid WHERE T1.Airline = \"United Airlines\" AND T2.DestAirport = \"ASY\"","216":"SELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline = T1.uid WHERE T1.Airline = \"United Airlines\" AND T2.DestAirport = \"ASY\"","217":"SELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline = T1.uid WHERE T1.Airline = \"United Airlines\" AND T2.SourceAirport = \"AHD\"","218":"SELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline = T1.uid WHERE T1.Airline = \"United Airlines\" AND T2.SourceAirport = \"AHD\"","219":"SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRLINES AS T3 ON T3.uid = T1.Airline WHERE T2.City = \"Aberdeen\" AND T3.Airline = \"United Airlines\"","220":"SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRLINES AS T3 ON T3.uid = T1.Airline WHERE T2.City = \"Aberdeen\" AND T3.Airline = \"United Airlines\"","221":"SELECT T1.City FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport GROUP BY T1.City ORDER BY count(*) DESC LIMIT 1","222":"SELECT T1.City FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport GROUP BY T1.City ORDER BY count(*) DESC LIMIT 1","223":"SELECT T1.City FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.SourceAirport GROUP BY T1.City ORDER BY count(*) DESC LIMIT 1","224":"SELECT T1.City FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.SourceAirport GROUP BY T1.City ORDER BY count(*) DESC LIMIT 1","225":"SELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport OR T1.AirportCode = T2.SourceAirport GROUP BY T1.AirportCode ORDER BY count(*) DESC LIMIT 1","226":"SELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport OR T1.AirportCode = T2.SourceAirport GROUP BY T1.AirportCode ORDER BY count(*) DESC LIMIT 1","227":"SELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport OR T1.AirportCode = T2.SourceAirport GROUP BY T1.AirportCode ORDER BY count(*) LIMIT 1","228":"SELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport OR T1.AirportCode = T2.SourceAirport GROUP BY T1.AirportCode ORDER BY count(*) LIMIT 1","229":"SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline ORDER BY count(*) DESC LIMIT 1","230":"SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline ORDER BY count(*) DESC LIMIT 1","231":"SELECT T1.Abbreviation , T1.Country FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline ORDER BY count(*) LIMIT 1","232":"SELECT T1.Abbreviation , T1.Country FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline ORDER BY count(*) LIMIT 1","233":"SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"AHD\"","234":"SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"AHD\"","235":"SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.DestAirport = \"AHD\"","236":"SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.DestAirport = \"AHD\"","237":"SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"APG\" INTERSECT SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"CVO\"","238":"SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"APG\" INTERSECT SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"CVO\"","239":"SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"CVO\" EXCEPT SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"APG\"","240":"SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"CVO\" EXCEPT SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"APG\"","241":"SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline HAVING count(*) > 10","242":"SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline HAVING count(*) > 10","243":"SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline HAVING count(*) < 200","244":"SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline HAVING count(*) < 200","245":"SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T2.uid = T1.Airline WHERE T2.Airline = \"United Airlines\"","246":"SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T2.uid = T1.Airline WHERE T2.Airline = \"United Airlines\"","247":"SELECT FlightNo FROM FLIGHTS WHERE SourceAirport = \"APG\"","248":"SELECT FlightNo FROM FLIGHTS WHERE SourceAirport = \"APG\"","249":"SELECT FlightNo FROM FLIGHTS WHERE DestAirport = \"APG\"","250":"SELECT FlightNo FROM FLIGHTS WHERE DestAirport = \"APG\"","251":"SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport = T2.AirportCode WHERE T2.City = \"Aberdeen\"","252":"SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport = T2.AirportCode WHERE T2.City = \"Aberdeen\"","253":"SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.City = \"Aberdeen\"","254":"SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.City = \"Aberdeen\"","255":"SELECT count(*) FROM Flights AS T1 JOIN Airports AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.city = \"Aberdeen\" OR T2.city = \"Abilene\"","256":"SELECT count(*) FROM Flights AS T1 JOIN Airports AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.city = \"Aberdeen\" OR T2.city = \"Abilene\"","257":"SELECT AirportName FROM Airports WHERE AirportCode NOT IN (SELECT SourceAirport FROM Flights UNION SELECT DestAirport FROM Flights)","258":"SELECT AirportName FROM Airports WHERE AirportCode NOT IN (SELECT SourceAirport FROM Flights UNION SELECT DestAirport FROM Flights)","259":"SELECT count(*) FROM employee","260":"SELECT count(*) FROM employee","261":"SELECT name FROM employee ORDER BY age","262":"SELECT name FROM employee ORDER BY age","263":"SELECT count(*) , city FROM employee GROUP BY city","264":"SELECT count(*) , city FROM employee GROUP BY city","265":"SELECT city FROM employee WHERE age < 30 GROUP BY city HAVING count(*) > 1","266":"SELECT city FROM employee WHERE age < 30 GROUP BY city HAVING count(*) > 1","267":"SELECT count(*) , LOCATION FROM shop GROUP BY LOCATION","268":"SELECT count(*) , LOCATION FROM shop GROUP BY LOCATION","269":"SELECT manager_name , district FROM shop ORDER BY number_products DESC LIMIT 1","270":"SELECT manager_name , district FROM shop ORDER BY number_products DESC LIMIT 1","271":"SELECT min(Number_products) , max(Number_products) FROM shop","272":"SELECT min(Number_products) , max(Number_products) FROM shop","273":"SELECT name , LOCATION , district FROM shop ORDER BY number_products DESC","274":"SELECT name , LOCATION , district FROM shop ORDER BY number_products DESC","275":"SELECT name FROM shop WHERE number_products > (SELECT avg(number_products) FROM shop)","276":"SELECT name FROM shop WHERE number_products > (SELECT avg(number_products) FROM shop)","277":"SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID GROUP BY t2.Employee_ID ORDER BY count(*) DESC LIMIT 1","278":"SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID GROUP BY t2.Employee_ID ORDER BY count(*) DESC LIMIT 1","279":"SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID ORDER BY t2.bonus DESC LIMIT 1","280":"SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID ORDER BY t2.bonus DESC LIMIT 1","281":"SELECT name FROM employee WHERE Employee_ID NOT IN (SELECT Employee_ID FROM evaluation)","282":"SELECT name FROM employee WHERE Employee_ID NOT IN (SELECT Employee_ID FROM evaluation)","283":"SELECT t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t1.shop_id ORDER BY count(*) DESC LIMIT 1","284":"SELECT t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t1.shop_id ORDER BY count(*) DESC LIMIT 1","285":"SELECT name FROM shop WHERE shop_id NOT IN (SELECT shop_id FROM hiring)","286":"SELECT name FROM shop WHERE shop_id NOT IN (SELECT shop_id FROM hiring)","287":"SELECT count(*) , t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t2.name","288":"SELECT count(*) , t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t2.name","289":"SELECT sum(bonus) FROM evaluation","290":"SELECT sum(bonus) FROM evaluation","291":"SELECT * FROM hiring","292":"SELECT * FROM hiring","293":"SELECT district FROM shop WHERE Number_products < 3000 INTERSECT SELECT district FROM shop WHERE Number_products > 10000","294":"SELECT district FROM shop WHERE Number_products < 3000 INTERSECT SELECT district FROM shop WHERE Number_products > 10000","295":"SELECT count(DISTINCT LOCATION) FROM shop","296":"SELECT count(DISTINCT LOCATION) FROM shop","297":"SELECT count(*) FROM Documents","298":"SELECT count(*) FROM Documents","299":"SELECT document_id , document_name , document_description FROM Documents","300":"SELECT document_id , document_name , document_description FROM Documents","301":"SELECT document_name , template_id FROM Documents WHERE Document_Description LIKE \"%w%\"","302":"SELECT document_name , template_id FROM Documents WHERE Document_Description LIKE \"%w%\"","303":"SELECT document_id , template_id , Document_Description FROM Documents WHERE document_name = \"Robbin CV\"","304":"SELECT document_id , template_id , Document_Description FROM Documents WHERE document_name = \"Robbin CV\"","305":"SELECT count(DISTINCT template_id) FROM Documents","306":"SELECT count(DISTINCT template_id) FROM Documents","307":"SELECT count(*) FROM Documents AS T1 JOIN Templates AS T2 ON T1.Template_ID = T2.Template_ID WHERE T2.Template_Type_Code = 'PPT'","308":"SELECT count(*) FROM Documents AS T1 JOIN Templates AS T2 ON T1.Template_ID = T2.Template_ID WHERE T2.Template_Type_Code = 'PPT'","309":"SELECT template_id , count(*) FROM Documents GROUP BY template_id","310":"SELECT template_id , count(*) FROM Documents GROUP BY template_id","311":"SELECT T1.template_id , T2.Template_Type_Code FROM Documents AS T1 JOIN Templates AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_id ORDER BY count(*) DESC LIMIT 1","312":"SELECT T1.template_id , T2.Template_Type_Code FROM Documents AS T1 JOIN Templates AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_id ORDER BY count(*) DESC LIMIT 1","313":"SELECT template_id FROM Documents GROUP BY template_id HAVING count(*) > 1","314":"SELECT template_id FROM Documents GROUP BY template_id HAVING count(*) > 1","315":"SELECT template_id FROM Templates EXCEPT SELECT template_id FROM Documents","316":"SELECT template_id FROM Templates EXCEPT SELECT template_id FROM Documents","317":"SELECT count(*) FROM Templates","318":"SELECT count(*) FROM Templates","319":"SELECT template_id , version_number , template_type_code FROM Templates","320":"SELECT template_id , version_number , template_type_code FROM Templates","321":"SELECT DISTINCT template_type_code FROM Templates","322":"SELECT DISTINCT template_type_code FROM Templates","323":"SELECT template_id FROM Templates WHERE template_type_code = \"PP\" OR template_type_code = \"PPT\"","324":"SELECT template_id FROM Templates WHERE template_type_code = \"PP\" OR template_type_code = \"PPT\"","325":"SELECT count(*) FROM Templates WHERE template_type_code = \"CV\"","326":"SELECT count(*) FROM Templates WHERE template_type_code = \"CV\"","327":"SELECT version_number , template_type_code FROM Templates WHERE version_number > 5","328":"SELECT version_number , template_type_code FROM Templates WHERE version_number > 5","329":"SELECT template_type_code , count(*) FROM Templates GROUP BY template_type_code","330":"SELECT template_type_code , count(*) FROM Templates GROUP BY template_type_code","331":"SELECT template_type_code FROM Templates GROUP BY template_type_code ORDER BY count(*) DESC LIMIT 1","332":"SELECT template_type_code FROM Templates GROUP BY template_type_code ORDER BY count(*) DESC LIMIT 1","333":"SELECT template_type_code FROM Templates GROUP BY template_type_code HAVING count(*) < 3","334":"SELECT template_type_code FROM Templates GROUP BY template_type_code HAVING count(*) < 3","335":"SELECT min(Version_Number) , template_type_code FROM Templates","336":"SELECT min(Version_Number) , template_type_code FROM Templates","337":"SELECT T1.template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id WHERE T2.document_name = \"Data base\"","338":"SELECT T1.template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id WHERE T2.document_name = \"Data base\"","339":"SELECT T2.document_name FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id WHERE T1.template_type_code = \"BK\"","340":"SELECT T2.document_name FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id WHERE T1.template_type_code = \"BK\"","341":"SELECT T1.template_type_code , count(*) FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_type_code","342":"SELECT T1.template_type_code , count(*) FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_type_code","343":"SELECT T1.template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_type_code ORDER BY count(*) DESC LIMIT 1","344":"SELECT T1.template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_type_code ORDER BY count(*) DESC LIMIT 1","345":"SELECT template_type_code FROM Templates EXCEPT SELECT template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id","346":"SELECT template_type_code FROM Templates EXCEPT SELECT template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id","347":"SELECT template_type_code , template_type_description FROM Ref_template_types","348":"SELECT template_type_code , template_type_description FROM Ref_template_types","349":"SELECT template_type_description FROM Ref_template_types WHERE template_type_code = \"AD\"","350":"SELECT template_type_description FROM Ref_template_types WHERE template_type_code = \"AD\"","351":"SELECT template_type_code FROM Ref_template_types WHERE template_type_description = \"Book\"","352":"SELECT template_type_code FROM Ref_template_types WHERE template_type_description = \"Book\"","353":"SELECT DISTINCT T1.template_type_description FROM Ref_template_types AS T1 JOIN Templates AS T2 ON T1.template_type_code = T2.template_type_code JOIN Documents AS T3 ON T2.Template_ID = T3.template_ID","354":"SELECT DISTINCT T1.template_type_description FROM Ref_template_types AS T1 JOIN Templates AS T2 ON T1.template_type_code = T2.template_type_code JOIN Documents AS T3 ON T2.Template_ID = T3.template_ID","355":"SELECT T2.template_id FROM Ref_template_types AS T1 JOIN Templates AS T2 ON T1.template_type_code = T2.template_type_code WHERE T1.template_type_description = \"Presentation\"","356":"SELECT T2.template_id FROM Ref_template_types AS T1 JOIN Templates AS T2 ON T1.template_type_code = T2.template_type_code WHERE T1.template_type_description = \"Presentation\"","357":"SELECT count(*) FROM Paragraphs","358":"SELECT count(*) FROM Paragraphs","359":"SELECT count(*) FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_ID = T2.document_ID WHERE T2.document_name = 'Summer Show'","360":"SELECT count(*) FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_ID = T2.document_ID WHERE T2.document_name = 'Summer Show'","361":"select other_details from paragraphs where paragraph_text like 'korea'","362":"select other_details from paragraphs where paragraph_text like 'korea'","363":"SELECT T1.paragraph_id , T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.Document_Name = 'Welcome to NY'","364":"SELECT T1.paragraph_id , T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.Document_Name = 'Welcome to NY'","365":"SELECT T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = \"Customer reviews\"","366":"SELECT T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = \"Customer reviews\"","367":"SELECT document_id , count(*) FROM Paragraphs GROUP BY document_id ORDER BY document_id","368":"SELECT document_id , count(*) FROM Paragraphs GROUP BY document_id ORDER BY document_id","369":"SELECT T1.document_id , T2.document_name , count(*) FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id GROUP BY T1.document_id","370":"SELECT T1.document_id , T2.document_name , count(*) FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id GROUP BY T1.document_id","371":"SELECT document_id FROM Paragraphs GROUP BY document_id HAVING count(*) >= 2","372":"SELECT document_id FROM Paragraphs GROUP BY document_id HAVING count(*) >= 2","373":"SELECT T1.document_id , T2.document_name FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id GROUP BY T1.document_id ORDER BY count(*) DESC LIMIT 1","374":"SELECT T1.document_id , T2.document_name FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id GROUP BY T1.document_id ORDER BY count(*) DESC LIMIT 1","375":"SELECT document_id FROM Paragraphs GROUP BY document_id ORDER BY count(*) ASC LIMIT 1","376":"SELECT document_id FROM Paragraphs GROUP BY document_id ORDER BY count(*) ASC LIMIT 1","377":"SELECT document_id FROM Paragraphs GROUP BY document_id HAVING count(*) BETWEEN 1 AND 2","378":"SELECT document_id FROM Paragraphs GROUP BY document_id HAVING count(*) BETWEEN 1 AND 2","379":"SELECT document_id FROM Paragraphs WHERE paragraph_text = 'Brazil' INTERSECT SELECT document_id FROM Paragraphs WHERE paragraph_text = 'Ireland'","380":"SELECT document_id FROM Paragraphs WHERE paragraph_text = 'Brazil' INTERSECT SELECT document_id FROM Paragraphs WHERE paragraph_text = 'Ireland'","381":"SELECT count(*) FROM teacher","382":"SELECT count(*) FROM teacher","383":"SELECT Name FROM teacher ORDER BY Age ASC","384":"SELECT Name FROM teacher ORDER BY Age ASC","385":"SELECT Age , Hometown FROM teacher","386":"SELECT Age , Hometown FROM teacher","387":"select name from teacher where hometown != \"little lever urban district\"","388":"select name from teacher where hometown != \"little lever urban district\"","389":"SELECT Name FROM teacher WHERE Age = 32 OR Age = 33","390":"SELECT Name FROM teacher WHERE Age = 32 OR Age = 33","391":"SELECT Hometown FROM teacher ORDER BY Age ASC LIMIT 1","392":"SELECT Hometown FROM teacher ORDER BY Age ASC LIMIT 1","393":"SELECT Hometown , COUNT(*) FROM teacher GROUP BY Hometown","394":"SELECT Hometown , COUNT(*) FROM teacher GROUP BY Hometown","395":"SELECT Hometown FROM teacher GROUP BY Hometown ORDER BY COUNT(*) DESC LIMIT 1","396":"SELECT Hometown FROM teacher GROUP BY Hometown ORDER BY COUNT(*) DESC LIMIT 1","397":"SELECT Hometown FROM teacher GROUP BY Hometown HAVING COUNT(*) >= 2","398":"SELECT Hometown FROM teacher GROUP BY Hometown HAVING COUNT(*) >= 2","399":"SELECT T3.Name , T2.Course FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID","400":"SELECT T3.Name , T2.Course FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID","401":"SELECT T3.Name , T2.Course FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID ORDER BY T3.Name","402":"SELECT T3.Name , T2.Course FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID ORDER BY T3.Name","403":"SELECT T3.Name FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID WHERE T2.Course = \"Math\"","404":"SELECT T3.Name FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID WHERE T2.Course = \"Math\"","405":"SELECT T2.Name , COUNT(*) FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name","406":"SELECT T2.Name , COUNT(*) FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name","407":"SELECT T2.Name FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name HAVING COUNT(*) >= 2","408":"SELECT T2.Name FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name HAVING COUNT(*) >= 2","409":"SELECT Name FROM teacher WHERE Teacher_id NOT IN (SELECT Teacher_id FROM course_arrange)","410":"SELECT Name FROM teacher WHERE Teacher_id NOT IN (SELECT Teacher_id FROM course_arrange)","411":"SELECT count(*) FROM visitor WHERE age < 30","412":"SELECT name FROM visitor WHERE Level_of_membership > 4 ORDER BY Level_of_membership DESC","413":"SELECT avg(age) FROM visitor WHERE Level_of_membership <= 4","414":"SELECT name , Level_of_membership FROM visitor WHERE Level_of_membership > 4 ORDER BY age DESC","415":"SELECT museum_id , name FROM museum ORDER BY num_of_staff DESC LIMIT 1","416":"SELECT avg(num_of_staff) FROM museum WHERE open_year < 2009","417":"SELECT Num_of_Staff , Open_Year FROM museum WHERE name = 'Plaza Museum'","418":"SELECT name FROM museum WHERE num_of_staff > (SELECT min(num_of_staff) FROM museum WHERE open_year > 2010)","419":"SELECT t1.id , t1.name , t1.age FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id GROUP BY t1.id HAVING count(*) > 1","420":"SELECT t2.visitor_id , t1.name , t1.Level_of_membership FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id GROUP BY t2.visitor_id ORDER BY sum(t2.Total_spent) DESC LIMIT 1","421":"SELECT t2.Museum_ID , t1.name FROM museum AS t1 JOIN visit AS t2 ON t1.Museum_ID = t2.Museum_ID GROUP BY t2.Museum_ID ORDER BY count(*) DESC LIMIT 1","422":"SELECT name FROM museum WHERE Museum_ID NOT IN (SELECT museum_id FROM visit)","423":"SELECT t1.name , t1.age FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id ORDER BY t2.num_of_ticket DESC LIMIT 1","424":"SELECT avg(num_of_ticket) , max(num_of_ticket) FROM visit","425":"SELECT sum(t2.Total_spent) FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id WHERE t1.Level_of_membership = 1","426":"SELECT t1.name FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id JOIN museum AS t3 ON t3.Museum_ID = t2.Museum_ID WHERE t3.open_year < 2009 INTERSECT SELECT t1.name FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id JOIN museum AS t3 ON t3.Museum_ID = t2.Museum_ID WHERE t3.open_year > 2011","427":"SELECT count(*) FROM visitor WHERE id NOT IN (SELECT t2.visitor_id FROM museum AS t1 JOIN visit AS t2 ON t1.Museum_ID = t2.Museum_ID WHERE t1.open_year > 2010)","428":"SELECT count(*) FROM museum WHERE open_year > 2013 OR open_year < 2008","429":"SELECT count(*) FROM players","430":"SELECT count(*) FROM players","431":"SELECT count(*) FROM matches","432":"SELECT count(*) FROM matches","433":"SELECT first_name , birth_date FROM players WHERE country_code = 'USA'","434":"SELECT first_name , birth_date FROM players WHERE country_code = 'USA'","435":"SELECT avg(loser_age) , avg(winner_age) FROM matches","436":"SELECT avg(loser_age) , avg(winner_age) FROM matches","437":"SELECT avg(winner_rank) FROM matches","438":"SELECT avg(winner_rank) FROM matches","439":"SELECT min(loser_rank) FROM matches","440":"SELECT min(loser_rank) FROM matches","441":"SELECT count(DISTINCT country_code) FROM players","442":"SELECT count(DISTINCT country_code) FROM players","443":"SELECT count(DISTINCT loser_name) FROM matches","444":"SELECT count(DISTINCT loser_name) FROM matches","445":"SELECT tourney_name FROM matches GROUP BY tourney_name HAVING count(*) > 10","446":"SELECT tourney_name FROM matches GROUP BY tourney_name HAVING count(*) > 10","447":"SELECT winner_name FROM matches WHERE YEAR = 2013 INTERSECT SELECT winner_name FROM matches WHERE YEAR = 2016","448":"SELECT winner_name FROM matches WHERE YEAR = 2013 INTERSECT SELECT winner_name FROM matches WHERE YEAR = 2016","449":"SELECT count(*) FROM matches WHERE YEAR = 2013 OR YEAR = 2016","450":"SELECT count(*) FROM matches WHERE YEAR = 2013 OR YEAR = 2016","451":"SELECT T1.country_code , T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.winner_id WHERE T2.tourney_name = 'WTA Championships' INTERSECT SELECT T1.country_code , T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.winner_id WHERE T2.tourney_name = 'Australian Open'","452":"SELECT T1.country_code , T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.winner_id WHERE T2.tourney_name = 'WTA Championships' INTERSECT SELECT T1.country_code , T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.winner_id WHERE T2.tourney_name = 'Australian Open'","453":"SELECT first_name , country_code FROM players ORDER BY birth_date LIMIT 1","454":"SELECT first_name , country_code FROM players ORDER BY birth_date LIMIT 1","455":"SELECT first_name , last_name FROM players ORDER BY birth_date","456":"SELECT first_name , last_name FROM players ORDER BY birth_date","457":"SELECT first_name , last_name FROM players WHERE hand = 'L' ORDER BY birth_date","458":"SELECT first_name , last_name FROM players WHERE hand = 'L' ORDER BY birth_date","459":"SELECT T1.country_code , T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id ORDER BY T2.tours DESC LIMIT 1","460":"SELECT T1.country_code , T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id ORDER BY T2.tours DESC LIMIT 1","461":"SELECT YEAR FROM matches GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1","462":"SELECT YEAR FROM matches GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1","463":"SELECT winner_name , winner_rank_points FROM matches GROUP BY winner_name ORDER BY count(*) DESC LIMIT 1","464":"SELECT winner_name , winner_rank_points FROM matches GROUP BY winner_name ORDER BY count(*) DESC LIMIT 1","465":"SELECT winner_name FROM matches WHERE tourney_name = 'Australian Open' ORDER BY winner_rank_points DESC LIMIT 1","466":"SELECT winner_name FROM matches WHERE tourney_name = 'Australian Open' ORDER BY winner_rank_points DESC LIMIT 1","467":"SELECT winner_name , loser_name FROM matches ORDER BY minutes DESC LIMIT 1","468":"SELECT winner_name , loser_name FROM matches ORDER BY minutes DESC LIMIT 1","469":"SELECT avg(ranking) , T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1.first_name","470":"SELECT avg(ranking) , T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1.first_name","471":"SELECT sum(ranking_points) , T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1.first_name","472":"SELECT sum(ranking_points) , T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1.first_name","473":"SELECT count(*) , country_code FROM players GROUP BY country_code","474":"SELECT count(*) , country_code FROM players GROUP BY country_code","475":"SELECT country_code FROM players GROUP BY country_code ORDER BY count(*) DESC LIMIT 1","476":"SELECT country_code FROM players GROUP BY country_code ORDER BY count(*) DESC LIMIT 1","477":"SELECT country_code FROM players GROUP BY country_code HAVING count(*) > 50","478":"SELECT country_code FROM players GROUP BY country_code HAVING count(*) > 50","479":"SELECT sum(tours) , ranking_date FROM rankings GROUP BY ranking_date","480":"SELECT sum(tours) , ranking_date FROM rankings GROUP BY ranking_date","481":"SELECT count(*) , YEAR FROM matches GROUP BY YEAR","482":"SELECT count(*) , YEAR FROM matches GROUP BY YEAR","483":"SELECT DISTINCT winner_name , winner_rank FROM matches ORDER BY winner_age LIMIT 3","484":"SELECT DISTINCT winner_name , winner_rank FROM matches ORDER BY winner_age LIMIT 3","485":"SELECT count(DISTINCT winner_name) FROM matches WHERE tourney_name = 'WTA Championships' AND winner_hand = 'L'","486":"SELECT count(DISTINCT winner_name) FROM matches WHERE tourney_name = 'WTA Championships' AND winner_hand = 'L'","487":"SELECT T1.first_name , T1.country_code , T1.birth_date FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.winner_id ORDER BY T2.winner_rank_points DESC LIMIT 1","488":"SELECT T1.first_name , T1.country_code , T1.birth_date FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.winner_id ORDER BY T2.winner_rank_points DESC LIMIT 1","489":"SELECT count(*) , hand FROM players GROUP BY hand","490":"SELECT count(*) , hand FROM players GROUP BY hand","491":"SELECT count(*) FROM ship WHERE disposition_of_ship = 'Captured'","492":"SELECT name , tonnage FROM ship ORDER BY name DESC","493":"SELECT name , date FROM battle","494":"SELECT max(killed) , min(killed) FROM death","495":"SELECT avg(injured) FROM death","496":"SELECT T1.killed , T1.injured FROM death AS T1 JOIN ship AS t2 ON T1.caused_by_ship_id = T2.id WHERE T2.tonnage = 't'","497":"SELECT name , RESULT FROM battle WHERE bulgarian_commander != 'Boril'","498":"SELECT DISTINCT T1.id , T1.name FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.ship_type = 'Brig'","499":"SELECT T1.id , T1.name FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle JOIN death AS T3 ON T2.id = T3.caused_by_ship_id GROUP BY T1.id HAVING sum(T3.killed) > 10","500":"SELECT T2.id , T2.name FROM death AS T1 JOIN ship AS t2 ON T1.caused_by_ship_id = T2.id GROUP BY T2.id ORDER BY count(*) DESC LIMIT 1","501":"SELECT name FROM battle WHERE bulgarian_commander = 'Kaloyan' AND latin_commander = 'Baldwin I'","502":"SELECT count(DISTINCT RESULT) FROM battle","503":"SELECT count(*) FROM battle WHERE id NOT IN ( SELECT lost_in_battle FROM ship WHERE tonnage = '225' );","504":"SELECT T1.name , T1.date FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.name = 'Lettice' INTERSECT SELECT T1.name , T1.date FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.name = 'HMS Atalanta'","505":"SELECT name , RESULT , bulgarian_commander FROM battle EXCEPT SELECT T1.name , T1.result , T1.bulgarian_commander FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.location = 'English Channel'","506":"SELECT note FROM death WHERE note LIKE '%East%'","507":"SELECT line_1 , line_2 FROM addresses","508":"SELECT line_1 , line_2 FROM addresses","509":"SELECT count(*) FROM Courses","510":"SELECT count(*) FROM Courses","511":"SELECT course_description FROM Courses WHERE course_name = 'math'","512":"SELECT course_description FROM Courses WHERE course_name = 'math'","513":"SELECT zip_postcode FROM Addresses WHERE city = 'Port Chelsea'","514":"SELECT zip_postcode FROM Addresses WHERE city = 'Port Chelsea'","515":"SELECT T2.department_name , T1.department_id FROM Degree_Programs AS T1 JOIN Departments AS T2 ON T1.department_id = T2.department_id GROUP BY T1.department_id ORDER BY count(*) DESC LIMIT 1","516":"select t2.department_name , t1.department_id from degree_programs as t1 join departments as t2 on t1.department_id = t2.department_id group by t1.department_id order by count(*) desc limit 1","517":"SELECT count(DISTINCT department_id) FROM Degree_Programs","518":"SELECT count(DISTINCT department_id) FROM Degree_Programs","519":"SELECT count(DISTINCT degree_summary_name) FROM Degree_Programs","520":"SELECT count(DISTINCT degree_summary_name) FROM Degree_Programs","521":"SELECT count(*) FROM Departments AS T1 JOIN Degree_Programs AS T2 ON T1.department_id = T2.department_id WHERE T1.department_name = 'engineer'","522":"SELECT count(*) FROM Departments AS T1 JOIN Degree_Programs AS T2 ON T1.department_id = T2.department_id WHERE T1.department_name = 'engineer'","523":"SELECT section_name , section_description FROM Sections","524":"SELECT section_name , section_description FROM Sections","525":"SELECT T1.course_name , T1.course_id FROM Courses AS T1 JOIN Sections AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_id HAVING count(*) <= 2","526":"SELECT T1.course_name , T1.course_id FROM Courses AS T1 JOIN Sections AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_id HAVING count(*) <= 2","527":"SELECT section_name FROM Sections ORDER BY section_name DESC","528":"SELECT section_name FROM Sections ORDER BY section_name DESC","529":"SELECT T1.semester_name , T1.semester_id FROM Semesters AS T1 JOIN Student_Enrolment AS T2 ON T1.semester_id = T2.semester_id GROUP BY T1.semester_id ORDER BY count(*) DESC LIMIT 1","530":"SELECT T1.semester_name , T1.semester_id FROM Semesters AS T1 JOIN Student_Enrolment AS T2 ON T1.semester_id = T2.semester_id GROUP BY T1.semester_id ORDER BY count(*) DESC LIMIT 1","531":"SELECT department_description FROM Departments WHERE department_name LIKE '%computer%'","532":"SELECT department_description FROM Departments WHERE department_name LIKE '%computer%'","533":"SELECT T1.first_name , T1.middle_name , T1.last_name , T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id HAVING count(*) = 2","534":"SELECT T1.first_name , T1.middle_name , T1.last_name , T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id HAVING count(*) = 2","535":"SELECT DISTINCT T1.first_name , T1.middle_name , T1.last_name FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id JOIN Degree_Programs AS T3 ON T2.degree_program_id = T3.degree_program_id WHERE T3.degree_summary_name = 'Bachelor'","536":"SELECT DISTINCT T1.first_name , T1.middle_name , T1.last_name FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id JOIN Degree_Programs AS T3 ON T2.degree_program_id = T3.degree_program_id WHERE T3.degree_summary_name = 'Bachelor'","537":"SELECT T1.degree_summary_name FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id GROUP BY T1.degree_summary_name ORDER BY count(*) DESC LIMIT 1","538":"SELECT T1.degree_summary_name FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id GROUP BY T1.degree_summary_name ORDER BY count(*) DESC LIMIT 1","539":"SELECT T1.degree_program_id , T1.degree_summary_name FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id GROUP BY T1.degree_program_id ORDER BY count(*) DESC LIMIT 1","540":"SELECT T1.degree_program_id , T1.degree_summary_name FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id GROUP BY T1.degree_program_id ORDER BY count(*) DESC LIMIT 1","541":"SELECT T1.student_id , T1.first_name , T1.middle_name , T1.last_name , count(*) , T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1","542":"SELECT T1.student_id , T1.first_name , T1.middle_name , T1.last_name , count(*) , T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1","543":"SELECT semester_name FROM Semesters WHERE semester_id NOT IN( SELECT semester_id FROM Student_Enrolment )","544":"SELECT semester_name FROM Semesters WHERE semester_id NOT IN( SELECT semester_id FROM Student_Enrolment )","545":"SELECT DISTINCT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id","546":"SELECT DISTINCT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id","547":"SELECT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY count(*) DESC LIMIT 1","548":"SELECT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY count(*) DESC LIMIT 1","549":"SELECT T1.last_name FROM Students AS T1 JOIN Addresses AS T2 ON T1.current_address_id = T2.address_id WHERE T2.state_province_county = 'NorthCarolina' EXCEPT SELECT DISTINCT T3.last_name FROM Students AS T3 JOIN Student_Enrolment AS T4 ON T3.student_id = T4.student_id","550":"SELECT T1.last_name FROM Students AS T1 JOIN Addresses AS T2 ON T1.current_address_id = T2.address_id WHERE T2.state_province_county = 'NorthCarolina' EXCEPT SELECT DISTINCT T3.last_name FROM Students AS T3 JOIN Student_Enrolment AS T4 ON T3.student_id = T4.student_id","551":"SELECT T2.transcript_date , T1.transcript_id FROM Transcript_Contents AS T1 JOIN Transcripts AS T2 ON T1.transcript_id = T2.transcript_id GROUP BY T1.transcript_id HAVING count(*) >= 2","552":"SELECT T2.transcript_date , T1.transcript_id FROM Transcript_Contents AS T1 JOIN Transcripts AS T2 ON T1.transcript_id = T2.transcript_id GROUP BY T1.transcript_id HAVING count(*) >= 2","553":"SELECT cell_mobile_number FROM Students WHERE first_name = 'Timmothy' AND last_name = 'Ward'","554":"select cell_mobile_number from students where first_name = 'timmothy' and last_name = 'ward'","555":"SELECT first_name , middle_name , last_name FROM Students ORDER BY date_first_registered ASC LIMIT 1","556":"SELECT first_name , middle_name , last_name FROM Students ORDER BY date_first_registered ASC LIMIT 1","557":"SELECT first_name , middle_name , last_name FROM Students ORDER BY date_left ASC LIMIT 1","558":"SELECT first_name , middle_name , last_name FROM Students ORDER BY date_left ASC LIMIT 1","559":"SELECT first_name FROM Students WHERE current_address_id != permanent_address_id","560":"SELECT first_name FROM Students WHERE current_address_id != permanent_address_id","561":"SELECT T1.address_id , T1.line_1 , T1.line_2 FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id = T2.current_address_id GROUP BY T1.address_id ORDER BY count(*) DESC LIMIT 1","562":"SELECT T1.address_id , T1.line_1 , T1.line_2 FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id = T2.current_address_id GROUP BY T1.address_id ORDER BY count(*) DESC LIMIT 1","563":"SELECT avg(transcript_date) FROM Transcripts","564":"SELECT avg(transcript_date) FROM Transcripts","565":"SELECT transcript_date , other_details FROM Transcripts ORDER BY transcript_date ASC LIMIT 1","566":"SELECT transcript_date , other_details FROM Transcripts ORDER BY transcript_date ASC LIMIT 1","567":"SELECT count(*) FROM Transcripts","568":"SELECT count(*) FROM Transcripts","569":"SELECT transcript_date FROM Transcripts ORDER BY transcript_date DESC LIMIT 1","570":"SELECT transcript_date FROM Transcripts ORDER BY transcript_date DESC LIMIT 1","571":"SELECT count(*) , student_course_id FROM Transcript_Contents GROUP BY student_course_id ORDER BY count(*) DESC LIMIT 1","572":"SELECT count(*) , student_course_id FROM Transcript_Contents GROUP BY student_course_id ORDER BY count(*) DESC LIMIT 1","573":"SELECT T2.transcript_date , T1.transcript_id FROM Transcript_Contents AS T1 JOIN Transcripts AS T2 ON T1.transcript_id = T2.transcript_id GROUP BY T1.transcript_id ORDER BY count(*) ASC LIMIT 1","574":"SELECT T2.transcript_date , T1.transcript_id FROM Transcript_Contents AS T1 JOIN Transcripts AS T2 ON T1.transcript_id = T2.transcript_id GROUP BY T1.transcript_id ORDER BY count(*) ASC LIMIT 1","575":"SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id WHERE degree_summary_name = 'Master' INTERSECT SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id WHERE degree_summary_name = 'Bachelor'","576":"SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id WHERE degree_summary_name = 'Master' INTERSECT SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id WHERE degree_summary_name = 'Bachelor'","577":"SELECT count(DISTINCT current_address_id) FROM Students","578":"SELECT count(DISTINCT current_address_id) FROM Students","579":"SELECT other_student_details FROM Students ORDER BY other_student_details DESC","580":"SELECT other_student_details FROM Students ORDER BY other_student_details DESC","581":"SELECT section_description FROM Sections WHERE section_name = 'h'","582":"SELECT section_description FROM Sections WHERE section_name = 'h'","583":"select t1.first_name from students as t1 join addresses as t2 on t1.permanent_address_id = t2.address_id where t2.country = 'haiti' or t1.cell_mobile_number = '09700166582'","584":"select t1.first_name from students as t1 join addresses as t2 on t1.permanent_address_id = t2.address_id where t2.country = 'haiti' or t1.cell_mobile_number = '09700166582'","585":"SELECT Title FROM Cartoon ORDER BY title","586":"SELECT Title FROM Cartoon ORDER BY title","587":"SELECT Title FROM Cartoon WHERE Directed_by = \"Ben Jones\";","588":"SELECT Title FROM Cartoon WHERE Directed_by = \"Ben Jones\";","589":"SELECT count(*) FROM Cartoon WHERE Written_by = \"Joseph Kuhr\";","590":"SELECT count(*) FROM Cartoon WHERE Written_by = \"Joseph Kuhr\";","591":"SELECT title , Directed_by FROM Cartoon ORDER BY Original_air_date","592":"SELECT title , Directed_by FROM Cartoon ORDER BY Original_air_date","593":"SELECT Title FROM Cartoon WHERE Directed_by = \"Ben Jones\" OR Directed_by = \"Brandon Vietti\";","594":"SELECT Title FROM Cartoon WHERE Directed_by = \"Ben Jones\" OR Directed_by = \"Brandon Vietti\";","595":"SELECT Country , count(*) FROM TV_Channel GROUP BY Country ORDER BY count(*) DESC LIMIT 1;","596":"SELECT Country , count(*) FROM TV_Channel GROUP BY Country ORDER BY count(*) DESC LIMIT 1;","597":"SELECT count(DISTINCT series_name) , count(DISTINCT content) FROM TV_Channel;","598":"SELECT count(DISTINCT series_name) , count(DISTINCT content) FROM TV_Channel;","599":"SELECT Content FROM TV_Channel WHERE series_name = \"Sky Radio\";","600":"SELECT Content FROM TV_Channel WHERE series_name = \"Sky Radio\";","601":"SELECT Package_Option FROM TV_Channel WHERE series_name = \"Sky Radio\";","602":"SELECT Package_Option FROM TV_Channel WHERE series_name = \"Sky Radio\";","603":"SELECT count(*) FROM TV_Channel WHERE LANGUAGE = \"English\";","604":"SELECT count(*) FROM TV_Channel WHERE LANGUAGE = \"English\";","605":"SELECT LANGUAGE , count(*) FROM TV_Channel GROUP BY LANGUAGE ORDER BY count(*) ASC LIMIT 1;","606":"SELECT LANGUAGE , count(*) FROM TV_Channel GROUP BY LANGUAGE ORDER BY count(*) ASC LIMIT 1;","607":"SELECT LANGUAGE , count(*) FROM TV_Channel GROUP BY LANGUAGE","608":"SELECT LANGUAGE , count(*) FROM TV_Channel GROUP BY LANGUAGE","609":"SELECT T1.series_name FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T2.Title = \"The Rise of the Blue Beetle!\";","610":"SELECT T1.series_name FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T2.Title = \"The Rise of the Blue Beetle!\";","611":"SELECT T2.Title FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T1.series_name = \"Sky Radio\";","612":"SELECT T2.Title FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T1.series_name = \"Sky Radio\";","613":"SELECT Episode FROM TV_series ORDER BY rating","614":"SELECT Episode FROM TV_series ORDER BY rating","615":"SELECT Episode , Rating FROM TV_series ORDER BY Rating DESC LIMIT 3;","616":"SELECT Episode , Rating FROM TV_series ORDER BY Rating DESC LIMIT 3;","617":"SELECT max(SHARE) , min(SHARE) FROM TV_series;","618":"SELECT max(SHARE) , min(SHARE) FROM TV_series;","619":"SELECT Air_Date FROM TV_series WHERE Episode = \"A Love of a Lifetime\";","620":"SELECT Air_Date FROM TV_series WHERE Episode = \"A Love of a Lifetime\";","621":"SELECT Weekly_Rank FROM TV_series WHERE Episode = \"A Love of a Lifetime\";","622":"SELECT Weekly_Rank FROM TV_series WHERE Episode = \"A Love of a Lifetime\";","623":"SELECT T1.series_name FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T2.Episode = \"A Love of a Lifetime\";","624":"SELECT T1.series_name FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T2.Episode = \"A Love of a Lifetime\";","625":"SELECT T2.Episode FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T1.series_name = \"Sky Radio\";","626":"SELECT T2.Episode FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T1.series_name = \"Sky Radio\";","627":"SELECT count(*) , Directed_by FROM cartoon GROUP BY Directed_by","628":"SELECT count(*) , Directed_by FROM cartoon GROUP BY Directed_by","629":"select production_code , channel from cartoon order by original_air_date desc limit 1","630":"select production_code , channel from cartoon order by original_air_date desc limit 1","631":"SELECT package_option , series_name FROM TV_Channel WHERE hight_definition_TV = \"yes\"","632":"SELECT package_option , series_name FROM TV_Channel WHERE hight_definition_TV = \"yes\"","633":"SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by = 'Todd Casey'","634":"SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by = 'Todd Casey'","635":"SELECT country FROM TV_Channel EXCEPT SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by = 'Todd Casey'","636":"SELECT country FROM TV_Channel EXCEPT SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by = 'Todd Casey'","637":"SELECT T1.series_name , T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by = 'Michael Chang' INTERSECT SELECT T1.series_name , T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by = 'Ben Jones'","638":"SELECT T1.series_name , T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by = 'Michael Chang' INTERSECT SELECT T1.series_name , T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by = 'Ben Jones'","639":"SELECT Pixel_aspect_ratio_PAR , country FROM tv_channel WHERE LANGUAGE != 'English'","640":"SELECT Pixel_aspect_ratio_PAR , country FROM tv_channel WHERE LANGUAGE != 'English'","641":"SELECT id FROM tv_channel GROUP BY country HAVING count(*) > 2","642":"SELECT id FROM tv_channel GROUP BY country HAVING count(*) > 2","643":"SELECT id FROM TV_Channel EXCEPT SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones'","644":"SELECT id FROM TV_Channel EXCEPT SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones'","645":"SELECT package_option FROM TV_Channel WHERE id NOT IN (SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones')","646":"SELECT package_option FROM TV_Channel WHERE id NOT IN (SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones')","647":"SELECT count(*) FROM poker_player","648":"SELECT count(*) FROM poker_player","649":"SELECT Earnings FROM poker_player ORDER BY Earnings DESC","650":"SELECT Earnings FROM poker_player ORDER BY Earnings DESC","651":"SELECT Final_Table_Made , Best_Finish FROM poker_player","652":"SELECT Final_Table_Made , Best_Finish FROM poker_player","653":"SELECT avg(Earnings) FROM poker_player","654":"SELECT avg(Earnings) FROM poker_player","655":"SELECT Money_Rank FROM poker_player ORDER BY Earnings DESC LIMIT 1","656":"SELECT Money_Rank FROM poker_player ORDER BY Earnings DESC LIMIT 1","657":"SELECT max(Final_Table_Made) FROM poker_player WHERE Earnings < 200000","658":"SELECT max(Final_Table_Made) FROM poker_player WHERE Earnings < 200000","659":"SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID","660":"SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID","661":"SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Earnings > 300000","662":"SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Earnings > 300000","663":"SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Final_Table_Made","664":"SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Final_Table_Made","665":"SELECT T1.Birth_Date FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings ASC LIMIT 1","666":"SELECT T1.Birth_Date FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings ASC LIMIT 1","667":"SELECT T2.Money_Rank FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Height DESC LIMIT 1","668":"SELECT T2.Money_Rank FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Height DESC LIMIT 1","669":"SELECT avg(T2.Earnings) FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Height > 200","670":"SELECT avg(T2.Earnings) FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Height > 200","671":"SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings DESC","672":"SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings DESC","673":"SELECT Nationality , COUNT(*) FROM people GROUP BY Nationality","674":"SELECT Nationality , COUNT(*) FROM people GROUP BY Nationality","675":"SELECT Nationality FROM people GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1","676":"SELECT Nationality FROM people GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1","677":"SELECT Nationality FROM people GROUP BY Nationality HAVING COUNT(*) >= 2","678":"SELECT Nationality FROM people GROUP BY Nationality HAVING COUNT(*) >= 2","679":"SELECT Name , Birth_Date FROM people ORDER BY Name ASC","680":"SELECT Name , Birth_Date FROM people ORDER BY Name ASC","681":"SELECT Name FROM people WHERE Nationality != \"Russia\"","682":"SELECT Name FROM people WHERE Nationality != \"Russia\"","683":"SELECT Name FROM people WHERE People_ID NOT IN (SELECT People_ID FROM poker_player)","684":"SELECT Name FROM people WHERE People_ID NOT IN (SELECT People_ID FROM poker_player)","685":"SELECT count(DISTINCT Nationality) FROM people","686":"SELECT count(DISTINCT Nationality) FROM people","687":"SELECT count(*) FROM area_code_state","688":"SELECT contestant_number , contestant_name FROM contestants ORDER BY contestant_name DESC","689":"SELECT vote_id , phone_number , state FROM votes","690":"SELECT max(area_code) , min(area_code) FROM area_code_state","691":"SELECT max(created) FROM votes WHERE state = 'CA'","692":"SELECT contestant_name FROM contestants WHERE contestant_name != 'Jessie Alloway'","693":"SELECT DISTINCT state , created FROM votes","694":"SELECT T1.contestant_number , T1.contestant_name FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number GROUP BY T1.contestant_number HAVING count(*) >= 2","695":"SELECT T1.contestant_number , T1.contestant_name FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number GROUP BY T1.contestant_number ORDER BY count(*) ASC LIMIT 1","696":"SELECT count(*) FROM votes WHERE state = 'NY' OR state = 'CA'","697":"SELECT count(*) FROM contestants WHERE contestant_number NOT IN ( SELECT contestant_number FROM votes )","698":"SELECT T1.area_code FROM area_code_state AS T1 JOIN votes AS T2 ON T1.state = T2.state GROUP BY T1.area_code ORDER BY count(*) DESC LIMIT 1","699":"SELECT T2.created , T2.state , T2.phone_number FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number WHERE T1.contestant_name = 'Tabatha Gehling'","700":"SELECT T3.area_code FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number JOIN area_code_state AS T3 ON T2.state = T3.state WHERE T1.contestant_name = 'Tabatha Gehling' INTERSECT SELECT T3.area_code FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number JOIN area_code_state AS T3 ON T2.state = T3.state WHERE T1.contestant_name = 'Kelly Clauss'","701":"select contestant_name from contestants where contestant_name like \"%al%\"","702":"SELECT Name FROM country WHERE IndepYear > 1950","703":"SELECT Name FROM country WHERE IndepYear > 1950","704":"SELECT count(*) FROM country WHERE GovernmentForm = \"Republic\"","705":"SELECT count(*) FROM country WHERE GovernmentForm = \"Republic\"","706":"SELECT sum(SurfaceArea) FROM country WHERE Region = \"Caribbean\"","707":"SELECT sum(SurfaceArea) FROM country WHERE Region = \"Caribbean\"","708":"SELECT Continent FROM country WHERE Name = \"Anguilla\"","709":"SELECT Continent FROM country WHERE Name = \"Anguilla\"","710":"SELECT Region FROM country AS T1 JOIN city AS T2 ON T1.Code = T2.CountryCode WHERE T2.Name = \"Kabul\"","711":"SELECT Region FROM country AS T1 JOIN city AS T2 ON T1.Code = T2.CountryCode WHERE T2.Name = \"Kabul\"","712":"SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = \"Aruba\" ORDER BY Percentage DESC LIMIT 1","713":"SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = \"Aruba\" ORDER BY Percentage DESC LIMIT 1","714":"SELECT Population , LifeExpectancy FROM country WHERE Name = \"Brazil\"","715":"SELECT Population , LifeExpectancy FROM country WHERE Name = \"Brazil\"","716":"SELECT Population , Region FROM country WHERE Name = \"Angola\"","717":"SELECT Population , Region FROM country WHERE Name = \"Angola\"","718":"SELECT avg(LifeExpectancy) FROM country WHERE Region = \"Central Africa\"","719":"SELECT avg(LifeExpectancy) FROM country WHERE Region = \"Central Africa\"","720":"SELECT Name FROM country WHERE Continent = \"Asia\" ORDER BY LifeExpectancy LIMIT 1","721":"SELECT Name FROM country WHERE Continent = \"Asia\" ORDER BY LifeExpectancy LIMIT 1","722":"SELECT sum(Population) , max(GNP) FROM country WHERE Continent = \"Asia\"","723":"SELECT sum(Population) , max(GNP) FROM country WHERE Continent = \"Asia\"","724":"SELECT avg(LifeExpectancy) FROM country WHERE Continent = \"Africa\" AND GovernmentForm = \"Republic\"","725":"SELECT avg(LifeExpectancy) FROM country WHERE Continent = \"Africa\" AND GovernmentForm = \"Republic\"","726":"SELECT sum(SurfaceArea) FROM country WHERE Continent = \"Asia\" OR Continent = \"Europe\"","727":"SELECT sum(SurfaceArea) FROM country WHERE Continent = \"Asia\" OR Continent = \"Europe\"","728":"SELECT sum(Population) FROM city WHERE District = \"Gelderland\"","729":"SELECT sum(Population) FROM city WHERE District = \"Gelderland\"","730":"SELECT avg(GNP) , sum(population) FROM country WHERE GovernmentForm = \"US Territory\"","731":"SELECT avg(GNP) , sum(population) FROM country WHERE GovernmentForm = \"US Territory\"","732":"SELECT count(DISTINCT LANGUAGE) FROM countrylanguage","733":"SELECT count(DISTINCT LANGUAGE) FROM countrylanguage","734":"SELECT count(DISTINCT GovernmentForm) FROM country WHERE Continent = \"Africa\"","735":"SELECT count(DISTINCT GovernmentForm) FROM country WHERE Continent = \"Africa\"","736":"SELECT COUNT(T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = \"Aruba\"","737":"SELECT COUNT(T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = \"Aruba\"","738":"SELECT COUNT(*) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = \"Afghanistan\" AND IsOfficial = \"T\"","739":"SELECT COUNT(*) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = \"Afghanistan\" AND IsOfficial = \"T\"","740":"SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Name ORDER BY COUNT(*) DESC LIMIT 1","741":"SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Name ORDER BY COUNT(*) DESC LIMIT 1","742":"SELECT T1.Continent FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Continent ORDER BY COUNT(*) DESC LIMIT 1","743":"SELECT T1.Continent FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Continent ORDER BY COUNT(*) DESC LIMIT 1","744":"SELECT COUNT(*) FROM (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"Dutch\")","745":"SELECT COUNT(*) FROM (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"Dutch\")","746":"SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"French\"","747":"SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"French\"","748":"SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" AND T2.IsOfficial = \"T\" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"French\" AND T2.IsOfficial = \"T\"","749":"SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" AND T2.IsOfficial = \"T\" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"French\" AND T2.IsOfficial = \"T\"","750":"SELECT COUNT( DISTINCT Continent) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"Chinese\"","751":"SELECT COUNT( DISTINCT Continent) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"Chinese\"","752":"SELECT DISTINCT T1.Region FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" OR T2.Language = \"Dutch\"","753":"SELECT DISTINCT T1.Region FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" OR T2.Language = \"Dutch\"","754":"select t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t2.language = \"english\" and isofficial = \"t\" union select t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t2.language = \"dutch\" and isofficial = \"t\"","755":"SELECT * FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" AND IsOfficial = \"T\" UNION SELECT * FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"Dutch\" AND IsOfficial = \"T\"","756":"SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Continent = \"Asia\" GROUP BY T2.Language ORDER BY COUNT (*) DESC LIMIT 1","757":"SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Continent = \"Asia\" GROUP BY T2.Language ORDER BY COUNT (*) DESC LIMIT 1","758":"SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.GovernmentForm = \"Republic\" GROUP BY T2.Language HAVING COUNT(*) = 1","759":"SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.GovernmentForm = \"Republic\" GROUP BY T2.Language HAVING COUNT(*) = 1","760":"SELECT T1.Name , T1.Population FROM city AS T1 JOIN countrylanguage AS T2 ON T1.CountryCode = T2.CountryCode WHERE T2.Language = \"English\" ORDER BY T1.Population DESC LIMIT 1","761":"SELECT T1.Name , T1.Population FROM city AS T1 JOIN countrylanguage AS T2 ON T1.CountryCode = T2.CountryCode WHERE T2.Language = \"English\" ORDER BY T1.Population DESC LIMIT 1","762":"SELECT Name , Population , LifeExpectancy FROM country WHERE Continent = \"Asia\" ORDER BY SurfaceArea DESC LIMIT 1","763":"SELECT Name , Population , LifeExpectancy FROM country WHERE Continent = \"Asia\" ORDER BY SurfaceArea DESC LIMIT 1","764":"SELECT avg(LifeExpectancy) FROM country WHERE Name NOT IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" AND T2.IsOfficial = \"T\")","765":"SELECT avg(LifeExpectancy) FROM country WHERE Name NOT IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" AND T2.IsOfficial = \"T\")","766":"SELECT sum(Population) FROM country WHERE Name NOT IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\")","767":"SELECT sum(Population) FROM country WHERE Name NOT IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\")","768":"SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.HeadOfState = \"Beatrix\" AND T2.IsOfficial = \"T\"","769":"SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.HeadOfState = \"Beatrix\" AND T2.IsOfficial = \"T\"","770":"SELECT count(DISTINCT T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE IndepYear < 1930 AND T2.IsOfficial = \"T\"","771":"SELECT count(DISTINCT T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE IndepYear < 1930 AND T2.IsOfficial = \"T\"","772":"SELECT Name FROM country WHERE SurfaceArea > (SELECT min(SurfaceArea) FROM country WHERE Continent = \"Europe\")","773":"SELECT Name FROM country WHERE SurfaceArea > (SELECT min(SurfaceArea) FROM country WHERE Continent = \"Europe\")","774":"SELECT Name FROM country WHERE Continent = \"Africa\" AND population < (SELECT max(population) FROM country WHERE Continent = \"Asia\")","775":"SELECT Name FROM country WHERE Continent = \"Africa\" AND population < (SELECT min(population) FROM country WHERE Continent = \"Asia\")","776":"SELECT Name FROM country WHERE Continent = \"Asia\" AND population > (SELECT max(population) FROM country WHERE Continent = \"Africa\")","777":"SELECT Name FROM country WHERE Continent = \"Asia\" AND population > (SELECT min(population) FROM country WHERE Continent = \"Africa\")","778":"SELECT CountryCode FROM countrylanguage EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE = \"English\"","779":"SELECT CountryCode FROM countrylanguage EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE = \"English\"","780":"SELECT DISTINCT CountryCode FROM countrylanguage WHERE LANGUAGE != \"English\"","781":"SELECT DISTINCT CountryCode FROM countrylanguage WHERE LANGUAGE != \"English\"","782":"SELECT Code FROM country WHERE GovernmentForm != \"Republic\" EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE = \"English\"","783":"SELECT Code FROM country WHERE GovernmentForm != \"Republic\" EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE = \"English\"","784":"SELECT DISTINCT T2.Name FROM country AS T1 JOIN city AS T2 ON T2.CountryCode = T1.Code WHERE T1.Continent = 'Europe' AND T1.Name NOT IN (SELECT T3.Name FROM country AS T3 JOIN countrylanguage AS T4 ON T3.Code = T4.CountryCode WHERE T4.IsOfficial = 'T' AND T4.Language = 'English')","785":"SELECT DISTINCT T2.Name FROM country AS T1 JOIN city AS T2 ON T2.CountryCode = T1.Code WHERE T1.Continent = 'Europe' AND T1.Name NOT IN (SELECT T3.Name FROM country AS T3 JOIN countrylanguage AS T4 ON T3.Code = T4.CountryCode WHERE T4.IsOfficial = 'T' AND T4.Language = 'English')","786":"select distinct t3.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode join city as t3 on t1.code = t3.countrycode where t2.isofficial = 't' and t2.language = 'chinese' and t1.continent = \"asia\"","787":"SELECT DISTINCT T3.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode JOIN city AS T3 ON T1.Code = T3.CountryCode WHERE T2.IsOfficial = 'T' AND T2.Language = 'Chinese' AND T1.Continent = \"Asia\"","788":"SELECT Name , SurfaceArea , IndepYear FROM country ORDER BY Population LIMIT 1","789":"SELECT Name , SurfaceArea , IndepYear FROM country ORDER BY Population LIMIT 1","790":"SELECT Name , population , HeadOfState FROM country ORDER BY SurfaceArea DESC LIMIT 1","791":"SELECT Name , population , HeadOfState FROM country ORDER BY SurfaceArea DESC LIMIT 1","792":"SELECT COUNT(T2.Language) , T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Name HAVING COUNT(*) > 2","793":"SELECT COUNT(T2.Language) , T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Name HAVING COUNT(*) > 2","794":"SELECT count(*) , District FROM city WHERE Population > (SELECT avg(Population) FROM city) GROUP BY District","795":"SELECT count(*) , District FROM city WHERE Population > (SELECT avg(Population) FROM city) GROUP BY District","796":"SELECT sum(Population) , GovernmentForm FROM country GROUP BY GovernmentForm HAVING avg(LifeExpectancy) > 72","797":"SELECT sum(Population) , GovernmentForm FROM country GROUP BY GovernmentForm HAVING avg(LifeExpectancy) > 72","798":"SELECT sum(Population) , avg(LifeExpectancy) , Continent FROM country GROUP BY Continent HAVING avg(LifeExpectancy) < 72","799":"SELECT sum(Population) , avg(LifeExpectancy) , Continent FROM country GROUP BY Continent HAVING avg(LifeExpectancy) < 72","800":"SELECT Name , SurfaceArea FROM country ORDER BY SurfaceArea DESC LIMIT 5","801":"SELECT Name , SurfaceArea FROM country ORDER BY SurfaceArea DESC LIMIT 5","802":"SELECT Name FROM country ORDER BY Population DESC LIMIT 3","803":"SELECT Name FROM country ORDER BY Population DESC LIMIT 3","804":"SELECT Name FROM country ORDER BY Population ASC LIMIT 3","805":"SELECT Name FROM country ORDER BY Population ASC LIMIT 3","806":"SELECT count(*) FROM country WHERE continent = \"Asia\"","807":"SELECT count(*) FROM country WHERE continent = \"Asia\"","808":"SELECT Name FROM country WHERE continent = \"Europe\" AND Population = \"80000\"","809":"SELECT Name FROM country WHERE continent = \"Europe\" AND Population = \"80000\"","810":"select sum(population) , avg(surfacearea) from country where continent = \"north america\" and surfacearea > 3000","811":"select sum(population) , avg(surfacearea) from country where continent = \"north america\" and surfacearea > 3000","812":"SELECT name FROM city WHERE Population BETWEEN 160000 AND 900000","813":"select name from city where population between 160000 and 900000","814":"SELECT LANGUAGE FROM countrylanguage GROUP BY LANGUAGE ORDER BY count(*) DESC LIMIT 1","815":"SELECT LANGUAGE FROM countrylanguage GROUP BY LANGUAGE ORDER BY count(*) DESC LIMIT 1","816":"SELECT LANGUAGE , CountryCode , max(Percentage) FROM countrylanguage GROUP BY CountryCode","817":"SELECT LANGUAGE , CountryCode , max(Percentage) FROM countrylanguage GROUP BY CountryCode","818":"SELECT count(*) , max(Percentage) FROM countrylanguage WHERE LANGUAGE = \"Spanish\" GROUP BY CountryCode","819":"SELECT count(*) , max(Percentage) FROM countrylanguage WHERE LANGUAGE = \"Spanish\" GROUP BY CountryCode","820":"SELECT CountryCode , max(Percentage) FROM countrylanguage WHERE LANGUAGE = \"Spanish\" GROUP BY CountryCode","821":"SELECT CountryCode , max(Percentage) FROM countrylanguage WHERE LANGUAGE = \"Spanish\" GROUP BY CountryCode","822":"SELECT count(*) FROM conductor","823":"SELECT count(*) FROM conductor","824":"SELECT Name FROM conductor ORDER BY Age ASC","825":"SELECT Name FROM conductor ORDER BY Age ASC","826":"SELECT Name FROM conductor WHERE Nationality != 'USA'","827":"SELECT Name FROM conductor WHERE Nationality != 'USA'","828":"SELECT Record_Company FROM orchestra ORDER BY Year_of_Founded DESC","829":"SELECT Record_Company FROM orchestra ORDER BY Year_of_Founded DESC","830":"SELECT avg(Attendance) FROM SHOW","831":"SELECT avg(Attendance) FROM SHOW","832":"SELECT max(SHARE) , min(SHARE) FROM performance WHERE TYPE != \"Live final\"","833":"SELECT max(SHARE) , min(SHARE) FROM performance WHERE TYPE != \"Live final\"","834":"SELECT count(DISTINCT Nationality) FROM conductor","835":"SELECT count(DISTINCT Nationality) FROM conductor","836":"SELECT Name FROM conductor ORDER BY Year_of_Work DESC","837":"SELECT Name FROM conductor ORDER BY Year_of_Work DESC","838":"SELECT Name FROM conductor ORDER BY Year_of_Work DESC LIMIT 1","839":"SELECT Name FROM conductor ORDER BY Year_of_Work DESC LIMIT 1","840":"SELECT T1.Name , T2.Orchestra FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID","841":"SELECT T1.Name , T2.Orchestra FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID","842":"SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID GROUP BY T2.Conductor_ID HAVING COUNT(*) > 1","843":"SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID GROUP BY T2.Conductor_ID HAVING COUNT(*) > 1","844":"SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID GROUP BY T2.Conductor_ID ORDER BY COUNT(*) DESC LIMIT 1","845":"SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID GROUP BY T2.Conductor_ID ORDER BY COUNT(*) DESC LIMIT 1","846":"SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID WHERE Year_of_Founded > 2008","847":"SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID WHERE Year_of_Founded > 2008","848":"SELECT Record_Company , COUNT(*) FROM orchestra GROUP BY Record_Company","849":"SELECT Record_Company , COUNT(*) FROM orchestra GROUP BY Record_Company","850":"SELECT Major_Record_Format FROM orchestra GROUP BY Major_Record_Format ORDER BY COUNT(*) ASC","851":"SELECT Major_Record_Format FROM orchestra GROUP BY Major_Record_Format ORDER BY COUNT(*) ASC","852":"SELECT Record_Company FROM orchestra GROUP BY Record_Company ORDER BY COUNT(*) DESC LIMIT 1","853":"SELECT Record_Company FROM orchestra GROUP BY Record_Company ORDER BY COUNT(*) DESC LIMIT 1","854":"SELECT Orchestra FROM orchestra WHERE Orchestra_ID NOT IN (SELECT Orchestra_ID FROM performance)","855":"SELECT Orchestra FROM orchestra WHERE Orchestra_ID NOT IN (SELECT Orchestra_ID FROM performance)","856":"SELECT Record_Company FROM orchestra WHERE Year_of_Founded < 2003 INTERSECT SELECT Record_Company FROM orchestra WHERE Year_of_Founded > 2003","857":"SELECT Record_Company FROM orchestra WHERE Year_of_Founded < 2003 INTERSECT SELECT Record_Company FROM orchestra WHERE Year_of_Founded > 2003","858":"SELECT COUNT(*) FROM orchestra WHERE Major_Record_Format = \"CD\" OR Major_Record_Format = \"DVD\"","859":"SELECT COUNT(*) FROM orchestra WHERE Major_Record_Format = \"CD\" OR Major_Record_Format = \"DVD\"","860":"SELECT Year_of_Founded FROM orchestra AS T1 JOIN performance AS T2 ON T1.Orchestra_ID = T2.Orchestra_ID GROUP BY T2.Orchestra_ID HAVING COUNT(*) > 1","861":"SELECT Year_of_Founded FROM orchestra AS T1 JOIN performance AS T2 ON T1.Orchestra_ID = T2.Orchestra_ID GROUP BY T2.Orchestra_ID HAVING COUNT(*) > 1","862":"SELECT count(*) FROM Highschooler","863":"SELECT count(*) FROM Highschooler","864":"SELECT name , grade FROM Highschooler","865":"SELECT name , grade FROM Highschooler","866":"SELECT grade FROM Highschooler","867":"SELECT grade FROM Highschooler","868":"SELECT grade FROM Highschooler WHERE name = \"Kyle\"","869":"SELECT grade FROM Highschooler WHERE name = \"Kyle\"","870":"SELECT name FROM Highschooler WHERE grade = 10","871":"SELECT name FROM Highschooler WHERE grade = 10","872":"SELECT ID FROM Highschooler WHERE name = \"Kyle\"","873":"SELECT ID FROM Highschooler WHERE name = \"Kyle\"","874":"SELECT count(*) FROM Highschooler WHERE grade = 9 OR grade = 10","875":"SELECT count(*) FROM Highschooler WHERE grade = 9 OR grade = 10","876":"SELECT grade , count(*) FROM Highschooler GROUP BY grade","877":"SELECT grade , count(*) FROM Highschooler GROUP BY grade","878":"SELECT grade FROM Highschooler GROUP BY grade ORDER BY count(*) DESC LIMIT 1","879":"SELECT grade FROM Highschooler GROUP BY grade ORDER BY count(*) DESC LIMIT 1","880":"SELECT grade FROM Highschooler GROUP BY grade HAVING count(*) >= 4","881":"SELECT grade FROM Highschooler GROUP BY grade HAVING count(*) >= 4","882":"SELECT student_id , count(*) FROM Friend GROUP BY student_id","883":"SELECT student_id , count(*) FROM Friend GROUP BY student_id","884":"SELECT T2.name , count(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id","885":"SELECT T2.name , count(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id","886":"SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1","887":"SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1","888":"SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING count(*) >= 3","889":"SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING count(*) >= 3","890":"SELECT T3.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id JOIN Highschooler AS T3 ON T1.friend_id = T3.id WHERE T2.name = \"Kyle\"","891":"SELECT T3.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id JOIN Highschooler AS T3 ON T1.friend_id = T3.id WHERE T2.name = \"Kyle\"","892":"SELECT count(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.name = \"Kyle\"","893":"SELECT count(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.name = \"Kyle\"","894":"SELECT id FROM Highschooler EXCEPT SELECT student_id FROM Friend","895":"SELECT id FROM Highschooler EXCEPT SELECT student_id FROM Friend","896":"SELECT name FROM Highschooler EXCEPT SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id","897":"SELECT name FROM Highschooler EXCEPT SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id","898":"SELECT student_id FROM Friend INTERSECT SELECT liked_id FROM Likes","899":"SELECT student_id FROM Friend INTERSECT SELECT liked_id FROM Likes","900":"SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id INTERSECT SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.liked_id = T2.id","901":"SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id INTERSECT SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.liked_id = T2.id","902":"SELECT student_id , count(*) FROM Likes GROUP BY student_id","903":"SELECT student_id , count(*) FROM Likes GROUP BY student_id","904":"SELECT T2.name , count(*) FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id","905":"SELECT T2.name , count(*) FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id","906":"SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1","907":"SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1","908":"SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING count(*) >= 2","909":"SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING count(*) >= 2","910":"SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.grade > 5 GROUP BY T1.student_id HAVING count(*) >= 2","911":"SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.grade > 5 GROUP BY T1.student_id HAVING count(*) >= 2","912":"SELECT count(*) FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.name = \"Kyle\"","913":"SELECT count(*) FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.name = \"Kyle\"","914":"SELECT avg(grade) FROM Highschooler WHERE id IN (SELECT T1.student_id FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id)","915":"SELECT avg(grade) FROM Highschooler WHERE id IN (SELECT T1.student_id FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id)","916":"SELECT min(grade) FROM Highschooler WHERE id NOT IN (SELECT T1.student_id FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id)","917":"SELECT min(grade) FROM Highschooler WHERE id NOT IN (SELECT T1.student_id FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id)","918":"SELECT state FROM Owners INTERSECT SELECT state FROM Professionals","919":"SELECT state FROM Owners INTERSECT SELECT state FROM Professionals","920":"SELECT avg(age) FROM Dogs WHERE dog_id IN ( SELECT dog_id FROM Treatments )","921":"SELECT avg(age) FROM Dogs WHERE dog_id IN ( SELECT dog_id FROM Treatments )","922":"SELECT professional_id , last_name , cell_number FROM Professionals WHERE state = 'Indiana' UNION SELECT T1.professional_id , T1.last_name , T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING count(*) > 2","923":"SELECT professional_id , last_name , cell_number FROM Professionals WHERE state = 'Indiana' UNION SELECT T1.professional_id , T1.last_name , T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING count(*) > 2","924":"select name from dogs where dog_id not in ( select dog_id from treatments group by dog_id having sum(cost_of_treatment) > 1000 )","925":"select name from dogs where dog_id not in ( select dog_id from treatments group by dog_id having sum(cost_of_treatment) > 1000 )","926":"SELECT first_name FROM Professionals UNION SELECT first_name FROM Owners EXCEPT SELECT name FROM Dogs","927":"SELECT first_name FROM Professionals UNION SELECT first_name FROM Owners EXCEPT SELECT name FROM Dogs","928":"SELECT professional_id , role_code , email_address FROM Professionals EXCEPT SELECT T1.professional_id , T1.role_code , T1.email_address FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id","929":"SELECT professional_id , role_code , email_address FROM Professionals EXCEPT SELECT T1.professional_id , T1.role_code , T1.email_address FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id","930":"SELECT T1.owner_id , T2.first_name , T2.last_name FROM Dogs AS T1 JOIN Owners AS T2 ON T1.owner_id = T2.owner_id GROUP BY T1.owner_id ORDER BY count(*) DESC LIMIT 1","931":"SELECT T1.owner_id , T2.first_name , T2.last_name FROM Dogs AS T1 JOIN Owners AS T2 ON T1.owner_id = T2.owner_id GROUP BY T1.owner_id ORDER BY count(*) DESC LIMIT 1","932":"SELECT T1.professional_id , T1.role_code , T1.first_name FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING count(*) >= 2","933":"SELECT T1.professional_id , T1.role_code , T1.first_name FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING count(*) >= 2","934":"SELECT T1.breed_name FROM Breeds AS T1 JOIN Dogs AS T2 ON T1.breed_code = T2.breed_code GROUP BY T1.breed_name ORDER BY count(*) DESC LIMIT 1","935":"SELECT T1.breed_name FROM Breeds AS T1 JOIN Dogs AS T2 ON T1.breed_code = T2.breed_code GROUP BY T1.breed_name ORDER BY count(*) DESC LIMIT 1","936":"SELECT T1.owner_id , T1.last_name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id JOIN Treatments AS T3 ON T2.dog_id = T3.dog_id GROUP BY T1.owner_id ORDER BY count(*) DESC LIMIT 1","937":"SELECT T1.owner_id , T1.last_name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id JOIN Treatments AS T3 ON T2.dog_id = T3.dog_id GROUP BY T1.owner_id ORDER BY count(*) DESC LIMIT 1","938":"SELECT T1.treatment_type_description FROM Treatment_types AS T1 JOIN Treatments AS T2 ON T1.treatment_type_code = T2.treatment_type_code GROUP BY T1.treatment_type_code ORDER BY sum(cost_of_treatment) ASC LIMIT 1","939":"SELECT T1.treatment_type_description FROM Treatment_types AS T1 JOIN Treatments AS T2 ON T1.treatment_type_code = T2.treatment_type_code GROUP BY T1.treatment_type_code ORDER BY sum(cost_of_treatment) ASC LIMIT 1","940":"SELECT T1.owner_id , T1.zip_code FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id JOIN Treatments AS T3 ON T2.dog_id = T3.dog_id GROUP BY T1.owner_id ORDER BY sum(T3.cost_of_treatment) DESC LIMIT 1","941":"SELECT T1.owner_id , T1.zip_code FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id JOIN Treatments AS T3 ON T2.dog_id = T3.dog_id GROUP BY T1.owner_id ORDER BY sum(T3.cost_of_treatment) DESC LIMIT 1","942":"SELECT T1.professional_id , T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING count(*) >= 2","943":"SELECT T1.professional_id , T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING count(*) >= 2","944":"SELECT DISTINCT T1.first_name , T1.last_name FROM Professionals AS T1 JOIN Treatments AS T2 WHERE cost_of_treatment < ( SELECT avg(cost_of_treatment) FROM Treatments )","945":"SELECT DISTINCT T1.first_name , T1.last_name FROM Professionals AS T1 JOIN Treatments AS T2 WHERE cost_of_treatment < ( SELECT avg(cost_of_treatment) FROM Treatments )","946":"SELECT T1.date_of_treatment , T2.first_name FROM Treatments AS T1 JOIN Professionals AS T2 ON T1.professional_id = T2.professional_id","947":"SELECT T1.date_of_treatment , T2.first_name FROM Treatments AS T1 JOIN Professionals AS T2 ON T1.professional_id = T2.professional_id","948":"SELECT T1.cost_of_treatment , T2.treatment_type_description FROM Treatments AS T1 JOIN treatment_types AS T2 ON T1.treatment_type_code = T2.treatment_type_code","949":"SELECT T1.cost_of_treatment , T2.treatment_type_description FROM Treatments AS T1 JOIN treatment_types AS T2 ON T1.treatment_type_code = T2.treatment_type_code","950":"SELECT T1.first_name , T1.last_name , T2.size_code FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id","951":"SELECT T1.first_name , T1.last_name , T2.size_code FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id","952":"SELECT T1.first_name , T2.name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id","953":"SELECT T1.first_name , T2.name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id","954":"SELECT T1.name , T2.date_of_treatment FROM Dogs AS T1 JOIN Treatments AS T2 ON T1.dog_id = T2.dog_id WHERE T1.breed_code = ( SELECT breed_code FROM Dogs GROUP BY breed_code ORDER BY count(*) ASC LIMIT 1 )","955":"SELECT T1.name , T2.date_of_treatment FROM Dogs AS T1 JOIN Treatments AS T2 ON T1.dog_id = T2.dog_id WHERE T1.breed_code = ( SELECT breed_code FROM Dogs GROUP BY breed_code ORDER BY count(*) ASC LIMIT 1 )","956":"SELECT T1.first_name , T2.name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id WHERE T1.state = 'Virginia'","957":"SELECT T1.first_name , T2.name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id WHERE T1.state = 'Virginia'","958":"SELECT DISTINCT T1.date_arrived , T1.date_departed FROM Dogs AS T1 JOIN Treatments AS T2 ON T1.dog_id = T2.dog_id","959":"SELECT DISTINCT T1.date_arrived , T1.date_departed FROM Dogs AS T1 JOIN Treatments AS T2 ON T1.dog_id = T2.dog_id","960":"SELECT T1.last_name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id WHERE T2.age = ( SELECT max(age) FROM Dogs )","961":"SELECT T1.last_name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id WHERE T2.age = ( SELECT max(age) FROM Dogs )","962":"SELECT email_address FROM Professionals WHERE state = 'Hawaii' OR state = 'Wisconsin'","963":"SELECT email_address FROM Professionals WHERE state = 'Hawaii' OR state = 'Wisconsin'","964":"SELECT date_arrived , date_departed FROM Dogs","965":"SELECT date_arrived , date_departed FROM Dogs","966":"SELECT count(DISTINCT dog_id) FROM Treatments","967":"SELECT count(DISTINCT dog_id) FROM Treatments","968":"SELECT count(DISTINCT professional_id) FROM Treatments","969":"SELECT count(DISTINCT professional_id) FROM Treatments","970":"SELECT role_code , street , city , state FROM professionals WHERE city LIKE '%West%'","971":"SELECT role_code , street , city , state FROM professionals WHERE city LIKE '%West%'","972":"SELECT first_name , last_name , email_address FROM Owners WHERE state LIKE '%North%'","973":"SELECT first_name , last_name , email_address FROM Owners WHERE state LIKE '%North%'","974":"SELECT count(*) FROM Dogs WHERE age < ( SELECT avg(age) FROM Dogs )","975":"SELECT count(*) FROM Dogs WHERE age < ( SELECT avg(age) FROM Dogs )","976":"SELECT cost_of_treatment FROM Treatments ORDER BY date_of_treatment DESC LIMIT 1","977":"SELECT cost_of_treatment FROM Treatments ORDER BY date_of_treatment DESC LIMIT 1","978":"SELECT count(*) FROM Dogs WHERE dog_id NOT IN ( SELECT dog_id FROM Treatments )","979":"select count(*) from dogs where dog_id not in ( select dog_id from treatments )","980":"SELECT count(*) FROM Owners WHERE owner_id NOT IN ( SELECT owner_id FROM Dogs )","981":"SELECT count(*) FROM Owners WHERE owner_id NOT IN ( SELECT owner_id FROM Dogs )","982":"SELECT count(*) FROM Professionals WHERE professional_id NOT IN ( SELECT professional_id FROM Treatments )","983":"SELECT count(*) FROM Professionals WHERE professional_id NOT IN ( SELECT professional_id FROM Treatments )","984":"SELECT name , age , weight FROM Dogs WHERE abandoned_yn = 1","985":"SELECT name , age , weight FROM Dogs WHERE abandoned_yn = 1","986":"SELECT avg(age) FROM Dogs","987":"SELECT avg(age) FROM Dogs","988":"SELECT max(age) FROM Dogs","989":"SELECT max(age) FROM Dogs","990":"SELECT charge_type , charge_amount FROM Charges","991":"SELECT charge_type , charge_amount FROM Charges","992":"SELECT max(charge_amount) FROM Charges","993":"SELECT max(charge_amount) FROM Charges","994":"SELECT email_address , cell_number , home_phone FROM professionals","995":"SELECT email_address , cell_number , home_phone FROM professionals","996":"SELECT DISTINCT breed_code , size_code FROM dogs","997":"SELECT DISTINCT breed_code , size_code FROM dogs","998":"SELECT DISTINCT T1.first_name , T3.treatment_type_description FROM professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id JOIN Treatment_types AS T3 ON T2.treatment_type_code = T3.treatment_type_code","999":"SELECT DISTINCT T1.first_name , T3.treatment_type_description FROM professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id JOIN Treatment_types AS T3 ON T2.treatment_type_code = T3.treatment_type_code","1000":"SELECT count(*) FROM singer","1001":"SELECT count(*) FROM singer","1002":"SELECT Name FROM singer ORDER BY Net_Worth_Millions ASC","1003":"SELECT Name FROM singer ORDER BY Net_Worth_Millions ASC","1004":"SELECT Birth_Year , Citizenship FROM singer","1005":"SELECT Birth_Year , Citizenship FROM singer","1006":"SELECT Name FROM singer WHERE Citizenship != \"France\"","1007":"SELECT Name FROM singer WHERE Citizenship != \"France\"","1008":"SELECT Name FROM singer WHERE Birth_Year = 1948 OR Birth_Year = 1949","1009":"SELECT Name FROM singer WHERE Birth_Year = 1948 OR Birth_Year = 1949","1010":"SELECT Name FROM singer ORDER BY Net_Worth_Millions DESC LIMIT 1","1011":"SELECT Name FROM singer ORDER BY Net_Worth_Millions DESC LIMIT 1","1012":"SELECT Citizenship , COUNT(*) FROM singer GROUP BY Citizenship","1013":"SELECT Citizenship , COUNT(*) FROM singer GROUP BY Citizenship","1014":"SELECT Citizenship FROM singer GROUP BY Citizenship ORDER BY COUNT(*) DESC LIMIT 1","1015":"select citizenship from singer group by citizenship order by count(*) desc limit 1","1016":"SELECT Citizenship , max(Net_Worth_Millions) FROM singer GROUP BY Citizenship","1017":"SELECT Citizenship , max(Net_Worth_Millions) FROM singer GROUP BY Citizenship","1018":"SELECT T2.Title , T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID","1019":"SELECT T2.Title , T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID","1020":"SELECT DISTINCT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID WHERE T2.Sales > 300000","1021":"SELECT DISTINCT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID WHERE T2.Sales > 300000","1022":"SELECT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID GROUP BY T1.Name HAVING COUNT(*) > 1","1023":"SELECT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID GROUP BY T1.Name HAVING COUNT(*) > 1","1024":"SELECT T1.Name , sum(T2.Sales) FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID GROUP BY T1.Name","1025":"SELECT T1.Name , sum(T2.Sales) FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID GROUP BY T1.Name","1026":"SELECT Name FROM singer WHERE Singer_ID NOT IN (SELECT Singer_ID FROM song)","1027":"SELECT Name FROM singer WHERE Singer_ID NOT IN (SELECT Singer_ID FROM song)","1028":"SELECT Citizenship FROM singer WHERE Birth_Year < 1945 INTERSECT SELECT Citizenship FROM singer WHERE Birth_Year > 1955","1029":"SELECT Citizenship FROM singer WHERE Birth_Year < 1945 INTERSECT SELECT Citizenship FROM singer WHERE Birth_Year > 1955","1030":"SELECT count(*) FROM Other_Available_Features","1031":"SELECT T2.feature_type_name FROM Other_Available_Features AS T1 JOIN Ref_Feature_Types AS T2 ON T1.feature_type_code = T2.feature_type_code WHERE T1.feature_name = \"AirCon\"","1032":"SELECT T2.property_type_description FROM Properties AS T1 JOIN Ref_Property_Types AS T2 ON T1.property_type_code = T2.property_type_code GROUP BY T1.property_type_code","1033":"SELECT property_name FROM Properties WHERE property_type_code = \"House\" UNION SELECT property_name FROM Properties WHERE property_type_code = \"Apartment\" AND room_count > 1"},"query_toks":{"0":["SELECT","count","(","*",")","FROM","singer"],"1":["SELECT","count","(","*",")","FROM","singer"],"2":["SELECT","name",",","country",",","age","FROM","singer","ORDER","BY","age","DESC"],"3":["SELECT","name",",","country",",","age","FROM","singer","ORDER","BY","age","DESC"],"4":["SELECT","avg","(","age",")",",","min","(","age",")",",","max","(","age",")","FROM","singer","WHERE","country","=","'France","'"],"5":["SELECT","avg","(","age",")",",","min","(","age",")",",","max","(","age",")","FROM","singer","WHERE","country","=","'France","'"],"6":["SELECT","song_name",",","song_release_year","FROM","singer","ORDER","BY","age","LIMIT","1"],"7":["SELECT","song_name",",","song_release_year","FROM","singer","ORDER","BY","age","LIMIT","1"],"8":["SELECT","DISTINCT","country","FROM","singer","WHERE","age",">","20"],"9":["SELECT","DISTINCT","country","FROM","singer","WHERE","age",">","20"],"10":["SELECT","country",",","count","(","*",")","FROM","singer","GROUP","BY","country"],"11":["SELECT","country",",","count","(","*",")","FROM","singer","GROUP","BY","country"],"12":["SELECT","song_name","FROM","singer","WHERE","age",">","(","SELECT","avg","(","age",")","FROM","singer",")"],"13":["SELECT","song_name","FROM","singer","WHERE","age",">","(","SELECT","avg","(","age",")","FROM","singer",")"],"14":["SELECT","LOCATION",",","name","FROM","stadium","WHERE","capacity","BETWEEN","5000","AND","10000"],"15":["SELECT","LOCATION",",","name","FROM","stadium","WHERE","capacity","BETWEEN","5000","AND","10000"],"16":["select","max","(","capacity",")",",","average","from","stadium"],"17":["select","avg","(","capacity",")",",","max","(","capacity",")","from","stadium"],"18":["SELECT","name",",","capacity","FROM","stadium","ORDER","BY","average","DESC","LIMIT","1"],"19":["SELECT","name",",","capacity","FROM","stadium","ORDER","BY","average","DESC","LIMIT","1"],"20":["SELECT","count","(","*",")","FROM","concert","WHERE","YEAR","=","2014","OR","YEAR","=","2015"],"21":["SELECT","count","(","*",")","FROM","concert","WHERE","YEAR","=","2014","OR","YEAR","=","2015"],"22":["SELECT","T2.name",",","count","(","*",")","FROM","concert","AS","T1","JOIN","stadium","AS","T2","ON","T1.stadium_id","=","T2.stadium_id","GROUP","BY","T1.stadium_id"],"23":["SELECT","T2.name",",","count","(","*",")","FROM","concert","AS","T1","JOIN","stadium","AS","T2","ON","T1.stadium_id","=","T2.stadium_id","GROUP","BY","T1.stadium_id"],"24":["SELECT","T2.name",",","T2.capacity","FROM","concert","AS","T1","JOIN","stadium","AS","T2","ON","T1.stadium_id","=","T2.stadium_id","WHERE","T1.year",">","=","2014","GROUP","BY","T2.stadium_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"25":["select","t2.name",",","t2.capacity","from","concert","as","t1","join","stadium","as","t2","on","t1.stadium_id","=","t2.stadium_id","where","t1.year",">","2013","group","by","t2.stadium_id","order","by","count","(","*",")","desc","limit","1"],"26":["SELECT","YEAR","FROM","concert","GROUP","BY","YEAR","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"27":["SELECT","YEAR","FROM","concert","GROUP","BY","YEAR","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"28":["SELECT","name","FROM","stadium","WHERE","stadium_id","NOT","IN","(","SELECT","stadium_id","FROM","concert",")"],"29":["SELECT","name","FROM","stadium","WHERE","stadium_id","NOT","IN","(","SELECT","stadium_id","FROM","concert",")"],"30":["SELECT","country","FROM","singer","WHERE","age",">","40","INTERSECT","SELECT","country","FROM","singer","WHERE","age","<","30"],"31":["SELECT","name","FROM","stadium","EXCEPT","SELECT","T2.name","FROM","concert","AS","T1","JOIN","stadium","AS","T2","ON","T1.stadium_id","=","T2.stadium_id","WHERE","T1.year","=","2014"],"32":["SELECT","name","FROM","stadium","EXCEPT","SELECT","T2.name","FROM","concert","AS","T1","JOIN","stadium","AS","T2","ON","T1.stadium_id","=","T2.stadium_id","WHERE","T1.year","=","2014"],"33":["SELECT","T2.concert_name",",","T2.theme",",","count","(","*",")","FROM","singer_in_concert","AS","T1","JOIN","concert","AS","T2","ON","T1.concert_id","=","T2.concert_id","GROUP","BY","T2.concert_id"],"34":["select","t2.concert_name",",","t2.theme",",","count","(","*",")","from","singer_in_concert","as","t1","join","concert","as","t2","on","t1.concert_id","=","t2.concert_id","group","by","t2.concert_id"],"35":["SELECT","T2.name",",","count","(","*",")","FROM","singer_in_concert","AS","T1","JOIN","singer","AS","T2","ON","T1.singer_id","=","T2.singer_id","GROUP","BY","T2.singer_id"],"36":["SELECT","T2.name",",","count","(","*",")","FROM","singer_in_concert","AS","T1","JOIN","singer","AS","T2","ON","T1.singer_id","=","T2.singer_id","GROUP","BY","T2.singer_id"],"37":["SELECT","T2.name","FROM","singer_in_concert","AS","T1","JOIN","singer","AS","T2","ON","T1.singer_id","=","T2.singer_id","JOIN","concert","AS","T3","ON","T1.concert_id","=","T3.concert_id","WHERE","T3.year","=","2014"],"38":["SELECT","T2.name","FROM","singer_in_concert","AS","T1","JOIN","singer","AS","T2","ON","T1.singer_id","=","T2.singer_id","JOIN","concert","AS","T3","ON","T1.concert_id","=","T3.concert_id","WHERE","T3.year","=","2014"],"39":["SELECT","name",",","country","FROM","singer","WHERE","song_name","LIKE","'","%","Hey","%","'"],"40":["SELECT","name",",","country","FROM","singer","WHERE","song_name","LIKE","'","%","Hey","%","'"],"41":["SELECT","T2.name",",","T2.location","FROM","concert","AS","T1","JOIN","stadium","AS","T2","ON","T1.stadium_id","=","T2.stadium_id","WHERE","T1.Year","=","2014","INTERSECT","SELECT","T2.name",",","T2.location","FROM","concert","AS","T1","JOIN","stadium","AS","T2","ON","T1.stadium_id","=","T2.stadium_id","WHERE","T1.Year","=","2015"],"42":["SELECT","T2.name",",","T2.location","FROM","concert","AS","T1","JOIN","stadium","AS","T2","ON","T1.stadium_id","=","T2.stadium_id","WHERE","T1.Year","=","2014","INTERSECT","SELECT","T2.name",",","T2.location","FROM","concert","AS","T1","JOIN","stadium","AS","T2","ON","T1.stadium_id","=","T2.stadium_id","WHERE","T1.Year","=","2015"],"43":["select","count","(","*",")","from","concert","where","stadium_id","=","(","select","stadium_id","from","stadium","order","by","capacity","desc","limit","1",")"],"44":["select","count","(","*",")","from","concert","where","stadium_id","=","(","select","stadium_id","from","stadium","order","by","capacity","desc","limit","1",")"],"45":["SELECT","count","(","*",")","FROM","pets","WHERE","weight",">","10"],"46":["SELECT","count","(","*",")","FROM","pets","WHERE","weight",">","10"],"47":["SELECT","weight","FROM","pets","ORDER","BY","pet_age","LIMIT","1"],"48":["SELECT","weight","FROM","pets","ORDER","BY","pet_age","LIMIT","1"],"49":["SELECT","max","(","weight",")",",","petType","FROM","pets","GROUP","BY","petType"],"50":["SELECT","max","(","weight",")",",","petType","FROM","pets","GROUP","BY","petType"],"51":["SELECT","count","(","*",")","FROM","student","AS","T1","JOIN","has_pet","AS","T2","ON","T1.stuid","=","T2.stuid","WHERE","T1.age",">","20"],"52":["SELECT","count","(","*",")","FROM","student","AS","T1","JOIN","has_pet","AS","T2","ON","T1.stuid","=","T2.stuid","WHERE","T1.age",">","20"],"53":["SELECT","count","(","*",")","FROM","student","AS","T1","JOIN","has_pet","AS","T2","ON","T1.stuid","=","T2.stuid","JOIN","pets","AS","T3","ON","T2.petid","=","T3.petid","WHERE","T1.sex","=","'F","'","AND","T3.pettype","=","'dog","'"],"54":["SELECT","count","(","*",")","FROM","student","AS","T1","JOIN","has_pet","AS","T2","ON","T1.stuid","=","T2.stuid","JOIN","pets","AS","T3","ON","T2.petid","=","T3.petid","WHERE","T1.sex","=","'F","'","AND","T3.pettype","=","'dog","'"],"55":["SELECT","count","(","DISTINCT","pettype",")","FROM","pets"],"56":["SELECT","count","(","DISTINCT","pettype",")","FROM","pets"],"57":["SELECT","DISTINCT","T1.Fname","FROM","student","AS","T1","JOIN","has_pet","AS","T2","ON","T1.stuid","=","T2.stuid","JOIN","pets","AS","T3","ON","T3.petid","=","T2.petid","WHERE","T3.pettype","=","'cat","'","OR","T3.pettype","=","'dog","'"],"58":["SELECT","DISTINCT","T1.Fname","FROM","student","AS","T1","JOIN","has_pet","AS","T2","ON","T1.stuid","=","T2.stuid","JOIN","pets","AS","T3","ON","T3.petid","=","T2.petid","WHERE","T3.pettype","=","'cat","'","OR","T3.pettype","=","'dog","'"],"59":["select","t1.fname","from","student","as","t1","join","has_pet","as","t2","on","t1.stuid","=","t2.stuid","join","pets","as","t3","on","t3.petid","=","t2.petid","where","t3.pettype","=","\"cat\"","intersect","select","t1.fname","from","student","as","t1","join","has_pet","as","t2","on","t1.stuid","=","t2.stuid","join","pets","as","t3","on","t3.petid","=","t2.petid","where","t3.pettype","=","\"dog\""],"60":["SELECT","T1.Fname","FROM","student","AS","T1","JOIN","has_pet","AS","T2","ON","T1.stuid","=","T2.stuid","JOIN","pets","AS","T3","ON","T3.petid","=","T2.petid","WHERE","T3.pettype","=","'cat","'","INTERSECT","SELECT","T1.Fname","FROM","student","AS","T1","JOIN","has_pet","AS","T2","ON","T1.stuid","=","T2.stuid","JOIN","pets","AS","T3","ON","T3.petid","=","T2.petid","WHERE","T3.pettype","=","'dog","'"],"61":["SELECT","major",",","age","FROM","student","WHERE","stuid","NOT","IN","(","SELECT","T1.stuid","FROM","student","AS","T1","JOIN","has_pet","AS","T2","ON","T1.stuid","=","T2.stuid","JOIN","pets","AS","T3","ON","T3.petid","=","T2.petid","WHERE","T3.pettype","=","'cat","'",")"],"62":["SELECT","major",",","age","FROM","student","WHERE","stuid","NOT","IN","(","SELECT","T1.stuid","FROM","student","AS","T1","JOIN","has_pet","AS","T2","ON","T1.stuid","=","T2.stuid","JOIN","pets","AS","T3","ON","T3.petid","=","T2.petid","WHERE","T3.pettype","=","'cat","'",")"],"63":["SELECT","stuid","FROM","student","EXCEPT","SELECT","T1.stuid","FROM","student","AS","T1","JOIN","has_pet","AS","T2","ON","T1.stuid","=","T2.stuid","JOIN","pets","AS","T3","ON","T3.petid","=","T2.petid","WHERE","T3.pettype","=","'cat","'"],"64":["SELECT","stuid","FROM","student","EXCEPT","SELECT","T1.stuid","FROM","student","AS","T1","JOIN","has_pet","AS","T2","ON","T1.stuid","=","T2.stuid","JOIN","pets","AS","T3","ON","T3.petid","=","T2.petid","WHERE","T3.pettype","=","'cat","'"],"65":["SELECT","T1.fname",",","T1.age","FROM","student","AS","T1","JOIN","has_pet","AS","T2","ON","T1.stuid","=","T2.stuid","JOIN","pets","AS","T3","ON","T3.petid","=","T2.petid","WHERE","T3.pettype","=","'dog","'","AND","T1.stuid","NOT","IN","(","SELECT","T1.stuid","FROM","student","AS","T1","JOIN","has_pet","AS","T2","ON","T1.stuid","=","T2.stuid","JOIN","pets","AS","T3","ON","T3.petid","=","T2.petid","WHERE","T3.pettype","=","'cat","'",")"],"66":["SELECT","T1.fname",",","T1.age","FROM","student","AS","T1","JOIN","has_pet","AS","T2","ON","T1.stuid","=","T2.stuid","JOIN","pets","AS","T3","ON","T3.petid","=","T2.petid","WHERE","T3.pettype","=","'dog","'","AND","T1.stuid","NOT","IN","(","SELECT","T1.stuid","FROM","student","AS","T1","JOIN","has_pet","AS","T2","ON","T1.stuid","=","T2.stuid","JOIN","pets","AS","T3","ON","T3.petid","=","T2.petid","WHERE","T3.pettype","=","'cat","'",")"],"67":["SELECT","pettype",",","weight","FROM","pets","ORDER","BY","pet_age","LIMIT","1"],"68":["SELECT","pettype",",","weight","FROM","pets","ORDER","BY","pet_age","LIMIT","1"],"69":["SELECT","petid",",","weight","FROM","pets","WHERE","pet_age",">","1"],"70":["SELECT","petid",",","weight","FROM","pets","WHERE","pet_age",">","1"],"71":["SELECT","avg","(","pet_age",")",",","max","(","pet_age",")",",","pettype","FROM","pets","GROUP","BY","pettype"],"72":["SELECT","avg","(","pet_age",")",",","max","(","pet_age",")",",","pettype","FROM","pets","GROUP","BY","pettype"],"73":["SELECT","avg","(","weight",")",",","pettype","FROM","pets","GROUP","BY","pettype"],"74":["SELECT","avg","(","weight",")",",","pettype","FROM","pets","GROUP","BY","pettype"],"75":["SELECT","DISTINCT","T1.fname",",","T1.age","FROM","student","AS","T1","JOIN","has_pet","AS","T2","ON","T1.stuid","=","T2.stuid"],"76":["SELECT","DISTINCT","T1.fname",",","T1.age","FROM","student","AS","T1","JOIN","has_pet","AS","T2","ON","T1.stuid","=","T2.stuid"],"77":["SELECT","T2.petid","FROM","student","AS","T1","JOIN","has_pet","AS","T2","ON","T1.stuid","=","T2.stuid","WHERE","T1.Lname","=","'Smith","'"],"78":["SELECT","T2.petid","FROM","student","AS","T1","JOIN","has_pet","AS","T2","ON","T1.stuid","=","T2.stuid","WHERE","T1.Lname","=","'Smith","'"],"79":["SELECT","count","(","*",")",",","T1.stuid","FROM","student","AS","T1","JOIN","has_pet","AS","T2","ON","T1.stuid","=","T2.stuid","GROUP","BY","T1.stuid"],"80":["select","count","(","*",")",",","t1.stuid","from","student","as","t1","join","has_pet","as","t2","on","t1.stuid","=","t2.stuid","group","by","t1.stuid"],"81":["SELECT","T1.fname",",","T1.sex","FROM","student","AS","T1","JOIN","has_pet","AS","T2","ON","T1.stuid","=","T2.stuid","GROUP","BY","T1.stuid","HAVING","count","(","*",")",">","1"],"82":["SELECT","T1.fname",",","T1.sex","FROM","student","AS","T1","JOIN","has_pet","AS","T2","ON","T1.stuid","=","T2.stuid","GROUP","BY","T1.stuid","HAVING","count","(","*",")",">","1"],"83":["SELECT","T1.lname","FROM","student","AS","T1","JOIN","has_pet","AS","T2","ON","T1.stuid","=","T2.stuid","JOIN","pets","AS","T3","ON","T3.petid","=","T2.petid","WHERE","T3.pet_age","=","3","AND","T3.pettype","=","'cat","'"],"84":["SELECT","T1.lname","FROM","student","AS","T1","JOIN","has_pet","AS","T2","ON","T1.stuid","=","T2.stuid","JOIN","pets","AS","T3","ON","T3.petid","=","T2.petid","WHERE","T3.pet_age","=","3","AND","T3.pettype","=","'cat","'"],"85":["select","avg","(","age",")","from","student","where","stuid","not","in","(","select","stuid","from","has_pet",")"],"86":["select","avg","(","age",")","from","student","where","stuid","not","in","(","select","stuid","from","has_pet",")"],"87":["SELECT","count","(","*",")","FROM","CONTINENTS",";"],"88":["SELECT","count","(","*",")","FROM","CONTINENTS",";"],"89":["SELECT","T1.ContId",",","T1.Continent",",","count","(","*",")","FROM","CONTINENTS","AS","T1","JOIN","COUNTRIES","AS","T2","ON","T1.ContId","=","T2.Continent","GROUP","BY","T1.ContId",";"],"90":["SELECT","T1.ContId",",","T1.Continent",",","count","(","*",")","FROM","CONTINENTS","AS","T1","JOIN","COUNTRIES","AS","T2","ON","T1.ContId","=","T2.Continent","GROUP","BY","T1.ContId",";"],"91":["SELECT","count","(","*",")","FROM","COUNTRIES",";"],"92":["SELECT","count","(","*",")","FROM","COUNTRIES",";"],"93":["SELECT","T1.FullName",",","T1.Id",",","count","(","*",")","FROM","CAR_MAKERS","AS","T1","JOIN","MODEL_LIST","AS","T2","ON","T1.Id","=","T2.Maker","GROUP","BY","T1.Id",";"],"94":["SELECT","T1.FullName",",","T1.Id",",","count","(","*",")","FROM","CAR_MAKERS","AS","T1","JOIN","MODEL_LIST","AS","T2","ON","T1.Id","=","T2.Maker","GROUP","BY","T1.Id",";"],"95":["SELECT","T1.Model","FROM","CAR_NAMES","AS","T1","JOIN","CARS_DATA","AS","T2","ON","T1.MakeId","=","T2.Id","ORDER","BY","T2.horsepower","ASC","LIMIT","1",";"],"96":["SELECT","T1.Model","FROM","CAR_NAMES","AS","T1","JOIN","CARS_DATA","AS","T2","ON","T1.MakeId","=","T2.Id","ORDER","BY","T2.horsepower","ASC","LIMIT","1",";"],"97":["SELECT","T1.model","FROM","CAR_NAMES","AS","T1","JOIN","CARS_DATA","AS","T2","ON","T1.MakeId","=","T2.Id","WHERE","T2.Weight","<","(","SELECT","avg","(","Weight",")","FROM","CARS_DATA",")"],"98":["SELECT","T1.model","FROM","CAR_NAMES","AS","T1","JOIN","CARS_DATA","AS","T2","ON","T1.MakeId","=","T2.Id","WHERE","T2.Weight","<","(","SELECT","avg","(","Weight",")","FROM","CARS_DATA",")"],"99":["SELECT","DISTINCT","T1.Maker","FROM","CAR_MAKERS","AS","T1","JOIN","MODEL_LIST","AS","T2","ON","T1.Id","=","T2.Maker","JOIN","CAR_NAMES","AS","T3","ON","T2.model","=","T3.model","JOIN","CARS_DATA","AS","T4","ON","T3.MakeId","=","T4.id","WHERE","T4.year","=","'1970","'",";"],"100":["SELECT","DISTINCT","T1.Maker","FROM","CAR_MAKERS","AS","T1","JOIN","MODEL_LIST","AS","T2","ON","T1.Id","=","T2.Maker","JOIN","CAR_NAMES","AS","T3","ON","T2.model","=","T3.model","JOIN","CARS_DATA","AS","T4","ON","T3.MakeId","=","T4.id","WHERE","T4.year","=","'1970","'",";"],"101":["SELECT","T2.Make",",","T1.Year","FROM","CARS_DATA","AS","T1","JOIN","CAR_NAMES","AS","T2","ON","T1.Id","=","T2.MakeId","WHERE","T1.Year","=","(","SELECT","min","(","YEAR",")","FROM","CARS_DATA",")",";"],"102":["SELECT","T2.Make",",","T1.Year","FROM","CARS_DATA","AS","T1","JOIN","CAR_NAMES","AS","T2","ON","T1.Id","=","T2.MakeId","WHERE","T1.Year","=","(","SELECT","min","(","YEAR",")","FROM","CARS_DATA",")",";"],"103":["SELECT","DISTINCT","T1.model","FROM","MODEL_LIST","AS","T1","JOIN","CAR_NAMES","AS","T2","ON","T1.model","=","T2.model","JOIN","CARS_DATA","AS","T3","ON","T2.MakeId","=","T3.id","WHERE","T3.year",">","1980",";"],"104":["SELECT","DISTINCT","T1.model","FROM","MODEL_LIST","AS","T1","JOIN","CAR_NAMES","AS","T2","ON","T1.model","=","T2.model","JOIN","CARS_DATA","AS","T3","ON","T2.MakeId","=","T3.id","WHERE","T3.year",">","1980",";"],"105":["SELECT","T1.Continent",",","count","(","*",")","FROM","CONTINENTS","AS","T1","JOIN","COUNTRIES","AS","T2","ON","T1.ContId","=","T2.continent","JOIN","car_makers","AS","T3","ON","T2.CountryId","=","T3.Country","GROUP","BY","T1.Continent",";"],"106":["SELECT","T1.Continent",",","count","(","*",")","FROM","CONTINENTS","AS","T1","JOIN","COUNTRIES","AS","T2","ON","T1.ContId","=","T2.continent","JOIN","car_makers","AS","T3","ON","T2.CountryId","=","T3.Country","GROUP","BY","T1.Continent",";"],"107":["SELECT","T2.CountryName","FROM","CAR_MAKERS","AS","T1","JOIN","COUNTRIES","AS","T2","ON","T1.Country","=","T2.CountryId","GROUP","BY","T1.Country","ORDER","BY","Count","(","*",")","DESC","LIMIT","1",";"],"108":["SELECT","T2.CountryName","FROM","CAR_MAKERS","AS","T1","JOIN","COUNTRIES","AS","T2","ON","T1.Country","=","T2.CountryId","GROUP","BY","T1.Country","ORDER","BY","Count","(","*",")","DESC","LIMIT","1",";"],"109":["select","count","(","*",")",",","t2.fullname","from","model_list","as","t1","join","car_makers","as","t2","on","t1.maker","=","t2.id","group","by","t2.id",";"],"110":["SELECT","Count","(","*",")",",","T2.FullName",",","T2.id","FROM","MODEL_LIST","AS","T1","JOIN","CAR_MAKERS","AS","T2","ON","T1.Maker","=","T2.Id","GROUP","BY","T2.id",";"],"111":["SELECT","T1.Accelerate","FROM","CARS_DATA","AS","T1","JOIN","CAR_NAMES","AS","T2","ON","T1.Id","=","T2.MakeId","WHERE","T2.Make","=","'amc","hornet","sportabout","(","sw",")","'",";"],"112":["SELECT","T1.Accelerate","FROM","CARS_DATA","AS","T1","JOIN","CAR_NAMES","AS","T2","ON","T1.Id","=","T2.MakeId","WHERE","T2.Make","=","'amc","hornet","sportabout","(","sw",")","'",";"],"113":["SELECT","count","(","*",")","FROM","CAR_MAKERS","AS","T1","JOIN","COUNTRIES","AS","T2","ON","T1.Country","=","T2.CountryId","WHERE","T2.CountryName","=","'france","'",";"],"114":["SELECT","count","(","*",")","FROM","CAR_MAKERS","AS","T1","JOIN","COUNTRIES","AS","T2","ON","T1.Country","=","T2.CountryId","WHERE","T2.CountryName","=","'france","'",";"],"115":["SELECT","count","(","*",")","FROM","MODEL_LIST","AS","T1","JOIN","CAR_MAKERS","AS","T2","ON","T1.Maker","=","T2.Id","JOIN","COUNTRIES","AS","T3","ON","T2.Country","=","T3.CountryId","WHERE","T3.CountryName","=","'usa","'",";"],"116":["SELECT","count","(","*",")","FROM","MODEL_LIST","AS","T1","JOIN","CAR_MAKERS","AS","T2","ON","T1.Maker","=","T2.Id","JOIN","COUNTRIES","AS","T3","ON","T2.Country","=","T3.CountryId","WHERE","T3.CountryName","=","'usa","'",";"],"117":["SELECT","avg","(","mpg",")","FROM","CARS_DATA","WHERE","Cylinders","=","4",";"],"118":["SELECT","avg","(","mpg",")","FROM","CARS_DATA","WHERE","Cylinders","=","4",";"],"119":["select","min","(","weight",")","from","cars_data","where","cylinders","=","8","and","year","=","1974"],"120":["select","min","(","weight",")","from","cars_data","where","cylinders","=","8","and","year","=","1974"],"121":["SELECT","Maker",",","Model","FROM","MODEL_LIST",";"],"122":["SELECT","Maker",",","Model","FROM","MODEL_LIST",";"],"123":["SELECT","T1.CountryName",",","T1.CountryId","FROM","COUNTRIES","AS","T1","JOIN","CAR_MAKERS","AS","T2","ON","T1.CountryId","=","T2.Country","GROUP","BY","T1.CountryId","HAVING","count","(","*",")",">","=","1",";"],"124":["SELECT","T1.CountryName",",","T1.CountryId","FROM","COUNTRIES","AS","T1","JOIN","CAR_MAKERS","AS","T2","ON","T1.CountryId","=","T2.Country","GROUP","BY","T1.CountryId","HAVING","count","(","*",")",">","=","1",";"],"125":["SELECT","count","(","*",")","FROM","CARS_DATA","WHERE","horsepower",">","150",";"],"126":["SELECT","count","(","*",")","FROM","CARS_DATA","WHERE","horsepower",">","150",";"],"127":["SELECT","avg","(","Weight",")",",","YEAR","FROM","CARS_DATA","GROUP","BY","YEAR",";"],"128":["SELECT","avg","(","Weight",")",",","YEAR","FROM","CARS_DATA","GROUP","BY","YEAR",";"],"129":["SELECT","T1.CountryName","FROM","COUNTRIES","AS","T1","JOIN","CONTINENTS","AS","T2","ON","T1.Continent","=","T2.ContId","JOIN","CAR_MAKERS","AS","T3","ON","T1.CountryId","=","T3.Country","WHERE","T2.Continent","=","'europe","'","GROUP","BY","T1.CountryName","HAVING","count","(","*",")",">","=","3",";"],"130":["SELECT","T1.CountryName","FROM","COUNTRIES","AS","T1","JOIN","CONTINENTS","AS","T2","ON","T1.Continent","=","T2.ContId","JOIN","CAR_MAKERS","AS","T3","ON","T1.CountryId","=","T3.Country","WHERE","T2.Continent","=","'europe","'","GROUP","BY","T1.CountryName","HAVING","count","(","*",")",">","=","3",";"],"131":["SELECT","T2.horsepower",",","T1.Make","FROM","CAR_NAMES","AS","T1","JOIN","CARS_DATA","AS","T2","ON","T1.MakeId","=","T2.Id","WHERE","T2.cylinders","=","3","ORDER","BY","T2.horsepower","DESC","LIMIT","1",";"],"132":["SELECT","T2.horsepower",",","T1.Make","FROM","CAR_NAMES","AS","T1","JOIN","CARS_DATA","AS","T2","ON","T1.MakeId","=","T2.Id","WHERE","T2.cylinders","=","3","ORDER","BY","T2.horsepower","DESC","LIMIT","1",";"],"133":["SELECT","T1.Model","FROM","CAR_NAMES","AS","T1","JOIN","CARS_DATA","AS","T2","ON","T1.MakeId","=","T2.Id","ORDER","BY","T2.mpg","DESC","LIMIT","1",";"],"134":["select","t1.model","from","car_names","as","t1","join","cars_data","as","t2","on","t1.makeid","=","t2.id","order","by","t2.mpg","desc","limit","1",";"],"135":["SELECT","avg","(","horsepower",")","FROM","CARS_DATA","WHERE","YEAR","<","1980",";"],"136":["select","avg","(","horsepower",")","from","cars_data","where","year","<","1980",";"],"137":["SELECT","avg","(","T2.edispl",")","FROM","CAR_NAMES","AS","T1","JOIN","CARS_DATA","AS","T2","ON","T1.MakeId","=","T2.Id","WHERE","T1.Model","=","'volvo","'",";"],"138":["SELECT","avg","(","T2.edispl",")","FROM","CAR_NAMES","AS","T1","JOIN","CARS_DATA","AS","T2","ON","T1.MakeId","=","T2.Id","WHERE","T1.Model","=","'volvo","'",";"],"139":["SELECT","max","(","Accelerate",")",",","Cylinders","FROM","CARS_DATA","GROUP","BY","Cylinders",";"],"140":["SELECT","max","(","Accelerate",")",",","Cylinders","FROM","CARS_DATA","GROUP","BY","Cylinders",";"],"141":["SELECT","Model","FROM","CAR_NAMES","GROUP","BY","Model","ORDER","BY","count","(","*",")","DESC","LIMIT","1",";"],"142":["SELECT","Model","FROM","CAR_NAMES","GROUP","BY","Model","ORDER","BY","count","(","*",")","DESC","LIMIT","1",";"],"143":["SELECT","count","(","*",")","FROM","CARS_DATA","WHERE","Cylinders",">","4",";"],"144":["SELECT","count","(","*",")","FROM","CARS_DATA","WHERE","Cylinders",">","4",";"],"145":["SELECT","count","(","*",")","FROM","CARS_DATA","WHERE","YEAR","=","1980",";"],"146":["SELECT","count","(","*",")","FROM","CARS_DATA","WHERE","YEAR","=","1980",";"],"147":["SELECT","count","(","*",")","FROM","CAR_MAKERS","AS","T1","JOIN","MODEL_LIST","AS","T2","ON","T1.Id","=","T2.Maker","WHERE","T1.FullName","=","'American","Motor","Company","'",";"],"148":["SELECT","count","(","*",")","FROM","CAR_MAKERS","AS","T1","JOIN","MODEL_LIST","AS","T2","ON","T1.Id","=","T2.Maker","WHERE","T1.FullName","=","'American","Motor","Company","'",";"],"149":["SELECT","T1.FullName",",","T1.Id","FROM","CAR_MAKERS","AS","T1","JOIN","MODEL_LIST","AS","T2","ON","T1.Id","=","T2.Maker","GROUP","BY","T1.Id","HAVING","count","(","*",")",">","3",";"],"150":["SELECT","T1.FullName",",","T1.Id","FROM","CAR_MAKERS","AS","T1","JOIN","MODEL_LIST","AS","T2","ON","T1.Id","=","T2.Maker","GROUP","BY","T1.Id","HAVING","count","(","*",")",">","3",";"],"151":["SELECT","DISTINCT","T2.Model","FROM","CAR_NAMES","AS","T1","JOIN","MODEL_LIST","AS","T2","ON","T1.Model","=","T2.Model","JOIN","CAR_MAKERS","AS","T3","ON","T2.Maker","=","T3.Id","JOIN","CARS_DATA","AS","T4","ON","T1.MakeId","=","T4.Id","WHERE","T3.FullName","=","'General","Motors","'","OR","T4.weight",">","3500",";"],"152":["SELECT","DISTINCT","T2.Model","FROM","CAR_NAMES","AS","T1","JOIN","MODEL_LIST","AS","T2","ON","T1.Model","=","T2.Model","JOIN","CAR_MAKERS","AS","T3","ON","T2.Maker","=","T3.Id","JOIN","CARS_DATA","AS","T4","ON","T1.MakeId","=","T4.Id","WHERE","T3.FullName","=","'General","Motors","'","OR","T4.weight",">","3500",";"],"153":["select","distinct","year","from","cars_data","where","weight","between","3000","and","4000",";"],"154":["select","distinct","year","from","cars_data","where","weight","between","3000","and","4000",";"],"155":["SELECT","T1.horsepower","FROM","CARS_DATA","AS","T1","ORDER","BY","T1.accelerate","DESC","LIMIT","1",";"],"156":["SELECT","T1.horsepower","FROM","CARS_DATA","AS","T1","ORDER","BY","T1.accelerate","DESC","LIMIT","1",";"],"157":["SELECT","T1.cylinders","FROM","CARS_DATA","AS","T1","JOIN","CAR_NAMES","AS","T2","ON","T1.Id","=","T2.MakeId","WHERE","T2.Model","=","'volvo","'","ORDER","BY","T1.accelerate","ASC","LIMIT","1",";"],"158":["SELECT","T1.cylinders","FROM","CARS_DATA","AS","T1","JOIN","CAR_NAMES","AS","T2","ON","T1.Id","=","T2.MakeId","WHERE","T2.Model","=","'volvo","'","ORDER","BY","T1.accelerate","ASC","LIMIT","1",";"],"159":["SELECT","COUNT","(","*",")","FROM","CARS_DATA","WHERE","Accelerate",">","(","SELECT","Accelerate","FROM","CARS_DATA","ORDER","BY","Horsepower","DESC","LIMIT","1",")",";"],"160":["SELECT","COUNT","(","*",")","FROM","CARS_DATA","WHERE","Accelerate",">","(","SELECT","Accelerate","FROM","CARS_DATA","ORDER","BY","Horsepower","DESC","LIMIT","1",")",";"],"161":["select","count","(","*",")","from","countries","as","t1","join","car_makers","as","t2","on","t1.countryid","=","t2.country","group","by","t1.countryid","having","count","(","*",")",">","2"],"162":["select","count","(","*",")","from","countries","as","t1","join","car_makers","as","t2","on","t1.countryid","=","t2.country","group","by","t1.countryid","having","count","(","*",")",">","2"],"163":["SELECT","COUNT","(","*",")","FROM","CARS_DATA","WHERE","Cylinders",">","6",";"],"164":["SELECT","COUNT","(","*",")","FROM","CARS_DATA","WHERE","Cylinders",">","6",";"],"165":["SELECT","T1.Model","FROM","CAR_NAMES","AS","T1","JOIN","CARS_DATA","AS","T2","ON","T1.MakeId","=","T2.Id","WHERE","T2.Cylinders","=","4","ORDER","BY","T2.horsepower","DESC","LIMIT","1",";"],"166":["SELECT","T1.Model","FROM","CAR_NAMES","AS","T1","JOIN","CARS_DATA","AS","T2","ON","T1.MakeId","=","T2.Id","WHERE","T2.Cylinders","=","4","ORDER","BY","T2.horsepower","DESC","LIMIT","1",";"],"167":["SELECT","T2.MakeId",",","T2.Make","FROM","CARS_DATA","AS","T1","JOIN","CAR_NAMES","AS","T2","ON","T1.Id","=","T2.MakeId","WHERE","T1.Horsepower",">","(","SELECT","min","(","Horsepower",")","FROM","CARS_DATA",")","AND","T1.Cylinders","<","=","3",";"],"168":["select","t2.makeid",",","t2.make","from","cars_data","as","t1","join","car_names","as","t2","on","t1.id","=","t2.makeid","where","t1.horsepower",">","(","select","min","(","horsepower",")","from","cars_data",")","and","t1.cylinders","<","4",";"],"169":["select","max","(","mpg",")","from","cars_data","where","cylinders","=","8","or","year","<","1980"],"170":["select","max","(","mpg",")","from","cars_data","where","cylinders","=","8","or","year","<","1980"],"171":["SELECT","DISTINCT","T1.model","FROM","MODEL_LIST","AS","T1","JOIN","CAR_NAMES","AS","T2","ON","T1.Model","=","T2.Model","JOIN","CARS_DATA","AS","T3","ON","T2.MakeId","=","T3.Id","JOIN","CAR_MAKERS","AS","T4","ON","T1.Maker","=","T4.Id","WHERE","T3.weight","<","3500","AND","T4.FullName","!","=","'Ford","Motor","Company","'",";"],"172":["SELECT","DISTINCT","T1.model","FROM","MODEL_LIST","AS","T1","JOIN","CAR_NAMES","AS","T2","ON","T1.Model","=","T2.Model","JOIN","CARS_DATA","AS","T3","ON","T2.MakeId","=","T3.Id","JOIN","CAR_MAKERS","AS","T4","ON","T1.Maker","=","T4.Id","WHERE","T3.weight","<","3500","AND","T4.FullName","!","=","'Ford","Motor","Company","'",";"],"173":["SELECT","CountryName","FROM","countries","EXCEPT","SELECT","T1.CountryName","FROM","countries","AS","T1","JOIN","CAR_MAKERS","AS","T2","ON","T1.countryId","=","T2.Country",";"],"174":["SELECT","CountryName","FROM","countries","EXCEPT","SELECT","T1.CountryName","FROM","countries","AS","T1","JOIN","CAR_MAKERS","AS","T2","ON","T1.countryId","=","T2.Country",";"],"175":["select","t1.id",",","t1.maker","from","car_makers","as","t1","join","model_list","as","t2","on","t1.id","=","t2.maker","group","by","t1.id","having","count","(","*",")",">=","2","intersect","select","t1.id",",","t1.maker","from","car_makers","as","t1","join","model_list","as","t2","on","t1.id","=","t2.maker","join","car_names","as","t3","on","t2.model","=","t3.model","group","by","t1.id","having","count","(","*",")",">","3",";"],"176":["SELECT","T1.Id",",","T1.Maker","FROM","CAR_MAKERS","AS","T1","JOIN","MODEL_LIST","AS","T2","ON","T1.Id","=","T2.Maker","GROUP","BY","T1.Id","HAVING","count","(","*",")",">","=","2","INTERSECT","SELECT","T1.Id",",","T1.Maker","FROM","CAR_MAKERS","AS","T1","JOIN","MODEL_LIST","AS","T2","ON","T1.Id","=","T2.Maker","JOIN","CAR_NAMES","AS","T3","ON","T2.model","=","T3.model","GROUP","BY","T1.Id","HAVING","count","(","*",")",">","3",";"],"177":["SELECT","T1.countryId",",","T1.CountryName","FROM","Countries","AS","T1","JOIN","CAR_MAKERS","AS","T2","ON","T1.CountryId","=","T2.Country","GROUP","BY","T1.countryId","HAVING","count","(","*",")",">","3","UNION","SELECT","T1.countryId",",","T1.CountryName","FROM","Countries","AS","T1","JOIN","CAR_MAKERS","AS","T2","ON","T1.CountryId","=","T2.Country","JOIN","MODEL_LIST","AS","T3","ON","T2.Id","=","T3.Maker","WHERE","T3.Model","=","'fiat","'",";"],"178":["select","t1.countryid",",","t1.countryname","from","countries","as","t1","join","car_makers","as","t2","on","t1.countryid","=","t2.country","group","by","t1.countryid","having","count","(","*",")",">","3","union","select","t1.countryid",",","t1.countryname","from","countries","as","t1","join","car_makers","as","t2","on","t1.countryid","=","t2.country","join","model_list","as","t3","on","t2.id","=","t3.maker","where","t3.model","=","\"fiat\"",";"],"179":["SELECT","Country","FROM","AIRLINES","WHERE","Airline","=","``","JetBlue","Airways","''"],"180":["SELECT","Country","FROM","AIRLINES","WHERE","Airline","=","``","JetBlue","Airways","''"],"181":["SELECT","Abbreviation","FROM","AIRLINES","WHERE","Airline","=","``","JetBlue","Airways","''"],"182":["SELECT","Abbreviation","FROM","AIRLINES","WHERE","Airline","=","``","JetBlue","Airways","''"],"183":["SELECT","Airline",",","Abbreviation","FROM","AIRLINES","WHERE","Country","=","``","USA","''"],"184":["SELECT","Airline",",","Abbreviation","FROM","AIRLINES","WHERE","Country","=","``","USA","''"],"185":["SELECT","AirportCode",",","AirportName","FROM","AIRPORTS","WHERE","city","=","``","Anthony","''"],"186":["SELECT","AirportCode",",","AirportName","FROM","AIRPORTS","WHERE","city","=","``","Anthony","''"],"187":["SELECT","count","(","*",")","FROM","AIRLINES"],"188":["SELECT","count","(","*",")","FROM","AIRLINES"],"189":["SELECT","count","(","*",")","FROM","AIRPORTS"],"190":["SELECT","count","(","*",")","FROM","AIRPORTS"],"191":["SELECT","count","(","*",")","FROM","FLIGHTS"],"192":["SELECT","count","(","*",")","FROM","FLIGHTS"],"193":["SELECT","Airline","FROM","AIRLINES","WHERE","Abbreviation","=","``","UAL","''"],"194":["SELECT","Airline","FROM","AIRLINES","WHERE","Abbreviation","=","``","UAL","''"],"195":["SELECT","count","(","*",")","FROM","AIRLINES","WHERE","Country","=","``","USA","''"],"196":["SELECT","count","(","*",")","FROM","AIRLINES","WHERE","Country","=","``","USA","''"],"197":["SELECT","City",",","Country","FROM","AIRPORTS","WHERE","AirportName","=","``","Alton","''"],"198":["SELECT","City",",","Country","FROM","AIRPORTS","WHERE","AirportName","=","``","Alton","''"],"199":["SELECT","AirportName","FROM","AIRPORTS","WHERE","AirportCode","=","``","AKO","''"],"200":["SELECT","AirportName","FROM","AIRPORTS","WHERE","AirportCode","=","``","AKO","''"],"201":["SELECT","AirportName","FROM","AIRPORTS","WHERE","City","=","``","Aberdeen","''"],"202":["SELECT","AirportName","FROM","AIRPORTS","WHERE","City","=","``","Aberdeen","''"],"203":["SELECT","count","(","*",")","FROM","FLIGHTS","WHERE","SourceAirport","=","``","APG","''"],"204":["SELECT","count","(","*",")","FROM","FLIGHTS","WHERE","SourceAirport","=","``","APG","''"],"205":["SELECT","count","(","*",")","FROM","FLIGHTS","WHERE","DestAirport","=","``","ATO","''"],"206":["SELECT","count","(","*",")","FROM","FLIGHTS","WHERE","DestAirport","=","``","ATO","''"],"207":["SELECT","count","(","*",")","FROM","FLIGHTS","AS","T1","JOIN","AIRPORTS","AS","T2","ON","T1.SourceAirport","=","T2.AirportCode","WHERE","T2.City","=","``","Aberdeen","''"],"208":["SELECT","count","(","*",")","FROM","FLIGHTS","AS","T1","JOIN","AIRPORTS","AS","T2","ON","T1.SourceAirport","=","T2.AirportCode","WHERE","T2.City","=","``","Aberdeen","''"],"209":["SELECT","count","(","*",")","FROM","FLIGHTS","AS","T1","JOIN","AIRPORTS","AS","T2","ON","T1.DestAirport","=","T2.AirportCode","WHERE","T2.City","=","``","Aberdeen","''"],"210":["SELECT","count","(","*",")","FROM","FLIGHTS","AS","T1","JOIN","AIRPORTS","AS","T2","ON","T1.DestAirport","=","T2.AirportCode","WHERE","T2.City","=","``","Aberdeen","''"],"211":["SELECT","count","(","*",")","FROM","FLIGHTS","AS","T1","JOIN","AIRPORTS","AS","T2","ON","T1.DestAirport","=","T2.AirportCode","JOIN","AIRPORTS","AS","T3","ON","T1.SourceAirport","=","T3.AirportCode","WHERE","T2.City","=","``","Ashley","''","AND","T3.City","=","``","Aberdeen","''"],"212":["SELECT","count","(","*",")","FROM","FLIGHTS","AS","T1","JOIN","AIRPORTS","AS","T2","ON","T1.DestAirport","=","T2.AirportCode","JOIN","AIRPORTS","AS","T3","ON","T1.SourceAirport","=","T3.AirportCode","WHERE","T2.City","=","``","Ashley","''","AND","T3.City","=","``","Aberdeen","''"],"213":["SELECT","count","(","*",")","FROM","FLIGHTS","AS","T1","JOIN","AIRLINES","AS","T2","ON","T1.Airline","=","T2.uid","WHERE","T2.Airline","=","``","JetBlue","Airways","''"],"214":["SELECT","count","(","*",")","FROM","FLIGHTS","AS","T1","JOIN","AIRLINES","AS","T2","ON","T1.Airline","=","T2.uid","WHERE","T2.Airline","=","``","JetBlue","Airways","''"],"215":["SELECT","count","(","*",")","FROM","AIRLINES","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T2.Airline","=","T1.uid","WHERE","T1.Airline","=","``","United","Airlines","''","AND","T2.DestAirport","=","``","ASY","''"],"216":["SELECT","count","(","*",")","FROM","AIRLINES","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T2.Airline","=","T1.uid","WHERE","T1.Airline","=","``","United","Airlines","''","AND","T2.DestAirport","=","``","ASY","''"],"217":["SELECT","count","(","*",")","FROM","AIRLINES","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T2.Airline","=","T1.uid","WHERE","T1.Airline","=","``","United","Airlines","''","AND","T2.SourceAirport","=","``","AHD","''"],"218":["SELECT","count","(","*",")","FROM","AIRLINES","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T2.Airline","=","T1.uid","WHERE","T1.Airline","=","``","United","Airlines","''","AND","T2.SourceAirport","=","``","AHD","''"],"219":["SELECT","count","(","*",")","FROM","FLIGHTS","AS","T1","JOIN","AIRPORTS","AS","T2","ON","T1.DestAirport","=","T2.AirportCode","JOIN","AIRLINES","AS","T3","ON","T3.uid","=","T1.Airline","WHERE","T2.City","=","``","Aberdeen","''","AND","T3.Airline","=","``","United","Airlines","''"],"220":["SELECT","count","(","*",")","FROM","FLIGHTS","AS","T1","JOIN","AIRPORTS","AS","T2","ON","T1.DestAirport","=","T2.AirportCode","JOIN","AIRLINES","AS","T3","ON","T3.uid","=","T1.Airline","WHERE","T2.City","=","``","Aberdeen","''","AND","T3.Airline","=","``","United","Airlines","''"],"221":["SELECT","T1.City","FROM","AIRPORTS","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.AirportCode","=","T2.DestAirport","GROUP","BY","T1.City","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"222":["SELECT","T1.City","FROM","AIRPORTS","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.AirportCode","=","T2.DestAirport","GROUP","BY","T1.City","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"223":["SELECT","T1.City","FROM","AIRPORTS","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.AirportCode","=","T2.SourceAirport","GROUP","BY","T1.City","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"224":["SELECT","T1.City","FROM","AIRPORTS","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.AirportCode","=","T2.SourceAirport","GROUP","BY","T1.City","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"225":["SELECT","T1.AirportCode","FROM","AIRPORTS","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.AirportCode","=","T2.DestAirport","OR","T1.AirportCode","=","T2.SourceAirport","GROUP","BY","T1.AirportCode","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"226":["SELECT","T1.AirportCode","FROM","AIRPORTS","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.AirportCode","=","T2.DestAirport","OR","T1.AirportCode","=","T2.SourceAirport","GROUP","BY","T1.AirportCode","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"227":["SELECT","T1.AirportCode","FROM","AIRPORTS","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.AirportCode","=","T2.DestAirport","OR","T1.AirportCode","=","T2.SourceAirport","GROUP","BY","T1.AirportCode","ORDER","BY","count","(","*",")","LIMIT","1"],"228":["SELECT","T1.AirportCode","FROM","AIRPORTS","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.AirportCode","=","T2.DestAirport","OR","T1.AirportCode","=","T2.SourceAirport","GROUP","BY","T1.AirportCode","ORDER","BY","count","(","*",")","LIMIT","1"],"229":["SELECT","T1.Airline","FROM","AIRLINES","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.uid","=","T2.Airline","GROUP","BY","T1.Airline","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"230":["SELECT","T1.Airline","FROM","AIRLINES","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.uid","=","T2.Airline","GROUP","BY","T1.Airline","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"231":["SELECT","T1.Abbreviation",",","T1.Country","FROM","AIRLINES","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.uid","=","T2.Airline","GROUP","BY","T1.Airline","ORDER","BY","count","(","*",")","LIMIT","1"],"232":["SELECT","T1.Abbreviation",",","T1.Country","FROM","AIRLINES","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.uid","=","T2.Airline","GROUP","BY","T1.Airline","ORDER","BY","count","(","*",")","LIMIT","1"],"233":["SELECT","T1.Airline","FROM","AIRLINES","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.uid","=","T2.Airline","WHERE","T2.SourceAirport","=","``","AHD","''"],"234":["SELECT","T1.Airline","FROM","AIRLINES","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.uid","=","T2.Airline","WHERE","T2.SourceAirport","=","``","AHD","''"],"235":["SELECT","T1.Airline","FROM","AIRLINES","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.uid","=","T2.Airline","WHERE","T2.DestAirport","=","``","AHD","''"],"236":["SELECT","T1.Airline","FROM","AIRLINES","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.uid","=","T2.Airline","WHERE","T2.DestAirport","=","``","AHD","''"],"237":["SELECT","T1.Airline","FROM","AIRLINES","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.uid","=","T2.Airline","WHERE","T2.SourceAirport","=","``","APG","''","INTERSECT","SELECT","T1.Airline","FROM","AIRLINES","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.uid","=","T2.Airline","WHERE","T2.SourceAirport","=","``","CVO","''"],"238":["SELECT","T1.Airline","FROM","AIRLINES","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.uid","=","T2.Airline","WHERE","T2.SourceAirport","=","``","APG","''","INTERSECT","SELECT","T1.Airline","FROM","AIRLINES","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.uid","=","T2.Airline","WHERE","T2.SourceAirport","=","``","CVO","''"],"239":["SELECT","T1.Airline","FROM","AIRLINES","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.uid","=","T2.Airline","WHERE","T2.SourceAirport","=","``","CVO","''","EXCEPT","SELECT","T1.Airline","FROM","AIRLINES","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.uid","=","T2.Airline","WHERE","T2.SourceAirport","=","``","APG","''"],"240":["SELECT","T1.Airline","FROM","AIRLINES","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.uid","=","T2.Airline","WHERE","T2.SourceAirport","=","``","CVO","''","EXCEPT","SELECT","T1.Airline","FROM","AIRLINES","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.uid","=","T2.Airline","WHERE","T2.SourceAirport","=","``","APG","''"],"241":["SELECT","T1.Airline","FROM","AIRLINES","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.uid","=","T2.Airline","GROUP","BY","T1.Airline","HAVING","count","(","*",")",">","10"],"242":["SELECT","T1.Airline","FROM","AIRLINES","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.uid","=","T2.Airline","GROUP","BY","T1.Airline","HAVING","count","(","*",")",">","10"],"243":["SELECT","T1.Airline","FROM","AIRLINES","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.uid","=","T2.Airline","GROUP","BY","T1.Airline","HAVING","count","(","*",")","<","200"],"244":["SELECT","T1.Airline","FROM","AIRLINES","AS","T1","JOIN","FLIGHTS","AS","T2","ON","T1.uid","=","T2.Airline","GROUP","BY","T1.Airline","HAVING","count","(","*",")","<","200"],"245":["SELECT","T1.FlightNo","FROM","FLIGHTS","AS","T1","JOIN","AIRLINES","AS","T2","ON","T2.uid","=","T1.Airline","WHERE","T2.Airline","=","``","United","Airlines","''"],"246":["SELECT","T1.FlightNo","FROM","FLIGHTS","AS","T1","JOIN","AIRLINES","AS","T2","ON","T2.uid","=","T1.Airline","WHERE","T2.Airline","=","``","United","Airlines","''"],"247":["SELECT","FlightNo","FROM","FLIGHTS","WHERE","SourceAirport","=","``","APG","''"],"248":["SELECT","FlightNo","FROM","FLIGHTS","WHERE","SourceAirport","=","``","APG","''"],"249":["SELECT","FlightNo","FROM","FLIGHTS","WHERE","DestAirport","=","``","APG","''"],"250":["SELECT","FlightNo","FROM","FLIGHTS","WHERE","DestAirport","=","``","APG","''"],"251":["SELECT","T1.FlightNo","FROM","FLIGHTS","AS","T1","JOIN","AIRPORTS","AS","T2","ON","T1.SourceAirport","=","T2.AirportCode","WHERE","T2.City","=","``","Aberdeen","''"],"252":["SELECT","T1.FlightNo","FROM","FLIGHTS","AS","T1","JOIN","AIRPORTS","AS","T2","ON","T1.SourceAirport","=","T2.AirportCode","WHERE","T2.City","=","``","Aberdeen","''"],"253":["SELECT","T1.FlightNo","FROM","FLIGHTS","AS","T1","JOIN","AIRPORTS","AS","T2","ON","T1.DestAirport","=","T2.AirportCode","WHERE","T2.City","=","``","Aberdeen","''"],"254":["SELECT","T1.FlightNo","FROM","FLIGHTS","AS","T1","JOIN","AIRPORTS","AS","T2","ON","T1.DestAirport","=","T2.AirportCode","WHERE","T2.City","=","``","Aberdeen","''"],"255":["SELECT","count","(","*",")","FROM","Flights","AS","T1","JOIN","Airports","AS","T2","ON","T1.DestAirport","=","T2.AirportCode","WHERE","T2.city","=","``","Aberdeen","''","OR","T2.city","=","``","Abilene","''"],"256":["SELECT","count","(","*",")","FROM","Flights","AS","T1","JOIN","Airports","AS","T2","ON","T1.DestAirport","=","T2.AirportCode","WHERE","T2.city","=","``","Aberdeen","''","OR","T2.city","=","``","Abilene","''"],"257":["SELECT","AirportName","FROM","Airports","WHERE","AirportCode","NOT","IN","(","SELECT","SourceAirport","FROM","Flights","UNION","SELECT","DestAirport","FROM","Flights",")"],"258":["SELECT","AirportName","FROM","Airports","WHERE","AirportCode","NOT","IN","(","SELECT","SourceAirport","FROM","Flights","UNION","SELECT","DestAirport","FROM","Flights",")"],"259":["SELECT","count","(","*",")","FROM","employee"],"260":["SELECT","count","(","*",")","FROM","employee"],"261":["SELECT","name","FROM","employee","ORDER","BY","age"],"262":["SELECT","name","FROM","employee","ORDER","BY","age"],"263":["SELECT","count","(","*",")",",","city","FROM","employee","GROUP","BY","city"],"264":["SELECT","count","(","*",")",",","city","FROM","employee","GROUP","BY","city"],"265":["SELECT","city","FROM","employee","WHERE","age","<","30","GROUP","BY","city","HAVING","count","(","*",")",">","1"],"266":["SELECT","city","FROM","employee","WHERE","age","<","30","GROUP","BY","city","HAVING","count","(","*",")",">","1"],"267":["SELECT","count","(","*",")",",","LOCATION","FROM","shop","GROUP","BY","LOCATION"],"268":["SELECT","count","(","*",")",",","LOCATION","FROM","shop","GROUP","BY","LOCATION"],"269":["SELECT","manager_name",",","district","FROM","shop","ORDER","BY","number_products","DESC","LIMIT","1"],"270":["SELECT","manager_name",",","district","FROM","shop","ORDER","BY","number_products","DESC","LIMIT","1"],"271":["SELECT","min","(","Number_products",")",",","max","(","Number_products",")","FROM","shop"],"272":["SELECT","min","(","Number_products",")",",","max","(","Number_products",")","FROM","shop"],"273":["SELECT","name",",","LOCATION",",","district","FROM","shop","ORDER","BY","number_products","DESC"],"274":["SELECT","name",",","LOCATION",",","district","FROM","shop","ORDER","BY","number_products","DESC"],"275":["SELECT","name","FROM","shop","WHERE","number_products",">","(","SELECT","avg","(","number_products",")","FROM","shop",")"],"276":["SELECT","name","FROM","shop","WHERE","number_products",">","(","SELECT","avg","(","number_products",")","FROM","shop",")"],"277":["SELECT","t1.name","FROM","employee","AS","t1","JOIN","evaluation","AS","t2","ON","t1.Employee_ID","=","t2.Employee_ID","GROUP","BY","t2.Employee_ID","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"278":["SELECT","t1.name","FROM","employee","AS","t1","JOIN","evaluation","AS","t2","ON","t1.Employee_ID","=","t2.Employee_ID","GROUP","BY","t2.Employee_ID","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"279":["SELECT","t1.name","FROM","employee","AS","t1","JOIN","evaluation","AS","t2","ON","t1.Employee_ID","=","t2.Employee_ID","ORDER","BY","t2.bonus","DESC","LIMIT","1"],"280":["SELECT","t1.name","FROM","employee","AS","t1","JOIN","evaluation","AS","t2","ON","t1.Employee_ID","=","t2.Employee_ID","ORDER","BY","t2.bonus","DESC","LIMIT","1"],"281":["SELECT","name","FROM","employee","WHERE","Employee_ID","NOT","IN","(","SELECT","Employee_ID","FROM","evaluation",")"],"282":["SELECT","name","FROM","employee","WHERE","Employee_ID","NOT","IN","(","SELECT","Employee_ID","FROM","evaluation",")"],"283":["SELECT","t2.name","FROM","hiring","AS","t1","JOIN","shop","AS","t2","ON","t1.shop_id","=","t2.shop_id","GROUP","BY","t1.shop_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"284":["SELECT","t2.name","FROM","hiring","AS","t1","JOIN","shop","AS","t2","ON","t1.shop_id","=","t2.shop_id","GROUP","BY","t1.shop_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"285":["SELECT","name","FROM","shop","WHERE","shop_id","NOT","IN","(","SELECT","shop_id","FROM","hiring",")"],"286":["SELECT","name","FROM","shop","WHERE","shop_id","NOT","IN","(","SELECT","shop_id","FROM","hiring",")"],"287":["SELECT","count","(","*",")",",","t2.name","FROM","hiring","AS","t1","JOIN","shop","AS","t2","ON","t1.shop_id","=","t2.shop_id","GROUP","BY","t2.name"],"288":["SELECT","count","(","*",")",",","t2.name","FROM","hiring","AS","t1","JOIN","shop","AS","t2","ON","t1.shop_id","=","t2.shop_id","GROUP","BY","t2.name"],"289":["SELECT","sum","(","bonus",")","FROM","evaluation"],"290":["SELECT","sum","(","bonus",")","FROM","evaluation"],"291":["SELECT","*","FROM","hiring"],"292":["SELECT","*","FROM","hiring"],"293":["SELECT","district","FROM","shop","WHERE","Number_products","<","3000","INTERSECT","SELECT","district","FROM","shop","WHERE","Number_products",">","10000"],"294":["SELECT","district","FROM","shop","WHERE","Number_products","<","3000","INTERSECT","SELECT","district","FROM","shop","WHERE","Number_products",">","10000"],"295":["SELECT","count","(","DISTINCT","LOCATION",")","FROM","shop"],"296":["SELECT","count","(","DISTINCT","LOCATION",")","FROM","shop"],"297":["SELECT","count","(","*",")","FROM","Documents"],"298":["SELECT","count","(","*",")","FROM","Documents"],"299":["SELECT","document_id",",","document_name",",","document_description","FROM","Documents"],"300":["SELECT","document_id",",","document_name",",","document_description","FROM","Documents"],"301":["SELECT","document_name",",","template_id","FROM","Documents","WHERE","Document_Description","LIKE","``","%","w","%","''"],"302":["SELECT","document_name",",","template_id","FROM","Documents","WHERE","Document_Description","LIKE","``","%","w","%","''"],"303":["SELECT","document_id",",","template_id",",","Document_Description","FROM","Documents","WHERE","document_name","=","``","Robbin","CV","''"],"304":["SELECT","document_id",",","template_id",",","Document_Description","FROM","Documents","WHERE","document_name","=","``","Robbin","CV","''"],"305":["SELECT","count","(","DISTINCT","template_id",")","FROM","Documents"],"306":["SELECT","count","(","DISTINCT","template_id",")","FROM","Documents"],"307":["SELECT","count","(","*",")","FROM","Documents","AS","T1","JOIN","Templates","AS","T2","ON","T1.Template_ID","=","T2.Template_ID","WHERE","T2.Template_Type_Code","=","'PPT","'"],"308":["SELECT","count","(","*",")","FROM","Documents","AS","T1","JOIN","Templates","AS","T2","ON","T1.Template_ID","=","T2.Template_ID","WHERE","T2.Template_Type_Code","=","'PPT","'"],"309":["SELECT","template_id",",","count","(","*",")","FROM","Documents","GROUP","BY","template_id"],"310":["SELECT","template_id",",","count","(","*",")","FROM","Documents","GROUP","BY","template_id"],"311":["SELECT","T1.template_id",",","T2.Template_Type_Code","FROM","Documents","AS","T1","JOIN","Templates","AS","T2","ON","T1.template_id","=","T2.template_id","GROUP","BY","T1.template_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"312":["SELECT","T1.template_id",",","T2.Template_Type_Code","FROM","Documents","AS","T1","JOIN","Templates","AS","T2","ON","T1.template_id","=","T2.template_id","GROUP","BY","T1.template_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"313":["SELECT","template_id","FROM","Documents","GROUP","BY","template_id","HAVING","count","(","*",")",">","1"],"314":["SELECT","template_id","FROM","Documents","GROUP","BY","template_id","HAVING","count","(","*",")",">","1"],"315":["SELECT","template_id","FROM","Templates","EXCEPT","SELECT","template_id","FROM","Documents"],"316":["SELECT","template_id","FROM","Templates","EXCEPT","SELECT","template_id","FROM","Documents"],"317":["SELECT","count","(","*",")","FROM","Templates"],"318":["SELECT","count","(","*",")","FROM","Templates"],"319":["SELECT","template_id",",","version_number",",","template_type_code","FROM","Templates"],"320":["SELECT","template_id",",","version_number",",","template_type_code","FROM","Templates"],"321":["SELECT","DISTINCT","template_type_code","FROM","Templates"],"322":["SELECT","DISTINCT","template_type_code","FROM","Templates"],"323":["SELECT","template_id","FROM","Templates","WHERE","template_type_code","=","``","PP","''","OR","template_type_code","=","``","PPT","''"],"324":["SELECT","template_id","FROM","Templates","WHERE","template_type_code","=","``","PP","''","OR","template_type_code","=","``","PPT","''"],"325":["SELECT","count","(","*",")","FROM","Templates","WHERE","template_type_code","=","``","CV","''"],"326":["SELECT","count","(","*",")","FROM","Templates","WHERE","template_type_code","=","``","CV","''"],"327":["SELECT","version_number",",","template_type_code","FROM","Templates","WHERE","version_number",">","5"],"328":["SELECT","version_number",",","template_type_code","FROM","Templates","WHERE","version_number",">","5"],"329":["SELECT","template_type_code",",","count","(","*",")","FROM","Templates","GROUP","BY","template_type_code"],"330":["SELECT","template_type_code",",","count","(","*",")","FROM","Templates","GROUP","BY","template_type_code"],"331":["SELECT","template_type_code","FROM","Templates","GROUP","BY","template_type_code","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"332":["SELECT","template_type_code","FROM","Templates","GROUP","BY","template_type_code","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"333":["SELECT","template_type_code","FROM","Templates","GROUP","BY","template_type_code","HAVING","count","(","*",")","<","3"],"334":["SELECT","template_type_code","FROM","Templates","GROUP","BY","template_type_code","HAVING","count","(","*",")","<","3"],"335":["SELECT","min","(","Version_Number",")",",","template_type_code","FROM","Templates"],"336":["SELECT","min","(","Version_Number",")",",","template_type_code","FROM","Templates"],"337":["SELECT","T1.template_type_code","FROM","Templates","AS","T1","JOIN","Documents","AS","T2","ON","T1.template_id","=","T2.template_id","WHERE","T2.document_name","=","``","Data","base","''"],"338":["SELECT","T1.template_type_code","FROM","Templates","AS","T1","JOIN","Documents","AS","T2","ON","T1.template_id","=","T2.template_id","WHERE","T2.document_name","=","``","Data","base","''"],"339":["SELECT","T2.document_name","FROM","Templates","AS","T1","JOIN","Documents","AS","T2","ON","T1.template_id","=","T2.template_id","WHERE","T1.template_type_code","=","``","BK","''"],"340":["SELECT","T2.document_name","FROM","Templates","AS","T1","JOIN","Documents","AS","T2","ON","T1.template_id","=","T2.template_id","WHERE","T1.template_type_code","=","``","BK","''"],"341":["SELECT","T1.template_type_code",",","count","(","*",")","FROM","Templates","AS","T1","JOIN","Documents","AS","T2","ON","T1.template_id","=","T2.template_id","GROUP","BY","T1.template_type_code"],"342":["SELECT","T1.template_type_code",",","count","(","*",")","FROM","Templates","AS","T1","JOIN","Documents","AS","T2","ON","T1.template_id","=","T2.template_id","GROUP","BY","T1.template_type_code"],"343":["SELECT","T1.template_type_code","FROM","Templates","AS","T1","JOIN","Documents","AS","T2","ON","T1.template_id","=","T2.template_id","GROUP","BY","T1.template_type_code","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"344":["SELECT","T1.template_type_code","FROM","Templates","AS","T1","JOIN","Documents","AS","T2","ON","T1.template_id","=","T2.template_id","GROUP","BY","T1.template_type_code","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"345":["SELECT","template_type_code","FROM","Templates","EXCEPT","SELECT","template_type_code","FROM","Templates","AS","T1","JOIN","Documents","AS","T2","ON","T1.template_id","=","T2.template_id"],"346":["SELECT","template_type_code","FROM","Templates","EXCEPT","SELECT","template_type_code","FROM","Templates","AS","T1","JOIN","Documents","AS","T2","ON","T1.template_id","=","T2.template_id"],"347":["SELECT","template_type_code",",","template_type_description","FROM","Ref_template_types"],"348":["SELECT","template_type_code",",","template_type_description","FROM","Ref_template_types"],"349":["SELECT","template_type_description","FROM","Ref_template_types","WHERE","template_type_code","=","``","AD","''"],"350":["SELECT","template_type_description","FROM","Ref_template_types","WHERE","template_type_code","=","``","AD","''"],"351":["SELECT","template_type_code","FROM","Ref_template_types","WHERE","template_type_description","=","``","Book","''"],"352":["SELECT","template_type_code","FROM","Ref_template_types","WHERE","template_type_description","=","``","Book","''"],"353":["SELECT","DISTINCT","T1.template_type_description","FROM","Ref_template_types","AS","T1","JOIN","Templates","AS","T2","ON","T1.template_type_code","=","T2.template_type_code","JOIN","Documents","AS","T3","ON","T2.Template_ID","=","T3.template_ID"],"354":["SELECT","DISTINCT","T1.template_type_description","FROM","Ref_template_types","AS","T1","JOIN","Templates","AS","T2","ON","T1.template_type_code","=","T2.template_type_code","JOIN","Documents","AS","T3","ON","T2.Template_ID","=","T3.template_ID"],"355":["SELECT","T2.template_id","FROM","Ref_template_types","AS","T1","JOIN","Templates","AS","T2","ON","T1.template_type_code","=","T2.template_type_code","WHERE","T1.template_type_description","=","``","Presentation","''"],"356":["SELECT","T2.template_id","FROM","Ref_template_types","AS","T1","JOIN","Templates","AS","T2","ON","T1.template_type_code","=","T2.template_type_code","WHERE","T1.template_type_description","=","``","Presentation","''"],"357":["SELECT","count","(","*",")","FROM","Paragraphs"],"358":["SELECT","count","(","*",")","FROM","Paragraphs"],"359":["SELECT","count","(","*",")","FROM","Paragraphs","AS","T1","JOIN","Documents","AS","T2","ON","T1.document_ID","=","T2.document_ID","WHERE","T2.document_name","=","'Summer","Show","'"],"360":["SELECT","count","(","*",")","FROM","Paragraphs","AS","T1","JOIN","Documents","AS","T2","ON","T1.document_ID","=","T2.document_ID","WHERE","T2.document_name","=","'Summer","Show","'"],"361":["select","other_details","from","paragraphs","where","paragraph_text","like","\"korea\""],"362":["select","other_details","from","paragraphs","where","paragraph_text","like","\"korea\""],"363":["SELECT","T1.paragraph_id",",","T1.paragraph_text","FROM","Paragraphs","AS","T1","JOIN","Documents","AS","T2","ON","T1.document_id","=","T2.document_id","WHERE","T2.Document_Name","=","'Welcome","to","NY","'"],"364":["SELECT","T1.paragraph_id",",","T1.paragraph_text","FROM","Paragraphs","AS","T1","JOIN","Documents","AS","T2","ON","T1.document_id","=","T2.document_id","WHERE","T2.Document_Name","=","'Welcome","to","NY","'"],"365":["SELECT","T1.paragraph_text","FROM","Paragraphs","AS","T1","JOIN","Documents","AS","T2","ON","T1.document_id","=","T2.document_id","WHERE","T2.document_name","=","``","Customer","reviews","''"],"366":["SELECT","T1.paragraph_text","FROM","Paragraphs","AS","T1","JOIN","Documents","AS","T2","ON","T1.document_id","=","T2.document_id","WHERE","T2.document_name","=","``","Customer","reviews","''"],"367":["SELECT","document_id",",","count","(","*",")","FROM","Paragraphs","GROUP","BY","document_id","ORDER","BY","document_id"],"368":["SELECT","document_id",",","count","(","*",")","FROM","Paragraphs","GROUP","BY","document_id","ORDER","BY","document_id"],"369":["SELECT","T1.document_id",",","T2.document_name",",","count","(","*",")","FROM","Paragraphs","AS","T1","JOIN","Documents","AS","T2","ON","T1.document_id","=","T2.document_id","GROUP","BY","T1.document_id"],"370":["SELECT","T1.document_id",",","T2.document_name",",","count","(","*",")","FROM","Paragraphs","AS","T1","JOIN","Documents","AS","T2","ON","T1.document_id","=","T2.document_id","GROUP","BY","T1.document_id"],"371":["SELECT","document_id","FROM","Paragraphs","GROUP","BY","document_id","HAVING","count","(","*",")",">","=","2"],"372":["SELECT","document_id","FROM","Paragraphs","GROUP","BY","document_id","HAVING","count","(","*",")",">","=","2"],"373":["SELECT","T1.document_id",",","T2.document_name","FROM","Paragraphs","AS","T1","JOIN","Documents","AS","T2","ON","T1.document_id","=","T2.document_id","GROUP","BY","T1.document_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"374":["SELECT","T1.document_id",",","T2.document_name","FROM","Paragraphs","AS","T1","JOIN","Documents","AS","T2","ON","T1.document_id","=","T2.document_id","GROUP","BY","T1.document_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"375":["SELECT","document_id","FROM","Paragraphs","GROUP","BY","document_id","ORDER","BY","count","(","*",")","ASC","LIMIT","1"],"376":["SELECT","document_id","FROM","Paragraphs","GROUP","BY","document_id","ORDER","BY","count","(","*",")","ASC","LIMIT","1"],"377":["SELECT","document_id","FROM","Paragraphs","GROUP","BY","document_id","HAVING","count","(","*",")","BETWEEN","1","AND","2"],"378":["SELECT","document_id","FROM","Paragraphs","GROUP","BY","document_id","HAVING","count","(","*",")","BETWEEN","1","AND","2"],"379":["SELECT","document_id","FROM","Paragraphs","WHERE","paragraph_text","=","'Brazil","'","INTERSECT","SELECT","document_id","FROM","Paragraphs","WHERE","paragraph_text","=","'Ireland","'"],"380":["SELECT","document_id","FROM","Paragraphs","WHERE","paragraph_text","=","'Brazil","'","INTERSECT","SELECT","document_id","FROM","Paragraphs","WHERE","paragraph_text","=","'Ireland","'"],"381":["SELECT","count","(","*",")","FROM","teacher"],"382":["SELECT","count","(","*",")","FROM","teacher"],"383":["SELECT","Name","FROM","teacher","ORDER","BY","Age","ASC"],"384":["SELECT","Name","FROM","teacher","ORDER","BY","Age","ASC"],"385":["SELECT","Age",",","Hometown","FROM","teacher"],"386":["SELECT","Age",",","Hometown","FROM","teacher"],"387":["select","name","from","teacher","where","hometown","!=","\"little lever urban district\""],"388":["select","name","from","teacher","where","hometown","!=","\"little lever urban district\""],"389":["SELECT","Name","FROM","teacher","WHERE","Age","=","32","OR","Age","=","33"],"390":["SELECT","Name","FROM","teacher","WHERE","Age","=","32","OR","Age","=","33"],"391":["SELECT","Hometown","FROM","teacher","ORDER","BY","Age","ASC","LIMIT","1"],"392":["SELECT","Hometown","FROM","teacher","ORDER","BY","Age","ASC","LIMIT","1"],"393":["SELECT","Hometown",",","COUNT","(","*",")","FROM","teacher","GROUP","BY","Hometown"],"394":["SELECT","Hometown",",","COUNT","(","*",")","FROM","teacher","GROUP","BY","Hometown"],"395":["SELECT","Hometown","FROM","teacher","GROUP","BY","Hometown","ORDER","BY","COUNT","(","*",")","DESC","LIMIT","1"],"396":["SELECT","Hometown","FROM","teacher","GROUP","BY","Hometown","ORDER","BY","COUNT","(","*",")","DESC","LIMIT","1"],"397":["SELECT","Hometown","FROM","teacher","GROUP","BY","Hometown","HAVING","COUNT","(","*",")",">","=","2"],"398":["SELECT","Hometown","FROM","teacher","GROUP","BY","Hometown","HAVING","COUNT","(","*",")",">","=","2"],"399":["SELECT","T3.Name",",","T2.Course","FROM","course_arrange","AS","T1","JOIN","course","AS","T2","ON","T1.Course_ID","=","T2.Course_ID","JOIN","teacher","AS","T3","ON","T1.Teacher_ID","=","T3.Teacher_ID"],"400":["SELECT","T3.Name",",","T2.Course","FROM","course_arrange","AS","T1","JOIN","course","AS","T2","ON","T1.Course_ID","=","T2.Course_ID","JOIN","teacher","AS","T3","ON","T1.Teacher_ID","=","T3.Teacher_ID"],"401":["SELECT","T3.Name",",","T2.Course","FROM","course_arrange","AS","T1","JOIN","course","AS","T2","ON","T1.Course_ID","=","T2.Course_ID","JOIN","teacher","AS","T3","ON","T1.Teacher_ID","=","T3.Teacher_ID","ORDER","BY","T3.Name"],"402":["SELECT","T3.Name",",","T2.Course","FROM","course_arrange","AS","T1","JOIN","course","AS","T2","ON","T1.Course_ID","=","T2.Course_ID","JOIN","teacher","AS","T3","ON","T1.Teacher_ID","=","T3.Teacher_ID","ORDER","BY","T3.Name"],"403":["SELECT","T3.Name","FROM","course_arrange","AS","T1","JOIN","course","AS","T2","ON","T1.Course_ID","=","T2.Course_ID","JOIN","teacher","AS","T3","ON","T1.Teacher_ID","=","T3.Teacher_ID","WHERE","T2.Course","=","``","Math","''"],"404":["SELECT","T3.Name","FROM","course_arrange","AS","T1","JOIN","course","AS","T2","ON","T1.Course_ID","=","T2.Course_ID","JOIN","teacher","AS","T3","ON","T1.Teacher_ID","=","T3.Teacher_ID","WHERE","T2.Course","=","``","Math","''"],"405":["SELECT","T2.Name",",","COUNT","(","*",")","FROM","course_arrange","AS","T1","JOIN","teacher","AS","T2","ON","T1.Teacher_ID","=","T2.Teacher_ID","GROUP","BY","T2.Name"],"406":["SELECT","T2.Name",",","COUNT","(","*",")","FROM","course_arrange","AS","T1","JOIN","teacher","AS","T2","ON","T1.Teacher_ID","=","T2.Teacher_ID","GROUP","BY","T2.Name"],"407":["SELECT","T2.Name","FROM","course_arrange","AS","T1","JOIN","teacher","AS","T2","ON","T1.Teacher_ID","=","T2.Teacher_ID","GROUP","BY","T2.Name","HAVING","COUNT","(","*",")",">","=","2"],"408":["SELECT","T2.Name","FROM","course_arrange","AS","T1","JOIN","teacher","AS","T2","ON","T1.Teacher_ID","=","T2.Teacher_ID","GROUP","BY","T2.Name","HAVING","COUNT","(","*",")",">","=","2"],"409":["SELECT","Name","FROM","teacher","WHERE","Teacher_id","NOT","IN","(","SELECT","Teacher_id","FROM","course_arrange",")"],"410":["SELECT","Name","FROM","teacher","WHERE","Teacher_id","NOT","IN","(","SELECT","Teacher_id","FROM","course_arrange",")"],"411":["SELECT","count","(","*",")","FROM","visitor","WHERE","age","<","30"],"412":["SELECT","name","FROM","visitor","WHERE","Level_of_membership",">","4","ORDER","BY","Level_of_membership","DESC"],"413":["SELECT","avg","(","age",")","FROM","visitor","WHERE","Level_of_membership","<","=","4"],"414":["SELECT","name",",","Level_of_membership","FROM","visitor","WHERE","Level_of_membership",">","4","ORDER","BY","age","DESC"],"415":["SELECT","museum_id",",","name","FROM","museum","ORDER","BY","num_of_staff","DESC","LIMIT","1"],"416":["SELECT","avg","(","num_of_staff",")","FROM","museum","WHERE","open_year","<","2009"],"417":["SELECT","Num_of_Staff",",","Open_Year","FROM","museum","WHERE","name","=","'Plaza","Museum","'"],"418":["SELECT","name","FROM","museum","WHERE","num_of_staff",">","(","SELECT","min","(","num_of_staff",")","FROM","museum","WHERE","open_year",">","2010",")"],"419":["SELECT","t1.id",",","t1.name",",","t1.age","FROM","visitor","AS","t1","JOIN","visit","AS","t2","ON","t1.id","=","t2.visitor_id","GROUP","BY","t1.id","HAVING","count","(","*",")",">","1"],"420":["SELECT","t2.visitor_id",",","t1.name",",","t1.Level_of_membership","FROM","visitor","AS","t1","JOIN","visit","AS","t2","ON","t1.id","=","t2.visitor_id","GROUP","BY","t2.visitor_id","ORDER","BY","sum","(","t2.Total_spent",")","DESC","LIMIT","1"],"421":["SELECT","t2.Museum_ID",",","t1.name","FROM","museum","AS","t1","JOIN","visit","AS","t2","ON","t1.Museum_ID","=","t2.Museum_ID","GROUP","BY","t2.Museum_ID","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"422":["SELECT","name","FROM","museum","WHERE","Museum_ID","NOT","IN","(","SELECT","museum_id","FROM","visit",")"],"423":["SELECT","t1.name",",","t1.age","FROM","visitor","AS","t1","JOIN","visit","AS","t2","ON","t1.id","=","t2.visitor_id","ORDER","BY","t2.num_of_ticket","DESC","LIMIT","1"],"424":["SELECT","avg","(","num_of_ticket",")",",","max","(","num_of_ticket",")","FROM","visit"],"425":["SELECT","sum","(","t2.Total_spent",")","FROM","visitor","AS","t1","JOIN","visit","AS","t2","ON","t1.id","=","t2.visitor_id","WHERE","t1.Level_of_membership","=","1"],"426":["SELECT","t1.name","FROM","visitor","AS","t1","JOIN","visit","AS","t2","ON","t1.id","=","t2.visitor_id","JOIN","museum","AS","t3","ON","t3.Museum_ID","=","t2.Museum_ID","WHERE","t3.open_year","<","2009","INTERSECT","SELECT","t1.name","FROM","visitor","AS","t1","JOIN","visit","AS","t2","ON","t1.id","=","t2.visitor_id","JOIN","museum","AS","t3","ON","t3.Museum_ID","=","t2.Museum_ID","WHERE","t3.open_year",">","2011"],"427":["SELECT","count","(","*",")","FROM","visitor","WHERE","id","NOT","IN","(","SELECT","t2.visitor_id","FROM","museum","AS","t1","JOIN","visit","AS","t2","ON","t1.Museum_ID","=","t2.Museum_ID","WHERE","t1.open_year",">","2010",")"],"428":["SELECT","count","(","*",")","FROM","museum","WHERE","open_year",">","2013","OR","open_year","<","2008"],"429":["SELECT","count","(","*",")","FROM","players"],"430":["SELECT","count","(","*",")","FROM","players"],"431":["SELECT","count","(","*",")","FROM","matches"],"432":["SELECT","count","(","*",")","FROM","matches"],"433":["SELECT","first_name",",","birth_date","FROM","players","WHERE","country_code","=","'USA","'"],"434":["SELECT","first_name",",","birth_date","FROM","players","WHERE","country_code","=","'USA","'"],"435":["SELECT","avg","(","loser_age",")",",","avg","(","winner_age",")","FROM","matches"],"436":["SELECT","avg","(","loser_age",")",",","avg","(","winner_age",")","FROM","matches"],"437":["SELECT","avg","(","winner_rank",")","FROM","matches"],"438":["SELECT","avg","(","winner_rank",")","FROM","matches"],"439":["SELECT","min","(","loser_rank",")","FROM","matches"],"440":["SELECT","min","(","loser_rank",")","FROM","matches"],"441":["SELECT","count","(","DISTINCT","country_code",")","FROM","players"],"442":["SELECT","count","(","DISTINCT","country_code",")","FROM","players"],"443":["SELECT","count","(","DISTINCT","loser_name",")","FROM","matches"],"444":["SELECT","count","(","DISTINCT","loser_name",")","FROM","matches"],"445":["SELECT","tourney_name","FROM","matches","GROUP","BY","tourney_name","HAVING","count","(","*",")",">","10"],"446":["SELECT","tourney_name","FROM","matches","GROUP","BY","tourney_name","HAVING","count","(","*",")",">","10"],"447":["SELECT","winner_name","FROM","matches","WHERE","YEAR","=","2013","INTERSECT","SELECT","winner_name","FROM","matches","WHERE","YEAR","=","2016"],"448":["SELECT","winner_name","FROM","matches","WHERE","YEAR","=","2013","INTERSECT","SELECT","winner_name","FROM","matches","WHERE","YEAR","=","2016"],"449":["SELECT","count","(","*",")","FROM","matches","WHERE","YEAR","=","2013","OR","YEAR","=","2016"],"450":["SELECT","count","(","*",")","FROM","matches","WHERE","YEAR","=","2013","OR","YEAR","=","2016"],"451":["SELECT","T1.country_code",",","T1.first_name","FROM","players","AS","T1","JOIN","matches","AS","T2","ON","T1.player_id","=","T2.winner_id","WHERE","T2.tourney_name","=","'WTA","Championships","'","INTERSECT","SELECT","T1.country_code",",","T1.first_name","FROM","players","AS","T1","JOIN","matches","AS","T2","ON","T1.player_id","=","T2.winner_id","WHERE","T2.tourney_name","=","'Australian","Open","'"],"452":["SELECT","T1.country_code",",","T1.first_name","FROM","players","AS","T1","JOIN","matches","AS","T2","ON","T1.player_id","=","T2.winner_id","WHERE","T2.tourney_name","=","'WTA","Championships","'","INTERSECT","SELECT","T1.country_code",",","T1.first_name","FROM","players","AS","T1","JOIN","matches","AS","T2","ON","T1.player_id","=","T2.winner_id","WHERE","T2.tourney_name","=","'Australian","Open","'"],"453":["SELECT","first_name",",","country_code","FROM","players","ORDER","BY","birth_date","LIMIT","1"],"454":["SELECT","first_name",",","country_code","FROM","players","ORDER","BY","birth_date","LIMIT","1"],"455":["SELECT","first_name",",","last_name","FROM","players","ORDER","BY","birth_date"],"456":["SELECT","first_name",",","last_name","FROM","players","ORDER","BY","birth_date"],"457":["SELECT","first_name",",","last_name","FROM","players","WHERE","hand","=","'L","'","ORDER","BY","birth_date"],"458":["SELECT","first_name",",","last_name","FROM","players","WHERE","hand","=","'L","'","ORDER","BY","birth_date"],"459":["SELECT","T1.country_code",",","T1.first_name","FROM","players","AS","T1","JOIN","rankings","AS","T2","ON","T1.player_id","=","T2.player_id","ORDER","BY","T2.tours","DESC","LIMIT","1"],"460":["SELECT","T1.country_code",",","T1.first_name","FROM","players","AS","T1","JOIN","rankings","AS","T2","ON","T1.player_id","=","T2.player_id","ORDER","BY","T2.tours","DESC","LIMIT","1"],"461":["SELECT","YEAR","FROM","matches","GROUP","BY","YEAR","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"462":["SELECT","YEAR","FROM","matches","GROUP","BY","YEAR","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"463":["SELECT","winner_name",",","winner_rank_points","FROM","matches","GROUP","BY","winner_name","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"464":["SELECT","winner_name",",","winner_rank_points","FROM","matches","GROUP","BY","winner_name","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"465":["SELECT","winner_name","FROM","matches","WHERE","tourney_name","=","'Australian","Open","'","ORDER","BY","winner_rank_points","DESC","LIMIT","1"],"466":["SELECT","winner_name","FROM","matches","WHERE","tourney_name","=","'Australian","Open","'","ORDER","BY","winner_rank_points","DESC","LIMIT","1"],"467":["SELECT","winner_name",",","loser_name","FROM","matches","ORDER","BY","minutes","DESC","LIMIT","1"],"468":["SELECT","winner_name",",","loser_name","FROM","matches","ORDER","BY","minutes","DESC","LIMIT","1"],"469":["SELECT","avg","(","ranking",")",",","T1.first_name","FROM","players","AS","T1","JOIN","rankings","AS","T2","ON","T1.player_id","=","T2.player_id","GROUP","BY","T1.first_name"],"470":["SELECT","avg","(","ranking",")",",","T1.first_name","FROM","players","AS","T1","JOIN","rankings","AS","T2","ON","T1.player_id","=","T2.player_id","GROUP","BY","T1.first_name"],"471":["SELECT","sum","(","ranking_points",")",",","T1.first_name","FROM","players","AS","T1","JOIN","rankings","AS","T2","ON","T1.player_id","=","T2.player_id","GROUP","BY","T1.first_name"],"472":["SELECT","sum","(","ranking_points",")",",","T1.first_name","FROM","players","AS","T1","JOIN","rankings","AS","T2","ON","T1.player_id","=","T2.player_id","GROUP","BY","T1.first_name"],"473":["SELECT","count","(","*",")",",","country_code","FROM","players","GROUP","BY","country_code"],"474":["SELECT","count","(","*",")",",","country_code","FROM","players","GROUP","BY","country_code"],"475":["SELECT","country_code","FROM","players","GROUP","BY","country_code","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"476":["SELECT","country_code","FROM","players","GROUP","BY","country_code","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"477":["SELECT","country_code","FROM","players","GROUP","BY","country_code","HAVING","count","(","*",")",">","50"],"478":["SELECT","country_code","FROM","players","GROUP","BY","country_code","HAVING","count","(","*",")",">","50"],"479":["SELECT","sum","(","tours",")",",","ranking_date","FROM","rankings","GROUP","BY","ranking_date"],"480":["SELECT","sum","(","tours",")",",","ranking_date","FROM","rankings","GROUP","BY","ranking_date"],"481":["SELECT","count","(","*",")",",","YEAR","FROM","matches","GROUP","BY","YEAR"],"482":["SELECT","count","(","*",")",",","YEAR","FROM","matches","GROUP","BY","YEAR"],"483":["SELECT","DISTINCT","winner_name",",","winner_rank","FROM","matches","ORDER","BY","winner_age","LIMIT","3"],"484":["SELECT","DISTINCT","winner_name",",","winner_rank","FROM","matches","ORDER","BY","winner_age","LIMIT","3"],"485":["SELECT","count","(","DISTINCT","winner_name",")","FROM","matches","WHERE","tourney_name","=","'WTA","Championships","'","AND","winner_hand","=","'L","'"],"486":["SELECT","count","(","DISTINCT","winner_name",")","FROM","matches","WHERE","tourney_name","=","'WTA","Championships","'","AND","winner_hand","=","'L","'"],"487":["SELECT","T1.first_name",",","T1.country_code",",","T1.birth_date","FROM","players","AS","T1","JOIN","matches","AS","T2","ON","T1.player_id","=","T2.winner_id","ORDER","BY","T2.winner_rank_points","DESC","LIMIT","1"],"488":["SELECT","T1.first_name",",","T1.country_code",",","T1.birth_date","FROM","players","AS","T1","JOIN","matches","AS","T2","ON","T1.player_id","=","T2.winner_id","ORDER","BY","T2.winner_rank_points","DESC","LIMIT","1"],"489":["SELECT","count","(","*",")",",","hand","FROM","players","GROUP","BY","hand"],"490":["SELECT","count","(","*",")",",","hand","FROM","players","GROUP","BY","hand"],"491":["SELECT","count","(","*",")","FROM","ship","WHERE","disposition_of_ship","=","'Captured","'"],"492":["SELECT","name",",","tonnage","FROM","ship","ORDER","BY","name","DESC"],"493":["SELECT","name",",","date","FROM","battle"],"494":["SELECT","max","(","killed",")",",","min","(","killed",")","FROM","death"],"495":["SELECT","avg","(","injured",")","FROM","death"],"496":["SELECT","T1.killed",",","T1.injured","FROM","death","AS","T1","JOIN","ship","AS","t2","ON","T1.caused_by_ship_id","=","T2.id","WHERE","T2.tonnage","=","'t","'"],"497":["SELECT","name",",","RESULT","FROM","battle","WHERE","bulgarian_commander","!","=","'Boril","'"],"498":["SELECT","DISTINCT","T1.id",",","T1.name","FROM","battle","AS","T1","JOIN","ship","AS","T2","ON","T1.id","=","T2.lost_in_battle","WHERE","T2.ship_type","=","'Brig","'"],"499":["SELECT","T1.id",",","T1.name","FROM","battle","AS","T1","JOIN","ship","AS","T2","ON","T1.id","=","T2.lost_in_battle","JOIN","death","AS","T3","ON","T2.id","=","T3.caused_by_ship_id","GROUP","BY","T1.id","HAVING","sum","(","T3.killed",")",">","10"],"500":["SELECT","T2.id",",","T2.name","FROM","death","AS","T1","JOIN","ship","AS","t2","ON","T1.caused_by_ship_id","=","T2.id","GROUP","BY","T2.id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"501":["SELECT","name","FROM","battle","WHERE","bulgarian_commander","=","'Kaloyan","'","AND","latin_commander","=","'Baldwin","I","'"],"502":["SELECT","count","(","DISTINCT","RESULT",")","FROM","battle"],"503":["SELECT","count","(","*",")","FROM","battle","WHERE","id","NOT","IN","(","SELECT","lost_in_battle","FROM","ship","WHERE","tonnage","=","'225","'",")",";"],"504":["SELECT","T1.name",",","T1.date","FROM","battle","AS","T1","JOIN","ship","AS","T2","ON","T1.id","=","T2.lost_in_battle","WHERE","T2.name","=","'Lettice","'","INTERSECT","SELECT","T1.name",",","T1.date","FROM","battle","AS","T1","JOIN","ship","AS","T2","ON","T1.id","=","T2.lost_in_battle","WHERE","T2.name","=","'HMS","Atalanta","'"],"505":["SELECT","name",",","RESULT",",","bulgarian_commander","FROM","battle","EXCEPT","SELECT","T1.name",",","T1.result",",","T1.bulgarian_commander","FROM","battle","AS","T1","JOIN","ship","AS","T2","ON","T1.id","=","T2.lost_in_battle","WHERE","T2.location","=","'English","Channel","'"],"506":["SELECT","note","FROM","death","WHERE","note","LIKE","'","%","East","%","'"],"507":["SELECT","line_1",",","line_2","FROM","addresses"],"508":["SELECT","line_1",",","line_2","FROM","addresses"],"509":["SELECT","count","(","*",")","FROM","Courses"],"510":["SELECT","count","(","*",")","FROM","Courses"],"511":["SELECT","course_description","FROM","Courses","WHERE","course_name","=","'math","'"],"512":["SELECT","course_description","FROM","Courses","WHERE","course_name","=","'math","'"],"513":["SELECT","zip_postcode","FROM","Addresses","WHERE","city","=","'Port","Chelsea","'"],"514":["SELECT","zip_postcode","FROM","Addresses","WHERE","city","=","'Port","Chelsea","'"],"515":["SELECT","T2.department_name",",","T1.department_id","FROM","Degree_Programs","AS","T1","JOIN","Departments","AS","T2","ON","T1.department_id","=","T2.department_id","GROUP","BY","T1.department_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"516":["select","t2.department_name",",","t1.department_id","from","degree_programs","as","t1","join","departments","as","t2","on","t1.department_id","=","t2.department_id","group","by","t1.department_id","order","by","count","(","*",")","desc","limit","1"],"517":["SELECT","count","(","DISTINCT","department_id",")","FROM","Degree_Programs"],"518":["SELECT","count","(","DISTINCT","department_id",")","FROM","Degree_Programs"],"519":["SELECT","count","(","DISTINCT","degree_summary_name",")","FROM","Degree_Programs"],"520":["SELECT","count","(","DISTINCT","degree_summary_name",")","FROM","Degree_Programs"],"521":["SELECT","count","(","*",")","FROM","Departments","AS","T1","JOIN","Degree_Programs","AS","T2","ON","T1.department_id","=","T2.department_id","WHERE","T1.department_name","=","'engineer","'"],"522":["SELECT","count","(","*",")","FROM","Departments","AS","T1","JOIN","Degree_Programs","AS","T2","ON","T1.department_id","=","T2.department_id","WHERE","T1.department_name","=","'engineer","'"],"523":["SELECT","section_name",",","section_description","FROM","Sections"],"524":["SELECT","section_name",",","section_description","FROM","Sections"],"525":["SELECT","T1.course_name",",","T1.course_id","FROM","Courses","AS","T1","JOIN","Sections","AS","T2","ON","T1.course_id","=","T2.course_id","GROUP","BY","T1.course_id","HAVING","count","(","*",")","<","=","2"],"526":["SELECT","T1.course_name",",","T1.course_id","FROM","Courses","AS","T1","JOIN","Sections","AS","T2","ON","T1.course_id","=","T2.course_id","GROUP","BY","T1.course_id","HAVING","count","(","*",")","<","=","2"],"527":["SELECT","section_name","FROM","Sections","ORDER","BY","section_name","DESC"],"528":["SELECT","section_name","FROM","Sections","ORDER","BY","section_name","DESC"],"529":["SELECT","T1.semester_name",",","T1.semester_id","FROM","Semesters","AS","T1","JOIN","Student_Enrolment","AS","T2","ON","T1.semester_id","=","T2.semester_id","GROUP","BY","T1.semester_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"530":["SELECT","T1.semester_name",",","T1.semester_id","FROM","Semesters","AS","T1","JOIN","Student_Enrolment","AS","T2","ON","T1.semester_id","=","T2.semester_id","GROUP","BY","T1.semester_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"531":["SELECT","department_description","FROM","Departments","WHERE","department_name","LIKE","'","%","computer","%","'"],"532":["SELECT","department_description","FROM","Departments","WHERE","department_name","LIKE","'","%","computer","%","'"],"533":["SELECT","T1.first_name",",","T1.middle_name",",","T1.last_name",",","T1.student_id","FROM","Students","AS","T1","JOIN","Student_Enrolment","AS","T2","ON","T1.student_id","=","T2.student_id","GROUP","BY","T1.student_id","HAVING","count","(","*",")","=","2"],"534":["SELECT","T1.first_name",",","T1.middle_name",",","T1.last_name",",","T1.student_id","FROM","Students","AS","T1","JOIN","Student_Enrolment","AS","T2","ON","T1.student_id","=","T2.student_id","GROUP","BY","T1.student_id","HAVING","count","(","*",")","=","2"],"535":["SELECT","DISTINCT","T1.first_name",",","T1.middle_name",",","T1.last_name","FROM","Students","AS","T1","JOIN","Student_Enrolment","AS","T2","ON","T1.student_id","=","T2.student_id","JOIN","Degree_Programs","AS","T3","ON","T2.degree_program_id","=","T3.degree_program_id","WHERE","T3.degree_summary_name","=","'Bachelor","'"],"536":["SELECT","DISTINCT","T1.first_name",",","T1.middle_name",",","T1.last_name","FROM","Students","AS","T1","JOIN","Student_Enrolment","AS","T2","ON","T1.student_id","=","T2.student_id","JOIN","Degree_Programs","AS","T3","ON","T2.degree_program_id","=","T3.degree_program_id","WHERE","T3.degree_summary_name","=","'Bachelor","'"],"537":["SELECT","T1.degree_summary_name","FROM","Degree_Programs","AS","T1","JOIN","Student_Enrolment","AS","T2","ON","T1.degree_program_id","=","T2.degree_program_id","GROUP","BY","T1.degree_summary_name","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"538":["SELECT","T1.degree_summary_name","FROM","Degree_Programs","AS","T1","JOIN","Student_Enrolment","AS","T2","ON","T1.degree_program_id","=","T2.degree_program_id","GROUP","BY","T1.degree_summary_name","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"539":["SELECT","T1.degree_program_id",",","T1.degree_summary_name","FROM","Degree_Programs","AS","T1","JOIN","Student_Enrolment","AS","T2","ON","T1.degree_program_id","=","T2.degree_program_id","GROUP","BY","T1.degree_program_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"540":["SELECT","T1.degree_program_id",",","T1.degree_summary_name","FROM","Degree_Programs","AS","T1","JOIN","Student_Enrolment","AS","T2","ON","T1.degree_program_id","=","T2.degree_program_id","GROUP","BY","T1.degree_program_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"541":["SELECT","T1.student_id",",","T1.first_name",",","T1.middle_name",",","T1.last_name",",","count","(","*",")",",","T1.student_id","FROM","Students","AS","T1","JOIN","Student_Enrolment","AS","T2","ON","T1.student_id","=","T2.student_id","GROUP","BY","T1.student_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"542":["SELECT","T1.student_id",",","T1.first_name",",","T1.middle_name",",","T1.last_name",",","count","(","*",")",",","T1.student_id","FROM","Students","AS","T1","JOIN","Student_Enrolment","AS","T2","ON","T1.student_id","=","T2.student_id","GROUP","BY","T1.student_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"543":["SELECT","semester_name","FROM","Semesters","WHERE","semester_id","NOT","IN","(","SELECT","semester_id","FROM","Student_Enrolment",")"],"544":["SELECT","semester_name","FROM","Semesters","WHERE","semester_id","NOT","IN","(","SELECT","semester_id","FROM","Student_Enrolment",")"],"545":["SELECT","DISTINCT","T1.course_name","FROM","Courses","AS","T1","JOIN","Student_Enrolment_Courses","AS","T2","ON","T1.course_id","=","T2.course_id"],"546":["SELECT","DISTINCT","T1.course_name","FROM","Courses","AS","T1","JOIN","Student_Enrolment_Courses","AS","T2","ON","T1.course_id","=","T2.course_id"],"547":["SELECT","T1.course_name","FROM","Courses","AS","T1","JOIN","Student_Enrolment_Courses","AS","T2","ON","T1.course_id","=","T2.course_id","GROUP","BY","T1.course_name","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"548":["SELECT","T1.course_name","FROM","Courses","AS","T1","JOIN","Student_Enrolment_Courses","AS","T2","ON","T1.course_id","=","T2.course_id","GROUP","BY","T1.course_name","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"549":["SELECT","T1.last_name","FROM","Students","AS","T1","JOIN","Addresses","AS","T2","ON","T1.current_address_id","=","T2.address_id","WHERE","T2.state_province_county","=","'NorthCarolina","'","EXCEPT","SELECT","DISTINCT","T3.last_name","FROM","Students","AS","T3","JOIN","Student_Enrolment","AS","T4","ON","T3.student_id","=","T4.student_id"],"550":["SELECT","T1.last_name","FROM","Students","AS","T1","JOIN","Addresses","AS","T2","ON","T1.current_address_id","=","T2.address_id","WHERE","T2.state_province_county","=","'NorthCarolina","'","EXCEPT","SELECT","DISTINCT","T3.last_name","FROM","Students","AS","T3","JOIN","Student_Enrolment","AS","T4","ON","T3.student_id","=","T4.student_id"],"551":["SELECT","T2.transcript_date",",","T1.transcript_id","FROM","Transcript_Contents","AS","T1","JOIN","Transcripts","AS","T2","ON","T1.transcript_id","=","T2.transcript_id","GROUP","BY","T1.transcript_id","HAVING","count","(","*",")",">","=","2"],"552":["SELECT","T2.transcript_date",",","T1.transcript_id","FROM","Transcript_Contents","AS","T1","JOIN","Transcripts","AS","T2","ON","T1.transcript_id","=","T2.transcript_id","GROUP","BY","T1.transcript_id","HAVING","count","(","*",")",">","=","2"],"553":["SELECT","cell_mobile_number","FROM","Students","WHERE","first_name","=","'Timmothy","'","AND","last_name","=","'Ward","'"],"554":["select","cell_mobile_number","from","students","where","first_name","=","\"timmothy\"","and","last_name","=","\"ward\""],"555":["SELECT","first_name",",","middle_name",",","last_name","FROM","Students","ORDER","BY","date_first_registered","ASC","LIMIT","1"],"556":["SELECT","first_name",",","middle_name",",","last_name","FROM","Students","ORDER","BY","date_first_registered","ASC","LIMIT","1"],"557":["SELECT","first_name",",","middle_name",",","last_name","FROM","Students","ORDER","BY","date_left","ASC","LIMIT","1"],"558":["SELECT","first_name",",","middle_name",",","last_name","FROM","Students","ORDER","BY","date_left","ASC","LIMIT","1"],"559":["SELECT","first_name","FROM","Students","WHERE","current_address_id","!","=","permanent_address_id"],"560":["SELECT","first_name","FROM","Students","WHERE","current_address_id","!","=","permanent_address_id"],"561":["SELECT","T1.address_id",",","T1.line_1",",","T1.line_2","FROM","Addresses","AS","T1","JOIN","Students","AS","T2","ON","T1.address_id","=","T2.current_address_id","GROUP","BY","T1.address_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"562":["SELECT","T1.address_id",",","T1.line_1",",","T1.line_2","FROM","Addresses","AS","T1","JOIN","Students","AS","T2","ON","T1.address_id","=","T2.current_address_id","GROUP","BY","T1.address_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"563":["SELECT","avg","(","transcript_date",")","FROM","Transcripts"],"564":["SELECT","avg","(","transcript_date",")","FROM","Transcripts"],"565":["SELECT","transcript_date",",","other_details","FROM","Transcripts","ORDER","BY","transcript_date","ASC","LIMIT","1"],"566":["SELECT","transcript_date",",","other_details","FROM","Transcripts","ORDER","BY","transcript_date","ASC","LIMIT","1"],"567":["SELECT","count","(","*",")","FROM","Transcripts"],"568":["SELECT","count","(","*",")","FROM","Transcripts"],"569":["SELECT","transcript_date","FROM","Transcripts","ORDER","BY","transcript_date","DESC","LIMIT","1"],"570":["SELECT","transcript_date","FROM","Transcripts","ORDER","BY","transcript_date","DESC","LIMIT","1"],"571":["SELECT","count","(","*",")",",","student_course_id","FROM","Transcript_Contents","GROUP","BY","student_course_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"572":["SELECT","count","(","*",")",",","student_course_id","FROM","Transcript_Contents","GROUP","BY","student_course_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"573":["SELECT","T2.transcript_date",",","T1.transcript_id","FROM","Transcript_Contents","AS","T1","JOIN","Transcripts","AS","T2","ON","T1.transcript_id","=","T2.transcript_id","GROUP","BY","T1.transcript_id","ORDER","BY","count","(","*",")","ASC","LIMIT","1"],"574":["SELECT","T2.transcript_date",",","T1.transcript_id","FROM","Transcript_Contents","AS","T1","JOIN","Transcripts","AS","T2","ON","T1.transcript_id","=","T2.transcript_id","GROUP","BY","T1.transcript_id","ORDER","BY","count","(","*",")","ASC","LIMIT","1"],"575":["SELECT","DISTINCT","T2.semester_id","FROM","Degree_Programs","AS","T1","JOIN","Student_Enrolment","AS","T2","ON","T1.degree_program_id","=","T2.degree_program_id","WHERE","degree_summary_name","=","'Master","'","INTERSECT","SELECT","DISTINCT","T2.semester_id","FROM","Degree_Programs","AS","T1","JOIN","Student_Enrolment","AS","T2","ON","T1.degree_program_id","=","T2.degree_program_id","WHERE","degree_summary_name","=","'Bachelor","'"],"576":["SELECT","DISTINCT","T2.semester_id","FROM","Degree_Programs","AS","T1","JOIN","Student_Enrolment","AS","T2","ON","T1.degree_program_id","=","T2.degree_program_id","WHERE","degree_summary_name","=","'Master","'","INTERSECT","SELECT","DISTINCT","T2.semester_id","FROM","Degree_Programs","AS","T1","JOIN","Student_Enrolment","AS","T2","ON","T1.degree_program_id","=","T2.degree_program_id","WHERE","degree_summary_name","=","'Bachelor","'"],"577":["SELECT","count","(","DISTINCT","current_address_id",")","FROM","Students"],"578":["SELECT","count","(","DISTINCT","current_address_id",")","FROM","Students"],"579":["SELECT","other_student_details","FROM","Students","ORDER","BY","other_student_details","DESC"],"580":["SELECT","other_student_details","FROM","Students","ORDER","BY","other_student_details","DESC"],"581":["SELECT","section_description","FROM","Sections","WHERE","section_name","=","'h","'"],"582":["SELECT","section_description","FROM","Sections","WHERE","section_name","=","'h","'"],"583":["select","t1.first_name","from","students","as","t1","join","addresses","as","t2","on","t1.permanent_address_id","=","t2.address_id","where","t2.country","=","\"haiti\"","or","t1.cell_mobile_number","=","\"09700166582\""],"584":["select","t1.first_name","from","students","as","t1","join","addresses","as","t2","on","t1.permanent_address_id","=","t2.address_id","where","t2.country","=","\"haiti\"","or","t1.cell_mobile_number","=","\"09700166582\""],"585":["SELECT","Title","FROM","Cartoon","ORDER","BY","title"],"586":["SELECT","Title","FROM","Cartoon","ORDER","BY","title"],"587":["SELECT","Title","FROM","Cartoon","WHERE","Directed_by","=","``","Ben","Jones","''",";"],"588":["SELECT","Title","FROM","Cartoon","WHERE","Directed_by","=","``","Ben","Jones","''",";"],"589":["SELECT","count","(","*",")","FROM","Cartoon","WHERE","Written_by","=","``","Joseph","Kuhr","''",";"],"590":["SELECT","count","(","*",")","FROM","Cartoon","WHERE","Written_by","=","``","Joseph","Kuhr","''",";"],"591":["SELECT","title",",","Directed_by","FROM","Cartoon","ORDER","BY","Original_air_date"],"592":["SELECT","title",",","Directed_by","FROM","Cartoon","ORDER","BY","Original_air_date"],"593":["SELECT","Title","FROM","Cartoon","WHERE","Directed_by","=","``","Ben","Jones","''","OR","Directed_by","=","``","Brandon","Vietti","''",";"],"594":["SELECT","Title","FROM","Cartoon","WHERE","Directed_by","=","``","Ben","Jones","''","OR","Directed_by","=","``","Brandon","Vietti","''",";"],"595":["SELECT","Country",",","count","(","*",")","FROM","TV_Channel","GROUP","BY","Country","ORDER","BY","count","(","*",")","DESC","LIMIT","1",";"],"596":["SELECT","Country",",","count","(","*",")","FROM","TV_Channel","GROUP","BY","Country","ORDER","BY","count","(","*",")","DESC","LIMIT","1",";"],"597":["SELECT","count","(","DISTINCT","series_name",")",",","count","(","DISTINCT","content",")","FROM","TV_Channel",";"],"598":["SELECT","count","(","DISTINCT","series_name",")",",","count","(","DISTINCT","content",")","FROM","TV_Channel",";"],"599":["SELECT","Content","FROM","TV_Channel","WHERE","series_name","=","``","Sky","Radio","''",";"],"600":["SELECT","Content","FROM","TV_Channel","WHERE","series_name","=","``","Sky","Radio","''",";"],"601":["SELECT","Package_Option","FROM","TV_Channel","WHERE","series_name","=","``","Sky","Radio","''",";"],"602":["SELECT","Package_Option","FROM","TV_Channel","WHERE","series_name","=","``","Sky","Radio","''",";"],"603":["SELECT","count","(","*",")","FROM","TV_Channel","WHERE","LANGUAGE","=","``","English","''",";"],"604":["SELECT","count","(","*",")","FROM","TV_Channel","WHERE","LANGUAGE","=","``","English","''",";"],"605":["SELECT","LANGUAGE",",","count","(","*",")","FROM","TV_Channel","GROUP","BY","LANGUAGE","ORDER","BY","count","(","*",")","ASC","LIMIT","1",";"],"606":["SELECT","LANGUAGE",",","count","(","*",")","FROM","TV_Channel","GROUP","BY","LANGUAGE","ORDER","BY","count","(","*",")","ASC","LIMIT","1",";"],"607":["SELECT","LANGUAGE",",","count","(","*",")","FROM","TV_Channel","GROUP","BY","LANGUAGE"],"608":["SELECT","LANGUAGE",",","count","(","*",")","FROM","TV_Channel","GROUP","BY","LANGUAGE"],"609":["SELECT","T1.series_name","FROM","TV_Channel","AS","T1","JOIN","Cartoon","AS","T2","ON","T1.id","=","T2.Channel","WHERE","T2.Title","=","``","The","Rise","of","the","Blue","Beetle","!","``",";"],"610":["SELECT","T1.series_name","FROM","TV_Channel","AS","T1","JOIN","Cartoon","AS","T2","ON","T1.id","=","T2.Channel","WHERE","T2.Title","=","``","The","Rise","of","the","Blue","Beetle","!","``",";"],"611":["SELECT","T2.Title","FROM","TV_Channel","AS","T1","JOIN","Cartoon","AS","T2","ON","T1.id","=","T2.Channel","WHERE","T1.series_name","=","``","Sky","Radio","''",";"],"612":["SELECT","T2.Title","FROM","TV_Channel","AS","T1","JOIN","Cartoon","AS","T2","ON","T1.id","=","T2.Channel","WHERE","T1.series_name","=","``","Sky","Radio","''",";"],"613":["SELECT","Episode","FROM","TV_series","ORDER","BY","rating"],"614":["SELECT","Episode","FROM","TV_series","ORDER","BY","rating"],"615":["SELECT","Episode",",","Rating","FROM","TV_series","ORDER","BY","Rating","DESC","LIMIT","3",";"],"616":["SELECT","Episode",",","Rating","FROM","TV_series","ORDER","BY","Rating","DESC","LIMIT","3",";"],"617":["SELECT","max","(","SHARE",")",",","min","(","SHARE",")","FROM","TV_series",";"],"618":["SELECT","max","(","SHARE",")",",","min","(","SHARE",")","FROM","TV_series",";"],"619":["SELECT","Air_Date","FROM","TV_series","WHERE","Episode","=","``","A","Love","of","a","Lifetime","''",";"],"620":["SELECT","Air_Date","FROM","TV_series","WHERE","Episode","=","``","A","Love","of","a","Lifetime","''",";"],"621":["SELECT","Weekly_Rank","FROM","TV_series","WHERE","Episode","=","``","A","Love","of","a","Lifetime","''",";"],"622":["SELECT","Weekly_Rank","FROM","TV_series","WHERE","Episode","=","``","A","Love","of","a","Lifetime","''",";"],"623":["SELECT","T1.series_name","FROM","TV_Channel","AS","T1","JOIN","TV_series","AS","T2","ON","T1.id","=","T2.Channel","WHERE","T2.Episode","=","``","A","Love","of","a","Lifetime","''",";"],"624":["SELECT","T1.series_name","FROM","TV_Channel","AS","T1","JOIN","TV_series","AS","T2","ON","T1.id","=","T2.Channel","WHERE","T2.Episode","=","``","A","Love","of","a","Lifetime","''",";"],"625":["SELECT","T2.Episode","FROM","TV_Channel","AS","T1","JOIN","TV_series","AS","T2","ON","T1.id","=","T2.Channel","WHERE","T1.series_name","=","``","Sky","Radio","''",";"],"626":["SELECT","T2.Episode","FROM","TV_Channel","AS","T1","JOIN","TV_series","AS","T2","ON","T1.id","=","T2.Channel","WHERE","T1.series_name","=","``","Sky","Radio","''",";"],"627":["SELECT","count","(","*",")",",","Directed_by","FROM","cartoon","GROUP","BY","Directed_by"],"628":["SELECT","count","(","*",")",",","Directed_by","FROM","cartoon","GROUP","BY","Directed_by"],"629":["select","production_code",",","channel","from","cartoon","order","by","original_air_date","desc","limit","1"],"630":["select","production_code",",","channel","from","cartoon","order","by","original_air_date","desc","limit","1"],"631":["SELECT","package_option",",","series_name","FROM","TV_Channel","WHERE","hight_definition_TV","=","``","yes","''"],"632":["SELECT","package_option",",","series_name","FROM","TV_Channel","WHERE","hight_definition_TV","=","``","yes","''"],"633":["SELECT","T1.country","FROM","TV_Channel","AS","T1","JOIN","cartoon","AS","T2","ON","T1.id","=","T2.Channel","WHERE","T2.written_by","=","'Todd","Casey","'"],"634":["SELECT","T1.country","FROM","TV_Channel","AS","T1","JOIN","cartoon","AS","T2","ON","T1.id","=","T2.Channel","WHERE","T2.written_by","=","'Todd","Casey","'"],"635":["SELECT","country","FROM","TV_Channel","EXCEPT","SELECT","T1.country","FROM","TV_Channel","AS","T1","JOIN","cartoon","AS","T2","ON","T1.id","=","T2.Channel","WHERE","T2.written_by","=","'Todd","Casey","'"],"636":["SELECT","country","FROM","TV_Channel","EXCEPT","SELECT","T1.country","FROM","TV_Channel","AS","T1","JOIN","cartoon","AS","T2","ON","T1.id","=","T2.Channel","WHERE","T2.written_by","=","'Todd","Casey","'"],"637":["SELECT","T1.series_name",",","T1.country","FROM","TV_Channel","AS","T1","JOIN","cartoon","AS","T2","ON","T1.id","=","T2.Channel","WHERE","T2.directed_by","=","'Michael","Chang","'","INTERSECT","SELECT","T1.series_name",",","T1.country","FROM","TV_Channel","AS","T1","JOIN","cartoon","AS","T2","ON","T1.id","=","T2.Channel","WHERE","T2.directed_by","=","'Ben","Jones","'"],"638":["SELECT","T1.series_name",",","T1.country","FROM","TV_Channel","AS","T1","JOIN","cartoon","AS","T2","ON","T1.id","=","T2.Channel","WHERE","T2.directed_by","=","'Michael","Chang","'","INTERSECT","SELECT","T1.series_name",",","T1.country","FROM","TV_Channel","AS","T1","JOIN","cartoon","AS","T2","ON","T1.id","=","T2.Channel","WHERE","T2.directed_by","=","'Ben","Jones","'"],"639":["SELECT","Pixel_aspect_ratio_PAR",",","country","FROM","tv_channel","WHERE","LANGUAGE","!","=","'English","'"],"640":["SELECT","Pixel_aspect_ratio_PAR",",","country","FROM","tv_channel","WHERE","LANGUAGE","!","=","'English","'"],"641":["SELECT","id","FROM","tv_channel","GROUP","BY","country","HAVING","count","(","*",")",">","2"],"642":["SELECT","id","FROM","tv_channel","GROUP","BY","country","HAVING","count","(","*",")",">","2"],"643":["SELECT","id","FROM","TV_Channel","EXCEPT","SELECT","channel","FROM","cartoon","WHERE","directed_by","=","'Ben","Jones","'"],"644":["SELECT","id","FROM","TV_Channel","EXCEPT","SELECT","channel","FROM","cartoon","WHERE","directed_by","=","'Ben","Jones","'"],"645":["SELECT","package_option","FROM","TV_Channel","WHERE","id","NOT","IN","(","SELECT","channel","FROM","cartoon","WHERE","directed_by","=","'Ben","Jones","'",")"],"646":["SELECT","package_option","FROM","TV_Channel","WHERE","id","NOT","IN","(","SELECT","channel","FROM","cartoon","WHERE","directed_by","=","'Ben","Jones","'",")"],"647":["SELECT","count","(","*",")","FROM","poker_player"],"648":["SELECT","count","(","*",")","FROM","poker_player"],"649":["SELECT","Earnings","FROM","poker_player","ORDER","BY","Earnings","DESC"],"650":["SELECT","Earnings","FROM","poker_player","ORDER","BY","Earnings","DESC"],"651":["SELECT","Final_Table_Made",",","Best_Finish","FROM","poker_player"],"652":["SELECT","Final_Table_Made",",","Best_Finish","FROM","poker_player"],"653":["SELECT","avg","(","Earnings",")","FROM","poker_player"],"654":["SELECT","avg","(","Earnings",")","FROM","poker_player"],"655":["SELECT","Money_Rank","FROM","poker_player","ORDER","BY","Earnings","DESC","LIMIT","1"],"656":["SELECT","Money_Rank","FROM","poker_player","ORDER","BY","Earnings","DESC","LIMIT","1"],"657":["SELECT","max","(","Final_Table_Made",")","FROM","poker_player","WHERE","Earnings","<","200000"],"658":["SELECT","max","(","Final_Table_Made",")","FROM","poker_player","WHERE","Earnings","<","200000"],"659":["SELECT","T1.Name","FROM","people","AS","T1","JOIN","poker_player","AS","T2","ON","T1.People_ID","=","T2.People_ID"],"660":["SELECT","T1.Name","FROM","people","AS","T1","JOIN","poker_player","AS","T2","ON","T1.People_ID","=","T2.People_ID"],"661":["SELECT","T1.Name","FROM","people","AS","T1","JOIN","poker_player","AS","T2","ON","T1.People_ID","=","T2.People_ID","WHERE","T2.Earnings",">","300000"],"662":["SELECT","T1.Name","FROM","people","AS","T1","JOIN","poker_player","AS","T2","ON","T1.People_ID","=","T2.People_ID","WHERE","T2.Earnings",">","300000"],"663":["SELECT","T1.Name","FROM","people","AS","T1","JOIN","poker_player","AS","T2","ON","T1.People_ID","=","T2.People_ID","ORDER","BY","T2.Final_Table_Made"],"664":["SELECT","T1.Name","FROM","people","AS","T1","JOIN","poker_player","AS","T2","ON","T1.People_ID","=","T2.People_ID","ORDER","BY","T2.Final_Table_Made"],"665":["SELECT","T1.Birth_Date","FROM","people","AS","T1","JOIN","poker_player","AS","T2","ON","T1.People_ID","=","T2.People_ID","ORDER","BY","T2.Earnings","ASC","LIMIT","1"],"666":["SELECT","T1.Birth_Date","FROM","people","AS","T1","JOIN","poker_player","AS","T2","ON","T1.People_ID","=","T2.People_ID","ORDER","BY","T2.Earnings","ASC","LIMIT","1"],"667":["SELECT","T2.Money_Rank","FROM","people","AS","T1","JOIN","poker_player","AS","T2","ON","T1.People_ID","=","T2.People_ID","ORDER","BY","T1.Height","DESC","LIMIT","1"],"668":["SELECT","T2.Money_Rank","FROM","people","AS","T1","JOIN","poker_player","AS","T2","ON","T1.People_ID","=","T2.People_ID","ORDER","BY","T1.Height","DESC","LIMIT","1"],"669":["SELECT","avg","(","T2.Earnings",")","FROM","people","AS","T1","JOIN","poker_player","AS","T2","ON","T1.People_ID","=","T2.People_ID","WHERE","T1.Height",">","200"],"670":["SELECT","avg","(","T2.Earnings",")","FROM","people","AS","T1","JOIN","poker_player","AS","T2","ON","T1.People_ID","=","T2.People_ID","WHERE","T1.Height",">","200"],"671":["SELECT","T1.Name","FROM","people","AS","T1","JOIN","poker_player","AS","T2","ON","T1.People_ID","=","T2.People_ID","ORDER","BY","T2.Earnings","DESC"],"672":["SELECT","T1.Name","FROM","people","AS","T1","JOIN","poker_player","AS","T2","ON","T1.People_ID","=","T2.People_ID","ORDER","BY","T2.Earnings","DESC"],"673":["SELECT","Nationality",",","COUNT","(","*",")","FROM","people","GROUP","BY","Nationality"],"674":["SELECT","Nationality",",","COUNT","(","*",")","FROM","people","GROUP","BY","Nationality"],"675":["SELECT","Nationality","FROM","people","GROUP","BY","Nationality","ORDER","BY","COUNT","(","*",")","DESC","LIMIT","1"],"676":["SELECT","Nationality","FROM","people","GROUP","BY","Nationality","ORDER","BY","COUNT","(","*",")","DESC","LIMIT","1"],"677":["SELECT","Nationality","FROM","people","GROUP","BY","Nationality","HAVING","COUNT","(","*",")",">","=","2"],"678":["SELECT","Nationality","FROM","people","GROUP","BY","Nationality","HAVING","COUNT","(","*",")",">","=","2"],"679":["SELECT","Name",",","Birth_Date","FROM","people","ORDER","BY","Name","ASC"],"680":["SELECT","Name",",","Birth_Date","FROM","people","ORDER","BY","Name","ASC"],"681":["SELECT","Name","FROM","people","WHERE","Nationality","!","=","``","Russia","''"],"682":["SELECT","Name","FROM","people","WHERE","Nationality","!","=","``","Russia","''"],"683":["SELECT","Name","FROM","people","WHERE","People_ID","NOT","IN","(","SELECT","People_ID","FROM","poker_player",")"],"684":["SELECT","Name","FROM","people","WHERE","People_ID","NOT","IN","(","SELECT","People_ID","FROM","poker_player",")"],"685":["SELECT","count","(","DISTINCT","Nationality",")","FROM","people"],"686":["SELECT","count","(","DISTINCT","Nationality",")","FROM","people"],"687":["SELECT","count","(","*",")","FROM","area_code_state"],"688":["SELECT","contestant_number",",","contestant_name","FROM","contestants","ORDER","BY","contestant_name","DESC"],"689":["SELECT","vote_id",",","phone_number",",","state","FROM","votes"],"690":["SELECT","max","(","area_code",")",",","min","(","area_code",")","FROM","area_code_state"],"691":["SELECT","max","(","created",")","FROM","votes","WHERE","state","=","'CA","'"],"692":["SELECT","contestant_name","FROM","contestants","WHERE","contestant_name","!","=","'Jessie","Alloway","'"],"693":["SELECT","DISTINCT","state",",","created","FROM","votes"],"694":["SELECT","T1.contestant_number",",","T1.contestant_name","FROM","contestants","AS","T1","JOIN","votes","AS","T2","ON","T1.contestant_number","=","T2.contestant_number","GROUP","BY","T1.contestant_number","HAVING","count","(","*",")",">","=","2"],"695":["SELECT","T1.contestant_number",",","T1.contestant_name","FROM","contestants","AS","T1","JOIN","votes","AS","T2","ON","T1.contestant_number","=","T2.contestant_number","GROUP","BY","T1.contestant_number","ORDER","BY","count","(","*",")","ASC","LIMIT","1"],"696":["SELECT","count","(","*",")","FROM","votes","WHERE","state","=","'NY","'","OR","state","=","'CA","'"],"697":["SELECT","count","(","*",")","FROM","contestants","WHERE","contestant_number","NOT","IN","(","SELECT","contestant_number","FROM","votes",")"],"698":["SELECT","T1.area_code","FROM","area_code_state","AS","T1","JOIN","votes","AS","T2","ON","T1.state","=","T2.state","GROUP","BY","T1.area_code","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"699":["SELECT","T2.created",",","T2.state",",","T2.phone_number","FROM","contestants","AS","T1","JOIN","votes","AS","T2","ON","T1.contestant_number","=","T2.contestant_number","WHERE","T1.contestant_name","=","'Tabatha","Gehling","'"],"700":["SELECT","T3.area_code","FROM","contestants","AS","T1","JOIN","votes","AS","T2","ON","T1.contestant_number","=","T2.contestant_number","JOIN","area_code_state","AS","T3","ON","T2.state","=","T3.state","WHERE","T1.contestant_name","=","'Tabatha","Gehling","'","INTERSECT","SELECT","T3.area_code","FROM","contestants","AS","T1","JOIN","votes","AS","T2","ON","T1.contestant_number","=","T2.contestant_number","JOIN","area_code_state","AS","T3","ON","T2.state","=","T3.state","WHERE","T1.contestant_name","=","'Kelly","Clauss","'"],"701":["select","contestant_name","from","contestants","where","contestant_name","like","\"%al%\""],"702":["SELECT","Name","FROM","country","WHERE","IndepYear",">","1950"],"703":["SELECT","Name","FROM","country","WHERE","IndepYear",">","1950"],"704":["SELECT","count","(","*",")","FROM","country","WHERE","GovernmentForm","=","``","Republic","''"],"705":["SELECT","count","(","*",")","FROM","country","WHERE","GovernmentForm","=","``","Republic","''"],"706":["SELECT","sum","(","SurfaceArea",")","FROM","country","WHERE","Region","=","``","Caribbean","''"],"707":["SELECT","sum","(","SurfaceArea",")","FROM","country","WHERE","Region","=","``","Caribbean","''"],"708":["SELECT","Continent","FROM","country","WHERE","Name","=","``","Anguilla","''"],"709":["SELECT","Continent","FROM","country","WHERE","Name","=","``","Anguilla","''"],"710":["SELECT","Region","FROM","country","AS","T1","JOIN","city","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T2.Name","=","``","Kabul","''"],"711":["SELECT","Region","FROM","country","AS","T1","JOIN","city","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T2.Name","=","``","Kabul","''"],"712":["SELECT","T2.Language","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T1.Name","=","``","Aruba","''","ORDER","BY","Percentage","DESC","LIMIT","1"],"713":["SELECT","T2.Language","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T1.Name","=","``","Aruba","''","ORDER","BY","Percentage","DESC","LIMIT","1"],"714":["SELECT","Population",",","LifeExpectancy","FROM","country","WHERE","Name","=","``","Brazil","''"],"715":["SELECT","Population",",","LifeExpectancy","FROM","country","WHERE","Name","=","``","Brazil","''"],"716":["SELECT","Population",",","Region","FROM","country","WHERE","Name","=","``","Angola","''"],"717":["SELECT","Population",",","Region","FROM","country","WHERE","Name","=","``","Angola","''"],"718":["SELECT","avg","(","LifeExpectancy",")","FROM","country","WHERE","Region","=","``","Central","Africa","''"],"719":["SELECT","avg","(","LifeExpectancy",")","FROM","country","WHERE","Region","=","``","Central","Africa","''"],"720":["SELECT","Name","FROM","country","WHERE","Continent","=","``","Asia","''","ORDER","BY","LifeExpectancy","LIMIT","1"],"721":["SELECT","Name","FROM","country","WHERE","Continent","=","``","Asia","''","ORDER","BY","LifeExpectancy","LIMIT","1"],"722":["SELECT","sum","(","Population",")",",","max","(","GNP",")","FROM","country","WHERE","Continent","=","``","Asia","''"],"723":["SELECT","sum","(","Population",")",",","max","(","GNP",")","FROM","country","WHERE","Continent","=","``","Asia","''"],"724":["SELECT","avg","(","LifeExpectancy",")","FROM","country","WHERE","Continent","=","``","Africa","''","AND","GovernmentForm","=","``","Republic","''"],"725":["SELECT","avg","(","LifeExpectancy",")","FROM","country","WHERE","Continent","=","``","Africa","''","AND","GovernmentForm","=","``","Republic","''"],"726":["SELECT","sum","(","SurfaceArea",")","FROM","country","WHERE","Continent","=","``","Asia","''","OR","Continent","=","``","Europe","''"],"727":["SELECT","sum","(","SurfaceArea",")","FROM","country","WHERE","Continent","=","``","Asia","''","OR","Continent","=","``","Europe","''"],"728":["SELECT","sum","(","Population",")","FROM","city","WHERE","District","=","``","Gelderland","''"],"729":["SELECT","sum","(","Population",")","FROM","city","WHERE","District","=","``","Gelderland","''"],"730":["SELECT","avg","(","GNP",")",",","sum","(","population",")","FROM","country","WHERE","GovernmentForm","=","``","US","Territory","''"],"731":["SELECT","avg","(","GNP",")",",","sum","(","population",")","FROM","country","WHERE","GovernmentForm","=","``","US","Territory","''"],"732":["SELECT","count","(","DISTINCT","LANGUAGE",")","FROM","countrylanguage"],"733":["SELECT","count","(","DISTINCT","LANGUAGE",")","FROM","countrylanguage"],"734":["SELECT","count","(","DISTINCT","GovernmentForm",")","FROM","country","WHERE","Continent","=","``","Africa","''"],"735":["SELECT","count","(","DISTINCT","GovernmentForm",")","FROM","country","WHERE","Continent","=","``","Africa","''"],"736":["SELECT","COUNT","(","T2.Language",")","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T1.Name","=","``","Aruba","''"],"737":["SELECT","COUNT","(","T2.Language",")","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T1.Name","=","``","Aruba","''"],"738":["SELECT","COUNT","(","*",")","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T1.Name","=","``","Afghanistan","''","AND","IsOfficial","=","``","T","''"],"739":["SELECT","COUNT","(","*",")","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T1.Name","=","``","Afghanistan","''","AND","IsOfficial","=","``","T","''"],"740":["SELECT","T1.Name","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","GROUP","BY","T1.Name","ORDER","BY","COUNT","(","*",")","DESC","LIMIT","1"],"741":["SELECT","T1.Name","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","GROUP","BY","T1.Name","ORDER","BY","COUNT","(","*",")","DESC","LIMIT","1"],"742":["SELECT","T1.Continent","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","GROUP","BY","T1.Continent","ORDER","BY","COUNT","(","*",")","DESC","LIMIT","1"],"743":["SELECT","T1.Continent","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","GROUP","BY","T1.Continent","ORDER","BY","COUNT","(","*",")","DESC","LIMIT","1"],"744":["SELECT","COUNT","(","*",")","FROM","(","SELECT","T1.Name","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T2.Language","=","``","English","''","INTERSECT","SELECT","T1.Name","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T2.Language","=","``","Dutch","''",")"],"745":["SELECT","COUNT","(","*",")","FROM","(","SELECT","T1.Name","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T2.Language","=","``","English","''","INTERSECT","SELECT","T1.Name","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T2.Language","=","``","Dutch","''",")"],"746":["SELECT","T1.Name","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T2.Language","=","``","English","''","INTERSECT","SELECT","T1.Name","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T2.Language","=","``","French","''"],"747":["SELECT","T1.Name","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T2.Language","=","``","English","''","INTERSECT","SELECT","T1.Name","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T2.Language","=","``","French","''"],"748":["SELECT","T1.Name","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T2.Language","=","``","English","''","AND","T2.IsOfficial","=","``","T","''","INTERSECT","SELECT","T1.Name","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T2.Language","=","``","French","''","AND","T2.IsOfficial","=","``","T","''"],"749":["SELECT","T1.Name","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T2.Language","=","``","English","''","AND","T2.IsOfficial","=","``","T","''","INTERSECT","SELECT","T1.Name","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T2.Language","=","``","French","''","AND","T2.IsOfficial","=","``","T","''"],"750":["SELECT","COUNT","(","DISTINCT","Continent",")","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T2.Language","=","``","Chinese","''"],"751":["SELECT","COUNT","(","DISTINCT","Continent",")","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T2.Language","=","``","Chinese","''"],"752":["SELECT","DISTINCT","T1.Region","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T2.Language","=","``","English","''","OR","T2.Language","=","``","Dutch","''"],"753":["SELECT","DISTINCT","T1.Region","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T2.Language","=","``","English","''","OR","T2.Language","=","``","Dutch","''"],"754":["select","t1.name","from","country","as","t1","join","countrylanguage","as","t2","on","t1.code","=","t2.countrycode","where","t2.language","=","\"english\"","and","isofficial","=","\"t\"","union","select","t1.name","from","country","as","t1","join","countrylanguage","as","t2","on","t1.code","=","t2.countrycode","where","t2.language","=","\"dutch\"","and","isofficial","=","\"t\""],"755":["SELECT","*","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T2.Language","=","``","English","''","AND","IsOfficial","=","``","T","''","UNION","SELECT","*","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T2.Language","=","``","Dutch","''","AND","IsOfficial","=","``","T","''"],"756":["SELECT","T2.Language","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T1.Continent","=","``","Asia","''","GROUP","BY","T2.Language","ORDER","BY","COUNT","(","*",")","DESC","LIMIT","1"],"757":["SELECT","T2.Language","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T1.Continent","=","``","Asia","''","GROUP","BY","T2.Language","ORDER","BY","COUNT","(","*",")","DESC","LIMIT","1"],"758":["SELECT","T2.Language","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T1.GovernmentForm","=","``","Republic","''","GROUP","BY","T2.Language","HAVING","COUNT","(","*",")","=","1"],"759":["SELECT","T2.Language","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T1.GovernmentForm","=","``","Republic","''","GROUP","BY","T2.Language","HAVING","COUNT","(","*",")","=","1"],"760":["SELECT","T1.Name",",","T1.Population","FROM","city","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.CountryCode","=","T2.CountryCode","WHERE","T2.Language","=","``","English","''","ORDER","BY","T1.Population","DESC","LIMIT","1"],"761":["SELECT","T1.Name",",","T1.Population","FROM","city","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.CountryCode","=","T2.CountryCode","WHERE","T2.Language","=","``","English","''","ORDER","BY","T1.Population","DESC","LIMIT","1"],"762":["SELECT","Name",",","Population",",","LifeExpectancy","FROM","country","WHERE","Continent","=","``","Asia","''","ORDER","BY","SurfaceArea","DESC","LIMIT","1"],"763":["SELECT","Name",",","Population",",","LifeExpectancy","FROM","country","WHERE","Continent","=","``","Asia","''","ORDER","BY","SurfaceArea","DESC","LIMIT","1"],"764":["SELECT","avg","(","LifeExpectancy",")","FROM","country","WHERE","Name","NOT","IN","(","SELECT","T1.Name","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T2.Language","=","``","English","''","AND","T2.IsOfficial","=","``","T","''",")"],"765":["SELECT","avg","(","LifeExpectancy",")","FROM","country","WHERE","Name","NOT","IN","(","SELECT","T1.Name","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T2.Language","=","``","English","''","AND","T2.IsOfficial","=","``","T","''",")"],"766":["SELECT","sum","(","Population",")","FROM","country","WHERE","Name","NOT","IN","(","SELECT","T1.Name","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T2.Language","=","``","English","''",")"],"767":["SELECT","sum","(","Population",")","FROM","country","WHERE","Name","NOT","IN","(","SELECT","T1.Name","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T2.Language","=","``","English","''",")"],"768":["SELECT","T2.Language","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T1.HeadOfState","=","``","Beatrix","''","AND","T2.IsOfficial","=","``","T","''"],"769":["SELECT","T2.Language","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","T1.HeadOfState","=","``","Beatrix","''","AND","T2.IsOfficial","=","``","T","''"],"770":["SELECT","count","(","DISTINCT","T2.Language",")","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","IndepYear","<","1930","AND","T2.IsOfficial","=","``","T","''"],"771":["SELECT","count","(","DISTINCT","T2.Language",")","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","WHERE","IndepYear","<","1930","AND","T2.IsOfficial","=","``","T","''"],"772":["SELECT","Name","FROM","country","WHERE","SurfaceArea",">","(","SELECT","min","(","SurfaceArea",")","FROM","country","WHERE","Continent","=","``","Europe","''",")"],"773":["SELECT","Name","FROM","country","WHERE","SurfaceArea",">","(","SELECT","min","(","SurfaceArea",")","FROM","country","WHERE","Continent","=","``","Europe","''",")"],"774":["SELECT","Name","FROM","country","WHERE","Continent","=","``","Africa","''","AND","population","<","(","SELECT","max","(","population",")","FROM","country","WHERE","Continent","=","``","Asia","''",")"],"775":["SELECT","Name","FROM","country","WHERE","Continent","=","``","Africa","''","AND","population","<","(","SELECT","min","(","population",")","FROM","country","WHERE","Continent","=","``","Asia","''",")"],"776":["SELECT","Name","FROM","country","WHERE","Continent","=","``","Asia","''","AND","population",">","(","SELECT","max","(","population",")","FROM","country","WHERE","Continent","=","``","Africa","''",")"],"777":["SELECT","Name","FROM","country","WHERE","Continent","=","``","Asia","''","AND","population",">","(","SELECT","min","(","population",")","FROM","country","WHERE","Continent","=","``","Africa","''",")"],"778":["SELECT","CountryCode","FROM","countrylanguage","EXCEPT","SELECT","CountryCode","FROM","countrylanguage","WHERE","LANGUAGE","=","``","English","''"],"779":["SELECT","CountryCode","FROM","countrylanguage","EXCEPT","SELECT","CountryCode","FROM","countrylanguage","WHERE","LANGUAGE","=","``","English","''"],"780":["SELECT","DISTINCT","CountryCode","FROM","countrylanguage","WHERE","LANGUAGE","!","=","``","English","''"],"781":["SELECT","DISTINCT","CountryCode","FROM","countrylanguage","WHERE","LANGUAGE","!","=","``","English","''"],"782":["SELECT","Code","FROM","country","WHERE","GovernmentForm","!","=","``","Republic","''","EXCEPT","SELECT","CountryCode","FROM","countrylanguage","WHERE","LANGUAGE","=","``","English","''"],"783":["SELECT","Code","FROM","country","WHERE","GovernmentForm","!","=","``","Republic","''","EXCEPT","SELECT","CountryCode","FROM","countrylanguage","WHERE","LANGUAGE","=","``","English","''"],"784":["SELECT","DISTINCT","T2.Name","FROM","country","AS","T1","JOIN","city","AS","T2","ON","T2.CountryCode","=","T1.Code","WHERE","T1.Continent","=","'Europe","'","AND","T1.Name","NOT","IN","(","SELECT","T3.Name","FROM","country","AS","T3","JOIN","countrylanguage","AS","T4","ON","T3.Code","=","T4.CountryCode","WHERE","T4.IsOfficial","=","'T","'","AND","T4.Language","=","'English","'",")"],"785":["SELECT","DISTINCT","T2.Name","FROM","country","AS","T1","JOIN","city","AS","T2","ON","T2.CountryCode","=","T1.Code","WHERE","T1.Continent","=","'Europe","'","AND","T1.Name","NOT","IN","(","SELECT","T3.Name","FROM","country","AS","T3","JOIN","countrylanguage","AS","T4","ON","T3.Code","=","T4.CountryCode","WHERE","T4.IsOfficial","=","'T","'","AND","T4.Language","=","'English","'",")"],"786":["select","distinct","t3.name","from","country","as","t1","join","countrylanguage","as","t2","on","t1.code","=","t2.countrycode","join","city","as","t3","on","t1.code","=","t3.countrycode","where","t2.isofficial","=","\"t\"","and","t2.language","=","\"chinese\"","and","t1.continent","=","\"asia\""],"787":["SELECT","DISTINCT","T3.Name","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","JOIN","city","AS","T3","ON","T1.Code","=","T3.CountryCode","WHERE","T2.IsOfficial","=","'T","'","AND","T2.Language","=","'Chinese","'","AND","T1.Continent","=","``","Asia","''"],"788":["SELECT","Name",",","SurfaceArea",",","IndepYear","FROM","country","ORDER","BY","Population","LIMIT","1"],"789":["SELECT","Name",",","SurfaceArea",",","IndepYear","FROM","country","ORDER","BY","Population","LIMIT","1"],"790":["SELECT","Name",",","population",",","HeadOfState","FROM","country","ORDER","BY","SurfaceArea","DESC","LIMIT","1"],"791":["SELECT","Name",",","population",",","HeadOfState","FROM","country","ORDER","BY","SurfaceArea","DESC","LIMIT","1"],"792":["SELECT","COUNT","(","T2.Language",")",",","T1.Name","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","GROUP","BY","T1.Name","HAVING","COUNT","(","*",")",">","2"],"793":["SELECT","COUNT","(","T2.Language",")",",","T1.Name","FROM","country","AS","T1","JOIN","countrylanguage","AS","T2","ON","T1.Code","=","T2.CountryCode","GROUP","BY","T1.Name","HAVING","COUNT","(","*",")",">","2"],"794":["SELECT","count","(","*",")",",","District","FROM","city","WHERE","Population",">","(","SELECT","avg","(","Population",")","FROM","city",")","GROUP","BY","District"],"795":["SELECT","count","(","*",")",",","District","FROM","city","WHERE","Population",">","(","SELECT","avg","(","Population",")","FROM","city",")","GROUP","BY","District"],"796":["SELECT","sum","(","Population",")",",","GovernmentForm","FROM","country","GROUP","BY","GovernmentForm","HAVING","avg","(","LifeExpectancy",")",">","72"],"797":["SELECT","sum","(","Population",")",",","GovernmentForm","FROM","country","GROUP","BY","GovernmentForm","HAVING","avg","(","LifeExpectancy",")",">","72"],"798":["SELECT","sum","(","Population",")",",","avg","(","LifeExpectancy",")",",","Continent","FROM","country","GROUP","BY","Continent","HAVING","avg","(","LifeExpectancy",")","<","72"],"799":["SELECT","sum","(","Population",")",",","avg","(","LifeExpectancy",")",",","Continent","FROM","country","GROUP","BY","Continent","HAVING","avg","(","LifeExpectancy",")","<","72"],"800":["SELECT","Name",",","SurfaceArea","FROM","country","ORDER","BY","SurfaceArea","DESC","LIMIT","5"],"801":["SELECT","Name",",","SurfaceArea","FROM","country","ORDER","BY","SurfaceArea","DESC","LIMIT","5"],"802":["SELECT","Name","FROM","country","ORDER","BY","Population","DESC","LIMIT","3"],"803":["SELECT","Name","FROM","country","ORDER","BY","Population","DESC","LIMIT","3"],"804":["SELECT","Name","FROM","country","ORDER","BY","Population","ASC","LIMIT","3"],"805":["SELECT","Name","FROM","country","ORDER","BY","Population","ASC","LIMIT","3"],"806":["SELECT","count","(","*",")","FROM","country","WHERE","continent","=","``","Asia","''"],"807":["SELECT","count","(","*",")","FROM","country","WHERE","continent","=","``","Asia","''"],"808":["SELECT","Name","FROM","country","WHERE","continent","=","``","Europe","''","AND","Population","=","``","80000","''"],"809":["SELECT","Name","FROM","country","WHERE","continent","=","``","Europe","''","AND","Population","=","``","80000","''"],"810":["select","sum","(","population",")",",","avg","(","surfacearea",")","from","country","where","continent","=","\"north america\"","and","surfacearea",">","3000"],"811":["select","sum","(","population",")",",","avg","(","surfacearea",")","from","country","where","continent","=","\"north america\"","and","surfacearea",">","3000"],"812":["SELECT","name","FROM","city","WHERE","Population","BETWEEN","160000","AND","900000"],"813":["select","name","from","city","where","population","between","160000","and","900000"],"814":["SELECT","LANGUAGE","FROM","countrylanguage","GROUP","BY","LANGUAGE","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"815":["SELECT","LANGUAGE","FROM","countrylanguage","GROUP","BY","LANGUAGE","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"816":["SELECT","LANGUAGE",",","CountryCode",",","max","(","Percentage",")","FROM","countrylanguage","GROUP","BY","CountryCode"],"817":["SELECT","LANGUAGE",",","CountryCode",",","max","(","Percentage",")","FROM","countrylanguage","GROUP","BY","CountryCode"],"818":["SELECT","count","(","*",")",",","max","(","Percentage",")","FROM","countrylanguage","WHERE","LANGUAGE","=","``","Spanish","''","GROUP","BY","CountryCode"],"819":["SELECT","count","(","*",")",",","max","(","Percentage",")","FROM","countrylanguage","WHERE","LANGUAGE","=","``","Spanish","''","GROUP","BY","CountryCode"],"820":["SELECT","CountryCode",",","max","(","Percentage",")","FROM","countrylanguage","WHERE","LANGUAGE","=","``","Spanish","''","GROUP","BY","CountryCode"],"821":["SELECT","CountryCode",",","max","(","Percentage",")","FROM","countrylanguage","WHERE","LANGUAGE","=","``","Spanish","''","GROUP","BY","CountryCode"],"822":["SELECT","count","(","*",")","FROM","conductor"],"823":["SELECT","count","(","*",")","FROM","conductor"],"824":["SELECT","Name","FROM","conductor","ORDER","BY","Age","ASC"],"825":["SELECT","Name","FROM","conductor","ORDER","BY","Age","ASC"],"826":["SELECT","Name","FROM","conductor","WHERE","Nationality","!","=","'USA","'"],"827":["SELECT","Name","FROM","conductor","WHERE","Nationality","!","=","'USA","'"],"828":["SELECT","Record_Company","FROM","orchestra","ORDER","BY","Year_of_Founded","DESC"],"829":["SELECT","Record_Company","FROM","orchestra","ORDER","BY","Year_of_Founded","DESC"],"830":["SELECT","avg","(","Attendance",")","FROM","SHOW"],"831":["SELECT","avg","(","Attendance",")","FROM","SHOW"],"832":["SELECT","max","(","SHARE",")",",","min","(","SHARE",")","FROM","performance","WHERE","TYPE","!","=","``","Live","final","''"],"833":["SELECT","max","(","SHARE",")",",","min","(","SHARE",")","FROM","performance","WHERE","TYPE","!","=","``","Live","final","''"],"834":["SELECT","count","(","DISTINCT","Nationality",")","FROM","conductor"],"835":["SELECT","count","(","DISTINCT","Nationality",")","FROM","conductor"],"836":["SELECT","Name","FROM","conductor","ORDER","BY","Year_of_Work","DESC"],"837":["SELECT","Name","FROM","conductor","ORDER","BY","Year_of_Work","DESC"],"838":["SELECT","Name","FROM","conductor","ORDER","BY","Year_of_Work","DESC","LIMIT","1"],"839":["SELECT","Name","FROM","conductor","ORDER","BY","Year_of_Work","DESC","LIMIT","1"],"840":["SELECT","T1.Name",",","T2.Orchestra","FROM","conductor","AS","T1","JOIN","orchestra","AS","T2","ON","T1.Conductor_ID","=","T2.Conductor_ID"],"841":["SELECT","T1.Name",",","T2.Orchestra","FROM","conductor","AS","T1","JOIN","orchestra","AS","T2","ON","T1.Conductor_ID","=","T2.Conductor_ID"],"842":["SELECT","T1.Name","FROM","conductor","AS","T1","JOIN","orchestra","AS","T2","ON","T1.Conductor_ID","=","T2.Conductor_ID","GROUP","BY","T2.Conductor_ID","HAVING","COUNT","(","*",")",">","1"],"843":["SELECT","T1.Name","FROM","conductor","AS","T1","JOIN","orchestra","AS","T2","ON","T1.Conductor_ID","=","T2.Conductor_ID","GROUP","BY","T2.Conductor_ID","HAVING","COUNT","(","*",")",">","1"],"844":["SELECT","T1.Name","FROM","conductor","AS","T1","JOIN","orchestra","AS","T2","ON","T1.Conductor_ID","=","T2.Conductor_ID","GROUP","BY","T2.Conductor_ID","ORDER","BY","COUNT","(","*",")","DESC","LIMIT","1"],"845":["SELECT","T1.Name","FROM","conductor","AS","T1","JOIN","orchestra","AS","T2","ON","T1.Conductor_ID","=","T2.Conductor_ID","GROUP","BY","T2.Conductor_ID","ORDER","BY","COUNT","(","*",")","DESC","LIMIT","1"],"846":["SELECT","T1.Name","FROM","conductor","AS","T1","JOIN","orchestra","AS","T2","ON","T1.Conductor_ID","=","T2.Conductor_ID","WHERE","Year_of_Founded",">","2008"],"847":["SELECT","T1.Name","FROM","conductor","AS","T1","JOIN","orchestra","AS","T2","ON","T1.Conductor_ID","=","T2.Conductor_ID","WHERE","Year_of_Founded",">","2008"],"848":["SELECT","Record_Company",",","COUNT","(","*",")","FROM","orchestra","GROUP","BY","Record_Company"],"849":["SELECT","Record_Company",",","COUNT","(","*",")","FROM","orchestra","GROUP","BY","Record_Company"],"850":["SELECT","Major_Record_Format","FROM","orchestra","GROUP","BY","Major_Record_Format","ORDER","BY","COUNT","(","*",")","ASC"],"851":["SELECT","Major_Record_Format","FROM","orchestra","GROUP","BY","Major_Record_Format","ORDER","BY","COUNT","(","*",")","ASC"],"852":["SELECT","Record_Company","FROM","orchestra","GROUP","BY","Record_Company","ORDER","BY","COUNT","(","*",")","DESC","LIMIT","1"],"853":["SELECT","Record_Company","FROM","orchestra","GROUP","BY","Record_Company","ORDER","BY","COUNT","(","*",")","DESC","LIMIT","1"],"854":["SELECT","Orchestra","FROM","orchestra","WHERE","Orchestra_ID","NOT","IN","(","SELECT","Orchestra_ID","FROM","performance",")"],"855":["SELECT","Orchestra","FROM","orchestra","WHERE","Orchestra_ID","NOT","IN","(","SELECT","Orchestra_ID","FROM","performance",")"],"856":["SELECT","Record_Company","FROM","orchestra","WHERE","Year_of_Founded","<","2003","INTERSECT","SELECT","Record_Company","FROM","orchestra","WHERE","Year_of_Founded",">","2003"],"857":["SELECT","Record_Company","FROM","orchestra","WHERE","Year_of_Founded","<","2003","INTERSECT","SELECT","Record_Company","FROM","orchestra","WHERE","Year_of_Founded",">","2003"],"858":["SELECT","COUNT","(","*",")","FROM","orchestra","WHERE","Major_Record_Format","=","``","CD","''","OR","Major_Record_Format","=","``","DVD","''"],"859":["SELECT","COUNT","(","*",")","FROM","orchestra","WHERE","Major_Record_Format","=","``","CD","''","OR","Major_Record_Format","=","``","DVD","''"],"860":["SELECT","Year_of_Founded","FROM","orchestra","AS","T1","JOIN","performance","AS","T2","ON","T1.Orchestra_ID","=","T2.Orchestra_ID","GROUP","BY","T2.Orchestra_ID","HAVING","COUNT","(","*",")",">","1"],"861":["SELECT","Year_of_Founded","FROM","orchestra","AS","T1","JOIN","performance","AS","T2","ON","T1.Orchestra_ID","=","T2.Orchestra_ID","GROUP","BY","T2.Orchestra_ID","HAVING","COUNT","(","*",")",">","1"],"862":["SELECT","count","(","*",")","FROM","Highschooler"],"863":["SELECT","count","(","*",")","FROM","Highschooler"],"864":["SELECT","name",",","grade","FROM","Highschooler"],"865":["SELECT","name",",","grade","FROM","Highschooler"],"866":["SELECT","grade","FROM","Highschooler"],"867":["SELECT","grade","FROM","Highschooler"],"868":["SELECT","grade","FROM","Highschooler","WHERE","name","=","``","Kyle","''"],"869":["SELECT","grade","FROM","Highschooler","WHERE","name","=","``","Kyle","''"],"870":["SELECT","name","FROM","Highschooler","WHERE","grade","=","10"],"871":["SELECT","name","FROM","Highschooler","WHERE","grade","=","10"],"872":["SELECT","ID","FROM","Highschooler","WHERE","name","=","``","Kyle","''"],"873":["SELECT","ID","FROM","Highschooler","WHERE","name","=","``","Kyle","''"],"874":["SELECT","count","(","*",")","FROM","Highschooler","WHERE","grade","=","9","OR","grade","=","10"],"875":["SELECT","count","(","*",")","FROM","Highschooler","WHERE","grade","=","9","OR","grade","=","10"],"876":["SELECT","grade",",","count","(","*",")","FROM","Highschooler","GROUP","BY","grade"],"877":["SELECT","grade",",","count","(","*",")","FROM","Highschooler","GROUP","BY","grade"],"878":["SELECT","grade","FROM","Highschooler","GROUP","BY","grade","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"879":["SELECT","grade","FROM","Highschooler","GROUP","BY","grade","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"880":["SELECT","grade","FROM","Highschooler","GROUP","BY","grade","HAVING","count","(","*",")",">","=","4"],"881":["SELECT","grade","FROM","Highschooler","GROUP","BY","grade","HAVING","count","(","*",")",">","=","4"],"882":["SELECT","student_id",",","count","(","*",")","FROM","Friend","GROUP","BY","student_id"],"883":["SELECT","student_id",",","count","(","*",")","FROM","Friend","GROUP","BY","student_id"],"884":["SELECT","T2.name",",","count","(","*",")","FROM","Friend","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id","GROUP","BY","T1.student_id"],"885":["SELECT","T2.name",",","count","(","*",")","FROM","Friend","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id","GROUP","BY","T1.student_id"],"886":["SELECT","T2.name","FROM","Friend","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id","GROUP","BY","T1.student_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"887":["SELECT","T2.name","FROM","Friend","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id","GROUP","BY","T1.student_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"888":["SELECT","T2.name","FROM","Friend","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id","GROUP","BY","T1.student_id","HAVING","count","(","*",")",">","=","3"],"889":["SELECT","T2.name","FROM","Friend","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id","GROUP","BY","T1.student_id","HAVING","count","(","*",")",">","=","3"],"890":["SELECT","T3.name","FROM","Friend","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id","JOIN","Highschooler","AS","T3","ON","T1.friend_id","=","T3.id","WHERE","T2.name","=","``","Kyle","''"],"891":["SELECT","T3.name","FROM","Friend","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id","JOIN","Highschooler","AS","T3","ON","T1.friend_id","=","T3.id","WHERE","T2.name","=","``","Kyle","''"],"892":["SELECT","count","(","*",")","FROM","Friend","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id","WHERE","T2.name","=","``","Kyle","''"],"893":["SELECT","count","(","*",")","FROM","Friend","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id","WHERE","T2.name","=","``","Kyle","''"],"894":["SELECT","id","FROM","Highschooler","EXCEPT","SELECT","student_id","FROM","Friend"],"895":["SELECT","id","FROM","Highschooler","EXCEPT","SELECT","student_id","FROM","Friend"],"896":["SELECT","name","FROM","Highschooler","EXCEPT","SELECT","T2.name","FROM","Friend","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id"],"897":["SELECT","name","FROM","Highschooler","EXCEPT","SELECT","T2.name","FROM","Friend","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id"],"898":["SELECT","student_id","FROM","Friend","INTERSECT","SELECT","liked_id","FROM","Likes"],"899":["SELECT","student_id","FROM","Friend","INTERSECT","SELECT","liked_id","FROM","Likes"],"900":["SELECT","T2.name","FROM","Friend","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id","INTERSECT","SELECT","T2.name","FROM","Likes","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.liked_id","=","T2.id"],"901":["SELECT","T2.name","FROM","Friend","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id","INTERSECT","SELECT","T2.name","FROM","Likes","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.liked_id","=","T2.id"],"902":["SELECT","student_id",",","count","(","*",")","FROM","Likes","GROUP","BY","student_id"],"903":["SELECT","student_id",",","count","(","*",")","FROM","Likes","GROUP","BY","student_id"],"904":["SELECT","T2.name",",","count","(","*",")","FROM","Likes","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id","GROUP","BY","T1.student_id"],"905":["SELECT","T2.name",",","count","(","*",")","FROM","Likes","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id","GROUP","BY","T1.student_id"],"906":["SELECT","T2.name","FROM","Likes","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id","GROUP","BY","T1.student_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"907":["SELECT","T2.name","FROM","Likes","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id","GROUP","BY","T1.student_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"908":["SELECT","T2.name","FROM","Likes","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id","GROUP","BY","T1.student_id","HAVING","count","(","*",")",">","=","2"],"909":["SELECT","T2.name","FROM","Likes","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id","GROUP","BY","T1.student_id","HAVING","count","(","*",")",">","=","2"],"910":["SELECT","T2.name","FROM","Friend","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id","WHERE","T2.grade",">","5","GROUP","BY","T1.student_id","HAVING","count","(","*",")",">","=","2"],"911":["SELECT","T2.name","FROM","Friend","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id","WHERE","T2.grade",">","5","GROUP","BY","T1.student_id","HAVING","count","(","*",")",">","=","2"],"912":["SELECT","count","(","*",")","FROM","Likes","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id","WHERE","T2.name","=","``","Kyle","''"],"913":["SELECT","count","(","*",")","FROM","Likes","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id","WHERE","T2.name","=","``","Kyle","''"],"914":["SELECT","avg","(","grade",")","FROM","Highschooler","WHERE","id","IN","(","SELECT","T1.student_id","FROM","Friend","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id",")"],"915":["SELECT","avg","(","grade",")","FROM","Highschooler","WHERE","id","IN","(","SELECT","T1.student_id","FROM","Friend","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id",")"],"916":["SELECT","min","(","grade",")","FROM","Highschooler","WHERE","id","NOT","IN","(","SELECT","T1.student_id","FROM","Friend","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id",")"],"917":["SELECT","min","(","grade",")","FROM","Highschooler","WHERE","id","NOT","IN","(","SELECT","T1.student_id","FROM","Friend","AS","T1","JOIN","Highschooler","AS","T2","ON","T1.student_id","=","T2.id",")"],"918":["SELECT","state","FROM","Owners","INTERSECT","SELECT","state","FROM","Professionals"],"919":["SELECT","state","FROM","Owners","INTERSECT","SELECT","state","FROM","Professionals"],"920":["SELECT","avg","(","age",")","FROM","Dogs","WHERE","dog_id","IN","(","SELECT","dog_id","FROM","Treatments",")"],"921":["SELECT","avg","(","age",")","FROM","Dogs","WHERE","dog_id","IN","(","SELECT","dog_id","FROM","Treatments",")"],"922":["SELECT","professional_id",",","last_name",",","cell_number","FROM","Professionals","WHERE","state","=","'Indiana","'","UNION","SELECT","T1.professional_id",",","T1.last_name",",","T1.cell_number","FROM","Professionals","AS","T1","JOIN","Treatments","AS","T2","ON","T1.professional_id","=","T2.professional_id","GROUP","BY","T1.professional_id","HAVING","count","(","*",")",">","2"],"923":["SELECT","professional_id",",","last_name",",","cell_number","FROM","Professionals","WHERE","state","=","'Indiana","'","UNION","SELECT","T1.professional_id",",","T1.last_name",",","T1.cell_number","FROM","Professionals","AS","T1","JOIN","Treatments","AS","T2","ON","T1.professional_id","=","T2.professional_id","GROUP","BY","T1.professional_id","HAVING","count","(","*",")",">","2"],"924":["select","name","from","dogs","where","dog_id","not","in","(","select","dog_id","from","treatments","group","by","dog_id","having","sum","(","cost_of_treatment",")",">","1000",")"],"925":["select","name","from","dogs","where","dog_id","not","in","(","select","dog_id","from","treatments","group","by","dog_id","having","sum","(","cost_of_treatment",")",">","1000",")"],"926":["SELECT","first_name","FROM","Professionals","UNION","SELECT","first_name","FROM","Owners","EXCEPT","SELECT","name","FROM","Dogs"],"927":["SELECT","first_name","FROM","Professionals","UNION","SELECT","first_name","FROM","Owners","EXCEPT","SELECT","name","FROM","Dogs"],"928":["SELECT","professional_id",",","role_code",",","email_address","FROM","Professionals","EXCEPT","SELECT","T1.professional_id",",","T1.role_code",",","T1.email_address","FROM","Professionals","AS","T1","JOIN","Treatments","AS","T2","ON","T1.professional_id","=","T2.professional_id"],"929":["SELECT","professional_id",",","role_code",",","email_address","FROM","Professionals","EXCEPT","SELECT","T1.professional_id",",","T1.role_code",",","T1.email_address","FROM","Professionals","AS","T1","JOIN","Treatments","AS","T2","ON","T1.professional_id","=","T2.professional_id"],"930":["SELECT","T1.owner_id",",","T2.first_name",",","T2.last_name","FROM","Dogs","AS","T1","JOIN","Owners","AS","T2","ON","T1.owner_id","=","T2.owner_id","GROUP","BY","T1.owner_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"931":["SELECT","T1.owner_id",",","T2.first_name",",","T2.last_name","FROM","Dogs","AS","T1","JOIN","Owners","AS","T2","ON","T1.owner_id","=","T2.owner_id","GROUP","BY","T1.owner_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"932":["SELECT","T1.professional_id",",","T1.role_code",",","T1.first_name","FROM","Professionals","AS","T1","JOIN","Treatments","AS","T2","ON","T1.professional_id","=","T2.professional_id","GROUP","BY","T1.professional_id","HAVING","count","(","*",")",">","=","2"],"933":["SELECT","T1.professional_id",",","T1.role_code",",","T1.first_name","FROM","Professionals","AS","T1","JOIN","Treatments","AS","T2","ON","T1.professional_id","=","T2.professional_id","GROUP","BY","T1.professional_id","HAVING","count","(","*",")",">","=","2"],"934":["SELECT","T1.breed_name","FROM","Breeds","AS","T1","JOIN","Dogs","AS","T2","ON","T1.breed_code","=","T2.breed_code","GROUP","BY","T1.breed_name","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"935":["SELECT","T1.breed_name","FROM","Breeds","AS","T1","JOIN","Dogs","AS","T2","ON","T1.breed_code","=","T2.breed_code","GROUP","BY","T1.breed_name","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"936":["SELECT","T1.owner_id",",","T1.last_name","FROM","Owners","AS","T1","JOIN","Dogs","AS","T2","ON","T1.owner_id","=","T2.owner_id","JOIN","Treatments","AS","T3","ON","T2.dog_id","=","T3.dog_id","GROUP","BY","T1.owner_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"937":["SELECT","T1.owner_id",",","T1.last_name","FROM","Owners","AS","T1","JOIN","Dogs","AS","T2","ON","T1.owner_id","=","T2.owner_id","JOIN","Treatments","AS","T3","ON","T2.dog_id","=","T3.dog_id","GROUP","BY","T1.owner_id","ORDER","BY","count","(","*",")","DESC","LIMIT","1"],"938":["SELECT","T1.treatment_type_description","FROM","Treatment_types","AS","T1","JOIN","Treatments","AS","T2","ON","T1.treatment_type_code","=","T2.treatment_type_code","GROUP","BY","T1.treatment_type_code","ORDER","BY","sum","(","cost_of_treatment",")","ASC","LIMIT","1"],"939":["SELECT","T1.treatment_type_description","FROM","Treatment_types","AS","T1","JOIN","Treatments","AS","T2","ON","T1.treatment_type_code","=","T2.treatment_type_code","GROUP","BY","T1.treatment_type_code","ORDER","BY","sum","(","cost_of_treatment",")","ASC","LIMIT","1"],"940":["SELECT","T1.owner_id",",","T1.zip_code","FROM","Owners","AS","T1","JOIN","Dogs","AS","T2","ON","T1.owner_id","=","T2.owner_id","JOIN","Treatments","AS","T3","ON","T2.dog_id","=","T3.dog_id","GROUP","BY","T1.owner_id","ORDER","BY","sum","(","T3.cost_of_treatment",")","DESC","LIMIT","1"],"941":["SELECT","T1.owner_id",",","T1.zip_code","FROM","Owners","AS","T1","JOIN","Dogs","AS","T2","ON","T1.owner_id","=","T2.owner_id","JOIN","Treatments","AS","T3","ON","T2.dog_id","=","T3.dog_id","GROUP","BY","T1.owner_id","ORDER","BY","sum","(","T3.cost_of_treatment",")","DESC","LIMIT","1"],"942":["SELECT","T1.professional_id",",","T1.cell_number","FROM","Professionals","AS","T1","JOIN","Treatments","AS","T2","ON","T1.professional_id","=","T2.professional_id","GROUP","BY","T1.professional_id","HAVING","count","(","*",")",">","=","2"],"943":["SELECT","T1.professional_id",",","T1.cell_number","FROM","Professionals","AS","T1","JOIN","Treatments","AS","T2","ON","T1.professional_id","=","T2.professional_id","GROUP","BY","T1.professional_id","HAVING","count","(","*",")",">","=","2"],"944":["SELECT","DISTINCT","T1.first_name",",","T1.last_name","FROM","Professionals","AS","T1","JOIN","Treatments","AS","T2","WHERE","cost_of_treatment","<","(","SELECT","avg","(","cost_of_treatment",")","FROM","Treatments",")"],"945":["SELECT","DISTINCT","T1.first_name",",","T1.last_name","FROM","Professionals","AS","T1","JOIN","Treatments","AS","T2","WHERE","cost_of_treatment","<","(","SELECT","avg","(","cost_of_treatment",")","FROM","Treatments",")"],"946":["SELECT","T1.date_of_treatment",",","T2.first_name","FROM","Treatments","AS","T1","JOIN","Professionals","AS","T2","ON","T1.professional_id","=","T2.professional_id"],"947":["SELECT","T1.date_of_treatment",",","T2.first_name","FROM","Treatments","AS","T1","JOIN","Professionals","AS","T2","ON","T1.professional_id","=","T2.professional_id"],"948":["SELECT","T1.cost_of_treatment",",","T2.treatment_type_description","FROM","Treatments","AS","T1","JOIN","treatment_types","AS","T2","ON","T1.treatment_type_code","=","T2.treatment_type_code"],"949":["SELECT","T1.cost_of_treatment",",","T2.treatment_type_description","FROM","Treatments","AS","T1","JOIN","treatment_types","AS","T2","ON","T1.treatment_type_code","=","T2.treatment_type_code"],"950":["SELECT","T1.first_name",",","T1.last_name",",","T2.size_code","FROM","Owners","AS","T1","JOIN","Dogs","AS","T2","ON","T1.owner_id","=","T2.owner_id"],"951":["SELECT","T1.first_name",",","T1.last_name",",","T2.size_code","FROM","Owners","AS","T1","JOIN","Dogs","AS","T2","ON","T1.owner_id","=","T2.owner_id"],"952":["SELECT","T1.first_name",",","T2.name","FROM","Owners","AS","T1","JOIN","Dogs","AS","T2","ON","T1.owner_id","=","T2.owner_id"],"953":["SELECT","T1.first_name",",","T2.name","FROM","Owners","AS","T1","JOIN","Dogs","AS","T2","ON","T1.owner_id","=","T2.owner_id"],"954":["SELECT","T1.name",",","T2.date_of_treatment","FROM","Dogs","AS","T1","JOIN","Treatments","AS","T2","ON","T1.dog_id","=","T2.dog_id","WHERE","T1.breed_code","=","(","SELECT","breed_code","FROM","Dogs","GROUP","BY","breed_code","ORDER","BY","count","(","*",")","ASC","LIMIT","1",")"],"955":["SELECT","T1.name",",","T2.date_of_treatment","FROM","Dogs","AS","T1","JOIN","Treatments","AS","T2","ON","T1.dog_id","=","T2.dog_id","WHERE","T1.breed_code","=","(","SELECT","breed_code","FROM","Dogs","GROUP","BY","breed_code","ORDER","BY","count","(","*",")","ASC","LIMIT","1",")"],"956":["SELECT","T1.first_name",",","T2.name","FROM","Owners","AS","T1","JOIN","Dogs","AS","T2","ON","T1.owner_id","=","T2.owner_id","WHERE","T1.state","=","'Virginia","'"],"957":["SELECT","T1.first_name",",","T2.name","FROM","Owners","AS","T1","JOIN","Dogs","AS","T2","ON","T1.owner_id","=","T2.owner_id","WHERE","T1.state","=","'Virginia","'"],"958":["SELECT","DISTINCT","T1.date_arrived",",","T1.date_departed","FROM","Dogs","AS","T1","JOIN","Treatments","AS","T2","ON","T1.dog_id","=","T2.dog_id"],"959":["SELECT","DISTINCT","T1.date_arrived",",","T1.date_departed","FROM","Dogs","AS","T1","JOIN","Treatments","AS","T2","ON","T1.dog_id","=","T2.dog_id"],"960":["SELECT","T1.last_name","FROM","Owners","AS","T1","JOIN","Dogs","AS","T2","ON","T1.owner_id","=","T2.owner_id","WHERE","T2.age","=","(","SELECT","max","(","age",")","FROM","Dogs",")"],"961":["SELECT","T1.last_name","FROM","Owners","AS","T1","JOIN","Dogs","AS","T2","ON","T1.owner_id","=","T2.owner_id","WHERE","T2.age","=","(","SELECT","max","(","age",")","FROM","Dogs",")"],"962":["SELECT","email_address","FROM","Professionals","WHERE","state","=","'Hawaii","'","OR","state","=","'Wisconsin","'"],"963":["SELECT","email_address","FROM","Professionals","WHERE","state","=","'Hawaii","'","OR","state","=","'Wisconsin","'"],"964":["SELECT","date_arrived",",","date_departed","FROM","Dogs"],"965":["SELECT","date_arrived",",","date_departed","FROM","Dogs"],"966":["SELECT","count","(","DISTINCT","dog_id",")","FROM","Treatments"],"967":["SELECT","count","(","DISTINCT","dog_id",")","FROM","Treatments"],"968":["SELECT","count","(","DISTINCT","professional_id",")","FROM","Treatments"],"969":["SELECT","count","(","DISTINCT","professional_id",")","FROM","Treatments"],"970":["SELECT","role_code",",","street",",","city",",","state","FROM","professionals","WHERE","city","LIKE","'","%","West","%","'"],"971":["SELECT","role_code",",","street",",","city",",","state","FROM","professionals","WHERE","city","LIKE","'","%","West","%","'"],"972":["SELECT","first_name",",","last_name",",","email_address","FROM","Owners","WHERE","state","LIKE","'","%","North","%","'"],"973":["SELECT","first_name",",","last_name",",","email_address","FROM","Owners","WHERE","state","LIKE","'","%","North","%","'"],"974":["SELECT","count","(","*",")","FROM","Dogs","WHERE","age","<","(","SELECT","avg","(","age",")","FROM","Dogs",")"],"975":["SELECT","count","(","*",")","FROM","Dogs","WHERE","age","<","(","SELECT","avg","(","age",")","FROM","Dogs",")"],"976":["SELECT","cost_of_treatment","FROM","Treatments","ORDER","BY","date_of_treatment","DESC","LIMIT","1"],"977":["SELECT","cost_of_treatment","FROM","Treatments","ORDER","BY","date_of_treatment","DESC","LIMIT","1"],"978":["SELECT","count","(","*",")","FROM","Dogs","WHERE","dog_id","NOT","IN","(","SELECT","dog_id","FROM","Treatments",")"],"979":["select","count","(","*",")","from","dogs","where","dog_id","not","in","(","select","dog_id","from","treatments",")"],"980":["SELECT","count","(","*",")","FROM","Owners","WHERE","owner_id","NOT","IN","(","SELECT","owner_id","FROM","Dogs",")"],"981":["SELECT","count","(","*",")","FROM","Owners","WHERE","owner_id","NOT","IN","(","SELECT","owner_id","FROM","Dogs",")"],"982":["SELECT","count","(","*",")","FROM","Professionals","WHERE","professional_id","NOT","IN","(","SELECT","professional_id","FROM","Treatments",")"],"983":["SELECT","count","(","*",")","FROM","Professionals","WHERE","professional_id","NOT","IN","(","SELECT","professional_id","FROM","Treatments",")"],"984":["SELECT","name",",","age",",","weight","FROM","Dogs","WHERE","abandoned_yn","=","1"],"985":["SELECT","name",",","age",",","weight","FROM","Dogs","WHERE","abandoned_yn","=","1"],"986":["SELECT","avg","(","age",")","FROM","Dogs"],"987":["SELECT","avg","(","age",")","FROM","Dogs"],"988":["SELECT","max","(","age",")","FROM","Dogs"],"989":["SELECT","max","(","age",")","FROM","Dogs"],"990":["SELECT","charge_type",",","charge_amount","FROM","Charges"],"991":["SELECT","charge_type",",","charge_amount","FROM","Charges"],"992":["SELECT","max","(","charge_amount",")","FROM","Charges"],"993":["SELECT","max","(","charge_amount",")","FROM","Charges"],"994":["SELECT","email_address",",","cell_number",",","home_phone","FROM","professionals"],"995":["SELECT","email_address",",","cell_number",",","home_phone","FROM","professionals"],"996":["SELECT","DISTINCT","breed_code",",","size_code","FROM","dogs"],"997":["SELECT","DISTINCT","breed_code",",","size_code","FROM","dogs"],"998":["SELECT","DISTINCT","T1.first_name",",","T3.treatment_type_description","FROM","professionals","AS","T1","JOIN","Treatments","AS","T2","ON","T1.professional_id","=","T2.professional_id","JOIN","Treatment_types","AS","T3","ON","T2.treatment_type_code","=","T3.treatment_type_code"],"999":["SELECT","DISTINCT","T1.first_name",",","T3.treatment_type_description","FROM","professionals","AS","T1","JOIN","Treatments","AS","T2","ON","T1.professional_id","=","T2.professional_id","JOIN","Treatment_types","AS","T3","ON","T2.treatment_type_code","=","T3.treatment_type_code"],"1000":["SELECT","count","(","*",")","FROM","singer"],"1001":["SELECT","count","(","*",")","FROM","singer"],"1002":["SELECT","Name","FROM","singer","ORDER","BY","Net_Worth_Millions","ASC"],"1003":["SELECT","Name","FROM","singer","ORDER","BY","Net_Worth_Millions","ASC"],"1004":["SELECT","Birth_Year",",","Citizenship","FROM","singer"],"1005":["SELECT","Birth_Year",",","Citizenship","FROM","singer"],"1006":["SELECT","Name","FROM","singer","WHERE","Citizenship","!","=","``","France","''"],"1007":["SELECT","Name","FROM","singer","WHERE","Citizenship","!","=","``","France","''"],"1008":["SELECT","Name","FROM","singer","WHERE","Birth_Year","=","1948","OR","Birth_Year","=","1949"],"1009":["SELECT","Name","FROM","singer","WHERE","Birth_Year","=","1948","OR","Birth_Year","=","1949"],"1010":["SELECT","Name","FROM","singer","ORDER","BY","Net_Worth_Millions","DESC","LIMIT","1"],"1011":["SELECT","Name","FROM","singer","ORDER","BY","Net_Worth_Millions","DESC","LIMIT","1"],"1012":["SELECT","Citizenship",",","COUNT","(","*",")","FROM","singer","GROUP","BY","Citizenship"],"1013":["SELECT","Citizenship",",","COUNT","(","*",")","FROM","singer","GROUP","BY","Citizenship"],"1014":["SELECT","Citizenship","FROM","singer","GROUP","BY","Citizenship","ORDER","BY","COUNT","(","*",")","DESC","LIMIT","1"],"1015":["select","citizenship","from","singer","group","by","citizenship","order","by","count","(","*",")","desc","limit","1"],"1016":["SELECT","Citizenship",",","max","(","Net_Worth_Millions",")","FROM","singer","GROUP","BY","Citizenship"],"1017":["SELECT","Citizenship",",","max","(","Net_Worth_Millions",")","FROM","singer","GROUP","BY","Citizenship"],"1018":["SELECT","T2.Title",",","T1.Name","FROM","singer","AS","T1","JOIN","song","AS","T2","ON","T1.Singer_ID","=","T2.Singer_ID"],"1019":["SELECT","T2.Title",",","T1.Name","FROM","singer","AS","T1","JOIN","song","AS","T2","ON","T1.Singer_ID","=","T2.Singer_ID"],"1020":["SELECT","DISTINCT","T1.Name","FROM","singer","AS","T1","JOIN","song","AS","T2","ON","T1.Singer_ID","=","T2.Singer_ID","WHERE","T2.Sales",">","300000"],"1021":["SELECT","DISTINCT","T1.Name","FROM","singer","AS","T1","JOIN","song","AS","T2","ON","T1.Singer_ID","=","T2.Singer_ID","WHERE","T2.Sales",">","300000"],"1022":["SELECT","T1.Name","FROM","singer","AS","T1","JOIN","song","AS","T2","ON","T1.Singer_ID","=","T2.Singer_ID","GROUP","BY","T1.Name","HAVING","COUNT","(","*",")",">","1"],"1023":["SELECT","T1.Name","FROM","singer","AS","T1","JOIN","song","AS","T2","ON","T1.Singer_ID","=","T2.Singer_ID","GROUP","BY","T1.Name","HAVING","COUNT","(","*",")",">","1"],"1024":["SELECT","T1.Name",",","sum","(","T2.Sales",")","FROM","singer","AS","T1","JOIN","song","AS","T2","ON","T1.Singer_ID","=","T2.Singer_ID","GROUP","BY","T1.Name"],"1025":["SELECT","T1.Name",",","sum","(","T2.Sales",")","FROM","singer","AS","T1","JOIN","song","AS","T2","ON","T1.Singer_ID","=","T2.Singer_ID","GROUP","BY","T1.Name"],"1026":["SELECT","Name","FROM","singer","WHERE","Singer_ID","NOT","IN","(","SELECT","Singer_ID","FROM","song",")"],"1027":["SELECT","Name","FROM","singer","WHERE","Singer_ID","NOT","IN","(","SELECT","Singer_ID","FROM","song",")"],"1028":["SELECT","Citizenship","FROM","singer","WHERE","Birth_Year","<","1945","INTERSECT","SELECT","Citizenship","FROM","singer","WHERE","Birth_Year",">","1955"],"1029":["SELECT","Citizenship","FROM","singer","WHERE","Birth_Year","<","1945","INTERSECT","SELECT","Citizenship","FROM","singer","WHERE","Birth_Year",">","1955"],"1030":["SELECT","count","(","*",")","FROM","Other_Available_Features"],"1031":["SELECT","T2.feature_type_name","FROM","Other_Available_Features","AS","T1","JOIN","Ref_Feature_Types","AS","T2","ON","T1.feature_type_code","=","T2.feature_type_code","WHERE","T1.feature_name","=","``","AirCon","''"],"1032":["SELECT","T2.property_type_description","FROM","Properties","AS","T1","JOIN","Ref_Property_Types","AS","T2","ON","T1.property_type_code","=","T2.property_type_code","GROUP","BY","T1.property_type_code"],"1033":["SELECT","property_name","FROM","Properties","WHERE","property_type_code","=","``","House","''","UNION","SELECT","property_name","FROM","Properties","WHERE","property_type_code","=","``","Apartment","''","AND","room_count",">","1"]},"query_toks_no_value":{"0":["select","count","(","*",")","from","singer"],"1":["select","count","(","*",")","from","singer"],"2":["select","name",",","country",",","age","from","singer","order","by","age","desc"],"3":["select","name",",","country",",","age","from","singer","order","by","age","desc"],"4":["select","avg","(","age",")",",","min","(","age",")",",","max","(","age",")","from","singer","where","country","=","value"],"5":["select","avg","(","age",")",",","min","(","age",")",",","max","(","age",")","from","singer","where","country","=","value"],"6":["select","song_name",",","song_release_year","from","singer","order","by","age","limit","value"],"7":["select","song_name",",","song_release_year","from","singer","order","by","age","limit","value"],"8":["select","distinct","country","from","singer","where","age",">","value"],"9":["select","distinct","country","from","singer","where","age",">","value"],"10":["select","country",",","count","(","*",")","from","singer","group","by","country"],"11":["select","country",",","count","(","*",")","from","singer","group","by","country"],"12":["select","song_name","from","singer","where","age",">","(","select","avg","(","age",")","from","singer",")"],"13":["select","song_name","from","singer","where","age",">","(","select","avg","(","age",")","from","singer",")"],"14":["select","location",",","name","from","stadium","where","capacity","between","value","and","value"],"15":["select","location",",","name","from","stadium","where","capacity","between","value","and","value"],"16":["select","max","(","capacity",")",",","average","from","stadium"],"17":["select","avg","(","capacity",")",",","max","(","capacity",")","from","stadium"],"18":["select","name",",","capacity","from","stadium","order","by","average","desc","limit","value"],"19":["select","name",",","capacity","from","stadium","order","by","average","desc","limit","value"],"20":["select","count","(","*",")","from","concert","where","year","=","value","or","year","=","value"],"21":["select","count","(","*",")","from","concert","where","year","=","value","or","year","=","value"],"22":["select","t2",".","name",",","count","(","*",")","from","concert","as","t1","join","stadium","as","t2","on","t1",".","stadium_id","=","t2",".","stadium_id","group","by","t1",".","stadium_id"],"23":["select","t2",".","name",",","count","(","*",")","from","concert","as","t1","join","stadium","as","t2","on","t1",".","stadium_id","=","t2",".","stadium_id","group","by","t1",".","stadium_id"],"24":["select","t2",".","name",",","t2",".","capacity","from","concert","as","t1","join","stadium","as","t2","on","t1",".","stadium_id","=","t2",".","stadium_id","where","t1",".","year",">","=","value","group","by","t2",".","stadium_id","order","by","count","(","*",")","desc","limit","value"],"25":["select","t2",".","name",",","t2",".","capacity","from","concert","as","t1","join","stadium","as","t2","on","t1",".","stadium_id","=","t2",".","stadium_id","where","t1",".","year",">","value","group","by","t2",".","stadium_id","order","by","count","(","*",")","desc","limit","value"],"26":["select","year","from","concert","group","by","year","order","by","count","(","*",")","desc","limit","value"],"27":["select","year","from","concert","group","by","year","order","by","count","(","*",")","desc","limit","value"],"28":["select","name","from","stadium","where","stadium_id","not","in","(","select","stadium_id","from","concert",")"],"29":["select","name","from","stadium","where","stadium_id","not","in","(","select","stadium_id","from","concert",")"],"30":["select","country","from","singer","where","age",">","value","intersect","select","country","from","singer","where","age","<","value"],"31":["select","name","from","stadium","except","select","t2",".","name","from","concert","as","t1","join","stadium","as","t2","on","t1",".","stadium_id","=","t2",".","stadium_id","where","t1",".","year","=","value"],"32":["select","name","from","stadium","except","select","t2",".","name","from","concert","as","t1","join","stadium","as","t2","on","t1",".","stadium_id","=","t2",".","stadium_id","where","t1",".","year","=","value"],"33":["select","t2",".","concert_name",",","t2",".","theme",",","count","(","*",")","from","singer_in_concert","as","t1","join","concert","as","t2","on","t1",".","concert_id","=","t2",".","concert_id","group","by","t2",".","concert_id"],"34":["select","t2",".","concert_name",",","t2",".","theme",",","count","(","*",")","from","singer_in_concert","as","t1","join","concert","as","t2","on","t1",".","concert_id","=","t2",".","concert_id","group","by","t2",".","concert_id"],"35":["select","t2",".","name",",","count","(","*",")","from","singer_in_concert","as","t1","join","singer","as","t2","on","t1",".","singer_id","=","t2",".","singer_id","group","by","t2",".","singer_id"],"36":["select","t2",".","name",",","count","(","*",")","from","singer_in_concert","as","t1","join","singer","as","t2","on","t1",".","singer_id","=","t2",".","singer_id","group","by","t2",".","singer_id"],"37":["select","t2",".","name","from","singer_in_concert","as","t1","join","singer","as","t2","on","t1",".","singer_id","=","t2",".","singer_id","join","concert","as","t3","on","t1",".","concert_id","=","t3",".","concert_id","where","t3",".","year","=","value"],"38":["select","t2",".","name","from","singer_in_concert","as","t1","join","singer","as","t2","on","t1",".","singer_id","=","t2",".","singer_id","join","concert","as","t3","on","t1",".","concert_id","=","t3",".","concert_id","where","t3",".","year","=","value"],"39":["select","name",",","country","from","singer","where","song_name","like","value"],"40":["select","name",",","country","from","singer","where","song_name","like","value"],"41":["select","t2",".","name",",","t2",".","location","from","concert","as","t1","join","stadium","as","t2","on","t1",".","stadium_id","=","t2",".","stadium_id","where","t1",".","year","=","value","intersect","select","t2",".","name",",","t2",".","location","from","concert","as","t1","join","stadium","as","t2","on","t1",".","stadium_id","=","t2",".","stadium_id","where","t1",".","year","=","value"],"42":["select","t2",".","name",",","t2",".","location","from","concert","as","t1","join","stadium","as","t2","on","t1",".","stadium_id","=","t2",".","stadium_id","where","t1",".","year","=","value","intersect","select","t2",".","name",",","t2",".","location","from","concert","as","t1","join","stadium","as","t2","on","t1",".","stadium_id","=","t2",".","stadium_id","where","t1",".","year","=","value"],"43":["select","count","(","*",")","from","concert","where","stadium_id","=","(","select","stadium_id","from","stadium","order","by","capacity","desc","limit","value",")"],"44":["select","count","(","*",")","from","concert","where","stadium_id","=","(","select","stadium_id","from","stadium","order","by","capacity","desc","limit","value",")"],"45":["select","count","(","*",")","from","pets","where","weight",">","value"],"46":["select","count","(","*",")","from","pets","where","weight",">","value"],"47":["select","weight","from","pets","order","by","pet_age","limit","value"],"48":["select","weight","from","pets","order","by","pet_age","limit","value"],"49":["select","max","(","weight",")",",","pettype","from","pets","group","by","pettype"],"50":["select","max","(","weight",")",",","pettype","from","pets","group","by","pettype"],"51":["select","count","(","*",")","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","where","t1",".","age",">","value"],"52":["select","count","(","*",")","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","where","t1",".","age",">","value"],"53":["select","count","(","*",")","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","join","pets","as","t3","on","t2",".","petid","=","t3",".","petid","where","t1",".","sex","=","value","and","t3",".","pettype","=","value"],"54":["select","count","(","*",")","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","join","pets","as","t3","on","t2",".","petid","=","t3",".","petid","where","t1",".","sex","=","value","and","t3",".","pettype","=","value"],"55":["select","count","(","distinct","pettype",")","from","pets"],"56":["select","count","(","distinct","pettype",")","from","pets"],"57":["select","distinct","t1",".","fname","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","join","pets","as","t3","on","t3",".","petid","=","t2",".","petid","where","t3",".","pettype","=","value","or","t3",".","pettype","=","value"],"58":["select","distinct","t1",".","fname","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","join","pets","as","t3","on","t3",".","petid","=","t2",".","petid","where","t3",".","pettype","=","value","or","t3",".","pettype","=","value"],"59":["select","t1",".","fname","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","join","pets","as","t3","on","t3",".","petid","=","t2",".","petid","where","t3",".","pettype","=","value","intersect","select","t1",".","fname","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","join","pets","as","t3","on","t3",".","petid","=","t2",".","petid","where","t3",".","pettype","=","value"],"60":["select","t1",".","fname","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","join","pets","as","t3","on","t3",".","petid","=","t2",".","petid","where","t3",".","pettype","=","value","intersect","select","t1",".","fname","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","join","pets","as","t3","on","t3",".","petid","=","t2",".","petid","where","t3",".","pettype","=","value"],"61":["select","major",",","age","from","student","where","stuid","not","in","(","select","t1",".","stuid","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","join","pets","as","t3","on","t3",".","petid","=","t2",".","petid","where","t3",".","pettype","=","value",")"],"62":["select","major",",","age","from","student","where","stuid","not","in","(","select","t1",".","stuid","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","join","pets","as","t3","on","t3",".","petid","=","t2",".","petid","where","t3",".","pettype","=","value",")"],"63":["select","stuid","from","student","except","select","t1",".","stuid","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","join","pets","as","t3","on","t3",".","petid","=","t2",".","petid","where","t3",".","pettype","=","value"],"64":["select","stuid","from","student","except","select","t1",".","stuid","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","join","pets","as","t3","on","t3",".","petid","=","t2",".","petid","where","t3",".","pettype","=","value"],"65":["select","t1",".","fname",",","t1",".","age","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","join","pets","as","t3","on","t3",".","petid","=","t2",".","petid","where","t3",".","pettype","=","value","and","t1",".","stuid","not","in","(","select","t1",".","stuid","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","join","pets","as","t3","on","t3",".","petid","=","t2",".","petid","where","t3",".","pettype","=","value",")"],"66":["select","t1",".","fname",",","t1",".","age","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","join","pets","as","t3","on","t3",".","petid","=","t2",".","petid","where","t3",".","pettype","=","value","and","t1",".","stuid","not","in","(","select","t1",".","stuid","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","join","pets","as","t3","on","t3",".","petid","=","t2",".","petid","where","t3",".","pettype","=","value",")"],"67":["select","pettype",",","weight","from","pets","order","by","pet_age","limit","value"],"68":["select","pettype",",","weight","from","pets","order","by","pet_age","limit","value"],"69":["select","petid",",","weight","from","pets","where","pet_age",">","value"],"70":["select","petid",",","weight","from","pets","where","pet_age",">","value"],"71":["select","avg","(","pet_age",")",",","max","(","pet_age",")",",","pettype","from","pets","group","by","pettype"],"72":["select","avg","(","pet_age",")",",","max","(","pet_age",")",",","pettype","from","pets","group","by","pettype"],"73":["select","avg","(","weight",")",",","pettype","from","pets","group","by","pettype"],"74":["select","avg","(","weight",")",",","pettype","from","pets","group","by","pettype"],"75":["select","distinct","t1",".","fname",",","t1",".","age","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid"],"76":["select","distinct","t1",".","fname",",","t1",".","age","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid"],"77":["select","t2",".","petid","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","where","t1",".","lname","=","value"],"78":["select","t2",".","petid","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","where","t1",".","lname","=","value"],"79":["select","count","(","*",")",",","t1",".","stuid","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","group","by","t1",".","stuid"],"80":["select","count","(","*",")",",","t1",".","stuid","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","group","by","t1",".","stuid"],"81":["select","t1",".","fname",",","t1",".","sex","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","group","by","t1",".","stuid","having","count","(","*",")",">","value"],"82":["select","t1",".","fname",",","t1",".","sex","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","group","by","t1",".","stuid","having","count","(","*",")",">","value"],"83":["select","t1",".","lname","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","join","pets","as","t3","on","t3",".","petid","=","t2",".","petid","where","t3",".","pet_age","=","value","and","t3",".","pettype","=","value"],"84":["select","t1",".","lname","from","student","as","t1","join","has_pet","as","t2","on","t1",".","stuid","=","t2",".","stuid","join","pets","as","t3","on","t3",".","petid","=","t2",".","petid","where","t3",".","pet_age","=","value","and","t3",".","pettype","=","value"],"85":["select","avg","(","age",")","from","student","where","stuid","not","in","(","select","stuid","from","has_pet",")"],"86":["select","avg","(","age",")","from","student","where","stuid","not","in","(","select","stuid","from","has_pet",")"],"87":["select","count","(","*",")","from","continents"],"88":["select","count","(","*",")","from","continents"],"89":["select","t1",".","contid",",","t1",".","continent",",","count","(","*",")","from","continents","as","t1","join","countries","as","t2","on","t1",".","contid","=","t2",".","continent","group","by","t1",".","contid"],"90":["select","t1",".","contid",",","t1",".","continent",",","count","(","*",")","from","continents","as","t1","join","countries","as","t2","on","t1",".","contid","=","t2",".","continent","group","by","t1",".","contid"],"91":["select","count","(","*",")","from","countries"],"92":["select","count","(","*",")","from","countries"],"93":["select","t1",".","fullname",",","t1",".","id",",","count","(","*",")","from","car_makers","as","t1","join","model_list","as","t2","on","t1",".","id","=","t2",".","maker","group","by","t1",".","id"],"94":["select","t1",".","fullname",",","t1",".","id",",","count","(","*",")","from","car_makers","as","t1","join","model_list","as","t2","on","t1",".","id","=","t2",".","maker","group","by","t1",".","id"],"95":["select","t1",".","model","from","car_names","as","t1","join","cars_data","as","t2","on","t1",".","makeid","=","t2",".","id","order","by","t2",".","horsepower","asc","limit","value"],"96":["select","t1",".","model","from","car_names","as","t1","join","cars_data","as","t2","on","t1",".","makeid","=","t2",".","id","order","by","t2",".","horsepower","asc","limit","value"],"97":["select","t1",".","model","from","car_names","as","t1","join","cars_data","as","t2","on","t1",".","makeid","=","t2",".","id","where","t2",".","weight","<","(","select","avg","(","weight",")","from","cars_data",")"],"98":["select","t1",".","model","from","car_names","as","t1","join","cars_data","as","t2","on","t1",".","makeid","=","t2",".","id","where","t2",".","weight","<","(","select","avg","(","weight",")","from","cars_data",")"],"99":["select","distinct","t1",".","maker","from","car_makers","as","t1","join","model_list","as","t2","on","t1",".","id","=","t2",".","maker","join","car_names","as","t3","on","t2",".","model","=","t3",".","model","join","cars_data","as","t4","on","t3",".","makeid","=","t4",".","id","where","t4",".","year","=","value"],"100":["select","distinct","t1",".","maker","from","car_makers","as","t1","join","model_list","as","t2","on","t1",".","id","=","t2",".","maker","join","car_names","as","t3","on","t2",".","model","=","t3",".","model","join","cars_data","as","t4","on","t3",".","makeid","=","t4",".","id","where","t4",".","year","=","value"],"101":["select","t2",".","make",",","t1",".","year","from","cars_data","as","t1","join","car_names","as","t2","on","t1",".","id","=","t2",".","makeid","where","t1",".","year","=","(","select","min","(","year",")","from","cars_data",")"],"102":["select","t2",".","make",",","t1",".","year","from","cars_data","as","t1","join","car_names","as","t2","on","t1",".","id","=","t2",".","makeid","where","t1",".","year","=","(","select","min","(","year",")","from","cars_data",")"],"103":["select","distinct","t1",".","model","from","model_list","as","t1","join","car_names","as","t2","on","t1",".","model","=","t2",".","model","join","cars_data","as","t3","on","t2",".","makeid","=","t3",".","id","where","t3",".","year",">","value"],"104":["select","distinct","t1",".","model","from","model_list","as","t1","join","car_names","as","t2","on","t1",".","model","=","t2",".","model","join","cars_data","as","t3","on","t2",".","makeid","=","t3",".","id","where","t3",".","year",">","value"],"105":["select","t1",".","continent",",","count","(","*",")","from","continents","as","t1","join","countries","as","t2","on","t1",".","contid","=","t2",".","continent","join","car_makers","as","t3","on","t2",".","countryid","=","t3",".","country","group","by","t1",".","continent"],"106":["select","t1",".","continent",",","count","(","*",")","from","continents","as","t1","join","countries","as","t2","on","t1",".","contid","=","t2",".","continent","join","car_makers","as","t3","on","t2",".","countryid","=","t3",".","country","group","by","t1",".","continent"],"107":["select","t2",".","countryname","from","car_makers","as","t1","join","countries","as","t2","on","t1",".","country","=","t2",".","countryid","group","by","t1",".","country","order","by","count","(","*",")","desc","limit","value"],"108":["select","t2",".","countryname","from","car_makers","as","t1","join","countries","as","t2","on","t1",".","country","=","t2",".","countryid","group","by","t1",".","country","order","by","count","(","*",")","desc","limit","value"],"109":["select","count","(","*",")",",","t2",".","fullname","from","model_list","as","t1","join","car_makers","as","t2","on","t1",".","maker","=","t2",".","id","group","by","t2",".","id"],"110":["select","count","(","*",")",",","t2",".","fullname",",","t2",".","id","from","model_list","as","t1","join","car_makers","as","t2","on","t1",".","maker","=","t2",".","id","group","by","t2",".","id"],"111":["select","t1",".","accelerate","from","cars_data","as","t1","join","car_names","as","t2","on","t1",".","id","=","t2",".","makeid","where","t2",".","make","=","value"],"112":["select","t1",".","accelerate","from","cars_data","as","t1","join","car_names","as","t2","on","t1",".","id","=","t2",".","makeid","where","t2",".","make","=","value"],"113":["select","count","(","*",")","from","car_makers","as","t1","join","countries","as","t2","on","t1",".","country","=","t2",".","countryid","where","t2",".","countryname","=","value"],"114":["select","count","(","*",")","from","car_makers","as","t1","join","countries","as","t2","on","t1",".","country","=","t2",".","countryid","where","t2",".","countryname","=","value"],"115":["select","count","(","*",")","from","model_list","as","t1","join","car_makers","as","t2","on","t1",".","maker","=","t2",".","id","join","countries","as","t3","on","t2",".","country","=","t3",".","countryid","where","t3",".","countryname","=","value"],"116":["select","count","(","*",")","from","model_list","as","t1","join","car_makers","as","t2","on","t1",".","maker","=","t2",".","id","join","countries","as","t3","on","t2",".","country","=","t3",".","countryid","where","t3",".","countryname","=","value"],"117":["select","avg","(","mpg",")","from","cars_data","where","cylinders","=","value"],"118":["select","avg","(","mpg",")","from","cars_data","where","cylinders","=","value"],"119":["select","min","(","weight",")","from","cars_data","where","cylinders","=","value","and","year","=","value"],"120":["select","min","(","weight",")","from","cars_data","where","cylinders","=","value","and","year","=","value"],"121":["select","maker",",","model","from","model_list"],"122":["select","maker",",","model","from","model_list"],"123":["select","t1",".","countryname",",","t1",".","countryid","from","countries","as","t1","join","car_makers","as","t2","on","t1",".","countryid","=","t2",".","country","group","by","t1",".","countryid","having","count","(","*",")",">","=","value"],"124":["select","t1",".","countryname",",","t1",".","countryid","from","countries","as","t1","join","car_makers","as","t2","on","t1",".","countryid","=","t2",".","country","group","by","t1",".","countryid","having","count","(","*",")",">","=","value"],"125":["select","count","(","*",")","from","cars_data","where","horsepower",">","value"],"126":["select","count","(","*",")","from","cars_data","where","horsepower",">","value"],"127":["select","avg","(","weight",")",",","year","from","cars_data","group","by","year"],"128":["select","avg","(","weight",")",",","year","from","cars_data","group","by","year"],"129":["select","t1",".","countryname","from","countries","as","t1","join","continents","as","t2","on","t1",".","continent","=","t2",".","contid","join","car_makers","as","t3","on","t1",".","countryid","=","t3",".","country","where","t2",".","continent","=","value","group","by","t1",".","countryname","having","count","(","*",")",">","=","value"],"130":["select","t1",".","countryname","from","countries","as","t1","join","continents","as","t2","on","t1",".","continent","=","t2",".","contid","join","car_makers","as","t3","on","t1",".","countryid","=","t3",".","country","where","t2",".","continent","=","value","group","by","t1",".","countryname","having","count","(","*",")",">","=","value"],"131":["select","t2",".","horsepower",",","t1",".","make","from","car_names","as","t1","join","cars_data","as","t2","on","t1",".","makeid","=","t2",".","id","where","t2",".","cylinders","=","value","order","by","t2",".","horsepower","desc","limit","value"],"132":["select","t2",".","horsepower",",","t1",".","make","from","car_names","as","t1","join","cars_data","as","t2","on","t1",".","makeid","=","t2",".","id","where","t2",".","cylinders","=","value","order","by","t2",".","horsepower","desc","limit","value"],"133":["select","t1",".","model","from","car_names","as","t1","join","cars_data","as","t2","on","t1",".","makeid","=","t2",".","id","order","by","t2",".","mpg","desc","limit","value"],"134":["select","t1",".","model","from","car_names","as","t1","join","cars_data","as","t2","on","t1",".","makeid","=","t2",".","id","order","by","t2",".","mpg","desc","limit","value"],"135":["select","avg","(","horsepower",")","from","cars_data","where","year","<","value"],"136":["select","avg","(","horsepower",")","from","cars_data","where","year","<","value"],"137":["select","avg","(","t2",".","edispl",")","from","car_names","as","t1","join","cars_data","as","t2","on","t1",".","makeid","=","t2",".","id","where","t1",".","model","=","value"],"138":["select","avg","(","t2",".","edispl",")","from","car_names","as","t1","join","cars_data","as","t2","on","t1",".","makeid","=","t2",".","id","where","t1",".","model","=","value"],"139":["select","max","(","accelerate",")",",","cylinders","from","cars_data","group","by","cylinders"],"140":["select","max","(","accelerate",")",",","cylinders","from","cars_data","group","by","cylinders"],"141":["select","model","from","car_names","group","by","model","order","by","count","(","*",")","desc","limit","value"],"142":["select","model","from","car_names","group","by","model","order","by","count","(","*",")","desc","limit","value"],"143":["select","count","(","*",")","from","cars_data","where","cylinders",">","value"],"144":["select","count","(","*",")","from","cars_data","where","cylinders",">","value"],"145":["select","count","(","*",")","from","cars_data","where","year","=","value"],"146":["select","count","(","*",")","from","cars_data","where","year","=","value"],"147":["select","count","(","*",")","from","car_makers","as","t1","join","model_list","as","t2","on","t1",".","id","=","t2",".","maker","where","t1",".","fullname","=","value"],"148":["select","count","(","*",")","from","car_makers","as","t1","join","model_list","as","t2","on","t1",".","id","=","t2",".","maker","where","t1",".","fullname","=","value"],"149":["select","t1",".","fullname",",","t1",".","id","from","car_makers","as","t1","join","model_list","as","t2","on","t1",".","id","=","t2",".","maker","group","by","t1",".","id","having","count","(","*",")",">","value"],"150":["select","t1",".","fullname",",","t1",".","id","from","car_makers","as","t1","join","model_list","as","t2","on","t1",".","id","=","t2",".","maker","group","by","t1",".","id","having","count","(","*",")",">","value"],"151":["select","distinct","t2",".","model","from","car_names","as","t1","join","model_list","as","t2","on","t1",".","model","=","t2",".","model","join","car_makers","as","t3","on","t2",".","maker","=","t3",".","id","join","cars_data","as","t4","on","t1",".","makeid","=","t4",".","id","where","t3",".","fullname","=","value","or","t4",".","weight",">","value"],"152":["select","distinct","t2",".","model","from","car_names","as","t1","join","model_list","as","t2","on","t1",".","model","=","t2",".","model","join","car_makers","as","t3","on","t2",".","maker","=","t3",".","id","join","cars_data","as","t4","on","t1",".","makeid","=","t4",".","id","where","t3",".","fullname","=","value","or","t4",".","weight",">","value"],"153":["select","distinct","year","from","cars_data","where","weight","between","value","and","value"],"154":["select","distinct","year","from","cars_data","where","weight","between","value","and","value"],"155":["select","t1",".","horsepower","from","cars_data","as","t1","order","by","t1",".","accelerate","desc","limit","value"],"156":["select","t1",".","horsepower","from","cars_data","as","t1","order","by","t1",".","accelerate","desc","limit","value"],"157":["select","t1",".","cylinders","from","cars_data","as","t1","join","car_names","as","t2","on","t1",".","id","=","t2",".","makeid","where","t2",".","model","=","value","order","by","t1",".","accelerate","asc","limit","value"],"158":["select","t1",".","cylinders","from","cars_data","as","t1","join","car_names","as","t2","on","t1",".","id","=","t2",".","makeid","where","t2",".","model","=","value","order","by","t1",".","accelerate","asc","limit","value"],"159":["select","count","(","*",")","from","cars_data","where","accelerate",">","(","select","accelerate","from","cars_data","order","by","horsepower","desc","limit","value",")"],"160":["select","count","(","*",")","from","cars_data","where","accelerate",">","(","select","accelerate","from","cars_data","order","by","horsepower","desc","limit","value",")"],"161":["select","count","(","*",")","from","countries","as","t1","join","car_makers","as","t2","on","t1",".","countryid","=","t2",".","country","group","by","t1",".","countryid","having","count","(","*",")",">","value"],"162":["select","count","(","*",")","from","countries","as","t1","join","car_makers","as","t2","on","t1",".","countryid","=","t2",".","country","group","by","t1",".","countryid","having","count","(","*",")",">","value"],"163":["select","count","(","*",")","from","cars_data","where","cylinders",">","value"],"164":["select","count","(","*",")","from","cars_data","where","cylinders",">","value"],"165":["select","t1",".","model","from","car_names","as","t1","join","cars_data","as","t2","on","t1",".","makeid","=","t2",".","id","where","t2",".","cylinders","=","value","order","by","t2",".","horsepower","desc","limit","value"],"166":["select","t1",".","model","from","car_names","as","t1","join","cars_data","as","t2","on","t1",".","makeid","=","t2",".","id","where","t2",".","cylinders","=","value","order","by","t2",".","horsepower","desc","limit","value"],"167":["select","t2",".","makeid",",","t2",".","make","from","cars_data","as","t1","join","car_names","as","t2","on","t1",".","id","=","t2",".","makeid","where","t1",".","horsepower",">","(","select","min","(","horsepower",")","from","cars_data",")","and","t1",".","cylinders","<","=","value"],"168":["select","t2",".","makeid",",","t2",".","make","from","cars_data","as","t1","join","car_names","as","t2","on","t1",".","id","=","t2",".","makeid","where","t1",".","horsepower",">","(","select","min","(","horsepower",")","from","cars_data",")","and","t1",".","cylinders","<","value"],"169":["select","max","(","mpg",")","from","cars_data","where","cylinders","=","value","or","year","<","value"],"170":["select","max","(","mpg",")","from","cars_data","where","cylinders","=","value","or","year","<","value"],"171":["select","distinct","t1",".","model","from","model_list","as","t1","join","car_names","as","t2","on","t1",".","model","=","t2",".","model","join","cars_data","as","t3","on","t2",".","makeid","=","t3",".","id","join","car_makers","as","t4","on","t1",".","maker","=","t4",".","id","where","t3",".","weight","<","value","and","t4",".","fullname","!","=","value"],"172":["select","distinct","t1",".","model","from","model_list","as","t1","join","car_names","as","t2","on","t1",".","model","=","t2",".","model","join","cars_data","as","t3","on","t2",".","makeid","=","t3",".","id","join","car_makers","as","t4","on","t1",".","maker","=","t4",".","id","where","t3",".","weight","<","value","and","t4",".","fullname","!","=","value"],"173":["select","countryname","from","countries","except","select","t1",".","countryname","from","countries","as","t1","join","car_makers","as","t2","on","t1",".","countryid","=","t2",".","country"],"174":["select","countryname","from","countries","except","select","t1",".","countryname","from","countries","as","t1","join","car_makers","as","t2","on","t1",".","countryid","=","t2",".","country"],"175":["select","t1",".","id",",","t1",".","maker","from","car_makers","as","t1","join","model_list","as","t2","on","t1",".","id","=","t2",".","maker","group","by","t1",".","id","having","count","(","*",")",">","=","value","intersect","select","t1",".","id",",","t1",".","maker","from","car_makers","as","t1","join","model_list","as","t2","on","t1",".","id","=","t2",".","maker","join","car_names","as","t3","on","t2",".","model","=","t3",".","model","group","by","t1",".","id","having","count","(","*",")",">","value"],"176":["select","t1",".","id",",","t1",".","maker","from","car_makers","as","t1","join","model_list","as","t2","on","t1",".","id","=","t2",".","maker","group","by","t1",".","id","having","count","(","*",")",">","=","value","intersect","select","t1",".","id",",","t1",".","maker","from","car_makers","as","t1","join","model_list","as","t2","on","t1",".","id","=","t2",".","maker","join","car_names","as","t3","on","t2",".","model","=","t3",".","model","group","by","t1",".","id","having","count","(","*",")",">","value"],"177":["select","t1",".","countryid",",","t1",".","countryname","from","countries","as","t1","join","car_makers","as","t2","on","t1",".","countryid","=","t2",".","country","group","by","t1",".","countryid","having","count","(","*",")",">","value","union","select","t1",".","countryid",",","t1",".","countryname","from","countries","as","t1","join","car_makers","as","t2","on","t1",".","countryid","=","t2",".","country","join","model_list","as","t3","on","t2",".","id","=","t3",".","maker","where","t3",".","model","=","value"],"178":["select","t1",".","countryid",",","t1",".","countryname","from","countries","as","t1","join","car_makers","as","t2","on","t1",".","countryid","=","t2",".","country","group","by","t1",".","countryid","having","count","(","*",")",">","value","union","select","t1",".","countryid",",","t1",".","countryname","from","countries","as","t1","join","car_makers","as","t2","on","t1",".","countryid","=","t2",".","country","join","model_list","as","t3","on","t2",".","id","=","t3",".","maker","where","t3",".","model","=","value"],"179":["select","country","from","airlines","where","airline","=","value"],"180":["select","country","from","airlines","where","airline","=","value"],"181":["select","abbreviation","from","airlines","where","airline","=","value"],"182":["select","abbreviation","from","airlines","where","airline","=","value"],"183":["select","airline",",","abbreviation","from","airlines","where","country","=","value"],"184":["select","airline",",","abbreviation","from","airlines","where","country","=","value"],"185":["select","airportcode",",","airportname","from","airports","where","city","=","value"],"186":["select","airportcode",",","airportname","from","airports","where","city","=","value"],"187":["select","count","(","*",")","from","airlines"],"188":["select","count","(","*",")","from","airlines"],"189":["select","count","(","*",")","from","airports"],"190":["select","count","(","*",")","from","airports"],"191":["select","count","(","*",")","from","flights"],"192":["select","count","(","*",")","from","flights"],"193":["select","airline","from","airlines","where","abbreviation","=","value"],"194":["select","airline","from","airlines","where","abbreviation","=","value"],"195":["select","count","(","*",")","from","airlines","where","country","=","value"],"196":["select","count","(","*",")","from","airlines","where","country","=","value"],"197":["select","city",",","country","from","airports","where","airportname","=","value"],"198":["select","city",",","country","from","airports","where","airportname","=","value"],"199":["select","airportname","from","airports","where","airportcode","=","value"],"200":["select","airportname","from","airports","where","airportcode","=","value"],"201":["select","airportname","from","airports","where","city","=","value"],"202":["select","airportname","from","airports","where","city","=","value"],"203":["select","count","(","*",")","from","flights","where","sourceairport","=","value"],"204":["select","count","(","*",")","from","flights","where","sourceairport","=","value"],"205":["select","count","(","*",")","from","flights","where","destairport","=","value"],"206":["select","count","(","*",")","from","flights","where","destairport","=","value"],"207":["select","count","(","*",")","from","flights","as","t1","join","airports","as","t2","on","t1",".","sourceairport","=","t2",".","airportcode","where","t2",".","city","=","value"],"208":["select","count","(","*",")","from","flights","as","t1","join","airports","as","t2","on","t1",".","sourceairport","=","t2",".","airportcode","where","t2",".","city","=","value"],"209":["select","count","(","*",")","from","flights","as","t1","join","airports","as","t2","on","t1",".","destairport","=","t2",".","airportcode","where","t2",".","city","=","value"],"210":["select","count","(","*",")","from","flights","as","t1","join","airports","as","t2","on","t1",".","destairport","=","t2",".","airportcode","where","t2",".","city","=","value"],"211":["select","count","(","*",")","from","flights","as","t1","join","airports","as","t2","on","t1",".","destairport","=","t2",".","airportcode","join","airports","as","t3","on","t1",".","sourceairport","=","t3",".","airportcode","where","t2",".","city","=","value","and","t3",".","city","=","value"],"212":["select","count","(","*",")","from","flights","as","t1","join","airports","as","t2","on","t1",".","destairport","=","t2",".","airportcode","join","airports","as","t3","on","t1",".","sourceairport","=","t3",".","airportcode","where","t2",".","city","=","value","and","t3",".","city","=","value"],"213":["select","count","(","*",")","from","flights","as","t1","join","airlines","as","t2","on","t1",".","airline","=","t2",".","uid","where","t2",".","airline","=","value"],"214":["select","count","(","*",")","from","flights","as","t1","join","airlines","as","t2","on","t1",".","airline","=","t2",".","uid","where","t2",".","airline","=","value"],"215":["select","count","(","*",")","from","airlines","as","t1","join","flights","as","t2","on","t2",".","airline","=","t1",".","uid","where","t1",".","airline","=","value","and","t2",".","destairport","=","value"],"216":["select","count","(","*",")","from","airlines","as","t1","join","flights","as","t2","on","t2",".","airline","=","t1",".","uid","where","t1",".","airline","=","value","and","t2",".","destairport","=","value"],"217":["select","count","(","*",")","from","airlines","as","t1","join","flights","as","t2","on","t2",".","airline","=","t1",".","uid","where","t1",".","airline","=","value","and","t2",".","sourceairport","=","value"],"218":["select","count","(","*",")","from","airlines","as","t1","join","flights","as","t2","on","t2",".","airline","=","t1",".","uid","where","t1",".","airline","=","value","and","t2",".","sourceairport","=","value"],"219":["select","count","(","*",")","from","flights","as","t1","join","airports","as","t2","on","t1",".","destairport","=","t2",".","airportcode","join","airlines","as","t3","on","t3",".","uid","=","t1",".","airline","where","t2",".","city","=","value","and","t3",".","airline","=","value"],"220":["select","count","(","*",")","from","flights","as","t1","join","airports","as","t2","on","t1",".","destairport","=","t2",".","airportcode","join","airlines","as","t3","on","t3",".","uid","=","t1",".","airline","where","t2",".","city","=","value","and","t3",".","airline","=","value"],"221":["select","t1",".","city","from","airports","as","t1","join","flights","as","t2","on","t1",".","airportcode","=","t2",".","destairport","group","by","t1",".","city","order","by","count","(","*",")","desc","limit","value"],"222":["select","t1",".","city","from","airports","as","t1","join","flights","as","t2","on","t1",".","airportcode","=","t2",".","destairport","group","by","t1",".","city","order","by","count","(","*",")","desc","limit","value"],"223":["select","t1",".","city","from","airports","as","t1","join","flights","as","t2","on","t1",".","airportcode","=","t2",".","sourceairport","group","by","t1",".","city","order","by","count","(","*",")","desc","limit","value"],"224":["select","t1",".","city","from","airports","as","t1","join","flights","as","t2","on","t1",".","airportcode","=","t2",".","sourceairport","group","by","t1",".","city","order","by","count","(","*",")","desc","limit","value"],"225":["select","t1",".","airportcode","from","airports","as","t1","join","flights","as","t2","on","t1",".","airportcode","=","t2",".","destairport","or","t1",".","airportcode","=","t2",".","sourceairport","group","by","t1",".","airportcode","order","by","count","(","*",")","desc","limit","value"],"226":["select","t1",".","airportcode","from","airports","as","t1","join","flights","as","t2","on","t1",".","airportcode","=","t2",".","destairport","or","t1",".","airportcode","=","t2",".","sourceairport","group","by","t1",".","airportcode","order","by","count","(","*",")","desc","limit","value"],"227":["select","t1",".","airportcode","from","airports","as","t1","join","flights","as","t2","on","t1",".","airportcode","=","t2",".","destairport","or","t1",".","airportcode","=","t2",".","sourceairport","group","by","t1",".","airportcode","order","by","count","(","*",")","limit","value"],"228":["select","t1",".","airportcode","from","airports","as","t1","join","flights","as","t2","on","t1",".","airportcode","=","t2",".","destairport","or","t1",".","airportcode","=","t2",".","sourceairport","group","by","t1",".","airportcode","order","by","count","(","*",")","limit","value"],"229":["select","t1",".","airline","from","airlines","as","t1","join","flights","as","t2","on","t1",".","uid","=","t2",".","airline","group","by","t1",".","airline","order","by","count","(","*",")","desc","limit","value"],"230":["select","t1",".","airline","from","airlines","as","t1","join","flights","as","t2","on","t1",".","uid","=","t2",".","airline","group","by","t1",".","airline","order","by","count","(","*",")","desc","limit","value"],"231":["select","t1",".","abbreviation",",","t1",".","country","from","airlines","as","t1","join","flights","as","t2","on","t1",".","uid","=","t2",".","airline","group","by","t1",".","airline","order","by","count","(","*",")","limit","value"],"232":["select","t1",".","abbreviation",",","t1",".","country","from","airlines","as","t1","join","flights","as","t2","on","t1",".","uid","=","t2",".","airline","group","by","t1",".","airline","order","by","count","(","*",")","limit","value"],"233":["select","t1",".","airline","from","airlines","as","t1","join","flights","as","t2","on","t1",".","uid","=","t2",".","airline","where","t2",".","sourceairport","=","value"],"234":["select","t1",".","airline","from","airlines","as","t1","join","flights","as","t2","on","t1",".","uid","=","t2",".","airline","where","t2",".","sourceairport","=","value"],"235":["select","t1",".","airline","from","airlines","as","t1","join","flights","as","t2","on","t1",".","uid","=","t2",".","airline","where","t2",".","destairport","=","value"],"236":["select","t1",".","airline","from","airlines","as","t1","join","flights","as","t2","on","t1",".","uid","=","t2",".","airline","where","t2",".","destairport","=","value"],"237":["select","t1",".","airline","from","airlines","as","t1","join","flights","as","t2","on","t1",".","uid","=","t2",".","airline","where","t2",".","sourceairport","=","value","intersect","select","t1",".","airline","from","airlines","as","t1","join","flights","as","t2","on","t1",".","uid","=","t2",".","airline","where","t2",".","sourceairport","=","value"],"238":["select","t1",".","airline","from","airlines","as","t1","join","flights","as","t2","on","t1",".","uid","=","t2",".","airline","where","t2",".","sourceairport","=","value","intersect","select","t1",".","airline","from","airlines","as","t1","join","flights","as","t2","on","t1",".","uid","=","t2",".","airline","where","t2",".","sourceairport","=","value"],"239":["select","t1",".","airline","from","airlines","as","t1","join","flights","as","t2","on","t1",".","uid","=","t2",".","airline","where","t2",".","sourceairport","=","value","except","select","t1",".","airline","from","airlines","as","t1","join","flights","as","t2","on","t1",".","uid","=","t2",".","airline","where","t2",".","sourceairport","=","value"],"240":["select","t1",".","airline","from","airlines","as","t1","join","flights","as","t2","on","t1",".","uid","=","t2",".","airline","where","t2",".","sourceairport","=","value","except","select","t1",".","airline","from","airlines","as","t1","join","flights","as","t2","on","t1",".","uid","=","t2",".","airline","where","t2",".","sourceairport","=","value"],"241":["select","t1",".","airline","from","airlines","as","t1","join","flights","as","t2","on","t1",".","uid","=","t2",".","airline","group","by","t1",".","airline","having","count","(","*",")",">","value"],"242":["select","t1",".","airline","from","airlines","as","t1","join","flights","as","t2","on","t1",".","uid","=","t2",".","airline","group","by","t1",".","airline","having","count","(","*",")",">","value"],"243":["select","t1",".","airline","from","airlines","as","t1","join","flights","as","t2","on","t1",".","uid","=","t2",".","airline","group","by","t1",".","airline","having","count","(","*",")","<","value"],"244":["select","t1",".","airline","from","airlines","as","t1","join","flights","as","t2","on","t1",".","uid","=","t2",".","airline","group","by","t1",".","airline","having","count","(","*",")","<","value"],"245":["select","t1",".","flightno","from","flights","as","t1","join","airlines","as","t2","on","t2",".","uid","=","t1",".","airline","where","t2",".","airline","=","value"],"246":["select","t1",".","flightno","from","flights","as","t1","join","airlines","as","t2","on","t2",".","uid","=","t1",".","airline","where","t2",".","airline","=","value"],"247":["select","flightno","from","flights","where","sourceairport","=","value"],"248":["select","flightno","from","flights","where","sourceairport","=","value"],"249":["select","flightno","from","flights","where","destairport","=","value"],"250":["select","flightno","from","flights","where","destairport","=","value"],"251":["select","t1",".","flightno","from","flights","as","t1","join","airports","as","t2","on","t1",".","sourceairport","=","t2",".","airportcode","where","t2",".","city","=","value"],"252":["select","t1",".","flightno","from","flights","as","t1","join","airports","as","t2","on","t1",".","sourceairport","=","t2",".","airportcode","where","t2",".","city","=","value"],"253":["select","t1",".","flightno","from","flights","as","t1","join","airports","as","t2","on","t1",".","destairport","=","t2",".","airportcode","where","t2",".","city","=","value"],"254":["select","t1",".","flightno","from","flights","as","t1","join","airports","as","t2","on","t1",".","destairport","=","t2",".","airportcode","where","t2",".","city","=","value"],"255":["select","count","(","*",")","from","flights","as","t1","join","airports","as","t2","on","t1",".","destairport","=","t2",".","airportcode","where","t2",".","city","=","value","or","t2",".","city","=","value"],"256":["select","count","(","*",")","from","flights","as","t1","join","airports","as","t2","on","t1",".","destairport","=","t2",".","airportcode","where","t2",".","city","=","value","or","t2",".","city","=","value"],"257":["select","airportname","from","airports","where","airportcode","not","in","(","select","sourceairport","from","flights","union","select","destairport","from","flights",")"],"258":["select","airportname","from","airports","where","airportcode","not","in","(","select","sourceairport","from","flights","union","select","destairport","from","flights",")"],"259":["select","count","(","*",")","from","employee"],"260":["select","count","(","*",")","from","employee"],"261":["select","name","from","employee","order","by","age"],"262":["select","name","from","employee","order","by","age"],"263":["select","count","(","*",")",",","city","from","employee","group","by","city"],"264":["select","count","(","*",")",",","city","from","employee","group","by","city"],"265":["select","city","from","employee","where","age","<","value","group","by","city","having","count","(","*",")",">","value"],"266":["select","city","from","employee","where","age","<","value","group","by","city","having","count","(","*",")",">","value"],"267":["select","count","(","*",")",",","location","from","shop","group","by","location"],"268":["select","count","(","*",")",",","location","from","shop","group","by","location"],"269":["select","manager_name",",","district","from","shop","order","by","number_products","desc","limit","value"],"270":["select","manager_name",",","district","from","shop","order","by","number_products","desc","limit","value"],"271":["select","min","(","number_products",")",",","max","(","number_products",")","from","shop"],"272":["select","min","(","number_products",")",",","max","(","number_products",")","from","shop"],"273":["select","name",",","location",",","district","from","shop","order","by","number_products","desc"],"274":["select","name",",","location",",","district","from","shop","order","by","number_products","desc"],"275":["select","name","from","shop","where","number_products",">","(","select","avg","(","number_products",")","from","shop",")"],"276":["select","name","from","shop","where","number_products",">","(","select","avg","(","number_products",")","from","shop",")"],"277":["select","t1",".","name","from","employee","as","t1","join","evaluation","as","t2","on","t1",".","employee_id","=","t2",".","employee_id","group","by","t2",".","employee_id","order","by","count","(","*",")","desc","limit","value"],"278":["select","t1",".","name","from","employee","as","t1","join","evaluation","as","t2","on","t1",".","employee_id","=","t2",".","employee_id","group","by","t2",".","employee_id","order","by","count","(","*",")","desc","limit","value"],"279":["select","t1",".","name","from","employee","as","t1","join","evaluation","as","t2","on","t1",".","employee_id","=","t2",".","employee_id","order","by","t2",".","bonus","desc","limit","value"],"280":["select","t1",".","name","from","employee","as","t1","join","evaluation","as","t2","on","t1",".","employee_id","=","t2",".","employee_id","order","by","t2",".","bonus","desc","limit","value"],"281":["select","name","from","employee","where","employee_id","not","in","(","select","employee_id","from","evaluation",")"],"282":["select","name","from","employee","where","employee_id","not","in","(","select","employee_id","from","evaluation",")"],"283":["select","t2",".","name","from","hiring","as","t1","join","shop","as","t2","on","t1",".","shop_id","=","t2",".","shop_id","group","by","t1",".","shop_id","order","by","count","(","*",")","desc","limit","value"],"284":["select","t2",".","name","from","hiring","as","t1","join","shop","as","t2","on","t1",".","shop_id","=","t2",".","shop_id","group","by","t1",".","shop_id","order","by","count","(","*",")","desc","limit","value"],"285":["select","name","from","shop","where","shop_id","not","in","(","select","shop_id","from","hiring",")"],"286":["select","name","from","shop","where","shop_id","not","in","(","select","shop_id","from","hiring",")"],"287":["select","count","(","*",")",",","t2",".","name","from","hiring","as","t1","join","shop","as","t2","on","t1",".","shop_id","=","t2",".","shop_id","group","by","t2",".","name"],"288":["select","count","(","*",")",",","t2",".","name","from","hiring","as","t1","join","shop","as","t2","on","t1",".","shop_id","=","t2",".","shop_id","group","by","t2",".","name"],"289":["select","sum","(","bonus",")","from","evaluation"],"290":["select","sum","(","bonus",")","from","evaluation"],"291":["select","*","from","hiring"],"292":["select","*","from","hiring"],"293":["select","district","from","shop","where","number_products","<","value","intersect","select","district","from","shop","where","number_products",">","value"],"294":["select","district","from","shop","where","number_products","<","value","intersect","select","district","from","shop","where","number_products",">","value"],"295":["select","count","(","distinct","location",")","from","shop"],"296":["select","count","(","distinct","location",")","from","shop"],"297":["select","count","(","*",")","from","documents"],"298":["select","count","(","*",")","from","documents"],"299":["select","document_id",",","document_name",",","document_description","from","documents"],"300":["select","document_id",",","document_name",",","document_description","from","documents"],"301":["select","document_name",",","template_id","from","documents","where","document_description","like","value"],"302":["select","document_name",",","template_id","from","documents","where","document_description","like","value"],"303":["select","document_id",",","template_id",",","document_description","from","documents","where","document_name","=","value"],"304":["select","document_id",",","template_id",",","document_description","from","documents","where","document_name","=","value"],"305":["select","count","(","distinct","template_id",")","from","documents"],"306":["select","count","(","distinct","template_id",")","from","documents"],"307":["select","count","(","*",")","from","documents","as","t1","join","templates","as","t2","on","t1",".","template_id","=","t2",".","template_id","where","t2",".","template_type_code","=","value"],"308":["select","count","(","*",")","from","documents","as","t1","join","templates","as","t2","on","t1",".","template_id","=","t2",".","template_id","where","t2",".","template_type_code","=","value"],"309":["select","template_id",",","count","(","*",")","from","documents","group","by","template_id"],"310":["select","template_id",",","count","(","*",")","from","documents","group","by","template_id"],"311":["select","t1",".","template_id",",","t2",".","template_type_code","from","documents","as","t1","join","templates","as","t2","on","t1",".","template_id","=","t2",".","template_id","group","by","t1",".","template_id","order","by","count","(","*",")","desc","limit","value"],"312":["select","t1",".","template_id",",","t2",".","template_type_code","from","documents","as","t1","join","templates","as","t2","on","t1",".","template_id","=","t2",".","template_id","group","by","t1",".","template_id","order","by","count","(","*",")","desc","limit","value"],"313":["select","template_id","from","documents","group","by","template_id","having","count","(","*",")",">","value"],"314":["select","template_id","from","documents","group","by","template_id","having","count","(","*",")",">","value"],"315":["select","template_id","from","templates","except","select","template_id","from","documents"],"316":["select","template_id","from","templates","except","select","template_id","from","documents"],"317":["select","count","(","*",")","from","templates"],"318":["select","count","(","*",")","from","templates"],"319":["select","template_id",",","version_number",",","template_type_code","from","templates"],"320":["select","template_id",",","version_number",",","template_type_code","from","templates"],"321":["select","distinct","template_type_code","from","templates"],"322":["select","distinct","template_type_code","from","templates"],"323":["select","template_id","from","templates","where","template_type_code","=","value","or","template_type_code","=","value"],"324":["select","template_id","from","templates","where","template_type_code","=","value","or","template_type_code","=","value"],"325":["select","count","(","*",")","from","templates","where","template_type_code","=","value"],"326":["select","count","(","*",")","from","templates","where","template_type_code","=","value"],"327":["select","version_number",",","template_type_code","from","templates","where","version_number",">","value"],"328":["select","version_number",",","template_type_code","from","templates","where","version_number",">","value"],"329":["select","template_type_code",",","count","(","*",")","from","templates","group","by","template_type_code"],"330":["select","template_type_code",",","count","(","*",")","from","templates","group","by","template_type_code"],"331":["select","template_type_code","from","templates","group","by","template_type_code","order","by","count","(","*",")","desc","limit","value"],"332":["select","template_type_code","from","templates","group","by","template_type_code","order","by","count","(","*",")","desc","limit","value"],"333":["select","template_type_code","from","templates","group","by","template_type_code","having","count","(","*",")","<","value"],"334":["select","template_type_code","from","templates","group","by","template_type_code","having","count","(","*",")","<","value"],"335":["select","min","(","version_number",")",",","template_type_code","from","templates"],"336":["select","min","(","version_number",")",",","template_type_code","from","templates"],"337":["select","t1",".","template_type_code","from","templates","as","t1","join","documents","as","t2","on","t1",".","template_id","=","t2",".","template_id","where","t2",".","document_name","=","value"],"338":["select","t1",".","template_type_code","from","templates","as","t1","join","documents","as","t2","on","t1",".","template_id","=","t2",".","template_id","where","t2",".","document_name","=","value"],"339":["select","t2",".","document_name","from","templates","as","t1","join","documents","as","t2","on","t1",".","template_id","=","t2",".","template_id","where","t1",".","template_type_code","=","value"],"340":["select","t2",".","document_name","from","templates","as","t1","join","documents","as","t2","on","t1",".","template_id","=","t2",".","template_id","where","t1",".","template_type_code","=","value"],"341":["select","t1",".","template_type_code",",","count","(","*",")","from","templates","as","t1","join","documents","as","t2","on","t1",".","template_id","=","t2",".","template_id","group","by","t1",".","template_type_code"],"342":["select","t1",".","template_type_code",",","count","(","*",")","from","templates","as","t1","join","documents","as","t2","on","t1",".","template_id","=","t2",".","template_id","group","by","t1",".","template_type_code"],"343":["select","t1",".","template_type_code","from","templates","as","t1","join","documents","as","t2","on","t1",".","template_id","=","t2",".","template_id","group","by","t1",".","template_type_code","order","by","count","(","*",")","desc","limit","value"],"344":["select","t1",".","template_type_code","from","templates","as","t1","join","documents","as","t2","on","t1",".","template_id","=","t2",".","template_id","group","by","t1",".","template_type_code","order","by","count","(","*",")","desc","limit","value"],"345":["select","template_type_code","from","templates","except","select","template_type_code","from","templates","as","t1","join","documents","as","t2","on","t1",".","template_id","=","t2",".","template_id"],"346":["select","template_type_code","from","templates","except","select","template_type_code","from","templates","as","t1","join","documents","as","t2","on","t1",".","template_id","=","t2",".","template_id"],"347":["select","template_type_code",",","template_type_description","from","ref_template_types"],"348":["select","template_type_code",",","template_type_description","from","ref_template_types"],"349":["select","template_type_description","from","ref_template_types","where","template_type_code","=","value"],"350":["select","template_type_description","from","ref_template_types","where","template_type_code","=","value"],"351":["select","template_type_code","from","ref_template_types","where","template_type_description","=","value"],"352":["select","template_type_code","from","ref_template_types","where","template_type_description","=","value"],"353":["select","distinct","t1",".","template_type_description","from","ref_template_types","as","t1","join","templates","as","t2","on","t1",".","template_type_code","=","t2",".","template_type_code","join","documents","as","t3","on","t2",".","template_id","=","t3",".","template_id"],"354":["select","distinct","t1",".","template_type_description","from","ref_template_types","as","t1","join","templates","as","t2","on","t1",".","template_type_code","=","t2",".","template_type_code","join","documents","as","t3","on","t2",".","template_id","=","t3",".","template_id"],"355":["select","t2",".","template_id","from","ref_template_types","as","t1","join","templates","as","t2","on","t1",".","template_type_code","=","t2",".","template_type_code","where","t1",".","template_type_description","=","value"],"356":["select","t2",".","template_id","from","ref_template_types","as","t1","join","templates","as","t2","on","t1",".","template_type_code","=","t2",".","template_type_code","where","t1",".","template_type_description","=","value"],"357":["select","count","(","*",")","from","paragraphs"],"358":["select","count","(","*",")","from","paragraphs"],"359":["select","count","(","*",")","from","paragraphs","as","t1","join","documents","as","t2","on","t1",".","document_id","=","t2",".","document_id","where","t2",".","document_name","=","value"],"360":["select","count","(","*",")","from","paragraphs","as","t1","join","documents","as","t2","on","t1",".","document_id","=","t2",".","document_id","where","t2",".","document_name","=","value"],"361":["select","other_details","from","paragraphs","where","paragraph_text","like","value"],"362":["select","other_details","from","paragraphs","where","paragraph_text","like","value"],"363":["select","t1",".","paragraph_id",",","t1",".","paragraph_text","from","paragraphs","as","t1","join","documents","as","t2","on","t1",".","document_id","=","t2",".","document_id","where","t2",".","document_name","=","value"],"364":["select","t1",".","paragraph_id",",","t1",".","paragraph_text","from","paragraphs","as","t1","join","documents","as","t2","on","t1",".","document_id","=","t2",".","document_id","where","t2",".","document_name","=","value"],"365":["select","t1",".","paragraph_text","from","paragraphs","as","t1","join","documents","as","t2","on","t1",".","document_id","=","t2",".","document_id","where","t2",".","document_name","=","value"],"366":["select","t1",".","paragraph_text","from","paragraphs","as","t1","join","documents","as","t2","on","t1",".","document_id","=","t2",".","document_id","where","t2",".","document_name","=","value"],"367":["select","document_id",",","count","(","*",")","from","paragraphs","group","by","document_id","order","by","document_id"],"368":["select","document_id",",","count","(","*",")","from","paragraphs","group","by","document_id","order","by","document_id"],"369":["select","t1",".","document_id",",","t2",".","document_name",",","count","(","*",")","from","paragraphs","as","t1","join","documents","as","t2","on","t1",".","document_id","=","t2",".","document_id","group","by","t1",".","document_id"],"370":["select","t1",".","document_id",",","t2",".","document_name",",","count","(","*",")","from","paragraphs","as","t1","join","documents","as","t2","on","t1",".","document_id","=","t2",".","document_id","group","by","t1",".","document_id"],"371":["select","document_id","from","paragraphs","group","by","document_id","having","count","(","*",")",">","=","value"],"372":["select","document_id","from","paragraphs","group","by","document_id","having","count","(","*",")",">","=","value"],"373":["select","t1",".","document_id",",","t2",".","document_name","from","paragraphs","as","t1","join","documents","as","t2","on","t1",".","document_id","=","t2",".","document_id","group","by","t1",".","document_id","order","by","count","(","*",")","desc","limit","value"],"374":["select","t1",".","document_id",",","t2",".","document_name","from","paragraphs","as","t1","join","documents","as","t2","on","t1",".","document_id","=","t2",".","document_id","group","by","t1",".","document_id","order","by","count","(","*",")","desc","limit","value"],"375":["select","document_id","from","paragraphs","group","by","document_id","order","by","count","(","*",")","asc","limit","value"],"376":["select","document_id","from","paragraphs","group","by","document_id","order","by","count","(","*",")","asc","limit","value"],"377":["select","document_id","from","paragraphs","group","by","document_id","having","count","(","*",")","between","value","and","value"],"378":["select","document_id","from","paragraphs","group","by","document_id","having","count","(","*",")","between","value","and","value"],"379":["select","document_id","from","paragraphs","where","paragraph_text","=","value","intersect","select","document_id","from","paragraphs","where","paragraph_text","=","value"],"380":["select","document_id","from","paragraphs","where","paragraph_text","=","value","intersect","select","document_id","from","paragraphs","where","paragraph_text","=","value"],"381":["select","count","(","*",")","from","teacher"],"382":["select","count","(","*",")","from","teacher"],"383":["select","name","from","teacher","order","by","age","asc"],"384":["select","name","from","teacher","order","by","age","asc"],"385":["select","age",",","hometown","from","teacher"],"386":["select","age",",","hometown","from","teacher"],"387":["select","name","from","teacher","where","hometown","!","=","value"],"388":["select","name","from","teacher","where","hometown","!","=","value"],"389":["select","name","from","teacher","where","age","=","value","or","age","=","value"],"390":["select","name","from","teacher","where","age","=","value","or","age","=","value"],"391":["select","hometown","from","teacher","order","by","age","asc","limit","value"],"392":["select","hometown","from","teacher","order","by","age","asc","limit","value"],"393":["select","hometown",",","count","(","*",")","from","teacher","group","by","hometown"],"394":["select","hometown",",","count","(","*",")","from","teacher","group","by","hometown"],"395":["select","hometown","from","teacher","group","by","hometown","order","by","count","(","*",")","desc","limit","value"],"396":["select","hometown","from","teacher","group","by","hometown","order","by","count","(","*",")","desc","limit","value"],"397":["select","hometown","from","teacher","group","by","hometown","having","count","(","*",")",">","=","value"],"398":["select","hometown","from","teacher","group","by","hometown","having","count","(","*",")",">","=","value"],"399":["select","t3",".","name",",","t2",".","course","from","course_arrange","as","t1","join","course","as","t2","on","t1",".","course_id","=","t2",".","course_id","join","teacher","as","t3","on","t1",".","teacher_id","=","t3",".","teacher_id"],"400":["select","t3",".","name",",","t2",".","course","from","course_arrange","as","t1","join","course","as","t2","on","t1",".","course_id","=","t2",".","course_id","join","teacher","as","t3","on","t1",".","teacher_id","=","t3",".","teacher_id"],"401":["select","t3",".","name",",","t2",".","course","from","course_arrange","as","t1","join","course","as","t2","on","t1",".","course_id","=","t2",".","course_id","join","teacher","as","t3","on","t1",".","teacher_id","=","t3",".","teacher_id","order","by","t3",".","name"],"402":["select","t3",".","name",",","t2",".","course","from","course_arrange","as","t1","join","course","as","t2","on","t1",".","course_id","=","t2",".","course_id","join","teacher","as","t3","on","t1",".","teacher_id","=","t3",".","teacher_id","order","by","t3",".","name"],"403":["select","t3",".","name","from","course_arrange","as","t1","join","course","as","t2","on","t1",".","course_id","=","t2",".","course_id","join","teacher","as","t3","on","t1",".","teacher_id","=","t3",".","teacher_id","where","t2",".","course","=","value"],"404":["select","t3",".","name","from","course_arrange","as","t1","join","course","as","t2","on","t1",".","course_id","=","t2",".","course_id","join","teacher","as","t3","on","t1",".","teacher_id","=","t3",".","teacher_id","where","t2",".","course","=","value"],"405":["select","t2",".","name",",","count","(","*",")","from","course_arrange","as","t1","join","teacher","as","t2","on","t1",".","teacher_id","=","t2",".","teacher_id","group","by","t2",".","name"],"406":["select","t2",".","name",",","count","(","*",")","from","course_arrange","as","t1","join","teacher","as","t2","on","t1",".","teacher_id","=","t2",".","teacher_id","group","by","t2",".","name"],"407":["select","t2",".","name","from","course_arrange","as","t1","join","teacher","as","t2","on","t1",".","teacher_id","=","t2",".","teacher_id","group","by","t2",".","name","having","count","(","*",")",">","=","value"],"408":["select","t2",".","name","from","course_arrange","as","t1","join","teacher","as","t2","on","t1",".","teacher_id","=","t2",".","teacher_id","group","by","t2",".","name","having","count","(","*",")",">","=","value"],"409":["select","name","from","teacher","where","teacher_id","not","in","(","select","teacher_id","from","course_arrange",")"],"410":["select","name","from","teacher","where","teacher_id","not","in","(","select","teacher_id","from","course_arrange",")"],"411":["select","count","(","*",")","from","visitor","where","age","<","value"],"412":["select","name","from","visitor","where","level_of_membership",">","value","order","by","level_of_membership","desc"],"413":["select","avg","(","age",")","from","visitor","where","level_of_membership","<","=","value"],"414":["select","name",",","level_of_membership","from","visitor","where","level_of_membership",">","value","order","by","age","desc"],"415":["select","museum_id",",","name","from","museum","order","by","num_of_staff","desc","limit","value"],"416":["select","avg","(","num_of_staff",")","from","museum","where","open_year","<","value"],"417":["select","num_of_staff",",","open_year","from","museum","where","name","=","value"],"418":["select","name","from","museum","where","num_of_staff",">","(","select","min","(","num_of_staff",")","from","museum","where","open_year",">","value",")"],"419":["select","t1",".","id",",","t1",".","name",",","t1",".","age","from","visitor","as","t1","join","visit","as","t2","on","t1",".","id","=","t2",".","visitor_id","group","by","t1",".","id","having","count","(","*",")",">","value"],"420":["select","t2",".","visitor_id",",","t1",".","name",",","t1",".","level_of_membership","from","visitor","as","t1","join","visit","as","t2","on","t1",".","id","=","t2",".","visitor_id","group","by","t2",".","visitor_id","order","by","sum","(","t2",".","total_spent",")","desc","limit","value"],"421":["select","t2",".","museum_id",",","t1",".","name","from","museum","as","t1","join","visit","as","t2","on","t1",".","museum_id","=","t2",".","museum_id","group","by","t2",".","museum_id","order","by","count","(","*",")","desc","limit","value"],"422":["select","name","from","museum","where","museum_id","not","in","(","select","museum_id","from","visit",")"],"423":["select","t1",".","name",",","t1",".","age","from","visitor","as","t1","join","visit","as","t2","on","t1",".","id","=","t2",".","visitor_id","order","by","t2",".","num_of_ticket","desc","limit","value"],"424":["select","avg","(","num_of_ticket",")",",","max","(","num_of_ticket",")","from","visit"],"425":["select","sum","(","t2",".","total_spent",")","from","visitor","as","t1","join","visit","as","t2","on","t1",".","id","=","t2",".","visitor_id","where","t1",".","level_of_membership","=","value"],"426":["select","t1",".","name","from","visitor","as","t1","join","visit","as","t2","on","t1",".","id","=","t2",".","visitor_id","join","museum","as","t3","on","t3",".","museum_id","=","t2",".","museum_id","where","t3",".","open_year","<","value","intersect","select","t1",".","name","from","visitor","as","t1","join","visit","as","t2","on","t1",".","id","=","t2",".","visitor_id","join","museum","as","t3","on","t3",".","museum_id","=","t2",".","museum_id","where","t3",".","open_year",">","value"],"427":["select","count","(","*",")","from","visitor","where","id","not","in","(","select","t2",".","visitor_id","from","museum","as","t1","join","visit","as","t2","on","t1",".","museum_id","=","t2",".","museum_id","where","t1",".","open_year",">","value",")"],"428":["select","count","(","*",")","from","museum","where","open_year",">","value","or","open_year","<","value"],"429":["select","count","(","*",")","from","players"],"430":["select","count","(","*",")","from","players"],"431":["select","count","(","*",")","from","matches"],"432":["select","count","(","*",")","from","matches"],"433":["select","first_name",",","birth_date","from","players","where","country_code","=","value"],"434":["select","first_name",",","birth_date","from","players","where","country_code","=","value"],"435":["select","avg","(","loser_age",")",",","avg","(","winner_age",")","from","matches"],"436":["select","avg","(","loser_age",")",",","avg","(","winner_age",")","from","matches"],"437":["select","avg","(","winner_rank",")","from","matches"],"438":["select","avg","(","winner_rank",")","from","matches"],"439":["select","min","(","loser_rank",")","from","matches"],"440":["select","min","(","loser_rank",")","from","matches"],"441":["select","count","(","distinct","country_code",")","from","players"],"442":["select","count","(","distinct","country_code",")","from","players"],"443":["select","count","(","distinct","loser_name",")","from","matches"],"444":["select","count","(","distinct","loser_name",")","from","matches"],"445":["select","tourney_name","from","matches","group","by","tourney_name","having","count","(","*",")",">","value"],"446":["select","tourney_name","from","matches","group","by","tourney_name","having","count","(","*",")",">","value"],"447":["select","winner_name","from","matches","where","year","=","value","intersect","select","winner_name","from","matches","where","year","=","value"],"448":["select","winner_name","from","matches","where","year","=","value","intersect","select","winner_name","from","matches","where","year","=","value"],"449":["select","count","(","*",")","from","matches","where","year","=","value","or","year","=","value"],"450":["select","count","(","*",")","from","matches","where","year","=","value","or","year","=","value"],"451":["select","t1",".","country_code",",","t1",".","first_name","from","players","as","t1","join","matches","as","t2","on","t1",".","player_id","=","t2",".","winner_id","where","t2",".","tourney_name","=","value","intersect","select","t1",".","country_code",",","t1",".","first_name","from","players","as","t1","join","matches","as","t2","on","t1",".","player_id","=","t2",".","winner_id","where","t2",".","tourney_name","=","value"],"452":["select","t1",".","country_code",",","t1",".","first_name","from","players","as","t1","join","matches","as","t2","on","t1",".","player_id","=","t2",".","winner_id","where","t2",".","tourney_name","=","value","intersect","select","t1",".","country_code",",","t1",".","first_name","from","players","as","t1","join","matches","as","t2","on","t1",".","player_id","=","t2",".","winner_id","where","t2",".","tourney_name","=","value"],"453":["select","first_name",",","country_code","from","players","order","by","birth_date","limit","value"],"454":["select","first_name",",","country_code","from","players","order","by","birth_date","limit","value"],"455":["select","first_name",",","last_name","from","players","order","by","birth_date"],"456":["select","first_name",",","last_name","from","players","order","by","birth_date"],"457":["select","first_name",",","last_name","from","players","where","hand","=","value","order","by","birth_date"],"458":["select","first_name",",","last_name","from","players","where","hand","=","value","order","by","birth_date"],"459":["select","t1",".","country_code",",","t1",".","first_name","from","players","as","t1","join","rankings","as","t2","on","t1",".","player_id","=","t2",".","player_id","order","by","t2",".","tours","desc","limit","value"],"460":["select","t1",".","country_code",",","t1",".","first_name","from","players","as","t1","join","rankings","as","t2","on","t1",".","player_id","=","t2",".","player_id","order","by","t2",".","tours","desc","limit","value"],"461":["select","year","from","matches","group","by","year","order","by","count","(","*",")","desc","limit","value"],"462":["select","year","from","matches","group","by","year","order","by","count","(","*",")","desc","limit","value"],"463":["select","winner_name",",","winner_rank_points","from","matches","group","by","winner_name","order","by","count","(","*",")","desc","limit","value"],"464":["select","winner_name",",","winner_rank_points","from","matches","group","by","winner_name","order","by","count","(","*",")","desc","limit","value"],"465":["select","winner_name","from","matches","where","tourney_name","=","value","order","by","winner_rank_points","desc","limit","value"],"466":["select","winner_name","from","matches","where","tourney_name","=","value","order","by","winner_rank_points","desc","limit","value"],"467":["select","winner_name",",","loser_name","from","matches","order","by","minutes","desc","limit","value"],"468":["select","winner_name",",","loser_name","from","matches","order","by","minutes","desc","limit","value"],"469":["select","avg","(","ranking",")",",","t1",".","first_name","from","players","as","t1","join","rankings","as","t2","on","t1",".","player_id","=","t2",".","player_id","group","by","t1",".","first_name"],"470":["select","avg","(","ranking",")",",","t1",".","first_name","from","players","as","t1","join","rankings","as","t2","on","t1",".","player_id","=","t2",".","player_id","group","by","t1",".","first_name"],"471":["select","sum","(","ranking_points",")",",","t1",".","first_name","from","players","as","t1","join","rankings","as","t2","on","t1",".","player_id","=","t2",".","player_id","group","by","t1",".","first_name"],"472":["select","sum","(","ranking_points",")",",","t1",".","first_name","from","players","as","t1","join","rankings","as","t2","on","t1",".","player_id","=","t2",".","player_id","group","by","t1",".","first_name"],"473":["select","count","(","*",")",",","country_code","from","players","group","by","country_code"],"474":["select","count","(","*",")",",","country_code","from","players","group","by","country_code"],"475":["select","country_code","from","players","group","by","country_code","order","by","count","(","*",")","desc","limit","value"],"476":["select","country_code","from","players","group","by","country_code","order","by","count","(","*",")","desc","limit","value"],"477":["select","country_code","from","players","group","by","country_code","having","count","(","*",")",">","value"],"478":["select","country_code","from","players","group","by","country_code","having","count","(","*",")",">","value"],"479":["select","sum","(","tours",")",",","ranking_date","from","rankings","group","by","ranking_date"],"480":["select","sum","(","tours",")",",","ranking_date","from","rankings","group","by","ranking_date"],"481":["select","count","(","*",")",",","year","from","matches","group","by","year"],"482":["select","count","(","*",")",",","year","from","matches","group","by","year"],"483":["select","distinct","winner_name",",","winner_rank","from","matches","order","by","winner_age","limit","value"],"484":["select","distinct","winner_name",",","winner_rank","from","matches","order","by","winner_age","limit","value"],"485":["select","count","(","distinct","winner_name",")","from","matches","where","tourney_name","=","value","and","winner_hand","=","value"],"486":["select","count","(","distinct","winner_name",")","from","matches","where","tourney_name","=","value","and","winner_hand","=","value"],"487":["select","t1",".","first_name",",","t1",".","country_code",",","t1",".","birth_date","from","players","as","t1","join","matches","as","t2","on","t1",".","player_id","=","t2",".","winner_id","order","by","t2",".","winner_rank_points","desc","limit","value"],"488":["select","t1",".","first_name",",","t1",".","country_code",",","t1",".","birth_date","from","players","as","t1","join","matches","as","t2","on","t1",".","player_id","=","t2",".","winner_id","order","by","t2",".","winner_rank_points","desc","limit","value"],"489":["select","count","(","*",")",",","hand","from","players","group","by","hand"],"490":["select","count","(","*",")",",","hand","from","players","group","by","hand"],"491":["select","count","(","*",")","from","ship","where","disposition_of_ship","=","value"],"492":["select","name",",","tonnage","from","ship","order","by","name","desc"],"493":["select","name",",","date","from","battle"],"494":["select","max","(","killed",")",",","min","(","killed",")","from","death"],"495":["select","avg","(","injured",")","from","death"],"496":["select","t1",".","killed",",","t1",".","injured","from","death","as","t1","join","ship","as","t2","on","t1",".","caused_by_ship_id","=","t2",".","id","where","t2",".","tonnage","=","value"],"497":["select","name",",","result","from","battle","where","bulgarian_commander","!","=","value"],"498":["select","distinct","t1",".","id",",","t1",".","name","from","battle","as","t1","join","ship","as","t2","on","t1",".","id","=","t2",".","lost_in_battle","where","t2",".","ship_type","=","value"],"499":["select","t1",".","id",",","t1",".","name","from","battle","as","t1","join","ship","as","t2","on","t1",".","id","=","t2",".","lost_in_battle","join","death","as","t3","on","t2",".","id","=","t3",".","caused_by_ship_id","group","by","t1",".","id","having","sum","(","t3",".","killed",")",">","value"],"500":["select","t2",".","id",",","t2",".","name","from","death","as","t1","join","ship","as","t2","on","t1",".","caused_by_ship_id","=","t2",".","id","group","by","t2",".","id","order","by","count","(","*",")","desc","limit","value"],"501":["select","name","from","battle","where","bulgarian_commander","=","value","and","latin_commander","=","value"],"502":["select","count","(","distinct","result",")","from","battle"],"503":["select","count","(","*",")","from","battle","where","id","not","in","(","select","lost_in_battle","from","ship","where","tonnage","=","value",")"],"504":["select","t1",".","name",",","t1",".","date","from","battle","as","t1","join","ship","as","t2","on","t1",".","id","=","t2",".","lost_in_battle","where","t2",".","name","=","value","intersect","select","t1",".","name",",","t1",".","date","from","battle","as","t1","join","ship","as","t2","on","t1",".","id","=","t2",".","lost_in_battle","where","t2",".","name","=","value"],"505":["select","name",",","result",",","bulgarian_commander","from","battle","except","select","t1",".","name",",","t1",".","result",",","t1",".","bulgarian_commander","from","battle","as","t1","join","ship","as","t2","on","t1",".","id","=","t2",".","lost_in_battle","where","t2",".","location","=","value"],"506":["select","note","from","death","where","note","like","value"],"507":["select","line_1",",","line_2","from","addresses"],"508":["select","line_1",",","line_2","from","addresses"],"509":["select","count","(","*",")","from","courses"],"510":["select","count","(","*",")","from","courses"],"511":["select","course_description","from","courses","where","course_name","=","value"],"512":["select","course_description","from","courses","where","course_name","=","value"],"513":["select","zip_postcode","from","addresses","where","city","=","value"],"514":["select","zip_postcode","from","addresses","where","city","=","value"],"515":["select","t2",".","department_name",",","t1",".","department_id","from","degree_programs","as","t1","join","departments","as","t2","on","t1",".","department_id","=","t2",".","department_id","group","by","t1",".","department_id","order","by","count","(","*",")","desc","limit","value"],"516":["select","t2",".","department_name",",","t1",".","department_id","from","degree_programs","as","t1","join","departments","as","t2","on","t1",".","department_id","=","t2",".","department_id","group","by","t1",".","department_id","order","by","count","(","*",")","desc","limit","value"],"517":["select","count","(","distinct","department_id",")","from","degree_programs"],"518":["select","count","(","distinct","department_id",")","from","degree_programs"],"519":["select","count","(","distinct","degree_summary_name",")","from","degree_programs"],"520":["select","count","(","distinct","degree_summary_name",")","from","degree_programs"],"521":["select","count","(","*",")","from","departments","as","t1","join","degree_programs","as","t2","on","t1",".","department_id","=","t2",".","department_id","where","t1",".","department_name","=","value"],"522":["select","count","(","*",")","from","departments","as","t1","join","degree_programs","as","t2","on","t1",".","department_id","=","t2",".","department_id","where","t1",".","department_name","=","value"],"523":["select","section_name",",","section_description","from","sections"],"524":["select","section_name",",","section_description","from","sections"],"525":["select","t1",".","course_name",",","t1",".","course_id","from","courses","as","t1","join","sections","as","t2","on","t1",".","course_id","=","t2",".","course_id","group","by","t1",".","course_id","having","count","(","*",")","<","=","value"],"526":["select","t1",".","course_name",",","t1",".","course_id","from","courses","as","t1","join","sections","as","t2","on","t1",".","course_id","=","t2",".","course_id","group","by","t1",".","course_id","having","count","(","*",")","<","=","value"],"527":["select","section_name","from","sections","order","by","section_name","desc"],"528":["select","section_name","from","sections","order","by","section_name","desc"],"529":["select","t1",".","semester_name",",","t1",".","semester_id","from","semesters","as","t1","join","student_enrolment","as","t2","on","t1",".","semester_id","=","t2",".","semester_id","group","by","t1",".","semester_id","order","by","count","(","*",")","desc","limit","value"],"530":["select","t1",".","semester_name",",","t1",".","semester_id","from","semesters","as","t1","join","student_enrolment","as","t2","on","t1",".","semester_id","=","t2",".","semester_id","group","by","t1",".","semester_id","order","by","count","(","*",")","desc","limit","value"],"531":["select","department_description","from","departments","where","department_name","like","value"],"532":["select","department_description","from","departments","where","department_name","like","value"],"533":["select","t1",".","first_name",",","t1",".","middle_name",",","t1",".","last_name",",","t1",".","student_id","from","students","as","t1","join","student_enrolment","as","t2","on","t1",".","student_id","=","t2",".","student_id","group","by","t1",".","student_id","having","count","(","*",")","=","value"],"534":["select","t1",".","first_name",",","t1",".","middle_name",",","t1",".","last_name",",","t1",".","student_id","from","students","as","t1","join","student_enrolment","as","t2","on","t1",".","student_id","=","t2",".","student_id","group","by","t1",".","student_id","having","count","(","*",")","=","value"],"535":["select","distinct","t1",".","first_name",",","t1",".","middle_name",",","t1",".","last_name","from","students","as","t1","join","student_enrolment","as","t2","on","t1",".","student_id","=","t2",".","student_id","join","degree_programs","as","t3","on","t2",".","degree_program_id","=","t3",".","degree_program_id","where","t3",".","degree_summary_name","=","value"],"536":["select","distinct","t1",".","first_name",",","t1",".","middle_name",",","t1",".","last_name","from","students","as","t1","join","student_enrolment","as","t2","on","t1",".","student_id","=","t2",".","student_id","join","degree_programs","as","t3","on","t2",".","degree_program_id","=","t3",".","degree_program_id","where","t3",".","degree_summary_name","=","value"],"537":["select","t1",".","degree_summary_name","from","degree_programs","as","t1","join","student_enrolment","as","t2","on","t1",".","degree_program_id","=","t2",".","degree_program_id","group","by","t1",".","degree_summary_name","order","by","count","(","*",")","desc","limit","value"],"538":["select","t1",".","degree_summary_name","from","degree_programs","as","t1","join","student_enrolment","as","t2","on","t1",".","degree_program_id","=","t2",".","degree_program_id","group","by","t1",".","degree_summary_name","order","by","count","(","*",")","desc","limit","value"],"539":["select","t1",".","degree_program_id",",","t1",".","degree_summary_name","from","degree_programs","as","t1","join","student_enrolment","as","t2","on","t1",".","degree_program_id","=","t2",".","degree_program_id","group","by","t1",".","degree_program_id","order","by","count","(","*",")","desc","limit","value"],"540":["select","t1",".","degree_program_id",",","t1",".","degree_summary_name","from","degree_programs","as","t1","join","student_enrolment","as","t2","on","t1",".","degree_program_id","=","t2",".","degree_program_id","group","by","t1",".","degree_program_id","order","by","count","(","*",")","desc","limit","value"],"541":["select","t1",".","student_id",",","t1",".","first_name",",","t1",".","middle_name",",","t1",".","last_name",",","count","(","*",")",",","t1",".","student_id","from","students","as","t1","join","student_enrolment","as","t2","on","t1",".","student_id","=","t2",".","student_id","group","by","t1",".","student_id","order","by","count","(","*",")","desc","limit","value"],"542":["select","t1",".","student_id",",","t1",".","first_name",",","t1",".","middle_name",",","t1",".","last_name",",","count","(","*",")",",","t1",".","student_id","from","students","as","t1","join","student_enrolment","as","t2","on","t1",".","student_id","=","t2",".","student_id","group","by","t1",".","student_id","order","by","count","(","*",")","desc","limit","value"],"543":["select","semester_name","from","semesters","where","semester_id","not","in","(","select","semester_id","from","student_enrolment",")"],"544":["select","semester_name","from","semesters","where","semester_id","not","in","(","select","semester_id","from","student_enrolment",")"],"545":["select","distinct","t1",".","course_name","from","courses","as","t1","join","student_enrolment_courses","as","t2","on","t1",".","course_id","=","t2",".","course_id"],"546":["select","distinct","t1",".","course_name","from","courses","as","t1","join","student_enrolment_courses","as","t2","on","t1",".","course_id","=","t2",".","course_id"],"547":["select","t1",".","course_name","from","courses","as","t1","join","student_enrolment_courses","as","t2","on","t1",".","course_id","=","t2",".","course_id","group","by","t1",".","course_name","order","by","count","(","*",")","desc","limit","value"],"548":["select","t1",".","course_name","from","courses","as","t1","join","student_enrolment_courses","as","t2","on","t1",".","course_id","=","t2",".","course_id","group","by","t1",".","course_name","order","by","count","(","*",")","desc","limit","value"],"549":["select","t1",".","last_name","from","students","as","t1","join","addresses","as","t2","on","t1",".","current_address_id","=","t2",".","address_id","where","t2",".","state_province_county","=","value","except","select","distinct","t3",".","last_name","from","students","as","t3","join","student_enrolment","as","t4","on","t3",".","student_id","=","t4",".","student_id"],"550":["select","t1",".","last_name","from","students","as","t1","join","addresses","as","t2","on","t1",".","current_address_id","=","t2",".","address_id","where","t2",".","state_province_county","=","value","except","select","distinct","t3",".","last_name","from","students","as","t3","join","student_enrolment","as","t4","on","t3",".","student_id","=","t4",".","student_id"],"551":["select","t2",".","transcript_date",",","t1",".","transcript_id","from","transcript_contents","as","t1","join","transcripts","as","t2","on","t1",".","transcript_id","=","t2",".","transcript_id","group","by","t1",".","transcript_id","having","count","(","*",")",">","=","value"],"552":["select","t2",".","transcript_date",",","t1",".","transcript_id","from","transcript_contents","as","t1","join","transcripts","as","t2","on","t1",".","transcript_id","=","t2",".","transcript_id","group","by","t1",".","transcript_id","having","count","(","*",")",">","=","value"],"553":["select","cell_mobile_number","from","students","where","first_name","=","value","and","last_name","=","value"],"554":["select","cell_mobile_number","from","students","where","first_name","=","value","and","last_name","=","value"],"555":["select","first_name",",","middle_name",",","last_name","from","students","order","by","date_first_registered","asc","limit","value"],"556":["select","first_name",",","middle_name",",","last_name","from","students","order","by","date_first_registered","asc","limit","value"],"557":["select","first_name",",","middle_name",",","last_name","from","students","order","by","date_left","asc","limit","value"],"558":["select","first_name",",","middle_name",",","last_name","from","students","order","by","date_left","asc","limit","value"],"559":["select","first_name","from","students","where","current_address_id","!","=","permanent_address_id"],"560":["select","first_name","from","students","where","current_address_id","!","=","permanent_address_id"],"561":["select","t1",".","address_id",",","t1",".","line_1",",","t1",".","line_2","from","addresses","as","t1","join","students","as","t2","on","t1",".","address_id","=","t2",".","current_address_id","group","by","t1",".","address_id","order","by","count","(","*",")","desc","limit","value"],"562":["select","t1",".","address_id",",","t1",".","line_1",",","t1",".","line_2","from","addresses","as","t1","join","students","as","t2","on","t1",".","address_id","=","t2",".","current_address_id","group","by","t1",".","address_id","order","by","count","(","*",")","desc","limit","value"],"563":["select","avg","(","transcript_date",")","from","transcripts"],"564":["select","avg","(","transcript_date",")","from","transcripts"],"565":["select","transcript_date",",","other_details","from","transcripts","order","by","transcript_date","asc","limit","value"],"566":["select","transcript_date",",","other_details","from","transcripts","order","by","transcript_date","asc","limit","value"],"567":["select","count","(","*",")","from","transcripts"],"568":["select","count","(","*",")","from","transcripts"],"569":["select","transcript_date","from","transcripts","order","by","transcript_date","desc","limit","value"],"570":["select","transcript_date","from","transcripts","order","by","transcript_date","desc","limit","value"],"571":["select","count","(","*",")",",","student_course_id","from","transcript_contents","group","by","student_course_id","order","by","count","(","*",")","desc","limit","value"],"572":["select","count","(","*",")",",","student_course_id","from","transcript_contents","group","by","student_course_id","order","by","count","(","*",")","desc","limit","value"],"573":["select","t2",".","transcript_date",",","t1",".","transcript_id","from","transcript_contents","as","t1","join","transcripts","as","t2","on","t1",".","transcript_id","=","t2",".","transcript_id","group","by","t1",".","transcript_id","order","by","count","(","*",")","asc","limit","value"],"574":["select","t2",".","transcript_date",",","t1",".","transcript_id","from","transcript_contents","as","t1","join","transcripts","as","t2","on","t1",".","transcript_id","=","t2",".","transcript_id","group","by","t1",".","transcript_id","order","by","count","(","*",")","asc","limit","value"],"575":["select","distinct","t2",".","semester_id","from","degree_programs","as","t1","join","student_enrolment","as","t2","on","t1",".","degree_program_id","=","t2",".","degree_program_id","where","degree_summary_name","=","value","intersect","select","distinct","t2",".","semester_id","from","degree_programs","as","t1","join","student_enrolment","as","t2","on","t1",".","degree_program_id","=","t2",".","degree_program_id","where","degree_summary_name","=","value"],"576":["select","distinct","t2",".","semester_id","from","degree_programs","as","t1","join","student_enrolment","as","t2","on","t1",".","degree_program_id","=","t2",".","degree_program_id","where","degree_summary_name","=","value","intersect","select","distinct","t2",".","semester_id","from","degree_programs","as","t1","join","student_enrolment","as","t2","on","t1",".","degree_program_id","=","t2",".","degree_program_id","where","degree_summary_name","=","value"],"577":["select","count","(","distinct","current_address_id",")","from","students"],"578":["select","count","(","distinct","current_address_id",")","from","students"],"579":["select","other_student_details","from","students","order","by","other_student_details","desc"],"580":["select","other_student_details","from","students","order","by","other_student_details","desc"],"581":["select","section_description","from","sections","where","section_name","=","value"],"582":["select","section_description","from","sections","where","section_name","=","value"],"583":["select","t1",".","first_name","from","students","as","t1","join","addresses","as","t2","on","t1",".","permanent_address_id","=","t2",".","address_id","where","t2",".","country","=","value","or","t1",".","cell_mobile_number","=","value"],"584":["select","t1",".","first_name","from","students","as","t1","join","addresses","as","t2","on","t1",".","permanent_address_id","=","t2",".","address_id","where","t2",".","country","=","value","or","t1",".","cell_mobile_number","=","value"],"585":["select","title","from","cartoon","order","by","title"],"586":["select","title","from","cartoon","order","by","title"],"587":["select","title","from","cartoon","where","directed_by","=","value"],"588":["select","title","from","cartoon","where","directed_by","=","value"],"589":["select","count","(","*",")","from","cartoon","where","written_by","=","value"],"590":["select","count","(","*",")","from","cartoon","where","written_by","=","value"],"591":["select","title",",","directed_by","from","cartoon","order","by","original_air_date"],"592":["select","title",",","directed_by","from","cartoon","order","by","original_air_date"],"593":["select","title","from","cartoon","where","directed_by","=","value","or","directed_by","=","value"],"594":["select","title","from","cartoon","where","directed_by","=","value","or","directed_by","=","value"],"595":["select","country",",","count","(","*",")","from","tv_channel","group","by","country","order","by","count","(","*",")","desc","limit","value"],"596":["select","country",",","count","(","*",")","from","tv_channel","group","by","country","order","by","count","(","*",")","desc","limit","value"],"597":["select","count","(","distinct","series_name",")",",","count","(","distinct","content",")","from","tv_channel"],"598":["select","count","(","distinct","series_name",")",",","count","(","distinct","content",")","from","tv_channel"],"599":["select","content","from","tv_channel","where","series_name","=","value"],"600":["select","content","from","tv_channel","where","series_name","=","value"],"601":["select","package_option","from","tv_channel","where","series_name","=","value"],"602":["select","package_option","from","tv_channel","where","series_name","=","value"],"603":["select","count","(","*",")","from","tv_channel","where","language","=","value"],"604":["select","count","(","*",")","from","tv_channel","where","language","=","value"],"605":["select","language",",","count","(","*",")","from","tv_channel","group","by","language","order","by","count","(","*",")","asc","limit","value"],"606":["select","language",",","count","(","*",")","from","tv_channel","group","by","language","order","by","count","(","*",")","asc","limit","value"],"607":["select","language",",","count","(","*",")","from","tv_channel","group","by","language"],"608":["select","language",",","count","(","*",")","from","tv_channel","group","by","language"],"609":["select","t1",".","series_name","from","tv_channel","as","t1","join","cartoon","as","t2","on","t1",".","id","=","t2",".","channel","where","t2",".","title","=","value"],"610":["select","t1",".","series_name","from","tv_channel","as","t1","join","cartoon","as","t2","on","t1",".","id","=","t2",".","channel","where","t2",".","title","=","value"],"611":["select","t2",".","title","from","tv_channel","as","t1","join","cartoon","as","t2","on","t1",".","id","=","t2",".","channel","where","t1",".","series_name","=","value"],"612":["select","t2",".","title","from","tv_channel","as","t1","join","cartoon","as","t2","on","t1",".","id","=","t2",".","channel","where","t1",".","series_name","=","value"],"613":["select","episode","from","tv_series","order","by","rating"],"614":["select","episode","from","tv_series","order","by","rating"],"615":["select","episode",",","rating","from","tv_series","order","by","rating","desc","limit","value"],"616":["select","episode",",","rating","from","tv_series","order","by","rating","desc","limit","value"],"617":["select","max","(","share",")",",","min","(","share",")","from","tv_series"],"618":["select","max","(","share",")",",","min","(","share",")","from","tv_series"],"619":["select","air_date","from","tv_series","where","episode","=","value"],"620":["select","air_date","from","tv_series","where","episode","=","value"],"621":["select","weekly_rank","from","tv_series","where","episode","=","value"],"622":["select","weekly_rank","from","tv_series","where","episode","=","value"],"623":["select","t1",".","series_name","from","tv_channel","as","t1","join","tv_series","as","t2","on","t1",".","id","=","t2",".","channel","where","t2",".","episode","=","value"],"624":["select","t1",".","series_name","from","tv_channel","as","t1","join","tv_series","as","t2","on","t1",".","id","=","t2",".","channel","where","t2",".","episode","=","value"],"625":["select","t2",".","episode","from","tv_channel","as","t1","join","tv_series","as","t2","on","t1",".","id","=","t2",".","channel","where","t1",".","series_name","=","value"],"626":["select","t2",".","episode","from","tv_channel","as","t1","join","tv_series","as","t2","on","t1",".","id","=","t2",".","channel","where","t1",".","series_name","=","value"],"627":["select","count","(","*",")",",","directed_by","from","cartoon","group","by","directed_by"],"628":["select","count","(","*",")",",","directed_by","from","cartoon","group","by","directed_by"],"629":["select","production_code",",","channel","from","cartoon","order","by","original_air_date","desc","limit","value"],"630":["select","production_code",",","channel","from","cartoon","order","by","original_air_date","desc","limit","value"],"631":["select","package_option",",","series_name","from","tv_channel","where","hight_definition_tv","=","value"],"632":["select","package_option",",","series_name","from","tv_channel","where","hight_definition_tv","=","value"],"633":["select","t1",".","country","from","tv_channel","as","t1","join","cartoon","as","t2","on","t1",".","id","=","t2",".","channel","where","t2",".","written_by","=","value"],"634":["select","t1",".","country","from","tv_channel","as","t1","join","cartoon","as","t2","on","t1",".","id","=","t2",".","channel","where","t2",".","written_by","=","value"],"635":["select","country","from","tv_channel","except","select","t1",".","country","from","tv_channel","as","t1","join","cartoon","as","t2","on","t1",".","id","=","t2",".","channel","where","t2",".","written_by","=","value"],"636":["select","country","from","tv_channel","except","select","t1",".","country","from","tv_channel","as","t1","join","cartoon","as","t2","on","t1",".","id","=","t2",".","channel","where","t2",".","written_by","=","value"],"637":["select","t1",".","series_name",",","t1",".","country","from","tv_channel","as","t1","join","cartoon","as","t2","on","t1",".","id","=","t2",".","channel","where","t2",".","directed_by","=","value","intersect","select","t1",".","series_name",",","t1",".","country","from","tv_channel","as","t1","join","cartoon","as","t2","on","t1",".","id","=","t2",".","channel","where","t2",".","directed_by","=","value"],"638":["select","t1",".","series_name",",","t1",".","country","from","tv_channel","as","t1","join","cartoon","as","t2","on","t1",".","id","=","t2",".","channel","where","t2",".","directed_by","=","value","intersect","select","t1",".","series_name",",","t1",".","country","from","tv_channel","as","t1","join","cartoon","as","t2","on","t1",".","id","=","t2",".","channel","where","t2",".","directed_by","=","value"],"639":["select","pixel_aspect_ratio_par",",","country","from","tv_channel","where","language","!","=","value"],"640":["select","pixel_aspect_ratio_par",",","country","from","tv_channel","where","language","!","=","value"],"641":["select","id","from","tv_channel","group","by","country","having","count","(","*",")",">","value"],"642":["select","id","from","tv_channel","group","by","country","having","count","(","*",")",">","value"],"643":["select","id","from","tv_channel","except","select","channel","from","cartoon","where","directed_by","=","value"],"644":["select","id","from","tv_channel","except","select","channel","from","cartoon","where","directed_by","=","value"],"645":["select","package_option","from","tv_channel","where","id","not","in","(","select","channel","from","cartoon","where","directed_by","=","value",")"],"646":["select","package_option","from","tv_channel","where","id","not","in","(","select","channel","from","cartoon","where","directed_by","=","value",")"],"647":["select","count","(","*",")","from","poker_player"],"648":["select","count","(","*",")","from","poker_player"],"649":["select","earnings","from","poker_player","order","by","earnings","desc"],"650":["select","earnings","from","poker_player","order","by","earnings","desc"],"651":["select","final_table_made",",","best_finish","from","poker_player"],"652":["select","final_table_made",",","best_finish","from","poker_player"],"653":["select","avg","(","earnings",")","from","poker_player"],"654":["select","avg","(","earnings",")","from","poker_player"],"655":["select","money_rank","from","poker_player","order","by","earnings","desc","limit","value"],"656":["select","money_rank","from","poker_player","order","by","earnings","desc","limit","value"],"657":["select","max","(","final_table_made",")","from","poker_player","where","earnings","<","value"],"658":["select","max","(","final_table_made",")","from","poker_player","where","earnings","<","value"],"659":["select","t1",".","name","from","people","as","t1","join","poker_player","as","t2","on","t1",".","people_id","=","t2",".","people_id"],"660":["select","t1",".","name","from","people","as","t1","join","poker_player","as","t2","on","t1",".","people_id","=","t2",".","people_id"],"661":["select","t1",".","name","from","people","as","t1","join","poker_player","as","t2","on","t1",".","people_id","=","t2",".","people_id","where","t2",".","earnings",">","value"],"662":["select","t1",".","name","from","people","as","t1","join","poker_player","as","t2","on","t1",".","people_id","=","t2",".","people_id","where","t2",".","earnings",">","value"],"663":["select","t1",".","name","from","people","as","t1","join","poker_player","as","t2","on","t1",".","people_id","=","t2",".","people_id","order","by","t2",".","final_table_made"],"664":["select","t1",".","name","from","people","as","t1","join","poker_player","as","t2","on","t1",".","people_id","=","t2",".","people_id","order","by","t2",".","final_table_made"],"665":["select","t1",".","birth_date","from","people","as","t1","join","poker_player","as","t2","on","t1",".","people_id","=","t2",".","people_id","order","by","t2",".","earnings","asc","limit","value"],"666":["select","t1",".","birth_date","from","people","as","t1","join","poker_player","as","t2","on","t1",".","people_id","=","t2",".","people_id","order","by","t2",".","earnings","asc","limit","value"],"667":["select","t2",".","money_rank","from","people","as","t1","join","poker_player","as","t2","on","t1",".","people_id","=","t2",".","people_id","order","by","t1",".","height","desc","limit","value"],"668":["select","t2",".","money_rank","from","people","as","t1","join","poker_player","as","t2","on","t1",".","people_id","=","t2",".","people_id","order","by","t1",".","height","desc","limit","value"],"669":["select","avg","(","t2",".","earnings",")","from","people","as","t1","join","poker_player","as","t2","on","t1",".","people_id","=","t2",".","people_id","where","t1",".","height",">","value"],"670":["select","avg","(","t2",".","earnings",")","from","people","as","t1","join","poker_player","as","t2","on","t1",".","people_id","=","t2",".","people_id","where","t1",".","height",">","value"],"671":["select","t1",".","name","from","people","as","t1","join","poker_player","as","t2","on","t1",".","people_id","=","t2",".","people_id","order","by","t2",".","earnings","desc"],"672":["select","t1",".","name","from","people","as","t1","join","poker_player","as","t2","on","t1",".","people_id","=","t2",".","people_id","order","by","t2",".","earnings","desc"],"673":["select","nationality",",","count","(","*",")","from","people","group","by","nationality"],"674":["select","nationality",",","count","(","*",")","from","people","group","by","nationality"],"675":["select","nationality","from","people","group","by","nationality","order","by","count","(","*",")","desc","limit","value"],"676":["select","nationality","from","people","group","by","nationality","order","by","count","(","*",")","desc","limit","value"],"677":["select","nationality","from","people","group","by","nationality","having","count","(","*",")",">","=","value"],"678":["select","nationality","from","people","group","by","nationality","having","count","(","*",")",">","=","value"],"679":["select","name",",","birth_date","from","people","order","by","name","asc"],"680":["select","name",",","birth_date","from","people","order","by","name","asc"],"681":["select","name","from","people","where","nationality","!","=","value"],"682":["select","name","from","people","where","nationality","!","=","value"],"683":["select","name","from","people","where","people_id","not","in","(","select","people_id","from","poker_player",")"],"684":["select","name","from","people","where","people_id","not","in","(","select","people_id","from","poker_player",")"],"685":["select","count","(","distinct","nationality",")","from","people"],"686":["select","count","(","distinct","nationality",")","from","people"],"687":["select","count","(","*",")","from","area_code_state"],"688":["select","contestant_number",",","contestant_name","from","contestants","order","by","contestant_name","desc"],"689":["select","vote_id",",","phone_number",",","state","from","votes"],"690":["select","max","(","area_code",")",",","min","(","area_code",")","from","area_code_state"],"691":["select","max","(","created",")","from","votes","where","state","=","value"],"692":["select","contestant_name","from","contestants","where","contestant_name","!","=","value"],"693":["select","distinct","state",",","created","from","votes"],"694":["select","t1",".","contestant_number",",","t1",".","contestant_name","from","contestants","as","t1","join","votes","as","t2","on","t1",".","contestant_number","=","t2",".","contestant_number","group","by","t1",".","contestant_number","having","count","(","*",")",">","=","value"],"695":["select","t1",".","contestant_number",",","t1",".","contestant_name","from","contestants","as","t1","join","votes","as","t2","on","t1",".","contestant_number","=","t2",".","contestant_number","group","by","t1",".","contestant_number","order","by","count","(","*",")","asc","limit","value"],"696":["select","count","(","*",")","from","votes","where","state","=","value","or","state","=","value"],"697":["select","count","(","*",")","from","contestants","where","contestant_number","not","in","(","select","contestant_number","from","votes",")"],"698":["select","t1",".","area_code","from","area_code_state","as","t1","join","votes","as","t2","on","t1",".","state","=","t2",".","state","group","by","t1",".","area_code","order","by","count","(","*",")","desc","limit","value"],"699":["select","t2",".","created",",","t2",".","state",",","t2",".","phone_number","from","contestants","as","t1","join","votes","as","t2","on","t1",".","contestant_number","=","t2",".","contestant_number","where","t1",".","contestant_name","=","value"],"700":["select","t3",".","area_code","from","contestants","as","t1","join","votes","as","t2","on","t1",".","contestant_number","=","t2",".","contestant_number","join","area_code_state","as","t3","on","t2",".","state","=","t3",".","state","where","t1",".","contestant_name","=","value","intersect","select","t3",".","area_code","from","contestants","as","t1","join","votes","as","t2","on","t1",".","contestant_number","=","t2",".","contestant_number","join","area_code_state","as","t3","on","t2",".","state","=","t3",".","state","where","t1",".","contestant_name","=","value"],"701":["select","contestant_name","from","contestants","where","contestant_name","like","value"],"702":["select","name","from","country","where","indepyear",">","value"],"703":["select","name","from","country","where","indepyear",">","value"],"704":["select","count","(","*",")","from","country","where","governmentform","=","value"],"705":["select","count","(","*",")","from","country","where","governmentform","=","value"],"706":["select","sum","(","surfacearea",")","from","country","where","region","=","value"],"707":["select","sum","(","surfacearea",")","from","country","where","region","=","value"],"708":["select","continent","from","country","where","name","=","value"],"709":["select","continent","from","country","where","name","=","value"],"710":["select","region","from","country","as","t1","join","city","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","name","=","value"],"711":["select","region","from","country","as","t1","join","city","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","name","=","value"],"712":["select","t2",".","language","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t1",".","name","=","value","order","by","percentage","desc","limit","value"],"713":["select","t2",".","language","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t1",".","name","=","value","order","by","percentage","desc","limit","value"],"714":["select","population",",","lifeexpectancy","from","country","where","name","=","value"],"715":["select","population",",","lifeexpectancy","from","country","where","name","=","value"],"716":["select","population",",","region","from","country","where","name","=","value"],"717":["select","population",",","region","from","country","where","name","=","value"],"718":["select","avg","(","lifeexpectancy",")","from","country","where","region","=","value"],"719":["select","avg","(","lifeexpectancy",")","from","country","where","region","=","value"],"720":["select","name","from","country","where","continent","=","value","order","by","lifeexpectancy","limit","value"],"721":["select","name","from","country","where","continent","=","value","order","by","lifeexpectancy","limit","value"],"722":["select","sum","(","population",")",",","max","(","gnp",")","from","country","where","continent","=","value"],"723":["select","sum","(","population",")",",","max","(","gnp",")","from","country","where","continent","=","value"],"724":["select","avg","(","lifeexpectancy",")","from","country","where","continent","=","value","and","governmentform","=","value"],"725":["select","avg","(","lifeexpectancy",")","from","country","where","continent","=","value","and","governmentform","=","value"],"726":["select","sum","(","surfacearea",")","from","country","where","continent","=","value","or","continent","=","value"],"727":["select","sum","(","surfacearea",")","from","country","where","continent","=","value","or","continent","=","value"],"728":["select","sum","(","population",")","from","city","where","district","=","value"],"729":["select","sum","(","population",")","from","city","where","district","=","value"],"730":["select","avg","(","gnp",")",",","sum","(","population",")","from","country","where","governmentform","=","value"],"731":["select","avg","(","gnp",")",",","sum","(","population",")","from","country","where","governmentform","=","value"],"732":["select","count","(","distinct","language",")","from","countrylanguage"],"733":["select","count","(","distinct","language",")","from","countrylanguage"],"734":["select","count","(","distinct","governmentform",")","from","country","where","continent","=","value"],"735":["select","count","(","distinct","governmentform",")","from","country","where","continent","=","value"],"736":["select","count","(","t2",".","language",")","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t1",".","name","=","value"],"737":["select","count","(","t2",".","language",")","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t1",".","name","=","value"],"738":["select","count","(","*",")","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t1",".","name","=","value","and","isofficial","=","value"],"739":["select","count","(","*",")","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t1",".","name","=","value","and","isofficial","=","value"],"740":["select","t1",".","name","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","group","by","t1",".","name","order","by","count","(","*",")","desc","limit","value"],"741":["select","t1",".","name","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","group","by","t1",".","name","order","by","count","(","*",")","desc","limit","value"],"742":["select","t1",".","continent","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","group","by","t1",".","continent","order","by","count","(","*",")","desc","limit","value"],"743":["select","t1",".","continent","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","group","by","t1",".","continent","order","by","count","(","*",")","desc","limit","value"],"744":["select","count","(","*",")","from","(","select","t1",".","name","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","language","=","value","intersect","select","t1",".","name","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","language","=","value",")"],"745":["select","count","(","*",")","from","(","select","t1",".","name","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","language","=","value","intersect","select","t1",".","name","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","language","=","value",")"],"746":["select","t1",".","name","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","language","=","value","intersect","select","t1",".","name","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","language","=","value"],"747":["select","t1",".","name","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","language","=","value","intersect","select","t1",".","name","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","language","=","value"],"748":["select","t1",".","name","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","language","=","value","and","t2",".","isofficial","=","value","intersect","select","t1",".","name","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","language","=","value","and","t2",".","isofficial","=","value"],"749":["select","t1",".","name","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","language","=","value","and","t2",".","isofficial","=","value","intersect","select","t1",".","name","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","language","=","value","and","t2",".","isofficial","=","value"],"750":["select","count","(","distinct","continent",")","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","language","=","value"],"751":["select","count","(","distinct","continent",")","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","language","=","value"],"752":["select","distinct","t1",".","region","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","language","=","value","or","t2",".","language","=","value"],"753":["select","distinct","t1",".","region","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","language","=","value","or","t2",".","language","=","value"],"754":["select","t1",".","name","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","language","=","value","and","isofficial","=","value","union","select","t1",".","name","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","language","=","value","and","isofficial","=","value"],"755":["select","*","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","language","=","value","and","isofficial","=","value","union","select","*","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","language","=","value","and","isofficial","=","value"],"756":["select","t2",".","language","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t1",".","continent","=","value","group","by","t2",".","language","order","by","count","(","*",")","desc","limit","value"],"757":["select","t2",".","language","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t1",".","continent","=","value","group","by","t2",".","language","order","by","count","(","*",")","desc","limit","value"],"758":["select","t2",".","language","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t1",".","governmentform","=","value","group","by","t2",".","language","having","count","(","*",")","=","value"],"759":["select","t2",".","language","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t1",".","governmentform","=","value","group","by","t2",".","language","having","count","(","*",")","=","value"],"760":["select","t1",".","name",",","t1",".","population","from","city","as","t1","join","countrylanguage","as","t2","on","t1",".","countrycode","=","t2",".","countrycode","where","t2",".","language","=","value","order","by","t1",".","population","desc","limit","value"],"761":["select","t1",".","name",",","t1",".","population","from","city","as","t1","join","countrylanguage","as","t2","on","t1",".","countrycode","=","t2",".","countrycode","where","t2",".","language","=","value","order","by","t1",".","population","desc","limit","value"],"762":["select","name",",","population",",","lifeexpectancy","from","country","where","continent","=","value","order","by","surfacearea","desc","limit","value"],"763":["select","name",",","population",",","lifeexpectancy","from","country","where","continent","=","value","order","by","surfacearea","desc","limit","value"],"764":["select","avg","(","lifeexpectancy",")","from","country","where","name","not","in","(","select","t1",".","name","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","language","=","value","and","t2",".","isofficial","=","value",")"],"765":["select","avg","(","lifeexpectancy",")","from","country","where","name","not","in","(","select","t1",".","name","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","language","=","value","and","t2",".","isofficial","=","value",")"],"766":["select","sum","(","population",")","from","country","where","name","not","in","(","select","t1",".","name","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","language","=","value",")"],"767":["select","sum","(","population",")","from","country","where","name","not","in","(","select","t1",".","name","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t2",".","language","=","value",")"],"768":["select","t2",".","language","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t1",".","headofstate","=","value","and","t2",".","isofficial","=","value"],"769":["select","t2",".","language","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","t1",".","headofstate","=","value","and","t2",".","isofficial","=","value"],"770":["select","count","(","distinct","t2",".","language",")","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","indepyear","<","value","and","t2",".","isofficial","=","value"],"771":["select","count","(","distinct","t2",".","language",")","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","where","indepyear","<","value","and","t2",".","isofficial","=","value"],"772":["select","name","from","country","where","surfacearea",">","(","select","min","(","surfacearea",")","from","country","where","continent","=","value",")"],"773":["select","name","from","country","where","surfacearea",">","(","select","min","(","surfacearea",")","from","country","where","continent","=","value",")"],"774":["select","name","from","country","where","continent","=","value","and","population","<","(","select","max","(","population",")","from","country","where","continent","=","value",")"],"775":["select","name","from","country","where","continent","=","value","and","population","<","(","select","min","(","population",")","from","country","where","continent","=","value",")"],"776":["select","name","from","country","where","continent","=","value","and","population",">","(","select","max","(","population",")","from","country","where","continent","=","value",")"],"777":["select","name","from","country","where","continent","=","value","and","population",">","(","select","min","(","population",")","from","country","where","continent","=","value",")"],"778":["select","countrycode","from","countrylanguage","except","select","countrycode","from","countrylanguage","where","language","=","value"],"779":["select","countrycode","from","countrylanguage","except","select","countrycode","from","countrylanguage","where","language","=","value"],"780":["select","distinct","countrycode","from","countrylanguage","where","language","!","=","value"],"781":["select","distinct","countrycode","from","countrylanguage","where","language","!","=","value"],"782":["select","code","from","country","where","governmentform","!","=","value","except","select","countrycode","from","countrylanguage","where","language","=","value"],"783":["select","code","from","country","where","governmentform","!","=","value","except","select","countrycode","from","countrylanguage","where","language","=","value"],"784":["select","distinct","t2",".","name","from","country","as","t1","join","city","as","t2","on","t2",".","countrycode","=","t1",".","code","where","t1",".","continent","=","value","and","t1",".","name","not","in","(","select","t3",".","name","from","country","as","t3","join","countrylanguage","as","t4","on","t3",".","code","=","t4",".","countrycode","where","t4",".","isofficial","=","value","and","t4",".","language","=","value",")"],"785":["select","distinct","t2",".","name","from","country","as","t1","join","city","as","t2","on","t2",".","countrycode","=","t1",".","code","where","t1",".","continent","=","value","and","t1",".","name","not","in","(","select","t3",".","name","from","country","as","t3","join","countrylanguage","as","t4","on","t3",".","code","=","t4",".","countrycode","where","t4",".","isofficial","=","value","and","t4",".","language","=","value",")"],"786":["select","distinct","t3",".","name","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","join","city","as","t3","on","t1",".","code","=","t3",".","countrycode","where","t2",".","isofficial","=","value","and","t2",".","language","=","value","and","t1",".","continent","=","value"],"787":["select","distinct","t3",".","name","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","join","city","as","t3","on","t1",".","code","=","t3",".","countrycode","where","t2",".","isofficial","=","value","and","t2",".","language","=","value","and","t1",".","continent","=","value"],"788":["select","name",",","surfacearea",",","indepyear","from","country","order","by","population","limit","value"],"789":["select","name",",","surfacearea",",","indepyear","from","country","order","by","population","limit","value"],"790":["select","name",",","population",",","headofstate","from","country","order","by","surfacearea","desc","limit","value"],"791":["select","name",",","population",",","headofstate","from","country","order","by","surfacearea","desc","limit","value"],"792":["select","count","(","t2",".","language",")",",","t1",".","name","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","group","by","t1",".","name","having","count","(","*",")",">","value"],"793":["select","count","(","t2",".","language",")",",","t1",".","name","from","country","as","t1","join","countrylanguage","as","t2","on","t1",".","code","=","t2",".","countrycode","group","by","t1",".","name","having","count","(","*",")",">","value"],"794":["select","count","(","*",")",",","district","from","city","where","population",">","(","select","avg","(","population",")","from","city",")","group","by","district"],"795":["select","count","(","*",")",",","district","from","city","where","population",">","(","select","avg","(","population",")","from","city",")","group","by","district"],"796":["select","sum","(","population",")",",","governmentform","from","country","group","by","governmentform","having","avg","(","lifeexpectancy",")",">","value"],"797":["select","sum","(","population",")",",","governmentform","from","country","group","by","governmentform","having","avg","(","lifeexpectancy",")",">","value"],"798":["select","sum","(","population",")",",","avg","(","lifeexpectancy",")",",","continent","from","country","group","by","continent","having","avg","(","lifeexpectancy",")","<","value"],"799":["select","sum","(","population",")",",","avg","(","lifeexpectancy",")",",","continent","from","country","group","by","continent","having","avg","(","lifeexpectancy",")","<","value"],"800":["select","name",",","surfacearea","from","country","order","by","surfacearea","desc","limit","value"],"801":["select","name",",","surfacearea","from","country","order","by","surfacearea","desc","limit","value"],"802":["select","name","from","country","order","by","population","desc","limit","value"],"803":["select","name","from","country","order","by","population","desc","limit","value"],"804":["select","name","from","country","order","by","population","asc","limit","value"],"805":["select","name","from","country","order","by","population","asc","limit","value"],"806":["select","count","(","*",")","from","country","where","continent","=","value"],"807":["select","count","(","*",")","from","country","where","continent","=","value"],"808":["select","name","from","country","where","continent","=","value","and","population","=","value"],"809":["select","name","from","country","where","continent","=","value","and","population","=","value"],"810":["select","sum","(","population",")",",","avg","(","surfacearea",")","from","country","where","continent","=","value","and","surfacearea",">","value"],"811":["select","sum","(","population",")",",","avg","(","surfacearea",")","from","country","where","continent","=","value","and","surfacearea",">","value"],"812":["select","name","from","city","where","population","between","value","and","value"],"813":["select","name","from","city","where","population","between","value","and","value"],"814":["select","language","from","countrylanguage","group","by","language","order","by","count","(","*",")","desc","limit","value"],"815":["select","language","from","countrylanguage","group","by","language","order","by","count","(","*",")","desc","limit","value"],"816":["select","language",",","countrycode",",","max","(","percentage",")","from","countrylanguage","group","by","countrycode"],"817":["select","language",",","countrycode",",","max","(","percentage",")","from","countrylanguage","group","by","countrycode"],"818":["select","count","(","*",")",",","max","(","percentage",")","from","countrylanguage","where","language","=","value","group","by","countrycode"],"819":["select","count","(","*",")",",","max","(","percentage",")","from","countrylanguage","where","language","=","value","group","by","countrycode"],"820":["select","countrycode",",","max","(","percentage",")","from","countrylanguage","where","language","=","value","group","by","countrycode"],"821":["select","countrycode",",","max","(","percentage",")","from","countrylanguage","where","language","=","value","group","by","countrycode"],"822":["select","count","(","*",")","from","conductor"],"823":["select","count","(","*",")","from","conductor"],"824":["select","name","from","conductor","order","by","age","asc"],"825":["select","name","from","conductor","order","by","age","asc"],"826":["select","name","from","conductor","where","nationality","!","=","value"],"827":["select","name","from","conductor","where","nationality","!","=","value"],"828":["select","record_company","from","orchestra","order","by","year_of_founded","desc"],"829":["select","record_company","from","orchestra","order","by","year_of_founded","desc"],"830":["select","avg","(","attendance",")","from","show"],"831":["select","avg","(","attendance",")","from","show"],"832":["select","max","(","share",")",",","min","(","share",")","from","performance","where","type","!","=","value"],"833":["select","max","(","share",")",",","min","(","share",")","from","performance","where","type","!","=","value"],"834":["select","count","(","distinct","nationality",")","from","conductor"],"835":["select","count","(","distinct","nationality",")","from","conductor"],"836":["select","name","from","conductor","order","by","year_of_work","desc"],"837":["select","name","from","conductor","order","by","year_of_work","desc"],"838":["select","name","from","conductor","order","by","year_of_work","desc","limit","value"],"839":["select","name","from","conductor","order","by","year_of_work","desc","limit","value"],"840":["select","t1",".","name",",","t2",".","orchestra","from","conductor","as","t1","join","orchestra","as","t2","on","t1",".","conductor_id","=","t2",".","conductor_id"],"841":["select","t1",".","name",",","t2",".","orchestra","from","conductor","as","t1","join","orchestra","as","t2","on","t1",".","conductor_id","=","t2",".","conductor_id"],"842":["select","t1",".","name","from","conductor","as","t1","join","orchestra","as","t2","on","t1",".","conductor_id","=","t2",".","conductor_id","group","by","t2",".","conductor_id","having","count","(","*",")",">","value"],"843":["select","t1",".","name","from","conductor","as","t1","join","orchestra","as","t2","on","t1",".","conductor_id","=","t2",".","conductor_id","group","by","t2",".","conductor_id","having","count","(","*",")",">","value"],"844":["select","t1",".","name","from","conductor","as","t1","join","orchestra","as","t2","on","t1",".","conductor_id","=","t2",".","conductor_id","group","by","t2",".","conductor_id","order","by","count","(","*",")","desc","limit","value"],"845":["select","t1",".","name","from","conductor","as","t1","join","orchestra","as","t2","on","t1",".","conductor_id","=","t2",".","conductor_id","group","by","t2",".","conductor_id","order","by","count","(","*",")","desc","limit","value"],"846":["select","t1",".","name","from","conductor","as","t1","join","orchestra","as","t2","on","t1",".","conductor_id","=","t2",".","conductor_id","where","year_of_founded",">","value"],"847":["select","t1",".","name","from","conductor","as","t1","join","orchestra","as","t2","on","t1",".","conductor_id","=","t2",".","conductor_id","where","year_of_founded",">","value"],"848":["select","record_company",",","count","(","*",")","from","orchestra","group","by","record_company"],"849":["select","record_company",",","count","(","*",")","from","orchestra","group","by","record_company"],"850":["select","major_record_format","from","orchestra","group","by","major_record_format","order","by","count","(","*",")","asc"],"851":["select","major_record_format","from","orchestra","group","by","major_record_format","order","by","count","(","*",")","asc"],"852":["select","record_company","from","orchestra","group","by","record_company","order","by","count","(","*",")","desc","limit","value"],"853":["select","record_company","from","orchestra","group","by","record_company","order","by","count","(","*",")","desc","limit","value"],"854":["select","orchestra","from","orchestra","where","orchestra_id","not","in","(","select","orchestra_id","from","performance",")"],"855":["select","orchestra","from","orchestra","where","orchestra_id","not","in","(","select","orchestra_id","from","performance",")"],"856":["select","record_company","from","orchestra","where","year_of_founded","<","value","intersect","select","record_company","from","orchestra","where","year_of_founded",">","value"],"857":["select","record_company","from","orchestra","where","year_of_founded","<","value","intersect","select","record_company","from","orchestra","where","year_of_founded",">","value"],"858":["select","count","(","*",")","from","orchestra","where","major_record_format","=","value","or","major_record_format","=","value"],"859":["select","count","(","*",")","from","orchestra","where","major_record_format","=","value","or","major_record_format","=","value"],"860":["select","year_of_founded","from","orchestra","as","t1","join","performance","as","t2","on","t1",".","orchestra_id","=","t2",".","orchestra_id","group","by","t2",".","orchestra_id","having","count","(","*",")",">","value"],"861":["select","year_of_founded","from","orchestra","as","t1","join","performance","as","t2","on","t1",".","orchestra_id","=","t2",".","orchestra_id","group","by","t2",".","orchestra_id","having","count","(","*",")",">","value"],"862":["select","count","(","*",")","from","highschooler"],"863":["select","count","(","*",")","from","highschooler"],"864":["select","name",",","grade","from","highschooler"],"865":["select","name",",","grade","from","highschooler"],"866":["select","grade","from","highschooler"],"867":["select","grade","from","highschooler"],"868":["select","grade","from","highschooler","where","name","=","value"],"869":["select","grade","from","highschooler","where","name","=","value"],"870":["select","name","from","highschooler","where","grade","=","value"],"871":["select","name","from","highschooler","where","grade","=","value"],"872":["select","id","from","highschooler","where","name","=","value"],"873":["select","id","from","highschooler","where","name","=","value"],"874":["select","count","(","*",")","from","highschooler","where","grade","=","value","or","grade","=","value"],"875":["select","count","(","*",")","from","highschooler","where","grade","=","value","or","grade","=","value"],"876":["select","grade",",","count","(","*",")","from","highschooler","group","by","grade"],"877":["select","grade",",","count","(","*",")","from","highschooler","group","by","grade"],"878":["select","grade","from","highschooler","group","by","grade","order","by","count","(","*",")","desc","limit","value"],"879":["select","grade","from","highschooler","group","by","grade","order","by","count","(","*",")","desc","limit","value"],"880":["select","grade","from","highschooler","group","by","grade","having","count","(","*",")",">","=","value"],"881":["select","grade","from","highschooler","group","by","grade","having","count","(","*",")",">","=","value"],"882":["select","student_id",",","count","(","*",")","from","friend","group","by","student_id"],"883":["select","student_id",",","count","(","*",")","from","friend","group","by","student_id"],"884":["select","t2",".","name",",","count","(","*",")","from","friend","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id","group","by","t1",".","student_id"],"885":["select","t2",".","name",",","count","(","*",")","from","friend","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id","group","by","t1",".","student_id"],"886":["select","t2",".","name","from","friend","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id","group","by","t1",".","student_id","order","by","count","(","*",")","desc","limit","value"],"887":["select","t2",".","name","from","friend","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id","group","by","t1",".","student_id","order","by","count","(","*",")","desc","limit","value"],"888":["select","t2",".","name","from","friend","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id","group","by","t1",".","student_id","having","count","(","*",")",">","=","value"],"889":["select","t2",".","name","from","friend","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id","group","by","t1",".","student_id","having","count","(","*",")",">","=","value"],"890":["select","t3",".","name","from","friend","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id","join","highschooler","as","t3","on","t1",".","friend_id","=","t3",".","id","where","t2",".","name","=","value"],"891":["select","t3",".","name","from","friend","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id","join","highschooler","as","t3","on","t1",".","friend_id","=","t3",".","id","where","t2",".","name","=","value"],"892":["select","count","(","*",")","from","friend","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id","where","t2",".","name","=","value"],"893":["select","count","(","*",")","from","friend","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id","where","t2",".","name","=","value"],"894":["select","id","from","highschooler","except","select","student_id","from","friend"],"895":["select","id","from","highschooler","except","select","student_id","from","friend"],"896":["select","name","from","highschooler","except","select","t2",".","name","from","friend","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id"],"897":["select","name","from","highschooler","except","select","t2",".","name","from","friend","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id"],"898":["select","student_id","from","friend","intersect","select","liked_id","from","likes"],"899":["select","student_id","from","friend","intersect","select","liked_id","from","likes"],"900":["select","t2",".","name","from","friend","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id","intersect","select","t2",".","name","from","likes","as","t1","join","highschooler","as","t2","on","t1",".","liked_id","=","t2",".","id"],"901":["select","t2",".","name","from","friend","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id","intersect","select","t2",".","name","from","likes","as","t1","join","highschooler","as","t2","on","t1",".","liked_id","=","t2",".","id"],"902":["select","student_id",",","count","(","*",")","from","likes","group","by","student_id"],"903":["select","student_id",",","count","(","*",")","from","likes","group","by","student_id"],"904":["select","t2",".","name",",","count","(","*",")","from","likes","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id","group","by","t1",".","student_id"],"905":["select","t2",".","name",",","count","(","*",")","from","likes","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id","group","by","t1",".","student_id"],"906":["select","t2",".","name","from","likes","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id","group","by","t1",".","student_id","order","by","count","(","*",")","desc","limit","value"],"907":["select","t2",".","name","from","likes","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id","group","by","t1",".","student_id","order","by","count","(","*",")","desc","limit","value"],"908":["select","t2",".","name","from","likes","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id","group","by","t1",".","student_id","having","count","(","*",")",">","=","value"],"909":["select","t2",".","name","from","likes","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id","group","by","t1",".","student_id","having","count","(","*",")",">","=","value"],"910":["select","t2",".","name","from","friend","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id","where","t2",".","grade",">","value","group","by","t1",".","student_id","having","count","(","*",")",">","=","value"],"911":["select","t2",".","name","from","friend","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id","where","t2",".","grade",">","value","group","by","t1",".","student_id","having","count","(","*",")",">","=","value"],"912":["select","count","(","*",")","from","likes","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id","where","t2",".","name","=","value"],"913":["select","count","(","*",")","from","likes","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id","where","t2",".","name","=","value"],"914":["select","avg","(","grade",")","from","highschooler","where","id","in","(","select","t1",".","student_id","from","friend","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id",")"],"915":["select","avg","(","grade",")","from","highschooler","where","id","in","(","select","t1",".","student_id","from","friend","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id",")"],"916":["select","min","(","grade",")","from","highschooler","where","id","not","in","(","select","t1",".","student_id","from","friend","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id",")"],"917":["select","min","(","grade",")","from","highschooler","where","id","not","in","(","select","t1",".","student_id","from","friend","as","t1","join","highschooler","as","t2","on","t1",".","student_id","=","t2",".","id",")"],"918":["select","state","from","owners","intersect","select","state","from","professionals"],"919":["select","state","from","owners","intersect","select","state","from","professionals"],"920":["select","avg","(","age",")","from","dogs","where","dog_id","in","(","select","dog_id","from","treatments",")"],"921":["select","avg","(","age",")","from","dogs","where","dog_id","in","(","select","dog_id","from","treatments",")"],"922":["select","professional_id",",","last_name",",","cell_number","from","professionals","where","state","=","value","union","select","t1",".","professional_id",",","t1",".","last_name",",","t1",".","cell_number","from","professionals","as","t1","join","treatments","as","t2","on","t1",".","professional_id","=","t2",".","professional_id","group","by","t1",".","professional_id","having","count","(","*",")",">","value"],"923":["select","professional_id",",","last_name",",","cell_number","from","professionals","where","state","=","value","union","select","t1",".","professional_id",",","t1",".","last_name",",","t1",".","cell_number","from","professionals","as","t1","join","treatments","as","t2","on","t1",".","professional_id","=","t2",".","professional_id","group","by","t1",".","professional_id","having","count","(","*",")",">","value"],"924":["select","name","from","dogs","where","dog_id","not","in","(","select","dog_id","from","treatments","group","by","dog_id","having","sum","(","cost_of_treatment",")",">","value",")"],"925":["select","name","from","dogs","where","dog_id","not","in","(","select","dog_id","from","treatments","group","by","dog_id","having","sum","(","cost_of_treatment",")",">","value",")"],"926":["select","first_name","from","professionals","union","select","first_name","from","owners","except","select","name","from","dogs"],"927":["select","first_name","from","professionals","union","select","first_name","from","owners","except","select","name","from","dogs"],"928":["select","professional_id",",","role_code",",","email_address","from","professionals","except","select","t1",".","professional_id",",","t1",".","role_code",",","t1",".","email_address","from","professionals","as","t1","join","treatments","as","t2","on","t1",".","professional_id","=","t2",".","professional_id"],"929":["select","professional_id",",","role_code",",","email_address","from","professionals","except","select","t1",".","professional_id",",","t1",".","role_code",",","t1",".","email_address","from","professionals","as","t1","join","treatments","as","t2","on","t1",".","professional_id","=","t2",".","professional_id"],"930":["select","t1",".","owner_id",",","t2",".","first_name",",","t2",".","last_name","from","dogs","as","t1","join","owners","as","t2","on","t1",".","owner_id","=","t2",".","owner_id","group","by","t1",".","owner_id","order","by","count","(","*",")","desc","limit","value"],"931":["select","t1",".","owner_id",",","t2",".","first_name",",","t2",".","last_name","from","dogs","as","t1","join","owners","as","t2","on","t1",".","owner_id","=","t2",".","owner_id","group","by","t1",".","owner_id","order","by","count","(","*",")","desc","limit","value"],"932":["select","t1",".","professional_id",",","t1",".","role_code",",","t1",".","first_name","from","professionals","as","t1","join","treatments","as","t2","on","t1",".","professional_id","=","t2",".","professional_id","group","by","t1",".","professional_id","having","count","(","*",")",">","=","value"],"933":["select","t1",".","professional_id",",","t1",".","role_code",",","t1",".","first_name","from","professionals","as","t1","join","treatments","as","t2","on","t1",".","professional_id","=","t2",".","professional_id","group","by","t1",".","professional_id","having","count","(","*",")",">","=","value"],"934":["select","t1",".","breed_name","from","breeds","as","t1","join","dogs","as","t2","on","t1",".","breed_code","=","t2",".","breed_code","group","by","t1",".","breed_name","order","by","count","(","*",")","desc","limit","value"],"935":["select","t1",".","breed_name","from","breeds","as","t1","join","dogs","as","t2","on","t1",".","breed_code","=","t2",".","breed_code","group","by","t1",".","breed_name","order","by","count","(","*",")","desc","limit","value"],"936":["select","t1",".","owner_id",",","t1",".","last_name","from","owners","as","t1","join","dogs","as","t2","on","t1",".","owner_id","=","t2",".","owner_id","join","treatments","as","t3","on","t2",".","dog_id","=","t3",".","dog_id","group","by","t1",".","owner_id","order","by","count","(","*",")","desc","limit","value"],"937":["select","t1",".","owner_id",",","t1",".","last_name","from","owners","as","t1","join","dogs","as","t2","on","t1",".","owner_id","=","t2",".","owner_id","join","treatments","as","t3","on","t2",".","dog_id","=","t3",".","dog_id","group","by","t1",".","owner_id","order","by","count","(","*",")","desc","limit","value"],"938":["select","t1",".","treatment_type_description","from","treatment_types","as","t1","join","treatments","as","t2","on","t1",".","treatment_type_code","=","t2",".","treatment_type_code","group","by","t1",".","treatment_type_code","order","by","sum","(","cost_of_treatment",")","asc","limit","value"],"939":["select","t1",".","treatment_type_description","from","treatment_types","as","t1","join","treatments","as","t2","on","t1",".","treatment_type_code","=","t2",".","treatment_type_code","group","by","t1",".","treatment_type_code","order","by","sum","(","cost_of_treatment",")","asc","limit","value"],"940":["select","t1",".","owner_id",",","t1",".","zip_code","from","owners","as","t1","join","dogs","as","t2","on","t1",".","owner_id","=","t2",".","owner_id","join","treatments","as","t3","on","t2",".","dog_id","=","t3",".","dog_id","group","by","t1",".","owner_id","order","by","sum","(","t3",".","cost_of_treatment",")","desc","limit","value"],"941":["select","t1",".","owner_id",",","t1",".","zip_code","from","owners","as","t1","join","dogs","as","t2","on","t1",".","owner_id","=","t2",".","owner_id","join","treatments","as","t3","on","t2",".","dog_id","=","t3",".","dog_id","group","by","t1",".","owner_id","order","by","sum","(","t3",".","cost_of_treatment",")","desc","limit","value"],"942":["select","t1",".","professional_id",",","t1",".","cell_number","from","professionals","as","t1","join","treatments","as","t2","on","t1",".","professional_id","=","t2",".","professional_id","group","by","t1",".","professional_id","having","count","(","*",")",">","=","value"],"943":["select","t1",".","professional_id",",","t1",".","cell_number","from","professionals","as","t1","join","treatments","as","t2","on","t1",".","professional_id","=","t2",".","professional_id","group","by","t1",".","professional_id","having","count","(","*",")",">","=","value"],"944":["select","distinct","t1",".","first_name",",","t1",".","last_name","from","professionals","as","t1","join","treatments","as","t2","where","cost_of_treatment","<","(","select","avg","(","cost_of_treatment",")","from","treatments",")"],"945":["select","distinct","t1",".","first_name",",","t1",".","last_name","from","professionals","as","t1","join","treatments","as","t2","where","cost_of_treatment","<","(","select","avg","(","cost_of_treatment",")","from","treatments",")"],"946":["select","t1",".","date_of_treatment",",","t2",".","first_name","from","treatments","as","t1","join","professionals","as","t2","on","t1",".","professional_id","=","t2",".","professional_id"],"947":["select","t1",".","date_of_treatment",",","t2",".","first_name","from","treatments","as","t1","join","professionals","as","t2","on","t1",".","professional_id","=","t2",".","professional_id"],"948":["select","t1",".","cost_of_treatment",",","t2",".","treatment_type_description","from","treatments","as","t1","join","treatment_types","as","t2","on","t1",".","treatment_type_code","=","t2",".","treatment_type_code"],"949":["select","t1",".","cost_of_treatment",",","t2",".","treatment_type_description","from","treatments","as","t1","join","treatment_types","as","t2","on","t1",".","treatment_type_code","=","t2",".","treatment_type_code"],"950":["select","t1",".","first_name",",","t1",".","last_name",",","t2",".","size_code","from","owners","as","t1","join","dogs","as","t2","on","t1",".","owner_id","=","t2",".","owner_id"],"951":["select","t1",".","first_name",",","t1",".","last_name",",","t2",".","size_code","from","owners","as","t1","join","dogs","as","t2","on","t1",".","owner_id","=","t2",".","owner_id"],"952":["select","t1",".","first_name",",","t2",".","name","from","owners","as","t1","join","dogs","as","t2","on","t1",".","owner_id","=","t2",".","owner_id"],"953":["select","t1",".","first_name",",","t2",".","name","from","owners","as","t1","join","dogs","as","t2","on","t1",".","owner_id","=","t2",".","owner_id"],"954":["select","t1",".","name",",","t2",".","date_of_treatment","from","dogs","as","t1","join","treatments","as","t2","on","t1",".","dog_id","=","t2",".","dog_id","where","t1",".","breed_code","=","(","select","breed_code","from","dogs","group","by","breed_code","order","by","count","(","*",")","asc","limit","value",")"],"955":["select","t1",".","name",",","t2",".","date_of_treatment","from","dogs","as","t1","join","treatments","as","t2","on","t1",".","dog_id","=","t2",".","dog_id","where","t1",".","breed_code","=","(","select","breed_code","from","dogs","group","by","breed_code","order","by","count","(","*",")","asc","limit","value",")"],"956":["select","t1",".","first_name",",","t2",".","name","from","owners","as","t1","join","dogs","as","t2","on","t1",".","owner_id","=","t2",".","owner_id","where","t1",".","state","=","value"],"957":["select","t1",".","first_name",",","t2",".","name","from","owners","as","t1","join","dogs","as","t2","on","t1",".","owner_id","=","t2",".","owner_id","where","t1",".","state","=","value"],"958":["select","distinct","t1",".","date_arrived",",","t1",".","date_departed","from","dogs","as","t1","join","treatments","as","t2","on","t1",".","dog_id","=","t2",".","dog_id"],"959":["select","distinct","t1",".","date_arrived",",","t1",".","date_departed","from","dogs","as","t1","join","treatments","as","t2","on","t1",".","dog_id","=","t2",".","dog_id"],"960":["select","t1",".","last_name","from","owners","as","t1","join","dogs","as","t2","on","t1",".","owner_id","=","t2",".","owner_id","where","t2",".","age","=","(","select","max","(","age",")","from","dogs",")"],"961":["select","t1",".","last_name","from","owners","as","t1","join","dogs","as","t2","on","t1",".","owner_id","=","t2",".","owner_id","where","t2",".","age","=","(","select","max","(","age",")","from","dogs",")"],"962":["select","email_address","from","professionals","where","state","=","value","or","state","=","value"],"963":["select","email_address","from","professionals","where","state","=","value","or","state","=","value"],"964":["select","date_arrived",",","date_departed","from","dogs"],"965":["select","date_arrived",",","date_departed","from","dogs"],"966":["select","count","(","distinct","dog_id",")","from","treatments"],"967":["select","count","(","distinct","dog_id",")","from","treatments"],"968":["select","count","(","distinct","professional_id",")","from","treatments"],"969":["select","count","(","distinct","professional_id",")","from","treatments"],"970":["select","role_code",",","street",",","city",",","state","from","professionals","where","city","like","value"],"971":["select","role_code",",","street",",","city",",","state","from","professionals","where","city","like","value"],"972":["select","first_name",",","last_name",",","email_address","from","owners","where","state","like","value"],"973":["select","first_name",",","last_name",",","email_address","from","owners","where","state","like","value"],"974":["select","count","(","*",")","from","dogs","where","age","<","(","select","avg","(","age",")","from","dogs",")"],"975":["select","count","(","*",")","from","dogs","where","age","<","(","select","avg","(","age",")","from","dogs",")"],"976":["select","cost_of_treatment","from","treatments","order","by","date_of_treatment","desc","limit","value"],"977":["select","cost_of_treatment","from","treatments","order","by","date_of_treatment","desc","limit","value"],"978":["select","count","(","*",")","from","dogs","where","dog_id","not","in","(","select","dog_id","from","treatments",")"],"979":["select","count","(","*",")","from","dogs","where","dog_id","not","in","(","select","dog_id","from","treatments",")"],"980":["select","count","(","*",")","from","owners","where","owner_id","not","in","(","select","owner_id","from","dogs",")"],"981":["select","count","(","*",")","from","owners","where","owner_id","not","in","(","select","owner_id","from","dogs",")"],"982":["select","count","(","*",")","from","professionals","where","professional_id","not","in","(","select","professional_id","from","treatments",")"],"983":["select","count","(","*",")","from","professionals","where","professional_id","not","in","(","select","professional_id","from","treatments",")"],"984":["select","name",",","age",",","weight","from","dogs","where","abandoned_yn","=","value"],"985":["select","name",",","age",",","weight","from","dogs","where","abandoned_yn","=","value"],"986":["select","avg","(","age",")","from","dogs"],"987":["select","avg","(","age",")","from","dogs"],"988":["select","max","(","age",")","from","dogs"],"989":["select","max","(","age",")","from","dogs"],"990":["select","charge_type",",","charge_amount","from","charges"],"991":["select","charge_type",",","charge_amount","from","charges"],"992":["select","max","(","charge_amount",")","from","charges"],"993":["select","max","(","charge_amount",")","from","charges"],"994":["select","email_address",",","cell_number",",","home_phone","from","professionals"],"995":["select","email_address",",","cell_number",",","home_phone","from","professionals"],"996":["select","distinct","breed_code",",","size_code","from","dogs"],"997":["select","distinct","breed_code",",","size_code","from","dogs"],"998":["select","distinct","t1",".","first_name",",","t3",".","treatment_type_description","from","professionals","as","t1","join","treatments","as","t2","on","t1",".","professional_id","=","t2",".","professional_id","join","treatment_types","as","t3","on","t2",".","treatment_type_code","=","t3",".","treatment_type_code"],"999":["select","distinct","t1",".","first_name",",","t3",".","treatment_type_description","from","professionals","as","t1","join","treatments","as","t2","on","t1",".","professional_id","=","t2",".","professional_id","join","treatment_types","as","t3","on","t2",".","treatment_type_code","=","t3",".","treatment_type_code"],"1000":["select","count","(","*",")","from","singer"],"1001":["select","count","(","*",")","from","singer"],"1002":["select","name","from","singer","order","by","net_worth_millions","asc"],"1003":["select","name","from","singer","order","by","net_worth_millions","asc"],"1004":["select","birth_year",",","citizenship","from","singer"],"1005":["select","birth_year",",","citizenship","from","singer"],"1006":["select","name","from","singer","where","citizenship","!","=","value"],"1007":["select","name","from","singer","where","citizenship","!","=","value"],"1008":["select","name","from","singer","where","birth_year","=","value","or","birth_year","=","value"],"1009":["select","name","from","singer","where","birth_year","=","value","or","birth_year","=","value"],"1010":["select","name","from","singer","order","by","net_worth_millions","desc","limit","value"],"1011":["select","name","from","singer","order","by","net_worth_millions","desc","limit","value"],"1012":["select","citizenship",",","count","(","*",")","from","singer","group","by","citizenship"],"1013":["select","citizenship",",","count","(","*",")","from","singer","group","by","citizenship"],"1014":["select","citizenship","from","singer","group","by","citizenship","order","by","count","(","*",")","desc","limit","value"],"1015":["select","citizenship","from","singer","group","by","citizenship","order","by","count","(","*",")","desc","limit","value"],"1016":["select","citizenship",",","max","(","net_worth_millions",")","from","singer","group","by","citizenship"],"1017":["select","citizenship",",","max","(","net_worth_millions",")","from","singer","group","by","citizenship"],"1018":["select","t2",".","title",",","t1",".","name","from","singer","as","t1","join","song","as","t2","on","t1",".","singer_id","=","t2",".","singer_id"],"1019":["select","t2",".","title",",","t1",".","name","from","singer","as","t1","join","song","as","t2","on","t1",".","singer_id","=","t2",".","singer_id"],"1020":["select","distinct","t1",".","name","from","singer","as","t1","join","song","as","t2","on","t1",".","singer_id","=","t2",".","singer_id","where","t2",".","sales",">","value"],"1021":["select","distinct","t1",".","name","from","singer","as","t1","join","song","as","t2","on","t1",".","singer_id","=","t2",".","singer_id","where","t2",".","sales",">","value"],"1022":["select","t1",".","name","from","singer","as","t1","join","song","as","t2","on","t1",".","singer_id","=","t2",".","singer_id","group","by","t1",".","name","having","count","(","*",")",">","value"],"1023":["select","t1",".","name","from","singer","as","t1","join","song","as","t2","on","t1",".","singer_id","=","t2",".","singer_id","group","by","t1",".","name","having","count","(","*",")",">","value"],"1024":["select","t1",".","name",",","sum","(","t2",".","sales",")","from","singer","as","t1","join","song","as","t2","on","t1",".","singer_id","=","t2",".","singer_id","group","by","t1",".","name"],"1025":["select","t1",".","name",",","sum","(","t2",".","sales",")","from","singer","as","t1","join","song","as","t2","on","t1",".","singer_id","=","t2",".","singer_id","group","by","t1",".","name"],"1026":["select","name","from","singer","where","singer_id","not","in","(","select","singer_id","from","song",")"],"1027":["select","name","from","singer","where","singer_id","not","in","(","select","singer_id","from","song",")"],"1028":["select","citizenship","from","singer","where","birth_year","<","value","intersect","select","citizenship","from","singer","where","birth_year",">","value"],"1029":["select","citizenship","from","singer","where","birth_year","<","value","intersect","select","citizenship","from","singer","where","birth_year",">","value"],"1030":["select","count","(","*",")","from","other_available_features"],"1031":["select","t2",".","feature_type_name","from","other_available_features","as","t1","join","ref_feature_types","as","t2","on","t1",".","feature_type_code","=","t2",".","feature_type_code","where","t1",".","feature_name","=","value"],"1032":["select","t2",".","property_type_description","from","properties","as","t1","join","ref_property_types","as","t2","on","t1",".","property_type_code","=","t2",".","property_type_code","group","by","t1",".","property_type_code"],"1033":["select","property_name","from","properties","where","property_type_code","=","value","union","select","property_name","from","properties","where","property_type_code","=","value","and","room_count",">","value"]},"question":{"0":"How many singers do we have?","1":"What is the total number of singers?","2":"Show name, country, age for all singers ordered by age from the oldest to the youngest.","3":"What are the names, countries, and ages for every singer in descending order of age?","4":"What is the average, minimum, and maximum age of all singers from France?","5":"What is the average, minimum, and maximum age for all French singers?","6":"Show the name and the release year of the song by the youngest singer.","7":"What are the names and release years for all the songs of the youngest singer?","8":"What are all distinct countries where singers above age 20 are from?","9":"What are the different countries with singers above age 20?","10":"Show all countries and the number of singers in each country.","11":"How many singers are from each country?","12":"List all song names by singers above the average age.","13":"What are all the song names by singers who are older than average?","14":"Show location and name for all stadiums with a capacity between 5000 and 10000.","15":"What are the locations and names of all stations with capacity between 5000 and 10000?","16":"What is the maximum capacity and the average of all stadiums ?","17":"What is the average and maximum capacities for all stadiums ?","18":"What is the name and capacity for the stadium with highest average attendance?","19":"What is the name and capacity for the stadium with the highest average attendance?","20":"How many concerts are there in year 2014 or 2015?","21":"How many concerts occurred in 2014 or 2015?","22":"Show the stadium name and the number of concerts in each stadium.","23":"For each stadium, how many concerts play there?","24":"Show the stadium name and capacity with most number of concerts in year 2014 or after.","25":"What is the name and capacity of the stadium with the most concerts after 2013 ?","26":"Which year has most number of concerts?","27":"What is the year that had the most concerts?","28":"Show the stadium names without any concert.","29":"What are the names of the stadiums without any concerts?","30":"Show countries where a singer above age 40 and a singer below 30 are from.","31":"Show names for all stadiums except for stadiums having a concert in year 2014.","32":"What are the names of all stadiums that did not have a concert in 2014?","33":"Show the name and theme for all concerts and the number of singers in each concert.","34":"What are the names , themes , and number of singers for every concert ?","35":"List singer names and number of concerts for each singer.","36":"What are the names of the singers and number of concerts for each person?","37":"List all singer names in concerts in year 2014.","38":"What are the names of the singers who performed in a concert in 2014?","39":"what is the name and nation of the singer who have a song having 'Hey' in its name?","40":"What is the name and country of origin of every singer who has a song with the word 'Hey' in its title?","41":"Find the name and location of the stadiums which some concerts happened in the years of both 2014 and 2015.","42":"What are the names and locations of the stadiums that had concerts that occurred in both 2014 and 2015?","43":"Find the number of concerts happened in the stadium with the highest capacity .","44":"What are the number of concerts that occurred in the stadium with the largest capacity ?","45":"Find the number of pets whose weight is heavier than 10.","46":"How many pets have a greater weight than 10?","47":"Find the weight of the youngest dog.","48":"How much does the youngest dog weigh?","49":"Find the maximum weight for each type of pet. List the maximum weight and pet type.","50":"List the maximum weight and type for each type of pet.","51":"Find number of pets owned by students who are older than 20.","52":"How many pets are owned by students that have an age greater than 20?","53":"Find the number of dog pets that are raised by female students (with sex F).","54":"How many dog pets are raised by female students?","55":"Find the number of distinct type of pets.","56":"How many different types of pet are there?","57":"Find the first name of students who have cat or dog pet.","58":"What are the first names of every student who has a cat or dog as a pet?","59":"Find the first name of students who have both cat and dog pets .","60":"What are the students' first names who have both cats and dogs as pets?","61":"Find the major and age of students who do not have a cat pet.","62":"What major is every student who does not own a cat as a pet, and also how old are they?","63":"Find the id of students who do not have a cat pet.","64":"What are the ids of the students who do not own cats as pets?","65":"Find the first name and age of students who have a dog but do not have a cat as a pet.","66":"What is the first name of every student who has a dog but does not have a cat?","67":"Find the type and weight of the youngest pet.","68":"What type of pet is the youngest animal, and how much does it weigh?","69":"Find the id and weight of all pets whose age is older than 1.","70":"What is the id and weight of every pet who is older than 1?","71":"Find the average and maximum age for each type of pet.","72":"What is the average and maximum age for each pet type?","73":"Find the average weight for each pet type.","74":"What is the average weight for each type of pet?","75":"Find the first name and age of students who have a pet.","76":"What are the different first names and ages of the students who do have pets?","77":"Find the id of the pet owned by student whose last name is \u2018Smith\u2019.","78":"What is the id of the pet owned by the student whose last name is 'Smith'?","79":"Find the number of pets for each student who has any pet and student id.","80":"For students who have pets , how many pets does each student have ? list their ids instead of names .","81":"Find the first name and gender of student who have more than one pet.","82":"What is the first name and gender of the all the students who have more than one pet?","83":"Find the last name of the student who has a cat that is age 3.","84":"What is the last name of the student who has a cat that is 3 years old?","85":"Find the average age of students who do not have any pet .","86":"What is the average age for all students who do not own any pets ?","87":"How many continents are there?","88":"What is the number of continents?","89":"How many countries does each continent have? List the continent id, continent name and the number of countries.","90":"For each continent, list its id, name, and how many countries it has?","91":"How many countries are listed?","92":"How many countries exist?","93":"How many models does each car maker produce? List maker full name, id and the number.","94":"What is the full name of each car maker, along with its id and how many models it produces?","95":"Which model of the car has the minimum horsepower?","96":"What is the model of the car with the smallest amount of horsepower?","97":"Find the model of the car whose weight is below the average weight.","98":"What is the model for the car with a weight smaller than the average?","99":"Find the name of the makers that produced some cars in the year of 1970?","100":"What is the name of the different car makers who produced a car in 1970?","101":"Find the make and production time of the cars that were produced in the earliest year?","102":"What is the maker of the carr produced in the earliest year and what year was it?","103":"Which distinct car models are the produced after 1980?","104":"What are the different models for the cards produced after 1980?","105":"How many car makers are there in each continents? List the continent name and the count.","106":"What is the name of each continent and how many car makers are there in each one?","107":"Which of the countries has the most car makers? List the country name.","108":"What is the name of the country with the most car makers?","109":"How many car models are produced by each maker ? Only list the count and the maker full name .","110":"What is the number of car models that are produced by each maker and what is the id and full name of each maker?","111":"What is the accelerate of the car make amc hornet sportabout (sw)?","112":"How much does the car accelerate that makes amc hornet sportabout (sw)?","113":"How many car makers are there in france?","114":"What is the number of makers of care in France?","115":"How many car models are produced in the usa?","116":"What is the count of the car models produced in the United States?","117":"What is the average miles per gallon(mpg) of the cars with 4 cylinders?","118":"What is the average miles per gallon of all the cards with 4 cylinders?","119":"What is the smallest weight of the car produced with 8 cylinders on 1974 ?","120":"What is the minimum weight of the car with 8 cylinders produced in 1974 ?","121":"What are all the makers and models?","122":"What are the makers and models?","123":"What are the countries having at least one car maker? List name and id.","124":"What are the names and ids of all countries with at least one car maker?","125":"What is the number of the cars with horsepower more than 150?","126":"What is the number of cars with a horsepower greater than 150?","127":"What is the average weight of cars each year?","128":"What is the average weight and year for each year?","129":"Which countries in europe have at least 3 car manufacturers?","130":"What are the names of all European countries with at least 3 manufacturers?","131":"What is the maximum horsepower and the make of the car models with 3 cylinders?","132":"What is the largest amount of horsepower for the models with 3 cylinders and what make is it?","133":"Which model saves the most gasoline? That is to say, have the maximum miles per gallon.","134":"What is the car model with the highest mpg ?","135":"What is the average horsepower of the cars before 1980?","136":"What is the average horsepower for all cars produced before 1980 ?","137":"What is the average edispl of the cars of model volvo?","138":"What is the average edispl for all volvos?","139":"What is the maximum accelerate for different number of cylinders?","140":"What is the maximum accelerate for all the different cylinders?","141":"Which model has the most version(make) of cars?","142":"What model has the most different versions?","143":"How many cars have more than 4 cylinders?","144":"What is the number of cars with more than 4 cylinders?","145":"how many cars were produced in 1980?","146":"In 1980, how many cars were made?","147":"How many car models were produced by the maker with full name American Motor Company?","148":"What is the number of car models created by the car maker American Motor Company?","149":"Which makers designed more than 3 car models? List full name and the id.","150":"What are the names and ids of all makers with more than 3 models?","151":"Which distinctive models are produced by maker with the full name General Motors or weighing more than 3500?","152":"What are the different models created by either the car maker General Motors or weighed more than 3500?","153":"In which years cars were produced weighing no less than 3000 and no more than 4000 ?","154":"What are the different years in which there were cars produced that weighed less than 4000 and also cars that weighted more than 3000 ?","155":"What is the horsepower of the car with the largest accelerate?","156":"What is the horsepower of the car with the greatest accelerate?","157":"For model volvo, how many cylinders does the car with the least accelerate have?","158":"For a volvo model, how many cylinders does the version with least accelerate have?","159":"How many cars have a larger accelerate than the car with the largest horsepower?","160":"What is the number of cars with a greater accelerate than the one with the most horsepower?","161":"How many countries has more than 2 car makers ?","162":"What is the number of countries with more than 2 car makers ?","163":"How many cars has over 6 cylinders?","164":"What is the number of carsw ith over 6 cylinders?","165":"For the cars with 4 cylinders, which model has the largest horsepower?","166":"For all of the 4 cylinder cars, which model has the most horsepower?","167":"Among the cars with more than lowest horsepower, which ones do not have more than 3 cylinders? List the car makeid and make name.","168":"Among the cars that do not have the minimum horsepower , what are the make ids and names of all those with less than 4 cylinders ?","169":"What is the maximum miles per gallon of the car with 8 cylinders or produced before 1980 ?","170":"What is the maximum mpg of the cars that had 8 cylinders or that were produced before 1980 ?","171":"Which models are lighter than 3500 but not built by the 'Ford Motor Company'?","172":"What are the different models wthat are lighter than 3500 but were not built by the Ford Motor Company?","173":"What are the name of the countries where there is not a single car maker?","174":"What are the names of the countries with no car makers?","175":"Which are the car makers which produce at least 2 models and more than 3 car makers ? List the id and the maker .","176":"What are the ids and makers of all car makers that produce at least 2 models and make more than 3 cars?","177":"What are the id and names of the countries which have more than 3 car makers or produce the 'fiat' model?","178":"What are the ids and names of all countries that either have more than 3 car makers or produce fiat model ?","179":"Which country does Airline \"JetBlue Airways\" belong to?","180":"What country is Jetblue Airways affiliated with?","181":"What is the abbreviation of Airline \"JetBlue Airways\"?","182":"Which abbreviation corresponds to Jetblue Airways?","183":"List all airline names and their abbreviations in \"USA\".","184":"What are the airline names and abbreviations for airlines in the USA?","185":"List the airport code and name in the city of Anthony.","186":"Give the airport code and airport name corresonding to the city Anthony.","187":"How many airlines do we have?","188":"What is the total number of airlines?","189":"How many airports do we have?","190":"Return the number of airports.","191":"How many flights do we have?","192":"Return the number of flights.","193":"Which airline has abbreviation 'UAL'?","194":"Give the airline with abbreviation 'UAL'.","195":"How many airlines are from USA?","196":"Return the number of airlines in the USA.","197":"Which city and country is the Alton airport at?","198":"Give the city and country for the Alton airport.","199":"What is the airport name for airport 'AKO'?","200":"Return the name of the airport with code 'AKO'.","201":"What are airport names at City 'Aberdeen'?","202":"What are the names of airports in Aberdeen?","203":"How many flights depart from 'APG'?","204":"Count the number of flights departing from 'APG'.","205":"How many flights have destination ATO?","206":"Count the number of flights into ATO.","207":"How many flights depart from City Aberdeen?","208":"Return the number of flights departing from Aberdeen.","209":"How many flights arriving in Aberdeen city?","210":"Return the number of flights arriving in Aberdeen.","211":"How many flights depart from City 'Aberdeen' and have destination City 'Ashley'?","212":"How many flights fly from Aberdeen to Ashley?","213":"How many flights does airline 'JetBlue Airways' have?","214":"Give the number of Jetblue Airways flights.","215":"How many 'United Airlines' flights go to Airport 'ASY'?","216":"Count the number of United Airlines flights arriving in ASY Airport.","217":"How many 'United Airlines' flights depart from Airport 'AHD'?","218":"Return the number of United Airlines flights leaving from AHD Airport.","219":"How many United Airlines flights go to City 'Aberdeen'?","220":"Count the number of United Airlines flights that arrive in Aberdeen.","221":"Which city has most number of arriving flights?","222":"Which city has the most frequent destination airport?","223":"Which city has most number of departing flights?","224":"Which city is the most frequent source airport?","225":"What is the code of airport that has the highest number of flights?","226":"What is the airport code of the airport with the most flights?","227":"What is the code of airport that has fewest number of flights?","228":"Give the code of the airport with the least flights.","229":"Which airline has most number of flights?","230":"What airline serves the most flights?","231":"Find the abbreviation and country of the airline that has fewest number of flights?","232":"What is the abbreviation of the airilne has the fewest flights and what country is it in?","233":"What are airlines that have some flight departing from airport 'AHD'?","234":"Which airlines have a flight with source airport AHD?","235":"What are airlines that have flights arriving at airport 'AHD'?","236":"Which airlines have a flight with destination airport AHD?","237":"Find all airlines that have flights from both airports 'APG' and 'CVO'.","238":"Which airlines have departing flights from both APG and CVO airports?","239":"Find all airlines that have flights from airport 'CVO' but not from 'APG'.","240":"Which airlines have departures from CVO but not from APG airports?","241":"Find all airlines that have at least 10 flights.","242":"Which airlines have at least 10 flights?","243":"Find all airlines that have fewer than 200 flights.","244":"Which airlines have less than 200 flights?","245":"What are flight numbers of Airline \"United Airlines\"?","246":"Which flight numbers correspond to United Airlines flights?","247":"What are flight numbers of flights departing from Airport \"APG\"?","248":"Give the flight numbers of flights leaving from APG.","249":"What are flight numbers of flights arriving at Airport \"APG\"?","250":"Give the flight numbers of flights landing at APG.","251":"What are flight numbers of flights departing from City \"Aberdeen \"?","252":"Give the flight numbers of flights leaving from Aberdeen.","253":"What are flight numbers of flights arriving at City \"Aberdeen\"?","254":"Give the flight numbers of flights arriving in Aberdeen.","255":"Find the number of flights landing in the city of Aberdeen or Abilene.","256":"How many flights land in Aberdeen or Abilene?","257":"Find the name of airports which do not have any flight in and out.","258":"Which airports do not have departing or arriving flights?","259":"How many employees are there?","260":"Count the number of employees","261":"Sort employee names by their age in ascending order.","262":"List the names of employees and sort in ascending order of age.","263":"What is the number of employees from each city?","264":"Count the number of employees for each city.","265":"Which cities do more than one employee under age 30 come from?","266":"Find the cities that have more than one employee under age 30.","267":"Find the number of shops in each location.","268":"How many shops are there in each location?","269":"Find the manager name and district of the shop whose number of products is the largest.","270":"What are the manager name and district of the shop that sells the largest number of products?","271":"find the minimum and maximum number of products of all stores.","272":"What are the minimum and maximum number of products across all the shops?","273":"Return the name, location and district of all shops in descending order of number of products.","274":"Sort all the shops by number products in descending order, and return the name, location and district of each shop.","275":"Find the names of stores whose number products is more than the average number of products.","276":"Which shops' number products is above the average? Give me the shop names.","277":"find the name of employee who was awarded the most times in the evaluation.","278":"Which employee received the most awards in evaluations? Give me the employee name.","279":"Find the name of the employee who got the highest one time bonus.","280":"Which employee received the biggest bonus? Give me the employee name.","281":"Find the names of employees who never won any award in the evaluation.","282":"What are the names of the employees who never received any evaluation?","283":"What is the name of the shop that is hiring the largest number of employees?","284":"Which shop has the most employees? Give me the shop name.","285":"Find the name of the shops that do not hire any employee.","286":"Which shops run with no employees? Find the shop names","287":"Find the number of employees hired in each shop; show the shop name as well.","288":"For each shop, return the number of employees working there and the name of the shop.","289":"What is total bonus given in all evaluations?","290":"Find the total amount of bonus given in all the evaluations.","291":"Give me all the information about hiring.","292":"What is all the information about hiring?","293":"Which district has both stores with less than 3000 products and stores with more than 10000 products?","294":"Find the districts in which there are both shops selling less than 3000 products and shops selling more than 10000 products.","295":"How many different store locations are there?","296":"Count the number of distinct store locations.","297":"How many documents do we have?","298":"Count the number of documents.","299":"List document IDs, document names, and document descriptions for all documents.","300":"What are the ids, names, and descriptions for all documents?","301":"What is the document name and template id for document with description with the letter 'w' in it?","302":"Return the names and template ids for documents that contain the letter w in their description.","303":"What is the document id, template id and description for document named \"Robbin CV\"?","304":"Return the document id, template id, and description for the document with the name Robbin CV.","305":"How many different templates do all document use?","306":"Count the number of different templates used for documents.","307":"How many documents are using the template with type code 'PPT'?","308":"Count the number of documents that use the PPT template type.","309":"Show all template ids and number of documents using each template.","310":"What are all different template ids used for documents, and how many times were each of them used?","311":"What is the id and type code for the template used by the most documents?","312":"Return the id and type code of the template that is used for the greatest number of documents.","313":"Show ids for all templates that are used by more than one document.","314":"What are the template ids of any templates used in more than a single document?","315":"Show ids for all templates not used by any document.","316":"What are the ids for templates that are not used in any documents?","317":"How many templates do we have?","318":"Count the number of templates.","319":"Show template ids, version numbers, and template type codes for all templates.","320":"What are the ids, version numbers, and type codes for each template?","321":"Show all distinct template type codes for all templates.","322":"What are the different template type codes?","323":"What are the ids of templates with template type code PP or PPT?","324":"Return the ids of templates that have the code PP or PPT.","325":"How many templates have template type code CV?","326":"Count the number of templates of the type CV.","327":"What is the version number and template type code for the template with version number later than 5?","328":"Return the version numbers and template type codes of templates with a version number greater than 5.","329":"Show all template type codes and number of templates for each.","330":"What are the different template type codes, and how many templates correspond to each?","331":"Which template type code has most number of templates?","332":"Return the type code of the template type that the most templates belong to.","333":"Show all template type codes with less than three templates.","334":"What are the codes of template types that have fewer than 3 templates?","335":"What the smallest version number and its template type code?","336":"Return the lowest version number, along with its corresponding template type code.","337":"What is the template type code of the template used by document with the name \"Data base\"?","338":"Return the template type code of the template that is used by a document named Data base.","339":"Show all document names using templates with template type code BK.","340":"What are the names of documents that use templates with the code BK?","341":"Show all template type codes and the number of documents using each type.","342":"What are the different template type codes, and how many documents use each type?","343":"Which template type code is used by most number of documents?","344":"Return the code of the template type that is most commonly used in documents.","345":"Show all template type codes that are not used by any document.","346":"What are the codes of template types that are not used for any document?","347":"Show all template type codes and descriptions.","348":"What are the type codes and descriptions for all template types?","349":"What is the template type descriptions for template type code \"AD\".","350":"Return the template type description of the template type with the code AD.","351":"What is the template type code for template type description \"Book\".","352":"Return the type code of the template type with the description \"Book\".","353":"What are the distinct template type descriptions for the templates ever used by any document?","354":"Return the different descriptions for templates that have been used in a document.","355":"What are the template ids with template type description \"Presentation\".","356":"Return the ids corresponding to templates with the description 'Presentation'.","357":"How many paragraphs in total?","358":"Count the number of paragraphs.","359":"How many paragraphs for the document with name 'Summer Show'?","360":"Count the number of paragraphs in the document named 'Summer Show'.","361":"Show paragraph details for paragraph with text 'Korea ' .","362":"What are the details for the paragraph that includes the text 'Korea ' ?","363":"Show all paragraph ids and texts for the document with name 'Welcome to NY'.","364":"What are the ids and texts of paragraphs in the document titled 'Welcome to NY'?","365":"Show all paragraph texts for the document \"Customer reviews\".","366":"What are the paragraph texts for the document with the name 'Customer reviews'?","367":"Show all document ids and the number of paragraphs in each document. Order by document id.","368":"Return the different document ids along with the number of paragraphs corresponding to each, ordered by id.","369":"Show all document ids, names and the number of paragraphs in each document.","370":"What are the ids and names of each document, as well as the number of paragraphs in each?","371":"List all document ids with at least two paragraphs.","372":"What are the ids of documents that have 2 or more paragraphs?","373":"What is the document id and name with greatest number of paragraphs?","374":"Return the id and name of the document with the most paragraphs.","375":"What is the document id with least number of paragraphs?","376":"Return the id of the document with the fewest paragraphs.","377":"What is the document id with 1 to 2 paragraphs?","378":"Give the ids of documents that have between one and two paragraphs.","379":"Show the document id with paragraph text 'Brazil' and 'Ireland'.","380":"What are the ids of documents that contain the paragraph text 'Brazil' and 'Ireland'?","381":"How many teachers are there?","382":"What is the total count of teachers?","383":"List the names of teachers in ascending order of age.","384":"What are the names of the teachers ordered by ascending age?","385":"What are the age and hometown of teachers?","386":"What is the age and hometown of every teacher?","387":"List the name of teachers whose hometown is not `` Little Lever Urban District '' .","388":"What are the names of the teachers whose hometown is not `` Little Lever Urban District '' ?","389":"Show the name of teachers aged either 32 or 33?","390":"What are the names of the teachers who are aged either 32 or 33?","391":"What is the hometown of the youngest teacher?","392":"Where is the youngest teacher from?","393":"Show different hometown of teachers and the number of teachers from each hometown.","394":"For each hometown, how many teachers are there?","395":"List the most common hometown of teachers.","396":"What is the most commmon hometowns for teachers?","397":"Show the hometowns shared by at least two teachers.","398":"What are the towns from which at least two teachers come from?","399":"Show names of teachers and the courses they are arranged to teach.","400":"What is the name of each teacher and what course they teach?","401":"Show names of teachers and the courses they are arranged to teach in ascending alphabetical order of the teacher's name.","402":"What are the names of the teachers and the courses they teach in ascending alphabetical order by the name of the teacher?","403":"Show the name of the teacher for the math course.","404":"What are the names of the people who teach math courses?","405":"Show names of teachers and the number of courses they teach.","406":"What are the names of the teachers and how many courses do they teach?","407":"Show names of teachers that teach at least two courses.","408":"What are the names of the teachers who teach at least two courses?","409":"List the names of teachers who have not been arranged to teach courses.","410":"What are the names of the teachers whose courses have not been arranged?","411":"How many visitors below age 30 are there?","412":"Find the names of the visitors whose membership level is higher than 4, and order the results by the level from high to low.","413":"What is the average age of the visitors whose membership level is not higher than 4?","414":"Find the name and membership level of the visitors whose membership level is higher than 4, and sort by their age from old to young.","415":"Find the id and name of the museum that has the most staff members?","416":"Find the average number of staff working for the museums that were open before 2009.","417":"What are the opening year and staff number of the museum named Plaza Museum?","418":"find the names of museums which have more staff than the minimum staff number of all museums opened after 2010.","419":"find the id, name and age for visitors who visited some museums more than once.","420":"What are the id, name and membership level of visitors who have spent the largest amount of money in total in all museum tickets?","421":"What are the id and name of the museum visited most times?","422":"What is the name of the museum that had no visitor yet?","423":"Find the name and age of the visitor who bought the most tickets at once.","424":"What are the average and maximum number of tickets bought in all visits?","425":"What is the total ticket expense of the visitors whose membership level is 1?","426":"What is the name of the visitor who visited both a museum opened before 2009 and a museum opened after 2011?","427":"Find the number of visitors who did not visit any museum opened after 2010.","428":"How many museums were opened after 2013 or before 2008?","429":"Find the total number of players.","430":"How many players are there?","431":"Find the total number of matches.","432":"Count the number of matches.","433":"List the first name and birth date of all players from the country with code USA.","434":"What are the first names and birth dates of players from the USA?","435":"Find the average age of losers and winners of all matches.","436":"What are the average ages of losers and winners across matches?","437":"Find the average rank of winners in all matches.","438":"What is the average rank for winners in all matches?","439":"Find the highest rank of losers in all matches.","440":"What is the best rank of losers across all matches?","441":"find the number of distinct country codes of all players.","442":"How many distinct countries do players come from?","443":"Find the number of distinct name of losers.","444":"How many different loser names are there?","445":"Find the name of tourney that has more than 10 matches.","446":"What are the names of tournaments that have more than 10 matches?","447":"List the names of all winners who played in both 2013 and 2016.","448":"What are the names of players who won in both 2013 and 2016?","449":"List the number of all matches who played in years of 2013 or 2016.","450":"How many matches were played in 2013 or 2016?","451":"What are the country code and first name of the players who won in both tourney WTA Championships and Australian Open?","452":"What are the first names and country codes for players who won both the WTA Championships and the Australian Open?","453":"Find the first name and country code of the oldest player.","454":"What is the first name and country code of the oldest player?","455":"List the first and last name of all players in the order of birth date.","456":"What are the full names of all players, sorted by birth date?","457":"List the first and last name of all players who are left \/ L hand in the order of birth date.","458":"What are the full names of all left handed players, in order of birth date?","459":"Find the first name and country code of the player who did the most number of tours.","460":"What is the first name and country code of the player with the most tours?","461":"Find the year that has the most number of matches.","462":"Which year had the most matches?","463":"Find the name and rank points of the winner who won the most times.","464":"What is the name of the winner who has won the most matches, and how many rank points does this player have?","465":"Find the name of the winner who has the highest rank points and participated in the Australian Open tourney.","466":"What is the name of the winner with the most rank points who participated in the Australian Open tournament?","467":"find the names of loser and winner who played in the match with greatest number of minutes.","468":"What are the names of the winner and loser who played in the longest match?","469":"Find the average ranking for each player and their first name.","470":"What are the first names of all players, and their average rankings?","471":"Find the total ranking points for each player and their first name.","472":"What are the first names of all players, and their total ranking points?","473":"find the number of players for each country.","474":"How many players are from each country?","475":"find the code of the country where has the greatest number of players.","476":"What is the code of the country with the most players?","477":"Find the codes of countries that have more than 50 players.","478":"What are the codes of countries with more than 50 players?","479":"Find the total number of tours for each ranking date.","480":"How many total tours were there for each ranking date?","481":"Find the number of matches happened in each year.","482":"How many matches were played in each year?","483":"Find the name and rank of the 3 youngest winners across all matches.","484":"What are the names and ranks of the three youngest winners across all matches?","485":"How many different winners both participated in the WTA Championships and were left handed?","486":"Find the number of left handed winners who participated in the WTA Championships.","487":"Find the first name, country code and birth date of the winner who has the highest rank points in all matches.","488":"What is the first name, country code, and birth date of the player with the most winner rank points across all matches?","489":"Find the number of players for each hand type.","490":"How many players are there for each hand type?","491":"How many ships ended up being 'Captured'?","492":"List the name and tonnage ordered by in descending alphaetical order for the names.","493":"List the name, date and result of each battle.","494":"What is maximum and minimum death toll caused each time?","495":"What is the average number of injuries caused each time?","496":"What are the death and injury situations caused by the ship with tonnage 't'?","497":"What are the name and results of the battles when the bulgarian commander is not 'Boril'","498":"What are the different ids and names of the battles that lost any 'Brig' type shipes?","499":"What are the ids and names of the battles that led to more than 10 people killed in total.","500":"What is the ship id and name that caused most total injuries?","501":"What are the distinct battle names which are between bulgarian commander 'Kaloyan' and latin commander 'Baldwin I'?","502":"How many different results are there for the battles?","503":"How many battles did not lose any ship with tonnage '225'?","504":"List the name and date the battle that has lost the ship named 'Lettice' and the ship named 'HMS Atalanta'","505":"Show names, results and bulgarian commanders of the battles with no ships lost in the 'English Channel'.","506":"What are the notes of the death events which has substring 'East'?","507":"what are all the addresses including line 1 and line 2?","508":"What is the first and second line for all addresses?","509":"How many courses in total are listed?","510":"How many courses are there?","511":"How is the math course described?","512":"What are the descriptions for all the math courses?","513":"What is the zip code of the address in the city Port Chelsea?","514":"What is the zip code for Port Chelsea?","515":"Which department offers the most number of degrees? List department name and id.","516":"What is the name and id of the department with the most number of degrees ?","517":"How many departments offer any degree?","518":"How many different departments offer degrees?","519":"How many different degree names are offered?","520":"How many different degrees are offered?","521":"How many degrees does the engineering department offer?","522":"How many degrees does the engineering department have?","523":"What are the names and descriptions of all the sections?","524":"What are the names and descriptions for all the sections?","525":"What are the names and id of courses having at most 2 sections?","526":"What are the names and ids of every course with less than 2 sections?","527":"List the section_name in reversed lexicographical order.","528":"What are the names of the sections in reverse alphabetical order?","529":"What is the semester which most student registered in? Show both the name and the id.","530":"For each semester, what is the name and id of the one with the most students registered?","531":"What is the description of the department whose name has the substring the computer?","532":"What is the department description for the one whose name has the word computer?","533":"Who are enrolled in 2 degree programs in one semester? List the first name, middle name and last name and the id.","534":"What are the first, middle, and last names, along with the ids, of all students who enrolled in 2 degree programs in one semester?","535":"Who is enrolled in a Bachelor degree program? List the first name, middle name, last name.","536":"What are the first, middle, and last names for everybody enrolled in a Bachelors program?","537":"Find the kind of program which most number of students are enrolled in?","538":"What is the degree summary name that has the most number of students enrolled?","539":"Find the program which most number of students are enrolled in. List both the id and the summary.","540":"What is the program id and the summary of the degree that has the most students enrolled?","541":"Which student has enrolled for the most times in any program? List the id, first name, middle name, last name, the number of enrollments and student id.","542":"What is the first, middle, and last name, along with the id and number of enrollments, for the student who enrolled the most in any program?","543":"Which semesters do not have any student enrolled? List the semester name.","544":"What is the name of the semester with no students enrolled?","545":"What are all the course names of the courses which ever have students enrolled in?","546":"What are the names of all courses that have some students enrolled?","547":"What's the name of the course with most number of enrollments?","548":"What is the name of the course with the most students enrolled?","549":"Find the last name of the students who currently live in the state of North Carolina but have not registered in any degree program.","550":"What are the last name of the students who live in North Carolina but have not registered in any degree programs?","551":"Show the date and id of the transcript with at least 2 course results.","552":"What is the date and id of the transcript with at least 2 courses listed?","553":"What is the phone number of the man with the first name Timmothy and the last name Ward?","554":"What is the mobile phone number of the student named Timmothy Ward ?","555":"Who is the first student to register? List the first name, middle name and last name.","556":"What is the first, middle, and last name of the first student to register?","557":"Who is the earliest graduate of the school? List the first name, middle name and last name.","558":"What is the first, middle, and last name of the earliest school graduate?","559":"Whose permanent address is different from his or her current address? List his or her first name.","560":"What is the first name of the student whose permanent address is different from his or her current one?","561":"Which address holds the most number of students currently? List the address id and all lines.","562":"What is the id, line 1, and line 2 of the address with the most students?","563":"On average, when were the transcripts printed?","564":"What is the average transcript date?","565":"When is the first transcript released? List the date and details.","566":"What is the earliest date of a transcript release, and what details can you tell me?","567":"How many transcripts are released?","568":"How many transcripts are listed?","569":"What is the last transcript release date?","570":"When was the last transcript released?","571":"How many times at most can a course enrollment result show in different transcripts? Also show the course enrollment id.","572":"What is the maximum number of times that a course shows up in different transcripts and what is that course's enrollment id?","573":"Show the date of the transcript which shows the least number of results, also list the id.","574":"What is the date and id of the transcript with the least number of results?","575":"Find the semester when both Master students and Bachelor students got enrolled in.","576":"What is the id of the semester that had both Masters and Bachelors students enrolled?","577":"How many different addresses do the students currently live?","578":"What are the different addresses that have students living there?","579":"List all the student details in reversed lexicographical order.","580":"What other details can you tell me about students in reverse alphabetical order?","581":"Describe the section h.","582":"What is the description for the section named h?","583":"Find the first name of the students who permanently live in the country Haiti or have the cell phone number 09700166582 .","584":"What are the first names of the students who live in Haiti permanently or have the cell phone number 09700166582 ?","585":"List the title of all cartoons in alphabetical order.","586":"What are the titles of the cartoons sorted alphabetically?","587":"List all cartoon directed by \"Ben Jones\".","588":"What are the names of all cartoons directed by Ben Jones?","589":"How many cartoons were written by \"Joseph Kuhr\"?","590":"What is the number of cartoones written by Joseph Kuhr?","591":"list all cartoon titles and their directors ordered by their air date","592":"What is the name and directors of all the cartoons that are ordered by air date?","593":"List the title of all cartoon directed by \"Ben Jones\" or \"Brandon Vietti\".","594":"What are the titles of all cartoons directed by Ben Jones or Brandon Vietti?","595":"Which country has the most of TV Channels? List the country and number of TV Channels it has.","596":"What is the country with the most number of TV Channels and how many does it have?","597":"List the number of different series names and contents in the TV Channel table.","598":"How many different series and contents are listed in the TV Channel table?","599":"What is the content of TV Channel with serial name \"Sky Radio\"?","600":"What is the content of the series Sky Radio?","601":"What is the Package Option of TV Channel with serial name \"Sky Radio\"?","602":"What are the Package Options of the TV Channels whose series names are Sky Radio?","603":"How many TV Channel using language English?","604":"How many TV Channels use the English language?","605":"List the language used least number of TV Channel. List language and number of TV Channel.","606":"What are the languages used by the least number of TV Channels and how many channels use it?","607":"List each language and the number of TV Channels using it.","608":"For each language, list the number of TV Channels that use it.","609":"What is the TV Channel that shows the cartoon \"The Rise of the Blue Beetle!\"? List the TV Channel's series name.","610":"What is the series name of the TV Channel that shows the cartoon \"The Rise of the Blue Beetle\"?","611":"List the title of all Cartoons showed on TV Channel with series name \"Sky Radio\".","612":"What is the title of all the cartools that are on the TV Channel with the series name \"Sky Radio\"?","613":"List the Episode of all TV series sorted by rating.","614":"What are all of the episodes ordered by ratings?","615":"List top 3 highest Rating TV series. List the TV series's Episode and Rating.","616":"What are 3 most highly rated episodes in the TV series table and what were those ratings?","617":"What is minimum and maximum share of TV series?","618":"What is the maximum and minimum share for the TV series?","619":"What is the air date of TV series with Episode \"A Love of a Lifetime\"?","620":"When did the episode \"A Love of a Lifetime\" air?","621":"What is Weekly Rank of TV series with Episode \"A Love of a Lifetime\"?","622":"What is the weekly rank for the episode \"A Love of a Lifetime\"?","623":"What is the TV Channel of TV series with Episode \"A Love of a Lifetime\"? List the TV Channel's series name.","624":"What is the name of the series that has the episode \"A Love of a Lifetime\"?","625":"List the Episode of all TV series showed on TV Channel with series name \"Sky Radio\".","626":"What is the episode for the TV series named \"Sky Radio\"?","627":"Find the number of cartoons directed by each of the listed directors.","628":"How many cartoons did each director create?","629":"Find the production code and channel of the most recently aired cartoon .","630":"What is the produdction code and channel of the most recent cartoon ?","631":"Find the package choice and series name of the TV channel that has high definition TV.","632":"What are the package options and the name of the series for the TV Channel that supports high definition TV?","633":"which countries' tv channels are playing some cartoon written by Todd Casey?","634":"What are the countries that have cartoons on TV that were written by Todd Casey?","635":"which countries' tv channels are not playing any cartoon written by Todd Casey?","636":"What are the countries that are not playing cartoons written by Todd Casey?","637":"Find the series name and country of the tv channel that is playing some cartoons directed by Ben Jones and Michael Chang?","638":"What is the series name and country of all TV channels that are playing cartoons directed by Ben Jones and cartoons directed by Michael Chang?","639":"find the pixel aspect ratio and nation of the tv channels that do not use English.","640":"What is the pixel aspect ratio and country of origin for all TV channels that do not use English?","641":"find id of the tv channels that from the countries where have more than two tv channels.","642":"What are the ids of all tv channels that have more than 2 TV channels?","643":"find the id of tv channels that do not play any cartoon directed by Ben Jones.","644":"What are the ids of the TV channels that do not have any cartoons directed by Ben Jones?","645":"find the package option of the tv channel that do not have any cartoon directed by Ben Jones.","646":"What are the package options of all tv channels that are not playing any cartoons directed by Ben Jones?","647":"How many poker players are there?","648":"Count the number of poker players.","649":"List the earnings of poker players in descending order.","650":"What are the earnings of poker players, ordered descending by value?","651":"List the final tables made and the best finishes of poker players.","652":"What are the final tables made and best finishes for all poker players?","653":"What is the average earnings of poker players?","654":"Return the average earnings across all poker players.","655":"What is the money rank of the poker player with the highest earnings?","656":"Return the money rank of the player with the greatest earnings.","657":"What is the maximum number of final tables made among poker players with earnings less than 200000?","658":"Return the maximum final tables made across all poker players who have earnings below 200000.","659":"What are the names of poker players?","660":"Return the names of all the poker players.","661":"What are the names of poker players whose earnings is higher than 300000?","662":"Give the names of poker players who have earnings above 300000.","663":"List the names of poker players ordered by the final tables made in ascending order.","664":"What are the names of poker players, ordered ascending by the number of final tables they have made?","665":"What is the birth date of the poker player with the lowest earnings?","666":"Return the birth date of the poker player with the lowest earnings.","667":"What is the money rank of the tallest poker player?","668":"Return the money rank of the poker player with the greatest height.","669":"What is the average earnings of poker players with height higher than 200?","670":"Give average earnings of poker players who are taller than 200.","671":"What are the names of poker players in descending order of earnings?","672":"Return the names of poker players sorted by their earnings descending.","673":"What are different nationalities of people and the corresponding number of people from each nation?","674":"How many people are there of each nationality?","675":"What is the most common nationality of people?","676":"Give the nationality that is most common across all people.","677":"What are the nationalities that are shared by at least two people?","678":"Return the nationalities for which there are two or more people.","679":"List the names and birth dates of people in ascending alphabetical order of name.","680":"What are the names and birth dates of people, ordered by their names in alphabetical order?","681":"Show names of people whose nationality is not \"Russia\".","682":"What are the names of people who are not from Russia?","683":"List the names of people that are not poker players.","684":"What are the names of people who do not play poker?","685":"How many distinct nationalities are there?","686":"Count the number of different nationalities.","687":"How many states are there?","688":"List the contestant numbers and names, ordered by contestant name descending.","689":"List the vote ids, phone numbers and states of all votes.","690":"What are the maximum and minimum values of area codes?","691":"What is last date created of votes from the state 'CA'?","692":"What are the names of the contestants whose names are not 'Jessie Alloway'","693":"What are the distinct states and create time of all votes?","694":"What are the contestant numbers and names of the contestants who had at least two votes?","695":"Of all the contestants who got voted, what is the contestant number and name of the contestant who got least votes?","696":"What are the number of votes from state 'NY' or 'CA'?","697":"How many contestants did not get voted?","698":"What is the area code in which the most voters voted?","699":"What are the create dates, states, and phone numbers of the votes that were for the contestant named 'Tabatha Gehling'?","700":"List the area codes in which voters voted both for the contestant 'Tabatha Gehling' and the contestant 'Kelly Clauss'.","701":"Return the names of the contestants whose names contain the substring 'Al' .","702":"What are the names of all the countries that became independent after 1950?","703":"Give the names of the nations that were founded after 1950.","704":"How many countries have a republic as their form of government?","705":"How many countries have governments that are republics?","706":"What is the total surface area of the countries in the Caribbean region?","707":"How much surface area do the countires in the Carribean cover together?","708":"Which continent is Anguilla in?","709":"What is the continent name which Anguilla belongs to?","710":"Which region is the city Kabul located in?","711":"What region is Kabul in?","712":"Which language is the most popular in Aruba?","713":"What language is predominantly spoken in Aruba?","714":"What are the population and life expectancies in Brazil?","715":"Give me Brazil\u2019s population and life expectancies.","716":"What are the region and population of Angola?","717":"What region does Angola belong to and what is its population?","718":"What is the average expected life expectancy for countries in the region of Central Africa?","719":"How long is the people\u2019s average life expectancy in Central Africa?","720":"What is the name of country that has the shortest life expectancy in Asia?","721":"Give the name of the country in Asia with the lowest life expectancy.","722":"What is the total population and maximum GNP in Asia?","723":"How many people live in Asia, and what is the largest GNP among them?","724":"What is the average life expectancy in African countries that are republics?","725":"Give the average life expectancy for countries in Africa which are republics?","726":"What is the total surface area of the continents Asia and Europe?","727":"Give the total surface area covered by countries in Asia or Europe.","728":"How many people live in Gelderland district?","729":"What is the total population of Gelderland district?","730":"What is the average GNP and total population in all nations whose government is US territory?","731":"Give the mean GNP and total population of nations which are considered US territory.","732":"How many unique languages are spoken in the world?","733":"What is the number of distinct languages used around the world?","734":"How many type of governments are in Africa?","735":"How many different forms of governments are there in Africa?","736":"What is the total number of languages used in Aruba?","737":"How many languages are spoken in Aruba?","738":"How many official languages does Afghanistan have?","739":"How many official languages are spoken in Afghanistan?","740":"What is name of the country that speaks the largest number of languages?","741":"Give the name of the nation that uses the greatest amount of languages.","742":"Which continent has the most diverse languages?","743":"Which continent speaks the most languages?","744":"How many countries speak both English and Dutch?","745":"What is the number of nations that use English and Dutch?","746":"What are the names of nations speak both English and French?","747":"Give the names of nations that speak both English and French.","748":"What are the names of nations where both English and French are official languages?","749":"Give the names of countries with English and French as official languages.","750":"What is the number of distinct continents where Chinese is spoken?","751":"How many continents speak Chinese?","752":"What are the regions that use English or Dutch?","753":"Which regions speak Dutch or English?","754":"What are the countries where either English or Dutch is the official language ?","755":"Which countries have either English or Dutch as an official language?","756":"Which language is the most popular on the Asian continent?","757":"What is the language that is used by the largest number of Asian nations?","758":"Which languages are spoken by only one country in republic governments?","759":"What languages are only used by a single country with a republic government?","760":"Find the city with the largest population that uses English.","761":"What is the most populace city that speaks English?","762":"Find the name, population and expected life length of asian country with the largest area?","763":"What are the name, population, and life expectancy of the largest Asian country by land?","764":"What is average life expectancy in the countries where English is not the official language?","765":"Give the mean life expectancy of countries in which English is not the official language.","766":"What is the total number of people living in the nations that do not use English?","767":"How many people live in countries that do not speak English?","768":"What is the official language spoken in the country whose head of state is Beatrix?","769":"What is the official language used in the country the name of whose head of state is Beatrix.","770":"What is the total number of unique official languages spoken in the countries that are founded before 1930?","771":"For the countries founded before 1930, what is the total number of distinct official languages?","772":"What are the countries that have greater surface area than any country in Europe?","773":"Which countries have greater area than that of any country in Europe?","774":"What are the African countries that have a population less than any country in Asia?","775":"Which African countries have a smaller population than that of any country in Asia?","776":"Which Asian countries have a population that is larger than any country in Africa?","777":"What are the Asian countries which have a population larger than that of any country in Africa?","778":"What are the country codes for countries that do not speak English?","779":"Return the country codes for countries that do not speak English.","780":"What are the country codes of countries where people use languages other than English?","781":"Give the country codes for countries in which people speak langauges that are not English.","782":"What are the codes of the countries that do not speak English and whose government forms are not Republic?","783":"Return the codes of countries that do not speak English and do not have Republics for governments.","784":"Which cities are in European countries where English is not the official language?","785":"What are the names of cities in Europe for which English is not the official language?","786":"Which unique cities are in Asian countries where Chinese is the official language ?","787":"Return the different names of cities that are in Asia and for which Chinese is the official language.","788":"What are the name, independence year, and surface area of the country with the smallest population?","789":"Give the name, year of independence, and surface area of the country that has the lowest population.","790":"What are the population, name and leader of the country with the largest area?","791":"Give the name, population, and head of state for the country that has the largest area.","792":"Return the country name and the numbers of languages spoken for each country that speaks at least 3 languages.","793":"What are the names of countries that speak more than 2 languages, as well as how many languages they speak?","794":"Find the number of cities in each district whose population is greater than the average population of cities?","795":"How many cities in each district have a population that is above the average population across all cities?","796":"Find the government form name and total population for each government form whose average life expectancy is longer than 72.","797":"What are the different government forms and what is the total population of each for government forms that have an average life expectancy greater than 72?","798":"Find the average life expectancy and total population for each continent where the average life expectancy is shorter than 72?","799":"What are the different continents and the total popuation and average life expectancy corresponding to each, for continents that have an average life expectancy less than 72?","800":"What are the names and areas of countries with the top 5 largest area?","801":"Return the names and surface areas of the 5 largest countries.","802":"What are names of countries with the top 3 largest population?","803":"Return the names of the 3 most populated countries.","804":"What are the names of the nations with the 3 lowest populations?","805":"Return the names of the 3 countries with the fewest people.","806":"how many countries are in Asia?","807":"Count the number of countries in Asia.","808":"What are the names of the countries that are in the continent of Europe and have a population of 80000?","809":"Give the names of countries that are in Europe and have a population equal to 80000.","810":"What is the total population and average area of countries in the continent of North America whose area is bigger than 3000 ?","811":"Give the total population and average surface area corresponding to countries in North America that have a surface area greater than 3000 .","812":"What are the cities whose population is between 160000 and 900000?","813":"Return the names of cities that have a population between 160000 and 900000 .","814":"Which language is spoken by the largest number of countries?","815":"Give the language that is spoken in the most countries.","816":"What is the language spoken by the largest percentage of people in each country?","817":"What are the country codes of the different countries, and what are the languages spoken by the greatest percentage of people for each?","818":"What is the total number of countries where Spanish is spoken by the largest percentage of people?","819":"Count the number of countries for which Spanish is the predominantly spoken language.","820":"What are the codes of countries where Spanish is spoken by the largest percentage of people?","821":"Return the codes of countries for which Spanish is the predominantly spoken language.","822":"How many conductors are there?","823":"Count the number of conductors.","824":"List the names of conductors in ascending order of age.","825":"What are the names of conductors, ordered by age?","826":"What are the names of conductors whose nationalities are not \"USA\"?","827":"Return the names of conductors that do not have the nationality \"USA\".","828":"What are the record companies of orchestras in descending order of years in which they were founded?","829":"Return the record companies of orchestras, sorted descending by the years in which they were founded.","830":"What is the average attendance of shows?","831":"Return the average attendance across all shows.","832":"What are the maximum and minimum share of performances whose type is not \"Live final\".","833":"Return the maximum and minimum shares for performances that do not have the type \"Live final\".","834":"How many different nationalities do conductors have?","835":"Count the number of different nationalities of conductors.","836":"List names of conductors in descending order of years of work.","837":"What are the names of conductors, sorted descending by the number of years they have worked?","838":"List the name of the conductor with the most years of work.","839":"What is the name of the conductor who has worked the greatest number of years?","840":"Show the names of conductors and the orchestras they have conducted.","841":"What are the names of conductors as well as the corresonding orchestras that they have conducted?","842":"Show the names of conductors that have conducted more than one orchestras.","843":"What are the names of conductors who have conducted at more than one orchestra?","844":"Show the name of the conductor that has conducted the most number of orchestras.","845":"What is the name of the conductor who has conducted the most orchestras?","846":"Please show the name of the conductor that has conducted orchestras founded after 2008.","847":"What are the names of conductors who have conducted orchestras founded after the year 2008?","848":"Please show the different record companies and the corresponding number of orchestras.","849":"How many orchestras does each record company manage?","850":"Please show the record formats of orchestras in ascending order of count.","851":"What are the major record formats of orchestras, sorted by their frequency?","852":"List the record company shared by the most number of orchestras.","853":"What is the record company used by the greatest number of orchestras?","854":"List the names of orchestras that have no performance.","855":"What are the orchestras that do not have any performances?","856":"Show the record companies shared by orchestras founded before 2003 and after 2003.","857":"What are the record companies that are used by both orchestras founded before 2003 and those founded after 2003?","858":"Find the number of orchestras whose record format is \"CD\" or \"DVD\".","859":"Count the number of orchestras that have CD or DVD as their record format.","860":"Show the years in which orchestras that have given more than one performance are founded.","861":"What are years of founding for orchestras that have had more than a single performance?","862":"How many high schoolers are there?","863":"Count the number of high schoolers.","864":"Show the names and grades of each high schooler.","865":"What are the names and grades for each high schooler?","866":"Show all the grades of the high schoolers.","867":"What is the grade of each high schooler?","868":"What grade is Kyle in?","869":"Return the grade for the high schooler named Kyle.","870":"Show the names of all high schoolers in grade 10.","871":"What are the names of all high schoolers in grade 10?","872":"Show the ID of the high schooler named Kyle.","873":"What is Kyle's id?","874":"How many high schoolers are there in grade 9 or 10?","875":"Count the number of high schoolers in grades 9 or 10.","876":"Show the number of high schoolers for each grade.","877":"How many high schoolers are in each grade?","878":"Which grade has the most high schoolers?","879":"Return the grade that has the greatest number of high schoolers.","880":"Show me all grades that have at least 4 students.","881":"Which grades have 4 or more high schoolers?","882":"Show the student IDs and numbers of friends corresponding to each.","883":"How many friends does each student have?","884":"Show the names of high school students and their corresponding number of friends.","885":"What are the names of the high schoolers and how many friends does each have?","886":"What is the name of the high schooler who has the greatest number of friends?","887":"Return the name of the high school student with the most friends.","888":"Show the names of high schoolers who have at least 3 friends.","889":"What are the names of high schoolers who have 3 or more friends?","890":"Show the names of all of the high schooler Kyle's friends.","891":"Return the names of friends of the high school student Kyle.","892":"How many friends does the high school student Kyle have?","893":"Count the number of friends Kyle has.","894":"Show ids of all students who do not have any friends.","895":"What are the ids of high school students who do not have friends?","896":"Show names of all high school students who do not have any friends.","897":"What are the names of students who have no friends?","898":"Show the ids of high schoolers who have friends and are also liked by someone else.","899":"What are the ids of students who both have friends and are liked?","900":"Show name of all students who have some friends and also are liked by someone else.","901":"What are the names of high schoolers who both have friends and are liked?","902":"Count the number of likes for each student id.","903":"How many likes correspond to each student id?","904":"Show the names of high schoolers who have likes, and numbers of likes for each.","905":"What are the names of high schoolers who have likes, and how many likes does each have?","906":"What is the name of the high schooler who has the greatest number of likes?","907":"Give the name of the student with the most likes.","908":"Show the names of students who have at least 2 likes.","909":"What are the names of students who have 2 or more likes?","910":"Show the names of students who have a grade higher than 5 and have at least 2 friends.","911":"What are the names of high schoolers who have a grade of over 5 and have 2 or more friends?","912":"How many likes does Kyle have?","913":"Return the number of likes that the high schooler named Kyle has.","914":"Find the average grade of all students who have some friends.","915":"What is the average grade of students who have friends?","916":"Find the minimum grade of students who have no friends.","917":"What is the lowest grade of students who do not have any friends?","918":"Which states have both owners and professionals living there?","919":"Find the states where both owners and professionals live.","920":"What is the average age of the dogs who have gone through any treatments?","921":"Find the average age of the dogs who went through treatments.","922":"Which professionals live in the state of Indiana or have done treatment on more than 2 treatments? List his or her id, last name and cell phone.","923":"Find the id, last name and cell phone of the professionals who live in the state of Indiana or have performed more than two treatments.","924":"Which dogs have not cost their owner more than 1000 for treatment ? List the dog names .","925":"What are the names of the dogs for which the owner has not spend more than 1000 for treatment ?","926":"Which first names are used for professionals or owners but are not used as dog names?","927":"Find the first names that are used for professionals or owners but are not used as dog names.","928":"Which professional did not operate any treatment on dogs? List the professional's id, role and email.","929":"Give me the id, role and email of the professionals who did not perform any treatment on dogs.","930":"Which owner owns the most dogs? List the owner id, first name and last name.","931":"Return the owner id, first name and last name of the owner who has the most dogs.","932":"Which professionals have done at least two treatments? List the professional's id, role, and first name.","933":"What are the id, role, and first name of the professionals who have performed two or more treatments?","934":"What is the name of the breed with the most dogs?","935":"Which breed do the most dogs have? Give me the breed name.","936":"Which owner has paid for the most treatments on his or her dogs? List the owner id and last name.","937":"Tell me the owner id and last name of the owner who spent the most on treatments of his or her dogs.","938":"What is the description of the treatment type that costs the least money in total?","939":"Give me the description of the treatment type whose total cost is the lowest.","940":"Which owner has paid the largest amount of money in total for their dogs? Show the owner id and zip code.","941":"Find the owner id and zip code of the owner who spent the most money in total for his or her dogs.","942":"Which professionals have done at least two types of treatments? List the professional id and cell phone.","943":"Find the id and cell phone of the professionals who operate two or more types of treatments.","944":"What are the first name and last name of the professionals who have done treatment with cost below average?","945":"Which professionals have operated a treatment that costs less than the average? Give me theor first names and last names.","946":"List the date of each treatment, together with the first name of the professional who operated it.","947":"What are the date and the operating professional's first name of each treatment?","948":"List the cost of each treatment and the corresponding treatment type description.","949":"What are the cost and treatment type description of each treatment?","950":"List each owner's first name, last name, and the size of his for her dog.","951":"What are each owner's first name, last name, and the size of their dog?","952":"List pairs of the owner's first name and the dogs's name.","953":"What are each owner's first name and their dogs's name?","954":"List the names of the dogs of the rarest breed and the treatment dates of them.","955":"Which dogs are of the rarest breed? Show their names and treatment dates.","956":"Which dogs are owned by someone who lives in Virginia? List the owner's first name and the dog's name.","957":"Find the first names of owners living in Virginia and the names of dogs they own.","958":"What are the arriving date and the departing date of the dogs who have gone through a treatment?","959":"Find the arriving date and the departing date of the dogs that received a treatment.","960":"List the last name of the owner owning the youngest dog.","961":"Who owns the youngest dog? Give me his or her last name.","962":"List the emails of the professionals who live in the state of Hawaii or the state of Wisconsin.","963":"What are the emails of the professionals living in either the state of Hawaii or the state of Wisconsin?","964":"What are the arriving date and the departing date of all the dogs?","965":"List the arrival date and the departure date for all the dogs.","966":"How many dogs went through any treatments?","967":"Count the number of dogs that went through a treatment.","968":"How many professionals have performed any treatment to dogs?","969":"Find the number of professionals who have ever treated dogs.","970":"Which professionals live in a city containing the substring 'West'? List his or her role, street, city and state.","971":"Find the role, street, city and state of the professionals living in a city that contains the substring 'West'.","972":"Which owners live in the state whose name contains the substring 'North'? List his first name, last name and email.","973":"Return the first name, last name and email of the owners living in a state whose name contains the substring 'North'.","974":"How many dogs have an age below the average?","975":"Count the number of dogs of an age below the average.","976":"How much does the most recent treatment cost?","977":"Show me the cost of the most recently performed treatment.","978":"How many dogs have not gone through any treatment?","979":"Tell me the number of dogs that have not received any treatment .","980":"How many owners temporarily do not have any dogs?","981":"Find the number of owners who do not own any dogs at this moment.","982":"How many professionals did not operate any treatment on dogs?","983":"Find the number of professionals who have not treated any dogs.","984":"List the dog name, age and weight of the dogs who have been abandoned? 1 stands for yes, and 0 stands for no.","985":"What are the dog name, age and weight of the dogs that were abandoned? Note that 1 stands for yes, and 0 stands for no in the tables.","986":"What is the average age of all the dogs?","987":"Compute the average age of all the dogs.","988":"What is the age of the oldest dog?","989":"Tell me the age of the oldest dog.","990":"How much does each charge type costs? List both charge type and amount.","991":"List each charge type and its amount.","992":"How much does the most expensive charge type costs?","993":"What is the charge amount of the most expensive charge type?","994":"List the email, cell phone and home phone of all the professionals.","995":"What are the email, cell phone and home phone of each professional?","996":"What are all the possible breed type and size type combinations?","997":"Find the distinct breed type and size type combinations for dogs.","998":"List the first name of all the professionals along with the description of the treatment they have done.","999":"What are each professional's first name and description of the treatment they have performed?","1000":"How many singers are there?","1001":"What is the count of singers?","1002":"List the name of singers in ascending order of net worth.","1003":"What are the names of singers ordered by ascending net worth?","1004":"What are the birth year and citizenship of singers?","1005":"What are the birth years and citizenships of the singers?","1006":"List the name of singers whose citizenship is not \"France\".","1007":"What are the names of the singers who are not French citizens?","1008":"Show the name of singers whose birth year is either 1948 or 1949?","1009":"What are the names of the singers whose birth years are either 1948 or 1949?","1010":"What is the name of the singer with the largest net worth?","1011":"What is the name of the singer who is worth the most?","1012":"Show different citizenship of singers and the number of singers of each citizenship.","1013":"For each citizenship, how many singers are from that country?","1014":"Please show the most common citizenship of singers.","1015":"What is the most common singer citizenship ?","1016":"Show different citizenships and the maximum net worth of singers of each citizenship.","1017":"For each citizenship, what is the maximum net worth?","1018":"Show titles of songs and names of singers.","1019":"What are the song titles and singer names?","1020":"Show distinct names of singers that have songs with sales more than 300000.","1021":"what are the different names of the singers that have sales more than 300000?","1022":"Show the names of singers that have more than one song.","1023":"What are the names of the singers that have more than one songs?","1024":"Show the names of singers and the total sales of their songs.","1025":"For each singer name, what is the total sales for their songs?","1026":"List the name of singers that do not have any song.","1027":"What is the sname of every sing that does not have any song?","1028":"Show the citizenship shared by singers with birth year before 1945 and after 1955.","1029":"What are the citizenships that are shared by singers with a birth year before 1945 and after 1955?","1030":"How many available features are there in total?","1031":"What is the feature type name of feature AirCon?","1032":"Show the property type descriptions of properties belonging to that code.","1033":"What are the names of properties that are either houses or apartments with more than 1 room?"},"question_toks":{"0":["How","many","singers","do","we","have","?"],"1":["What","is","the","total","number","of","singers","?"],"2":["Show","name",",","country",",","age","for","all","singers","ordered","by","age","from","the","oldest","to","the","youngest","."],"3":["What","are","the","names",",","countries",",","and","ages","for","every","singer","in","descending","order","of","age","?"],"4":["What","is","the","average",",","minimum",",","and","maximum","age","of","all","singers","from","France","?"],"5":["What","is","the","average",",","minimum",",","and","maximum","age","for","all","French","singers","?"],"6":["Show","the","name","and","the","release","year","of","the","song","by","the","youngest","singer","."],"7":["What","are","the","names","and","release","years","for","all","the","songs","of","the","youngest","singer","?"],"8":["What","are","all","distinct","countries","where","singers","above","age","20","are","from","?"],"9":["What","are","the","different","countries","with","singers","above","age","20","?"],"10":["Show","all","countries","and","the","number","of","singers","in","each","country","."],"11":["How","many","singers","are","from","each","country","?"],"12":["List","all","song","names","by","singers","above","the","average","age","."],"13":["What","are","all","the","song","names","by","singers","who","are","older","than","average","?"],"14":["Show","location","and","name","for","all","stadiums","with","a","capacity","between","5000","and","10000","."],"15":["What","are","the","locations","and","names","of","all","stations","with","capacity","between","5000","and","10000","?"],"16":["What","is","the","maximum","capacity","and","the","average","of","all","stadiums","?"],"17":["What","is","the","average","and","maximum","capacities","for","all","stadiums","?"],"18":["What","is","the","name","and","capacity","for","the","stadium","with","highest","average","attendance","?"],"19":["What","is","the","name","and","capacity","for","the","stadium","with","the","highest","average","attendance","?"],"20":["How","many","concerts","are","there","in","year","2014","or","2015","?"],"21":["How","many","concerts","occurred","in","2014","or","2015","?"],"22":["Show","the","stadium","name","and","the","number","of","concerts","in","each","stadium","."],"23":["For","each","stadium",",","how","many","concerts","play","there","?"],"24":["Show","the","stadium","name","and","capacity","with","most","number","of","concerts","in","year","2014","or","after","."],"25":["What","is","the","name","and","capacity","of","the","stadium","with","the","most","concerts","after","2013","?"],"26":["Which","year","has","most","number","of","concerts","?"],"27":["What","is","the","year","that","had","the","most","concerts","?"],"28":["Show","the","stadium","names","without","any","concert","."],"29":["What","are","the","names","of","the","stadiums","without","any","concerts","?"],"30":["Show","countries","where","a","singer","above","age","40","and","a","singer","below","30","are","from","."],"31":["Show","names","for","all","stadiums","except","for","stadiums","having","a","concert","in","year","2014","."],"32":["What","are","the","names","of","all","stadiums","that","did","not","have","a","concert","in","2014","?"],"33":["Show","the","name","and","theme","for","all","concerts","and","the","number","of","singers","in","each","concert","."],"34":["What","are","the","names",",","themes",",","and","number","of","singers","for","every","concert","?"],"35":["List","singer","names","and","number","of","concerts","for","each","singer","."],"36":["What","are","the","names","of","the","singers","and","number","of","concerts","for","each","person","?"],"37":["List","all","singer","names","in","concerts","in","year","2014","."],"38":["What","are","the","names","of","the","singers","who","performed","in","a","concert","in","2014","?"],"39":["what","is","the","name","and","nation","of","the","singer","who","have","a","song","having","'Hey","'","in","its","name","?"],"40":["What","is","the","name","and","country","of","origin","of","every","singer","who","has","a","song","with","the","word","'Hey","'","in","its","title","?"],"41":["Find","the","name","and","location","of","the","stadiums","which","some","concerts","happened","in","the","years","of","both","2014","and","2015","."],"42":["What","are","the","names","and","locations","of","the","stadiums","that","had","concerts","that","occurred","in","both","2014","and","2015","?"],"43":["Find","the","number","of","concerts","happened","in","the","stadium","with","the","highest","capacity","."],"44":["What","are","the","number","of","concerts","that","occurred","in","the","stadium","with","the","largest","capacity","?"],"45":["Find","the","number","of","pets","whose","weight","is","heavier","than","10","."],"46":["How","many","pets","have","a","greater","weight","than","10","?"],"47":["Find","the","weight","of","the","youngest","dog","."],"48":["How","much","does","the","youngest","dog","weigh","?"],"49":["Find","the","maximum","weight","for","each","type","of","pet",".","List","the","maximum","weight","and","pet","type","."],"50":["List","the","maximum","weight","and","type","for","each","type","of","pet","."],"51":["Find","number","of","pets","owned","by","students","who","are","older","than","20","."],"52":["How","many","pets","are","owned","by","students","that","have","an","age","greater","than","20","?"],"53":["Find","the","number","of","dog","pets","that","are","raised","by","female","students","(","with","sex","F",")","."],"54":["How","many","dog","pets","are","raised","by","female","students","?"],"55":["Find","the","number","of","distinct","type","of","pets","."],"56":["How","many","different","types","of","pet","are","there","?"],"57":["Find","the","first","name","of","students","who","have","cat","or","dog","pet","."],"58":["What","are","the","first","names","of","every","student","who","has","a","cat","or","dog","as","a","pet","?"],"59":["Find","the","first","name","of","students","who","have","both","cat","and","dog","pets","."],"60":["What","are","the","students","'","first","names","who","have","both","cats","and","dogs","as","pets","?"],"61":["Find","the","major","and","age","of","students","who","do","not","have","a","cat","pet","."],"62":["What","major","is","every","student","who","does","not","own","a","cat","as","a","pet",",","and","also","how","old","are","they","?"],"63":["Find","the","id","of","students","who","do","not","have","a","cat","pet","."],"64":["What","are","the","ids","of","the","students","who","do","not","own","cats","as","pets","?"],"65":["Find","the","first","name","and","age","of","students","who","have","a","dog","but","do","not","have","a","cat","as","a","pet","."],"66":["What","is","the","first","name","of","every","student","who","has","a","dog","but","does","not","have","a","cat","?"],"67":["Find","the","type","and","weight","of","the","youngest","pet","."],"68":["What","type","of","pet","is","the","youngest","animal",",","and","how","much","does","it","weigh","?"],"69":["Find","the","id","and","weight","of","all","pets","whose","age","is","older","than","1","."],"70":["What","is","the","id","and","weight","of","every","pet","who","is","older","than","1","?"],"71":["Find","the","average","and","maximum","age","for","each","type","of","pet","."],"72":["What","is","the","average","and","maximum","age","for","each","pet","type","?"],"73":["Find","the","average","weight","for","each","pet","type","."],"74":["What","is","the","average","weight","for","each","type","of","pet","?"],"75":["Find","the","first","name","and","age","of","students","who","have","a","pet","."],"76":["What","are","the","different","first","names","and","ages","of","the","students","who","do","have","pets","?"],"77":["Find","the","id","of","the","pet","owned","by","student","whose","last","name","is","\u2018Smith\u2019","."],"78":["What","is","the","id","of","the","pet","owned","by","the","student","whose","last","name","is","'Smith","'","?"],"79":["Find","the","number","of","pets","for","each","student","who","has","any","pet","and","student","id","."],"80":["For","students","who","have","pets",",","how","many","pets","does","each","student","have","?","list","their","ids","instead","of","names","."],"81":["Find","the","first","name","and","gender","of","student","who","have","more","than","one","pet","."],"82":["What","is","the","first","name","and","gender","of","the","all","the","students","who","have","more","than","one","pet","?"],"83":["Find","the","last","name","of","the","student","who","has","a","cat","that","is","age","3","."],"84":["What","is","the","last","name","of","the","student","who","has","a","cat","that","is","3","years","old","?"],"85":["Find","the","average","age","of","students","who","do","not","have","any","pet","."],"86":["What","is","the","average","age","for","all","students","who","do","not","own","any","pets","?"],"87":["How","many","continents","are","there","?"],"88":["What","is","the","number","of","continents","?"],"89":["How","many","countries","does","each","continent","have","?","List","the","continent","id",",","continent","name","and","the","number","of","countries","."],"90":["For","each","continent",",","list","its","id",",","name",",","and","how","many","countries","it","has","?"],"91":["How","many","countries","are","listed","?"],"92":["How","many","countries","exist","?"],"93":["How","many","models","does","each","car","maker","produce","?","List","maker","full","name",",","id","and","the","number","."],"94":["What","is","the","full","name","of","each","car","maker",",","along","with","its","id","and","how","many","models","it","produces","?"],"95":["Which","model","of","the","car","has","the","minimum","horsepower","?"],"96":["What","is","the","model","of","the","car","with","the","smallest","amount","of","horsepower","?"],"97":["Find","the","model","of","the","car","whose","weight","is","below","the","average","weight","."],"98":["What","is","the","model","for","the","car","with","a","weight","smaller","than","the","average","?"],"99":["Find","the","name","of","the","makers","that","produced","some","cars","in","the","year","of","1970","?"],"100":["What","is","the","name","of","the","different","car","makers","who","produced","a","car","in","1970","?"],"101":["Find","the","make","and","production","time","of","the","cars","that","were","produced","in","the","earliest","year","?"],"102":["What","is","the","maker","of","the","carr","produced","in","the","earliest","year","and","what","year","was","it","?"],"103":["Which","distinct","car","models","are","the","produced","after","1980","?"],"104":["What","are","the","different","models","for","the","cards","produced","after","1980","?"],"105":["How","many","car","makers","are","there","in","each","continents","?","List","the","continent","name","and","the","count","."],"106":["What","is","the","name","of","each","continent","and","how","many","car","makers","are","there","in","each","one","?"],"107":["Which","of","the","countries","has","the","most","car","makers","?","List","the","country","name","."],"108":["What","is","the","name","of","the","country","with","the","most","car","makers","?"],"109":["How","many","car","models","are","produced","by","each","maker","?","Only","list","the","count","and","the","maker","full","name","."],"110":["What","is","the","number","of","car","models","that","are","produced","by","each","maker","and","what","is","the","id","and","full","name","of","each","maker","?"],"111":["What","is","the","accelerate","of","the","car","make","amc","hornet","sportabout","(","sw",")","?"],"112":["How","much","does","the","car","accelerate","that","makes","amc","hornet","sportabout","(","sw",")","?"],"113":["How","many","car","makers","are","there","in","france","?"],"114":["What","is","the","number","of","makers","of","care","in","France","?"],"115":["How","many","car","models","are","produced","in","the","usa","?"],"116":["What","is","the","count","of","the","car","models","produced","in","the","United","States","?"],"117":["What","is","the","average","miles","per","gallon","(","mpg",")","of","the","cars","with","4","cylinders","?"],"118":["What","is","the","average","miles","per","gallon","of","all","the","cards","with","4","cylinders","?"],"119":["What","is","the","smallest","weight","of","the","car","produced","with","8","cylinders","on","1974","?"],"120":["What","is","the","minimum","weight","of","the","car","with","8","cylinders","produced","in","1974","?"],"121":["What","are","all","the","makers","and","models","?"],"122":["What","are","the","makers","and","models","?"],"123":["What","are","the","countries","having","at","least","one","car","maker","?","List","name","and","id","."],"124":["What","are","the","names","and","ids","of","all","countries","with","at","least","one","car","maker","?"],"125":["What","is","the","number","of","the","cars","with","horsepower","more","than","150","?"],"126":["What","is","the","number","of","cars","with","a","horsepower","greater","than","150","?"],"127":["What","is","the","average","weight","of","cars","each","year","?"],"128":["What","is","the","average","weight","and","year","for","each","year","?"],"129":["Which","countries","in","europe","have","at","least","3","car","manufacturers","?"],"130":["What","are","the","names","of","all","European","countries","with","at","least","3","manufacturers","?"],"131":["What","is","the","maximum","horsepower","and","the","make","of","the","car","models","with","3","cylinders","?"],"132":["What","is","the","largest","amount","of","horsepower","for","the","models","with","3","cylinders","and","what","make","is","it","?"],"133":["Which","model","saves","the","most","gasoline","?","That","is","to","say",",","have","the","maximum","miles","per","gallon","."],"134":["What","is","the","car","model","with","the","highest","mpg","?"],"135":["What","is","the","average","horsepower","of","the","cars","before","1980","?"],"136":["What","is","the","average","horsepower","for","all","cars","produced","before","1980","?"],"137":["What","is","the","average","edispl","of","the","cars","of","model","volvo","?"],"138":["What","is","the","average","edispl","for","all","volvos","?"],"139":["What","is","the","maximum","accelerate","for","different","number","of","cylinders","?"],"140":["What","is","the","maximum","accelerate","for","all","the","different","cylinders","?"],"141":["Which","model","has","the","most","version","(","make",")","of","cars","?"],"142":["What","model","has","the","most","different","versions","?"],"143":["How","many","cars","have","more","than","4","cylinders","?"],"144":["What","is","the","number","of","cars","with","more","than","4","cylinders","?"],"145":["how","many","cars","were","produced","in","1980","?"],"146":["In","1980",",","how","many","cars","were","made","?"],"147":["How","many","car","models","were","produced","by","the","maker","with","full","name","American","Motor","Company","?"],"148":["What","is","the","number","of","car","models","created","by","the","car","maker","American","Motor","Company","?"],"149":["Which","makers","designed","more","than","3","car","models","?","List","full","name","and","the","id","."],"150":["What","are","the","names","and","ids","of","all","makers","with","more","than","3","models","?"],"151":["Which","distinctive","models","are","produced","by","maker","with","the","full","name","General","Motors","or","weighing","more","than","3500","?"],"152":["What","are","the","different","models","created","by","either","the","car","maker","General","Motors","or","weighed","more","than","3500","?"],"153":["In","which","years","cars","were","produced","weighing","no","less","than","3000","and","no","more","than","4000","?"],"154":["What","are","the","different","years","in","which","there","were","cars","produced","that","weighed","less","than","4000","and","also","cars","that","weighted","more","than","3000","?"],"155":["What","is","the","horsepower","of","the","car","with","the","largest","accelerate","?"],"156":["What","is","the","horsepower","of","the","car","with","the","greatest","accelerate","?"],"157":["For","model","volvo",",","how","many","cylinders","does","the","car","with","the","least","accelerate","have","?"],"158":["For","a","volvo","model",",","how","many","cylinders","does","the","version","with","least","accelerate","have","?"],"159":["How","many","cars","have","a","larger","accelerate","than","the","car","with","the","largest","horsepower","?"],"160":["What","is","the","number","of","cars","with","a","greater","accelerate","than","the","one","with","the","most","horsepower","?"],"161":["How","many","countries","has","more","than","2","car","makers","?"],"162":["What","is","the","number","of","countries","with","more","than","2","car","makers","?"],"163":["How","many","cars","has","over","6","cylinders","?"],"164":["What","is","the","number","of","carsw","ith","over","6","cylinders","?"],"165":["For","the","cars","with","4","cylinders",",","which","model","has","the","largest","horsepower","?"],"166":["For","all","of","the","4","cylinder","cars",",","which","model","has","the","most","horsepower","?"],"167":["Among","the","cars","with","more","than","lowest","horsepower",",","which","ones","do","not","have","more","than","3","cylinders","?","List","the","car","makeid","and","make","name","."],"168":["Among","the","cars","that","do","not","have","the","minimum","horsepower",",","what","are","the","make","ids","and","names","of","all","those","with","less","than","4","cylinders","?"],"169":["What","is","the","maximum","miles","per","gallon","of","the","car","with","8","cylinders","or","produced","before","1980","?"],"170":["What","is","the","maximum","mpg","of","the","cars","that","had","8","cylinders","or","that","were","produced","before","1980","?"],"171":["Which","models","are","lighter","than","3500","but","not","built","by","the","'Ford","Motor","Company","'","?"],"172":["What","are","the","different","models","wthat","are","lighter","than","3500","but","were","not","built","by","the","Ford","Motor","Company","?"],"173":["What","are","the","name","of","the","countries","where","there","is","not","a","single","car","maker","?"],"174":["What","are","the","names","of","the","countries","with","no","car","makers","?"],"175":["Which","are","the","car","makers","which","produce","at","least","2","models","and","more","than","3","car","makers","?","List","the","id","and","the","maker","."],"176":["What","are","the","ids","and","makers","of","all","car","makers","that","produce","at","least","2","models","and","make","more","than","3","cars","?"],"177":["What","are","the","id","and","names","of","the","countries","which","have","more","than","3","car","makers","or","produce","the","'fiat","'","model","?"],"178":["What","are","the","ids","and","names","of","all","countries","that","either","have","more","than","3","car","makers","or","produce","fiat","model","?"],"179":["Which","country","does","Airline","``","JetBlue","Airways","''","belong","to","?"],"180":["What","country","is","Jetblue","Airways","affiliated","with","?"],"181":["What","is","the","abbreviation","of","Airline","``","JetBlue","Airways","''","?"],"182":["Which","abbreviation","corresponds","to","Jetblue","Airways","?"],"183":["List","all","airline","names","and","their","abbreviations","in","``","USA","''","."],"184":["What","are","the","airline","names","and","abbreviations","for","airlines","in","the","USA","?"],"185":["List","the","airport","code","and","name","in","the","city","of","Anthony","."],"186":["Give","the","airport","code","and","airport","name","corresonding","to","the","city","Anthony","."],"187":["How","many","airlines","do","we","have","?"],"188":["What","is","the","total","number","of","airlines","?"],"189":["How","many","airports","do","we","have","?"],"190":["Return","the","number","of","airports","."],"191":["How","many","flights","do","we","have","?"],"192":["Return","the","number","of","flights","."],"193":["Which","airline","has","abbreviation","'UAL","'","?"],"194":["Give","the","airline","with","abbreviation","'UAL","'","."],"195":["How","many","airlines","are","from","USA","?"],"196":["Return","the","number","of","airlines","in","the","USA","."],"197":["Which","city","and","country","is","the","Alton","airport","at","?"],"198":["Give","the","city","and","country","for","the","Alton","airport","."],"199":["What","is","the","airport","name","for","airport","'AKO","'","?"],"200":["Return","the","name","of","the","airport","with","code","'AKO","'","."],"201":["What","are","airport","names","at","City","'Aberdeen","'","?"],"202":["What","are","the","names","of","airports","in","Aberdeen","?"],"203":["How","many","flights","depart","from","'APG","'","?"],"204":["Count","the","number","of","flights","departing","from","'APG","'","."],"205":["How","many","flights","have","destination","ATO","?"],"206":["Count","the","number","of","flights","into","ATO","."],"207":["How","many","flights","depart","from","City","Aberdeen","?"],"208":["Return","the","number","of","flights","departing","from","Aberdeen","."],"209":["How","many","flights","arriving","in","Aberdeen","city","?"],"210":["Return","the","number","of","flights","arriving","in","Aberdeen","."],"211":["How","many","flights","depart","from","City","'Aberdeen","'","and","have","destination","City","'Ashley","'","?"],"212":["How","many","flights","fly","from","Aberdeen","to","Ashley","?"],"213":["How","many","flights","does","airline","'JetBlue","Airways","'","have","?"],"214":["Give","the","number","of","Jetblue","Airways","flights","."],"215":["How","many","'United","Airlines","'","flights","go","to","Airport","'ASY","'","?"],"216":["Count","the","number","of","United","Airlines","flights","arriving","in","ASY","Airport","."],"217":["How","many","'United","Airlines","'","flights","depart","from","Airport","'AHD","'","?"],"218":["Return","the","number","of","United","Airlines","flights","leaving","from","AHD","Airport","."],"219":["How","many","United","Airlines","flights","go","to","City","'Aberdeen","'","?"],"220":["Count","the","number","of","United","Airlines","flights","that","arrive","in","Aberdeen","."],"221":["Which","city","has","most","number","of","arriving","flights","?"],"222":["Which","city","has","the","most","frequent","destination","airport","?"],"223":["Which","city","has","most","number","of","departing","flights","?"],"224":["Which","city","is","the","most","frequent","source","airport","?"],"225":["What","is","the","code","of","airport","that","has","the","highest","number","of","flights","?"],"226":["What","is","the","airport","code","of","the","airport","with","the","most","flights","?"],"227":["What","is","the","code","of","airport","that","has","fewest","number","of","flights","?"],"228":["Give","the","code","of","the","airport","with","the","least","flights","."],"229":["Which","airline","has","most","number","of","flights","?"],"230":["What","airline","serves","the","most","flights","?"],"231":["Find","the","abbreviation","and","country","of","the","airline","that","has","fewest","number","of","flights","?"],"232":["What","is","the","abbreviation","of","the","airilne","has","the","fewest","flights","and","what","country","is","it","in","?"],"233":["What","are","airlines","that","have","some","flight","departing","from","airport","'AHD","'","?"],"234":["Which","airlines","have","a","flight","with","source","airport","AHD","?"],"235":["What","are","airlines","that","have","flights","arriving","at","airport","'AHD","'","?"],"236":["Which","airlines","have","a","flight","with","destination","airport","AHD","?"],"237":["Find","all","airlines","that","have","flights","from","both","airports","'APG","'","and","'CVO","'","."],"238":["Which","airlines","have","departing","flights","from","both","APG","and","CVO","airports","?"],"239":["Find","all","airlines","that","have","flights","from","airport","'CVO","'","but","not","from","'APG","'","."],"240":["Which","airlines","have","departures","from","CVO","but","not","from","APG","airports","?"],"241":["Find","all","airlines","that","have","at","least","10","flights","."],"242":["Which","airlines","have","at","least","10","flights","?"],"243":["Find","all","airlines","that","have","fewer","than","200","flights","."],"244":["Which","airlines","have","less","than","200","flights","?"],"245":["What","are","flight","numbers","of","Airline","``","United","Airlines","''","?"],"246":["Which","flight","numbers","correspond","to","United","Airlines","flights","?"],"247":["What","are","flight","numbers","of","flights","departing","from","Airport","``","APG","''","?"],"248":["Give","the","flight","numbers","of","flights","leaving","from","APG","."],"249":["What","are","flight","numbers","of","flights","arriving","at","Airport","``","APG","''","?"],"250":["Give","the","flight","numbers","of","flights","landing","at","APG","."],"251":["What","are","flight","numbers","of","flights","departing","from","City","``","Aberdeen","``","?"],"252":["Give","the","flight","numbers","of","flights","leaving","from","Aberdeen","."],"253":["What","are","flight","numbers","of","flights","arriving","at","City","``","Aberdeen","''","?"],"254":["Give","the","flight","numbers","of","flights","arriving","in","Aberdeen","."],"255":["Find","the","number","of","flights","landing","in","the","city","of","Aberdeen","or","Abilene","."],"256":["How","many","flights","land","in","Aberdeen","or","Abilene","?"],"257":["Find","the","name","of","airports","which","do","not","have","any","flight","in","and","out","."],"258":["Which","airports","do","not","have","departing","or","arriving","flights","?"],"259":["How","many","employees","are","there","?"],"260":["Count","the","number","of","employees"],"261":["Sort","employee","names","by","their","age","in","ascending","order","."],"262":["List","the","names","of","employees","and","sort","in","ascending","order","of","age","."],"263":["What","is","the","number","of","employees","from","each","city","?"],"264":["Count","the","number","of","employees","for","each","city","."],"265":["Which","cities","do","more","than","one","employee","under","age","30","come","from","?"],"266":["Find","the","cities","that","have","more","than","one","employee","under","age","30","."],"267":["Find","the","number","of","shops","in","each","location","."],"268":["How","many","shops","are","there","in","each","location","?"],"269":["Find","the","manager","name","and","district","of","the","shop","whose","number","of","products","is","the","largest","."],"270":["What","are","the","manager","name","and","district","of","the","shop","that","sells","the","largest","number","of","products","?"],"271":["find","the","minimum","and","maximum","number","of","products","of","all","stores","."],"272":["What","are","the","minimum","and","maximum","number","of","products","across","all","the","shops","?"],"273":["Return","the","name",",","location","and","district","of","all","shops","in","descending","order","of","number","of","products","."],"274":["Sort","all","the","shops","by","number","products","in","descending","order",",","and","return","the","name",",","location","and","district","of","each","shop","."],"275":["Find","the","names","of","stores","whose","number","products","is","more","than","the","average","number","of","products","."],"276":["Which","shops","'","number","products","is","above","the","average","?","Give","me","the","shop","names","."],"277":["find","the","name","of","employee","who","was","awarded","the","most","times","in","the","evaluation","."],"278":["Which","employee","received","the","most","awards","in","evaluations","?","Give","me","the","employee","name","."],"279":["Find","the","name","of","the","employee","who","got","the","highest","one","time","bonus","."],"280":["Which","employee","received","the","biggest","bonus","?","Give","me","the","employee","name","."],"281":["Find","the","names","of","employees","who","never","won","any","award","in","the","evaluation","."],"282":["What","are","the","names","of","the","employees","who","never","received","any","evaluation","?"],"283":["What","is","the","name","of","the","shop","that","is","hiring","the","largest","number","of","employees","?"],"284":["Which","shop","has","the","most","employees","?","Give","me","the","shop","name","."],"285":["Find","the","name","of","the","shops","that","do","not","hire","any","employee","."],"286":["Which","shops","run","with","no","employees","?","Find","the","shop","names"],"287":["Find","the","number","of","employees","hired","in","each","shop",";","show","the","shop","name","as","well","."],"288":["For","each","shop",",","return","the","number","of","employees","working","there","and","the","name","of","the","shop","."],"289":["What","is","total","bonus","given","in","all","evaluations","?"],"290":["Find","the","total","amount","of","bonus","given","in","all","the","evaluations","."],"291":["Give","me","all","the","information","about","hiring","."],"292":["What","is","all","the","information","about","hiring","?"],"293":["Which","district","has","both","stores","with","less","than","3000","products","and","stores","with","more","than","10000","products","?"],"294":["Find","the","districts","in","which","there","are","both","shops","selling","less","than","3000","products","and","shops","selling","more","than","10000","products","."],"295":["How","many","different","store","locations","are","there","?"],"296":["Count","the","number","of","distinct","store","locations","."],"297":["How","many","documents","do","we","have","?"],"298":["Count","the","number","of","documents","."],"299":["List","document","IDs",",","document","names",",","and","document","descriptions","for","all","documents","."],"300":["What","are","the","ids",",","names",",","and","descriptions","for","all","documents","?"],"301":["What","is","the","document","name","and","template","id","for","document","with","description","with","the","letter","'w","'","in","it","?"],"302":["Return","the","names","and","template","ids","for","documents","that","contain","the","letter","w","in","their","description","."],"303":["What","is","the","document","id",",","template","id","and","description","for","document","named","``","Robbin","CV","''","?"],"304":["Return","the","document","id",",","template","id",",","and","description","for","the","document","with","the","name","Robbin","CV","."],"305":["How","many","different","templates","do","all","document","use","?"],"306":["Count","the","number","of","different","templates","used","for","documents","."],"307":["How","many","documents","are","using","the","template","with","type","code","'PPT","'","?"],"308":["Count","the","number","of","documents","that","use","the","PPT","template","type","."],"309":["Show","all","template","ids","and","number","of","documents","using","each","template","."],"310":["What","are","all","different","template","ids","used","for","documents",",","and","how","many","times","were","each","of","them","used","?"],"311":["What","is","the","id","and","type","code","for","the","template","used","by","the","most","documents","?"],"312":["Return","the","id","and","type","code","of","the","template","that","is","used","for","the","greatest","number","of","documents","."],"313":["Show","ids","for","all","templates","that","are","used","by","more","than","one","document","."],"314":["What","are","the","template","ids","of","any","templates","used","in","more","than","a","single","document","?"],"315":["Show","ids","for","all","templates","not","used","by","any","document","."],"316":["What","are","the","ids","for","templates","that","are","not","used","in","any","documents","?"],"317":["How","many","templates","do","we","have","?"],"318":["Count","the","number","of","templates","."],"319":["Show","template","ids",",","version","numbers",",","and","template","type","codes","for","all","templates","."],"320":["What","are","the","ids",",","version","numbers",",","and","type","codes","for","each","template","?"],"321":["Show","all","distinct","template","type","codes","for","all","templates","."],"322":["What","are","the","different","template","type","codes","?"],"323":["What","are","the","ids","of","templates","with","template","type","code","PP","or","PPT","?"],"324":["Return","the","ids","of","templates","that","have","the","code","PP","or","PPT","."],"325":["How","many","templates","have","template","type","code","CV","?"],"326":["Count","the","number","of","templates","of","the","type","CV","."],"327":["What","is","the","version","number","and","template","type","code","for","the","template","with","version","number","later","than","5","?"],"328":["Return","the","version","numbers","and","template","type","codes","of","templates","with","a","version","number","greater","than","5","."],"329":["Show","all","template","type","codes","and","number","of","templates","for","each","."],"330":["What","are","the","different","template","type","codes",",","and","how","many","templates","correspond","to","each","?"],"331":["Which","template","type","code","has","most","number","of","templates","?"],"332":["Return","the","type","code","of","the","template","type","that","the","most","templates","belong","to","."],"333":["Show","all","template","type","codes","with","less","than","three","templates","."],"334":["What","are","the","codes","of","template","types","that","have","fewer","than","3","templates","?"],"335":["What","the","smallest","version","number","and","its","template","type","code","?"],"336":["Return","the","lowest","version","number",",","along","with","its","corresponding","template","type","code","."],"337":["What","is","the","template","type","code","of","the","template","used","by","document","with","the","name","``","Data","base","''","?"],"338":["Return","the","template","type","code","of","the","template","that","is","used","by","a","document","named","Data","base","."],"339":["Show","all","document","names","using","templates","with","template","type","code","BK","."],"340":["What","are","the","names","of","documents","that","use","templates","with","the","code","BK","?"],"341":["Show","all","template","type","codes","and","the","number","of","documents","using","each","type","."],"342":["What","are","the","different","template","type","codes",",","and","how","many","documents","use","each","type","?"],"343":["Which","template","type","code","is","used","by","most","number","of","documents","?"],"344":["Return","the","code","of","the","template","type","that","is","most","commonly","used","in","documents","."],"345":["Show","all","template","type","codes","that","are","not","used","by","any","document","."],"346":["What","are","the","codes","of","template","types","that","are","not","used","for","any","document","?"],"347":["Show","all","template","type","codes","and","descriptions","."],"348":["What","are","the","type","codes","and","descriptions","for","all","template","types","?"],"349":["What","is","the","template","type","descriptions","for","template","type","code","``","AD","''","."],"350":["Return","the","template","type","description","of","the","template","type","with","the","code","AD","."],"351":["What","is","the","template","type","code","for","template","type","description","``","Book","''","."],"352":["Return","the","type","code","of","the","template","type","with","the","description","``","Book","''","."],"353":["What","are","the","distinct","template","type","descriptions","for","the","templates","ever","used","by","any","document","?"],"354":["Return","the","different","descriptions","for","templates","that","have","been","used","in","a","document","."],"355":["What","are","the","template","ids","with","template","type","description","``","Presentation","''","."],"356":["Return","the","ids","corresponding","to","templates","with","the","description","'Presentation","'","."],"357":["How","many","paragraphs","in","total","?"],"358":["Count","the","number","of","paragraphs","."],"359":["How","many","paragraphs","for","the","document","with","name","'Summer","Show","'","?"],"360":["Count","the","number","of","paragraphs","in","the","document","named","'Summer","Show","'","."],"361":["Show","paragraph","details","for","paragraph","with","text","'Korea","'","."],"362":["What","are","the","details","for","the","paragraph","that","includes","the","text","'Korea","'","?"],"363":["Show","all","paragraph","ids","and","texts","for","the","document","with","name","'Welcome","to","NY","'","."],"364":["What","are","the","ids","and","texts","of","paragraphs","in","the","document","titled","'Welcome","to","NY","'","?"],"365":["Show","all","paragraph","texts","for","the","document","``","Customer","reviews","''","."],"366":["What","are","the","paragraph","texts","for","the","document","with","the","name","'Customer","reviews","'","?"],"367":["Show","all","document","ids","and","the","number","of","paragraphs","in","each","document",".","Order","by","document","id","."],"368":["Return","the","different","document","ids","along","with","the","number","of","paragraphs","corresponding","to","each",",","ordered","by","id","."],"369":["Show","all","document","ids",",","names","and","the","number","of","paragraphs","in","each","document","."],"370":["What","are","the","ids","and","names","of","each","document",",","as","well","as","the","number","of","paragraphs","in","each","?"],"371":["List","all","document","ids","with","at","least","two","paragraphs","."],"372":["What","are","the","ids","of","documents","that","have","2","or","more","paragraphs","?"],"373":["What","is","the","document","id","and","name","with","greatest","number","of","paragraphs","?"],"374":["Return","the","id","and","name","of","the","document","with","the","most","paragraphs","."],"375":["What","is","the","document","id","with","least","number","of","paragraphs","?"],"376":["Return","the","id","of","the","document","with","the","fewest","paragraphs","."],"377":["What","is","the","document","id","with","1","to","2","paragraphs","?"],"378":["Give","the","ids","of","documents","that","have","between","one","and","two","paragraphs","."],"379":["Show","the","document","id","with","paragraph","text","'Brazil","'","and","'Ireland","'","."],"380":["What","are","the","ids","of","documents","that","contain","the","paragraph","text","'Brazil","'","and","'Ireland","'","?"],"381":["How","many","teachers","are","there","?"],"382":["What","is","the","total","count","of","teachers","?"],"383":["List","the","names","of","teachers","in","ascending","order","of","age","."],"384":["What","are","the","names","of","the","teachers","ordered","by","ascending","age","?"],"385":["What","are","the","age","and","hometown","of","teachers","?"],"386":["What","is","the","age","and","hometown","of","every","teacher","?"],"387":["List","the","name","of","teachers","whose","hometown","is","not","``","Little","Lever","Urban","District","''","."],"388":["What","are","the","names","of","the","teachers","whose","hometown","is","not","``","Little","Lever","Urban","District","''","?"],"389":["Show","the","name","of","teachers","aged","either","32","or","33","?"],"390":["What","are","the","names","of","the","teachers","who","are","aged","either","32","or","33","?"],"391":["What","is","the","hometown","of","the","youngest","teacher","?"],"392":["Where","is","the","youngest","teacher","from","?"],"393":["Show","different","hometown","of","teachers","and","the","number","of","teachers","from","each","hometown","."],"394":["For","each","hometown",",","how","many","teachers","are","there","?"],"395":["List","the","most","common","hometown","of","teachers","."],"396":["What","is","the","most","commmon","hometowns","for","teachers","?"],"397":["Show","the","hometowns","shared","by","at","least","two","teachers","."],"398":["What","are","the","towns","from","which","at","least","two","teachers","come","from","?"],"399":["Show","names","of","teachers","and","the","courses","they","are","arranged","to","teach","."],"400":["What","is","the","name","of","each","teacher","and","what","course","they","teach","?"],"401":["Show","names","of","teachers","and","the","courses","they","are","arranged","to","teach","in","ascending","alphabetical","order","of","the","teacher","'s","name","."],"402":["What","are","the","names","of","the","teachers","and","the","courses","they","teach","in","ascending","alphabetical","order","by","the","name","of","the","teacher","?"],"403":["Show","the","name","of","the","teacher","for","the","math","course","."],"404":["What","are","the","names","of","the","people","who","teach","math","courses","?"],"405":["Show","names","of","teachers","and","the","number","of","courses","they","teach","."],"406":["What","are","the","names","of","the","teachers","and","how","many","courses","do","they","teach","?"],"407":["Show","names","of","teachers","that","teach","at","least","two","courses","."],"408":["What","are","the","names","of","the","teachers","who","teach","at","least","two","courses","?"],"409":["List","the","names","of","teachers","who","have","not","been","arranged","to","teach","courses","."],"410":["What","are","the","names","of","the","teachers","whose","courses","have","not","been","arranged","?"],"411":["How","many","visitors","below","age","30","are","there","?"],"412":["Find","the","names","of","the","visitors","whose","membership","level","is","higher","than","4",",","and","order","the","results","by","the","level","from","high","to","low","."],"413":["What","is","the","average","age","of","the","visitors","whose","membership","level","is","not","higher","than","4","?"],"414":["Find","the","name","and","membership","level","of","the","visitors","whose","membership","level","is","higher","than","4",",","and","sort","by","their","age","from","old","to","young","."],"415":["Find","the","id","and","name","of","the","museum","that","has","the","most","staff","members","?"],"416":["Find","the","average","number","of","staff","working","for","the","museums","that","were","open","before","2009","."],"417":["What","are","the","opening","year","and","staff","number","of","the","museum","named","Plaza","Museum","?"],"418":["find","the","names","of","museums","which","have","more","staff","than","the","minimum","staff","number","of","all","museums","opened","after","2010","."],"419":["find","the","id",",","name","and","age","for","visitors","who","visited","some","museums","more","than","once","."],"420":["What","are","the","id",",","name","and","membership","level","of","visitors","who","have","spent","the","largest","amount","of","money","in","total","in","all","museum","tickets","?"],"421":["What","are","the","id","and","name","of","the","museum","visited","most","times","?"],"422":["What","is","the","name","of","the","museum","that","had","no","visitor","yet","?"],"423":["Find","the","name","and","age","of","the","visitor","who","bought","the","most","tickets","at","once","."],"424":["What","are","the","average","and","maximum","number","of","tickets","bought","in","all","visits","?"],"425":["What","is","the","total","ticket","expense","of","the","visitors","whose","membership","level","is","1","?"],"426":["What","is","the","name","of","the","visitor","who","visited","both","a","museum","opened","before","2009","and","a","museum","opened","after","2011","?"],"427":["Find","the","number","of","visitors","who","did","not","visit","any","museum","opened","after","2010","."],"428":["How","many","museums","were","opened","after","2013","or","before","2008","?"],"429":["Find","the","total","number","of","players","."],"430":["How","many","players","are","there","?"],"431":["Find","the","total","number","of","matches","."],"432":["Count","the","number","of","matches","."],"433":["List","the","first","name","and","birth","date","of","all","players","from","the","country","with","code","USA","."],"434":["What","are","the","first","names","and","birth","dates","of","players","from","the","USA","?"],"435":["Find","the","average","age","of","losers","and","winners","of","all","matches","."],"436":["What","are","the","average","ages","of","losers","and","winners","across","matches","?"],"437":["Find","the","average","rank","of","winners","in","all","matches","."],"438":["What","is","the","average","rank","for","winners","in","all","matches","?"],"439":["Find","the","highest","rank","of","losers","in","all","matches","."],"440":["What","is","the","best","rank","of","losers","across","all","matches","?"],"441":["find","the","number","of","distinct","country","codes","of","all","players","."],"442":["How","many","distinct","countries","do","players","come","from","?"],"443":["Find","the","number","of","distinct","name","of","losers","."],"444":["How","many","different","loser","names","are","there","?"],"445":["Find","the","name","of","tourney","that","has","more","than","10","matches","."],"446":["What","are","the","names","of","tournaments","that","have","more","than","10","matches","?"],"447":["List","the","names","of","all","winners","who","played","in","both","2013","and","2016","."],"448":["What","are","the","names","of","players","who","won","in","both","2013","and","2016","?"],"449":["List","the","number","of","all","matches","who","played","in","years","of","2013","or","2016","."],"450":["How","many","matches","were","played","in","2013","or","2016","?"],"451":["What","are","the","country","code","and","first","name","of","the","players","who","won","in","both","tourney","WTA","Championships","and","Australian","Open","?"],"452":["What","are","the","first","names","and","country","codes","for","players","who","won","both","the","WTA","Championships","and","the","Australian","Open","?"],"453":["Find","the","first","name","and","country","code","of","the","oldest","player","."],"454":["What","is","the","first","name","and","country","code","of","the","oldest","player","?"],"455":["List","the","first","and","last","name","of","all","players","in","the","order","of","birth","date","."],"456":["What","are","the","full","names","of","all","players",",","sorted","by","birth","date","?"],"457":["List","the","first","and","last","name","of","all","players","who","are","left","\/","L","hand","in","the","order","of","birth","date","."],"458":["What","are","the","full","names","of","all","left","handed","players",",","in","order","of","birth","date","?"],"459":["Find","the","first","name","and","country","code","of","the","player","who","did","the","most","number","of","tours","."],"460":["What","is","the","first","name","and","country","code","of","the","player","with","the","most","tours","?"],"461":["Find","the","year","that","has","the","most","number","of","matches","."],"462":["Which","year","had","the","most","matches","?"],"463":["Find","the","name","and","rank","points","of","the","winner","who","won","the","most","times","."],"464":["What","is","the","name","of","the","winner","who","has","won","the","most","matches",",","and","how","many","rank","points","does","this","player","have","?"],"465":["Find","the","name","of","the","winner","who","has","the","highest","rank","points","and","participated","in","the","Australian","Open","tourney","."],"466":["What","is","the","name","of","the","winner","with","the","most","rank","points","who","participated","in","the","Australian","Open","tournament","?"],"467":["find","the","names","of","loser","and","winner","who","played","in","the","match","with","greatest","number","of","minutes","."],"468":["What","are","the","names","of","the","winner","and","loser","who","played","in","the","longest","match","?"],"469":["Find","the","average","ranking","for","each","player","and","their","first","name","."],"470":["What","are","the","first","names","of","all","players",",","and","their","average","rankings","?"],"471":["Find","the","total","ranking","points","for","each","player","and","their","first","name","."],"472":["What","are","the","first","names","of","all","players",",","and","their","total","ranking","points","?"],"473":["find","the","number","of","players","for","each","country","."],"474":["How","many","players","are","from","each","country","?"],"475":["find","the","code","of","the","country","where","has","the","greatest","number","of","players","."],"476":["What","is","the","code","of","the","country","with","the","most","players","?"],"477":["Find","the","codes","of","countries","that","have","more","than","50","players","."],"478":["What","are","the","codes","of","countries","with","more","than","50","players","?"],"479":["Find","the","total","number","of","tours","for","each","ranking","date","."],"480":["How","many","total","tours","were","there","for","each","ranking","date","?"],"481":["Find","the","number","of","matches","happened","in","each","year","."],"482":["How","many","matches","were","played","in","each","year","?"],"483":["Find","the","name","and","rank","of","the","3","youngest","winners","across","all","matches","."],"484":["What","are","the","names","and","ranks","of","the","three","youngest","winners","across","all","matches","?"],"485":["How","many","different","winners","both","participated","in","the","WTA","Championships","and","were","left","handed","?"],"486":["Find","the","number","of","left","handed","winners","who","participated","in","the","WTA","Championships","."],"487":["Find","the","first","name",",","country","code","and","birth","date","of","the","winner","who","has","the","highest","rank","points","in","all","matches","."],"488":["What","is","the","first","name",",","country","code",",","and","birth","date","of","the","player","with","the","most","winner","rank","points","across","all","matches","?"],"489":["Find","the","number","of","players","for","each","hand","type","."],"490":["How","many","players","are","there","for","each","hand","type","?"],"491":["How","many","ships","ended","up","being","'Captured","'","?"],"492":["List","the","name","and","tonnage","ordered","by","in","descending","alphaetical","order","for","the","names","."],"493":["List","the","name",",","date","and","result","of","each","battle","."],"494":["What","is","maximum","and","minimum","death","toll","caused","each","time","?"],"495":["What","is","the","average","number","of","injuries","caused","each","time","?"],"496":["What","are","the","death","and","injury","situations","caused","by","the","ship","with","tonnage","'t","'","?"],"497":["What","are","the","name","and","results","of","the","battles","when","the","bulgarian","commander","is","not","'Boril","'"],"498":["What","are","the","different","ids","and","names","of","the","battles","that","lost","any","'Brig","'","type","shipes","?"],"499":["What","are","the","ids","and","names","of","the","battles","that","led","to","more","than","10","people","killed","in","total","."],"500":["What","is","the","ship","id","and","name","that","caused","most","total","injuries","?"],"501":["What","are","the","distinct","battle","names","which","are","between","bulgarian","commander","'Kaloyan","'","and","latin","commander","'Baldwin","I","'","?"],"502":["How","many","different","results","are","there","for","the","battles","?"],"503":["How","many","battles","did","not","lose","any","ship","with","tonnage","'225","'","?"],"504":["List","the","name","and","date","the","battle","that","has","lost","the","ship","named","'Lettice","'","and","the","ship","named","'HMS","Atalanta","'"],"505":["Show","names",",","results","and","bulgarian","commanders","of","the","battles","with","no","ships","lost","in","the","'English","Channel","'","."],"506":["What","are","the","notes","of","the","death","events","which","has","substring","'East","'","?"],"507":["what","are","all","the","addresses","including","line","1","and","line","2","?"],"508":["What","is","the","first","and","second","line","for","all","addresses","?"],"509":["How","many","courses","in","total","are","listed","?"],"510":["How","many","courses","are","there","?"],"511":["How","is","the","math","course","described","?"],"512":["What","are","the","descriptions","for","all","the","math","courses","?"],"513":["What","is","the","zip","code","of","the","address","in","the","city","Port","Chelsea","?"],"514":["What","is","the","zip","code","for","Port","Chelsea","?"],"515":["Which","department","offers","the","most","number","of","degrees","?","List","department","name","and","id","."],"516":["What","is","the","name","and","id","of","the","department","with","the","most","number","of","degrees","?"],"517":["How","many","departments","offer","any","degree","?"],"518":["How","many","different","departments","offer","degrees","?"],"519":["How","many","different","degree","names","are","offered","?"],"520":["How","many","different","degrees","are","offered","?"],"521":["How","many","degrees","does","the","engineering","department","offer","?"],"522":["How","many","degrees","does","the","engineering","department","have","?"],"523":["What","are","the","names","and","descriptions","of","all","the","sections","?"],"524":["What","are","the","names","and","descriptions","for","all","the","sections","?"],"525":["What","are","the","names","and","id","of","courses","having","at","most","2","sections","?"],"526":["What","are","the","names","and","ids","of","every","course","with","less","than","2","sections","?"],"527":["List","the","section_name","in","reversed","lexicographical","order","."],"528":["What","are","the","names","of","the","sections","in","reverse","alphabetical","order","?"],"529":["What","is","the","semester","which","most","student","registered","in","?","Show","both","the","name","and","the","id","."],"530":["For","each","semester",",","what","is","the","name","and","id","of","the","one","with","the","most","students","registered","?"],"531":["What","is","the","description","of","the","department","whose","name","has","the","substring","the","computer","?"],"532":["What","is","the","department","description","for","the","one","whose","name","has","the","word","computer","?"],"533":["Who","are","enrolled","in","2","degree","programs","in","one","semester","?","List","the","first","name",",","middle","name","and","last","name","and","the","id","."],"534":["What","are","the","first",",","middle",",","and","last","names",",","along","with","the","ids",",","of","all","students","who","enrolled","in","2","degree","programs","in","one","semester","?"],"535":["Who","is","enrolled","in","a","Bachelor","degree","program","?","List","the","first","name",",","middle","name",",","last","name","."],"536":["What","are","the","first",",","middle",",","and","last","names","for","everybody","enrolled","in","a","Bachelors","program","?"],"537":["Find","the","kind","of","program","which","most","number","of","students","are","enrolled","in","?"],"538":["What","is","the","degree","summary","name","that","has","the","most","number","of","students","enrolled","?"],"539":["Find","the","program","which","most","number","of","students","are","enrolled","in",".","List","both","the","id","and","the","summary","."],"540":["What","is","the","program","id","and","the","summary","of","the","degree","that","has","the","most","students","enrolled","?"],"541":["Which","student","has","enrolled","for","the","most","times","in","any","program","?","List","the","id",",","first","name",",","middle","name",",","last","name",",","the","number","of","enrollments","and","student","id","."],"542":["What","is","the","first",",","middle",",","and","last","name",",","along","with","the","id","and","number","of","enrollments",",","for","the","student","who","enrolled","the","most","in","any","program","?"],"543":["Which","semesters","do","not","have","any","student","enrolled","?","List","the","semester","name","."],"544":["What","is","the","name","of","the","semester","with","no","students","enrolled","?"],"545":["What","are","all","the","course","names","of","the","courses","which","ever","have","students","enrolled","in","?"],"546":["What","are","the","names","of","all","courses","that","have","some","students","enrolled","?"],"547":["What","'s","the","name","of","the","course","with","most","number","of","enrollments","?"],"548":["What","is","the","name","of","the","course","with","the","most","students","enrolled","?"],"549":["Find","the","last","name","of","the","students","who","currently","live","in","the","state","of","North","Carolina","but","have","not","registered","in","any","degree","program","."],"550":["What","are","the","last","name","of","the","students","who","live","in","North","Carolina","but","have","not","registered","in","any","degree","programs","?"],"551":["Show","the","date","and","id","of","the","transcript","with","at","least","2","course","results","."],"552":["What","is","the","date","and","id","of","the","transcript","with","at","least","2","courses","listed","?"],"553":["What","is","the","phone","number","of","the","man","with","the","first","name","Timmothy","and","the","last","name","Ward","?"],"554":["What","is","the","mobile","phone","number","of","the","student","named","Timmothy","Ward","?"],"555":["Who","is","the","first","student","to","register","?","List","the","first","name",",","middle","name","and","last","name","."],"556":["What","is","the","first",",","middle",",","and","last","name","of","the","first","student","to","register","?"],"557":["Who","is","the","earliest","graduate","of","the","school","?","List","the","first","name",",","middle","name","and","last","name","."],"558":["What","is","the","first",",","middle",",","and","last","name","of","the","earliest","school","graduate","?"],"559":["Whose","permanent","address","is","different","from","his","or","her","current","address","?","List","his","or","her","first","name","."],"560":["What","is","the","first","name","of","the","student","whose","permanent","address","is","different","from","his","or","her","current","one","?"],"561":["Which","address","holds","the","most","number","of","students","currently","?","List","the","address","id","and","all","lines","."],"562":["What","is","the","id",",","line","1",",","and","line","2","of","the","address","with","the","most","students","?"],"563":["On","average",",","when","were","the","transcripts","printed","?"],"564":["What","is","the","average","transcript","date","?"],"565":["When","is","the","first","transcript","released","?","List","the","date","and","details","."],"566":["What","is","the","earliest","date","of","a","transcript","release",",","and","what","details","can","you","tell","me","?"],"567":["How","many","transcripts","are","released","?"],"568":["How","many","transcripts","are","listed","?"],"569":["What","is","the","last","transcript","release","date","?"],"570":["When","was","the","last","transcript","released","?"],"571":["How","many","times","at","most","can","a","course","enrollment","result","show","in","different","transcripts","?","Also","show","the","course","enrollment","id","."],"572":["What","is","the","maximum","number","of","times","that","a","course","shows","up","in","different","transcripts","and","what","is","that","course","'s","enrollment","id","?"],"573":["Show","the","date","of","the","transcript","which","shows","the","least","number","of","results",",","also","list","the","id","."],"574":["What","is","the","date","and","id","of","the","transcript","with","the","least","number","of","results","?"],"575":["Find","the","semester","when","both","Master","students","and","Bachelor","students","got","enrolled","in","."],"576":["What","is","the","id","of","the","semester","that","had","both","Masters","and","Bachelors","students","enrolled","?"],"577":["How","many","different","addresses","do","the","students","currently","live","?"],"578":["What","are","the","different","addresses","that","have","students","living","there","?"],"579":["List","all","the","student","details","in","reversed","lexicographical","order","."],"580":["What","other","details","can","you","tell","me","about","students","in","reverse","alphabetical","order","?"],"581":["Describe","the","section","h","."],"582":["What","is","the","description","for","the","section","named","h","?"],"583":["Find","the","first","name","of","the","students","who","permanently","live","in","the","country","Haiti","or","have","the","cell","phone","number","09700166582","."],"584":["What","are","the","first","names","of","the","students","who","live","in","Haiti","permanently","or","have","the","cell","phone","number","09700166582","?"],"585":["List","the","title","of","all","cartoons","in","alphabetical","order","."],"586":["What","are","the","titles","of","the","cartoons","sorted","alphabetically","?"],"587":["List","all","cartoon","directed","by","``","Ben","Jones","''","."],"588":["What","are","the","names","of","all","cartoons","directed","by","Ben","Jones","?"],"589":["How","many","cartoons","were","written","by","``","Joseph","Kuhr","''","?"],"590":["What","is","the","number","of","cartoones","written","by","Joseph","Kuhr","?"],"591":["list","all","cartoon","titles","and","their","directors","ordered","by","their","air","date"],"592":["What","is","the","name","and","directors","of","all","the","cartoons","that","are","ordered","by","air","date","?"],"593":["List","the","title","of","all","cartoon","directed","by","``","Ben","Jones","''","or","``","Brandon","Vietti","''","."],"594":["What","are","the","titles","of","all","cartoons","directed","by","Ben","Jones","or","Brandon","Vietti","?"],"595":["Which","country","has","the","most","of","TV","Channels","?","List","the","country","and","number","of","TV","Channels","it","has","."],"596":["What","is","the","country","with","the","most","number","of","TV","Channels","and","how","many","does","it","have","?"],"597":["List","the","number","of","different","series","names","and","contents","in","the","TV","Channel","table","."],"598":["How","many","different","series","and","contents","are","listed","in","the","TV","Channel","table","?"],"599":["What","is","the","content","of","TV","Channel","with","serial","name","``","Sky","Radio","''","?"],"600":["What","is","the","content","of","the","series","Sky","Radio","?"],"601":["What","is","the","Package","Option","of","TV","Channel","with","serial","name","``","Sky","Radio","''","?"],"602":["What","are","the","Package","Options","of","the","TV","Channels","whose","series","names","are","Sky","Radio","?"],"603":["How","many","TV","Channel","using","language","English","?"],"604":["How","many","TV","Channels","use","the","English","language","?"],"605":["List","the","language","used","least","number","of","TV","Channel",".","List","language","and","number","of","TV","Channel","."],"606":["What","are","the","languages","used","by","the","least","number","of","TV","Channels","and","how","many","channels","use","it","?"],"607":["List","each","language","and","the","number","of","TV","Channels","using","it","."],"608":["For","each","language",",","list","the","number","of","TV","Channels","that","use","it","."],"609":["What","is","the","TV","Channel","that","shows","the","cartoon","``","The","Rise","of","the","Blue","Beetle","!","''","?","List","the","TV","Channel","'s","series","name","."],"610":["What","is","the","series","name","of","the","TV","Channel","that","shows","the","cartoon","``","The","Rise","of","the","Blue","Beetle","''","?"],"611":["List","the","title","of","all","Cartoons","showed","on","TV","Channel","with","series","name","``","Sky","Radio","''","."],"612":["What","is","the","title","of","all","the","cartools","that","are","on","the","TV","Channel","with","the","series","name","``","Sky","Radio","''","?"],"613":["List","the","Episode","of","all","TV","series","sorted","by","rating","."],"614":["What","are","all","of","the","episodes","ordered","by","ratings","?"],"615":["List","top","3","highest","Rating","TV","series",".","List","the","TV","series","'s","Episode","and","Rating","."],"616":["What","are","3","most","highly","rated","episodes","in","the","TV","series","table","and","what","were","those","ratings","?"],"617":["What","is","minimum","and","maximum","share","of","TV","series","?"],"618":["What","is","the","maximum","and","minimum","share","for","the","TV","series","?"],"619":["What","is","the","air","date","of","TV","series","with","Episode","``","A","Love","of","a","Lifetime","''","?"],"620":["When","did","the","episode","``","A","Love","of","a","Lifetime","''","air","?"],"621":["What","is","Weekly","Rank","of","TV","series","with","Episode","``","A","Love","of","a","Lifetime","''","?"],"622":["What","is","the","weekly","rank","for","the","episode","``","A","Love","of","a","Lifetime","''","?"],"623":["What","is","the","TV","Channel","of","TV","series","with","Episode","``","A","Love","of","a","Lifetime","''","?","List","the","TV","Channel","'s","series","name","."],"624":["What","is","the","name","of","the","series","that","has","the","episode","``","A","Love","of","a","Lifetime","''","?"],"625":["List","the","Episode","of","all","TV","series","showed","on","TV","Channel","with","series","name","``","Sky","Radio","''","."],"626":["What","is","the","episode","for","the","TV","series","named","``","Sky","Radio","''","?"],"627":["Find","the","number","of","cartoons","directed","by","each","of","the","listed","directors","."],"628":["How","many","cartoons","did","each","director","create","?"],"629":["Find","the","production","code","and","channel","of","the","most","recently","aired","cartoon","."],"630":["What","is","the","produdction","code","and","channel","of","the","most","recent","cartoon","?"],"631":["Find","the","package","choice","and","series","name","of","the","TV","channel","that","has","high","definition","TV","."],"632":["What","are","the","package","options","and","the","name","of","the","series","for","the","TV","Channel","that","supports","high","definition","TV","?"],"633":["which","countries","'","tv","channels","are","playing","some","cartoon","written","by","Todd","Casey","?"],"634":["What","are","the","countries","that","have","cartoons","on","TV","that","were","written","by","Todd","Casey","?"],"635":["which","countries","'","tv","channels","are","not","playing","any","cartoon","written","by","Todd","Casey","?"],"636":["What","are","the","countries","that","are","not","playing","cartoons","written","by","Todd","Casey","?"],"637":["Find","the","series","name","and","country","of","the","tv","channel","that","is","playing","some","cartoons","directed","by","Ben","Jones","and","Michael","Chang","?"],"638":["What","is","the","series","name","and","country","of","all","TV","channels","that","are","playing","cartoons","directed","by","Ben","Jones","and","cartoons","directed","by","Michael","Chang","?"],"639":["find","the","pixel","aspect","ratio","and","nation","of","the","tv","channels","that","do","not","use","English","."],"640":["What","is","the","pixel","aspect","ratio","and","country","of","origin","for","all","TV","channels","that","do","not","use","English","?"],"641":["find","id","of","the","tv","channels","that","from","the","countries","where","have","more","than","two","tv","channels","."],"642":["What","are","the","ids","of","all","tv","channels","that","have","more","than","2","TV","channels","?"],"643":["find","the","id","of","tv","channels","that","do","not","play","any","cartoon","directed","by","Ben","Jones","."],"644":["What","are","the","ids","of","the","TV","channels","that","do","not","have","any","cartoons","directed","by","Ben","Jones","?"],"645":["find","the","package","option","of","the","tv","channel","that","do","not","have","any","cartoon","directed","by","Ben","Jones","."],"646":["What","are","the","package","options","of","all","tv","channels","that","are","not","playing","any","cartoons","directed","by","Ben","Jones","?"],"647":["How","many","poker","players","are","there","?"],"648":["Count","the","number","of","poker","players","."],"649":["List","the","earnings","of","poker","players","in","descending","order","."],"650":["What","are","the","earnings","of","poker","players",",","ordered","descending","by","value","?"],"651":["List","the","final","tables","made","and","the","best","finishes","of","poker","players","."],"652":["What","are","the","final","tables","made","and","best","finishes","for","all","poker","players","?"],"653":["What","is","the","average","earnings","of","poker","players","?"],"654":["Return","the","average","earnings","across","all","poker","players","."],"655":["What","is","the","money","rank","of","the","poker","player","with","the","highest","earnings","?"],"656":["Return","the","money","rank","of","the","player","with","the","greatest","earnings","."],"657":["What","is","the","maximum","number","of","final","tables","made","among","poker","players","with","earnings","less","than","200000","?"],"658":["Return","the","maximum","final","tables","made","across","all","poker","players","who","have","earnings","below","200000","."],"659":["What","are","the","names","of","poker","players","?"],"660":["Return","the","names","of","all","the","poker","players","."],"661":["What","are","the","names","of","poker","players","whose","earnings","is","higher","than","300000","?"],"662":["Give","the","names","of","poker","players","who","have","earnings","above","300000","."],"663":["List","the","names","of","poker","players","ordered","by","the","final","tables","made","in","ascending","order","."],"664":["What","are","the","names","of","poker","players",",","ordered","ascending","by","the","number","of","final","tables","they","have","made","?"],"665":["What","is","the","birth","date","of","the","poker","player","with","the","lowest","earnings","?"],"666":["Return","the","birth","date","of","the","poker","player","with","the","lowest","earnings","."],"667":["What","is","the","money","rank","of","the","tallest","poker","player","?"],"668":["Return","the","money","rank","of","the","poker","player","with","the","greatest","height","."],"669":["What","is","the","average","earnings","of","poker","players","with","height","higher","than","200","?"],"670":["Give","average","earnings","of","poker","players","who","are","taller","than","200","."],"671":["What","are","the","names","of","poker","players","in","descending","order","of","earnings","?"],"672":["Return","the","names","of","poker","players","sorted","by","their","earnings","descending","."],"673":["What","are","different","nationalities","of","people","and","the","corresponding","number","of","people","from","each","nation","?"],"674":["How","many","people","are","there","of","each","nationality","?"],"675":["What","is","the","most","common","nationality","of","people","?"],"676":["Give","the","nationality","that","is","most","common","across","all","people","."],"677":["What","are","the","nationalities","that","are","shared","by","at","least","two","people","?"],"678":["Return","the","nationalities","for","which","there","are","two","or","more","people","."],"679":["List","the","names","and","birth","dates","of","people","in","ascending","alphabetical","order","of","name","."],"680":["What","are","the","names","and","birth","dates","of","people",",","ordered","by","their","names","in","alphabetical","order","?"],"681":["Show","names","of","people","whose","nationality","is","not","``","Russia","''","."],"682":["What","are","the","names","of","people","who","are","not","from","Russia","?"],"683":["List","the","names","of","people","that","are","not","poker","players","."],"684":["What","are","the","names","of","people","who","do","not","play","poker","?"],"685":["How","many","distinct","nationalities","are","there","?"],"686":["Count","the","number","of","different","nationalities","."],"687":["How","many","states","are","there","?"],"688":["List","the","contestant","numbers","and","names",",","ordered","by","contestant","name","descending","."],"689":["List","the","vote","ids",",","phone","numbers","and","states","of","all","votes","."],"690":["What","are","the","maximum","and","minimum","values","of","area","codes","?"],"691":["What","is","last","date","created","of","votes","from","the","state","'CA","'","?"],"692":["What","are","the","names","of","the","contestants","whose","names","are","not","'Jessie","Alloway","'"],"693":["What","are","the","distinct","states","and","create","time","of","all","votes","?"],"694":["What","are","the","contestant","numbers","and","names","of","the","contestants","who","had","at","least","two","votes","?"],"695":["Of","all","the","contestants","who","got","voted",",","what","is","the","contestant","number","and","name","of","the","contestant","who","got","least","votes","?"],"696":["What","are","the","number","of","votes","from","state","'NY","'","or","'CA","'","?"],"697":["How","many","contestants","did","not","get","voted","?"],"698":["What","is","the","area","code","in","which","the","most","voters","voted","?"],"699":["What","are","the","create","dates",",","states",",","and","phone","numbers","of","the","votes","that","were","for","the","contestant","named","'Tabatha","Gehling","'","?"],"700":["List","the","area","codes","in","which","voters","voted","both","for","the","contestant","'Tabatha","Gehling","'","and","the","contestant","'Kelly","Clauss","'","."],"701":["Return","the","names","of","the","contestants","whose","names","contain","the","substring","'Al'","."],"702":["What","are","the","names","of","all","the","countries","that","became","independent","after","1950","?"],"703":["Give","the","names","of","the","nations","that","were","founded","after","1950","."],"704":["How","many","countries","have","a","republic","as","their","form","of","government","?"],"705":["How","many","countries","have","governments","that","are","republics","?"],"706":["What","is","the","total","surface","area","of","the","countries","in","the","Caribbean","region","?"],"707":["How","much","surface","area","do","the","countires","in","the","Carribean","cover","together","?"],"708":["Which","continent","is","Anguilla","in","?"],"709":["What","is","the","continent","name","which","Anguilla","belongs","to","?"],"710":["Which","region","is","the","city","Kabul","located","in","?"],"711":["What","region","is","Kabul","in","?"],"712":["Which","language","is","the","most","popular","in","Aruba","?"],"713":["What","language","is","predominantly","spoken","in","Aruba","?"],"714":["What","are","the","population","and","life","expectancies","in","Brazil","?"],"715":["Give","me","Brazil\u2019s","population","and","life","expectancies","."],"716":["What","are","the","region","and","population","of","Angola","?"],"717":["What","region","does","Angola","belong","to","and","what","is","its","population","?"],"718":["What","is","the","average","expected","life","expectancy","for","countries","in","the","region","of","Central","Africa","?"],"719":["How","long","is","the","people\u2019s","average","life","expectancy","in","Central","Africa","?"],"720":["What","is","the","name","of","country","that","has","the","shortest","life","expectancy","in","Asia","?"],"721":["Give","the","name","of","the","country","in","Asia","with","the","lowest","life","expectancy","."],"722":["What","is","the","total","population","and","maximum","GNP","in","Asia","?"],"723":["How","many","people","live","in","Asia",",","and","what","is","the","largest","GNP","among","them","?"],"724":["What","is","the","average","life","expectancy","in","African","countries","that","are","republics","?"],"725":["Give","the","average","life","expectancy","for","countries","in","Africa","which","are","republics","?"],"726":["What","is","the","total","surface","area","of","the","continents","Asia","and","Europe","?"],"727":["Give","the","total","surface","area","covered","by","countries","in","Asia","or","Europe","."],"728":["How","many","people","live","in","Gelderland","district","?"],"729":["What","is","the","total","population","of","Gelderland","district","?"],"730":["What","is","the","average","GNP","and","total","population","in","all","nations","whose","government","is","US","territory","?"],"731":["Give","the","mean","GNP","and","total","population","of","nations","which","are","considered","US","territory","."],"732":["How","many","unique","languages","are","spoken","in","the","world","?"],"733":["What","is","the","number","of","distinct","languages","used","around","the","world","?"],"734":["How","many","type","of","governments","are","in","Africa","?"],"735":["How","many","different","forms","of","governments","are","there","in","Africa","?"],"736":["What","is","the","total","number","of","languages","used","in","Aruba","?"],"737":["How","many","languages","are","spoken","in","Aruba","?"],"738":["How","many","official","languages","does","Afghanistan","have","?"],"739":["How","many","official","languages","are","spoken","in","Afghanistan","?"],"740":["What","is","name","of","the","country","that","speaks","the","largest","number","of","languages","?"],"741":["Give","the","name","of","the","nation","that","uses","the","greatest","amount","of","languages","."],"742":["Which","continent","has","the","most","diverse","languages","?"],"743":["Which","continent","speaks","the","most","languages","?"],"744":["How","many","countries","speak","both","English","and","Dutch","?"],"745":["What","is","the","number","of","nations","that","use","English","and","Dutch","?"],"746":["What","are","the","names","of","nations","speak","both","English","and","French","?"],"747":["Give","the","names","of","nations","that","speak","both","English","and","French","."],"748":["What","are","the","names","of","nations","where","both","English","and","French","are","official","languages","?"],"749":["Give","the","names","of","countries","with","English","and","French","as","official","languages","."],"750":["What","is","the","number","of","distinct","continents","where","Chinese","is","spoken","?"],"751":["How","many","continents","speak","Chinese","?"],"752":["What","are","the","regions","that","use","English","or","Dutch","?"],"753":["Which","regions","speak","Dutch","or","English","?"],"754":["What","are","the","countries","where","either","English","or","Dutch","is","the","official","language","?"],"755":["Which","countries","have","either","English","or","Dutch","as","an","official","language","?"],"756":["Which","language","is","the","most","popular","on","the","Asian","continent","?"],"757":["What","is","the","language","that","is","used","by","the","largest","number","of","Asian","nations","?"],"758":["Which","languages","are","spoken","by","only","one","country","in","republic","governments","?"],"759":["What","languages","are","only","used","by","a","single","country","with","a","republic","government","?"],"760":["Find","the","city","with","the","largest","population","that","uses","English","."],"761":["What","is","the","most","populace","city","that","speaks","English","?"],"762":["Find","the","name",",","population","and","expected","life","length","of","asian","country","with","the","largest","area","?"],"763":["What","are","the","name",",","population",",","and","life","expectancy","of","the","largest","Asian","country","by","land","?"],"764":["What","is","average","life","expectancy","in","the","countries","where","English","is","not","the","official","language","?"],"765":["Give","the","mean","life","expectancy","of","countries","in","which","English","is","not","the","official","language","."],"766":["What","is","the","total","number","of","people","living","in","the","nations","that","do","not","use","English","?"],"767":["How","many","people","live","in","countries","that","do","not","speak","English","?"],"768":["What","is","the","official","language","spoken","in","the","country","whose","head","of","state","is","Beatrix","?"],"769":["What","is","the","official","language","used","in","the","country","the","name","of","whose","head","of","state","is","Beatrix","."],"770":["What","is","the","total","number","of","unique","official","languages","spoken","in","the","countries","that","are","founded","before","1930","?"],"771":["For","the","countries","founded","before","1930",",","what","is","the","total","number","of","distinct","official","languages","?"],"772":["What","are","the","countries","that","have","greater","surface","area","than","any","country","in","Europe","?"],"773":["Which","countries","have","greater","area","than","that","of","any","country","in","Europe","?"],"774":["What","are","the","African","countries","that","have","a","population","less","than","any","country","in","Asia","?"],"775":["Which","African","countries","have","a","smaller","population","than","that","of","any","country","in","Asia","?"],"776":["Which","Asian","countries","have","a","population","that","is","larger","than","any","country","in","Africa","?"],"777":["What","are","the","Asian","countries","which","have","a","population","larger","than","that","of","any","country","in","Africa","?"],"778":["What","are","the","country","codes","for","countries","that","do","not","speak","English","?"],"779":["Return","the","country","codes","for","countries","that","do","not","speak","English","."],"780":["What","are","the","country","codes","of","countries","where","people","use","languages","other","than","English","?"],"781":["Give","the","country","codes","for","countries","in","which","people","speak","langauges","that","are","not","English","."],"782":["What","are","the","codes","of","the","countries","that","do","not","speak","English","and","whose","government","forms","are","not","Republic","?"],"783":["Return","the","codes","of","countries","that","do","not","speak","English","and","do","not","have","Republics","for","governments","."],"784":["Which","cities","are","in","European","countries","where","English","is","not","the","official","language","?"],"785":["What","are","the","names","of","cities","in","Europe","for","which","English","is","not","the","official","language","?"],"786":["Which","unique","cities","are","in","Asian","countries","where","Chinese","is","the","official","language","?"],"787":["Return","the","different","names","of","cities","that","are","in","Asia","and","for","which","Chinese","is","the","official","language","."],"788":["What","are","the","name",",","independence","year",",","and","surface","area","of","the","country","with","the","smallest","population","?"],"789":["Give","the","name",",","year","of","independence",",","and","surface","area","of","the","country","that","has","the","lowest","population","."],"790":["What","are","the","population",",","name","and","leader","of","the","country","with","the","largest","area","?"],"791":["Give","the","name",",","population",",","and","head","of","state","for","the","country","that","has","the","largest","area","."],"792":["Return","the","country","name","and","the","numbers","of","languages","spoken","for","each","country","that","speaks","at","least","3","languages","."],"793":["What","are","the","names","of","countries","that","speak","more","than","2","languages",",","as","well","as","how","many","languages","they","speak","?"],"794":["Find","the","number","of","cities","in","each","district","whose","population","is","greater","than","the","average","population","of","cities","?"],"795":["How","many","cities","in","each","district","have","a","population","that","is","above","the","average","population","across","all","cities","?"],"796":["Find","the","government","form","name","and","total","population","for","each","government","form","whose","average","life","expectancy","is","longer","than","72","."],"797":["What","are","the","different","government","forms","and","what","is","the","total","population","of","each","for","government","forms","that","have","an","average","life","expectancy","greater","than","72","?"],"798":["Find","the","average","life","expectancy","and","total","population","for","each","continent","where","the","average","life","expectancy","is","shorter","than","72","?"],"799":["What","are","the","different","continents","and","the","total","popuation","and","average","life","expectancy","corresponding","to","each",",","for","continents","that","have","an","average","life","expectancy","less","than","72","?"],"800":["What","are","the","names","and","areas","of","countries","with","the","top","5","largest","area","?"],"801":["Return","the","names","and","surface","areas","of","the","5","largest","countries","."],"802":["What","are","names","of","countries","with","the","top","3","largest","population","?"],"803":["Return","the","names","of","the","3","most","populated","countries","."],"804":["What","are","the","names","of","the","nations","with","the","3","lowest","populations","?"],"805":["Return","the","names","of","the","3","countries","with","the","fewest","people","."],"806":["how","many","countries","are","in","Asia","?"],"807":["Count","the","number","of","countries","in","Asia","."],"808":["What","are","the","names","of","the","countries","that","are","in","the","continent","of","Europe","and","have","a","population","of","80000","?"],"809":["Give","the","names","of","countries","that","are","in","Europe","and","have","a","population","equal","to","80000","."],"810":["What","is","the","total","population","and","average","area","of","countries","in","the","continent","of","North","America","whose","area","is","bigger","than","3000","?"],"811":["Give","the","total","population","and","average","surface","area","corresponding","to","countries","in","North","America","that","have","a","surface","area","greater","than","3000","."],"812":["What","are","the","cities","whose","population","is","between","160000","and","900000","?"],"813":["Return","the","names","of","cities","that","have","a","population","between","160000","and","900000","."],"814":["Which","language","is","spoken","by","the","largest","number","of","countries","?"],"815":["Give","the","language","that","is","spoken","in","the","most","countries","."],"816":["What","is","the","language","spoken","by","the","largest","percentage","of","people","in","each","country","?"],"817":["What","are","the","country","codes","of","the","different","countries",",","and","what","are","the","languages","spoken","by","the","greatest","percentage","of","people","for","each","?"],"818":["What","is","the","total","number","of","countries","where","Spanish","is","spoken","by","the","largest","percentage","of","people","?"],"819":["Count","the","number","of","countries","for","which","Spanish","is","the","predominantly","spoken","language","."],"820":["What","are","the","codes","of","countries","where","Spanish","is","spoken","by","the","largest","percentage","of","people","?"],"821":["Return","the","codes","of","countries","for","which","Spanish","is","the","predominantly","spoken","language","."],"822":["How","many","conductors","are","there","?"],"823":["Count","the","number","of","conductors","."],"824":["List","the","names","of","conductors","in","ascending","order","of","age","."],"825":["What","are","the","names","of","conductors",",","ordered","by","age","?"],"826":["What","are","the","names","of","conductors","whose","nationalities","are","not","``","USA","''","?"],"827":["Return","the","names","of","conductors","that","do","not","have","the","nationality","``","USA","''","."],"828":["What","are","the","record","companies","of","orchestras","in","descending","order","of","years","in","which","they","were","founded","?"],"829":["Return","the","record","companies","of","orchestras",",","sorted","descending","by","the","years","in","which","they","were","founded","."],"830":["What","is","the","average","attendance","of","shows","?"],"831":["Return","the","average","attendance","across","all","shows","."],"832":["What","are","the","maximum","and","minimum","share","of","performances","whose","type","is","not","``","Live","final","''","."],"833":["Return","the","maximum","and","minimum","shares","for","performances","that","do","not","have","the","type","``","Live","final","''","."],"834":["How","many","different","nationalities","do","conductors","have","?"],"835":["Count","the","number","of","different","nationalities","of","conductors","."],"836":["List","names","of","conductors","in","descending","order","of","years","of","work","."],"837":["What","are","the","names","of","conductors",",","sorted","descending","by","the","number","of","years","they","have","worked","?"],"838":["List","the","name","of","the","conductor","with","the","most","years","of","work","."],"839":["What","is","the","name","of","the","conductor","who","has","worked","the","greatest","number","of","years","?"],"840":["Show","the","names","of","conductors","and","the","orchestras","they","have","conducted","."],"841":["What","are","the","names","of","conductors","as","well","as","the","corresonding","orchestras","that","they","have","conducted","?"],"842":["Show","the","names","of","conductors","that","have","conducted","more","than","one","orchestras","."],"843":["What","are","the","names","of","conductors","who","have","conducted","at","more","than","one","orchestra","?"],"844":["Show","the","name","of","the","conductor","that","has","conducted","the","most","number","of","orchestras","."],"845":["What","is","the","name","of","the","conductor","who","has","conducted","the","most","orchestras","?"],"846":["Please","show","the","name","of","the","conductor","that","has","conducted","orchestras","founded","after","2008","."],"847":["What","are","the","names","of","conductors","who","have","conducted","orchestras","founded","after","the","year","2008","?"],"848":["Please","show","the","different","record","companies","and","the","corresponding","number","of","orchestras","."],"849":["How","many","orchestras","does","each","record","company","manage","?"],"850":["Please","show","the","record","formats","of","orchestras","in","ascending","order","of","count","."],"851":["What","are","the","major","record","formats","of","orchestras",",","sorted","by","their","frequency","?"],"852":["List","the","record","company","shared","by","the","most","number","of","orchestras","."],"853":["What","is","the","record","company","used","by","the","greatest","number","of","orchestras","?"],"854":["List","the","names","of","orchestras","that","have","no","performance","."],"855":["What","are","the","orchestras","that","do","not","have","any","performances","?"],"856":["Show","the","record","companies","shared","by","orchestras","founded","before","2003","and","after","2003","."],"857":["What","are","the","record","companies","that","are","used","by","both","orchestras","founded","before","2003","and","those","founded","after","2003","?"],"858":["Find","the","number","of","orchestras","whose","record","format","is","``","CD","''","or","``","DVD","''","."],"859":["Count","the","number","of","orchestras","that","have","CD","or","DVD","as","their","record","format","."],"860":["Show","the","years","in","which","orchestras","that","have","given","more","than","one","performance","are","founded","."],"861":["What","are","years","of","founding","for","orchestras","that","have","had","more","than","a","single","performance","?"],"862":["How","many","high","schoolers","are","there","?"],"863":["Count","the","number","of","high","schoolers","."],"864":["Show","the","names","and","grades","of","each","high","schooler","."],"865":["What","are","the","names","and","grades","for","each","high","schooler","?"],"866":["Show","all","the","grades","of","the","high","schoolers","."],"867":["What","is","the","grade","of","each","high","schooler","?"],"868":["What","grade","is","Kyle","in","?"],"869":["Return","the","grade","for","the","high","schooler","named","Kyle","."],"870":["Show","the","names","of","all","high","schoolers","in","grade","10","."],"871":["What","are","the","names","of","all","high","schoolers","in","grade","10","?"],"872":["Show","the","ID","of","the","high","schooler","named","Kyle","."],"873":["What","is","Kyle","'s","id","?"],"874":["How","many","high","schoolers","are","there","in","grade","9","or","10","?"],"875":["Count","the","number","of","high","schoolers","in","grades","9","or","10","."],"876":["Show","the","number","of","high","schoolers","for","each","grade","."],"877":["How","many","high","schoolers","are","in","each","grade","?"],"878":["Which","grade","has","the","most","high","schoolers","?"],"879":["Return","the","grade","that","has","the","greatest","number","of","high","schoolers","."],"880":["Show","me","all","grades","that","have","at","least","4","students","."],"881":["Which","grades","have","4","or","more","high","schoolers","?"],"882":["Show","the","student","IDs","and","numbers","of","friends","corresponding","to","each","."],"883":["How","many","friends","does","each","student","have","?"],"884":["Show","the","names","of","high","school","students","and","their","corresponding","number","of","friends","."],"885":["What","are","the","names","of","the","high","schoolers","and","how","many","friends","does","each","have","?"],"886":["What","is","the","name","of","the","high","schooler","who","has","the","greatest","number","of","friends","?"],"887":["Return","the","name","of","the","high","school","student","with","the","most","friends","."],"888":["Show","the","names","of","high","schoolers","who","have","at","least","3","friends","."],"889":["What","are","the","names","of","high","schoolers","who","have","3","or","more","friends","?"],"890":["Show","the","names","of","all","of","the","high","schooler","Kyle","'s","friends","."],"891":["Return","the","names","of","friends","of","the","high","school","student","Kyle","."],"892":["How","many","friends","does","the","high","school","student","Kyle","have","?"],"893":["Count","the","number","of","friends","Kyle","has","."],"894":["Show","ids","of","all","students","who","do","not","have","any","friends","."],"895":["What","are","the","ids","of","high","school","students","who","do","not","have","friends","?"],"896":["Show","names","of","all","high","school","students","who","do","not","have","any","friends","."],"897":["What","are","the","names","of","students","who","have","no","friends","?"],"898":["Show","the","ids","of","high","schoolers","who","have","friends","and","are","also","liked","by","someone","else","."],"899":["What","are","the","ids","of","students","who","both","have","friends","and","are","liked","?"],"900":["Show","name","of","all","students","who","have","some","friends","and","also","are","liked","by","someone","else","."],"901":["What","are","the","names","of","high","schoolers","who","both","have","friends","and","are","liked","?"],"902":["Count","the","number","of","likes","for","each","student","id","."],"903":["How","many","likes","correspond","to","each","student","id","?"],"904":["Show","the","names","of","high","schoolers","who","have","likes",",","and","numbers","of","likes","for","each","."],"905":["What","are","the","names","of","high","schoolers","who","have","likes",",","and","how","many","likes","does","each","have","?"],"906":["What","is","the","name","of","the","high","schooler","who","has","the","greatest","number","of","likes","?"],"907":["Give","the","name","of","the","student","with","the","most","likes","."],"908":["Show","the","names","of","students","who","have","at","least","2","likes","."],"909":["What","are","the","names","of","students","who","have","2","or","more","likes","?"],"910":["Show","the","names","of","students","who","have","a","grade","higher","than","5","and","have","at","least","2","friends","."],"911":["What","are","the","names","of","high","schoolers","who","have","a","grade","of","over","5","and","have","2","or","more","friends","?"],"912":["How","many","likes","does","Kyle","have","?"],"913":["Return","the","number","of","likes","that","the","high","schooler","named","Kyle","has","."],"914":["Find","the","average","grade","of","all","students","who","have","some","friends","."],"915":["What","is","the","average","grade","of","students","who","have","friends","?"],"916":["Find","the","minimum","grade","of","students","who","have","no","friends","."],"917":["What","is","the","lowest","grade","of","students","who","do","not","have","any","friends","?"],"918":["Which","states","have","both","owners","and","professionals","living","there","?"],"919":["Find","the","states","where","both","owners","and","professionals","live","."],"920":["What","is","the","average","age","of","the","dogs","who","have","gone","through","any","treatments","?"],"921":["Find","the","average","age","of","the","dogs","who","went","through","treatments","."],"922":["Which","professionals","live","in","the","state","of","Indiana","or","have","done","treatment","on","more","than","2","treatments","?","List","his","or","her","id",",","last","name","and","cell","phone","."],"923":["Find","the","id",",","last","name","and","cell","phone","of","the","professionals","who","live","in","the","state","of","Indiana","or","have","performed","more","than","two","treatments","."],"924":["Which","dogs","have","not","cost","their","owner","more","than","1000","for","treatment","?","List","the","dog","names","."],"925":["What","are","the","names","of","the","dogs","for","which","the","owner","has","not","spend","more","than","1000","for","treatment","?"],"926":["Which","first","names","are","used","for","professionals","or","owners","but","are","not","used","as","dog","names","?"],"927":["Find","the","first","names","that","are","used","for","professionals","or","owners","but","are","not","used","as","dog","names","."],"928":["Which","professional","did","not","operate","any","treatment","on","dogs","?","List","the","professional","'s","id",",","role","and","email","."],"929":["Give","me","the","id",",","role","and","email","of","the","professionals","who","did","not","perform","any","treatment","on","dogs","."],"930":["Which","owner","owns","the","most","dogs","?","List","the","owner","id",",","first","name","and","last","name","."],"931":["Return","the","owner","id",",","first","name","and","last","name","of","the","owner","who","has","the","most","dogs","."],"932":["Which","professionals","have","done","at","least","two","treatments","?","List","the","professional","'s","id",",","role",",","and","first","name","."],"933":["What","are","the","id",",","role",",","and","first","name","of","the","professionals","who","have","performed","two","or","more","treatments","?"],"934":["What","is","the","name","of","the","breed","with","the","most","dogs","?"],"935":["Which","breed","do","the","most","dogs","have","?","Give","me","the","breed","name","."],"936":["Which","owner","has","paid","for","the","most","treatments","on","his","or","her","dogs","?","List","the","owner","id","and","last","name","."],"937":["Tell","me","the","owner","id","and","last","name","of","the","owner","who","spent","the","most","on","treatments","of","his","or","her","dogs","."],"938":["What","is","the","description","of","the","treatment","type","that","costs","the","least","money","in","total","?"],"939":["Give","me","the","description","of","the","treatment","type","whose","total","cost","is","the","lowest","."],"940":["Which","owner","has","paid","the","largest","amount","of","money","in","total","for","their","dogs","?","Show","the","owner","id","and","zip","code","."],"941":["Find","the","owner","id","and","zip","code","of","the","owner","who","spent","the","most","money","in","total","for","his","or","her","dogs","."],"942":["Which","professionals","have","done","at","least","two","types","of","treatments","?","List","the","professional","id","and","cell","phone","."],"943":["Find","the","id","and","cell","phone","of","the","professionals","who","operate","two","or","more","types","of","treatments","."],"944":["What","are","the","first","name","and","last","name","of","the","professionals","who","have","done","treatment","with","cost","below","average","?"],"945":["Which","professionals","have","operated","a","treatment","that","costs","less","than","the","average","?","Give","me","theor","first","names","and","last","names","."],"946":["List","the","date","of","each","treatment",",","together","with","the","first","name","of","the","professional","who","operated","it","."],"947":["What","are","the","date","and","the","operating","professional","'s","first","name","of","each","treatment","?"],"948":["List","the","cost","of","each","treatment","and","the","corresponding","treatment","type","description","."],"949":["What","are","the","cost","and","treatment","type","description","of","each","treatment","?"],"950":["List","each","owner","'s","first","name",",","last","name",",","and","the","size","of","his","for","her","dog","."],"951":["What","are","each","owner","'s","first","name",",","last","name",",","and","the","size","of","their","dog","?"],"952":["List","pairs","of","the","owner","'s","first","name","and","the","dogs","'s","name","."],"953":["What","are","each","owner","'s","first","name","and","their","dogs","'s","name","?"],"954":["List","the","names","of","the","dogs","of","the","rarest","breed","and","the","treatment","dates","of","them","."],"955":["Which","dogs","are","of","the","rarest","breed","?","Show","their","names","and","treatment","dates","."],"956":["Which","dogs","are","owned","by","someone","who","lives","in","Virginia","?","List","the","owner","'s","first","name","and","the","dog","'s","name","."],"957":["Find","the","first","names","of","owners","living","in","Virginia","and","the","names","of","dogs","they","own","."],"958":["What","are","the","arriving","date","and","the","departing","date","of","the","dogs","who","have","gone","through","a","treatment","?"],"959":["Find","the","arriving","date","and","the","departing","date","of","the","dogs","that","received","a","treatment","."],"960":["List","the","last","name","of","the","owner","owning","the","youngest","dog","."],"961":["Who","owns","the","youngest","dog","?","Give","me","his","or","her","last","name","."],"962":["List","the","emails","of","the","professionals","who","live","in","the","state","of","Hawaii","or","the","state","of","Wisconsin","."],"963":["What","are","the","emails","of","the","professionals","living","in","either","the","state","of","Hawaii","or","the","state","of","Wisconsin","?"],"964":["What","are","the","arriving","date","and","the","departing","date","of","all","the","dogs","?"],"965":["List","the","arrival","date","and","the","departure","date","for","all","the","dogs","."],"966":["How","many","dogs","went","through","any","treatments","?"],"967":["Count","the","number","of","dogs","that","went","through","a","treatment","."],"968":["How","many","professionals","have","performed","any","treatment","to","dogs","?"],"969":["Find","the","number","of","professionals","who","have","ever","treated","dogs","."],"970":["Which","professionals","live","in","a","city","containing","the","substring","'West","'","?","List","his","or","her","role",",","street",",","city","and","state","."],"971":["Find","the","role",",","street",",","city","and","state","of","the","professionals","living","in","a","city","that","contains","the","substring","'West","'","."],"972":["Which","owners","live","in","the","state","whose","name","contains","the","substring","'North","'","?","List","his","first","name",",","last","name","and","email","."],"973":["Return","the","first","name",",","last","name","and","email","of","the","owners","living","in","a","state","whose","name","contains","the","substring","'North","'","."],"974":["How","many","dogs","have","an","age","below","the","average","?"],"975":["Count","the","number","of","dogs","of","an","age","below","the","average","."],"976":["How","much","does","the","most","recent","treatment","cost","?"],"977":["Show","me","the","cost","of","the","most","recently","performed","treatment","."],"978":["How","many","dogs","have","not","gone","through","any","treatment","?"],"979":["Tell","me","the","number","of","dogs","that","have","not","received","any","treatment","."],"980":["How","many","owners","temporarily","do","not","have","any","dogs","?"],"981":["Find","the","number","of","owners","who","do","not","own","any","dogs","at","this","moment","."],"982":["How","many","professionals","did","not","operate","any","treatment","on","dogs","?"],"983":["Find","the","number","of","professionals","who","have","not","treated","any","dogs","."],"984":["List","the","dog","name",",","age","and","weight","of","the","dogs","who","have","been","abandoned","?","1","stands","for","yes",",","and","0","stands","for","no","."],"985":["What","are","the","dog","name",",","age","and","weight","of","the","dogs","that","were","abandoned","?","Note","that","1","stands","for","yes",",","and","0","stands","for","no","in","the","tables","."],"986":["What","is","the","average","age","of","all","the","dogs","?"],"987":["Compute","the","average","age","of","all","the","dogs","."],"988":["What","is","the","age","of","the","oldest","dog","?"],"989":["Tell","me","the","age","of","the","oldest","dog","."],"990":["How","much","does","each","charge","type","costs","?","List","both","charge","type","and","amount","."],"991":["List","each","charge","type","and","its","amount","."],"992":["How","much","does","the","most","expensive","charge","type","costs","?"],"993":["What","is","the","charge","amount","of","the","most","expensive","charge","type","?"],"994":["List","the","email",",","cell","phone","and","home","phone","of","all","the","professionals","."],"995":["What","are","the","email",",","cell","phone","and","home","phone","of","each","professional","?"],"996":["What","are","all","the","possible","breed","type","and","size","type","combinations","?"],"997":["Find","the","distinct","breed","type","and","size","type","combinations","for","dogs","."],"998":["List","the","first","name","of","all","the","professionals","along","with","the","description","of","the","treatment","they","have","done","."],"999":["What","are","each","professional","'s","first","name","and","description","of","the","treatment","they","have","performed","?"],"1000":["How","many","singers","are","there","?"],"1001":["What","is","the","count","of","singers","?"],"1002":["List","the","name","of","singers","in","ascending","order","of","net","worth","."],"1003":["What","are","the","names","of","singers","ordered","by","ascending","net","worth","?"],"1004":["What","are","the","birth","year","and","citizenship","of","singers","?"],"1005":["What","are","the","birth","years","and","citizenships","of","the","singers","?"],"1006":["List","the","name","of","singers","whose","citizenship","is","not","``","France","''","."],"1007":["What","are","the","names","of","the","singers","who","are","not","French","citizens","?"],"1008":["Show","the","name","of","singers","whose","birth","year","is","either","1948","or","1949","?"],"1009":["What","are","the","names","of","the","singers","whose","birth","years","are","either","1948","or","1949","?"],"1010":["What","is","the","name","of","the","singer","with","the","largest","net","worth","?"],"1011":["What","is","the","name","of","the","singer","who","is","worth","the","most","?"],"1012":["Show","different","citizenship","of","singers","and","the","number","of","singers","of","each","citizenship","."],"1013":["For","each","citizenship",",","how","many","singers","are","from","that","country","?"],"1014":["Please","show","the","most","common","citizenship","of","singers","."],"1015":["What","is","the","most","common","singer","citizenship","?"],"1016":["Show","different","citizenships","and","the","maximum","net","worth","of","singers","of","each","citizenship","."],"1017":["For","each","citizenship",",","what","is","the","maximum","net","worth","?"],"1018":["Show","titles","of","songs","and","names","of","singers","."],"1019":["What","are","the","song","titles","and","singer","names","?"],"1020":["Show","distinct","names","of","singers","that","have","songs","with","sales","more","than","300000","."],"1021":["what","are","the","different","names","of","the","singers","that","have","sales","more","than","300000","?"],"1022":["Show","the","names","of","singers","that","have","more","than","one","song","."],"1023":["What","are","the","names","of","the","singers","that","have","more","than","one","songs","?"],"1024":["Show","the","names","of","singers","and","the","total","sales","of","their","songs","."],"1025":["For","each","singer","name",",","what","is","the","total","sales","for","their","songs","?"],"1026":["List","the","name","of","singers","that","do","not","have","any","song","."],"1027":["What","is","the","sname","of","every","sing","that","does","not","have","any","song","?"],"1028":["Show","the","citizenship","shared","by","singers","with","birth","year","before","1945","and","after","1955","."],"1029":["What","are","the","citizenships","that","are","shared","by","singers","with","a","birth","year","before","1945","and","after","1955","?"],"1030":["How","many","available","features","are","there","in","total","?"],"1031":["What","is","the","feature","type","name","of","feature","AirCon","?"],"1032":["Show","the","property","type","descriptions","of","properties","belonging","to","that","code","."],"1033":["What","are","the","names","of","properties","that","are","either","houses","or","apartments","with","more","than","1","room","?"]},"sql":{"0":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"2":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]],[0,[0,[0,10,false],null]],[0,[0,[0,13,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,13,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"3":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]],[0,[0,[0,10,false],null]],[0,[0,[0,13,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,13,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"4":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[5,[0,[0,13,false],null]],[2,[0,[0,13,false],null]],[1,[0,[0,13,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"France\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"5":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[5,[0,[0,13,false],null]],[2,[0,[0,13,false],null]],[1,[0,[0,13,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"France\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"6":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]],[0,[0,[0,12,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,13,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"7":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]],[0,[0,[0,12,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,13,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"8":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[true,[[0,[0,[0,10,false],null]]]],"where":[[false,3,[0,[0,13,false],null],20.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"9":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[true,[[0,[0,[0,10,false],null]]]],"where":[[false,3,[0,[0,13,false],null],20.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"10":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,10,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,10,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"11":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,10,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,10,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"12":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[[false,3,[0,[0,13,false],null],{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[5,[0,[0,13,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"13":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[[false,3,[0,[0,13,false],null],{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[5,[0,[0,13,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"14":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,3,false],null]]]],"where":[[false,1,[0,[0,4,false],null],5000.0,10000.0]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"15":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,3,false],null]]]],"where":[[false,1,[0,[0,4,false],null],5000.0,10000.0]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"16":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[1,[0,[0,4,false],null]],[0,[0,[0,7,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"17":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[5,[0,[0,4,false],null]],[1,[0,[0,4,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"18":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,7,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"19":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,7,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"20":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,19,false],null],2014.0,null],"or",[false,2,[0,[0,19,false],null],2015.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"21":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,19,false],null],2014.0,null],"or",[false,2,[0,[0,19,false],null],2015.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"22":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,18,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,3,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,18,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"23":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,18,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,3,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,18,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"24":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,18,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,4,false],null]]]],"where":[[false,5,[0,[0,19,false],null],2014.0,null]],"groupBy":[[0,1,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"25":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,18,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,4,false],null]]]],"where":[[false,3,[0,[0,19,false],null],2013.0,null]],"groupBy":[[0,1,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"26":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,19,false],null]]]],"where":[],"groupBy":[[0,19,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"27":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,19,false],null]]]],"where":[],"groupBy":[[0,19,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"28":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[[true,8,[0,[0,1,false],null],{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,18,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"29":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[[true,8,[0,[0,1,false],null],{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,18,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"30":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,10,false],null]]]],"where":[[false,3,[0,[0,13,false],null],40.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,10,false],null]]]],"where":[[false,4,[0,[0,13,false],null],30.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"31":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,18,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,19,false],null],2014.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"32":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,18,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,19,false],null],2014.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"33":{"from":{"table_units":[["table_unit",3],["table_unit",2]],"conds":[[false,2,[0,[0,20,false],null],[0,15,false],null]]},"select":[false,[[0,[0,[0,16,false],null]],[0,[0,[0,17,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,15,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"34":{"from":{"table_units":[["table_unit",3],["table_unit",2]],"conds":[[false,2,[0,[0,20,false],null],[0,15,false],null]]},"select":[false,[[0,[0,[0,16,false],null]],[0,[0,[0,17,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,15,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"35":{"from":{"table_units":[["table_unit",3],["table_unit",1]],"conds":[[false,2,[0,[0,21,false],null],[0,8,false],null]]},"select":[false,[[0,[0,[0,9,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,8,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"36":{"from":{"table_units":[["table_unit",3],["table_unit",1]],"conds":[[false,2,[0,[0,21,false],null],[0,8,false],null]]},"select":[false,[[0,[0,[0,9,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,8,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"37":{"from":{"table_units":[["table_unit",3],["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,21,false],null],[0,8,false],null],"and",[false,2,[0,[0,20,false],null],[0,15,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,19,false],null],2014.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"38":{"from":{"table_units":[["table_unit",3],["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,21,false],null],[0,8,false],null],"and",[false,2,[0,[0,20,false],null],[0,15,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,19,false],null],2014.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"39":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]],[0,[0,[0,10,false],null]]]],"where":[[false,9,[0,[0,11,false],null],"\"%Hey%\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"40":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]],[0,[0,[0,10,false],null]]]],"where":[[false,9,[0,[0,11,false],null],"\"%Hey%\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"41":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,18,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,19,false],null],2014.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,18,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,19,false],null],2015.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"42":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,18,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,19,false],null],2014.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,18,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,19,false],null],2015.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"43":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,18,false],null],{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,1,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,4,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"44":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,18,false],null],{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,1,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,4,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"45":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,3,[0,[0,14,false],null],10.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"46":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,3,[0,[0,14,false],null],10.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"47":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,14,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,13,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"48":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,14,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,13,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"49":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[1,[0,[0,14,false],null]],[0,[0,[0,12,false],null]]]],"where":[],"groupBy":[[0,12,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"50":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[1,[0,[0,14,false],null]],[0,[0,[0,12,false],null]]]],"where":[],"groupBy":[[0,12,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"51":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,3,[0,[0,4,false],null],20.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"52":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,3,[0,[0,4,false],null],20.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"53":{"from":{"table_units":[["table_unit",0],["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null],"and",[false,2,[0,[0,10,false],null],[0,11,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"F\"",null],"and",[false,2,[0,[0,12,false],null],"\"dog\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"54":{"from":{"table_units":[["table_unit",0],["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null],"and",[false,2,[0,[0,10,false],null],[0,11,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"F\"",null],"and",[false,2,[0,[0,12,false],null],"\"dog\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"55":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,12,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"56":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,12,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"57":{"from":{"table_units":[["table_unit",0],["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null],"and",[false,2,[0,[0,11,false],null],[0,10,false],null]]},"select":[true,[[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"cat\"",null],"or",[false,2,[0,[0,12,false],null],"\"dog\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"58":{"from":{"table_units":[["table_unit",0],["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null],"and",[false,2,[0,[0,11,false],null],[0,10,false],null]]},"select":[true,[[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"cat\"",null],"or",[false,2,[0,[0,12,false],null],"\"dog\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"59":{"from":{"table_units":[["table_unit",0],["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null],"and",[false,2,[0,[0,11,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"cat\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",0],["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null],"and",[false,2,[0,[0,11,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"dog\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"60":{"from":{"table_units":[["table_unit",0],["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null],"and",[false,2,[0,[0,11,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"cat\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",0],["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null],"and",[false,2,[0,[0,11,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"dog\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"61":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]],[0,[0,[0,4,false],null]]]],"where":[[true,8,[0,[0,1,false],null],{"from":{"table_units":[["table_unit",0],["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null],"and",[false,2,[0,[0,11,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,1,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"cat\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"62":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]],[0,[0,[0,4,false],null]]]],"where":[[true,8,[0,[0,1,false],null],{"from":{"table_units":[["table_unit",0],["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null],"and",[false,2,[0,[0,11,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,1,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"cat\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"63":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,1,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",0],["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null],"and",[false,2,[0,[0,11,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,1,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"cat\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"64":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,1,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",0],["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null],"and",[false,2,[0,[0,11,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,1,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"cat\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"65":{"from":{"table_units":[["table_unit",0],["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null],"and",[false,2,[0,[0,11,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,4,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"dog\"",null],"and",[true,8,[0,[0,1,false],null],{"from":{"table_units":[["table_unit",0],["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null],"and",[false,2,[0,[0,11,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,1,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"cat\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"66":{"from":{"table_units":[["table_unit",0],["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null],"and",[false,2,[0,[0,11,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,4,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"dog\"",null],"and",[true,8,[0,[0,1,false],null],{"from":{"table_units":[["table_unit",0],["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null],"and",[false,2,[0,[0,11,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,1,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"cat\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"67":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,12,false],null]],[0,[0,[0,14,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,13,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"68":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,12,false],null]],[0,[0,[0,14,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,13,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"69":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]],[0,[0,[0,14,false],null]]]],"where":[[false,3,[0,[0,13,false],null],1.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"70":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]],[0,[0,[0,14,false],null]]]],"where":[[false,3,[0,[0,13,false],null],1.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"71":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[5,[0,[0,13,false],null]],[1,[0,[0,13,false],null]],[0,[0,[0,12,false],null]]]],"where":[],"groupBy":[[0,12,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"72":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[5,[0,[0,13,false],null]],[1,[0,[0,13,false],null]],[0,[0,[0,12,false],null]]]],"where":[],"groupBy":[[0,12,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"73":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[5,[0,[0,14,false],null]],[0,[0,[0,12,false],null]]]],"where":[],"groupBy":[[0,12,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"74":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[5,[0,[0,14,false],null]],[0,[0,[0,12,false],null]]]],"where":[],"groupBy":[[0,12,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"75":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null]]},"select":[true,[[0,[0,[0,3,false],null]],[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"76":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null]]},"select":[true,[[0,[0,[0,3,false],null]],[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"77":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,10,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Smith\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"78":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,10,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Smith\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"79":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null]]},"select":[false,[[3,[0,[0,0,false],null]],[0,[0,[0,1,false],null]]]],"where":[],"groupBy":[[0,1,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"80":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null]]},"select":[false,[[3,[0,[0,0,false],null]],[0,[0,[0,1,false],null]]]],"where":[],"groupBy":[[0,1,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"81":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[[0,1,false]],"having":[[false,3,[0,[3,0,false],null],1.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"82":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[[0,1,false]],"having":[[false,3,[0,[3,0,false],null],1.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"83":{"from":{"table_units":[["table_unit",0],["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null],"and",[false,2,[0,[0,11,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,13,false],null],3.0,null],"and",[false,2,[0,[0,12,false],null],"\"cat\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"84":{"from":{"table_units":[["table_unit",0],["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null],"and",[false,2,[0,[0,11,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,13,false],null],3.0,null],"and",[false,2,[0,[0,12,false],null],"\"cat\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"85":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[5,[0,[0,4,false],null]]]],"where":[[true,8,[0,[0,1,false],null],{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"86":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[5,[0,[0,4,false],null]]]],"where":[[true,8,[0,[0,1,false],null],{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"87":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"88":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"89":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,5,false],null]]},"select":[false,[[0,[0,[0,1,false],null]],[0,[0,[0,2,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,1,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"90":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,5,false],null]]},"select":[false,[[0,[0,[0,1,false],null]],[0,[0,[0,2,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,1,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"91":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"92":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"93":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,6,false],null],[0,11,false],null]]},"select":[false,[[0,[0,[0,8,false],null]],[0,[0,[0,6,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"94":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,6,false],null],[0,11,false],null]]},"select":[false,[[0,[0,[0,8,false],null]],[0,[0,[0,6,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"95":{"from":{"table_units":[["table_unit",4],["table_unit",5]],"conds":[[false,2,[0,[0,13,false],null],[0,16,false],null]]},"select":[false,[[0,[0,[0,14,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,20,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"96":{"from":{"table_units":[["table_unit",4],["table_unit",5]],"conds":[[false,2,[0,[0,13,false],null],[0,16,false],null]]},"select":[false,[[0,[0,[0,14,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,20,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"97":{"from":{"table_units":[["table_unit",4],["table_unit",5]],"conds":[[false,2,[0,[0,13,false],null],[0,16,false],null]]},"select":[false,[[0,[0,[0,14,false],null]]]],"where":[[false,4,[0,[0,21,false],null],{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[5,[0,[0,21,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"98":{"from":{"table_units":[["table_unit",4],["table_unit",5]],"conds":[[false,2,[0,[0,13,false],null],[0,16,false],null]]},"select":[false,[[0,[0,[0,14,false],null]]]],"where":[[false,4,[0,[0,21,false],null],{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[5,[0,[0,21,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"99":{"from":{"table_units":[["table_unit",2],["table_unit",3],["table_unit",4],["table_unit",5]],"conds":[[false,2,[0,[0,6,false],null],[0,11,false],null],"and",[false,2,[0,[0,12,false],null],[0,14,false],null],"and",[false,2,[0,[0,13,false],null],[0,16,false],null]]},"select":[true,[[0,[0,[0,7,false],null]]]],"where":[[false,2,[0,[0,23,false],null],"\"1970\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"100":{"from":{"table_units":[["table_unit",2],["table_unit",3],["table_unit",4],["table_unit",5]],"conds":[[false,2,[0,[0,6,false],null],[0,11,false],null],"and",[false,2,[0,[0,12,false],null],[0,14,false],null],"and",[false,2,[0,[0,13,false],null],[0,16,false],null]]},"select":[true,[[0,[0,[0,7,false],null]]]],"where":[[false,2,[0,[0,23,false],null],"\"1970\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"101":{"from":{"table_units":[["table_unit",5],["table_unit",4]],"conds":[[false,2,[0,[0,16,false],null],[0,13,false],null]]},"select":[false,[[0,[0,[0,15,false],null]],[0,[0,[0,23,false],null]]]],"where":[[false,2,[0,[0,23,false],null],{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[2,[0,[0,23,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"102":{"from":{"table_units":[["table_unit",5],["table_unit",4]],"conds":[[false,2,[0,[0,16,false],null],[0,13,false],null]]},"select":[false,[[0,[0,[0,15,false],null]],[0,[0,[0,23,false],null]]]],"where":[[false,2,[0,[0,23,false],null],{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[2,[0,[0,23,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"103":{"from":{"table_units":[["table_unit",3],["table_unit",4],["table_unit",5]],"conds":[[false,2,[0,[0,12,false],null],[0,14,false],null],"and",[false,2,[0,[0,13,false],null],[0,16,false],null]]},"select":[true,[[0,[0,[0,12,false],null]]]],"where":[[false,3,[0,[0,23,false],null],1980.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"104":{"from":{"table_units":[["table_unit",3],["table_unit",4],["table_unit",5]],"conds":[[false,2,[0,[0,12,false],null],[0,14,false],null],"and",[false,2,[0,[0,13,false],null],[0,16,false],null]]},"select":[true,[[0,[0,[0,12,false],null]]]],"where":[[false,3,[0,[0,23,false],null],1980.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"105":{"from":{"table_units":[["table_unit",0],["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,5,false],null],"and",[false,2,[0,[0,3,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,2,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,2,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"106":{"from":{"table_units":[["table_unit",0],["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,5,false],null],"and",[false,2,[0,[0,3,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,2,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,2,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"107":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,9,false],null],[0,3,false],null]]},"select":[false,[[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[[0,9,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"108":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,9,false],null],[0,3,false],null]]},"select":[false,[[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[[0,9,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"109":{"from":{"table_units":[["table_unit",3],["table_unit",2]],"conds":[[false,2,[0,[0,11,false],null],[0,6,false],null]]},"select":[false,[[3,[0,[0,0,false],null]],[0,[0,[0,8,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"110":{"from":{"table_units":[["table_unit",3],["table_unit",2]],"conds":[[false,2,[0,[0,11,false],null],[0,6,false],null]]},"select":[false,[[3,[0,[0,0,false],null]],[0,[0,[0,8,false],null]],[0,[0,[0,6,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"111":{"from":{"table_units":[["table_unit",5],["table_unit",4]],"conds":[[false,2,[0,[0,16,false],null],[0,13,false],null]]},"select":[false,[[0,[0,[0,22,false],null]]]],"where":[[false,2,[0,[0,15,false],null],"\"amc hornet sportabout (sw)\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"112":{"from":{"table_units":[["table_unit",5],["table_unit",4]],"conds":[[false,2,[0,[0,16,false],null],[0,13,false],null]]},"select":[false,[[0,[0,[0,22,false],null]]]],"where":[[false,2,[0,[0,15,false],null],"\"amc hornet sportabout (sw)\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"113":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,9,false],null],[0,3,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,4,false],null],"\"france\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"114":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,9,false],null],[0,3,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,4,false],null],"\"france\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"115":{"from":{"table_units":[["table_unit",3],["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,11,false],null],[0,6,false],null],"and",[false,2,[0,[0,9,false],null],[0,3,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,4,false],null],"\"usa\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"116":{"from":{"table_units":[["table_unit",3],["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,11,false],null],[0,6,false],null],"and",[false,2,[0,[0,9,false],null],[0,3,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,4,false],null],"\"usa\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"117":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[5,[0,[0,17,false],null]]]],"where":[[false,2,[0,[0,18,false],null],4.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"118":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[5,[0,[0,17,false],null]]]],"where":[[false,2,[0,[0,18,false],null],4.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"119":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[2,[0,[0,21,false],null]]]],"where":[[false,2,[0,[0,18,false],null],8.0,null],"and",[false,2,[0,[0,23,false],null],1974.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"120":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[2,[0,[0,21,false],null]]]],"where":[[false,2,[0,[0,18,false],null],8.0,null],"and",[false,2,[0,[0,23,false],null],1974.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"121":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]],[0,[0,[0,12,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"122":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]],[0,[0,[0,12,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"123":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,3,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,4,false],null]],[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[[0,3,false]],"having":[[false,5,[0,[3,0,false],null],1.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"124":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,3,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,4,false],null]],[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[[0,3,false]],"having":[[false,5,[0,[3,0,false],null],1.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"125":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,3,[0,[0,20,false],null],150.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"126":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,3,[0,[0,20,false],null],150.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"127":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[5,[0,[0,21,false],null]],[0,[0,[0,23,false],null]]]],"where":[],"groupBy":[[0,23,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"128":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[5,[0,[0,21,false],null]],[0,[0,[0,23,false],null]]]],"where":[],"groupBy":[[0,23,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"129":{"from":{"table_units":[["table_unit",1],["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,5,false],null],[0,1,false],null],"and",[false,2,[0,[0,3,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,4,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"europe\"",null]],"groupBy":[[0,4,false]],"having":[[false,5,[0,[3,0,false],null],3.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"130":{"from":{"table_units":[["table_unit",1],["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,5,false],null],[0,1,false],null],"and",[false,2,[0,[0,3,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,4,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"europe\"",null]],"groupBy":[[0,4,false]],"having":[[false,5,[0,[3,0,false],null],3.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"131":{"from":{"table_units":[["table_unit",4],["table_unit",5]],"conds":[[false,2,[0,[0,13,false],null],[0,16,false],null]]},"select":[false,[[0,[0,[0,20,false],null]],[0,[0,[0,15,false],null]]]],"where":[[false,2,[0,[0,18,false],null],3.0,null]],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,20,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"132":{"from":{"table_units":[["table_unit",4],["table_unit",5]],"conds":[[false,2,[0,[0,13,false],null],[0,16,false],null]]},"select":[false,[[0,[0,[0,20,false],null]],[0,[0,[0,15,false],null]]]],"where":[[false,2,[0,[0,18,false],null],3.0,null]],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,20,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"133":{"from":{"table_units":[["table_unit",4],["table_unit",5]],"conds":[[false,2,[0,[0,13,false],null],[0,16,false],null]]},"select":[false,[[0,[0,[0,14,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,17,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"134":{"from":{"table_units":[["table_unit",4],["table_unit",5]],"conds":[[false,2,[0,[0,13,false],null],[0,16,false],null]]},"select":[false,[[0,[0,[0,14,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,17,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"135":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[5,[0,[0,20,false],null]]]],"where":[[false,4,[0,[0,23,false],null],1980.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"136":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[5,[0,[0,20,false],null]]]],"where":[[false,4,[0,[0,23,false],null],1980.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"137":{"from":{"table_units":[["table_unit",4],["table_unit",5]],"conds":[[false,2,[0,[0,13,false],null],[0,16,false],null]]},"select":[false,[[5,[0,[0,19,false],null]]]],"where":[[false,2,[0,[0,14,false],null],"\"volvo\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"138":{"from":{"table_units":[["table_unit",4],["table_unit",5]],"conds":[[false,2,[0,[0,13,false],null],[0,16,false],null]]},"select":[false,[[5,[0,[0,19,false],null]]]],"where":[[false,2,[0,[0,14,false],null],"\"volvo\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"139":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[1,[0,[0,22,false],null]],[0,[0,[0,18,false],null]]]],"where":[],"groupBy":[[0,18,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"140":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[1,[0,[0,22,false],null]],[0,[0,[0,18,false],null]]]],"where":[],"groupBy":[[0,18,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"141":{"from":{"table_units":[["table_unit",4]],"conds":[]},"select":[false,[[0,[0,[0,14,false],null]]]],"where":[],"groupBy":[[0,14,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"142":{"from":{"table_units":[["table_unit",4]],"conds":[]},"select":[false,[[0,[0,[0,14,false],null]]]],"where":[],"groupBy":[[0,14,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"143":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,3,[0,[0,18,false],null],4.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"144":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,3,[0,[0,18,false],null],4.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"145":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,23,false],null],1980.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"146":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,23,false],null],1980.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"147":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,6,false],null],[0,11,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,8,false],null],"\"American Motor Company\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"148":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,6,false],null],[0,11,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,8,false],null],"\"American Motor Company\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"149":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,6,false],null],[0,11,false],null]]},"select":[false,[[0,[0,[0,8,false],null]],[0,[0,[0,6,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[[false,3,[0,[3,0,false],null],3.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"150":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,6,false],null],[0,11,false],null]]},"select":[false,[[0,[0,[0,8,false],null]],[0,[0,[0,6,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[[false,3,[0,[3,0,false],null],3.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"151":{"from":{"table_units":[["table_unit",4],["table_unit",3],["table_unit",2],["table_unit",5]],"conds":[[false,2,[0,[0,14,false],null],[0,12,false],null],"and",[false,2,[0,[0,11,false],null],[0,6,false],null],"and",[false,2,[0,[0,13,false],null],[0,16,false],null]]},"select":[true,[[0,[0,[0,12,false],null]]]],"where":[[false,2,[0,[0,8,false],null],"\"General Motors\"",null],"or",[false,3,[0,[0,21,false],null],3500.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"152":{"from":{"table_units":[["table_unit",4],["table_unit",3],["table_unit",2],["table_unit",5]],"conds":[[false,2,[0,[0,14,false],null],[0,12,false],null],"and",[false,2,[0,[0,11,false],null],[0,6,false],null],"and",[false,2,[0,[0,13,false],null],[0,16,false],null]]},"select":[true,[[0,[0,[0,12,false],null]]]],"where":[[false,2,[0,[0,8,false],null],"\"General Motors\"",null],"or",[false,3,[0,[0,21,false],null],3500.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"153":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[true,[[0,[0,[0,23,false],null]]]],"where":[[false,1,[0,[0,21,false],null],3000.0,4000.0]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"154":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[true,[[0,[0,[0,23,false],null]]]],"where":[[false,1,[0,[0,21,false],null],3000.0,4000.0]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"155":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[0,[0,[0,20,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,22,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"156":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[0,[0,[0,20,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,22,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"157":{"from":{"table_units":[["table_unit",5],["table_unit",4]],"conds":[[false,2,[0,[0,16,false],null],[0,13,false],null]]},"select":[false,[[0,[0,[0,18,false],null]]]],"where":[[false,2,[0,[0,14,false],null],"\"volvo\"",null]],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,22,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"158":{"from":{"table_units":[["table_unit",5],["table_unit",4]],"conds":[[false,2,[0,[0,16,false],null],[0,13,false],null]]},"select":[false,[[0,[0,[0,18,false],null]]]],"where":[[false,2,[0,[0,14,false],null],"\"volvo\"",null]],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,22,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"159":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,3,[0,[0,22,false],null],{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[0,[0,[0,22,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,20,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"160":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,3,[0,[0,22,false],null],{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[0,[0,[0,22,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,20,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"161":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,3,false],null],[0,9,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,3,false]],"having":[[false,3,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"162":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,3,false],null],[0,9,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,3,false]],"having":[[false,3,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"163":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,3,[0,[0,18,false],null],6.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"164":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,3,[0,[0,18,false],null],6.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"165":{"from":{"table_units":[["table_unit",4],["table_unit",5]],"conds":[[false,2,[0,[0,13,false],null],[0,16,false],null]]},"select":[false,[[0,[0,[0,14,false],null]]]],"where":[[false,2,[0,[0,18,false],null],4.0,null]],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,20,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"166":{"from":{"table_units":[["table_unit",4],["table_unit",5]],"conds":[[false,2,[0,[0,13,false],null],[0,16,false],null]]},"select":[false,[[0,[0,[0,14,false],null]]]],"where":[[false,2,[0,[0,18,false],null],4.0,null]],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,20,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"167":{"from":{"table_units":[["table_unit",5],["table_unit",4]],"conds":[[false,2,[0,[0,16,false],null],[0,13,false],null]]},"select":[false,[[0,[0,[0,13,false],null]],[0,[0,[0,15,false],null]]]],"where":[[false,3,[0,[0,20,false],null],{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[2,[0,[0,20,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null],"and",[false,6,[0,[0,18,false],null],3.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"168":{"from":{"table_units":[["table_unit",5],["table_unit",4]],"conds":[[false,2,[0,[0,16,false],null],[0,13,false],null]]},"select":[false,[[0,[0,[0,13,false],null]],[0,[0,[0,15,false],null]]]],"where":[[false,3,[0,[0,20,false],null],{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[2,[0,[0,20,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null],"and",[false,4,[0,[0,18,false],null],4.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"169":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[1,[0,[0,17,false],null]]]],"where":[[false,2,[0,[0,18,false],null],8.0,null],"or",[false,4,[0,[0,23,false],null],1980.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"170":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[1,[0,[0,17,false],null]]]],"where":[[false,2,[0,[0,18,false],null],8.0,null],"or",[false,4,[0,[0,23,false],null],1980.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"171":{"from":{"table_units":[["table_unit",3],["table_unit",4],["table_unit",5],["table_unit",2]],"conds":[[false,2,[0,[0,12,false],null],[0,14,false],null],"and",[false,2,[0,[0,13,false],null],[0,16,false],null],"and",[false,2,[0,[0,11,false],null],[0,6,false],null]]},"select":[true,[[0,[0,[0,12,false],null]]]],"where":[[false,4,[0,[0,21,false],null],3500.0,null],"and",[false,7,[0,[0,8,false],null],"\"Ford Motor Company\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"172":{"from":{"table_units":[["table_unit",3],["table_unit",4],["table_unit",5],["table_unit",2]],"conds":[[false,2,[0,[0,12,false],null],[0,14,false],null],"and",[false,2,[0,[0,13,false],null],[0,16,false],null],"and",[false,2,[0,[0,11,false],null],[0,6,false],null]]},"select":[true,[[0,[0,[0,12,false],null]]]],"where":[[false,4,[0,[0,21,false],null],3500.0,null],"and",[false,7,[0,[0,8,false],null],"\"Ford Motor Company\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"173":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,3,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"174":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,3,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"175":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,6,false],null],[0,11,false],null]]},"select":[false,[[0,[0,[0,6,false],null]],[0,[0,[0,7,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[[false,5,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",2],["table_unit",3],["table_unit",4]],"conds":[[false,2,[0,[0,6,false],null],[0,11,false],null],"and",[false,2,[0,[0,12,false],null],[0,14,false],null]]},"select":[false,[[0,[0,[0,6,false],null]],[0,[0,[0,7,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[[false,3,[0,[3,0,false],null],3.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"176":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,6,false],null],[0,11,false],null]]},"select":[false,[[0,[0,[0,6,false],null]],[0,[0,[0,7,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[[false,5,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",2],["table_unit",3],["table_unit",4]],"conds":[[false,2,[0,[0,6,false],null],[0,11,false],null],"and",[false,2,[0,[0,12,false],null],[0,14,false],null]]},"select":[false,[[0,[0,[0,6,false],null]],[0,[0,[0,7,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[[false,3,[0,[3,0,false],null],3.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"177":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,3,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[[0,3,false]],"having":[[false,3,[0,[3,0,false],null],3.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":{"from":{"table_units":[["table_unit",1],["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,3,false],null],[0,9,false],null],"and",[false,2,[0,[0,6,false],null],[0,11,false],null]]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,4,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"fiat\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"except":null},"178":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,3,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[[0,3,false]],"having":[[false,3,[0,[3,0,false],null],3.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":{"from":{"table_units":[["table_unit",1],["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,3,false],null],[0,9,false],null],"and",[false,2,[0,[0,6,false],null],[0,11,false],null]]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,4,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"fiat\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"except":null},"179":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,4,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"JetBlue Airways\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"180":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,4,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"JetBlue Airways\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"181":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"JetBlue Airways\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"182":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"JetBlue Airways\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"183":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,4,false],null],"\"USA\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"184":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,4,false],null],"\"USA\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"185":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]],[0,[0,[0,7,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"Anthony\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"186":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]],[0,[0,[0,7,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"Anthony\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"187":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"188":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"189":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"190":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"191":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"192":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"193":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,3,false],null],"\"UAL\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"194":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,3,false],null],"\"UAL\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"195":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,4,false],null],"\"USA\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"196":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,4,false],null],"\"USA\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"197":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]],[0,[0,[0,8,false],null]]]],"where":[[false,2,[0,[0,7,false],null],"\"Alton\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"198":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]],[0,[0,[0,8,false],null]]]],"where":[[false,2,[0,[0,7,false],null],"\"Alton\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"199":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,7,false],null]]]],"where":[[false,2,[0,[0,6,false],null],"\"AKO\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"200":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,7,false],null]]]],"where":[[false,2,[0,[0,6,false],null],"\"AKO\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"201":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,7,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"Aberdeen\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"202":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,7,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"Aberdeen\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"203":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"APG\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"204":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"APG\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"205":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,13,false],null],"\"ATO\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"206":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,13,false],null],"\"ATO\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"207":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,12,false],null],[0,6,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"Aberdeen\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"208":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,12,false],null],[0,6,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"Aberdeen\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"209":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,13,false],null],[0,6,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"Aberdeen\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"210":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,13,false],null],[0,6,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"Aberdeen\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"211":{"from":{"table_units":[["table_unit",2],["table_unit",1],["table_unit",1]],"conds":[[false,2,[0,[0,13,false],null],[0,6,false],null],"and",[false,2,[0,[0,12,false],null],[0,6,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"Ashley\"",null],"and",[false,2,[0,[0,5,false],null],"\"Aberdeen\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"212":{"from":{"table_units":[["table_unit",2],["table_unit",1],["table_unit",1]],"conds":[[false,2,[0,[0,13,false],null],[0,6,false],null],"and",[false,2,[0,[0,12,false],null],[0,6,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"Ashley\"",null],"and",[false,2,[0,[0,5,false],null],"\"Aberdeen\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"213":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,10,false],null],[0,1,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"JetBlue Airways\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"214":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,10,false],null],[0,1,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"JetBlue Airways\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"215":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,10,false],null],[0,1,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"United Airlines\"",null],"and",[false,2,[0,[0,13,false],null],"\"ASY\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"216":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,10,false],null],[0,1,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"United Airlines\"",null],"and",[false,2,[0,[0,13,false],null],"\"ASY\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"217":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,10,false],null],[0,1,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"United Airlines\"",null],"and",[false,2,[0,[0,12,false],null],"\"AHD\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"218":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,10,false],null],[0,1,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"United Airlines\"",null],"and",[false,2,[0,[0,12,false],null],"\"AHD\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"219":{"from":{"table_units":[["table_unit",2],["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,13,false],null],[0,6,false],null],"and",[false,2,[0,[0,1,false],null],[0,10,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"Aberdeen\"",null],"and",[false,2,[0,[0,2,false],null],"\"United Airlines\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"220":{"from":{"table_units":[["table_unit",2],["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,13,false],null],[0,6,false],null],"and",[false,2,[0,[0,1,false],null],[0,10,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"Aberdeen\"",null],"and",[false,2,[0,[0,2,false],null],"\"United Airlines\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"221":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,6,false],null],[0,13,false],null]]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[[0,5,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"222":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,6,false],null],[0,13,false],null]]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[[0,5,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"223":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,6,false],null],[0,12,false],null]]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[[0,5,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"224":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,6,false],null],[0,12,false],null]]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[[0,5,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"225":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,6,false],null],[0,13,false],null]]},"select":[false,[[0,[0,[0,6,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"226":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,6,false],null],[0,13,false],null]]},"select":[false,[[0,[0,[0,6,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"227":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,6,false],null],[0,13,false],null]]},"select":[false,[[0,[0,[0,6,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[],"orderBy":["asc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"228":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,6,false],null],[0,13,false],null]]},"select":[false,[[0,[0,[0,6,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[],"orderBy":["asc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"229":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,2,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"230":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,2,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"231":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[[0,2,false]],"having":[],"orderBy":["asc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"232":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[[0,2,false]],"having":[],"orderBy":["asc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"233":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"AHD\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"234":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"AHD\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"235":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,13,false],null],"\"AHD\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"236":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,13,false],null],"\"AHD\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"237":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"APG\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"CVO\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"238":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"APG\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"CVO\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"239":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"CVO\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"APG\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"240":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"CVO\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"APG\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"241":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,2,false]],"having":[[false,3,[0,[3,0,false],null],10.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"242":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,2,false]],"having":[[false,3,[0,[3,0,false],null],10.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"243":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,2,false]],"having":[[false,4,[0,[3,0,false],null],200.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"244":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,2,false]],"having":[[false,4,[0,[3,0,false],null],200.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"245":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,1,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"United Airlines\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"246":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,1,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"United Airlines\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"247":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"APG\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"248":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"APG\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"249":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[[false,2,[0,[0,13,false],null],"\"APG\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"250":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[[false,2,[0,[0,13,false],null],"\"APG\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"251":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,12,false],null],[0,6,false],null]]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"Aberdeen\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"252":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,12,false],null],[0,6,false],null]]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"Aberdeen\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"253":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,13,false],null],[0,6,false],null]]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"Aberdeen\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"254":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,13,false],null],[0,6,false],null]]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"Aberdeen\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"255":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,13,false],null],[0,6,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"Aberdeen\"",null],"or",[false,2,[0,[0,5,false],null],"\"Abilene\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"256":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,13,false],null],[0,6,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"Aberdeen\"",null],"or",[false,2,[0,[0,5,false],null],"\"Abilene\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"257":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,7,false],null]]]],"where":[[true,8,[0,[0,6,false],null],{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,12,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,13,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"258":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,7,false],null]]]],"where":[[true,8,[0,[0,6,false],null],{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,12,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,13,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"259":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"260":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"261":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,3,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"262":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,3,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"263":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]],[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[[0,4,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"264":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]],[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[[0,4,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"265":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,4,false],null]]]],"where":[[false,4,[0,[0,3,false],null],30.0,null]],"groupBy":[[0,4,false]],"having":[[false,3,[0,[3,0,false],null],1.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"266":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,4,false],null]]]],"where":[[false,4,[0,[0,3,false],null],30.0,null]],"groupBy":[[0,4,false]],"having":[[false,3,[0,[3,0,false],null],1.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"267":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]],[0,[0,[0,7,false],null]]]],"where":[],"groupBy":[[0,7,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"268":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]],[0,[0,[0,7,false],null]]]],"where":[],"groupBy":[[0,7,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"269":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,10,false],null]],[0,[0,[0,8,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,9,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"270":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,10,false],null]],[0,[0,[0,8,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,9,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"271":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[2,[0,[0,9,false],null]],[1,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"272":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[2,[0,[0,9,false],null]],[1,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"273":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]],[0,[0,[0,7,false],null]],[0,[0,[0,8,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,9,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"274":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]],[0,[0,[0,7,false],null]],[0,[0,[0,8,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,9,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"275":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]]]],"where":[[false,3,[0,[0,9,false],null],{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[5,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"276":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]]]],"where":[[false,3,[0,[0,9,false],null],{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[5,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"277":{"from":{"table_units":[["table_unit",0],["table_unit",3]],"conds":[[false,2,[0,[0,1,false],null],[0,15,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,15,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"278":{"from":{"table_units":[["table_unit",0],["table_unit",3]],"conds":[[false,2,[0,[0,1,false],null],[0,15,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,15,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"279":{"from":{"table_units":[["table_unit",0],["table_unit",3]],"conds":[[false,2,[0,[0,1,false],null],[0,15,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,17,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"280":{"from":{"table_units":[["table_unit",0],["table_unit",3]],"conds":[[false,2,[0,[0,1,false],null],[0,15,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,17,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"281":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[true,8,[0,[0,1,false],null],{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,15,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"282":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[true,8,[0,[0,1,false],null],{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,15,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"283":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,11,false],null],[0,5,false],null]]},"select":[false,[[0,[0,[0,6,false],null]]]],"where":[],"groupBy":[[0,11,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"284":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,11,false],null],[0,5,false],null]]},"select":[false,[[0,[0,[0,6,false],null]]]],"where":[],"groupBy":[[0,11,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"285":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]]]],"where":[[true,8,[0,[0,5,false],null],{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"286":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]]]],"where":[[true,8,[0,[0,5,false],null],{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"287":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,11,false],null],[0,5,false],null]]},"select":[false,[[3,[0,[0,0,false],null]],[0,[0,[0,6,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"288":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,11,false],null],[0,5,false],null]]},"select":[false,[[3,[0,[0,0,false],null]],[0,[0,[0,6,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"289":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[4,[0,[0,17,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"290":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[4,[0,[0,17,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"291":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"292":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"293":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,8,false],null]]]],"where":[[false,4,[0,[0,9,false],null],3000.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,8,false],null]]]],"where":[[false,3,[0,[0,9,false],null],10000.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"294":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,8,false],null]]]],"where":[[false,4,[0,[0,9,false],null],3000.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,8,false],null]]]],"where":[[false,3,[0,[0,9,false],null],10000.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"295":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,7,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"296":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,7,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"297":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"298":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"299":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]],[0,[0,[0,11,false],null]],[0,[0,[0,12,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"300":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]],[0,[0,[0,11,false],null]],[0,[0,[0,12,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"301":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]],[0,[0,[0,10,false],null]]]],"where":[[false,9,[0,[0,12,false],null],"\"%w%\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"302":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]],[0,[0,[0,10,false],null]]]],"where":[[false,9,[0,[0,12,false],null],"\"%w%\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"303":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]],[0,[0,[0,10,false],null]],[0,[0,[0,12,false],null]]]],"where":[[false,2,[0,[0,11,false],null],"\"Robbin CV\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"304":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]],[0,[0,[0,10,false],null]],[0,[0,[0,12,false],null]]]],"where":[[false,2,[0,[0,11,false],null],"\"Robbin CV\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"305":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,10,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"306":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,10,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"307":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,10,false],null],[0,3,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"PPT\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"308":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,10,false],null],[0,3,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"PPT\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"309":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,10,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,10,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"310":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,10,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,10,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"311":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,10,false],null],[0,3,false],null]]},"select":[false,[[0,[0,[0,10,false],null]],[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[[0,10,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"312":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,10,false],null],[0,3,false],null]]},"select":[false,[[0,[0,[0,10,false],null]],[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[[0,10,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"313":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,10,false],null]]]],"where":[],"groupBy":[[0,10,false]],"having":[[false,3,[0,[3,0,false],null],1.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"314":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,10,false],null]]]],"where":[],"groupBy":[[0,10,false]],"having":[[false,3,[0,[3,0,false],null],1.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"315":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,10,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"316":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,10,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"317":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"318":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"319":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,4,false],null]],[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"320":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,4,false],null]],[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"321":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[true,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"322":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[true,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"323":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"PP\"",null],"or",[false,2,[0,[0,5,false],null],"\"PPT\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"324":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"PP\"",null],"or",[false,2,[0,[0,5,false],null],"\"PPT\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"325":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"CV\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"326":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"CV\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"327":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,4,false],null]],[0,[0,[0,5,false],null]]]],"where":[[false,3,[0,[0,4,false],null],5.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"328":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,4,false],null]],[0,[0,[0,5,false],null]]]],"where":[[false,3,[0,[0,4,false],null],5.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"329":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,5,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"330":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,5,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"331":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[[0,5,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"332":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[[0,5,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"333":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[[0,5,false]],"having":[[false,4,[0,[3,0,false],null],3.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"334":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[[0,5,false]],"having":[[false,4,[0,[3,0,false],null],3.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"335":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[2,[0,[0,4,false],null]],[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"336":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[2,[0,[0,4,false],null]],[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"337":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,3,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[[false,2,[0,[0,11,false],null],"\"Data base\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"338":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,3,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[[false,2,[0,[0,11,false],null],"\"Data base\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"339":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,3,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"BK\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"340":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,3,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"BK\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"341":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,3,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,5,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,5,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"342":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,3,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,5,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,5,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"343":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,3,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[[0,5,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"344":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,3,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[[0,5,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"345":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,3,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"346":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,3,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"347":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,1,false],null]],[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"348":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,1,false],null]],[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"349":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,1,false],null],"\"AD\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"350":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,1,false],null],"\"AD\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"351":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,1,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Book\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"352":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,1,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Book\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"353":{"from":{"table_units":[["table_unit",0],["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,5,false],null],"and",[false,2,[0,[0,3,false],null],[0,10,false],null]]},"select":[true,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"354":{"from":{"table_units":[["table_unit",0],["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,5,false],null],"and",[false,2,[0,[0,3,false],null],[0,10,false],null]]},"select":[true,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"355":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,5,false],null]]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Presentation\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"356":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,5,false],null]]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Presentation\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"357":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"358":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"359":{"from":{"table_units":[["table_unit",3],["table_unit",2]],"conds":[[false,2,[0,[0,15,false],null],[0,9,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,11,false],null],"\"Summer Show\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"360":{"from":{"table_units":[["table_unit",3],["table_unit",2]],"conds":[[false,2,[0,[0,15,false],null],[0,9,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,11,false],null],"\"Summer Show\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"361":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,17,false],null]]]],"where":[[false,9,[0,[0,16,false],null],"\"korea\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"362":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,17,false],null]]]],"where":[[false,9,[0,[0,16,false],null],"\"korea\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"363":{"from":{"table_units":[["table_unit",3],["table_unit",2]],"conds":[[false,2,[0,[0,15,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,14,false],null]],[0,[0,[0,16,false],null]]]],"where":[[false,2,[0,[0,11,false],null],"\"Welcome to NY\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"364":{"from":{"table_units":[["table_unit",3],["table_unit",2]],"conds":[[false,2,[0,[0,15,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,14,false],null]],[0,[0,[0,16,false],null]]]],"where":[[false,2,[0,[0,11,false],null],"\"Welcome to NY\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"365":{"from":{"table_units":[["table_unit",3],["table_unit",2]],"conds":[[false,2,[0,[0,15,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,16,false],null]]]],"where":[[false,2,[0,[0,11,false],null],"\"Customer reviews\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"366":{"from":{"table_units":[["table_unit",3],["table_unit",2]],"conds":[[false,2,[0,[0,15,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,16,false],null]]]],"where":[[false,2,[0,[0,11,false],null],"\"Customer reviews\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"367":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,15,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,15,false]],"having":[],"orderBy":["asc",[[0,[0,15,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"368":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,15,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,15,false]],"having":[],"orderBy":["asc",[[0,[0,15,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"369":{"from":{"table_units":[["table_unit",3],["table_unit",2]],"conds":[[false,2,[0,[0,15,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,15,false],null]],[0,[0,[0,11,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,15,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"370":{"from":{"table_units":[["table_unit",3],["table_unit",2]],"conds":[[false,2,[0,[0,15,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,15,false],null]],[0,[0,[0,11,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,15,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"371":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,15,false],null]]]],"where":[],"groupBy":[[0,15,false]],"having":[[false,5,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"372":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,15,false],null]]]],"where":[],"groupBy":[[0,15,false]],"having":[[false,5,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"373":{"from":{"table_units":[["table_unit",3],["table_unit",2]],"conds":[[false,2,[0,[0,15,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,15,false],null]],[0,[0,[0,11,false],null]]]],"where":[],"groupBy":[[0,15,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"374":{"from":{"table_units":[["table_unit",3],["table_unit",2]],"conds":[[false,2,[0,[0,15,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,15,false],null]],[0,[0,[0,11,false],null]]]],"where":[],"groupBy":[[0,15,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"375":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,15,false],null]]]],"where":[],"groupBy":[[0,15,false]],"having":[],"orderBy":["asc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"376":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,15,false],null]]]],"where":[],"groupBy":[[0,15,false]],"having":[],"orderBy":["asc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"377":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,15,false],null]]]],"where":[],"groupBy":[[0,15,false]],"having":[[false,1,[0,[3,0,false],null],1.0,2.0]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"378":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,15,false],null]]]],"where":[],"groupBy":[[0,15,false]],"having":[[false,1,[0,[3,0,false],null],1.0,2.0]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"379":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,15,false],null]]]],"where":[[false,2,[0,[0,16,false],null],"\"Brazil\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,15,false],null]]]],"where":[[false,2,[0,[0,16,false],null],"\"Ireland\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"380":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,15,false],null]]]],"where":[[false,2,[0,[0,16,false],null],"\"Brazil\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,15,false],null]]]],"where":[[false,2,[0,[0,16,false],null],"\"Ireland\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"381":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"382":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"383":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,6,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"384":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,6,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"385":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]],[0,[0,[0,7,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"386":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]],[0,[0,[0,7,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"387":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[[false,7,[0,[0,7,false],null],"\"little lever urban district\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"388":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[[false,7,[0,[0,7,false],null],"\"little lever urban district\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"389":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[[false,2,[0,[0,6,false],null],32.0,null],"or",[false,2,[0,[0,6,false],null],33.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"390":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[[false,2,[0,[0,6,false],null],32.0,null],"or",[false,2,[0,[0,6,false],null],33.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"391":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,7,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,6,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"392":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,7,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,6,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"393":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,7,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,7,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"394":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,7,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,7,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"395":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,7,false],null]]]],"where":[],"groupBy":[[0,7,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"396":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,7,false],null]]]],"where":[],"groupBy":[[0,7,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"397":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,7,false],null]]]],"where":[],"groupBy":[[0,7,false]],"having":[[false,5,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"398":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,7,false],null]]]],"where":[],"groupBy":[[0,7,false]],"having":[[false,5,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"399":{"from":{"table_units":[["table_unit",2],["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,8,false],null],[0,1,false],null],"and",[false,2,[0,[0,9,false],null],[0,4,false],null]]},"select":[false,[[0,[0,[0,5,false],null]],[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"400":{"from":{"table_units":[["table_unit",2],["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,8,false],null],[0,1,false],null],"and",[false,2,[0,[0,9,false],null],[0,4,false],null]]},"select":[false,[[0,[0,[0,5,false],null]],[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"401":{"from":{"table_units":[["table_unit",2],["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,8,false],null],[0,1,false],null],"and",[false,2,[0,[0,9,false],null],[0,4,false],null]]},"select":[false,[[0,[0,[0,5,false],null]],[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,5,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"402":{"from":{"table_units":[["table_unit",2],["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,8,false],null],[0,1,false],null],"and",[false,2,[0,[0,9,false],null],[0,4,false],null]]},"select":[false,[[0,[0,[0,5,false],null]],[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,5,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"403":{"from":{"table_units":[["table_unit",2],["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,8,false],null],[0,1,false],null],"and",[false,2,[0,[0,9,false],null],[0,4,false],null]]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[[false,2,[0,[0,3,false],null],"\"Math\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"404":{"from":{"table_units":[["table_unit",2],["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,8,false],null],[0,1,false],null],"and",[false,2,[0,[0,9,false],null],[0,4,false],null]]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[[false,2,[0,[0,3,false],null],"\"Math\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"405":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,9,false],null],[0,4,false],null]]},"select":[false,[[0,[0,[0,5,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,5,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"406":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,9,false],null],[0,4,false],null]]},"select":[false,[[0,[0,[0,5,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,5,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"407":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,9,false],null],[0,4,false],null]]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[[0,5,false]],"having":[[false,5,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"408":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,9,false],null],[0,4,false],null]]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[[0,5,false]],"having":[[false,5,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"409":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[[true,8,[0,[0,4,false],null],{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"410":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[[true,8,[0,[0,4,false],null],{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"411":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,4,[0,[0,8,false],null],30.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"412":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]]]],"where":[[false,3,[0,[0,7,false],null],4.0,null]],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,7,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"413":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[5,[0,[0,8,false],null]]]],"where":[[false,6,[0,[0,7,false],null],4.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"414":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]],[0,[0,[0,7,false],null]]]],"where":[[false,3,[0,[0,7,false],null],4.0,null]],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,8,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"415":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,1,false],null]],[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,3,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"416":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[5,[0,[0,3,false],null]]]],"where":[[false,4,[0,[0,4,false],null],2009.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"417":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,4,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Plaza Museum\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"418":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,3,[0,[0,3,false],null],{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[2,[0,[0,3,false],null]]]],"where":[[false,3,[0,[0,4,false],null],2010.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"419":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,5,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,5,false],null]],[0,[0,[0,6,false],null]],[0,[0,[0,8,false],null]]]],"where":[],"groupBy":[[0,5,false]],"having":[[false,3,[0,[3,0,false],null],1.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"420":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,5,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,10,false],null]],[0,[0,[0,6,false],null]],[0,[0,[0,7,false],null]]]],"where":[],"groupBy":[[0,10,false]],"having":[],"orderBy":["desc",[[0,[4,12,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"421":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,9,false],null]],[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,9,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"422":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[true,8,[0,[0,1,false],null],{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"423":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,5,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,6,false],null]],[0,[0,[0,8,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,11,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"424":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[5,[0,[0,11,false],null]],[1,[0,[0,11,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"425":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,5,false],null],[0,10,false],null]]},"select":[false,[[4,[0,[0,12,false],null]]]],"where":[[false,2,[0,[0,7,false],null],1.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"426":{"from":{"table_units":[["table_unit",1],["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,5,false],null],[0,10,false],null],"and",[false,2,[0,[0,1,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,6,false],null]]]],"where":[[false,4,[0,[0,4,false],null],2009.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",1],["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,5,false],null],[0,10,false],null],"and",[false,2,[0,[0,1,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,6,false],null]]]],"where":[[false,3,[0,[0,4,false],null],2011.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"427":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[true,8,[0,[0,5,false],null],{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,9,false],null]]},"select":[false,[[0,[0,[0,10,false],null]]]],"where":[[false,3,[0,[0,4,false],null],2010.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"428":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,3,[0,[0,4,false],null],2013.0,null],"or",[false,4,[0,[0,4,false],null],2008.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"429":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"430":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"431":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"432":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"433":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,5,false],null]]]],"where":[[false,2,[0,[0,6,false],null],"\"USA\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"434":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,5,false],null]]]],"where":[[false,2,[0,[0,6,false],null],"\"USA\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"435":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[5,[0,[0,9,false],null]],[5,[0,[0,28,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"436":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[5,[0,[0,9,false],null]],[5,[0,[0,28,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"437":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[5,[0,[0,35,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"438":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[5,[0,[0,35,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"439":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[2,[0,[0,16,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"440":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[2,[0,[0,16,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"441":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,6,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"442":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,6,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"443":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,15,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"444":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,15,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"445":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,27,false],null]]]],"where":[],"groupBy":[[0,27,false]],"having":[[false,3,[0,[3,0,false],null],10.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"446":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,27,false],null]]]],"where":[],"groupBy":[[0,27,false]],"having":[[false,3,[0,[3,0,false],null],10.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"447":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,34,false],null]]]],"where":[[false,2,[0,[0,38,false],null],2013.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,34,false],null]]]],"where":[[false,2,[0,[0,38,false],null],2016.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"448":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,34,false],null]]]],"where":[[false,2,[0,[0,38,false],null],2013.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,34,false],null]]]],"where":[[false,2,[0,[0,38,false],null],2016.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"449":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,38,false],null],2013.0,null],"or",[false,2,[0,[0,38,false],null],2016.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"450":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,38,false],null],2013.0,null],"or",[false,2,[0,[0,38,false],null],2016.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"451":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,32,false],null]]},"select":[false,[[0,[0,[0,6,false],null]],[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,27,false],null],"\"WTA Championships\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,32,false],null]]},"select":[false,[[0,[0,[0,6,false],null]],[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,27,false],null],"\"Australian Open\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"452":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,32,false],null]]},"select":[false,[[0,[0,[0,6,false],null]],[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,27,false],null],"\"WTA Championships\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,32,false],null]]},"select":[false,[[0,[0,[0,6,false],null]],[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,27,false],null],"\"Australian Open\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"453":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,6,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,5,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"454":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,6,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,5,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"455":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,5,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"456":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,5,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"457":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,4,false],null],"\"L\"",null]],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,5,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"458":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,4,false],null],"\"L\"",null]],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,5,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"459":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,41,false],null]]},"select":[false,[[0,[0,[0,6,false],null]],[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,43,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"460":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,41,false],null]]},"select":[false,[[0,[0,[0,6,false],null]],[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,43,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"461":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,38,false],null]]]],"where":[],"groupBy":[[0,38,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"462":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,38,false],null]]]],"where":[],"groupBy":[[0,38,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"463":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,34,false],null]],[0,[0,[0,36,false],null]]]],"where":[],"groupBy":[[0,34,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"464":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,34,false],null]],[0,[0,[0,36,false],null]]]],"where":[],"groupBy":[[0,34,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"465":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,34,false],null]]]],"where":[[false,2,[0,[0,27,false],null],"\"Australian Open\"",null]],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,36,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"466":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,34,false],null]]]],"where":[[false,2,[0,[0,27,false],null],"\"Australian Open\"",null]],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,36,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"467":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,34,false],null]],[0,[0,[0,15,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,20,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"468":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,34,false],null]],[0,[0,[0,15,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,20,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"469":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,41,false],null]]},"select":[false,[[5,[0,[0,40,false],null]],[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,2,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"470":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,41,false],null]]},"select":[false,[[5,[0,[0,40,false],null]],[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,2,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"471":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,41,false],null]]},"select":[false,[[4,[0,[0,42,false],null]],[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,2,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"472":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,41,false],null]]},"select":[false,[[4,[0,[0,42,false],null]],[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,2,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"473":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]],[0,[0,[0,6,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"474":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]],[0,[0,[0,6,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"475":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"476":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"477":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[[false,3,[0,[3,0,false],null],50.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"478":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[[false,3,[0,[3,0,false],null],50.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"479":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[4,[0,[0,43,false],null]],[0,[0,[0,39,false],null]]]],"where":[],"groupBy":[[0,39,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"480":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[4,[0,[0,43,false],null]],[0,[0,[0,39,false],null]]]],"where":[],"groupBy":[[0,39,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"481":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]],[0,[0,[0,38,false],null]]]],"where":[],"groupBy":[[0,38,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"482":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]],[0,[0,[0,38,false],null]]]],"where":[],"groupBy":[[0,38,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"483":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[true,[[0,[0,[0,34,false],null]],[0,[0,[0,35,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,28,false],null]]],"limit":3,"intersect":null,"union":null,"except":null},"484":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[true,[[0,[0,[0,34,false],null]],[0,[0,[0,35,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,28,false],null]]],"limit":3,"intersect":null,"union":null,"except":null},"485":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,34,true],null]]]],"where":[[false,2,[0,[0,27,false],null],"\"WTA Championships\"",null],"and",[false,2,[0,[0,30,false],null],"\"L\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"486":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,34,true],null]]]],"where":[[false,2,[0,[0,27,false],null],"\"WTA Championships\"",null],"and",[false,2,[0,[0,30,false],null],"\"L\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"487":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,32,false],null]]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,6,false],null]],[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,36,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"488":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,32,false],null]]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,6,false],null]],[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,36,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"489":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]],[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[[0,4,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"490":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]],[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[[0,4,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"491":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,13,false],null],"\"Captured\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"492":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]],[0,[0,[0,10,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,9,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"493":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"494":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[1,[0,[0,17,false],null]],[2,[0,[0,17,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"495":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[5,[0,[0,18,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"496":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,14,false],null],[0,8,false],null]]},"select":[false,[[0,[0,[0,17,false],null]],[0,[0,[0,18,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"t\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"497":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,6,false],null]]]],"where":[[false,7,[0,[0,4,false],null],"\"Boril\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"498":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,7,false],null]]},"select":[true,[[0,[0,[0,1,false],null]],[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,11,false],null],"\"Brig\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"499":{"from":{"table_units":[["table_unit",0],["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,7,false],null],"and",[false,2,[0,[0,8,false],null],[0,14,false],null]]},"select":[false,[[0,[0,[0,1,false],null]],[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,1,false]],"having":[[false,3,[0,[4,17,false],null],10.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"500":{"from":{"table_units":[["table_unit",2],["table_unit",1]],"conds":[[false,2,[0,[0,14,false],null],[0,8,false],null]]},"select":[false,[[0,[0,[0,8,false],null]],[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[[0,8,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"501":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,4,false],null],"\"Kaloyan\"",null],"and",[false,2,[0,[0,5,false],null],"\"Baldwin I\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"502":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,6,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"503":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[true,8,[0,[0,1,false],null],{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,7,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"225\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"504":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,7,false],null]]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,9,false],null],"\"Lettice\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,7,false],null]]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,9,false],null],"\"HMS Atalanta\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"505":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,6,false],null]],[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,7,false],null]]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,6,false],null]],[0,[0,[0,4,false],null]]]],"where":[[false,2,[0,[0,12,false],null],"\"English Channel\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"506":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,16,false],null]]]],"where":[[false,9,[0,[0,16,false],null],"\"%East%\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"507":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"508":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"509":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"510":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"511":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,12,false],null]]]],"where":[[false,2,[0,[0,11,false],null],"\"math\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"512":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,12,false],null]]]],"where":[[false,2,[0,[0,11,false],null],"\"math\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"513":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"Port Chelsea\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"514":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]]]],"where":[[false,2,[0,[0,5,false],null],"\"Port Chelsea\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"515":{"from":{"table_units":[["table_unit",3],["table_unit",2]],"conds":[[false,2,[0,[0,19,false],null],[0,14,false],null]]},"select":[false,[[0,[0,[0,15,false],null]],[0,[0,[0,19,false],null]]]],"where":[],"groupBy":[[0,19,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"516":{"from":{"table_units":[["table_unit",3],["table_unit",2]],"conds":[[false,2,[0,[0,19,false],null],[0,14,false],null]]},"select":[false,[[0,[0,[0,15,false],null]],[0,[0,[0,19,false],null]]]],"where":[],"groupBy":[[0,19,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"517":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[3,[0,[0,19,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"518":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[3,[0,[0,19,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"519":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[3,[0,[0,20,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"520":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[3,[0,[0,20,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"521":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,14,false],null],[0,19,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,15,false],null],"\"engineer\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"522":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,14,false],null],[0,19,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,15,false],null],"\"engineer\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"523":{"from":{"table_units":[["table_unit",4]],"conds":[]},"select":[false,[[0,[0,[0,25,false],null]],[0,[0,[0,26,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"524":{"from":{"table_units":[["table_unit",4]],"conds":[]},"select":[false,[[0,[0,[0,25,false],null]],[0,[0,[0,26,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"525":{"from":{"table_units":[["table_unit",1],["table_unit",4]],"conds":[[false,2,[0,[0,10,false],null],[0,24,false],null]]},"select":[false,[[0,[0,[0,11,false],null]],[0,[0,[0,10,false],null]]]],"where":[],"groupBy":[[0,10,false]],"having":[[false,6,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"526":{"from":{"table_units":[["table_unit",1],["table_unit",4]],"conds":[[false,2,[0,[0,10,false],null],[0,24,false],null]]},"select":[false,[[0,[0,[0,11,false],null]],[0,[0,[0,10,false],null]]]],"where":[],"groupBy":[[0,10,false]],"having":[[false,6,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"527":{"from":{"table_units":[["table_unit",4]],"conds":[]},"select":[false,[[0,[0,[0,25,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,25,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"528":{"from":{"table_units":[["table_unit",4]],"conds":[]},"select":[false,[[0,[0,[0,25,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,25,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"529":{"from":{"table_units":[["table_unit",5],["table_unit",7]],"conds":[[false,2,[0,[0,28,false],null],[0,46,false],null]]},"select":[false,[[0,[0,[0,29,false],null]],[0,[0,[0,28,false],null]]]],"where":[],"groupBy":[[0,28,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"530":{"from":{"table_units":[["table_unit",5],["table_unit",7]],"conds":[[false,2,[0,[0,28,false],null],[0,46,false],null]]},"select":[false,[[0,[0,[0,29,false],null]],[0,[0,[0,28,false],null]]]],"where":[],"groupBy":[[0,28,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"531":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,16,false],null]]]],"where":[[false,9,[0,[0,15,false],null],"\"%computer%\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"532":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,16,false],null]]]],"where":[[false,9,[0,[0,15,false],null],"\"%computer%\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"533":{"from":{"table_units":[["table_unit",6],["table_unit",7]],"conds":[[false,2,[0,[0,32,false],null],[0,47,false],null]]},"select":[false,[[0,[0,[0,35,false],null]],[0,[0,[0,36,false],null]],[0,[0,[0,37,false],null]],[0,[0,[0,32,false],null]]]],"where":[],"groupBy":[[0,32,false]],"having":[[false,2,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"534":{"from":{"table_units":[["table_unit",6],["table_unit",7]],"conds":[[false,2,[0,[0,32,false],null],[0,47,false],null]]},"select":[false,[[0,[0,[0,35,false],null]],[0,[0,[0,36,false],null]],[0,[0,[0,37,false],null]],[0,[0,[0,32,false],null]]]],"where":[],"groupBy":[[0,32,false]],"having":[[false,2,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"535":{"from":{"table_units":[["table_unit",6],["table_unit",7],["table_unit",3]],"conds":[[false,2,[0,[0,32,false],null],[0,47,false],null],"and",[false,2,[0,[0,45,false],null],[0,18,false],null]]},"select":[true,[[0,[0,[0,35,false],null]],[0,[0,[0,36,false],null]],[0,[0,[0,37,false],null]]]],"where":[[false,2,[0,[0,20,false],null],"\"Bachelor\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"536":{"from":{"table_units":[["table_unit",6],["table_unit",7],["table_unit",3]],"conds":[[false,2,[0,[0,32,false],null],[0,47,false],null],"and",[false,2,[0,[0,45,false],null],[0,18,false],null]]},"select":[true,[[0,[0,[0,35,false],null]],[0,[0,[0,36,false],null]],[0,[0,[0,37,false],null]]]],"where":[[false,2,[0,[0,20,false],null],"\"Bachelor\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"537":{"from":{"table_units":[["table_unit",3],["table_unit",7]],"conds":[[false,2,[0,[0,18,false],null],[0,45,false],null]]},"select":[false,[[0,[0,[0,20,false],null]]]],"where":[],"groupBy":[[0,20,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"538":{"from":{"table_units":[["table_unit",3],["table_unit",7]],"conds":[[false,2,[0,[0,18,false],null],[0,45,false],null]]},"select":[false,[[0,[0,[0,20,false],null]]]],"where":[],"groupBy":[[0,20,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"539":{"from":{"table_units":[["table_unit",3],["table_unit",7]],"conds":[[false,2,[0,[0,18,false],null],[0,45,false],null]]},"select":[false,[[0,[0,[0,18,false],null]],[0,[0,[0,20,false],null]]]],"where":[],"groupBy":[[0,18,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"540":{"from":{"table_units":[["table_unit",3],["table_unit",7]],"conds":[[false,2,[0,[0,18,false],null],[0,45,false],null]]},"select":[false,[[0,[0,[0,18,false],null]],[0,[0,[0,20,false],null]]]],"where":[],"groupBy":[[0,18,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"541":{"from":{"table_units":[["table_unit",6],["table_unit",7]],"conds":[[false,2,[0,[0,32,false],null],[0,47,false],null]]},"select":[false,[[0,[0,[0,32,false],null]],[0,[0,[0,35,false],null]],[0,[0,[0,36,false],null]],[0,[0,[0,37,false],null]],[3,[0,[0,0,false],null]],[0,[0,[0,32,false],null]]]],"where":[],"groupBy":[[0,32,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"542":{"from":{"table_units":[["table_unit",6],["table_unit",7]],"conds":[[false,2,[0,[0,32,false],null],[0,47,false],null]]},"select":[false,[[0,[0,[0,32,false],null]],[0,[0,[0,35,false],null]],[0,[0,[0,36,false],null]],[0,[0,[0,37,false],null]],[3,[0,[0,0,false],null]],[0,[0,[0,32,false],null]]]],"where":[],"groupBy":[[0,32,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"543":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[0,[0,[0,29,false],null]]]],"where":[[true,8,[0,[0,28,false],null],{"from":{"table_units":[["table_unit",7]],"conds":[]},"select":[false,[[0,[0,[0,46,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"544":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[0,[0,[0,29,false],null]]]],"where":[[true,8,[0,[0,28,false],null],{"from":{"table_units":[["table_unit",7]],"conds":[]},"select":[false,[[0,[0,[0,46,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"545":{"from":{"table_units":[["table_unit",1],["table_unit",8]],"conds":[[false,2,[0,[0,10,false],null],[0,50,false],null]]},"select":[true,[[0,[0,[0,11,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"546":{"from":{"table_units":[["table_unit",1],["table_unit",8]],"conds":[[false,2,[0,[0,10,false],null],[0,50,false],null]]},"select":[true,[[0,[0,[0,11,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"547":{"from":{"table_units":[["table_unit",1],["table_unit",8]],"conds":[[false,2,[0,[0,10,false],null],[0,50,false],null]]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[],"groupBy":[[0,11,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"548":{"from":{"table_units":[["table_unit",1],["table_unit",8]],"conds":[[false,2,[0,[0,10,false],null],[0,50,false],null]]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[],"groupBy":[[0,11,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"549":{"from":{"table_units":[["table_unit",6],["table_unit",0]],"conds":[[false,2,[0,[0,33,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,37,false],null]]]],"where":[[false,2,[0,[0,7,false],null],"\"NorthCarolina\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",6],["table_unit",7]],"conds":[[false,2,[0,[0,32,false],null],[0,47,false],null]]},"select":[true,[[0,[0,[0,37,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"550":{"from":{"table_units":[["table_unit",6],["table_unit",0]],"conds":[[false,2,[0,[0,33,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,37,false],null]]]],"where":[[false,2,[0,[0,7,false],null],"\"NorthCarolina\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",6],["table_unit",7]],"conds":[[false,2,[0,[0,32,false],null],[0,47,false],null]]},"select":[true,[[0,[0,[0,37,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"551":{"from":{"table_units":[["table_unit",10],["table_unit",9]],"conds":[[false,2,[0,[0,56,false],null],[0,52,false],null]]},"select":[false,[[0,[0,[0,53,false],null]],[0,[0,[0,56,false],null]]]],"where":[],"groupBy":[[0,56,false]],"having":[[false,5,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"552":{"from":{"table_units":[["table_unit",10],["table_unit",9]],"conds":[[false,2,[0,[0,56,false],null],[0,52,false],null]]},"select":[false,[[0,[0,[0,53,false],null]],[0,[0,[0,56,false],null]]]],"where":[],"groupBy":[[0,56,false]],"having":[[false,5,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"553":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[0,[0,[0,38,false],null]]]],"where":[[false,2,[0,[0,35,false],null],"\"Timmothy\"",null],"and",[false,2,[0,[0,37,false],null],"\"Ward\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"554":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[0,[0,[0,38,false],null]]]],"where":[[false,2,[0,[0,35,false],null],"\"timmothy\"",null],"and",[false,2,[0,[0,37,false],null],"\"ward\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"555":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[0,[0,[0,35,false],null]],[0,[0,[0,36,false],null]],[0,[0,[0,37,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,41,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"556":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[0,[0,[0,35,false],null]],[0,[0,[0,36,false],null]],[0,[0,[0,37,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,41,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"557":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[0,[0,[0,35,false],null]],[0,[0,[0,36,false],null]],[0,[0,[0,37,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,42,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"558":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[0,[0,[0,35,false],null]],[0,[0,[0,36,false],null]],[0,[0,[0,37,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,42,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"559":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[0,[0,[0,35,false],null]]]],"where":[[false,7,[0,[0,33,false],null],[0,34,false],null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"560":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[0,[0,[0,35,false],null]]]],"where":[[false,7,[0,[0,33,false],null],[0,34,false],null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"561":{"from":{"table_units":[["table_unit",0],["table_unit",6]],"conds":[[false,2,[0,[0,1,false],null],[0,33,false],null]]},"select":[false,[[0,[0,[0,1,false],null]],[0,[0,[0,2,false],null]],[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[[0,1,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"562":{"from":{"table_units":[["table_unit",0],["table_unit",6]],"conds":[[false,2,[0,[0,1,false],null],[0,33,false],null]]},"select":[false,[[0,[0,[0,1,false],null]],[0,[0,[0,2,false],null]],[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[[0,1,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"563":{"from":{"table_units":[["table_unit",9]],"conds":[]},"select":[false,[[5,[0,[0,53,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"564":{"from":{"table_units":[["table_unit",9]],"conds":[]},"select":[false,[[5,[0,[0,53,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"565":{"from":{"table_units":[["table_unit",9]],"conds":[]},"select":[false,[[0,[0,[0,53,false],null]],[0,[0,[0,54,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,53,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"566":{"from":{"table_units":[["table_unit",9]],"conds":[]},"select":[false,[[0,[0,[0,53,false],null]],[0,[0,[0,54,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,53,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"567":{"from":{"table_units":[["table_unit",9]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"568":{"from":{"table_units":[["table_unit",9]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"569":{"from":{"table_units":[["table_unit",9]],"conds":[]},"select":[false,[[0,[0,[0,53,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,53,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"570":{"from":{"table_units":[["table_unit",9]],"conds":[]},"select":[false,[[0,[0,[0,53,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,53,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"571":{"from":{"table_units":[["table_unit",10]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]],[0,[0,[0,55,false],null]]]],"where":[],"groupBy":[[0,55,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"572":{"from":{"table_units":[["table_unit",10]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]],[0,[0,[0,55,false],null]]]],"where":[],"groupBy":[[0,55,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"573":{"from":{"table_units":[["table_unit",10],["table_unit",9]],"conds":[[false,2,[0,[0,56,false],null],[0,52,false],null]]},"select":[false,[[0,[0,[0,53,false],null]],[0,[0,[0,56,false],null]]]],"where":[],"groupBy":[[0,56,false]],"having":[],"orderBy":["asc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"574":{"from":{"table_units":[["table_unit",10],["table_unit",9]],"conds":[[false,2,[0,[0,56,false],null],[0,52,false],null]]},"select":[false,[[0,[0,[0,53,false],null]],[0,[0,[0,56,false],null]]]],"where":[],"groupBy":[[0,56,false]],"having":[],"orderBy":["asc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"575":{"from":{"table_units":[["table_unit",3],["table_unit",7]],"conds":[[false,2,[0,[0,18,false],null],[0,45,false],null]]},"select":[true,[[0,[0,[0,46,false],null]]]],"where":[[false,2,[0,[0,20,false],null],"\"Master\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",3],["table_unit",7]],"conds":[[false,2,[0,[0,18,false],null],[0,45,false],null]]},"select":[true,[[0,[0,[0,46,false],null]]]],"where":[[false,2,[0,[0,20,false],null],"\"Bachelor\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"576":{"from":{"table_units":[["table_unit",3],["table_unit",7]],"conds":[[false,2,[0,[0,18,false],null],[0,45,false],null]]},"select":[true,[[0,[0,[0,46,false],null]]]],"where":[[false,2,[0,[0,20,false],null],"\"Master\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",3],["table_unit",7]],"conds":[[false,2,[0,[0,18,false],null],[0,45,false],null]]},"select":[true,[[0,[0,[0,46,false],null]]]],"where":[[false,2,[0,[0,20,false],null],"\"Bachelor\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"577":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[3,[0,[0,33,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"578":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[3,[0,[0,33,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"579":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[0,[0,[0,43,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,43,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"580":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[0,[0,[0,43,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,43,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"581":{"from":{"table_units":[["table_unit",4]],"conds":[]},"select":[false,[[0,[0,[0,26,false],null]]]],"where":[[false,2,[0,[0,25,false],null],"\"h\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"582":{"from":{"table_units":[["table_unit",4]],"conds":[]},"select":[false,[[0,[0,[0,26,false],null]]]],"where":[[false,2,[0,[0,25,false],null],"\"h\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"583":{"from":{"table_units":[["table_unit",6],["table_unit",0]],"conds":[[false,2,[0,[0,34,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,35,false],null]]]],"where":[[false,2,[0,[0,8,false],null],"\"haiti\"",null],"or",[false,2,[0,[0,38,false],null],"\"09700166582\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"584":{"from":{"table_units":[["table_unit",6],["table_unit",0]],"conds":[[false,2,[0,[0,34,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,35,false],null]]]],"where":[[false,2,[0,[0,8,false],null],"\"haiti\"",null],"or",[false,2,[0,[0,38,false],null],"\"09700166582\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"585":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,20,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,20,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"586":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,20,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,20,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"587":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,20,false],null]]]],"where":[[false,2,[0,[0,21,false],null],"\"Ben Jones\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"588":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,20,false],null]]]],"where":[[false,2,[0,[0,21,false],null],"\"Ben Jones\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"589":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,22,false],null],"\"Joseph Kuhr\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"590":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,22,false],null],"\"Joseph Kuhr\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"591":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,20,false],null]],[0,[0,[0,21,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,23,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"592":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,20,false],null]],[0,[0,[0,21,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,23,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"593":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,20,false],null]]]],"where":[[false,2,[0,[0,21,false],null],"\"Ben Jones\"",null],"or",[false,2,[0,[0,21,false],null],"\"Brandon Vietti\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"594":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,20,false],null]]]],"where":[[false,2,[0,[0,21,false],null],"\"Ben Jones\"",null],"or",[false,2,[0,[0,21,false],null],"\"Brandon Vietti\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"595":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,3,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"596":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,3,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"597":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,2,true],null]],[3,[0,[0,5,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"598":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,2,true],null]],[3,[0,[0,5,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"599":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Sky Radio\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"600":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Sky Radio\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"601":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Sky Radio\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"602":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Sky Radio\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"603":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,4,false],null],"\"English\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"604":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,4,false],null],"\"English\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"605":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,4,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,4,false]],"having":[],"orderBy":["asc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"606":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,4,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,4,false]],"having":[],"orderBy":["asc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"607":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,4,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,4,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"608":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,4,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,4,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"609":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,25,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,20,false],null],"\"The Rise of the Blue Beetle!\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"610":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,25,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,20,false],null],"\"The Rise of the Blue Beetle!\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"611":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,25,false],null]]},"select":[false,[[0,[0,[0,20,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Sky Radio\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"612":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,25,false],null]]},"select":[false,[[0,[0,[0,20,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Sky Radio\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"613":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,13,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"614":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,13,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"615":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]],[0,[0,[0,13,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,13,false],null]]],"limit":3,"intersect":null,"union":null,"except":null},"616":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]],[0,[0,[0,13,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,13,false],null]]],"limit":3,"intersect":null,"union":null,"except":null},"617":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[1,[0,[0,14,false],null]],[2,[0,[0,14,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"618":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[1,[0,[0,14,false],null]],[2,[0,[0,14,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"619":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,12,false],null]]]],"where":[[false,2,[0,[0,11,false],null],"\"A Love of a Lifetime\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"620":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,12,false],null]]]],"where":[[false,2,[0,[0,11,false],null],"\"A Love of a Lifetime\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"621":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,17,false],null]]]],"where":[[false,2,[0,[0,11,false],null],"\"A Love of a Lifetime\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"622":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,17,false],null]]]],"where":[[false,2,[0,[0,11,false],null],"\"A Love of a Lifetime\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"623":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,18,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,11,false],null],"\"A Love of a Lifetime\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"624":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,18,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,11,false],null],"\"A Love of a Lifetime\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"625":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,18,false],null]]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Sky Radio\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"626":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,18,false],null]]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Sky Radio\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"627":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]],[0,[0,[0,21,false],null]]]],"where":[],"groupBy":[[0,21,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"628":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]],[0,[0,[0,21,false],null]]]],"where":[],"groupBy":[[0,21,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"629":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,24,false],null]],[0,[0,[0,25,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,23,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"630":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,24,false],null]],[0,[0,[0,25,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,23,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"631":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]],[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,7,false],null],"\"yes\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"632":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]],[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,7,false],null],"\"yes\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"633":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,25,false],null]]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,22,false],null],"\"Todd Casey\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"634":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,25,false],null]]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,22,false],null],"\"Todd Casey\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"635":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,25,false],null]]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,22,false],null],"\"Todd Casey\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"636":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,25,false],null]]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,22,false],null],"\"Todd Casey\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"637":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,25,false],null]]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,21,false],null],"\"Michael Chang\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,25,false],null]]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,21,false],null],"\"Ben Jones\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"638":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,25,false],null]]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,21,false],null],"\"Michael Chang\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,1,false],null],[0,25,false],null]]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,21,false],null],"\"Ben Jones\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"639":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]],[0,[0,[0,3,false],null]]]],"where":[[false,7,[0,[0,4,false],null],"\"English\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"640":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]],[0,[0,[0,3,false],null]]]],"where":[[false,7,[0,[0,4,false],null],"\"English\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"641":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,1,false],null]]]],"where":[],"groupBy":[[0,3,false]],"having":[[false,3,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"642":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,1,false],null]]]],"where":[],"groupBy":[[0,3,false]],"having":[[false,3,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"643":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,1,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,25,false],null]]]],"where":[[false,2,[0,[0,21,false],null],"\"Ben Jones\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"644":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,1,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,25,false],null]]]],"where":[[false,2,[0,[0,21,false],null],"\"Ben Jones\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"645":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[true,8,[0,[0,1,false],null],{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,25,false],null]]]],"where":[[false,2,[0,[0,21,false],null],"\"Ben Jones\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"646":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[true,8,[0,[0,1,false],null],{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,25,false],null]]]],"where":[[false,2,[0,[0,21,false],null],"\"Ben Jones\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"647":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"648":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"649":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,6,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"650":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,6,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"651":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"652":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"653":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[5,[0,[0,6,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"654":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[5,[0,[0,6,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"655":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,6,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"656":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,6,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"657":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[1,[0,[0,3,false],null]]]],"where":[[false,4,[0,[0,6,false],null],200000.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"658":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[1,[0,[0,3,false],null]]]],"where":[[false,4,[0,[0,6,false],null],200000.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"659":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,7,false],null],[0,2,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"660":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,7,false],null],[0,2,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"661":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,7,false],null],[0,2,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,3,[0,[0,6,false],null],300000.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"662":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,7,false],null],[0,2,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,3,[0,[0,6,false],null],300000.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"663":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,7,false],null],[0,2,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,3,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"664":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,7,false],null],[0,2,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,3,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"665":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,7,false],null],[0,2,false],null]]},"select":[false,[[0,[0,[0,10,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,6,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"666":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,7,false],null],[0,2,false],null]]},"select":[false,[[0,[0,[0,10,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,6,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"667":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,7,false],null],[0,2,false],null]]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,11,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"668":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,7,false],null],[0,2,false],null]]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,11,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"669":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,7,false],null],[0,2,false],null]]},"select":[false,[[5,[0,[0,6,false],null]]]],"where":[[false,3,[0,[0,11,false],null],200.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"670":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,7,false],null],[0,2,false],null]]},"select":[false,[[5,[0,[0,6,false],null]]]],"where":[[false,3,[0,[0,11,false],null],200.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"671":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,7,false],null],[0,2,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,6,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"672":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,7,false],null],[0,2,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,6,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"673":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,8,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,8,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"674":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,8,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,8,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"675":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,8,false],null]]]],"where":[],"groupBy":[[0,8,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"676":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,8,false],null]]]],"where":[],"groupBy":[[0,8,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"677":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,8,false],null]]]],"where":[],"groupBy":[[0,8,false]],"having":[[false,5,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"678":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,8,false],null]]]],"where":[],"groupBy":[[0,8,false]],"having":[[false,5,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"679":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]],[0,[0,[0,10,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,9,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"680":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]],[0,[0,[0,10,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,9,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"681":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,7,[0,[0,8,false],null],"\"Russia\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"682":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,7,[0,[0,8,false],null],"\"Russia\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"683":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[true,8,[0,[0,7,false],null],{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"684":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[true,8,[0,[0,7,false],null],{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"685":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,8,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"686":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,8,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"687":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"688":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,4,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"689":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]],[0,[0,[0,6,false],null]],[0,[0,[0,7,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"690":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[1,[0,[0,1,false],null]],[2,[0,[0,1,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"691":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[1,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,7,false],null],"\"CA\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"692":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,4,false],null]]]],"where":[[false,7,[0,[0,4,false],null],"\"Jessie Alloway\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"693":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[true,[[0,[0,[0,7,false],null]],[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"694":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,3,false],null],[0,8,false],null]]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[[0,3,false]],"having":[[false,5,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"695":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,3,false],null],[0,8,false],null]]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[[0,3,false]],"having":[],"orderBy":["asc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"696":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,7,false],null],"\"NY\"",null],"or",[false,2,[0,[0,7,false],null],"\"CA\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"697":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[true,8,[0,[0,3,false],null],{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,8,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"698":{"from":{"table_units":[["table_unit",0],["table_unit",2]],"conds":[[false,2,[0,[0,2,false],null],[0,7,false],null]]},"select":[false,[[0,[0,[0,1,false],null]]]],"where":[],"groupBy":[[0,1,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"699":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,3,false],null],[0,8,false],null]]},"select":[false,[[0,[0,[0,9,false],null]],[0,[0,[0,7,false],null]],[0,[0,[0,6,false],null]]]],"where":[[false,2,[0,[0,4,false],null],"\"Tabatha Gehling\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"700":{"from":{"table_units":[["table_unit",1],["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,3,false],null],[0,8,false],null],"and",[false,2,[0,[0,7,false],null],[0,2,false],null]]},"select":[false,[[0,[0,[0,1,false],null]]]],"where":[[false,2,[0,[0,4,false],null],"\"Tabatha Gehling\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",1],["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,3,false],null],[0,8,false],null],"and",[false,2,[0,[0,7,false],null],[0,2,false],null]]},"select":[false,[[0,[0,[0,1,false],null]]]],"where":[[false,2,[0,[0,4,false],null],"\"Kelly Clauss\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"701":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,4,false],null]]]],"where":[[false,9,[0,[0,4,false],null],"\"%al%\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"702":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,3,[0,[0,13,false],null],1950.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"703":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,3,[0,[0,13,false],null],1950.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"704":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,19,false],null],"\"Republic\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"705":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,19,false],null],"\"Republic\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"706":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[4,[0,[0,12,false],null]]]],"where":[[false,2,[0,[0,11,false],null],"\"Caribbean\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"707":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[4,[0,[0,12,false],null]]]],"where":[[false,2,[0,[0,11,false],null],"\"Caribbean\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"708":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,10,false],null]]]],"where":[[false,2,[0,[0,9,false],null],"\"Anguilla\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"709":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,10,false],null]]]],"where":[[false,2,[0,[0,9,false],null],"\"Anguilla\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"710":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,8,false],null],[0,3,false],null]]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Kabul\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"711":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,8,false],null],[0,3,false],null]]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Kabul\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"712":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,24,false],null]]]],"where":[[false,2,[0,[0,9,false],null],"\"Aruba\"",null]],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,26,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"713":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,24,false],null]]]],"where":[[false,2,[0,[0,9,false],null],"\"Aruba\"",null]],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,26,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"714":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,14,false],null]],[0,[0,[0,15,false],null]]]],"where":[[false,2,[0,[0,9,false],null],"\"Brazil\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"715":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,14,false],null]],[0,[0,[0,15,false],null]]]],"where":[[false,2,[0,[0,9,false],null],"\"Brazil\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"716":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,14,false],null]],[0,[0,[0,11,false],null]]]],"where":[[false,2,[0,[0,9,false],null],"\"Angola\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"717":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,14,false],null]],[0,[0,[0,11,false],null]]]],"where":[[false,2,[0,[0,9,false],null],"\"Angola\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"718":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[5,[0,[0,15,false],null]]]],"where":[[false,2,[0,[0,11,false],null],"\"Central Africa\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"719":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[5,[0,[0,15,false],null]]]],"where":[[false,2,[0,[0,11,false],null],"\"Central Africa\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"720":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Asia\"",null]],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,15,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"721":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Asia\"",null]],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,15,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"722":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[4,[0,[0,14,false],null]],[1,[0,[0,16,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Asia\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"723":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[4,[0,[0,14,false],null]],[1,[0,[0,16,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Asia\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"724":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[5,[0,[0,15,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Africa\"",null],"and",[false,2,[0,[0,19,false],null],"\"Republic\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"725":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[5,[0,[0,15,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Africa\"",null],"and",[false,2,[0,[0,19,false],null],"\"Republic\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"726":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[4,[0,[0,12,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Asia\"",null],"or",[false,2,[0,[0,10,false],null],"\"Europe\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"727":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[4,[0,[0,12,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Asia\"",null],"or",[false,2,[0,[0,10,false],null],"\"Europe\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"728":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[4,[0,[0,5,false],null]]]],"where":[[false,2,[0,[0,4,false],null],"\"Gelderland\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"729":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[4,[0,[0,5,false],null]]]],"where":[[false,2,[0,[0,4,false],null],"\"Gelderland\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"730":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[5,[0,[0,16,false],null]],[4,[0,[0,14,false],null]]]],"where":[[false,2,[0,[0,19,false],null],"\"US Territory\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"731":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[5,[0,[0,16,false],null]],[4,[0,[0,14,false],null]]]],"where":[[false,2,[0,[0,19,false],null],"\"US Territory\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"732":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[3,[0,[0,24,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"733":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[3,[0,[0,24,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"734":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,19,true],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Africa\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"735":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,19,true],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Africa\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"736":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[3,[0,[0,24,false],null]]]],"where":[[false,2,[0,[0,9,false],null],"\"Aruba\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"737":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[3,[0,[0,24,false],null]]]],"where":[[false,2,[0,[0,9,false],null],"\"Aruba\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"738":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,9,false],null],"\"Afghanistan\"",null],"and",[false,2,[0,[0,25,false],null],"\"T\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"739":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,9,false],null],"\"Afghanistan\"",null],"and",[false,2,[0,[0,25,false],null],"\"T\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"740":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[[0,9,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"741":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[[0,9,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"742":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,10,false],null]]]],"where":[],"groupBy":[[0,10,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"743":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,10,false],null]]]],"where":[],"groupBy":[[0,10,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"744":{"from":{"table_units":[["sql",{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"English\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"Dutch\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null}]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"745":{"from":{"table_units":[["sql",{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"English\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"Dutch\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null}]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"746":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"English\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"French\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"747":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"English\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"French\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"748":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"English\"",null],"and",[false,2,[0,[0,25,false],null],"\"T\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"French\"",null],"and",[false,2,[0,[0,25,false],null],"\"T\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"749":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"English\"",null],"and",[false,2,[0,[0,25,false],null],"\"T\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"French\"",null],"and",[false,2,[0,[0,25,false],null],"\"T\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"750":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[3,[0,[0,10,true],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"Chinese\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"751":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[3,[0,[0,10,true],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"Chinese\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"752":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[true,[[0,[0,[0,11,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"English\"",null],"or",[false,2,[0,[0,24,false],null],"\"Dutch\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"753":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[true,[[0,[0,[0,11,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"English\"",null],"or",[false,2,[0,[0,24,false],null],"\"Dutch\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"754":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"english\"",null],"and",[false,2,[0,[0,25,false],null],"\"t\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"dutch\"",null],"and",[false,2,[0,[0,25,false],null],"\"t\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"except":null},"755":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"English\"",null],"and",[false,2,[0,[0,25,false],null],"\"T\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"Dutch\"",null],"and",[false,2,[0,[0,25,false],null],"\"T\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"except":null},"756":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,24,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Asia\"",null]],"groupBy":[[0,24,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"757":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,24,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Asia\"",null]],"groupBy":[[0,24,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"758":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,24,false],null]]]],"where":[[false,2,[0,[0,19,false],null],"\"Republic\"",null]],"groupBy":[[0,24,false]],"having":[[false,2,[0,[3,0,false],null],1.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"759":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,24,false],null]]]],"where":[[false,2,[0,[0,19,false],null],"\"Republic\"",null]],"groupBy":[[0,24,false]],"having":[[false,2,[0,[3,0,false],null],1.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"760":{"from":{"table_units":[["table_unit",0],["table_unit",3]],"conds":[[false,2,[0,[0,3,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,5,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"English\"",null]],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,5,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"761":{"from":{"table_units":[["table_unit",0],["table_unit",3]],"conds":[[false,2,[0,[0,3,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,5,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"English\"",null]],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,5,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"762":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]],[0,[0,[0,14,false],null]],[0,[0,[0,15,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Asia\"",null]],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,12,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"763":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]],[0,[0,[0,14,false],null]],[0,[0,[0,15,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Asia\"",null]],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,12,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"764":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[5,[0,[0,15,false],null]]]],"where":[[true,8,[0,[0,9,false],null],{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"English\"",null],"and",[false,2,[0,[0,25,false],null],"\"T\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"765":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[5,[0,[0,15,false],null]]]],"where":[[true,8,[0,[0,9,false],null],{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"English\"",null],"and",[false,2,[0,[0,25,false],null],"\"T\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"766":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[4,[0,[0,14,false],null]]]],"where":[[true,8,[0,[0,9,false],null],{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"English\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"767":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[4,[0,[0,14,false],null]]]],"where":[[true,8,[0,[0,9,false],null],{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"English\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"768":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,24,false],null]]]],"where":[[false,2,[0,[0,20,false],null],"\"Beatrix\"",null],"and",[false,2,[0,[0,25,false],null],"\"T\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"769":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,24,false],null]]]],"where":[[false,2,[0,[0,20,false],null],"\"Beatrix\"",null],"and",[false,2,[0,[0,25,false],null],"\"T\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"770":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[3,[0,[0,24,true],null]]]],"where":[[false,4,[0,[0,13,false],null],1930.0,null],"and",[false,2,[0,[0,25,false],null],"\"T\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"771":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[3,[0,[0,24,true],null]]]],"where":[[false,4,[0,[0,13,false],null],1930.0,null],"and",[false,2,[0,[0,25,false],null],"\"T\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"772":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,3,[0,[0,12,false],null],{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[2,[0,[0,12,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Europe\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"773":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,3,[0,[0,12,false],null],{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[2,[0,[0,12,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Europe\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"774":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Africa\"",null],"and",[false,4,[0,[0,14,false],null],{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[1,[0,[0,14,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Asia\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"775":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Africa\"",null],"and",[false,4,[0,[0,14,false],null],{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[2,[0,[0,14,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Asia\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"776":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Asia\"",null],"and",[false,3,[0,[0,14,false],null],{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[1,[0,[0,14,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Africa\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"777":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Asia\"",null],"and",[false,3,[0,[0,14,false],null],{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[2,[0,[0,14,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Africa\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"778":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,23,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,23,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"English\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"779":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,23,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,23,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"English\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"780":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[true,[[0,[0,[0,23,false],null]]]],"where":[[false,7,[0,[0,24,false],null],"\"English\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"781":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[true,[[0,[0,[0,23,false],null]]]],"where":[[false,7,[0,[0,24,false],null],"\"English\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"782":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,8,false],null]]]],"where":[[false,7,[0,[0,19,false],null],"\"Republic\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,23,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"English\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"783":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,8,false],null]]]],"where":[[false,7,[0,[0,19,false],null],"\"Republic\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,23,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"English\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"784":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,3,false],null],[0,8,false],null]]},"select":[true,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Europe\"",null],"and",[true,8,[0,[0,9,false],null],{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,25,false],null],"\"T\"",null],"and",[false,2,[0,[0,24,false],null],"\"English\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"785":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,3,false],null],[0,8,false],null]]},"select":[true,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Europe\"",null],"and",[true,8,[0,[0,9,false],null],{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,25,false],null],"\"T\"",null],"and",[false,2,[0,[0,24,false],null],"\"English\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"786":{"from":{"table_units":[["table_unit",2],["table_unit",3],["table_unit",0]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null],"and",[false,2,[0,[0,8,false],null],[0,3,false],null]]},"select":[true,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,25,false],null],"\"t\"",null],"and",[false,2,[0,[0,24,false],null],"\"chinese\"",null],"and",[false,2,[0,[0,10,false],null],"\"asia\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"787":{"from":{"table_units":[["table_unit",2],["table_unit",3],["table_unit",0]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null],"and",[false,2,[0,[0,8,false],null],[0,3,false],null]]},"select":[true,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,25,false],null],"\"T\"",null],"and",[false,2,[0,[0,24,false],null],"\"Chinese\"",null],"and",[false,2,[0,[0,10,false],null],"\"Asia\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"788":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]],[0,[0,[0,12,false],null]],[0,[0,[0,13,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,14,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"789":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]],[0,[0,[0,12,false],null]],[0,[0,[0,13,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,14,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"790":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]],[0,[0,[0,14,false],null]],[0,[0,[0,20,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,12,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"791":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]],[0,[0,[0,14,false],null]],[0,[0,[0,20,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,12,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"792":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[3,[0,[0,24,false],null]],[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[[0,9,false]],"having":[[false,3,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"793":{"from":{"table_units":[["table_unit",2],["table_unit",3]],"conds":[[false,2,[0,[0,8,false],null],[0,23,false],null]]},"select":[false,[[3,[0,[0,24,false],null]],[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[[0,9,false]],"having":[[false,3,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"794":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]],[0,[0,[0,4,false],null]]]],"where":[[false,3,[0,[0,5,false],null],{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[5,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[[0,4,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"795":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]],[0,[0,[0,4,false],null]]]],"where":[[false,3,[0,[0,5,false],null],{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[5,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[[0,4,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"796":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[4,[0,[0,14,false],null]],[0,[0,[0,19,false],null]]]],"where":[],"groupBy":[[0,19,false]],"having":[[false,3,[0,[5,15,false],null],72.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"797":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[4,[0,[0,14,false],null]],[0,[0,[0,19,false],null]]]],"where":[],"groupBy":[[0,19,false]],"having":[[false,3,[0,[5,15,false],null],72.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"798":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[4,[0,[0,14,false],null]],[5,[0,[0,15,false],null]],[0,[0,[0,10,false],null]]]],"where":[],"groupBy":[[0,10,false]],"having":[[false,4,[0,[5,15,false],null],72.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"799":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[4,[0,[0,14,false],null]],[5,[0,[0,15,false],null]],[0,[0,[0,10,false],null]]]],"where":[],"groupBy":[[0,10,false]],"having":[[false,4,[0,[5,15,false],null],72.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"800":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]],[0,[0,[0,12,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,12,false],null]]],"limit":5,"intersect":null,"union":null,"except":null},"801":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]],[0,[0,[0,12,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,12,false],null]]],"limit":5,"intersect":null,"union":null,"except":null},"802":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,14,false],null]]],"limit":3,"intersect":null,"union":null,"except":null},"803":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,14,false],null]]],"limit":3,"intersect":null,"union":null,"except":null},"804":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,14,false],null]]],"limit":3,"intersect":null,"union":null,"except":null},"805":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,14,false],null]]],"limit":3,"intersect":null,"union":null,"except":null},"806":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Asia\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"807":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Asia\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"808":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Europe\"",null],"and",[false,2,[0,[0,14,false],null],"\"80000\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"809":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Europe\"",null],"and",[false,2,[0,[0,14,false],null],"\"80000\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"810":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[4,[0,[0,14,false],null]],[5,[0,[0,12,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"north america\"",null],"and",[false,3,[0,[0,12,false],null],3000.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"811":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[4,[0,[0,14,false],null]],[5,[0,[0,12,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"north america\"",null],"and",[false,3,[0,[0,12,false],null],3000.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"812":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,1,[0,[0,5,false],null],160000.0,900000.0]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"813":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,1,[0,[0,5,false],null],160000.0,900000.0]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"814":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,24,false],null]]]],"where":[],"groupBy":[[0,24,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"815":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,24,false],null]]]],"where":[],"groupBy":[[0,24,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"816":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,24,false],null]],[0,[0,[0,23,false],null]],[1,[0,[0,26,false],null]]]],"where":[],"groupBy":[[0,23,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"817":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,24,false],null]],[0,[0,[0,23,false],null]],[1,[0,[0,26,false],null]]]],"where":[],"groupBy":[[0,23,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"818":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]],[1,[0,[0,26,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"Spanish\"",null]],"groupBy":[[0,23,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"819":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]],[1,[0,[0,26,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"Spanish\"",null]],"groupBy":[[0,23,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"820":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,23,false],null]],[1,[0,[0,26,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"Spanish\"",null]],"groupBy":[[0,23,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"821":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,23,false],null]],[1,[0,[0,26,false],null]]]],"where":[[false,2,[0,[0,24,false],null],"\"Spanish\"",null]],"groupBy":[[0,23,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"822":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"823":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"824":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,3,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"825":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,3,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"826":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,7,[0,[0,4,false],null],"\"USA\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"827":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,7,[0,[0,4,false],null],"\"USA\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"828":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,10,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"829":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,10,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"830":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[5,[0,[0,23,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"831":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[5,[0,[0,23,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"832":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[1,[0,[0,18,false],null]],[2,[0,[0,18,false],null]]]],"where":[[false,7,[0,[0,14,false],null],"\"Live final\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"833":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[1,[0,[0,18,false],null]],[2,[0,[0,18,false],null]]]],"where":[[false,7,[0,[0,14,false],null],"\"Live final\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"834":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,4,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"835":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,4,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"836":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,5,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"837":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,5,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"838":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,5,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"839":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,5,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"840":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,8,false],null]]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,7,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"841":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,8,false],null]]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,7,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"842":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,8,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,8,false]],"having":[[false,3,[0,[3,0,false],null],1.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"843":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,8,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,8,false]],"having":[[false,3,[0,[3,0,false],null],1.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"844":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,8,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,8,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"845":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,8,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,8,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"846":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,8,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,3,[0,[0,10,false],null],2008.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"847":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,8,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,3,[0,[0,10,false],null],2008.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"848":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,9,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"849":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,9,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"850":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[],"groupBy":[[0,11,false]],"having":[],"orderBy":["asc",[[0,[3,0,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"851":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[],"groupBy":[[0,11,false]],"having":[],"orderBy":["asc",[[0,[3,0,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"852":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[[0,9,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"853":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[[0,9,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"854":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,7,false],null]]]],"where":[[true,8,[0,[0,6,false],null],{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,13,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"855":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,7,false],null]]]],"where":[[true,8,[0,[0,6,false],null],{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,13,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"856":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,4,[0,[0,10,false],null],2003.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,3,[0,[0,10,false],null],2003.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"857":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,4,[0,[0,10,false],null],2003.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[[false,3,[0,[0,10,false],null],2003.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"858":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,11,false],null],"\"CD\"",null],"or",[false,2,[0,[0,11,false],null],"\"DVD\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"859":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,11,false],null],"\"CD\"",null],"or",[false,2,[0,[0,11,false],null],"\"DVD\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"860":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,6,false],null],[0,13,false],null]]},"select":[false,[[0,[0,[0,10,false],null]]]],"where":[],"groupBy":[[0,13,false]],"having":[[false,3,[0,[3,0,false],null],1.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"861":{"from":{"table_units":[["table_unit",1],["table_unit",2]],"conds":[[false,2,[0,[0,6,false],null],[0,13,false],null]]},"select":[false,[[0,[0,[0,10,false],null]]]],"where":[],"groupBy":[[0,13,false]],"having":[[false,3,[0,[3,0,false],null],1.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"862":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"863":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"864":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"865":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]],[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"866":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"867":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"868":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Kyle\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"869":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Kyle\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"870":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,3,false],null],10.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"871":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,3,false],null],10.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"872":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,1,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Kyle\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"873":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,1,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Kyle\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"874":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,3,false],null],9.0,null],"or",[false,2,[0,[0,3,false],null],10.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"875":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,3,false],null],9.0,null],"or",[false,2,[0,[0,3,false],null],10.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"876":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,3,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"877":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,3,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"878":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[[0,3,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"879":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[[0,3,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"880":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[[0,3,false]],"having":[[false,5,[0,[3,0,false],null],4.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"881":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]]]],"where":[],"groupBy":[[0,3,false]],"having":[[false,5,[0,[3,0,false],null],4.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"882":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,4,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,4,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"883":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,4,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,4,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"884":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,4,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,2,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,4,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"885":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,4,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,2,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,4,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"886":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,4,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,4,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"887":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,4,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,4,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"888":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,4,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,4,false]],"having":[[false,5,[0,[3,0,false],null],3.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"889":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,4,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,4,false]],"having":[[false,5,[0,[3,0,false],null],3.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"890":{"from":{"table_units":[["table_unit",1],["table_unit",0],["table_unit",0]],"conds":[[false,2,[0,[0,4,false],null],[0,1,false],null],"and",[false,2,[0,[0,5,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Kyle\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"891":{"from":{"table_units":[["table_unit",1],["table_unit",0],["table_unit",0]],"conds":[[false,2,[0,[0,4,false],null],[0,1,false],null],"and",[false,2,[0,[0,5,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Kyle\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"892":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,4,false],null],[0,1,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Kyle\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"893":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,4,false],null],[0,1,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Kyle\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"894":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,1,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"895":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,1,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"896":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,4,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"897":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,4,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"898":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,7,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"899":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,7,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"900":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,6,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,7,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"901":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,6,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,7,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"902":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"903":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[0,[0,[0,6,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"904":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,6,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,2,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"905":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,6,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,2,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"906":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,6,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"907":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,6,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"908":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,6,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[[false,5,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"909":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,6,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,6,false]],"having":[[false,5,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"910":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,4,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,3,[0,[0,3,false],null],5.0,null]],"groupBy":[[0,4,false]],"having":[[false,5,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"911":{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,4,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,3,[0,[0,3,false],null],5.0,null]],"groupBy":[[0,4,false]],"having":[[false,5,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"912":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,6,false],null],[0,1,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Kyle\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"913":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,6,false],null],[0,1,false],null]]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,2,[0,[0,2,false],null],"\"Kyle\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"914":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[5,[0,[0,3,false],null]]]],"where":[[false,8,[0,[0,1,false],null],{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,4,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"915":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[5,[0,[0,3,false],null]]]],"where":[[false,8,[0,[0,1,false],null],{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,4,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"916":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[2,[0,[0,3,false],null]]]],"where":[[true,8,[0,[0,1,false],null],{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,4,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"917":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[2,[0,[0,3,false],null]]]],"where":[[true,8,[0,[0,1,false],null],{"from":{"table_units":[["table_unit",1],["table_unit",0]],"conds":[[false,2,[0,[0,4,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"918":{"from":{"table_units":[["table_unit",4]],"conds":[]},"select":[false,[[0,[0,[0,15,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[0,[0,[0,38,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"919":{"from":{"table_units":[["table_unit",4]],"conds":[]},"select":[false,[[0,[0,[0,15,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[0,[0,[0,38,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"920":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[5,[0,[0,26,false],null]]]],"where":[[false,8,[0,[0,20,false],null],{"from":{"table_units":[["table_unit",7]],"conds":[]},"select":[false,[[0,[0,[0,45,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"921":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[5,[0,[0,26,false],null]]]],"where":[[false,8,[0,[0,20,false],null],{"from":{"table_units":[["table_unit",7]],"conds":[]},"select":[false,[[0,[0,[0,45,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"922":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[0,[0,[0,33,false],null]],[0,[0,[0,40,false],null]],[0,[0,[0,43,false],null]]]],"where":[[false,2,[0,[0,38,false],null],"\"Indiana\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":{"from":{"table_units":[["table_unit",6],["table_unit",7]],"conds":[[false,2,[0,[0,33,false],null],[0,46,false],null]]},"select":[false,[[0,[0,[0,33,false],null]],[0,[0,[0,40,false],null]],[0,[0,[0,43,false],null]]]],"where":[],"groupBy":[[0,33,false]],"having":[[false,3,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"except":null},"923":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[0,[0,[0,33,false],null]],[0,[0,[0,40,false],null]],[0,[0,[0,43,false],null]]]],"where":[[false,2,[0,[0,38,false],null],"\"Indiana\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":{"from":{"table_units":[["table_unit",6],["table_unit",7]],"conds":[[false,2,[0,[0,33,false],null],[0,46,false],null]]},"select":[false,[[0,[0,[0,33,false],null]],[0,[0,[0,40,false],null]],[0,[0,[0,43,false],null]]]],"where":[],"groupBy":[[0,33,false]],"having":[[false,3,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"except":null},"924":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[0,[0,[0,25,false],null]]]],"where":[[true,8,[0,[0,20,false],null],{"from":{"table_units":[["table_unit",7]],"conds":[]},"select":[false,[[0,[0,[0,45,false],null]]]],"where":[],"groupBy":[[0,45,false]],"having":[[false,3,[0,[4,49,false],null],1000.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"925":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[0,[0,[0,25,false],null]]]],"where":[[true,8,[0,[0,20,false],null],{"from":{"table_units":[["table_unit",7]],"conds":[]},"select":[false,[[0,[0,[0,45,false],null]]]],"where":[],"groupBy":[[0,45,false]],"having":[[false,3,[0,[4,49,false],null],1000.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"926":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[0,[0,[0,35,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":{"from":{"table_units":[["table_unit",4]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[0,[0,[0,25,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"except":null},"927":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[0,[0,[0,35,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":{"from":{"table_units":[["table_unit",4]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[0,[0,[0,25,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"except":null},"928":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[0,[0,[0,33,false],null]],[0,[0,[0,34,false],null]],[0,[0,[0,41,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",6],["table_unit",7]],"conds":[[false,2,[0,[0,33,false],null],[0,46,false],null]]},"select":[false,[[0,[0,[0,33,false],null]],[0,[0,[0,34,false],null]],[0,[0,[0,41,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"929":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[0,[0,[0,33,false],null]],[0,[0,[0,34,false],null]],[0,[0,[0,41,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":{"from":{"table_units":[["table_unit",6],["table_unit",7]],"conds":[[false,2,[0,[0,33,false],null],[0,46,false],null]]},"select":[false,[[0,[0,[0,33,false],null]],[0,[0,[0,34,false],null]],[0,[0,[0,41,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null}},"930":{"from":{"table_units":[["table_unit",5],["table_unit",4]],"conds":[[false,2,[0,[0,21,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,21,false],null]],[0,[0,[0,11,false],null]],[0,[0,[0,12,false],null]]]],"where":[],"groupBy":[[0,21,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"931":{"from":{"table_units":[["table_unit",5],["table_unit",4]],"conds":[[false,2,[0,[0,21,false],null],[0,10,false],null]]},"select":[false,[[0,[0,[0,21,false],null]],[0,[0,[0,11,false],null]],[0,[0,[0,12,false],null]]]],"where":[],"groupBy":[[0,21,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"932":{"from":{"table_units":[["table_unit",6],["table_unit",7]],"conds":[[false,2,[0,[0,33,false],null],[0,46,false],null]]},"select":[false,[[0,[0,[0,33,false],null]],[0,[0,[0,34,false],null]],[0,[0,[0,35,false],null]]]],"where":[],"groupBy":[[0,33,false]],"having":[[false,5,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"933":{"from":{"table_units":[["table_unit",6],["table_unit",7]],"conds":[[false,2,[0,[0,33,false],null],[0,46,false],null]]},"select":[false,[[0,[0,[0,33,false],null]],[0,[0,[0,34,false],null]],[0,[0,[0,35,false],null]]]],"where":[],"groupBy":[[0,33,false]],"having":[[false,5,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"934":{"from":{"table_units":[["table_unit",0],["table_unit",5]],"conds":[[false,2,[0,[0,1,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,2,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"935":{"from":{"table_units":[["table_unit",0],["table_unit",5]],"conds":[[false,2,[0,[0,1,false],null],[0,23,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,2,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"936":{"from":{"table_units":[["table_unit",4],["table_unit",5],["table_unit",7]],"conds":[[false,2,[0,[0,10,false],null],[0,21,false],null],"and",[false,2,[0,[0,20,false],null],[0,45,false],null]]},"select":[false,[[0,[0,[0,10,false],null]],[0,[0,[0,12,false],null]]]],"where":[],"groupBy":[[0,10,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"937":{"from":{"table_units":[["table_unit",4],["table_unit",5],["table_unit",7]],"conds":[[false,2,[0,[0,10,false],null],[0,21,false],null],"and",[false,2,[0,[0,20,false],null],[0,45,false],null]]},"select":[false,[[0,[0,[0,10,false],null]],[0,[0,[0,12,false],null]]]],"where":[],"groupBy":[[0,10,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"938":{"from":{"table_units":[["table_unit",3],["table_unit",7]],"conds":[[false,2,[0,[0,8,false],null],[0,47,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[[0,8,false]],"having":[],"orderBy":["asc",[[0,[4,49,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"939":{"from":{"table_units":[["table_unit",3],["table_unit",7]],"conds":[[false,2,[0,[0,8,false],null],[0,47,false],null]]},"select":[false,[[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[[0,8,false]],"having":[],"orderBy":["asc",[[0,[4,49,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"940":{"from":{"table_units":[["table_unit",4],["table_unit",5],["table_unit",7]],"conds":[[false,2,[0,[0,10,false],null],[0,21,false],null],"and",[false,2,[0,[0,20,false],null],[0,45,false],null]]},"select":[false,[[0,[0,[0,10,false],null]],[0,[0,[0,16,false],null]]]],"where":[],"groupBy":[[0,10,false]],"having":[],"orderBy":["desc",[[0,[4,49,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"941":{"from":{"table_units":[["table_unit",4],["table_unit",5],["table_unit",7]],"conds":[[false,2,[0,[0,10,false],null],[0,21,false],null],"and",[false,2,[0,[0,20,false],null],[0,45,false],null]]},"select":[false,[[0,[0,[0,10,false],null]],[0,[0,[0,16,false],null]]]],"where":[],"groupBy":[[0,10,false]],"having":[],"orderBy":["desc",[[0,[4,49,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"942":{"from":{"table_units":[["table_unit",6],["table_unit",7]],"conds":[[false,2,[0,[0,33,false],null],[0,46,false],null]]},"select":[false,[[0,[0,[0,33,false],null]],[0,[0,[0,43,false],null]]]],"where":[],"groupBy":[[0,33,false]],"having":[[false,5,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"943":{"from":{"table_units":[["table_unit",6],["table_unit",7]],"conds":[[false,2,[0,[0,33,false],null],[0,46,false],null]]},"select":[false,[[0,[0,[0,33,false],null]],[0,[0,[0,43,false],null]]]],"where":[],"groupBy":[[0,33,false]],"having":[[false,5,[0,[3,0,false],null],2.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"944":{"from":{"table_units":[["table_unit",6],["table_unit",7]],"conds":[]},"select":[true,[[0,[0,[0,35,false],null]],[0,[0,[0,40,false],null]]]],"where":[[false,4,[0,[0,49,false],null],{"from":{"table_units":[["table_unit",7]],"conds":[]},"select":[false,[[5,[0,[0,49,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"945":{"from":{"table_units":[["table_unit",6],["table_unit",7]],"conds":[]},"select":[true,[[0,[0,[0,35,false],null]],[0,[0,[0,40,false],null]]]],"where":[[false,4,[0,[0,49,false],null],{"from":{"table_units":[["table_unit",7]],"conds":[]},"select":[false,[[5,[0,[0,49,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"946":{"from":{"table_units":[["table_unit",7],["table_unit",6]],"conds":[[false,2,[0,[0,46,false],null],[0,33,false],null]]},"select":[false,[[0,[0,[0,48,false],null]],[0,[0,[0,35,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"947":{"from":{"table_units":[["table_unit",7],["table_unit",6]],"conds":[[false,2,[0,[0,46,false],null],[0,33,false],null]]},"select":[false,[[0,[0,[0,48,false],null]],[0,[0,[0,35,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"948":{"from":{"table_units":[["table_unit",7],["table_unit",3]],"conds":[[false,2,[0,[0,47,false],null],[0,8,false],null]]},"select":[false,[[0,[0,[0,49,false],null]],[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"949":{"from":{"table_units":[["table_unit",7],["table_unit",3]],"conds":[[false,2,[0,[0,47,false],null],[0,8,false],null]]},"select":[false,[[0,[0,[0,49,false],null]],[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"950":{"from":{"table_units":[["table_unit",4],["table_unit",5]],"conds":[[false,2,[0,[0,10,false],null],[0,21,false],null]]},"select":[false,[[0,[0,[0,11,false],null]],[0,[0,[0,12,false],null]],[0,[0,[0,24,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"951":{"from":{"table_units":[["table_unit",4],["table_unit",5]],"conds":[[false,2,[0,[0,10,false],null],[0,21,false],null]]},"select":[false,[[0,[0,[0,11,false],null]],[0,[0,[0,12,false],null]],[0,[0,[0,24,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"952":{"from":{"table_units":[["table_unit",4],["table_unit",5]],"conds":[[false,2,[0,[0,10,false],null],[0,21,false],null]]},"select":[false,[[0,[0,[0,11,false],null]],[0,[0,[0,25,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"953":{"from":{"table_units":[["table_unit",4],["table_unit",5]],"conds":[[false,2,[0,[0,10,false],null],[0,21,false],null]]},"select":[false,[[0,[0,[0,11,false],null]],[0,[0,[0,25,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"954":{"from":{"table_units":[["table_unit",5],["table_unit",7]],"conds":[[false,2,[0,[0,20,false],null],[0,45,false],null]]},"select":[false,[[0,[0,[0,25,false],null]],[0,[0,[0,48,false],null]]]],"where":[[false,2,[0,[0,23,false],null],{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[0,[0,[0,23,false],null]]]],"where":[],"groupBy":[[0,23,false]],"having":[],"orderBy":["asc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"955":{"from":{"table_units":[["table_unit",5],["table_unit",7]],"conds":[[false,2,[0,[0,20,false],null],[0,45,false],null]]},"select":[false,[[0,[0,[0,25,false],null]],[0,[0,[0,48,false],null]]]],"where":[[false,2,[0,[0,23,false],null],{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[0,[0,[0,23,false],null]]]],"where":[],"groupBy":[[0,23,false]],"having":[],"orderBy":["asc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"956":{"from":{"table_units":[["table_unit",4],["table_unit",5]],"conds":[[false,2,[0,[0,10,false],null],[0,21,false],null]]},"select":[false,[[0,[0,[0,11,false],null]],[0,[0,[0,25,false],null]]]],"where":[[false,2,[0,[0,15,false],null],"\"Virginia\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"957":{"from":{"table_units":[["table_unit",4],["table_unit",5]],"conds":[[false,2,[0,[0,10,false],null],[0,21,false],null]]},"select":[false,[[0,[0,[0,11,false],null]],[0,[0,[0,25,false],null]]]],"where":[[false,2,[0,[0,15,false],null],"\"Virginia\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"958":{"from":{"table_units":[["table_unit",5],["table_unit",7]],"conds":[[false,2,[0,[0,20,false],null],[0,45,false],null]]},"select":[true,[[0,[0,[0,30,false],null]],[0,[0,[0,32,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"959":{"from":{"table_units":[["table_unit",5],["table_unit",7]],"conds":[[false,2,[0,[0,20,false],null],[0,45,false],null]]},"select":[true,[[0,[0,[0,30,false],null]],[0,[0,[0,32,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"960":{"from":{"table_units":[["table_unit",4],["table_unit",5]],"conds":[[false,2,[0,[0,10,false],null],[0,21,false],null]]},"select":[false,[[0,[0,[0,12,false],null]]]],"where":[[false,2,[0,[0,26,false],null],{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[1,[0,[0,26,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"961":{"from":{"table_units":[["table_unit",4],["table_unit",5]],"conds":[[false,2,[0,[0,10,false],null],[0,21,false],null]]},"select":[false,[[0,[0,[0,12,false],null]]]],"where":[[false,2,[0,[0,26,false],null],{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[1,[0,[0,26,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"962":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[0,[0,[0,41,false],null]]]],"where":[[false,2,[0,[0,38,false],null],"\"Hawaii\"",null],"or",[false,2,[0,[0,38,false],null],"\"Wisconsin\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"963":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[0,[0,[0,41,false],null]]]],"where":[[false,2,[0,[0,38,false],null],"\"Hawaii\"",null],"or",[false,2,[0,[0,38,false],null],"\"Wisconsin\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"964":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[0,[0,[0,30,false],null]],[0,[0,[0,32,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"965":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[0,[0,[0,30,false],null]],[0,[0,[0,32,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"966":{"from":{"table_units":[["table_unit",7]],"conds":[]},"select":[false,[[3,[0,[0,45,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"967":{"from":{"table_units":[["table_unit",7]],"conds":[]},"select":[false,[[3,[0,[0,45,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"968":{"from":{"table_units":[["table_unit",7]],"conds":[]},"select":[false,[[3,[0,[0,46,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"969":{"from":{"table_units":[["table_unit",7]],"conds":[]},"select":[false,[[3,[0,[0,46,true],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"970":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[0,[0,[0,34,false],null]],[0,[0,[0,36,false],null]],[0,[0,[0,37,false],null]],[0,[0,[0,38,false],null]]]],"where":[[false,9,[0,[0,37,false],null],"\"%West%\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"971":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[0,[0,[0,34,false],null]],[0,[0,[0,36,false],null]],[0,[0,[0,37,false],null]],[0,[0,[0,38,false],null]]]],"where":[[false,9,[0,[0,37,false],null],"\"%West%\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"972":{"from":{"table_units":[["table_unit",4]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]],[0,[0,[0,12,false],null]],[0,[0,[0,17,false],null]]]],"where":[[false,9,[0,[0,15,false],null],"\"%North%\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"973":{"from":{"table_units":[["table_unit",4]],"conds":[]},"select":[false,[[0,[0,[0,11,false],null]],[0,[0,[0,12,false],null]],[0,[0,[0,17,false],null]]]],"where":[[false,9,[0,[0,15,false],null],"\"%North%\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"974":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,4,[0,[0,26,false],null],{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[5,[0,[0,26,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"975":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[false,4,[0,[0,26,false],null],{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[5,[0,[0,26,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"976":{"from":{"table_units":[["table_unit",7]],"conds":[]},"select":[false,[[0,[0,[0,49,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,48,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"977":{"from":{"table_units":[["table_unit",7]],"conds":[]},"select":[false,[[0,[0,[0,49,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,48,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"978":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[true,8,[0,[0,20,false],null],{"from":{"table_units":[["table_unit",7]],"conds":[]},"select":[false,[[0,[0,[0,45,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"979":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[true,8,[0,[0,20,false],null],{"from":{"table_units":[["table_unit",7]],"conds":[]},"select":[false,[[0,[0,[0,45,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"980":{"from":{"table_units":[["table_unit",4]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[true,8,[0,[0,10,false],null],{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[0,[0,[0,21,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"981":{"from":{"table_units":[["table_unit",4]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[true,8,[0,[0,10,false],null],{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[0,[0,[0,21,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"982":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[true,8,[0,[0,33,false],null],{"from":{"table_units":[["table_unit",7]],"conds":[]},"select":[false,[[0,[0,[0,46,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"983":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[[true,8,[0,[0,33,false],null],{"from":{"table_units":[["table_unit",7]],"conds":[]},"select":[false,[[0,[0,[0,46,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"984":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[0,[0,[0,25,false],null]],[0,[0,[0,26,false],null]],[0,[0,[0,29,false],null]]]],"where":[[false,2,[0,[0,22,false],null],1.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"985":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[0,[0,[0,25,false],null]],[0,[0,[0,26,false],null]],[0,[0,[0,29,false],null]]]],"where":[[false,2,[0,[0,22,false],null],1.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"986":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[5,[0,[0,26,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"987":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[5,[0,[0,26,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"988":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[1,[0,[0,26,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"989":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[false,[[1,[0,[0,26,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"990":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,4,false],null]],[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"991":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,4,false],null]],[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"992":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[1,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"993":{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[1,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"994":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[0,[0,[0,41,false],null]],[0,[0,[0,43,false],null]],[0,[0,[0,42,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"995":{"from":{"table_units":[["table_unit",6]],"conds":[]},"select":[false,[[0,[0,[0,41,false],null]],[0,[0,[0,43,false],null]],[0,[0,[0,42,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"996":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[true,[[0,[0,[0,23,false],null]],[0,[0,[0,24,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"997":{"from":{"table_units":[["table_unit",5]],"conds":[]},"select":[true,[[0,[0,[0,23,false],null]],[0,[0,[0,24,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"998":{"from":{"table_units":[["table_unit",6],["table_unit",7],["table_unit",3]],"conds":[[false,2,[0,[0,33,false],null],[0,46,false],null],"and",[false,2,[0,[0,47,false],null],[0,8,false],null]]},"select":[true,[[0,[0,[0,35,false],null]],[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"999":{"from":{"table_units":[["table_unit",6],["table_unit",7],["table_unit",3]],"conds":[[false,2,[0,[0,33,false],null],[0,46,false],null],"and",[false,2,[0,[0,47,false],null],[0,8,false],null]]},"select":[true,[[0,[0,[0,35,false],null]],[0,[0,[0,9,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1000":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1001":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1002":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,4,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"1003":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["asc",[[0,[0,4,false],null]]],"limit":null,"intersect":null,"union":null,"except":null},"1004":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1005":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,3,false],null]],[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1006":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,7,[0,[0,5,false],null],"\"France\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1007":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,7,[0,[0,5,false],null],"\"France\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1008":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,3,false],null],1948.0,null],"or",[false,2,[0,[0,3,false],null],1949.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1009":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,3,false],null],1948.0,null],"or",[false,2,[0,[0,3,false],null],1949.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1010":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,4,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"1011":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":["desc",[[0,[0,4,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"1012":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,5,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1013":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]],[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[[0,5,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1014":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[[0,5,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"1015":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[],"groupBy":[[0,5,false]],"having":[],"orderBy":["desc",[[0,[3,0,false],null]]],"limit":1,"intersect":null,"union":null,"except":null},"1016":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]],[1,[0,[0,4,false],null]]]],"where":[],"groupBy":[[0,5,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1017":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]],[1,[0,[0,4,false],null]]]],"where":[],"groupBy":[[0,5,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1018":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,8,false],null]]},"select":[false,[[0,[0,[0,7,false],null]],[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1019":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,8,false],null]]},"select":[false,[[0,[0,[0,7,false],null]],[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1020":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,8,false],null]]},"select":[true,[[0,[0,[0,2,false],null]]]],"where":[[false,3,[0,[0,9,false],null],300000.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1021":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,8,false],null]]},"select":[true,[[0,[0,[0,2,false],null]]]],"where":[[false,3,[0,[0,9,false],null],300000.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1022":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,8,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,2,false]],"having":[[false,3,[0,[3,0,false],null],1.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1023":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,8,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[],"groupBy":[[0,2,false]],"having":[[false,3,[0,[3,0,false],null],1.0,null]],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1024":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,8,false],null]]},"select":[false,[[0,[0,[0,2,false],null]],[4,[0,[0,9,false],null]]]],"where":[],"groupBy":[[0,2,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1025":{"from":{"table_units":[["table_unit",0],["table_unit",1]],"conds":[[false,2,[0,[0,1,false],null],[0,8,false],null]]},"select":[false,[[0,[0,[0,2,false],null]],[4,[0,[0,9,false],null]]]],"where":[],"groupBy":[[0,2,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1026":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[true,8,[0,[0,1,false],null],{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,8,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1027":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[true,8,[0,[0,1,false],null],{"from":{"table_units":[["table_unit",1]],"conds":[]},"select":[false,[[0,[0,[0,8,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1028":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[[false,4,[0,[0,3,false],null],1945.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[[false,3,[0,[0,3,false],null],1955.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"1029":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[[false,4,[0,[0,3,false],null],1945.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":{"from":{"table_units":[["table_unit",0]],"conds":[]},"select":[false,[[0,[0,[0,5,false],null]]]],"where":[[false,3,[0,[0,3,false],null],1955.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"union":null,"except":null},"1030":{"from":{"table_units":[["table_unit",2]],"conds":[]},"select":[false,[[3,[0,[0,0,false],null]]]],"where":[],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1031":{"from":{"table_units":[["table_unit",2],["table_unit",0]],"conds":[[false,2,[0,[0,6,false],null],[0,1,false],null]]},"select":[false,[[0,[0,[0,2,false],null]]]],"where":[[false,2,[0,[0,7,false],null],"\"AirCon\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1032":{"from":{"table_units":[["table_unit",3],["table_unit",1]],"conds":[[false,2,[0,[0,10,false],null],[0,3,false],null]]},"select":[false,[[0,[0,[0,4,false],null]]]],"where":[],"groupBy":[[0,10,false]],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"1033":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,13,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"House\"",null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":{"from":{"table_units":[["table_unit",3]],"conds":[]},"select":[false,[[0,[0,[0,13,false],null]]]],"where":[[false,2,[0,[0,10,false],null],"\"Apartment\"",null],"and",[false,3,[0,[0,15,false],null],1.0,null]],"groupBy":[],"having":[],"orderBy":[],"limit":null,"intersect":null,"union":null,"except":null},"except":null}},"text":{"0":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nHow many singers do we have?\n\n### SQL\nSELECT count(*) FROM singer\n","1":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nWhat is the total number of singers?\n\n### SQL\nSELECT count(*) FROM singer\n","2":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nShow name, country, age for all singers ordered by age from the oldest to the youngest.\n\n### SQL\nSELECT name , country , age FROM singer ORDER BY age DESC\n","3":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nWhat are the names, countries, and ages for every singer in descending order of age?\n\n### SQL\nSELECT name , country , age FROM singer ORDER BY age DESC\n","4":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nWhat is the average, minimum, and maximum age of all singers from France?\n\n### SQL\nSELECT avg(age) , min(age) , max(age) FROM singer WHERE country = 'France'\n","5":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nWhat is the average, minimum, and maximum age for all French singers?\n\n### SQL\nSELECT avg(age) , min(age) , max(age) FROM singer WHERE country = 'France'\n","6":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nShow the name and the release year of the song by the youngest singer.\n\n### SQL\nSELECT song_name , song_release_year FROM singer ORDER BY age LIMIT 1\n","7":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nWhat are the names and release years for all the songs of the youngest singer?\n\n### SQL\nSELECT song_name , song_release_year FROM singer ORDER BY age LIMIT 1\n","8":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nWhat are all distinct countries where singers above age 20 are from?\n\n### SQL\nSELECT DISTINCT country FROM singer WHERE age > 20\n","9":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nWhat are the different countries with singers above age 20?\n\n### SQL\nSELECT DISTINCT country FROM singer WHERE age > 20\n","10":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nShow all countries and the number of singers in each country.\n\n### SQL\nSELECT country , count(*) FROM singer GROUP BY country\n","11":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nHow many singers are from each country?\n\n### SQL\nSELECT country , count(*) FROM singer GROUP BY country\n","12":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nList all song names by singers above the average age.\n\n### SQL\nSELECT song_name FROM singer WHERE age > (SELECT avg(age) FROM singer)\n","13":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nWhat are all the song names by singers who are older than average?\n\n### SQL\nSELECT song_name FROM singer WHERE age > (SELECT avg(age) FROM singer)\n","14":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nShow location and name for all stadiums with a capacity between 5000 and 10000.\n\n### SQL\nSELECT LOCATION , name FROM stadium WHERE capacity BETWEEN 5000 AND 10000\n","15":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nWhat are the locations and names of all stations with capacity between 5000 and 10000?\n\n### SQL\nSELECT LOCATION , name FROM stadium WHERE capacity BETWEEN 5000 AND 10000\n","16":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nWhat is the maximum capacity and the average of all stadiums ?\n\n### SQL\nselect max(capacity), average from stadium\n","17":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nWhat is the average and maximum capacities for all stadiums ?\n\n### SQL\nselect avg(capacity) , max(capacity) from stadium\n","18":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nWhat is the name and capacity for the stadium with highest average attendance?\n\n### SQL\nSELECT name , capacity FROM stadium ORDER BY average DESC LIMIT 1\n","19":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nWhat is the name and capacity for the stadium with the highest average attendance?\n\n### SQL\nSELECT name , capacity FROM stadium ORDER BY average DESC LIMIT 1\n","20":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nHow many concerts are there in year 2014 or 2015?\n\n### SQL\nSELECT count(*) FROM concert WHERE YEAR = 2014 OR YEAR = 2015\n","21":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nHow many concerts occurred in 2014 or 2015?\n\n### SQL\nSELECT count(*) FROM concert WHERE YEAR = 2014 OR YEAR = 2015\n","22":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nShow the stadium name and the number of concerts in each stadium.\n\n### SQL\nSELECT T2.name , count(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id GROUP BY T1.stadium_id\n","23":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nFor each stadium, how many concerts play there?\n\n### SQL\nSELECT T2.name , count(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id GROUP BY T1.stadium_id\n","24":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nShow the stadium name and capacity with most number of concerts in year 2014 or after.\n\n### SQL\nSELECT T2.name , T2.capacity FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year >= 2014 GROUP BY T2.stadium_id ORDER BY count(*) DESC LIMIT 1\n","25":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nWhat is the name and capacity of the stadium with the most concerts after 2013 ?\n\n### SQL\nselect t2.name , t2.capacity from concert as t1 join stadium as t2 on t1.stadium_id = t2.stadium_id where t1.year > 2013 group by t2.stadium_id order by count(*) desc limit 1\n","26":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nWhich year has most number of concerts?\n\n### SQL\nSELECT YEAR FROM concert GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1\n","27":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nWhat is the year that had the most concerts?\n\n### SQL\nSELECT YEAR FROM concert GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1\n","28":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nShow the stadium names without any concert.\n\n### SQL\nSELECT name FROM stadium WHERE stadium_id NOT IN (SELECT stadium_id FROM concert)\n","29":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nWhat are the names of the stadiums without any concerts?\n\n### SQL\nSELECT name FROM stadium WHERE stadium_id NOT IN (SELECT stadium_id FROM concert)\n","30":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nShow countries where a singer above age 40 and a singer below 30 are from.\n\n### SQL\nSELECT country FROM singer WHERE age > 40 INTERSECT SELECT country FROM singer WHERE age < 30\n","31":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nShow names for all stadiums except for stadiums having a concert in year 2014.\n\n### SQL\nSELECT name FROM stadium EXCEPT SELECT T2.name FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year = 2014\n","32":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nWhat are the names of all stadiums that did not have a concert in 2014?\n\n### SQL\nSELECT name FROM stadium EXCEPT SELECT T2.name FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year = 2014\n","33":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nShow the name and theme for all concerts and the number of singers in each concert.\n\n### SQL\nSELECT T2.concert_name , T2.theme , count(*) FROM singer_in_concert AS T1 JOIN concert AS T2 ON T1.concert_id = T2.concert_id GROUP BY T2.concert_id\n","34":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nWhat are the names , themes , and number of singers for every concert ?\n\n### SQL\nselect t2.concert_name , t2.theme , count(*) from singer_in_concert as t1 join concert as t2 on t1.concert_id = t2.concert_id group by t2.concert_id\n","35":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nList singer names and number of concerts for each singer.\n\n### SQL\nSELECT T2.name , count(*) FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id GROUP BY T2.singer_id\n","36":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nWhat are the names of the singers and number of concerts for each person?\n\n### SQL\nSELECT T2.name , count(*) FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id GROUP BY T2.singer_id\n","37":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nList all singer names in concerts in year 2014.\n\n### SQL\nSELECT T2.name FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id JOIN concert AS T3 ON T1.concert_id = T3.concert_id WHERE T3.year = 2014\n","38":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nWhat are the names of the singers who performed in a concert in 2014?\n\n### SQL\nSELECT T2.name FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id JOIN concert AS T3 ON T1.concert_id = T3.concert_id WHERE T3.year = 2014\n","39":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nwhat is the name and nation of the singer who have a song having 'Hey' in its name?\n\n### SQL\nSELECT name , country FROM singer WHERE song_name LIKE '%Hey%'\n","40":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nWhat is the name and country of origin of every singer who has a song with the word 'Hey' in its title?\n\n### SQL\nSELECT name , country FROM singer WHERE song_name LIKE '%Hey%'\n","41":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nFind the name and location of the stadiums which some concerts happened in the years of both 2014 and 2015.\n\n### SQL\nSELECT T2.name , T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.Year = 2014 INTERSECT SELECT T2.name , T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.Year = 2015\n","42":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nWhat are the names and locations of the stadiums that had concerts that occurred in both 2014 and 2015?\n\n### SQL\nSELECT T2.name , T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.Year = 2014 INTERSECT SELECT T2.name , T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.Year = 2015\n","43":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nFind the number of concerts happened in the stadium with the highest capacity .\n\n### SQL\nselect count(*) from concert where stadium_id = (select stadium_id from stadium order by capacity desc limit 1)\n","44":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"stadium\" (\n\"Stadium_ID\" int,\n\"Location\" text,\n\"Name\" text,\n\"Capacity\" int,\n\"Highest\" int,\n\"Lowest\" int,\n\"Average\" int,\nPRIMARY KEY (\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Country\" text,\n\"Song_Name\" text,\n\"Song_release_year\" text,\n\"Age\" int,\n\"Is_male\" bool,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"concert\" (\n\"concert_ID\" int,\n\"concert_Name\" text,\n\"Theme\" text,\n\"Stadium_ID\" text,\n\"Year\" text,\nPRIMARY KEY (\"concert_ID\"),\nFOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\")\n)\n\nCREATE TABLE \"singer_in_concert\" (\n\"concert_ID\" int,\n\"Singer_ID\" text,\nPRIMARY KEY (\"concert_ID\",\"Singer_ID\"),\nFOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\")\n)\n\n### Question\nWhat are the number of concerts that occurred in the stadium with the largest capacity ?\n\n### SQL\nselect count(*) from concert where stadium_id = (select stadium_id from stadium order by capacity desc limit 1)\n","45":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nFind the number of pets whose weight is heavier than 10.\n\n### SQL\nSELECT count(*) FROM pets WHERE weight > 10\n","46":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nHow many pets have a greater weight than 10?\n\n### SQL\nSELECT count(*) FROM pets WHERE weight > 10\n","47":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nFind the weight of the youngest dog.\n\n### SQL\nSELECT weight FROM pets ORDER BY pet_age LIMIT 1\n","48":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nHow much does the youngest dog weigh?\n\n### SQL\nSELECT weight FROM pets ORDER BY pet_age LIMIT 1\n","49":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nFind the maximum weight for each type of pet. List the maximum weight and pet type.\n\n### SQL\nSELECT max(weight) , petType FROM pets GROUP BY petType\n","50":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nList the maximum weight and type for each type of pet.\n\n### SQL\nSELECT max(weight) , petType FROM pets GROUP BY petType\n","51":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nFind number of pets owned by students who are older than 20.\n\n### SQL\nSELECT count(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid WHERE T1.age > 20\n","52":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nHow many pets are owned by students that have an age greater than 20?\n\n### SQL\nSELECT count(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid WHERE T1.age > 20\n","53":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nFind the number of dog pets that are raised by female students (with sex F).\n\n### SQL\nSELECT count(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T2.petid = T3.petid WHERE T1.sex = 'F' AND T3.pettype = 'dog'\n","54":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nHow many dog pets are raised by female students?\n\n### SQL\nSELECT count(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T2.petid = T3.petid WHERE T1.sex = 'F' AND T3.pettype = 'dog'\n","55":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nFind the number of distinct type of pets.\n\n### SQL\nSELECT count(DISTINCT pettype) FROM pets\n","56":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nHow many different types of pet are there?\n\n### SQL\nSELECT count(DISTINCT pettype) FROM pets\n","57":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nFind the first name of students who have cat or dog pet.\n\n### SQL\nSELECT DISTINCT T1.Fname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat' OR T3.pettype = 'dog'\n","58":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nWhat are the first names of every student who has a cat or dog as a pet?\n\n### SQL\nSELECT DISTINCT T1.Fname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat' OR T3.pettype = 'dog'\n","59":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nFind the first name of students who have both cat and dog pets .\n\n### SQL\nselect t1.fname from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'cat' intersect select t1.fname from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'dog'\n","60":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nWhat are the students' first names who have both cats and dogs as pets?\n\n### SQL\nSELECT T1.Fname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat' INTERSECT SELECT T1.Fname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'dog'\n","61":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nFind the major and age of students who do not have a cat pet.\n\n### SQL\nSELECT major , age FROM student WHERE stuid NOT IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat')\n","62":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nWhat major is every student who does not own a cat as a pet, and also how old are they?\n\n### SQL\nSELECT major , age FROM student WHERE stuid NOT IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat')\n","63":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nFind the id of students who do not have a cat pet.\n\n### SQL\nSELECT stuid FROM student EXCEPT SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat'\n","64":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nWhat are the ids of the students who do not own cats as pets?\n\n### SQL\nSELECT stuid FROM student EXCEPT SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat'\n","65":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nFind the first name and age of students who have a dog but do not have a cat as a pet.\n\n### SQL\nSELECT T1.fname , T1.age FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'dog' AND T1.stuid NOT IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat')\n","66":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nWhat is the first name of every student who has a dog but does not have a cat?\n\n### SQL\nSELECT T1.fname , T1.age FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'dog' AND T1.stuid NOT IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat')\n","67":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nFind the type and weight of the youngest pet.\n\n### SQL\nSELECT pettype , weight FROM pets ORDER BY pet_age LIMIT 1\n","68":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nWhat type of pet is the youngest animal, and how much does it weigh?\n\n### SQL\nSELECT pettype , weight FROM pets ORDER BY pet_age LIMIT 1\n","69":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nFind the id and weight of all pets whose age is older than 1.\n\n### SQL\nSELECT petid , weight FROM pets WHERE pet_age > 1\n","70":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nWhat is the id and weight of every pet who is older than 1?\n\n### SQL\nSELECT petid , weight FROM pets WHERE pet_age > 1\n","71":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nFind the average and maximum age for each type of pet.\n\n### SQL\nSELECT avg(pet_age) , max(pet_age) , pettype FROM pets GROUP BY pettype\n","72":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nWhat is the average and maximum age for each pet type?\n\n### SQL\nSELECT avg(pet_age) , max(pet_age) , pettype FROM pets GROUP BY pettype\n","73":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nFind the average weight for each pet type.\n\n### SQL\nSELECT avg(weight) , pettype FROM pets GROUP BY pettype\n","74":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nWhat is the average weight for each type of pet?\n\n### SQL\nSELECT avg(weight) , pettype FROM pets GROUP BY pettype\n","75":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nFind the first name and age of students who have a pet.\n\n### SQL\nSELECT DISTINCT T1.fname , T1.age FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid\n","76":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nWhat are the different first names and ages of the students who do have pets?\n\n### SQL\nSELECT DISTINCT T1.fname , T1.age FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid\n","77":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nFind the id of the pet owned by student whose last name is \u2018Smith\u2019.\n\n### SQL\nSELECT T2.petid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid WHERE T1.Lname = 'Smith'\n","78":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nWhat is the id of the pet owned by the student whose last name is 'Smith'?\n\n### SQL\nSELECT T2.petid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid WHERE T1.Lname = 'Smith'\n","79":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nFind the number of pets for each student who has any pet and student id.\n\n### SQL\nSELECT count(*) , T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid GROUP BY T1.stuid\n","80":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nFor students who have pets , how many pets does each student have ? list their ids instead of names .\n\n### SQL\nselect count(*) , t1.stuid from student as t1 join has_pet as t2 on t1.stuid = t2.stuid group by t1.stuid\n","81":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nFind the first name and gender of student who have more than one pet.\n\n### SQL\nSELECT T1.fname , T1.sex FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid GROUP BY T1.stuid HAVING count(*) > 1\n","82":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nWhat is the first name and gender of the all the students who have more than one pet?\n\n### SQL\nSELECT T1.fname , T1.sex FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid GROUP BY T1.stuid HAVING count(*) > 1\n","83":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nFind the last name of the student who has a cat that is age 3.\n\n### SQL\nSELECT T1.lname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pet_age = 3 AND T3.pettype = 'cat'\n","84":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nWhat is the last name of the student who has a cat that is 3 years old?\n\n### SQL\nSELECT T1.lname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pet_age = 3 AND T3.pettype = 'cat'\n","85":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nFind the average age of students who do not have any pet .\n\n### SQL\nselect avg(age) from student where stuid not in (select stuid from has_pet)\n","86":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Student (\n StuID \tINTEGER PRIMARY KEY,\n LName\t\tVARCHAR(12),\n Fname\t\tVARCHAR(12),\n Age\t\tINTEGER,\n Sex\t\tVARCHAR(1),\n Major\t\tINTEGER,\n Advisor\t\tINTEGER,\n city_code\tVARCHAR(3)\n)\n\nCREATE TABLE Has_Pet (\n StuID\t\tINTEGER,\n PetID\t\tINTEGER,\n FOREIGN KEY(PetID) REFERENCES Pets(PetID),\n FOREIGN KEY(StuID) REFERENCES Student(StuID)\n)\n\nCREATE TABLE Pets (\n PetID\t\tINTEGER PRIMARY KEY,\n PetType\t\tVARCHAR(20),\n pet_age INTEGER,\n weight REAL\n)\n\n### Question\nWhat is the average age for all students who do not own any pets ?\n\n### SQL\nselect avg(age) from student where stuid not in (select stuid from has_pet)\n","87":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nHow many continents are there?\n\n### SQL\nSELECT count(*) FROM CONTINENTS;\n","88":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the number of continents?\n\n### SQL\nSELECT count(*) FROM CONTINENTS;\n","89":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nHow many countries does each continent have? List the continent id, continent name and the number of countries.\n\n### SQL\nSELECT T1.ContId , T1.Continent , count(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId = T2.Continent GROUP BY T1.ContId;\n","90":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nFor each continent, list its id, name, and how many countries it has?\n\n### SQL\nSELECT T1.ContId , T1.Continent , count(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId = T2.Continent GROUP BY T1.ContId;\n","91":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nHow many countries are listed?\n\n### SQL\nSELECT count(*) FROM COUNTRIES;\n","92":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nHow many countries exist?\n\n### SQL\nSELECT count(*) FROM COUNTRIES;\n","93":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nHow many models does each car maker produce? List maker full name, id and the number.\n\n### SQL\nSELECT T1.FullName , T1.Id , count(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id;\n","94":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the full name of each car maker, along with its id and how many models it produces?\n\n### SQL\nSELECT T1.FullName , T1.Id , count(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id;\n","95":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhich model of the car has the minimum horsepower?\n\n### SQL\nSELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id ORDER BY T2.horsepower ASC LIMIT 1;\n","96":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the model of the car with the smallest amount of horsepower?\n\n### SQL\nSELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id ORDER BY T2.horsepower ASC LIMIT 1;\n","97":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nFind the model of the car whose weight is below the average weight.\n\n### SQL\nSELECT T1.model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.Weight < (SELECT avg(Weight) FROM CARS_DATA)\n","98":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the model for the car with a weight smaller than the average?\n\n### SQL\nSELECT T1.model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.Weight < (SELECT avg(Weight) FROM CARS_DATA)\n","99":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nFind the name of the makers that produced some cars in the year of 1970?\n\n### SQL\nSELECT DISTINCT T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker JOIN CAR_NAMES AS T3 ON T2.model = T3.model JOIN CARS_DATA AS T4 ON T3.MakeId = T4.id WHERE T4.year = '1970';\n","100":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the name of the different car makers who produced a car in 1970?\n\n### SQL\nSELECT DISTINCT T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker JOIN CAR_NAMES AS T3 ON T2.model = T3.model JOIN CARS_DATA AS T4 ON T3.MakeId = T4.id WHERE T4.year = '1970';\n","101":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nFind the make and production time of the cars that were produced in the earliest year?\n\n### SQL\nSELECT T2.Make , T1.Year FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T1.Year = (SELECT min(YEAR) FROM CARS_DATA);\n","102":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the maker of the carr produced in the earliest year and what year was it?\n\n### SQL\nSELECT T2.Make , T1.Year FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T1.Year = (SELECT min(YEAR) FROM CARS_DATA);\n","103":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhich distinct car models are the produced after 1980?\n\n### SQL\nSELECT DISTINCT T1.model FROM MODEL_LIST AS T1 JOIN CAR_NAMES AS T2 ON T1.model = T2.model JOIN CARS_DATA AS T3 ON T2.MakeId = T3.id WHERE T3.year > 1980;\n","104":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat are the different models for the cards produced after 1980?\n\n### SQL\nSELECT DISTINCT T1.model FROM MODEL_LIST AS T1 JOIN CAR_NAMES AS T2 ON T1.model = T2.model JOIN CARS_DATA AS T3 ON T2.MakeId = T3.id WHERE T3.year > 1980;\n","105":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nHow many car makers are there in each continents? List the continent name and the count.\n\n### SQL\nSELECT T1.Continent , count(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId = T2.continent JOIN car_makers AS T3 ON T2.CountryId = T3.Country GROUP BY T1.Continent;\n","106":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the name of each continent and how many car makers are there in each one?\n\n### SQL\nSELECT T1.Continent , count(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId = T2.continent JOIN car_makers AS T3 ON T2.CountryId = T3.Country GROUP BY T1.Continent;\n","107":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhich of the countries has the most car makers? List the country name.\n\n### SQL\nSELECT T2.CountryName FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country = T2.CountryId GROUP BY T1.Country ORDER BY Count(*) DESC LIMIT 1;\n","108":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the name of the country with the most car makers?\n\n### SQL\nSELECT T2.CountryName FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country = T2.CountryId GROUP BY T1.Country ORDER BY Count(*) DESC LIMIT 1;\n","109":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nHow many car models are produced by each maker ? Only list the count and the maker full name .\n\n### SQL\nselect count(*) , t2.fullname from model_list as t1 join car_makers as t2 on t1.maker = t2.id group by t2.id;\n","110":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the number of car models that are produced by each maker and what is the id and full name of each maker?\n\n### SQL\nSELECT Count(*) , T2.FullName , T2.id FROM MODEL_LIST AS T1 JOIN CAR_MAKERS AS T2 ON T1.Maker = T2.Id GROUP BY T2.id;\n","111":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the accelerate of the car make amc hornet sportabout (sw)?\n\n### SQL\nSELECT T1.Accelerate FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T2.Make = 'amc hornet sportabout (sw)';\n","112":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nHow much does the car accelerate that makes amc hornet sportabout (sw)?\n\n### SQL\nSELECT T1.Accelerate FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T2.Make = 'amc hornet sportabout (sw)';\n","113":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nHow many car makers are there in france?\n\n### SQL\nSELECT count(*) FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country = T2.CountryId WHERE T2.CountryName = 'france';\n","114":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the number of makers of care in France?\n\n### SQL\nSELECT count(*) FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country = T2.CountryId WHERE T2.CountryName = 'france';\n","115":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nHow many car models are produced in the usa?\n\n### SQL\nSELECT count(*) FROM MODEL_LIST AS T1 JOIN CAR_MAKERS AS T2 ON T1.Maker = T2.Id JOIN COUNTRIES AS T3 ON T2.Country = T3.CountryId WHERE T3.CountryName = 'usa';\n","116":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the count of the car models produced in the United States?\n\n### SQL\nSELECT count(*) FROM MODEL_LIST AS T1 JOIN CAR_MAKERS AS T2 ON T1.Maker = T2.Id JOIN COUNTRIES AS T3 ON T2.Country = T3.CountryId WHERE T3.CountryName = 'usa';\n","117":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the average miles per gallon(mpg) of the cars with 4 cylinders?\n\n### SQL\nSELECT avg(mpg) FROM CARS_DATA WHERE Cylinders = 4;\n","118":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the average miles per gallon of all the cards with 4 cylinders?\n\n### SQL\nSELECT avg(mpg) FROM CARS_DATA WHERE Cylinders = 4;\n","119":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the smallest weight of the car produced with 8 cylinders on 1974 ?\n\n### SQL\nselect min(weight) from cars_data where cylinders = 8 and year = 1974\n","120":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the minimum weight of the car with 8 cylinders produced in 1974 ?\n\n### SQL\nselect min(weight) from cars_data where cylinders = 8 and year = 1974\n","121":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat are all the makers and models?\n\n### SQL\nSELECT Maker , Model FROM MODEL_LIST;\n","122":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat are the makers and models?\n\n### SQL\nSELECT Maker , Model FROM MODEL_LIST;\n","123":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat are the countries having at least one car maker? List name and id.\n\n### SQL\nSELECT T1.CountryName , T1.CountryId FROM COUNTRIES AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId = T2.Country GROUP BY T1.CountryId HAVING count(*) >= 1;\n","124":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat are the names and ids of all countries with at least one car maker?\n\n### SQL\nSELECT T1.CountryName , T1.CountryId FROM COUNTRIES AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId = T2.Country GROUP BY T1.CountryId HAVING count(*) >= 1;\n","125":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the number of the cars with horsepower more than 150?\n\n### SQL\nSELECT count(*) FROM CARS_DATA WHERE horsepower > 150;\n","126":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the number of cars with a horsepower greater than 150?\n\n### SQL\nSELECT count(*) FROM CARS_DATA WHERE horsepower > 150;\n","127":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the average weight of cars each year?\n\n### SQL\nSELECT avg(Weight) , YEAR FROM CARS_DATA GROUP BY YEAR;\n","128":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the average weight and year for each year?\n\n### SQL\nSELECT avg(Weight) , YEAR FROM CARS_DATA GROUP BY YEAR;\n","129":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhich countries in europe have at least 3 car manufacturers?\n\n### SQL\nSELECT T1.CountryName FROM COUNTRIES AS T1 JOIN CONTINENTS AS T2 ON T1.Continent = T2.ContId JOIN CAR_MAKERS AS T3 ON T1.CountryId = T3.Country WHERE T2.Continent = 'europe' GROUP BY T1.CountryName HAVING count(*) >= 3;\n","130":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat are the names of all European countries with at least 3 manufacturers?\n\n### SQL\nSELECT T1.CountryName FROM COUNTRIES AS T1 JOIN CONTINENTS AS T2 ON T1.Continent = T2.ContId JOIN CAR_MAKERS AS T3 ON T1.CountryId = T3.Country WHERE T2.Continent = 'europe' GROUP BY T1.CountryName HAVING count(*) >= 3;\n","131":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the maximum horsepower and the make of the car models with 3 cylinders?\n\n### SQL\nSELECT T2.horsepower , T1.Make FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.cylinders = 3 ORDER BY T2.horsepower DESC LIMIT 1;\n","132":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the largest amount of horsepower for the models with 3 cylinders and what make is it?\n\n### SQL\nSELECT T2.horsepower , T1.Make FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.cylinders = 3 ORDER BY T2.horsepower DESC LIMIT 1;\n","133":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhich model saves the most gasoline? That is to say, have the maximum miles per gallon.\n\n### SQL\nSELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id ORDER BY T2.mpg DESC LIMIT 1;\n","134":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the car model with the highest mpg ?\n\n### SQL\nselect t1.model from car_names as t1 join cars_data as t2 on t1.makeid = t2.id order by t2.mpg desc limit 1;\n","135":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the average horsepower of the cars before 1980?\n\n### SQL\nSELECT avg(horsepower) FROM CARS_DATA WHERE YEAR < 1980;\n","136":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the average horsepower for all cars produced before 1980 ?\n\n### SQL\nselect avg(horsepower) from cars_data where year < 1980;\n","137":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the average edispl of the cars of model volvo?\n\n### SQL\nSELECT avg(T2.edispl) FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T1.Model = 'volvo';\n","138":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the average edispl for all volvos?\n\n### SQL\nSELECT avg(T2.edispl) FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T1.Model = 'volvo';\n","139":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the maximum accelerate for different number of cylinders?\n\n### SQL\nSELECT max(Accelerate) , Cylinders FROM CARS_DATA GROUP BY Cylinders;\n","140":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the maximum accelerate for all the different cylinders?\n\n### SQL\nSELECT max(Accelerate) , Cylinders FROM CARS_DATA GROUP BY Cylinders;\n","141":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhich model has the most version(make) of cars?\n\n### SQL\nSELECT Model FROM CAR_NAMES GROUP BY Model ORDER BY count(*) DESC LIMIT 1;\n","142":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat model has the most different versions?\n\n### SQL\nSELECT Model FROM CAR_NAMES GROUP BY Model ORDER BY count(*) DESC LIMIT 1;\n","143":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nHow many cars have more than 4 cylinders?\n\n### SQL\nSELECT count(*) FROM CARS_DATA WHERE Cylinders > 4;\n","144":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the number of cars with more than 4 cylinders?\n\n### SQL\nSELECT count(*) FROM CARS_DATA WHERE Cylinders > 4;\n","145":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nhow many cars were produced in 1980?\n\n### SQL\nSELECT count(*) FROM CARS_DATA WHERE YEAR = 1980;\n","146":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nIn 1980, how many cars were made?\n\n### SQL\nSELECT count(*) FROM CARS_DATA WHERE YEAR = 1980;\n","147":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nHow many car models were produced by the maker with full name American Motor Company?\n\n### SQL\nSELECT count(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker WHERE T1.FullName = 'American Motor Company';\n","148":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the number of car models created by the car maker American Motor Company?\n\n### SQL\nSELECT count(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker WHERE T1.FullName = 'American Motor Company';\n","149":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhich makers designed more than 3 car models? List full name and the id.\n\n### SQL\nSELECT T1.FullName , T1.Id FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id HAVING count(*) > 3;\n","150":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat are the names and ids of all makers with more than 3 models?\n\n### SQL\nSELECT T1.FullName , T1.Id FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id HAVING count(*) > 3;\n","151":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhich distinctive models are produced by maker with the full name General Motors or weighing more than 3500?\n\n### SQL\nSELECT DISTINCT T2.Model FROM CAR_NAMES AS T1 JOIN MODEL_LIST AS T2 ON T1.Model = T2.Model JOIN CAR_MAKERS AS T3 ON T2.Maker = T3.Id JOIN CARS_DATA AS T4 ON T1.MakeId = T4.Id WHERE T3.FullName = 'General Motors' OR T4.weight > 3500;\n","152":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat are the different models created by either the car maker General Motors or weighed more than 3500?\n\n### SQL\nSELECT DISTINCT T2.Model FROM CAR_NAMES AS T1 JOIN MODEL_LIST AS T2 ON T1.Model = T2.Model JOIN CAR_MAKERS AS T3 ON T2.Maker = T3.Id JOIN CARS_DATA AS T4 ON T1.MakeId = T4.Id WHERE T3.FullName = 'General Motors' OR T4.weight > 3500;\n","153":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nIn which years cars were produced weighing no less than 3000 and no more than 4000 ?\n\n### SQL\nselect distinct year from cars_data where weight between 3000 and 4000;\n","154":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat are the different years in which there were cars produced that weighed less than 4000 and also cars that weighted more than 3000 ?\n\n### SQL\nselect distinct year from cars_data where weight between 3000 and 4000;\n","155":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the horsepower of the car with the largest accelerate?\n\n### SQL\nSELECT T1.horsepower FROM CARS_DATA AS T1 ORDER BY T1.accelerate DESC LIMIT 1;\n","156":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the horsepower of the car with the greatest accelerate?\n\n### SQL\nSELECT T1.horsepower FROM CARS_DATA AS T1 ORDER BY T1.accelerate DESC LIMIT 1;\n","157":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nFor model volvo, how many cylinders does the car with the least accelerate have?\n\n### SQL\nSELECT T1.cylinders FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T2.Model = 'volvo' ORDER BY T1.accelerate ASC LIMIT 1;\n","158":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nFor a volvo model, how many cylinders does the version with least accelerate have?\n\n### SQL\nSELECT T1.cylinders FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T2.Model = 'volvo' ORDER BY T1.accelerate ASC LIMIT 1;\n","159":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nHow many cars have a larger accelerate than the car with the largest horsepower?\n\n### SQL\nSELECT COUNT(*) FROM CARS_DATA WHERE Accelerate > ( SELECT Accelerate FROM CARS_DATA ORDER BY Horsepower DESC LIMIT 1 );\n","160":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the number of cars with a greater accelerate than the one with the most horsepower?\n\n### SQL\nSELECT COUNT(*) FROM CARS_DATA WHERE Accelerate > ( SELECT Accelerate FROM CARS_DATA ORDER BY Horsepower DESC LIMIT 1 );\n","161":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nHow many countries has more than 2 car makers ?\n\n### SQL\nselect count(*) from countries as t1 join car_makers as t2 on t1.countryid = t2.country group by t1.countryid having count(*) > 2\n","162":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the number of countries with more than 2 car makers ?\n\n### SQL\nselect count(*) from countries as t1 join car_makers as t2 on t1.countryid = t2.country group by t1.countryid having count(*) > 2\n","163":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nHow many cars has over 6 cylinders?\n\n### SQL\nSELECT COUNT(*) FROM CARS_DATA WHERE Cylinders > 6;\n","164":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the number of carsw ith over 6 cylinders?\n\n### SQL\nSELECT COUNT(*) FROM CARS_DATA WHERE Cylinders > 6;\n","165":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nFor the cars with 4 cylinders, which model has the largest horsepower?\n\n### SQL\nSELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.Cylinders = 4 ORDER BY T2.horsepower DESC LIMIT 1;\n","166":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nFor all of the 4 cylinder cars, which model has the most horsepower?\n\n### SQL\nSELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.Cylinders = 4 ORDER BY T2.horsepower DESC LIMIT 1;\n","167":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nAmong the cars with more than lowest horsepower, which ones do not have more than 3 cylinders? List the car makeid and make name.\n\n### SQL\nSELECT T2.MakeId , T2.Make FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T1.Horsepower > (SELECT min(Horsepower) FROM CARS_DATA) AND T1.Cylinders <= 3;\n","168":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nAmong the cars that do not have the minimum horsepower , what are the make ids and names of all those with less than 4 cylinders ?\n\n### SQL\nselect t2.makeid , t2.make from cars_data as t1 join car_names as t2 on t1.id = t2.makeid where t1.horsepower > (select min(horsepower) from cars_data) and t1.cylinders < 4;\n","169":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the maximum miles per gallon of the car with 8 cylinders or produced before 1980 ?\n\n### SQL\nselect max(mpg) from cars_data where cylinders = 8 or year < 1980\n","170":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat is the maximum mpg of the cars that had 8 cylinders or that were produced before 1980 ?\n\n### SQL\nselect max(mpg) from cars_data where cylinders = 8 or year < 1980\n","171":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhich models are lighter than 3500 but not built by the 'Ford Motor Company'?\n\n### SQL\nSELECT DISTINCT T1.model FROM MODEL_LIST AS T1 JOIN CAR_NAMES AS T2 ON T1.Model = T2.Model JOIN CARS_DATA AS T3 ON T2.MakeId = T3.Id JOIN CAR_MAKERS AS T4 ON T1.Maker = T4.Id WHERE T3.weight < 3500 AND T4.FullName != 'Ford Motor Company';\n","172":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat are the different models wthat are lighter than 3500 but were not built by the Ford Motor Company?\n\n### SQL\nSELECT DISTINCT T1.model FROM MODEL_LIST AS T1 JOIN CAR_NAMES AS T2 ON T1.Model = T2.Model JOIN CARS_DATA AS T3 ON T2.MakeId = T3.Id JOIN CAR_MAKERS AS T4 ON T1.Maker = T4.Id WHERE T3.weight < 3500 AND T4.FullName != 'Ford Motor Company';\n","173":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat are the name of the countries where there is not a single car maker?\n\n### SQL\nSELECT CountryName FROM countries EXCEPT SELECT T1.CountryName FROM countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.countryId = T2.Country;\n","174":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat are the names of the countries with no car makers?\n\n### SQL\nSELECT CountryName FROM countries EXCEPT SELECT T1.CountryName FROM countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.countryId = T2.Country;\n","175":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhich are the car makers which produce at least 2 models and more than 3 car makers ? List the id and the maker .\n\n### SQL\nselect t1.id , t1.maker from car_makers as t1 join model_list as t2 on t1.id = t2.maker group by t1.id having count(*) >= 2 intersect select t1.id , t1.maker from car_makers as t1 join model_list as t2 on t1.id = t2.maker join car_names as t3 on t2.model = t3.model group by t1.id having count(*) > 3;\n","176":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat are the ids and makers of all car makers that produce at least 2 models and make more than 3 cars?\n\n### SQL\nSELECT T1.Id , T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id HAVING count(*) >= 2 INTERSECT SELECT T1.Id , T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker JOIN CAR_NAMES AS T3 ON T2.model = T3.model GROUP BY T1.Id HAVING count(*) > 3;\n","177":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat are the id and names of the countries which have more than 3 car makers or produce the 'fiat' model?\n\n### SQL\nSELECT T1.countryId , T1.CountryName FROM Countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId = T2.Country GROUP BY T1.countryId HAVING count(*) > 3 UNION SELECT T1.countryId , T1.CountryName FROM Countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId = T2.Country JOIN MODEL_LIST AS T3 ON T2.Id = T3.Maker WHERE T3.Model = 'fiat';\n","178":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"continents\" ( \n\t\"ContId\" INTEGER PRIMARY KEY, \n\t\"Continent\" TEXT \n)\n\nCREATE TABLE \"countries\" (\n\t\"CountryId\" INTEGER PRIMARY KEY, \n\t\"CountryName\" TEXT, \n\t\"Continent\" INTEGER,\n\tFOREIGN KEY (Continent) REFERENCES continents(ContId)\n)\n\nCREATE TABLE \"car_makers\" ( \n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"Maker\" TEXT, \n\t\"FullName\" TEXT, \n\t\"Country\" TEXT,\n\tFOREIGN KEY (Country) REFERENCES countries(CountryId)\n)\n\nCREATE TABLE \"model_list\" ( \n\t\"ModelId\" INTEGER PRIMARY KEY, \n\t\"Maker\" INTEGER, \n\t\"Model\" TEXT UNIQUE,\n\tFOREIGN KEY (Maker) REFERENCES car_makers (Id)\n\n)\n\nCREATE TABLE \"car_names\" ( \n\t\"MakeId\" INTEGER PRIMARY KEY, \n\t\"Model\" TEXT, \n\t\"Make\" TEXT,\n\tFOREIGN KEY (Model) REFERENCES model_list (Model)\n)\n\nCREATE TABLE \"cars_data\" (\n\t\"Id\" INTEGER PRIMARY KEY, \n\t\"MPG\" TEXT, \n\t\"Cylinders\" INTEGER, \n\t\"Edispl\" REAL, \n\t\"Horsepower\" TEXT, \n\t\"Weight\" INTEGER, \n\t\"Accelerate\" REAL, \n\t\"Year\" INTEGER,\n\tFOREIGN KEY (Id) REFERENCES car_names (MakeId)\n)\n\n### Question\nWhat are the ids and names of all countries that either have more than 3 car makers or produce fiat model ?\n\n### SQL\nselect t1.countryid , t1.countryname from countries as t1 join car_makers as t2 on t1.countryid = t2.country group by t1.countryid having count(*) > 3 union select t1.countryid , t1.countryname from countries as t1 join car_makers as t2 on t1.countryid = t2.country join model_list as t3 on t2.id = t3.maker where t3.model = 'fiat';\n","179":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhich country does Airline \"JetBlue Airways\" belong to?\n\n### SQL\nSELECT Country FROM AIRLINES WHERE Airline = \"JetBlue Airways\"\n","180":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhat country is Jetblue Airways affiliated with?\n\n### SQL\nSELECT Country FROM AIRLINES WHERE Airline = \"JetBlue Airways\"\n","181":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhat is the abbreviation of Airline \"JetBlue Airways\"?\n\n### SQL\nSELECT Abbreviation FROM AIRLINES WHERE Airline = \"JetBlue Airways\"\n","182":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhich abbreviation corresponds to Jetblue Airways?\n\n### SQL\nSELECT Abbreviation FROM AIRLINES WHERE Airline = \"JetBlue Airways\"\n","183":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nList all airline names and their abbreviations in \"USA\".\n\n### SQL\nSELECT Airline , Abbreviation FROM AIRLINES WHERE Country = \"USA\"\n","184":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhat are the airline names and abbreviations for airlines in the USA?\n\n### SQL\nSELECT Airline , Abbreviation FROM AIRLINES WHERE Country = \"USA\"\n","185":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nList the airport code and name in the city of Anthony.\n\n### SQL\nSELECT AirportCode , AirportName FROM AIRPORTS WHERE city = \"Anthony\"\n","186":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nGive the airport code and airport name corresonding to the city Anthony.\n\n### SQL\nSELECT AirportCode , AirportName FROM AIRPORTS WHERE city = \"Anthony\"\n","187":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nHow many airlines do we have?\n\n### SQL\nSELECT count(*) FROM AIRLINES\n","188":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhat is the total number of airlines?\n\n### SQL\nSELECT count(*) FROM AIRLINES\n","189":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nHow many airports do we have?\n\n### SQL\nSELECT count(*) FROM AIRPORTS\n","190":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nReturn the number of airports.\n\n### SQL\nSELECT count(*) FROM AIRPORTS\n","191":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nHow many flights do we have?\n\n### SQL\nSELECT count(*) FROM FLIGHTS\n","192":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nReturn the number of flights.\n\n### SQL\nSELECT count(*) FROM FLIGHTS\n","193":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhich airline has abbreviation 'UAL'?\n\n### SQL\nSELECT Airline FROM AIRLINES WHERE Abbreviation = \"UAL\"\n","194":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nGive the airline with abbreviation 'UAL'.\n\n### SQL\nSELECT Airline FROM AIRLINES WHERE Abbreviation = \"UAL\"\n","195":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nHow many airlines are from USA?\n\n### SQL\nSELECT count(*) FROM AIRLINES WHERE Country = \"USA\"\n","196":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nReturn the number of airlines in the USA.\n\n### SQL\nSELECT count(*) FROM AIRLINES WHERE Country = \"USA\"\n","197":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhich city and country is the Alton airport at?\n\n### SQL\nSELECT City , Country FROM AIRPORTS WHERE AirportName = \"Alton\"\n","198":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nGive the city and country for the Alton airport.\n\n### SQL\nSELECT City , Country FROM AIRPORTS WHERE AirportName = \"Alton\"\n","199":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhat is the airport name for airport 'AKO'?\n\n### SQL\nSELECT AirportName FROM AIRPORTS WHERE AirportCode = \"AKO\"\n","200":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nReturn the name of the airport with code 'AKO'.\n\n### SQL\nSELECT AirportName FROM AIRPORTS WHERE AirportCode = \"AKO\"\n","201":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhat are airport names at City 'Aberdeen'?\n\n### SQL\nSELECT AirportName FROM AIRPORTS WHERE City = \"Aberdeen\"\n","202":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhat are the names of airports in Aberdeen?\n\n### SQL\nSELECT AirportName FROM AIRPORTS WHERE City = \"Aberdeen\"\n","203":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nHow many flights depart from 'APG'?\n\n### SQL\nSELECT count(*) FROM FLIGHTS WHERE SourceAirport = \"APG\"\n","204":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nCount the number of flights departing from 'APG'.\n\n### SQL\nSELECT count(*) FROM FLIGHTS WHERE SourceAirport = \"APG\"\n","205":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nHow many flights have destination ATO?\n\n### SQL\nSELECT count(*) FROM FLIGHTS WHERE DestAirport = \"ATO\"\n","206":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nCount the number of flights into ATO.\n\n### SQL\nSELECT count(*) FROM FLIGHTS WHERE DestAirport = \"ATO\"\n","207":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nHow many flights depart from City Aberdeen?\n\n### SQL\nSELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport = T2.AirportCode WHERE T2.City = \"Aberdeen\"\n","208":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nReturn the number of flights departing from Aberdeen.\n\n### SQL\nSELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport = T2.AirportCode WHERE T2.City = \"Aberdeen\"\n","209":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nHow many flights arriving in Aberdeen city?\n\n### SQL\nSELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.City = \"Aberdeen\"\n","210":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nReturn the number of flights arriving in Aberdeen.\n\n### SQL\nSELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.City = \"Aberdeen\"\n","211":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nHow many flights depart from City 'Aberdeen' and have destination City 'Ashley'?\n\n### SQL\nSELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRPORTS AS T3 ON T1.SourceAirport = T3.AirportCode WHERE T2.City = \"Ashley\" AND T3.City = \"Aberdeen\"\n","212":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nHow many flights fly from Aberdeen to Ashley?\n\n### SQL\nSELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRPORTS AS T3 ON T1.SourceAirport = T3.AirportCode WHERE T2.City = \"Ashley\" AND T3.City = \"Aberdeen\"\n","213":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nHow many flights does airline 'JetBlue Airways' have?\n\n### SQL\nSELECT count(*) FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T1.Airline = T2.uid WHERE T2.Airline = \"JetBlue Airways\"\n","214":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nGive the number of Jetblue Airways flights.\n\n### SQL\nSELECT count(*) FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T1.Airline = T2.uid WHERE T2.Airline = \"JetBlue Airways\"\n","215":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nHow many 'United Airlines' flights go to Airport 'ASY'?\n\n### SQL\nSELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline = T1.uid WHERE T1.Airline = \"United Airlines\" AND T2.DestAirport = \"ASY\"\n","216":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nCount the number of United Airlines flights arriving in ASY Airport.\n\n### SQL\nSELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline = T1.uid WHERE T1.Airline = \"United Airlines\" AND T2.DestAirport = \"ASY\"\n","217":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nHow many 'United Airlines' flights depart from Airport 'AHD'?\n\n### SQL\nSELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline = T1.uid WHERE T1.Airline = \"United Airlines\" AND T2.SourceAirport = \"AHD\"\n","218":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nReturn the number of United Airlines flights leaving from AHD Airport.\n\n### SQL\nSELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline = T1.uid WHERE T1.Airline = \"United Airlines\" AND T2.SourceAirport = \"AHD\"\n","219":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nHow many United Airlines flights go to City 'Aberdeen'?\n\n### SQL\nSELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRLINES AS T3 ON T3.uid = T1.Airline WHERE T2.City = \"Aberdeen\" AND T3.Airline = \"United Airlines\"\n","220":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nCount the number of United Airlines flights that arrive in Aberdeen.\n\n### SQL\nSELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRLINES AS T3 ON T3.uid = T1.Airline WHERE T2.City = \"Aberdeen\" AND T3.Airline = \"United Airlines\"\n","221":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhich city has most number of arriving flights?\n\n### SQL\nSELECT T1.City FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport GROUP BY T1.City ORDER BY count(*) DESC LIMIT 1\n","222":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhich city has the most frequent destination airport?\n\n### SQL\nSELECT T1.City FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport GROUP BY T1.City ORDER BY count(*) DESC LIMIT 1\n","223":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhich city has most number of departing flights?\n\n### SQL\nSELECT T1.City FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.SourceAirport GROUP BY T1.City ORDER BY count(*) DESC LIMIT 1\n","224":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhich city is the most frequent source airport?\n\n### SQL\nSELECT T1.City FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.SourceAirport GROUP BY T1.City ORDER BY count(*) DESC LIMIT 1\n","225":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhat is the code of airport that has the highest number of flights?\n\n### SQL\nSELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport OR T1.AirportCode = T2.SourceAirport GROUP BY T1.AirportCode ORDER BY count(*) DESC LIMIT 1\n","226":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhat is the airport code of the airport with the most flights?\n\n### SQL\nSELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport OR T1.AirportCode = T2.SourceAirport GROUP BY T1.AirportCode ORDER BY count(*) DESC LIMIT 1\n","227":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhat is the code of airport that has fewest number of flights?\n\n### SQL\nSELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport OR T1.AirportCode = T2.SourceAirport GROUP BY T1.AirportCode ORDER BY count(*) LIMIT 1\n","228":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nGive the code of the airport with the least flights.\n\n### SQL\nSELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport OR T1.AirportCode = T2.SourceAirport GROUP BY T1.AirportCode ORDER BY count(*) LIMIT 1\n","229":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhich airline has most number of flights?\n\n### SQL\nSELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline ORDER BY count(*) DESC LIMIT 1\n","230":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhat airline serves the most flights?\n\n### SQL\nSELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline ORDER BY count(*) DESC LIMIT 1\n","231":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nFind the abbreviation and country of the airline that has fewest number of flights?\n\n### SQL\nSELECT T1.Abbreviation , T1.Country FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline ORDER BY count(*) LIMIT 1\n","232":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhat is the abbreviation of the airilne has the fewest flights and what country is it in?\n\n### SQL\nSELECT T1.Abbreviation , T1.Country FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline ORDER BY count(*) LIMIT 1\n","233":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhat are airlines that have some flight departing from airport 'AHD'?\n\n### SQL\nSELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"AHD\"\n","234":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhich airlines have a flight with source airport AHD?\n\n### SQL\nSELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"AHD\"\n","235":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhat are airlines that have flights arriving at airport 'AHD'?\n\n### SQL\nSELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.DestAirport = \"AHD\"\n","236":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhich airlines have a flight with destination airport AHD?\n\n### SQL\nSELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.DestAirport = \"AHD\"\n","237":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nFind all airlines that have flights from both airports 'APG' and 'CVO'.\n\n### SQL\nSELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"APG\" INTERSECT SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"CVO\"\n","238":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhich airlines have departing flights from both APG and CVO airports?\n\n### SQL\nSELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"APG\" INTERSECT SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"CVO\"\n","239":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nFind all airlines that have flights from airport 'CVO' but not from 'APG'.\n\n### SQL\nSELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"CVO\" EXCEPT SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"APG\"\n","240":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhich airlines have departures from CVO but not from APG airports?\n\n### SQL\nSELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"CVO\" EXCEPT SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"APG\"\n","241":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nFind all airlines that have at least 10 flights.\n\n### SQL\nSELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline HAVING count(*) > 10\n","242":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhich airlines have at least 10 flights?\n\n### SQL\nSELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline HAVING count(*) > 10\n","243":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nFind all airlines that have fewer than 200 flights.\n\n### SQL\nSELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline HAVING count(*) < 200\n","244":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhich airlines have less than 200 flights?\n\n### SQL\nSELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline HAVING count(*) < 200\n","245":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhat are flight numbers of Airline \"United Airlines\"?\n\n### SQL\nSELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T2.uid = T1.Airline WHERE T2.Airline = \"United Airlines\"\n","246":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhich flight numbers correspond to United Airlines flights?\n\n### SQL\nSELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T2.uid = T1.Airline WHERE T2.Airline = \"United Airlines\"\n","247":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhat are flight numbers of flights departing from Airport \"APG\"?\n\n### SQL\nSELECT FlightNo FROM FLIGHTS WHERE SourceAirport = \"APG\"\n","248":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nGive the flight numbers of flights leaving from APG.\n\n### SQL\nSELECT FlightNo FROM FLIGHTS WHERE SourceAirport = \"APG\"\n","249":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhat are flight numbers of flights arriving at Airport \"APG\"?\n\n### SQL\nSELECT FlightNo FROM FLIGHTS WHERE DestAirport = \"APG\"\n","250":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nGive the flight numbers of flights landing at APG.\n\n### SQL\nSELECT FlightNo FROM FLIGHTS WHERE DestAirport = \"APG\"\n","251":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhat are flight numbers of flights departing from City \"Aberdeen \"?\n\n### SQL\nSELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport = T2.AirportCode WHERE T2.City = \"Aberdeen\"\n","252":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nGive the flight numbers of flights leaving from Aberdeen.\n\n### SQL\nSELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport = T2.AirportCode WHERE T2.City = \"Aberdeen\"\n","253":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhat are flight numbers of flights arriving at City \"Aberdeen\"?\n\n### SQL\nSELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.City = \"Aberdeen\"\n","254":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nGive the flight numbers of flights arriving in Aberdeen.\n\n### SQL\nSELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.City = \"Aberdeen\"\n","255":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nFind the number of flights landing in the city of Aberdeen or Abilene.\n\n### SQL\nSELECT count(*) FROM Flights AS T1 JOIN Airports AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.city = \"Aberdeen\" OR T2.city = \"Abilene\"\n","256":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nHow many flights land in Aberdeen or Abilene?\n\n### SQL\nSELECT count(*) FROM Flights AS T1 JOIN Airports AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.city = \"Aberdeen\" OR T2.city = \"Abilene\"\n","257":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nFind the name of airports which do not have any flight in and out.\n\n### SQL\nSELECT AirportName FROM Airports WHERE AirportCode NOT IN (SELECT SourceAirport FROM Flights UNION SELECT DestAirport FROM Flights)\n","258":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE 'airlines' (\n\tuid INTEGER PRIMARY KEY, \n\tAirline TEXT, \n\tAbbreviation TEXT, \n\tCountry TEXT\n)\n\nCREATE TABLE 'airports' (\n\tCity TEXT, \n\tAirportCode TEXT PRIMARY KEY, \n\tAirportName TEXT, \n\tCountry TEXT, \n\tCountryAbbrev TEXT\n)\n\nCREATE TABLE 'flights' (\n\tAirline INTEGER, \n\tFlightNo INTEGER, \n\tSourceAirport TEXT, \n\tDestAirport TEXT, \n\tPRIMARY KEY(Airline, FlightNo),\n\tFOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),\n\tFOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)\n)\n\n### Question\nWhich airports do not have departing or arriving flights?\n\n### SQL\nSELECT AirportName FROM Airports WHERE AirportCode NOT IN (SELECT SourceAirport FROM Flights UNION SELECT DestAirport FROM Flights)\n","259":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nHow many employees are there?\n\n### SQL\nSELECT count(*) FROM employee\n","260":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nCount the number of employees\n\n### SQL\nSELECT count(*) FROM employee\n","261":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nSort employee names by their age in ascending order.\n\n### SQL\nSELECT name FROM employee ORDER BY age\n","262":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nList the names of employees and sort in ascending order of age.\n\n### SQL\nSELECT name FROM employee ORDER BY age\n","263":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nWhat is the number of employees from each city?\n\n### SQL\nSELECT count(*) , city FROM employee GROUP BY city\n","264":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nCount the number of employees for each city.\n\n### SQL\nSELECT count(*) , city FROM employee GROUP BY city\n","265":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nWhich cities do more than one employee under age 30 come from?\n\n### SQL\nSELECT city FROM employee WHERE age < 30 GROUP BY city HAVING count(*) > 1\n","266":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nFind the cities that have more than one employee under age 30.\n\n### SQL\nSELECT city FROM employee WHERE age < 30 GROUP BY city HAVING count(*) > 1\n","267":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nFind the number of shops in each location.\n\n### SQL\nSELECT count(*) , LOCATION FROM shop GROUP BY LOCATION\n","268":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nHow many shops are there in each location?\n\n### SQL\nSELECT count(*) , LOCATION FROM shop GROUP BY LOCATION\n","269":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nFind the manager name and district of the shop whose number of products is the largest.\n\n### SQL\nSELECT manager_name , district FROM shop ORDER BY number_products DESC LIMIT 1\n","270":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nWhat are the manager name and district of the shop that sells the largest number of products?\n\n### SQL\nSELECT manager_name , district FROM shop ORDER BY number_products DESC LIMIT 1\n","271":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nfind the minimum and maximum number of products of all stores.\n\n### SQL\nSELECT min(Number_products) , max(Number_products) FROM shop\n","272":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nWhat are the minimum and maximum number of products across all the shops?\n\n### SQL\nSELECT min(Number_products) , max(Number_products) FROM shop\n","273":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nReturn the name, location and district of all shops in descending order of number of products.\n\n### SQL\nSELECT name , LOCATION , district FROM shop ORDER BY number_products DESC\n","274":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nSort all the shops by number products in descending order, and return the name, location and district of each shop.\n\n### SQL\nSELECT name , LOCATION , district FROM shop ORDER BY number_products DESC\n","275":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nFind the names of stores whose number products is more than the average number of products.\n\n### SQL\nSELECT name FROM shop WHERE number_products > (SELECT avg(number_products) FROM shop)\n","276":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nWhich shops' number products is above the average? Give me the shop names.\n\n### SQL\nSELECT name FROM shop WHERE number_products > (SELECT avg(number_products) FROM shop)\n","277":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nfind the name of employee who was awarded the most times in the evaluation.\n\n### SQL\nSELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID GROUP BY t2.Employee_ID ORDER BY count(*) DESC LIMIT 1\n","278":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nWhich employee received the most awards in evaluations? Give me the employee name.\n\n### SQL\nSELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID GROUP BY t2.Employee_ID ORDER BY count(*) DESC LIMIT 1\n","279":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nFind the name of the employee who got the highest one time bonus.\n\n### SQL\nSELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID ORDER BY t2.bonus DESC LIMIT 1\n","280":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nWhich employee received the biggest bonus? Give me the employee name.\n\n### SQL\nSELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID ORDER BY t2.bonus DESC LIMIT 1\n","281":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nFind the names of employees who never won any award in the evaluation.\n\n### SQL\nSELECT name FROM employee WHERE Employee_ID NOT IN (SELECT Employee_ID FROM evaluation)\n","282":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nWhat are the names of the employees who never received any evaluation?\n\n### SQL\nSELECT name FROM employee WHERE Employee_ID NOT IN (SELECT Employee_ID FROM evaluation)\n","283":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nWhat is the name of the shop that is hiring the largest number of employees?\n\n### SQL\nSELECT t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t1.shop_id ORDER BY count(*) DESC LIMIT 1\n","284":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nWhich shop has the most employees? Give me the shop name.\n\n### SQL\nSELECT t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t1.shop_id ORDER BY count(*) DESC LIMIT 1\n","285":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nFind the name of the shops that do not hire any employee.\n\n### SQL\nSELECT name FROM shop WHERE shop_id NOT IN (SELECT shop_id FROM hiring)\n","286":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nWhich shops run with no employees? Find the shop names\n\n### SQL\nSELECT name FROM shop WHERE shop_id NOT IN (SELECT shop_id FROM hiring)\n","287":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nFind the number of employees hired in each shop; show the shop name as well.\n\n### SQL\nSELECT count(*) , t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t2.name\n","288":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nFor each shop, return the number of employees working there and the name of the shop.\n\n### SQL\nSELECT count(*) , t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t2.name\n","289":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nWhat is total bonus given in all evaluations?\n\n### SQL\nSELECT sum(bonus) FROM evaluation\n","290":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nFind the total amount of bonus given in all the evaluations.\n\n### SQL\nSELECT sum(bonus) FROM evaluation\n","291":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nGive me all the information about hiring.\n\n### SQL\nSELECT * FROM hiring\n","292":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nWhat is all the information about hiring?\n\n### SQL\nSELECT * FROM hiring\n","293":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nWhich district has both stores with less than 3000 products and stores with more than 10000 products?\n\n### SQL\nSELECT district FROM shop WHERE Number_products < 3000 INTERSECT SELECT district FROM shop WHERE Number_products > 10000\n","294":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nFind the districts in which there are both shops selling less than 3000 products and shops selling more than 10000 products.\n\n### SQL\nSELECT district FROM shop WHERE Number_products < 3000 INTERSECT SELECT district FROM shop WHERE Number_products > 10000\n","295":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nHow many different store locations are there?\n\n### SQL\nSELECT count(DISTINCT LOCATION) FROM shop\n","296":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"employee\" (\n\"Employee_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"City\" text,\nPRIMARY KEY (\"Employee_ID\")\n)\n\nCREATE TABLE \"shop\" (\n\"Shop_ID\" int,\n\"Name\" text,\n\"Location\" text,\n\"District\" text,\n\"Number_products\" int,\n\"Manager_name\" text,\nPRIMARY KEY (\"Shop_ID\")\n)\n\nCREATE TABLE \"hiring\" (\n\"Shop_ID\" int,\n\"Employee_ID\" int,\n\"Start_from\" text,\n\"Is_full_time\" bool,\nPRIMARY KEY (\"Employee_ID\"),\nFOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\nCREATE TABLE \"evaluation\" (\n\"Employee_ID\" text,\n\"Year_awarded\" text,\n\"Bonus\" real,\nPRIMARY KEY (\"Employee_ID\",\"Year_awarded\"),\nFOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)\n)\n\n### Question\nCount the number of distinct store locations.\n\n### SQL\nSELECT count(DISTINCT LOCATION) FROM shop\n","297":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nHow many documents do we have?\n\n### SQL\nSELECT count(*) FROM Documents\n","298":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nCount the number of documents.\n\n### SQL\nSELECT count(*) FROM Documents\n","299":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nList document IDs, document names, and document descriptions for all documents.\n\n### SQL\nSELECT document_id , document_name , document_description FROM Documents\n","300":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat are the ids, names, and descriptions for all documents?\n\n### SQL\nSELECT document_id , document_name , document_description FROM Documents\n","301":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat is the document name and template id for document with description with the letter 'w' in it?\n\n### SQL\nSELECT document_name , template_id FROM Documents WHERE Document_Description LIKE \"%w%\"\n","302":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nReturn the names and template ids for documents that contain the letter w in their description.\n\n### SQL\nSELECT document_name , template_id FROM Documents WHERE Document_Description LIKE \"%w%\"\n","303":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat is the document id, template id and description for document named \"Robbin CV\"?\n\n### SQL\nSELECT document_id , template_id , Document_Description FROM Documents WHERE document_name = \"Robbin CV\"\n","304":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nReturn the document id, template id, and description for the document with the name Robbin CV.\n\n### SQL\nSELECT document_id , template_id , Document_Description FROM Documents WHERE document_name = \"Robbin CV\"\n","305":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nHow many different templates do all document use?\n\n### SQL\nSELECT count(DISTINCT template_id) FROM Documents\n","306":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nCount the number of different templates used for documents.\n\n### SQL\nSELECT count(DISTINCT template_id) FROM Documents\n","307":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nHow many documents are using the template with type code 'PPT'?\n\n### SQL\nSELECT count(*) FROM Documents AS T1 JOIN Templates AS T2 ON T1.Template_ID = T2.Template_ID WHERE T2.Template_Type_Code = 'PPT'\n","308":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nCount the number of documents that use the PPT template type.\n\n### SQL\nSELECT count(*) FROM Documents AS T1 JOIN Templates AS T2 ON T1.Template_ID = T2.Template_ID WHERE T2.Template_Type_Code = 'PPT'\n","309":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nShow all template ids and number of documents using each template.\n\n### SQL\nSELECT template_id , count(*) FROM Documents GROUP BY template_id\n","310":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat are all different template ids used for documents, and how many times were each of them used?\n\n### SQL\nSELECT template_id , count(*) FROM Documents GROUP BY template_id\n","311":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat is the id and type code for the template used by the most documents?\n\n### SQL\nSELECT T1.template_id , T2.Template_Type_Code FROM Documents AS T1 JOIN Templates AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_id ORDER BY count(*) DESC LIMIT 1\n","312":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nReturn the id and type code of the template that is used for the greatest number of documents.\n\n### SQL\nSELECT T1.template_id , T2.Template_Type_Code FROM Documents AS T1 JOIN Templates AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_id ORDER BY count(*) DESC LIMIT 1\n","313":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nShow ids for all templates that are used by more than one document.\n\n### SQL\nSELECT template_id FROM Documents GROUP BY template_id HAVING count(*) > 1\n","314":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat are the template ids of any templates used in more than a single document?\n\n### SQL\nSELECT template_id FROM Documents GROUP BY template_id HAVING count(*) > 1\n","315":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nShow ids for all templates not used by any document.\n\n### SQL\nSELECT template_id FROM Templates EXCEPT SELECT template_id FROM Documents\n","316":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat are the ids for templates that are not used in any documents?\n\n### SQL\nSELECT template_id FROM Templates EXCEPT SELECT template_id FROM Documents\n","317":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nHow many templates do we have?\n\n### SQL\nSELECT count(*) FROM Templates\n","318":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nCount the number of templates.\n\n### SQL\nSELECT count(*) FROM Templates\n","319":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nShow template ids, version numbers, and template type codes for all templates.\n\n### SQL\nSELECT template_id , version_number , template_type_code FROM Templates\n","320":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat are the ids, version numbers, and type codes for each template?\n\n### SQL\nSELECT template_id , version_number , template_type_code FROM Templates\n","321":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nShow all distinct template type codes for all templates.\n\n### SQL\nSELECT DISTINCT template_type_code FROM Templates\n","322":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat are the different template type codes?\n\n### SQL\nSELECT DISTINCT template_type_code FROM Templates\n","323":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat are the ids of templates with template type code PP or PPT?\n\n### SQL\nSELECT template_id FROM Templates WHERE template_type_code = \"PP\" OR template_type_code = \"PPT\"\n","324":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nReturn the ids of templates that have the code PP or PPT.\n\n### SQL\nSELECT template_id FROM Templates WHERE template_type_code = \"PP\" OR template_type_code = \"PPT\"\n","325":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nHow many templates have template type code CV?\n\n### SQL\nSELECT count(*) FROM Templates WHERE template_type_code = \"CV\"\n","326":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nCount the number of templates of the type CV.\n\n### SQL\nSELECT count(*) FROM Templates WHERE template_type_code = \"CV\"\n","327":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat is the version number and template type code for the template with version number later than 5?\n\n### SQL\nSELECT version_number , template_type_code FROM Templates WHERE version_number > 5\n","328":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nReturn the version numbers and template type codes of templates with a version number greater than 5.\n\n### SQL\nSELECT version_number , template_type_code FROM Templates WHERE version_number > 5\n","329":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nShow all template type codes and number of templates for each.\n\n### SQL\nSELECT template_type_code , count(*) FROM Templates GROUP BY template_type_code\n","330":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat are the different template type codes, and how many templates correspond to each?\n\n### SQL\nSELECT template_type_code , count(*) FROM Templates GROUP BY template_type_code\n","331":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhich template type code has most number of templates?\n\n### SQL\nSELECT template_type_code FROM Templates GROUP BY template_type_code ORDER BY count(*) DESC LIMIT 1\n","332":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nReturn the type code of the template type that the most templates belong to.\n\n### SQL\nSELECT template_type_code FROM Templates GROUP BY template_type_code ORDER BY count(*) DESC LIMIT 1\n","333":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nShow all template type codes with less than three templates.\n\n### SQL\nSELECT template_type_code FROM Templates GROUP BY template_type_code HAVING count(*) < 3\n","334":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat are the codes of template types that have fewer than 3 templates?\n\n### SQL\nSELECT template_type_code FROM Templates GROUP BY template_type_code HAVING count(*) < 3\n","335":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat the smallest version number and its template type code?\n\n### SQL\nSELECT min(Version_Number) , template_type_code FROM Templates\n","336":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nReturn the lowest version number, along with its corresponding template type code.\n\n### SQL\nSELECT min(Version_Number) , template_type_code FROM Templates\n","337":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat is the template type code of the template used by document with the name \"Data base\"?\n\n### SQL\nSELECT T1.template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id WHERE T2.document_name = \"Data base\"\n","338":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nReturn the template type code of the template that is used by a document named Data base.\n\n### SQL\nSELECT T1.template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id WHERE T2.document_name = \"Data base\"\n","339":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nShow all document names using templates with template type code BK.\n\n### SQL\nSELECT T2.document_name FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id WHERE T1.template_type_code = \"BK\"\n","340":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat are the names of documents that use templates with the code BK?\n\n### SQL\nSELECT T2.document_name FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id WHERE T1.template_type_code = \"BK\"\n","341":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nShow all template type codes and the number of documents using each type.\n\n### SQL\nSELECT T1.template_type_code , count(*) FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_type_code\n","342":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat are the different template type codes, and how many documents use each type?\n\n### SQL\nSELECT T1.template_type_code , count(*) FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_type_code\n","343":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhich template type code is used by most number of documents?\n\n### SQL\nSELECT T1.template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_type_code ORDER BY count(*) DESC LIMIT 1\n","344":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nReturn the code of the template type that is most commonly used in documents.\n\n### SQL\nSELECT T1.template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_type_code ORDER BY count(*) DESC LIMIT 1\n","345":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nShow all template type codes that are not used by any document.\n\n### SQL\nSELECT template_type_code FROM Templates EXCEPT SELECT template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id\n","346":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat are the codes of template types that are not used for any document?\n\n### SQL\nSELECT template_type_code FROM Templates EXCEPT SELECT template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id\n","347":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nShow all template type codes and descriptions.\n\n### SQL\nSELECT template_type_code , template_type_description FROM Ref_template_types\n","348":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat are the type codes and descriptions for all template types?\n\n### SQL\nSELECT template_type_code , template_type_description FROM Ref_template_types\n","349":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat is the template type descriptions for template type code \"AD\".\n\n### SQL\nSELECT template_type_description FROM Ref_template_types WHERE template_type_code = \"AD\"\n","350":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nReturn the template type description of the template type with the code AD.\n\n### SQL\nSELECT template_type_description FROM Ref_template_types WHERE template_type_code = \"AD\"\n","351":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat is the template type code for template type description \"Book\".\n\n### SQL\nSELECT template_type_code FROM Ref_template_types WHERE template_type_description = \"Book\"\n","352":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nReturn the type code of the template type with the description \"Book\".\n\n### SQL\nSELECT template_type_code FROM Ref_template_types WHERE template_type_description = \"Book\"\n","353":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat are the distinct template type descriptions for the templates ever used by any document?\n\n### SQL\nSELECT DISTINCT T1.template_type_description FROM Ref_template_types AS T1 JOIN Templates AS T2 ON T1.template_type_code = T2.template_type_code JOIN Documents AS T3 ON T2.Template_ID = T3.template_ID\n","354":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nReturn the different descriptions for templates that have been used in a document.\n\n### SQL\nSELECT DISTINCT T1.template_type_description FROM Ref_template_types AS T1 JOIN Templates AS T2 ON T1.template_type_code = T2.template_type_code JOIN Documents AS T3 ON T2.Template_ID = T3.template_ID\n","355":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat are the template ids with template type description \"Presentation\".\n\n### SQL\nSELECT T2.template_id FROM Ref_template_types AS T1 JOIN Templates AS T2 ON T1.template_type_code = T2.template_type_code WHERE T1.template_type_description = \"Presentation\"\n","356":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nReturn the ids corresponding to templates with the description 'Presentation'.\n\n### SQL\nSELECT T2.template_id FROM Ref_template_types AS T1 JOIN Templates AS T2 ON T1.template_type_code = T2.template_type_code WHERE T1.template_type_description = \"Presentation\"\n","357":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nHow many paragraphs in total?\n\n### SQL\nSELECT count(*) FROM Paragraphs\n","358":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nCount the number of paragraphs.\n\n### SQL\nSELECT count(*) FROM Paragraphs\n","359":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nHow many paragraphs for the document with name 'Summer Show'?\n\n### SQL\nSELECT count(*) FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_ID = T2.document_ID WHERE T2.document_name = 'Summer Show'\n","360":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nCount the number of paragraphs in the document named 'Summer Show'.\n\n### SQL\nSELECT count(*) FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_ID = T2.document_ID WHERE T2.document_name = 'Summer Show'\n","361":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nShow paragraph details for paragraph with text 'Korea ' .\n\n### SQL\nselect other_details from paragraphs where paragraph_text like 'korea'\n","362":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat are the details for the paragraph that includes the text 'Korea ' ?\n\n### SQL\nselect other_details from paragraphs where paragraph_text like 'korea'\n","363":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nShow all paragraph ids and texts for the document with name 'Welcome to NY'.\n\n### SQL\nSELECT T1.paragraph_id , T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.Document_Name = 'Welcome to NY'\n","364":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat are the ids and texts of paragraphs in the document titled 'Welcome to NY'?\n\n### SQL\nSELECT T1.paragraph_id , T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.Document_Name = 'Welcome to NY'\n","365":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nShow all paragraph texts for the document \"Customer reviews\".\n\n### SQL\nSELECT T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = \"Customer reviews\"\n","366":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat are the paragraph texts for the document with the name 'Customer reviews'?\n\n### SQL\nSELECT T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = \"Customer reviews\"\n","367":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nShow all document ids and the number of paragraphs in each document. Order by document id.\n\n### SQL\nSELECT document_id , count(*) FROM Paragraphs GROUP BY document_id ORDER BY document_id\n","368":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nReturn the different document ids along with the number of paragraphs corresponding to each, ordered by id.\n\n### SQL\nSELECT document_id , count(*) FROM Paragraphs GROUP BY document_id ORDER BY document_id\n","369":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nShow all document ids, names and the number of paragraphs in each document.\n\n### SQL\nSELECT T1.document_id , T2.document_name , count(*) FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id GROUP BY T1.document_id\n","370":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat are the ids and names of each document, as well as the number of paragraphs in each?\n\n### SQL\nSELECT T1.document_id , T2.document_name , count(*) FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id GROUP BY T1.document_id\n","371":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nList all document ids with at least two paragraphs.\n\n### SQL\nSELECT document_id FROM Paragraphs GROUP BY document_id HAVING count(*) >= 2\n","372":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat are the ids of documents that have 2 or more paragraphs?\n\n### SQL\nSELECT document_id FROM Paragraphs GROUP BY document_id HAVING count(*) >= 2\n","373":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat is the document id and name with greatest number of paragraphs?\n\n### SQL\nSELECT T1.document_id , T2.document_name FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id GROUP BY T1.document_id ORDER BY count(*) DESC LIMIT 1\n","374":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nReturn the id and name of the document with the most paragraphs.\n\n### SQL\nSELECT T1.document_id , T2.document_name FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id GROUP BY T1.document_id ORDER BY count(*) DESC LIMIT 1\n","375":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat is the document id with least number of paragraphs?\n\n### SQL\nSELECT document_id FROM Paragraphs GROUP BY document_id ORDER BY count(*) ASC LIMIT 1\n","376":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nReturn the id of the document with the fewest paragraphs.\n\n### SQL\nSELECT document_id FROM Paragraphs GROUP BY document_id ORDER BY count(*) ASC LIMIT 1\n","377":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat is the document id with 1 to 2 paragraphs?\n\n### SQL\nSELECT document_id FROM Paragraphs GROUP BY document_id HAVING count(*) BETWEEN 1 AND 2\n","378":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nGive the ids of documents that have between one and two paragraphs.\n\n### SQL\nSELECT document_id FROM Paragraphs GROUP BY document_id HAVING count(*) BETWEEN 1 AND 2\n","379":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nShow the document id with paragraph text 'Brazil' and 'Ireland'.\n\n### SQL\nSELECT document_id FROM Paragraphs WHERE paragraph_text = 'Brazil' INTERSECT SELECT document_id FROM Paragraphs WHERE paragraph_text = 'Ireland'\n","380":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Ref_Template_Types (\nTemplate_Type_Code CHAR(15) NOT NULL,\nTemplate_Type_Description VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_Type_Code)\n)\n\nCREATE TABLE Templates (\nTemplate_ID INTEGER NOT NULL,\nVersion_Number INTEGER NOT NULL,\nTemplate_Type_Code CHAR(15) NOT NULL,\nDate_Effective_From DATETIME,\nDate_Effective_To DATETIME,\nTemplate_Details VARCHAR(255) NOT NULL,\nPRIMARY KEY (Template_ID),\nFOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code)\n)\n\nCREATE TABLE Documents (\nDocument_ID INTEGER NOT NULL,\nTemplate_ID INTEGER,\nDocument_Name VARCHAR(255),\nDocument_Description VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Document_ID),\nFOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID)\n)\n\nCREATE TABLE Paragraphs (\nParagraph_ID INTEGER NOT NULL,\nDocument_ID INTEGER NOT NULL,\nParagraph_Text VARCHAR(255),\nOther_Details VARCHAR(255),\nPRIMARY KEY (Paragraph_ID),\nFOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID)\n)\n\n### Question\nWhat are the ids of documents that contain the paragraph text 'Brazil' and 'Ireland'?\n\n### SQL\nSELECT document_id FROM Paragraphs WHERE paragraph_text = 'Brazil' INTERSECT SELECT document_id FROM Paragraphs WHERE paragraph_text = 'Ireland'\n","381":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nHow many teachers are there?\n\n### SQL\nSELECT count(*) FROM teacher\n","382":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nWhat is the total count of teachers?\n\n### SQL\nSELECT count(*) FROM teacher\n","383":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nList the names of teachers in ascending order of age.\n\n### SQL\nSELECT Name FROM teacher ORDER BY Age ASC\n","384":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nWhat are the names of the teachers ordered by ascending age?\n\n### SQL\nSELECT Name FROM teacher ORDER BY Age ASC\n","385":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nWhat are the age and hometown of teachers?\n\n### SQL\nSELECT Age , Hometown FROM teacher\n","386":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nWhat is the age and hometown of every teacher?\n\n### SQL\nSELECT Age , Hometown FROM teacher\n","387":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nList the name of teachers whose hometown is not `` Little Lever Urban District '' .\n\n### SQL\nselect name from teacher where hometown != \"little lever urban district\"\n","388":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nWhat are the names of the teachers whose hometown is not `` Little Lever Urban District '' ?\n\n### SQL\nselect name from teacher where hometown != \"little lever urban district\"\n","389":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nShow the name of teachers aged either 32 or 33?\n\n### SQL\nSELECT Name FROM teacher WHERE Age = 32 OR Age = 33\n","390":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nWhat are the names of the teachers who are aged either 32 or 33?\n\n### SQL\nSELECT Name FROM teacher WHERE Age = 32 OR Age = 33\n","391":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nWhat is the hometown of the youngest teacher?\n\n### SQL\nSELECT Hometown FROM teacher ORDER BY Age ASC LIMIT 1\n","392":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nWhere is the youngest teacher from?\n\n### SQL\nSELECT Hometown FROM teacher ORDER BY Age ASC LIMIT 1\n","393":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nShow different hometown of teachers and the number of teachers from each hometown.\n\n### SQL\nSELECT Hometown , COUNT(*) FROM teacher GROUP BY Hometown\n","394":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nFor each hometown, how many teachers are there?\n\n### SQL\nSELECT Hometown , COUNT(*) FROM teacher GROUP BY Hometown\n","395":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nList the most common hometown of teachers.\n\n### SQL\nSELECT Hometown FROM teacher GROUP BY Hometown ORDER BY COUNT(*) DESC LIMIT 1\n","396":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nWhat is the most commmon hometowns for teachers?\n\n### SQL\nSELECT Hometown FROM teacher GROUP BY Hometown ORDER BY COUNT(*) DESC LIMIT 1\n","397":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nShow the hometowns shared by at least two teachers.\n\n### SQL\nSELECT Hometown FROM teacher GROUP BY Hometown HAVING COUNT(*) >= 2\n","398":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nWhat are the towns from which at least two teachers come from?\n\n### SQL\nSELECT Hometown FROM teacher GROUP BY Hometown HAVING COUNT(*) >= 2\n","399":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nShow names of teachers and the courses they are arranged to teach.\n\n### SQL\nSELECT T3.Name , T2.Course FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID\n","400":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nWhat is the name of each teacher and what course they teach?\n\n### SQL\nSELECT T3.Name , T2.Course FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID\n","401":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nShow names of teachers and the courses they are arranged to teach in ascending alphabetical order of the teacher's name.\n\n### SQL\nSELECT T3.Name , T2.Course FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID ORDER BY T3.Name\n","402":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nWhat are the names of the teachers and the courses they teach in ascending alphabetical order by the name of the teacher?\n\n### SQL\nSELECT T3.Name , T2.Course FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID ORDER BY T3.Name\n","403":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nShow the name of the teacher for the math course.\n\n### SQL\nSELECT T3.Name FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID WHERE T2.Course = \"Math\"\n","404":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nWhat are the names of the people who teach math courses?\n\n### SQL\nSELECT T3.Name FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID WHERE T2.Course = \"Math\"\n","405":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nShow names of teachers and the number of courses they teach.\n\n### SQL\nSELECT T2.Name , COUNT(*) FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name\n","406":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nWhat are the names of the teachers and how many courses do they teach?\n\n### SQL\nSELECT T2.Name , COUNT(*) FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name\n","407":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nShow names of teachers that teach at least two courses.\n\n### SQL\nSELECT T2.Name FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name HAVING COUNT(*) >= 2\n","408":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nWhat are the names of the teachers who teach at least two courses?\n\n### SQL\nSELECT T2.Name FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name HAVING COUNT(*) >= 2\n","409":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nList the names of teachers who have not been arranged to teach courses.\n\n### SQL\nSELECT Name FROM teacher WHERE Teacher_id NOT IN (SELECT Teacher_id FROM course_arrange)\n","410":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"course\" (\n\"Course_ID\" int,\n\"Staring_Date\" text,\n\"Course\" text,\nPRIMARY KEY (\"Course_ID\")\n)\n\nCREATE TABLE \"teacher\" (\n\"Teacher_ID\" int,\n\"Name\" text,\n\"Age\" text,\n\"Hometown\" text,\nPRIMARY KEY (\"Teacher_ID\")\n)\n\nCREATE TABLE \"course_arrange\" (\n\"Course_ID\" int,\n\"Teacher_ID\" int,\n\"Grade\" int,\nPRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"),\nFOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"),\nFOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\")\n)\n\n### Question\nWhat are the names of the teachers whose courses have not been arranged?\n\n### SQL\nSELECT Name FROM teacher WHERE Teacher_id NOT IN (SELECT Teacher_id FROM course_arrange)\n","411":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\n\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membership\" int,\n\"Age\" int,\nPRIMARY KEY (\"ID\")\n)\n\nCREATE TABLE \"visit\" (\n\"Museum_ID\" int,\n\"visitor_ID\" text,\n\"Num_of_Ticket\" int,\n\"Total_spent\" real,\nPRIMARY KEY (\"Museum_ID\",\"visitor_ID\"),\nFOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"),\nFOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\")\n)\n\n### Question\nHow many visitors below age 30 are there?\n\n### SQL\nSELECT count(*) FROM visitor WHERE age < 30\n","412":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\n\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membership\" int,\n\"Age\" int,\nPRIMARY KEY (\"ID\")\n)\n\nCREATE TABLE \"visit\" (\n\"Museum_ID\" int,\n\"visitor_ID\" text,\n\"Num_of_Ticket\" int,\n\"Total_spent\" real,\nPRIMARY KEY (\"Museum_ID\",\"visitor_ID\"),\nFOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"),\nFOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\")\n)\n\n### Question\nFind the names of the visitors whose membership level is higher than 4, and order the results by the level from high to low.\n\n### SQL\nSELECT name FROM visitor WHERE Level_of_membership > 4 ORDER BY Level_of_membership DESC\n","413":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\n\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membership\" int,\n\"Age\" int,\nPRIMARY KEY (\"ID\")\n)\n\nCREATE TABLE \"visit\" (\n\"Museum_ID\" int,\n\"visitor_ID\" text,\n\"Num_of_Ticket\" int,\n\"Total_spent\" real,\nPRIMARY KEY (\"Museum_ID\",\"visitor_ID\"),\nFOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"),\nFOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\")\n)\n\n### Question\nWhat is the average age of the visitors whose membership level is not higher than 4?\n\n### SQL\nSELECT avg(age) FROM visitor WHERE Level_of_membership <= 4\n","414":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\n\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membership\" int,\n\"Age\" int,\nPRIMARY KEY (\"ID\")\n)\n\nCREATE TABLE \"visit\" (\n\"Museum_ID\" int,\n\"visitor_ID\" text,\n\"Num_of_Ticket\" int,\n\"Total_spent\" real,\nPRIMARY KEY (\"Museum_ID\",\"visitor_ID\"),\nFOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"),\nFOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\")\n)\n\n### Question\nFind the name and membership level of the visitors whose membership level is higher than 4, and sort by their age from old to young.\n\n### SQL\nSELECT name , Level_of_membership FROM visitor WHERE Level_of_membership > 4 ORDER BY age DESC\n","415":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\n\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membership\" int,\n\"Age\" int,\nPRIMARY KEY (\"ID\")\n)\n\nCREATE TABLE \"visit\" (\n\"Museum_ID\" int,\n\"visitor_ID\" text,\n\"Num_of_Ticket\" int,\n\"Total_spent\" real,\nPRIMARY KEY (\"Museum_ID\",\"visitor_ID\"),\nFOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"),\nFOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\")\n)\n\n### Question\nFind the id and name of the museum that has the most staff members?\n\n### SQL\nSELECT museum_id , name FROM museum ORDER BY num_of_staff DESC LIMIT 1\n","416":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\n\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membership\" int,\n\"Age\" int,\nPRIMARY KEY (\"ID\")\n)\n\nCREATE TABLE \"visit\" (\n\"Museum_ID\" int,\n\"visitor_ID\" text,\n\"Num_of_Ticket\" int,\n\"Total_spent\" real,\nPRIMARY KEY (\"Museum_ID\",\"visitor_ID\"),\nFOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"),\nFOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\")\n)\n\n### Question\nFind the average number of staff working for the museums that were open before 2009.\n\n### SQL\nSELECT avg(num_of_staff) FROM museum WHERE open_year < 2009\n","417":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\n\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membership\" int,\n\"Age\" int,\nPRIMARY KEY (\"ID\")\n)\n\nCREATE TABLE \"visit\" (\n\"Museum_ID\" int,\n\"visitor_ID\" text,\n\"Num_of_Ticket\" int,\n\"Total_spent\" real,\nPRIMARY KEY (\"Museum_ID\",\"visitor_ID\"),\nFOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"),\nFOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\")\n)\n\n### Question\nWhat are the opening year and staff number of the museum named Plaza Museum?\n\n### SQL\nSELECT Num_of_Staff , Open_Year FROM museum WHERE name = 'Plaza Museum'\n","418":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\n\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membership\" int,\n\"Age\" int,\nPRIMARY KEY (\"ID\")\n)\n\nCREATE TABLE \"visit\" (\n\"Museum_ID\" int,\n\"visitor_ID\" text,\n\"Num_of_Ticket\" int,\n\"Total_spent\" real,\nPRIMARY KEY (\"Museum_ID\",\"visitor_ID\"),\nFOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"),\nFOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\")\n)\n\n### Question\nfind the names of museums which have more staff than the minimum staff number of all museums opened after 2010.\n\n### SQL\nSELECT name FROM museum WHERE num_of_staff > (SELECT min(num_of_staff) FROM museum WHERE open_year > 2010)\n","419":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\n\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membership\" int,\n\"Age\" int,\nPRIMARY KEY (\"ID\")\n)\n\nCREATE TABLE \"visit\" (\n\"Museum_ID\" int,\n\"visitor_ID\" text,\n\"Num_of_Ticket\" int,\n\"Total_spent\" real,\nPRIMARY KEY (\"Museum_ID\",\"visitor_ID\"),\nFOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"),\nFOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\")\n)\n\n### Question\nfind the id, name and age for visitors who visited some museums more than once.\n\n### SQL\nSELECT t1.id , t1.name , t1.age FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id GROUP BY t1.id HAVING count(*) > 1\n","420":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\n\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membership\" int,\n\"Age\" int,\nPRIMARY KEY (\"ID\")\n)\n\nCREATE TABLE \"visit\" (\n\"Museum_ID\" int,\n\"visitor_ID\" text,\n\"Num_of_Ticket\" int,\n\"Total_spent\" real,\nPRIMARY KEY (\"Museum_ID\",\"visitor_ID\"),\nFOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"),\nFOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\")\n)\n\n### Question\nWhat are the id, name and membership level of visitors who have spent the largest amount of money in total in all museum tickets?\n\n### SQL\nSELECT t2.visitor_id , t1.name , t1.Level_of_membership FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id GROUP BY t2.visitor_id ORDER BY sum(t2.Total_spent) DESC LIMIT 1\n","421":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\n\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membership\" int,\n\"Age\" int,\nPRIMARY KEY (\"ID\")\n)\n\nCREATE TABLE \"visit\" (\n\"Museum_ID\" int,\n\"visitor_ID\" text,\n\"Num_of_Ticket\" int,\n\"Total_spent\" real,\nPRIMARY KEY (\"Museum_ID\",\"visitor_ID\"),\nFOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"),\nFOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\")\n)\n\n### Question\nWhat are the id and name of the museum visited most times?\n\n### SQL\nSELECT t2.Museum_ID , t1.name FROM museum AS t1 JOIN visit AS t2 ON t1.Museum_ID = t2.Museum_ID GROUP BY t2.Museum_ID ORDER BY count(*) DESC LIMIT 1\n","422":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\n\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membership\" int,\n\"Age\" int,\nPRIMARY KEY (\"ID\")\n)\n\nCREATE TABLE \"visit\" (\n\"Museum_ID\" int,\n\"visitor_ID\" text,\n\"Num_of_Ticket\" int,\n\"Total_spent\" real,\nPRIMARY KEY (\"Museum_ID\",\"visitor_ID\"),\nFOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"),\nFOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\")\n)\n\n### Question\nWhat is the name of the museum that had no visitor yet?\n\n### SQL\nSELECT name FROM museum WHERE Museum_ID NOT IN (SELECT museum_id FROM visit)\n","423":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\n\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membership\" int,\n\"Age\" int,\nPRIMARY KEY (\"ID\")\n)\n\nCREATE TABLE \"visit\" (\n\"Museum_ID\" int,\n\"visitor_ID\" text,\n\"Num_of_Ticket\" int,\n\"Total_spent\" real,\nPRIMARY KEY (\"Museum_ID\",\"visitor_ID\"),\nFOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"),\nFOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\")\n)\n\n### Question\nFind the name and age of the visitor who bought the most tickets at once.\n\n### SQL\nSELECT t1.name , t1.age FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id ORDER BY t2.num_of_ticket DESC LIMIT 1\n","424":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\n\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membership\" int,\n\"Age\" int,\nPRIMARY KEY (\"ID\")\n)\n\nCREATE TABLE \"visit\" (\n\"Museum_ID\" int,\n\"visitor_ID\" text,\n\"Num_of_Ticket\" int,\n\"Total_spent\" real,\nPRIMARY KEY (\"Museum_ID\",\"visitor_ID\"),\nFOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"),\nFOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\")\n)\n\n### Question\nWhat are the average and maximum number of tickets bought in all visits?\n\n### SQL\nSELECT avg(num_of_ticket) , max(num_of_ticket) FROM visit\n","425":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\n\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membership\" int,\n\"Age\" int,\nPRIMARY KEY (\"ID\")\n)\n\nCREATE TABLE \"visit\" (\n\"Museum_ID\" int,\n\"visitor_ID\" text,\n\"Num_of_Ticket\" int,\n\"Total_spent\" real,\nPRIMARY KEY (\"Museum_ID\",\"visitor_ID\"),\nFOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"),\nFOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\")\n)\n\n### Question\nWhat is the total ticket expense of the visitors whose membership level is 1?\n\n### SQL\nSELECT sum(t2.Total_spent) FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id WHERE t1.Level_of_membership = 1\n","426":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\n\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membership\" int,\n\"Age\" int,\nPRIMARY KEY (\"ID\")\n)\n\nCREATE TABLE \"visit\" (\n\"Museum_ID\" int,\n\"visitor_ID\" text,\n\"Num_of_Ticket\" int,\n\"Total_spent\" real,\nPRIMARY KEY (\"Museum_ID\",\"visitor_ID\"),\nFOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"),\nFOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\")\n)\n\n### Question\nWhat is the name of the visitor who visited both a museum opened before 2009 and a museum opened after 2011?\n\n### SQL\nSELECT t1.name FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id JOIN museum AS t3 ON t3.Museum_ID = t2.Museum_ID WHERE t3.open_year < 2009 INTERSECT SELECT t1.name FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id JOIN museum AS t3 ON t3.Museum_ID = t2.Museum_ID WHERE t3.open_year > 2011\n","427":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\n\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membership\" int,\n\"Age\" int,\nPRIMARY KEY (\"ID\")\n)\n\nCREATE TABLE \"visit\" (\n\"Museum_ID\" int,\n\"visitor_ID\" text,\n\"Num_of_Ticket\" int,\n\"Total_spent\" real,\nPRIMARY KEY (\"Museum_ID\",\"visitor_ID\"),\nFOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"),\nFOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\")\n)\n\n### Question\nFind the number of visitors who did not visit any museum opened after 2010.\n\n### SQL\nSELECT count(*) FROM visitor WHERE id NOT IN (SELECT t2.visitor_id FROM museum AS t1 JOIN visit AS t2 ON t1.Museum_ID = t2.Museum_ID WHERE t1.open_year > 2010)\n","428":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\n\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membership\" int,\n\"Age\" int,\nPRIMARY KEY (\"ID\")\n)\n\nCREATE TABLE \"visit\" (\n\"Museum_ID\" int,\n\"visitor_ID\" text,\n\"Num_of_Ticket\" int,\n\"Total_spent\" real,\nPRIMARY KEY (\"Museum_ID\",\"visitor_ID\"),\nFOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"),\nFOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\")\n)\n\n### Question\nHow many museums were opened after 2013 or before 2008?\n\n### SQL\nSELECT count(*) FROM museum WHERE open_year > 2013 OR open_year < 2008\n","429":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nFind the total number of players.\n\n### SQL\nSELECT count(*) FROM players\n","430":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nHow many players are there?\n\n### SQL\nSELECT count(*) FROM players\n","431":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nFind the total number of matches.\n\n### SQL\nSELECT count(*) FROM matches\n","432":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nCount the number of matches.\n\n### SQL\nSELECT count(*) FROM matches\n","433":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nList the first name and birth date of all players from the country with code USA.\n\n### SQL\nSELECT first_name , birth_date FROM players WHERE country_code = 'USA'\n","434":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nWhat are the first names and birth dates of players from the USA?\n\n### SQL\nSELECT first_name , birth_date FROM players WHERE country_code = 'USA'\n","435":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nFind the average age of losers and winners of all matches.\n\n### SQL\nSELECT avg(loser_age) , avg(winner_age) FROM matches\n","436":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nWhat are the average ages of losers and winners across matches?\n\n### SQL\nSELECT avg(loser_age) , avg(winner_age) FROM matches\n","437":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nFind the average rank of winners in all matches.\n\n### SQL\nSELECT avg(winner_rank) FROM matches\n","438":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nWhat is the average rank for winners in all matches?\n\n### SQL\nSELECT avg(winner_rank) FROM matches\n","439":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nFind the highest rank of losers in all matches.\n\n### SQL\nSELECT min(loser_rank) FROM matches\n","440":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nWhat is the best rank of losers across all matches?\n\n### SQL\nSELECT min(loser_rank) FROM matches\n","441":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nfind the number of distinct country codes of all players.\n\n### SQL\nSELECT count(DISTINCT country_code) FROM players\n","442":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nHow many distinct countries do players come from?\n\n### SQL\nSELECT count(DISTINCT country_code) FROM players\n","443":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nFind the number of distinct name of losers.\n\n### SQL\nSELECT count(DISTINCT loser_name) FROM matches\n","444":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nHow many different loser names are there?\n\n### SQL\nSELECT count(DISTINCT loser_name) FROM matches\n","445":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nFind the name of tourney that has more than 10 matches.\n\n### SQL\nSELECT tourney_name FROM matches GROUP BY tourney_name HAVING count(*) > 10\n","446":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nWhat are the names of tournaments that have more than 10 matches?\n\n### SQL\nSELECT tourney_name FROM matches GROUP BY tourney_name HAVING count(*) > 10\n","447":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nList the names of all winners who played in both 2013 and 2016.\n\n### SQL\nSELECT winner_name FROM matches WHERE YEAR = 2013 INTERSECT SELECT winner_name FROM matches WHERE YEAR = 2016\n","448":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nWhat are the names of players who won in both 2013 and 2016?\n\n### SQL\nSELECT winner_name FROM matches WHERE YEAR = 2013 INTERSECT SELECT winner_name FROM matches WHERE YEAR = 2016\n","449":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nList the number of all matches who played in years of 2013 or 2016.\n\n### SQL\nSELECT count(*) FROM matches WHERE YEAR = 2013 OR YEAR = 2016\n","450":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nHow many matches were played in 2013 or 2016?\n\n### SQL\nSELECT count(*) FROM matches WHERE YEAR = 2013 OR YEAR = 2016\n","451":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nWhat are the country code and first name of the players who won in both tourney WTA Championships and Australian Open?\n\n### SQL\nSELECT T1.country_code , T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.winner_id WHERE T2.tourney_name = 'WTA Championships' INTERSECT SELECT T1.country_code , T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.winner_id WHERE T2.tourney_name = 'Australian Open'\n","452":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nWhat are the first names and country codes for players who won both the WTA Championships and the Australian Open?\n\n### SQL\nSELECT T1.country_code , T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.winner_id WHERE T2.tourney_name = 'WTA Championships' INTERSECT SELECT T1.country_code , T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.winner_id WHERE T2.tourney_name = 'Australian Open'\n","453":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nFind the first name and country code of the oldest player.\n\n### SQL\nSELECT first_name , country_code FROM players ORDER BY birth_date LIMIT 1\n","454":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nWhat is the first name and country code of the oldest player?\n\n### SQL\nSELECT first_name , country_code FROM players ORDER BY birth_date LIMIT 1\n","455":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nList the first and last name of all players in the order of birth date.\n\n### SQL\nSELECT first_name , last_name FROM players ORDER BY birth_date\n","456":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nWhat are the full names of all players, sorted by birth date?\n\n### SQL\nSELECT first_name , last_name FROM players ORDER BY birth_date\n","457":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nList the first and last name of all players who are left \/ L hand in the order of birth date.\n\n### SQL\nSELECT first_name , last_name FROM players WHERE hand = 'L' ORDER BY birth_date\n","458":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nWhat are the full names of all left handed players, in order of birth date?\n\n### SQL\nSELECT first_name , last_name FROM players WHERE hand = 'L' ORDER BY birth_date\n","459":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nFind the first name and country code of the player who did the most number of tours.\n\n### SQL\nSELECT T1.country_code , T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id ORDER BY T2.tours DESC LIMIT 1\n","460":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nWhat is the first name and country code of the player with the most tours?\n\n### SQL\nSELECT T1.country_code , T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id ORDER BY T2.tours DESC LIMIT 1\n","461":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nFind the year that has the most number of matches.\n\n### SQL\nSELECT YEAR FROM matches GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1\n","462":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nWhich year had the most matches?\n\n### SQL\nSELECT YEAR FROM matches GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1\n","463":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nFind the name and rank points of the winner who won the most times.\n\n### SQL\nSELECT winner_name , winner_rank_points FROM matches GROUP BY winner_name ORDER BY count(*) DESC LIMIT 1\n","464":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nWhat is the name of the winner who has won the most matches, and how many rank points does this player have?\n\n### SQL\nSELECT winner_name , winner_rank_points FROM matches GROUP BY winner_name ORDER BY count(*) DESC LIMIT 1\n","465":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nFind the name of the winner who has the highest rank points and participated in the Australian Open tourney.\n\n### SQL\nSELECT winner_name FROM matches WHERE tourney_name = 'Australian Open' ORDER BY winner_rank_points DESC LIMIT 1\n","466":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nWhat is the name of the winner with the most rank points who participated in the Australian Open tournament?\n\n### SQL\nSELECT winner_name FROM matches WHERE tourney_name = 'Australian Open' ORDER BY winner_rank_points DESC LIMIT 1\n","467":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nfind the names of loser and winner who played in the match with greatest number of minutes.\n\n### SQL\nSELECT winner_name , loser_name FROM matches ORDER BY minutes DESC LIMIT 1\n","468":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nWhat are the names of the winner and loser who played in the longest match?\n\n### SQL\nSELECT winner_name , loser_name FROM matches ORDER BY minutes DESC LIMIT 1\n","469":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nFind the average ranking for each player and their first name.\n\n### SQL\nSELECT avg(ranking) , T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1.first_name\n","470":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nWhat are the first names of all players, and their average rankings?\n\n### SQL\nSELECT avg(ranking) , T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1.first_name\n","471":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nFind the total ranking points for each player and their first name.\n\n### SQL\nSELECT sum(ranking_points) , T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1.first_name\n","472":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nWhat are the first names of all players, and their total ranking points?\n\n### SQL\nSELECT sum(ranking_points) , T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1.first_name\n","473":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nfind the number of players for each country.\n\n### SQL\nSELECT count(*) , country_code FROM players GROUP BY country_code\n","474":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nHow many players are from each country?\n\n### SQL\nSELECT count(*) , country_code FROM players GROUP BY country_code\n","475":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nfind the code of the country where has the greatest number of players.\n\n### SQL\nSELECT country_code FROM players GROUP BY country_code ORDER BY count(*) DESC LIMIT 1\n","476":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nWhat is the code of the country with the most players?\n\n### SQL\nSELECT country_code FROM players GROUP BY country_code ORDER BY count(*) DESC LIMIT 1\n","477":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nFind the codes of countries that have more than 50 players.\n\n### SQL\nSELECT country_code FROM players GROUP BY country_code HAVING count(*) > 50\n","478":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nWhat are the codes of countries with more than 50 players?\n\n### SQL\nSELECT country_code FROM players GROUP BY country_code HAVING count(*) > 50\n","479":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nFind the total number of tours for each ranking date.\n\n### SQL\nSELECT sum(tours) , ranking_date FROM rankings GROUP BY ranking_date\n","480":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nHow many total tours were there for each ranking date?\n\n### SQL\nSELECT sum(tours) , ranking_date FROM rankings GROUP BY ranking_date\n","481":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nFind the number of matches happened in each year.\n\n### SQL\nSELECT count(*) , YEAR FROM matches GROUP BY YEAR\n","482":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nHow many matches were played in each year?\n\n### SQL\nSELECT count(*) , YEAR FROM matches GROUP BY YEAR\n","483":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nFind the name and rank of the 3 youngest winners across all matches.\n\n### SQL\nSELECT DISTINCT winner_name , winner_rank FROM matches ORDER BY winner_age LIMIT 3\n","484":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nWhat are the names and ranks of the three youngest winners across all matches?\n\n### SQL\nSELECT DISTINCT winner_name , winner_rank FROM matches ORDER BY winner_age LIMIT 3\n","485":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nHow many different winners both participated in the WTA Championships and were left handed?\n\n### SQL\nSELECT count(DISTINCT winner_name) FROM matches WHERE tourney_name = 'WTA Championships' AND winner_hand = 'L'\n","486":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nFind the number of left handed winners who participated in the WTA Championships.\n\n### SQL\nSELECT count(DISTINCT winner_name) FROM matches WHERE tourney_name = 'WTA Championships' AND winner_hand = 'L'\n","487":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nFind the first name, country code and birth date of the winner who has the highest rank points in all matches.\n\n### SQL\nSELECT T1.first_name , T1.country_code , T1.birth_date FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.winner_id ORDER BY T2.winner_rank_points DESC LIMIT 1\n","488":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nWhat is the first name, country code, and birth date of the player with the most winner rank points across all matches?\n\n### SQL\nSELECT T1.first_name , T1.country_code , T1.birth_date FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.winner_id ORDER BY T2.winner_rank_points DESC LIMIT 1\n","489":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nFind the number of players for each hand type.\n\n### SQL\nSELECT count(*) , hand FROM players GROUP BY hand\n","490":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE players(\n \"player_id\" INT PRIMARY KEY,\n \"first_name\" TEXT,\n \"last_name\" TEXT,\n \"hand\" TEXT,\n \"birth_date\" DATE,\n \"country_code\" TEXT\n)\n\nCREATE TABLE matches(\n \"best_of\" INT,\n \"draw_size\" INT,\n \"loser_age\" FLOAT,\n \"loser_entry\" TEXT,\n \"loser_hand\" TEXT,\n \"loser_ht\" INT,\n \"loser_id\" INT,\n \"loser_ioc\" TEXT,\n \"loser_name\" TEXT,\n \"loser_rank\" INT,\n \"loser_rank_points\" INT,\n \"loser_seed\" INT,\n \"match_num\" INT,\n \"minutes\" INT,\n \"round\" TEXT,\n \"score\" TEXT,\n \"surface\" TEXT,\n \"tourney_date\" DATE,\n \"tourney_id\" TEXT,\n \"tourney_level\" TEXT,\n \"tourney_name\" TEXT,\n \"winner_age\" FLOAT,\n \"winner_entry\" TEXT,\n \"winner_hand\" TEXT,\n \"winner_ht\" INT,\n \"winner_id\" INT,\n \"winner_ioc\" TEXT,\n \"winner_name\" TEXT,\n \"winner_rank\" INT,\n \"winner_rank_points\" INT,\n \"winner_seed\" INT,\n \"year\" INT,\n FOREIGN KEY(loser_id) REFERENCES players(player_id),\n FOREIGN KEY(winner_id) REFERENCES players(player_id)\n)\n\nCREATE TABLE rankings(\"ranking_date\" DATE,\"ranking\" INT,\"player_id\" INT,\"ranking_points\" INT,\"tours\" INT,FOREIGN KEY(player_id) REFERENCES players(player_id))\n\n### Question\nHow many players are there for each hand type?\n\n### SQL\nSELECT count(*) , hand FROM players GROUP BY hand\n","491":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"battle\" (\n\"id\" int,\n\"name\" text,\n\"date\" text,\n\"bulgarian_commander\" text,\n\"latin_commander\" text,\n\"result\" text,\nprimary key(\"id\")\n)\n\nCREATE TABLE \"ship\" (\n\"lost_in_battle\" int,\n\"id\" int,\n\"name\" text,\n\"tonnage\" text,\n\"ship_type\" text,\n\"location\" text,\n\"disposition_of_ship\" text,\nprimary key(\"id\"),\nforeign key (`lost_in_battle`) references `battle`(\"id\") \n)\n\nCREATE TABLE \"death\" (\n\"caused_by_ship_id\" int,\n\"id\" int,\n\"note\" text,\n\"killed\" int,\n\"injured\" int,\nprimary key(\"id\"),\nforeign key (\"caused_by_ship_id\") references `ship`(\"id\") \n)\n\n### Question\nHow many ships ended up being 'Captured'?\n\n### SQL\nSELECT count(*) FROM ship WHERE disposition_of_ship = 'Captured'\n","492":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"battle\" (\n\"id\" int,\n\"name\" text,\n\"date\" text,\n\"bulgarian_commander\" text,\n\"latin_commander\" text,\n\"result\" text,\nprimary key(\"id\")\n)\n\nCREATE TABLE \"ship\" (\n\"lost_in_battle\" int,\n\"id\" int,\n\"name\" text,\n\"tonnage\" text,\n\"ship_type\" text,\n\"location\" text,\n\"disposition_of_ship\" text,\nprimary key(\"id\"),\nforeign key (`lost_in_battle`) references `battle`(\"id\") \n)\n\nCREATE TABLE \"death\" (\n\"caused_by_ship_id\" int,\n\"id\" int,\n\"note\" text,\n\"killed\" int,\n\"injured\" int,\nprimary key(\"id\"),\nforeign key (\"caused_by_ship_id\") references `ship`(\"id\") \n)\n\n### Question\nList the name and tonnage ordered by in descending alphaetical order for the names.\n\n### SQL\nSELECT name , tonnage FROM ship ORDER BY name DESC\n","493":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"battle\" (\n\"id\" int,\n\"name\" text,\n\"date\" text,\n\"bulgarian_commander\" text,\n\"latin_commander\" text,\n\"result\" text,\nprimary key(\"id\")\n)\n\nCREATE TABLE \"ship\" (\n\"lost_in_battle\" int,\n\"id\" int,\n\"name\" text,\n\"tonnage\" text,\n\"ship_type\" text,\n\"location\" text,\n\"disposition_of_ship\" text,\nprimary key(\"id\"),\nforeign key (`lost_in_battle`) references `battle`(\"id\") \n)\n\nCREATE TABLE \"death\" (\n\"caused_by_ship_id\" int,\n\"id\" int,\n\"note\" text,\n\"killed\" int,\n\"injured\" int,\nprimary key(\"id\"),\nforeign key (\"caused_by_ship_id\") references `ship`(\"id\") \n)\n\n### Question\nList the name, date and result of each battle.\n\n### SQL\nSELECT name , date FROM battle\n","494":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"battle\" (\n\"id\" int,\n\"name\" text,\n\"date\" text,\n\"bulgarian_commander\" text,\n\"latin_commander\" text,\n\"result\" text,\nprimary key(\"id\")\n)\n\nCREATE TABLE \"ship\" (\n\"lost_in_battle\" int,\n\"id\" int,\n\"name\" text,\n\"tonnage\" text,\n\"ship_type\" text,\n\"location\" text,\n\"disposition_of_ship\" text,\nprimary key(\"id\"),\nforeign key (`lost_in_battle`) references `battle`(\"id\") \n)\n\nCREATE TABLE \"death\" (\n\"caused_by_ship_id\" int,\n\"id\" int,\n\"note\" text,\n\"killed\" int,\n\"injured\" int,\nprimary key(\"id\"),\nforeign key (\"caused_by_ship_id\") references `ship`(\"id\") \n)\n\n### Question\nWhat is maximum and minimum death toll caused each time?\n\n### SQL\nSELECT max(killed) , min(killed) FROM death\n","495":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"battle\" (\n\"id\" int,\n\"name\" text,\n\"date\" text,\n\"bulgarian_commander\" text,\n\"latin_commander\" text,\n\"result\" text,\nprimary key(\"id\")\n)\n\nCREATE TABLE \"ship\" (\n\"lost_in_battle\" int,\n\"id\" int,\n\"name\" text,\n\"tonnage\" text,\n\"ship_type\" text,\n\"location\" text,\n\"disposition_of_ship\" text,\nprimary key(\"id\"),\nforeign key (`lost_in_battle`) references `battle`(\"id\") \n)\n\nCREATE TABLE \"death\" (\n\"caused_by_ship_id\" int,\n\"id\" int,\n\"note\" text,\n\"killed\" int,\n\"injured\" int,\nprimary key(\"id\"),\nforeign key (\"caused_by_ship_id\") references `ship`(\"id\") \n)\n\n### Question\nWhat is the average number of injuries caused each time?\n\n### SQL\nSELECT avg(injured) FROM death\n","496":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"battle\" (\n\"id\" int,\n\"name\" text,\n\"date\" text,\n\"bulgarian_commander\" text,\n\"latin_commander\" text,\n\"result\" text,\nprimary key(\"id\")\n)\n\nCREATE TABLE \"ship\" (\n\"lost_in_battle\" int,\n\"id\" int,\n\"name\" text,\n\"tonnage\" text,\n\"ship_type\" text,\n\"location\" text,\n\"disposition_of_ship\" text,\nprimary key(\"id\"),\nforeign key (`lost_in_battle`) references `battle`(\"id\") \n)\n\nCREATE TABLE \"death\" (\n\"caused_by_ship_id\" int,\n\"id\" int,\n\"note\" text,\n\"killed\" int,\n\"injured\" int,\nprimary key(\"id\"),\nforeign key (\"caused_by_ship_id\") references `ship`(\"id\") \n)\n\n### Question\nWhat are the death and injury situations caused by the ship with tonnage 't'?\n\n### SQL\nSELECT T1.killed , T1.injured FROM death AS T1 JOIN ship AS t2 ON T1.caused_by_ship_id = T2.id WHERE T2.tonnage = 't'\n","497":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"battle\" (\n\"id\" int,\n\"name\" text,\n\"date\" text,\n\"bulgarian_commander\" text,\n\"latin_commander\" text,\n\"result\" text,\nprimary key(\"id\")\n)\n\nCREATE TABLE \"ship\" (\n\"lost_in_battle\" int,\n\"id\" int,\n\"name\" text,\n\"tonnage\" text,\n\"ship_type\" text,\n\"location\" text,\n\"disposition_of_ship\" text,\nprimary key(\"id\"),\nforeign key (`lost_in_battle`) references `battle`(\"id\") \n)\n\nCREATE TABLE \"death\" (\n\"caused_by_ship_id\" int,\n\"id\" int,\n\"note\" text,\n\"killed\" int,\n\"injured\" int,\nprimary key(\"id\"),\nforeign key (\"caused_by_ship_id\") references `ship`(\"id\") \n)\n\n### Question\nWhat are the name and results of the battles when the bulgarian commander is not 'Boril'\n\n### SQL\nSELECT name , RESULT FROM battle WHERE bulgarian_commander != 'Boril'\n","498":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"battle\" (\n\"id\" int,\n\"name\" text,\n\"date\" text,\n\"bulgarian_commander\" text,\n\"latin_commander\" text,\n\"result\" text,\nprimary key(\"id\")\n)\n\nCREATE TABLE \"ship\" (\n\"lost_in_battle\" int,\n\"id\" int,\n\"name\" text,\n\"tonnage\" text,\n\"ship_type\" text,\n\"location\" text,\n\"disposition_of_ship\" text,\nprimary key(\"id\"),\nforeign key (`lost_in_battle`) references `battle`(\"id\") \n)\n\nCREATE TABLE \"death\" (\n\"caused_by_ship_id\" int,\n\"id\" int,\n\"note\" text,\n\"killed\" int,\n\"injured\" int,\nprimary key(\"id\"),\nforeign key (\"caused_by_ship_id\") references `ship`(\"id\") \n)\n\n### Question\nWhat are the different ids and names of the battles that lost any 'Brig' type shipes?\n\n### SQL\nSELECT DISTINCT T1.id , T1.name FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.ship_type = 'Brig'\n","499":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"battle\" (\n\"id\" int,\n\"name\" text,\n\"date\" text,\n\"bulgarian_commander\" text,\n\"latin_commander\" text,\n\"result\" text,\nprimary key(\"id\")\n)\n\nCREATE TABLE \"ship\" (\n\"lost_in_battle\" int,\n\"id\" int,\n\"name\" text,\n\"tonnage\" text,\n\"ship_type\" text,\n\"location\" text,\n\"disposition_of_ship\" text,\nprimary key(\"id\"),\nforeign key (`lost_in_battle`) references `battle`(\"id\") \n)\n\nCREATE TABLE \"death\" (\n\"caused_by_ship_id\" int,\n\"id\" int,\n\"note\" text,\n\"killed\" int,\n\"injured\" int,\nprimary key(\"id\"),\nforeign key (\"caused_by_ship_id\") references `ship`(\"id\") \n)\n\n### Question\nWhat are the ids and names of the battles that led to more than 10 people killed in total.\n\n### SQL\nSELECT T1.id , T1.name FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle JOIN death AS T3 ON T2.id = T3.caused_by_ship_id GROUP BY T1.id HAVING sum(T3.killed) > 10\n","500":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"battle\" (\n\"id\" int,\n\"name\" text,\n\"date\" text,\n\"bulgarian_commander\" text,\n\"latin_commander\" text,\n\"result\" text,\nprimary key(\"id\")\n)\n\nCREATE TABLE \"ship\" (\n\"lost_in_battle\" int,\n\"id\" int,\n\"name\" text,\n\"tonnage\" text,\n\"ship_type\" text,\n\"location\" text,\n\"disposition_of_ship\" text,\nprimary key(\"id\"),\nforeign key (`lost_in_battle`) references `battle`(\"id\") \n)\n\nCREATE TABLE \"death\" (\n\"caused_by_ship_id\" int,\n\"id\" int,\n\"note\" text,\n\"killed\" int,\n\"injured\" int,\nprimary key(\"id\"),\nforeign key (\"caused_by_ship_id\") references `ship`(\"id\") \n)\n\n### Question\nWhat is the ship id and name that caused most total injuries?\n\n### SQL\nSELECT T2.id , T2.name FROM death AS T1 JOIN ship AS t2 ON T1.caused_by_ship_id = T2.id GROUP BY T2.id ORDER BY count(*) DESC LIMIT 1\n","501":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"battle\" (\n\"id\" int,\n\"name\" text,\n\"date\" text,\n\"bulgarian_commander\" text,\n\"latin_commander\" text,\n\"result\" text,\nprimary key(\"id\")\n)\n\nCREATE TABLE \"ship\" (\n\"lost_in_battle\" int,\n\"id\" int,\n\"name\" text,\n\"tonnage\" text,\n\"ship_type\" text,\n\"location\" text,\n\"disposition_of_ship\" text,\nprimary key(\"id\"),\nforeign key (`lost_in_battle`) references `battle`(\"id\") \n)\n\nCREATE TABLE \"death\" (\n\"caused_by_ship_id\" int,\n\"id\" int,\n\"note\" text,\n\"killed\" int,\n\"injured\" int,\nprimary key(\"id\"),\nforeign key (\"caused_by_ship_id\") references `ship`(\"id\") \n)\n\n### Question\nWhat are the distinct battle names which are between bulgarian commander 'Kaloyan' and latin commander 'Baldwin I'?\n\n### SQL\nSELECT name FROM battle WHERE bulgarian_commander = 'Kaloyan' AND latin_commander = 'Baldwin I'\n","502":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"battle\" (\n\"id\" int,\n\"name\" text,\n\"date\" text,\n\"bulgarian_commander\" text,\n\"latin_commander\" text,\n\"result\" text,\nprimary key(\"id\")\n)\n\nCREATE TABLE \"ship\" (\n\"lost_in_battle\" int,\n\"id\" int,\n\"name\" text,\n\"tonnage\" text,\n\"ship_type\" text,\n\"location\" text,\n\"disposition_of_ship\" text,\nprimary key(\"id\"),\nforeign key (`lost_in_battle`) references `battle`(\"id\") \n)\n\nCREATE TABLE \"death\" (\n\"caused_by_ship_id\" int,\n\"id\" int,\n\"note\" text,\n\"killed\" int,\n\"injured\" int,\nprimary key(\"id\"),\nforeign key (\"caused_by_ship_id\") references `ship`(\"id\") \n)\n\n### Question\nHow many different results are there for the battles?\n\n### SQL\nSELECT count(DISTINCT RESULT) FROM battle\n","503":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"battle\" (\n\"id\" int,\n\"name\" text,\n\"date\" text,\n\"bulgarian_commander\" text,\n\"latin_commander\" text,\n\"result\" text,\nprimary key(\"id\")\n)\n\nCREATE TABLE \"ship\" (\n\"lost_in_battle\" int,\n\"id\" int,\n\"name\" text,\n\"tonnage\" text,\n\"ship_type\" text,\n\"location\" text,\n\"disposition_of_ship\" text,\nprimary key(\"id\"),\nforeign key (`lost_in_battle`) references `battle`(\"id\") \n)\n\nCREATE TABLE \"death\" (\n\"caused_by_ship_id\" int,\n\"id\" int,\n\"note\" text,\n\"killed\" int,\n\"injured\" int,\nprimary key(\"id\"),\nforeign key (\"caused_by_ship_id\") references `ship`(\"id\") \n)\n\n### Question\nHow many battles did not lose any ship with tonnage '225'?\n\n### SQL\nSELECT count(*) FROM battle WHERE id NOT IN ( SELECT lost_in_battle FROM ship WHERE tonnage = '225' );\n","504":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"battle\" (\n\"id\" int,\n\"name\" text,\n\"date\" text,\n\"bulgarian_commander\" text,\n\"latin_commander\" text,\n\"result\" text,\nprimary key(\"id\")\n)\n\nCREATE TABLE \"ship\" (\n\"lost_in_battle\" int,\n\"id\" int,\n\"name\" text,\n\"tonnage\" text,\n\"ship_type\" text,\n\"location\" text,\n\"disposition_of_ship\" text,\nprimary key(\"id\"),\nforeign key (`lost_in_battle`) references `battle`(\"id\") \n)\n\nCREATE TABLE \"death\" (\n\"caused_by_ship_id\" int,\n\"id\" int,\n\"note\" text,\n\"killed\" int,\n\"injured\" int,\nprimary key(\"id\"),\nforeign key (\"caused_by_ship_id\") references `ship`(\"id\") \n)\n\n### Question\nList the name and date the battle that has lost the ship named 'Lettice' and the ship named 'HMS Atalanta'\n\n### SQL\nSELECT T1.name , T1.date FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.name = 'Lettice' INTERSECT SELECT T1.name , T1.date FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.name = 'HMS Atalanta'\n","505":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"battle\" (\n\"id\" int,\n\"name\" text,\n\"date\" text,\n\"bulgarian_commander\" text,\n\"latin_commander\" text,\n\"result\" text,\nprimary key(\"id\")\n)\n\nCREATE TABLE \"ship\" (\n\"lost_in_battle\" int,\n\"id\" int,\n\"name\" text,\n\"tonnage\" text,\n\"ship_type\" text,\n\"location\" text,\n\"disposition_of_ship\" text,\nprimary key(\"id\"),\nforeign key (`lost_in_battle`) references `battle`(\"id\") \n)\n\nCREATE TABLE \"death\" (\n\"caused_by_ship_id\" int,\n\"id\" int,\n\"note\" text,\n\"killed\" int,\n\"injured\" int,\nprimary key(\"id\"),\nforeign key (\"caused_by_ship_id\") references `ship`(\"id\") \n)\n\n### Question\nShow names, results and bulgarian commanders of the battles with no ships lost in the 'English Channel'.\n\n### SQL\nSELECT name , RESULT , bulgarian_commander FROM battle EXCEPT SELECT T1.name , T1.result , T1.bulgarian_commander FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.location = 'English Channel'\n","506":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"battle\" (\n\"id\" int,\n\"name\" text,\n\"date\" text,\n\"bulgarian_commander\" text,\n\"latin_commander\" text,\n\"result\" text,\nprimary key(\"id\")\n)\n\nCREATE TABLE \"ship\" (\n\"lost_in_battle\" int,\n\"id\" int,\n\"name\" text,\n\"tonnage\" text,\n\"ship_type\" text,\n\"location\" text,\n\"disposition_of_ship\" text,\nprimary key(\"id\"),\nforeign key (`lost_in_battle`) references `battle`(\"id\") \n)\n\nCREATE TABLE \"death\" (\n\"caused_by_ship_id\" int,\n\"id\" int,\n\"note\" text,\n\"killed\" int,\n\"injured\" int,\nprimary key(\"id\"),\nforeign key (\"caused_by_ship_id\") references `ship`(\"id\") \n)\n\n### Question\nWhat are the notes of the death events which has substring 'East'?\n\n### SQL\nSELECT note FROM death WHERE note LIKE '%East%'\n","507":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nwhat are all the addresses including line 1 and line 2?\n\n### SQL\nSELECT line_1 , line_2 FROM addresses\n","508":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the first and second line for all addresses?\n\n### SQL\nSELECT line_1 , line_2 FROM addresses\n","509":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nHow many courses in total are listed?\n\n### SQL\nSELECT count(*) FROM Courses\n","510":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nHow many courses are there?\n\n### SQL\nSELECT count(*) FROM Courses\n","511":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nHow is the math course described?\n\n### SQL\nSELECT course_description FROM Courses WHERE course_name = 'math'\n","512":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat are the descriptions for all the math courses?\n\n### SQL\nSELECT course_description FROM Courses WHERE course_name = 'math'\n","513":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the zip code of the address in the city Port Chelsea?\n\n### SQL\nSELECT zip_postcode FROM Addresses WHERE city = 'Port Chelsea'\n","514":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the zip code for Port Chelsea?\n\n### SQL\nSELECT zip_postcode FROM Addresses WHERE city = 'Port Chelsea'\n","515":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhich department offers the most number of degrees? List department name and id.\n\n### SQL\nSELECT T2.department_name , T1.department_id FROM Degree_Programs AS T1 JOIN Departments AS T2 ON T1.department_id = T2.department_id GROUP BY T1.department_id ORDER BY count(*) DESC LIMIT 1\n","516":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the name and id of the department with the most number of degrees ?\n\n### SQL\nselect t2.department_name , t1.department_id from degree_programs as t1 join departments as t2 on t1.department_id = t2.department_id group by t1.department_id order by count(*) desc limit 1\n","517":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nHow many departments offer any degree?\n\n### SQL\nSELECT count(DISTINCT department_id) FROM Degree_Programs\n","518":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nHow many different departments offer degrees?\n\n### SQL\nSELECT count(DISTINCT department_id) FROM Degree_Programs\n","519":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nHow many different degree names are offered?\n\n### SQL\nSELECT count(DISTINCT degree_summary_name) FROM Degree_Programs\n","520":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nHow many different degrees are offered?\n\n### SQL\nSELECT count(DISTINCT degree_summary_name) FROM Degree_Programs\n","521":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nHow many degrees does the engineering department offer?\n\n### SQL\nSELECT count(*) FROM Departments AS T1 JOIN Degree_Programs AS T2 ON T1.department_id = T2.department_id WHERE T1.department_name = 'engineer'\n","522":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nHow many degrees does the engineering department have?\n\n### SQL\nSELECT count(*) FROM Departments AS T1 JOIN Degree_Programs AS T2 ON T1.department_id = T2.department_id WHERE T1.department_name = 'engineer'\n","523":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat are the names and descriptions of all the sections?\n\n### SQL\nSELECT section_name , section_description FROM Sections\n","524":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat are the names and descriptions for all the sections?\n\n### SQL\nSELECT section_name , section_description FROM Sections\n","525":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat are the names and id of courses having at most 2 sections?\n\n### SQL\nSELECT T1.course_name , T1.course_id FROM Courses AS T1 JOIN Sections AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_id HAVING count(*) <= 2\n","526":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat are the names and ids of every course with less than 2 sections?\n\n### SQL\nSELECT T1.course_name , T1.course_id FROM Courses AS T1 JOIN Sections AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_id HAVING count(*) <= 2\n","527":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nList the section_name in reversed lexicographical order.\n\n### SQL\nSELECT section_name FROM Sections ORDER BY section_name DESC\n","528":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat are the names of the sections in reverse alphabetical order?\n\n### SQL\nSELECT section_name FROM Sections ORDER BY section_name DESC\n","529":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the semester which most student registered in? Show both the name and the id.\n\n### SQL\nSELECT T1.semester_name , T1.semester_id FROM Semesters AS T1 JOIN Student_Enrolment AS T2 ON T1.semester_id = T2.semester_id GROUP BY T1.semester_id ORDER BY count(*) DESC LIMIT 1\n","530":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nFor each semester, what is the name and id of the one with the most students registered?\n\n### SQL\nSELECT T1.semester_name , T1.semester_id FROM Semesters AS T1 JOIN Student_Enrolment AS T2 ON T1.semester_id = T2.semester_id GROUP BY T1.semester_id ORDER BY count(*) DESC LIMIT 1\n","531":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the description of the department whose name has the substring the computer?\n\n### SQL\nSELECT department_description FROM Departments WHERE department_name LIKE '%computer%'\n","532":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the department description for the one whose name has the word computer?\n\n### SQL\nSELECT department_description FROM Departments WHERE department_name LIKE '%computer%'\n","533":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWho are enrolled in 2 degree programs in one semester? List the first name, middle name and last name and the id.\n\n### SQL\nSELECT T1.first_name , T1.middle_name , T1.last_name , T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id HAVING count(*) = 2\n","534":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat are the first, middle, and last names, along with the ids, of all students who enrolled in 2 degree programs in one semester?\n\n### SQL\nSELECT T1.first_name , T1.middle_name , T1.last_name , T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id HAVING count(*) = 2\n","535":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWho is enrolled in a Bachelor degree program? List the first name, middle name, last name.\n\n### SQL\nSELECT DISTINCT T1.first_name , T1.middle_name , T1.last_name FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id JOIN Degree_Programs AS T3 ON T2.degree_program_id = T3.degree_program_id WHERE T3.degree_summary_name = 'Bachelor'\n","536":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat are the first, middle, and last names for everybody enrolled in a Bachelors program?\n\n### SQL\nSELECT DISTINCT T1.first_name , T1.middle_name , T1.last_name FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id JOIN Degree_Programs AS T3 ON T2.degree_program_id = T3.degree_program_id WHERE T3.degree_summary_name = 'Bachelor'\n","537":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nFind the kind of program which most number of students are enrolled in?\n\n### SQL\nSELECT T1.degree_summary_name FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id GROUP BY T1.degree_summary_name ORDER BY count(*) DESC LIMIT 1\n","538":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the degree summary name that has the most number of students enrolled?\n\n### SQL\nSELECT T1.degree_summary_name FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id GROUP BY T1.degree_summary_name ORDER BY count(*) DESC LIMIT 1\n","539":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nFind the program which most number of students are enrolled in. List both the id and the summary.\n\n### SQL\nSELECT T1.degree_program_id , T1.degree_summary_name FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id GROUP BY T1.degree_program_id ORDER BY count(*) DESC LIMIT 1\n","540":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the program id and the summary of the degree that has the most students enrolled?\n\n### SQL\nSELECT T1.degree_program_id , T1.degree_summary_name FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id GROUP BY T1.degree_program_id ORDER BY count(*) DESC LIMIT 1\n","541":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhich student has enrolled for the most times in any program? List the id, first name, middle name, last name, the number of enrollments and student id.\n\n### SQL\nSELECT T1.student_id , T1.first_name , T1.middle_name , T1.last_name , count(*) , T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1\n","542":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the first, middle, and last name, along with the id and number of enrollments, for the student who enrolled the most in any program?\n\n### SQL\nSELECT T1.student_id , T1.first_name , T1.middle_name , T1.last_name , count(*) , T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1\n","543":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhich semesters do not have any student enrolled? List the semester name.\n\n### SQL\nSELECT semester_name FROM Semesters WHERE semester_id NOT IN( SELECT semester_id FROM Student_Enrolment )\n","544":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the name of the semester with no students enrolled?\n\n### SQL\nSELECT semester_name FROM Semesters WHERE semester_id NOT IN( SELECT semester_id FROM Student_Enrolment )\n","545":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat are all the course names of the courses which ever have students enrolled in?\n\n### SQL\nSELECT DISTINCT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id\n","546":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat are the names of all courses that have some students enrolled?\n\n### SQL\nSELECT DISTINCT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id\n","547":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat's the name of the course with most number of enrollments?\n\n### SQL\nSELECT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY count(*) DESC LIMIT 1\n","548":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the name of the course with the most students enrolled?\n\n### SQL\nSELECT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY count(*) DESC LIMIT 1\n","549":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nFind the last name of the students who currently live in the state of North Carolina but have not registered in any degree program.\n\n### SQL\nSELECT T1.last_name FROM Students AS T1 JOIN Addresses AS T2 ON T1.current_address_id = T2.address_id WHERE T2.state_province_county = 'NorthCarolina' EXCEPT SELECT DISTINCT T3.last_name FROM Students AS T3 JOIN Student_Enrolment AS T4 ON T3.student_id = T4.student_id\n","550":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat are the last name of the students who live in North Carolina but have not registered in any degree programs?\n\n### SQL\nSELECT T1.last_name FROM Students AS T1 JOIN Addresses AS T2 ON T1.current_address_id = T2.address_id WHERE T2.state_province_county = 'NorthCarolina' EXCEPT SELECT DISTINCT T3.last_name FROM Students AS T3 JOIN Student_Enrolment AS T4 ON T3.student_id = T4.student_id\n","551":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nShow the date and id of the transcript with at least 2 course results.\n\n### SQL\nSELECT T2.transcript_date , T1.transcript_id FROM Transcript_Contents AS T1 JOIN Transcripts AS T2 ON T1.transcript_id = T2.transcript_id GROUP BY T1.transcript_id HAVING count(*) >= 2\n","552":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the date and id of the transcript with at least 2 courses listed?\n\n### SQL\nSELECT T2.transcript_date , T1.transcript_id FROM Transcript_Contents AS T1 JOIN Transcripts AS T2 ON T1.transcript_id = T2.transcript_id GROUP BY T1.transcript_id HAVING count(*) >= 2\n","553":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the phone number of the man with the first name Timmothy and the last name Ward?\n\n### SQL\nSELECT cell_mobile_number FROM Students WHERE first_name = 'Timmothy' AND last_name = 'Ward'\n","554":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the mobile phone number of the student named Timmothy Ward ?\n\n### SQL\nselect cell_mobile_number from students where first_name = 'timmothy' and last_name = 'ward'\n","555":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWho is the first student to register? List the first name, middle name and last name.\n\n### SQL\nSELECT first_name , middle_name , last_name FROM Students ORDER BY date_first_registered ASC LIMIT 1\n","556":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the first, middle, and last name of the first student to register?\n\n### SQL\nSELECT first_name , middle_name , last_name FROM Students ORDER BY date_first_registered ASC LIMIT 1\n","557":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWho is the earliest graduate of the school? List the first name, middle name and last name.\n\n### SQL\nSELECT first_name , middle_name , last_name FROM Students ORDER BY date_left ASC LIMIT 1\n","558":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the first, middle, and last name of the earliest school graduate?\n\n### SQL\nSELECT first_name , middle_name , last_name FROM Students ORDER BY date_left ASC LIMIT 1\n","559":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhose permanent address is different from his or her current address? List his or her first name.\n\n### SQL\nSELECT first_name FROM Students WHERE current_address_id != permanent_address_id\n","560":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the first name of the student whose permanent address is different from his or her current one?\n\n### SQL\nSELECT first_name FROM Students WHERE current_address_id != permanent_address_id\n","561":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhich address holds the most number of students currently? List the address id and all lines.\n\n### SQL\nSELECT T1.address_id , T1.line_1 , T1.line_2 FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id = T2.current_address_id GROUP BY T1.address_id ORDER BY count(*) DESC LIMIT 1\n","562":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the id, line 1, and line 2 of the address with the most students?\n\n### SQL\nSELECT T1.address_id , T1.line_1 , T1.line_2 FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id = T2.current_address_id GROUP BY T1.address_id ORDER BY count(*) DESC LIMIT 1\n","563":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nOn average, when were the transcripts printed?\n\n### SQL\nSELECT avg(transcript_date) FROM Transcripts\n","564":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the average transcript date?\n\n### SQL\nSELECT avg(transcript_date) FROM Transcripts\n","565":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhen is the first transcript released? List the date and details.\n\n### SQL\nSELECT transcript_date , other_details FROM Transcripts ORDER BY transcript_date ASC LIMIT 1\n","566":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the earliest date of a transcript release, and what details can you tell me?\n\n### SQL\nSELECT transcript_date , other_details FROM Transcripts ORDER BY transcript_date ASC LIMIT 1\n","567":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nHow many transcripts are released?\n\n### SQL\nSELECT count(*) FROM Transcripts\n","568":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nHow many transcripts are listed?\n\n### SQL\nSELECT count(*) FROM Transcripts\n","569":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the last transcript release date?\n\n### SQL\nSELECT transcript_date FROM Transcripts ORDER BY transcript_date DESC LIMIT 1\n","570":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhen was the last transcript released?\n\n### SQL\nSELECT transcript_date FROM Transcripts ORDER BY transcript_date DESC LIMIT 1\n","571":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nHow many times at most can a course enrollment result show in different transcripts? Also show the course enrollment id.\n\n### SQL\nSELECT count(*) , student_course_id FROM Transcript_Contents GROUP BY student_course_id ORDER BY count(*) DESC LIMIT 1\n","572":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the maximum number of times that a course shows up in different transcripts and what is that course's enrollment id?\n\n### SQL\nSELECT count(*) , student_course_id FROM Transcript_Contents GROUP BY student_course_id ORDER BY count(*) DESC LIMIT 1\n","573":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nShow the date of the transcript which shows the least number of results, also list the id.\n\n### SQL\nSELECT T2.transcript_date , T1.transcript_id FROM Transcript_Contents AS T1 JOIN Transcripts AS T2 ON T1.transcript_id = T2.transcript_id GROUP BY T1.transcript_id ORDER BY count(*) ASC LIMIT 1\n","574":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the date and id of the transcript with the least number of results?\n\n### SQL\nSELECT T2.transcript_date , T1.transcript_id FROM Transcript_Contents AS T1 JOIN Transcripts AS T2 ON T1.transcript_id = T2.transcript_id GROUP BY T1.transcript_id ORDER BY count(*) ASC LIMIT 1\n","575":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nFind the semester when both Master students and Bachelor students got enrolled in.\n\n### SQL\nSELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id WHERE degree_summary_name = 'Master' INTERSECT SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id WHERE degree_summary_name = 'Bachelor'\n","576":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the id of the semester that had both Masters and Bachelors students enrolled?\n\n### SQL\nSELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id WHERE degree_summary_name = 'Master' INTERSECT SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id WHERE degree_summary_name = 'Bachelor'\n","577":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nHow many different addresses do the students currently live?\n\n### SQL\nSELECT count(DISTINCT current_address_id) FROM Students\n","578":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat are the different addresses that have students living there?\n\n### SQL\nSELECT count(DISTINCT current_address_id) FROM Students\n","579":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nList all the student details in reversed lexicographical order.\n\n### SQL\nSELECT other_student_details FROM Students ORDER BY other_student_details DESC\n","580":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat other details can you tell me about students in reverse alphabetical order?\n\n### SQL\nSELECT other_student_details FROM Students ORDER BY other_student_details DESC\n","581":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nDescribe the section h.\n\n### SQL\nSELECT section_description FROM Sections WHERE section_name = 'h'\n","582":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat is the description for the section named h?\n\n### SQL\nSELECT section_description FROM Sections WHERE section_name = 'h'\n","583":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nFind the first name of the students who permanently live in the country Haiti or have the cell phone number 09700166582 .\n\n### SQL\nselect t1.first_name from students as t1 join addresses as t2 on t1.permanent_address_id = t2.address_id where t2.country = 'haiti' or t1.cell_mobile_number = '09700166582'\n","584":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Addresses` (\n`address_id` INTEGER PRIMARY KEY,\n`line_1` VARCHAR(255),\n`line_2` VARCHAR(255),\n`line_3` VARCHAR(255),\n`city` VARCHAR(255),\n`zip_postcode` VARCHAR(20),\n`state_province_county` VARCHAR(255),\n`country` VARCHAR(255),\n`other_address_details` VARCHAR(255)\n)\n\nCREATE TABLE `Courses` (\n`course_id` INTEGER PRIMARY KEY,\n`course_name` VARCHAR(255),\n`course_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Departments` (\n`department_id` INTEGER PRIMARY KEY,\n`department_name` VARCHAR(255),\n`department_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Degree_Programs` (\n`degree_program_id` INTEGER PRIMARY KEY,\n`department_id` INTEGER NOT NULL,\n`degree_summary_name` VARCHAR(255),\n`degree_summary_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`department_id` ) REFERENCES `Departments`(`department_id` )\n)\n\nCREATE TABLE `Sections` (\n`section_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`section_name` VARCHAR(255),\n`section_description` VARCHAR(255),\n`other_details` VARCHAR(255),\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` )\n)\n\nCREATE TABLE `Semesters` (\n`semester_id` INTEGER PRIMARY KEY,\n`semester_name` VARCHAR(255),\n`semester_description` VARCHAR(255),\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Students` (\n`student_id` INTEGER PRIMARY KEY,\n`current_address_id` INTEGER NOT NULL,\n`permanent_address_id` INTEGER NOT NULL,\n`first_name` VARCHAR(80),\n`middle_name` VARCHAR(40),\n`last_name` VARCHAR(40),\n`cell_mobile_number` VARCHAR(40),\n`email_address` VARCHAR(40),\n`ssn` VARCHAR(40),\n`date_first_registered` DATETIME,\n`date_left` DATETIME,\n`other_student_details` VARCHAR(255),\nFOREIGN KEY (`current_address_id` ) REFERENCES `Addresses`(`address_id` ),\nFOREIGN KEY (`permanent_address_id` ) REFERENCES `Addresses`(`address_id` )\n)\n\nCREATE TABLE `Student_Enrolment` (\n`student_enrolment_id` INTEGER PRIMARY KEY,\n`degree_program_id` INTEGER NOT NULL,\n`semester_id` INTEGER NOT NULL,\n`student_id` INTEGER NOT NULL,\n`other_details` VARCHAR(255),\nFOREIGN KEY (`degree_program_id` ) REFERENCES `Degree_Programs`(`degree_program_id` ),\nFOREIGN KEY (`semester_id` ) REFERENCES `Semesters`(`semester_id` ),\nFOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )\n)\n\nCREATE TABLE `Student_Enrolment_Courses` (\n`student_course_id` INTEGER PRIMARY KEY,\n`course_id` INTEGER NOT NULL,\n`student_enrolment_id` INTEGER NOT NULL,\nFOREIGN KEY (`course_id` ) REFERENCES `Courses`(`course_id` ),\nFOREIGN KEY (`student_enrolment_id` ) REFERENCES `Student_Enrolment`(`student_enrolment_id` )\n)\n\nCREATE TABLE `Transcripts` (\n`transcript_id` INTEGER PRIMARY KEY,\n`transcript_date` DATETIME,\n`other_details` VARCHAR(255)\n)\n\nCREATE TABLE `Transcript_Contents` (\n`student_course_id` INTEGER NOT NULL,\n`transcript_id` INTEGER NOT NULL,\nFOREIGN KEY (`student_course_id` ) REFERENCES `Student_Enrolment_Courses`(`student_course_id` ),\nFOREIGN KEY (`transcript_id` ) REFERENCES `Transcripts`(`transcript_id` )\n)\n\n### Question\nWhat are the first names of the students who live in Haiti permanently or have the cell phone number 09700166582 ?\n\n### SQL\nselect t1.first_name from students as t1 join addresses as t2 on t1.permanent_address_id = t2.address_id where t2.country = 'haiti' or t1.cell_mobile_number = '09700166582'\n","585":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nList the title of all cartoons in alphabetical order.\n\n### SQL\nSELECT Title FROM Cartoon ORDER BY title\n","586":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat are the titles of the cartoons sorted alphabetically?\n\n### SQL\nSELECT Title FROM Cartoon ORDER BY title\n","587":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nList all cartoon directed by \"Ben Jones\".\n\n### SQL\nSELECT Title FROM Cartoon WHERE Directed_by = \"Ben Jones\";\n","588":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat are the names of all cartoons directed by Ben Jones?\n\n### SQL\nSELECT Title FROM Cartoon WHERE Directed_by = \"Ben Jones\";\n","589":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nHow many cartoons were written by \"Joseph Kuhr\"?\n\n### SQL\nSELECT count(*) FROM Cartoon WHERE Written_by = \"Joseph Kuhr\";\n","590":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat is the number of cartoones written by Joseph Kuhr?\n\n### SQL\nSELECT count(*) FROM Cartoon WHERE Written_by = \"Joseph Kuhr\";\n","591":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nlist all cartoon titles and their directors ordered by their air date\n\n### SQL\nSELECT title , Directed_by FROM Cartoon ORDER BY Original_air_date\n","592":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat is the name and directors of all the cartoons that are ordered by air date?\n\n### SQL\nSELECT title , Directed_by FROM Cartoon ORDER BY Original_air_date\n","593":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nList the title of all cartoon directed by \"Ben Jones\" or \"Brandon Vietti\".\n\n### SQL\nSELECT Title FROM Cartoon WHERE Directed_by = \"Ben Jones\" OR Directed_by = \"Brandon Vietti\";\n","594":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat are the titles of all cartoons directed by Ben Jones or Brandon Vietti?\n\n### SQL\nSELECT Title FROM Cartoon WHERE Directed_by = \"Ben Jones\" OR Directed_by = \"Brandon Vietti\";\n","595":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhich country has the most of TV Channels? List the country and number of TV Channels it has.\n\n### SQL\nSELECT Country , count(*) FROM TV_Channel GROUP BY Country ORDER BY count(*) DESC LIMIT 1;\n","596":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat is the country with the most number of TV Channels and how many does it have?\n\n### SQL\nSELECT Country , count(*) FROM TV_Channel GROUP BY Country ORDER BY count(*) DESC LIMIT 1;\n","597":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nList the number of different series names and contents in the TV Channel table.\n\n### SQL\nSELECT count(DISTINCT series_name) , count(DISTINCT content) FROM TV_Channel;\n","598":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nHow many different series and contents are listed in the TV Channel table?\n\n### SQL\nSELECT count(DISTINCT series_name) , count(DISTINCT content) FROM TV_Channel;\n","599":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat is the content of TV Channel with serial name \"Sky Radio\"?\n\n### SQL\nSELECT Content FROM TV_Channel WHERE series_name = \"Sky Radio\";\n","600":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat is the content of the series Sky Radio?\n\n### SQL\nSELECT Content FROM TV_Channel WHERE series_name = \"Sky Radio\";\n","601":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat is the Package Option of TV Channel with serial name \"Sky Radio\"?\n\n### SQL\nSELECT Package_Option FROM TV_Channel WHERE series_name = \"Sky Radio\";\n","602":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat are the Package Options of the TV Channels whose series names are Sky Radio?\n\n### SQL\nSELECT Package_Option FROM TV_Channel WHERE series_name = \"Sky Radio\";\n","603":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nHow many TV Channel using language English?\n\n### SQL\nSELECT count(*) FROM TV_Channel WHERE LANGUAGE = \"English\";\n","604":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nHow many TV Channels use the English language?\n\n### SQL\nSELECT count(*) FROM TV_Channel WHERE LANGUAGE = \"English\";\n","605":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nList the language used least number of TV Channel. List language and number of TV Channel.\n\n### SQL\nSELECT LANGUAGE , count(*) FROM TV_Channel GROUP BY LANGUAGE ORDER BY count(*) ASC LIMIT 1;\n","606":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat are the languages used by the least number of TV Channels and how many channels use it?\n\n### SQL\nSELECT LANGUAGE , count(*) FROM TV_Channel GROUP BY LANGUAGE ORDER BY count(*) ASC LIMIT 1;\n","607":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nList each language and the number of TV Channels using it.\n\n### SQL\nSELECT LANGUAGE , count(*) FROM TV_Channel GROUP BY LANGUAGE\n","608":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nFor each language, list the number of TV Channels that use it.\n\n### SQL\nSELECT LANGUAGE , count(*) FROM TV_Channel GROUP BY LANGUAGE\n","609":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat is the TV Channel that shows the cartoon \"The Rise of the Blue Beetle!\"? List the TV Channel's series name.\n\n### SQL\nSELECT T1.series_name FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T2.Title = \"The Rise of the Blue Beetle!\";\n","610":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat is the series name of the TV Channel that shows the cartoon \"The Rise of the Blue Beetle\"?\n\n### SQL\nSELECT T1.series_name FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T2.Title = \"The Rise of the Blue Beetle!\";\n","611":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nList the title of all Cartoons showed on TV Channel with series name \"Sky Radio\".\n\n### SQL\nSELECT T2.Title FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T1.series_name = \"Sky Radio\";\n","612":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat is the title of all the cartools that are on the TV Channel with the series name \"Sky Radio\"?\n\n### SQL\nSELECT T2.Title FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T1.series_name = \"Sky Radio\";\n","613":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nList the Episode of all TV series sorted by rating.\n\n### SQL\nSELECT Episode FROM TV_series ORDER BY rating\n","614":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat are all of the episodes ordered by ratings?\n\n### SQL\nSELECT Episode FROM TV_series ORDER BY rating\n","615":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nList top 3 highest Rating TV series. List the TV series's Episode and Rating.\n\n### SQL\nSELECT Episode , Rating FROM TV_series ORDER BY Rating DESC LIMIT 3;\n","616":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat are 3 most highly rated episodes in the TV series table and what were those ratings?\n\n### SQL\nSELECT Episode , Rating FROM TV_series ORDER BY Rating DESC LIMIT 3;\n","617":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat is minimum and maximum share of TV series?\n\n### SQL\nSELECT max(SHARE) , min(SHARE) FROM TV_series;\n","618":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat is the maximum and minimum share for the TV series?\n\n### SQL\nSELECT max(SHARE) , min(SHARE) FROM TV_series;\n","619":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat is the air date of TV series with Episode \"A Love of a Lifetime\"?\n\n### SQL\nSELECT Air_Date FROM TV_series WHERE Episode = \"A Love of a Lifetime\";\n","620":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhen did the episode \"A Love of a Lifetime\" air?\n\n### SQL\nSELECT Air_Date FROM TV_series WHERE Episode = \"A Love of a Lifetime\";\n","621":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat is Weekly Rank of TV series with Episode \"A Love of a Lifetime\"?\n\n### SQL\nSELECT Weekly_Rank FROM TV_series WHERE Episode = \"A Love of a Lifetime\";\n","622":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat is the weekly rank for the episode \"A Love of a Lifetime\"?\n\n### SQL\nSELECT Weekly_Rank FROM TV_series WHERE Episode = \"A Love of a Lifetime\";\n","623":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat is the TV Channel of TV series with Episode \"A Love of a Lifetime\"? List the TV Channel's series name.\n\n### SQL\nSELECT T1.series_name FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T2.Episode = \"A Love of a Lifetime\";\n","624":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat is the name of the series that has the episode \"A Love of a Lifetime\"?\n\n### SQL\nSELECT T1.series_name FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T2.Episode = \"A Love of a Lifetime\";\n","625":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nList the Episode of all TV series showed on TV Channel with series name \"Sky Radio\".\n\n### SQL\nSELECT T2.Episode FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T1.series_name = \"Sky Radio\";\n","626":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat is the episode for the TV series named \"Sky Radio\"?\n\n### SQL\nSELECT T2.Episode FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T1.series_name = \"Sky Radio\";\n","627":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nFind the number of cartoons directed by each of the listed directors.\n\n### SQL\nSELECT count(*) , Directed_by FROM cartoon GROUP BY Directed_by\n","628":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nHow many cartoons did each director create?\n\n### SQL\nSELECT count(*) , Directed_by FROM cartoon GROUP BY Directed_by\n","629":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nFind the production code and channel of the most recently aired cartoon .\n\n### SQL\nselect production_code , channel from cartoon order by original_air_date desc limit 1\n","630":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat is the produdction code and channel of the most recent cartoon ?\n\n### SQL\nselect production_code , channel from cartoon order by original_air_date desc limit 1\n","631":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nFind the package choice and series name of the TV channel that has high definition TV.\n\n### SQL\nSELECT package_option , series_name FROM TV_Channel WHERE hight_definition_TV = \"yes\"\n","632":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat are the package options and the name of the series for the TV Channel that supports high definition TV?\n\n### SQL\nSELECT package_option , series_name FROM TV_Channel WHERE hight_definition_TV = \"yes\"\n","633":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nwhich countries' tv channels are playing some cartoon written by Todd Casey?\n\n### SQL\nSELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by = 'Todd Casey'\n","634":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat are the countries that have cartoons on TV that were written by Todd Casey?\n\n### SQL\nSELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by = 'Todd Casey'\n","635":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nwhich countries' tv channels are not playing any cartoon written by Todd Casey?\n\n### SQL\nSELECT country FROM TV_Channel EXCEPT SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by = 'Todd Casey'\n","636":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat are the countries that are not playing cartoons written by Todd Casey?\n\n### SQL\nSELECT country FROM TV_Channel EXCEPT SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by = 'Todd Casey'\n","637":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nFind the series name and country of the tv channel that is playing some cartoons directed by Ben Jones and Michael Chang?\n\n### SQL\nSELECT T1.series_name , T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by = 'Michael Chang' INTERSECT SELECT T1.series_name , T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by = 'Ben Jones'\n","638":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat is the series name and country of all TV channels that are playing cartoons directed by Ben Jones and cartoons directed by Michael Chang?\n\n### SQL\nSELECT T1.series_name , T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by = 'Michael Chang' INTERSECT SELECT T1.series_name , T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by = 'Ben Jones'\n","639":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nfind the pixel aspect ratio and nation of the tv channels that do not use English.\n\n### SQL\nSELECT Pixel_aspect_ratio_PAR , country FROM tv_channel WHERE LANGUAGE != 'English'\n","640":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat is the pixel aspect ratio and country of origin for all TV channels that do not use English?\n\n### SQL\nSELECT Pixel_aspect_ratio_PAR , country FROM tv_channel WHERE LANGUAGE != 'English'\n","641":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nfind id of the tv channels that from the countries where have more than two tv channels.\n\n### SQL\nSELECT id FROM tv_channel GROUP BY country HAVING count(*) > 2\n","642":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat are the ids of all tv channels that have more than 2 TV channels?\n\n### SQL\nSELECT id FROM tv_channel GROUP BY country HAVING count(*) > 2\n","643":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nfind the id of tv channels that do not play any cartoon directed by Ben Jones.\n\n### SQL\nSELECT id FROM TV_Channel EXCEPT SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones'\n","644":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat are the ids of the TV channels that do not have any cartoons directed by Ben Jones?\n\n### SQL\nSELECT id FROM TV_Channel EXCEPT SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones'\n","645":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nfind the package option of the tv channel that do not have any cartoon directed by Ben Jones.\n\n### SQL\nSELECT package_option FROM TV_Channel WHERE id NOT IN (SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones')\n","646":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"TV_Channel\" (\n\"id\" text,\n\"series_name\" text,\n\"Country\" text,\n\"Language\" text,\n\"Content\" text,\n\"Pixel_aspect_ratio_PAR\" text,\n\"Hight_definition_TV\" text,\n\"Pay_per_view_PPV\" text,\n\"Package_Option\" text,\nPRIMARY KEY (\"id\")\n)\n\nCREATE TABLE \"TV_series\" (\n\"id\" real,\n\"Episode\" text,\n\"Air_Date\" text,\n\"Rating\" text,\n\"Share\" real,\n\"18_49_Rating_Share\" text,\n\"Viewers_m\" text,\n\"Weekly_Rank\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\nCREATE TABLE \"Cartoon\" (\n\"id\" real,\n\"Title\" text,\n\"Directed_by\" text,\n\"Written_by\" text,\n\"Original_air_date\" text,\n\"Production_code\" real,\n\"Channel\" text,\nPRIMARY KEY (\"id\"),\nFOREIGN KEY (`Channel`) REFERENCES `TV_Channel`(`id`)\n)\n\n### Question\nWhat are the package options of all tv channels that are not playing any cartoons directed by Ben Jones?\n\n### SQL\nSELECT package_option FROM TV_Channel WHERE id NOT IN (SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones')\n","647":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nHow many poker players are there?\n\n### SQL\nSELECT count(*) FROM poker_player\n","648":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nCount the number of poker players.\n\n### SQL\nSELECT count(*) FROM poker_player\n","649":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nList the earnings of poker players in descending order.\n\n### SQL\nSELECT Earnings FROM poker_player ORDER BY Earnings DESC\n","650":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nWhat are the earnings of poker players, ordered descending by value?\n\n### SQL\nSELECT Earnings FROM poker_player ORDER BY Earnings DESC\n","651":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nList the final tables made and the best finishes of poker players.\n\n### SQL\nSELECT Final_Table_Made , Best_Finish FROM poker_player\n","652":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nWhat are the final tables made and best finishes for all poker players?\n\n### SQL\nSELECT Final_Table_Made , Best_Finish FROM poker_player\n","653":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nWhat is the average earnings of poker players?\n\n### SQL\nSELECT avg(Earnings) FROM poker_player\n","654":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nReturn the average earnings across all poker players.\n\n### SQL\nSELECT avg(Earnings) FROM poker_player\n","655":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nWhat is the money rank of the poker player with the highest earnings?\n\n### SQL\nSELECT Money_Rank FROM poker_player ORDER BY Earnings DESC LIMIT 1\n","656":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nReturn the money rank of the player with the greatest earnings.\n\n### SQL\nSELECT Money_Rank FROM poker_player ORDER BY Earnings DESC LIMIT 1\n","657":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nWhat is the maximum number of final tables made among poker players with earnings less than 200000?\n\n### SQL\nSELECT max(Final_Table_Made) FROM poker_player WHERE Earnings < 200000\n","658":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nReturn the maximum final tables made across all poker players who have earnings below 200000.\n\n### SQL\nSELECT max(Final_Table_Made) FROM poker_player WHERE Earnings < 200000\n","659":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nWhat are the names of poker players?\n\n### SQL\nSELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID\n","660":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nReturn the names of all the poker players.\n\n### SQL\nSELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID\n","661":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nWhat are the names of poker players whose earnings is higher than 300000?\n\n### SQL\nSELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Earnings > 300000\n","662":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nGive the names of poker players who have earnings above 300000.\n\n### SQL\nSELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Earnings > 300000\n","663":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nList the names of poker players ordered by the final tables made in ascending order.\n\n### SQL\nSELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Final_Table_Made\n","664":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nWhat are the names of poker players, ordered ascending by the number of final tables they have made?\n\n### SQL\nSELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Final_Table_Made\n","665":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nWhat is the birth date of the poker player with the lowest earnings?\n\n### SQL\nSELECT T1.Birth_Date FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings ASC LIMIT 1\n","666":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nReturn the birth date of the poker player with the lowest earnings.\n\n### SQL\nSELECT T1.Birth_Date FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings ASC LIMIT 1\n","667":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nWhat is the money rank of the tallest poker player?\n\n### SQL\nSELECT T2.Money_Rank FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Height DESC LIMIT 1\n","668":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nReturn the money rank of the poker player with the greatest height.\n\n### SQL\nSELECT T2.Money_Rank FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Height DESC LIMIT 1\n","669":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nWhat is the average earnings of poker players with height higher than 200?\n\n### SQL\nSELECT avg(T2.Earnings) FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Height > 200\n","670":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nGive average earnings of poker players who are taller than 200.\n\n### SQL\nSELECT avg(T2.Earnings) FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Height > 200\n","671":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nWhat are the names of poker players in descending order of earnings?\n\n### SQL\nSELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings DESC\n","672":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nReturn the names of poker players sorted by their earnings descending.\n\n### SQL\nSELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings DESC\n","673":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nWhat are different nationalities of people and the corresponding number of people from each nation?\n\n### SQL\nSELECT Nationality , COUNT(*) FROM people GROUP BY Nationality\n","674":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nHow many people are there of each nationality?\n\n### SQL\nSELECT Nationality , COUNT(*) FROM people GROUP BY Nationality\n","675":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nWhat is the most common nationality of people?\n\n### SQL\nSELECT Nationality FROM people GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1\n","676":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nGive the nationality that is most common across all people.\n\n### SQL\nSELECT Nationality FROM people GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1\n","677":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nWhat are the nationalities that are shared by at least two people?\n\n### SQL\nSELECT Nationality FROM people GROUP BY Nationality HAVING COUNT(*) >= 2\n","678":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nReturn the nationalities for which there are two or more people.\n\n### SQL\nSELECT Nationality FROM people GROUP BY Nationality HAVING COUNT(*) >= 2\n","679":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nList the names and birth dates of people in ascending alphabetical order of name.\n\n### SQL\nSELECT Name , Birth_Date FROM people ORDER BY Name ASC\n","680":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nWhat are the names and birth dates of people, ordered by their names in alphabetical order?\n\n### SQL\nSELECT Name , Birth_Date FROM people ORDER BY Name ASC\n","681":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nShow names of people whose nationality is not \"Russia\".\n\n### SQL\nSELECT Name FROM people WHERE Nationality != \"Russia\"\n","682":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nWhat are the names of people who are not from Russia?\n\n### SQL\nSELECT Name FROM people WHERE Nationality != \"Russia\"\n","683":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nList the names of people that are not poker players.\n\n### SQL\nSELECT Name FROM people WHERE People_ID NOT IN (SELECT People_ID FROM poker_player)\n","684":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nWhat are the names of people who do not play poker?\n\n### SQL\nSELECT Name FROM people WHERE People_ID NOT IN (SELECT People_ID FROM poker_player)\n","685":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nHow many distinct nationalities are there?\n\n### SQL\nSELECT count(DISTINCT Nationality) FROM people\n","686":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN KEY (\"People_ID\") REFERENCES `people`(\"People_ID\")\n)\n\nCREATE TABLE \"people\" (\n\"People_ID\" int,\n\"Nationality\" text,\n\"Name\" text,\n\"Birth_Date\" text,\n\"Height\" real,\nPRIMARY KEY (\"People_ID\")\n)\n\n### Question\nCount the number of different nationalities.\n\n### SQL\nSELECT count(DISTINCT Nationality) FROM people\n","687":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `AREA_CODE_STATE` (\n `area_code` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, PRIMARY KEY (`area_code`)\n)\n\nCREATE TABLE `CONTESTANTS` (\n `contestant_number` integer\n, `contestant_name` varchar(50) NOT NULL\n, PRIMARY KEY (`contestant_number`)\n)\n\nCREATE TABLE `VOTES` (\n `vote_id` integer NOT NULL PRIMARY KEY\n, `phone_number` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, `contestant_number` integer NOT NULL\n, `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP\n, \tFOREIGN KEY (`state`) REFERENCES `AREA_CODE_STATE`(`state`)\n, \tFOREIGN KEY (`contestant_number`) REFERENCES `CONTESTANTS`(`contestant_number`)\n)\n\n### Question\nHow many states are there?\n\n### SQL\nSELECT count(*) FROM area_code_state\n","688":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `AREA_CODE_STATE` (\n `area_code` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, PRIMARY KEY (`area_code`)\n)\n\nCREATE TABLE `CONTESTANTS` (\n `contestant_number` integer\n, `contestant_name` varchar(50) NOT NULL\n, PRIMARY KEY (`contestant_number`)\n)\n\nCREATE TABLE `VOTES` (\n `vote_id` integer NOT NULL PRIMARY KEY\n, `phone_number` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, `contestant_number` integer NOT NULL\n, `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP\n, \tFOREIGN KEY (`state`) REFERENCES `AREA_CODE_STATE`(`state`)\n, \tFOREIGN KEY (`contestant_number`) REFERENCES `CONTESTANTS`(`contestant_number`)\n)\n\n### Question\nList the contestant numbers and names, ordered by contestant name descending.\n\n### SQL\nSELECT contestant_number , contestant_name FROM contestants ORDER BY contestant_name DESC\n","689":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `AREA_CODE_STATE` (\n `area_code` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, PRIMARY KEY (`area_code`)\n)\n\nCREATE TABLE `CONTESTANTS` (\n `contestant_number` integer\n, `contestant_name` varchar(50) NOT NULL\n, PRIMARY KEY (`contestant_number`)\n)\n\nCREATE TABLE `VOTES` (\n `vote_id` integer NOT NULL PRIMARY KEY\n, `phone_number` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, `contestant_number` integer NOT NULL\n, `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP\n, \tFOREIGN KEY (`state`) REFERENCES `AREA_CODE_STATE`(`state`)\n, \tFOREIGN KEY (`contestant_number`) REFERENCES `CONTESTANTS`(`contestant_number`)\n)\n\n### Question\nList the vote ids, phone numbers and states of all votes.\n\n### SQL\nSELECT vote_id , phone_number , state FROM votes\n","690":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `AREA_CODE_STATE` (\n `area_code` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, PRIMARY KEY (`area_code`)\n)\n\nCREATE TABLE `CONTESTANTS` (\n `contestant_number` integer\n, `contestant_name` varchar(50) NOT NULL\n, PRIMARY KEY (`contestant_number`)\n)\n\nCREATE TABLE `VOTES` (\n `vote_id` integer NOT NULL PRIMARY KEY\n, `phone_number` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, `contestant_number` integer NOT NULL\n, `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP\n, \tFOREIGN KEY (`state`) REFERENCES `AREA_CODE_STATE`(`state`)\n, \tFOREIGN KEY (`contestant_number`) REFERENCES `CONTESTANTS`(`contestant_number`)\n)\n\n### Question\nWhat are the maximum and minimum values of area codes?\n\n### SQL\nSELECT max(area_code) , min(area_code) FROM area_code_state\n","691":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `AREA_CODE_STATE` (\n `area_code` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, PRIMARY KEY (`area_code`)\n)\n\nCREATE TABLE `CONTESTANTS` (\n `contestant_number` integer\n, `contestant_name` varchar(50) NOT NULL\n, PRIMARY KEY (`contestant_number`)\n)\n\nCREATE TABLE `VOTES` (\n `vote_id` integer NOT NULL PRIMARY KEY\n, `phone_number` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, `contestant_number` integer NOT NULL\n, `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP\n, \tFOREIGN KEY (`state`) REFERENCES `AREA_CODE_STATE`(`state`)\n, \tFOREIGN KEY (`contestant_number`) REFERENCES `CONTESTANTS`(`contestant_number`)\n)\n\n### Question\nWhat is last date created of votes from the state 'CA'?\n\n### SQL\nSELECT max(created) FROM votes WHERE state = 'CA'\n","692":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `AREA_CODE_STATE` (\n `area_code` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, PRIMARY KEY (`area_code`)\n)\n\nCREATE TABLE `CONTESTANTS` (\n `contestant_number` integer\n, `contestant_name` varchar(50) NOT NULL\n, PRIMARY KEY (`contestant_number`)\n)\n\nCREATE TABLE `VOTES` (\n `vote_id` integer NOT NULL PRIMARY KEY\n, `phone_number` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, `contestant_number` integer NOT NULL\n, `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP\n, \tFOREIGN KEY (`state`) REFERENCES `AREA_CODE_STATE`(`state`)\n, \tFOREIGN KEY (`contestant_number`) REFERENCES `CONTESTANTS`(`contestant_number`)\n)\n\n### Question\nWhat are the names of the contestants whose names are not 'Jessie Alloway'\n\n### SQL\nSELECT contestant_name FROM contestants WHERE contestant_name != 'Jessie Alloway'\n","693":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `AREA_CODE_STATE` (\n `area_code` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, PRIMARY KEY (`area_code`)\n)\n\nCREATE TABLE `CONTESTANTS` (\n `contestant_number` integer\n, `contestant_name` varchar(50) NOT NULL\n, PRIMARY KEY (`contestant_number`)\n)\n\nCREATE TABLE `VOTES` (\n `vote_id` integer NOT NULL PRIMARY KEY\n, `phone_number` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, `contestant_number` integer NOT NULL\n, `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP\n, \tFOREIGN KEY (`state`) REFERENCES `AREA_CODE_STATE`(`state`)\n, \tFOREIGN KEY (`contestant_number`) REFERENCES `CONTESTANTS`(`contestant_number`)\n)\n\n### Question\nWhat are the distinct states and create time of all votes?\n\n### SQL\nSELECT DISTINCT state , created FROM votes\n","694":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `AREA_CODE_STATE` (\n `area_code` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, PRIMARY KEY (`area_code`)\n)\n\nCREATE TABLE `CONTESTANTS` (\n `contestant_number` integer\n, `contestant_name` varchar(50) NOT NULL\n, PRIMARY KEY (`contestant_number`)\n)\n\nCREATE TABLE `VOTES` (\n `vote_id` integer NOT NULL PRIMARY KEY\n, `phone_number` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, `contestant_number` integer NOT NULL\n, `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP\n, \tFOREIGN KEY (`state`) REFERENCES `AREA_CODE_STATE`(`state`)\n, \tFOREIGN KEY (`contestant_number`) REFERENCES `CONTESTANTS`(`contestant_number`)\n)\n\n### Question\nWhat are the contestant numbers and names of the contestants who had at least two votes?\n\n### SQL\nSELECT T1.contestant_number , T1.contestant_name FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number GROUP BY T1.contestant_number HAVING count(*) >= 2\n","695":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `AREA_CODE_STATE` (\n `area_code` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, PRIMARY KEY (`area_code`)\n)\n\nCREATE TABLE `CONTESTANTS` (\n `contestant_number` integer\n, `contestant_name` varchar(50) NOT NULL\n, PRIMARY KEY (`contestant_number`)\n)\n\nCREATE TABLE `VOTES` (\n `vote_id` integer NOT NULL PRIMARY KEY\n, `phone_number` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, `contestant_number` integer NOT NULL\n, `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP\n, \tFOREIGN KEY (`state`) REFERENCES `AREA_CODE_STATE`(`state`)\n, \tFOREIGN KEY (`contestant_number`) REFERENCES `CONTESTANTS`(`contestant_number`)\n)\n\n### Question\nOf all the contestants who got voted, what is the contestant number and name of the contestant who got least votes?\n\n### SQL\nSELECT T1.contestant_number , T1.contestant_name FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number GROUP BY T1.contestant_number ORDER BY count(*) ASC LIMIT 1\n","696":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `AREA_CODE_STATE` (\n `area_code` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, PRIMARY KEY (`area_code`)\n)\n\nCREATE TABLE `CONTESTANTS` (\n `contestant_number` integer\n, `contestant_name` varchar(50) NOT NULL\n, PRIMARY KEY (`contestant_number`)\n)\n\nCREATE TABLE `VOTES` (\n `vote_id` integer NOT NULL PRIMARY KEY\n, `phone_number` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, `contestant_number` integer NOT NULL\n, `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP\n, \tFOREIGN KEY (`state`) REFERENCES `AREA_CODE_STATE`(`state`)\n, \tFOREIGN KEY (`contestant_number`) REFERENCES `CONTESTANTS`(`contestant_number`)\n)\n\n### Question\nWhat are the number of votes from state 'NY' or 'CA'?\n\n### SQL\nSELECT count(*) FROM votes WHERE state = 'NY' OR state = 'CA'\n","697":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `AREA_CODE_STATE` (\n `area_code` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, PRIMARY KEY (`area_code`)\n)\n\nCREATE TABLE `CONTESTANTS` (\n `contestant_number` integer\n, `contestant_name` varchar(50) NOT NULL\n, PRIMARY KEY (`contestant_number`)\n)\n\nCREATE TABLE `VOTES` (\n `vote_id` integer NOT NULL PRIMARY KEY\n, `phone_number` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, `contestant_number` integer NOT NULL\n, `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP\n, \tFOREIGN KEY (`state`) REFERENCES `AREA_CODE_STATE`(`state`)\n, \tFOREIGN KEY (`contestant_number`) REFERENCES `CONTESTANTS`(`contestant_number`)\n)\n\n### Question\nHow many contestants did not get voted?\n\n### SQL\nSELECT count(*) FROM contestants WHERE contestant_number NOT IN ( SELECT contestant_number FROM votes )\n","698":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `AREA_CODE_STATE` (\n `area_code` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, PRIMARY KEY (`area_code`)\n)\n\nCREATE TABLE `CONTESTANTS` (\n `contestant_number` integer\n, `contestant_name` varchar(50) NOT NULL\n, PRIMARY KEY (`contestant_number`)\n)\n\nCREATE TABLE `VOTES` (\n `vote_id` integer NOT NULL PRIMARY KEY\n, `phone_number` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, `contestant_number` integer NOT NULL\n, `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP\n, \tFOREIGN KEY (`state`) REFERENCES `AREA_CODE_STATE`(`state`)\n, \tFOREIGN KEY (`contestant_number`) REFERENCES `CONTESTANTS`(`contestant_number`)\n)\n\n### Question\nWhat is the area code in which the most voters voted?\n\n### SQL\nSELECT T1.area_code FROM area_code_state AS T1 JOIN votes AS T2 ON T1.state = T2.state GROUP BY T1.area_code ORDER BY count(*) DESC LIMIT 1\n","699":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `AREA_CODE_STATE` (\n `area_code` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, PRIMARY KEY (`area_code`)\n)\n\nCREATE TABLE `CONTESTANTS` (\n `contestant_number` integer\n, `contestant_name` varchar(50) NOT NULL\n, PRIMARY KEY (`contestant_number`)\n)\n\nCREATE TABLE `VOTES` (\n `vote_id` integer NOT NULL PRIMARY KEY\n, `phone_number` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, `contestant_number` integer NOT NULL\n, `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP\n, \tFOREIGN KEY (`state`) REFERENCES `AREA_CODE_STATE`(`state`)\n, \tFOREIGN KEY (`contestant_number`) REFERENCES `CONTESTANTS`(`contestant_number`)\n)\n\n### Question\nWhat are the create dates, states, and phone numbers of the votes that were for the contestant named 'Tabatha Gehling'?\n\n### SQL\nSELECT T2.created , T2.state , T2.phone_number FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number WHERE T1.contestant_name = 'Tabatha Gehling'\n","700":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `AREA_CODE_STATE` (\n `area_code` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, PRIMARY KEY (`area_code`)\n)\n\nCREATE TABLE `CONTESTANTS` (\n `contestant_number` integer\n, `contestant_name` varchar(50) NOT NULL\n, PRIMARY KEY (`contestant_number`)\n)\n\nCREATE TABLE `VOTES` (\n `vote_id` integer NOT NULL PRIMARY KEY\n, `phone_number` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, `contestant_number` integer NOT NULL\n, `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP\n, \tFOREIGN KEY (`state`) REFERENCES `AREA_CODE_STATE`(`state`)\n, \tFOREIGN KEY (`contestant_number`) REFERENCES `CONTESTANTS`(`contestant_number`)\n)\n\n### Question\nList the area codes in which voters voted both for the contestant 'Tabatha Gehling' and the contestant 'Kelly Clauss'.\n\n### SQL\nSELECT T3.area_code FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number JOIN area_code_state AS T3 ON T2.state = T3.state WHERE T1.contestant_name = 'Tabatha Gehling' INTERSECT SELECT T3.area_code FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number JOIN area_code_state AS T3 ON T2.state = T3.state WHERE T1.contestant_name = 'Kelly Clauss'\n","701":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `AREA_CODE_STATE` (\n `area_code` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, PRIMARY KEY (`area_code`)\n)\n\nCREATE TABLE `CONTESTANTS` (\n `contestant_number` integer\n, `contestant_name` varchar(50) NOT NULL\n, PRIMARY KEY (`contestant_number`)\n)\n\nCREATE TABLE `VOTES` (\n `vote_id` integer NOT NULL PRIMARY KEY\n, `phone_number` integer NOT NULL\n, `state` varchar(2) NOT NULL\n, `contestant_number` integer NOT NULL\n, `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP\n, \tFOREIGN KEY (`state`) REFERENCES `AREA_CODE_STATE`(`state`)\n, \tFOREIGN KEY (`contestant_number`) REFERENCES `CONTESTANTS`(`contestant_number`)\n)\n\n### Question\nReturn the names of the contestants whose names contain the substring 'Al' .\n\n### SQL\nselect contestant_name from contestants where contestant_name like \"%al%\"\n","702":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the names of all the countries that became independent after 1950?\n\n### SQL\nSELECT Name FROM country WHERE IndepYear > 1950\n","703":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nGive the names of the nations that were founded after 1950.\n\n### SQL\nSELECT Name FROM country WHERE IndepYear > 1950\n","704":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nHow many countries have a republic as their form of government?\n\n### SQL\nSELECT count(*) FROM country WHERE GovernmentForm = \"Republic\"\n","705":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nHow many countries have governments that are republics?\n\n### SQL\nSELECT count(*) FROM country WHERE GovernmentForm = \"Republic\"\n","706":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat is the total surface area of the countries in the Caribbean region?\n\n### SQL\nSELECT sum(SurfaceArea) FROM country WHERE Region = \"Caribbean\"\n","707":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nHow much surface area do the countires in the Carribean cover together?\n\n### SQL\nSELECT sum(SurfaceArea) FROM country WHERE Region = \"Caribbean\"\n","708":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhich continent is Anguilla in?\n\n### SQL\nSELECT Continent FROM country WHERE Name = \"Anguilla\"\n","709":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat is the continent name which Anguilla belongs to?\n\n### SQL\nSELECT Continent FROM country WHERE Name = \"Anguilla\"\n","710":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhich region is the city Kabul located in?\n\n### SQL\nSELECT Region FROM country AS T1 JOIN city AS T2 ON T1.Code = T2.CountryCode WHERE T2.Name = \"Kabul\"\n","711":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat region is Kabul in?\n\n### SQL\nSELECT Region FROM country AS T1 JOIN city AS T2 ON T1.Code = T2.CountryCode WHERE T2.Name = \"Kabul\"\n","712":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhich language is the most popular in Aruba?\n\n### SQL\nSELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = \"Aruba\" ORDER BY Percentage DESC LIMIT 1\n","713":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat language is predominantly spoken in Aruba?\n\n### SQL\nSELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = \"Aruba\" ORDER BY Percentage DESC LIMIT 1\n","714":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the population and life expectancies in Brazil?\n\n### SQL\nSELECT Population , LifeExpectancy FROM country WHERE Name = \"Brazil\"\n","715":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nGive me Brazil\u2019s population and life expectancies.\n\n### SQL\nSELECT Population , LifeExpectancy FROM country WHERE Name = \"Brazil\"\n","716":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the region and population of Angola?\n\n### SQL\nSELECT Population , Region FROM country WHERE Name = \"Angola\"\n","717":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat region does Angola belong to and what is its population?\n\n### SQL\nSELECT Population , Region FROM country WHERE Name = \"Angola\"\n","718":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat is the average expected life expectancy for countries in the region of Central Africa?\n\n### SQL\nSELECT avg(LifeExpectancy) FROM country WHERE Region = \"Central Africa\"\n","719":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nHow long is the people\u2019s average life expectancy in Central Africa?\n\n### SQL\nSELECT avg(LifeExpectancy) FROM country WHERE Region = \"Central Africa\"\n","720":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat is the name of country that has the shortest life expectancy in Asia?\n\n### SQL\nSELECT Name FROM country WHERE Continent = \"Asia\" ORDER BY LifeExpectancy LIMIT 1\n","721":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nGive the name of the country in Asia with the lowest life expectancy.\n\n### SQL\nSELECT Name FROM country WHERE Continent = \"Asia\" ORDER BY LifeExpectancy LIMIT 1\n","722":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat is the total population and maximum GNP in Asia?\n\n### SQL\nSELECT sum(Population) , max(GNP) FROM country WHERE Continent = \"Asia\"\n","723":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nHow many people live in Asia, and what is the largest GNP among them?\n\n### SQL\nSELECT sum(Population) , max(GNP) FROM country WHERE Continent = \"Asia\"\n","724":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat is the average life expectancy in African countries that are republics?\n\n### SQL\nSELECT avg(LifeExpectancy) FROM country WHERE Continent = \"Africa\" AND GovernmentForm = \"Republic\"\n","725":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nGive the average life expectancy for countries in Africa which are republics?\n\n### SQL\nSELECT avg(LifeExpectancy) FROM country WHERE Continent = \"Africa\" AND GovernmentForm = \"Republic\"\n","726":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat is the total surface area of the continents Asia and Europe?\n\n### SQL\nSELECT sum(SurfaceArea) FROM country WHERE Continent = \"Asia\" OR Continent = \"Europe\"\n","727":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nGive the total surface area covered by countries in Asia or Europe.\n\n### SQL\nSELECT sum(SurfaceArea) FROM country WHERE Continent = \"Asia\" OR Continent = \"Europe\"\n","728":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nHow many people live in Gelderland district?\n\n### SQL\nSELECT sum(Population) FROM city WHERE District = \"Gelderland\"\n","729":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat is the total population of Gelderland district?\n\n### SQL\nSELECT sum(Population) FROM city WHERE District = \"Gelderland\"\n","730":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat is the average GNP and total population in all nations whose government is US territory?\n\n### SQL\nSELECT avg(GNP) , sum(population) FROM country WHERE GovernmentForm = \"US Territory\"\n","731":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nGive the mean GNP and total population of nations which are considered US territory.\n\n### SQL\nSELECT avg(GNP) , sum(population) FROM country WHERE GovernmentForm = \"US Territory\"\n","732":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nHow many unique languages are spoken in the world?\n\n### SQL\nSELECT count(DISTINCT LANGUAGE) FROM countrylanguage\n","733":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat is the number of distinct languages used around the world?\n\n### SQL\nSELECT count(DISTINCT LANGUAGE) FROM countrylanguage\n","734":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nHow many type of governments are in Africa?\n\n### SQL\nSELECT count(DISTINCT GovernmentForm) FROM country WHERE Continent = \"Africa\"\n","735":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nHow many different forms of governments are there in Africa?\n\n### SQL\nSELECT count(DISTINCT GovernmentForm) FROM country WHERE Continent = \"Africa\"\n","736":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat is the total number of languages used in Aruba?\n\n### SQL\nSELECT COUNT(T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = \"Aruba\"\n","737":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nHow many languages are spoken in Aruba?\n\n### SQL\nSELECT COUNT(T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = \"Aruba\"\n","738":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nHow many official languages does Afghanistan have?\n\n### SQL\nSELECT COUNT(*) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = \"Afghanistan\" AND IsOfficial = \"T\"\n","739":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nHow many official languages are spoken in Afghanistan?\n\n### SQL\nSELECT COUNT(*) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = \"Afghanistan\" AND IsOfficial = \"T\"\n","740":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat is name of the country that speaks the largest number of languages?\n\n### SQL\nSELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Name ORDER BY COUNT(*) DESC LIMIT 1\n","741":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nGive the name of the nation that uses the greatest amount of languages.\n\n### SQL\nSELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Name ORDER BY COUNT(*) DESC LIMIT 1\n","742":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhich continent has the most diverse languages?\n\n### SQL\nSELECT T1.Continent FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Continent ORDER BY COUNT(*) DESC LIMIT 1\n","743":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhich continent speaks the most languages?\n\n### SQL\nSELECT T1.Continent FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Continent ORDER BY COUNT(*) DESC LIMIT 1\n","744":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nHow many countries speak both English and Dutch?\n\n### SQL\nSELECT COUNT(*) FROM (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"Dutch\")\n","745":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat is the number of nations that use English and Dutch?\n\n### SQL\nSELECT COUNT(*) FROM (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"Dutch\")\n","746":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the names of nations speak both English and French?\n\n### SQL\nSELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"French\"\n","747":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nGive the names of nations that speak both English and French.\n\n### SQL\nSELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"French\"\n","748":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the names of nations where both English and French are official languages?\n\n### SQL\nSELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" AND T2.IsOfficial = \"T\" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"French\" AND T2.IsOfficial = \"T\"\n","749":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nGive the names of countries with English and French as official languages.\n\n### SQL\nSELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" AND T2.IsOfficial = \"T\" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"French\" AND T2.IsOfficial = \"T\"\n","750":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat is the number of distinct continents where Chinese is spoken?\n\n### SQL\nSELECT COUNT( DISTINCT Continent) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"Chinese\"\n","751":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nHow many continents speak Chinese?\n\n### SQL\nSELECT COUNT( DISTINCT Continent) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"Chinese\"\n","752":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the regions that use English or Dutch?\n\n### SQL\nSELECT DISTINCT T1.Region FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" OR T2.Language = \"Dutch\"\n","753":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhich regions speak Dutch or English?\n\n### SQL\nSELECT DISTINCT T1.Region FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" OR T2.Language = \"Dutch\"\n","754":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the countries where either English or Dutch is the official language ?\n\n### SQL\nselect t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t2.language = \"english\" and isofficial = \"t\" union select t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t2.language = \"dutch\" and isofficial = \"t\"\n","755":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhich countries have either English or Dutch as an official language?\n\n### SQL\nSELECT * FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" AND IsOfficial = \"T\" UNION SELECT * FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"Dutch\" AND IsOfficial = \"T\"\n","756":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhich language is the most popular on the Asian continent?\n\n### SQL\nSELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Continent = \"Asia\" GROUP BY T2.Language ORDER BY COUNT (*) DESC LIMIT 1\n","757":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat is the language that is used by the largest number of Asian nations?\n\n### SQL\nSELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Continent = \"Asia\" GROUP BY T2.Language ORDER BY COUNT (*) DESC LIMIT 1\n","758":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhich languages are spoken by only one country in republic governments?\n\n### SQL\nSELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.GovernmentForm = \"Republic\" GROUP BY T2.Language HAVING COUNT(*) = 1\n","759":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat languages are only used by a single country with a republic government?\n\n### SQL\nSELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.GovernmentForm = \"Republic\" GROUP BY T2.Language HAVING COUNT(*) = 1\n","760":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nFind the city with the largest population that uses English.\n\n### SQL\nSELECT T1.Name , T1.Population FROM city AS T1 JOIN countrylanguage AS T2 ON T1.CountryCode = T2.CountryCode WHERE T2.Language = \"English\" ORDER BY T1.Population DESC LIMIT 1\n","761":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat is the most populace city that speaks English?\n\n### SQL\nSELECT T1.Name , T1.Population FROM city AS T1 JOIN countrylanguage AS T2 ON T1.CountryCode = T2.CountryCode WHERE T2.Language = \"English\" ORDER BY T1.Population DESC LIMIT 1\n","762":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nFind the name, population and expected life length of asian country with the largest area?\n\n### SQL\nSELECT Name , Population , LifeExpectancy FROM country WHERE Continent = \"Asia\" ORDER BY SurfaceArea DESC LIMIT 1\n","763":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the name, population, and life expectancy of the largest Asian country by land?\n\n### SQL\nSELECT Name , Population , LifeExpectancy FROM country WHERE Continent = \"Asia\" ORDER BY SurfaceArea DESC LIMIT 1\n","764":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat is average life expectancy in the countries where English is not the official language?\n\n### SQL\nSELECT avg(LifeExpectancy) FROM country WHERE Name NOT IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" AND T2.IsOfficial = \"T\")\n","765":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nGive the mean life expectancy of countries in which English is not the official language.\n\n### SQL\nSELECT avg(LifeExpectancy) FROM country WHERE Name NOT IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" AND T2.IsOfficial = \"T\")\n","766":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat is the total number of people living in the nations that do not use English?\n\n### SQL\nSELECT sum(Population) FROM country WHERE Name NOT IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\")\n","767":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nHow many people live in countries that do not speak English?\n\n### SQL\nSELECT sum(Population) FROM country WHERE Name NOT IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\")\n","768":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat is the official language spoken in the country whose head of state is Beatrix?\n\n### SQL\nSELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.HeadOfState = \"Beatrix\" AND T2.IsOfficial = \"T\"\n","769":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat is the official language used in the country the name of whose head of state is Beatrix.\n\n### SQL\nSELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.HeadOfState = \"Beatrix\" AND T2.IsOfficial = \"T\"\n","770":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat is the total number of unique official languages spoken in the countries that are founded before 1930?\n\n### SQL\nSELECT count(DISTINCT T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE IndepYear < 1930 AND T2.IsOfficial = \"T\"\n","771":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nFor the countries founded before 1930, what is the total number of distinct official languages?\n\n### SQL\nSELECT count(DISTINCT T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE IndepYear < 1930 AND T2.IsOfficial = \"T\"\n","772":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the countries that have greater surface area than any country in Europe?\n\n### SQL\nSELECT Name FROM country WHERE SurfaceArea > (SELECT min(SurfaceArea) FROM country WHERE Continent = \"Europe\")\n","773":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhich countries have greater area than that of any country in Europe?\n\n### SQL\nSELECT Name FROM country WHERE SurfaceArea > (SELECT min(SurfaceArea) FROM country WHERE Continent = \"Europe\")\n","774":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the African countries that have a population less than any country in Asia?\n\n### SQL\nSELECT Name FROM country WHERE Continent = \"Africa\" AND population < (SELECT max(population) FROM country WHERE Continent = \"Asia\")\n","775":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhich African countries have a smaller population than that of any country in Asia?\n\n### SQL\nSELECT Name FROM country WHERE Continent = \"Africa\" AND population < (SELECT min(population) FROM country WHERE Continent = \"Asia\")\n","776":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhich Asian countries have a population that is larger than any country in Africa?\n\n### SQL\nSELECT Name FROM country WHERE Continent = \"Asia\" AND population > (SELECT max(population) FROM country WHERE Continent = \"Africa\")\n","777":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the Asian countries which have a population larger than that of any country in Africa?\n\n### SQL\nSELECT Name FROM country WHERE Continent = \"Asia\" AND population > (SELECT min(population) FROM country WHERE Continent = \"Africa\")\n","778":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the country codes for countries that do not speak English?\n\n### SQL\nSELECT CountryCode FROM countrylanguage EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE = \"English\"\n","779":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nReturn the country codes for countries that do not speak English.\n\n### SQL\nSELECT CountryCode FROM countrylanguage EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE = \"English\"\n","780":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the country codes of countries where people use languages other than English?\n\n### SQL\nSELECT DISTINCT CountryCode FROM countrylanguage WHERE LANGUAGE != \"English\"\n","781":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nGive the country codes for countries in which people speak langauges that are not English.\n\n### SQL\nSELECT DISTINCT CountryCode FROM countrylanguage WHERE LANGUAGE != \"English\"\n","782":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the codes of the countries that do not speak English and whose government forms are not Republic?\n\n### SQL\nSELECT Code FROM country WHERE GovernmentForm != \"Republic\" EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE = \"English\"\n","783":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nReturn the codes of countries that do not speak English and do not have Republics for governments.\n\n### SQL\nSELECT Code FROM country WHERE GovernmentForm != \"Republic\" EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE = \"English\"\n","784":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhich cities are in European countries where English is not the official language?\n\n### SQL\nSELECT DISTINCT T2.Name FROM country AS T1 JOIN city AS T2 ON T2.CountryCode = T1.Code WHERE T1.Continent = 'Europe' AND T1.Name NOT IN (SELECT T3.Name FROM country AS T3 JOIN countrylanguage AS T4 ON T3.Code = T4.CountryCode WHERE T4.IsOfficial = 'T' AND T4.Language = 'English')\n","785":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the names of cities in Europe for which English is not the official language?\n\n### SQL\nSELECT DISTINCT T2.Name FROM country AS T1 JOIN city AS T2 ON T2.CountryCode = T1.Code WHERE T1.Continent = 'Europe' AND T1.Name NOT IN (SELECT T3.Name FROM country AS T3 JOIN countrylanguage AS T4 ON T3.Code = T4.CountryCode WHERE T4.IsOfficial = 'T' AND T4.Language = 'English')\n","786":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhich unique cities are in Asian countries where Chinese is the official language ?\n\n### SQL\nselect distinct t3.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode join city as t3 on t1.code = t3.countrycode where t2.isofficial = 't' and t2.language = 'chinese' and t1.continent = \"asia\"\n","787":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nReturn the different names of cities that are in Asia and for which Chinese is the official language.\n\n### SQL\nSELECT DISTINCT T3.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode JOIN city AS T3 ON T1.Code = T3.CountryCode WHERE T2.IsOfficial = 'T' AND T2.Language = 'Chinese' AND T1.Continent = \"Asia\"\n","788":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the name, independence year, and surface area of the country with the smallest population?\n\n### SQL\nSELECT Name , SurfaceArea , IndepYear FROM country ORDER BY Population LIMIT 1\n","789":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nGive the name, year of independence, and surface area of the country that has the lowest population.\n\n### SQL\nSELECT Name , SurfaceArea , IndepYear FROM country ORDER BY Population LIMIT 1\n","790":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the population, name and leader of the country with the largest area?\n\n### SQL\nSELECT Name , population , HeadOfState FROM country ORDER BY SurfaceArea DESC LIMIT 1\n","791":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nGive the name, population, and head of state for the country that has the largest area.\n\n### SQL\nSELECT Name , population , HeadOfState FROM country ORDER BY SurfaceArea DESC LIMIT 1\n","792":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nReturn the country name and the numbers of languages spoken for each country that speaks at least 3 languages.\n\n### SQL\nSELECT COUNT(T2.Language) , T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Name HAVING COUNT(*) > 2\n","793":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the names of countries that speak more than 2 languages, as well as how many languages they speak?\n\n### SQL\nSELECT COUNT(T2.Language) , T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Name HAVING COUNT(*) > 2\n","794":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nFind the number of cities in each district whose population is greater than the average population of cities?\n\n### SQL\nSELECT count(*) , District FROM city WHERE Population > (SELECT avg(Population) FROM city) GROUP BY District\n","795":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nHow many cities in each district have a population that is above the average population across all cities?\n\n### SQL\nSELECT count(*) , District FROM city WHERE Population > (SELECT avg(Population) FROM city) GROUP BY District\n","796":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nFind the government form name and total population for each government form whose average life expectancy is longer than 72.\n\n### SQL\nSELECT sum(Population) , GovernmentForm FROM country GROUP BY GovernmentForm HAVING avg(LifeExpectancy) > 72\n","797":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the different government forms and what is the total population of each for government forms that have an average life expectancy greater than 72?\n\n### SQL\nSELECT sum(Population) , GovernmentForm FROM country GROUP BY GovernmentForm HAVING avg(LifeExpectancy) > 72\n","798":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nFind the average life expectancy and total population for each continent where the average life expectancy is shorter than 72?\n\n### SQL\nSELECT sum(Population) , avg(LifeExpectancy) , Continent FROM country GROUP BY Continent HAVING avg(LifeExpectancy) < 72\n","799":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the different continents and the total popuation and average life expectancy corresponding to each, for continents that have an average life expectancy less than 72?\n\n### SQL\nSELECT sum(Population) , avg(LifeExpectancy) , Continent FROM country GROUP BY Continent HAVING avg(LifeExpectancy) < 72\n","800":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the names and areas of countries with the top 5 largest area?\n\n### SQL\nSELECT Name , SurfaceArea FROM country ORDER BY SurfaceArea DESC LIMIT 5\n","801":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nReturn the names and surface areas of the 5 largest countries.\n\n### SQL\nSELECT Name , SurfaceArea FROM country ORDER BY SurfaceArea DESC LIMIT 5\n","802":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are names of countries with the top 3 largest population?\n\n### SQL\nSELECT Name FROM country ORDER BY Population DESC LIMIT 3\n","803":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nReturn the names of the 3 most populated countries.\n\n### SQL\nSELECT Name FROM country ORDER BY Population DESC LIMIT 3\n","804":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the names of the nations with the 3 lowest populations?\n\n### SQL\nSELECT Name FROM country ORDER BY Population ASC LIMIT 3\n","805":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nReturn the names of the 3 countries with the fewest people.\n\n### SQL\nSELECT Name FROM country ORDER BY Population ASC LIMIT 3\n","806":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nhow many countries are in Asia?\n\n### SQL\nSELECT count(*) FROM country WHERE continent = \"Asia\"\n","807":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nCount the number of countries in Asia.\n\n### SQL\nSELECT count(*) FROM country WHERE continent = \"Asia\"\n","808":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the names of the countries that are in the continent of Europe and have a population of 80000?\n\n### SQL\nSELECT Name FROM country WHERE continent = \"Europe\" AND Population = \"80000\"\n","809":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nGive the names of countries that are in Europe and have a population equal to 80000.\n\n### SQL\nSELECT Name FROM country WHERE continent = \"Europe\" AND Population = \"80000\"\n","810":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat is the total population and average area of countries in the continent of North America whose area is bigger than 3000 ?\n\n### SQL\nselect sum(population) , avg(surfacearea) from country where continent = \"north america\" and surfacearea > 3000\n","811":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nGive the total population and average surface area corresponding to countries in North America that have a surface area greater than 3000 .\n\n### SQL\nselect sum(population) , avg(surfacearea) from country where continent = \"north america\" and surfacearea > 3000\n","812":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the cities whose population is between 160000 and 900000?\n\n### SQL\nSELECT name FROM city WHERE Population BETWEEN 160000 AND 900000\n","813":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nReturn the names of cities that have a population between 160000 and 900000 .\n\n### SQL\nselect name from city where population between 160000 and 900000\n","814":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhich language is spoken by the largest number of countries?\n\n### SQL\nSELECT LANGUAGE FROM countrylanguage GROUP BY LANGUAGE ORDER BY count(*) DESC LIMIT 1\n","815":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nGive the language that is spoken in the most countries.\n\n### SQL\nSELECT LANGUAGE FROM countrylanguage GROUP BY LANGUAGE ORDER BY count(*) DESC LIMIT 1\n","816":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat is the language spoken by the largest percentage of people in each country?\n\n### SQL\nSELECT LANGUAGE , CountryCode , max(Percentage) FROM countrylanguage GROUP BY CountryCode\n","817":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the country codes of the different countries, and what are the languages spoken by the greatest percentage of people for each?\n\n### SQL\nSELECT LANGUAGE , CountryCode , max(Percentage) FROM countrylanguage GROUP BY CountryCode\n","818":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat is the total number of countries where Spanish is spoken by the largest percentage of people?\n\n### SQL\nSELECT count(*) , max(Percentage) FROM countrylanguage WHERE LANGUAGE = \"Spanish\" GROUP BY CountryCode\n","819":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nCount the number of countries for which Spanish is the predominantly spoken language.\n\n### SQL\nSELECT count(*) , max(Percentage) FROM countrylanguage WHERE LANGUAGE = \"Spanish\" GROUP BY CountryCode\n","820":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nWhat are the codes of countries where Spanish is spoken by the largest percentage of people?\n\n### SQL\nSELECT CountryCode , max(Percentage) FROM countrylanguage WHERE LANGUAGE = \"Spanish\" GROUP BY CountryCode\n","821":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `city` (\n `ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT\n, `Name` char(35) NOT NULL DEFAULT ''\n, `CountryCode` char(3) NOT NULL DEFAULT ''\n, `District` char(20) NOT NULL DEFAULT ''\n, `Population` integer NOT NULL DEFAULT '0'\n, CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\nCREATE TABLE sqlite_sequence(name,seq)\n\nCREATE TABLE `country` (\n `Code` char(3) NOT NULL DEFAULT ''\n, `Name` char(52) NOT NULL DEFAULT ''\n, `Continent` text NOT NULL DEFAULT 'Asia'\n, `Region` char(26) NOT NULL DEFAULT ''\n, `SurfaceArea` float(10,2) NOT NULL DEFAULT '0.00'\n, `IndepYear` integer DEFAULT NULL\n, `Population` integer NOT NULL DEFAULT '0'\n, `LifeExpectancy` float(3,1) DEFAULT NULL\n, `GNP` float(10,2) DEFAULT NULL\n, `GNPOld` float(10,2) DEFAULT NULL\n, `LocalName` char(45) NOT NULL DEFAULT ''\n, `GovernmentForm` char(45) NOT NULL DEFAULT ''\n, `HeadOfState` char(60) DEFAULT NULL\n, `Capital` integer DEFAULT NULL\n, `Code2` char(2) NOT NULL DEFAULT ''\n, PRIMARY KEY (`Code`)\n)\n\nCREATE TABLE `countrylanguage` (\n `CountryCode` char(3) NOT NULL DEFAULT ''\n, `Language` char(30) NOT NULL DEFAULT ''\n, `IsOfficial` text NOT NULL DEFAULT 'F'\n, `Percentage` float(4,1) NOT NULL DEFAULT '0.0'\n, PRIMARY KEY (`CountryCode`,`Language`)\n, CONSTRAINT `countryLanguage_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `country` (`Code`)\n)\n\n### Question\nReturn the codes of countries for which Spanish is the predominantly spoken language.\n\n### SQL\nSELECT CountryCode , max(Percentage) FROM countrylanguage WHERE LANGUAGE = \"Spanish\" GROUP BY CountryCode\n","822":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nHow many conductors are there?\n\n### SQL\nSELECT count(*) FROM conductor\n","823":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nCount the number of conductors.\n\n### SQL\nSELECT count(*) FROM conductor\n","824":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nList the names of conductors in ascending order of age.\n\n### SQL\nSELECT Name FROM conductor ORDER BY Age ASC\n","825":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nWhat are the names of conductors, ordered by age?\n\n### SQL\nSELECT Name FROM conductor ORDER BY Age ASC\n","826":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nWhat are the names of conductors whose nationalities are not \"USA\"?\n\n### SQL\nSELECT Name FROM conductor WHERE Nationality != 'USA'\n","827":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nReturn the names of conductors that do not have the nationality \"USA\".\n\n### SQL\nSELECT Name FROM conductor WHERE Nationality != 'USA'\n","828":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nWhat are the record companies of orchestras in descending order of years in which they were founded?\n\n### SQL\nSELECT Record_Company FROM orchestra ORDER BY Year_of_Founded DESC\n","829":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nReturn the record companies of orchestras, sorted descending by the years in which they were founded.\n\n### SQL\nSELECT Record_Company FROM orchestra ORDER BY Year_of_Founded DESC\n","830":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nWhat is the average attendance of shows?\n\n### SQL\nSELECT avg(Attendance) FROM SHOW\n","831":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nReturn the average attendance across all shows.\n\n### SQL\nSELECT avg(Attendance) FROM SHOW\n","832":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nWhat are the maximum and minimum share of performances whose type is not \"Live final\".\n\n### SQL\nSELECT max(SHARE) , min(SHARE) FROM performance WHERE TYPE != \"Live final\"\n","833":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nReturn the maximum and minimum shares for performances that do not have the type \"Live final\".\n\n### SQL\nSELECT max(SHARE) , min(SHARE) FROM performance WHERE TYPE != \"Live final\"\n","834":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nHow many different nationalities do conductors have?\n\n### SQL\nSELECT count(DISTINCT Nationality) FROM conductor\n","835":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nCount the number of different nationalities of conductors.\n\n### SQL\nSELECT count(DISTINCT Nationality) FROM conductor\n","836":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nList names of conductors in descending order of years of work.\n\n### SQL\nSELECT Name FROM conductor ORDER BY Year_of_Work DESC\n","837":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nWhat are the names of conductors, sorted descending by the number of years they have worked?\n\n### SQL\nSELECT Name FROM conductor ORDER BY Year_of_Work DESC\n","838":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nList the name of the conductor with the most years of work.\n\n### SQL\nSELECT Name FROM conductor ORDER BY Year_of_Work DESC LIMIT 1\n","839":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nWhat is the name of the conductor who has worked the greatest number of years?\n\n### SQL\nSELECT Name FROM conductor ORDER BY Year_of_Work DESC LIMIT 1\n","840":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nShow the names of conductors and the orchestras they have conducted.\n\n### SQL\nSELECT T1.Name , T2.Orchestra FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID\n","841":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nWhat are the names of conductors as well as the corresonding orchestras that they have conducted?\n\n### SQL\nSELECT T1.Name , T2.Orchestra FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID\n","842":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nShow the names of conductors that have conducted more than one orchestras.\n\n### SQL\nSELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID GROUP BY T2.Conductor_ID HAVING COUNT(*) > 1\n","843":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nWhat are the names of conductors who have conducted at more than one orchestra?\n\n### SQL\nSELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID GROUP BY T2.Conductor_ID HAVING COUNT(*) > 1\n","844":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nShow the name of the conductor that has conducted the most number of orchestras.\n\n### SQL\nSELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID GROUP BY T2.Conductor_ID ORDER BY COUNT(*) DESC LIMIT 1\n","845":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nWhat is the name of the conductor who has conducted the most orchestras?\n\n### SQL\nSELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID GROUP BY T2.Conductor_ID ORDER BY COUNT(*) DESC LIMIT 1\n","846":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nPlease show the name of the conductor that has conducted orchestras founded after 2008.\n\n### SQL\nSELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID WHERE Year_of_Founded > 2008\n","847":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nWhat are the names of conductors who have conducted orchestras founded after the year 2008?\n\n### SQL\nSELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID WHERE Year_of_Founded > 2008\n","848":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nPlease show the different record companies and the corresponding number of orchestras.\n\n### SQL\nSELECT Record_Company , COUNT(*) FROM orchestra GROUP BY Record_Company\n","849":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nHow many orchestras does each record company manage?\n\n### SQL\nSELECT Record_Company , COUNT(*) FROM orchestra GROUP BY Record_Company\n","850":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nPlease show the record formats of orchestras in ascending order of count.\n\n### SQL\nSELECT Major_Record_Format FROM orchestra GROUP BY Major_Record_Format ORDER BY COUNT(*) ASC\n","851":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nWhat are the major record formats of orchestras, sorted by their frequency?\n\n### SQL\nSELECT Major_Record_Format FROM orchestra GROUP BY Major_Record_Format ORDER BY COUNT(*) ASC\n","852":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nList the record company shared by the most number of orchestras.\n\n### SQL\nSELECT Record_Company FROM orchestra GROUP BY Record_Company ORDER BY COUNT(*) DESC LIMIT 1\n","853":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nWhat is the record company used by the greatest number of orchestras?\n\n### SQL\nSELECT Record_Company FROM orchestra GROUP BY Record_Company ORDER BY COUNT(*) DESC LIMIT 1\n","854":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nList the names of orchestras that have no performance.\n\n### SQL\nSELECT Orchestra FROM orchestra WHERE Orchestra_ID NOT IN (SELECT Orchestra_ID FROM performance)\n","855":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nWhat are the orchestras that do not have any performances?\n\n### SQL\nSELECT Orchestra FROM orchestra WHERE Orchestra_ID NOT IN (SELECT Orchestra_ID FROM performance)\n","856":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nShow the record companies shared by orchestras founded before 2003 and after 2003.\n\n### SQL\nSELECT Record_Company FROM orchestra WHERE Year_of_Founded < 2003 INTERSECT SELECT Record_Company FROM orchestra WHERE Year_of_Founded > 2003\n","857":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nWhat are the record companies that are used by both orchestras founded before 2003 and those founded after 2003?\n\n### SQL\nSELECT Record_Company FROM orchestra WHERE Year_of_Founded < 2003 INTERSECT SELECT Record_Company FROM orchestra WHERE Year_of_Founded > 2003\n","858":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nFind the number of orchestras whose record format is \"CD\" or \"DVD\".\n\n### SQL\nSELECT COUNT(*) FROM orchestra WHERE Major_Record_Format = \"CD\" OR Major_Record_Format = \"DVD\"\n","859":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nCount the number of orchestras that have CD or DVD as their record format.\n\n### SQL\nSELECT COUNT(*) FROM orchestra WHERE Major_Record_Format = \"CD\" OR Major_Record_Format = \"DVD\"\n","860":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nShow the years in which orchestras that have given more than one performance are founded.\n\n### SQL\nSELECT Year_of_Founded FROM orchestra AS T1 JOIN performance AS T2 ON T1.Orchestra_ID = T2.Orchestra_ID GROUP BY T2.Orchestra_ID HAVING COUNT(*) > 1\n","861":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"conductor\" (\n\"Conductor_ID\" int,\n\"Name\" text,\n\"Age\" int,\n\"Nationality\" text,\n\"Year_of_Work\" int,\nPRIMARY KEY (\"Conductor_ID\")\n)\n\nCREATE TABLE \"orchestra\" (\n\"Orchestra_ID\" int,\n\"Orchestra\" text,\n\"Conductor_ID\" int,\n\"Record_Company\" text,\n\"Year_of_Founded\" real,\n\"Major_Record_Format\" text,\nPRIMARY KEY (\"Orchestra_ID\"),\nFOREIGN KEY (`Conductor_ID`) REFERENCES `conductor`(`Conductor_ID`)\n)\n\nCREATE TABLE \"performance\" (\n\"Performance_ID\" int,\n\"Orchestra_ID\" int,\n\"Type\" text,\n\"Date\" text,\n\"Official_ratings_(millions)\" real,\n\"Weekly_rank\" text,\n\"Share\" text,\nPRIMARY KEY (\"Performance_ID\"),\nFOREIGN KEY (`Orchestra_ID`) REFERENCES `orchestra`(`Orchestra_ID`)\n)\n\nCREATE TABLE \"show\" (\n\"Show_ID\" int,\n\"Performance_ID\" int,\n\"If_first_show\" bool,\n\"Result\" text,\n\"Attendance\" real,\nFOREIGN KEY (`Performance_ID`) REFERENCES `performance`(`Performance_ID`)\n)\n\n### Question\nWhat are years of founding for orchestras that have had more than a single performance?\n\n### SQL\nSELECT Year_of_Founded FROM orchestra AS T1 JOIN performance AS T2 ON T1.Orchestra_ID = T2.Orchestra_ID GROUP BY T2.Orchestra_ID HAVING COUNT(*) > 1\n","862":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nHow many high schoolers are there?\n\n### SQL\nSELECT count(*) FROM Highschooler\n","863":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nCount the number of high schoolers.\n\n### SQL\nSELECT count(*) FROM Highschooler\n","864":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nShow the names and grades of each high schooler.\n\n### SQL\nSELECT name , grade FROM Highschooler\n","865":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nWhat are the names and grades for each high schooler?\n\n### SQL\nSELECT name , grade FROM Highschooler\n","866":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nShow all the grades of the high schoolers.\n\n### SQL\nSELECT grade FROM Highschooler\n","867":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nWhat is the grade of each high schooler?\n\n### SQL\nSELECT grade FROM Highschooler\n","868":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nWhat grade is Kyle in?\n\n### SQL\nSELECT grade FROM Highschooler WHERE name = \"Kyle\"\n","869":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nReturn the grade for the high schooler named Kyle.\n\n### SQL\nSELECT grade FROM Highschooler WHERE name = \"Kyle\"\n","870":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nShow the names of all high schoolers in grade 10.\n\n### SQL\nSELECT name FROM Highschooler WHERE grade = 10\n","871":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nWhat are the names of all high schoolers in grade 10?\n\n### SQL\nSELECT name FROM Highschooler WHERE grade = 10\n","872":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nShow the ID of the high schooler named Kyle.\n\n### SQL\nSELECT ID FROM Highschooler WHERE name = \"Kyle\"\n","873":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nWhat is Kyle's id?\n\n### SQL\nSELECT ID FROM Highschooler WHERE name = \"Kyle\"\n","874":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nHow many high schoolers are there in grade 9 or 10?\n\n### SQL\nSELECT count(*) FROM Highschooler WHERE grade = 9 OR grade = 10\n","875":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nCount the number of high schoolers in grades 9 or 10.\n\n### SQL\nSELECT count(*) FROM Highschooler WHERE grade = 9 OR grade = 10\n","876":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nShow the number of high schoolers for each grade.\n\n### SQL\nSELECT grade , count(*) FROM Highschooler GROUP BY grade\n","877":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nHow many high schoolers are in each grade?\n\n### SQL\nSELECT grade , count(*) FROM Highschooler GROUP BY grade\n","878":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nWhich grade has the most high schoolers?\n\n### SQL\nSELECT grade FROM Highschooler GROUP BY grade ORDER BY count(*) DESC LIMIT 1\n","879":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nReturn the grade that has the greatest number of high schoolers.\n\n### SQL\nSELECT grade FROM Highschooler GROUP BY grade ORDER BY count(*) DESC LIMIT 1\n","880":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nShow me all grades that have at least 4 students.\n\n### SQL\nSELECT grade FROM Highschooler GROUP BY grade HAVING count(*) >= 4\n","881":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nWhich grades have 4 or more high schoolers?\n\n### SQL\nSELECT grade FROM Highschooler GROUP BY grade HAVING count(*) >= 4\n","882":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nShow the student IDs and numbers of friends corresponding to each.\n\n### SQL\nSELECT student_id , count(*) FROM Friend GROUP BY student_id\n","883":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nHow many friends does each student have?\n\n### SQL\nSELECT student_id , count(*) FROM Friend GROUP BY student_id\n","884":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nShow the names of high school students and their corresponding number of friends.\n\n### SQL\nSELECT T2.name , count(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id\n","885":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nWhat are the names of the high schoolers and how many friends does each have?\n\n### SQL\nSELECT T2.name , count(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id\n","886":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nWhat is the name of the high schooler who has the greatest number of friends?\n\n### SQL\nSELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1\n","887":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nReturn the name of the high school student with the most friends.\n\n### SQL\nSELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1\n","888":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nShow the names of high schoolers who have at least 3 friends.\n\n### SQL\nSELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING count(*) >= 3\n","889":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nWhat are the names of high schoolers who have 3 or more friends?\n\n### SQL\nSELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING count(*) >= 3\n","890":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nShow the names of all of the high schooler Kyle's friends.\n\n### SQL\nSELECT T3.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id JOIN Highschooler AS T3 ON T1.friend_id = T3.id WHERE T2.name = \"Kyle\"\n","891":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nReturn the names of friends of the high school student Kyle.\n\n### SQL\nSELECT T3.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id JOIN Highschooler AS T3 ON T1.friend_id = T3.id WHERE T2.name = \"Kyle\"\n","892":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nHow many friends does the high school student Kyle have?\n\n### SQL\nSELECT count(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.name = \"Kyle\"\n","893":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nCount the number of friends Kyle has.\n\n### SQL\nSELECT count(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.name = \"Kyle\"\n","894":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nShow ids of all students who do not have any friends.\n\n### SQL\nSELECT id FROM Highschooler EXCEPT SELECT student_id FROM Friend\n","895":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nWhat are the ids of high school students who do not have friends?\n\n### SQL\nSELECT id FROM Highschooler EXCEPT SELECT student_id FROM Friend\n","896":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nShow names of all high school students who do not have any friends.\n\n### SQL\nSELECT name FROM Highschooler EXCEPT SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id\n","897":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nWhat are the names of students who have no friends?\n\n### SQL\nSELECT name FROM Highschooler EXCEPT SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id\n","898":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nShow the ids of high schoolers who have friends and are also liked by someone else.\n\n### SQL\nSELECT student_id FROM Friend INTERSECT SELECT liked_id FROM Likes\n","899":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nWhat are the ids of students who both have friends and are liked?\n\n### SQL\nSELECT student_id FROM Friend INTERSECT SELECT liked_id FROM Likes\n","900":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nShow name of all students who have some friends and also are liked by someone else.\n\n### SQL\nSELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id INTERSECT SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.liked_id = T2.id\n","901":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nWhat are the names of high schoolers who both have friends and are liked?\n\n### SQL\nSELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id INTERSECT SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.liked_id = T2.id\n","902":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nCount the number of likes for each student id.\n\n### SQL\nSELECT student_id , count(*) FROM Likes GROUP BY student_id\n","903":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nHow many likes correspond to each student id?\n\n### SQL\nSELECT student_id , count(*) FROM Likes GROUP BY student_id\n","904":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nShow the names of high schoolers who have likes, and numbers of likes for each.\n\n### SQL\nSELECT T2.name , count(*) FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id\n","905":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nWhat are the names of high schoolers who have likes, and how many likes does each have?\n\n### SQL\nSELECT T2.name , count(*) FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id\n","906":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nWhat is the name of the high schooler who has the greatest number of likes?\n\n### SQL\nSELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1\n","907":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nGive the name of the student with the most likes.\n\n### SQL\nSELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1\n","908":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nShow the names of students who have at least 2 likes.\n\n### SQL\nSELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING count(*) >= 2\n","909":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nWhat are the names of students who have 2 or more likes?\n\n### SQL\nSELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING count(*) >= 2\n","910":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nShow the names of students who have a grade higher than 5 and have at least 2 friends.\n\n### SQL\nSELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.grade > 5 GROUP BY T1.student_id HAVING count(*) >= 2\n","911":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nWhat are the names of high schoolers who have a grade of over 5 and have 2 or more friends?\n\n### SQL\nSELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.grade > 5 GROUP BY T1.student_id HAVING count(*) >= 2\n","912":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nHow many likes does Kyle have?\n\n### SQL\nSELECT count(*) FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.name = \"Kyle\"\n","913":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nReturn the number of likes that the high schooler named Kyle has.\n\n### SQL\nSELECT count(*) FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.name = \"Kyle\"\n","914":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nFind the average grade of all students who have some friends.\n\n### SQL\nSELECT avg(grade) FROM Highschooler WHERE id IN (SELECT T1.student_id FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id)\n","915":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nWhat is the average grade of students who have friends?\n\n### SQL\nSELECT avg(grade) FROM Highschooler WHERE id IN (SELECT T1.student_id FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id)\n","916":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nFind the minimum grade of students who have no friends.\n\n### SQL\nSELECT min(grade) FROM Highschooler WHERE id NOT IN (SELECT T1.student_id FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id)\n","917":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\n\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) references Highschooler(ID),\n\tforeign key (friend_id) references Highschooler(ID)\n)\n\nCREATE TABLE Likes(\n\tstudent_id int, \n\tliked_id int,\n\tprimary key (student_id, liked_id),\n foreign key (liked_id) references Highschooler(ID),\n foreign key (student_id) references Highschooler(ID)\n)\n\n### Question\nWhat is the lowest grade of students who do not have any friends?\n\n### SQL\nSELECT min(grade) FROM Highschooler WHERE id NOT IN (SELECT T1.student_id FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id)\n","918":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhich states have both owners and professionals living there?\n\n### SQL\nSELECT state FROM Owners INTERSECT SELECT state FROM Professionals\n","919":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nFind the states where both owners and professionals live.\n\n### SQL\nSELECT state FROM Owners INTERSECT SELECT state FROM Professionals\n","920":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhat is the average age of the dogs who have gone through any treatments?\n\n### SQL\nSELECT avg(age) FROM Dogs WHERE dog_id IN ( SELECT dog_id FROM Treatments )\n","921":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nFind the average age of the dogs who went through treatments.\n\n### SQL\nSELECT avg(age) FROM Dogs WHERE dog_id IN ( SELECT dog_id FROM Treatments )\n","922":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhich professionals live in the state of Indiana or have done treatment on more than 2 treatments? List his or her id, last name and cell phone.\n\n### SQL\nSELECT professional_id , last_name , cell_number FROM Professionals WHERE state = 'Indiana' UNION SELECT T1.professional_id , T1.last_name , T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING count(*) > 2\n","923":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nFind the id, last name and cell phone of the professionals who live in the state of Indiana or have performed more than two treatments.\n\n### SQL\nSELECT professional_id , last_name , cell_number FROM Professionals WHERE state = 'Indiana' UNION SELECT T1.professional_id , T1.last_name , T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING count(*) > 2\n","924":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhich dogs have not cost their owner more than 1000 for treatment ? List the dog names .\n\n### SQL\nselect name from dogs where dog_id not in ( select dog_id from treatments group by dog_id having sum(cost_of_treatment) > 1000 )\n","925":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhat are the names of the dogs for which the owner has not spend more than 1000 for treatment ?\n\n### SQL\nselect name from dogs where dog_id not in ( select dog_id from treatments group by dog_id having sum(cost_of_treatment) > 1000 )\n","926":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhich first names are used for professionals or owners but are not used as dog names?\n\n### SQL\nSELECT first_name FROM Professionals UNION SELECT first_name FROM Owners EXCEPT SELECT name FROM Dogs\n","927":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nFind the first names that are used for professionals or owners but are not used as dog names.\n\n### SQL\nSELECT first_name FROM Professionals UNION SELECT first_name FROM Owners EXCEPT SELECT name FROM Dogs\n","928":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhich professional did not operate any treatment on dogs? List the professional's id, role and email.\n\n### SQL\nSELECT professional_id , role_code , email_address FROM Professionals EXCEPT SELECT T1.professional_id , T1.role_code , T1.email_address FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id\n","929":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nGive me the id, role and email of the professionals who did not perform any treatment on dogs.\n\n### SQL\nSELECT professional_id , role_code , email_address FROM Professionals EXCEPT SELECT T1.professional_id , T1.role_code , T1.email_address FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id\n","930":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhich owner owns the most dogs? List the owner id, first name and last name.\n\n### SQL\nSELECT T1.owner_id , T2.first_name , T2.last_name FROM Dogs AS T1 JOIN Owners AS T2 ON T1.owner_id = T2.owner_id GROUP BY T1.owner_id ORDER BY count(*) DESC LIMIT 1\n","931":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nReturn the owner id, first name and last name of the owner who has the most dogs.\n\n### SQL\nSELECT T1.owner_id , T2.first_name , T2.last_name FROM Dogs AS T1 JOIN Owners AS T2 ON T1.owner_id = T2.owner_id GROUP BY T1.owner_id ORDER BY count(*) DESC LIMIT 1\n","932":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhich professionals have done at least two treatments? List the professional's id, role, and first name.\n\n### SQL\nSELECT T1.professional_id , T1.role_code , T1.first_name FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING count(*) >= 2\n","933":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhat are the id, role, and first name of the professionals who have performed two or more treatments?\n\n### SQL\nSELECT T1.professional_id , T1.role_code , T1.first_name FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING count(*) >= 2\n","934":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhat is the name of the breed with the most dogs?\n\n### SQL\nSELECT T1.breed_name FROM Breeds AS T1 JOIN Dogs AS T2 ON T1.breed_code = T2.breed_code GROUP BY T1.breed_name ORDER BY count(*) DESC LIMIT 1\n","935":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhich breed do the most dogs have? Give me the breed name.\n\n### SQL\nSELECT T1.breed_name FROM Breeds AS T1 JOIN Dogs AS T2 ON T1.breed_code = T2.breed_code GROUP BY T1.breed_name ORDER BY count(*) DESC LIMIT 1\n","936":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhich owner has paid for the most treatments on his or her dogs? List the owner id and last name.\n\n### SQL\nSELECT T1.owner_id , T1.last_name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id JOIN Treatments AS T3 ON T2.dog_id = T3.dog_id GROUP BY T1.owner_id ORDER BY count(*) DESC LIMIT 1\n","937":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nTell me the owner id and last name of the owner who spent the most on treatments of his or her dogs.\n\n### SQL\nSELECT T1.owner_id , T1.last_name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id JOIN Treatments AS T3 ON T2.dog_id = T3.dog_id GROUP BY T1.owner_id ORDER BY count(*) DESC LIMIT 1\n","938":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhat is the description of the treatment type that costs the least money in total?\n\n### SQL\nSELECT T1.treatment_type_description FROM Treatment_types AS T1 JOIN Treatments AS T2 ON T1.treatment_type_code = T2.treatment_type_code GROUP BY T1.treatment_type_code ORDER BY sum(cost_of_treatment) ASC LIMIT 1\n","939":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nGive me the description of the treatment type whose total cost is the lowest.\n\n### SQL\nSELECT T1.treatment_type_description FROM Treatment_types AS T1 JOIN Treatments AS T2 ON T1.treatment_type_code = T2.treatment_type_code GROUP BY T1.treatment_type_code ORDER BY sum(cost_of_treatment) ASC LIMIT 1\n","940":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhich owner has paid the largest amount of money in total for their dogs? Show the owner id and zip code.\n\n### SQL\nSELECT T1.owner_id , T1.zip_code FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id JOIN Treatments AS T3 ON T2.dog_id = T3.dog_id GROUP BY T1.owner_id ORDER BY sum(T3.cost_of_treatment) DESC LIMIT 1\n","941":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nFind the owner id and zip code of the owner who spent the most money in total for his or her dogs.\n\n### SQL\nSELECT T1.owner_id , T1.zip_code FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id JOIN Treatments AS T3 ON T2.dog_id = T3.dog_id GROUP BY T1.owner_id ORDER BY sum(T3.cost_of_treatment) DESC LIMIT 1\n","942":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhich professionals have done at least two types of treatments? List the professional id and cell phone.\n\n### SQL\nSELECT T1.professional_id , T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING count(*) >= 2\n","943":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nFind the id and cell phone of the professionals who operate two or more types of treatments.\n\n### SQL\nSELECT T1.professional_id , T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING count(*) >= 2\n","944":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhat are the first name and last name of the professionals who have done treatment with cost below average?\n\n### SQL\nSELECT DISTINCT T1.first_name , T1.last_name FROM Professionals AS T1 JOIN Treatments AS T2 WHERE cost_of_treatment < ( SELECT avg(cost_of_treatment) FROM Treatments )\n","945":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhich professionals have operated a treatment that costs less than the average? Give me theor first names and last names.\n\n### SQL\nSELECT DISTINCT T1.first_name , T1.last_name FROM Professionals AS T1 JOIN Treatments AS T2 WHERE cost_of_treatment < ( SELECT avg(cost_of_treatment) FROM Treatments )\n","946":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nList the date of each treatment, together with the first name of the professional who operated it.\n\n### SQL\nSELECT T1.date_of_treatment , T2.first_name FROM Treatments AS T1 JOIN Professionals AS T2 ON T1.professional_id = T2.professional_id\n","947":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhat are the date and the operating professional's first name of each treatment?\n\n### SQL\nSELECT T1.date_of_treatment , T2.first_name FROM Treatments AS T1 JOIN Professionals AS T2 ON T1.professional_id = T2.professional_id\n","948":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nList the cost of each treatment and the corresponding treatment type description.\n\n### SQL\nSELECT T1.cost_of_treatment , T2.treatment_type_description FROM Treatments AS T1 JOIN treatment_types AS T2 ON T1.treatment_type_code = T2.treatment_type_code\n","949":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhat are the cost and treatment type description of each treatment?\n\n### SQL\nSELECT T1.cost_of_treatment , T2.treatment_type_description FROM Treatments AS T1 JOIN treatment_types AS T2 ON T1.treatment_type_code = T2.treatment_type_code\n","950":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nList each owner's first name, last name, and the size of his for her dog.\n\n### SQL\nSELECT T1.first_name , T1.last_name , T2.size_code FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id\n","951":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhat are each owner's first name, last name, and the size of their dog?\n\n### SQL\nSELECT T1.first_name , T1.last_name , T2.size_code FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id\n","952":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nList pairs of the owner's first name and the dogs's name.\n\n### SQL\nSELECT T1.first_name , T2.name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id\n","953":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhat are each owner's first name and their dogs's name?\n\n### SQL\nSELECT T1.first_name , T2.name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id\n","954":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nList the names of the dogs of the rarest breed and the treatment dates of them.\n\n### SQL\nSELECT T1.name , T2.date_of_treatment FROM Dogs AS T1 JOIN Treatments AS T2 ON T1.dog_id = T2.dog_id WHERE T1.breed_code = ( SELECT breed_code FROM Dogs GROUP BY breed_code ORDER BY count(*) ASC LIMIT 1 )\n","955":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhich dogs are of the rarest breed? Show their names and treatment dates.\n\n### SQL\nSELECT T1.name , T2.date_of_treatment FROM Dogs AS T1 JOIN Treatments AS T2 ON T1.dog_id = T2.dog_id WHERE T1.breed_code = ( SELECT breed_code FROM Dogs GROUP BY breed_code ORDER BY count(*) ASC LIMIT 1 )\n","956":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhich dogs are owned by someone who lives in Virginia? List the owner's first name and the dog's name.\n\n### SQL\nSELECT T1.first_name , T2.name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id WHERE T1.state = 'Virginia'\n","957":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nFind the first names of owners living in Virginia and the names of dogs they own.\n\n### SQL\nSELECT T1.first_name , T2.name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id WHERE T1.state = 'Virginia'\n","958":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhat are the arriving date and the departing date of the dogs who have gone through a treatment?\n\n### SQL\nSELECT DISTINCT T1.date_arrived , T1.date_departed FROM Dogs AS T1 JOIN Treatments AS T2 ON T1.dog_id = T2.dog_id\n","959":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nFind the arriving date and the departing date of the dogs that received a treatment.\n\n### SQL\nSELECT DISTINCT T1.date_arrived , T1.date_departed FROM Dogs AS T1 JOIN Treatments AS T2 ON T1.dog_id = T2.dog_id\n","960":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nList the last name of the owner owning the youngest dog.\n\n### SQL\nSELECT T1.last_name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id WHERE T2.age = ( SELECT max(age) FROM Dogs )\n","961":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWho owns the youngest dog? Give me his or her last name.\n\n### SQL\nSELECT T1.last_name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id WHERE T2.age = ( SELECT max(age) FROM Dogs )\n","962":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nList the emails of the professionals who live in the state of Hawaii or the state of Wisconsin.\n\n### SQL\nSELECT email_address FROM Professionals WHERE state = 'Hawaii' OR state = 'Wisconsin'\n","963":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhat are the emails of the professionals living in either the state of Hawaii or the state of Wisconsin?\n\n### SQL\nSELECT email_address FROM Professionals WHERE state = 'Hawaii' OR state = 'Wisconsin'\n","964":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhat are the arriving date and the departing date of all the dogs?\n\n### SQL\nSELECT date_arrived , date_departed FROM Dogs\n","965":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nList the arrival date and the departure date for all the dogs.\n\n### SQL\nSELECT date_arrived , date_departed FROM Dogs\n","966":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nHow many dogs went through any treatments?\n\n### SQL\nSELECT count(DISTINCT dog_id) FROM Treatments\n","967":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nCount the number of dogs that went through a treatment.\n\n### SQL\nSELECT count(DISTINCT dog_id) FROM Treatments\n","968":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nHow many professionals have performed any treatment to dogs?\n\n### SQL\nSELECT count(DISTINCT professional_id) FROM Treatments\n","969":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nFind the number of professionals who have ever treated dogs.\n\n### SQL\nSELECT count(DISTINCT professional_id) FROM Treatments\n","970":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhich professionals live in a city containing the substring 'West'? List his or her role, street, city and state.\n\n### SQL\nSELECT role_code , street , city , state FROM professionals WHERE city LIKE '%West%'\n","971":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nFind the role, street, city and state of the professionals living in a city that contains the substring 'West'.\n\n### SQL\nSELECT role_code , street , city , state FROM professionals WHERE city LIKE '%West%'\n","972":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhich owners live in the state whose name contains the substring 'North'? List his first name, last name and email.\n\n### SQL\nSELECT first_name , last_name , email_address FROM Owners WHERE state LIKE '%North%'\n","973":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nReturn the first name, last name and email of the owners living in a state whose name contains the substring 'North'.\n\n### SQL\nSELECT first_name , last_name , email_address FROM Owners WHERE state LIKE '%North%'\n","974":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nHow many dogs have an age below the average?\n\n### SQL\nSELECT count(*) FROM Dogs WHERE age < ( SELECT avg(age) FROM Dogs )\n","975":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nCount the number of dogs of an age below the average.\n\n### SQL\nSELECT count(*) FROM Dogs WHERE age < ( SELECT avg(age) FROM Dogs )\n","976":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nHow much does the most recent treatment cost?\n\n### SQL\nSELECT cost_of_treatment FROM Treatments ORDER BY date_of_treatment DESC LIMIT 1\n","977":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nShow me the cost of the most recently performed treatment.\n\n### SQL\nSELECT cost_of_treatment FROM Treatments ORDER BY date_of_treatment DESC LIMIT 1\n","978":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nHow many dogs have not gone through any treatment?\n\n### SQL\nSELECT count(*) FROM Dogs WHERE dog_id NOT IN ( SELECT dog_id FROM Treatments )\n","979":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nTell me the number of dogs that have not received any treatment .\n\n### SQL\nselect count(*) from dogs where dog_id not in ( select dog_id from treatments )\n","980":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nHow many owners temporarily do not have any dogs?\n\n### SQL\nSELECT count(*) FROM Owners WHERE owner_id NOT IN ( SELECT owner_id FROM Dogs )\n","981":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nFind the number of owners who do not own any dogs at this moment.\n\n### SQL\nSELECT count(*) FROM Owners WHERE owner_id NOT IN ( SELECT owner_id FROM Dogs )\n","982":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nHow many professionals did not operate any treatment on dogs?\n\n### SQL\nSELECT count(*) FROM Professionals WHERE professional_id NOT IN ( SELECT professional_id FROM Treatments )\n","983":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nFind the number of professionals who have not treated any dogs.\n\n### SQL\nSELECT count(*) FROM Professionals WHERE professional_id NOT IN ( SELECT professional_id FROM Treatments )\n","984":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nList the dog name, age and weight of the dogs who have been abandoned? 1 stands for yes, and 0 stands for no.\n\n### SQL\nSELECT name , age , weight FROM Dogs WHERE abandoned_yn = 1\n","985":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhat are the dog name, age and weight of the dogs that were abandoned? Note that 1 stands for yes, and 0 stands for no in the tables.\n\n### SQL\nSELECT name , age , weight FROM Dogs WHERE abandoned_yn = 1\n","986":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhat is the average age of all the dogs?\n\n### SQL\nSELECT avg(age) FROM Dogs\n","987":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nCompute the average age of all the dogs.\n\n### SQL\nSELECT avg(age) FROM Dogs\n","988":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhat is the age of the oldest dog?\n\n### SQL\nSELECT max(age) FROM Dogs\n","989":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nTell me the age of the oldest dog.\n\n### SQL\nSELECT max(age) FROM Dogs\n","990":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nHow much does each charge type costs? List both charge type and amount.\n\n### SQL\nSELECT charge_type , charge_amount FROM Charges\n","991":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nList each charge type and its amount.\n\n### SQL\nSELECT charge_type , charge_amount FROM Charges\n","992":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nHow much does the most expensive charge type costs?\n\n### SQL\nSELECT max(charge_amount) FROM Charges\n","993":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhat is the charge amount of the most expensive charge type?\n\n### SQL\nSELECT max(charge_amount) FROM Charges\n","994":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nList the email, cell phone and home phone of all the professionals.\n\n### SQL\nSELECT email_address , cell_number , home_phone FROM professionals\n","995":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhat are the email, cell phone and home phone of each professional?\n\n### SQL\nSELECT email_address , cell_number , home_phone FROM professionals\n","996":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhat are all the possible breed type and size type combinations?\n\n### SQL\nSELECT DISTINCT breed_code , size_code FROM dogs\n","997":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nFind the distinct breed type and size type combinations for dogs.\n\n### SQL\nSELECT DISTINCT breed_code , size_code FROM dogs\n","998":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nList the first name of all the professionals along with the description of the treatment they have done.\n\n### SQL\nSELECT DISTINCT T1.first_name , T3.treatment_type_description FROM professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id JOIN Treatment_types AS T3 ON T2.treatment_type_code = T3.treatment_type_code\n","999":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Breeds` (\n`breed_code` VARCHAR(10) PRIMARY KEY ,\n`breed_name` VARCHAR(80)\n)\n\nCREATE TABLE `Charges` (\n`charge_id` INTEGER PRIMARY KEY ,\n`charge_type` VARCHAR(10),\n`charge_amount` DECIMAL(19,4)\n)\n\nCREATE TABLE `Sizes` (\n`size_code` VARCHAR(10) PRIMARY KEY ,\n`size_description` VARCHAR(80)\n)\n\nCREATE TABLE `Treatment_Types` (\n`treatment_type_code` VARCHAR(10) PRIMARY KEY ,\n`treatment_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Owners` (\n`owner_id` INTEGER PRIMARY KEY ,\n`first_name` VARCHAR(50),\n`last_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Dogs` (\n`dog_id` INTEGER PRIMARY KEY ,\n`owner_id` INTEGER NOT NULL,\n`abandoned_yn` VARCHAR(1),\n`breed_code` VARCHAR(10) NOT NULL,\n`size_code` VARCHAR(10) NOT NULL,\n`name` VARCHAR(50),\n`age` VARCHAR(20),\n`date_of_birth` DATETIME,\n`gender` VARCHAR(1),\n`weight` VARCHAR(20),\n`date_arrived` DATETIME,\n`date_adopted` DATETIME,\n`date_departed` DATETIME,\nFOREIGN KEY (`breed_code` ) REFERENCES `Breeds`(`breed_code` ),\nFOREIGN KEY (`size_code` ) REFERENCES `Sizes`(`size_code` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` ),\nFOREIGN KEY (`owner_id` ) REFERENCES `Owners`(`owner_id` )\n)\n\nCREATE TABLE `Professionals` (\n`professional_id` INTEGER PRIMARY KEY ,\n`role_code` VARCHAR(10) NOT NULL,\n`first_name` VARCHAR(50),\n`street` VARCHAR(50),\n`city` VARCHAR(50),\n`state` VARCHAR(20),\n`zip_code` VARCHAR(20),\n`last_name` VARCHAR(50),\n`email_address` VARCHAR(50),\n`home_phone` VARCHAR(20),\n`cell_number` VARCHAR(20)\n)\n\nCREATE TABLE `Treatments` (\n`treatment_id` INTEGER PRIMARY KEY ,\n`dog_id` INTEGER NOT NULL,\n`professional_id` INTEGER NOT NULL,\n`treatment_type_code` VARCHAR(10) NOT NULL,\n`date_of_treatment` DATETIME,\n`cost_of_treatment` DECIMAL(19,4),\nFOREIGN KEY (`treatment_type_code` ) REFERENCES `Treatment_Types`(`treatment_type_code` ),\nFOREIGN KEY (`professional_id` ) REFERENCES `Professionals`(`professional_id` ),\nFOREIGN KEY (`dog_id` ) REFERENCES `Dogs`(`dog_id` )\n)\n\n### Question\nWhat are each professional's first name and description of the treatment they have performed?\n\n### SQL\nSELECT DISTINCT T1.first_name , T3.treatment_type_description FROM professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id JOIN Treatment_types AS T3 ON T2.treatment_type_code = T3.treatment_type_code\n","1000":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nHow many singers are there?\n\n### SQL\nSELECT count(*) FROM singer\n","1001":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nWhat is the count of singers?\n\n### SQL\nSELECT count(*) FROM singer\n","1002":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nList the name of singers in ascending order of net worth.\n\n### SQL\nSELECT Name FROM singer ORDER BY Net_Worth_Millions ASC\n","1003":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nWhat are the names of singers ordered by ascending net worth?\n\n### SQL\nSELECT Name FROM singer ORDER BY Net_Worth_Millions ASC\n","1004":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nWhat are the birth year and citizenship of singers?\n\n### SQL\nSELECT Birth_Year , Citizenship FROM singer\n","1005":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nWhat are the birth years and citizenships of the singers?\n\n### SQL\nSELECT Birth_Year , Citizenship FROM singer\n","1006":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nList the name of singers whose citizenship is not \"France\".\n\n### SQL\nSELECT Name FROM singer WHERE Citizenship != \"France\"\n","1007":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nWhat are the names of the singers who are not French citizens?\n\n### SQL\nSELECT Name FROM singer WHERE Citizenship != \"France\"\n","1008":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nShow the name of singers whose birth year is either 1948 or 1949?\n\n### SQL\nSELECT Name FROM singer WHERE Birth_Year = 1948 OR Birth_Year = 1949\n","1009":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nWhat are the names of the singers whose birth years are either 1948 or 1949?\n\n### SQL\nSELECT Name FROM singer WHERE Birth_Year = 1948 OR Birth_Year = 1949\n","1010":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nWhat is the name of the singer with the largest net worth?\n\n### SQL\nSELECT Name FROM singer ORDER BY Net_Worth_Millions DESC LIMIT 1\n","1011":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nWhat is the name of the singer who is worth the most?\n\n### SQL\nSELECT Name FROM singer ORDER BY Net_Worth_Millions DESC LIMIT 1\n","1012":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nShow different citizenship of singers and the number of singers of each citizenship.\n\n### SQL\nSELECT Citizenship , COUNT(*) FROM singer GROUP BY Citizenship\n","1013":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nFor each citizenship, how many singers are from that country?\n\n### SQL\nSELECT Citizenship , COUNT(*) FROM singer GROUP BY Citizenship\n","1014":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nPlease show the most common citizenship of singers.\n\n### SQL\nSELECT Citizenship FROM singer GROUP BY Citizenship ORDER BY COUNT(*) DESC LIMIT 1\n","1015":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nWhat is the most common singer citizenship ?\n\n### SQL\nselect citizenship from singer group by citizenship order by count(*) desc limit 1\n","1016":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nShow different citizenships and the maximum net worth of singers of each citizenship.\n\n### SQL\nSELECT Citizenship , max(Net_Worth_Millions) FROM singer GROUP BY Citizenship\n","1017":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nFor each citizenship, what is the maximum net worth?\n\n### SQL\nSELECT Citizenship , max(Net_Worth_Millions) FROM singer GROUP BY Citizenship\n","1018":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nShow titles of songs and names of singers.\n\n### SQL\nSELECT T2.Title , T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID\n","1019":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nWhat are the song titles and singer names?\n\n### SQL\nSELECT T2.Title , T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID\n","1020":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nShow distinct names of singers that have songs with sales more than 300000.\n\n### SQL\nSELECT DISTINCT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID WHERE T2.Sales > 300000\n","1021":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nwhat are the different names of the singers that have sales more than 300000?\n\n### SQL\nSELECT DISTINCT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID WHERE T2.Sales > 300000\n","1022":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nShow the names of singers that have more than one song.\n\n### SQL\nSELECT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID GROUP BY T1.Name HAVING COUNT(*) > 1\n","1023":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nWhat are the names of the singers that have more than one songs?\n\n### SQL\nSELECT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID GROUP BY T1.Name HAVING COUNT(*) > 1\n","1024":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nShow the names of singers and the total sales of their songs.\n\n### SQL\nSELECT T1.Name , sum(T2.Sales) FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID GROUP BY T1.Name\n","1025":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nFor each singer name, what is the total sales for their songs?\n\n### SQL\nSELECT T1.Name , sum(T2.Sales) FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID GROUP BY T1.Name\n","1026":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nList the name of singers that do not have any song.\n\n### SQL\nSELECT Name FROM singer WHERE Singer_ID NOT IN (SELECT Singer_ID FROM song)\n","1027":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nWhat is the sname of every sing that does not have any song?\n\n### SQL\nSELECT Name FROM singer WHERE Singer_ID NOT IN (SELECT Singer_ID FROM song)\n","1028":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nShow the citizenship shared by singers with birth year before 1945 and after 1955.\n\n### SQL\nSELECT Citizenship FROM singer WHERE Birth_Year < 1945 INTERSECT SELECT Citizenship FROM singer WHERE Birth_Year > 1955\n","1029":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE \"singer\" (\n\"Singer_ID\" int,\n\"Name\" text,\n\"Birth_Year\" real,\n\"Net_Worth_Millions\" real,\n\"Citizenship\" text,\nPRIMARY KEY (\"Singer_ID\")\n)\n\nCREATE TABLE \"song\" (\n\"Song_ID\" int,\n\"Title\" text,\n\"Singer_ID\" int,\n\"Sales\" real,\n\"Highest_Position\" real,\nPRIMARY KEY (\"Song_ID\"),\nFOREIGN KEY (\"Singer_ID\") REFERENCES `singer`(\"Singer_ID\")\n)\n\n### Question\nWhat are the citizenships that are shared by singers with a birth year before 1945 and after 1955?\n\n### SQL\nSELECT Citizenship FROM singer WHERE Birth_Year < 1945 INTERSECT SELECT Citizenship FROM singer WHERE Birth_Year > 1955\n","1030":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Ref_Feature_Types` (\n`feature_type_code` VARCHAR(20) PRIMARY KEY,\n`feature_type_name` VARCHAR(80)\n)\n\nCREATE TABLE `Ref_Property_Types` (\n`property_type_code` VARCHAR(20) PRIMARY KEY,\n`property_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Other_Available_Features` (\n`feature_id` INTEGER PRIMARY KEY,\n`feature_type_code` VARCHAR(20) NOT NULL,\n`feature_name` VARCHAR(80),\n`feature_description` VARCHAR(80),\nFOREIGN KEY (`feature_type_code` ) REFERENCES `Ref_Feature_Types`(`feature_type_code` )\n)\n\nCREATE TABLE `Properties` (\n`property_id` INTEGER PRIMARY KEY,\n`property_type_code` VARCHAR(20) NOT NULL,\n`date_on_market` DATETIME,\n`date_sold` DATETIME,\n`property_name` VARCHAR(80),\n`property_address` VARCHAR(255),\n`room_count` INTEGER,\n`vendor_requested_price` DECIMAL(19,4),\n`buyer_offered_price` DECIMAL(19,4),\n`agreed_selling_price` DECIMAL(19,4),\n`apt_feature_1` VARCHAR(255),\n`apt_feature_2` VARCHAR(255),\n`apt_feature_3` VARCHAR(255),\n`fld_feature_1` VARCHAR(255),\n`fld_feature_2` VARCHAR(255),\n`fld_feature_3` VARCHAR(255),\n`hse_feature_1` VARCHAR(255),\n`hse_feature_2` VARCHAR(255),\n`hse_feature_3` VARCHAR(255),\n`oth_feature_1` VARCHAR(255),\n`oth_feature_2` VARCHAR(255),\n`oth_feature_3` VARCHAR(255),\n`shp_feature_1` VARCHAR(255),\n`shp_feature_2` VARCHAR(255),\n`shp_feature_3` VARCHAR(255),\n`other_property_details` VARCHAR(255),\nFOREIGN KEY (`property_type_code` ) REFERENCES `Ref_Property_Types`(`property_type_code` )\n)\n\nCREATE TABLE `Other_Property_Features` (\n`property_id` INTEGER NOT NULL,\n`feature_id` INTEGER NOT NULL,\n`property_feature_description` VARCHAR(80),\nFOREIGN KEY (`feature_id` ) REFERENCES `Other_Available_Features`(`feature_id` ),\nFOREIGN KEY (`property_id` ) REFERENCES `Properties`(`property_id` )\n)\n\n### Question\nHow many available features are there in total?\n\n### SQL\nSELECT count(*) FROM Other_Available_Features\n","1031":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Ref_Feature_Types` (\n`feature_type_code` VARCHAR(20) PRIMARY KEY,\n`feature_type_name` VARCHAR(80)\n)\n\nCREATE TABLE `Ref_Property_Types` (\n`property_type_code` VARCHAR(20) PRIMARY KEY,\n`property_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Other_Available_Features` (\n`feature_id` INTEGER PRIMARY KEY,\n`feature_type_code` VARCHAR(20) NOT NULL,\n`feature_name` VARCHAR(80),\n`feature_description` VARCHAR(80),\nFOREIGN KEY (`feature_type_code` ) REFERENCES `Ref_Feature_Types`(`feature_type_code` )\n)\n\nCREATE TABLE `Properties` (\n`property_id` INTEGER PRIMARY KEY,\n`property_type_code` VARCHAR(20) NOT NULL,\n`date_on_market` DATETIME,\n`date_sold` DATETIME,\n`property_name` VARCHAR(80),\n`property_address` VARCHAR(255),\n`room_count` INTEGER,\n`vendor_requested_price` DECIMAL(19,4),\n`buyer_offered_price` DECIMAL(19,4),\n`agreed_selling_price` DECIMAL(19,4),\n`apt_feature_1` VARCHAR(255),\n`apt_feature_2` VARCHAR(255),\n`apt_feature_3` VARCHAR(255),\n`fld_feature_1` VARCHAR(255),\n`fld_feature_2` VARCHAR(255),\n`fld_feature_3` VARCHAR(255),\n`hse_feature_1` VARCHAR(255),\n`hse_feature_2` VARCHAR(255),\n`hse_feature_3` VARCHAR(255),\n`oth_feature_1` VARCHAR(255),\n`oth_feature_2` VARCHAR(255),\n`oth_feature_3` VARCHAR(255),\n`shp_feature_1` VARCHAR(255),\n`shp_feature_2` VARCHAR(255),\n`shp_feature_3` VARCHAR(255),\n`other_property_details` VARCHAR(255),\nFOREIGN KEY (`property_type_code` ) REFERENCES `Ref_Property_Types`(`property_type_code` )\n)\n\nCREATE TABLE `Other_Property_Features` (\n`property_id` INTEGER NOT NULL,\n`feature_id` INTEGER NOT NULL,\n`property_feature_description` VARCHAR(80),\nFOREIGN KEY (`feature_id` ) REFERENCES `Other_Available_Features`(`feature_id` ),\nFOREIGN KEY (`property_id` ) REFERENCES `Properties`(`property_id` )\n)\n\n### Question\nWhat is the feature type name of feature AirCon?\n\n### SQL\nSELECT T2.feature_type_name FROM Other_Available_Features AS T1 JOIN Ref_Feature_Types AS T2 ON T1.feature_type_code = T2.feature_type_code WHERE T1.feature_name = \"AirCon\"\n","1032":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Ref_Feature_Types` (\n`feature_type_code` VARCHAR(20) PRIMARY KEY,\n`feature_type_name` VARCHAR(80)\n)\n\nCREATE TABLE `Ref_Property_Types` (\n`property_type_code` VARCHAR(20) PRIMARY KEY,\n`property_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Other_Available_Features` (\n`feature_id` INTEGER PRIMARY KEY,\n`feature_type_code` VARCHAR(20) NOT NULL,\n`feature_name` VARCHAR(80),\n`feature_description` VARCHAR(80),\nFOREIGN KEY (`feature_type_code` ) REFERENCES `Ref_Feature_Types`(`feature_type_code` )\n)\n\nCREATE TABLE `Properties` (\n`property_id` INTEGER PRIMARY KEY,\n`property_type_code` VARCHAR(20) NOT NULL,\n`date_on_market` DATETIME,\n`date_sold` DATETIME,\n`property_name` VARCHAR(80),\n`property_address` VARCHAR(255),\n`room_count` INTEGER,\n`vendor_requested_price` DECIMAL(19,4),\n`buyer_offered_price` DECIMAL(19,4),\n`agreed_selling_price` DECIMAL(19,4),\n`apt_feature_1` VARCHAR(255),\n`apt_feature_2` VARCHAR(255),\n`apt_feature_3` VARCHAR(255),\n`fld_feature_1` VARCHAR(255),\n`fld_feature_2` VARCHAR(255),\n`fld_feature_3` VARCHAR(255),\n`hse_feature_1` VARCHAR(255),\n`hse_feature_2` VARCHAR(255),\n`hse_feature_3` VARCHAR(255),\n`oth_feature_1` VARCHAR(255),\n`oth_feature_2` VARCHAR(255),\n`oth_feature_3` VARCHAR(255),\n`shp_feature_1` VARCHAR(255),\n`shp_feature_2` VARCHAR(255),\n`shp_feature_3` VARCHAR(255),\n`other_property_details` VARCHAR(255),\nFOREIGN KEY (`property_type_code` ) REFERENCES `Ref_Property_Types`(`property_type_code` )\n)\n\nCREATE TABLE `Other_Property_Features` (\n`property_id` INTEGER NOT NULL,\n`feature_id` INTEGER NOT NULL,\n`property_feature_description` VARCHAR(80),\nFOREIGN KEY (`feature_id` ) REFERENCES `Other_Available_Features`(`feature_id` ),\nFOREIGN KEY (`property_id` ) REFERENCES `Properties`(`property_id` )\n)\n\n### Question\nShow the property type descriptions of properties belonging to that code.\n\n### SQL\nSELECT T2.property_type_description FROM Properties AS T1 JOIN Ref_Property_Types AS T2 ON T1.property_type_code = T2.property_type_code GROUP BY T1.property_type_code\n","1033":"### Instruction\nThis is a task of converting text into SQL statement. You are first given a database schema and a question in text. You are then asked to generate SQL statement.\n\n### Schema\nCREATE TABLE `Ref_Feature_Types` (\n`feature_type_code` VARCHAR(20) PRIMARY KEY,\n`feature_type_name` VARCHAR(80)\n)\n\nCREATE TABLE `Ref_Property_Types` (\n`property_type_code` VARCHAR(20) PRIMARY KEY,\n`property_type_description` VARCHAR(80)\n)\n\nCREATE TABLE `Other_Available_Features` (\n`feature_id` INTEGER PRIMARY KEY,\n`feature_type_code` VARCHAR(20) NOT NULL,\n`feature_name` VARCHAR(80),\n`feature_description` VARCHAR(80),\nFOREIGN KEY (`feature_type_code` ) REFERENCES `Ref_Feature_Types`(`feature_type_code` )\n)\n\nCREATE TABLE `Properties` (\n`property_id` INTEGER PRIMARY KEY,\n`property_type_code` VARCHAR(20) NOT NULL,\n`date_on_market` DATETIME,\n`date_sold` DATETIME,\n`property_name` VARCHAR(80),\n`property_address` VARCHAR(255),\n`room_count` INTEGER,\n`vendor_requested_price` DECIMAL(19,4),\n`buyer_offered_price` DECIMAL(19,4),\n`agreed_selling_price` DECIMAL(19,4),\n`apt_feature_1` VARCHAR(255),\n`apt_feature_2` VARCHAR(255),\n`apt_feature_3` VARCHAR(255),\n`fld_feature_1` VARCHAR(255),\n`fld_feature_2` VARCHAR(255),\n`fld_feature_3` VARCHAR(255),\n`hse_feature_1` VARCHAR(255),\n`hse_feature_2` VARCHAR(255),\n`hse_feature_3` VARCHAR(255),\n`oth_feature_1` VARCHAR(255),\n`oth_feature_2` VARCHAR(255),\n`oth_feature_3` VARCHAR(255),\n`shp_feature_1` VARCHAR(255),\n`shp_feature_2` VARCHAR(255),\n`shp_feature_3` VARCHAR(255),\n`other_property_details` VARCHAR(255),\nFOREIGN KEY (`property_type_code` ) REFERENCES `Ref_Property_Types`(`property_type_code` )\n)\n\nCREATE TABLE `Other_Property_Features` (\n`property_id` INTEGER NOT NULL,\n`feature_id` INTEGER NOT NULL,\n`property_feature_description` VARCHAR(80),\nFOREIGN KEY (`feature_id` ) REFERENCES `Other_Available_Features`(`feature_id` ),\nFOREIGN KEY (`property_id` ) REFERENCES `Properties`(`property_id` )\n)\n\n### Question\nWhat are the names of properties that are either houses or apartments with more than 1 room?\n\n### SQL\nSELECT property_name FROM Properties WHERE property_type_code = \"House\" UNION SELECT property_name FROM Properties WHERE property_type_code = \"Apartment\" AND room_count > 1\n"}} \ No newline at end of file