text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the least current ### Context: CREATE TABLE table_19312274_2 (current INTEGER) [/INST] ### Response: SELECT MIN(current) FROM table_19312274_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 total where last/current driver(s) is narain karthikeyan ( 2010 ) ### Context: CREATE TABLE table_19312274_2 (total VARCHAR, last_current_driver_s_ VARCHAR) [/INST] ### Response: SELECT COUNT(total) FROM table_19312274_2 WHERE last_current_driver_s_ = "Narain Karthikeyan ( 2010 )" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many numbers were recorded for Qatari female when Qatari male was 97? ### Context: CREATE TABLE table_19309079_2 (qatari_female VARCHAR, qatari_male VARCHAR) [/INST] ### Response: SELECT COUNT(qatari_female) FROM table_19309079_2 WHERE qatari_male = 97 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were there 97 qatari male births? ### Context: CREATE TABLE table_19309079_2 (year VARCHAR, qatari_male VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_19309079_2 WHERE qatari_male = 97 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 national cup statistics when the Championship is 21 app / 6 goals? ### Context: CREATE TABLE table_19333752_1 (national_cup VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT national_cup FROM table_19333752_1 WHERE championship = "21 app / 6 goals" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 came in 3rd place in Krško , Slovenia Matije Gubca Stadium ### Context: CREATE TABLE table_19317584_2 (city_and_venue VARCHAR) [/INST] ### Response: SELECT 3 AS rd_placed FROM table_19317584_2 WHERE city_and_venue = "Krško , Slovenia Matije Gubca Stadium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many placed 4th on April 25? ### Context: CREATE TABLE table_19317584_2 (date VARCHAR) [/INST] ### Response: SELECT COUNT(4 AS th_placed) FROM table_19317584_2 WHERE date = "April 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 caused the collapse of the Mausoleum at Halicarnassus? ### Context: CREATE TABLE table_19342760_1 (cause_of_destruction VARCHAR, name VARCHAR) [/INST] ### Response: SELECT cause_of_destruction FROM table_19342760_1 WHERE name = "Mausoleum at Halicarnassus" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was the Temple of Artemis at Ephesus destroyed? ### Context: CREATE TABLE table_19342760_1 (cause_of_destruction VARCHAR, name VARCHAR) [/INST] ### Response: SELECT cause_of_destruction FROM table_19342760_1 WHERE name = "Temple of Artemis at Ephesus" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 came as a replacement in Sheffield United? ### Context: CREATE TABLE table_19359427_6 (replaced_by VARCHAR, team VARCHAR) [/INST] ### Response: SELECT replaced_by FROM table_19359427_6 WHERE team = "Sheffield United" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When was the new manager of the team on 21st position appointed? ### Context: CREATE TABLE table_19359427_6 (date_of_appointment VARCHAR, position_in_table VARCHAR) [/INST] ### Response: SELECT date_of_appointment FROM table_19359427_6 WHERE position_in_table = "21st" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Gary Megson's manner of departure? ### Context: CREATE TABLE table_19359427_6 (manner_of_departure VARCHAR, outgoing_manager VARCHAR) [/INST] ### Response: SELECT manner_of_departure FROM table_19359427_6 WHERE outgoing_manager = "Gary Megson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the old manager vacate his position in Plymouth Argyle? ### Context: CREATE TABLE table_19359427_6 (date_of_vacancy VARCHAR, team VARCHAR) [/INST] ### Response: SELECT date_of_vacancy FROM table_19359427_6 WHERE team = "Plymouth Argyle" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 class 1-200 for university of hertfordshire for university of warwick ### Context: CREATE TABLE table_1936678_1 (class_1 VARCHAR, best_uk_team VARCHAR, class_1a VARCHAR) [/INST] ### Response: SELECT class_1 - 200 FROM table_1936678_1 WHERE best_uk_team = "University of Hertfordshire" AND class_1a = "University of Warwick" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 class 3 for silverstone rmit university ### Context: CREATE TABLE table_1936678_1 (class_3 VARCHAR, location VARCHAR, class_1 VARCHAR) [/INST] ### Response: SELECT class_3 FROM table_1936678_1 WHERE location = "Silverstone" AND class_1 = "RMIT University" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When 4th, great lakes is the regular season what is the league? ### Context: CREATE TABLE table_1939235_1 (league VARCHAR, regular_season VARCHAR) [/INST] ### Response: SELECT league FROM table_1939235_1 WHERE regular_season = "4th, Great Lakes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 5th is the regular season what is the highest season? ### Context: CREATE TABLE table_1939235_1 (division INTEGER, regular_season VARCHAR) [/INST] ### Response: SELECT MAX(division) FROM table_1939235_1 WHERE regular_season = "5th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When it's the 2nd round of the open cup what is the playoffs? ### Context: CREATE TABLE table_1939235_1 (playoffs VARCHAR, open_cup VARCHAR) [/INST] ### Response: SELECT playoffs FROM table_1939235_1 WHERE open_cup = "2nd Round" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What league has an average attendance of 1452? ### Context: CREATE TABLE table_1939202_2 (league VARCHAR, avg_attendance VARCHAR) [/INST] ### Response: SELECT league FROM table_1939202_2 WHERE avg_attendance = 1452 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year at the US Open Cup quarterfinals, were the playoffs in the semifinals for the USL second division? ### Context: CREATE TABLE table_1939202_2 (year VARCHAR, us_open_cup VARCHAR, league VARCHAR, playoffs VARCHAR) [/INST] ### Response: SELECT year FROM table_1939202_2 WHERE league = "USL Second division" AND playoffs = "Semifinals" AND us_open_cup = "Quarterfinals" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original air date for production code of 3t7501 ### Context: CREATE TABLE table_19396259_1 (original_air_date VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT COUNT(original_air_date) FROM table_19396259_1 WHERE production_code = "3T7501" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title directed by charles beeson by jeremy carver ### Context: CREATE TABLE table_19396259_1 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT title FROM table_19396259_1 WHERE directed_by = "Charles Beeson" AND written_by = "Jeremy Carver" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directed by for production code for 3t7509 ### Context: CREATE TABLE table_19396259_1 (directed_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_19396259_1 WHERE production_code = "3T7509" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 season number of the episode originally aired on October 14, 2008? ### Context: CREATE TABLE table_19401346_1 (no_in_season VARCHAR, original_air_date VARCHAR) [/INST] ### Response: SELECT no_in_season FROM table_19401346_1 WHERE original_air_date = "October 14, 2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the title of the episode originally aired on September 23, 2008? ### Context: CREATE TABLE table_19401346_1 (title VARCHAR, original_air_date VARCHAR) [/INST] ### Response: SELECT title FROM table_19401346_1 WHERE original_air_date = "September 23, 2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the series number of the episode seen by 9.35 million people in the US? ### Context: CREATE TABLE table_19401346_1 (no_in_series INTEGER, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT MIN(no_in_series) FROM table_19401346_1 WHERE us_viewers__millions_ = "9.35" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 production code 10018? ### Context: CREATE TABLE table_19401346_1 (title VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT title FROM table_19401346_1 WHERE production_code = 10018 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many millions of people in the US saw the episode with season number 1? ### Context: CREATE TABLE table_19401346_1 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR) [/INST] ### Response: SELECT us_viewers__millions_ FROM table_19401346_1 WHERE no_in_season = 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 places has the rank changed since 2006, for Clane? ### Context: CREATE TABLE table_1940144_1 (change_since_2006 VARCHAR, urban_area VARCHAR) [/INST] ### Response: SELECT change_since_2006 FROM table_1940144_1 WHERE urban_area = "Clane" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 what counties is the 2011 population 17908? ### Context: CREATE TABLE table_1940144_1 (county VARCHAR, population_2011 VARCHAR) [/INST] ### Response: SELECT county FROM table_1940144_1 WHERE population_2011 = 17908 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 what urban area is the 2011 population 21561? ### Context: CREATE TABLE table_1940144_1 (urban_area VARCHAR, population_2011 VARCHAR) [/INST] ### Response: SELECT urban_area FROM table_1940144_1 WHERE population_2011 = 21561 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 places did the rank change since 22006 for County Leitrim? ### Context: CREATE TABLE table_1940144_1 (change_since_2006 VARCHAR, county VARCHAR) [/INST] ### Response: SELECT COUNT(change_since_2006) FROM table_1940144_1 WHERE county = "county Leitrim" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 urban area has a 2011 population of 5010? ### Context: CREATE TABLE table_1940144_1 (urban_area VARCHAR, population_2011 VARCHAR) [/INST] ### Response: SELECT urban_area FROM table_1940144_1 WHERE population_2011 = 5010 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: wich were the events when bout 2 was zhang ( chn ) l 0-5? ### Context: CREATE TABLE table_19398910_4 (event VARCHAR, bout_2 VARCHAR) [/INST] ### Response: SELECT event FROM table_19398910_4 WHERE bout_2 = "Zhang ( CHN ) L 0-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: Which were the bout 1 when the bout 5 was andreev ( rus ) w 5-2? ### Context: CREATE TABLE table_19398910_4 (bout_1 VARCHAR, bout_5 VARCHAR) [/INST] ### Response: SELECT bout_1 FROM table_19398910_4 WHERE bout_5 = "Andreev ( RUS ) W 5-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: when Sanchez ( esp ) w 5-0 were the bout 6, which were the class? ### Context: CREATE TABLE table_19398910_4 (class VARCHAR, bout_6 VARCHAR) [/INST] ### Response: SELECT class FROM table_19398910_4 WHERE bout_6 = "Sanchez ( ESP ) W 5-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 attempts for Bobby Layne? ### Context: CREATE TABLE table_19418696_3 (attempts INTEGER, name VARCHAR) [/INST] ### Response: SELECT MIN(attempts) FROM table_19418696_3 WHERE name = "Bobby Layne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of interceptions? ### Context: CREATE TABLE table_19418696_3 (interceptions INTEGER) [/INST] ### Response: SELECT MAX(interceptions) FROM table_19418696_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: How many total yards for Bobby Layne? ### Context: CREATE TABLE table_19418696_3 (yards INTEGER, name VARCHAR) [/INST] ### Response: SELECT MAX(yards) FROM table_19418696_3 WHERE name = "Bobby Layne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 QB had a rating of 72.3? ### Context: CREATE TABLE table_19418696_3 (name VARCHAR, qb_rating VARCHAR) [/INST] ### Response: SELECT name FROM table_19418696_3 WHERE qb_rating = "72.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: How many QB ratings for the player with 1069 completions? ### Context: CREATE TABLE table_19418696_3 (qb_rating VARCHAR, completions VARCHAR) [/INST] ### Response: SELECT COUNT(qb_rating) FROM table_19418696_3 WHERE completions = 1069 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 yardage figures for the player with 72.3 QB rating? ### Context: CREATE TABLE table_19418696_3 (yards VARCHAR, qb_rating VARCHAR) [/INST] ### Response: SELECT COUNT(yards) FROM table_19418696_3 WHERE qb_rating = "72.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: In how many locations was the game against Barcelona Dragons played? ### Context: CREATE TABLE table_1941183_2 (game_site VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT COUNT(game_site) FROM table_1941183_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: how many posiitions did saudi arabia land on ### Context: CREATE TABLE table_19412902_1 (pos VARCHAR, member_association VARCHAR) [/INST] ### Response: SELECT COUNT(pos) FROM table_19412902_1 WHERE member_association = "Saudi Arabia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 play-off in group stage 4 and clubs is 12 ### Context: CREATE TABLE table_19412902_1 (play_off VARCHAR, group_stage VARCHAR, clubs VARCHAR) [/INST] ### Response: SELECT play_off FROM table_19412902_1 WHERE group_stage = 4 AND clubs = 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: which group stage was there 0 play-offs and 12 clubs played in it ### Context: CREATE TABLE table_19412902_1 (group_stage VARCHAR, play_off VARCHAR, clubs VARCHAR) [/INST] ### Response: SELECT COUNT(group_stage) FROM table_19412902_1 WHERE play_off = 0 AND clubs = 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: which club in group stage 4 had member association iran ### Context: CREATE TABLE table_19412902_1 (clubs VARCHAR, group_stage VARCHAR, member_association VARCHAR) [/INST] ### Response: SELECT clubs FROM table_19412902_1 WHERE group_stage = 4 AND member_association = "Iran" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 write the episode that have 14.39 million viewers ### Context: CREATE TABLE table_19417244_2 (written_by VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT written_by FROM table_19417244_2 WHERE us_viewers__millions_ = "14.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 directed the episode that have 14.59 million viewers ### Context: CREATE TABLE table_19417244_2 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_19417244_2 WHERE us_viewers__millions_ = "14.59" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 write the episode 5 in no. in season ### Context: CREATE TABLE table_19417244_2 (written_by VARCHAR, no_in_season VARCHAR) [/INST] ### Response: SELECT written_by FROM table_19417244_2 WHERE no_in_season = 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: How many clubs are there in the Korea Republic? ### Context: CREATE TABLE table_19412902_2 (clubs VARCHAR, member_association VARCHAR) [/INST] ### Response: SELECT clubs FROM table_19412902_2 WHERE member_association = "Korea Republic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: At what position is the association with 279 points? ### Context: CREATE TABLE table_19412902_2 (pos INTEGER, points__total_500_ VARCHAR) [/INST] ### Response: SELECT MIN(pos) FROM table_19412902_2 WHERE points__total_500_ = 279 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 position? ### Context: CREATE TABLE table_19412902_2 (pos INTEGER) [/INST] ### Response: SELECT MAX(pos) FROM table_19412902_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 earliest year a house opened? ### Context: CREATE TABLE table_1942683_1 (year_opened INTEGER) [/INST] ### Response: SELECT MIN(year_opened) FROM table_1942683_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 house colours are associated with house names of Hillary? ### Context: CREATE TABLE table_1942683_1 (house_colour VARCHAR, house_name VARCHAR) [/INST] ### Response: SELECT COUNT(house_colour) FROM table_1942683_1 WHERE house_name = "Hillary" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 house colour associated with the house name of Kupe? ### Context: CREATE TABLE table_1942683_1 (house_colour VARCHAR, house_name VARCHAR) [/INST] ### Response: SELECT house_colour FROM table_1942683_1 WHERE house_name = "Kupe" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 house mascots are associated with yellow house colours? ### Context: CREATE TABLE table_1942683_1 (house_mascot VARCHAR, house_colour VARCHAR) [/INST] ### Response: SELECT COUNT(house_mascot) FROM table_1942683_1 WHERE house_colour = "Yellow" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 where b b is 20/16 ### Context: CREATE TABLE table_19485888_1 (title__french_____english_ VARCHAR, b_b_ VARCHAR, _corresponds_to_tf1s_broadcast_schedule VARCHAR) [/INST] ### Response: SELECT title__french_____english_ FROM table_19485888_1 WHERE b_b_ = _corresponds_to_tf1s_broadcast_schedule = 20 / 16 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the minimum losses for the Kansas City Chiefs? ### Context: CREATE TABLE table_19451173_1 (losses INTEGER, team VARCHAR) [/INST] ### Response: SELECT MIN(losses) FROM table_19451173_1 WHERE team = "Kansas City Chiefs" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 division titles are there when the win pc is .558? ### Context: CREATE TABLE table_19451173_1 (division_titles VARCHAR, win_pct VARCHAR) [/INST] ### Response: SELECT division_titles FROM table_19451173_1 WHERE win_pct = ".558" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 villages are there in the Magway region? ### Context: CREATE TABLE table_19457_1 (villages VARCHAR, state_region VARCHAR) [/INST] ### Response: SELECT villages FROM table_19457_1 WHERE state_region = "Magway Region" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 townships are there in region number 2? ### Context: CREATE TABLE table_19457_1 (town_ships INTEGER, no VARCHAR) [/INST] ### Response: SELECT MAX(town_ships) FROM table_19457_1 WHERE no = 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 townships are there in the region with 376 village groups? ### Context: CREATE TABLE table_19457_1 (town_ships INTEGER, village_groups VARCHAR) [/INST] ### Response: SELECT MAX(town_ships) FROM table_19457_1 WHERE village_groups = 376 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 poles for the Netherlands? ### Context: CREATE TABLE table_19487922_1 (poles INTEGER, country VARCHAR) [/INST] ### Response: SELECT MAX(poles) FROM table_19487922_1 WHERE country = "Netherlands" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 seasons for Monaco? ### Context: CREATE TABLE table_19487922_1 (seasons VARCHAR, country VARCHAR) [/INST] ### Response: SELECT seasons FROM table_19487922_1 WHERE country = "Monaco" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 competitor from France with 10 starts? ### Context: CREATE TABLE table_19487922_1 (name VARCHAR, country VARCHAR, race_entries__starts_ VARCHAR) [/INST] ### Response: SELECT name FROM table_19487922_1 WHERE country = "France" AND race_entries__starts_ = "10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When 1180 am is the frequency how many call signs are there? ### Context: CREATE TABLE table_1949746_1 (call_sign VARCHAR, frequency VARCHAR) [/INST] ### Response: SELECT COUNT(call_sign) FROM table_1949746_1 WHERE frequency = "1180 AM" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 portsmouth is the city of license who is the licensee? ### Context: CREATE TABLE table_1949746_1 (licensee VARCHAR, city_of_license VARCHAR) [/INST] ### Response: SELECT licensee FROM table_1949746_1 WHERE city_of_license = "Portsmouth" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 790 am is the frequency what is the format? ### Context: CREATE TABLE table_1949746_1 (format VARCHAR, frequency VARCHAR) [/INST] ### Response: SELECT format FROM table_1949746_1 WHERE frequency = "790 AM" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 90.7 fm is the frequency who is the licensee? ### Context: CREATE TABLE table_1949746_1 (licensee VARCHAR, frequency VARCHAR) [/INST] ### Response: SELECT licensee FROM table_1949746_1 WHERE frequency = "90.7 FM" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 drivers does India have/ ### Context: CREATE TABLE table_19487922_2 (total_drivers VARCHAR, country VARCHAR) [/INST] ### Response: SELECT COUNT(total_drivers) FROM table_19487922_2 WHERE country = "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: How many championships does Pakistan have? ### Context: CREATE TABLE table_19487922_2 (championships VARCHAR, country VARCHAR) [/INST] ### Response: SELECT COUNT(championships) FROM table_19487922_2 WHERE country = "Pakistan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 current drivers, as of March 20, 2010 does Denmark have? ### Context: CREATE TABLE table_19487922_2 (current_march_20 VARCHAR, _2010 VARCHAR, country VARCHAR) [/INST] ### Response: SELECT current_march_20, _2010 FROM table_19487922_2 WHERE country = "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: What in the minimum number of championships won by a nation? ### Context: CREATE TABLE table_19487922_2 (championships INTEGER) [/INST] ### Response: SELECT MIN(championships) FROM table_19487922_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: Where was the season that ended on June 25 located? ### Context: CREATE TABLE table_1949994_7 (country VARCHAR, end_date VARCHAR) [/INST] ### Response: SELECT country FROM table_1949994_7 WHERE end_date = "June 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: When did the season that end in July ? start? ### Context: CREATE TABLE table_1949994_7 (start_date VARCHAR, end_date VARCHAR) [/INST] ### Response: SELECT start_date FROM table_1949994_7 WHERE end_date = "July ?" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the season with 1 team format premiere? ### Context: CREATE TABLE table_1949994_7 (premiere_air_dates VARCHAR, format VARCHAR) [/INST] ### Response: SELECT premiere_air_dates FROM table_1949994_7 WHERE format = "1 Team" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 format of the season that ended on June 25? ### Context: CREATE TABLE table_1949994_7 (format VARCHAR, end_date VARCHAR) [/INST] ### Response: SELECT format FROM table_1949994_7 WHERE end_date = "June 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 season 3's premiere date? ### Context: CREATE TABLE table_1949994_7 (premiere_air_dates VARCHAR, no VARCHAR) [/INST] ### Response: SELECT premiere_air_dates FROM table_1949994_7 WHERE no = 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: When did the season located in the Netherlands premier? ### Context: CREATE TABLE table_1949994_7 (premiere_air_dates VARCHAR, country VARCHAR) [/INST] ### Response: SELECT premiere_air_dates FROM table_1949994_7 WHERE country = "The Netherlands" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 viewers for the episode directed by tony phelan ### Context: CREATE TABLE table_19501664_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT us_viewers__millions_ FROM table_19501664_1 WHERE directed_by = "Tony Phelan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original air date for 15.74 viewers ### Context: CREATE TABLE table_19501664_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_19501664_1 WHERE us_viewers__millions_ = "15.74" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title for us viewers being 18.29 ### Context: CREATE TABLE table_19501664_1 (title VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT title FROM table_19501664_1 WHERE us_viewers__millions_ = "18.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: Name the platforms for cityengine ### Context: CREATE TABLE table_19495707_1 (platforms VARCHAR, application VARCHAR) [/INST] ### Response: SELECT platforms FROM table_19495707_1 WHERE application = "CityEngine" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 license for e-on vue ### Context: CREATE TABLE table_19495707_1 (license VARCHAR, application VARCHAR) [/INST] ### Response: SELECT license FROM table_19495707_1 WHERE application = "E-on Vue" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 developed by for solid edge ### Context: CREATE TABLE table_19495707_1 (developed_by VARCHAR, application VARCHAR) [/INST] ### Response: SELECT COUNT(developed_by) FROM table_19495707_1 WHERE application = "Solid Edge" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 license for 2009-05-25 v 7.61 ### Context: CREATE TABLE table_19495707_1 (license VARCHAR, latest_release_date_and_version VARCHAR) [/INST] ### Response: SELECT license FROM table_19495707_1 WHERE latest_release_date_and_version = "2009-05-25 v 7.61" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 application for modeling, computer aided design, animation ### Context: CREATE TABLE table_19495707_1 (application VARCHAR, mainly_used_for VARCHAR) [/INST] ### Response: SELECT COUNT(application) FROM table_19495707_1 WHERE mainly_used_for = "Modeling, Computer Aided Design, Animation" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 application for caligari corporation ### Context: CREATE TABLE table_19495707_1 (application VARCHAR, developed_by VARCHAR) [/INST] ### Response: SELECT application FROM table_19495707_1 WHERE developed_by = "Caligari Corporation" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What series number started production on June 6? ### Context: CREATE TABLE table_1949994_8 (no INTEGER, start_date VARCHAR) [/INST] ### Response: SELECT MIN(no) FROM table_1949994_8 WHERE start_date = "June 6" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the production format for the series with the local title Fort Boyard: Ultimate Challenge? ### Context: CREATE TABLE table_1949994_8 (format VARCHAR, local_title VARCHAR) [/INST] ### Response: SELECT format FROM table_1949994_8 WHERE local_title = "Fort Boyard: Ultimate Challenge" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What were the television air dates for the series that had a production start date of June 16? ### Context: CREATE TABLE table_1949994_8 (premiere_air_dates VARCHAR, start_date VARCHAR) [/INST] ### Response: SELECT premiere_air_dates FROM table_1949994_8 WHERE start_date = "June 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 series number had the local title of Fort Boyard? ### Context: CREATE TABLE table_1949994_8 (no INTEGER, local_title VARCHAR) [/INST] ### Response: SELECT MAX(no) FROM table_1949994_8 WHERE local_title = "Fort Boyard" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 minimum number of episodes in any of the series? ### Context: CREATE TABLE table_1949994_8 (episodes INTEGER) [/INST] ### Response: SELECT MIN(episodes) FROM table_1949994_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: Name the week number for the beatles ### Context: CREATE TABLE table_19508635_1 (week__number VARCHAR, theme VARCHAR) [/INST] ### Response: SELECT week__number FROM table_19508635_1 WHERE theme = "The Beatles" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result for 1980s ### Context: CREATE TABLE table_19508635_1 (result VARCHAR, theme VARCHAR) [/INST] ### Response: SELECT result FROM table_19508635_1 WHERE theme = "1980s" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 order number for 1960s ### Context: CREATE TABLE table_19508635_1 (order__number VARCHAR, theme VARCHAR) [/INST] ### Response: SELECT order__number FROM table_19508635_1 WHERE theme = "1960s" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result for dolly parton ### Context: CREATE TABLE table_19508635_1 (result VARCHAR, original_artist VARCHAR) [/INST] ### Response: SELECT result FROM table_19508635_1 WHERE original_artist = "Dolly Parton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 song choice for michael jackson ### Context: CREATE TABLE table_19508635_1 (song_choice VARCHAR, original_artist VARCHAR) [/INST] ### Response: SELECT song_choice FROM table_19508635_1 WHERE original_artist = "Michael Jackson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the largest series number? ### Context: CREATE TABLE table_19517621_4 (series__number INTEGER) [/INST] ### Response: SELECT MAX(series__number) FROM table_19517621_4 </s>