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: Who was the under-15 when Moises Galvez was the under-17? ### Context: CREATE TABLE table_26368963_1 (under_15 VARCHAR, under_17 VARCHAR) [/INST] ### Response: SELECT under_15 FROM table_26368963_1 WHERE under_17 = "Moises Galvez" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are there where the the under-15 is Arturo Salazar Martinez and the under-19 is Moises Galvez? ### Context: CREATE TABLE table_26368963_1 (year VARCHAR, under_15 VARCHAR, under_19 VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_26368963_1 WHERE under_15 = "Arturo Salazar Martinez" AND under_19 = "Moises Galvez" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the under-11 was Aly Abou El Einen, who was the under-13? ### Context: CREATE TABLE table_26368963_1 (under_13 VARCHAR, under_11 VARCHAR) [/INST] ### Response: SELECT under_13 FROM table_26368963_1 WHERE under_11 = "Aly Abou El Einen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 election date for those politicians who left office on 1850-11-15? ### Context: CREATE TABLE table_26362472_1 (election_date VARCHAR, left_office VARCHAR) [/INST] ### Response: SELECT COUNT(election_date) FROM table_26362472_1 WHERE left_office = "1850-11-15" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the election date for elections held in the province of Albacete? ### Context: CREATE TABLE table_26362472_1 (election_date VARCHAR, province VARCHAR) [/INST] ### Response: SELECT election_date FROM table_26362472_1 WHERE province = "Albacete" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in which a politician who left office on 1840-10-11 for a politician whose election number was 11? ### Context: CREATE TABLE table_26362472_1 (left_office VARCHAR, election_number VARCHAR) [/INST] ### Response: SELECT left_office FROM table_26362472_1 WHERE election_number = 11 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In how many district has a politician took office on 1844-10-14? ### Context: CREATE TABLE table_26362472_1 (district VARCHAR, took_office VARCHAR) [/INST] ### Response: SELECT district FROM table_26362472_1 WHERE took_office = "1844-10-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: What are the dates of leaving office for politician from the province of Seville? ### Context: CREATE TABLE table_26362472_1 (left_office VARCHAR, province VARCHAR) [/INST] ### Response: SELECT left_office FROM table_26362472_1 WHERE province = "Seville" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 united arab emirates is the country how many fastest qualifying are there? ### Context: CREATE TABLE table_26358264_2 (fastest_qualifying VARCHAR, country VARCHAR) [/INST] ### Response: SELECT COUNT(fastest_qualifying) FROM table_26358264_2 WHERE country = "United Arab Emirates" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cancelled is the fastest qualifying where is the location? ### Context: CREATE TABLE table_26358264_2 (location VARCHAR, fastest_qualifying VARCHAR) [/INST] ### Response: SELECT location FROM table_26358264_2 WHERE fastest_qualifying = "Cancelled" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 united arab emirates is the country what is the winning aircraft? ### Context: CREATE TABLE table_26358264_2 (winning_aircraft VARCHAR, country VARCHAR) [/INST] ### Response: SELECT winning_aircraft FROM table_26358264_2 WHERE country = "United Arab Emirates" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List the number of assists against illinois-chicago. ### Context: CREATE TABLE table_26360571_2 (assists VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT assists FROM table_26360571_2 WHERE opponent = "Illinois-Chicago" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List the opposing team on february 15, 2003. ### Context: CREATE TABLE table_26360571_2 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_26360571_2 WHERE date = "February 15, 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: List the number of recovers for player #2. ### Context: CREATE TABLE table_26360571_2 (rebounds VARCHAR, _number VARCHAR) [/INST] ### Response: SELECT rebounds FROM table_26360571_2 WHERE _number = 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: List the opposing team from february 22, 1983. ### Context: CREATE TABLE table_26360571_2 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_26360571_2 WHERE date = "February 22, 1983" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List the lowest number of assists. ### Context: CREATE TABLE table_26360571_2 (assists INTEGER) [/INST] ### Response: SELECT MIN(assists) FROM table_26360571_2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every value for Under-11 when value of under-17 is Salma Nassar? ### Context: CREATE TABLE table_26368963_2 (under_11 VARCHAR, under_17 VARCHAR) [/INST] ### Response: SELECT under_11 FROM table_26368963_2 WHERE under_17 = "Salma Nassar" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every value for Under-13 when value for Under-15 is Maria Elena Ubina? ### Context: CREATE TABLE table_26368963_2 (under_13 VARCHAR, under_15 VARCHAR) [/INST] ### Response: SELECT under_13 FROM table_26368963_2 WHERE under_15 = "Maria Elena Ubina" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every value for Under-17 if Under-15 is Maria Elena Ubina? ### Context: CREATE TABLE table_26368963_2 (under_17 VARCHAR, under_15 VARCHAR) [/INST] ### Response: SELECT under_17 FROM table_26368963_2 WHERE under_15 = "Maria Elena Ubina" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every value for Under-11 if Under-19 is Leong Siu Lynn? ### Context: CREATE TABLE table_26368963_2 (under_11 VARCHAR, under_19 VARCHAR) [/INST] ### Response: SELECT under_11 FROM table_26368963_2 WHERE under_19 = "Leong Siu Lynn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 every Under-15 if Under-11 is Reeham Sedky? ### Context: CREATE TABLE table_26368963_2 (under_15 VARCHAR, under_11 VARCHAR) [/INST] ### Response: SELECT under_15 FROM table_26368963_2 WHERE under_11 = "Reeham Sedky" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 couples had a vote percentage of 9.5%? ### Context: CREATE TABLE table_26375386_16 (rank VARCHAR, vote_percentage VARCHAR) [/INST] ### Response: SELECT COUNT(rank) FROM table_26375386_16 WHERE vote_percentage = "9.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 was the lowest judge rank for danny and frankie? ### Context: CREATE TABLE table_26375386_16 (judges INTEGER, couple VARCHAR) [/INST] ### Response: SELECT MIN(judges) FROM table_26375386_16 WHERE couple = "Danny and Frankie" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What couple had a total of 8? ### Context: CREATE TABLE table_26375386_16 (couple VARCHAR, total VARCHAR) [/INST] ### Response: SELECT couple FROM table_26375386_16 WHERE total = 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 change in population since 1993 in the region where the % of country's population was 4.2? ### Context: CREATE TABLE table_2637317_1 (change_in_population_since_1993 VARCHAR, _percentage_of_countrys_population VARCHAR) [/INST] ### Response: SELECT COUNT(change_in_population_since_1993) FROM table_2637317_1 WHERE _percentage_of_countrys_population = "4.2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the broadcast are for channel 1? ### Context: CREATE TABLE table_2638104_1 (broadcast_area VARCHAR, channel VARCHAR) [/INST] ### Response: SELECT broadcast_area FROM table_2638104_1 WHERE channel = 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the call sign for channel 6? ### Context: CREATE TABLE table_2638104_1 (callsign VARCHAR, channel VARCHAR) [/INST] ### Response: SELECT callsign FROM table_2638104_1 WHERE channel = 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: How many channels are there in the Greater Tokyo area? ### Context: CREATE TABLE table_2638104_1 (channel VARCHAR, broadcast_area VARCHAR) [/INST] ### Response: SELECT COUNT(channel) FROM table_2638104_1 WHERE broadcast_area = "Greater Tokyo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 signal power for JOAB-DTV? ### Context: CREATE TABLE table_2638104_1 (signal_power VARCHAR, callsign VARCHAR) [/INST] ### Response: SELECT signal_power FROM table_2638104_1 WHERE callsign = "JOAB-DTV" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the voting percentage 10.7% ### Context: CREATE TABLE table_26375386_20 (rank VARCHAR, vote_percentage VARCHAR) [/INST] ### Response: SELECT COUNT(rank) FROM table_26375386_20 WHERE vote_percentage = "10.7%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the vote percentage for the couple gary and maria? ### Context: CREATE TABLE table_26375386_20 (vote_percentage VARCHAR, couple VARCHAR) [/INST] ### Response: SELECT vote_percentage FROM table_26375386_20 WHERE couple = "Gary and Maria" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what couple had a vote percentage of 5.8%? ### Context: CREATE TABLE table_26375386_20 (couple VARCHAR, vote_percentage VARCHAR) [/INST] ### Response: SELECT couple FROM table_26375386_20 WHERE vote_percentage = "5.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 public when the vote percentage is 16.0% ### Context: CREATE TABLE table_26375386_20 (public VARCHAR, vote_percentage VARCHAR) [/INST] ### Response: SELECT public FROM table_26375386_20 WHERE vote_percentage = "16.0%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many judges were there when the result is safe with a vote percentage of 10.7%? ### Context: CREATE TABLE table_26375386_20 (judges INTEGER, result VARCHAR, vote_percentage VARCHAR) [/INST] ### Response: SELECT MIN(judges) FROM table_26375386_20 WHERE result = "Safe" AND vote_percentage = "10.7%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many times was the vote percentage 15.0%? ### Context: CREATE TABLE table_26375386_20 (total VARCHAR, vote_percentage VARCHAR) [/INST] ### Response: SELECT COUNT(total) FROM table_26375386_20 WHERE vote_percentage = "15.0%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the least place when the couple is Keiron & Brianne? ### Context: CREATE TABLE table_26375386_28 (place INTEGER, couple VARCHAR) [/INST] ### Response: SELECT MIN(place) FROM table_26375386_28 WHERE couple = "Keiron & Brianne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many numbers of dances for place 1? ### Context: CREATE TABLE table_26375386_28 (number_of_dances VARCHAR, place VARCHAR) [/INST] ### Response: SELECT COUNT(number_of_dances) FROM table_26375386_28 WHERE place = 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many ranks by average when Keiron & Brianne are the couple? ### Context: CREATE TABLE table_26375386_28 (rank_by_average VARCHAR, couple VARCHAR) [/INST] ### Response: SELECT COUNT(rank_by_average) FROM table_26375386_28 WHERE couple = "Keiron & Brianne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every average when number of dances is 1? ### Context: CREATE TABLE table_26375386_28 (average VARCHAR, number_of_dances VARCHAR) [/INST] ### Response: SELECT average FROM table_26375386_28 WHERE number_of_dances = 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many ranks by average for the couple Tana and Stuart? ### Context: CREATE TABLE table_26375386_28 (rank_by_average VARCHAR, couple VARCHAR) [/INST] ### Response: SELECT COUNT(rank_by_average) FROM table_26375386_28 WHERE couple = "Tana and Stuart" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for mikey and melanie ### Context: CREATE TABLE table_26375386_22 (rank VARCHAR, couple VARCHAR) [/INST] ### Response: SELECT rank FROM table_26375386_22 WHERE couple = "Mikey and Melanie" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 public for mikey and melanie ### Context: CREATE TABLE table_26375386_22 (public VARCHAR, couple VARCHAR) [/INST] ### Response: SELECT public FROM table_26375386_22 WHERE couple = "Mikey and Melanie" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 judges for 4 public ### Context: CREATE TABLE table_26375386_22 (judges VARCHAR, public VARCHAR) [/INST] ### Response: SELECT judges FROM table_26375386_22 WHERE public = 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: Name the total number for 3 public ### Context: CREATE TABLE table_26375386_22 (total VARCHAR, public VARCHAR) [/INST] ### Response: SELECT COUNT(total) FROM table_26375386_22 WHERE public = 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 number of directors for the film title Eldra? ### Context: CREATE TABLE table_26385848_1 (director VARCHAR, film_title VARCHAR) [/INST] ### Response: SELECT COUNT(director) FROM table_26385848_1 WHERE film_title = "Eldra" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 (ceremony) for the film title Eldra? ### Context: CREATE TABLE table_26385848_1 (year__ceremony_ VARCHAR, film_title VARCHAR) [/INST] ### Response: SELECT year__ceremony_ FROM table_26385848_1 WHERE film_title = "Eldra" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 director for the film title Eldra? ### Context: CREATE TABLE table_26385848_1 (director VARCHAR, film_title VARCHAR) [/INST] ### Response: SELECT director FROM table_26385848_1 WHERE film_title = "Eldra" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the year (ceremony) 1998 (71st), what are all the main languages? ### Context: CREATE TABLE table_26385848_1 (main_language_s_ VARCHAR, year__ceremony_ VARCHAR) [/INST] ### Response: SELECT main_language_s_ FROM table_26385848_1 WHERE year__ceremony_ = "1998 (71st)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the year (ceremony) 2009 (82nd), who are all the directors? ### Context: CREATE TABLE table_26385848_1 (director VARCHAR, year__ceremony_ VARCHAR) [/INST] ### Response: SELECT director FROM table_26385848_1 WHERE year__ceremony_ = "2009 (82nd)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the year (ceremony) 1995 (68th), what is the film title? ### Context: CREATE TABLE table_26385848_1 (film_title VARCHAR, year__ceremony_ VARCHAR) [/INST] ### Response: SELECT film_title FROM table_26385848_1 WHERE year__ceremony_ = "1995 (68th)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the country of Origin is South Africa, who is the primary user? ### Context: CREATE TABLE table_26389588_1 (primary_user VARCHAR, country_of_origin VARCHAR) [/INST] ### Response: SELECT primary_user FROM table_26389588_1 WHERE country_of_origin = "South Africa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the Country of Origin is Denmark and the year of introduction is 1962, what is the primary cartridge? ### Context: CREATE TABLE table_26389588_1 (primary_cartridge VARCHAR, year_of_introduction VARCHAR, country_of_origin VARCHAR) [/INST] ### Response: SELECT primary_cartridge FROM table_26389588_1 WHERE year_of_introduction = "1962" AND country_of_origin = "Denmark" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many different years was the name/designation cetme? ### Context: CREATE TABLE table_26389588_1 (year_of_introduction VARCHAR, name___designation VARCHAR) [/INST] ### Response: SELECT COUNT(year_of_introduction) FROM table_26389588_1 WHERE name___designation = "CETME" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the country of origin is switzerland, what is the name/ designation? ### Context: CREATE TABLE table_26389588_1 (name___designation VARCHAR, country_of_origin VARCHAR) [/INST] ### Response: SELECT name___designation FROM table_26389588_1 WHERE country_of_origin = "Switzerland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 singles does Lisa Stansfield have? ### Context: CREATE TABLE table_26400075_2 (single VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT COUNT(single) FROM table_26400075_2 WHERE artist = "Lisa Stansfield" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 weeks in the top-10 did Beats International have? ### Context: CREATE TABLE table_26400075_2 (weeks_in_top_10 VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT weeks_in_top_10 FROM table_26400075_2 WHERE artist = "Beats International" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 final score for barcelona dragons ### Context: CREATE TABLE table_26401898_2 (final_score VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT final_score FROM table_26401898_2 WHERE opponent = "Barcelona Dragons" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the least week for l 26–42 ### Context: CREATE TABLE table_26401898_2 (week INTEGER, final_score VARCHAR) [/INST] ### Response: SELECT MIN(week) FROM table_26401898_2 WHERE final_score = "L 26–42" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game site for l 26–42 ### Context: CREATE TABLE table_26401898_2 (game_site VARCHAR, final_score VARCHAR) [/INST] ### Response: SELECT game_site FROM table_26401898_2 WHERE final_score = "L 26–42" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the most attendance ### Context: CREATE TABLE table_26401898_2 (attendance INTEGER) [/INST] ### Response: SELECT MIN(attendance) FROM table_26401898_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 incumbent when the elected year is 2004, the status is re-elected and the party is republican? ### Context: CREATE TABLE table_26416704_1 (incumbent VARCHAR, party VARCHAR, elected VARCHAR, status VARCHAR) [/INST] ### Response: SELECT incumbent FROM table_26416704_1 WHERE elected = "2004" AND status = "Re-elected" AND party = "Republican" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 having joe daniello as director with production code 6ajn05? ### Context: CREATE TABLE table_26409328_1 (written_by VARCHAR, directed_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT written_by FROM table_26409328_1 WHERE directed_by = "Joe Daniello" AND production_code = "6AJN05" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what title was given to the episode with production code 6ajn08? ### Context: CREATE TABLE table_26409328_1 (title VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT title FROM table_26409328_1 WHERE production_code = "6AJN08" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the production code of the episode viewed by 5.36 million u.s. people? ### Context: CREATE TABLE table_26409328_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT production_code FROM table_26409328_1 WHERE us_viewers__millions_ = "5.36" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cast members had sydney walker as their fresh meat partner? ### Context: CREATE TABLE table_26419467_1 (hometown VARCHAR, fresh_meat_partner VARCHAR) [/INST] ### Response: SELECT COUNT(hometown) FROM table_26419467_1 WHERE fresh_meat_partner = "Sydney Walker" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What alumni had noor jehangir as their fresh meat partner? ### Context: CREATE TABLE table_26419467_1 (alumni VARCHAR, fresh_meat_partner VARCHAR) [/INST] ### Response: SELECT alumni FROM table_26419467_1 WHERE fresh_meat_partner = "Noor Jehangir" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What alumni were in rw: cancun as their original season? ### Context: CREATE TABLE table_26419467_1 (alumni VARCHAR, original_season VARCHAR) [/INST] ### Response: SELECT alumni FROM table_26419467_1 WHERE original_season = "RW: Cancun" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many people were from portland, or? ### Context: CREATE TABLE table_26419467_1 (age VARCHAR, hometown VARCHAR) [/INST] ### Response: SELECT COUNT(age) FROM table_26419467_1 WHERE hometown = "Portland, OR" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What conference is Tennessee? ### Context: CREATE TABLE table_26423157_2 (conference VARCHAR, school VARCHAR) [/INST] ### Response: SELECT conference FROM table_26423157_2 WHERE school = "Tennessee" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What seed was California? ### Context: CREATE TABLE table_26423157_2 (seed VARCHAR, school VARCHAR) [/INST] ### Response: SELECT seed FROM table_26423157_2 WHERE school = "California" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the ε (m −1 cm −1 ) of the red dye? ### Context: CREATE TABLE table_26428602_1 (ε__m_−1_cm_−1__ VARCHAR, color VARCHAR) [/INST] ### Response: SELECT ε__m_−1_cm_−1__ FROM table_26428602_1 WHERE color = "red" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 much absorption in nm does the orange dye have? ### Context: CREATE TABLE table_26428602_1 (absorb__nm_ INTEGER, color VARCHAR) [/INST] ### Response: SELECT MIN(absorb__nm_) FROM table_26428602_1 WHERE color = "orange" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ε (m −1 cm −1 ) of the orange flourescent dye? ### Context: CREATE TABLE table_26428602_1 (ε__m_−1_cm_−1__ VARCHAR, color VARCHAR) [/INST] ### Response: SELECT ε__m_−1_cm_−1__ FROM table_26428602_1 WHERE color = "orange" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest dye absoprtion in nm? ### Context: CREATE TABLE table_26428602_1 (absorb__nm_ INTEGER) [/INST] ### Response: SELECT MIN(absorb__nm_) FROM table_26428602_1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of chapter 8 of season 4? ### Context: CREATE TABLE table_26429771_1 (title VARCHAR, no_in_season VARCHAR) [/INST] ### Response: SELECT title FROM table_26429771_1 WHERE 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: How many different production codes are there for the episode with 4.69 million US viewers? ### Context: CREATE TABLE table_26429543_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT COUNT(production_code) FROM table_26429543_1 WHERE us_viewers__millions_ = "4.69" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in the 2005 film with the role mark cohen? ### Context: CREATE TABLE table_26436_2 (role VARCHAR) [/INST] ### Response: SELECT 2005 AS _film FROM table_26436_2 WHERE role = "Mark Cohen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in the 2005 role when the original broadway cast was played by jesse l. martin? ### Context: CREATE TABLE table_26436_2 (original_broadway_cast VARCHAR) [/INST] ### Response: SELECT 2005 AS _film FROM table_26436_2 WHERE original_broadway_cast = "Jesse L. Martin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 that is production code 202? ### Context: CREATE TABLE table_26448179_3 (written_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT written_by FROM table_26448179_3 WHERE production_code = "202" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What title was watched by 3.8 million US viewers? ### Context: CREATE TABLE table_26448179_3 (title VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT title FROM table_26448179_3 WHERE us_viewers__millions_ = "3.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 season number in the season has production code 210? ### Context: CREATE TABLE table_26448179_3 (no_in_season INTEGER, production_code VARCHAR) [/INST] ### Response: SELECT MIN(no_in_season) FROM table_26448179_3 WHERE production_code = "210" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: He wrote production number 102? ### Context: CREATE TABLE table_26448179_2 (written_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT written_by FROM table_26448179_2 WHERE production_code = "102" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 watched by 3.2 million viewers? ### Context: CREATE TABLE table_26448179_4 (title VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT title FROM table_26448179_4 WHERE us_viewers__millions_ = "3.2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the title of the episode with production code 305? ### Context: CREATE TABLE table_26448179_4 (title VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT title FROM table_26448179_4 WHERE production_code = 305 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 air dates had 3.2 million viewers? ### Context: CREATE TABLE table_26448179_4 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT COUNT(original_air_date) FROM table_26448179_4 WHERE us_viewers__millions_ = "3.2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest production code? ### Context: CREATE TABLE table_26448179_4 (production_code INTEGER) [/INST] ### Response: SELECT MAX(production_code) FROM table_26448179_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 are the point value(s) for when the athlete was Barney Berlinger? ### Context: CREATE TABLE table_26454128_9 (points VARCHAR, athlete VARCHAR) [/INST] ### Response: SELECT points FROM table_26454128_9 WHERE athlete = "Barney Berlinger" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 times points were listed when the distance was 41.05 metres? ### Context: CREATE TABLE table_26454128_9 (points VARCHAR, distance__metres_ VARCHAR) [/INST] ### Response: SELECT COUNT(points) FROM table_26454128_9 WHERE distance__metres_ = "41.05" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest rank where the distance is 52.73? ### Context: CREATE TABLE table_26454128_9 (rank INTEGER, distance__metres_ VARCHAR) [/INST] ### Response: SELECT MAX(rank) FROM table_26454128_9 WHERE distance__metres_ = "52.73" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the country(s) where the points equal 723.075? ### Context: CREATE TABLE table_26454128_9 (country VARCHAR, points VARCHAR) [/INST] ### Response: SELECT country FROM table_26454128_9 WHERE points = "723.075" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the most adjusted points for Great Britain? ### Context: CREATE TABLE table_26454128_4 (Adjusted INTEGER, country VARCHAR) [/INST] ### Response: SELECT MAX(Adjusted) AS points FROM table_26454128_4 WHERE country = "Great Britain" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the country of Paavo Yrjölä? ### Context: CREATE TABLE table_26454128_4 (country VARCHAR, athlete VARCHAR) [/INST] ### Response: SELECT country FROM table_26454128_4 WHERE athlete = "Paavo Yrjölä" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 athlete has a height of 1.87 and is from Sweden? ### Context: CREATE TABLE table_26454128_4 (athlete VARCHAR, height VARCHAR, country VARCHAR) [/INST] ### Response: SELECT athlete FROM table_26454128_4 WHERE height = "1.87" AND country = "Sweden" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 country that has ken doherty ### Context: CREATE TABLE table_26454128_7 (country VARCHAR, athlete VARCHAR) [/INST] ### Response: SELECT country FROM table_26454128_7 WHERE athlete = "Ken Doherty" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 athlete for 7 rank ### Context: CREATE TABLE table_26454128_7 (athlete VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT athlete FROM table_26454128_7 WHERE rank = 7 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the total number of rank for tom churchill ### Context: CREATE TABLE table_26454128_7 (rank VARCHAR, athlete VARCHAR) [/INST] ### Response: SELECT COUNT(rank) FROM table_26454128_7 WHERE athlete = "Tom Churchill" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the heir when the monarch was Wareru? ### Context: CREATE TABLE table_26460435_5 (heir VARCHAR, monarch VARCHAR) [/INST] ### Response: SELECT heir FROM table_26460435_5 WHERE monarch = "Wareru" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 monarchs that had Yan Maw la Mon as the heir? ### Context: CREATE TABLE table_26460435_5 (monarch VARCHAR, heir VARCHAR) [/INST] ### Response: SELECT COUNT(monarch) FROM table_26460435_5 WHERE heir = "Yan Maw La Mon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for the monarch Mingyinyo? ### Context: CREATE TABLE table_26460435_7 (status VARCHAR, monarch VARCHAR) [/INST] ### Response: SELECT status FROM table_26460435_7 WHERE monarch = "Mingyinyo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 monarch with the heir thado minsaw? ### Context: CREATE TABLE table_26460435_8 (monarch VARCHAR, heir VARCHAR) [/INST] ### Response: SELECT monarch FROM table_26460435_8 WHERE heir = "Thado Minsaw" </s>