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:
Name the english gloss for haŋȟ’áŋna
### Context:
CREATE TABLE table_1499774_5 (english_gloss VARCHAR, santee_sisseton VARCHAR) [/INST]
### Response:
SELECT english_gloss FROM table_1499774_5 WHERE santee_sisseton = "haŋȟ’áŋna" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 english gloss for wakȟáŋyeža
### Context:
CREATE TABLE table_1499774_5 (english_gloss VARCHAR, northern_lakota VARCHAR) [/INST]
### Response:
SELECT COUNT(english_gloss) FROM table_1499774_5 WHERE northern_lakota = "wakȟáŋyeža" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the first year of the Lithuanian National Badminton Championships?
### Context:
CREATE TABLE table_15001753_1 (year INTEGER) [/INST]
### Response:
SELECT MIN(year) FROM table_15001753_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 years did aivaras kvedarauskas juozas spelveris participate in the men's doubles?
### Context:
CREATE TABLE table_15001753_1 (year VARCHAR, mens_doubles VARCHAR) [/INST]
### Response:
SELECT COUNT(year) FROM table_15001753_1 WHERE mens_doubles = "Aivaras Kvedarauskas Juozas Spelveris" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2004, where the womens singles is daniela kressig who is the mens singles
### Context:
CREATE TABLE table_15001681_1 (mens_singles VARCHAR, womens_singles VARCHAR) [/INST]
### Response:
SELECT mens_singles FROM table_15001681_1 WHERE womens_singles = "Daniela Kressig" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 most current year where the women's doubles champions are astrid eidenbenz claudia jehle
### Context:
CREATE TABLE table_15001681_1 (year INTEGER, womens_doubles VARCHAR) [/INST]
### Response:
SELECT MAX(year) FROM table_15001681_1 WHERE womens_doubles = "Astrid Eidenbenz Claudia Jehle" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the year 2006, the womens singles had no competition and the mens doubles were roland hilti kilian pfister, what were the womens doubles
### Context:
CREATE TABLE table_15001681_1 (womens_doubles VARCHAR, year VARCHAR, womens_singles VARCHAR, mens_doubles VARCHAR) [/INST]
### Response:
SELECT womens_doubles FROM table_15001681_1 WHERE womens_singles = "no competition" AND mens_doubles = "Roland Hilti Kilian Pfister" AND year = 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:
In 2001, where the mens singles is armand jehle and the womens singles is michaela ritter, who are the mixed doubles
### Context:
CREATE TABLE table_15001681_1 (mixed_doubles VARCHAR, womens_singles VARCHAR, mens_singles VARCHAR) [/INST]
### Response:
SELECT mixed_doubles FROM table_15001681_1 WHERE womens_singles = "Michaela Ritter" AND mens_singles = "Armand Jehle" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1987 who was the mens singles
### Context:
CREATE TABLE table_15001681_1 (mens_singles VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT mens_singles FROM table_15001681_1 WHERE year = 1987 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the rhel release date when scientific linux release is 3.0.4
### Context:
CREATE TABLE table_1500146_1 (rhel_release_date VARCHAR, scientific_linux_release VARCHAR) [/INST]
### Response:
SELECT rhel_release_date FROM table_1500146_1 WHERE scientific_linux_release = "3.0.4" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the delay when scientific linux release is 5.10
### Context:
CREATE TABLE table_1500146_1 (delay VARCHAR, scientific_linux_release VARCHAR) [/INST]
### Response:
SELECT delay FROM table_1500146_1 WHERE scientific_linux_release = "5.10" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the scientific linux release when delay is 28d
### Context:
CREATE TABLE table_1500146_1 (scientific_linux_release VARCHAR, delay VARCHAR) [/INST]
### Response:
SELECT scientific_linux_release FROM table_1500146_1 WHERE delay = "28d" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 United States rank?
### Context:
CREATE TABLE table_150343_3 (rank VARCHAR, country_territory VARCHAR) [/INST]
### Response:
SELECT COUNT(rank) FROM table_150343_3 WHERE country_territory = "United States" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Venezuela's total rank?
### Context:
CREATE TABLE table_150343_3 (total VARCHAR, country_territory VARCHAR) [/INST]
### Response:
SELECT total FROM table_150343_3 WHERE country_territory = "Venezuela" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Iceland's total?
### Context:
CREATE TABLE table_150343_3 (total VARCHAR, country_territory VARCHAR) [/INST]
### Response:
SELECT COUNT(total) FROM table_150343_3 WHERE country_territory = "Iceland" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 worst (highest) score?
### Context:
CREATE TABLE table_1506950_4 (score INTEGER) [/INST]
### Response:
SELECT MAX(score) FROM table_1506950_4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What days were the rounds of 66-67-70-67 recorded?
### Context:
CREATE TABLE table_1506950_4 (date VARCHAR, rounds VARCHAR) [/INST]
### Response:
SELECT date FROM table_1506950_4 WHERE rounds = "66-67-70-67" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What country hosts the tournament the open championship?
### Context:
CREATE TABLE table_1506950_4 (country VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT country FROM table_1506950_4 WHERE tournament = "The Open Championship" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 finished 2nd?
### Context:
CREATE TABLE table_1506950_4 (player VARCHAR, finish VARCHAR) [/INST]
### Response:
SELECT player FROM table_1506950_4 WHERE finish = "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 YEAR WAS IT WHEN THE SCORE WAS 3 & 2?
### Context:
CREATE TABLE table_1507806_1 (year VARCHAR, winning_score VARCHAR) [/INST]
### Response:
SELECT year FROM table_1507806_1 WHERE winning_score = "3 & 2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
HOW MANY YEARS WAS IT FOR THE SCORE (76-73-79-72=300)?
### Context:
CREATE TABLE table_1507806_1 (year VARCHAR, winning_score VARCHAR) [/INST]
### Response:
SELECT COUNT(year) FROM table_1507806_1 WHERE winning_score = (76 - 73 - 79 - 72 = 300) </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 YEAR WHEN THE RUNNER-UP WAS WILLIAM MEHLHORN?
### Context:
CREATE TABLE table_1507806_1 (year INTEGER, runner_up VARCHAR) [/INST]
### Response:
SELECT MAX(year) FROM table_1507806_1 WHERE runner_up = "William Mehlhorn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
WHAT YEAR DID MIKE BRADY GET RUNNER-UP?
### Context:
CREATE TABLE table_1507806_1 (year INTEGER, runner_up VARCHAR) [/INST]
### Response:
SELECT MIN(year) FROM table_1507806_1 WHERE runner_up = "Mike Brady" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 WINNING SCORE IN YEAR 1922?
### Context:
CREATE TABLE table_1507806_1 (winning_score VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT winning_score FROM table_1507806_1 WHERE year = 1922 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what's the cancelable with bubbles being yes
### Context:
CREATE TABLE table_1507852_5 (cancelable VARCHAR, bubbles VARCHAR) [/INST]
### Response:
SELECT cancelable FROM table_1507852_5 WHERE bubbles = "Yes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what's the bubbles with attribute being onpopuphidden
### Context:
CREATE TABLE table_1507852_5 (bubbles VARCHAR, attribute VARCHAR) [/INST]
### Response:
SELECT bubbles FROM table_1507852_5 WHERE attribute = "onpopuphidden" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bubbles with category being input
### Context:
CREATE TABLE table_1507852_5 (bubbles VARCHAR, category VARCHAR) [/INST]
### Response:
SELECT COUNT(bubbles) FROM table_1507852_5 WHERE category = "Input" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what's the type with description being fires when the overflow state changes.
### Context:
CREATE TABLE table_1507852_5 (type VARCHAR, description VARCHAR) [/INST]
### Response:
SELECT type FROM table_1507852_5 WHERE description = "Fires when the overflow state changes." </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what's the attribute with cancelable being yes
### Context:
CREATE TABLE table_1507852_5 (attribute VARCHAR, cancelable VARCHAR) [/INST]
### Response:
SELECT attribute FROM table_1507852_5 WHERE cancelable = "Yes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original air date for the episode with a production code of 318?
### Context:
CREATE TABLE table_15185133_1 (original_air_date VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_15185133_1 WHERE production_code = 318 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What season has an episode written by john o'bryan and directed by ethan spaulding?
### Context:
CREATE TABLE table_15185133_1 (no_in_season VARCHAR, written_by VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT no_in_season FROM table_15185133_1 WHERE written_by = "John O'Bryan" AND directed_by = "Ethan Spaulding" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segments involve wood boring augers
### Context:
CREATE TABLE table_15187735_17 (segment_a VARCHAR, segment_d VARCHAR) [/INST]
### Response:
SELECT segment_a FROM table_15187735_17 WHERE segment_d = "Wood Boring Augers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
for the shows featuring beet sugar, what was on before that
### Context:
CREATE TABLE table_15187735_17 (segment_b VARCHAR, segment_c VARCHAR) [/INST]
### Response:
SELECT segment_b FROM table_15187735_17 WHERE segment_c = "Beet Sugar" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
are rolled wafers in many episodes
### Context:
CREATE TABLE table_15187735_17 (series_ep VARCHAR, segment_a VARCHAR) [/INST]
### Response:
SELECT series_ep FROM table_15187735_17 WHERE segment_a = "Rolled Wafers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 best actor for uncle boonmee who can recall his past lives
### Context:
CREATE TABLE table_15301258_1 (best_actor VARCHAR, best_film VARCHAR) [/INST]
### Response:
SELECT best_actor FROM table_15301258_1 WHERE best_film = "Uncle Boonmee Who Can Recall His Past Lives" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 best director for mother
### Context:
CREATE TABLE table_15301258_1 (best_director VARCHAR, best_film VARCHAR) [/INST]
### Response:
SELECT best_director FROM table_15301258_1 WHERE best_film = "Mother" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the year for sammo hung for ip man 2
### Context:
CREATE TABLE table_15301258_1 (year VARCHAR, best_supporting_actor VARCHAR) [/INST]
### Response:
SELECT year FROM table_15301258_1 WHERE best_supporting_actor = "Sammo Hung for Ip Man 2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the best supporting actress for sun honglei for mongol
### Context:
CREATE TABLE table_15301258_1 (best_supporting_actress VARCHAR, best_supporting_actor VARCHAR) [/INST]
### Response:
SELECT best_supporting_actress FROM table_15301258_1 WHERE best_supporting_actor = "Sun Honglei for Mongol" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many years was Jiyai Shin the champion?
### Context:
CREATE TABLE table_1529260_2 (year VARCHAR, champion VARCHAR) [/INST]
### Response:
SELECT COUNT(year) FROM table_1529260_2 WHERE champion = "Jiyai Shin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 countries have a margin of victory at 6 strokes?
### Context:
CREATE TABLE table_1529260_2 (country VARCHAR, margin_of_victory VARCHAR) [/INST]
### Response:
SELECT country FROM table_1529260_2 WHERE margin_of_victory = "6 strokes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 dollars is the purse when the margin of victory is 8 strokes?
### Context:
CREATE TABLE table_1529260_2 (purse___us VARCHAR, margin_of_victory VARCHAR) [/INST]
### Response:
SELECT COUNT(purse___us) AS $__ FROM table_1529260_2 WHERE margin_of_victory = "8 strokes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year listed?
### Context:
CREATE TABLE table_1529260_2 (year INTEGER) [/INST]
### Response:
SELECT MIN(year) FROM table_1529260_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:
At what date is the score 66-72-64-65=267?
### Context:
CREATE TABLE table_1529260_2 (dates VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT dates FROM table_1529260_2 WHERE score = 66 - 72 - 64 - 65 = 267 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 #2 on the list?
### Context:
CREATE TABLE table_15313204_1 (records VARCHAR, _number VARCHAR) [/INST]
### Response:
SELECT COUNT(records) FROM table_15313204_1 WHERE _number = 2 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are the record(s) for the team with a winning percentage of .464?
### Context:
CREATE TABLE table_15313204_1 (records VARCHAR, pct VARCHAR) [/INST]
### Response:
SELECT records FROM table_15313204_1 WHERE pct = ".464" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points for paulistano
### Context:
CREATE TABLE table_15418319_1 (points VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT points FROM table_15418319_1 WHERE team = "Paulistano" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of titles for 3020 production code
### Context:
CREATE TABLE table_15472061_1 (title VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT COUNT(title) FROM table_15472061_1 WHERE production_code = "3020" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in the series for when the viewers is 7.78
### Context:
CREATE TABLE table_15472061_1 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT no_in_series FROM table_15472061_1 WHERE us_viewers__millions_ = "7.78" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original air date for when the number in season is 10/11
### Context:
CREATE TABLE table_15472061_1 (original_air_date VARCHAR, no_in_season VARCHAR) [/INST]
### Response:
SELECT COUNT(original_air_date) FROM table_15472061_1 WHERE no_in_season = "10/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:
Which race number in the Indy F3 Challenge circuit had John Martin in pole position?
### Context:
CREATE TABLE table_15530244_2 (race VARCHAR, circuit VARCHAR, pole_position VARCHAR) [/INST]
### Response:
SELECT race FROM table_15530244_2 WHERE circuit = "Indy F3 Challenge" AND pole_position = "John Martin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 race number in the Phillip Island circuit with James Winslow as the winning driver and pole position?
### Context:
CREATE TABLE table_15530244_2 (race INTEGER, pole_position VARCHAR, circuit VARCHAR, winning_driver VARCHAR) [/INST]
### Response:
SELECT MAX(race) FROM table_15530244_2 WHERE circuit = "Phillip Island" AND winning_driver = "James Winslow" AND pole_position = "James Winslow" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the least amount of tackles for danny clark
### Context:
CREATE TABLE table_15581223_8 (tackles INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MIN(tackles) FROM table_15581223_8 WHERE player = "Danny Clark" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tackles for 3.5 sacks
### Context:
CREATE TABLE table_15581223_8 (tackles INTEGER, sacks VARCHAR) [/INST]
### Response:
SELECT MAX(tackles) FROM table_15581223_8 WHERE sacks = "3.5" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the least fum rec td
### Context:
CREATE TABLE table_15581223_8 (fum_rec INTEGER) [/INST]
### Response:
SELECT MIN(fum_rec) AS TD FROM table_15581223_8 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the least int yards when sacks is 11.5
### Context:
CREATE TABLE table_15581223_8 (int INTEGER, sacks VARCHAR) [/INST]
### Response:
SELECT MIN(int) AS yards FROM table_15581223_8 WHERE sacks = "11.5" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the least amount of int yards
### Context:
CREATE TABLE table_15581223_8 (int INTEGER) [/INST]
### Response:
SELECT MIN(int) AS yards FROM table_15581223_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:
What jersey number did Al Harrington wear
### Context:
CREATE TABLE table_15621965_8 (no INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MAX(no) FROM table_15621965_8 WHERE player = "Al Harrington" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Dwight Howard play for
### Context:
CREATE TABLE table_15621965_8 (school_club_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT school_club_team FROM table_15621965_8 WHERE player = "Dwight Howard" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 belong to Notre Dame?
### Context:
CREATE TABLE table_15621965_7 (player VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT COUNT(player) FROM table_15621965_7 WHERE school_club_team = "Notre Dame" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 identifies Chris Gatling?
### Context:
CREATE TABLE table_15621965_7 (no INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MAX(no) FROM table_15621965_7 WHERE player = "Chris Gatling" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 extortion and theft rates where the United Nations Observer Mission Uganda-Rwanda is active?
### Context:
CREATE TABLE table_15652027_1 (extortion_theft_3 VARCHAR, united_nations_mission VARCHAR) [/INST]
### Response:
SELECT extortion_theft_3 FROM table_15652027_1 WHERE united_nations_mission = "United Nations Observer Mission Uganda-Rwanda" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sexual abuse rate where the conflict is the Burundi Civil War?
### Context:
CREATE TABLE table_15652027_1 (sexual_abuse_1 INTEGER, conflict VARCHAR) [/INST]
### Response:
SELECT MIN(sexual_abuse_1) FROM table_15652027_1 WHERE conflict = "Burundi Civil War" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sexual abuse rate where the conflict is the Burundi Civil War?
### Context:
CREATE TABLE table_15652027_1 (sexual_abuse_1 INTEGER, conflict VARCHAR) [/INST]
### Response:
SELECT MAX(sexual_abuse_1) FROM table_15652027_1 WHERE conflict = "Burundi Civil War" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sexual abuse rate where the conflict is the Second Sudanese Civil War?
### Context:
CREATE TABLE table_15652027_1 (sexual_abuse_1 INTEGER, conflict VARCHAR) [/INST]
### Response:
SELECT MIN(sexual_abuse_1) FROM table_15652027_1 WHERE conflict = "Second Sudanese Civil War" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Kymberly Paige the Centerfold?
### Context:
CREATE TABLE table_1566848_8 (date VARCHAR, centerfold_model VARCHAR) [/INST]
### Response:
SELECT date FROM table_1566848_8 WHERE centerfold_model = "Kymberly Paige" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Kalin Olson listed as the centerfold model?
### Context:
CREATE TABLE table_1566850_8 (date VARCHAR, centerfold_model VARCHAR) [/INST]
### Response:
SELECT date FROM table_1566850_8 WHERE centerfold_model = "Kalin Olson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cover model on 3-97?
### Context:
CREATE TABLE table_1566850_8 (cover_model VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT cover_model FROM table_1566850_8 WHERE date = "3-97" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the centerfold model when a pictorial was done on marilyn monroe?
### Context:
CREATE TABLE table_1566850_8 (centerfold_model VARCHAR, pictorials VARCHAR) [/INST]
### Response:
SELECT centerfold_model FROM table_1566850_8 WHERE pictorials = "Marilyn 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 interview subject on the date 1-97?
### Context:
CREATE TABLE table_1566850_8 (interview_subject VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT interview_subject FROM table_1566850_8 WHERE date = "1-97" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the cover model when the issue's pictorials was pmoy - sara jean underwood?
### Context:
CREATE TABLE table_1566852_8 (cover_model VARCHAR, pictorials VARCHAR) [/INST]
### Response:
SELECT cover_model FROM table_1566852_8 WHERE pictorials = "PMOY - Sara Jean Underwood" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
List the pictorals from issues when lindsey roeper was the cover model.
### Context:
CREATE TABLE table_1566852_8 (pictorials VARCHAR, cover_model VARCHAR) [/INST]
### Response:
SELECT pictorials FROM table_1566852_8 WHERE cover_model = "Lindsey Roeper" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 centerfold model when the issue's pictorial was kimberly bell , bunnies of the new playboy club?
### Context:
CREATE TABLE table_1566852_8 (centerfold_model VARCHAR, pictorials VARCHAR) [/INST]
### Response:
SELECT centerfold_model FROM table_1566852_8 WHERE pictorials = "Kimberly Bell , Bunnies of the New Playboy Club" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 centerfold model when the issue's pictorial was amanda beard, reby sky , girls of montauk ?
### Context:
CREATE TABLE table_1566852_8 (centerfold_model VARCHAR, pictorials VARCHAR) [/INST]
### Response:
SELECT centerfold_model FROM table_1566852_8 WHERE pictorials = "Amanda Beard, Reby Sky , Girls of Montauk" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 answered the 20 questions on 10-07?
### Context:
CREATE TABLE table_1566852_8 (date VARCHAR) [/INST]
### Response:
SELECT 20 AS _questions FROM table_1566852_8 WHERE date = "10-07" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wickets for overs bowled being 15
### Context:
CREATE TABLE table_15700367_2 (wickets VARCHAR, overs_bowled VARCHAR) [/INST]
### Response:
SELECT wickets FROM table_15700367_2 WHERE overs_bowled = "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:
Name the total number of wickets being yuvraj singh
### Context:
CREATE TABLE table_15700367_2 (wickets VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT COUNT(wickets) FROM table_15700367_2 WHERE name = "Yuvraj Singh" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the name for when overs bowled is 31.2
### Context:
CREATE TABLE table_15700367_2 (name VARCHAR, overs_bowled VARCHAR) [/INST]
### Response:
SELECT name FROM table_15700367_2 WHERE overs_bowled = "31.2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the runs conceded where overs bowled is 53
### Context:
CREATE TABLE table_15700367_2 (runs_conceded VARCHAR, overs_bowled VARCHAR) [/INST]
### Response:
SELECT COUNT(runs_conceded) FROM table_15700367_2 WHERE overs_bowled = "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:
Name the maaidens where overs bowled is 13
### Context:
CREATE TABLE table_15700367_2 (maidens VARCHAR, overs_bowled VARCHAR) [/INST]
### Response:
SELECT maidens FROM table_15700367_2 WHERE overs_bowled = "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:
On what date was the race at Nazareth?
### Context:
CREATE TABLE table_15736385_1 (date VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT date FROM table_15736385_1 WHERE location = "Nazareth" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
At which location did Rick Mears drive?
### Context:
CREATE TABLE table_15736385_1 (location VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT location FROM table_15736385_1 WHERE driver = "Rick Mears" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 raced on October 19?
### Context:
CREATE TABLE table_15736385_1 (team VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT team FROM table_15736385_1 WHERE date = "October 19" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What engine does Galles Racing use?
### Context:
CREATE TABLE table_15736385_1 (engine VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT engine FROM table_15736385_1 WHERE team = "Galles 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:
What game happened on December 19?
### Context:
CREATE TABLE table_15780049_5 (game INTEGER, date VARCHAR) [/INST]
### Response:
SELECT MAX(game) FROM table_15780049_5 WHERE date = "December 19" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who scored the most points against Washington?
### Context:
CREATE TABLE table_15780049_5 (high_points VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_15780049_5 WHERE team = "Washington" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 municipalities located in the county of Finnmark have populations bigger than 6187.0?
### Context:
CREATE TABLE table_157826_1 (municipality VARCHAR, county VARCHAR, population VARCHAR) [/INST]
### Response:
SELECT municipality FROM table_157826_1 WHERE county = "Finnmark" AND population > 6187.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:
In which county is the city/town of Halden located?
### Context:
CREATE TABLE table_157826_1 (county VARCHAR, city_town VARCHAR) [/INST]
### Response:
SELECT county FROM table_157826_1 WHERE city_town = "Halden" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 municipality has a population of 24421?
### Context:
CREATE TABLE table_157826_1 (municipality VARCHAR, population VARCHAR) [/INST]
### Response:
SELECT municipality FROM table_157826_1 WHERE population = 24421 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 population in the city/town of Arendal?
### Context:
CREATE TABLE table_157826_1 (population VARCHAR, city_town VARCHAR) [/INST]
### Response:
SELECT COUNT(population) FROM table_157826_1 WHERE city_town = "Arendal" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cities/towns located in the municipality of Horten?
### Context:
CREATE TABLE table_157826_1 (city_town VARCHAR, municipality VARCHAR) [/INST]
### Response:
SELECT city_town FROM table_157826_1 WHERE municipality = "Horten" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cities/towns located in the municipality of Moss?
### Context:
CREATE TABLE table_157826_1 (city_town VARCHAR, municipality VARCHAR) [/INST]
### Response:
SELECT city_town FROM table_157826_1 WHERE municipality = "Moss" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the song choice when week number is hollywood
### Context:
CREATE TABLE table_15796054_3 (song_choice VARCHAR, week__number VARCHAR) [/INST]
### Response:
SELECT song_choice FROM table_15796054_3 WHERE week__number = "Hollywood" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the week number for andrew lloyd webber
### Context:
CREATE TABLE table_15796054_3 (week__number VARCHAR, theme VARCHAR) [/INST]
### Response:
SELECT week__number FROM table_15796054_3 WHERE theme = "Andrew Lloyd Webber" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the order number for the beatles and result is safe
### Context:
CREATE TABLE table_15796054_3 (order__number VARCHAR, original_artist VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT order__number FROM table_15796054_3 WHERE original_artist = "The Beatles" AND result = "Safe" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode written by Drew Z. Greenberg?
### Context:
CREATE TABLE table_158088_2 (production_code VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT production_code FROM table_158088_2 WHERE written_by = "Drew Z. Greenberg" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number 3?
### Context:
CREATE TABLE table_158088_2 (directed_by VARCHAR, episode_no VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_158088_2 WHERE episode_no = 3 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Season originally aired on September 17, 1955
### Context:
CREATE TABLE table_15824796_4 (season__number VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT season__number FROM table_15824796_4 WHERE original_air_date = "September 17, 1955" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest number of series?
### Context:
CREATE TABLE table_15824796_4 (series__number INTEGER) [/INST]
### Response:
SELECT MIN(series__number) FROM table_15824796_4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When did season 9 originally air?
### Context:
CREATE TABLE table_15824796_4 (original_air_date VARCHAR, season__number VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_15824796_4 WHERE season__number = 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:
On what date was the attendance at Continental Airlines Arena 13,755?
### Context:
CREATE TABLE table_15869204_4 (date VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT date FROM table_15869204_4 WHERE location_attendance = "Continental Airlines Arena 13,755" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.