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 race even has NASCAR Featherlite Modified Series as the championship? ### Context: CREATE TABLE table_name_26 (event VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT event FROM table_name_26 WHERE championship = "nascar featherlite modified series" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: The Milwaukee Mile circuit has what type of session? ### Context: CREATE TABLE table_name_41 (session VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT session FROM table_name_41 WHERE circuit = "milwaukee mile" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2001 NASCAR Winston Cup Series championship has what has a circuit? ### Context: CREATE TABLE table_name_16 (circuit VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT circuit FROM table_name_16 WHERE championship = "2001 nascar winston cup series" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Semifinalist has a Tournament of stockholm? ### Context: CREATE TABLE table_name_23 (semifinalists VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT semifinalists FROM table_name_23 WHERE tournament = "stockholm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Tournament has a Winner and score of goran ivanišević 6–4, 6–2, 7–6(2)? ### Context: CREATE TABLE table_name_33 (tournament VARCHAR, winner_and_score VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_33 WHERE winner_and_score = "goran ivanišević 6–4, 6–2, 7–6(2)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Finalist has a Week of may 3? ### Context: CREATE TABLE table_name_17 (finalist VARCHAR, week VARCHAR) [/INST] ### Response: SELECT finalist FROM table_name_17 WHERE week = "may 3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Surface has a Week of march 1? ### Context: CREATE TABLE table_name_95 (surface VARCHAR, week VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_95 WHERE week = "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: Which Semifinalists have a Tournament of rome? ### Context: CREATE TABLE table_name_28 (semifinalists VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT semifinalists FROM table_name_28 WHERE tournament = "rome" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Surface has a Semifinalist of stefan edberg thomas muster? ### Context: CREATE TABLE table_name_98 (surface VARCHAR, semifinalists VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_98 WHERE semifinalists = "stefan edberg thomas muster" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Drawn has a Played of 20, and a Club of rhigos rfc? ### Context: CREATE TABLE table_name_78 (drawn VARCHAR, played VARCHAR, club VARCHAR) [/INST] ### Response: SELECT drawn FROM table_name_78 WHERE played = "20" AND club = "rhigos 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 Points for has a Losing bonus of 2, and a Club of bridgend sports rfc? ### Context: CREATE TABLE table_name_33 (points_for VARCHAR, losing_bonus VARCHAR, club VARCHAR) [/INST] ### Response: SELECT points_for FROM table_name_33 WHERE losing_bonus = "2" AND club = "bridgend sports 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 Points against has a Lost of lost? ### Context: CREATE TABLE table_name_97 (points_against VARCHAR) [/INST] ### Response: SELECT points_against FROM table_name_97 WHERE "lost" = "lost" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Points for of 381? ### Context: CREATE TABLE table_name_34 (points VARCHAR, points_for VARCHAR) [/INST] ### Response: SELECT points FROM table_name_34 WHERE points_for = "381" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Tries against has Points for of 564? ### Context: CREATE TABLE table_name_7 (tries_against VARCHAR, points_for VARCHAR) [/INST] ### Response: SELECT tries_against FROM table_name_7 WHERE points_for = "564" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Club has a Drawn of 0, and Points of 26? ### Context: CREATE TABLE table_name_11 (club VARCHAR, drawn VARCHAR, points VARCHAR) [/INST] ### Response: SELECT club FROM table_name_11 WHERE drawn = "0" AND points = "26" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won in 2004? ### Context: CREATE TABLE table_name_74 (country VARCHAR, year_s__won VARCHAR) [/INST] ### Response: SELECT country FROM table_name_74 WHERE year_s__won = "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: How many years have a Name of tour quartier des spectacles, and Floors smaller than 31? ### Context: CREATE TABLE table_name_51 (year VARCHAR, name VARCHAR, floors VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_name_51 WHERE name = "tour quartier des spectacles" AND floors < 31 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the date that the away team is aldershot? ### Context: CREATE TABLE table_name_16 (date VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_16 WHERE away_team = "aldershot" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team when the away team is bolton wanderers? ### Context: CREATE TABLE table_name_12 (home_team VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_12 WHERE away_team = "bolton wanderers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 amount of assists juan ignacio sánchez ever had? ### Context: CREATE TABLE table_name_30 (assists INTEGER, name VARCHAR) [/INST] ### Response: SELECT MAX(assists) FROM table_name_30 WHERE name = "juan ignacio sánchez" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 played over 37 games and had 202 assists? ### Context: CREATE TABLE table_name_20 (name VARCHAR, games VARCHAR, assists VARCHAR) [/INST] ### Response: SELECT name FROM table_name_20 WHERE games > 37 AND assists = 202 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total value when bask and base are each 3? ### Context: CREATE TABLE table_name_37 (total INTEGER, bask VARCHAR, base VARCHAR) [/INST] ### Response: SELECT MAX(total) FROM table_name_37 WHERE bask = "3" AND base = "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 was the 2nd event aired on 8 June 2008? ### Context: CREATE TABLE table_name_32 (event_2 VARCHAR, air_date VARCHAR) [/INST] ### Response: SELECT event_2 FROM table_name_32 WHERE air_date = "8 june 2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What episode had sumo ball for event 3 and the wall for event 4? ### Context: CREATE TABLE table_name_45 (episode_number INTEGER, event_4 VARCHAR, event_3 VARCHAR) [/INST] ### Response: SELECT AVG(episode_number) FROM table_name_45 WHERE event_4 = "the wall" AND event_3 = "sumo ball" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode aired on 8 June 2008? ### Context: CREATE TABLE table_name_97 (episode_number INTEGER, air_date VARCHAR) [/INST] ### Response: SELECT MIN(episode_number) FROM table_name_97 WHERE air_date = "8 june 2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is event 4 when event one was gauntlet, event 2 was duel, and event 3 was pendulum? ### Context: CREATE TABLE table_name_10 (event_4 VARCHAR, event_3 VARCHAR, event_1 VARCHAR, event_2 VARCHAR) [/INST] ### Response: SELECT event_4 FROM table_name_10 WHERE event_1 = "gauntlet" AND event_2 = "duel" AND event_3 = "pendulum" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 air date the had atlasphere for event 1 before episode 11? ### Context: CREATE TABLE table_name_89 (air_date VARCHAR, episode_number VARCHAR, event_1 VARCHAR) [/INST] ### Response: SELECT air_date FROM table_name_89 WHERE episode_number < 11 AND event_1 = "atlasphere" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lowest placement with a final of 23.92? ### Context: CREATE TABLE table_name_38 (placement INTEGER, final VARCHAR) [/INST] ### Response: SELECT MIN(placement) FROM table_name_38 WHERE final = "23.92" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did the Surname Lindberg rank? ### Context: CREATE TABLE table_name_47 (rank VARCHAR, surname VARCHAR) [/INST] ### Response: SELECT COUNT(rank) FROM table_name_47 WHERE surname = "lindberg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lowest number of 2008 total bearers with a rank less than 13 and the Surname Jansson? ### Context: CREATE TABLE table_name_13 (number_of_bearers_2008 INTEGER, surname VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT MIN(number_of_bearers_2008) FROM table_name_13 WHERE surname = "jansson" AND rank < 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: What Etymology ranked 12? ### Context: CREATE TABLE table_name_58 (etymology VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT etymology FROM table_name_58 WHERE rank = 12 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What team has more than 32 games and 311 rebounds? ### Context: CREATE TABLE table_name_27 (team VARCHAR, games VARCHAR, rebounds VARCHAR) [/INST] ### Response: SELECT team FROM table_name_27 WHERE games > 32 AND rebounds = 311 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest rank team akasvayu girona had with less than 311 rebounds? ### Context: CREATE TABLE table_name_52 (rank INTEGER, team VARCHAR, rebounds VARCHAR) [/INST] ### Response: SELECT MAX(rank) FROM table_name_52 WHERE team = "akasvayu girona" AND rebounds < 311 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did team iurbentia bilbao have with rebounds higher than 212? ### Context: CREATE TABLE table_name_27 (games INTEGER, team VARCHAR, rebounds VARCHAR) [/INST] ### Response: SELECT SUM(games) FROM table_name_27 WHERE team = "iurbentia bilbao" AND rebounds > 212 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 few games are there for a rank more than 1 and more than 212 rebounds? ### Context: CREATE TABLE table_name_4 (games INTEGER, rank VARCHAR, rebounds VARCHAR) [/INST] ### Response: SELECT MIN(games) FROM table_name_4 WHERE rank > 1 AND rebounds > 212 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what date is the Chrysalis Records label.? ### Context: CREATE TABLE table_name_21 (date VARCHAR, label VARCHAR) [/INST] ### Response: SELECT date FROM table_name_21 WHERE label = "chrysalis records" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date of the Chrysalis, Island Records label? ### Context: CREATE TABLE table_name_81 (date VARCHAR, label VARCHAR) [/INST] ### Response: SELECT date FROM table_name_81 WHERE label = "chrysalis, island records" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what date was the format of ed remaster cd? ### Context: CREATE TABLE table_name_97 (date VARCHAR, format VARCHAR) [/INST] ### Response: SELECT date FROM table_name_97 WHERE format = "ed remaster cd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: The Catalog of ilps 9153 is from what region? ### Context: CREATE TABLE table_name_85 (region VARCHAR, catalog VARCHAR) [/INST] ### Response: SELECT region FROM table_name_85 WHERE catalog = "ilps 9153" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 label is from the Region of Spain? ### Context: CREATE TABLE table_name_93 (label VARCHAR, region VARCHAR) [/INST] ### Response: SELECT label FROM table_name_93 WHERE region = "spain" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year when the venue is berlin, germany? ### Context: CREATE TABLE table_name_35 (year INTEGER, venue VARCHAR) [/INST] ### Response: SELECT MAX(year) FROM table_name_35 WHERE venue = "berlin, germany" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the year when the notes is 5000 m and the competition is world junior championships in athletics? ### Context: CREATE TABLE table_name_36 (year VARCHAR, notes VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_name_36 WHERE notes = "5000 m" AND competition = "world junior championships in athletics" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who has the highest assists in game 72? ### Context: CREATE TABLE table_name_53 (high_assists VARCHAR, game VARCHAR) [/INST] ### Response: SELECT high_assists FROM table_name_53 WHERE game = 72 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record of the game on March 21? ### Context: CREATE TABLE table_name_38 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_38 WHERE date = "march 21" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which season has more than 5 episodes each 159 minutes in length? ### Context: CREATE TABLE table_name_12 (season VARCHAR, episode_count VARCHAR, time_length VARCHAR) [/INST] ### Response: SELECT season FROM table_name_12 WHERE episode_count > 5 AND time_length = "159 minutes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 release date for Ben 10: Alien Force Volume 9 on DVD? ### Context: CREATE TABLE table_name_22 (release_date VARCHAR, dvd_title VARCHAR) [/INST] ### Response: SELECT release_date FROM table_name_22 WHERE dvd_title = "ben 10: alien force volume 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 the episode count for Ben 10: Alien Force Volume 8 on DVD? ### Context: CREATE TABLE table_name_90 (episode_count VARCHAR, dvd_title VARCHAR) [/INST] ### Response: SELECT episode_count FROM table_name_90 WHERE dvd_title = "ben 10: alien force volume 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 title was release November 17, 2009 in a 16:9 aspect ratio? ### Context: CREATE TABLE table_name_5 (dvd_title VARCHAR, aspect_ratio VARCHAR, release_date VARCHAR) [/INST] ### Response: SELECT dvd_title FROM table_name_5 WHERE aspect_ratio = "16:9" AND release_date = "november 17, 2009" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the aspect ratio for the September 1, 2009 release? ### Context: CREATE TABLE table_name_56 (aspect_ratio VARCHAR, release_date VARCHAR) [/INST] ### Response: SELECT aspect_ratio FROM table_name_56 WHERE release_date = "september 1, 2009" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which network broadcasted the cup after 2011? ### Context: CREATE TABLE table_name_12 (network VARCHAR, year INTEGER) [/INST] ### Response: SELECT network FROM table_name_12 WHERE year > 2011 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When John Harkes was the color commentator, and Alexi Lalas and Steve McManaman were the pregame analysts, who were the sideline reporters? ### Context: CREATE TABLE table_name_84 (sideline_reporters VARCHAR, color_commentator VARCHAR, pregame_analysts VARCHAR) [/INST] ### Response: SELECT sideline_reporters FROM table_name_84 WHERE color_commentator = "john harkes" AND pregame_analysts = "alexi lalas and steve mcmanaman" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pregame analysts for TSN2 network when Taylor Twellman is the color commentator? ### Context: CREATE TABLE table_name_74 (pregame_analysts VARCHAR, color_commentator VARCHAR, network VARCHAR) [/INST] ### Response: SELECT pregame_analysts FROM table_name_74 WHERE color_commentator = "taylor twellman" AND network = "tsn2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game that was less than 16 what was the high assists? ### Context: CREATE TABLE table_name_60 (high_assists VARCHAR, game INTEGER) [/INST] ### Response: SELECT high_assists FROM table_name_60 WHERE game < 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: On December 25, what was the record? ### Context: CREATE TABLE table_name_82 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_82 WHERE date = "december 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 length of the track located in Taylorville, Illinois? ### Context: CREATE TABLE table_name_33 (length VARCHAR, location VARCHAR) [/INST] ### Response: SELECT length FROM table_name_33 WHERE location = "taylorville, illinois" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sanction of the event at Nashville, Illinois? ### Context: CREATE TABLE table_name_5 (sanction VARCHAR, location VARCHAR) [/INST] ### Response: SELECT sanction FROM table_name_5 WHERE location = "nashville, illinois" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 programs are there for the South Fork Dirt Riders track? ### Context: CREATE TABLE table_name_44 (program VARCHAR, track_name VARCHAR) [/INST] ### Response: SELECT program FROM table_name_44 WHERE track_name = "south fork dirt riders" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many points did Newport RFC get? ### Context: CREATE TABLE table_name_58 (points VARCHAR, club VARCHAR) [/INST] ### Response: SELECT points FROM table_name_58 WHERE club = "newport 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 club had a loss of 15? ### Context: CREATE TABLE table_name_90 (club VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT club FROM table_name_90 WHERE lost = "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: When there were 554 points, what was the point difference? ### Context: CREATE TABLE table_name_37 (points_difference VARCHAR, points_for VARCHAR) [/INST] ### Response: SELECT points_difference FROM table_name_37 WHERE points_for = "554" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 there were 767 points, what was the point difference? ### Context: CREATE TABLE table_name_34 (points_difference VARCHAR, points_against VARCHAR) [/INST] ### Response: SELECT points_difference FROM table_name_34 WHERE points_against = "767" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 club had a points difference of -24? ### Context: CREATE TABLE table_name_87 (club VARCHAR, points_difference VARCHAR) [/INST] ### Response: SELECT club FROM table_name_87 WHERE points_difference = "-24" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the outcome of the match with opponent Jade Curtis? ### Context: CREATE TABLE table_name_55 (outcome VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_55 WHERE opponent = "jade curtis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 match played on carpet surface? ### Context: CREATE TABLE table_name_27 (outcome VARCHAR, surface VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_27 WHERE surface = "carpet" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Tournament with Jade Curtis as the opponent? ### Context: CREATE TABLE table_name_59 (tournament VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_59 WHERE opponent = "jade curtis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who has Runs of 124? ### Context: CREATE TABLE table_name_79 (player VARCHAR, runs VARCHAR) [/INST] ### Response: SELECT player FROM table_name_79 WHERE runs = "124" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Runs which has Venue of adelaide oval , adelaide? ### Context: CREATE TABLE table_name_47 (runs VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT runs FROM table_name_47 WHERE venue = "adelaide oval , adelaide" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Venue has michael di venuto on Season of 2000/01? ### Context: CREATE TABLE table_name_61 (venue VARCHAR, player VARCHAR, season VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_61 WHERE player = "michael di venuto" AND season = "2000/01" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Runs has a Venue of bellerive oval , hobart, and a Season of 2004/05, and a Rank of 5? ### Context: CREATE TABLE table_name_26 (runs VARCHAR, rank VARCHAR, venue VARCHAR, season VARCHAR) [/INST] ### Response: SELECT runs FROM table_name_26 WHERE venue = "bellerive oval , hobart" AND season = "2004/05" AND rank = "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: Name the Runs that has a Venue of bellerive oval , hobart, and a Player of travis birt? ### Context: CREATE TABLE table_name_2 (runs VARCHAR, venue VARCHAR, player VARCHAR) [/INST] ### Response: SELECT runs FROM table_name_2 WHERE venue = "bellerive oval , hobart" AND player = "travis birt" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 front-side bus for the processor whose frequency is 733MHz? ### Context: CREATE TABLE table_name_95 (front_side_bus VARCHAR, frequency VARCHAR) [/INST] ### Response: SELECT front_side_bus FROM table_name_95 WHERE frequency = "733mhz" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 L2 cache for the processor with a 750MHz frequency? ### Context: CREATE TABLE table_name_93 (l2_cache VARCHAR, frequency VARCHAR) [/INST] ### Response: SELECT l2_cache FROM table_name_93 WHERE frequency = "750mhz" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 multiplier for the processor with a frequency of 733MHz? ### Context: CREATE TABLE table_name_20 (multiplier VARCHAR, frequency VARCHAR) [/INST] ### Response: SELECT multiplier FROM table_name_20 WHERE frequency = "733mhz" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 height with a prominence of 2,349? ### Context: CREATE TABLE table_name_26 (height__m_ INTEGER, prominence__m_ VARCHAR) [/INST] ### Response: SELECT MIN(height__m_) FROM table_name_26 WHERE prominence__m_ = 2 OFFSET 349 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result of the game after week 6 against the cleveland browns? ### Context: CREATE TABLE table_name_41 (result VARCHAR, week VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT result FROM table_name_41 WHERE week < 6 AND opponent = "cleveland browns" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Ravens' record on December 5, 1999? ### Context: CREATE TABLE table_name_33 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_33 WHERE date = "december 5, 1999" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date did the Ravens play the buffalo bills? ### Context: CREATE TABLE table_name_97 (date VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_name_97 WHERE opponent = "buffalo bills" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date was the week 10 game? ### Context: CREATE TABLE table_name_89 (date VARCHAR, week VARCHAR) [/INST] ### Response: SELECT date FROM table_name_89 WHERE week = 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 was the school type for Los Angeles, California? ### Context: CREATE TABLE table_name_51 (type VARCHAR, location VARCHAR) [/INST] ### Response: SELECT type FROM table_name_51 WHERE location = "los angeles, california" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 dates for Honolulu, Hawaii in Kindergarten? ### Context: CREATE TABLE table_name_89 (dates VARCHAR, location VARCHAR, grade VARCHAR) [/INST] ### Response: SELECT dates FROM table_name_89 WHERE location = "honolulu, hawaii" AND grade = "kindergarten" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Pick that has a round greater than 6 and an overall greater than 216? ### Context: CREATE TABLE table_name_46 (pick INTEGER, round VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT MAX(pick) FROM table_name_46 WHERE round > 6 AND overall > 216 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest round that has an overall of 143 and a pick greater than 6? ### Context: CREATE TABLE table_name_36 (round INTEGER, overall VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT MAX(round) FROM table_name_36 WHERE overall = 143 AND pick > 6 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the session at the circuit of lowes motor speedway? ### Context: CREATE TABLE table_name_70 (session VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT session FROM table_name_70 WHERE circuit = "lowes motor speedway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 session had a discipline of open wheel? ### Context: CREATE TABLE table_name_96 (session VARCHAR, discipline VARCHAR) [/INST] ### Response: SELECT session FROM table_name_96 WHERE discipline = "open wheel" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 championship had a Circuit of le mans? ### Context: CREATE TABLE table_name_39 (championship VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT championship FROM table_name_39 WHERE circuit = "le mans" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 discipline for the Championship of international championship for makes? ### Context: CREATE TABLE table_name_17 (discipline VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT discipline FROM table_name_17 WHERE championship = "international championship for makes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 session at the circuit of autodrom most? ### Context: CREATE TABLE table_name_95 (session VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT session FROM table_name_95 WHERE circuit = "autodrom most" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 discipline for the euroboss championship? ### Context: CREATE TABLE table_name_59 (discipline VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT discipline FROM table_name_59 WHERE championship = "euroboss" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 played when the position is more than 9? ### Context: CREATE TABLE table_name_76 (played INTEGER, position INTEGER) [/INST] ### Response: SELECT MIN(played) FROM table_name_76 WHERE position > 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 average points when played is less than 16? ### Context: CREATE TABLE table_name_55 (points INTEGER, played INTEGER) [/INST] ### Response: SELECT AVG(points) FROM table_name_55 WHERE played < 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 is the highest points when position is higher than 6, lost is less than 12 and drawn is less than 1? ### Context: CREATE TABLE table_name_39 (points INTEGER, drawn VARCHAR, position VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT MAX(points) FROM table_name_39 WHERE position > 6 AND lost < 12 AND drawn < 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 sum of points when lost is less than 10, name is vfl denklingen and position is higher than 2? ### Context: CREATE TABLE table_name_18 (points INTEGER, position VARCHAR, lost VARCHAR, name VARCHAR) [/INST] ### Response: SELECT SUM(points) FROM table_name_18 WHERE lost < 10 AND name = "vfl denklingen" AND position > 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 WORST SCORE WHEN THE BEST SCORE WAS 8.8 AND AVERAGE WAS LARGER THAN 6.2? ### Context: CREATE TABLE table_name_72 (worst_score VARCHAR, best_score VARCHAR, average VARCHAR) [/INST] ### Response: SELECT COUNT(worst_score) FROM table_name_72 WHERE best_score = 8.8 AND average > 6.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 TOTAL AVERAGE WITH A PLACE SMALLER THAN 1? ### Context: CREATE TABLE table_name_53 (average VARCHAR, place INTEGER) [/INST] ### Response: SELECT COUNT(average) FROM table_name_53 WHERE place < 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 HIGHEST PLACE AND BEST SCORE BIGGER THAN 10? ### Context: CREATE TABLE table_name_3 (place INTEGER, best_score INTEGER) [/INST] ### Response: SELECT MAX(place) FROM table_name_3 WHERE best_score > 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: Can you tell me the High points that has the Date of january 31? ### Context: CREATE TABLE table_name_32 (high_points VARCHAR, date VARCHAR) [/INST] ### Response: SELECT high_points FROM table_name_32 WHERE date = "january 31" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Can you tell me the Score that has the Game of 40? ### Context: CREATE TABLE table_name_33 (score VARCHAR, game VARCHAR) [/INST] ### Response: SELECT score FROM table_name_33 WHERE game = 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 was Lee Trevino's score? ### Context: CREATE TABLE table_name_42 (score VARCHAR, player VARCHAR) [/INST] ### Response: SELECT score FROM table_name_42 WHERE player = "lee trevino" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the highest grid for Patrick Carpentier? ### Context: CREATE TABLE table_name_77 (grid INTEGER, driver VARCHAR) [/INST] ### Response: SELECT MAX(grid) FROM table_name_77 WHERE driver = "patrick carpentier" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who has the lowest laps with 29 points on 1 grid? ### Context: CREATE TABLE table_name_16 (laps INTEGER, points VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT MIN(laps) FROM table_name_16 WHERE points = 29 AND grid < 1 </s>