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: Which Date has a Partner of daniella dominikovic? ### Context: CREATE TABLE table_name_66 (date VARCHAR, partner VARCHAR) [/INST] ### Response: SELECT date FROM table_name_66 WHERE partner = "daniella dominikovic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Nationality of england, and a Matches smaller than 510, and a Lost of 4, and a Win % smaller than 28.6 had what lowest drawn? ### Context: CREATE TABLE table_name_5 (drawn INTEGER, win__percentage VARCHAR, lost VARCHAR, nationality VARCHAR, matches VARCHAR) [/INST] ### Response: SELECT MIN(drawn) FROM table_name_5 WHERE nationality = "england" AND matches < 510 AND lost = 4 AND win__percentage < 28.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: Win % larger than 47.1, and a Matches smaller than 145 had what lowest lost? ### Context: CREATE TABLE table_name_47 (lost INTEGER, win__percentage VARCHAR, matches VARCHAR) [/INST] ### Response: SELECT MIN(lost) FROM table_name_47 WHERE win__percentage > 47.1 AND matches < 145 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Matches of 15, and a Win % smaller than 20 had what highest lost? ### Context: CREATE TABLE table_name_83 (lost INTEGER, matches VARCHAR, win__percentage VARCHAR) [/INST] ### Response: SELECT MAX(lost) FROM table_name_83 WHERE matches = 15 AND win__percentage < 20 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Nationality of england, and a Lost larger than 39, and a Win % of 28.7, and a Drawn smaller than 37 had what sum of matches? ### Context: CREATE TABLE table_name_1 (matches INTEGER, drawn VARCHAR, win__percentage VARCHAR, nationality VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT SUM(matches) FROM table_name_1 WHERE nationality = "england" AND lost > 39 AND win__percentage = 28.7 AND drawn < 37 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Drawn smaller than 24, and a Lost smaller than 17, and a Win % smaller than 31.25 had how many total number of matches? ### Context: CREATE TABLE table_name_5 (matches VARCHAR, win__percentage VARCHAR, drawn VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT COUNT(matches) FROM table_name_5 WHERE drawn < 24 AND lost < 17 AND win__percentage < 31.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: Lost of 18 had what sum of win %? ### Context: CREATE TABLE table_name_52 (win__percentage INTEGER, lost VARCHAR) [/INST] ### Response: SELECT SUM(win__percentage) FROM table_name_52 WHERE lost = 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: When was the score 5-31? ### Context: CREATE TABLE table_name_20 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_20 WHERE record = "5-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: What is the second leg that has kk bosna? ### Context: CREATE TABLE table_name_49 (team__number1 VARCHAR) [/INST] ### Response: SELECT 2 AS nd_leg FROM table_name_49 WHERE team__number1 = "kk bosna" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1st leg that has hapoel jerusalem? ### Context: CREATE TABLE table_name_75 (team__number1 VARCHAR) [/INST] ### Response: SELECT 1 AS st_leg FROM table_name_75 WHERE team__number1 = "hapoel jerusalem" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which 1st leg that has hemofarm? ### Context: CREATE TABLE table_name_12 (team__number1 VARCHAR) [/INST] ### Response: SELECT 1 AS st_leg FROM table_name_12 WHERE team__number1 = "hemofarm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 averaged 201.3 yards passing per game? ### Context: CREATE TABLE table_name_6 (name VARCHAR, avg_g VARCHAR) [/INST] ### Response: SELECT name FROM table_name_6 WHERE avg_g = 201.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: How many players had an Att-Cmp-Int of 143–269–16, and an efficiency of less than 116.9? ### Context: CREATE TABLE table_name_88 (avg_g VARCHAR, att_cmp_int VARCHAR, effic VARCHAR) [/INST] ### Response: SELECT COUNT(avg_g) FROM table_name_88 WHERE att_cmp_int = "143–269–16" AND effic < 116.9 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Att-Cmp-Int for the player with a efficiency of 117.4? ### Context: CREATE TABLE table_name_72 (att_cmp_int VARCHAR, effic VARCHAR) [/INST] ### Response: SELECT att_cmp_int FROM table_name_72 WHERE effic = 117.4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of legs lost of the player with a high checkout less than 76 and less than 3 played? ### Context: CREATE TABLE table_name_1 (legs_lost VARCHAR, high_checkout VARCHAR, played VARCHAR) [/INST] ### Response: SELECT COUNT(legs_lost) FROM table_name_1 WHERE high_checkout < 76 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: What is the Ch1 in the region served by Central Tablelands? ### Context: CREATE TABLE table_name_73 (ch_1 VARCHAR, region_served VARCHAR) [/INST] ### Response: SELECT ch_1 FROM table_name_73 WHERE region_served = "central tablelands" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What transmitter location has digital power of 570kw? ### Context: CREATE TABLE table_name_62 (transmitter_location VARCHAR, digital_power VARCHAR) [/INST] ### Response: SELECT transmitter_location FROM table_name_62 WHERE digital_power = "570kw" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year did team Yamaha have 0 wins, a rank of 8th, and more than 22 points? ### Context: CREATE TABLE table_name_96 (year VARCHAR, points VARCHAR, rank VARCHAR, team VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_name_96 WHERE team = "yamaha" AND wins = 0 AND rank = "8th" AND points > 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: Name the total number of rounds for gina carano ### Context: CREATE TABLE table_name_6 (round VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT COUNT(round) FROM table_name_6 WHERE opponent = "gina carano" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 difference related to 2 losses and fewer than 10 points? ### Context: CREATE TABLE table_name_51 (points_difference VARCHAR, lost VARCHAR, points VARCHAR) [/INST] ### Response: SELECT points_difference FROM table_name_51 WHERE lost = 2 AND points < 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: Where did the game(s) against Iowa take place? ### Context: CREATE TABLE table_name_94 (site VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT site FROM table_name_94 WHERE opponent = "iowa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Outcome of the Doubles played on Carpet? ### Context: CREATE TABLE table_name_35 (outcome VARCHAR, surface VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_35 WHERE surface = "carpet" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Surface during the match with Partner Debbie Graham? ### Context: CREATE TABLE table_name_26 (surface VARCHAR, partner VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_26 WHERE partner = "debbie graham" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Partner on February 23, 1997? ### Context: CREATE TABLE table_name_91 (partner VARCHAR, date VARCHAR) [/INST] ### Response: SELECT partner FROM table_name_91 WHERE date = "february 23, 1997" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Tournament on May 24, 1992 played on a Clay Surface? ### Context: CREATE TABLE table_name_64 (tournament VARCHAR, surface VARCHAR, date VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_64 WHERE surface = "clay" AND date = "may 24, 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 was the Surface in the match with a Score of 7–5, 6–7, 4–6? ### Context: CREATE TABLE table_name_40 (surface VARCHAR, score VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_40 WHERE score = "7–5, 6–7, 4–6" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the frequency MHz in tremonton, utah with a ERP W larger than 30? ### Context: CREATE TABLE table_name_50 (frequency_mhz VARCHAR, erp_w VARCHAR, city_of_license VARCHAR) [/INST] ### Response: SELECT frequency_mhz FROM table_name_50 WHERE erp_w > 30 AND city_of_license = "tremonton, utah" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 k275av call sign's highest erp w? ### Context: CREATE TABLE table_name_59 (erp_w INTEGER, call_sign VARCHAR) [/INST] ### Response: SELECT MAX(erp_w) FROM table_name_59 WHERE call_sign = "k275av" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year for american conference semifinals ### Context: CREATE TABLE table_name_96 (year VARCHAR, playoffs VARCHAR) [/INST] ### Response: SELECT year FROM table_name_96 WHERE playoffs = "american conference semifinals" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the total number of years for quarterfinals ### Context: CREATE TABLE table_name_35 (year VARCHAR, playoffs VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_name_35 WHERE playoffs = "quarterfinals" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Runner-up that has a Season less than 2005? ### Context: CREATE TABLE table_name_54 (runner_up VARCHAR, season INTEGER) [/INST] ### Response: SELECT runner_up FROM table_name_54 WHERE season < 2005 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Seasonhas a Score of 3 – 3 aet , 4–3 pen? ### Context: CREATE TABLE table_name_52 (season INTEGER, score VARCHAR) [/INST] ### Response: SELECT MAX(season) FROM table_name_52 WHERE score = "3 – 3 aet , 4–3 pen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Season has a Score of 3 – 3 aet , 4–3 pen ### Context: CREATE TABLE table_name_31 (season VARCHAR, score VARCHAR) [/INST] ### Response: SELECT season FROM table_name_31 WHERE score = "3 – 3 aet , 4–3 pen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rounds had an overall of 211? ### Context: CREATE TABLE table_name_24 (round VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT COUNT(round) FROM table_name_24 WHERE overall = 211 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mean pick number for the cornerback position when the overall is less than 134? ### Context: CREATE TABLE table_name_60 (pick__number INTEGER, position VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT AVG(pick__number) FROM table_name_60 WHERE position = "cornerback" AND overall < 134 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1956 has a County of vâlcea, and a 2011 smaller than 371714? ### Context: CREATE TABLE table_name_40 (county VARCHAR) [/INST] ### Response: SELECT SUM(1956) FROM table_name_40 WHERE county = "vâlcea" AND 2011 < 371714 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2011 is the lowest one that has a 1948 smaller than 15872624, and a 1966 of 263103, and a 1992 larger than 266308? ### Context: CREATE TABLE table_name_81 (Id VARCHAR) [/INST] ### Response: SELECT MIN(2011) FROM table_name_81 WHERE 1948 < 15872624 AND 1966 = 263103 AND 1992 > 266308 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1992 is the lowest one that has a 1977 smaller than 385577, and a 2011 larger than 340310, and a 2002 larger than 300123, and a 1948 larger than 280524? ### Context: CREATE TABLE table_name_12 (Id VARCHAR) [/INST] ### Response: SELECT MIN(1992) FROM table_name_12 WHERE 1977 < 385577 AND 2011 > 340310 AND 2002 > 300123 AND 1948 > 280524 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1977 is the lowest one that has a County of zzz bucharest, and a 2011 smaller than 1883425? ### Context: CREATE TABLE table_name_23 (county VARCHAR) [/INST] ### Response: SELECT MIN(1977) FROM table_name_23 WHERE county = "zzz bucharest" AND 2011 < 1883425 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 site of the game that had an attendance of 54,040? ### Context: CREATE TABLE table_name_23 (game_site VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT game_site FROM table_name_23 WHERE attendance = "54,040" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 houston oilers? ### Context: CREATE TABLE table_name_6 (attendance VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_6 WHERE opponent = "houston oilers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of the game on week 7? ### Context: CREATE TABLE table_name_49 (date VARCHAR, week VARCHAR) [/INST] ### Response: SELECT date FROM table_name_49 WHERE week = 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 fans attended the game at Bye? ### Context: CREATE TABLE table_name_53 (attendance VARCHAR, game_site VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_53 WHERE game_site = "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: Which winner had a location of Iowa? ### Context: CREATE TABLE table_name_12 (winner VARCHAR, location VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_12 WHERE location = "iowa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in the final had a partner of Katarina Srebotnik and a championship of wimbledon (4)? ### Context: CREATE TABLE table_name_63 (opponents_in_the_final VARCHAR, partner VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT opponents_in_the_final FROM table_name_63 WHERE partner = "katarina srebotnik" AND championship = "wimbledon (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: Who was the partner when the championship was us open on a hard surface? ### Context: CREATE TABLE table_name_30 (partner VARCHAR, surface VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT partner FROM table_name_30 WHERE surface = "hard" AND championship = "us open" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 surface for Julie Halard when the final score was 6–3, 6–2? ### Context: CREATE TABLE table_name_55 (surface VARCHAR, partner VARCHAR, score_in_the_final VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_55 WHERE partner = "julie halard" AND score_in_the_final = "6–3, 6–2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the outcome when the oppenent was serena williams venus williams and had a hard surface? ### Context: CREATE TABLE table_name_60 (outcome VARCHAR, opponents_in_the_final VARCHAR, surface VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_60 WHERE opponents_in_the_final = "serena williams venus williams" AND surface = "hard" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Played has Drawn of 2, and a Position larger than 3, and Points smaller than 10? ### Context: CREATE TABLE table_name_1 (played VARCHAR, points VARCHAR, drawn VARCHAR, position VARCHAR) [/INST] ### Response: SELECT COUNT(played) FROM table_name_1 WHERE drawn = 2 AND position > 3 AND points < 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: Which average Against has a Difference of 10, and a Lost smaller than 2? ### Context: CREATE TABLE table_name_24 (against INTEGER, difference VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT AVG(against) FROM table_name_24 WHERE difference = "10" AND lost < 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: How many Attendances have a Result F – A of 0 – 2, and a Date of 31 january 1903? ### Context: CREATE TABLE table_name_71 (attendance INTEGER, result_f___a VARCHAR, date VARCHAR) [/INST] ### Response: SELECT AVG(attendance) FROM table_name_71 WHERE result_f___a = "0 – 2" AND date = "31 january 1903" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Attendances on 13 april 1903? ### Context: CREATE TABLE table_name_37 (attendance VARCHAR, date VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_37 WHERE date = "13 april 1903" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Attendances have a H / A of h on 7 march 1903? ### Context: CREATE TABLE table_name_47 (attendance INTEGER, h___a VARCHAR, date VARCHAR) [/INST] ### Response: SELECT MIN(attendance) FROM table_name_47 WHERE h___a = "h" AND date = "7 march 1903" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 H / A of a, and a Result F – A of 2 – 0, and a Attendance larger than 30,000? ### Context: CREATE TABLE table_name_50 (opponents VARCHAR, attendance VARCHAR, h___a VARCHAR, result_f___a VARCHAR) [/INST] ### Response: SELECT opponents FROM table_name_50 WHERE h___a = "a" AND result_f___a = "2 – 0" AND attendance > 30 OFFSET 000 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 The Opponents of lincoln city and a H / A of a? ### Context: CREATE TABLE table_name_31 (date VARCHAR, opponents VARCHAR, h___a VARCHAR) [/INST] ### Response: SELECT date FROM table_name_31 WHERE opponents = "lincoln city" AND h___a = "a" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score for the Dec 11 game? ### Context: CREATE TABLE table_name_83 (score VARCHAR, december VARCHAR) [/INST] ### Response: SELECT score FROM table_name_83 WHERE december = 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 an opponent of Phoenix Coyotes and was before Dec 9? ### Context: CREATE TABLE table_name_96 (game INTEGER, opponent VARCHAR, december VARCHAR) [/INST] ### Response: SELECT AVG(game) FROM table_name_96 WHERE opponent = "phoenix coyotes" AND december < 9 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the December game that led to an 11-13-5 record? ### Context: CREATE TABLE table_name_9 (december INTEGER, record VARCHAR) [/INST] ### Response: SELECT MAX(december) FROM table_name_9 WHERE record = "11-13-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 record after game 41? ### Context: CREATE TABLE table_name_1 (record VARCHAR, game VARCHAR) [/INST] ### Response: SELECT record FROM table_name_1 WHERE game = 41 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Overall has a College of florida state, and a Round larger than 2? ### Context: CREATE TABLE table_name_76 (overall INTEGER, college VARCHAR, round VARCHAR) [/INST] ### Response: SELECT SUM(overall) FROM table_name_76 WHERE college = "florida state" AND round > 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many Picks have a Position of kicker, and an Overall smaller than 137? ### Context: CREATE TABLE table_name_59 (pick__number INTEGER, position VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT SUM(pick__number) FROM table_name_59 WHERE position = "kicker" AND overall < 137 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Position has a Pick # of 18? ### Context: CREATE TABLE table_name_99 (position VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT position FROM table_name_99 WHERE pick__number = 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 College has a Round smaller than 7, and a Pick # smaller than 27, and a Name of anthony maddox? ### Context: CREATE TABLE table_name_37 (college VARCHAR, name VARCHAR, round VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT college FROM table_name_37 WHERE round < 7 AND pick__number < 27 AND name = "anthony maddox" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Overall has a Pick # larger than 9, and a Round larger than 5? ### Context: CREATE TABLE table_name_53 (overall VARCHAR, pick__number VARCHAR, round VARCHAR) [/INST] ### Response: SELECT COUNT(overall) FROM table_name_53 WHERE pick__number > 9 AND round > 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which score was for the Spurs as visitors with record of 35–16? ### Context: CREATE TABLE table_name_60 (score VARCHAR, visitor VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_60 WHERE visitor = "spurs" AND record = "35–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: Which record was for Warriors at home? ### Context: CREATE TABLE table_name_67 (record VARCHAR, home VARCHAR) [/INST] ### Response: SELECT record FROM table_name_67 WHERE home = "warriors" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: English title of malèna had what original title? ### Context: CREATE TABLE table_name_9 (original_title VARCHAR, english_title VARCHAR) [/INST] ### Response: SELECT original_title FROM table_name_9 WHERE english_title = "malèna" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Original title of возвращение / vozvrashcheniye had what English title? ### Context: CREATE TABLE table_name_79 (english_title VARCHAR, original_title VARCHAR) [/INST] ### Response: SELECT english_title FROM table_name_79 WHERE original_title = "возвращение / vozvrashcheniye" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Director of christophe barratier had what highest year? ### Context: CREATE TABLE table_name_3 (year INTEGER, director VARCHAR) [/INST] ### Response: SELECT MAX(year) FROM table_name_3 WHERE director = "christophe barratier" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: English title of amélie had what year? ### Context: CREATE TABLE table_name_87 (year VARCHAR, english_title VARCHAR) [/INST] ### Response: SELECT year FROM table_name_87 WHERE english_title = "amélie" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Original title of das leben der anderen had what director? ### Context: CREATE TABLE table_name_28 (director VARCHAR, original_title VARCHAR) [/INST] ### Response: SELECT director FROM table_name_28 WHERE original_title = "das leben der anderen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 director where the role was Fred Ayres? ### Context: CREATE TABLE table_name_13 (director VARCHAR, role VARCHAR) [/INST] ### Response: SELECT director FROM table_name_13 WHERE role = "fred ayres" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 theatre where Peter P. Peters is the role? ### Context: CREATE TABLE table_name_8 (theatre VARCHAR, _studio VARCHAR, _or_network VARCHAR, role VARCHAR) [/INST] ### Response: SELECT theatre, _studio, _or_network FROM table_name_8 WHERE role = "peter p. peters" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are the Runner(s)-up with a Margin of 1 stroke? ### Context: CREATE TABLE table_name_12 (runner_s__up VARCHAR, margin VARCHAR) [/INST] ### Response: SELECT runner_s__up FROM table_name_12 WHERE margin = "1 stroke" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are the Runner(s)-up with a Margin of 3 strokes? ### Context: CREATE TABLE table_name_49 (runner_s__up VARCHAR, margin VARCHAR) [/INST] ### Response: SELECT runner_s__up FROM table_name_49 WHERE margin = "3 strokes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Year with of the open championship? ### Context: CREATE TABLE table_name_14 (year INTEGER, championship VARCHAR) [/INST] ### Response: SELECT MAX(year) FROM table_name_14 WHERE championship = "the open championship" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Winning score in 1956? ### Context: CREATE TABLE table_name_57 (winning_score VARCHAR, year VARCHAR) [/INST] ### Response: SELECT winning_score FROM table_name_57 WHERE year = 1956 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Winning score in 1965? ### Context: CREATE TABLE table_name_90 (winning_score VARCHAR, year VARCHAR) [/INST] ### Response: SELECT winning_score FROM table_name_90 WHERE year = 1965 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Year had a Runner(s)-up of flory van donck? ### Context: CREATE TABLE table_name_64 (year VARCHAR, runner_s__up VARCHAR) [/INST] ### Response: SELECT year FROM table_name_64 WHERE runner_s__up = "flory van donck" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 release Date for the Region in New Zealand ? ### Context: CREATE TABLE table_name_72 (date VARCHAR, region VARCHAR) [/INST] ### Response: SELECT date FROM table_name_72 WHERE region = "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 is the release Date for the New Zealand Region? ### Context: CREATE TABLE table_name_16 (date VARCHAR, region VARCHAR) [/INST] ### Response: SELECT date FROM table_name_16 WHERE region = "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 is the Date of Catalogue number 602517739468? ### Context: CREATE TABLE table_name_90 (date VARCHAR, catalogue VARCHAR) [/INST] ### Response: SELECT date FROM table_name_90 WHERE catalogue = "602517739468" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Region was the Catalogue number 1785089 released? ### Context: CREATE TABLE table_name_16 (region VARCHAR, catalogue VARCHAR) [/INST] ### Response: SELECT region FROM table_name_16 WHERE catalogue = "1785089" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of license has a frequency less than 100.1? ### Context: CREATE TABLE table_name_5 (city_of_license VARCHAR, frequency_mhz INTEGER) [/INST] ### Response: SELECT city_of_license FROM table_name_5 WHERE frequency_mhz < 100.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 ERP W with a call sign at w261cq? ### Context: CREATE TABLE table_name_19 (erp_w VARCHAR, call_sign VARCHAR) [/INST] ### Response: SELECT erp_w FROM table_name_19 WHERE call_sign = "w261cq" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 value for ERP W when frequency is more than 100.1? ### Context: CREATE TABLE table_name_6 (erp_w INTEGER, frequency_mhz INTEGER) [/INST] ### Response: SELECT AVG(erp_w) FROM table_name_6 WHERE frequency_mhz > 100.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 frequency has call sign w228bg? ### Context: CREATE TABLE table_name_45 (frequency_mhz VARCHAR, call_sign VARCHAR) [/INST] ### Response: SELECT frequency_mhz FROM table_name_45 WHERE call_sign = "w228bg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 value of ERP W in Beardstown, Illinois for a frequency greater than 93.5? ### Context: CREATE TABLE table_name_70 (erp_w INTEGER, city_of_license VARCHAR, frequency_mhz VARCHAR) [/INST] ### Response: SELECT AVG(erp_w) FROM table_name_70 WHERE city_of_license = "beardstown, illinois" AND frequency_mhz > 93.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 winning score in 2000? ### Context: CREATE TABLE table_name_30 (score VARCHAR, year VARCHAR) [/INST] ### Response: SELECT score FROM table_name_30 WHERE year = 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: Name the weekly rank for sunday, june 14, 2009 ### Context: CREATE TABLE table_name_43 (weekly_rank VARCHAR, airdate VARCHAR) [/INST] ### Response: SELECT weekly_rank FROM table_name_43 WHERE airdate = "sunday, june 14, 2009" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Pick # is the highest one that has an Overall of 184, and a Round larger than 6? ### Context: CREATE TABLE table_name_25 (pick__number INTEGER, overall VARCHAR, round VARCHAR) [/INST] ### Response: SELECT MAX(pick__number) FROM table_name_25 WHERE overall = 184 AND round > 6 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many picks have an Overall of 114? ### Context: CREATE TABLE table_name_75 (pick__number VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT COUNT(pick__number) FROM table_name_75 WHERE overall = 114 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Overall is the highest one that has a Name of daimon shelton, and a Round larger than 6? ### Context: CREATE TABLE table_name_26 (overall INTEGER, name VARCHAR, round VARCHAR) [/INST] ### Response: SELECT MAX(overall) FROM table_name_26 WHERE name = "daimon shelton" AND round > 6 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Pick # is the highest one that has an Overall larger than 21, and a College of north carolina, and a Round smaller than 3? ### Context: CREATE TABLE table_name_14 (pick__number INTEGER, round VARCHAR, overall VARCHAR, college VARCHAR) [/INST] ### Response: SELECT MAX(pick__number) FROM table_name_14 WHERE overall > 21 AND college = "north carolina" AND round < 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 Overall larger than 147, and a Pick # of 21? ### Context: CREATE TABLE table_name_45 (position VARCHAR, overall VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT position FROM table_name_45 WHERE overall > 147 AND pick__number = 21 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is cornell's lowest pick number? ### Context: CREATE TABLE table_name_13 (pick__number INTEGER, college VARCHAR) [/INST] ### Response: SELECT MIN(pick__number) FROM table_name_13 WHERE college = "cornell" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Eviction result has a Net vote of 31.86%? ### Context: CREATE TABLE table_name_10 (eviction_result VARCHAR, net_vote VARCHAR) [/INST] ### Response: SELECT eviction_result FROM table_name_10 WHERE net_vote = "31.86%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Nominee has a Vote to Save of 1.98%? ### Context: CREATE TABLE table_name_36 (nominee VARCHAR, vote_to_save VARCHAR) [/INST] ### Response: SELECT nominee FROM table_name_36 WHERE vote_to_save = "1.98%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Vote to Evict has a Vote to Save of 21.22%? ### Context: CREATE TABLE table_name_27 (vote_to_evict VARCHAR, vote_to_save VARCHAR) [/INST] ### Response: SELECT vote_to_evict FROM table_name_27 WHERE vote_to_save = "21.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: Which Vote to Save has an Eviction # smaller than 14, and a Vote to Evict of 5.42%? ### Context: CREATE TABLE table_name_3 (vote_to_save VARCHAR, eviction_no VARCHAR, vote_to_evict VARCHAR) [/INST] ### Response: SELECT vote_to_save FROM table_name_3 WHERE eviction_no < 14 AND vote_to_evict = "5.42%" </s>