text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: During what period did Dell Curry play for Toronto? ### Context: CREATE TABLE table_10015132_3 (years_in_toronto VARCHAR, player VARCHAR) [/INST] ### Response: SELECT years_in_toronto FROM table_10015132_3 WHERE player = "Dell Curry" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the number of the player from Boise State? ### Context: CREATE TABLE table_10015132_3 (no VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT no FROM table_10015132_3 WHERE school_club_team = "Boise State" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's Dell Curry nationality? ### Context: CREATE TABLE table_10015132_3 (nationality VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nationality FROM table_10015132_3 WHERE player = "Dell Curry" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: which player is from georgia ### Context: CREATE TABLE table_10015132_7 (player VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT player FROM table_10015132_7 WHERE school_club_team = "Georgia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what school is rudy gay from ### Context: CREATE TABLE table_10015132_7 (school_club_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT school_club_team FROM table_10015132_7 WHERE player = "Rudy Gay" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what nationality is the player who played from 1997-98 ### Context: CREATE TABLE table_10015132_7 (nationality VARCHAR, years_in_toronto VARCHAR) [/INST] ### Response: SELECT nationality FROM table_10015132_7 WHERE years_in_toronto = "1997-98" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what position did the player from connecticut play ### Context: CREATE TABLE table_10015132_7 (position VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT position FROM table_10015132_7 WHERE school_club_team = "Connecticut" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: During which years was Marcus Banks in Toronto? ### Context: CREATE TABLE table_10015132_2 (years_in_toronto VARCHAR, player VARCHAR) [/INST] ### Response: SELECT years_in_toronto FROM table_10015132_2 WHERE player = "Marcus Banks" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which positions were in Toronto in 2004? ### Context: CREATE TABLE table_10015132_2 (position VARCHAR, years_in_toronto VARCHAR) [/INST] ### Response: SELECT position FROM table_10015132_2 WHERE years_in_toronto = "2004" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What nationality is the player Muggsy Bogues? ### Context: CREATE TABLE table_10015132_2 (nationality VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nationality FROM table_10015132_2 WHERE player = "Muggsy Bogues" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What years was the player Lonny Baxter in Toronto? ### Context: CREATE TABLE table_10015132_2 (years_in_toronto VARCHAR, player VARCHAR) [/INST] ### Response: SELECT years_in_toronto FROM table_10015132_2 WHERE player = "Lonny Baxter" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many players were with the school or club team La Salle? ### Context: CREATE TABLE table_10015132_2 (player VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT COUNT(player) FROM table_10015132_2 WHERE school_club_team = "La Salle" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When the scoring rank was 117, what was the best finish? ### Context: CREATE TABLE table_10021158_3 (best_finish VARCHAR, scoring_rank VARCHAR) [/INST] ### Response: SELECT best_finish FROM table_10021158_3 WHERE scoring_rank = "117" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When the best finish was T69, how many people came in 2nd? ### Context: CREATE TABLE table_10021158_3 (best_finish VARCHAR) [/INST] ### Response: SELECT 2 AS nd FROM table_10021158_3 WHERE best_finish = "T69" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many wins were there when the money list rank was 183? ### Context: CREATE TABLE table_10021158_3 (wins VARCHAR, money_list_rank VARCHAR) [/INST] ### Response: SELECT COUNT(wins) FROM table_10021158_3 WHERE money_list_rank = "183" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When the money list rank was n/a, what was the scoring average? ### Context: CREATE TABLE table_10021158_3 (scoring_average VARCHAR, money_list_rank VARCHAR) [/INST] ### Response: SELECT scoring_average FROM table_10021158_3 WHERE money_list_rank = "n/a" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What time was the highest for 2nd finishers? ### Context: CREATE TABLE table_10021158_3 (Id VARCHAR) [/INST] ### Response: SELECT MAX(2 AS nd) FROM table_10021158_3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When did the Metrostars have their first Rookie of the Year winner? ### Context: CREATE TABLE table_1004033_1 (season INTEGER, team VARCHAR) [/INST] ### Response: SELECT MIN(season) FROM table_1004033_1 WHERE team = "MetroStars" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What college did the Rookie of the Year from the Columbus Crew attend? ### Context: CREATE TABLE table_1004033_1 (college VARCHAR, team VARCHAR) [/INST] ### Response: SELECT college FROM table_1004033_1 WHERE team = "Columbus Crew" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many teams had a #1 draft pick that won the Rookie of the Year Award? ### Context: CREATE TABLE table_1004033_1 (team VARCHAR, draft_pick__number VARCHAR) [/INST] ### Response: SELECT COUNT(team) FROM table_1004033_1 WHERE draft_pick__number = "1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What position did the #10 draft pick play? ### Context: CREATE TABLE table_1004033_1 (position VARCHAR, draft_pick__number VARCHAR) [/INST] ### Response: SELECT position FROM table_1004033_1 WHERE draft_pick__number = "10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the years played with singles w-l of 3–2 ### Context: CREATE TABLE table_10023387_1 (years_played VARCHAR, singles_w_l VARCHAR) [/INST] ### Response: SELECT years_played FROM table_10023387_1 WHERE singles_w_l = "3–2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the doubles w-l for player seol jae-min (none) ### Context: CREATE TABLE table_10023387_1 (doubles_w_l VARCHAR, player VARCHAR) [/INST] ### Response: SELECT doubles_w_l FROM table_10023387_1 WHERE player = "Seol Jae-Min (none)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the singles w-l for kim doo-hwan ### Context: CREATE TABLE table_10023387_1 (singles_w_l VARCHAR, player VARCHAR) [/INST] ### Response: SELECT singles_w_l FROM table_10023387_1 WHERE player = "Kim Doo-Hwan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the total number of singles w-l with doubles w-l of 0–0 and total w-l of 3–1 ### Context: CREATE TABLE table_10023387_1 (singles_w_l VARCHAR, doubles_w_l VARCHAR, total_w_l VARCHAR) [/INST] ### Response: SELECT COUNT(singles_w_l) FROM table_10023387_1 WHERE doubles_w_l = "0–0" AND total_w_l = "3–1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the doubles w-l with years played value of 1 (1968) ### Context: CREATE TABLE table_10023387_1 (doubles_w_l VARCHAR, years_played VARCHAR) [/INST] ### Response: SELECT doubles_w_l FROM table_10023387_1 WHERE years_played = "1 (1968)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what years are played for player  im chung-yang ### Context: CREATE TABLE table_10023387_1 (years_played VARCHAR, player VARCHAR) [/INST] ### Response: SELECT years_played FROM table_10023387_1 WHERE player = "Im Chung-Yang" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the 375 crest length? ### Context: CREATE TABLE table_10020178_1 (name VARCHAR, crest_length__meters_ VARCHAR) [/INST] ### Response: SELECT name FROM table_10020178_1 WHERE crest_length__meters_ = 375 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is year of construction of spitallamm? ### Context: CREATE TABLE table_10020178_1 (year_of_construction INTEGER, name VARCHAR) [/INST] ### Response: SELECT MIN(year_of_construction) FROM table_10020178_1 WHERE name = "Spitallamm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the canton of grande dixence? ### Context: CREATE TABLE table_10020178_1 (canton VARCHAR, name VARCHAR) [/INST] ### Response: SELECT canton FROM table_10020178_1 WHERE name = "Grande Dixence" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the guardian mātṛkā for the guardian whose consort is Svāhā? ### Context: CREATE TABLE table_100518_1 (guardian_mātṛkā VARCHAR, consort VARCHAR) [/INST] ### Response: SELECT guardian_mātṛkā FROM table_100518_1 WHERE consort = "Svāhā" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where the mantra is "oṃ yaṃ vāyuve namaḥ", what is the direction of the guardian? ### Context: CREATE TABLE table_100518_1 (direction VARCHAR, mantra VARCHAR) [/INST] ### Response: SELECT direction FROM table_100518_1 WHERE mantra = "Oṃ Yaṃ Vāyuve Namaḥ" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What weapon is used by the guardian whose consort is śacī? ### Context: CREATE TABLE table_100518_1 (weapon VARCHAR, consort VARCHAR) [/INST] ### Response: SELECT weapon FROM table_100518_1 WHERE consort = "Śacī" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the directions for the guardian whose weapon is khaḍga (sword)? ### Context: CREATE TABLE table_100518_1 (direction VARCHAR, weapon VARCHAR) [/INST] ### Response: SELECT direction FROM table_100518_1 WHERE weapon = "Khaḍga (sword)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the weapons used by guardians for the direction East? ### Context: CREATE TABLE table_100518_1 (weapon VARCHAR, direction VARCHAR) [/INST] ### Response: SELECT weapon FROM table_100518_1 WHERE direction = "East" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the directions for the guardian whose graha (planet) is bṛhaspati (Jupiter)? ### Context: CREATE TABLE table_100518_1 (direction VARCHAR, graha__planet_ VARCHAR) [/INST] ### Response: SELECT direction FROM table_100518_1 WHERE graha__planet_ = "Bṛhaspati (Jupiter)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of chapters listed for the fraternity with a headquarters in Austin, Texas? ### Context: CREATE TABLE table_10054296_1 (chapters INTEGER, classification VARCHAR, headquarters VARCHAR) [/INST] ### Response: SELECT MAX(chapters) FROM table_10054296_1 WHERE classification = "Fraternity" AND headquarters = "Austin, Texas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the members listed with the sorority classification ### Context: CREATE TABLE table_10054296_1 (member VARCHAR, classification VARCHAR) [/INST] ### Response: SELECT member FROM table_10054296_1 WHERE classification = "Sorority" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the member that has 12 chapters ### Context: CREATE TABLE table_10054296_1 (member VARCHAR, chapters VARCHAR) [/INST] ### Response: SELECT member FROM table_10054296_1 WHERE chapters = 12 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where is the headquarters of Alpha Nu Omega ### Context: CREATE TABLE table_10054296_1 (headquarters VARCHAR, member VARCHAR) [/INST] ### Response: SELECT headquarters FROM table_10054296_1 WHERE member = "Alpha Nu Omega" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the number of relapsing fever when malaria is 3000 ### Context: CREATE TABLE table_1007688_1 (relapsing_fever INTEGER, malaria VARCHAR) [/INST] ### Response: SELECT MIN(relapsing_fever) FROM table_1007688_1 WHERE malaria = "3000" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the typhoid fever number for the year 1934 ### Context: CREATE TABLE table_1007688_1 (typhoid_fever VARCHAR, year VARCHAR) [/INST] ### Response: SELECT typhoid_fever FROM table_1007688_1 WHERE year = "1934" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are all the typhus number when smallpox is 4 ### Context: CREATE TABLE table_1007688_1 (typhus VARCHAR, smallpox VARCHAR) [/INST] ### Response: SELECT typhus FROM table_1007688_1 WHERE smallpox = 4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the number of smallpox when typhoid fever is 293 ### Context: CREATE TABLE table_1007688_1 (smallpox INTEGER, typhoid_fever VARCHAR) [/INST] ### Response: SELECT MAX(smallpox) FROM table_1007688_1 WHERE typhoid_fever = 293 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the typhoid fever number for the year 1929 ### Context: CREATE TABLE table_1007688_1 (typhoid_fever VARCHAR, year VARCHAR) [/INST] ### Response: SELECT typhoid_fever FROM table_1007688_1 WHERE year = "1929" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many schools are in Bloomington, IN? ### Context: CREATE TABLE table_10082596_1 (founded VARCHAR, location VARCHAR) [/INST] ### Response: SELECT COUNT(founded) FROM table_10082596_1 WHERE location = "Bloomington, IN" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many of the schools are designated private/Presbyterian? ### Context: CREATE TABLE table_10082596_1 (location VARCHAR, affiliation VARCHAR) [/INST] ### Response: SELECT COUNT(location) FROM table_10082596_1 WHERE affiliation = "Private/Presbyterian" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what year was Lindenwood University founded? ### Context: CREATE TABLE table_10082596_1 (founded INTEGER, school VARCHAR) [/INST] ### Response: SELECT MIN(founded) FROM table_10082596_1 WHERE school = "Lindenwood University" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many of the schools listed are in Ames, IA? ### Context: CREATE TABLE table_10082596_1 (primary_conference VARCHAR, location VARCHAR) [/INST] ### Response: SELECT COUNT(primary_conference) FROM table_10082596_1 WHERE location = "Ames, IA" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the capital (endonym) where Douglas is the Capital (exonym)? ### Context: CREATE TABLE table_1008653_9 (capital___endonym__ VARCHAR, capital___exonym__ VARCHAR) [/INST] ### Response: SELECT capital___endonym__ FROM table_1008653_9 WHERE capital___exonym__ = "Douglas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many countries (endonym) has the capital (endonym) of Jakarta? ### Context: CREATE TABLE table_1008653_9 (country___endonym__ VARCHAR, capital___endonym__ VARCHAR) [/INST] ### Response: SELECT COUNT(country___endonym__) FROM table_1008653_9 WHERE capital___endonym__ = "Jakarta" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the country (exonym) where the official or native language(s) (alphabet/script) is Icelandic? ### Context: CREATE TABLE table_1008653_9 (country___exonym__ VARCHAR, official_or_native_language_s___alphabet_script_ VARCHAR) [/INST] ### Response: SELECT country___exonym__ FROM table_1008653_9 WHERE official_or_native_language_s___alphabet_script_ = "Icelandic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In which country (endonym) is Irish English the official or native language(s) (alphabet/script)? ### Context: CREATE TABLE table_1008653_9 (country___endonym__ VARCHAR, official_or_native_language_s___alphabet_script_ VARCHAR) [/INST] ### Response: SELECT country___endonym__ FROM table_1008653_9 WHERE official_or_native_language_s___alphabet_script_ = "Irish English" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which country (exonym) is the country (endonym) isle of man ellan vannin? ### Context: CREATE TABLE table_1008653_9 (country___exonym__ VARCHAR, country___endonym__ VARCHAR) [/INST] ### Response: SELECT country___exonym__ FROM table_1008653_9 WHERE country___endonym__ = "Isle of Man Ellan Vannin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the minimum population canada 2011 census with seat of rcm being cowansville ### Context: CREATE TABLE table_1011906_1 (population_canada_2011_census INTEGER, seat_of_rcm VARCHAR) [/INST] ### Response: SELECT MIN(population_canada_2011_census) FROM table_1011906_1 WHERE seat_of_rcm = "Cowansville" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the land area with seat of rcm being granby ### Context: CREATE TABLE table_1011906_1 (land_area VARCHAR, seat_of_rcm VARCHAR) [/INST] ### Response: SELECT land_area FROM table_1011906_1 WHERE seat_of_rcm = "Granby" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the population for County Mayo with the English Name Carrowteige? ### Context: CREATE TABLE table_101196_1 (population VARCHAR, county VARCHAR, english_name VARCHAR) [/INST] ### Response: SELECT population FROM table_101196_1 WHERE county = "county Mayo" AND english_name = "Carrowteige" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Irish name listed with 62% Irish speakers? ### Context: CREATE TABLE table_101196_1 (irish_name VARCHAR, irish_speakers VARCHAR) [/INST] ### Response: SELECT irish_name FROM table_101196_1 WHERE irish_speakers = "62%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the population for the Irish Name Leitir mealláin? ### Context: CREATE TABLE table_101196_1 (population VARCHAR, irish_name VARCHAR) [/INST] ### Response: SELECT population FROM table_101196_1 WHERE irish_name = "Leitir Mealláin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the county for the Irish name Carna? ### Context: CREATE TABLE table_101196_1 (county VARCHAR, irish_name VARCHAR) [/INST] ### Response: SELECT county FROM table_101196_1 WHERE irish_name = "Carna" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many County Kerry have 53% Irish speakers? ### Context: CREATE TABLE table_101196_1 (english_name VARCHAR, irish_speakers VARCHAR, county VARCHAR) [/INST] ### Response: SELECT COUNT(english_name) FROM table_101196_1 WHERE irish_speakers = "53%" AND county = "county Kerry" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the population for the English name Spiddal? ### Context: CREATE TABLE table_101196_1 (population VARCHAR, english_name VARCHAR) [/INST] ### Response: SELECT population FROM table_101196_1 WHERE english_name = "Spiddal" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the the Chinese population for the state that has a Filipino population of 1474707? ### Context: CREATE TABLE table_10118412_6 (chinese INTEGER, filipino VARCHAR) [/INST] ### Response: SELECT MIN(chinese) FROM table_10118412_6 WHERE filipino = 1474707 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many States have an Indian population of 30947? ### Context: CREATE TABLE table_10118412_6 (filipino VARCHAR, indian VARCHAR) [/INST] ### Response: SELECT COUNT(filipino) FROM table_10118412_6 WHERE indian = 30947 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest Indian population? ### Context: CREATE TABLE table_10118412_6 (indian INTEGER) [/INST] ### Response: SELECT MAX(indian) FROM table_10118412_6 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Australia's role in the UN operation Unama? ### Context: CREATE TABLE table_10121127_1 (australian_role VARCHAR, un_operation_name VARCHAR) [/INST] ### Response: SELECT australian_role FROM table_10121127_1 WHERE un_operation_name = "UNAMA" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the UN operation title with the UN operation name, Uncok? ### Context: CREATE TABLE table_10121127_1 (un_operation_title VARCHAR, un_operation_name VARCHAR) [/INST] ### Response: SELECT un_operation_title FROM table_10121127_1 WHERE un_operation_name = "UNCOK" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many Australians were in the UN commission on Korea? ### Context: CREATE TABLE table_10121127_1 (number_of_australians_involved VARCHAR, un_operation_title VARCHAR) [/INST] ### Response: SELECT COUNT(number_of_australians_involved) FROM table_10121127_1 WHERE un_operation_title = "UN Commission on Korea" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When was it where 65 Australians were involved in the UN? ### Context: CREATE TABLE table_10121127_1 (dates_of_australian_involvement VARCHAR, number_of_australians_involved VARCHAR) [/INST] ### Response: SELECT dates_of_australian_involvement FROM table_10121127_1 WHERE number_of_australians_involved = "65" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year is the season with the 10.73 million views? ### Context: CREATE TABLE table_10120207_8 (tv_season VARCHAR, viewers__millions_ VARCHAR) [/INST] ### Response: SELECT tv_season FROM table_10120207_8 WHERE viewers__millions_ = "10.73" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the season year where the rank is 39? ### Context: CREATE TABLE table_10120207_8 (tv_season VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT tv_season FROM table_10120207_8 WHERE rank = "39" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of season premieres were 10.17 people watched? ### Context: CREATE TABLE table_10120207_8 (season VARCHAR, viewers__millions_ VARCHAR) [/INST] ### Response: SELECT COUNT(season) AS premiere FROM table_10120207_8 WHERE viewers__millions_ = "10.17" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the year of the season that was 12? ### Context: CREATE TABLE table_10120207_8 (tv_season VARCHAR, season VARCHAR) [/INST] ### Response: SELECT tv_season FROM table_10120207_8 WHERE season = 12 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In 2012 what was the average finish? ### Context: CREATE TABLE table_1012730_1 (avg_finish VARCHAR, year VARCHAR) [/INST] ### Response: SELECT avg_finish FROM table_1012730_1 WHERE year = 2012 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many wins happened in 1983? ### Context: CREATE TABLE table_1012730_1 (wins INTEGER, year VARCHAR) [/INST] ### Response: SELECT MIN(wins) FROM table_1012730_1 WHERE year = 1983 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many top tens had an average start of 29.4? ### Context: CREATE TABLE table_1012730_1 (top_10 VARCHAR, avg_start VARCHAR) [/INST] ### Response: SELECT COUNT(top_10) FROM table_1012730_1 WHERE avg_start = "29.4" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many poles had an average finish of 19.1? ### Context: CREATE TABLE table_1012730_1 (poles INTEGER, avg_finish VARCHAR) [/INST] ### Response: SELECT MAX(poles) FROM table_1012730_1 WHERE avg_finish = "19.1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many starts did Hendrick motorsports have? ### Context: CREATE TABLE table_1012730_1 (starts INTEGER, team_s_ VARCHAR) [/INST] ### Response: SELECT MIN(starts) FROM table_1012730_1 WHERE team_s_ = "Hendrick Motorsports" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: NHL players are all centre in Florida panthers. ### Context: CREATE TABLE table_1013129_10 (player VARCHAR, position VARCHAR, nhl_team VARCHAR) [/INST] ### Response: SELECT player FROM table_1013129_10 WHERE position = "Centre" AND nhl_team = "Florida Panthers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: NHL team player San Jose Sharks is United States nationally. ### Context: CREATE TABLE table_1013129_10 (player VARCHAR, nhl_team VARCHAR, nationality VARCHAR) [/INST] ### Response: SELECT player FROM table_1013129_10 WHERE nhl_team = "San Jose Sharks" AND nationality = "United States" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: All players are position mark polak. ### Context: CREATE TABLE table_1013129_10 (position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT position FROM table_1013129_10 WHERE player = "Mark Polak" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Position in nhl team centre are all smaller pick than 243.0 ### Context: CREATE TABLE table_1013129_10 (nhl_team VARCHAR, position VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT nhl_team FROM table_1013129_10 WHERE position = "Centre" AND pick < 243.0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What college/junior/club teams do the players from the St. Louis Blues come from? ### Context: CREATE TABLE table_1013129_11 (college_junior_club_team VARCHAR, nhl_team VARCHAR) [/INST] ### Response: SELECT college_junior_club_team FROM table_1013129_11 WHERE nhl_team = "St. Louis Blues" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What teams do the players from TPS (Finland) play for? ### Context: CREATE TABLE table_1013129_11 (nhl_team VARCHAR, college_junior_club_team VARCHAR) [/INST] ### Response: SELECT nhl_team FROM table_1013129_11 WHERE college_junior_club_team = "TPS (Finland)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What high school team did Doug Nolan play for? ### Context: CREATE TABLE table_1013129_11 (college_junior_club_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT college_junior_club_team FROM table_1013129_11 WHERE player = "Doug Nolan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What club team is Per Gustafsson play for? ### Context: CREATE TABLE table_1013129_11 (college_junior_club_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT college_junior_club_team FROM table_1013129_11 WHERE player = "Per Gustafsson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the nationality of Shayne Wright? ### Context: CREATE TABLE table_1013129_11 (nationality VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nationality FROM table_1013129_11 WHERE player = "Shayne Wright" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many votes did Southern England cast whilst Northern Ireland cast 3? ### Context: CREATE TABLE table_10128185_2 (southern_england VARCHAR, northern_ireland VARCHAR) [/INST] ### Response: SELECT southern_england FROM table_10128185_2 WHERE northern_ireland = 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the lowest number of votes Scotland cast? ### Context: CREATE TABLE table_10128185_2 (scotland INTEGER) [/INST] ### Response: SELECT MIN(scotland) FROM table_10128185_2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of votes if Scotland cast 35? ### Context: CREATE TABLE table_10128185_2 (scotland VARCHAR, total VARCHAR) [/INST] ### Response: SELECT COUNT(scotland) FROM table_10128185_2 WHERE total = 35 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many votes did Northern Ireland cast if the total was 35? ### Context: CREATE TABLE table_10128185_2 (northern_ireland VARCHAR, total VARCHAR) [/INST] ### Response: SELECT northern_ireland FROM table_10128185_2 WHERE total = 35 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many votes did Wales cast when Northern England cast 6? ### Context: CREATE TABLE table_10128185_2 (wales INTEGER, northern_england VARCHAR) [/INST] ### Response: SELECT MIN(wales) FROM table_10128185_2 WHERE northern_england = 6 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What teams had 9 in the top 5 and 1 wins? ### Context: CREATE TABLE table_1012730_2 (team_s_ VARCHAR, top_5 VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT team_s_ FROM table_1012730_2 WHERE top_5 = 9 AND wins = 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What teams did the player vadim sharifijanov play for? ### Context: CREATE TABLE table_1013129_1 (college_junior_club_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT college_junior_club_team FROM table_1013129_1 WHERE player = "Vadim Sharifijanov" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What positions do the hartford whalers nhl team have? ### Context: CREATE TABLE table_1013129_1 (position VARCHAR, nhl_team VARCHAR) [/INST] ### Response: SELECT position FROM table_1013129_1 WHERE nhl_team = "Hartford Whalers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the smallest pick for the player, brett lindros? ### Context: CREATE TABLE table_1013129_1 (pick INTEGER, player VARCHAR) [/INST] ### Response: SELECT MIN(pick) FROM table_1013129_1 WHERE player = "Brett Lindros" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What positions does the college/junior/club team, molot perm (russia) have? ### Context: CREATE TABLE table_1013129_1 (position VARCHAR, college_junior_club_team VARCHAR) [/INST] ### Response: SELECT position FROM table_1013129_1 WHERE college_junior_club_team = "Molot Perm (Russia)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: The nhl team new york islanders is what nationality? ### Context: CREATE TABLE table_1013129_1 (nationality VARCHAR, nhl_team VARCHAR) [/INST] ### Response: SELECT nationality FROM table_1013129_1 WHERE nhl_team = "New York Islanders" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the vacator for district Louisiana 1st? ### Context: CREATE TABLE table_1013168_3 (vacator VARCHAR, district VARCHAR) [/INST] ### Response: SELECT vacator FROM table_1013168_3 WHERE district = "Louisiana 1st" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the notion when the crystal structure is tetragonal and the formula is bi 2 sr 2 cacu 2 o 8 ### Context: CREATE TABLE table_101336_1 (notation VARCHAR, crystal_structure VARCHAR, formula VARCHAR) [/INST] ### Response: SELECT notation FROM table_101336_1 WHERE crystal_structure = "Tetragonal" AND formula = "Bi 2 Sr 2 CaCu 2 O 8" </s>