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: Name the most goals for josep samitier ### Context: CREATE TABLE table_name_8 (goals INTEGER, name VARCHAR) [/INST] ### Response: SELECT MAX(goals) FROM table_name_8 WHERE name = "josep samitier" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a December smaller than 22 and a Score of 4–3? ### Context: CREATE TABLE table_name_58 (record VARCHAR, december VARCHAR, score VARCHAR) [/INST] ### Response: SELECT record FROM table_name_58 WHERE december < 22 AND score = "4–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 Score has a Record of 15–12–2? ### Context: CREATE TABLE table_name_28 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_28 WHERE record = "15–12–2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which December has a Game of 37 and Points smaller than 47? ### Context: CREATE TABLE table_name_35 (december INTEGER, game VARCHAR, points VARCHAR) [/INST] ### Response: SELECT AVG(december) FROM table_name_35 WHERE game = 37 AND points < 47 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Points have a December smaller than 6, and a Score of 1–1 ot, and a Game smaller than 28? ### Context: CREATE TABLE table_name_1 (points INTEGER, game VARCHAR, december VARCHAR, score VARCHAR) [/INST] ### Response: SELECT MIN(points) FROM table_name_1 WHERE december < 6 AND score = "1–1 ot" AND game < 28 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Game has a Score of 4–0 and Points of 44? ### Context: CREATE TABLE table_name_3 (game VARCHAR, score VARCHAR, points VARCHAR) [/INST] ### Response: SELECT game FROM table_name_3 WHERE score = "4–0" AND points = 44 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Previous conference has a Year joined smaller than 1976, and an IHSAA Class of A? ### Context: CREATE TABLE table_name_23 (previous_conference VARCHAR, year_joined VARCHAR, ihsaa_class VARCHAR) [/INST] ### Response: SELECT previous_conference FROM table_name_23 WHERE year_joined < 1976 AND ihsaa_class = "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: Which Enrollment has a Mascot of norsemen? ### Context: CREATE TABLE table_name_5 (enrollment INTEGER, mascot VARCHAR) [/INST] ### Response: SELECT SUM(enrollment) FROM table_name_5 WHERE mascot = "norsemen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Mascot has a Previous conference of independents, and a Location of akron? ### Context: CREATE TABLE table_name_38 (mascot VARCHAR, previous_conference VARCHAR, location VARCHAR) [/INST] ### Response: SELECT mascot FROM table_name_38 WHERE previous_conference = "independents" AND location = "akron" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 IHSAA Class has a Mascot of wildcats? ### Context: CREATE TABLE table_name_2 (ihsaa_class VARCHAR, mascot VARCHAR) [/INST] ### Response: SELECT ihsaa_class FROM table_name_2 WHERE mascot = "wildcats" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 School in Wabash has a Mascot of knights? ### Context: CREATE TABLE table_name_96 (school VARCHAR, location VARCHAR, mascot VARCHAR) [/INST] ### Response: SELECT school FROM table_name_96 WHERE location = "wabash" AND mascot = "knights" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Win percentage has a Name of red kelly? ### Context: CREATE TABLE table_name_55 (win_percentage INTEGER, name VARCHAR) [/INST] ### Response: SELECT SUM(win_percentage) FROM table_name_55 WHERE name = "red kelly" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Name has Games of 105? ### Context: CREATE TABLE table_name_53 (name VARCHAR, games VARCHAR) [/INST] ### Response: SELECT name FROM table_name_53 WHERE games = 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: Which Win percentage has Points smaller than 472, and a Record (W–L–T/OTL) of 140–220–40? ### Context: CREATE TABLE table_name_79 (win_percentage INTEGER, points VARCHAR, record__w_l_t___otl_ VARCHAR) [/INST] ### Response: SELECT AVG(win_percentage) FROM table_name_79 WHERE points < 472 AND record__w_l_t___otl_ = "140–220–40" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which round has an H/A of A with Notts County as opponents? ### Context: CREATE TABLE table_name_72 (round VARCHAR, h___a VARCHAR, opponents VARCHAR) [/INST] ### Response: SELECT round FROM table_name_72 WHERE h___a = "a" AND opponents = "notts county" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Premiership Years that had in the Competition of 1983-1992? ### Context: CREATE TABLE table_name_65 (premiership_years VARCHAR, years_in_competition VARCHAR) [/INST] ### Response: SELECT premiership_years FROM table_name_65 WHERE years_in_competition = "1983-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 Years in competition that had a Premiership of 1982, 1984, 1999, 2002-03, 2008-09-10? ### Context: CREATE TABLE table_name_2 (years_in_competition VARCHAR, premiership_years VARCHAR) [/INST] ### Response: SELECT years_in_competition FROM table_name_2 WHERE premiership_years = "1982, 1984, 1999, 2002-03, 2008-09-10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Nickname in the Competition of 1982-1994? ### Context: CREATE TABLE table_name_76 (nickname VARCHAR, years_in_competition VARCHAR) [/INST] ### Response: SELECT nickname FROM table_name_76 WHERE years_in_competition = "1982-1994" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the Nickname that had a No. 0, and Years in Competition of 1982-2003? ### Context: CREATE TABLE table_name_26 (nickname VARCHAR, no_of_premierships VARCHAR, years_in_competition VARCHAR) [/INST] ### Response: SELECT nickname FROM table_name_26 WHERE no_of_premierships = 0 AND years_in_competition = "1982-2003" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which highest Points has a Score of 1–1 ot? ### Context: CREATE TABLE table_name_49 (points INTEGER, score VARCHAR) [/INST] ### Response: SELECT MAX(points) FROM table_name_49 WHERE score = "1–1 ot" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which College/Junior/Club team has a Round of 6? ### Context: CREATE TABLE table_name_13 (college_junior_club_team VARCHAR, round VARCHAR) [/INST] ### Response: SELECT college_junior_club_team FROM table_name_13 WHERE round = 6 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the record on April 16? ### Context: CREATE TABLE table_name_41 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_41 WHERE date = "april 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: What was the record on April 8? ### Context: CREATE TABLE table_name_53 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_53 WHERE date = "april 8" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date was the visitor chicago black hawks, and a Record of 1-1? ### Context: CREATE TABLE table_name_12 (date VARCHAR, visitor VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_12 WHERE visitor = "chicago black hawks" AND record = "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: Studio host of jimmy myers had what play by play? ### Context: CREATE TABLE table_name_80 (play_by_play VARCHAR, studio_host VARCHAR) [/INST] ### Response: SELECT play_by_play FROM table_name_80 WHERE studio_host = "jimmy myers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Play-by-play of sean grande, and a Year of 2004-05 had what studio host? ### Context: CREATE TABLE table_name_47 (studio_host VARCHAR, play_by_play VARCHAR, year VARCHAR) [/INST] ### Response: SELECT studio_host FROM table_name_47 WHERE play_by_play = "sean grande" AND year = "2004-05" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Year of 2006-07 had what studio host? ### Context: CREATE TABLE table_name_10 (studio_host VARCHAR, year VARCHAR) [/INST] ### Response: SELECT studio_host FROM table_name_10 WHERE year = "2006-07" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Play-by-play of sean grande, and a Flagship Station of wrko, and a Year of 2005-06 had what studio host? ### Context: CREATE TABLE table_name_1 (studio_host VARCHAR, year VARCHAR, play_by_play VARCHAR, flagship_station VARCHAR) [/INST] ### Response: SELECT studio_host FROM table_name_1 WHERE play_by_play = "sean grande" AND flagship_station = "wrko" AND year = "2005-06" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Studio host of john ryder, and a Year of 2007-08 had what play by play? ### Context: CREATE TABLE table_name_38 (play_by_play VARCHAR, studio_host VARCHAR, year VARCHAR) [/INST] ### Response: SELECT play_by_play FROM table_name_38 WHERE studio_host = "john ryder" AND year = "2007-08" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Play-by-play of sean grande, and a Flagship Station of wrko involved what color commentator? ### Context: CREATE TABLE table_name_99 (color_commentator_s_ VARCHAR, play_by_play VARCHAR, flagship_station VARCHAR) [/INST] ### Response: SELECT color_commentator_s_ FROM table_name_99 WHERE play_by_play = "sean grande" AND flagship_station = "wrko" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 value in 2011 for United States? ### Context: CREATE TABLE table_name_95 (country VARCHAR) [/INST] ### Response: SELECT 2011 FROM table_name_95 WHERE country = "united states" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 value in 2011 when value in 2009 was 82,003? ### Context: CREATE TABLE table_name_45 (Id VARCHAR) [/INST] ### Response: SELECT 2011 FROM table_name_45 WHERE 2009 = "82,003" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was rank 1? ### Context: CREATE TABLE table_name_68 (country VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT country FROM table_name_68 WHERE rank = "1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What country was rank 4? ### Context: CREATE TABLE table_name_43 (country VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT country FROM table_name_43 WHERE rank = "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: Games started of 4 is in what hometown? ### Context: CREATE TABLE table_name_79 (hometown VARCHAR, games_started VARCHAR) [/INST] ### Response: SELECT hometown FROM table_name_79 WHERE games_started = "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: Weight larger than 180, and a Player of charles b. carter is what previous experience? ### Context: CREATE TABLE table_name_41 (previous_experience VARCHAR, weight VARCHAR, player VARCHAR) [/INST] ### Response: SELECT previous_experience FROM table_name_41 WHERE weight > 180 AND player = "charles b. carter" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Player of herbert s. graver has what position? ### Context: CREATE TABLE table_name_24 (position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT position FROM table_name_24 WHERE player = "herbert s. graver" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Position of fullback has what highest weight? ### Context: CREATE TABLE table_name_33 (weight INTEGER, position VARCHAR) [/INST] ### Response: SELECT MAX(weight) FROM table_name_33 WHERE position = "fullback" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 callsign whtat uses 7bu? ### Context: CREATE TABLE table_name_9 (callsign VARCHAR, on_air_id VARCHAR) [/INST] ### Response: SELECT callsign FROM table_name_9 WHERE on_air_id = "7bu" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest rank for ben crenshaw after winning more than 14 times? ### Context: CREATE TABLE table_name_65 (rank INTEGER, player VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT MAX(rank) FROM table_name_65 WHERE player = "ben crenshaw" AND wins > 14 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest number of wins for ben crenshaw? ### Context: CREATE TABLE table_name_87 (wins INTEGER, player VARCHAR) [/INST] ### Response: SELECT MIN(wins) FROM table_name_87 WHERE player = "ben crenshaw" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What player has 14 wins? ### Context: CREATE TABLE table_name_83 (player VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT player FROM table_name_83 WHERE wins = 14 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the 1995 value with of the 1993 ATP Masters Series? ### Context: CREATE TABLE table_name_15 (Id VARCHAR) [/INST] ### Response: SELECT 1995 FROM table_name_15 WHERE 1993 = "atp masters series" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1993 value of the 1997 Grand Slams? ### Context: CREATE TABLE table_name_49 (Id VARCHAR) [/INST] ### Response: SELECT 1993 FROM table_name_49 WHERE 1997 = "grand slams" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1998 value with A in 1995, A in 1993, and 1r in 1996? ### Context: CREATE TABLE table_name_4 (Id VARCHAR) [/INST] ### Response: SELECT 1998 FROM table_name_4 WHERE 1995 = "a" AND 1993 = "a" AND 1996 = "1r" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many games does team Czechoslovakia have that had a drawn greater than 0? ### Context: CREATE TABLE table_name_18 (games INTEGER, team VARCHAR, drawn VARCHAR) [/INST] ### Response: SELECT MAX(games) FROM table_name_18 WHERE team = "czechoslovakia" AND drawn > 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Prime Minister's served a term of 344 days? ### Context: CREATE TABLE table_name_68 (Prime VARCHAR, term_in_office VARCHAR) [/INST] ### Response: SELECT Prime AS minister FROM table_name_68 WHERE term_in_office = "344 days" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Minister that served for 307 days? ### Context: CREATE TABLE table_name_46 (minister VARCHAR, term_in_office VARCHAR) [/INST] ### Response: SELECT minister FROM table_name_46 WHERE term_in_office = "307 days" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what ceremony did big titty milfs work in ### Context: CREATE TABLE table_name_35 (ceremony VARCHAR, work VARCHAR) [/INST] ### Response: SELECT ceremony FROM table_name_35 WHERE work = "big titty milfs" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 end result for 28 February 2001? ### Context: CREATE TABLE table_name_52 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_52 WHERE date = "28 february 2001" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many yards did Davin Meggett have with more than 9 Rec.? ### Context: CREATE TABLE table_name_62 (yards INTEGER, player VARCHAR, rec VARCHAR) [/INST] ### Response: SELECT SUM(yards) FROM table_name_62 WHERE player = "davin meggett" AND rec > 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 Darrius Heyward-Bey's average with more than 20 yards and less than 80 long? ### Context: CREATE TABLE table_name_89 (avg VARCHAR, long VARCHAR, yards VARCHAR, player VARCHAR) [/INST] ### Response: SELECT COUNT(avg) FROM table_name_89 WHERE yards > 20 AND player = "darrius heyward-bey" AND long < 80 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many points are associated with a Time/Retired of +10.131 secs? ### Context: CREATE TABLE table_name_77 (points VARCHAR, time_retired VARCHAR) [/INST] ### Response: SELECT COUNT(points) FROM table_name_77 WHERE time_retired = "+10.131 secs" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 associated witha Time/Retired of +8.180 secs, and under 47 laps? ### Context: CREATE TABLE table_name_80 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) [/INST] ### Response: SELECT SUM(grid) FROM table_name_80 WHERE time_retired = "+8.180 secs" AND laps < 47 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 drawn for points over 545? ### Context: CREATE TABLE table_name_81 (drawn INTEGER, points_for INTEGER) [/INST] ### Response: SELECT MAX(drawn) FROM table_name_81 WHERE points_for > 545 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the average loss when the points were 545? ### Context: CREATE TABLE table_name_32 (lost INTEGER, points_for VARCHAR) [/INST] ### Response: SELECT AVG(lost) FROM table_name_32 WHERE points_for = 545 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many games were lost when the order was 2nd and the play was more than 13 ### Context: CREATE TABLE table_name_66 (lost VARCHAR, order VARCHAR, played VARCHAR) [/INST] ### Response: SELECT COUNT(lost) FROM table_name_66 WHERE order = "2nd" AND played > 13 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 least rank with bronze of 2, gold more than 0 and nation of ynys môn/anglesey with total more than 8 ### Context: CREATE TABLE table_name_27 (rank INTEGER, total VARCHAR, nation VARCHAR, bronze VARCHAR, gold VARCHAR) [/INST] ### Response: SELECT MIN(rank) FROM table_name_27 WHERE bronze = 2 AND gold > 0 AND nation = "ynys môn/anglesey" AND total > 8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the least total with rank less than 7, gold more than 16 and bronze less than 29 ### Context: CREATE TABLE table_name_54 (total INTEGER, bronze VARCHAR, rank VARCHAR, gold VARCHAR) [/INST] ### Response: SELECT MIN(total) FROM table_name_54 WHERE rank < 7 AND gold > 16 AND bronze < 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: Name the total number of total with silver of 6, bronze more than 5 and gold less than 4 ### Context: CREATE TABLE table_name_57 (total VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT COUNT(total) FROM table_name_57 WHERE silver = 6 AND bronze > 5 AND gold < 4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What score has a game greater than 11 on October 30? ### Context: CREATE TABLE table_name_1 (score VARCHAR, game VARCHAR, october VARCHAR) [/INST] ### Response: SELECT score FROM table_name_1 WHERE game > 11 AND october = 30 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What October has 0-2-2 as the record? ### Context: CREATE TABLE table_name_13 (october VARCHAR, record VARCHAR) [/INST] ### Response: SELECT october FROM table_name_13 WHERE record = "0-2-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 average game has @ florida panthers as the opponent, 0-1-2 as the record, with an october greater than 8? ### Context: CREATE TABLE table_name_17 (game INTEGER, october VARCHAR, opponent VARCHAR, record VARCHAR) [/INST] ### Response: SELECT AVG(game) FROM table_name_17 WHERE opponent = "@ florida panthers" AND record = "0-1-2" AND october > 8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Lost has Games of 64, and Champs smaller than 0? ### Context: CREATE TABLE table_name_99 (lost INTEGER, games VARCHAR, champs VARCHAR) [/INST] ### Response: SELECT AVG(lost) FROM table_name_99 WHERE games = 64 AND champs < 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Draw is the lowest one that has Champs smaller than 0? ### Context: CREATE TABLE table_name_40 (draw INTEGER, champs INTEGER) [/INST] ### Response: SELECT MIN(draw) FROM table_name_40 WHERE champs < 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Win/Lose Percentage has Champs larger than 0, and a Draw larger than 3? ### Context: CREATE TABLE table_name_92 (win_lose_percentage VARCHAR, champs VARCHAR, draw VARCHAR) [/INST] ### Response: SELECT win_lose_percentage FROM table_name_92 WHERE champs > 0 AND draw > 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 Champs is the average one that has a Draw larger than 2, and Games smaller than 60? ### Context: CREATE TABLE table_name_16 (champs INTEGER, draw VARCHAR, games VARCHAR) [/INST] ### Response: SELECT AVG(champs) FROM table_name_16 WHERE draw > 2 AND games < 60 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 launch date for the Ushio dd-54? ### Context: CREATE TABLE table_name_55 (launched VARCHAR, name VARCHAR) [/INST] ### Response: SELECT launched FROM table_name_55 WHERE name = "ushio dd-54" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which name has a Kanji of 朧? ### Context: CREATE TABLE table_name_77 (name VARCHAR, kanji VARCHAR) [/INST] ### Response: SELECT name FROM table_name_77 WHERE kanji = "朧" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Kanji for the Ayanami dd-45? ### Context: CREATE TABLE table_name_84 (kanji VARCHAR, name VARCHAR) [/INST] ### Response: SELECT kanji FROM table_name_84 WHERE name = "ayanami dd-45" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: size (steps) that has a size (cents) of 58.54, and a just ratio of 28:27, and a just (cents) larger than 62.96 is what total number? ### Context: CREATE TABLE table_name_44 (size__steps_ VARCHAR, just__cents_ VARCHAR, size__cents_ VARCHAR, just_ratio VARCHAR) [/INST] ### Response: SELECT COUNT(size__steps_) FROM table_name_44 WHERE size__cents_ = 58.54 AND just_ratio = "28:27" AND just__cents_ > 62.96 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: size (steps) of 15, and a just (cents) larger than 435.08 is what highest size (cents)? ### Context: CREATE TABLE table_name_26 (size__cents_ INTEGER, size__steps_ VARCHAR, just__cents_ VARCHAR) [/INST] ### Response: SELECT MAX(size__cents_) FROM table_name_26 WHERE size__steps_ = 15 AND just__cents_ > 435.08 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: ratio of 16:13 has how many highest size (steps)? ### Context: CREATE TABLE table_name_38 (size__steps_ INTEGER, just_ratio VARCHAR) [/INST] ### Response: SELECT MAX(size__steps_) FROM table_name_38 WHERE just_ratio = "16:13" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: ratio of 15:14, and a just (cents) larger than 119.44 is what average size (cents)? ### Context: CREATE TABLE table_name_40 (size__cents_ INTEGER, just_ratio VARCHAR, just__cents_ VARCHAR) [/INST] ### Response: SELECT AVG(size__cents_) FROM table_name_40 WHERE just_ratio = "15:14" AND just__cents_ > 119.44 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the match at Stadion pod Vrmcem? ### Context: CREATE TABLE table_name_77 (home VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT home FROM table_name_77 WHERE venue = "stadion pod vrmcem" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who were the guest team wehn the match score was 3:0 (0:2)? ### Context: CREATE TABLE table_name_76 (guest VARCHAR, score__first_match_ VARCHAR) [/INST] ### Response: SELECT guest FROM table_name_76 WHERE score__first_match_ = "3:0 (0: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 Picture Coding Types have Chroma Format of 4:2:2 or 4:2:0 and the Name of 4:2:2 profile? ### Context: CREATE TABLE table_name_57 (picture_coding_types VARCHAR, chroma_format VARCHAR, name VARCHAR) [/INST] ### Response: SELECT picture_coding_types FROM table_name_57 WHERE chroma_format = "4:2:2 or 4:2:0" AND name = "4:2:2 profile" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Intra DC Precision that has the Name main profile? ### Context: CREATE TABLE table_name_59 (intra_dc_precision VARCHAR, name VARCHAR) [/INST] ### Response: SELECT intra_dc_precision FROM table_name_59 WHERE name = "main profile" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Chroma Format that has both Picture Coding Types of i, p, b, and the Name of main profile? ### Context: CREATE TABLE table_name_69 (chroma_format VARCHAR, picture_coding_types VARCHAR, name VARCHAR) [/INST] ### Response: SELECT chroma_format FROM table_name_69 WHERE picture_coding_types = "i, p, b" AND name = "main profile" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Player is from the west Division and the Team of special teams and is from the School Toledo Western Michigan? ### Context: CREATE TABLE table_name_21 (player VARCHAR, school VARCHAR, division VARCHAR, team VARCHAR) [/INST] ### Response: SELECT player FROM table_name_21 WHERE division = "west" AND team = "special teams" AND school = "toledo western michigan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lowest wins for Australia? ### Context: CREATE TABLE table_name_45 (wins INTEGER, country VARCHAR) [/INST] ### Response: SELECT MIN(wins) FROM table_name_45 WHERE country = "australia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winners did Minas, which has 0 third places, have? ### Context: CREATE TABLE table_name_47 (winners VARCHAR, third_place VARCHAR, team VARCHAR) [/INST] ### Response: SELECT winners FROM table_name_47 WHERE third_place = "0" AND team = "minas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winners did Halcones uv xalapa have? ### Context: CREATE TABLE table_name_83 (winners VARCHAR, team VARCHAR) [/INST] ### Response: SELECT winners FROM table_name_83 WHERE team = "halcones uv xalapa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 runners-up did Espartanos de Margarita have? ### Context: CREATE TABLE table_name_84 (runners_up VARCHAR, team VARCHAR) [/INST] ### Response: SELECT runners_up FROM table_name_84 WHERE team = "espartanos de margarita" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Attendances of 60,594? ### Context: CREATE TABLE table_name_34 (opponent VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_34 WHERE attendance = "60,594" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When has a Result of l 27-7 and an Opponent of at minnesota vikings? ### Context: CREATE TABLE table_name_57 (date VARCHAR, result VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_name_57 WHERE result = "l 27-7" AND opponent = "at minnesota vikings" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When has a Week of 9? ### Context: CREATE TABLE table_name_60 (date VARCHAR, week VARCHAR) [/INST] ### Response: SELECT date FROM table_name_60 WHERE week = 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 date did the Steelers play against the New York Jets? ### Context: CREATE TABLE table_name_39 (date VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_name_39 WHERE opponent = "new york jets" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What time did the game start during week 1? ### Context: CREATE TABLE table_name_9 (time___et__ VARCHAR, week VARCHAR) [/INST] ### Response: SELECT time___et__ FROM table_name_9 WHERE week = 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: How many laps for mi-jack conquest racing when they went off course? ### Context: CREATE TABLE table_name_21 (laps INTEGER, team VARCHAR, time_retired VARCHAR) [/INST] ### Response: SELECT SUM(laps) FROM table_name_21 WHERE team = "mi-jack conquest racing" AND time_retired = "off course" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 laps are associated with a grid greater than 8, under 11 points, and will power? ### Context: CREATE TABLE table_name_29 (laps VARCHAR, driver VARCHAR, grid VARCHAR, points VARCHAR) [/INST] ### Response: SELECT COUNT(laps) FROM table_name_29 WHERE grid > 8 AND points < 11 AND driver = "will power" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 average Bronze when silver is more than 3, gold is more than 1 and the total is 14 ### Context: CREATE TABLE table_name_52 (bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR) [/INST] ### Response: SELECT AVG(bronze) FROM table_name_52 WHERE gold > 1 AND total = 14 AND silver > 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: Name the total number of total for rank of 7 and bronze less than 1 ### Context: CREATE TABLE table_name_68 (total VARCHAR, rank VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT COUNT(total) FROM table_name_68 WHERE rank = "7" AND bronze < 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: Name the most silver with bronze more than 1 and gold more than 1 with total less than 7 ### Context: CREATE TABLE table_name_46 (silver INTEGER, gold VARCHAR, bronze VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MAX(silver) FROM table_name_46 WHERE bronze > 1 AND total < 7 AND gold > 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: Name the sum of total for gold less than 1 and bronze of 3 ### Context: CREATE TABLE table_name_56 (total INTEGER, gold VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT SUM(total) FROM table_name_56 WHERE gold < 1 AND bronze = 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: Name the total number of bronze with rank of 5 and silver more than 1 ### Context: CREATE TABLE table_name_39 (bronze VARCHAR, rank VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT COUNT(bronze) FROM table_name_39 WHERE rank = "5" AND silver > 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 total population from the 2000 census for the municipality that has a 464.5 square km area and a population density in 2010 larger than 1840? ### Context: CREATE TABLE table_name_58 (population_2000_census VARCHAR, area__km²_ VARCHAR, population_density_2010___km²_ VARCHAR) [/INST] ### Response: SELECT COUNT(population_2000_census) FROM table_name_58 WHERE area__km²_ = 464.5 AND population_density_2010___km²_ > 1840 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sum of the population in 2010 for the division of japeri with an area of 82.9 squared km? ### Context: CREATE TABLE table_name_16 (population__2010_census_ INTEGER, administrative_division VARCHAR, area__km²_ VARCHAR) [/INST] ### Response: SELECT SUM(population__2010_census_) FROM table_name_16 WHERE administrative_division = "japeri" AND area__km²_ < 82.9 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score for the game against Atlanta? ### Context: CREATE TABLE table_name_6 (score VARCHAR, visitor VARCHAR) [/INST] ### Response: SELECT score FROM table_name_6 WHERE visitor = "atlanta" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the 1936 summer Olympics what was the date of a match that ended with a score of 6-1? ### Context: CREATE TABLE table_name_33 (date VARCHAR, competition VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_33 WHERE competition = "1936 summer olympics" AND score = "6-1" </s>