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 was the away team's score at the match played at The Western Oval? ### Context: CREATE TABLE table_name_62 (away_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_62 WHERE venue = "western 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: What air date has a red winner and an emergency braking challenge? ### Context: CREATE TABLE table_name_39 (air_date VARCHAR, winner VARCHAR, challenge VARCHAR) [/INST] ### Response: SELECT air_date FROM table_name_39 WHERE winner = "red" AND challenge = "emergency braking" </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: On which air date was Robert the test-taker? ### Context: CREATE TABLE table_name_31 (air_date VARCHAR, test_taker VARCHAR) [/INST] ### Response: SELECT air_date FROM table_name_31 WHERE test_taker = "robert" </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 of citizenship has a stock car vehicle with a year of 1999? ### Context: CREATE TABLE table_name_78 (nation_of_citizenship VARCHAR, type_of_vehicle VARCHAR, year VARCHAR) [/INST] ### Response: SELECT nation_of_citizenship FROM table_name_78 WHERE type_of_vehicle = "stock car" AND year = 1999 </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 driver has a stock car vehicle with a year of 1999? ### Context: CREATE TABLE table_name_71 (driver VARCHAR, type_of_vehicle VARCHAR, year VARCHAR) [/INST] ### Response: SELECT driver FROM table_name_71 WHERE type_of_vehicle = "stock car" AND year = 1999 </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 of citizenship has a stock car vehicle with a year of 2012? ### Context: CREATE TABLE table_name_13 (nation_of_citizenship VARCHAR, type_of_vehicle VARCHAR, year VARCHAR) [/INST] ### Response: SELECT nation_of_citizenship FROM table_name_13 WHERE type_of_vehicle = "stock car" AND 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: What year has the vehicle of open wheel and a racing series of formula one with a Nation of citizenship in Germany. ### Context: CREATE TABLE table_name_90 (year VARCHAR, nation_of_citizenship VARCHAR, type_of_vehicle VARCHAR, racing_series VARCHAR) [/INST] ### Response: SELECT year FROM table_name_90 WHERE type_of_vehicle = "open wheel" AND racing_series = "formula one" AND nation_of_citizenship = "germany" </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: On what Route is the mountain with a Rank less than 33 and an Elevation of 11,312 feet 3448 m? ### Context: CREATE TABLE table_name_60 (route INTEGER, rank VARCHAR, elevation VARCHAR) [/INST] ### Response: SELECT MAX(route) FROM table_name_60 WHERE rank < 33 AND elevation = "11,312 feet 3448 m" </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 Surface of the Route less than 7? ### Context: CREATE TABLE table_name_68 (surface VARCHAR, route INTEGER) [/INST] ### Response: SELECT surface FROM table_name_68 WHERE route < 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 is the Mountain Pass with a 21 Rank? ### Context: CREATE TABLE table_name_87 (mountain_pass VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT mountain_pass FROM table_name_87 WHERE rank = 21 </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 Elevation of the mountain on Route 62? ### Context: CREATE TABLE table_name_1 (elevation VARCHAR, route VARCHAR) [/INST] ### Response: SELECT elevation FROM table_name_1 WHERE route = 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 Mountain Pass has an Elevation of 10,001 feet 3048 m? ### Context: CREATE TABLE table_name_44 (mountain_pass VARCHAR, elevation VARCHAR) [/INST] ### Response: SELECT mountain_pass FROM table_name_44 WHERE elevation = "10,001 feet 3048 m" </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 Score has a Visitor of ny rangers, and a Record of 19–28–15? ### Context: CREATE TABLE table_name_19 (score VARCHAR, visitor VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_19 WHERE visitor = "ny rangers" AND record = "19–28–15" </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 Score has a Date of february 9? ### Context: CREATE TABLE table_name_24 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_24 WHERE date = "february 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 Game site has a Kickoff (ET) of 1:00pm, and a Record of 4–1? ### Context: CREATE TABLE table_name_18 (game_site VARCHAR, kickoff__et_ VARCHAR, record VARCHAR) [/INST] ### Response: SELECT game_site FROM table_name_18 WHERE kickoff__et_ = "1:00pm" AND record = "4–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: Which Opponent has a Game site of heinz field, and a Record of 3–1? ### Context: CREATE TABLE table_name_7 (opponent VARCHAR, game_site VARCHAR, record VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_7 WHERE game_site = "heinz field" AND record = "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: Which Kickoff (ET) has a Result of w 34–23? ### Context: CREATE TABLE table_name_67 (kickoff__et_ VARCHAR, result VARCHAR) [/INST] ### Response: SELECT kickoff__et_ FROM table_name_67 WHERE result = "w 34–23" </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 Floors have a Location of ljubljana, and a Name of tr3? ### Context: CREATE TABLE table_name_61 (floors VARCHAR, location VARCHAR, name VARCHAR) [/INST] ### Response: SELECT floors FROM table_name_61 WHERE location = "ljubljana" AND name = "tr3" </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 Rank is the lowest one that has a Name of maribor cathedral? ### Context: CREATE TABLE table_name_27 (rank INTEGER, name VARCHAR) [/INST] ### Response: SELECT MIN(rank) FROM table_name_27 WHERE name = "maribor cathedral" </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 Name has a Location of ljubljana? ### Context: CREATE TABLE table_name_32 (name VARCHAR, location VARCHAR) [/INST] ### Response: SELECT name FROM table_name_32 WHERE location = "ljubljana" </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 Height Metres / feet has a Rank of 8, and Floors of 3x17? ### Context: CREATE TABLE table_name_18 (height_metres___feet VARCHAR, rank VARCHAR, floors VARCHAR) [/INST] ### Response: SELECT height_metres___feet FROM table_name_18 WHERE rank = 8 AND floors = "3x17" </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 time for Moscow, Russia? ### Context: CREATE TABLE table_name_62 (time VARCHAR, location VARCHAR) [/INST] ### Response: SELECT time FROM table_name_62 WHERE location = "moscow, 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: Who was the opponent in London, England in a round less than 2? ### Context: CREATE TABLE table_name_62 (opponent VARCHAR, location VARCHAR, round VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_62 WHERE location = "london, england" AND round < 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 method for opponent of Ivan Serati? ### Context: CREATE TABLE table_name_94 (method VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT method FROM table_name_94 WHERE opponent = "ivan serati" </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 event had an opponent of Yasuhito Namekawa with a decision method? ### Context: CREATE TABLE table_name_35 (event VARCHAR, opponent VARCHAR, method VARCHAR) [/INST] ### Response: SELECT event FROM table_name_35 WHERE opponent = "yasuhito namekawa" AND method = "decision" </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 time for an opponent of Satoshi Honma? ### Context: CREATE TABLE table_name_78 (time VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT time FROM table_name_78 WHERE opponent = "satoshi honma" </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 manufacturer serial number of the 1963 withdrawn year? ### Context: CREATE TABLE table_name_86 (manufacturer_serial_numbers VARCHAR, year_s__withdrawn VARCHAR) [/INST] ### Response: SELECT manufacturer_serial_numbers FROM table_name_86 WHERE year_s__withdrawn = "1963" </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 year the MRWA with a wheel arrangement of 4-6-2 was introduced? ### Context: CREATE TABLE table_name_76 (year_introduced_mrwa VARCHAR, wheel_arrangement VARCHAR) [/INST] ### Response: SELECT year_introduced_mrwa FROM table_name_76 WHERE wheel_arrangement = "4-6-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 College/Junior/Club Team (League) has 6 as the Round? ### Context: CREATE TABLE table_name_34 (college_junior_club_team__league_ VARCHAR, round VARCHAR) [/INST] ### Response: SELECT college_junior_club_team__league_ FROM table_name_34 WHERE round = 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: Which Player has United States as Nationality, forward as Position and a greater than 5 Round? ### Context: CREATE TABLE table_name_7 (player VARCHAR, round VARCHAR, nationality VARCHAR, position VARCHAR) [/INST] ### Response: SELECT player FROM table_name_7 WHERE nationality = "united states" AND position = "forward" AND round > 5 </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 total number of round for wide receiver for kent state ### Context: CREATE TABLE table_name_51 (round VARCHAR, position VARCHAR, college VARCHAR) [/INST] ### Response: SELECT COUNT(round) FROM table_name_51 WHERE position = "wide receiver" AND college = "kent 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 episode is called jewboy ### Context: CREATE TABLE table_name_20 (episodes VARCHAR, title VARCHAR) [/INST] ### Response: SELECT episodes FROM table_name_20 WHERE title = "jewboy" </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: Tell me the date with result of won 1-0 ### Context: CREATE TABLE table_name_13 (date VARCHAR, result VARCHAR) [/INST] ### Response: SELECT date FROM table_name_13 WHERE result = "won 1-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 attendance with result of won 1-0 ### Context: CREATE TABLE table_name_27 (attendance VARCHAR, result VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_27 WHERE result = "won 1-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 venue for staines town ### Context: CREATE TABLE table_name_43 (venue VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_43 WHERE opponent = "staines town" </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 Region has a Catalog of kem 072? ### Context: CREATE TABLE table_name_98 (region VARCHAR, catalog VARCHAR) [/INST] ### Response: SELECT region FROM table_name_98 WHERE catalog = "kem 072" </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 Region has a Format of cd album, and a Label of kemado records, and a Catalog of kem 071? ### Context: CREATE TABLE table_name_20 (region VARCHAR, catalog VARCHAR, format VARCHAR, label VARCHAR) [/INST] ### Response: SELECT region FROM table_name_20 WHERE format = "cd album" AND label = "kemado records" AND catalog = "kem 071" </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 Format has a Date of may 24, 2008? ### Context: CREATE TABLE table_name_44 (format VARCHAR, date VARCHAR) [/INST] ### Response: SELECT format FROM table_name_44 WHERE date = "may 24, 2008" </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 Format has a Region of united states, and a Catalog of kem 072? ### Context: CREATE TABLE table_name_61 (format VARCHAR, region VARCHAR, catalog VARCHAR) [/INST] ### Response: SELECT format FROM table_name_61 WHERE region = "united states" AND catalog = "kem 072" </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 Label has a Region of united states, and a Format of lp album? ### Context: CREATE TABLE table_name_67 (label VARCHAR, region VARCHAR, format VARCHAR) [/INST] ### Response: SELECT label FROM table_name_67 WHERE region = "united states" AND format = "lp album" </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 Format has a Label of toy's factory records? ### Context: CREATE TABLE table_name_93 (format VARCHAR, label VARCHAR) [/INST] ### Response: SELECT format FROM table_name_93 WHERE label = "toy's factory records" </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 result's venue was in Rotterdam, Netherlands? ### Context: CREATE TABLE table_name_14 (result VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT result FROM table_name_14 WHERE venue = "rotterdam, netherlands" </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 district of wallasey ### Context: CREATE TABLE table_name_57 (district VARCHAR, name VARCHAR) [/INST] ### Response: SELECT district FROM table_name_57 WHERE name = "wallasey" </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 attendance at a week 4 game? ### Context: CREATE TABLE table_name_97 (attendance INTEGER, week VARCHAR) [/INST] ### Response: SELECT AVG(attendance) FROM table_name_97 WHERE week = 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 venue held that game with a result of l 24–14? ### Context: CREATE TABLE table_name_43 (venue VARCHAR, result VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_43 WHERE result = "l 24–14" </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 week of the game on November 22, 1964 attended by 48,065? ### Context: CREATE TABLE table_name_53 (week INTEGER, date VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT AVG(week) FROM table_name_53 WHERE date = "november 22, 1964" AND attendance > 48 OFFSET 065 </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 name had more than 5 rounds and was a defensive end? ### Context: CREATE TABLE table_name_51 (name VARCHAR, round VARCHAR, position VARCHAR) [/INST] ### Response: SELECT name FROM table_name_51 WHERE round > 5 AND position = "defensive end" </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 overall's pick number was 14? ### Context: CREATE TABLE table_name_65 (overall VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT overall FROM table_name_65 WHERE pick__number = 14 </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 highest pick number had Akeem Dent as a name and where the overall was less than 91? ### Context: CREATE TABLE table_name_24 (pick__number INTEGER, name VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT MAX(pick__number) FROM table_name_24 WHERE name = "akeem dent" AND overall < 91 </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 Points have an Opponent of @ los angeles kings and a Game larger than 4? ### Context: CREATE TABLE table_name_89 (points INTEGER, opponent VARCHAR, game VARCHAR) [/INST] ### Response: SELECT AVG(points) FROM table_name_89 WHERE opponent = "@ los angeles kings" AND game > 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: Which October has a Record of 5–1–0, and a Game larger than 6? ### Context: CREATE TABLE table_name_2 (october INTEGER, record VARCHAR, game VARCHAR) [/INST] ### Response: SELECT AVG(october) FROM table_name_2 WHERE record = "5–1–0" AND game > 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: which playoffs took place during 2011? ### Context: CREATE TABLE table_name_88 (playoffs VARCHAR, year VARCHAR) [/INST] ### Response: SELECT playoffs FROM table_name_88 WHERE year = "2011" </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 open cup was in 2012? ### Context: CREATE TABLE table_name_36 (open_cup VARCHAR, year VARCHAR) [/INST] ### Response: SELECT open_cup FROM table_name_36 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: when did the usl a-league have conference finals? ### Context: CREATE TABLE table_name_56 (year VARCHAR, league VARCHAR, playoffs VARCHAR) [/INST] ### Response: SELECT year FROM table_name_56 WHERE league = "usl a-league" AND playoffs = "conference finals" </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 opponent has an average less than 62 and a January average less than 6 ### Context: CREATE TABLE table_name_34 (opponent VARCHAR, points VARCHAR, january VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_34 WHERE points < 62 AND january < 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 the average for January with points of 51 ### Context: CREATE TABLE table_name_7 (january VARCHAR, points VARCHAR) [/INST] ### Response: SELECT january FROM table_name_7 WHERE points = 51 </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 vuts made for a player with 2 wins and under 7 top 5s? ### Context: CREATE TABLE table_name_96 (cuts_made INTEGER, wins VARCHAR, top_5 VARCHAR) [/INST] ### Response: SELECT AVG(cuts_made) FROM table_name_96 WHERE wins = 2 AND top_5 < 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: How many top 10s associated with 3 top 5s and under 22 cuts made? ### Context: CREATE TABLE table_name_13 (top_10 INTEGER, top_5 VARCHAR, cuts_made VARCHAR) [/INST] ### Response: SELECT MAX(top_10) FROM table_name_13 WHERE top_5 = 3 AND cuts_made < 22 </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 10s when he had under 1 top 5s? ### Context: CREATE TABLE table_name_61 (top_10 INTEGER, top_5 INTEGER) [/INST] ### Response: SELECT SUM(top_10) FROM table_name_61 WHERE top_5 < 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 loss has 26-9 as a loss? ### Context: CREATE TABLE table_name_96 (loss VARCHAR, record VARCHAR) [/INST] ### Response: SELECT loss FROM table_name_96 WHERE record = "26-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 was their record when they were at Pittsburgh? ### Context: CREATE TABLE table_name_68 (record VARCHAR, home VARCHAR) [/INST] ### Response: SELECT record FROM table_name_68 WHERE home = "pittsburgh" </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 their record on February 24? ### Context: CREATE TABLE table_name_46 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_46 WHERE date = "february 24" </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: Driver Shaun Jones with a viper as a chassis is in what class? ### Context: CREATE TABLE table_name_96 (class VARCHAR, chassis VARCHAR, driver VARCHAR) [/INST] ### Response: SELECT class FROM table_name_96 WHERE chassis = "viper" AND driver = "shaun jones" </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 driver with a rotax max engine, in the rotax heavy class, with arrow as chassis and on the TWR Raceline Seating team? ### Context: CREATE TABLE table_name_32 (driver VARCHAR, team VARCHAR, chassis VARCHAR, engine VARCHAR, class VARCHAR) [/INST] ### Response: SELECT driver FROM table_name_32 WHERE engine = "rotax max" AND class = "rotax heavy" AND chassis = "arrow" AND team = "twr raceline seating" </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 type of engine does the BF Racing Marron Excavations have that also has Monaco as chassis and Lee Filliponi as the driver? ### Context: CREATE TABLE table_name_94 (engine VARCHAR, driver VARCHAR, team VARCHAR, chassis VARCHAR) [/INST] ### Response: SELECT engine FROM table_name_94 WHERE team = "bf racing marron excavations" AND chassis = "monaco" AND driver = "lee filliponi" </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 does Colin Moore drive for? ### Context: CREATE TABLE table_name_12 (team VARCHAR, driver VARCHAR) [/INST] ### Response: SELECT team FROM table_name_12 WHERE driver = "colin moore" </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 team whose class is Rotax Light? ### Context: CREATE TABLE table_name_95 (team VARCHAR, class VARCHAR) [/INST] ### Response: SELECT team FROM table_name_95 WHERE class = "rotax light" </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 company launched in 1996 and has a Hanzi of 净凰卫视中文台? ### Context: CREATE TABLE table_name_36 (name VARCHAR, launch VARCHAR, hanzi VARCHAR) [/INST] ### Response: SELECT name FROM table_name_36 WHERE launch = "1996" AND hanzi = "净凰卫视中文台" </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 did the Hanzi of 净凰卫视甡影台 originate? ### Context: CREATE TABLE table_name_62 (origin VARCHAR, hanzi VARCHAR) [/INST] ### Response: SELECT origin FROM table_name_62 WHERE hanzi = "净凰卫视甡影台" </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 Hanzi of Hong Kong in 1998? ### Context: CREATE TABLE table_name_46 (hanzi VARCHAR, origin VARCHAR, launch VARCHAR) [/INST] ### Response: SELECT hanzi FROM table_name_46 WHERE origin = "hong kong" AND launch = "1998" </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 Hanzi of Phoenix Television Chinese that launched in 1996? ### Context: CREATE TABLE table_name_69 (hanzi VARCHAR, launch VARCHAR, name VARCHAR) [/INST] ### Response: SELECT hanzi FROM table_name_69 WHERE launch = "1996" AND name = "phoenix television chinese" </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 Against is the highest one that has a Difference of 12? ### Context: CREATE TABLE table_name_14 (against INTEGER, difference VARCHAR) [/INST] ### Response: SELECT MAX(against) FROM table_name_14 WHERE difference = "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: Which average Played has a Drawn smaller than 1, and Points larger than 4? ### Context: CREATE TABLE table_name_83 (played INTEGER, drawn VARCHAR, points VARCHAR) [/INST] ### Response: SELECT AVG(played) FROM table_name_83 WHERE drawn < 1 AND points > 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: Which Position has a Played larger than 9? ### Context: CREATE TABLE table_name_32 (position INTEGER, played INTEGER) [/INST] ### Response: SELECT SUM(position) FROM table_name_32 WHERE played > 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 Lost is the highest one that has a Drawn smaller than 4, and a Played smaller than 9? ### Context: CREATE TABLE table_name_93 (lost INTEGER, drawn VARCHAR, played VARCHAR) [/INST] ### Response: SELECT MAX(lost) FROM table_name_93 WHERE drawn < 4 AND played < 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 Points is the highest one that has a Position of 1, and a Lost smaller than 0? ### Context: CREATE TABLE table_name_60 (points INTEGER, position VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT MAX(points) FROM table_name_60 WHERE position = 1 AND lost < 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: Which District has a First Elected of 1904 and an Incumbent of Duncan E. Mckinlay? ### Context: CREATE TABLE table_name_31 (district VARCHAR, first_elected VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT district FROM table_name_31 WHERE first_elected = 1904 AND incumbent = "duncan e. mckinlay" </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 highest First Elected with a Result of Re-elected and DIstrict of California 5? ### Context: CREATE TABLE table_name_21 (first_elected INTEGER, result VARCHAR, district VARCHAR) [/INST] ### Response: SELECT MAX(first_elected) FROM table_name_21 WHERE result = "re-elected" AND district = "california 5" </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 Incumbent has a District of California 8? ### Context: CREATE TABLE table_name_75 (incumbent VARCHAR, district VARCHAR) [/INST] ### Response: SELECT incumbent FROM table_name_75 WHERE district = "california 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: Which District has a Result of Re-elected and a First Elected of 1898? ### Context: CREATE TABLE table_name_95 (district VARCHAR, result VARCHAR, first_elected VARCHAR) [/INST] ### Response: SELECT district FROM table_name_95 WHERE result = "re-elected" AND first_elected = 1898 </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 Incumbent has a District of California 5? ### Context: CREATE TABLE table_name_99 (incumbent VARCHAR, district VARCHAR) [/INST] ### Response: SELECT incumbent FROM table_name_99 WHERE district = "california 5" </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 venue for friendly competition october 16, 2012 ### Context: CREATE TABLE table_name_89 (venue VARCHAR, competition VARCHAR, date VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_89 WHERE competition = "friendly" AND date = "october 16, 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: Name the date for score of 1-5 ### Context: CREATE TABLE table_name_38 (date VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_38 WHERE score = "1-5" </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 Gold has the Year of 1994? ### Context: CREATE TABLE table_name_68 (gold VARCHAR, year VARCHAR) [/INST] ### Response: SELECT gold FROM table_name_68 WHERE year = 1994 </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 lowest Year with the Location of Bangkok? ### Context: CREATE TABLE table_name_22 (year INTEGER, location VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_name_22 WHERE location = "bangkok" </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 Silver has the Location of Guangzhou? ### Context: CREATE TABLE table_name_17 (silver VARCHAR, location VARCHAR) [/INST] ### Response: SELECT silver FROM table_name_17 WHERE location = "guangzhou" </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 Gold has the Year of 2006? ### Context: CREATE TABLE table_name_56 (gold VARCHAR, year VARCHAR) [/INST] ### Response: SELECT gold FROM table_name_56 WHERE year = 2006 </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 Silver has a Golf of Li AO? ### Context: CREATE TABLE table_name_20 (silver VARCHAR, gold VARCHAR) [/INST] ### Response: SELECT silver FROM table_name_20 WHERE gold = "li ao" </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 Bronze with the Year of 1998? ### Context: CREATE TABLE table_name_52 (bronze VARCHAR, year VARCHAR) [/INST] ### Response: SELECT bronze FROM table_name_52 WHERE year = 1998 </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 silver medals for countries with 0 gold and rank under 3? ### Context: CREATE TABLE table_name_73 (silver INTEGER, gold VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT AVG(silver) FROM table_name_73 WHERE gold = 0 AND rank < 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 is the average gold medals for countries with more than 0 bronze, more than 0 silver, rank over 2 and total over 3? ### Context: CREATE TABLE table_name_56 (gold INTEGER, total VARCHAR, rank VARCHAR, bronze VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT AVG(gold) FROM table_name_56 WHERE bronze > 0 AND silver > 0 AND rank > 2 AND total > 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 team had 10 Labs and the Driver was Alex Yoong? ### Context: CREATE TABLE table_name_24 (team VARCHAR, laps VARCHAR, driver VARCHAR) [/INST] ### Response: SELECT team FROM table_name_24 WHERE laps = 10 AND driver = "alex yoong" </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 Grid number for the Team from Italy? ### Context: CREATE TABLE table_name_87 (grid VARCHAR, team VARCHAR) [/INST] ### Response: SELECT COUNT(grid) FROM table_name_87 WHERE team = "italy" </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: For what Team is Narain Karthikeyan the Driver? ### Context: CREATE TABLE table_name_14 (team VARCHAR, driver VARCHAR) [/INST] ### Response: SELECT team FROM table_name_14 WHERE driver = "narain karthikeyan" </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 award has the category of the best direction of a musical? ### Context: CREATE TABLE table_name_69 (award VARCHAR, category VARCHAR) [/INST] ### Response: SELECT award FROM table_name_69 WHERE category = "best direction of a musical" </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: With a Date of 22 July, what is the Winning team? ### Context: CREATE TABLE table_name_43 (winning_team VARCHAR, date VARCHAR) [/INST] ### Response: SELECT winning_team FROM table_name_43 WHERE date = "22 july" </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 Winning team has 22 July as a Date? ### Context: CREATE TABLE table_name_79 (winning_team VARCHAR, date VARCHAR) [/INST] ### Response: SELECT winning_team FROM table_name_79 WHERE date = "22 july" </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 Winning Driver that has a Winning team of Engstler Motorsport Engstler Motorsport and also the Date 22 July? ### Context: CREATE TABLE table_name_55 (winning_driver VARCHAR, winning_team VARCHAR, date VARCHAR) [/INST] ### Response: SELECT winning_driver FROM table_name_55 WHERE winning_team = "engstler motorsport engstler motorsport" AND date = "22 july" </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 Round was the Winning Team Engstler Motorsport Maurer Motorsport? ### Context: CREATE TABLE table_name_26 (round VARCHAR, winning_team VARCHAR) [/INST] ### Response: SELECT round FROM table_name_26 WHERE winning_team = "engstler motorsport maurer motorsport" </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(s) was drafted by the Pittsburgh Penguins? ### Context: CREATE TABLE table_name_52 (player VARCHAR, nhl_team VARCHAR) [/INST] ### Response: SELECT player FROM table_name_52 WHERE nhl_team = "pittsburgh penguins" </s>