text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Sport had an Event of men's 400 m hurdles? ### Context: CREATE TABLE table_name_21 (sport VARCHAR, event VARCHAR) [/INST] ### Response: SELECT sport FROM table_name_21 WHERE event = "men's 400 m hurdles" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Medal had a Name of manuel felix diaz? ### Context: CREATE TABLE table_name_1 (medal VARCHAR, name VARCHAR) [/INST] ### Response: SELECT medal FROM table_name_1 WHERE name = "manuel felix diaz" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Name had a Games of 2008 beijing, and a Medal of gold? ### Context: CREATE TABLE table_name_37 (name VARCHAR, games VARCHAR, medal VARCHAR) [/INST] ### Response: SELECT name FROM table_name_37 WHERE games = "2008 beijing" AND medal = "gold" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bedford's mascot? ### Context: CREATE TABLE table_name_20 (mascot VARCHAR, location VARCHAR) [/INST] ### Response: SELECT mascot FROM table_name_20 WHERE location = "bedford" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Segment A of heather gems is what netflix episode? ### Context: CREATE TABLE table_name_97 (netflix VARCHAR, segment_a VARCHAR) [/INST] ### Response: SELECT netflix FROM table_name_97 WHERE segment_a = "heather gems" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Segment B of aerospace fuel lines is what netflix episode? ### Context: CREATE TABLE table_name_99 (netflix VARCHAR, segment_b VARCHAR) [/INST] ### Response: SELECT netflix FROM table_name_99 WHERE segment_b = "aerospace fuel lines" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Segment B of aerospace fuel lines has what segment A? ### Context: CREATE TABLE table_name_5 (segment_a VARCHAR, segment_b VARCHAR) [/INST] ### Response: SELECT segment_a FROM table_name_5 WHERE segment_b = "aerospace fuel lines" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Episode smaller than 210 had what segment c? ### Context: CREATE TABLE table_name_67 (segment_c VARCHAR, episode INTEGER) [/INST] ### Response: SELECT segment_c FROM table_name_67 WHERE episode < 210 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the Material collected for the 978-1401209674 ISBN? ### Context: CREATE TABLE table_name_75 (material_collected VARCHAR, isbn VARCHAR) [/INST] ### Response: SELECT material_collected FROM table_name_75 WHERE isbn = "978-1401209674" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Volume Numbers have the title of Darkness Falls? ### Context: CREATE TABLE table_name_64 (vol__number INTEGER, title VARCHAR) [/INST] ### Response: SELECT SUM(vol__number) FROM table_name_64 WHERE title = "darkness falls" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Volume Number that was published November 2004? ### Context: CREATE TABLE table_name_5 (vol__number INTEGER, publication_date VARCHAR) [/INST] ### Response: SELECT MIN(vol__number) FROM table_name_5 WHERE publication_date = "november 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 Type of game has a Results¹ of 10:1? ### Context: CREATE TABLE table_name_33 (type_of_game VARCHAR, results¹ VARCHAR) [/INST] ### Response: SELECT type_of_game FROM table_name_33 WHERE results¹ = "10: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: With the Type is game of friendly and the City Belgrade and November 2 as the Date what were the Results¹? ### Context: CREATE TABLE table_name_82 (results¹ VARCHAR, date VARCHAR, type_of_game VARCHAR, city VARCHAR) [/INST] ### Response: SELECT results¹ FROM table_name_82 WHERE type_of_game = "friendly" AND city = "belgrade" AND date = "november 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 name of the City with December 21 as a Date? ### Context: CREATE TABLE table_name_94 (city VARCHAR, date VARCHAR) [/INST] ### Response: SELECT city FROM table_name_94 WHERE date = "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: What Type of game was played on Date of July 29? ### Context: CREATE TABLE table_name_28 (type_of_game VARCHAR, date VARCHAR) [/INST] ### Response: SELECT type_of_game FROM table_name_28 WHERE date = "july 29" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Results¹ that was a friendly game and played on June 25? ### Context: CREATE TABLE table_name_12 (results¹ VARCHAR, type_of_game VARCHAR, date VARCHAR) [/INST] ### Response: SELECT results¹ FROM table_name_12 WHERE type_of_game = "friendly" AND date = "june 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 is the version shown for the Length of 4:58? ### Context: CREATE TABLE table_name_1 (version VARCHAR, length VARCHAR) [/INST] ### Response: SELECT version FROM table_name_1 WHERE length = "4:58" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 version shown for the Length of 5:20, and shows Remixed by —? ### Context: CREATE TABLE table_name_48 (version VARCHAR, length VARCHAR, remixed_by VARCHAR) [/INST] ### Response: SELECT version FROM table_name_48 WHERE length = "5:20" AND remixed_by = "—" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Record of 19–16 occurred on what date? ### Context: CREATE TABLE table_name_78 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_78 WHERE record = "19–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: Loss of postponed (rain) rescheduled for may 10 had what record? ### Context: CREATE TABLE table_name_60 (record VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT record FROM table_name_60 WHERE loss = "postponed (rain) rescheduled for may 10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Opponent of @ braves, and a Loss of pelfrey (2–5) had what score? ### Context: CREATE TABLE table_name_88 (score VARCHAR, opponent VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT score FROM table_name_88 WHERE opponent = "@ braves" AND loss = "pelfrey (2–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: Attendance of 30,335 had what record? ### Context: CREATE TABLE table_name_74 (record VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT record FROM table_name_74 WHERE attendance = "30,335" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Record of 22–20 involved what score? ### Context: CREATE TABLE table_name_46 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_46 WHERE record = "22–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: Score of postponed (rain) rescheduled for June 27 had what loss? ### Context: CREATE TABLE table_name_32 (loss VARCHAR, score VARCHAR) [/INST] ### Response: SELECT loss FROM table_name_32 WHERE score = "postponed (rain) rescheduled for june 27" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Station Ownership of eicb tv, and a Call sign of ktcj-ld is what virtual network? ### Context: CREATE TABLE table_name_25 (virtual_channel VARCHAR, station_ownership VARCHAR, call_sign VARCHAR) [/INST] ### Response: SELECT virtual_channel FROM table_name_25 WHERE station_ownership = "eicb tv" AND call_sign = "ktcj-ld" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Call sign of k33ln-ld, and a Virtual channel of 33.5 is what network? ### Context: CREATE TABLE table_name_52 (network VARCHAR, call_sign VARCHAR, virtual_channel VARCHAR) [/INST] ### Response: SELECT network FROM table_name_52 WHERE call_sign = "k33ln-ld" AND virtual_channel = "33.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: Digital channel of 32 belongs to what analog channel? ### Context: CREATE TABLE table_name_3 (analog_channel VARCHAR, digital_channel VARCHAR) [/INST] ### Response: SELECT analog_channel FROM table_name_3 WHERE digital_channel = "32" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Call sign of k43hb-ld is what virtual channel? ### Context: CREATE TABLE table_name_13 (virtual_channel VARCHAR, call_sign VARCHAR) [/INST] ### Response: SELECT virtual_channel FROM table_name_13 WHERE call_sign = "k43hb-ld" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Virtual channel of 16.5 has what call sign? ### Context: CREATE TABLE table_name_23 (call_sign VARCHAR, virtual_channel VARCHAR) [/INST] ### Response: SELECT call_sign FROM table_name_23 WHERE virtual_channel = "16.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: Network of nbc is what digital channel? ### Context: CREATE TABLE table_name_31 (digital_channel VARCHAR, network VARCHAR) [/INST] ### Response: SELECT digital_channel FROM table_name_31 WHERE network = "nbc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 latest first year with 0 total medals and over 0 golds? ### Context: CREATE TABLE table_name_5 (first INTEGER, total VARCHAR, gold VARCHAR) [/INST] ### Response: SELECT MAX(first) FROM table_name_5 WHERE total > 0 AND gold > 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: How many bronzes associated with over 0 total medals, 3 golds, and over 6 games? ### Context: CREATE TABLE table_name_9 (bronze INTEGER, games VARCHAR, total VARCHAR, gold VARCHAR) [/INST] ### Response: SELECT AVG(bronze) FROM table_name_9 WHERE total > 0 AND gold = 3 AND games > 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 fewest number of medals associated with under 6 games and over 0 golds? ### Context: CREATE TABLE table_name_44 (total INTEGER, games VARCHAR, gold VARCHAR) [/INST] ### Response: SELECT MIN(total) FROM table_name_44 WHERE games < 6 AND gold > 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: How many games are associated with over 0 golds and a first year before 2008? ### Context: CREATE TABLE table_name_61 (games INTEGER, gold VARCHAR, first VARCHAR) [/INST] ### Response: SELECT SUM(games) FROM table_name_61 WHERE gold > 0 AND first < 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 is the largest value for goals in rank over 3 with goal ration of 0.54? ### Context: CREATE TABLE table_name_53 (goals INTEGER, rank VARCHAR, goal_ratio VARCHAR) [/INST] ### Response: SELECT MAX(goals) FROM table_name_53 WHERE rank > 3 AND goal_ratio = 0.54 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many goal ratios have rank of 2 with more than 44 games? ### Context: CREATE TABLE table_name_46 (goal_ratio VARCHAR, rank VARCHAR, games VARCHAR) [/INST] ### Response: SELECT COUNT(goal_ratio) FROM table_name_46 WHERE rank = 2 AND games > 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: How many games have 23 goals with a rank greater than 9? ### Context: CREATE TABLE table_name_62 (games VARCHAR, goals VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT COUNT(games) FROM table_name_62 WHERE goals = 23 AND rank > 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: How many goals have a goal ration less than 0.8 with 56 games? ### Context: CREATE TABLE table_name_49 (goals VARCHAR, goal_ratio VARCHAR, games VARCHAR) [/INST] ### Response: SELECT COUNT(goals) FROM table_name_49 WHERE goal_ratio < 0.8 AND games = 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: What Event has an Outcome of other open tournaments? ### Context: CREATE TABLE table_name_34 (event VARCHAR, outcome VARCHAR) [/INST] ### Response: SELECT event FROM table_name_34 WHERE outcome = "other open tournaments" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Outcome of the Singles Event in London, England? ### Context: CREATE TABLE table_name_12 (outcome VARCHAR, event VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_12 WHERE event = "singles" AND venue = "london, england" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in final with an All England Open Outcome? ### Context: CREATE TABLE table_name_58 (opponent_in_the_final VARCHAR, outcome VARCHAR) [/INST] ### Response: SELECT opponent_in_the_final FROM table_name_58 WHERE outcome = "all england open" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the Opponent in London, England with an Outcome of 1? ### Context: CREATE TABLE table_name_8 (opponent_in_the_final VARCHAR, outcome VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT opponent_in_the_final FROM table_name_8 WHERE outcome = "1" AND venue = "london, england" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Outcome when All England Open is the Opponent in the final? ### Context: CREATE TABLE table_name_67 (outcome VARCHAR, opponent_in_the_final VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_67 WHERE opponent_in_the_final = "all england open" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Name of the stage with a Length of 16.62km and Time of 15:10? ### Context: CREATE TABLE table_name_11 (name VARCHAR, length VARCHAR, time VARCHAR) [/INST] ### Response: SELECT name FROM table_name_11 WHERE length = "16.62km" AND time = "15:10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Name of the stage with S. Loeb as the Winner with a Length of 13.04km and a Stage of SS12? ### Context: CREATE TABLE table_name_8 (name VARCHAR, stage VARCHAR, winner VARCHAR, length VARCHAR) [/INST] ### Response: SELECT name FROM table_name_8 WHERE winner = "s. loeb" AND length = "13.04km" AND stage = "ss12" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 SS5 Stage? ### Context: CREATE TABLE table_name_90 (name VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT name FROM table_name_90 WHERE stage = "ss5" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 SS11 Stage? ### Context: CREATE TABLE table_name_3 (name VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT name FROM table_name_3 WHERE stage = "ss11" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ended in a record of 30-28-4, with a March more than 1? ### Context: CREATE TABLE table_name_42 (game VARCHAR, record VARCHAR, march VARCHAR) [/INST] ### Response: SELECT COUNT(game) FROM table_name_42 WHERE record = "30-28-4" AND march > 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 competition has a result of W on June 30, 1966? ### Context: CREATE TABLE table_name_31 (competition VARCHAR, result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_31 WHERE result = "w" AND date = "june 30, 1966" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result of the International Friendly competition on May 15, 1966? ### Context: CREATE TABLE table_name_89 (result VARCHAR, competition VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_89 WHERE competition = "international friendly" AND date = "may 15, 1966" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result when the score is 4-0? ### Context: CREATE TABLE table_name_82 (result VARCHAR, score VARCHAR) [/INST] ### Response: SELECT result FROM table_name_82 WHERE score = "4-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 code for rank 10? ### Context: CREATE TABLE table_name_18 (code__iata_icao_ VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT code__iata_icao_ FROM table_name_18 WHERE rank = 10 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the week 6 when week 3 is 25 and week 7 is eliminated ### Context: CREATE TABLE table_name_85 (week_6 VARCHAR, week_3 VARCHAR, week_7 VARCHAR) [/INST] ### Response: SELECT week_6 FROM table_name_85 WHERE week_3 = "25" AND week_7 = "eliminated" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 week 3 for team of mark/jennifer ### Context: CREATE TABLE table_name_99 (week_3 VARCHAR, team VARCHAR) [/INST] ### Response: SELECT week_3 FROM table_name_99 WHERE team = "mark/jennifer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team for week 1 of 33 ### Context: CREATE TABLE table_name_66 (team VARCHAR, week_1 VARCHAR) [/INST] ### Response: SELECT team FROM table_name_66 WHERE week_1 = "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: Name the week 3 with week 6 of 31+40=71 ### Context: CREATE TABLE table_name_94 (week_3 VARCHAR, week_6 VARCHAR) [/INST] ### Response: SELECT week_3 FROM table_name_94 WHERE week_6 = 31 + 40 = 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: Name the week 3 of 36 ### Context: CREATE TABLE table_name_67 (week_1 VARCHAR, week_3 VARCHAR) [/INST] ### Response: SELECT week_1 FROM table_name_67 WHERE week_3 = "36" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team for week 1 of 28 ### Context: CREATE TABLE table_name_88 (team VARCHAR, week_1 VARCHAR) [/INST] ### Response: SELECT team FROM table_name_88 WHERE week_1 = "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: Who was the home team in the game having a visitor of Chicago? ### Context: CREATE TABLE table_name_21 (home VARCHAR, visitor VARCHAR) [/INST] ### Response: SELECT home FROM table_name_21 WHERE visitor = "chicago" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date of the game that had a visitor of Chicago? ### Context: CREATE TABLE table_name_22 (date VARCHAR, visitor VARCHAR) [/INST] ### Response: SELECT date FROM table_name_22 WHERE visitor = "chicago" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 album is 5:15 long ### Context: CREATE TABLE table_name_60 (version VARCHAR, length VARCHAR) [/INST] ### Response: SELECT version FROM table_name_60 WHERE length = "5:15" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many total show when silver is 0, bronze is 1, and the rank is less than 3? ### Context: CREATE TABLE table_name_73 (total VARCHAR, rank VARCHAR, silver VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT COUNT(total) FROM table_name_73 WHERE silver = 0 AND bronze = 1 AND rank < 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 number for rank when gold is less than 0? ### Context: CREATE TABLE table_name_91 (rank INTEGER, gold INTEGER) [/INST] ### Response: SELECT SUM(rank) FROM table_name_91 WHERE gold < 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 average for silver when bronze is less than 1, and gold is more than 0? ### Context: CREATE TABLE table_name_57 (silver INTEGER, bronze VARCHAR, gold VARCHAR) [/INST] ### Response: SELECT AVG(silver) FROM table_name_57 WHERE bronze < 1 AND gold > 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 average Gold when the rank is less than 3 and the bronze is less than 1? ### Context: CREATE TABLE table_name_79 (gold INTEGER, rank VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT AVG(gold) FROM table_name_79 WHERE rank < 3 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: What is the average Rank when there are 2 bronze, the total is 2 and gold is less than 0? ### Context: CREATE TABLE table_name_19 (rank INTEGER, gold VARCHAR, bronze VARCHAR, total VARCHAR) [/INST] ### Response: SELECT AVG(rank) FROM table_name_19 WHERE bronze = 2 AND total = 2 AND gold < 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 player is playing on round 1 ### Context: CREATE TABLE table_name_53 (player VARCHAR, round VARCHAR) [/INST] ### Response: SELECT player FROM table_name_53 WHERE round = "1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the school that hosts mikael renberg ### Context: CREATE TABLE table_name_91 (college_junior_club_team__league_ VARCHAR, player VARCHAR) [/INST] ### Response: SELECT college_junior_club_team__league_ FROM table_name_91 WHERE player = "mikael renberg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 area served has a Callsign of 5ddn? ### Context: CREATE TABLE table_name_99 (area_served VARCHAR, callsign VARCHAR) [/INST] ### Response: SELECT area_served FROM table_name_99 WHERE callsign = "5ddn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 purpose for Frequency of 102.3? ### Context: CREATE TABLE table_name_65 (purpose VARCHAR, frequency VARCHAR) [/INST] ### Response: SELECT purpose FROM table_name_65 WHERE frequency = "102.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 current freq for Frequency of 104.7? ### Context: CREATE TABLE table_name_67 (freq_currently VARCHAR, frequency VARCHAR) [/INST] ### Response: SELECT freq_currently FROM table_name_67 WHERE frequency = "104.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 was the score for the game with FK Bratstvo as home team? ### Context: CREATE TABLE table_name_7 (score VARCHAR, home VARCHAR) [/INST] ### Response: SELECT score FROM table_name_7 WHERE home = "fk bratstvo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the game that had an away team of FK Mogren? ### Context: CREATE TABLE table_name_89 (attendance VARCHAR, guest VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_89 WHERE guest = "fk mogren" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 final score for the match with a partnering of Tessa Price? ### Context: CREATE TABLE table_name_48 (score_in_the_final VARCHAR, partnering VARCHAR) [/INST] ### Response: SELECT score_in_the_final FROM table_name_48 WHERE partnering = "tessa price" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round that Donald Mason had a pick larger than 114? ### Context: CREATE TABLE table_name_18 (round INTEGER, player VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT MIN(round) FROM table_name_18 WHERE player = "donald mason" AND pick > 114 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the nationality of the player from Drexel who had a pick larger than 183? ### Context: CREATE TABLE table_name_9 (nationality VARCHAR, pick VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_9 WHERE pick > 183 AND school_club_team = "drexel" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What country has grandstand stadium as the stadium? ### Context: CREATE TABLE table_name_71 (country VARCHAR, stadium VARCHAR) [/INST] ### Response: SELECT country FROM table_name_71 WHERE stadium = "grandstand stadium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average capacity that has switzerland as the country? ### Context: CREATE TABLE table_name_19 (capacity INTEGER, country VARCHAR) [/INST] ### Response: SELECT AVG(capacity) FROM table_name_19 WHERE country = "switzerland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 capacity that has rod laver arena as the stadium? ### Context: CREATE TABLE table_name_97 (capacity INTEGER, stadium VARCHAR) [/INST] ### Response: SELECT AVG(capacity) FROM table_name_97 WHERE stadium = "rod laver arena" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How much January has a Record of 26–12–6, and Points smaller than 58? ### Context: CREATE TABLE table_name_37 (january INTEGER, record VARCHAR, points VARCHAR) [/INST] ### Response: SELECT SUM(january) FROM table_name_37 WHERE record = "26–12–6" AND points < 58 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Points have a Score of 4–1? ### Context: CREATE TABLE table_name_35 (points INTEGER, score VARCHAR) [/INST] ### Response: SELECT MAX(points) FROM table_name_35 WHERE score = "4–1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many Games have a Score of 2–6, and Points larger than 62? ### Context: CREATE TABLE table_name_38 (game VARCHAR, score VARCHAR, points VARCHAR) [/INST] ### Response: SELECT COUNT(game) FROM table_name_38 WHERE score = "2–6" AND points > 62 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the region for catalog of 576 096-2 ### Context: CREATE TABLE table_name_61 (region VARCHAR, catalog VARCHAR) [/INST] ### Response: SELECT region FROM table_name_61 WHERE catalog = "576 096-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: Name the catalog for 26 march 1996 ### Context: CREATE TABLE table_name_2 (catalog VARCHAR, date VARCHAR) [/INST] ### Response: SELECT catalog FROM table_name_2 WHERE date = "26 march 1996" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 region with catalog of 576 097-2 ### Context: CREATE TABLE table_name_47 (region VARCHAR, catalog VARCHAR) [/INST] ### Response: SELECT region FROM table_name_47 WHERE catalog = "576 097-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: The game that has a save of lynch (4) ended with what score? ### Context: CREATE TABLE table_name_41 (score VARCHAR, save VARCHAR) [/INST] ### Response: SELECT score FROM table_name_41 WHERE save = "lynch (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: On which day did the Chicago Cubs have a loss of trout (4-2)? ### Context: CREATE TABLE table_name_23 (date VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT date FROM table_name_23 WHERE loss = "trout (4-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 loss for the game against @ expos, with a save of parrett (2)? ### Context: CREATE TABLE table_name_28 (loss VARCHAR, opponent VARCHAR, save VARCHAR) [/INST] ### Response: SELECT loss FROM table_name_28 WHERE opponent = "@ expos" AND save = "parrett (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: The game with a loss of smith (2-4) ended with what score? ### Context: CREATE TABLE table_name_6 (score VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT score FROM table_name_6 WHERE loss = "smith (2-4)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date for the game that included a loss of sutcliffe (10-4)? ### Context: CREATE TABLE table_name_45 (date VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT date FROM table_name_45 WHERE loss = "sutcliffe (10-4)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date of the Greater Greensboro Chrysler Classic? ### Context: CREATE TABLE table_name_88 (date VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT date FROM table_name_88 WHERE tournament = "greater greensboro chrysler classic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the B.C. Open in New York? ### Context: CREATE TABLE table_name_65 (score VARCHAR, location VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT score FROM table_name_65 WHERE location = "new york" AND tournament = "b.c. open" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the winner of the tournament in Georgia on Oct 3? ### Context: CREATE TABLE table_name_90 (winner VARCHAR, location VARCHAR, date VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_90 WHERE location = "georgia" AND date = "oct 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's the largest shirt number when the cap number is 5? ### Context: CREATE TABLE table_name_22 (shirt_number INTEGER, cap_number VARCHAR) [/INST] ### Response: SELECT MAX(shirt_number) FROM table_name_22 WHERE cap_number = 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which team is in the Southeast with a home at Philips Arena? ### Context: CREATE TABLE table_name_29 (team VARCHAR, division VARCHAR, home_arena VARCHAR) [/INST] ### Response: SELECT team FROM table_name_29 WHERE division = "southeast" AND home_arena = "philips arena" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 division do the Toronto Raptors belong in? ### Context: CREATE TABLE table_name_87 (division VARCHAR, team VARCHAR) [/INST] ### Response: SELECT division FROM table_name_87 WHERE team = "toronto raptors" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 includes the Target Center arena? ### Context: CREATE TABLE table_name_62 (city VARCHAR, home_arena VARCHAR) [/INST] ### Response: SELECT city FROM table_name_62 WHERE home_arena = "target center" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 conference is in Portland, Oregon? ### Context: CREATE TABLE table_name_80 (conference VARCHAR, city VARCHAR) [/INST] ### Response: SELECT conference FROM table_name_80 WHERE city = "portland, oregon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 includes Barclays Center? ### Context: CREATE TABLE table_name_55 (city VARCHAR, home_arena VARCHAR) [/INST] ### Response: SELECT city FROM table_name_55 WHERE home_arena = "barclays center" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 WYSIWYG Editor has a User-selectable themes of yes, and an Unread message tracking of session, and an Image attachment of plugin? ### Context: CREATE TABLE table_name_79 (wysiwyg_editor VARCHAR, image_attachment VARCHAR, user_selectable_themes VARCHAR, unread_message_tracking VARCHAR) [/INST] ### Response: SELECT wysiwyg_editor FROM table_name_79 WHERE user_selectable_themes = "yes" AND unread_message_tracking = "session" AND image_attachment = "plugin" </s>