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: On what Date was the Score in Final 6–3, 6–3? ### Context: CREATE TABLE table_name_70 (date VARCHAR, score_in_final VARCHAR) [/INST] ### Response: SELECT date FROM table_name_70 WHERE score_in_final = "6–3, 6–3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the Opponents in Final during the match with a Score in Final of 6–4, 3–6, 5–7? ### Context: CREATE TABLE table_name_5 (opponents_in_final VARCHAR, score_in_final VARCHAR) [/INST] ### Response: SELECT opponents_in_final FROM table_name_5 WHERE score_in_final = "6–4, 3–6, 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 seasons took place in aspen, usa? ### Context: CREATE TABLE table_name_34 (season VARCHAR, location VARCHAR) [/INST] ### Response: SELECT COUNT(season) FROM table_name_34 WHERE location = "aspen, usa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 place was earned on 12 feb 2012? ### Context: CREATE TABLE table_name_93 (place VARCHAR, date VARCHAR) [/INST] ### Response: SELECT place FROM table_name_93 WHERE date = "12 feb 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: Where was the race on 28 dec 2010 held? ### Context: CREATE TABLE table_name_69 (location VARCHAR, date VARCHAR) [/INST] ### Response: SELECT location FROM table_name_69 WHERE date = "28 dec 2010" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 overall length with a designation of s-8ko? ### Context: CREATE TABLE table_name_38 (length_overall VARCHAR, designation VARCHAR) [/INST] ### Response: SELECT length_overall FROM table_name_38 WHERE designation = "s-8ko" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 designation has a launch weight of 11.3kg? ### Context: CREATE TABLE table_name_37 (designation VARCHAR, launch_weight VARCHAR) [/INST] ### Response: SELECT designation FROM table_name_37 WHERE launch_weight = "11.3kg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has an overall length of 1.605 m? ### Context: CREATE TABLE table_name_92 (type VARCHAR, length_overall VARCHAR) [/INST] ### Response: SELECT type FROM table_name_92 WHERE length_overall = "1.605 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: How many touchdowns were made where field goals were less than 0? ### Context: CREATE TABLE table_name_81 (touchdowns INTEGER, field_goals INTEGER) [/INST] ### Response: SELECT SUM(touchdowns) FROM table_name_81 WHERE field_goals < 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: While Duncan Thompson played, how many points did he have where there were 0 field goals, 0 extra points, and more than 9 touchdowns? ### Context: CREATE TABLE table_name_86 (points INTEGER, player VARCHAR, extra_points VARCHAR, field_goals VARCHAR, touchdowns VARCHAR) [/INST] ### Response: SELECT AVG(points) FROM table_name_86 WHERE field_goals = 0 AND touchdowns > 9 AND extra_points = 0 AND player = "duncan thompson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Herb Graver played, how many field goals were made when there were more than 50 points, less than 15 touchdowns, and more than 0 extra points? ### Context: CREATE TABLE table_name_87 (field_goals INTEGER, touchdowns VARCHAR, player VARCHAR, points VARCHAR, extra_points VARCHAR) [/INST] ### Response: SELECT AVG(field_goals) FROM table_name_87 WHERE points > 50 AND extra_points > 0 AND player = "herb graver" AND touchdowns < 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: How many field goals were there, where the points where less than 45 and there were less than 15 touchdowns? ### Context: CREATE TABLE table_name_79 (field_goals INTEGER, touchdowns VARCHAR, points VARCHAR) [/INST] ### Response: SELECT AVG(field_goals) FROM table_name_79 WHERE touchdowns < 15 AND points < 45 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position of the race with a point of test driver? ### Context: CREATE TABLE table_name_70 (position VARCHAR, points VARCHAR) [/INST] ### Response: SELECT position FROM table_name_70 WHERE points = "test driver" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many wins did team Kolles & Heinz union, with f/laps of 0, have in the Formula Three Euroseries? ### Context: CREATE TABLE table_name_16 (wins VARCHAR, team VARCHAR, f_laps VARCHAR, series VARCHAR) [/INST] ### Response: SELECT wins FROM table_name_16 WHERE f_laps = "0" AND series = "formula three euroseries" AND team = "kolles & heinz union" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series has 4 f/laps? ### Context: CREATE TABLE table_name_58 (series VARCHAR, f_laps VARCHAR) [/INST] ### Response: SELECT series FROM table_name_58 WHERE f_laps = "4" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many wins did Team Autotecnica, with 0 podiums, have? ### Context: CREATE TABLE table_name_82 (wins VARCHAR, podiums VARCHAR, team VARCHAR) [/INST] ### Response: SELECT wins FROM table_name_82 WHERE podiums = "0" AND team = "team autotecnica" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 races had 10.5 points? ### Context: CREATE TABLE table_name_99 (races VARCHAR, points VARCHAR) [/INST] ### Response: SELECT races FROM table_name_99 WHERE points = "10.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: How many wins did the team with 5 podiums have? ### Context: CREATE TABLE table_name_15 (wins VARCHAR, podiums VARCHAR) [/INST] ### Response: SELECT wins FROM table_name_15 WHERE podiums = "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 is recorded as the lowest Round for the Player Jim Thompson? ### Context: CREATE TABLE table_name_26 (round INTEGER, player VARCHAR) [/INST] ### Response: SELECT MIN(round) FROM table_name_26 WHERE player = "jim thompson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Round that has a Position of Tackle and the Player Fred Neilsen? ### Context: CREATE TABLE table_name_91 (round INTEGER, position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT MAX(round) FROM table_name_91 WHERE position = "tackle" AND player = "fred neilsen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Position has a Round of 27? ### Context: CREATE TABLE table_name_95 (position VARCHAR, round VARCHAR) [/INST] ### Response: SELECT position FROM table_name_95 WHERE round = 27 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sum of drawn for points less than 6 and games more than 8 ### Context: CREATE TABLE table_name_85 (drawn INTEGER, points VARCHAR, games VARCHAR) [/INST] ### Response: SELECT SUM(drawn) FROM table_name_85 WHERE points < 6 AND games > 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: How much Displacement (tons) has an Armament of 2 x -inch (mm), 16 x -inch (mm)? ### Context: CREATE TABLE table_name_52 (displacement__tons_ VARCHAR, armament VARCHAR) [/INST] ### Response: SELECT COUNT(displacement__tons_) FROM table_name_52 WHERE armament = "2 x -inch (mm), 16 x -inch (mm)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Round larger than 1, and an Event of king of the cage 31? ### Context: CREATE TABLE table_name_3 (opponent VARCHAR, round VARCHAR, event VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_3 WHERE round > 1 AND event = "king of the cage 31" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Time has a Round larger than 1, and an Event of total fighting alliance 2? ### Context: CREATE TABLE table_name_21 (time VARCHAR, round VARCHAR, event VARCHAR) [/INST] ### Response: SELECT time FROM table_name_21 WHERE round > 1 AND event = "total fighting alliance 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: Which res has a Record of 3-0? ### Context: CREATE TABLE table_name_35 (res VARCHAR, record VARCHAR) [/INST] ### Response: SELECT res FROM table_name_35 WHERE record = "3-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 Location has an Event of king of the cage: flash point? ### Context: CREATE TABLE table_name_16 (location VARCHAR, event VARCHAR) [/INST] ### Response: SELECT location FROM table_name_16 WHERE event = "king of the cage: flash point" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were the opposing team when a Loss was listed with Lowe (1-4)? ### Context: CREATE TABLE table_name_63 (opponent VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_63 WHERE loss = "lowe (1-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 body styles have 6/75 as the model? ### Context: CREATE TABLE table_name_4 (body_styles VARCHAR, model VARCHAR) [/INST] ### Response: SELECT body_styles FROM table_name_4 WHERE model = "6/75" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 body styles have devaux-hall inline 6 as the engine? ### Context: CREATE TABLE table_name_9 (body_styles VARCHAR, engine VARCHAR) [/INST] ### Response: SELECT body_styles FROM table_name_9 WHERE engine = "devaux-hall inline 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 model has de vaux continental as the make? ### Context: CREATE TABLE table_name_50 (model VARCHAR, make VARCHAR) [/INST] ### Response: SELECT model FROM table_name_50 WHERE make = "de vaux continental" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wheelbase has sport coupe (4p.) as the body style? ### Context: CREATE TABLE table_name_20 (wheelbase VARCHAR, body_styles VARCHAR) [/INST] ### Response: SELECT wheelbase FROM table_name_20 WHERE body_styles = "sport coupe (4p.)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score when the home team was Toronto? ### Context: CREATE TABLE table_name_89 (score VARCHAR, home VARCHAR) [/INST] ### Response: SELECT score FROM table_name_89 WHERE home = "toronto" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record when Minnesota was the home team? ### Context: CREATE TABLE table_name_64 (record VARCHAR, home VARCHAR) [/INST] ### Response: SELECT record FROM table_name_64 WHERE home = "minnesota" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 city held the game in Old Trafford before 1907 when the Opposition was sussex? ### Context: CREATE TABLE table_name_49 (city VARCHAR, opposition VARCHAR, year VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT city FROM table_name_49 WHERE year < 1907 AND venue = "old trafford" AND opposition = "sussex" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score when the opposition was sussex after 1890? ### Context: CREATE TABLE table_name_49 (score VARCHAR, opposition VARCHAR, year VARCHAR) [/INST] ### Response: SELECT score FROM table_name_49 WHERE opposition = "sussex" AND year > 1890 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 city had a score of 20 in aigburth after 1907? ### Context: CREATE TABLE table_name_76 (city VARCHAR, venue VARCHAR, year VARCHAR, score VARCHAR) [/INST] ### Response: SELECT city FROM table_name_76 WHERE year > 1907 AND score > 20 AND venue = "aigburth" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score when the opposition was sussex in liverpool? ### Context: CREATE TABLE table_name_96 (score INTEGER, opposition VARCHAR, city VARCHAR) [/INST] ### Response: SELECT SUM(score) FROM table_name_96 WHERE opposition = "sussex" AND city = "liverpool" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Director Erik Matti's Producer? ### Context: CREATE TABLE table_name_57 (producer VARCHAR, director VARCHAR) [/INST] ### Response: SELECT producer FROM table_name_57 WHERE director = "erik matti" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Director Bona Fajardo's Producer? ### Context: CREATE TABLE table_name_32 (producer VARCHAR, director VARCHAR) [/INST] ### Response: SELECT producer FROM table_name_32 WHERE director = "bona fajardo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Producer on December 25, 2006? ### Context: CREATE TABLE table_name_77 (producer VARCHAR, year VARCHAR) [/INST] ### Response: SELECT producer FROM table_name_77 WHERE year = "december 25, 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 Title has a Role of Mylene? ### Context: CREATE TABLE table_name_79 (title VARCHAR, role VARCHAR) [/INST] ### Response: SELECT title FROM table_name_79 WHERE role = "mylene" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what Year is there a Role of (cameo)? ### Context: CREATE TABLE table_name_55 (year VARCHAR, role VARCHAR) [/INST] ### Response: SELECT year FROM table_name_55 WHERE role = "(cameo)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date was the result 106-105? ### Context: CREATE TABLE table_name_57 (date VARCHAR, result VARCHAR) [/INST] ### Response: SELECT date FROM table_name_57 WHERE result = "106-105" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for Portland at home on June 12? ### Context: CREATE TABLE table_name_26 (result VARCHAR, home_team VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_26 WHERE home_team = "portland" AND date = "june 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: Who was the home team with a result of 105-99? ### Context: CREATE TABLE table_name_32 (home_team VARCHAR, result VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_32 WHERE result = "105-99" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date was Game 1? ### Context: CREATE TABLE table_name_54 (date VARCHAR, game VARCHAR) [/INST] ### Response: SELECT date FROM table_name_54 WHERE game = "game 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: On what date was Game 3? ### Context: CREATE TABLE table_name_2 (date VARCHAR, game VARCHAR) [/INST] ### Response: SELECT date FROM table_name_2 WHERE game = "game 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: On what date was Portland on the road for Game 2? ### Context: CREATE TABLE table_name_95 (date VARCHAR, road_team VARCHAR, game VARCHAR) [/INST] ### Response: SELECT date FROM table_name_95 WHERE road_team = "portland" AND game = "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 highest number of games played when they had over 14 against and 3 losses? ### Context: CREATE TABLE table_name_27 (played INTEGER, against VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT MAX(played) FROM table_name_27 WHERE against > 14 AND lost = 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the position for team corinthians with over 14 against? ### Context: CREATE TABLE table_name_90 (position INTEGER, team VARCHAR, against VARCHAR) [/INST] ### Response: SELECT AVG(position) FROM table_name_90 WHERE team = "corinthians" AND against > 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: How many games played for team bangu with under 15 against, and over 9 points? ### Context: CREATE TABLE table_name_19 (played INTEGER, points VARCHAR, against VARCHAR, team VARCHAR) [/INST] ### Response: SELECT MAX(played) FROM table_name_19 WHERE against < 15 AND team = "bangu" AND points > 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: When is Northern Ireland the opponent? ### Context: CREATE TABLE table_name_55 (date VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_name_55 WHERE opponent = "northern ireland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 length for class of gts-2 and date of october 8 ### Context: CREATE TABLE table_name_27 (length VARCHAR, class VARCHAR, date VARCHAR) [/INST] ### Response: SELECT length FROM table_name_27 WHERE class = "gts-2" AND date = "october 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: Name the circuit with class of gts ### Context: CREATE TABLE table_name_78 (circuit VARCHAR, class VARCHAR) [/INST] ### Response: SELECT circuit FROM table_name_78 WHERE class = "gts" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 length for all class and date of march 18 ### Context: CREATE TABLE table_name_63 (length VARCHAR, class VARCHAR, date VARCHAR) [/INST] ### Response: SELECT length FROM table_name_63 WHERE class = "all" AND date = "march 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: How many Games has a Team of chicago? ### Context: CREATE TABLE table_name_55 (game VARCHAR, team VARCHAR) [/INST] ### Response: SELECT COUNT(game) FROM table_name_55 WHERE team = "chicago" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 High points of charles oakley , kevin willis (11)? ### Context: CREATE TABLE table_name_55 (high_points VARCHAR, high_rebounds VARCHAR) [/INST] ### Response: SELECT high_points FROM table_name_55 WHERE high_rebounds = "charles oakley , kevin willis (11)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Score of w 90–82 (ot)? ### Context: CREATE TABLE table_name_40 (game VARCHAR, score VARCHAR) [/INST] ### Response: SELECT game FROM table_name_40 WHERE score = "w 90–82 (ot)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 High rebounds of washington Team? ### Context: CREATE TABLE table_name_43 (high_rebounds VARCHAR, team VARCHAR) [/INST] ### Response: SELECT high_rebounds FROM table_name_43 WHERE team = "washington" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sum of Game on february 28? ### Context: CREATE TABLE table_name_52 (game INTEGER, date VARCHAR) [/INST] ### Response: SELECT SUM(game) FROM table_name_52 WHERE date = "february 28" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Country has a number of Wins larger than 2? ### Context: CREATE TABLE table_name_71 (country VARCHAR, wins INTEGER) [/INST] ### Response: SELECT country FROM table_name_71 WHERE wins > 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 ranking has the nationality of spain and the goals of 26? ### Context: CREATE TABLE table_name_95 (ranking VARCHAR, nationality VARCHAR, goals VARCHAR) [/INST] ### Response: SELECT ranking FROM table_name_95 WHERE nationality = "spain" AND goals = 26 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 name is the goals of 25? ### Context: CREATE TABLE table_name_18 (name VARCHAR, goals VARCHAR) [/INST] ### Response: SELECT name FROM table_name_18 WHERE goals = 25 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 grid with time +37.949? ### Context: CREATE TABLE table_name_59 (grid VARCHAR, time VARCHAR) [/INST] ### Response: SELECT COUNT(grid) FROM table_name_59 WHERE time = "+37.949" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 12 in grid? ### Context: CREATE TABLE table_name_80 (driver VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT driver FROM table_name_80 WHERE grid = 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 highest grid for new zealand? ### Context: CREATE TABLE table_name_59 (grid INTEGER, team VARCHAR) [/INST] ### Response: SELECT MAX(grid) FROM table_name_59 WHERE team = "new zealand" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has +1'25.337 for the time? ### Context: CREATE TABLE table_name_92 (team VARCHAR, time VARCHAR) [/INST] ### Response: SELECT team FROM table_name_92 WHERE time = "+1'25.337" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 at A Arena, the SL league, and a match number over 16? ### Context: CREATE TABLE table_name_15 (result VARCHAR, match VARCHAR, arena VARCHAR, league VARCHAR) [/INST] ### Response: SELECT result FROM table_name_15 WHERE arena = "a" AND league = "sl" AND match > 16 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Opponent of @ atlanta flames had what game? ### Context: CREATE TABLE table_name_44 (game VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT game FROM table_name_44 WHERE opponent = "@ atlanta flames" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Record of 3-3-1 had what lowest game? ### Context: CREATE TABLE table_name_81 (game INTEGER, record VARCHAR) [/INST] ### Response: SELECT MIN(game) FROM table_name_81 WHERE record = "3-3-1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the date when the game had a save by Aguilera (5)? ### Context: CREATE TABLE table_name_65 (date VARCHAR, save VARCHAR) [/INST] ### Response: SELECT date FROM table_name_65 WHERE save = "aguilera (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 was the Save in the game that has a Loss of sanderson (6-5)? ### Context: CREATE TABLE table_name_96 (save VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT save FROM table_name_96 WHERE loss = "sanderson (6-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 Wins have a Rank of 3? ### Context: CREATE TABLE table_name_77 (wins INTEGER, rank VARCHAR) [/INST] ### Response: SELECT AVG(wins) FROM table_name_77 WHERE 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: Which Events have a Player of tom kite, and Earnings ($) smaller than 760,405? ### Context: CREATE TABLE table_name_60 (events INTEGER, player VARCHAR, earnings___$__ VARCHAR) [/INST] ### Response: SELECT AVG(events) FROM table_name_60 WHERE player = "tom kite" AND earnings___$__ < 760 OFFSET 405 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 events have a Rank of 1? ### Context: CREATE TABLE table_name_7 (events VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT events FROM table_name_7 WHERE rank = 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 is the fewest Points that has Willie Heston as Player and less than 3 as Touchdowns? ### Context: CREATE TABLE table_name_12 (points INTEGER, player VARCHAR, touchdowns VARCHAR) [/INST] ### Response: SELECT MIN(points) FROM table_name_12 WHERE player = "willie heston" AND touchdowns < 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 Departure time at Rajendranagar Terminal? ### Context: CREATE TABLE table_name_66 (departure VARCHAR, station_name VARCHAR) [/INST] ### Response: SELECT departure FROM table_name_66 WHERE station_name = "rajendranagar terminal" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Station Code of the Destination Station Departure? ### Context: CREATE TABLE table_name_37 (station_code VARCHAR, departure VARCHAR) [/INST] ### Response: SELECT station_code FROM table_name_37 WHERE departure = "destination station" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: At what Platform is the Departure 18:00? ### Context: CREATE TABLE table_name_26 (platform VARCHAR, departure VARCHAR) [/INST] ### Response: SELECT platform FROM table_name_26 WHERE departure = "18:00" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Station Name of the Arrival Starting Station? ### Context: CREATE TABLE table_name_63 (station_name VARCHAR, arrival VARCHAR) [/INST] ### Response: SELECT station_name FROM table_name_63 WHERE arrival = "starting station" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Arrival time of the Patna Junction Station? ### Context: CREATE TABLE table_name_62 (arrival VARCHAR, station_name VARCHAR) [/INST] ### Response: SELECT arrival FROM table_name_62 WHERE station_name = "patna junction" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Station Name has an Arrival time of 01:10? ### Context: CREATE TABLE table_name_97 (station_name VARCHAR, arrival VARCHAR) [/INST] ### Response: SELECT station_name FROM table_name_97 WHERE arrival = "01:10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score for the game against the New Jersey Nets? ### Context: CREATE TABLE table_name_14 (score VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT score FROM table_name_14 WHERE opponent = "new jersey nets" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date was the game played against the Milwaukee Bucks? ### Context: CREATE TABLE table_name_36 (date VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_name_36 WHERE opponent = "milwaukee bucks" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game against Luxembourg? ### Context: CREATE TABLE table_name_13 (results¹ VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT results¹ FROM table_name_13 WHERE opponent = "luxembourg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 city of Novi Sad participate? ### Context: CREATE TABLE table_name_14 (date VARCHAR, city VARCHAR) [/INST] ### Response: SELECT date FROM table_name_14 WHERE city = "novi sad" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game against Luxembourg? ### Context: CREATE TABLE table_name_97 (results¹ VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT results¹ FROM table_name_97 WHERE opponent = "luxembourg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the game at Memorial Stadium in week 15? ### Context: CREATE TABLE table_name_24 (result VARCHAR, game_site VARCHAR, week VARCHAR) [/INST] ### Response: SELECT result FROM table_name_24 WHERE game_site = "memorial stadium" AND week = 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 Series has a Score of 0–6? ### Context: CREATE TABLE table_name_99 (series VARCHAR, score VARCHAR) [/INST] ### Response: SELECT series FROM table_name_99 WHERE score = "0–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 Series has a Game larger than 1, and a Date of april 18? ### Context: CREATE TABLE table_name_39 (series VARCHAR, game VARCHAR, date VARCHAR) [/INST] ### Response: SELECT series FROM table_name_39 WHERE game > 1 AND date = "april 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: Which Series has an Opponent of new york rangers, and a Score of 3–2 ot? ### Context: CREATE TABLE table_name_59 (series VARCHAR, opponent VARCHAR, score VARCHAR) [/INST] ### Response: SELECT series FROM table_name_59 WHERE opponent = "new york rangers" AND score = "3–2 ot" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Series has an Opponent of @ new york rangers, and a Date of april 22? ### Context: CREATE TABLE table_name_70 (series VARCHAR, opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT series FROM table_name_70 WHERE opponent = "@ new york rangers" AND date = "april 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 Played have a Lost smaller than 3, and a Difference of 6, and Points larger than 6? ### Context: CREATE TABLE table_name_99 (played VARCHAR, points VARCHAR, lost VARCHAR, difference VARCHAR) [/INST] ### Response: SELECT COUNT(played) FROM table_name_99 WHERE lost < 3 AND difference = "6" AND points > 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: How many Points have a Drawn smaller than 0? ### Context: CREATE TABLE table_name_36 (points VARCHAR, drawn INTEGER) [/INST] ### Response: SELECT COUNT(points) FROM table_name_36 WHERE drawn < 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: How many Drawn have an Against smaller than 5, and a Played smaller than 3? ### Context: CREATE TABLE table_name_38 (drawn VARCHAR, against VARCHAR, played VARCHAR) [/INST] ### Response: SELECT COUNT(drawn) FROM table_name_38 WHERE against < 5 AND played < 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: Which Position has an Against of 5, and a Drawn larger than 0? ### Context: CREATE TABLE table_name_35 (position INTEGER, against VARCHAR, drawn VARCHAR) [/INST] ### Response: SELECT SUM(position) FROM table_name_35 WHERE against = 5 AND drawn > 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 Played is the highest one that has a Lost smaller than 1, and a Difference of 6, and an Against larger than 2? ### Context: CREATE TABLE table_name_66 (played INTEGER, against VARCHAR, lost VARCHAR, difference VARCHAR) [/INST] ### Response: SELECT MAX(played) FROM table_name_66 WHERE lost < 1 AND difference = "6" AND against > 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: Which Points is the lowest one that has a Position larger than 5? ### Context: CREATE TABLE table_name_36 (points INTEGER, position INTEGER) [/INST] ### Response: SELECT MIN(points) FROM table_name_36 WHERE position > 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 team lost the most points ### Context: CREATE TABLE table_name_56 (lost VARCHAR) [/INST] ### Response: SELECT lost FROM table_name_56 WHERE "points" = "points" </s>