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: Who is the rider with 22 laps and a +19.435 time/retired? ### Context: CREATE TABLE table_name_86 (rider VARCHAR, laps VARCHAR, time_retired VARCHAR) [/INST] ### Response: SELECT rider FROM table_name_86 WHERE laps = "22" AND time_retired = "+19.435" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 with a yamaha manufacturer and a +19.435 time/retired? ### Context: CREATE TABLE table_name_65 (grid VARCHAR, manufacturer VARCHAR, time_retired VARCHAR) [/INST] ### Response: SELECT grid FROM table_name_65 WHERE manufacturer = "yamaha" AND time_retired = "+19.435" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of rider shinya nakano? ### Context: CREATE TABLE table_name_28 (grid VARCHAR, rider VARCHAR) [/INST] ### Response: SELECT grid FROM table_name_28 WHERE rider = "shinya nakano" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rider with 22 laps and a +1:44.775 time/retired? ### Context: CREATE TABLE table_name_70 (rider VARCHAR, laps VARCHAR, time_retired VARCHAR) [/INST] ### Response: SELECT rider FROM table_name_70 WHERE laps = "22" AND time_retired = "+1:44.775" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 with a 14 grid? ### Context: CREATE TABLE table_name_13 (manufacturer VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT manufacturer FROM table_name_13 WHERE grid = "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: Who is the rider with a yamaha manufacturer and a 17 grid? ### Context: CREATE TABLE table_name_21 (rider VARCHAR, manufacturer VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT rider FROM table_name_21 WHERE manufacturer = "yamaha" AND grid = "17" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total of attendance at Venue h when Auxerre were playing? ### Context: CREATE TABLE table_name_14 (attendance INTEGER, venue VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT SUM(attendance) FROM table_name_14 WHERE venue = "h" AND opponent = "auxerre" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vehicle failed at launch? ### Context: CREATE TABLE table_name_34 (vehicle VARCHAR, ceased_operation VARCHAR) [/INST] ### Response: SELECT vehicle FROM table_name_34 WHERE ceased_operation = "failed at launch" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the notes regarding the scout x-4 vehicle which ceased operation in June 1971? ### Context: CREATE TABLE table_name_82 (notes VARCHAR, vehicle VARCHAR, ceased_operation VARCHAR) [/INST] ### Response: SELECT notes FROM table_name_82 WHERE vehicle = "scout x-4" AND ceased_operation = "june 1971" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ceased operation with a launch date of August 8, 1968? ### Context: CREATE TABLE table_name_86 (ceased_operation VARCHAR, launched VARCHAR) [/INST] ### Response: SELECT ceased_operation FROM table_name_86 WHERE launched = "august 8, 1968" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the ceased operation that launched June 29, 1961? ### Context: CREATE TABLE table_name_5 (ceased_operation VARCHAR, launched VARCHAR) [/INST] ### Response: SELECT ceased_operation FROM table_name_5 WHERE launched = "june 29, 1961" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 place in the United States having a score of 67-75-68=210? ### Context: CREATE TABLE table_name_10 (place VARCHAR, country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT place FROM table_name_10 WHERE country = "united states" AND score = 67 - 75 - 68 = 210 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What country is in T4 place having a score of 66-71-72=209? ### Context: CREATE TABLE table_name_46 (country VARCHAR, place VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_46 WHERE place = "t4" AND score = 66 - 71 - 72 = 209 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 place is the United States in that has a score of 68-73-68=209? ### Context: CREATE TABLE table_name_8 (place VARCHAR, country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT place FROM table_name_8 WHERE country = "united states" AND score = 68 - 73 - 68 = 209 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player from the United States in T4 place with a score of 68-73-68=209? ### Context: CREATE TABLE table_name_77 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR) [/INST] ### Response: SELECT player FROM table_name_77 WHERE country = "united states" AND place = "t4" AND score = 68 - 73 - 68 = 209 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when lost is more than 17, drawn is 15 and goals against is less than 75? ### Context: CREATE TABLE table_name_85 (played INTEGER, goals_against VARCHAR, lost VARCHAR, drawn VARCHAR) [/INST] ### Response: SELECT AVG(played) FROM table_name_85 WHERE lost > 17 AND drawn = 15 AND goals_against < 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 is the position when lot is less than 14, goal difference is +1 and drawn is more than 15? ### Context: CREATE TABLE table_name_88 (position INTEGER, drawn VARCHAR, lost VARCHAR, goal_difference VARCHAR) [/INST] ### Response: SELECT SUM(position) FROM table_name_88 WHERE lost < 14 AND goal_difference = "+1" AND drawn > 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 lost when goals for is 43 and the position number is higher than 15? ### Context: CREATE TABLE table_name_31 (lost INTEGER, goals_for VARCHAR, position VARCHAR) [/INST] ### Response: SELECT AVG(lost) FROM table_name_31 WHERE goals_for = 43 AND position > 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: What was the score of the game against Charlotte? ### Context: CREATE TABLE table_name_42 (score VARCHAR, team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_42 WHERE team = "charlotte" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who had the high assists in the game against Memphis? ### Context: CREATE TABLE table_name_13 (high_assists VARCHAR, team VARCHAR) [/INST] ### Response: SELECT high_assists FROM table_name_13 WHERE team = "memphis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when Boston is the road team in game 4? ### Context: CREATE TABLE table_name_89 (home_team VARCHAR, road_team VARCHAR, game VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_89 WHERE road_team = "boston" AND game = "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: What game had the result of 112-100? ### Context: CREATE TABLE table_name_98 (game VARCHAR, result VARCHAR) [/INST] ### Response: SELECT game FROM table_name_98 WHERE result = "112-100" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What game was played on May 29? ### Context: CREATE TABLE table_name_1 (game VARCHAR, date VARCHAR) [/INST] ### Response: SELECT game FROM table_name_1 WHERE date = "may 29" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game 1? ### Context: CREATE TABLE table_name_26 (result VARCHAR, game VARCHAR) [/INST] ### Response: SELECT result FROM table_name_26 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: What was the game when Houston was the home team and the result is 106-104? ### Context: CREATE TABLE table_name_49 (game VARCHAR, home_team VARCHAR, result VARCHAR) [/INST] ### Response: SELECT game FROM table_name_49 WHERE home_team = "houston" AND result = "106-104" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many years was the number of laps 71? ### Context: CREATE TABLE table_name_49 (year VARCHAR, laps VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_name_49 WHERE laps = 71 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 a year that is later than 2002 what is the class position? ### Context: CREATE TABLE table_name_53 (class VARCHAR, year INTEGER) [/INST] ### Response: SELECT class AS pos FROM table_name_53 WHERE year > 2002 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total rounds has lehigh as the college? ### Context: CREATE TABLE table_name_90 (round VARCHAR, college VARCHAR) [/INST] ### Response: SELECT COUNT(round) FROM table_name_90 WHERE college = "lehigh" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has 5 as the pick, a round less than 25, ot as the position, at boston college? ### Context: CREATE TABLE table_name_59 (name VARCHAR, college VARCHAR, position VARCHAR, pick VARCHAR, round VARCHAR) [/INST] ### Response: SELECT name FROM table_name_59 WHERE pick = 5 AND round < 25 AND position = "ot" AND college = "boston college" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 overalls have E as the position, buddy payne as the name, and a pick less than 5? ### Context: CREATE TABLE table_name_29 (overall VARCHAR, pick VARCHAR, position VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(overall) FROM table_name_29 WHERE position = "e" AND name = "buddy payne" AND pick < 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 picks have charley sanders as the name, with a round greater than 22? ### Context: CREATE TABLE table_name_78 (pick INTEGER, name VARCHAR, round VARCHAR) [/INST] ### Response: SELECT SUM(pick) FROM table_name_78 WHERE name = "charley sanders" AND round > 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: What is the Attendance of the game against the Florida Panthers? ### Context: CREATE TABLE table_name_8 (attendance INTEGER, opponent VARCHAR) [/INST] ### Response: SELECT SUM(attendance) FROM table_name_8 WHERE opponent = "florida panthers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Opponent of the game with more than 13,567 in Attendance with more than 5 Points? ### Context: CREATE TABLE table_name_4 (opponent VARCHAR, points VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_4 WHERE points > 5 AND attendance > 13 OFFSET 567 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 his record was 15–1–1 (1) where did he fight? ### Context: CREATE TABLE table_name_82 (location VARCHAR, record VARCHAR) [/INST] ### Response: SELECT location FROM table_name_82 WHERE record = "15–1–1 (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 Record, when Location is "Boston Garden", and when Date is "Fri. Nov. 9"? ### Context: CREATE TABLE table_name_24 (record VARCHAR, location VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_24 WHERE location = "boston garden" AND date = "fri. nov. 9" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Opponent, when Location is "Boston Garden", when Game is greater than 1, and when Score is "115-105"? ### Context: CREATE TABLE table_name_91 (opponent VARCHAR, score VARCHAR, location VARCHAR, game VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_91 WHERE location = "boston garden" AND game > 1 AND score = "115-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 is the sum of Game, when Date is "Wed. Nov. 14"? ### Context: CREATE TABLE table_name_26 (game INTEGER, date VARCHAR) [/INST] ### Response: SELECT SUM(game) FROM table_name_26 WHERE date = "wed. nov. 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 Score, when Player is "Bill Rogers"? ### Context: CREATE TABLE table_name_80 (score VARCHAR, player VARCHAR) [/INST] ### Response: SELECT score FROM table_name_80 WHERE player = "bill rogers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 State has an Electorate of West Sydney? ### Context: CREATE TABLE table_name_74 (state VARCHAR, electorate VARCHAR) [/INST] ### Response: SELECT state FROM table_name_74 WHERE electorate = "west sydney" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 State has an Electorate of Barton? ### Context: CREATE TABLE table_name_14 (state VARCHAR, electorate VARCHAR) [/INST] ### Response: SELECT state FROM table_name_14 WHERE electorate = "barton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 L2 Cache for the processor with a release price of $496? ### Context: CREATE TABLE table_name_38 (l2_cache VARCHAR, release_price___usd__ VARCHAR) [/INST] ### Response: SELECT l2_cache FROM table_name_38 WHERE release_price___usd__ = "$496" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 model number for the processor with sSpec number of sl3jm(kc0)sl3jt(kc0)? ### Context: CREATE TABLE table_name_32 (model_number VARCHAR, sspec_number VARCHAR) [/INST] ### Response: SELECT model_number FROM table_name_32 WHERE sspec_number = "sl3jm(kc0)sl3jt(kc0)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 frequency of the processor with an sSpec number of sl3bn(kc0)sl3e9(kc0)? ### Context: CREATE TABLE table_name_79 (frequency VARCHAR, sspec_number VARCHAR) [/INST] ### Response: SELECT frequency FROM table_name_79 WHERE sspec_number = "sl3bn(kc0)sl3e9(kc0)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 alfonse d'amore compete? ### Context: CREATE TABLE table_name_59 (date VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_name_59 WHERE opponent = "alfonse d'amore" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Round has a Method of ko, and a Date of 1958? ### Context: CREATE TABLE table_name_46 (round INTEGER, method VARCHAR, date VARCHAR) [/INST] ### Response: SELECT MIN(round) FROM table_name_46 WHERE method = "ko" AND date = "1958" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Date has a Result of win, and a Round smaller than 2, and an Opponent of myron greenberg? ### Context: CREATE TABLE table_name_60 (date VARCHAR, opponent VARCHAR, result VARCHAR, round VARCHAR) [/INST] ### Response: SELECT date FROM table_name_60 WHERE result = "win" AND round < 2 AND opponent = "myron greenberg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Round has a Method of ko, and an Opponent of alfonse d'amore? ### Context: CREATE TABLE table_name_14 (round VARCHAR, method VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT round FROM table_name_14 WHERE method = "ko" AND opponent = "alfonse d'amore" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 a Date of sep. 2008? ### Context: CREATE TABLE table_name_89 (player VARCHAR, date VARCHAR) [/INST] ### Response: SELECT player FROM table_name_89 WHERE date = "sep. 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 Transfer fee has a From club of blackburn rovers? ### Context: CREATE TABLE table_name_80 (transfer_fee VARCHAR, from_club VARCHAR) [/INST] ### Response: SELECT transfer_fee FROM table_name_80 WHERE from_club = "blackburn rovers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 From club has a Date of 20 oct. 2008? ### Context: CREATE TABLE table_name_49 (from_club VARCHAR, date VARCHAR) [/INST] ### Response: SELECT from_club FROM table_name_49 WHERE date = "20 oct. 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 Player has a Transfer fee of £750,000 [x]? ### Context: CREATE TABLE table_name_34 (player VARCHAR, transfer_fee VARCHAR) [/INST] ### Response: SELECT player FROM table_name_34 WHERE transfer_fee = "£750,000 [x]" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Tournament, when Date is "6 April 1992"? ### Context: CREATE TABLE table_name_40 (tournament VARCHAR, date VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_40 WHERE date = "6 april 1992" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Surface, when Opponents is "Daniel Nestor Sandon Stolle"? ### Context: CREATE TABLE table_name_39 (surface VARCHAR, opponents VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_39 WHERE opponents = "daniel nestor sandon stolle" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Date, when Outcome is "Winner", and when Opponents is "Paul Haarhuis Sandon Stolle"? ### Context: CREATE TABLE table_name_48 (date VARCHAR, outcome VARCHAR, opponents VARCHAR) [/INST] ### Response: SELECT date FROM table_name_48 WHERE outcome = "winner" AND opponents = "paul haarhuis sandon stolle" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Outcome, when Partner is "Byron Black", and when Opponents is "Goran Ivanišević Brian Macphie"? ### Context: CREATE TABLE table_name_94 (outcome VARCHAR, partner VARCHAR, opponents VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_94 WHERE partner = "byron black" AND opponents = "goran ivanišević brian macphie" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Tournament, when Date is "9 August 1993"? ### Context: CREATE TABLE table_name_38 (tournament VARCHAR, date VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_38 WHERE date = "9 august 1993" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Place, when Player is "Arnold Palmer"? ### Context: CREATE TABLE table_name_88 (place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT place FROM table_name_88 WHERE player = "arnold palmer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Player, when To Par is +1, and when Score is 72-70-72=214? ### Context: CREATE TABLE table_name_70 (player VARCHAR, to_par VARCHAR, score VARCHAR) [/INST] ### Response: SELECT player FROM table_name_70 WHERE to_par = "+1" AND score = 72 - 70 - 72 = 214 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Score, when Country is United States, and when Player is "Arnold Palmer"? ### Context: CREATE TABLE table_name_93 (score VARCHAR, country VARCHAR, player VARCHAR) [/INST] ### Response: SELECT score FROM table_name_93 WHERE country = "united states" AND player = "arnold palmer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 To Par, when Country is United States, and when Score is 71-68-73=212? ### Context: CREATE TABLE table_name_22 (to_par VARCHAR, country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_22 WHERE country = "united states" AND score = 71 - 68 - 73 = 212 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Player, when Country is United States, and when Score is 70-72-70=212? ### Context: CREATE TABLE table_name_1 (player VARCHAR, country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT player FROM table_name_1 WHERE country = "united states" AND score = 70 - 72 - 70 = 212 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Country, when Player is "Billy Maxwell"? ### Context: CREATE TABLE table_name_77 (country VARCHAR, player VARCHAR) [/INST] ### Response: SELECT country FROM table_name_77 WHERE player = "billy maxwell" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a react smaller than 0.149 and a lane smaller than 6? ### Context: CREATE TABLE table_name_23 (name VARCHAR, react VARCHAR, lane VARCHAR) [/INST] ### Response: SELECT name FROM table_name_23 WHERE react < 0.149 AND lane < 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 was the lowest lane with a mark of 7.26? ### Context: CREATE TABLE table_name_50 (lane INTEGER, mark VARCHAR) [/INST] ### Response: SELECT MIN(lane) FROM table_name_50 WHERE mark = "7.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 is the maximum number of games when the season is more recent than 2001 and the average is less than 10,838? ### Context: CREATE TABLE table_name_90 (games INTEGER, season VARCHAR, average VARCHAR) [/INST] ### Response: SELECT MAX(games) FROM table_name_90 WHERE season > 2001 AND average < 10 OFFSET 838 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of clubs for Shenyang Ginde when there were more than 182 games? ### Context: CREATE TABLE table_name_10 (no_of_clubs VARCHAR, team VARCHAR, games VARCHAR) [/INST] ### Response: SELECT COUNT(no_of_clubs) FROM table_name_10 WHERE team = "shenyang ginde" AND games > 182 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the smallest average for Beijing Guo'an when they played more than 240 games? ### Context: CREATE TABLE table_name_26 (average INTEGER, team VARCHAR, games VARCHAR) [/INST] ### Response: SELECT MIN(average) FROM table_name_26 WHERE team = "beijing guo'an" AND games > 240 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pick number for Washington State? ### Context: CREATE TABLE table_name_32 (pick INTEGER, school VARCHAR) [/INST] ### Response: SELECT AVG(pick) FROM table_name_32 WHERE school = "washington 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: Which Comments has a Length Over All of 4.5m? ### Context: CREATE TABLE table_name_56 (comments VARCHAR, length_over_all VARCHAR) [/INST] ### Response: SELECT comments FROM table_name_56 WHERE length_over_all = "4.5m" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Crew has Comments of daggerboards. design: roy seaman? ### Context: CREATE TABLE table_name_49 (crew VARCHAR, comments VARCHAR) [/INST] ### Response: SELECT crew FROM table_name_49 WHERE comments = "daggerboards. design: roy seaman" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Comments has a Model of 18sq? ### Context: CREATE TABLE table_name_30 (comments VARCHAR, model VARCHAR) [/INST] ### Response: SELECT comments FROM table_name_30 WHERE model = "18sq" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Model has Comments of curved daggerboards. design: morelli und melvin? ### Context: CREATE TABLE table_name_61 (model VARCHAR, comments VARCHAR) [/INST] ### Response: SELECT model FROM table_name_61 WHERE comments = "curved daggerboards. design: morelli und melvin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Beam has a Model of 570? ### Context: CREATE TABLE table_name_17 (beam VARCHAR, model VARCHAR) [/INST] ### Response: SELECT beam FROM table_name_17 WHERE model = "570" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Model has a Sail Area of 24.5 m²? ### Context: CREATE TABLE table_name_75 (model VARCHAR, sail_area VARCHAR) [/INST] ### Response: SELECT model FROM table_name_75 WHERE sail_area = "24.5 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 sum of the game numbers for games with less than 30 points? ### Context: CREATE TABLE table_name_41 (game INTEGER, points INTEGER) [/INST] ### Response: SELECT SUM(game) FROM table_name_41 WHERE points < 30 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where was the game against the buffalo sabres? ### Context: CREATE TABLE table_name_27 (location VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT location FROM table_name_27 WHERE opponent = "buffalo sabres" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 BR number with a SECR number of 765? ### Context: CREATE TABLE table_name_39 (br_no INTEGER, secr_no VARCHAR) [/INST] ### Response: SELECT MAX(br_no) FROM table_name_39 WHERE secr_no = 765 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Beyer Peacock's SR number with a SECR number of 769? ### Context: CREATE TABLE table_name_10 (sr_no INTEGER, builder VARCHAR, secr_no VARCHAR) [/INST] ### Response: SELECT AVG(sr_no) FROM table_name_10 WHERE builder = "beyer peacock" AND secr_no = 769 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tyre of nismo team member satoshi motoyama when he has rounds of all? ### Context: CREATE TABLE table_name_55 (tyre VARCHAR, drivers VARCHAR, rounds VARCHAR, team VARCHAR) [/INST] ### Response: SELECT tyre FROM table_name_55 WHERE rounds = "all" AND team = "nismo" AND drivers = "satoshi motoyama" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tyre of real racing with leon team member koudai tsukakoshi? ### Context: CREATE TABLE table_name_24 (tyre VARCHAR, team VARCHAR, drivers VARCHAR) [/INST] ### Response: SELECT tyre FROM table_name_24 WHERE team = "real racing with leon" AND drivers = "koudai tsukakoshi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 drives drove a lexus, made all rounds, had a tyre of B and was on the team of petronas toyota team tom's? ### Context: CREATE TABLE table_name_2 (drivers VARCHAR, team VARCHAR, tyre VARCHAR, rounds VARCHAR, make VARCHAR) [/INST] ### Response: SELECT drivers FROM table_name_2 WHERE rounds = "all" AND make = "lexus" AND tyre = "b" AND team = "petronas toyota team tom's" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 driver yuji tachikawa had a make of lexus, what team did he represent? ### Context: CREATE TABLE table_name_38 (team VARCHAR, make VARCHAR, drivers VARCHAR) [/INST] ### Response: SELECT team FROM table_name_38 WHERE make = "lexus" AND drivers = "yuji tachikawa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Capacity, when Team is "Denizlispor"? ### Context: CREATE TABLE table_name_58 (capacity INTEGER, team VARCHAR) [/INST] ### Response: SELECT SUM(capacity) FROM table_name_58 WHERE team = "denizlispor" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Team, when Venue is "Şükrü Saracoğlu Stadium"? ### Context: CREATE TABLE table_name_4 (team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT team FROM table_name_4 WHERE venue = "şükrü saracoğlu stadium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gagarin cup winner when avangard omsk is the gagarin cup finalist? ### Context: CREATE TABLE table_name_17 (gagarin_cup_winner VARCHAR, gagarin_cup_finalist VARCHAR) [/INST] ### Response: SELECT gagarin_cup_winner FROM table_name_17 WHERE gagarin_cup_finalist = "avangard omsk" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 resolution of the fight where andre roberts record was 9-1? ### Context: CREATE TABLE table_name_60 (res VARCHAR, record VARCHAR) [/INST] ### Response: SELECT res FROM table_name_60 WHERE record = "9-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 2nd leg of goiás team 2? ### Context: CREATE TABLE table_name_29 (team__number2 VARCHAR) [/INST] ### Response: SELECT 2 AS nd_leg FROM table_name_29 WHERE team__number2 = "goiás" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2nd leg of emelec team 2? ### Context: CREATE TABLE table_name_66 (team__number2 VARCHAR) [/INST] ### Response: SELECT 2 AS nd_leg FROM table_name_66 WHERE team__number2 = "emelec" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2nd leg with ldu quito as team 1? ### Context: CREATE TABLE table_name_62 (team__number1 VARCHAR) [/INST] ### Response: SELECT 2 AS nd_leg FROM table_name_62 WHERE team__number1 = "ldu quito" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bridge located in McClain listed? ### Context: CREATE TABLE table_name_29 (listed VARCHAR, location VARCHAR) [/INST] ### Response: SELECT listed FROM table_name_29 WHERE location = "mcclain" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 source on 6 September? ### Context: CREATE TABLE table_name_27 (source VARCHAR, date VARCHAR) [/INST] ### Response: SELECT source FROM table_name_27 WHERE date = "6 september" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Week has a Result of l 21-19? ### Context: CREATE TABLE table_name_4 (week VARCHAR, result VARCHAR) [/INST] ### Response: SELECT COUNT(week) FROM table_name_4 WHERE result = "l 21-19" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Week has a Result of l 41-14? ### Context: CREATE TABLE table_name_89 (week INTEGER, result VARCHAR) [/INST] ### Response: SELECT MIN(week) FROM table_name_89 WHERE result = "l 41-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 Result has a Date of september 3, 2000? ### Context: CREATE TABLE table_name_81 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_81 WHERE date = "september 3, 2000" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Date has an Attendance of 54,626? ### Context: CREATE TABLE table_name_71 (date VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT date FROM table_name_71 WHERE attendance = "54,626" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has an Attendance of bye? ### Context: CREATE TABLE table_name_99 (result VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT result FROM table_name_99 WHERE attendance = "bye" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the smallest preliminary when swimsuit is less than 8.822, interview is more than 8.744 and gown is more than 9.333? ### Context: CREATE TABLE table_name_50 (preliminary INTEGER, evening_gown VARCHAR, swimsuit VARCHAR, interview VARCHAR) [/INST] ### Response: SELECT MIN(preliminary) FROM table_name_50 WHERE swimsuit < 8.822 AND interview > 8.744 AND evening_gown > 9.333 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 best preliminary for a contestant from New Mexico with interview less than 9.533? ### Context: CREATE TABLE table_name_35 (preliminary INTEGER, state VARCHAR, interview VARCHAR) [/INST] ### Response: SELECT MAX(preliminary) FROM table_name_35 WHERE state = "new mexico" AND interview < 9.533 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 state has a swimsuit less than 9.277, gown more than 8.944 and preliminary greater than 8.483? ### Context: CREATE TABLE table_name_19 (state VARCHAR, preliminary VARCHAR, swimsuit VARCHAR, evening_gown VARCHAR) [/INST] ### Response: SELECT state FROM table_name_19 WHERE swimsuit < 9.277 AND evening_gown > 8.944 AND preliminary < 8.483 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when interview is 9.465 and evening gown is less than 9.454? ### Context: CREATE TABLE table_name_28 (average INTEGER, interview VARCHAR, evening_gown VARCHAR) [/INST] ### Response: SELECT SUM(average) FROM table_name_28 WHERE interview = 9.465 AND evening_gown < 9.454 </s>