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: What is the average roll of a school with state authority and a decile of 9? ### Context: CREATE TABLE table_name_93 (roll INTEGER, authority VARCHAR, decile VARCHAR) [/INST] ### Response: SELECT AVG(roll) FROM table_name_93 WHERE authority = "state" AND decile = 9 </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 area has state authority and a roll fewer than 18? ### Context: CREATE TABLE table_name_78 (area VARCHAR, authority VARCHAR, roll VARCHAR) [/INST] ### Response: SELECT area FROM table_name_78 WHERE authority = "state" AND roll < 18 </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 roll for the school with state authority and a decile of 9? ### Context: CREATE TABLE table_name_42 (roll VARCHAR, authority VARCHAR, decile VARCHAR) [/INST] ### Response: SELECT roll FROM table_name_42 WHERE authority = "state" AND decile = 9 </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 average decile of Westport South School? ### Context: CREATE TABLE table_name_5 (decile INTEGER, name VARCHAR) [/INST] ### Response: SELECT AVG(decile) FROM table_name_5 WHERE name = "westport south school" </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 top rank with a time of 2:19.86? ### Context: CREATE TABLE table_name_25 (rank INTEGER, time VARCHAR) [/INST] ### Response: SELECT MAX(rank) FROM table_name_25 WHERE time = "2:19.86" </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: Who had a lane number smaller than 7 and a time of 2:19.86? ### Context: CREATE TABLE table_name_32 (name VARCHAR, lane VARCHAR, time VARCHAR) [/INST] ### Response: SELECT name FROM table_name_32 WHERE lane < 7 AND time = "2:19.86" </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 Liu Limin's time in heat 4? ### Context: CREATE TABLE table_name_32 (time VARCHAR, heat VARCHAR, name VARCHAR) [/INST] ### Response: SELECT time FROM table_name_32 WHERE heat = 4 AND name = "liu limin" </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 result of the friendly competition? ### Context: CREATE TABLE table_name_69 (result VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT result FROM table_name_69 WHERE competition = "friendly" </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 start source that ended on 4 May? ### Context: CREATE TABLE table_name_72 (start_source VARCHAR, ended VARCHAR) [/INST] ### Response: SELECT start_source FROM table_name_72 WHERE ended = "4 may" </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 Loan Club from Eng that ended on 22 February? ### Context: CREATE TABLE table_name_57 (loan_club VARCHAR, country VARCHAR, ended VARCHAR) [/INST] ### Response: SELECT loan_club FROM table_name_57 WHERE country = "eng" AND ended = "22 february" </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 End Source from the Hartlepool United Loan Club? ### Context: CREATE TABLE table_name_51 (end_source VARCHAR, loan_club VARCHAR) [/INST] ### Response: SELECT end_source FROM table_name_51 WHERE loan_club = "hartlepool united" </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 loan that Ended on 15 January Start? ### Context: CREATE TABLE table_name_60 (started VARCHAR, ended VARCHAR) [/INST] ### Response: SELECT started FROM table_name_60 WHERE ended = "15 january" </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 nation had more than 97 Gold Medals and fewer than 332 Silver Medals? ### Context: CREATE TABLE table_name_34 (total INTEGER, gold VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT SUM(total) FROM table_name_34 WHERE gold > 97 AND silver < 332 </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 nation had 135 Bronze medals? ### Context: CREATE TABLE table_name_89 (bronze VARCHAR, total VARCHAR) [/INST] ### Response: SELECT COUNT(bronze) FROM table_name_89 WHERE total = 135 </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 area of Ulim with less than 30 villages? ### Context: CREATE TABLE table_name_53 (land_area__km_2__ INTEGER, capital VARCHAR, villages VARCHAR) [/INST] ### Response: SELECT AVG(land_area__km_2__) FROM table_name_53 WHERE capital = "ulim" AND villages < 30 </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 station that is currently demolished with the Shepparton line in Tabilk? ### Context: CREATE TABLE table_name_6 (name VARCHAR, location VARCHAR, current_status VARCHAR, line VARCHAR) [/INST] ### Response: SELECT name FROM table_name_6 WHERE current_status = "demolished" AND line = "shepparton line" AND location = "tabilk" </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 line of Mangalore station? ### Context: CREATE TABLE table_name_54 (line VARCHAR, name VARCHAR) [/INST] ### Response: SELECT line FROM table_name_54 WHERE name = "mangalore" </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 line of the station in Toolamba that is currently demolished and closed in the late 1970s? ### Context: CREATE TABLE table_name_81 (line VARCHAR, location VARCHAR, current_status VARCHAR, closed VARCHAR) [/INST] ### Response: SELECT line FROM table_name_81 WHERE current_status = "demolished" AND closed = "late 1970s" AND location = "toolamba" </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 station in Toolamba that is currently demolished? ### Context: CREATE TABLE table_name_26 (name VARCHAR, current_status VARCHAR, location VARCHAR) [/INST] ### Response: SELECT name FROM table_name_26 WHERE current_status = "demolished" AND location = "toolamba" </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 began in 1976? ### Context: CREATE TABLE table_name_21 (current_club VARCHAR, year_born VARCHAR) [/INST] ### Response: SELECT current_club FROM table_name_21 WHERE year_born = 1976 </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 player was born in 1976 and is smaller than 2.03? ### Context: CREATE TABLE table_name_42 (player VARCHAR, height VARCHAR, year_born VARCHAR) [/INST] ### Response: SELECT player FROM table_name_42 WHERE height < 2.03 AND year_born = 1976 </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 player was born in 1978 and smaller than 1.92? ### Context: CREATE TABLE table_name_31 (current_club VARCHAR, height VARCHAR, year_born VARCHAR) [/INST] ### Response: SELECT current_club FROM table_name_31 WHERE height < 1.92 AND year_born > 1978 </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 year did The Adventures of Tintin come out? ### Context: CREATE TABLE table_name_17 (year INTEGER, film VARCHAR) [/INST] ### Response: SELECT SUM(year) FROM table_name_17 WHERE film = "the adventures of tintin" </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 did the movie Rango come out? ### Context: CREATE TABLE table_name_3 (year INTEGER, film VARCHAR) [/INST] ### Response: SELECT AVG(year) FROM table_name_3 WHERE film = "rango" </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 rank associated with a Height feet / m of 427 / 130? ### Context: CREATE TABLE table_name_76 (rank VARCHAR, height_feet___m VARCHAR) [/INST] ### Response: SELECT rank FROM table_name_76 WHERE height_feet___m = "427 / 130" </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 address in 1974? ### Context: CREATE TABLE table_name_42 (address VARCHAR, year VARCHAR) [/INST] ### Response: SELECT address FROM table_name_42 WHERE year = "1974" </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 earliest year for a car with 3 points and Cooper t20 chassis? ### Context: CREATE TABLE table_name_36 (year INTEGER, points VARCHAR, chassis VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_name_36 WHERE points = 3 AND chassis = "cooper t20" </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: Game 2 has how much attendance? ### Context: CREATE TABLE table_name_1 (attendance VARCHAR, game VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_1 WHERE game = 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 was the average attendance on October 12? ### Context: CREATE TABLE table_name_40 (attendance INTEGER, date VARCHAR) [/INST] ### Response: SELECT AVG(attendance) FROM table_name_40 WHERE date = "october 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: What is the name of the Home Captain for 23,24,25,26 july 1992? ### Context: CREATE TABLE table_name_7 (home_captain VARCHAR, date VARCHAR) [/INST] ### Response: SELECT home_captain FROM table_name_7 WHERE date = "23,24,25,26 july 1992" </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: Who is the Away Captain at headingley? ### Context: CREATE TABLE table_name_66 (away_captain VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT away_captain FROM table_name_66 WHERE venue = "headingley" </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 was a game played on 23,24,25,26 july 1992? ### Context: CREATE TABLE table_name_13 (venue VARCHAR, date VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_13 WHERE date = "23,24,25,26 july 1992" </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: Who was the Away Captain at The Oval? ### Context: CREATE TABLE table_name_86 (away_captain VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT away_captain FROM table_name_86 WHERE venue = "the oval" </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: Who is the Home Captain for 23,24,25,26 july 1992? ### Context: CREATE TABLE table_name_89 (home_captain VARCHAR, date VARCHAR) [/INST] ### Response: SELECT home_captain FROM table_name_89 WHERE date = "23,24,25,26 july 1992" </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 result for 23,24,25,26 july 1992? ### Context: CREATE TABLE table_name_58 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_58 WHERE date = "23,24,25,26 july 1992" </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 maximum number of losses that the Minnesota Kicks had after 1979 with an average attendance of 16,605? ### Context: CREATE TABLE table_name_40 (lost INTEGER, season VARCHAR, avg_attend VARCHAR) [/INST] ### Response: SELECT MAX(lost) FROM table_name_40 WHERE season > 1979 AND avg_attend = 16 OFFSET 605 </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 season did the Minnesota Kicks lose 13 games and scored 156 points? ### Context: CREATE TABLE table_name_34 (season VARCHAR, lost VARCHAR, points VARCHAR) [/INST] ### Response: SELECT COUNT(season) FROM table_name_34 WHERE lost = 13 AND points = 156 </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 losses did racing de santander, that scored less than 68 goals, had a goal difference of less than 23 and 10 draws? ### Context: CREATE TABLE table_name_25 (losses INTEGER, club VARCHAR, draws VARCHAR, goals_against VARCHAR, goal_difference VARCHAR) [/INST] ### Response: SELECT MAX(losses) FROM table_name_25 WHERE goals_against < 68 AND goal_difference < 23 AND draws = 10 AND club = "racing de santander" </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 goal difference that the club with 33-5 points and less than 12 wins? ### Context: CREATE TABLE table_name_52 (goal_difference INTEGER, points VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT MAX(goal_difference) FROM table_name_52 WHERE points = "33-5" AND wins < 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: What reactor type that has a commercial operation of β€”, and a tianwan-7 unit? ### Context: CREATE TABLE table_name_25 (reactor_type VARCHAR, commercial_operation VARCHAR, unit VARCHAR) [/INST] ### Response: SELECT reactor_type FROM table_name_25 WHERE commercial_operation = "β€”" AND unit = "tianwan-7" </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 net capacity with a gross capacity of 1,126 mw, and a Unit of tianwan-4? ### Context: CREATE TABLE table_name_74 (net_capacity VARCHAR, gross_capacity VARCHAR, unit VARCHAR) [/INST] ### Response: SELECT net_capacity FROM table_name_74 WHERE gross_capacity = "1,126 mw" AND unit = "tianwan-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 commercial operation that has a gross capacity of 1,126 mw, and a unit of tianwan-4? ### Context: CREATE TABLE table_name_95 (commercial_operation VARCHAR, gross_capacity VARCHAR, unit VARCHAR) [/INST] ### Response: SELECT commercial_operation FROM table_name_95 WHERE gross_capacity = "1,126 mw" AND unit = "tianwan-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 score has won as the result on the date of December 14, 2004? ### Context: CREATE TABLE table_name_49 (score VARCHAR, result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_49 WHERE result = "won" AND date = "december 14, 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 date has won as the result and 2-1 as the score with a competition of 2004 tiger cup third place match? ### Context: CREATE TABLE table_name_93 (date VARCHAR, competition VARCHAR, result VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_93 WHERE result = "won" AND score = "2-1" AND competition = "2004 tiger cup third place match" </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 score has january 15, 2005 as the date? ### Context: CREATE TABLE table_name_8 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_8 WHERE date = "january 15, 2005" </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 date has lost as the result and a competition of friendly with 1-2 as the score? ### Context: CREATE TABLE table_name_86 (date VARCHAR, score VARCHAR, result VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT date FROM table_name_86 WHERE result = "lost" AND competition = "friendly" AND score = "1-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 score has january 3, 2005 as the date? ### Context: CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_98 WHERE date = "january 3, 2005" </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 competition has may 5, 2001 as the date? ### Context: CREATE TABLE table_name_25 (competition VARCHAR, date VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_25 WHERE date = "may 5, 2001" </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: Who did the team lose to on September 8? ### Context: CREATE TABLE table_name_52 (loss VARCHAR, date VARCHAR) [/INST] ### Response: SELECT loss FROM table_name_52 WHERE date = "september 8" </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 order for a red list of 7 in the didelphidae family? ### Context: CREATE TABLE table_name_91 (order VARCHAR, red_list VARCHAR, family VARCHAR) [/INST] ### Response: SELECT order FROM table_name_91 WHERE red_list = 7 AND family = "didelphidae" </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 with a red lest less than 7? ### Context: CREATE TABLE table_name_51 (name VARCHAR, red_list INTEGER) [/INST] ### Response: SELECT name FROM table_name_51 WHERE red_list < 7 </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 family has the name of eastern cottontail? ### Context: CREATE TABLE table_name_57 (family VARCHAR, name VARCHAR) [/INST] ### Response: SELECT family FROM table_name_57 WHERE name = "eastern cottontail" </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 red list is in the artiodactyla order and the cervidae family with a Species Authority of odocoileus virginianus zimmermann, 1780? ### Context: CREATE TABLE table_name_22 (red_list VARCHAR, species_authority VARCHAR, order VARCHAR, family VARCHAR) [/INST] ### Response: SELECT red_list FROM table_name_22 WHERE order = "artiodactyla" AND family = "cervidae" AND species_authority = "odocoileus virginianus zimmermann, 1780" </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 for the red list of 7, the artiodactyla order, and Species Authority of cervus elaphus linnaeus, 1758? ### Context: CREATE TABLE table_name_4 (name VARCHAR, species_authority VARCHAR, red_list VARCHAR, order VARCHAR) [/INST] ### Response: SELECT name FROM table_name_4 WHERE red_list = 7 AND order = "artiodactyla" AND species_authority = "cervus elaphus linnaeus, 1758" </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 original name of the film that used the title Olympics 40 in nomination? ### Context: CREATE TABLE table_name_91 (original_name VARCHAR, film_title_used_in_nomination VARCHAR) [/INST] ### Response: SELECT original_name FROM table_name_91 WHERE film_title_used_in_nomination = "olympics 40" </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 title did the film from Colombia use in its nomination? ### Context: CREATE TABLE table_name_33 (film_title_used_in_nomination VARCHAR, country VARCHAR) [/INST] ### Response: SELECT film_title_used_in_nomination FROM table_name_33 WHERE country = "colombia" </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: Who directed the film originally named Bye Bye Brazil in Portuguese? ### Context: CREATE TABLE table_name_4 (director VARCHAR, language VARCHAR, original_name VARCHAR) [/INST] ### Response: SELECT director FROM table_name_4 WHERE language = "portuguese" AND original_name = "bye bye brazil" </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 country is the film directed by Jean-Luc Godard in French from? ### Context: CREATE TABLE table_name_19 (country VARCHAR, language VARCHAR, director VARCHAR) [/INST] ### Response: SELECT country FROM table_name_19 WHERE language = "french" AND director = "jean-luc godard" </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: Who is the director of the film in Italian? ### Context: CREATE TABLE table_name_92 (director VARCHAR, language VARCHAR) [/INST] ### Response: SELECT director FROM table_name_92 WHERE language = "italian" </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 status of Aden Theobald from the hometown of London? ### Context: CREATE TABLE table_name_48 (status VARCHAR, hometown VARCHAR, name VARCHAR) [/INST] ### Response: SELECT status FROM table_name_48 WHERE hometown = "london" AND name = "aden theobald" </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 Hasan Shah's hometown? ### Context: CREATE TABLE table_name_40 (hometown VARCHAR, name VARCHAR) [/INST] ### Response: SELECT hometown FROM table_name_40 WHERE name = "hasan shah" </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 series was Sam Evans on? ### Context: CREATE TABLE table_name_20 (series VARCHAR, name VARCHAR) [/INST] ### Response: SELECT series FROM table_name_20 WHERE name = "sam evans" </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 person from series bb1 with a hometown of Bolton? ### Context: CREATE TABLE table_name_69 (name VARCHAR, series VARCHAR, hometown VARCHAR) [/INST] ### Response: SELECT name FROM table_name_69 WHERE series = "bb1" AND hometown = "bolton" </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 occupation of the person with a hometown of Hampshire? ### Context: CREATE TABLE table_name_17 (occupation VARCHAR, hometown VARCHAR) [/INST] ### Response: SELECT occupation FROM table_name_17 WHERE hometown = "hampshire" </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 1st Party has an Election of 1849 by-election? ### Context: CREATE TABLE table_name_42 (election VARCHAR) [/INST] ### Response: SELECT 1 AS st_party FROM table_name_42 WHERE election = "1849 by-election" </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 2nd Party has an Election of 1837? ### Context: CREATE TABLE table_name_96 (election VARCHAR) [/INST] ### Response: SELECT 2 AS nd_party FROM table_name_96 WHERE election = "1837" </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 Type has a Fleet numbers of 2–8, 91–92, 97–100? ### Context: CREATE TABLE table_name_90 (type VARCHAR, fleet_numbers VARCHAR) [/INST] ### Response: SELECT type FROM table_name_90 WHERE fleet_numbers = "2–8, 91–92, 97–100" </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 has a Note of 45/48 renumbered 15/16; two sold to sl&ncr? ### Context: CREATE TABLE table_name_46 (date_made VARCHAR, notes VARCHAR) [/INST] ### Response: SELECT date_made FROM table_name_46 WHERE notes = "45/48 renumbered 15/16; two sold to sl&ncr" </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 Willingshain is Kirchheim 1,126? ### Context: CREATE TABLE table_name_71 (willingshain VARCHAR, kirchheim VARCHAR) [/INST] ### Response: SELECT willingshain FROM table_name_71 WHERE kirchheim = "1,126" </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 Rotterterrode has a Reimboldsh 80? ### Context: CREATE TABLE table_name_31 (rotterterode VARCHAR, reimboldsh VARCHAR) [/INST] ### Response: SELECT rotterterode FROM table_name_31 WHERE reimboldsh = "80" </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 Reimboldsh has Willingshain of 268 and Gersdorf 194? ### Context: CREATE TABLE table_name_24 (reimboldsh VARCHAR, willingshain VARCHAR, gersdorf VARCHAR) [/INST] ### Response: SELECT reimboldsh FROM table_name_24 WHERE willingshain = "268" AND gersdorf = "194" </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 Kemmerode has a Gersforf of 39? ### Context: CREATE TABLE table_name_68 (kemmerode VARCHAR, gersdorf VARCHAR) [/INST] ### Response: SELECT kemmerode FROM table_name_68 WHERE gersdorf = "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 Gershausen has a Willingshain of 243 and Reckerode of 224? ### Context: CREATE TABLE table_name_46 (gershausen VARCHAR, willingshain VARCHAR, reckerode_ VARCHAR) [/INST] ### Response: SELECT gershausen FROM table_name_46 WHERE willingshain = "243" AND reckerode_ * * * * = "224" </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 Willinghshain has Reimboldsh of 101? ### Context: CREATE TABLE table_name_27 (willingshain VARCHAR, reimboldsh VARCHAR) [/INST] ### Response: SELECT willingshain FROM table_name_27 WHERE reimboldsh = "101" </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 pts for 2004, and the ro event? ### Context: CREATE TABLE table_name_6 (pts VARCHAR, year VARCHAR, event VARCHAR) [/INST] ### Response: SELECT pts FROM table_name_6 WHERE year = "2004" AND event = "ro" </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 pos from 2003, and the f event? ### Context: CREATE TABLE table_name_64 (pos VARCHAR, year VARCHAR, event VARCHAR) [/INST] ### Response: SELECT pos FROM table_name_64 WHERE year = "2003" AND event = "f" </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 Catalog Number is for the Japan region? ### Context: CREATE TABLE table_name_59 (catalog VARCHAR, region VARCHAR) [/INST] ### Response: SELECT catalog FROM table_name_59 WHERE region = "japan" </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 date on Catalog 540,934-2? ### Context: CREATE TABLE table_name_9 (date VARCHAR, catalog VARCHAR) [/INST] ### Response: SELECT date FROM table_name_9 WHERE catalog = "540,934-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 region for Catalog amlh 66078 in stereo lp format? ### Context: CREATE TABLE table_name_49 (region VARCHAR, format VARCHAR, catalog VARCHAR) [/INST] ### Response: SELECT region FROM table_name_49 WHERE format = "stereo lp" AND catalog = "amlh 66078" </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 region for Catalog amlh 66078 in stereo lp format? ### Context: CREATE TABLE table_name_68 (region VARCHAR, format VARCHAR, catalog VARCHAR) [/INST] ### Response: SELECT region FROM table_name_68 WHERE format = "stereo lp" AND catalog = "amlh 66078" </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 Catalog number for the region of Japan? ### Context: CREATE TABLE table_name_91 (catalog VARCHAR, region VARCHAR) [/INST] ### Response: SELECT catalog FROM table_name_91 WHERE region = "japan" </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 region of the Catalog that is in cd format and has a label a&m/canyon? ### Context: CREATE TABLE table_name_49 (region VARCHAR, format VARCHAR, label VARCHAR) [/INST] ### Response: SELECT region FROM table_name_49 WHERE format = "cd" AND label = "a&m/canyon" </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 original team that was Hired by Trump (5-19-2005)? ### Context: CREATE TABLE table_name_84 (original_team VARCHAR, result VARCHAR) [/INST] ### Response: SELECT original_team FROM table_name_84 WHERE result = "hired by trump (5-19-2005)" </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: Who is the candidate that had 10 fired in week 2 (1-27-2005)? ### Context: CREATE TABLE table_name_45 (candidate VARCHAR, result VARCHAR) [/INST] ### Response: SELECT candidate FROM table_name_45 WHERE result = "10 fired in week 2 (1-27-2005)" </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 hometown of the candidate that had a result of 10 fired in week 6 (2-24-2005)? ### Context: CREATE TABLE table_name_10 (hometown VARCHAR, result VARCHAR) [/INST] ### Response: SELECT hometown FROM table_name_10 WHERE result = "10 fired in week 6 (2-24-2005)" </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 totals tournament has the lowest wins and top-25 less than 4? ### Context: CREATE TABLE table_name_66 (wins INTEGER, tournament VARCHAR, top_25 VARCHAR) [/INST] ### Response: SELECT MIN(wins) FROM table_name_66 WHERE tournament = "totals" AND top_25 < 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 average number of events of PGA Championship tournaments with a top-5 less than 0? ### Context: CREATE TABLE table_name_27 (events INTEGER, top_5 VARCHAR, top_10 VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT AVG(events) FROM table_name_27 WHERE top_10 = 0 AND tournament = "pga championship" AND top_5 < 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: Name the competition for stephanie cox on 2011-07-02 ### Context: CREATE TABLE table_name_64 (competition VARCHAR, assist_pass VARCHAR, date VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_64 WHERE assist_pass = "stephanie cox" AND date = "2011-07-02" </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 lineup for washington dc ### Context: CREATE TABLE table_name_21 (lineup VARCHAR, location VARCHAR) [/INST] ### Response: SELECT lineup FROM table_name_21 WHERE location = "washington dc" </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 date for faro ### Context: CREATE TABLE table_name_33 (date VARCHAR, location VARCHAR) [/INST] ### Response: SELECT date FROM table_name_33 WHERE location = "faro" </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 rank that has fao as a source and an out greater than 50, with dietary calorie intake as the name? ### Context: CREATE TABLE table_name_98 (rank INTEGER, name VARCHAR, source VARCHAR, out_of VARCHAR) [/INST] ### Response: SELECT MAX(rank) FROM table_name_98 WHERE source = "fao" AND out_of > 50 AND name = "dietary calorie intake" </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 average rank that has cia world factbook as the source and a year prior to 2005? ### Context: CREATE TABLE table_name_29 (rank INTEGER, source VARCHAR, year VARCHAR) [/INST] ### Response: SELECT AVG(rank) FROM table_name_29 WHERE source = "cia world factbook" AND year < 2005 </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 were the least points with a Coloni FC88 chassis? ### Context: CREATE TABLE table_name_43 (points INTEGER, chassis VARCHAR) [/INST] ### Response: SELECT MIN(points) FROM table_name_43 WHERE chassis = "coloni fc88" </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 years was the chassis a Coloni C3? ### Context: CREATE TABLE table_name_51 (year VARCHAR, chassis VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_name_51 WHERE chassis = "coloni c3" </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 most points for Coloni Spa? ### Context: CREATE TABLE table_name_78 (points INTEGER, entrant VARCHAR) [/INST] ### Response: SELECT MAX(points) FROM table_name_78 WHERE entrant = "coloni spa" </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 team 1 had a team 2 of Asante Kotoko? ### Context: CREATE TABLE table_name_79 (team_1 VARCHAR, team_2 VARCHAR) [/INST] ### Response: SELECT team_1 FROM table_name_79 WHERE team_2 = "asante kotoko" </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 team 1 had a team 2 of Hafia FC? ### Context: CREATE TABLE table_name_87 (team_1 VARCHAR, team_2 VARCHAR) [/INST] ### Response: SELECT team_1 FROM table_name_87 WHERE team_2 = "hafia fc" </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 aggregate for the match with a team 2 of Hafia FC? ### Context: CREATE TABLE table_name_98 (agg VARCHAR, team_2 VARCHAR) [/INST] ### Response: SELECT agg FROM table_name_98 WHERE team_2 = "hafia fc" </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 J.P. Viernes' last performance? ### Context: CREATE TABLE table_name_26 (last_performance VARCHAR, name VARCHAR) [/INST] ### Response: SELECT last_performance FROM table_name_26 WHERE name = "j.p. viernes" </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 Chinese name of the wudaokou station? ### Context: CREATE TABLE table_name_85 (chinese_name VARCHAR, station_name VARCHAR) [/INST] ### Response: SELECT chinese_name FROM table_name_85 WHERE station_name = "wudaokou" </s>