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: When was the dvd release directed by Billy O'Brien? ### Context: CREATE TABLE table_19982699_1 (dvd_release VARCHAR, director VARCHAR) [/INST] ### Response: SELECT dvd_release FROM table_19982699_1 WHERE director = "Billy O'Brien" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record after game 20? ### Context: CREATE TABLE table_20010140_9 (record VARCHAR, game VARCHAR) [/INST] ### Response: SELECT record FROM table_20010140_9 WHERE game = 20 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: For the game against Iowa, who had the most assists? ### Context: CREATE TABLE table_20010140_9 (high_assists VARCHAR, team VARCHAR) [/INST] ### Response: SELECT high_assists FROM table_20010140_9 WHERE team = "Iowa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: state high assists on february 15 ### Context: CREATE TABLE table_20010140_10 (high_assists VARCHAR, date VARCHAR) [/INST] ### Response: SELECT high_assists FROM table_20010140_10 WHERE date = "February 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: how many high points where date is february 19 ### Context: CREATE TABLE table_20010140_10 (high_points VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(high_points) FROM table_20010140_10 WHERE date = "February 19" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: state the number of location attendance where record is 15–10 (5–7) ### Context: CREATE TABLE table_20010140_10 (location_attendance VARCHAR, record VARCHAR) [/INST] ### Response: SELECT COUNT(location_attendance) FROM table_20010140_10 WHERE record = "15–10 (5–7)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: how many dates where high assists is stu douglass (5) – 4 ### Context: CREATE TABLE table_20010140_10 (date VARCHAR, high_assists VARCHAR) [/INST] ### Response: SELECT COUNT(date) FROM table_20010140_10 WHERE high_assists = "Stu Douglass (5) – 4" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: how many records were made on february 22 ### Context: CREATE TABLE table_20010140_10 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(record) FROM table_20010140_10 WHERE date = "February 22" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the most applications for 1986 ### Context: CREATE TABLE table_20007413_3 (applications INTEGER, year VARCHAR) [/INST] ### Response: SELECT MAX(applications) FROM table_20007413_3 WHERE year = "1986" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 torque for 1986 ### Context: CREATE TABLE table_20007413_3 (torque VARCHAR, year VARCHAR) [/INST] ### Response: SELECT torque FROM table_20007413_3 WHERE year = "1986" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 network showed the season with Australia as the destination? ### Context: CREATE TABLE table_20026849_1 (network VARCHAR, destination VARCHAR) [/INST] ### Response: SELECT network FROM table_20026849_1 WHERE destination = "Australia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 latest season with 20 contestants? ### Context: CREATE TABLE table_20026849_1 (season INTEGER, contestants VARCHAR) [/INST] ### Response: SELECT MAX(season) FROM table_20026849_1 WHERE contestants = 20 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What season was won by Ashutosh Kaushik? ### Context: CREATE TABLE table_20026849_1 (season INTEGER, winner VARCHAR) [/INST] ### Response: SELECT MIN(season) FROM table_20026849_1 WHERE winner = "Ashutosh Kaushik" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 destination of the season won by Anwar Syed? ### Context: CREATE TABLE table_20026849_1 (destination VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT destination FROM table_20026849_1 WHERE winner = "Anwar Syed" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was won by Anthony Yeh? ### Context: CREATE TABLE table_20026849_1 (season VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT season FROM table_20026849_1 WHERE winner = "Anthony Yeh" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who won the season with Africa as its destination? ### Context: CREATE TABLE table_20026849_1 (winner VARCHAR, destination VARCHAR) [/INST] ### Response: SELECT winner FROM table_20026849_1 WHERE destination = "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: What is the African Spoonbill when the Hadeda Ibis is the Brown Snake Eagle? ### Context: CREATE TABLE table_20042805_2 (african_spoonbill VARCHAR, hadeda_ibis VARCHAR) [/INST] ### Response: SELECT african_spoonbill FROM table_20042805_2 WHERE hadeda_ibis = "Brown Snake Eagle" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Hadeda Ibis when the Ostrich is Dark Chanting Goshawk? ### Context: CREATE TABLE table_20042805_2 (hadeda_ibis VARCHAR, ostrich VARCHAR) [/INST] ### Response: SELECT hadeda_ibis FROM table_20042805_2 WHERE ostrich = "Dark Chanting Goshawk" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 African Spoonbill when the Hadeda Ibis is Flernecked Nightjar? ### Context: CREATE TABLE table_20042805_2 (african_spoonbill VARCHAR, hadeda_ibis VARCHAR) [/INST] ### Response: SELECT african_spoonbill FROM table_20042805_2 WHERE hadeda_ibis = "Flernecked Nightjar" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Hadeda Ibis when the Knobbilled Duck is Pied Crow? ### Context: CREATE TABLE table_20042805_2 (hadeda_ibis VARCHAR, knobbilled_duck VARCHAR) [/INST] ### Response: SELECT hadeda_ibis FROM table_20042805_2 WHERE knobbilled_duck = "Pied Crow" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 African Spoonbill when the Ostrich is Brown-hooded Kingfisher? ### Context: CREATE TABLE table_20042805_2 (african_spoonbill VARCHAR, ostrich VARCHAR) [/INST] ### Response: SELECT african_spoonbill FROM table_20042805_2 WHERE ostrich = "Brown-hooded Kingfisher" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Hadeda Ibis when the Whitefaced Duck is Blacksmith Plover? ### Context: CREATE TABLE table_20042805_2 (hadeda_ibis VARCHAR, whitefaced_duck VARCHAR) [/INST] ### Response: SELECT hadeda_ibis FROM table_20042805_2 WHERE whitefaced_duck = "Blacksmith Plover" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winning pilot for hungary ### Context: CREATE TABLE table_20036882_2 (winning_pilot VARCHAR, country VARCHAR) [/INST] ### Response: SELECT winning_pilot FROM table_20036882_2 WHERE country = "Hungary" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round for michael goulian ### Context: CREATE TABLE table_20036882_2 (round INTEGER, winning_pilot VARCHAR) [/INST] ### Response: SELECT MAX(round) FROM table_20036882_2 WHERE winning_pilot = "Michael Goulian" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for hannes arch ### Context: CREATE TABLE table_20036882_2 (country VARCHAR, winning_pilot VARCHAR) [/INST] ### Response: SELECT country FROM table_20036882_2 WHERE winning_pilot = "Hannes Arch" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 with series number 45? ### Context: CREATE TABLE table_20046379_3 (written_by VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT written_by FROM table_20046379_3 WHERE no_in_series = "45" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 production code 214? ### Context: CREATE TABLE table_20046379_3 (us_viewers__millions_ VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT us_viewers__millions_ FROM table_20046379_3 WHERE production_code = "214" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 seen by 3.8 million people in the US? ### Context: CREATE TABLE table_20046379_3 (title VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT title FROM table_20046379_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: On how many different dates did the episode with series number 35 air for the first time? ### Context: CREATE TABLE table_20046379_3 (original_air_date VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT COUNT(original_air_date) FROM table_20046379_3 WHERE no_in_series = "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: Name the date for value 55c ### Context: CREATE TABLE table_2006661_1 (date VARCHAR, value VARCHAR) [/INST] ### Response: SELECT date FROM table_2006661_1 WHERE value = "55c" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 scott for chloropsis hardwickii ### Context: CREATE TABLE table_2006661_1 (scott VARCHAR, species VARCHAR) [/INST] ### Response: SELECT scott FROM table_2006661_1 WHERE species = "Chloropsis hardwickii" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lived in bulac in the year 2000? ### Context: CREATE TABLE table_2004733_2 (population__2000_ INTEGER, barangay VARCHAR) [/INST] ### Response: SELECT MAX(population__2000_) FROM table_2004733_2 WHERE barangay = "Bulac" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2010, how many people lived in cities with a population density of 3,965.02? ### Context: CREATE TABLE table_2004733_2 (population__2010_ VARCHAR, population_density__2010_ VARCHAR) [/INST] ### Response: SELECT population__2010_ FROM table_2004733_2 WHERE population_density__2010_ = "3,965.02" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the name of the barangay whose area is 3.6787 km² ? ### Context: CREATE TABLE table_2004733_2 (barangay VARCHAR, area__in_km_2__ VARCHAR) [/INST] ### Response: SELECT barangay FROM table_2004733_2 WHERE area__in_km_2__ = "3.6787" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lived in the city which has 1.2530 km² in the year 2000? ### Context: CREATE TABLE table_2004733_2 (population__2000_ INTEGER, area__in_km_2__ VARCHAR) [/INST] ### Response: SELECT MAX(population__2000_) FROM table_2004733_2 WHERE area__in_km_2__ = "1.2530" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lived in san gabriel in the year 2000? ### Context: CREATE TABLE table_2004733_2 (population__2000_ VARCHAR, barangay VARCHAR) [/INST] ### Response: SELECT COUNT(population__2000_) FROM table_2004733_2 WHERE barangay = "San Gabriel" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 titles does the representative whose mission was terminated on August 5, 1984 have? ### Context: CREATE TABLE table_20065425_1 (title VARCHAR, termination_of_mission VARCHAR) [/INST] ### Response: SELECT COUNT(title) FROM table_20065425_1 WHERE termination_of_mission = "August 5, 1984" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 state does the representative whose mission was terminated on November 29, 1973 represent? ### Context: CREATE TABLE table_20065425_1 (state VARCHAR, termination_of_mission VARCHAR) [/INST] ### Response: SELECT state FROM table_20065425_1 WHERE termination_of_mission = "November 29, 1973" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 trained the representative whose presentation of credentials happened on February 24, 1950? ### Context: CREATE TABLE table_20065425_1 (training VARCHAR, presentation_of_credentials VARCHAR) [/INST] ### Response: SELECT training FROM table_20065425_1 WHERE presentation_of_credentials = "February 24, 1950" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 film Här har du ditt liv used in nomination? ### Context: CREATE TABLE table_20061872_1 (year__ceremony_ VARCHAR, original_title VARCHAR) [/INST] ### Response: SELECT year__ceremony_ FROM table_20061872_1 WHERE original_title = "Här har du ditt liv" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original title of the film Zozo? ### Context: CREATE TABLE table_20061872_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) [/INST] ### Response: SELECT original_title FROM table_20061872_1 WHERE film_title_used_in_nomination = "Zozo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original title of The New Land? ### Context: CREATE TABLE table_20061872_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) [/INST] ### Response: SELECT original_title FROM table_20061872_1 WHERE film_title_used_in_nomination = "The New Land" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 championship for winner and judy tegart dalton lesley turner bowrey ### Context: CREATE TABLE table_2009095_2 (championship VARCHAR, outcome VARCHAR, opponents VARCHAR) [/INST] ### Response: SELECT COUNT(championship) FROM table_2009095_2 WHERE outcome = "Winner" AND opponents = "Judy Tegart Dalton Lesley Turner Bowrey" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 outcome for wimbledon ### Context: CREATE TABLE table_2009095_2 (outcome VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT outcome FROM table_2009095_2 WHERE championship = "Wimbledon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponets for 6–4, 3–6, 6–2 ### Context: CREATE TABLE table_2009095_2 (opponents VARCHAR, score VARCHAR) [/INST] ### Response: SELECT opponents FROM table_2009095_2 WHERE score = "6–4, 3–6, 6–2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the least year for evonne goolagong helen gourlay ### Context: CREATE TABLE table_2009095_2 (year INTEGER, opponents VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_2009095_2 WHERE opponents = "Evonne Goolagong Helen Gourlay" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 surface for australian open for winner ### Context: CREATE TABLE table_2009095_2 (surface VARCHAR, championship VARCHAR, outcome VARCHAR) [/INST] ### Response: SELECT surface FROM table_2009095_2 WHERE championship = "Australian Open" AND outcome = "Winner" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 highest scoring team in the round in Ring Knutstorp in which Polestar Racing is the winning team? ### Context: CREATE TABLE table_20079931_4 (highest_scoring_team VARCHAR, circuit_location VARCHAR, winning_team VARCHAR) [/INST] ### Response: SELECT highest_scoring_team FROM table_20079931_4 WHERE circuit_location = "Ring Knutstorp" AND winning_team = "Polestar Racing" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rounds were there in Karlskoga Motorstadion with Roger Eriksson at the pole position? ### Context: CREATE TABLE table_20079931_4 (round VARCHAR, circuit_location VARCHAR, pole_position VARCHAR) [/INST] ### Response: SELECT COUNT(round) FROM table_20079931_4 WHERE circuit_location = "Karlskoga Motorstadion" AND pole_position = "Roger Eriksson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 first leg result in the round against Norchi Dinamoeli? ### Context: CREATE TABLE table_20086138_1 (first_leg VARCHAR, opposition VARCHAR) [/INST] ### Response: SELECT first_leg FROM table_20086138_1 WHERE opposition = "Norchi Dinamoeli" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vehicles got best time of day 1:17.17 ### Context: CREATE TABLE table_20090682_4 (vehicle VARCHAR, best_time_of_day VARCHAR) [/INST] ### Response: SELECT vehicle FROM table_20090682_4 WHERE best_time_of_day = "1:17.17" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: how many drivers driving toyota corolla ### Context: CREATE TABLE table_20090682_4 (driver VARCHAR, vehicle VARCHAR) [/INST] ### Response: SELECT COUNT(driver) FROM table_20090682_4 WHERE vehicle = "Toyota Corolla" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of brendan sole ### Context: CREATE TABLE table_20090682_4 (pos INTEGER, driver VARCHAR) [/INST] ### Response: SELECT MAX(pos) FROM table_20090682_4 WHERE driver = "Brendan Sole" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vehicles where top 13 time is 1:18.72 ### Context: CREATE TABLE table_20090682_4 (vehicle VARCHAR, top_13_time VARCHAR) [/INST] ### Response: SELECT COUNT(vehicle) FROM table_20090682_4 WHERE top_13_time = "1:18.72" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 driver got best time of day 1:16.93 ### Context: CREATE TABLE table_20090682_4 (driver VARCHAR, best_time_of_day VARCHAR) [/INST] ### Response: SELECT driver FROM table_20090682_4 WHERE best_time_of_day = "1:16.93" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 amount of assists when mins is 744:27? ### Context: CREATE TABLE table_20107762_1 (assists VARCHAR, mins VARCHAR) [/INST] ### Response: SELECT assists FROM table_20107762_1 WHERE mins = "744:27" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the game number with 385:33 mins? ### Context: CREATE TABLE table_20107762_1 (games INTEGER, mins VARCHAR) [/INST] ### Response: SELECT MIN(games) FROM table_20107762_1 WHERE mins = "385:33" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points number when rebounds is 4.4? ### Context: CREATE TABLE table_20107762_1 (points VARCHAR, rebounds VARCHAR) [/INST] ### Response: SELECT points FROM table_20107762_1 WHERE rebounds = "4.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: Who is the team with the ft% of 77.6? ### Context: CREATE TABLE table_20107762_1 (team VARCHAR, ft_percentage VARCHAR) [/INST] ### Response: SELECT team FROM table_20107762_1 WHERE ft_percentage = "77.6" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When did Austin Austin TX get the third place? ### Context: CREATE TABLE table_2011349_2 (year VARCHAR, third_place VARCHAR) [/INST] ### Response: SELECT year FROM table_2011349_2 WHERE third_place = "Austin Austin TX" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a religion of United Methodist and a prior background of a Congressional Aide? ### Context: CREATE TABLE table_20098199_2 (representative VARCHAR, religion VARCHAR, prior_background VARCHAR) [/INST] ### Response: SELECT representative FROM table_20098199_2 WHERE religion = "United Methodist" AND prior_background = "Congressional aide" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 horse has the number 25? ### Context: CREATE TABLE table_20095300_1 (name VARCHAR, number VARCHAR) [/INST] ### Response: SELECT name FROM table_20095300_1 WHERE number = 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: How much does Point Barrow weight? ### Context: CREATE TABLE table_20095300_1 (weight__st VARCHAR, _lb_ VARCHAR, name VARCHAR) [/INST] ### Response: SELECT weight__st, _lb_ FROM table_20095300_1 WHERE name = "Point Barrow" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Andrew McNamara's colors? ### Context: CREATE TABLE table_20095300_1 (colours VARCHAR, jockey VARCHAR) [/INST] ### Response: SELECT colours FROM table_20095300_1 WHERE jockey = "Andrew McNamara" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of the horse whose trainer is Kim Bailey? ### Context: CREATE TABLE table_20095300_1 (number INTEGER, trainer VARCHAR) [/INST] ### Response: SELECT MAX(number) FROM table_20095300_1 WHERE trainer = "Kim Bailey" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode number 48 ### Context: CREATE TABLE table_20098479_1 (written_by VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT written_by FROM table_20098479_1 WHERE no_in_series = 48 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 production code ### Context: CREATE TABLE table_20098479_1 (production_code INTEGER) [/INST] ### Response: SELECT MIN(production_code) FROM table_20098479_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 was the original title of 3.19? ### Context: CREATE TABLE table_20124413_3 (original_title VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT original_title FROM table_20124413_3 WHERE production_code = "3.19" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 have the product code of 2.6? ### Context: CREATE TABLE table_20124413_2 (_number VARCHAR, prod_code VARCHAR) [/INST] ### Response: SELECT _number FROM table_20124413_2 WHERE prod_code = "2.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 directed have the product code of 2.8? ### Context: CREATE TABLE table_20124413_2 (directed_by VARCHAR, prod_code VARCHAR) [/INST] ### Response: SELECT COUNT(directed_by) FROM table_20124413_2 WHERE prod_code = "2.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: When 1.12 is the production code what is the original title? ### Context: CREATE TABLE table_20124413_1 (original_title VARCHAR, prod_code VARCHAR) [/INST] ### Response: SELECT original_title FROM table_20124413_1 WHERE prod_code = "1.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: When 1.17 is the production code how many air dates are there? ### Context: CREATE TABLE table_20124413_1 (original_airdate VARCHAR, prod_code VARCHAR) [/INST] ### Response: SELECT COUNT(original_airdate) FROM table_20124413_1 WHERE prod_code = "1.17" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: state the winnings of yates racing front row motorsports where poles were 0 ### Context: CREATE TABLE table_2012187_1 (winnings VARCHAR, poles VARCHAR, team_s_ VARCHAR) [/INST] ### Response: SELECT winnings FROM table_2012187_1 WHERE poles = 0 AND team_s_ = "Yates Racing Front Row Motorsports" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: which team(s) won $2,605,05 ### Context: CREATE TABLE table_2012187_1 (team_s_ VARCHAR, winnings VARCHAR) [/INST] ### Response: SELECT team_s_ FROM table_2012187_1 WHERE winnings = "$2,605,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: state the wins of the team with 2 top 10 ### Context: CREATE TABLE table_2012187_1 (wins VARCHAR, top_10 VARCHAR) [/INST] ### Response: SELECT COUNT(wins) FROM table_2012187_1 WHERE top_10 = 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 kannada name ಕನ್ನಡ of tamil name தமிழ் anusham அனுஷம் ### Context: CREATE TABLE table_201400_2 (kannada_name_ಕನ್ನಡ VARCHAR, tamil_name_தமிழ் VARCHAR) [/INST] ### Response: SELECT kannada_name_ಕನ್ನಡ FROM table_201400_2 WHERE tamil_name_தமிழ் = "Anusham அனுஷம்" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 malayalam name മലയാളം of tamil name தமிழ் punarpoosam புனர்பூசம் ### Context: CREATE TABLE table_201400_2 (malayalam_name_മലയാളം VARCHAR, tamil_name_தமிழ் VARCHAR) [/INST] ### Response: SELECT malayalam_name_മലയാളം FROM table_201400_2 WHERE tamil_name_தமிழ் = "Punarpoosam புனர்பூசம்" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 telugu name తెలుగు of kannada name ಕನ್ನಡ utthara ಉತ್ತರ ### Context: CREATE TABLE table_201400_2 (telugu_name_తెలుగు VARCHAR, kannada_name_ಕನ್ನಡ VARCHAR) [/INST] ### Response: SELECT telugu_name_తెలుగు FROM table_201400_2 WHERE kannada_name_ಕನ್ನಡ = "Utthara ಉತ್ತರ" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sanskrit of western star name arcturus ### Context: CREATE TABLE table_201400_2 (sanskrit VARCHAR, western_star_name VARCHAR) [/INST] ### Response: SELECT sanskrit FROM table_201400_2 WHERE western_star_name = "Arcturus" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 malayalam name മലയാളം of sanskrit uttarāṣāḍha उत्तराषाढा ### Context: CREATE TABLE table_201400_2 (malayalam_name_മലയാളം VARCHAR, sanskrit VARCHAR) [/INST] ### Response: SELECT malayalam_name_മലയാളം FROM table_201400_2 WHERE sanskrit = "Uttarāṣāḍha उत्तराषाढा" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 traditional for area 544 ### Context: CREATE TABLE table_2013618_1 (traditional VARCHAR, area VARCHAR) [/INST] ### Response: SELECT traditional FROM table_2013618_1 WHERE area = 544 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 foochow for pingnan county ### Context: CREATE TABLE table_2013618_1 (foochow VARCHAR, english_name VARCHAR) [/INST] ### Response: SELECT foochow FROM table_2013618_1 WHERE english_name = "Pingnan County" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the pinyin for ciá-ìng-gâing ### Context: CREATE TABLE table_2013618_1 (pinyin VARCHAR, foochow VARCHAR) [/INST] ### Response: SELECT pinyin FROM table_2013618_1 WHERE foochow = "Ciá-ìng-gâing" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 traditional for 屏南县 ### Context: CREATE TABLE table_2013618_1 (traditional VARCHAR, simplified VARCHAR) [/INST] ### Response: SELECT traditional FROM table_2013618_1 WHERE simplified = "屏南县" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 density for 古田縣 ### Context: CREATE TABLE table_2013618_1 (density VARCHAR, traditional VARCHAR) [/INST] ### Response: SELECT density FROM table_2013618_1 WHERE traditional = "古田縣" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 english name for 福鼎市 ### Context: CREATE TABLE table_2013618_1 (english_name VARCHAR, traditional VARCHAR) [/INST] ### Response: SELECT english_name FROM table_2013618_1 WHERE traditional = "福鼎市" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 CFL team did Darcy Brown play for? ### Context: CREATE TABLE table_20170644_1 (cfl_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT cfl_team FROM table_20170644_1 WHERE player = "Darcy Brown" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 CFL team did simeon rottier play for? ### Context: CREATE TABLE table_20170644_1 (cfl_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT cfl_team FROM table_20170644_1 WHERE player = "Simeon Rottier" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What college did étienne légaré play for? ### Context: CREATE TABLE table_20170644_1 (college VARCHAR, player VARCHAR) [/INST] ### Response: SELECT college FROM table_20170644_1 WHERE player = "Étienne Légaré" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What team was in position OL? ### Context: CREATE TABLE table_20170644_1 (cfl_team VARCHAR, position VARCHAR) [/INST] ### Response: SELECT cfl_team FROM table_20170644_1 WHERE position = "OL" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player for the CFL team hamilton tiger-cats (via bc via saskatchewan )? ### Context: CREATE TABLE table_20170644_1 (player VARCHAR, cfl_team VARCHAR) [/INST] ### Response: SELECT player FROM table_20170644_1 WHERE cfl_team = "Hamilton Tiger-Cats (via BC via Saskatchewan )" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What number pick did the CFL team bc lions (via hamilton via winnipeg ) have? ### Context: CREATE TABLE table_20170644_1 (pick__number INTEGER, cfl_team VARCHAR) [/INST] ### Response: SELECT MAX(pick__number) FROM table_20170644_1 WHERE cfl_team = "BC Lions (via Hamilton via Winnipeg )" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 release dates are there for the audio book with a story number 7? ### Context: CREATE TABLE table_20174050_1 (release_date VARCHAR, story__number VARCHAR) [/INST] ### Response: SELECT COUNT(release_date) FROM table_20174050_1 WHERE story__number = 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's the title of the audio book with story number 91? ### Context: CREATE TABLE table_20174050_1 (title VARCHAR, story__number VARCHAR) [/INST] ### Response: SELECT title FROM table_20174050_1 WHERE story__number = 91 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 audio book with target number 069 69 released? ### Context: CREATE TABLE table_20174050_1 (release_date VARCHAR, target__number VARCHAR) [/INST] ### Response: SELECT release_date FROM table_20174050_1 WHERE target__number = "069 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: What's the format of the audio book titled The Mind Robber? ### Context: CREATE TABLE table_20174050_1 (format VARCHAR, title VARCHAR) [/INST] ### Response: SELECT format FROM table_20174050_1 WHERE title = "The Mind Robber" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 reader of the audiobook authored by cole, stephen stephen cole and released on 2008-11-13 13 november 2008 ### Context: CREATE TABLE table_20174050_24 (reader VARCHAR, author VARCHAR, release_date VARCHAR) [/INST] ### Response: SELECT reader FROM table_20174050_24 WHERE author = "Cole, Stephen Stephen Cole" AND release_date = "2008-11-13 13 November 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: how many companies released an audiobook titled deadly download ### Context: CREATE TABLE table_20174050_24 (company VARCHAR, title VARCHAR) [/INST] ### Response: SELECT COUNT(company) FROM table_20174050_24 WHERE title = "Deadly Download" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 companies released on 2010-11-04 4 november 2010 ### Context: CREATE TABLE table_20174050_24 (company VARCHAR, release_date VARCHAR) [/INST] ### Response: SELECT company FROM table_20174050_24 WHERE release_date = "2010-11-04 4 November 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: which company released audiobooks authored by day, martin martin day ### Context: CREATE TABLE table_20174050_24 (company VARCHAR, author VARCHAR) [/INST] ### Response: SELECT company FROM table_20174050_24 WHERE author = "Day, Martin Martin Day" </s>