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 is the position when drafted is 1974,r11,p11? ### Context: CREATE TABLE table_1198175_1 (position VARCHAR, drafted VARCHAR) [/INST] ### Response: SELECT position FROM table_1198175_1 WHERE drafted = "1974,R11,P11" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year was the Weight 170? ### Context: CREATE TABLE table_12032893_1 (year VARCHAR, weight VARCHAR) [/INST] ### Response: SELECT year FROM table_12032893_1 WHERE weight = 170 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number (#) is associated with the Name Ron Baxter? ### Context: CREATE TABLE table_12032893_1 (_number VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(_number) FROM table_12032893_1 WHERE name = "Ron Baxter" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Crockett High School had which number(#)? ### Context: CREATE TABLE table_12032893_1 (_number VARCHAR, high_school VARCHAR) [/INST] ### Response: SELECT _number FROM table_12032893_1 WHERE high_school = "Crockett" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which home town was the high school Catholic University located in? ### Context: CREATE TABLE table_12032893_1 (home_town VARCHAR, high_school VARCHAR) [/INST] ### Response: SELECT home_town FROM table_12032893_1 WHERE high_school = "Catholic 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: How many years have the home town of Baton Rouge, LA? ### Context: CREATE TABLE table_12032893_1 (year VARCHAR, home_town VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_12032893_1 WHERE home_town = "Baton Rouge, LA" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 height was the forward position at Crockett High School? ### Context: CREATE TABLE table_12032893_1 (height VARCHAR, position VARCHAR, high_school VARCHAR) [/INST] ### Response: SELECT height FROM table_12032893_1 WHERE position = "Forward" AND high_school = "Crockett" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 commissioned for scotts, greenock and chieftain? ### Context: CREATE TABLE table_1206583_2 (commissioned VARCHAR, builder VARCHAR, name VARCHAR) [/INST] ### Response: SELECT commissioned FROM table_1206583_2 WHERE builder = "Scotts, Greenock" AND name = "Chieftain" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 builder launched 30 october 1944? ### Context: CREATE TABLE table_1206583_2 (builder VARCHAR, launched VARCHAR) [/INST] ### Response: SELECT builder FROM table_1206583_2 WHERE launched = "30 October 1944" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 minimum voted no where percent no is 56.6 ### Context: CREATE TABLE table_120778_2 (voted_no INTEGER, percent_no VARCHAR) [/INST] ### Response: SELECT MIN(voted_no) FROM table_120778_2 WHERE percent_no = "56.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's the percent yes where voted yes is 2410119 ### Context: CREATE TABLE table_120778_2 (percent_yes VARCHAR, voted_yes VARCHAR) [/INST] ### Response: SELECT percent_yes FROM table_120778_2 WHERE voted_yes = 2410119 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 jurisdiction where percent yes is 43.4 ### Context: CREATE TABLE table_120778_2 (jurisdiction VARCHAR, percent_yes VARCHAR) [/INST] ### Response: SELECT jurisdiction FROM table_120778_2 WHERE percent_yes = "43.4" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the minimum voted yes where percent no is 68.2 ### Context: CREATE TABLE table_120778_2 (voted_yes INTEGER, percent_no VARCHAR) [/INST] ### Response: SELECT MIN(voted_yes) FROM table_120778_2 WHERE percent_no = "68.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's the jurisdiction where voted no is 322971 ### Context: CREATE TABLE table_120778_2 (jurisdiction VARCHAR, voted_no VARCHAR) [/INST] ### Response: SELECT jurisdiction FROM table_120778_2 WHERE voted_no = 322971 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date of completion where success is yes ### Context: CREATE TABLE table_12078626_1 (date_of_completion VARCHAR, success VARCHAR) [/INST] ### Response: SELECT date_of_completion FROM table_12078626_1 WHERE success = "Yes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 deadline for completion where description is iphone recall within the first 3 months of release ### Context: CREATE TABLE table_12078626_1 (deadline_for_completion VARCHAR, description VARCHAR) [/INST] ### Response: SELECT deadline_for_completion FROM table_12078626_1 WHERE description = "iPhone recall within the first 3 months of release" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 success where date of completion is september 28, 2007 ### Context: CREATE TABLE table_12078626_1 (success VARCHAR, date_of_completion VARCHAR) [/INST] ### Response: SELECT success FROM table_12078626_1 WHERE date_of_completion = "September 28, 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: what's the date of completion where deadline for completion is september 30, 2007 ### Context: CREATE TABLE table_12078626_1 (date_of_completion VARCHAR, deadline_for_completion VARCHAR) [/INST] ### Response: SELECT date_of_completion FROM table_12078626_1 WHERE deadline_for_completion = "September 30, 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: what is the total number of deadline for completion where description is facebook becomes a publicly traded company ### Context: CREATE TABLE table_12078626_1 (deadline_for_completion VARCHAR, description VARCHAR) [/INST] ### Response: SELECT COUNT(deadline_for_completion) FROM table_12078626_1 WHERE description = "Facebook becomes a publicly traded company" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 success where deadline for completion is october 7, 2007 ### Context: CREATE TABLE table_12078626_1 (success VARCHAR, deadline_for_completion VARCHAR) [/INST] ### Response: SELECT success FROM table_12078626_1 WHERE deadline_for_completion = "October 7, 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: The earliest year is 1996. ### Context: CREATE TABLE table_12077540_1 (year INTEGER) [/INST] ### Response: SELECT MIN(year) FROM table_12077540_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: There are 5 imports of plywood. ### Context: CREATE TABLE table_12077540_1 (import VARCHAR, product VARCHAR) [/INST] ### Response: SELECT import FROM table_12077540_1 WHERE product = "Plywood" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score for interview when the preliminaries score is 8.425? ### Context: CREATE TABLE table_12094300_1 (interview VARCHAR, preliminaries VARCHAR) [/INST] ### Response: SELECT interview FROM table_12094300_1 WHERE preliminaries = "8.425" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 interview score when the preliminaries score is 8.400? ### Context: CREATE TABLE table_12094300_1 (interview VARCHAR, preliminaries VARCHAR) [/INST] ### Response: SELECT interview FROM table_12094300_1 WHERE preliminaries = "8.400" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score for swimsuit when the average is 8.791? ### Context: CREATE TABLE table_12094300_1 (swimsuit VARCHAR, average VARCHAR) [/INST] ### Response: SELECT swimsuit FROM table_12094300_1 WHERE average = "8.791" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score for the interview for the state of New York? ### Context: CREATE TABLE table_12094300_1 (interview VARCHAR, state VARCHAR) [/INST] ### Response: SELECT interview FROM table_12094300_1 WHERE state = "New York" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did district of Columbia receive a score for evening gown? ### Context: CREATE TABLE table_12094300_1 (evening_gown VARCHAR, state VARCHAR) [/INST] ### Response: SELECT COUNT(evening_gown) FROM table_12094300_1 WHERE state = "District of Columbia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score when the swimsuit score is 8.503? ### Context: CREATE TABLE table_12094300_1 (average VARCHAR, swimsuit VARCHAR) [/INST] ### Response: SELECT average FROM table_12094300_1 WHERE swimsuit = "8.503" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gt1 winning team for rnd 5? ### Context: CREATE TABLE table_12146068_2 (gt1_winning_team VARCHAR, rnd VARCHAR) [/INST] ### Response: SELECT COUNT(gt1_winning_team) FROM table_12146068_2 WHERE rnd = 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the rnd for gt1 winning team for doc bundy andy wallace? ### Context: CREATE TABLE table_12146068_2 (rnd VARCHAR, gt1_winning_team VARCHAR) [/INST] ### Response: SELECT rnd FROM table_12146068_2 WHERE gt1_winning_team = "Doc Bundy Andy Wallace" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gt1 winning team for #54 bell motorsports ### Context: CREATE TABLE table_12146068_2 (gt1_winning_team VARCHAR, gt2_winning_team VARCHAR) [/INST] ### Response: SELECT gt1_winning_team FROM table_12146068_2 WHERE gt2_winning_team = "#54 Bell Motorsports" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the episode that was watched by 8.92 million viewers? ### Context: CREATE TABLE table_12146637_1 (episode_title VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT episode_title FROM table_12146637_1 WHERE us_viewers__millions_ = "8.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: How many episodes had 9.90 million viewers? ### Context: CREATE TABLE table_12146637_1 (episode_title VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT COUNT(episode_title) FROM table_12146637_1 WHERE us_viewers__millions_ = "9.90" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series number of the episode watched by 10.89 million viewers? ### Context: CREATE TABLE table_12146637_1 (series__number INTEGER, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT MAX(series__number) FROM table_12146637_1 WHERE us_viewers__millions_ = "10.89" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode written by Sheila Lawrence & Henry Alonso Myers? ### Context: CREATE TABLE table_12146637_1 (episode_title VARCHAR, writer_s_ VARCHAR) [/INST] ### Response: SELECT episode_title FROM table_12146637_1 WHERE writer_s_ = "Sheila Lawrence & Henry Alonso Myers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pick number of the defensive back? ### Context: CREATE TABLE table_12165135_1 (overall_pick__number VARCHAR, position VARCHAR) [/INST] ### Response: SELECT COUNT(overall_pick__number) FROM table_12165135_1 WHERE position = "Defensive Back" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position for the pick number 17? ### Context: CREATE TABLE table_12165135_1 (position VARCHAR, overall_pick__number VARCHAR) [/INST] ### Response: SELECT position FROM table_12165135_1 WHERE overall_pick__number = 17 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 college of the afl team of buffalo bills? ### Context: CREATE TABLE table_12165135_1 (college VARCHAR, afl_team VARCHAR) [/INST] ### Response: SELECT college FROM table_12165135_1 WHERE afl_team = "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 is the position of john charles? ### Context: CREATE TABLE table_12165135_1 (position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT position FROM table_12165135_1 WHERE player = "John Charles" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the largest pick number of the new york jets? ### Context: CREATE TABLE table_12165135_1 (overall_pick__number INTEGER, afl_team VARCHAR) [/INST] ### Response: SELECT MAX(overall_pick__number) FROM table_12165135_1 WHERE afl_team = "New York Jets" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 afl team of the offensive guard? ### Context: CREATE TABLE table_12165135_1 (afl_team VARCHAR, position VARCHAR) [/INST] ### Response: SELECT afl_team FROM table_12165135_1 WHERE position = "Offensive Guard" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 women's singles were men's doubles were steen fladberg jens peter nierhoff? ### Context: CREATE TABLE table_12186309_1 (womens_singles VARCHAR, mens_doubles VARCHAR) [/INST] ### Response: SELECT womens_singles FROM table_12186309_1 WHERE mens_doubles = "Steen Fladberg Jens Peter Nierhoff" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mixed doubles where the mens singles is kim brodersen? ### Context: CREATE TABLE table_12186309_1 (mixed_doubles VARCHAR, mens_singles VARCHAR) [/INST] ### Response: SELECT mixed_doubles FROM table_12186309_1 WHERE mens_singles = "Kim Brodersen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 first appearance where character(s) is iron man ### Context: CREATE TABLE table_1217448_1 (first_appearance VARCHAR, character_s_ VARCHAR) [/INST] ### Response: SELECT first_appearance FROM table_1217448_1 WHERE character_s_ = "Iron Man" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the total number of publisher where cover date is may 1939 ### Context: CREATE TABLE table_1217448_1 (publisher VARCHAR, cover_date VARCHAR) [/INST] ### Response: SELECT COUNT(publisher) FROM table_1217448_1 WHERE cover_date = "May 1939" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the total number of publisher where first appearance is daredevil #1 ### Context: CREATE TABLE table_1217448_1 (publisher VARCHAR, first_appearance VARCHAR) [/INST] ### Response: SELECT COUNT(publisher) FROM table_1217448_1 WHERE first_appearance = "Daredevil #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's the cover date where character(s) is sandman (wesley dodds) ### Context: CREATE TABLE table_1217448_1 (cover_date VARCHAR, character_s_ VARCHAR) [/INST] ### Response: SELECT cover_date FROM table_1217448_1 WHERE character_s_ = "Sandman (Wesley Dodds)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cover date where character(s) is x-men ; magneto ### Context: CREATE TABLE table_1217448_1 (cover_date VARCHAR, character_s_ VARCHAR) [/INST] ### Response: SELECT cover_date FROM table_1217448_1 WHERE character_s_ = "X-Men ; Magneto" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 estimated value where cover date is august 1962 ### Context: CREATE TABLE table_1217448_1 (estimated_value VARCHAR, cover_date VARCHAR) [/INST] ### Response: SELECT estimated_value FROM table_1217448_1 WHERE cover_date = "August 1962" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 theme placed as #3 in the finale? ### Context: CREATE TABLE table_12175755_1 (result VARCHAR, theme VARCHAR, order__number VARCHAR) [/INST] ### Response: SELECT result FROM table_12175755_1 WHERE theme = "Finale" AND order__number = "3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the theme for the episode selection process? ### Context: CREATE TABLE table_12175755_1 (theme VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT theme FROM table_12175755_1 WHERE episode = "Selection Process" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 order number for songs by the original artist Luis Fonsi? ### Context: CREATE TABLE table_12175755_1 (order__number VARCHAR, original_artist VARCHAR) [/INST] ### Response: SELECT order__number FROM table_12175755_1 WHERE original_artist = "Luis Fonsi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 song choice when the theme is not aired? ### Context: CREATE TABLE table_12175755_1 (theme VARCHAR, song_choice VARCHAR) [/INST] ### Response: SELECT theme FROM table_12175755_1 WHERE song_choice = "Not Aired" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 years did Markose Bristow Madhumita Bisht win the mens singles and/or the mixed doubles? ### Context: CREATE TABLE table_12194021_1 (mens_singles VARCHAR, mixed_doubles VARCHAR) [/INST] ### Response: SELECT mens_singles FROM table_12194021_1 WHERE mixed_doubles = "Markose Bristow Madhumita Bisht" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who won the womens doubles in 2002? ### Context: CREATE TABLE table_12194021_1 (womens_doubles VARCHAR, season VARCHAR) [/INST] ### Response: SELECT womens_doubles FROM table_12194021_1 WHERE season = 2002 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 titles did Rupesh Kumar Sanave Thomas and Jwala Gutta Ashwini Ponnappa win total? ### Context: CREATE TABLE table_12194021_1 (womens_singles VARCHAR, mens_doubles VARCHAR, womens_doubles VARCHAR) [/INST] ### Response: SELECT COUNT(womens_singles) FROM table_12194021_1 WHERE mens_doubles = "Rupesh Kumar Sanave Thomas" AND womens_doubles = "Jwala Gutta Ashwini Ponnappa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 womens doubles and mens singles, what years did Arvind Bhat or Valiyaveetil Diju Jwala Gutta win? ### Context: CREATE TABLE table_12194021_1 (womens_doubles VARCHAR, mens_singles VARCHAR, mixed_doubles VARCHAR) [/INST] ### Response: SELECT womens_doubles FROM table_12194021_1 WHERE mens_singles = "Arvind Bhat" AND mixed_doubles = "Valiyaveetil Diju Jwala Gutta" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 titles did Trupti Murgunde claim? ### Context: CREATE TABLE table_12194021_1 (womens_doubles VARCHAR, womens_singles VARCHAR) [/INST] ### Response: SELECT womens_doubles FROM table_12194021_1 WHERE womens_singles = "Trupti Murgunde" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pennant for 4 may 1943? ### Context: CREATE TABLE table_1220125_4 (pennant VARCHAR, laid_down VARCHAR) [/INST] ### Response: SELECT pennant FROM table_1220125_4 WHERE laid_down = "4 May 1943" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of fate for pennant of u33? ### Context: CREATE TABLE table_1220125_4 (fate VARCHAR, pennant VARCHAR) [/INST] ### Response: SELECT COUNT(fate) FROM table_1220125_4 WHERE pennant = "U33" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 fate for 11 april 1944? ### Context: CREATE TABLE table_1220125_4 (fate VARCHAR, commissioned VARCHAR) [/INST] ### Response: SELECT fate FROM table_1220125_4 WHERE commissioned = "11 April 1944" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for 30 september 1943? ### Context: CREATE TABLE table_1220125_4 (name VARCHAR, launched VARCHAR) [/INST] ### Response: SELECT name FROM table_1220125_4 WHERE launched = "30 September 1943" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 comissioned for 4 may 1943? ### Context: CREATE TABLE table_1220125_4 (commissioned VARCHAR, laid_down VARCHAR) [/INST] ### Response: SELECT commissioned FROM table_1220125_4 WHERE laid_down = "4 May 1943" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 writters for the episode directed by Richard L. Bare, no. 8 in season? ### Context: CREATE TABLE table_12226390_7 (written_by VARCHAR, directed_by VARCHAR, no_in_season VARCHAR) [/INST] ### Response: SELECT written_by FROM table_12226390_7 WHERE directed_by = "Richard L. Bare" AND no_in_season = 8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the location of the tournament that the share of winning is 7000? ### Context: CREATE TABLE table_12243817_1 (tournament_location VARCHAR, winners_share__$_ VARCHAR) [/INST] ### Response: SELECT tournament_location FROM table_12243817_1 WHERE winners_share__$_ = 7000 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year is Japan the country? ### Context: CREATE TABLE table_12243817_1 (year VARCHAR, country VARCHAR) [/INST] ### Response: SELECT year FROM table_12243817_1 WHERE country = "Japan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 that Dewi Claire Schreefel is the champion? ### Context: CREATE TABLE table_12243817_1 (year VARCHAR, champion VARCHAR) [/INST] ### Response: SELECT year FROM table_12243817_1 WHERE champion = "Dewi Claire Schreefel" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winners Share ($) in the year 2004? ### Context: CREATE TABLE table_12243817_1 (winners_share__ INTEGER, year VARCHAR) [/INST] ### Response: SELECT MIN(winners_share__) AS $_ FROM table_12243817_1 WHERE year = "2004" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the tournament location when Vicky Hurst in the champion? ### Context: CREATE TABLE table_12243817_1 (tournament_location VARCHAR, champion VARCHAR) [/INST] ### Response: SELECT tournament_location FROM table_12243817_1 WHERE champion = "Vicky Hurst" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 intergiro classification of stage 21? ### Context: CREATE TABLE table_12261926_2 (intergiro_classification VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT intergiro_classification FROM table_12261926_2 WHERE stage = 21 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the trofeo fast team on stage 8? ### Context: CREATE TABLE table_12261926_2 (trofeo_fast_team VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT trofeo_fast_team FROM table_12261926_2 WHERE stage = 8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the general classification with the winner being evgeni berzin? ### Context: CREATE TABLE table_12261926_2 (general_classification VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT COUNT(general_classification) FROM table_12261926_2 WHERE winner = "Evgeni Berzin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 intergiro classification of alexander gontchenkov? ### Context: CREATE TABLE table_12261926_2 (intergiro_classification VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT intergiro_classification FROM table_12261926_2 WHERE winner = "Alexander Gontchenkov" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total number of points where the stage is 17? ### Context: CREATE TABLE table_12262008_2 (points_classification VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT COUNT(points_classification) FROM table_12262008_2 WHERE stage = 17 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the status of channel 44.1? ### Context: CREATE TABLE table_12271718_1 (status VARCHAR, channel VARCHAR) [/INST] ### Response: SELECT status FROM table_12271718_1 WHERE channel = "44.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 station has a univision network affiliation? ### Context: CREATE TABLE table_12271718_1 (station VARCHAR, network_affiliation VARCHAR) [/INST] ### Response: SELECT station FROM table_12271718_1 WHERE network_affiliation = "Univision" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 season did sportfreunde siegen win best supported club? ### Context: CREATE TABLE table_12272590_2 (season VARCHAR, best_supported_club VARCHAR) [/INST] ### Response: SELECT COUNT(season) FROM table_12272590_2 WHERE best_supported_club = "Sportfreunde Siegen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 all the Canadian air dates where the u.s. air date is may 1, 2009 ### Context: CREATE TABLE table_12294557_3 (canadian_airdate VARCHAR, us_airdate VARCHAR) [/INST] ### Response: SELECT canadian_airdate FROM table_12294557_3 WHERE us_airdate = "May 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: What is the maximum season # with a u.s. air date is may 1, 2009 ### Context: CREATE TABLE table_12294557_3 (season__number INTEGER, us_airdate VARCHAR) [/INST] ### Response: SELECT MAX(season__number) FROM table_12294557_3 WHERE us_airdate = "May 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: What is the total number of title with a u.s. air date of April 17, 2009 ### Context: CREATE TABLE table_12294557_3 (title VARCHAR, us_airdate VARCHAR) [/INST] ### Response: SELECT COUNT(title) FROM table_12294557_3 WHERE us_airdate = "April 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 minimum production code ### Context: CREATE TABLE table_12294557_3 (production_code INTEGER) [/INST] ### Response: SELECT MIN(production_code) FROM table_12294557_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 are the u.s. air dates with a Canadian air date of may 4, 2009 ### Context: CREATE TABLE table_12294557_3 (us_airdate VARCHAR, canadian_airdate VARCHAR) [/INST] ### Response: SELECT us_airdate FROM table_12294557_3 WHERE canadian_airdate = "May 4, 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 is the charity that the background of the celebrity is heavyweight champion? ### Context: CREATE TABLE table_12286195_1 (charity VARCHAR, background VARCHAR) [/INST] ### Response: SELECT charity FROM table_12286195_1 WHERE background = "Heavyweight Champion" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team of the celebrity who had the result 08 fired in week 10 (2008-03-06) ### Context: CREATE TABLE table_12286195_1 (original_team VARCHAR, result VARCHAR) [/INST] ### Response: SELECT original_team FROM table_12286195_1 WHERE result = "08 Fired in week 10 (2008-03-06)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 celebrity was raised 03? ### Context: CREATE TABLE table_12286195_1 (celebrity VARCHAR, raised VARCHAR) [/INST] ### Response: SELECT celebrity FROM table_12286195_1 WHERE raised = "03" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 charity of the celebrity with the background reality star? ### Context: CREATE TABLE table_12286195_1 (charity VARCHAR, background VARCHAR) [/INST] ### Response: SELECT charity FROM table_12286195_1 WHERE background = "Reality Star" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 background of the celebrity who had the result 13 the celebrity apprentice (2008-03-27)? ### Context: CREATE TABLE table_12286195_1 (background VARCHAR, result VARCHAR) [/INST] ### Response: SELECT background FROM table_12286195_1 WHERE result = "13 The celebrity Apprentice (2008-03-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: Where is Tamunosiki Atorudibo from ### Context: CREATE TABLE table_1231316_4 (country VARCHAR, athlete VARCHAR) [/INST] ### Response: SELECT country FROM table_1231316_4 WHERE athlete = "Tamunosiki Atorudibo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Dwain Chambers from ### Context: CREATE TABLE table_1231316_4 (location VARCHAR, athlete VARCHAR) [/INST] ### Response: SELECT location FROM table_1231316_4 WHERE athlete = "Dwain Chambers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stats of Trinidad and Tobago ### Context: CREATE TABLE table_1231316_4 (wind__m_s_ VARCHAR, country VARCHAR) [/INST] ### Response: SELECT wind__m_s_ FROM table_1231316_4 WHERE country = "Trinidad and Tobago" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total number of wind m/s for sunday emmanuel ### Context: CREATE TABLE table_1231316_6 (wind__m_s_ VARCHAR, athlete VARCHAR) [/INST] ### Response: SELECT COUNT(wind__m_s_) FROM table_1231316_6 WHERE athlete = "Sunday Emmanuel" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wind m/s and fastest time of 10.25 and jeff demps ### Context: CREATE TABLE table_1231316_6 (wind__m_s_ VARCHAR, fastest_time__s_ VARCHAR, athlete VARCHAR) [/INST] ### Response: SELECT wind__m_s_ FROM table_1231316_6 WHERE fastest_time__s_ = "10.25" AND athlete = "Jeff Demps" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 competition when aggregate is 1–4? ### Context: CREATE TABLE table_1233026_4 (competition VARCHAR, aggregate VARCHAR) [/INST] ### Response: SELECT competition FROM table_1233026_4 WHERE aggregate = "1–4" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the 1st leg when club is a.c. libertas? ### Context: CREATE TABLE table_1233026_4 (club VARCHAR) [/INST] ### Response: SELECT 1 AS st_leg FROM table_1233026_4 WHERE club = "A.C. Libertas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 branding of metro manila? ### Context: CREATE TABLE table_12379297_4 (branding VARCHAR, location VARCHAR) [/INST] ### Response: SELECT branding FROM table_12379297_4 WHERE location = "Metro Manila" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was the institution of Kansas city Kansas community college founded? ### Context: CREATE TABLE table_12434380_1 (founded VARCHAR, institution VARCHAR) [/INST] ### Response: SELECT COUNT(founded) FROM table_12434380_1 WHERE institution = "Kansas City Kansas Community 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 is the mascot for the instition of Kansas city Kansas community college? ### Context: CREATE TABLE table_12434380_1 (mascot VARCHAR, institution VARCHAR) [/INST] ### Response: SELECT mascot FROM table_12434380_1 WHERE institution = "Kansas City Kansas Community 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: How many school colors is there for the main campus location of highland? ### Context: CREATE TABLE table_12434380_1 (school_colors VARCHAR, main_campus_location VARCHAR) [/INST] ### Response: SELECT COUNT(school_colors) FROM table_12434380_1 WHERE main_campus_location = "Highland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the mascot for the school founded in 1923 with the school colors of blue, red & white? ### Context: CREATE TABLE table_12434380_1 (mascot VARCHAR, founded VARCHAR, school_colors VARCHAR) [/INST] ### Response: SELECT mascot FROM table_12434380_1 WHERE founded = 1923 AND school_colors = "Blue, Red & White" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 instition where the main campus location is overland park? ### Context: CREATE TABLE table_12434380_1 (institution VARCHAR, main_campus_location VARCHAR) [/INST] ### Response: SELECT institution FROM table_12434380_1 WHERE main_campus_location = "Overland Park" </s>