text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who are the UK co-presenters that have Joe Swash as a co-presenter and Russell Kane as a comedian? ### Context: CREATE TABLE table_14345690_15 (uk_co_presenter VARCHAR, co_presenter VARCHAR, comedian VARCHAR) [/INST] ### Response: SELECT COUNT(uk_co_presenter) FROM table_14345690_15 WHERE co_presenter = "Joe Swash" AND comedian = "Russell Kane" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 have Caroline Flack as a main presenter? ### Context: CREATE TABLE table_14345690_15 (series VARCHAR, main_presenter VARCHAR) [/INST] ### Response: SELECT series FROM table_14345690_15 WHERE main_presenter = "Caroline Flack" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 co-presenter of the series Seven (2007)? ### Context: CREATE TABLE table_14345690_15 (co_presenter VARCHAR, series VARCHAR) [/INST] ### Response: SELECT co_presenter FROM table_14345690_15 WHERE series = "Seven (2007)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the main presenter of the series Twelve (2012)? ### Context: CREATE TABLE table_14345690_15 (main_presenter VARCHAR, series VARCHAR) [/INST] ### Response: SELECT main_presenter FROM table_14345690_15 WHERE series = "Twelve (2012)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the UK co-presenters that have Joe Swash as a co-presenter of the series Eleven (2011)? ### Context: CREATE TABLE table_14345690_15 (uk_co_presenter VARCHAR, co_presenter VARCHAR, series VARCHAR) [/INST] ### Response: SELECT uk_co_presenter FROM table_14345690_15 WHERE co_presenter = "Joe Swash" AND series = "Eleven (2011)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What position did Nell McAndrew finish? ### Context: CREATE TABLE table_14345690_2 (finished VARCHAR, celebrity VARCHAR) [/INST] ### Response: SELECT finished FROM table_14345690_2 WHERE celebrity = "Nell McAndrew" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 champion boxer? ### Context: CREATE TABLE table_14345690_2 (celebrity VARCHAR, famous_for VARCHAR) [/INST] ### Response: SELECT celebrity FROM table_14345690_2 WHERE famous_for = "Champion boxer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Darren Day enter? ### Context: CREATE TABLE table_14345690_2 (entered VARCHAR, celebrity VARCHAR) [/INST] ### Response: SELECT entered FROM table_14345690_2 WHERE celebrity = "Darren Day" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What position did Tara Palmer-Tomkinson finish? ### Context: CREATE TABLE table_14345690_2 (finished VARCHAR, celebrity VARCHAR) [/INST] ### Response: SELECT finished FROM table_14345690_2 WHERE celebrity = "Tara Palmer-Tomkinson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 4th finisher enter? ### Context: CREATE TABLE table_14345690_2 (entered VARCHAR, finished VARCHAR) [/INST] ### Response: SELECT entered FROM table_14345690_2 WHERE finished = "4th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 finished 9th? ### Context: CREATE TABLE table_14345690_3 (exited VARCHAR, finished VARCHAR) [/INST] ### Response: SELECT COUNT(exited) FROM table_14345690_3 WHERE finished = "9th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 least amount of camp mates? ### Context: CREATE TABLE table_14345690_1 (camp_mates INTEGER) [/INST] ### Response: SELECT MIN(camp_mates) FROM table_14345690_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: Who directed series #4 that was teleplayed by David Simon? ### Context: CREATE TABLE table_14346353_1 (directed_by VARCHAR, teleplay_by VARCHAR, series__number VARCHAR) [/INST] ### Response: SELECT COUNT(directed_by) FROM table_14346353_1 WHERE teleplay_by = "David Simon" AND series__number = 4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the title of series #1? ### Context: CREATE TABLE table_14346353_1 (title VARCHAR, series__number VARCHAR) [/INST] ### Response: SELECT title FROM table_14346353_1 WHERE series__number = 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the finished place where exited is day 11? ### Context: CREATE TABLE table_14345690_5 (finished VARCHAR, exited VARCHAR) [/INST] ### Response: SELECT finished FROM table_14345690_5 WHERE exited = "Day 11" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the famous for that finished 2nd? ### Context: CREATE TABLE table_14345690_5 (famous_for VARCHAR, finished VARCHAR) [/INST] ### Response: SELECT famous_for FROM table_14345690_5 WHERE finished = "2nd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 famous for where the finished is 5th? ### Context: CREATE TABLE table_14345690_5 (famous_for VARCHAR, finished VARCHAR) [/INST] ### Response: SELECT famous_for FROM table_14345690_5 WHERE finished = "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: What is the exited day where the celebrity is vic reeves? ### Context: CREATE TABLE table_14345690_5 (exited VARCHAR, celebrity VARCHAR) [/INST] ### Response: SELECT exited FROM table_14345690_5 WHERE celebrity = "Vic Reeves" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 celebrity where the finished is 5th? ### Context: CREATE TABLE table_14345690_5 (celebrity VARCHAR, finished VARCHAR) [/INST] ### Response: SELECT celebrity FROM table_14345690_5 WHERE finished = "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 was incumbent John Thomas Wilson first elected? ### Context: CREATE TABLE table_1434788_5 (first_elected VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT first_elected FROM table_1434788_5 WHERE incumbent = "John Thomas Wilson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who were the candidates in the election where John Beatty was the incumbent? ### Context: CREATE TABLE table_1434788_5 (candidates VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT candidates FROM table_1434788_5 WHERE incumbent = "John Beatty" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 incumbent in the Ohio 16 district? ### Context: CREATE TABLE table_1434788_5 (incumbent VARCHAR, district VARCHAR) [/INST] ### Response: SELECT incumbent FROM table_1434788_5 WHERE district = "Ohio 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 result in 91-92 for the team with a 1.053 average? ### Context: CREATE TABLE table_14368332_1 (average VARCHAR) [/INST] ### Response: SELECT 1991 AS _92 FROM table_14368332_1 WHERE average = "1.053" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 birth date for shirt number 7 ### Context: CREATE TABLE table_14363116_1 (birth_date VARCHAR, shirt_no VARCHAR) [/INST] ### Response: SELECT birth_date FROM table_14363116_1 WHERE shirt_no = 7 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the maximum height for yury berezhko ### Context: CREATE TABLE table_14363116_1 (height INTEGER, player VARCHAR) [/INST] ### Response: SELECT MAX(height) FROM table_14363116_1 WHERE player = "Yury Berezhko" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1991-1992 for river plate ### Context: CREATE TABLE table_14390413_1 (team VARCHAR) [/INST] ### Response: SELECT 1991 AS _1992 FROM table_14390413_1 WHERE team = "River Plate" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 version of opengl is used by model sgx520? ### Context: CREATE TABLE table_1439045_5 (opengl VARCHAR, model VARCHAR) [/INST] ### Response: SELECT opengl AS ES FROM table_1439045_5 WHERE model = "SGX520" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 die size(mm 2) for model sgx531? ### Context: CREATE TABLE table_1439045_5 (die_size__mm_2___ VARCHAR, model VARCHAR) [/INST] ### Response: SELECT die_size__mm_2___[1] FROM table_1439045_5 WHERE model = "SGX531" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nationality is tom hilde ### Context: CREATE TABLE table_14407512_23 (nationality VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(nationality) FROM table_14407512_23 WHERE name = "Tom Hilde" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 director of the episode originally aired on 26 October 1969? ### Context: CREATE TABLE table_1439096_1 (director VARCHAR, original_air_date__atv_ VARCHAR) [/INST] ### Response: SELECT director FROM table_1439096_1 WHERE original_air_date__atv_ = "26 October 1969" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number? ### Context: CREATE TABLE table_1439096_1 (production_no INTEGER) [/INST] ### Response: SELECT MIN(production_no) FROM table_1439096_1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the title of the episode with the original air date of 28 September 1969? ### Context: CREATE TABLE table_1439096_1 (title VARCHAR, original_air_date__atv_ VARCHAR) [/INST] ### Response: SELECT title FROM table_1439096_1 WHERE original_air_date__atv_ = "28 September 1969" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 air date (atv) of episode 1? ### Context: CREATE TABLE table_1439096_1 (original_air_date__atv_ VARCHAR, episode_no VARCHAR) [/INST] ### Response: SELECT original_air_date__atv_ FROM table_1439096_1 WHERE episode_no = 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 length of the jumper representing FIN, in meters? ### Context: CREATE TABLE table_14407512_4 (nationality VARCHAR) [/INST] ### Response: SELECT 1 AS st__m_ FROM table_14407512_4 WHERE nationality = "FIN" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the 1st(m) score for the Person who had a total points of 272.7 ### Context: CREATE TABLE table_14407512_9 (points VARCHAR) [/INST] ### Response: SELECT 1 AS st__m_ FROM table_14407512_9 WHERE points = "272.7" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the opponent for week 12 ### Context: CREATE TABLE table_14418812_1 (opponent VARCHAR, week VARCHAR) [/INST] ### Response: SELECT opponent FROM table_14418812_1 WHERE week = 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: Name the number of date for shea stadium ### Context: CREATE TABLE table_14418812_1 (date VARCHAR, game_site VARCHAR) [/INST] ### Response: SELECT COUNT(date) FROM table_14418812_1 WHERE game_site = "Shea 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: Name the opponent for astrodome ### Context: CREATE TABLE table_14418812_1 (opponent VARCHAR, game_site VARCHAR) [/INST] ### Response: SELECT opponent FROM table_14418812_1 WHERE game_site = "Astrodome" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team scores have a time of 4:40 PM? ### Context: CREATE TABLE table_14425454_1 (home_team VARCHAR, time VARCHAR) [/INST] ### Response: SELECT COUNT(home_team) AS score FROM table_14425454_1 WHERE time = "4:40 PM" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stadiums had an attendance of 8,256? ### Context: CREATE TABLE table_14425454_1 (ground VARCHAR, crowd VARCHAR) [/INST] ### Response: SELECT ground FROM table_14425454_1 WHERE crowd = "8,256" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of attendees where the home team was Port Adelaide? ### Context: CREATE TABLE table_14425454_1 (crowd VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT COUNT(crowd) FROM table_14425454_1 WHERE home_team = "Port Adelaide" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did they play at Rich Stadium? ### Context: CREATE TABLE table_14423274_3 (opponent VARCHAR, game_site VARCHAR) [/INST] ### Response: SELECT opponent FROM table_14423274_3 WHERE game_site = "Rich 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: What date did they play in Cleveland Municipal Stadium? ### Context: CREATE TABLE table_14423274_3 (date VARCHAR, game_site VARCHAR) [/INST] ### Response: SELECT date FROM table_14423274_3 WHERE game_site = "Cleveland Municipal 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: Name the year model for 4-cyl straight engine dohc 16v and 1.5 crdi ### Context: CREATE TABLE table_1444201_1 (year_model VARCHAR, engine VARCHAR, model VARCHAR) [/INST] ### Response: SELECT year_model FROM table_1444201_1 WHERE engine = "4-cyl Straight engine DOHC 16V" AND model = "1.5 CRDi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year model for 1.3 ### Context: CREATE TABLE table_1444201_1 (year_model VARCHAR, model VARCHAR) [/INST] ### Response: SELECT year_model FROM table_1444201_1 WHERE model = "1.3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the minimum pos with clubs being 16 ### Context: CREATE TABLE table_14460937_2 (pos INTEGER, clubs VARCHAR) [/INST] ### Response: SELECT MIN(pos) FROM table_14460937_2 WHERE clubs = "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 maximum value for afc cup ### Context: CREATE TABLE table_14460937_2 (afc_cup INTEGER) [/INST] ### Response: SELECT MAX(afc_cup) FROM table_14460937_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 pos with member association being china pr ### Context: CREATE TABLE table_14460937_2 (pos VARCHAR, member_association VARCHAR) [/INST] ### Response: SELECT COUNT(pos) FROM table_14460937_2 WHERE member_association = "China PR" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points (total 500) with pos being 11 ### Context: CREATE TABLE table_14460937_2 (points__total_500_ VARCHAR, pos VARCHAR) [/INST] ### Response: SELECT COUNT(points__total_500_) FROM table_14460937_2 WHERE pos = 11 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many points in 87/88 for racing de córdoba? ### Context: CREATE TABLE table_14460085_3 (team VARCHAR) [/INST] ### Response: SELECT 1987 AS _88 FROM table_14460085_3 WHERE team = "Racing de Córdoba" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of games played for deportivo español? ### Context: CREATE TABLE table_14460085_3 (played INTEGER, team VARCHAR) [/INST] ### Response: SELECT MIN(played) FROM table_14460085_3 WHERE team = "Deportivo Españ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: How many points total for san lorenzo? ### Context: CREATE TABLE table_14460085_3 (points VARCHAR, team VARCHAR) [/INST] ### Response: SELECT COUNT(points) FROM table_14460085_3 WHERE team = "San Lorenzo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 telephone 052 for area km2 being 5.42 ### Context: CREATE TABLE table_14465924_1 (telephone__052_ VARCHAR, area__km_2__ VARCHAR) [/INST] ### Response: SELECT telephone__052_ FROM table_14465924_1 WHERE area__km_2__ = "5.42" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the population of people for area being 24.35 ### Context: CREATE TABLE table_14465924_1 (population__people_ VARCHAR, area__km_2__ VARCHAR) [/INST] ### Response: SELECT population__people_ FROM table_14465924_1 WHERE area__km_2__ = "24.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 total number of telephone 052 for 362.81 ### Context: CREATE TABLE table_14465924_1 (telephone__052_ VARCHAR, area__km_2__ VARCHAR) [/INST] ### Response: SELECT COUNT(telephone__052_) FROM table_14465924_1 WHERE area__km_2__ = "362.81" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 administrative unit for number 4 ### Context: CREATE TABLE table_14465924_1 (name_of_administrative_unit VARCHAR, number VARCHAR) [/INST] ### Response: SELECT name_of_administrative_unit FROM table_14465924_1 WHERE number = 4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the name of administrative unit for 3464 people ### Context: CREATE TABLE table_14465924_1 (name_of_administrative_unit VARCHAR, population__people_ VARCHAR) [/INST] ### Response: SELECT name_of_administrative_unit FROM table_14465924_1 WHERE population__people_ = 3464 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the cmdlets are the 2008 version? ### Context: CREATE TABLE table_14465871_2 (cmdlets VARCHAR, version VARCHAR) [/INST] ### Response: SELECT COUNT(cmdlets) FROM table_14465871_2 WHERE version = "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: Which providers use exchange server? ### Context: CREATE TABLE table_14465871_2 (provider VARCHAR, application VARCHAR) [/INST] ### Response: SELECT provider FROM table_14465871_2 WHERE application = "Exchange Server" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 providers use version 2008? ### Context: CREATE TABLE table_14465871_2 (provider VARCHAR, version VARCHAR) [/INST] ### Response: SELECT provider FROM table_14465871_2 WHERE version = "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 points did the argentinos juniors team score during the 1986-87 season? ### Context: CREATE TABLE table_14489821_1 (team VARCHAR) [/INST] ### Response: SELECT 1986 AS _87 FROM table_14489821_1 WHERE team = "Argentinos Juniors" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the maximum number of matches played by a team? ### Context: CREATE TABLE table_14489821_1 (played INTEGER) [/INST] ### Response: SELECT MAX(played) FROM table_14489821_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: list the number of matches played by the teams that got an average of 1.079 ### Context: CREATE TABLE table_14489821_1 (average VARCHAR) [/INST] ### Response: SELECT 1986 AS _87 FROM table_14489821_1 WHERE average = "1.079" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 womens singles for korea open super series ### Context: CREATE TABLE table_14496232_2 (womens_singles VARCHAR, tour VARCHAR) [/INST] ### Response: SELECT womens_singles FROM table_14496232_2 WHERE tour = "Korea Open Super Series" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the tour when mens singles is chen jin and womens doubles is zhang yawen zhao tingting ### Context: CREATE TABLE table_14496232_2 (tour VARCHAR, mens_singles VARCHAR, womens_doubles VARCHAR) [/INST] ### Response: SELECT tour FROM table_14496232_2 WHERE mens_singles = "Chen Jin" AND womens_doubles = "Zhang Yawen Zhao Tingting" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 womens doubles when tour is malaysia super series ### Context: CREATE TABLE table_14496232_2 (womens_doubles VARCHAR, tour VARCHAR) [/INST] ### Response: SELECT womens_doubles FROM table_14496232_2 WHERE tour = "Malaysia Super Series" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the mens singles when womens singles is wang lin and mixed doubles is joachim fischer nielsen christinna pedersen ### Context: CREATE TABLE table_14496232_2 (mens_singles VARCHAR, womens_singles VARCHAR, mixed_doubles VARCHAR) [/INST] ### Response: SELECT mens_singles FROM table_14496232_2 WHERE womens_singles = "Wang Lin" AND mixed_doubles = "Joachim Fischer Nielsen Christinna Pedersen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mixed doubles when tour is hong kong super series ### Context: CREATE TABLE table_14496232_2 (mixed_doubles VARCHAR, tour VARCHAR) [/INST] ### Response: SELECT mixed_doubles FROM table_14496232_2 WHERE tour = "Hong Kong Super Series" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the mixed doubles for zhu lin ### Context: CREATE TABLE table_14496232_2 (mixed_doubles VARCHAR, womens_singles VARCHAR) [/INST] ### Response: SELECT mixed_doubles FROM table_14496232_2 WHERE womens_singles = "Zhu Lin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for kingdome ### Context: CREATE TABLE table_14520977_1 (week VARCHAR, location VARCHAR) [/INST] ### Response: SELECT week FROM table_14520977_1 WHERE location = "Kingdome" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when result is l 13–10 ot ### Context: CREATE TABLE table_14520977_1 (date VARCHAR, result VARCHAR) [/INST] ### Response: SELECT date FROM table_14520977_1 WHERE result = "L 13–10 OT" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record for l 24–22 ### Context: CREATE TABLE table_14520977_1 (record VARCHAR, result VARCHAR) [/INST] ### Response: SELECT record FROM table_14520977_1 WHERE result = "L 24–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: Which Country is the show aired on Fox? ### Context: CREATE TABLE table_14523485_9 (country VARCHAR, channel VARCHAR) [/INST] ### Response: SELECT country FROM table_14523485_9 WHERE channel = "Fox" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where is the show aired in New Zealand? ### Context: CREATE TABLE table_14523485_9 (channel VARCHAR, country VARCHAR) [/INST] ### Response: SELECT channel FROM table_14523485_9 WHERE country = "New Zealand" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 channel had the prize of €100,000? ### Context: CREATE TABLE table_14523485_9 (channel VARCHAR, top_prize VARCHAR) [/INST] ### Response: SELECT channel FROM table_14523485_9 WHERE top_prize = "€100,000" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 hosts were on Seven Network? ### Context: CREATE TABLE table_14523485_9 (host VARCHAR, channel VARCHAR) [/INST] ### Response: SELECT COUNT(host) FROM table_14523485_9 WHERE channel = "Seven Network" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 country is the show aired on TVNZ? ### Context: CREATE TABLE table_14523485_9 (country VARCHAR, channel VARCHAR) [/INST] ### Response: SELECT country FROM table_14523485_9 WHERE channel = "TVNZ" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 capital of Umbria? ### Context: CREATE TABLE table_14532_1 (capital VARCHAR, region VARCHAR) [/INST] ### Response: SELECT capital FROM table_14532_1 WHERE region = "Umbria" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 region where Milan is located? ### Context: CREATE TABLE table_14532_1 (region VARCHAR, capital VARCHAR) [/INST] ### Response: SELECT region FROM table_14532_1 WHERE capital = "Milan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 area of Tuscany? ### Context: CREATE TABLE table_14532_1 (area__km²_ INTEGER, region VARCHAR) [/INST] ### Response: SELECT MAX(area__km²_) FROM table_14532_1 WHERE region = "Tuscany" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 minimum for 2500-3000 ft for scotland ### Context: CREATE TABLE table_1456056_1 (country VARCHAR) [/INST] ### Response: SELECT MIN(2500 AS _3000ft) FROM table_1456056_1 WHERE country = "Scotland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of 2500-3000ft ### Context: CREATE TABLE table_1456056_1 (Id VARCHAR) [/INST] ### Response: SELECT MAX(2500 AS _3000ft) FROM table_1456056_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: Name the minimum total for ireland ### Context: CREATE TABLE table_1456056_1 (total INTEGER, country VARCHAR) [/INST] ### Response: SELECT MIN(total) FROM table_1456056_1 WHERE country = "Ireland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 all the episodes that were written by aaron ehasz & john o'bryan? ### Context: CREATE TABLE table_14562722_1 (directed_by VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_14562722_1 WHERE written_by = "Aaron Ehasz & John O'Bryan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 code of the episode that was written by michael dante dimartino and directed by lauren macmullan? ### Context: CREATE TABLE table_14562722_1 (production_code VARCHAR, written_by VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT production_code FROM table_14562722_1 WHERE written_by = "Michael Dante DiMartino" AND directed_by = "Lauren MacMullan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 airdate of the episode that was directed by giancarlo volpe and written by is john o'bryan? ### Context: CREATE TABLE table_14562722_1 (original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_14562722_1 WHERE directed_by = "Giancarlo Volpe" AND written_by = "John O'Bryan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 situation has an original u.s. airdate of December 5, 2007? ### Context: CREATE TABLE table_14570857_1 (situation VARCHAR, original_us_airdate VARCHAR) [/INST] ### Response: SELECT situation FROM table_14570857_1 WHERE original_us_airdate = "December 5, 2007" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the circuit for gt3 alex mortimer bradley ellis ### Context: CREATE TABLE table_14574130_3 (circuit VARCHAR, gt3_winner VARCHAR) [/INST] ### Response: SELECT circuit FROM table_14574130_3 WHERE gt3_winner = "Alex Mortimer Bradley Ellis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episodes when region 1 is september 19, 2006 ### Context: CREATE TABLE table_14562722_2 (episodes VARCHAR, region_1 VARCHAR) [/INST] ### Response: SELECT episodes FROM table_14562722_2 WHERE region_1 = "September 19, 2006" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 maximum discs ### Context: CREATE TABLE table_14562722_2 (discs INTEGER) [/INST] ### Response: SELECT MAX(discs) FROM table_14562722_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 most epiosdes when region 4 is march 13, 2008 ### Context: CREATE TABLE table_14562722_2 (episodes INTEGER, region_4 VARCHAR) [/INST] ### Response: SELECT MAX(episodes) FROM table_14562722_2 WHERE region_4 = "March 13, 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 individual winners with nation being australia ### Context: CREATE TABLE table_1458666_4 (individual_winners VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT individual_winners FROM table_1458666_4 WHERE nation = "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 is the value for minimum total wins ### Context: CREATE TABLE table_1458666_4 (total_wins INTEGER) [/INST] ### Response: SELECT MIN(total_wins) FROM table_1458666_4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total amount o teams where winnings is $1,752,299? ### Context: CREATE TABLE table_1458412_1 (team_s_ VARCHAR, winnings VARCHAR) [/INST] ### Response: SELECT COUNT(team_s_) FROM table_1458412_1 WHERE winnings = "$1,752,299" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 avg start that starts at 30? ### Context: CREATE TABLE table_1458412_1 (avg_start VARCHAR, starts VARCHAR) [/INST] ### Response: SELECT avg_start FROM table_1458412_1 WHERE starts = 30 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 totl amount of years where avg start is 27.3? ### Context: CREATE TABLE table_1458412_1 (year VARCHAR, avg_start VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_1458412_1 WHERE avg_start = "27.3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What coach had 15 wins? ### Context: CREATE TABLE table_14594528_6 (name__alma_mater_ VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT name__alma_mater_ FROM table_14594528_6 WHERE wins = 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 losses for the coach that coached 19 games? ### Context: CREATE TABLE table_14594528_6 (losses VARCHAR, games VARCHAR) [/INST] ### Response: SELECT losses FROM table_14594528_6 WHERE games = 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: Name the number of class aa for bridgeport and 1999-2000 ### Context: CREATE TABLE table_14601528_2 (class_aA VARCHAR, class_aAA VARCHAR, Bridgeport VARCHAR, school_year VARCHAR) [/INST] ### Response: SELECT COUNT(class_aA) FROM table_14601528_2 WHERE class_aAA = Bridgeport AND school_year = "1999-2000" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 aa for 1998-99 ### Context: CREATE TABLE table_14601528_2 (class_aA VARCHAR, school_year VARCHAR) [/INST] ### Response: SELECT class_aA FROM table_14601528_2 WHERE school_year = "1998-99" </s>