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: When is the Competition of friendly match with a Result of 2–1? ### Context: CREATE TABLE table_name_47 (date VARCHAR, competition VARCHAR, result VARCHAR) [/INST] ### Response: SELECT date FROM table_name_47 WHERE competition = "friendly match" AND result = "2–1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Venue has a Result of 2–0? ### Context: CREATE TABLE table_name_2 (venue VARCHAR, result VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_2 WHERE result = "2–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: What is the Score of 2007 afc asian cup qualification with a Result of 8–0? ### Context: CREATE TABLE table_name_81 (score VARCHAR, competition VARCHAR, result VARCHAR) [/INST] ### Response: SELECT score FROM table_name_81 WHERE competition = "2007 afc asian cup qualification" AND result = "8–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 Competition has a Result of 3–1? ### Context: CREATE TABLE table_name_54 (competition VARCHAR, result VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_54 WHERE result = "3–1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the Indians' record during the game that had 31,467 in attendance? ### Context: CREATE TABLE table_name_82 (record VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT record FROM table_name_82 WHERE attendance = "31,467" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is 4:00 long ### Context: CREATE TABLE table_name_16 (year VARCHAR, length VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_name_16 WHERE length = "4:00" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What round on average was a defensive tackle selected? ### Context: CREATE TABLE table_name_87 (round INTEGER, position VARCHAR) [/INST] ### Response: SELECT AVG(round) FROM table_name_87 WHERE position = "defensive tackle" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total for the silver less than 1, and a rank more than 5, more than 1 bronze? ### Context: CREATE TABLE table_name_71 (total INTEGER, bronze VARCHAR, silver VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT MIN(total) FROM table_name_71 WHERE silver < 1 AND rank > 5 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: Who ha the gold and 1 bronze, and more than 0 silver? ### Context: CREATE TABLE table_name_58 (gold VARCHAR, bronze VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT gold FROM table_name_58 WHERE bronze = 1 AND silver > 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: Who has a total of the Bronze less than 4, gold more than 0, and no silver? ### Context: CREATE TABLE table_name_30 (bronze INTEGER, silver VARCHAR, total VARCHAR, gold VARCHAR) [/INST] ### Response: SELECT SUM(bronze) FROM table_name_30 WHERE total < 4 AND gold > 0 AND silver = 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: What's the Points average with a Lost of 21, and Position of 22? ### Context: CREATE TABLE table_name_36 (points INTEGER, lost VARCHAR, position VARCHAR) [/INST] ### Response: SELECT AVG(points) FROM table_name_36 WHERE lost = 21 AND position = 22 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the total Lost that has a Played that's larger than 42? ### Context: CREATE TABLE table_name_35 (lost INTEGER, played INTEGER) [/INST] ### Response: SELECT SUM(lost) FROM table_name_35 WHERE played > 42 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 relative value that contains a jyutping of daam3? ### Context: CREATE TABLE table_name_72 (relative_value VARCHAR, jyutping VARCHAR) [/INST] ### Response: SELECT relative_value FROM table_name_72 WHERE jyutping = "daam3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 metric value has a jyutping of lei4? ### Context: CREATE TABLE table_name_11 (metric_value VARCHAR, jyutping VARCHAR) [/INST] ### Response: SELECT metric_value FROM table_name_11 WHERE jyutping = "lei4" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 imperial that contains a jyutping of cin4? ### Context: CREATE TABLE table_name_51 (imperial_value VARCHAR, jyutping VARCHAR) [/INST] ### Response: SELECT imperial_value FROM table_name_51 WHERE jyutping = "cin4" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 location that led to a record of 9-0-0? ### Context: CREATE TABLE table_name_95 (location VARCHAR, record VARCHAR) [/INST] ### Response: SELECT location FROM table_name_95 WHERE record = "9-0-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: What is the lowest number of bronze medals with less than 2 silver medals and more than 1 medal in total for Uzbekistan? ### Context: CREATE TABLE table_name_95 (bronze INTEGER, nation VARCHAR, silver VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MIN(bronze) FROM table_name_95 WHERE silver < 2 AND total > 1 AND nation = "uzbekistan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest round with a pick# of 11, a position of offensive tackle, and overall less than 414? ### Context: CREATE TABLE table_name_24 (round INTEGER, position VARCHAR, pick__number VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT MAX(round) FROM table_name_24 WHERE pick__number = 11 AND overall < 414 AND position = "offensive tackle" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest round with a pick# of 9, overll less than 468, and position of defensive back? ### Context: CREATE TABLE table_name_77 (round INTEGER, overall VARCHAR, pick__number VARCHAR, position VARCHAR) [/INST] ### Response: SELECT MAX(round) FROM table_name_77 WHERE pick__number = 9 AND position = "defensive back" AND overall < 468 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest round with a guard position and an overall greater than 71? ### Context: CREATE TABLE table_name_21 (round INTEGER, position VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT MAX(round) FROM table_name_21 WHERE position = "guard" AND overall > 71 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who has an overall greater than 414 with a pick# bigger than 9? ### Context: CREATE TABLE table_name_81 (name VARCHAR, overall VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT name FROM table_name_81 WHERE overall > 414 AND pick__number > 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 Gaelic name for an area less than 127 in Kintyre? ### Context: CREATE TABLE table_name_63 (gaelic_name VARCHAR, area___ha__ VARCHAR, location VARCHAR) [/INST] ### Response: SELECT gaelic_name FROM table_name_63 WHERE area___ha__ < 127 AND location = "kintyre" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 on 7 february 2008? ### Context: CREATE TABLE table_name_42 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_42 WHERE date = "7 february 2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the outcome on 13 may 2007? ### Context: CREATE TABLE table_name_80 (outcome VARCHAR, date VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_80 WHERE date = "13 may 2007" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 on 3 may 2009? ### Context: CREATE TABLE table_name_82 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_82 WHERE date = "3 may 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: Name the score for venue of jalan besar, singapore ### Context: CREATE TABLE table_name_81 (score VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT score FROM table_name_81 WHERE venue = "jalan besar, singapore" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score for 2 june 2008 ### Context: CREATE TABLE table_name_97 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_97 WHERE date = "2 june 2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Opponent has a Game of 63? ### Context: CREATE TABLE table_name_33 (opponent VARCHAR, game VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_33 WHERE game = 63 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Score of 1–4? ### Context: CREATE TABLE table_name_30 (record VARCHAR, score VARCHAR) [/INST] ### Response: SELECT record FROM table_name_30 WHERE score = "1–4" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Record has a Points smaller than 62 and a February larger than 16, and a Score of 8–7? ### Context: CREATE TABLE table_name_81 (record VARCHAR, score VARCHAR, points VARCHAR, february VARCHAR) [/INST] ### Response: SELECT record FROM table_name_81 WHERE points < 62 AND february > 16 AND score = "8–7" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of Issues has a End month of oct-80? ### Context: CREATE TABLE table_name_60 (number_of_issues VARCHAR, end_month VARCHAR) [/INST] ### Response: SELECT COUNT(number_of_issues) FROM table_name_60 WHERE end_month = "oct-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: Which Indicia has anEnd month in feb-75? ### Context: CREATE TABLE table_name_52 (indicia VARCHAR, end_month VARCHAR) [/INST] ### Response: SELECT indicia FROM table_name_52 WHERE end_month = "feb-75" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which HAAT has a Channels TV / RF of 31 (psip) 44 (uhf) ### Context: CREATE TABLE table_name_17 (haat VARCHAR, channels_tv___rf VARCHAR) [/INST] ### Response: SELECT haat FROM table_name_17 WHERE channels_tv___rf = "31 (psip) 44 (uhf)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Channels TV / RF of 67 ( psip ) 29 ( uhf ) ### Context: CREATE TABLE table_name_4 (city_of_license VARCHAR, channels_tv___rf VARCHAR) [/INST] ### Response: SELECT city_of_license FROM table_name_4 WHERE channels_tv___rf = "67 ( psip ) 29 ( uhf )" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Station has hagerstown? ### Context: CREATE TABLE table_name_28 (station VARCHAR, city_of_license VARCHAR) [/INST] ### Response: SELECT station FROM table_name_28 WHERE city_of_license = "hagerstown" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 HAAT has 65944? ### Context: CREATE TABLE table_name_34 (haat VARCHAR, facility_id VARCHAR) [/INST] ### Response: SELECT haat FROM table_name_34 WHERE facility_id = 65944 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Channels TV / RF of 36 (psip) 36 (uhf)? Question 5 ### Context: CREATE TABLE table_name_3 (city_of_license VARCHAR, channels_tv___rf VARCHAR) [/INST] ### Response: SELECT city_of_license FROM table_name_3 WHERE channels_tv___rf = "36 (psip) 36 (uhf)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 format is dated October 29, 2004? ### Context: CREATE TABLE table_name_8 (format VARCHAR, date VARCHAR) [/INST] ### Response: SELECT format FROM table_name_8 WHERE date = "october 29, 2004" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 with the catalogue number ptcd-1015-6? ### Context: CREATE TABLE table_name_59 (date VARCHAR, catalogue__number VARCHAR) [/INST] ### Response: SELECT date FROM table_name_59 WHERE catalogue__number = "ptcd-1015-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 label for December 2004? ### Context: CREATE TABLE table_name_73 (label VARCHAR, date VARCHAR) [/INST] ### Response: SELECT label FROM table_name_73 WHERE date = "december 2004" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for Hydra Head Records with a CD format? ### Context: CREATE TABLE table_name_21 (date VARCHAR, label VARCHAR, format VARCHAR) [/INST] ### Response: SELECT date FROM table_name_21 WHERE label = "hydra head records" AND format = "cd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which country has Hydra Head Records on February 2005? ### Context: CREATE TABLE table_name_96 (country VARCHAR, label VARCHAR, date VARCHAR) [/INST] ### Response: SELECT country FROM table_name_96 WHERE label = "hydra head records" AND date = "february 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 country has Hydra Head Records with a 2lp format? ### Context: CREATE TABLE table_name_97 (country VARCHAR, format VARCHAR, label VARCHAR) [/INST] ### Response: SELECT country FROM table_name_97 WHERE format = "2lp" AND label = "hydra head records" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who rode mad rush? ### Context: CREATE TABLE table_name_44 (jockey VARCHAR, horse VARCHAR) [/INST] ### Response: SELECT jockey FROM table_name_44 WHERE horse = "mad rush" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What place was the horse with a barrier of 20 and weighing less than 54 kg ### Context: CREATE TABLE table_name_35 (placing VARCHAR, weight__kg_ VARCHAR, barrier_ VARCHAR, b_ VARCHAR) [/INST] ### Response: SELECT placing FROM table_name_35 WHERE weight__kg_ < 54 AND barrier_[b_] = "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: What place was the viewed horse? ### Context: CREATE TABLE table_name_13 (placing VARCHAR, horse VARCHAR) [/INST] ### Response: SELECT placing FROM table_name_13 WHERE horse = "viewed" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average number of wins of the year with less than 5 top 10s, a winning of $39,190 and less than 2 starts? ### Context: CREATE TABLE table_name_17 (wins INTEGER, starts VARCHAR, top_10 VARCHAR, winnings VARCHAR) [/INST] ### Response: SELECT AVG(wins) FROM table_name_17 WHERE top_10 < 5 AND winnings = "$39,190" AND starts < 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 is the highest number of poles of the year before 1992 with more than 18 starts and winnings of $125,102? ### Context: CREATE TABLE table_name_81 (poles INTEGER, year VARCHAR, starts VARCHAR, winnings VARCHAR) [/INST] ### Response: SELECT MAX(poles) FROM table_name_81 WHERE starts > 18 AND winnings = "$125,102" AND year < 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: Author of stanisław wyspiański, and a Year of 1969 happened in what theatre? ### Context: CREATE TABLE table_name_5 (theatre VARCHAR, author VARCHAR, year VARCHAR) [/INST] ### Response: SELECT theatre FROM table_name_5 WHERE author = "stanisław wyspiański" AND year = 1969 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did New Jersey Devils played in? ### Context: CREATE TABLE table_name_54 (game VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT game FROM table_name_54 WHERE opponent = "new jersey devils" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record of 21-25-7-4? ### Context: CREATE TABLE table_name_92 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_92 WHERE record = "21-25-7-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 record of 22-28-7-4? ### Context: CREATE TABLE table_name_9 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_9 WHERE record = "22-28-7-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 group has 1200 m as the distance? ### Context: CREATE TABLE table_name_82 (group VARCHAR, distance VARCHAR) [/INST] ### Response: SELECT group FROM table_name_82 WHERE distance = "1200 m" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What venue has g1 as the group? ### Context: CREATE TABLE table_name_45 (venue VARCHAR, group VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_45 WHERE group = "g1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the highest Points with the Team of Tacuary, and has Losses that's smaller than 4? ### Context: CREATE TABLE table_name_56 (points INTEGER, team VARCHAR, losses VARCHAR) [/INST] ### Response: SELECT MAX(points) FROM table_name_56 WHERE team = "tacuary" AND losses < 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's the sum of Losses that Scored larger than 15, has Points that's larger than 16, and Played that's larger than 9? ### Context: CREATE TABLE table_name_15 (losses INTEGER, played VARCHAR, scored VARCHAR, points VARCHAR) [/INST] ### Response: SELECT SUM(losses) FROM table_name_15 WHERE scored > 15 AND points > 16 AND played > 9 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the highest Played with a Scored of 15, and Draws that's less than 1? ### Context: CREATE TABLE table_name_80 (played INTEGER, scored VARCHAR, draws VARCHAR) [/INST] ### Response: SELECT MAX(played) FROM table_name_80 WHERE scored = 15 AND draws < 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's the sum of WIns with Draws that's larger than 1, Losses that's smaller than 4, and Conceded of 20? ### Context: CREATE TABLE table_name_82 (wins INTEGER, conceded VARCHAR, draws VARCHAR, losses VARCHAR) [/INST] ### Response: SELECT SUM(wins) FROM table_name_82 WHERE draws > 1 AND losses < 4 AND conceded = 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: What's the lowest Position with a Conceded that's larger than 16, Draws of 3, and Losses that's larger than 3? ### Context: CREATE TABLE table_name_6 (position INTEGER, losses VARCHAR, conceded VARCHAR, draws VARCHAR) [/INST] ### Response: SELECT MIN(position) FROM table_name_6 WHERE conceded > 16 AND draws = 3 AND losses > 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 processors are supported with a PCI-express of x16: 1 slot x1: 4 slots and the nforce 550 model? ### Context: CREATE TABLE table_name_82 (processors_supported VARCHAR, pci_express VARCHAR, model VARCHAR) [/INST] ### Response: SELECT processors_supported FROM table_name_82 WHERE pci_express = "x16: 1 slot x1: 4 slots" AND model = "nforce 550" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 processors supported by a ddr2 memory and the nforce 550 model? ### Context: CREATE TABLE table_name_91 (processors_supported VARCHAR, memory VARCHAR, model VARCHAR) [/INST] ### Response: SELECT processors_supported FROM table_name_91 WHERE memory = "ddr2" AND model = "nforce 550" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 PCI-express with a ddr2 memory and a nforce 520 model? ### Context: CREATE TABLE table_name_80 (pci_express VARCHAR, memory VARCHAR, model VARCHAR) [/INST] ### Response: SELECT pci_express FROM table_name_80 WHERE memory = "ddr2" AND model = "nforce 520" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Russian word for wine glass that contains 4.16 fl. oz.? ### Context: CREATE TABLE table_name_14 (russian VARCHAR, us_customary VARCHAR) [/INST] ### Response: SELECT russian FROM table_name_14 WHERE us_customary = "4.16 fl. oz." </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 imperial size for the unit that has a ratio of 1/20? ### Context: CREATE TABLE table_name_11 (imperial VARCHAR, ratio VARCHAR) [/INST] ### Response: SELECT imperial FROM table_name_11 WHERE ratio = "1/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: How big in metric terms is the unit that has a ratio of 1/20? ### Context: CREATE TABLE table_name_54 (metric_value VARCHAR, ratio VARCHAR) [/INST] ### Response: SELECT metric_value FROM table_name_54 WHERE ratio = "1/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: How large in US customary terms is the unit called butylka (vodochnaya)? ### Context: CREATE TABLE table_name_33 (us_customary VARCHAR, unit VARCHAR) [/INST] ### Response: SELECT us_customary FROM table_name_33 WHERE unit = "butylka (vodochnaya)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 translation of chetvert? ### Context: CREATE TABLE table_name_81 (translation VARCHAR, unit VARCHAR) [/INST] ### Response: SELECT translation FROM table_name_81 WHERE unit = "chetvert" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Russian word translates to bucket? ### Context: CREATE TABLE table_name_34 (russian VARCHAR, translation VARCHAR) [/INST] ### Response: SELECT russian FROM table_name_34 WHERE translation = "bucket" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Points larger than 6, and a Results of 522:443 had what lowest matches? ### Context: CREATE TABLE table_name_44 (matches INTEGER, points VARCHAR, results VARCHAR) [/INST] ### Response: SELECT MIN(matches) FROM table_name_44 WHERE points > 6 AND results = "522:443" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Loses of 2, and a Pos. smaller than 2 had how many highest matches? ### Context: CREATE TABLE table_name_75 (matches INTEGER, loses VARCHAR, pos VARCHAR) [/INST] ### Response: SELECT MAX(matches) FROM table_name_75 WHERE loses = 2 AND pos < 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 game was played on clay and on 2 May 2009? ### Context: CREATE TABLE table_name_49 (outcome VARCHAR, surface VARCHAR, date VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_49 WHERE surface = "clay" AND date = "2 may 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: What person was played against when the playing surface was hard? ### Context: CREATE TABLE table_name_42 (opponent VARCHAR, surface VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_42 WHERE 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: With the score of 6–3, 2–6, [10–8] and played on clay who was the opponent? ### Context: CREATE TABLE table_name_69 (opponent VARCHAR, surface VARCHAR, score VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_69 WHERE surface = "clay" AND score = "6–3, 2–6, [10–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 is the rank of the park in pigeon forge, tennessee in the best food category? ### Context: CREATE TABLE table_name_57 (rank VARCHAR, location VARCHAR, category VARCHAR) [/INST] ### Response: SELECT COUNT(rank) FROM table_name_57 WHERE location = "pigeon forge, tennessee" AND category = "best food" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 building is in Shenzhen, have less than 115 floors, and was completed before 2017? ### Context: CREATE TABLE table_name_79 (name VARCHAR, floors VARCHAR, city VARCHAR, completion VARCHAR) [/INST] ### Response: SELECT name FROM table_name_79 WHERE city = "shenzhen" AND completion < 2017 AND floors < 115 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 earliest year having a length of 11:25? ### Context: CREATE TABLE table_name_21 (year INTEGER, length VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_name_21 WHERE length = "11:25" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year had a version called Wolf Mix? ### Context: CREATE TABLE table_name_11 (year INTEGER, version VARCHAR) [/INST] ### Response: SELECT AVG(year) FROM table_name_11 WHERE version = "wolf mix" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1978 what is the NFL team? ### Context: CREATE TABLE table_name_30 (nfl_team VARCHAR, draft_year VARCHAR) [/INST] ### Response: SELECT nfl_team FROM table_name_30 WHERE draft_year = 1978 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the opponent with attendance at 64,002? ### Context: CREATE TABLE table_name_87 (opponent VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_87 WHERE attendance = "64,002" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the highest week with 84,856 in attendance? ### Context: CREATE TABLE table_name_96 (week INTEGER, attendance VARCHAR) [/INST] ### Response: SELECT MAX(week) FROM table_name_96 WHERE attendance = "84,856" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in a week less than 13 on November 9, 2003? ### Context: CREATE TABLE table_name_69 (record VARCHAR, week VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_69 WHERE week < 13 AND date = "november 9, 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: On what date was the result w 20-17? ### Context: CREATE TABLE table_name_43 (date VARCHAR, result VARCHAR) [/INST] ### Response: SELECT date FROM table_name_43 WHERE result = "w 20-17" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the attendance for record 2-0? ### Context: CREATE TABLE table_name_52 (attendance VARCHAR, record VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_52 WHERE record = "2-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: On what date was the game at Lincoln Financial Field? ### Context: CREATE TABLE table_name_40 (date VARCHAR, game_site VARCHAR) [/INST] ### Response: SELECT date FROM table_name_40 WHERE game_site = "lincoln financial field" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which player has a pick of 175? ### Context: CREATE TABLE table_name_58 (player VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT player FROM table_name_58 WHERE pick = 175 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Zack Jordan has the lowest pick and a round of less than 28? ### Context: CREATE TABLE table_name_69 (pick INTEGER, player VARCHAR, round VARCHAR) [/INST] ### Response: SELECT MIN(pick) FROM table_name_69 WHERE player = "zack jordan" AND round < 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: What is the sum of the pick for player roger zatkoff? ### Context: CREATE TABLE table_name_24 (pick INTEGER, player VARCHAR) [/INST] ### Response: SELECT SUM(pick) FROM table_name_24 WHERE player = "roger zatkoff" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 metal has a size that is 26mm (across scallops)? ### Context: CREATE TABLE table_name_56 (metal VARCHAR, size VARCHAR) [/INST] ### Response: SELECT metal FROM table_name_56 WHERE size = "26mm (across scallops)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 weight with the shape of scalloped, and that is a size of 20mm (across scallops)? ### Context: CREATE TABLE table_name_92 (weight VARCHAR, shape VARCHAR, size VARCHAR) [/INST] ### Response: SELECT weight FROM table_name_92 WHERE shape = "scalloped" AND size = "20mm (across scallops)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 weight with a denomination that is three paise? ### Context: CREATE TABLE table_name_41 (weight VARCHAR, denomination VARCHAR) [/INST] ### Response: SELECT weight FROM table_name_41 WHERE denomination = "three paise" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 weight with a denomination that is ten paise? ### Context: CREATE TABLE table_name_53 (weight VARCHAR, denomination VARCHAR) [/INST] ### Response: SELECT weight FROM table_name_53 WHERE denomination = "ten paise" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of games drawn, where the games played was less than 7? ### Context: CREATE TABLE table_name_86 (drawn INTEGER, games INTEGER) [/INST] ### Response: SELECT MAX(drawn) FROM table_name_86 WHERE games < 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: Which October is the lowest one that has an Opponent of washington capitals? ### Context: CREATE TABLE table_name_38 (october INTEGER, opponent VARCHAR) [/INST] ### Response: SELECT MIN(october) FROM table_name_38 WHERE opponent = "washington capitals" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Game larger than 7, and Points smaller than 14? ### Context: CREATE TABLE table_name_17 (score VARCHAR, game VARCHAR, points VARCHAR) [/INST] ### Response: SELECT score FROM table_name_17 WHERE game > 7 AND points < 14 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many Points have an Opponent of @ calgary flames? ### Context: CREATE TABLE table_name_77 (points INTEGER, opponent VARCHAR) [/INST] ### Response: SELECT SUM(points) FROM table_name_77 WHERE opponent = "@ calgary flames" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the mean number of events where the rank is 1 and there are more than 3 wins? ### Context: CREATE TABLE table_name_50 (events INTEGER, rank VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT AVG(events) FROM table_name_50 WHERE rank = 1 AND wins > 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 Supercopa 1994 has a Team of estudiantes? ### Context: CREATE TABLE table_name_10 (supercopa_1994 VARCHAR, team VARCHAR) [/INST] ### Response: SELECT supercopa_1994 FROM table_name_10 WHERE team = "estudiantes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 CONMEBOL 1994 has a Supercopa 1994 of n/a, and a Recopa 1994 of n/a, and a Team of san lorenzo? ### Context: CREATE TABLE table_name_12 (conmebol_1994 VARCHAR, team VARCHAR, supercopa_1994 VARCHAR, recopa_1994 VARCHAR) [/INST] ### Response: SELECT conmebol_1994 FROM table_name_12 WHERE supercopa_1994 = "n/a" AND recopa_1994 = "n/a" AND team = "san lorenzo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Recopa 1994 has a Supercopa 1994 of 1st round, and a Team of argentinos juniors? ### Context: CREATE TABLE table_name_54 (recopa_1994 VARCHAR, supercopa_1994 VARCHAR, team VARCHAR) [/INST] ### Response: SELECT recopa_1994 FROM table_name_54 WHERE supercopa_1994 = "1st round" AND team = "argentinos juniors" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Team has a Recopa 1994 of n/a and a CONMEBOL 1994 of 1st round? ### Context: CREATE TABLE table_name_92 (team VARCHAR, recopa_1994 VARCHAR, conmebol_1994 VARCHAR) [/INST] ### Response: SELECT team FROM table_name_92 WHERE recopa_1994 = "n/a" AND conmebol_1994 = "1st round" </s>