text stringlengths 380 1.33k |
|---|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the director for the episode in season #50?
### Context:
CREATE TABLE table_16471432_4 (directed_by VARCHAR, series__number VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_16471432_4 WHERE series__number = 50 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directors were there in total for the episode with series #62?
### Context:
CREATE TABLE table_16471432_4 (directed_by VARCHAR, series__number VARCHAR) [/INST]
### Response:
SELECT COUNT(directed_by) FROM table_16471432_4 WHERE series__number = 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 are the nationalities of players who attended duke?
### Context:
CREATE TABLE table_16494599_10 (nationality VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT COUNT(nationality) FROM table_16494599_10 WHERE school_club_team = "Duke" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nationalities does athlete Casey Jacobsen have?
### Context:
CREATE TABLE table_16494599_10 (nationality VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(nationality) FROM table_16494599_10 WHERE player = "Casey Jacobsen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 players that have attended Stanford?
### Context:
CREATE TABLE table_16494599_10 (player VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT player FROM table_16494599_10 WHERE school_club_team = "Stanford" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 athletes play the position of guard?
### Context:
CREATE TABLE table_16494599_10 (player VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT COUNT(player) FROM table_16494599_10 WHERE position = "Guard" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
During what years did athletes who attended school in Minnesota play for the Grizzlies?
### Context:
CREATE TABLE table_16494599_10 (years_for_grizzlies VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT years_for_grizzlies FROM table_16494599_10 WHERE school_club_team = "Minnesota" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 players went to depaul?
### Context:
CREATE TABLE table_16494599_2 (player VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT COUNT(player) FROM table_16494599_2 WHERE school_club_team = "DePaul" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school did the player who was with the grizzles in 2011 attend?
### Context:
CREATE TABLE table_16494599_3 (school_club_team VARCHAR, years_for_grizzlies VARCHAR) [/INST]
### Response:
SELECT school_club_team FROM table_16494599_3 WHERE years_for_grizzlies = "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 players attended missouri?
### Context:
CREATE TABLE table_16494599_3 (player VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT player FROM table_16494599_3 WHERE school_club_team = "Missouri" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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(s) does the player from seton hall play?
### Context:
CREATE TABLE table_16494599_4 (position VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT position FROM table_16494599_4 WHERE school_club_team = "Seton Hall" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What number does the player who was with the grizzles in 1999 wear?
### Context:
CREATE TABLE table_16494599_4 (no INTEGER, years_for_grizzlies VARCHAR) [/INST]
### Response:
SELECT MIN(no) FROM table_16494599_4 WHERE years_for_grizzlies = "1999" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 players play guard?
### Context:
CREATE TABLE table_16494599_4 (player VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT player FROM table_16494599_4 WHERE position = "Guard" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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(s) do players from bowling green play?
### Context:
CREATE TABLE table_16494599_4 (position VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT position FROM table_16494599_4 WHERE school_club_team = "Bowling Green" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 losses for leslie mann
### Context:
CREATE TABLE table_16512618_1 (losses INTEGER, manager VARCHAR) [/INST]
### Response:
SELECT MAX(losses) FROM table_16512618_1 WHERE manager = "Leslie Mann" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vacator whre the district is new jersey 2nd?
### Context:
CREATE TABLE table_1651764_3 (vacator VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT vacator FROM table_1651764_3 WHERE district = "New Jersey 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 date the successor seated because the person died august 17, 1954?
### Context:
CREATE TABLE table_1652224_5 (date_successor_seated VARCHAR, reason_for_change VARCHAR) [/INST]
### Response:
SELECT date_successor_seated FROM table_1652224_5 WHERE reason_for_change = "Died August 17, 1954" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 successor for district ohio 15th?
### Context:
CREATE TABLE table_1652224_5 (successor VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT successor FROM table_1652224_5 WHERE district = "Ohio 15th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for reason for change is district michigan 3rd?
### Context:
CREATE TABLE table_1652224_5 (reason_for_change VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT COUNT(reason_for_change) FROM table_1652224_5 WHERE district = "Michigan 3rd" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 day did ARchie Roberts die?
### Context:
CREATE TABLE table_16527640_3 (date_of_death VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT date_of_death FROM table_16527640_3 WHERE player = "Archie Roberts" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 location had a VFL Game number of 9?
### Context:
CREATE TABLE table_16527640_3 (location VARCHAR, vfl_games VARCHAR) [/INST]
### Response:
SELECT location FROM table_16527640_3 WHERE vfl_games = 9 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 VFL games were located off Goodenough Island Milne Bay?
### Context:
CREATE TABLE table_16527640_3 (vfl_games VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT vfl_games FROM table_16527640_3 WHERE location = "off Goodenough Island Milne Bay" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 3rd stage for parameter of thrust
### Context:
CREATE TABLE table_16537783_2 (parameter VARCHAR) [/INST]
### Response:
SELECT 3 AS rd_stage FROM table_16537783_2 WHERE parameter = "Thrust" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1st stage for parameter being diameter
### Context:
CREATE TABLE table_16537783_2 (parameter VARCHAR) [/INST]
### Response:
SELECT 1 AS st_stage FROM table_16537783_2 WHERE parameter = "Diameter" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 archbishop was ordained as bishop November 30, 1925?
### Context:
CREATE TABLE table_1656555_1 (archbishop VARCHAR, ordained_bishop VARCHAR) [/INST]
### Response:
SELECT archbishop FROM table_1656555_1 WHERE ordained_bishop = "November 30, 1925" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 death date of the archbishop who was ordained as bishop April 26, 1927?
### Context:
CREATE TABLE table_1656555_1 (died VARCHAR, ordained_bishop VARCHAR) [/INST]
### Response:
SELECT died FROM table_1656555_1 WHERE ordained_bishop = "April 26, 1927" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 appointed archbishops were ordained as priests on December 20, 1959
### Context:
CREATE TABLE table_1656555_1 (Appointed VARCHAR, ordained_priest VARCHAR) [/INST]
### Response:
SELECT COUNT(Appointed) AS archbishop FROM table_1656555_1 WHERE ordained_priest = "December 20, 1959" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was the person ordained as a priest in December 1838 ordained as a bishop?
### Context:
CREATE TABLE table_1656555_1 (ordained_bishop VARCHAR, ordained_priest VARCHAR) [/INST]
### Response:
SELECT ordained_bishop FROM table_1656555_1 WHERE ordained_priest = "December 1838" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When was the archbishop who vacated the throne on August 18, 1885 ordained as a priest?
### Context:
CREATE TABLE table_1656555_1 (ordained_priest VARCHAR, vacated_throne VARCHAR) [/INST]
### Response:
SELECT ordained_priest FROM table_1656555_1 WHERE vacated_throne = "August 18, 1885" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 players Bowled 4/125?
### Context:
CREATE TABLE table_16570286_4 (player VARCHAR, best_bowling VARCHAR) [/INST]
### Response:
SELECT COUNT(player) FROM table_16570286_4 WHERE best_bowling = "4/125" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What number of wickets were there when the average was 22.66?
### Context:
CREATE TABLE table_16570286_4 (wickets INTEGER, average VARCHAR) [/INST]
### Response:
SELECT MAX(wickets) FROM table_16570286_4 WHERE average = "22.66" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wickets were there when average was 22.66?
### Context:
CREATE TABLE table_16570286_4 (wickets VARCHAR, average VARCHAR) [/INST]
### Response:
SELECT wickets FROM table_16570286_4 WHERE average = "22.66" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 best bowling score when the average was 23.33?
### Context:
CREATE TABLE table_16570286_4 (best_bowling VARCHAR, average VARCHAR) [/INST]
### Response:
SELECT best_bowling FROM table_16570286_4 WHERE average = "23.33" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many matches had 11 wickets?
### Context:
CREATE TABLE table_16570286_4 (matches INTEGER, wickets VARCHAR) [/INST]
### Response:
SELECT MAX(matches) FROM table_16570286_4 WHERE wickets = 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 wickets did Alec bedser have?
### Context:
CREATE TABLE table_16570286_4 (wickets INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MAX(wickets) FROM table_16570286_4 WHERE player = "Alec Bedser" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 picked dimitri tsoumpas?
### Context:
CREATE TABLE table_16575609_1 (cfl_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT cfl_team FROM table_16575609_1 WHERE player = "Dimitri Tsoumpas" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the winnipeg blue bombers draft?
### Context:
CREATE TABLE table_16575609_1 (position VARCHAR, cfl_team VARCHAR) [/INST]
### Response:
SELECT position FROM table_16575609_1 WHERE cfl_team = "Winnipeg Blue Bombers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Brendon Labatte get picked?
### Context:
CREATE TABLE table_16575609_1 (pick__number INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MIN(pick__number) FROM table_16575609_1 WHERE player = "Brendon LaBatte" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 picked a player from Weber State?
### Context:
CREATE TABLE table_16575609_1 (cfl_team VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT cfl_team FROM table_16575609_1 WHERE college = "Weber 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 position was taken out of Louisiana-Lafayette?
### Context:
CREATE TABLE table_16575609_1 (position VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT position FROM table_16575609_1 WHERE college = "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:
Name the college for calgary stampeders
### Context:
CREATE TABLE table_16575609_4 (college VARCHAR, cfl_team VARCHAR) [/INST]
### Response:
SELECT college FROM table_16575609_4 WHERE cfl_team = "Calgary Stampeders" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pick number for cfl team being edmonton eskimos
### Context:
CREATE TABLE table_16575609_4 (pick__number INTEGER, cfl_team VARCHAR) [/INST]
### Response:
SELECT MAX(pick__number) FROM table_16575609_4 WHERE cfl_team = "Edmonton Eskimos" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 days are associated with production code 210?
### Context:
CREATE TABLE table_16581695_3 (original_airdate VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT COUNT(original_airdate) FROM table_16581695_3 WHERE production_code = 210 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many titles have a production code of 211?
### Context:
CREATE TABLE table_16581695_3 (title VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT COUNT(title) FROM table_16581695_3 WHERE production_code = 211 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many seasons have a production code of 204?
### Context:
CREATE TABLE table_16581695_3 (no_in_season VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT COUNT(no_in_season) FROM table_16581695_3 WHERE production_code = 204 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What title was written by Matt Wayne?
### Context:
CREATE TABLE table_16581695_3 (title VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT title FROM table_16581695_3 WHERE written_by = "Matt Wayne" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series episode number of the episode with production code 303?
### Context:
CREATE TABLE table_16581695_4 (no_in_series VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT no_in_series FROM table_16581695_4 WHERE production_code = "303" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode 15 in season 3?
### Context:
CREATE TABLE table_16581695_4 (production_code VARCHAR, no_in_season VARCHAR) [/INST]
### Response:
SELECT production_code FROM table_16581695_4 WHERE no_in_season = "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:
Who directed episode 12 in season 3?
### Context:
CREATE TABLE table_16581695_4 (directed_by VARCHAR, no_in_season VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_16581695_4 WHERE no_in_season = "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:
How many tree species are listed when the total plant species is 258?
### Context:
CREATE TABLE table_16577990_1 (tree_species VARCHAR, total_plant_species VARCHAR) [/INST]
### Response:
SELECT tree_species FROM table_16577990_1 WHERE total_plant_species = 258 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tree species are there when the total plant species is 113?
### Context:
CREATE TABLE table_16577990_1 (tree_species VARCHAR, total_plant_species VARCHAR) [/INST]
### Response:
SELECT COUNT(tree_species) FROM table_16577990_1 WHERE total_plant_species = 113 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 size of Itwara central forest reserve?
### Context:
CREATE TABLE table_16577990_1 (size_in_km² INTEGER, central_forest_reserve VARCHAR) [/INST]
### Response:
SELECT MIN(size_in_km²) FROM table_16577990_1 WHERE central_forest_reserve = "Itwara" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tree species are in the kitechura reserve?
### Context:
CREATE TABLE table_16577990_1 (tree_species VARCHAR, central_forest_reserve VARCHAR) [/INST]
### Response:
SELECT tree_species FROM table_16577990_1 WHERE central_forest_reserve = "Kitechura" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode titles have 17.93 million U.S. viewers?
### Context:
CREATE TABLE table_16617025_1 (title VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT title FROM table_16617025_1 WHERE us_viewers__millions_ = "17.93" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What episode titles have 20.94 million U.S. viewers?
### Context:
CREATE TABLE table_16617025_1 (title VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT title FROM table_16617025_1 WHERE us_viewers__millions_ = "20.94" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In what seasons did Kate Woods direct Without A Trace?
### Context:
CREATE TABLE table_16617025_1 (season__number VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT season__number FROM table_16617025_1 WHERE directed_by = "Kate Woods" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Season 8?
### Context:
CREATE TABLE table_16617025_1 (written_by VARCHAR, season__number VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_16617025_1 WHERE season__number = 8 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When did the country that produced 1,213,000 (21st) bbl/day join Opec?
### Context:
CREATE TABLE table_166346_1 (joined_opec VARCHAR, production___bbl__day_ VARCHAR) [/INST]
### Response:
SELECT joined_opec FROM table_166346_1 WHERE production___bbl__day_ = "1,213,000 (21st)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the minimum area in square kilometers that produced 3,200,000 (12th) bbl/day?
### Context:
CREATE TABLE table_166346_1 (area__km²_ INTEGER, production___bbl__day_ VARCHAR) [/INST]
### Response:
SELECT MIN(area__km²_) FROM table_166346_1 WHERE production___bbl__day_ = "3,200,000 (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:
What is the highest poplulation in July 2012 in the country with an area of 2149690 square kilometers?
### Context:
CREATE TABLE table_166346_1 (population__july_2012_ INTEGER, area__km²_ VARCHAR) [/INST]
### Response:
SELECT MAX(population__july_2012_) FROM table_166346_1 WHERE area__km²_ = 2149690 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 regions had a production (bbl/day) of 1,213,000 (21st)?
### Context:
CREATE TABLE table_166346_1 (region VARCHAR, production___bbl__day_ VARCHAR) [/INST]
### Response:
SELECT region FROM table_166346_1 WHERE production___bbl__day_ = "1,213,000 (21st)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which country had a production (bbl/day) of 2,494,000 (10th)?
### Context:
CREATE TABLE table_166346_1 (country VARCHAR, production___bbl__day_ VARCHAR) [/INST]
### Response:
SELECT country FROM table_166346_1 WHERE production___bbl__day_ = "2,494,000 (10th)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 all the approved treatments for the target CD30?
### Context:
CREATE TABLE table_1661124_1 (approved_treatment_s_ VARCHAR, target VARCHAR) [/INST]
### Response:
SELECT approved_treatment_s_ FROM table_1661124_1 WHERE target = "CD30" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 brand name for the antibody Brentuximab Vedotin?
### Context:
CREATE TABLE table_1661124_1 (brand_name VARCHAR, antibody VARCHAR) [/INST]
### Response:
SELECT brand_name FROM table_1661124_1 WHERE antibody = "Brentuximab vedotin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 targets are there with an approval date of 1997?
### Context:
CREATE TABLE table_1661124_1 (target VARCHAR, approval_date VARCHAR) [/INST]
### Response:
SELECT COUNT(target) FROM table_1661124_1 WHERE approval_date = 1997 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 approved treatments when the antibody is bevacizumab?
### Context:
CREATE TABLE table_1661124_1 (approved_treatment_s_ VARCHAR, antibody VARCHAR) [/INST]
### Response:
SELECT approved_treatment_s_ FROM table_1661124_1 WHERE antibody = "Bevacizumab" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 target when the approved treatment is non-hodgkin lymphoma?
### Context:
CREATE TABLE table_1661124_1 (target VARCHAR, approved_treatment_s_ VARCHAR) [/INST]
### Response:
SELECT target FROM table_1661124_1 WHERE approved_treatment_s_ = "non-Hodgkin lymphoma" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 target with an approval date of 2006?
### Context:
CREATE TABLE table_1661124_1 (target VARCHAR, approval_date VARCHAR) [/INST]
### Response:
SELECT target FROM table_1661124_1 WHERE approval_date = 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:
What is the rural population percentage in 1979?
### Context:
CREATE TABLE table_16645_1 (__percentage VARCHAR, rural INTEGER, year__january_ VARCHAR) [/INST]
### Response:
SELECT MIN(rural), __percentage FROM table_16645_1 WHERE year__january_ = 1979 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 percentage figures are given for the urban population when the total population number is 14685?
### Context:
CREATE TABLE table_16645_1 (__percentage VARCHAR, urban VARCHAR, population__000_ VARCHAR) [/INST]
### Response:
SELECT COUNT(urban), __percentage FROM table_16645_1 WHERE population__000_ = 14685 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tajik is the ethnicity what is islam?
### Context:
CREATE TABLE table_16642_1 (islam VARCHAR, ethnicity VARCHAR) [/INST]
### Response:
SELECT islam FROM table_16642_1 WHERE ethnicity = "Tajik" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had a length of 455?
### Context:
CREATE TABLE table_16654785_2 (name VARCHAR, length__m_ VARCHAR) [/INST]
### Response:
SELECT COUNT(name) FROM table_16654785_2 WHERE length__m_ = 455 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 average climb for Tenbosse?
### Context:
CREATE TABLE table_16654785_2 (average_climb___percentage_ INTEGER, name VARCHAR) [/INST]
### Response:
SELECT MIN(average_climb___percentage_) FROM table_16654785_2 WHERE name = "Tenbosse" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 have a kilometers of 233?
### Context:
CREATE TABLE table_16654785_2 (number VARCHAR, kilometer VARCHAR) [/INST]
### Response:
SELECT number FROM table_16654785_2 WHERE kilometer = 233 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 have a length of 375?
### Context:
CREATE TABLE table_16654785_2 (average_climb___percentage_ VARCHAR, length__m_ VARCHAR) [/INST]
### Response:
SELECT COUNT(average_climb___percentage_) FROM table_16654785_2 WHERE length__m_ = 375 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team's playoff status in 2011?
### Context:
CREATE TABLE table_16636344_1 (playoffs VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT playoffs FROM table_16636344_1 WHERE year = "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 was the team's league in 2010?
### Context:
CREATE TABLE table_16636344_1 (league VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT league FROM table_16636344_1 WHERE year = "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 league name for the regular season status of 2nd, mid atlantic?
### Context:
CREATE TABLE table_16636344_1 (league VARCHAR, regular_season VARCHAR) [/INST]
### Response:
SELECT league FROM table_16636344_1 WHERE regular_season = "2nd, Mid Atlantic" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winning driver at Okayama International Circuit?
### Context:
CREATE TABLE table_16670746_2 (winning_driver VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT winning_driver FROM table_16670746_2 WHERE circuit = "Okayama International circuit" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had the fastest lap when the winning team was Tom's Racing?
### Context:
CREATE TABLE table_16670746_2 (fastest_lap VARCHAR, winning_team VARCHAR) [/INST]
### Response:
SELECT fastest_lap FROM table_16670746_2 WHERE winning_team = "TOM'S Racing" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who had the fastest lap in the race won by Team Impul at the Twin Ring Motegi circuit?
### Context:
CREATE TABLE table_16670746_2 (fastest_lap VARCHAR, winning_team VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT fastest_lap FROM table_16670746_2 WHERE winning_team = "Team Impul" AND circuit = "Twin Ring Motegi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponents did the team play in week 13?
### Context:
CREATE TABLE table_16677874_2 (opponents VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT COUNT(opponents) FROM table_16677874_2 WHERE game = 13 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponent score on Sept. 14?
### Context:
CREATE TABLE table_16677887_2 (opponents INTEGER, date VARCHAR) [/INST]
### Response:
SELECT MAX(opponents) FROM table_16677887_2 WHERE date = "Sept. 14" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What team were the bills playing where their first down was 23?
### Context:
CREATE TABLE table_16677887_2 (opponent VARCHAR, bills_first_downs VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_16677887_2 WHERE bills_first_downs = 23 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the record for the game on Sept. 14?
### Context:
CREATE TABLE table_16677887_2 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_16677887_2 WHERE date = "Sept. 14" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When 12743 is the spelthorne what is the largest gore hundred?
### Context:
CREATE TABLE table_16677738_1 (gore_hundred INTEGER, spelthorne_hundred VARCHAR) [/INST]
### Response:
SELECT MAX(gore_hundred) FROM table_16677738_1 WHERE spelthorne_hundred = 12743 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1546 is inns of court and chancery what is the finsbury division?
### Context:
CREATE TABLE table_16677738_1 (finsbury_division VARCHAR, inns_of_court_and_chancery VARCHAR) [/INST]
### Response:
SELECT finsbury_division FROM table_16677738_1 WHERE inns_of_court_and_chancery = 1546 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 overall year?
### Context:
CREATE TABLE table_16677738_1 (year INTEGER) [/INST]
### Response:
SELECT MIN(year) FROM table_16677738_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:
When 70489 is without walls what is the inns of court and chancery?
### Context:
CREATE TABLE table_16677738_1 (inns_of_court_and_chancery VARCHAR, without_the_walls VARCHAR) [/INST]
### Response:
SELECT inns_of_court_and_chancery FROM table_16677738_1 WHERE without_the_walls = 70489 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 within the walls is larger than 56174.0 what is the lowest amount without the walls?
### Context:
CREATE TABLE table_16677738_1 (without_the_walls INTEGER, within_the_walls INTEGER) [/INST]
### Response:
SELECT MIN(without_the_walls) FROM table_16677738_1 WHERE within_the_walls > 56174.0 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When 272966 is the tower division what is the highest holborn division?
### Context:
CREATE TABLE table_16677738_1 (holborn_division INTEGER, tower_division VARCHAR) [/INST]
### Response:
SELECT MAX(holborn_division) FROM table_16677738_1 WHERE tower_division = 272966 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stolen ends against for Japan?
### Context:
CREATE TABLE table_16684420_2 (stolen_ends_against INTEGER, country VARCHAR, Japan VARCHAR) [/INST]
### Response:
SELECT MAX(stolen_ends_against) FROM table_16684420_2 WHERE country = Japan </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 skip when the stolen ends against was 13?
### Context:
CREATE TABLE table_16684420_2 (skip VARCHAR, stolen_ends_against VARCHAR) [/INST]
### Response:
SELECT skip FROM table_16684420_2 WHERE stolen_ends_against = 13 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 batting partners for the 1997 season?
### Context:
CREATE TABLE table_1670921_1 (batting_partners VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT batting_partners FROM table_1670921_1 WHERE season = "1997" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 season reported wickets of 7th?
### Context:
CREATE TABLE table_1670921_1 (season VARCHAR, wicket VARCHAR) [/INST]
### Response:
SELECT season FROM table_1670921_1 WHERE wicket = "7th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is 9th in wickets?
### Context:
CREATE TABLE table_1670921_1 (fielding_team VARCHAR, wicket VARCHAR) [/INST]
### Response:
SELECT fielding_team FROM table_1670921_1 WHERE wicket = "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 is the venue for batting partners Mahela Jayawardene and Prasanna Jayawardene
### Context:
CREATE TABLE table_1670921_1 (venue VARCHAR, batting_partners VARCHAR) [/INST]
### Response:
SELECT venue FROM table_1670921_1 WHERE batting_partners = "Mahela Jayawardene and Prasanna Jayawardene" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are listed for 3rd wickets?
### Context:
CREATE TABLE table_1670921_1 (batting_team VARCHAR, wicket VARCHAR) [/INST]
### Response:
SELECT COUNT(batting_team) FROM table_1670921_1 WHERE wicket = "3rd" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many total batting partners were most successful in the 2006 season?
### Context:
CREATE TABLE table_1670921_2 (batting_partners VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT COUNT(batting_partners) FROM table_1670921_2 WHERE season = "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:
What batting partners batted for pakistan?
### Context:
CREATE TABLE table_1670921_2 (batting_partners VARCHAR, batting_team VARCHAR) [/INST]
### Response:
SELECT batting_partners FROM table_1670921_2 WHERE batting_team = "Pakistan" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.