text stringlengths 380 1.33k |
|---|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What date did the episode with production code 3aky05 air?
### Context:
CREATE TABLE table_26824484_1 (original_air_date VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_26824484_1 WHERE production_code = "3AKY05" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode was directed by Jeff Woolnough and written by Christopher Ambrose?
### Context:
CREATE TABLE table_26824484_1 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT title FROM table_26824484_1 WHERE directed_by = "Jeff Woolnough" AND written_by = "Christopher Ambrose" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the episode that was directed by Jessica Landaw?
### Context:
CREATE TABLE table_26824484_1 (original_air_date VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_26824484_1 WHERE directed_by = "Jessica Landaw" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode number of the episode with a production code of 4aky14?
### Context:
CREATE TABLE table_26825349_1 (no_in_season VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT no_in_season FROM table_26825349_1 WHERE production_code = "4AKY14" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
The episode that had 8.62 million US viewers originally aired on which date?
### Context:
CREATE TABLE table_26825349_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_26825349_1 WHERE us_viewers__millions_ = "8.62" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result in the game broadcast on the Big East Network?
### Context:
CREATE TABLE table_26842217_12 (result VARCHAR, broadcast VARCHAR) [/INST]
### Response:
SELECT result FROM table_26842217_12 WHERE broadcast = "Big East 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 was the result in the game where the visiting team was Louisiana-Monroe?
### Context:
CREATE TABLE table_26842217_12 (result VARCHAR, visiting_team VARCHAR) [/INST]
### Response:
SELECT result FROM table_26842217_12 WHERE visiting_team = "Louisiana-Monroe" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team in the game broadcast on the Big East Network?
### Context:
CREATE TABLE table_26842217_12 (home_team VARCHAR, broadcast VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_26842217_12 WHERE broadcast = "Big East 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 was the result in the game broadcast on the SEC Network?
### Context:
CREATE TABLE table_26842217_12 (result VARCHAR, broadcast VARCHAR) [/INST]
### Response:
SELECT result FROM table_26842217_12 WHERE broadcast = "SEC 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 is the e/vap value for a turnout of exactly 85.7%?
### Context:
CREATE TABLE table_2683116_1 (E VARCHAR, vap VARCHAR, turnout VARCHAR) [/INST]
### Response:
SELECT E / vap FROM table_2683116_1 WHERE turnout = "85.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 communes have enrolled values of 174946?
### Context:
CREATE TABLE table_2683116_1 (communes VARCHAR, enrolled VARCHAR) [/INST]
### Response:
SELECT communes FROM table_2683116_1 WHERE enrolled = 174946 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vap values are associated with 140469 valid votes?
### Context:
CREATE TABLE table_2683116_1 (vap VARCHAR, valid_votes VARCHAR) [/INST]
### Response:
SELECT COUNT(vap) FROM table_2683116_1 WHERE valid_votes = 140469 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 time for georgia
### Context:
CREATE TABLE table_26842217_10 (time VARCHAR, visiting_team VARCHAR) [/INST]
### Response:
SELECT time FROM table_26842217_10 WHERE visiting_team = "Georgia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 time for #1 alabama
### Context:
CREATE TABLE table_26842217_10 (time VARCHAR, visiting_team VARCHAR) [/INST]
### Response:
SELECT time FROM table_26842217_10 WHERE visiting_team = "#1 Alabama" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 time for result msst 29–24
### Context:
CREATE TABLE table_26842217_18 (time VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT time FROM table_26842217_18 WHERE result = "MSST 29–24" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 time for uab
### Context:
CREATE TABLE table_26842217_18 (time VARCHAR, visiting_team VARCHAR) [/INST]
### Response:
SELECT COUNT(time) FROM table_26842217_18 WHERE visiting_team = "UAB" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 broadcast fsn
### Context:
CREATE TABLE table_26842217_18 (date VARCHAR, broadcast VARCHAR) [/INST]
### Response:
SELECT date FROM table_26842217_18 WHERE broadcast = "FSN" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 broadcast for 7:00pm and mississippi state
### Context:
CREATE TABLE table_26842217_18 (broadcast VARCHAR, time VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT broadcast FROM table_26842217_18 WHERE time = "7:00pm" AND home_team = "Mississippi State" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 espn
### Context:
CREATE TABLE table_26842217_18 (date VARCHAR, broadcast VARCHAR) [/INST]
### Response:
SELECT date FROM table_26842217_18 WHERE broadcast = "ESPN" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 broadcast for davis-wade stadium • starkville ms
### Context:
CREATE TABLE table_26842217_18 (broadcast VARCHAR, site VARCHAR) [/INST]
### Response:
SELECT broadcast FROM table_26842217_18 WHERE site = "Davis-Wade Stadium • Starkville MS" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 what network was the Kentucky game broadcast?
### Context:
CREATE TABLE table_26842217_16 (broadcast VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT broadcast FROM table_26842217_16 WHERE home_team = "Kentucky" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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's the louisiana-lafayette as a visiting team?
### Context:
CREATE TABLE table_26842217_4 (site VARCHAR, visiting_team VARCHAR) [/INST]
### Response:
SELECT site FROM table_26842217_4 WHERE visiting_team = "Louisiana-Lafayette" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What were the results of the tennessee tech as a visiting team?
### Context:
CREATE TABLE table_26842217_4 (result VARCHAR, visiting_team VARCHAR) [/INST]
### Response:
SELECT result FROM table_26842217_4 WHERE visiting_team = "Tennessee Tech" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team where the San Jose state is the visiting team?
### Context:
CREATE TABLE table_26842217_4 (home_team VARCHAR, visiting_team VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_26842217_4 WHERE visiting_team = "San Jose State" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What were the results in the bryant-denny stadium • tuscaloosa, al?
### Context:
CREATE TABLE table_26842217_4 (result VARCHAR, site VARCHAR) [/INST]
### Response:
SELECT result FROM table_26842217_4 WHERE site = "Bryant-Denny Stadium • Tuscaloosa, AL" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team is at 7:30pm in ESPN?
### Context:
CREATE TABLE table_26842217_4 (home_team VARCHAR, time VARCHAR, broadcast VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_26842217_4 WHERE time = "7:30pm" AND broadcast = "ESPN" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the visiting team is Clemson, when was the time?
### Context:
CREATE TABLE table_26842217_8 (time VARCHAR, visiting_team VARCHAR) [/INST]
### Response:
SELECT time FROM table_26842217_8 WHERE visiting_team = "Clemson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many times was the site wallace wade stadium • durham, nc?
### Context:
CREATE TABLE table_26842217_8 (attendance VARCHAR, site VARCHAR) [/INST]
### Response:
SELECT COUNT(attendance) FROM table_26842217_8 WHERE site = "Wallace Wade Stadium • Durham, NC" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the site was wallace wade stadium • durham, nc, what was the result?
### Context:
CREATE TABLE table_26842217_8 (result VARCHAR, site VARCHAR) [/INST]
### Response:
SELECT result FROM table_26842217_8 WHERE site = "Wallace Wade Stadium • Durham, NC" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the site is sanford stadium • athens, ga, what is the date?
### Context:
CREATE TABLE table_26842217_8 (date VARCHAR, site VARCHAR) [/INST]
### Response:
SELECT date FROM table_26842217_8 WHERE site = "Sanford Stadium • Athens, GA" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the production code for the movie with 4.32 million U.S. viewers?
### Context:
CREATE TABLE table_26845668_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT production_code FROM table_26845668_1 WHERE us_viewers__millions_ = "4.32" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many times was Louisiana-Monroe a visiting team?
### Context:
CREATE TABLE table_26842217_6 (time VARCHAR, visiting_team VARCHAR) [/INST]
### Response:
SELECT COUNT(time) FROM table_26842217_6 WHERE visiting_team = "Louisiana-Monroe" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 all dates where South Florida was a visiting team.
### Context:
CREATE TABLE table_26842217_6 (date VARCHAR, visiting_team VARCHAR) [/INST]
### Response:
SELECT date FROM table_26842217_6 WHERE visiting_team = "South Florida" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many times was #7 Oregon a visiting team?
### Context:
CREATE TABLE table_26842217_6 (time VARCHAR, visiting_team VARCHAR) [/INST]
### Response:
SELECT time FROM table_26842217_6 WHERE visiting_team = "#7 Oregon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 all home teams when Western Kentucky was the visiting team.
### Context:
CREATE TABLE table_26842217_6 (home_team VARCHAR, visiting_team VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_26842217_6 WHERE visiting_team = "Western Kentucky" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 all times with Kentucky as the home team.
### Context:
CREATE TABLE table_26842217_6 (time VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT time FROM table_26842217_6 WHERE home_team = "Kentucky" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score when the opposition is mid canterbury?
### Context:
CREATE TABLE table_26847237_3 (score VARCHAR, opposition VARCHAR) [/INST]
### Response:
SELECT score FROM table_26847237_3 WHERE opposition = "Mid Canterbury" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team when the opposition is east coast?
### Context:
CREATE TABLE table_26847237_3 (home_team VARCHAR, opposition VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_26847237_3 WHERE opposition = "East Coast" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team when the opposition is wairarapa bush?
### Context:
CREATE TABLE table_26847237_3 (home_team VARCHAR, opposition VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_26847237_3 WHERE opposition = "Wairarapa Bush" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team when the round # is round 1?
### Context:
CREATE TABLE table_26847237_3 (home_team VARCHAR, round__number VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_26847237_3 WHERE round__number = "Round 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 is the opposition when the score is 37 - 28?
### Context:
CREATE TABLE table_26847237_3 (opposition VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT opposition FROM table_26847237_3 WHERE score = "37 - 28" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the location when the opposition is mid canterbury?
### Context:
CREATE TABLE table_26847237_3 (location VARCHAR, opposition VARCHAR) [/INST]
### Response:
SELECT location FROM table_26847237_3 WHERE opposition = "Mid Canterbury" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score in round 7?
### Context:
CREATE TABLE table_26847237_1 (score VARCHAR, round__number VARCHAR) [/INST]
### Response:
SELECT score FROM table_26847237_1 WHERE round__number = "Round 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:
Who was the home team when the opposition was Buller?
### Context:
CREATE TABLE table_26847237_1 (home_team VARCHAR, opposition VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_26847237_1 WHERE opposition = "Buller" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Was it a win or loss for Wanganui in round 3?
### Context:
CREATE TABLE table_26847237_1 (win_loss VARCHAR, round__number VARCHAR) [/INST]
### Response:
SELECT win_loss FROM table_26847237_1 WHERE round__number = "Round 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 was the location when the opposition was East Coast?
### Context:
CREATE TABLE table_26847237_1 (location VARCHAR, opposition VARCHAR) [/INST]
### Response:
SELECT location FROM table_26847237_1 WHERE opposition = "East Coast" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score when the opposition was West Coast in Wanganui?
### Context:
CREATE TABLE table_26847237_1 (score VARCHAR, opposition VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT score FROM table_26847237_1 WHERE opposition = "West Coast" AND location = "Wanganui" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Was it a win or a loss for Wanganui in Paeroa?
### Context:
CREATE TABLE table_26847237_1 (win_loss VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT win_loss FROM table_26847237_1 WHERE location = "Paeroa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every original air date for series# of 26?
### Context:
CREATE TABLE table_26866205_1 (original_airdate VARCHAR, series__number VARCHAR) [/INST]
### Response:
SELECT original_airdate FROM table_26866205_1 WHERE series__number = 26 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directors of the episode in series # 54?
### Context:
CREATE TABLE table_26866233_1 (director VARCHAR, series__number VARCHAR) [/INST]
### Response:
SELECT director FROM table_26866233_1 WHERE series__number = 54 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
The episode where the director is Gene Reynolds has who as the writer?
### Context:
CREATE TABLE table_26866233_1 (writer VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT writer FROM table_26866233_1 WHERE director = "Gene Reynolds" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
The episode with the original airdate December22,1996 has what title?
### Context:
CREATE TABLE table_26866233_1 (title VARCHAR, original_airdate VARCHAR) [/INST]
### Response:
SELECT title FROM table_26866233_1 WHERE original_airdate = "December22,1996" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the episode written by michael glassberg?
### Context:
CREATE TABLE table_26866299_1 (original_airdate VARCHAR, writer VARCHAR) [/INST]
### Response:
SELECT original_airdate FROM table_26866299_1 WHERE writer = "Michael Glassberg" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for episode number 96 in the series?
### Context:
CREATE TABLE table_26866299_1 (original_airdate VARCHAR, series__number VARCHAR) [/INST]
### Response:
SELECT original_airdate FROM table_26866299_1 WHERE series__number = 96 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 122 in the series?
### Context:
CREATE TABLE table_26866434_1 (writer VARCHAR, series__number VARCHAR) [/INST]
### Response:
SELECT writer FROM table_26866434_1 WHERE series__number = 122 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode number 201?
### Context:
CREATE TABLE table_26866519_1 (director VARCHAR, series__number VARCHAR) [/INST]
### Response:
SELECT director FROM table_26866519_1 WHERE series__number = 201 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are the original air date(s) for season episode 20?
### Context:
CREATE TABLE table_26866519_1 (original_airdate VARCHAR, season__number VARCHAR) [/INST]
### Response:
SELECT original_airdate FROM table_26866519_1 WHERE season__number = 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:
How many episodes are directed by ricardo mendez matta?
### Context:
CREATE TABLE table_26866519_1 (season__number VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT COUNT(season__number) FROM table_26866519_1 WHERE director = "Ricardo Mendez Matta" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 leaast points for standing 5th
### Context:
CREATE TABLE table_26882866_1 (points INTEGER, standing VARCHAR) [/INST]
### Response:
SELECT MIN(points) FROM table_26882866_1 WHERE standing = "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:
If puma is 12, what is camper?
### Context:
CREATE TABLE table_26894949_2 (camper INTEGER, puma VARCHAR) [/INST]
### Response:
SELECT MIN(camper) FROM table_26894949_2 WHERE puma = "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:
In how many events was Puma 20 and abu dhabi 30?
### Context:
CREATE TABLE table_26894949_2 (event VARCHAR, puma VARCHAR, abu_dhabi VARCHAR) [/INST]
### Response:
SELECT COUNT(event) FROM table_26894949_2 WHERE puma = "20" AND abu_dhabi = "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:
How many time was the distance Abu Dhabi?
### Context:
CREATE TABLE table_26894949_2 (sanya VARCHAR, distance VARCHAR) [/INST]
### Response:
SELECT COUNT(sanya) FROM table_26894949_2 WHERE distance = "abu_dhabi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the largest amount of ends lost?
### Context:
CREATE TABLE table_26912584_2 (Ends INTEGER) [/INST]
### Response:
SELECT MAX(Ends) AS lost FROM table_26912584_2 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When sweden is the country who is the skip?
### Context:
CREATE TABLE table_26912584_2 (skip VARCHAR, country VARCHAR, Sweden VARCHAR) [/INST]
### Response:
SELECT skip FROM table_26912584_2 WHERE country = Sweden </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who wrote the story viewed by 0.53 million viewers?
### Context:
CREATE TABLE table_26914076_3 (story_by VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT story_by FROM table_26914076_3 WHERE us_viewers__millions_ = "0.53" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 viewers watched the episode with a story by david simon & mari kornhauser?
### Context:
CREATE TABLE table_26914076_3 (us_viewers__millions_ VARCHAR, story_by VARCHAR) [/INST]
### Response:
SELECT us_viewers__millions_ FROM table_26914076_3 WHERE story_by = "David Simon & Mari Kornhauser" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 entries are there for u.s. viewers (millions) for the episode directed by rob bailey?
### Context:
CREATE TABLE table_26914076_3 (us_viewers__millions_ VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT COUNT(us_viewers__millions_) FROM table_26914076_3 WHERE directed_by = "Rob 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:
What is the date the episode directed by rob bailey aired?
### Context:
CREATE TABLE table_26914076_3 (original_air_date VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_26914076_3 WHERE directed_by = "Rob 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:
WHich team had dave penney as an incoming manager
### Context:
CREATE TABLE table_26914759_3 (team VARCHAR, incoming_manager VARCHAR) [/INST]
### Response:
SELECT team FROM table_26914759_3 WHERE incoming_manager = "Dave Penney" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 manner of departure for notts county with an incoming manager of martin allen
### Context:
CREATE TABLE table_26914759_3 (manner_of_departure VARCHAR, team VARCHAR, incoming_manager VARCHAR) [/INST]
### Response:
SELECT manner_of_departure FROM table_26914759_3 WHERE team = "Notts County" AND incoming_manager = "Martin Allen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 teams had gary megson as an incoming manager
### Context:
CREATE TABLE table_26914759_3 (position_in_table VARCHAR, incoming_manager VARCHAR) [/INST]
### Response:
SELECT COUNT(position_in_table) FROM table_26914759_3 WHERE incoming_manager = "Gary Megson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
who was the incoming manager for the 12th position in the table
### Context:
CREATE TABLE table_26914759_3 (incoming_manager VARCHAR, position_in_table VARCHAR) [/INST]
### Response:
SELECT incoming_manager FROM table_26914759_3 WHERE position_in_table = "12th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tall is the player from farmington, ky?
### Context:
CREATE TABLE table_26916717_1 (height VARCHAR, home_town VARCHAR) [/INST]
### Response:
SELECT height FROM table_26916717_1 WHERE home_town = "Farmington, KY" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did adrian smith go to college?
### Context:
CREATE TABLE table_26916717_1 (team_school VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT team_school FROM table_26916717_1 WHERE name = "Adrian Smith" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player attended california university?
### Context:
CREATE TABLE table_26916717_1 (name VARCHAR, team_school VARCHAR) [/INST]
### Response:
SELECT name FROM table_26916717_1 WHERE team_school = "California" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of the player from purcell, ok?
### Context:
CREATE TABLE table_26916717_1 (name VARCHAR, home_town VARCHAR) [/INST]
### Response:
SELECT name FROM table_26916717_1 WHERE home_town = "Purcell, OK" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 hebrew for tisʕ-
### Context:
CREATE TABLE table_26919_6 (hebrew VARCHAR, arabic VARCHAR) [/INST]
### Response:
SELECT hebrew FROM table_26919_6 WHERE arabic = "tisʕ-" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tigrinya for χams-
### Context:
CREATE TABLE table_26919_6 (tigrinya VARCHAR, arabic VARCHAR) [/INST]
### Response:
SELECT COUNT(tigrinya) FROM table_26919_6 WHERE arabic = "χams-" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 hebrew for *tišʻ-
### Context:
CREATE TABLE table_26919_6 (hebrew VARCHAR, proto_semitic VARCHAR) [/INST]
### Response:
SELECT hebrew FROM table_26919_6 WHERE proto_semitic = "*tišʻ-" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 arabic for ħamuʃte
### Context:
CREATE TABLE table_26919_6 (arabic VARCHAR, tigrinya VARCHAR) [/INST]
### Response:
SELECT arabic FROM table_26919_6 WHERE tigrinya = "ħamuʃte" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sabaean for sabʕ-
### Context:
CREATE TABLE table_26919_6 (sabaean VARCHAR, arabic VARCHAR) [/INST]
### Response:
SELECT sabaean FROM table_26919_6 WHERE arabic = "sabʕ-" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 incoming manager when the date of vacancy was 21 march 2011?
### Context:
CREATE TABLE table_26914854_3 (incoming_manager VARCHAR, date_of_vacancy VARCHAR) [/INST]
### Response:
SELECT incoming_manager FROM table_26914854_3 WHERE date_of_vacancy = "21 March 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 is the position in table when the date of vacancy was 4 january 2011?
### Context:
CREATE TABLE table_26914854_3 (position_in_table VARCHAR, date_of_vacancy VARCHAR) [/INST]
### Response:
SELECT position_in_table FROM table_26914854_3 WHERE date_of_vacancy = "4 January 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 is the team when the incoming manager is martin allen?
### Context:
CREATE TABLE table_26914854_3 (team VARCHAR, incoming_manager VARCHAR) [/INST]
### Response:
SELECT team FROM table_26914854_3 WHERE incoming_manager = "Martin Allen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 incoming manager when the date of appointment is 9 march 2011?
### Context:
CREATE TABLE table_26914854_3 (incoming_manager VARCHAR, date_of_appointment VARCHAR) [/INST]
### Response:
SELECT incoming_manager FROM table_26914854_3 WHERE date_of_appointment = "9 March 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 is the team when the date of appointment is 23 march 2011?
### Context:
CREATE TABLE table_26914854_3 (team VARCHAR, date_of_appointment VARCHAR) [/INST]
### Response:
SELECT team FROM table_26914854_3 WHERE date_of_appointment = "23 March 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 is the date of appointment 11 june 2010?
### Context:
CREATE TABLE table_26914854_3 (team VARCHAR, date_of_appointment VARCHAR) [/INST]
### Response:
SELECT team FROM table_26914854_3 WHERE date_of_appointment = "11 June 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:
What is the depth at the UTC time of 12:19:36?
### Context:
CREATE TABLE table_26950408_1 (depth VARCHAR, time___utc__ VARCHAR) [/INST]
### Response:
SELECT depth FROM table_26950408_1 WHERE time___utc__ = "12:19:36" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the date for the UTC time of 03:15:46?
### Context:
CREATE TABLE table_26950408_1 (date__yyyy_mm_dd_ VARCHAR, time___utc__ VARCHAR) [/INST]
### Response:
SELECT date__yyyy_mm_dd_ FROM table_26950408_1 WHERE time___utc__ = "03:15:46" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for episode number 30?
### Context:
CREATE TABLE table_26952212_1 (title VARCHAR, no_in_total VARCHAR) [/INST]
### Response:
SELECT title FROM table_26952212_1 WHERE no_in_total = "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 % identity to C7orf38 of the animal whose genus & species is Mus Musculus?
### Context:
CREATE TABLE table_26957063_3 (_percentage_identity_to_c7orf38 INTEGER, genus_ VARCHAR, _species VARCHAR) [/INST]
### Response:
SELECT MAX(_percentage_identity_to_c7orf38) FROM table_26957063_3 WHERE genus_ & _species = "Mus musculus" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 length (AA) of the animal whose NCBI accession number is CAM15594.1?
### Context:
CREATE TABLE table_26957063_3 (length__aa_ INTEGER, ncbi_accession_number VARCHAR) [/INST]
### Response:
SELECT MIN(length__aa_) FROM table_26957063_3 WHERE ncbi_accession_number = "CAM15594.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 % similarity to C7orf38 of the animal whose % identity to C7orf38 is 81?
### Context:
CREATE TABLE table_26957063_3 (_percentage_similarity_to_c7orf38 INTEGER, _percentage_identity_to_c7orf38 VARCHAR) [/INST]
### Response:
SELECT MAX(_percentage_similarity_to_c7orf38) FROM table_26957063_3 WHERE _percentage_identity_to_c7orf38 = 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:
What is the common name of the animal whose length (AA) is 1323?
### Context:
CREATE TABLE table_26957063_3 (common_name VARCHAR, length__aa_ VARCHAR) [/INST]
### Response:
SELECT common_name FROM table_26957063_3 WHERE length__aa_ = 1323 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 % identity to C7orf38 of the animal whose common name is rat?
### Context:
CREATE TABLE table_26957063_3 (_percentage_identity_to_c7orf38 INTEGER, common_name VARCHAR) [/INST]
### Response:
SELECT MIN(_percentage_identity_to_c7orf38) FROM table_26957063_3 WHERE common_name = "Rat" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 genus & species of the animal whose accession number is XP_002439156.1?
### Context:
CREATE TABLE table_26957063_3 (genus_ VARCHAR, _species VARCHAR, ncbi_accession_number VARCHAR) [/INST]
### Response:
SELECT genus_ & _species FROM table_26957063_3 WHERE ncbi_accession_number = "XP_002439156.1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many episodes were written by Alison McDonald?
### Context:
CREATE TABLE table_26961951_4 (directed_by VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT COUNT(directed_by) FROM table_26961951_4 WHERE written_by = "Alison McDonald" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 viewers in millions did the Alison McDonald episode get?
### Context:
CREATE TABLE table_26961951_4 (us_viewers__million_ VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT us_viewers__million_ FROM table_26961951_4 WHERE written_by = "Alison McDonald" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 p max ( bar ) for the 6876 f bolt ( kgf )?
### Context:
CREATE TABLE table_26967904_2 (p_max___bar__ INTEGER, f_bolt___kgf__ VARCHAR) [/INST]
### Response:
SELECT MIN(p_max___bar__) FROM table_26967904_2 WHERE f_bolt___kgf__ = 6876 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 p1 diameter (mm) when .300 lapua magnum is the chambering?
### Context:
CREATE TABLE table_26967904_2 (p1_diameter__mm_ VARCHAR, chambering VARCHAR) [/INST]
### Response:
SELECT p1_diameter__mm_ FROM table_26967904_2 WHERE chambering = ".300 Lapua Magnum" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.