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: How many Mixed Doubles won when Oliver Pongratz won the Men's Singles? ### Context: CREATE TABLE table_12164707_1 (mixed_doubles VARCHAR, mens_singles VARCHAR) [/INST] ### Response: SELECT COUNT(mixed_doubles) FROM table_12164707_1 WHERE mens_singles = "Oliver Pongratz" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Men's Doubles when Guo Xin won the Women's Singles? ### Context: CREATE TABLE table_12164707_1 (mens_doubles VARCHAR, womens_singles VARCHAR) [/INST] ### Response: SELECT mens_doubles FROM table_12164707_1 WHERE womens_singles = "Guo Xin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 college did Dennis Byrd come from? ### Context: CREATE TABLE table_12165999_1 (college VARCHAR, player VARCHAR) [/INST] ### Response: SELECT college FROM table_12165999_1 WHERE player = "Dennis Byrd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Bob Johnson plays for which AFL team? ### Context: CREATE TABLE table_12165999_1 (afl_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT afl_team FROM table_12165999_1 WHERE player = "Bob Johnson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What position does the Cincinnati Bengals' player have? ### Context: CREATE TABLE table_12165999_1 (position VARCHAR, afl_team VARCHAR) [/INST] ### Response: SELECT position FROM table_12165999_1 WHERE afl_team = "Cincinnati Bengals" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What position does Syracuse's player have? ### Context: CREATE TABLE table_12165999_1 (position VARCHAR, college VARCHAR) [/INST] ### Response: SELECT position FROM table_12165999_1 WHERE college = "Syracuse" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What college did the Cincinnati Bengals' player come from? ### Context: CREATE TABLE table_12165999_1 (college VARCHAR, afl_team VARCHAR) [/INST] ### Response: SELECT college FROM table_12165999_1 WHERE afl_team = "Cincinnati Bengals" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pinyin for explaining music? ### Context: CREATE TABLE table_1216675_1 (pinyin VARCHAR, translation VARCHAR) [/INST] ### Response: SELECT pinyin FROM table_1216675_1 WHERE translation = "Explaining Music" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 subjects have the pinyin shixun? ### Context: CREATE TABLE table_1216675_1 (subject VARCHAR, pinyin VARCHAR) [/INST] ### Response: SELECT COUNT(subject) FROM table_1216675_1 WHERE pinyin = "Shixun" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pinyin for explaining beasts? ### Context: CREATE TABLE table_1216675_1 (pinyin VARCHAR, translation VARCHAR) [/INST] ### Response: SELECT pinyin FROM table_1216675_1 WHERE translation = "Explaining Beasts" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pinyin transaltions are available for the chinese phrase 釋蟲? ### Context: CREATE TABLE table_1216675_1 (pinyin VARCHAR, chinese VARCHAR) [/INST] ### Response: SELECT COUNT(pinyin) FROM table_1216675_1 WHERE chinese = "釋蟲" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What chapter number is Shiqiu? ### Context: CREATE TABLE table_1216675_1 (chapter INTEGER, pinyin VARCHAR) [/INST] ### Response: SELECT MIN(chapter) FROM table_1216675_1 WHERE pinyin = "Shiqiu" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mens doubles when womens doubles is catrine bengtsson margit borg? ### Context: CREATE TABLE table_12171145_1 (mens_doubles VARCHAR, womens_doubles VARCHAR) [/INST] ### Response: SELECT COUNT(mens_doubles) FROM table_12171145_1 WHERE womens_doubles = "Catrine Bengtsson Margit Borg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the mens doubles when womens doubles is anastasia chervyakova romina gabdullina? ### Context: CREATE TABLE table_12171145_1 (mens_doubles VARCHAR, womens_doubles VARCHAR) [/INST] ### Response: SELECT mens_doubles FROM table_12171145_1 WHERE womens_doubles = "Anastasia Chervyakova Romina Gabdullina" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 themens doubles when the mens singles is flemming delfs? ### Context: CREATE TABLE table_12171145_1 (mens_doubles VARCHAR, mens_singles VARCHAR) [/INST] ### Response: SELECT mens_doubles FROM table_12171145_1 WHERE mens_singles = "Flemming Delfs" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 womens doubles when the mixed doubles is jacco arends selena piek? ### Context: CREATE TABLE table_12171145_1 (womens_doubles VARCHAR, mixed_doubles VARCHAR) [/INST] ### Response: SELECT womens_doubles FROM table_12171145_1 WHERE mixed_doubles = "Jacco Arends Selena Piek" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mens doubles when womens singles is mette sørensen? ### Context: CREATE TABLE table_12171145_1 (mens_doubles VARCHAR, womens_singles VARCHAR) [/INST] ### Response: SELECT mens_doubles FROM table_12171145_1 WHERE womens_singles = "Mette Sørensen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the Motogp winnder for the Catalunya Circuit? ### Context: CREATE TABLE table_12186237_1 (motogp_winner VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT motogp_winner FROM table_12186237_1 WHERE circuit = "Catalunya" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the 125cc winnder for the Phillip Island circuit? ### Context: CREATE TABLE table_12186237_1 (circuit VARCHAR) [/INST] ### Response: SELECT 125 AS cc_winner FROM table_12186237_1 WHERE circuit = "Phillip Island" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date of the German Grand Prix? ### Context: CREATE TABLE table_12186237_1 (date VARCHAR, grand_prix VARCHAR) [/INST] ### Response: SELECT date FROM table_12186237_1 WHERE grand_prix = "German grand_prix" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What circuit was on the date 4 May? ### Context: CREATE TABLE table_12186237_1 (circuit VARCHAR, date VARCHAR) [/INST] ### Response: SELECT circuit FROM table_12186237_1 WHERE date = "4 May" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mens doubles for 2004/2005 ### Context: CREATE TABLE table_12193259_1 (mens_doubles VARCHAR, season VARCHAR) [/INST] ### Response: SELECT COUNT(mens_doubles) FROM table_12193259_1 WHERE season = "2004/2005" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for mens single for 2002/2003 ### Context: CREATE TABLE table_12193259_1 (mens_singles VARCHAR, season VARCHAR) [/INST] ### Response: SELECT COUNT(mens_singles) FROM table_12193259_1 WHERE season = "2002/2003" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mens singles for 1944/1945 ### Context: CREATE TABLE table_12193259_1 (mens_singles VARCHAR, season VARCHAR) [/INST] ### Response: SELECT mens_singles FROM table_12193259_1 WHERE season = "1944/1945" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pernell whitaker an opponent? ### Context: CREATE TABLE table_12206918_2 (date VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT COUNT(date) FROM table_12206918_2 WHERE opponent = "Pernell Whitaker" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 iran barkley an opponent? ### Context: CREATE TABLE table_12206918_2 (number VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT number FROM table_12206918_2 WHERE opponent = "Iran Barkley" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the opponent when the result was ud 12/12 and date was 1993-05-22? ### Context: CREATE TABLE table_12206918_2 (opponent VARCHAR, result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_12206918_2 WHERE result = "UD 12/12" AND date = "1993-05-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: How many opponents fought on 1982-12-03? ### Context: CREATE TABLE table_12206918_2 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(opponent) FROM table_12206918_2 WHERE date = "1982-12-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 name of the title winner in the ring light heavyweight (175) division? ### Context: CREATE TABLE table_12206918_2 (name VARCHAR, titles VARCHAR) [/INST] ### Response: SELECT name FROM table_12206918_2 WHERE titles = "The Ring Light heavyweight (175)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 trains call at Castor, Overton, Peterborough East and are operated by LNWR? ### Context: CREATE TABLE table_12221135_3 (arrival VARCHAR, operator VARCHAR, calling_at VARCHAR) [/INST] ### Response: SELECT COUNT(arrival) FROM table_12221135_3 WHERE operator = "LNWR" AND calling_at = "Castor, Overton, Peterborough East" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mens singles in 2009? ### Context: CREATE TABLE table_12204717_1 (mens_singles VARCHAR, year VARCHAR) [/INST] ### Response: SELECT mens_singles FROM table_12204717_1 WHERE year = 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 are the the University of Richmond's school colors? ### Context: CREATE TABLE table_1221089_1 (colors VARCHAR, institution VARCHAR) [/INST] ### Response: SELECT colors FROM table_1221089_1 WHERE institution = "University of Richmond" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 school colors of the University of New Hampshire? ### Context: CREATE TABLE table_1221089_1 (colors VARCHAR, institution VARCHAR) [/INST] ### Response: SELECT colors FROM table_1221089_1 WHERE institution = "University of 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's the name of the central bank in the country where Colombian Peso (cop) is the local currency? ### Context: CREATE TABLE table_1222653_10 (central_bank VARCHAR, currency VARCHAR) [/INST] ### Response: SELECT central_bank FROM table_1222653_10 WHERE currency = "Colombian peso (COP)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 minimum production code written by jay sommers & dick chevillat and al schwartz ### Context: CREATE TABLE table_12226390_3 (production_code INTEGER, written_by VARCHAR) [/INST] ### Response: SELECT MIN(production_code) FROM table_12226390_3 WHERE written_by = "Jay Sommers & Dick Chevillat and Al Schwartz" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 total number of title for production code 39 ### Context: CREATE TABLE table_12226390_3 (title VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT COUNT(title) FROM table_12226390_3 WHERE production_code = 39 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the episode 14 in series? ### Context: CREATE TABLE table_12226390_2 (written_by VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT written_by FROM table_12226390_2 WHERE no_in_series = 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: Who directed the episode with production code 28? ### Context: CREATE TABLE table_12226390_2 (directed_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_12226390_2 WHERE production_code = 28 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the title of the episode with a season number 25? ### Context: CREATE TABLE table_12226390_6 (title VARCHAR, no_in_season VARCHAR) [/INST] ### Response: SELECT title FROM table_12226390_6 WHERE no_in_season = 25 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the title of the episode with a production code 136? ### Context: CREATE TABLE table_12226390_6 (title VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT title FROM table_12226390_6 WHERE production_code = 136 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was written by Bobby Bell and Bill Lee? ### Context: CREATE TABLE table_12226390_4 (no_in_season INTEGER, written_by VARCHAR) [/INST] ### Response: SELECT MAX(no_in_season) FROM table_12226390_4 WHERE written_by = "Bobby Bell and Bill Lee" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 women doubles teams competed in the same year as when Jamie van Hooijdonk competed in men singles? ### Context: CREATE TABLE table_12232843_1 (womens_doubles VARCHAR, mens_singles VARCHAR) [/INST] ### Response: SELECT COUNT(womens_doubles) FROM table_12232843_1 WHERE mens_singles = "Jamie van Hooijdonk" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of hull numbers? ### Context: CREATE TABLE table_12232526_2 (hull_numbers INTEGER) [/INST] ### Response: SELECT MAX(hull_numbers) FROM table_12232526_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: who is the class where note is reportedly still active as of 2012? ### Context: CREATE TABLE table_12232526_2 (class VARCHAR, note VARCHAR) [/INST] ### Response: SELECT class FROM table_12232526_2 WHERE note = "Reportedly still active as of 2012" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the maximum number of hull nunbers where ship name is kri yos sudarso? ### Context: CREATE TABLE table_12232526_2 (hull_numbers INTEGER, ship_name VARCHAR) [/INST] ### Response: SELECT MAX(hull_numbers) FROM table_12232526_2 WHERE ship_name = "KRI Yos Sudarso" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What titles were fought for on 1997-04-12? ### Context: CREATE TABLE table_12262182_2 (titles VARCHAR, date VARCHAR) [/INST] ### Response: SELECT titles FROM table_12262182_2 WHERE date = "1997-04-12" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date of the match for the lineal super lightweight (140)? ### Context: CREATE TABLE table_12262182_2 (date VARCHAR, titles VARCHAR) [/INST] ### Response: SELECT date FROM table_12262182_2 WHERE titles = "Lineal Super lightweight (140)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date of the match for the wbc flyweight (112) title? ### Context: CREATE TABLE table_12262182_2 (date VARCHAR, titles VARCHAR) [/INST] ### Response: SELECT date FROM table_12262182_2 WHERE titles = "WBC Flyweight (112)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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's the leader in the young rider classification in stage 12? ### Context: CREATE TABLE table_12261714_2 (young_rider_classification VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT young_rider_classification FROM table_12261714_2 WHERE stage = "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: Who's leading in the general classification in stage 1a? ### Context: CREATE TABLE table_12261714_2 (general_classification VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT general_classification FROM table_12261714_2 WHERE stage = "1a" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 leaders are there in the intergiro classification in stage 20? ### Context: CREATE TABLE table_12261714_2 (intergiro_classification VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT COUNT(intergiro_classification) FROM table_12261714_2 WHERE stage = "20" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the leader team in the Trofeo Fast Team in stage 20? ### Context: CREATE TABLE table_12261714_2 (trofeo_fast_team VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT trofeo_fast_team FROM table_12261714_2 WHERE stage = "20" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who's the winner in stage 1a, where the leader in the young rider classification is Francesco Casagrande? ### Context: CREATE TABLE table_12261714_2 (winner VARCHAR, young_rider_classification VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT winner FROM table_12261714_2 WHERE young_rider_classification = "Francesco Casagrande" AND stage = "1a" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 general classification of stage 15 ### Context: CREATE TABLE table_12261806_2 (general_classification VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT COUNT(general_classification) FROM table_12261806_2 WHERE stage = "15" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the trofeo fast team of stage 2 ### Context: CREATE TABLE table_12261806_2 (trofeo_fast_team VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT trofeo_fast_team FROM table_12261806_2 WHERE stage = "2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the young rider classification with laudelino cubino ### Context: CREATE TABLE table_12261806_2 (young_rider_classification VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT young_rider_classification FROM table_12261806_2 WHERE winner = "Laudelino Cubino" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 trofeo fast team of stage 16 ### Context: CREATE TABLE table_12261806_2 (trofeo_fast_team VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT COUNT(trofeo_fast_team) FROM table_12261806_2 WHERE stage = "16" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What kind of bleeding does aspirin cause? ### Context: CREATE TABLE table_1226250_1 (bleeding_time VARCHAR, condition VARCHAR) [/INST] ### Response: SELECT bleeding_time FROM table_1226250_1 WHERE condition = "Aspirin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in prothrombin affected by glanzmann's thrombasthenia. ### Context: CREATE TABLE table_1226250_1 (prothrombin_time VARCHAR, condition VARCHAR) [/INST] ### Response: SELECT prothrombin_time FROM table_1226250_1 WHERE condition = "Glanzmann's thrombasthenia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 long does thromboplastin last when prothrombin is unaffected? ### Context: CREATE TABLE table_1226250_1 (partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR, prothrombin_time VARCHAR) [/INST] ### Response: SELECT partial_thromboplastin_time FROM table_1226250_1 WHERE bleeding_time = "Unaffected" AND prothrombin_time = "Unaffected" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Is uremia affect prothrombin? ### Context: CREATE TABLE table_1226250_1 (prothrombin_time VARCHAR, condition VARCHAR) [/INST] ### Response: SELECT prothrombin_time FROM table_1226250_1 WHERE condition = "Uremia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Is prothrombin time long when thromboplastin is prolonged? ### Context: CREATE TABLE table_1226250_1 (prothrombin_time VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR) [/INST] ### Response: SELECT prothrombin_time FROM table_1226250_1 WHERE bleeding_time = "Prolonged" AND partial_thromboplastin_time = "Prolonged" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 live births were there in 2006 in South Yorkshire (met county)? ### Context: CREATE TABLE table_12251936_1 (live_births_2006 VARCHAR, county VARCHAR) [/INST] ### Response: SELECT live_births_2006 FROM table_12251936_1 WHERE county = "South Yorkshire (Met county)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 TFR were there in 2006 when the GFR was 53.8? ### Context: CREATE TABLE table_12251936_1 (tfr_2006 VARCHAR, gfr_2006 VARCHAR) [/INST] ### Response: SELECT tfr_2006 FROM table_12251936_1 WHERE gfr_2006 = "53.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: How many times was the GFR 2006 equal to 53.2? ### Context: CREATE TABLE table_12251936_1 (whites_as__percentage_of_pop VARCHAR, gfr_2006 VARCHAR) [/INST] ### Response: SELECT COUNT(whites_as__percentage_of_pop) FROM table_12251936_1 WHERE gfr_2006 = "53.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 mens doubles took place in 1970/1971? ### Context: CREATE TABLE table_12266757_1 (mens_doubles VARCHAR, season VARCHAR) [/INST] ### Response: SELECT COUNT(mens_doubles) FROM table_12266757_1 WHERE season = "1970/1971" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where were the Womens Doubles in the 1951/1952 season and who won? ### Context: CREATE TABLE table_12266757_1 (womens_doubles VARCHAR, season VARCHAR) [/INST] ### Response: SELECT womens_doubles FROM table_12266757_1 WHERE season = "1951/1952" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 womens singles winnerwhen the mens doubles were stefan karlsson claes nordin , bk aura gbk? ### Context: CREATE TABLE table_12266757_1 (womens_singles VARCHAR, mens_doubles VARCHAR) [/INST] ### Response: SELECT womens_singles FROM table_12266757_1 WHERE mens_doubles = "Stefan Karlsson Claes Nordin , BK Aura GBK" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were the winners of mens doubles in the 1986/1987 season held? ### Context: CREATE TABLE table_12266757_1 (mens_doubles VARCHAR, season VARCHAR) [/INST] ### Response: SELECT mens_doubles FROM table_12266757_1 WHERE season = "1986/1987" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who won the Mens Singles when the Mixed doubles went to Stellan Mohlin Kerstin Ståhl , Aik? ### Context: CREATE TABLE table_12266757_1 (mens_singles VARCHAR, mixed_doubles VARCHAR) [/INST] ### Response: SELECT mens_singles FROM table_12266757_1 WHERE mixed_doubles = "Stellan Mohlin Kerstin Ståhl , AIK" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 singles in the 1958/1959 season? ### Context: CREATE TABLE table_12266757_1 (womens_singles VARCHAR, season VARCHAR) [/INST] ### Response: SELECT womens_singles FROM table_12266757_1 WHERE season = "1958/1959" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What county is in isolation of 29? ### Context: CREATE TABLE table_12280396_1 (county VARCHAR, isolation__km_ VARCHAR) [/INST] ### Response: SELECT county FROM table_12280396_1 WHERE isolation__km_ = 29 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the county with an elevation of 1262? ### Context: CREATE TABLE table_12280396_1 (county VARCHAR, elevation__m_ VARCHAR) [/INST] ### Response: SELECT county FROM table_12280396_1 WHERE elevation__m_ = 1262 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank where the municipality is sunndal? ### Context: CREATE TABLE table_12280396_1 (rank VARCHAR, municipality VARCHAR) [/INST] ### Response: SELECT rank FROM table_12280396_1 WHERE municipality = "Sunndal" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 county with the peak being indre russetind? ### Context: CREATE TABLE table_12280396_1 (county VARCHAR, peak VARCHAR) [/INST] ### Response: SELECT county FROM table_12280396_1 WHERE peak = "Indre Russetind" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rank of peak fresvikbreen? ### Context: CREATE TABLE table_12280396_1 (rank VARCHAR, peak VARCHAR) [/INST] ### Response: SELECT COUNT(rank) FROM table_12280396_1 WHERE peak = "Fresvikbreen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mens singles when sayaka sato won the womens singles? ### Context: CREATE TABLE table_12275551_1 (mens_singles VARCHAR, womens_singles VARCHAR) [/INST] ### Response: SELECT mens_singles FROM table_12275551_1 WHERE womens_singles = "Sayaka Sato" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When did Chetan Anand win his first men's single? ### Context: CREATE TABLE table_12275654_1 (year INTEGER, mens_singles VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_12275654_1 WHERE mens_singles = "Chetan Anand" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Niels Christian Kaldau win the men's single and Pi Hongyan win the women's single in the same year? ### Context: CREATE TABLE table_12275654_1 (year VARCHAR, mens_singles VARCHAR, womens_singles VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_12275654_1 WHERE mens_singles = "Niels Christian Kaldau" AND womens_singles = "Pi Hongyan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 men's double when Chou Tien-Chen won the men's single? ### Context: CREATE TABLE table_12275654_1 (mens_doubles VARCHAR, mens_singles VARCHAR) [/INST] ### Response: SELECT mens_doubles FROM table_12275654_1 WHERE mens_singles = "Chou Tien-chen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What team was promoted in the Serbian League East in the same season when Kolubara was promoted in the Serbian League Belgrade? ### Context: CREATE TABLE table_12283621_6 (serbian_league_east VARCHAR, serbian_league_belgrade VARCHAR) [/INST] ### Response: SELECT serbian_league_east FROM table_12283621_6 WHERE serbian_league_belgrade = "Kolubara" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 series with reverse being swimming ### Context: CREATE TABLE table_12284476_8 (series VARCHAR, reverse VARCHAR) [/INST] ### Response: SELECT series FROM table_12284476_8 WHERE reverse = "Swimming" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 alloy with series being ii series ### Context: CREATE TABLE table_12284476_8 (alloy VARCHAR, series VARCHAR) [/INST] ### Response: SELECT alloy FROM table_12284476_8 WHERE series = "II series" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the denomination with year being 2008 and reverse being football ### Context: CREATE TABLE table_12284476_8 (denomination VARCHAR, year VARCHAR, reverse VARCHAR) [/INST] ### Response: SELECT denomination FROM table_12284476_8 WHERE year = 2008 AND reverse = "Football" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 reverse with series being iii series ### Context: CREATE TABLE table_12284476_8 (reverse VARCHAR, series VARCHAR) [/INST] ### Response: SELECT COUNT(reverse) FROM table_12284476_8 WHERE series = "III series" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many times did kingfisher east bengal fc win? ### Context: CREATE TABLE table_12303563_1 (winners INTEGER, nation VARCHAR) [/INST] ### Response: SELECT MIN(winners) FROM table_12303563_1 WHERE nation = "Kingfisher East Bengal FC" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bec tero sasana win? ### Context: CREATE TABLE table_12303563_1 (winners INTEGER, nation VARCHAR) [/INST] ### Response: SELECT MAX(winners) FROM table_12303563_1 WHERE nation = "BEC Tero Sasana" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Nigeria competed on July2, 1999. ### Context: CREATE TABLE table_1231316_5 (date VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT date FROM table_1231316_5 WHERE nation = "Nigeria" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Nigeria had the fastest time once. ### Context: CREATE TABLE table_1231316_5 (fastest_time__s_ VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT COUNT(fastest_time__s_) FROM table_1231316_5 WHERE nation = "Nigeria" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 runners-up with nation being india ### Context: CREATE TABLE table_12303563_2 (runners_up VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT COUNT(runners_up) FROM table_12303563_2 WHERE nation = "India" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 runners-up with nation being malaysia ### Context: CREATE TABLE table_12303563_2 (runners_up VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT runners_up FROM table_12303563_2 WHERE nation = "Malaysia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winners with # being 4 ### Context: CREATE TABLE table_12303563_2 (winners VARCHAR, _number VARCHAR) [/INST] ### Response: SELECT COUNT(winners) FROM table_12303563_2 WHERE _number = 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: how many maximum winners ### Context: CREATE TABLE table_12303563_2 (winners INTEGER) [/INST] ### Response: SELECT MAX(winners) FROM table_12303563_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 winners from vietnam ### Context: CREATE TABLE table_12303563_2 (winners VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT winners FROM table_12303563_2 WHERE nation = "Vietnam" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 total of arlenes vote when craig voted for brian and karen? ### Context: CREATE TABLE table_12305325_4 (arlenes_vote VARCHAR, craigs_vote VARCHAR) [/INST] ### Response: SELECT COUNT(arlenes_vote) FROM table_12305325_4 WHERE craigs_vote = "Brian and Karen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 max week where kate and anton are eliminated? ### Context: CREATE TABLE table_12305325_4 (week INTEGER, eliminated VARCHAR) [/INST] ### Response: SELECT MAX(week) FROM table_12305325_4 WHERE eliminated = "Kate and Anton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 eliminated when kelly and brendan are safe? ### Context: CREATE TABLE table_12305325_4 (eliminated VARCHAR, safe VARCHAR) [/INST] ### Response: SELECT COUNT(eliminated) FROM table_12305325_4 WHERE safe = "Kelly and Brendan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 safe if John and Nicole are eliminated? ### Context: CREATE TABLE table_12305325_4 (safe VARCHAR, eliminated VARCHAR) [/INST] ### Response: SELECT safe FROM table_12305325_4 WHERE eliminated = "John and Nicole" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 brunos vote when willie and erin are eliminated? ### Context: CREATE TABLE table_12305325_4 (brunos_vote VARCHAR, eliminated VARCHAR) [/INST] ### Response: SELECT COUNT(brunos_vote) FROM table_12305325_4 WHERE eliminated = "Willie and Erin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many goals were scored by the player who played 17 matches? ### Context: CREATE TABLE table_12321870_32 (goals VARCHAR, matches VARCHAR) [/INST] ### Response: SELECT goals FROM table_12321870_32 WHERE matches = "17" </s>