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: In what Year was Rhode Island the National Champion? ### Context: CREATE TABLE table_name_77 (year VARCHAR, national_champion VARCHAR) [/INST] ### Response: SELECT year FROM table_name_77 WHERE national_champion = "rhode island" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Runner-up in the Monroe County Sports Commission? ### Context: CREATE TABLE table_name_59 (runner_up VARCHAR, host VARCHAR) [/INST] ### Response: SELECT runner_up FROM table_name_59 WHERE host = "monroe county sports commission" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: At what Location was the Runner-up TBD? ### Context: CREATE TABLE table_name_3 (location VARCHAR, runner_up VARCHAR) [/INST] ### Response: SELECT location FROM table_name_3 WHERE runner_up = "tbd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: At what Location did Robert Morris University (Illinois) Host the Lindenwood National Chamption? ### Context: CREATE TABLE table_name_71 (location VARCHAR, host VARCHAR, national_champion VARCHAR) [/INST] ### Response: SELECT location FROM table_name_71 WHERE host = "robert morris university (illinois)" AND national_champion = "lindenwood" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Runner-up with Ohio as the National Champion in Tucson, AZ? ### Context: CREATE TABLE table_name_53 (runner_up VARCHAR, national_champion VARCHAR, location VARCHAR) [/INST] ### Response: SELECT runner_up FROM table_name_53 WHERE national_champion = "ohio" AND location = "tucson, az" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 graphics spec has a VRAM spec of 512MB? ### Context: CREATE TABLE table_name_43 (graphics VARCHAR, vram VARCHAR) [/INST] ### Response: SELECT graphics FROM table_name_43 WHERE vram = "512mb" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 MSRP for the laptop with storage of 128-512 GB SSD? ### Context: CREATE TABLE table_name_2 (msrp VARCHAR, storage VARCHAR) [/INST] ### Response: SELECT msrp FROM table_name_2 WHERE storage = "128-512 gb ssd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponent for game 5 ### Context: CREATE TABLE table_name_25 (opponent VARCHAR, game VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_25 WHERE game = 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What status is shown for Cadeby? ### Context: CREATE TABLE table_name_17 (status VARCHAR, name VARCHAR) [/INST] ### Response: SELECT status FROM table_name_17 WHERE name = "cadeby" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Former local authority for Ecclesfield? ### Context: CREATE TABLE table_name_96 (former_local_authority VARCHAR, name VARCHAR) [/INST] ### Response: SELECT former_local_authority FROM table_name_96 WHERE name = "ecclesfield" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Status of Mexborough? ### Context: CREATE TABLE table_name_83 (status VARCHAR, name VARCHAR) [/INST] ### Response: SELECT status FROM table_name_83 WHERE name = "mexborough" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 on December 1? ### Context: CREATE TABLE table_name_36 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_36 WHERE date = "december 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 skip has Oliver Dupont as a second? ### Context: CREATE TABLE table_name_63 (skip VARCHAR, second VARCHAR) [/INST] ### Response: SELECT skip FROM table_name_63 WHERE second = "oliver dupont" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 second's third is Jean-Michel Arsenault? ### Context: CREATE TABLE table_name_91 (second VARCHAR, third VARCHAR) [/INST] ### Response: SELECT second FROM table_name_91 WHERE third = "jean-michel arsenault" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 skip's third is Steffen Walstad? ### Context: CREATE TABLE table_name_1 (skip VARCHAR, third VARCHAR) [/INST] ### Response: SELECT skip FROM table_name_1 WHERE third = "steffen walstad" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 skip's second is Martin Hejhal? ### Context: CREATE TABLE table_name_51 (skip VARCHAR, second VARCHAR) [/INST] ### Response: SELECT skip FROM table_name_51 WHERE second = "martin hejhal" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 skip's lead is Gordon McDougall? ### Context: CREATE TABLE table_name_17 (skip VARCHAR, lead VARCHAR) [/INST] ### Response: SELECT skip FROM table_name_17 WHERE lead = "gordon mcdougall" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 second's skip is Chris Plys? ### Context: CREATE TABLE table_name_10 (second VARCHAR, skip VARCHAR) [/INST] ### Response: SELECT second FROM table_name_10 WHERE skip = "chris plys" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Poles have a Class of 125cc, and a Team of matteoni racing team, and Points larger than 3? ### Context: CREATE TABLE table_name_39 (poles INTEGER, points VARCHAR, class VARCHAR, team VARCHAR) [/INST] ### Response: SELECT SUM(poles) FROM table_name_39 WHERE class = "125cc" AND team = "matteoni racing team" AND points > 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many Podiums have a Class of 250cc, and an F laps of 0? ### Context: CREATE TABLE table_name_18 (podiums INTEGER, class VARCHAR, f_laps VARCHAR) [/INST] ### Response: SELECT SUM(podiums) FROM table_name_18 WHERE class = "250cc" AND f_laps = 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: Team of elgin city, and a Highest smaller than 537 had what total number of average? ### Context: CREATE TABLE table_name_20 (average VARCHAR, team VARCHAR, highest VARCHAR) [/INST] ### Response: SELECT COUNT(average) FROM table_name_20 WHERE team = "elgin city" AND highest < 537 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Lowest larger than 288, and a Team of east stirlingshire has what lowest average? ### Context: CREATE TABLE table_name_61 (average INTEGER, lowest VARCHAR, team VARCHAR) [/INST] ### Response: SELECT MIN(average) FROM table_name_61 WHERE lowest > 288 AND team = "east stirlingshire" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 owner of the c501 ### Context: CREATE TABLE table_name_2 (owner VARCHAR, locomotive VARCHAR) [/INST] ### Response: SELECT owner FROM table_name_2 WHERE locomotive = "c501" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Game larger than 32, and a December smaller than 21? ### Context: CREATE TABLE table_name_34 (record VARCHAR, game VARCHAR, december VARCHAR) [/INST] ### Response: SELECT record FROM table_name_34 WHERE game > 32 AND december < 21 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Score has Points larger than 46, and a Game smaller than 35, and a December of 21? ### Context: CREATE TABLE table_name_35 (score VARCHAR, december VARCHAR, points VARCHAR, game VARCHAR) [/INST] ### Response: SELECT score FROM table_name_35 WHERE points > 46 AND game < 35 AND december = 21 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which December is the lowest one that has Points of 52? ### Context: CREATE TABLE table_name_96 (december INTEGER, points VARCHAR) [/INST] ### Response: SELECT MIN(december) FROM table_name_96 WHERE points = 52 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Points of 48, and a Game larger than 33? ### Context: CREATE TABLE table_name_77 (december INTEGER, points VARCHAR, game VARCHAR) [/INST] ### Response: SELECT SUM(december) FROM table_name_77 WHERE points = 48 AND game > 33 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Regular Season Champions has a Year of 1943–44? ### Context: CREATE TABLE table_name_70 (regular_season_champion_s_ VARCHAR, year VARCHAR) [/INST] ### Response: SELECT regular_season_champion_s_ FROM table_name_70 WHERE year = "1943–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 Tournament venue has a Tournament Champion of duke and a Record of 15–1? ### Context: CREATE TABLE table_name_33 (tournament_venue VARCHAR, tournament_champion VARCHAR, record VARCHAR) [/INST] ### Response: SELECT tournament_venue FROM table_name_33 WHERE tournament_champion = "duke" AND record = "15–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: When has a Tournament venue of richmond arena, and a Record of 12–1, and a Regular Season Champion(s) of virginia tech? ### Context: CREATE TABLE table_name_45 (year VARCHAR, regular_season_champion_s_ VARCHAR, tournament_venue VARCHAR, record VARCHAR) [/INST] ### Response: SELECT year FROM table_name_45 WHERE tournament_venue = "richmond arena" AND record = "12–1" AND regular_season_champion_s_ = "virginia tech" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Record of 9–1, and a Tournament Champion of duke? ### Context: CREATE TABLE table_name_50 (year VARCHAR, record VARCHAR, tournament_champion VARCHAR) [/INST] ### Response: SELECT year FROM table_name_50 WHERE record = "9–1" AND tournament_champion = "duke" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Regular Season Champion(s) has a Tournament Champion of west virginia in 1955–56? ### Context: CREATE TABLE table_name_4 (regular_season_champion_s_ VARCHAR, tournament_champion VARCHAR, year VARCHAR) [/INST] ### Response: SELECT regular_season_champion_s_ FROM table_name_4 WHERE tournament_champion = "west virginia" AND year = "1955–56" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Regular Season Champion(s) has a Record of 9–0, and a Tournament Champion of north carolina? ### Context: CREATE TABLE table_name_16 (regular_season_champion_s_ VARCHAR, record VARCHAR, tournament_champion VARCHAR) [/INST] ### Response: SELECT regular_season_champion_s_ FROM table_name_16 WHERE record = "9–0" AND tournament_champion = "north carolina" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round for a player selected from a college of New Hampshire? ### Context: CREATE TABLE table_name_64 (round INTEGER, college_junior_club_team__league_ VARCHAR) [/INST] ### Response: SELECT MIN(round) FROM table_name_64 WHERE college_junior_club_team__league_ = "new hampshire" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nationality is Rod Langway? ### Context: CREATE TABLE table_name_79 (nationality VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_79 WHERE player = "rod langway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What position is the player selected that has a round value over 3? ### Context: CREATE TABLE table_name_81 (position VARCHAR, round INTEGER) [/INST] ### Response: SELECT position FROM table_name_81 WHERE round > 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What college did the player selected in rounds over 3 play for? ### Context: CREATE TABLE table_name_59 (college_junior_club_team__league_ VARCHAR, round INTEGER) [/INST] ### Response: SELECT college_junior_club_team__league_ FROM table_name_59 WHERE round > 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest round that has a player selected from Clarkson University? ### Context: CREATE TABLE table_name_15 (round INTEGER, college_junior_club_team__league_ VARCHAR) [/INST] ### Response: SELECT MAX(round) FROM table_name_15 WHERE college_junior_club_team__league_ = "clarkson university" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank of Deutsche Telekom with a market value over 209,628? ### Context: CREATE TABLE table_name_85 (rank INTEGER, name VARCHAR, market_value___usd_million_ VARCHAR) [/INST] ### Response: SELECT MIN(rank) FROM table_name_85 WHERE name = "deutsche telekom" AND market_value___usd_million_ > 209 OFFSET 628 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 market value of all corporations headquartered in Germany? ### Context: CREATE TABLE table_name_51 (market_value___usd_million_ VARCHAR, headquarters VARCHAR) [/INST] ### Response: SELECT COUNT(market_value___usd_million_) FROM table_name_51 WHERE headquarters = "germany" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 earnings of Vijay Singh who had more than 24 wins? ### Context: CREATE TABLE table_name_34 (earnings___ INTEGER, player VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT MIN(earnings___) AS $__ FROM table_name_34 WHERE player = "vijay singh" AND wins > 24 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Rank is the highest one that has a Change smaller than 44, and a Centre of buenos aires, and a Rating larger than 628? ### Context: CREATE TABLE table_name_2 (rank INTEGER, rating VARCHAR, change VARCHAR, centre VARCHAR) [/INST] ### Response: SELECT MAX(rank) FROM table_name_2 WHERE change < 44 AND centre = "buenos aires" AND rating > 628 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Centre has a Rank of 42? ### Context: CREATE TABLE table_name_34 (centre VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT centre FROM table_name_34 WHERE rank = 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: Which Rating has a Centre of helsinki? ### Context: CREATE TABLE table_name_88 (rating INTEGER, centre VARCHAR) [/INST] ### Response: SELECT SUM(rating) FROM table_name_88 WHERE centre = "helsinki" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Change is the average one that has a Centre of buenos aires, and a Rank smaller than 46? ### Context: CREATE TABLE table_name_31 (change INTEGER, centre VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT AVG(change) FROM table_name_31 WHERE centre = "buenos aires" AND rank < 46 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Operation of find-min has what Fibonacci? ### Context: CREATE TABLE table_name_18 (fibonacci VARCHAR, operation VARCHAR) [/INST] ### Response: SELECT fibonacci FROM table_name_18 WHERE operation = "find-min" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Binomial of θ(1) has what pairing? ### Context: CREATE TABLE table_name_68 (pairing VARCHAR, binomial VARCHAR) [/INST] ### Response: SELECT pairing FROM table_name_68 WHERE binomial = "θ(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: Pairing of θ(1), and a Binomial of θ(1) is what binary? ### Context: CREATE TABLE table_name_82 (binary VARCHAR, pairing VARCHAR, binomial VARCHAR) [/INST] ### Response: SELECT binary FROM table_name_82 WHERE pairing = "θ(1)" AND binomial = "θ(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: Operation of find-min has what binary? ### Context: CREATE TABLE table_name_98 (binary VARCHAR, operation VARCHAR) [/INST] ### Response: SELECT binary FROM table_name_98 WHERE operation = "find-min" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Binary of θ(log n), and a Fibonacci of θ(1) has what binomial? ### Context: CREATE TABLE table_name_7 (binomial VARCHAR, binary VARCHAR, fibonacci VARCHAR) [/INST] ### Response: SELECT binomial FROM table_name_7 WHERE binary = "θ(log n)" AND fibonacci = "θ(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 of the titles have a duration time of 4:57? ### Context: CREATE TABLE table_name_81 (title VARCHAR, duration VARCHAR) [/INST] ### Response: SELECT title FROM table_name_81 WHERE duration = "4:57" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 composer has a duration time of 3:31? ### Context: CREATE TABLE table_name_8 (composer VARCHAR, duration VARCHAR) [/INST] ### Response: SELECT composer FROM table_name_8 WHERE duration = "3:31" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which one of the duration has a translation of 1000 lies? ### Context: CREATE TABLE table_name_73 (duration VARCHAR, translation VARCHAR) [/INST] ### Response: SELECT duration FROM table_name_73 WHERE translation = "1000 lies" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title has a translation of I know in it? ### Context: CREATE TABLE table_name_76 (title VARCHAR, translation VARCHAR) [/INST] ### Response: SELECT title FROM table_name_76 WHERE translation = "i know" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title has a translation in it of 1000 lies? ### Context: CREATE TABLE table_name_32 (title VARCHAR, translation VARCHAR) [/INST] ### Response: SELECT title FROM table_name_32 WHERE translation = "1000 lies" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won the gold when Bertil Ahlin Sweden won the silver? ### Context: CREATE TABLE table_name_48 (gold VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT gold FROM table_name_48 WHERE silver = "bertil ahlin sweden" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won the gold when Jules van Dyk Belgium won bronze? ### Context: CREATE TABLE table_name_13 (gold VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT gold FROM table_name_13 WHERE bronze = "jules van dyk belgium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the second for the curling team which has alternate Margarita Fomina? ### Context: CREATE TABLE table_name_48 (second VARCHAR, alternate VARCHAR) [/INST] ### Response: SELECT second FROM table_name_48 WHERE alternate = "margarita fomina" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the second for the team with alternate Margarita Fomina? ### Context: CREATE TABLE table_name_12 (second VARCHAR, alternate VARCHAR) [/INST] ### Response: SELECT second FROM table_name_12 WHERE alternate = "margarita fomina" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the alternate for the team for which Monika Wagner is the third? ### Context: CREATE TABLE table_name_60 (alternate VARCHAR, third VARCHAR) [/INST] ### Response: SELECT alternate FROM table_name_60 WHERE third = "monika wagner" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the lead for the team with Nkeiruka Ezekh as second? ### Context: CREATE TABLE table_name_59 (lead VARCHAR, second VARCHAR) [/INST] ### Response: SELECT lead FROM table_name_59 WHERE second = "nkeiruka ezekh" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the lead for the team with Christina Haller as alternate? ### Context: CREATE TABLE table_name_86 (lead VARCHAR, alternate VARCHAR) [/INST] ### Response: SELECT lead FROM table_name_86 WHERE alternate = "christina haller" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Latitude of the monument built in 1901? ### Context: CREATE TABLE table_name_83 (latitude VARCHAR, year_built VARCHAR) [/INST] ### Response: SELECT latitude FROM table_name_83 WHERE year_built = 1901 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 City or Town of the monument with a Longitude of 89°11′w? ### Context: CREATE TABLE table_name_71 (city_or_town VARCHAR, longitude VARCHAR) [/INST] ### Response: SELECT city_or_town FROM table_name_71 WHERE longitude = "89°11′w" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Monument was built after 1887 in Warren County? ### Context: CREATE TABLE table_name_95 (monument_name VARCHAR, year_built VARCHAR, county VARCHAR) [/INST] ### Response: SELECT monument_name FROM table_name_95 WHERE year_built > 1887 AND county = "warren" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 County has a Longitude of 85°45′43″w? ### Context: CREATE TABLE table_name_47 (county VARCHAR, longitude VARCHAR) [/INST] ### Response: SELECT county FROM table_name_47 WHERE longitude = "85°45′43″w" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Opponent from the final with a Partner named jorgelina cravero? ### Context: CREATE TABLE table_name_83 (opponent_in_the_final VARCHAR, partner VARCHAR) [/INST] ### Response: SELECT opponent_in_the_final FROM table_name_83 WHERE partner = "jorgelina cravero" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the match at the leipzig tournament with a score w/o? ### Context: CREATE TABLE table_name_45 (outcome VARCHAR, tournament VARCHAR, score VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_45 WHERE tournament = "leipzig" AND score = "w/o" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 that anke huber played against in the leipzig tournament? ### Context: CREATE TABLE table_name_53 (opponent VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_53 WHERE tournament = "leipzig" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the match against Magdalena Maleeva? ### Context: CREATE TABLE table_name_73 (outcome VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_73 WHERE opponent = "magdalena maleeva" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 name of the player that was Pick 15? ### Context: CREATE TABLE table_name_8 (player VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT player FROM table_name_8 WHERE pick__number = "15" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: To which college/junior/club team did the player that was Pick 12 belong? ### Context: CREATE TABLE table_name_19 (college_junior_club_team VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT college_junior_club_team FROM table_name_19 WHERE pick__number = "12" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What NHL team has a player in the position of Left Wing that came from the Toronto Marlboros (omjhl)? ### Context: CREATE TABLE table_name_81 (nhl_team VARCHAR, position VARCHAR, college_junior_club_team VARCHAR) [/INST] ### Response: SELECT nhl_team FROM table_name_81 WHERE position = "left wing" AND college_junior_club_team = "toronto marlboros (omjhl)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: To which college/junior/club team did the player that was Pick 16 belong? ### Context: CREATE TABLE table_name_6 (college_junior_club_team VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT college_junior_club_team FROM table_name_6 WHERE pick__number = "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 company does Simon Stone direct earlier than 2011? ### Context: CREATE TABLE table_name_14 (company VARCHAR, director VARCHAR, year VARCHAR) [/INST] ### Response: SELECT company FROM table_name_14 WHERE director = "simon stone" AND year < 2011 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Result has a Competition of world cup qualifying, and a Date of march 21, 1954? ### Context: CREATE TABLE table_name_85 (result VARCHAR, competition VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_85 WHERE competition = "world cup qualifying" AND date = "march 21, 1954" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 w, and a Score of 2-0, and a Date of may 9, 1954? ### Context: CREATE TABLE table_name_50 (competition VARCHAR, date VARCHAR, result VARCHAR, score VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_50 WHERE result = "w" AND score = "2-0" AND date = "may 9, 1954" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Result has a Score of 4-1, and a Competition of world cup qualifying? ### Context: CREATE TABLE table_name_89 (result VARCHAR, score VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT result FROM table_name_89 WHERE score = "4-1" AND competition = "world cup qualifying" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Competition of world cup qualifying, and a Brazil scorers of baltazar, and a Date of march 14, 1954? ### Context: CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR, competition VARCHAR, brazil_scorers VARCHAR) [/INST] ### Response: SELECT score FROM table_name_65 WHERE competition = "world cup qualifying" AND brazil_scorers = "baltazar" AND date = "march 14, 1954" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Brazil scorers have a Result of w, and a Competition of world cup qualifying, and a Date of february 28, 1954? ### Context: CREATE TABLE table_name_5 (brazil_scorers VARCHAR, date VARCHAR, result VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT brazil_scorers FROM table_name_5 WHERE result = "w" AND competition = "world cup qualifying" AND date = "february 28, 1954" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 first elected was 1900 what was the district? ### Context: CREATE TABLE table_name_4 (district VARCHAR, first_elected VARCHAR) [/INST] ### Response: SELECT district FROM table_name_4 WHERE first_elected = "1900" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 first elected was 1898 what was the party? ### Context: CREATE TABLE table_name_9 (party VARCHAR, first_elected VARCHAR) [/INST] ### Response: SELECT party FROM table_name_9 WHERE first_elected = "1898" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 have a Lost of 6, and Points smaller than 7? ### Context: CREATE TABLE table_name_31 (games INTEGER, lost VARCHAR, points VARCHAR) [/INST] ### Response: SELECT SUM(games) FROM table_name_31 WHERE lost = 6 AND points < 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 Larry Centers' average number when there were less than 600 yards? ### Context: CREATE TABLE table_name_23 (number INTEGER, player VARCHAR, yards VARCHAR) [/INST] ### Response: SELECT AVG(number) FROM table_name_23 WHERE player = "larry centers" AND yards < 600 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when there were more than 50 long and less than 762 yards? ### Context: CREATE TABLE table_name_81 (number INTEGER, long VARCHAR, yards VARCHAR) [/INST] ### Response: SELECT MAX(number) FROM table_name_81 WHERE long > 50 AND yards < 762 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 amount of yards when the average is 9.5? ### Context: CREATE TABLE table_name_12 (yards INTEGER, average VARCHAR) [/INST] ### Response: SELECT MAX(yards) FROM table_name_12 WHERE average = 9.5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the runner-up on 5 aug 1990? ### Context: CREATE TABLE table_name_67 (runner_up VARCHAR, date VARCHAR) [/INST] ### Response: SELECT runner_up FROM table_name_67 WHERE date = "5 aug 1990" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Tournament has a Winning score of −14 (65-69-72-68=274)? ### Context: CREATE TABLE table_name_18 (tournament VARCHAR, winning_score VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_18 WHERE winning_score = −14(65 - 69 - 72 - 68 = 274) </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Runner-up has a Winning score of −20 (70-69-64-65=268)? ### Context: CREATE TABLE table_name_69 (runner_up VARCHAR, winning_score VARCHAR) [/INST] ### Response: SELECT runner_up FROM table_name_69 WHERE winning_score = −20(70 - 69 - 64 - 65 = 268) </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Date has a Winning score of −15 (71-69-68-65=273)? ### Context: CREATE TABLE table_name_98 (date VARCHAR, winning_score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_98 WHERE winning_score = −15(71 - 69 - 68 - 65 = 273) </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 which tournament was vijay singh a runner-up? ### Context: CREATE TABLE table_name_15 (tournament VARCHAR, runner_up VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_15 WHERE runner_up = "vijay singh" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 which tournament was vijay singh a runner-up? ### Context: CREATE TABLE table_name_20 (tournament VARCHAR, runner_up VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_20 WHERE runner_up = "vijay singh" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Description has a Year of Issue of 1983, and a Weight of 3.50grams? ### Context: CREATE TABLE table_name_67 (description VARCHAR, year_of_issue VARCHAR, weight VARCHAR) [/INST] ### Response: SELECT description FROM table_name_67 WHERE year_of_issue = 1983 AND weight = "3.50grams" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Thickness has a Year of Issue smaller than 1983? ### Context: CREATE TABLE table_name_35 (thickness VARCHAR, year_of_issue INTEGER) [/INST] ### Response: SELECT thickness FROM table_name_35 WHERE year_of_issue < 1983 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Description has a Year of Issue of 1983, and a Thickness of 1.7mm, and a Weight of 3.50grams? ### Context: CREATE TABLE table_name_8 (description VARCHAR, weight VARCHAR, year_of_issue VARCHAR, thickness VARCHAR) [/INST] ### Response: SELECT description FROM table_name_8 WHERE year_of_issue = 1983 AND thickness = "1.7mm" AND weight = "3.50grams" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Thickness has a Weight of 3.50grams? ### Context: CREATE TABLE table_name_3 (thickness VARCHAR, weight VARCHAR) [/INST] ### Response: SELECT thickness FROM table_name_3 WHERE weight = "3.50grams" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Thickness has a Diameter of 21.9mm? ### Context: CREATE TABLE table_name_56 (thickness VARCHAR, diameter VARCHAR) [/INST] ### Response: SELECT thickness FROM table_name_56 WHERE diameter = "21.9mm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 on the Socialist Labor ticket in the race against W. Averell Harriman? ### Context: CREATE TABLE table_name_65 (socialist_labor_ticket VARCHAR, liberal_ticket VARCHAR) [/INST] ### Response: SELECT socialist_labor_ticket FROM table_name_65 WHERE liberal_ticket = "w. averell harriman" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Republican candidate against the Democratic candidate Arthur Levitt? ### Context: CREATE TABLE table_name_65 (republican_ticket VARCHAR, democratic_ticket VARCHAR) [/INST] ### Response: SELECT republican_ticket FROM table_name_65 WHERE democratic_ticket = "arthur levitt" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Independent Socialist candidate for the office of comptroller? ### Context: CREATE TABLE table_name_35 (independent_socialist_ticket VARCHAR, office VARCHAR) [/INST] ### Response: SELECT independent_socialist_ticket FROM table_name_35 WHERE office = "comptroller" </s>