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: what team had a score of 2-1 ### Context: CREATE TABLE table_name_92 (opponent VARCHAR, score VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_92 WHERE score = "2-1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what team played on may 11 ### Context: CREATE TABLE table_name_1 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_1 WHERE date = "may 11" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what place has the club of sevilla ### Context: CREATE TABLE table_name_76 (away VARCHAR, club VARCHAR) [/INST] ### Response: SELECT away FROM table_name_76 WHERE club = "sevilla" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 new conference is located in Greentown? ### Context: CREATE TABLE table_name_64 (new_conference VARCHAR, location VARCHAR) [/INST] ### Response: SELECT new_conference FROM table_name_64 WHERE location = "greentown" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 most current year with a previous conference of Mid-Indiana in Converse? ### Context: CREATE TABLE table_name_35 (year_joined INTEGER, previous_conference VARCHAR, location VARCHAR) [/INST] ### Response: SELECT MAX(year_joined) FROM table_name_35 WHERE previous_conference = "mid-indiana" AND location = "converse" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year did Culver leave? ### Context: CREATE TABLE table_name_71 (year_left INTEGER, location VARCHAR) [/INST] ### Response: SELECT SUM(year_left) FROM table_name_71 WHERE location = "culver" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mascot with a #/County of 34 Howard? ### Context: CREATE TABLE table_name_41 (mascot VARCHAR, _number___county VARCHAR) [/INST] ### Response: SELECT mascot FROM table_name_41 WHERE _number___county = "34 howard" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 day was a friendly game held that had a score of 2:3? ### Context: CREATE TABLE table_name_87 (date VARCHAR, type_of_game VARCHAR, resultsยน VARCHAR) [/INST] ### Response: SELECT date FROM table_name_87 WHERE type_of_game = "friendly" AND resultsยน = "2: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 type of game was held on December 22? ### Context: CREATE TABLE table_name_57 (type_of_game VARCHAR, date VARCHAR) [/INST] ### Response: SELECT type_of_game FROM table_name_57 WHERE date = "december 22" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what game had a doubles round in 1979 ### Context: CREATE TABLE table_name_92 (mixed_doubles VARCHAR, year VARCHAR) [/INST] ### Response: SELECT mixed_doubles FROM table_name_92 WHERE year = 1979 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where were less than 72 goals made and more than 40 assists made? ### Context: CREATE TABLE table_name_74 (venue VARCHAR, goals VARCHAR, assists VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_74 WHERE goals < 72 AND assists > 40 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which opponent plays against the Pohang Steelers? ### Context: CREATE TABLE table_name_58 (name VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT name FROM table_name_58 WHERE opponent = "pohang steelers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had more than 40 assists? ### Context: CREATE TABLE table_name_19 (competition VARCHAR, assists INTEGER) [/INST] ### Response: SELECT competition FROM table_name_19 WHERE assists > 40 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Nation Placed 122.5? ### Context: CREATE TABLE table_name_22 (nation VARCHAR, places VARCHAR) [/INST] ### Response: SELECT nation FROM table_name_22 WHERE places = 122.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 is the Places amount of the United States Ranking 8? ### Context: CREATE TABLE table_name_71 (places INTEGER, nation VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT AVG(places) FROM table_name_71 WHERE nation = "united states" AND rank = 8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average episode number where jimmy mulville was the 4th performer? ### Context: CREATE TABLE table_name_35 (episode INTEGER, performer_4 VARCHAR) [/INST] ### Response: SELECT AVG(episode) FROM table_name_35 WHERE performer_4 = "jimmy mulville" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of episodes where hugh laurie was the 3rd performer? ### Context: CREATE TABLE table_name_70 (episode VARCHAR, performer_3 VARCHAR) [/INST] ### Response: SELECT COUNT(episode) FROM table_name_70 WHERE performer_3 = "hugh laurie" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode number where john bird was the 4th performer? ### Context: CREATE TABLE table_name_48 (episode INTEGER, performer_4 VARCHAR) [/INST] ### Response: SELECT MIN(episode) FROM table_name_48 WHERE performer_4 = "john bird" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 3rd performer when Rory Bremner was the 4th performer? ### Context: CREATE TABLE table_name_11 (performer_3 VARCHAR, performer_4 VARCHAR) [/INST] ### Response: SELECT performer_3 FROM table_name_11 WHERE performer_4 = "rory bremner" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What time did the game featuring the Detroit Lions at Three Rivers Stadium occur? ### Context: CREATE TABLE table_name_38 (time___et__ VARCHAR, location VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT time___et__ FROM table_name_38 WHERE location = "three rivers stadium" AND opponent = "detroit lions" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest number of successful launches associated with over 1 launch and under 0 fails? ### Context: CREATE TABLE table_name_36 (successes INTEGER, launches VARCHAR, failures VARCHAR) [/INST] ### Response: SELECT MAX(successes) FROM table_name_36 WHERE launches > 1 AND failures < 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 kind of locomotive is Winston Churchill? ### Context: CREATE TABLE table_name_93 (locomotive_type VARCHAR, name VARCHAR) [/INST] ### Response: SELECT locomotive_type FROM table_name_93 WHERE name = "winston churchill" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 draws were there when there were points less than 23, 6 losses, and more than 21 against? ### Context: CREATE TABLE table_name_49 (drawn VARCHAR, against VARCHAR, points VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT COUNT(drawn) FROM table_name_49 WHERE points < 23 AND lost = 6 AND against > 21 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the smallest amount of draws when the position is less than 7 and the against is 19? ### Context: CREATE TABLE table_name_38 (drawn INTEGER, position VARCHAR, against VARCHAR) [/INST] ### Response: SELECT MIN(drawn) FROM table_name_38 WHERE position < 7 AND against = 19 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 plays for fluminense? ### Context: CREATE TABLE table_name_97 (played INTEGER, team VARCHAR) [/INST] ### Response: SELECT MAX(played) FROM table_name_97 WHERE team = "fluminense" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 least amount of points when there were less than 4 losses and less than 16 against? ### Context: CREATE TABLE table_name_43 (points INTEGER, lost VARCHAR, against VARCHAR) [/INST] ### Response: SELECT MIN(points) FROM table_name_43 WHERE lost < 4 AND against < 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: Who does Rockstar Games use as a developer? ### Context: CREATE TABLE table_name_97 (developer VARCHAR, publisher VARCHAR) [/INST] ### Response: SELECT developer FROM table_name_97 WHERE publisher = "rockstar games" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Did Microsoft Game Studios release Amped: Freestyle Snowboarding? ### Context: CREATE TABLE table_name_18 (release_date VARCHAR, publisher VARCHAR, title VARCHAR) [/INST] ### Response: SELECT release_date FROM table_name_18 WHERE publisher = "microsoft game studios" AND title = "amped: freestyle snowboarding" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Home of quebec nordiques, and a Visitor of vancouver blazers on february 28? ### Context: CREATE TABLE table_name_52 (score VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR) [/INST] ### Response: SELECT score FROM table_name_52 WHERE home = "quebec nordiques" AND visitor = "vancouver blazers" AND date = "february 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: When has a Visitor of new england whalers, and a Record of 9โ€“9โ€“1? Question 2 ### Context: CREATE TABLE table_name_5 (date VARCHAR, visitor VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_5 WHERE visitor = "new england whalers" AND record = "9โ€“9โ€“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 Home has a Visitor of quebec nordiques, and a Score of 3โ€“4, and a Record of 8โ€“8โ€“1? ### Context: CREATE TABLE table_name_62 (home VARCHAR, record VARCHAR, visitor VARCHAR, score VARCHAR) [/INST] ### Response: SELECT home FROM table_name_62 WHERE visitor = "quebec nordiques" AND score = "3โ€“4" AND record = "8โ€“8โ€“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 Score has a Record of 31โ€“28โ€“3? ### Context: CREATE TABLE table_name_16 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_16 WHERE record = "31โ€“28โ€“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: When has Score of 4โ€“5, and a Record of 21โ€“21โ€“3? ### Context: CREATE TABLE table_name_94 (date VARCHAR, score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_94 WHERE score = "4โ€“5" AND record = "21โ€“21โ€“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 Score of a Record 24โ€“23โ€“3? ### Context: CREATE TABLE table_name_69 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_69 WHERE record = "24โ€“23โ€“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: During which games did Tunisia win gold in the men's 5000 m? ### Context: CREATE TABLE table_name_24 (games VARCHAR, event VARCHAR, medal VARCHAR) [/INST] ### Response: SELECT games FROM table_name_24 WHERE event = "men's 5000 m" 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 medal was won in the men's light welterweight event at the 1996 Atlanta games? ### Context: CREATE TABLE table_name_68 (medal VARCHAR, event VARCHAR, games VARCHAR) [/INST] ### Response: SELECT medal FROM table_name_68 WHERE event = "men's light welterweight" AND games = "1996 atlanta" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: At which games did Tunisia win a bronze in the men's 1500 m freestyle? ### Context: CREATE TABLE table_name_59 (games VARCHAR, medal VARCHAR, event VARCHAR) [/INST] ### Response: SELECT games FROM table_name_59 WHERE medal = "bronze" AND event = "men's 1500 m freestyle" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was won in the men's 5000 m event? ### Context: CREATE TABLE table_name_53 (medal VARCHAR, event VARCHAR) [/INST] ### Response: SELECT medal FROM table_name_53 WHERE event = "men's 5000 m" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the draw with less than 107 points by the artist Jan Johansen? ### Context: CREATE TABLE table_name_9 (draw VARCHAR, artist VARCHAR, points VARCHAR) [/INST] ### Response: SELECT COUNT(draw) FROM table_name_9 WHERE artist = "jan johansen" AND points < 107 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did the Norton Team have 0 Points and 350cc Class? ### Context: CREATE TABLE table_name_81 (year INTEGER, points VARCHAR, class VARCHAR, team VARCHAR) [/INST] ### Response: SELECT AVG(year) FROM table_name_81 WHERE class = "350cc" AND team = "norton" AND points < 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 Wins before 1960 with less than 2 Points? ### Context: CREATE TABLE table_name_47 (wins INTEGER, year VARCHAR, points VARCHAR) [/INST] ### Response: SELECT SUM(wins) FROM table_name_47 WHERE year < 1960 AND points < 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the earliest Year the Linto Team had less than 15 Points with more than 0 Wins? ### Context: CREATE TABLE table_name_86 (year INTEGER, points VARCHAR, wins VARCHAR, team VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_name_86 WHERE wins > 0 AND team = "linto" AND points < 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: What were the points for a team that 414 points against? ### Context: CREATE TABLE table_name_52 (points_for VARCHAR, points_against VARCHAR) [/INST] ### Response: SELECT points_for FROM table_name_52 WHERE points_against = "414" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player that had drawn 1 and tried for 20? ### Context: CREATE TABLE table_name_76 (played VARCHAR, drawn VARCHAR, tries_for VARCHAR) [/INST] ### Response: SELECT played FROM table_name_76 WHERE drawn = "1" AND tries_for = "20" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What were the points for that had a game where there was 678 against? ### Context: CREATE TABLE table_name_78 (points_for VARCHAR, points_against VARCHAR) [/INST] ### Response: SELECT points_for FROM table_name_78 WHERE points_against = "678" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were the points against in a game that was played correct as of 2009-05-16? ### Context: CREATE TABLE table_name_99 (points_against VARCHAR, played VARCHAR) [/INST] ### Response: SELECT points_against FROM table_name_99 WHERE played = "correct as of 2009-05-16" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the tries again llanishen rfc? ### Context: CREATE TABLE table_name_35 (tries_against VARCHAR, club VARCHAR) [/INST] ### Response: SELECT tries_against FROM table_name_35 WHERE club = "llanishen rfc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 drawn for llanishen rfc? ### Context: CREATE TABLE table_name_56 (drawn VARCHAR, club VARCHAR) [/INST] ### Response: SELECT drawn FROM table_name_56 WHERE club = "llanishen rfc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 District has a Republican of dan mansell? ### Context: CREATE TABLE table_name_25 (district INTEGER, republican VARCHAR) [/INST] ### Response: SELECT AVG(district) FROM table_name_25 WHERE republican = "dan mansell" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Republican has a District of 10? ### Context: CREATE TABLE table_name_26 (republican VARCHAR, district VARCHAR) [/INST] ### Response: SELECT republican FROM table_name_26 WHERE district = 10 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Incumbent has a Republican of dan mansell? ### Context: CREATE TABLE table_name_73 (incumbent VARCHAR, republican VARCHAR) [/INST] ### Response: SELECT incumbent FROM table_name_73 WHERE republican = "dan mansell" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Democratic has a District smaller than 7, and a Republican of dan mansell? ### Context: CREATE TABLE table_name_99 (democratic VARCHAR, district VARCHAR, republican VARCHAR) [/INST] ### Response: SELECT democratic FROM table_name_99 WHERE district < 7 AND republican = "dan mansell" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which record has a score of 135โ€“134? ### Context: CREATE TABLE table_name_7 (record VARCHAR, score VARCHAR) [/INST] ### Response: SELECT record FROM table_name_7 WHERE score = "135โ€“134" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the position for the player born 2 november 1987 ### Context: CREATE TABLE table_name_80 (position VARCHAR, date_of_birth__age_ VARCHAR) [/INST] ### Response: SELECT position FROM table_name_80 WHERE date_of_birth__age_ = "2 november 1987" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 club/province for steve borthwick ### Context: CREATE TABLE table_name_51 (club_province VARCHAR, player VARCHAR) [/INST] ### Response: SELECT club_province FROM table_name_51 WHERE player = "steve borthwick" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ration with an ordinary value of 84 zolotnik? ### Context: CREATE TABLE table_name_85 (ratio INTEGER, ordinary_value VARCHAR) [/INST] ### Response: SELECT MAX(ratio) FROM table_name_85 WHERE ordinary_value = "84 zolotnik" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 unit has an Avoirdupois value of 57.602 gr.? ### Context: CREATE TABLE table_name_9 (unit VARCHAR, avoirdupois_value VARCHAR) [/INST] ### Response: SELECT unit FROM table_name_9 WHERE avoirdupois_value = "57.602 gr." </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 translation had a unit of Uncia? ### Context: CREATE TABLE table_name_10 (translation VARCHAR, unit VARCHAR) [/INST] ### Response: SELECT translation FROM table_name_10 WHERE unit = "uncia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ordinary value has a metric value of 29.861 g? ### Context: CREATE TABLE table_name_56 (ordinary_value VARCHAR, metric_value VARCHAR) [/INST] ### Response: SELECT ordinary_value FROM table_name_56 WHERE metric_value = "29.861 g" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ordinary value has a Russian value of ัƒะฝั†ะธั? ### Context: CREATE TABLE table_name_64 (ordinary_value VARCHAR, russian VARCHAR) [/INST] ### Response: SELECT ordinary_value FROM table_name_64 WHERE russian = "ัƒะฝั†ะธั" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Avoirdupois value is translated to grain? ### Context: CREATE TABLE table_name_76 (avoirdupois_value VARCHAR, translation VARCHAR) [/INST] ### Response: SELECT avoirdupois_value FROM table_name_76 WHERE translation = "grain" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of turns for the City of san antonio? ### Context: CREATE TABLE table_name_35 (turns VARCHAR, city VARCHAR) [/INST] ### Response: SELECT turns FROM table_name_35 WHERE city = "san antonio" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 State with the imsa gt as the Major Series and a track in new orleans? ### Context: CREATE TABLE table_name_23 (state VARCHAR, major_series VARCHAR, track VARCHAR) [/INST] ### Response: SELECT state FROM table_name_23 WHERE major_series = "imsa gt" AND track = "new orleans" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where is the track located with 18 turns? ### Context: CREATE TABLE table_name_34 (track VARCHAR, turns VARCHAR) [/INST] ### Response: SELECT track FROM table_name_34 WHERE turns = "18" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the State with the trans-am Major Series in Grand Rapids? ### Context: CREATE TABLE table_name_38 (state VARCHAR, major_series VARCHAR, city VARCHAR) [/INST] ### Response: SELECT state FROM table_name_38 WHERE major_series = "trans-am" AND city = "grand rapids" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where is the track located that opened in 1992? ### Context: CREATE TABLE table_name_34 (track VARCHAR, opened VARCHAR) [/INST] ### Response: SELECT track FROM table_name_34 WHERE opened = "1992" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What shows for opened for the Nascar Major Series? ### Context: CREATE TABLE table_name_84 (opened VARCHAR, major_series VARCHAR) [/INST] ### Response: SELECT opened FROM table_name_84 WHERE major_series = "nascar" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest number of FA cups associated with 0 malaysia cups? ### Context: CREATE TABLE table_name_69 (fa_cup INTEGER, malaysia_cup INTEGER) [/INST] ### Response: SELECT MIN(fa_cup) FROM table_name_69 WHERE malaysia_cup < 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 league cups for m patrick maria with 0 total? ### Context: CREATE TABLE table_name_96 (league INTEGER, player VARCHAR, total VARCHAR) [/INST] ### Response: SELECT SUM(league) FROM table_name_96 WHERE player = "m patrick maria" AND total < 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 highest number of Malaysia Cups for a player with over 0 leagues and under 0 FA cups? ### Context: CREATE TABLE table_name_16 (malaysia_cup INTEGER, league VARCHAR, fa_cup VARCHAR) [/INST] ### Response: SELECT MAX(malaysia_cup) FROM table_name_16 WHERE league > 0 AND fa_cup < 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 tournament on July 29 hosted by SK Brann? ### Context: CREATE TABLE table_name_5 (tournament VARCHAR, host VARCHAR, date VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_5 WHERE host = "sk brann" AND 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: Who is the visitor of the match on July 29? ### Context: CREATE TABLE table_name_13 (visitor VARCHAR, date VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_13 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 game that has the phoenix suns as the opponent played against? ### Context: CREATE TABLE table_name_72 (result VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT result FROM table_name_72 WHERE opponent = "phoenix suns" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the attendance of the game on 2007-04-07 with the Warriors as the visitor team? ### Context: CREATE TABLE table_name_4 (attendance VARCHAR, visitor VARCHAR, date VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_4 WHERE visitor = "warriors" AND date = "2007-04-07" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What day is their record 13-15? ### Context: CREATE TABLE table_name_14 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_14 WHERE record = "13-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: Who did they play when dickey (0-1) recorded the loss? ### Context: CREATE TABLE table_name_83 (opponent VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_83 WHERE loss = "dickey (0-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 result of the game of heinz field with a record of 2-5? ### Context: CREATE TABLE table_name_14 (result VARCHAR, game_site VARCHAR, record VARCHAR) [/INST] ### Response: SELECT result FROM table_name_14 WHERE game_site = "heinz field" AND record = "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: What opponent has a record of 6-9? ### Context: CREATE TABLE table_name_27 (opponent VARCHAR, record VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_27 WHERE record = "6-9" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the week with a record of 2-1? ### Context: CREATE TABLE table_name_56 (week VARCHAR, record VARCHAR) [/INST] ### Response: SELECT COUNT(week) FROM table_name_56 WHERE record = "2-1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What City of license has a Frequency MHz smaller than 95.9 with w223au as the call sign? ### Context: CREATE TABLE table_name_43 (city_of_license VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR) [/INST] ### Response: SELECT city_of_license FROM table_name_43 WHERE frequency_mhz < 95.9 AND call_sign = "w223au" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Call sign for the ERP W 19? ### Context: CREATE TABLE table_name_75 (call_sign VARCHAR, erp_w VARCHAR) [/INST] ### Response: SELECT call_sign FROM table_name_75 WHERE erp_w = 19 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 FCC info is listed for the ERP W of 2? ### Context: CREATE TABLE table_name_96 (fcc_info VARCHAR, erp_w VARCHAR) [/INST] ### Response: SELECT fcc_info FROM table_name_96 WHERE erp_w = 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 Call sign shows an ERP W of 80? ### Context: CREATE TABLE table_name_93 (call_sign VARCHAR, erp_w VARCHAR) [/INST] ### Response: SELECT call_sign FROM table_name_93 WHERE erp_w = 80 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Class for the ERP W of more than 2 and the call sign of w223au? ### Context: CREATE TABLE table_name_50 (class VARCHAR, erp_w VARCHAR, call_sign VARCHAR) [/INST] ### Response: SELECT class FROM table_name_50 WHERE erp_w > 2 AND call_sign = "w223au" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team lost on july 30 ### Context: CREATE TABLE table_name_23 (loss VARCHAR, date VARCHAR) [/INST] ### Response: SELECT loss FROM table_name_23 WHERE date = "july 30" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What sport was played on February 25, 2011? ### Context: CREATE TABLE table_name_21 (sport VARCHAR, date VARCHAR) [/INST] ### Response: SELECT sport FROM table_name_21 WHERE date = "february 25, 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: Where was the sport played on September 10, 2010? ### Context: CREATE TABLE table_name_55 (site VARCHAR, date VARCHAR) [/INST] ### Response: SELECT site FROM table_name_55 WHERE date = "september 10, 2010" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 surface was played on when julie halard-decugis was the partner on October 8, 2000? ### Context: CREATE TABLE table_name_88 (surface VARCHAR, partner VARCHAR, date VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_88 WHERE partner = "julie halard-decugis" AND date = "october 8, 2000" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many Played has a % Win of 50.00%, and Losses of 1, and Wins smaller than 1? ### Context: CREATE TABLE table_name_84 (played VARCHAR, wins VARCHAR, _percentage_win VARCHAR, losses VARCHAR) [/INST] ### Response: SELECT COUNT(played) FROM table_name_84 WHERE _percentage_win = "50.00%" AND losses = 1 AND wins < 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 kind of No Result has Wins smaller than 2, and Losses larger than 1? ### Context: CREATE TABLE table_name_2 (no_result VARCHAR, wins VARCHAR, losses VARCHAR) [/INST] ### Response: SELECT no_result FROM table_name_2 WHERE wins < 2 AND losses > 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 Played that has Losses of 6, and Wins larger than 33? ### Context: CREATE TABLE table_name_61 (played INTEGER, losses VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT AVG(played) FROM table_name_61 WHERE losses = 6 AND wins > 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: What kind of No Result has a % Win of 100.00% and a Played larger than 4 in 2012? ### Context: CREATE TABLE table_name_50 (no_result INTEGER, year VARCHAR, _percentage_win VARCHAR, played VARCHAR) [/INST] ### Response: SELECT MIN(no_result) FROM table_name_50 WHERE _percentage_win = "100.00%" AND played > 4 AND year = "2012" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Loss has a Score of 6โ€“5? ### Context: CREATE TABLE table_name_20 (loss VARCHAR, score VARCHAR) [/INST] ### Response: SELECT loss FROM table_name_20 WHERE score = "6โ€“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: Date of wed. nov. 13 had how many number of games? ### Context: CREATE TABLE table_name_1 (game VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(game) FROM table_name_1 WHERE date = "wed. nov. 13" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Record of 6โ€“1 had what score? ### Context: CREATE TABLE table_name_16 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_16 WHERE record = "6โ€“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: Score of 118โ€“114, and a Record of 8โ€“1 is what lowest game? ### Context: CREATE TABLE table_name_64 (game INTEGER, score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT MIN(game) FROM table_name_64 WHERE score = "118โ€“114" AND record = "8โ€“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 circuit was in Great Britain with Ireland as the winner? ### Context: CREATE TABLE table_name_85 (circuit VARCHAR, feature_winner VARCHAR, country VARCHAR) [/INST] ### Response: SELECT circuit FROM table_name_85 WHERE feature_winner = "ireland" AND country = "great britain" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were in attendance when the league position was 16th and the score was Fโ€“A of 0โ€“3? ### Context: CREATE TABLE table_name_43 (attendance VARCHAR, league_position VARCHAR, score_f_a VARCHAR) [/INST] ### Response: SELECT COUNT(attendance) FROM table_name_43 WHERE league_position = "16th" AND score_f_a = "0โ€“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 were in attendance for a result of D, at H venue, and Arsenal as an opponent? ### Context: CREATE TABLE table_name_40 (attendance VARCHAR, opponents VARCHAR, result VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_40 WHERE result = "d" AND venue = "h" AND opponents = "arsenal" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number in attendance at H venue opposing Liverpool with a result of D? ### Context: CREATE TABLE table_name_40 (attendance INTEGER, opponents VARCHAR, venue VARCHAR, result VARCHAR) [/INST] ### Response: SELECT MAX(attendance) FROM table_name_40 WHERE venue = "h" AND result = "d" AND opponents = "liverpool" </s>