messages
stringlengths
104
584
<s>[INST] Translate the following into a SQL query: Tell me what the notes are for South Australia SQL:[/INST]SELECT Notes FROM table WHERE Current slogan = SOUTH AUSTRALIA</s>
<s>[INST] Translate the following into a SQL query: What is the current series where the new series began in June 2011? SQL:[/INST]SELECT Current series FROM table WHERE Notes = New series began in June 2011</s>
<s>[INST] Translate the following into a SQL query: What is the format for South Australia? SQL:[/INST]SELECT Format FROM table WHERE State/territory = South Australia</s>
<s>[INST] Translate the following into a SQL query: Name the background colour for the Australian Capital Territory SQL:[/INST]SELECT Text/background colour FROM table WHERE State/territory = Australian Capital Territory</s>
<s>[INST] Translate the following into a SQL query: how many times is the fuel propulsion is cng? SQL:[/INST]SELECT COUNT Fleet Series (Quantity) FROM table WHERE Fuel Propulsion = CNG</s>
<s>[INST] Translate the following into a SQL query: what is the fuel propulsion where the fleet series (quantity) is 310-329 (20)? SQL:[/INST]SELECT Fuel Propulsion FROM table WHERE Fleet Series (Quantity) = 310-329 (20)</s>
<s>[INST] Translate the following into a SQL query: who is the manufacturer for the order year 1998? SQL:[/INST]SELECT Manufacturer FROM table WHERE Order Year = 1998</s>
<s>[INST] Translate the following into a SQL query: how many times is the model ge40lfr? SQL:[/INST]SELECT COUNT Manufacturer FROM table WHERE Model = GE40LFR</s>
<s>[INST] Translate the following into a SQL query: how many times is the fleet series (quantity) is 468-473 (6)? SQL:[/INST]SELECT COUNT Order Year FROM table WHERE Fleet Series (Quantity) = 468-473 (6)</s>
<s>[INST] Translate the following into a SQL query: what is the powertrain (engine/transmission) when the order year is 2000? SQL:[/INST]SELECT Powertrain (Engine/Transmission) FROM table WHERE Order Year = 2000</s>
<s>[INST] Translate the following into a SQL query: What if the description of a ch-47d chinook? SQL:[/INST]SELECT Description FROM table WHERE Aircraft = CH-47D Chinook</s>
<s>[INST] Translate the following into a SQL query: What is the max gross weight of the Robinson R-22? SQL:[/INST]SELECT Max Gross Weight FROM table WHERE Aircraft = Robinson R-22</s>
<s>[INST] Translate the following into a SQL query: What school did player number 6 come from? SQL:[/INST]SELECT School/Club Team FROM table WHERE No. = 6</s>
<s>[INST] Translate the following into a SQL query: What school did the player that has been in Toronto from 2012-present come from? SQL:[/INST]SELECT School/Club Team FROM table WHERE Years in Toronto = 2012-present</s>
<s>[INST] Translate the following into a SQL query: What school did the player that has been in Toronto from 2010-2012 go to? SQL:[/INST]SELECT School/Club Team FROM table WHERE Years in Toronto = 2010-2012</s>
<s>[INST] Translate the following into a SQL query: What position did the player from Baylor play? SQL:[/INST]SELECT Position FROM table WHERE School/Club Team = Baylor</s>
<s>[INST] Translate the following into a SQL query: Who played in the Toronto Raptors from 1995-96? SQL:[/INST]SELECT Player FROM table WHERE Years in Toronto = 1995-96</s>
<s>[INST] Translate the following into a SQL query: Which number was Patrick O'Bryant? SQL:[/INST]SELECT No. FROM table WHERE Player = Patrick O'Bryant</s>
<s>[INST] Translate the following into a SQL query: What school did Patrick O'Bryant play for? SQL:[/INST]SELECT School/Club Team FROM table WHERE Player = Patrick O'Bryant</s>
<s>[INST] Translate the following into a SQL query: How many number does Fordham school have? SQL:[/INST]SELECT COUNT No. FROM table WHERE School/Club Team = Fordham</s>
<s>[INST] Translate the following into a SQL query: Which school was in Toronto in 2001-02? SQL:[/INST]SELECT School/Club Team FROM table WHERE Years in Toronto = 2001-02</s>
<s>[INST] Translate the following into a SQL query: Which school did the player that played 2004-05 attend? SQL:[/INST]SELECT School/Club Team FROM table WHERE Years in Toronto = 2004-05</s>
<s>[INST] Translate the following into a SQL query: Which position does Loren Woods play? SQL:[/INST]SELECT Position FROM table WHERE Player = Loren Woods</s>
<s>[INST] Translate the following into a SQL query: What number is the player that played 1998-2001 SQL:[/INST]SELECT MIN No. FROM table WHERE Years in Toronto = 1998-2001</s>
<s>[INST] Translate the following into a SQL query: Which country is the player that went to Georgetown from? SQL:[/INST]SELECT Nationality FROM table WHERE School/Club Team = Georgetown</s>
<s>[INST] Translate the following into a SQL query: Which school did Herb Williams go to? SQL:[/INST]SELECT School/Club Team FROM table WHERE Player = Herb Williams</s>
<s>[INST] Translate the following into a SQL query: When did the player from Hawaii play for Toronto? SQL:[/INST]SELECT Years in Toronto FROM table WHERE School/Club Team = Hawaii</s>
<s>[INST] Translate the following into a SQL query: During what period did Dell Curry play for Toronto? SQL:[/INST]SELECT Years in Toronto FROM table WHERE Player = Dell Curry</s>
<s>[INST] Translate the following into a SQL query: What's the number of the player from Boise State? SQL:[/INST]SELECT No. FROM table WHERE School/Club Team = Boise State</s>
<s>[INST] Translate the following into a SQL query: What's Dell Curry nationality? SQL:[/INST]SELECT Nationality FROM table WHERE Player = Dell Curry</s>
<s>[INST] Translate the following into a SQL query: which player is from georgia SQL:[/INST]SELECT Player FROM table WHERE School/Club Team = Georgia</s>
<s>[INST] Translate the following into a SQL query: what school is rudy gay from SQL:[/INST]SELECT School/Club Team FROM table WHERE Player = Rudy Gay</s>
<s>[INST] Translate the following into a SQL query: what nationality is the player who played from 1997-98 SQL:[/INST]SELECT Nationality FROM table WHERE Years in Toronto = 1997-98</s>
<s>[INST] Translate the following into a SQL query: what position did the player from connecticut play SQL:[/INST]SELECT Position FROM table WHERE School/Club Team = Connecticut</s>
<s>[INST] Translate the following into a SQL query: During which years was Marcus Banks in Toronto? SQL:[/INST]SELECT Years in Toronto FROM table WHERE Player = Marcus Banks</s>
<s>[INST] Translate the following into a SQL query: Which positions were in Toronto in 2004? SQL:[/INST]SELECT Position FROM table WHERE Years in Toronto = 2004</s>
<s>[INST] Translate the following into a SQL query: What nationality is the player Muggsy Bogues? SQL:[/INST]SELECT Nationality FROM table WHERE Player = Muggsy Bogues</s>
<s>[INST] Translate the following into a SQL query: What years was the player Lonny Baxter in Toronto? SQL:[/INST]SELECT Years in Toronto FROM table WHERE Player = Lonny Baxter</s>
<s>[INST] Translate the following into a SQL query: How many players were with the school or club team La Salle? SQL:[/INST]SELECT COUNT Player FROM table WHERE School/Club Team = La Salle</s>
<s>[INST] Translate the following into a SQL query: When the scoring rank was 117, what was the best finish? SQL:[/INST]SELECT Best finish FROM table WHERE Scoring rank = 117</s>
<s>[INST] Translate the following into a SQL query: When the best finish was T69, how many people came in 2nd? SQL:[/INST]SELECT 2nd FROM table WHERE Best finish = T69</s>
<s>[INST] Translate the following into a SQL query: How many wins were there when the money list rank was 183? SQL:[/INST]SELECT COUNT Wins FROM table WHERE Money list rank = 183</s>
<s>[INST] Translate the following into a SQL query: When the money list rank was n/a, what was the scoring average? SQL:[/INST]SELECT Scoring average FROM table WHERE Money list rank = n/a</s>
<s>[INST] Translate the following into a SQL query: What time was the highest for 2nd finishers? SQL:[/INST]SELECT MAX 2nd FROM table</s>
<s>[INST] Translate the following into a SQL query: When did the Metrostars have their first Rookie of the Year winner? SQL:[/INST]SELECT MIN Season FROM table WHERE Team = MetroStars</s>
<s>[INST] Translate the following into a SQL query: What college did the Rookie of the Year from the Columbus Crew attend? SQL:[/INST]SELECT College FROM table WHERE Team = Columbus Crew</s>
<s>[INST] Translate the following into a SQL query: How many teams had a #1 draft pick that won the Rookie of the Year Award? SQL:[/INST]SELECT COUNT Team FROM table WHERE Draft Pick # = 1</s>
<s>[INST] Translate the following into a SQL query: What position did the #10 draft pick play? SQL:[/INST]SELECT Position FROM table WHERE Draft Pick # = 10</s>
<s>[INST] Translate the following into a SQL query: what's the years played with singles w-l of 3–2 SQL:[/INST]SELECT Years Played FROM table WHERE Singles W-L = 3–2</s>
<s>[INST] Translate the following into a SQL query: what's the doubles w-l for player seol jae-min (none) SQL:[/INST]SELECT Doubles W-L FROM table WHERE Player = Seol Jae-Min (none)</s>
<s>[INST] Translate the following into a SQL query: what's the singles w-l for kim doo-hwan SQL:[/INST]SELECT Singles W-L FROM table WHERE Player = Kim Doo-Hwan</s>
<s>[INST] Translate the following into a SQL query: what's the total number of singles w-l with doubles w-l of 0–0 and total w-l of 3–1 SQL:[/INST]SELECT COUNT Singles W-L FROM table WHERE Doubles W-L = 0–0 AND Total W-L = 3–1</s>
<s>[INST] Translate the following into a SQL query: what's the doubles w-l with years played value of 1 (1968) SQL:[/INST]SELECT Doubles W-L FROM table WHERE Years Played = 1 (1968)</s>
<s>[INST] Translate the following into a SQL query: what years are played for player  im chung-yang SQL:[/INST]SELECT Years Played FROM table WHERE Player = Im Chung-Yang</s>
<s>[INST] Translate the following into a SQL query: What is the name of the 375 crest length? SQL:[/INST]SELECT Name FROM table WHERE Crest length (meters) = 375</s>
<s>[INST] Translate the following into a SQL query: What is year of construction of spitallamm? SQL:[/INST]SELECT MIN Year of construction FROM table WHERE Name = Spitallamm</s>
<s>[INST] Translate the following into a SQL query: What is the canton of grande dixence? SQL:[/INST]SELECT Canton FROM table WHERE Name = Grande Dixence</s>
<s>[INST] Translate the following into a SQL query: What is the name where lago di luzzone is? SQL:[/INST]SELECT Name FROM table WHERE Name of the Lake = Lago di Luzzone</s>
<s>[INST] Translate the following into a SQL query: What is the guardian mātṛkā for the guardian whose consort is Svāhā? SQL:[/INST]SELECT Guardian Mātṛkā FROM table WHERE Consort = Svāhā</s>
<s>[INST] Translate the following into a SQL query: Where the mantra is "oṃ yaṃ vāyuve namaḥ", what is the direction of the guardian? SQL:[/INST]SELECT Direction FROM table WHERE Mantra = Oṃ Yaṃ Vāyuve Namaḥ</s>
<s>[INST] Translate the following into a SQL query: What weapon is used by the guardian whose consort is śacī? SQL:[/INST]SELECT Weapon FROM table WHERE Consort = Śacī</s>
<s>[INST] Translate the following into a SQL query: What are the directions for the guardian whose weapon is khaḍga (sword)? SQL:[/INST]SELECT Direction FROM table WHERE Weapon = Khaḍga (sword)</s>
<s>[INST] Translate the following into a SQL query: What are the weapons used by guardians for the direction East? SQL:[/INST]SELECT Weapon FROM table WHERE Direction = East</s>
<s>[INST] Translate the following into a SQL query: What are the directions for the guardian whose graha (planet) is bṛhaspati (Jupiter)? SQL:[/INST]SELECT Direction FROM table WHERE Graha (Planet) = Bṛhaspati (Jupiter)</s>
<s>[INST] Translate the following into a SQL query: What is the number of chapters listed for the fraternity with a headquarters in Austin, Texas? SQL:[/INST]SELECT MAX Chapters FROM table WHERE Classification = Fraternity AND Headquarters = Austin, Texas</s>
<s>[INST] Translate the following into a SQL query: What are the members listed with the sorority classification SQL:[/INST]SELECT Member FROM table WHERE Classification = Sorority</s>
<s>[INST] Translate the following into a SQL query: Name the member that has 12 chapters SQL:[/INST]SELECT Member FROM table WHERE Chapters = 12</s>
<s>[INST] Translate the following into a SQL query: Where is the headquarters of Alpha Nu Omega SQL:[/INST]SELECT Headquarters FROM table WHERE Member = Alpha Nu Omega</s>
<s>[INST] Translate the following into a SQL query: what is the number of relapsing fever when malaria is 3000 SQL:[/INST]SELECT MIN Relapsing fever FROM table WHERE Malaria = 3000</s>
<s>[INST] Translate the following into a SQL query: what is the typhoid fever number for the year 1934 SQL:[/INST]SELECT Typhoid fever FROM table WHERE Year = 1934</s>
<s>[INST] Translate the following into a SQL query: What are all the typhus number when smallpox is 4 SQL:[/INST]SELECT Typhus FROM table WHERE Smallpox = 4</s>
<s>[INST] Translate the following into a SQL query: what is the number of smallpox when typhoid fever is 293 SQL:[/INST]SELECT MAX Smallpox FROM table WHERE Typhoid fever = 293</s>
<s>[INST] Translate the following into a SQL query: what is the typhoid fever number for the year 1929 SQL:[/INST]SELECT Typhoid fever FROM table WHERE Year = 1929</s>
<s>[INST] Translate the following into a SQL query: How many schools are in Bloomington, IN? SQL:[/INST]SELECT COUNT Founded FROM table WHERE Location = Bloomington, IN</s>
<s>[INST] Translate the following into a SQL query: How many of the schools are designated private/Presbyterian? SQL:[/INST]SELECT COUNT Location FROM table WHERE Affiliation = Private/Presbyterian</s>
<s>[INST] Translate the following into a SQL query: In what year was Lindenwood University founded? SQL:[/INST]SELECT MIN Founded FROM table WHERE School = Lindenwood University</s>
<s>[INST] Translate the following into a SQL query: How many of the schools listed are in Ames, IA? SQL:[/INST]SELECT COUNT Primary conference FROM table WHERE Location = Ames, IA</s>
<s>[INST] Translate the following into a SQL query: What is the capital (endonym) where Douglas is the Capital (exonym)? SQL:[/INST]SELECT Capital ( endonym ) FROM table WHERE Capital ( exonym ) = Douglas</s>
<s>[INST] Translate the following into a SQL query: How many countries (endonym) has the capital (endonym) of Jakarta? SQL:[/INST]SELECT COUNT Country ( endonym ) FROM table WHERE Capital ( endonym ) = Jakarta</s>
<s>[INST] Translate the following into a SQL query: What is the country (exonym) where the official or native language(s) (alphabet/script) is Icelandic? SQL:[/INST]SELECT Country ( exonym ) FROM table WHERE Official or native language(s) (alphabet/script) = Icelandic</s>
<s>[INST] Translate the following into a SQL query: In which country (endonym) is Irish English the official or native language(s) (alphabet/script)? SQL:[/INST]SELECT Country ( endonym ) FROM table WHERE Official or native language(s) (alphabet/script) = Irish English</s>
<s>[INST] Translate the following into a SQL query: Which country (exonym) is the country (endonym) isle of man ellan vannin? SQL:[/INST]SELECT Country ( exonym ) FROM table WHERE Country ( endonym ) = Isle of Man Ellan Vannin</s>
<s>[INST] Translate the following into a SQL query: The season premiere aired on September 11, 2000 aired on how many networks? SQL:[/INST]SELECT COUNT Network FROM table WHERE Season premiere = September 11, 2000</s>
<s>[INST] Translate the following into a SQL query: What was the ranking of the season finale aired on May 8, 2006? SQL:[/INST]SELECT Ranking FROM table WHERE Season finale = May 8, 2006</s>
<s>[INST] Translate the following into a SQL query: what is the minimum population canada 2011 census with seat of rcm being cowansville SQL:[/INST]SELECT MIN Population Canada 2011 Census FROM table WHERE Seat of RCM = Cowansville</s>
<s>[INST] Translate the following into a SQL query: what's the land area with seat of rcm being granby SQL:[/INST]SELECT Land Area FROM table WHERE Seat of RCM = Granby</s>
<s>[INST] Translate the following into a SQL query: What is the population for County Mayo with the English Name Carrowteige? SQL:[/INST]SELECT Population FROM table WHERE County = County Mayo AND English name = Carrowteige</s>
<s>[INST] Translate the following into a SQL query: What is the Irish name listed with 62% Irish speakers? SQL:[/INST]SELECT Irish name FROM table WHERE Irish speakers = 62%</s>
<s>[INST] Translate the following into a SQL query: What is the population for the Irish Name Leitir mealláin? SQL:[/INST]SELECT Population FROM table WHERE Irish name = Leitir Mealláin</s>
<s>[INST] Translate the following into a SQL query: What is the county for the Irish name Carna? SQL:[/INST]SELECT County FROM table WHERE Irish name = Carna</s>
<s>[INST] Translate the following into a SQL query: How many County Kerry have 53% Irish speakers? SQL:[/INST]SELECT COUNT English name FROM table WHERE Irish speakers = 53% AND County = County Kerry</s>
<s>[INST] Translate the following into a SQL query: What is the population for the English name Spiddal? SQL:[/INST]SELECT Population FROM table WHERE English name = Spiddal</s>
<s>[INST] Translate the following into a SQL query: What is the the Chinese population for the state that has a Filipino population of 1474707? SQL:[/INST]SELECT MIN Chinese FROM table WHERE Filipino = 1474707</s>
<s>[INST] Translate the following into a SQL query: How many States have an Indian population of 30947? SQL:[/INST]SELECT COUNT Filipino FROM table WHERE Indian = 30947</s>
<s>[INST] Translate the following into a SQL query: What is the highest Indian population? SQL:[/INST]SELECT MAX Indian FROM table</s>
<s>[INST] Translate the following into a SQL query: What is Australia's role in the UN operation Unama? SQL:[/INST]SELECT Australian role FROM table WHERE UN Operation name = UNAMA</s>
<s>[INST] Translate the following into a SQL query: What is the UN operation title with the UN operation name, Uncok? SQL:[/INST]SELECT UN Operation title FROM table WHERE UN Operation name = UNCOK</s>
<s>[INST] Translate the following into a SQL query: How many Australians were in the UN commission on Korea? SQL:[/INST]SELECT COUNT Number of Australians involved FROM table WHERE UN Operation title = UN Commission on Korea</s>
<s>[INST] Translate the following into a SQL query: When was it where 65 Australians were involved in the UN? SQL:[/INST]SELECT Dates of Australian involvement FROM table WHERE Number of Australians involved = 65</s>
<s>[INST] Translate the following into a SQL query: What year is the season with the 10.73 million views? SQL:[/INST]SELECT TV season FROM table WHERE Viewers (millions) = 10.73</s>