text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which competition did the toronto city saints win? ### Context: CREATE TABLE table_25735_1 (competition VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT competition FROM table_25735_1 WHERE winner = "Toronto City Saints" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of teams in the competition that wynnum manly seagulls won? ### Context: CREATE TABLE table_25735_1 (teams INTEGER, winner VARCHAR) [/INST] ### Response: SELECT MIN(teams) FROM table_25735_1 WHERE winner = "Wynnum Manly Seagulls" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cook island league competitions were there? ### Context: CREATE TABLE table_25735_1 (latest_year VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT COUNT(latest_year) FROM table_25735_1 WHERE competition = "Cook Island League" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 positions are shown for the 2010 season? ### Context: CREATE TABLE table_25740774_1 (position VARCHAR, season VARCHAR) [/INST] ### Response: SELECT COUNT(position) FROM table_25740774_1 WHERE season = 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 is the season with podiums more than 2.0? ### Context: CREATE TABLE table_25740774_1 (season INTEGER, podiums INTEGER) [/INST] ### Response: SELECT MAX(season) FROM table_25740774_1 WHERE podiums > 2.0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which series is in position nc? ### Context: CREATE TABLE table_25740774_1 (series VARCHAR, position VARCHAR) [/INST] ### Response: SELECT series FROM table_25740774_1 WHERE position = "NC" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the f/laps for race 14? ### Context: CREATE TABLE table_25740774_1 (f_laps VARCHAR, races VARCHAR) [/INST] ### Response: SELECT f_laps FROM table_25740774_1 WHERE races = 14 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many flaps are there for the team march 3 racing (1-4) top speed racing team (5-12)? ### Context: CREATE TABLE table_25740774_1 (f_laps VARCHAR, team VARCHAR) [/INST] ### Response: SELECT COUNT(f_laps) FROM table_25740774_1 WHERE team = "March 3 Racing (1-4) Top Speed Racing team (5-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: If the player is Maake Kemoeatu, what is the int maximum? ### Context: CREATE TABLE table_25773915_11 (int INTEGER, player VARCHAR) [/INST] ### Response: SELECT MAX(int) FROM table_25773915_11 WHERE player = "Maake Kemoeatu" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ydi minimum? ### Context: CREATE TABLE table_25773915_11 (ydl INTEGER) [/INST] ### Response: SELECT MIN(ydl) FROM table_25773915_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 is the fumrec minimum? ### Context: CREATE TABLE table_25773915_11 (fumrec INTEGER) [/INST] ### Response: SELECT MIN(fumrec) FROM table_25773915_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: If the player is Reed Doughty, what isthe fumrec? ### Context: CREATE TABLE table_25773915_11 (fumrec VARCHAR, player VARCHAR) [/INST] ### Response: SELECT fumrec FROM table_25773915_11 WHERE player = "Reed Doughty" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stadium(sO does san juan jabloteh play in? ### Context: CREATE TABLE table_25794138_1 (stadium VARCHAR, team VARCHAR) [/INST] ### Response: SELECT stadium FROM table_25794138_1 WHERE team = "San Juan Jabloteh" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Wh owas the captian of the north east stars? ### Context: CREATE TABLE table_25794138_1 (captain VARCHAR, team VARCHAR) [/INST] ### Response: SELECT captain FROM table_25794138_1 WHERE team = "North East Stars" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 maximum capacity of larry gomes stadium? ### Context: CREATE TABLE table_25794138_1 (capacity INTEGER, stadium VARCHAR) [/INST] ### Response: SELECT MAX(capacity) FROM table_25794138_1 WHERE stadium = "Larry Gomes stadium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest season #? ### Context: CREATE TABLE table_25800134_11 (season__number INTEGER) [/INST] ### Response: SELECT MIN(season__number) FROM table_25800134_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: Who directed series # 422? ### Context: CREATE TABLE table_25800134_11 (director VARCHAR, series__number VARCHAR) [/INST] ### Response: SELECT director FROM table_25800134_11 WHERE series__number = 422 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directors were there for series # 431? ### Context: CREATE TABLE table_25800134_11 (director VARCHAR, series__number VARCHAR) [/INST] ### Response: SELECT COUNT(director) FROM table_25800134_11 WHERE series__number = 431 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of the series aired on February 26, 1968? ### Context: CREATE TABLE table_25800134_12 (series__number VARCHAR, airdate VARCHAR) [/INST] ### Response: SELECT series__number FROM table_25800134_12 WHERE airdate = "February 26, 1968" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 people directed the episode that aired on February 5, 1968? ### Context: CREATE TABLE table_25800134_12 (director VARCHAR, airdate VARCHAR) [/INST] ### Response: SELECT COUNT(director) FROM table_25800134_12 WHERE airdate = "February 5, 1968" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directed the episode that aired on September 25, 1967? ### Context: CREATE TABLE table_25800134_12 (director VARCHAR, airdate VARCHAR) [/INST] ### Response: SELECT director FROM table_25800134_12 WHERE airdate = "September 25, 1967" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directed the episode that aired on February 19, 1968? ### Context: CREATE TABLE table_25800134_12 (director VARCHAR, airdate VARCHAR) [/INST] ### Response: SELECT director FROM table_25800134_12 WHERE airdate = "February 19, 1968" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode titles aired on September 25, 1967? ### Context: CREATE TABLE table_25800134_12 (title VARCHAR, airdate VARCHAR) [/INST] ### Response: SELECT COUNT(title) FROM table_25800134_12 WHERE airdate = "September 25, 1967" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 most series number for season 22 ### Context: CREATE TABLE table_25800134_18 (series__number INTEGER, season__number VARCHAR) [/INST] ### Response: SELECT MAX(series__number) FROM table_25800134_18 WHERE season__number = 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 is the earliest stage where mountains classifications was awarded to Peter Stetina? ### Context: CREATE TABLE table_25802689_14 (stage INTEGER, mountains_classification VARCHAR) [/INST] ### Response: SELECT MIN(stage) FROM table_25802689_14 WHERE mountains_classification = "Peter Stetina" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title where the airdate is december 5, 1964? ### Context: CREATE TABLE table_25800134_9 (title VARCHAR, airdate VARCHAR) [/INST] ### Response: SELECT title FROM table_25800134_9 WHERE airdate = "December 5, 1964" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series where the airdate is december 26, 1964? ### Context: CREATE TABLE table_25800134_9 (series__number VARCHAR, airdate VARCHAR) [/INST] ### Response: SELECT COUNT(series__number) FROM table_25800134_9 WHERE airdate = "December 26, 1964" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 actor/actress with a first appearance is 3 june 2007? ### Context: CREATE TABLE table_25831483_1 (actor_actress VARCHAR, first_appearance VARCHAR) [/INST] ### Response: SELECT actor_actress FROM table_25831483_1 WHERE first_appearance = "3 June 2007" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the actor/actress with a last appearance of 1 january 2010 and total is 20 and character is vanessa 'nessa' jenkins? ### Context: CREATE TABLE table_25831483_1 (actor_actress VARCHAR, character VARCHAR, last_appearance VARCHAR, total VARCHAR) [/INST] ### Response: SELECT actor_actress FROM table_25831483_1 WHERE last_appearance = "1 January 2010" AND total = 20 AND character = "Vanessa 'Nessa' Jenkins" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number? ### Context: CREATE TABLE table_25831483_1 (total INTEGER) [/INST] ### Response: SELECT MAX(total) FROM table_25831483_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 characters where actor/actress is larry lamb? ### Context: CREATE TABLE table_25831483_1 (character VARCHAR, actor_actress VARCHAR) [/INST] ### Response: SELECT COUNT(character) FROM table_25831483_1 WHERE actor_actress = "Larry Lamb" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 last appearance of actor/actress is pam ferris? ### Context: CREATE TABLE table_25831483_1 (last_appearance VARCHAR, actor_actress VARCHAR) [/INST] ### Response: SELECT last_appearance FROM table_25831483_1 WHERE actor_actress = "Pam Ferris" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many total are there when actor/actress is pam ferris? ### Context: CREATE TABLE table_25831483_1 (total VARCHAR, actor_actress VARCHAR) [/INST] ### Response: SELECT total FROM table_25831483_1 WHERE actor_actress = "Pam Ferris" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 GDP (ppp) per capita? ### Context: CREATE TABLE table_25869317_1 (gdp__ppp__per_capita INTEGER) [/INST] ### Response: SELECT MIN(gdp__ppp__per_capita) FROM table_25869317_1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who directed the episode that had 12.88 million viewers? ### Context: CREATE TABLE table_25923164_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_25923164_1 WHERE us_viewers__million_ = "12.88" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original air date of the episode written by amanda segel? ### Context: CREATE TABLE table_25923164_1 (original_air_date VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_25923164_1 WHERE written_by = "Amanda Segel" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original air date of the episode directed by gloria muzio? ### Context: CREATE TABLE table_25923164_1 (original_air_date VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_25923164_1 WHERE directed_by = "Gloria Muzio" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original air date of the episode directed by frederick e. o. toye? ### Context: CREATE TABLE table_25923164_1 (original_air_date VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_25923164_1 WHERE directed_by = "Frederick E. O. Toye" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 every value of Top 10 when team is #10 Phil Parsons Racing and average finish is 22.9? ### Context: CREATE TABLE table_2597876_2 (top_10 VARCHAR, team_s_ VARCHAR, avg_finish VARCHAR) [/INST] ### Response: SELECT top_10 FROM table_2597876_2 WHERE team_s_ = "#10 Phil Parsons Racing" AND avg_finish = "22.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 every year with average start of 27.2? ### Context: CREATE TABLE table_2597876_2 (year VARCHAR, avg_start VARCHAR) [/INST] ### Response: SELECT year FROM table_2597876_2 WHERE avg_start = "27.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: How many values of top 10 for 5th position? ### Context: CREATE TABLE table_2597876_2 (top_10 VARCHAR, position VARCHAR) [/INST] ### Response: SELECT COUNT(top_10) FROM table_2597876_2 WHERE position = "5th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 every value for top 5 if average start is 21.9? ### Context: CREATE TABLE table_2597876_2 (top_5 VARCHAR, avg_start VARCHAR) [/INST] ### Response: SELECT top_5 FROM table_2597876_2 WHERE avg_start = "21.9" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many values for winnings correspond to average start of 19.0? ### Context: CREATE TABLE table_2597876_2 (winnings VARCHAR, avg_start VARCHAR) [/INST] ### Response: SELECT COUNT(winnings) FROM table_2597876_2 WHERE avg_start = "19.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 name of the school in Lucas ? ### Context: CREATE TABLE table_25987797_1 (location VARCHAR, school VARCHAR) [/INST] ### Response: SELECT location FROM table_25987797_1 WHERE school = "Lucas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pick number for Andrew Quarless? ### Context: CREATE TABLE table_26077092_7 (pick__number INTEGER, player VARCHAR) [/INST] ### Response: SELECT MAX(pick__number) FROM table_26077092_7 WHERE player = "Andrew Quarless" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 players are from Purdue? ### Context: CREATE TABLE table_26077092_7 (player VARCHAR, college VARCHAR) [/INST] ### Response: SELECT COUNT(player) FROM table_26077092_7 WHERE college = "Purdue" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are all the players when season mvp is less than 1.0 and second team is less than 1.0 ### Context: CREATE TABLE table_26130295_3 (player VARCHAR, season_mvp VARCHAR, second_team VARCHAR) [/INST] ### Response: SELECT player FROM table_26130295_3 WHERE season_mvp < 1.0 AND second_team < 1.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: when number of selection is 2 and first team is 1 who are all the player ### Context: CREATE TABLE table_26130295_3 (player VARCHAR, first_team VARCHAR, number_of_selections VARCHAR) [/INST] ### Response: SELECT player FROM table_26130295_3 WHERE first_team = 1 AND number_of_selections = 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 would be final four mvp maximum when first team is 1 ### Context: CREATE TABLE table_26130295_3 (final_four_mvp INTEGER, first_team VARCHAR) [/INST] ### Response: SELECT MAX(final_four_mvp) FROM table_26130295_3 WHERE first_team = 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: when season mvp is larger than 1.0 what is the maximum number of selection ### Context: CREATE TABLE table_26130295_3 (number_of_selections INTEGER, season_mvp INTEGER) [/INST] ### Response: SELECT MAX(number_of_selections) FROM table_26130295_3 WHERE season_mvp > 1.0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: who is first team when dimitris diamantidis play. ### Context: CREATE TABLE table_26130295_3 (first_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT COUNT(first_team) FROM table_26130295_3 WHERE player = "Dimitris Diamantidis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 term limit for the senator who resides in Coshocton? ### Context: CREATE TABLE table_26129220_2 (term_limited INTEGER, residence VARCHAR) [/INST] ### Response: SELECT MIN(term_limited) FROM table_26129220_2 WHERE residence = "Coshocton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 party for district 27? ### Context: CREATE TABLE table_26129220_2 (party VARCHAR, district VARCHAR) [/INST] ### Response: SELECT party FROM table_26129220_2 WHERE district = 27 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many party classifications are there for the senator from Canton? ### Context: CREATE TABLE table_26129220_2 (party VARCHAR, residence VARCHAR) [/INST] ### Response: SELECT party FROM table_26129220_2 WHERE residence = "Canton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 party affiliation for Senator David Goodman? ### Context: CREATE TABLE table_26129220_2 (party VARCHAR, senator VARCHAR) [/INST] ### Response: SELECT party FROM table_26129220_2 WHERE senator = "David Goodman" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 term limit for Senator Tom Niehaus? ### Context: CREATE TABLE table_26129220_2 (term_limited INTEGER, senator VARCHAR) [/INST] ### Response: SELECT MIN(term_limited) FROM table_26129220_2 WHERE senator = "Tom Niehaus" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 party affiliation for senator mark Wagoner? ### Context: CREATE TABLE table_26129220_2 (party VARCHAR, senator VARCHAR) [/INST] ### Response: SELECT party FROM table_26129220_2 WHERE senator = "Mark Wagoner" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the residence is Chagrin falls, who is the representative? ### Context: CREATE TABLE table_26131768_4 (representative VARCHAR, residence VARCHAR) [/INST] ### Response: SELECT representative FROM table_26131768_4 WHERE residence = "Chagrin Falls" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If first elected on 2003 (appt.), when was the term limited? ### Context: CREATE TABLE table_26131768_4 (term_limited INTEGER, first_elected VARCHAR) [/INST] ### Response: SELECT MIN(term_limited) FROM table_26131768_4 WHERE first_elected = "2003 (Appt.)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 times was Scott Oelslager a representative? ### Context: CREATE TABLE table_26131768_4 (residence VARCHAR, representative VARCHAR) [/INST] ### Response: SELECT COUNT(residence) FROM table_26131768_4 WHERE representative = "Scott Oelslager" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In which district is the residence Dublin? ### Context: CREATE TABLE table_26131768_4 (district VARCHAR, residence VARCHAR) [/INST] ### Response: SELECT district FROM table_26131768_4 WHERE residence = "Dublin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the representative is Dave Hall, when was the term limited? ### Context: CREATE TABLE table_26131768_4 (term_limited VARCHAR, representative VARCHAR) [/INST] ### Response: SELECT term_limited FROM table_26131768_4 WHERE representative = "Dave Hall" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the Representative is Barbara sears, what is the district number? ### Context: CREATE TABLE table_26131768_4 (district INTEGER, representative VARCHAR) [/INST] ### Response: SELECT MAX(district) FROM table_26131768_4 WHERE representative = "Barbara Sears" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original airdate of the episode that had 8.23 million viewers? ### Context: CREATE TABLE table_26139378_1 (original_airdate VARCHAR, viewers__in_millions_ VARCHAR) [/INST] ### Response: SELECT original_airdate FROM table_26139378_1 WHERE viewers__in_millions_ = "8.23" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 millions of viewers did Episode number 16 have? ### Context: CREATE TABLE table_26139378_1 (viewers__in_millions_ VARCHAR, episode__number VARCHAR) [/INST] ### Response: SELECT viewers__in_millions_ FROM table_26139378_1 WHERE episode__number = 16 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the vessel type for beluga shipping ### Context: CREATE TABLE table_26168687_5 (vessel_type VARCHAR, vessel_operator VARCHAR) [/INST] ### Response: SELECT vessel_type FROM table_26168687_5 WHERE vessel_operator = "Beluga Shipping" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vessel type for dof subsea ### Context: CREATE TABLE table_26168687_5 (vessel_type VARCHAR, vessel_operator VARCHAR) [/INST] ### Response: SELECT vessel_type FROM table_26168687_5 WHERE vessel_operator = "DOF Subsea" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 most number in season ### Context: CREATE TABLE table_26168687_5 (no_in_season INTEGER) [/INST] ### Response: SELECT MIN(no_in_season) FROM table_26168687_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 narraed by for beluga shipping ### Context: CREATE TABLE table_26168687_5 (narrated_by VARCHAR, vessel_operator VARCHAR) [/INST] ### Response: SELECT narrated_by FROM table_26168687_5 WHERE vessel_operator = "Beluga Shipping" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of season for beluga shipping ### Context: CREATE TABLE table_26168687_5 (no_in_season VARCHAR, vessel_operator VARCHAR) [/INST] ### Response: SELECT COUNT(no_in_season) FROM table_26168687_5 WHERE vessel_operator = "Beluga Shipping" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 least number in series for james quinn ### Context: CREATE TABLE table_2618102_1 (no_in_series INTEGER, directed_by VARCHAR) [/INST] ### Response: SELECT MIN(no_in_series) FROM table_2618102_1 WHERE directed_by = "James Quinn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 least number in season for brad markowitz, william n. fordes & renΓ© balcer ### Context: CREATE TABLE table_2618102_1 (no_in_season INTEGER, written_by VARCHAR) [/INST] ### Response: SELECT MIN(no_in_season) FROM table_2618102_1 WHERE written_by = "Brad Markowitz, William N. Fordes & RenΓ© Balcer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 institution is located in St. Peter? ### Context: CREATE TABLE table_261913_1 (institution VARCHAR, location__all_in_minnesota_ VARCHAR) [/INST] ### Response: SELECT institution FROM table_261913_1 WHERE location__all_in_minnesota_ = "St. Peter" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 enrollment for Augsburg college? ### Context: CREATE TABLE table_261913_1 (enrollment INTEGER, institution VARCHAR) [/INST] ### Response: SELECT MIN(enrollment) FROM table_261913_1 WHERE institution = "Augsburg College" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date an institution was founded that joined in 1977? ### Context: CREATE TABLE table_261913_1 (founded INTEGER, joined VARCHAR) [/INST] ### Response: SELECT MIN(founded) FROM table_261913_1 WHERE joined = "1977" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 different types are allocated to the institution in Bridgewater, Massachusetts? ### Context: CREATE TABLE table_261927_2 (type VARCHAR, location VARCHAR) [/INST] ### Response: SELECT COUNT(type) FROM table_261927_2 WHERE location = "Bridgewater, Massachusetts" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 enrollment for the institution in Westfield, Massachusetts? ### Context: CREATE TABLE table_261927_2 (enrollment VARCHAR, location VARCHAR) [/INST] ### Response: SELECT enrollment FROM table_261927_2 WHERE location = "Westfield, Massachusetts" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 institutions primary conference is merged into the university of Massachusetts boston? ### Context: CREATE TABLE table_261927_2 (institution VARCHAR, primary_conference VARCHAR) [/INST] ### Response: SELECT institution FROM table_261927_2 WHERE primary_conference = "Merged into the University of Massachusetts Boston" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 football conference for Henniker, New Hampshire>? ### Context: CREATE TABLE table_261927_2 (football_conference VARCHAR, location VARCHAR) [/INST] ### Response: SELECT football_conference FROM table_261927_2 WHERE location = "Henniker, New Hampshire" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date did the institution that left in 2013 and that is nicknamed Corsairs, join? ### Context: CREATE TABLE table_261927_2 (joined VARCHAR, left VARCHAR, nickname VARCHAR) [/INST] ### Response: SELECT joined FROM table_261927_2 WHERE left = "2013" AND nickname = "Corsairs" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wrote title number 38? ### Context: CREATE TABLE table_26199484_1 (written_by VARCHAR, no VARCHAR) [/INST] ### Response: SELECT written_by FROM table_26199484_1 WHERE no = 38 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 match was the final score 7–6 (7–0) , 6–7 (5–7) , 4–6, 6–2, 6–7 (5–7)? ### Context: CREATE TABLE table_26202812_7 (no VARCHAR, score_in_the_final VARCHAR) [/INST] ### Response: SELECT no FROM table_26202812_7 WHERE score_in_the_final = "7–6 (7–0) , 6–7 (5–7) , 4–6, 6–2, 6–7 (5–7)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest ends won when w is 8? ### Context: CREATE TABLE table_26209210_2 (Ends INTEGER, w VARCHAR) [/INST] ### Response: SELECT MIN(Ends) AS won FROM table_26209210_2 WHERE w = 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: If the qatari male is 1104, what is the grand total? ### Context: CREATE TABLE table_26214389_3 (grand_total INTEGER, qatari_male VARCHAR) [/INST] ### Response: SELECT MAX(grand_total) FROM table_26214389_3 WHERE qatari_male = 1104 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the grand total is 5814, what is the total non qatar? ### Context: CREATE TABLE table_26214389_3 (total_non_qatar VARCHAR, grand_total VARCHAR) [/INST] ### Response: SELECT total_non_qatar FROM table_26214389_3 WHERE grand_total = 5814 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the year is 2001, what are the non qatari female? ### Context: CREATE TABLE table_26214389_3 (Non VARCHAR, year VARCHAR) [/INST] ### Response: SELECT Non AS qatari_female FROM table_26214389_3 WHERE year = 2001 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the qatari female is 918, what is the total number of females? ### Context: CREATE TABLE table_26214389_3 (total_female VARCHAR, qatari_female VARCHAR) [/INST] ### Response: SELECT total_female FROM table_26214389_3 WHERE qatari_female = 918 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 outcomes occur for score in the final of 6–3, 6–4, 7–6 (13–11)? ### Context: CREATE TABLE table_26202940_6 (outcome VARCHAR, score_in_the_final VARCHAR) [/INST] ### Response: SELECT COUNT(outcome) FROM table_26202940_6 WHERE score_in_the_final = "6–3, 6–4, 7–6 (13–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: How many outcomes occur on the date of January 31, 2010? ### Context: CREATE TABLE table_26202940_6 (outcome VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(outcome) FROM table_26202940_6 WHERE date = "January 31, 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: How many numbers correspond to the score in the final of 6–3, 6–4, 7–6 (13–11)? ### Context: CREATE TABLE table_26202940_6 (no VARCHAR, score_in_the_final VARCHAR) [/INST] ### Response: SELECT COUNT(no) FROM table_26202940_6 WHERE score_in_the_final = "6–3, 6–4, 7–6 (13–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: How many championships are there when there are 6 points ### Context: CREATE TABLE table_26223231_1 (series VARCHAR, points VARCHAR) [/INST] ### Response: SELECT series FROM table_26223231_1 WHERE points = "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: When there are 2 wins, how many poles are? ### Context: CREATE TABLE table_26223231_1 (poles VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT poles FROM table_26223231_1 WHERE wins = 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 production code for episode #78? ### Context: CREATE TABLE table_2623498_5 (prod_code VARCHAR, episode__number VARCHAR) [/INST] ### Response: SELECT prod_code FROM table_2623498_5 WHERE episode__number = "78" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 titles written by Charleen Easton? ### Context: CREATE TABLE table_2623498_5 (title VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT COUNT(title) FROM table_2623498_5 WHERE written_by = "Charleen Easton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 production codes for episode #73? ### Context: CREATE TABLE table_2623498_5 (prod_code VARCHAR, episode__number VARCHAR) [/INST] ### Response: SELECT COUNT(prod_code) FROM table_2623498_5 WHERE episode__number = "73" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Fisk University located? ### Context: CREATE TABLE table_262481_2 (location VARCHAR, institution VARCHAR) [/INST] ### Response: SELECT location FROM table_262481_2 WHERE institution = "Fisk University" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the nickname of the institution that was founded in 1857? ### Context: CREATE TABLE table_262481_2 (nickname VARCHAR, founded VARCHAR) [/INST] ### Response: SELECT nickname FROM table_262481_2 WHERE founded = 1857 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 enrollment for the institution nicknamed the panthers that left in 2012? ### Context: CREATE TABLE table_262481_2 (enrollment VARCHAR, left VARCHAR, nickname VARCHAR) [/INST] ### Response: SELECT enrollment FROM table_262481_2 WHERE left = "2012" AND nickname = "Panthers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 institution whose current conference is gcac (naia)? ### Context: CREATE TABLE table_262481_2 (institution VARCHAR, current_conference VARCHAR) [/INST] ### Response: SELECT institution FROM table_262481_2 WHERE current_conference = "GCAC (NAIA)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original artists were there for the Group Performance? ### Context: CREATE TABLE table_26250176_1 (original_artist VARCHAR, theme VARCHAR) [/INST] ### Response: SELECT COUNT(original_artist) FROM table_26250176_1 WHERE theme = "Group Performance" </s>