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:
How many elevations are listed for Paratia?
### Context:
CREATE TABLE table_2251578_4 (elevation__m_ VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT COUNT(elevation__m_) FROM table_2251578_4 WHERE district = "Paratia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 province is in the district of Condoroma?
### Context:
CREATE TABLE table_2251578_4 (province VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT province FROM table_2251578_4 WHERE district = "Condoroma" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 reporters for 2003
### Context:
CREATE TABLE table_22514845_2 (reporters VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT reporters FROM table_22514845_2 WHERE year = 2003 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for race caller for bob costas and charlsie cantey
### Context:
CREATE TABLE table_22514845_2 (race_caller VARCHAR, trophy_presentation VARCHAR) [/INST]
### Response:
SELECT COUNT(race_caller) FROM table_22514845_2 WHERE trophy_presentation = "Bob Costas and Charlsie Cantey" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 race caller for the year 1994?
### Context:
CREATE TABLE table_22514845_3 (race_caller VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT race_caller FROM table_22514845_3 WHERE year = 1994 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 reporters for the year 1993?
### Context:
CREATE TABLE table_22514845_3 (reporters VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT COUNT(reporters) FROM table_22514845_3 WHERE year = 1993 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What were the starting odds for the opening odds of 2-1?
### Context:
CREATE TABLE table_22517564_3 (starting_odds VARCHAR, opening_odds VARCHAR) [/INST]
### Response:
SELECT starting_odds FROM table_22517564_3 WHERE opening_odds = "2-1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the jockey with opening odds of 4-1?
### Context:
CREATE TABLE table_22517564_3 (jockey VARCHAR, opening_odds VARCHAR) [/INST]
### Response:
SELECT jockey FROM table_22517564_3 WHERE opening_odds = "4-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 jockeys had eoin harty as a trainer
### Context:
CREATE TABLE table_22517564_3 (jockey VARCHAR, trainer VARCHAR) [/INST]
### Response:
SELECT COUNT(jockey) FROM table_22517564_3 WHERE trainer = "Eoin Harty" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 post had the horse named chocolate candy?
### Context:
CREATE TABLE table_22517564_3 (post VARCHAR, horse_name VARCHAR) [/INST]
### Response:
SELECT post FROM table_22517564_3 WHERE horse_name = "Chocolate Candy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every date successor seated for the Virginia 11th District?
### Context:
CREATE TABLE table_225199_4 (date_successor_seated VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT date_successor_seated FROM table_225199_4 WHERE district = "Virginia 11th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 successor for not filled this congress
### Context:
CREATE TABLE table_225200_4 (successor VARCHAR, date_successor_seated VARCHAR) [/INST]
### Response:
SELECT successor FROM table_225200_4 WHERE date_successor_seated = "Not filled this congress" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 district for rep. warren r. davis died during previous congress
### Context:
CREATE TABLE table_225200_4 (district VARCHAR, reason_for_change VARCHAR) [/INST]
### Response:
SELECT district FROM table_225200_4 WHERE reason_for_change = "Rep. Warren R. Davis died during previous congress" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 reason for change for not filled this congress
### Context:
CREATE TABLE table_225200_4 (reason_for_change VARCHAR, date_successor_seated VARCHAR) [/INST]
### Response:
SELECT COUNT(reason_for_change) FROM table_225200_4 WHERE date_successor_seated = "Not filled this congress" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vacator for resigned february 26, 1836 because of ill health
### Context:
CREATE TABLE table_225200_4 (vacator VARCHAR, reason_for_change VARCHAR) [/INST]
### Response:
SELECT vacator FROM table_225200_4 WHERE reason_for_change = "Resigned February 26, 1836 because of ill health" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vacator for failure to elect
### Context:
CREATE TABLE table_225205_3 (vacator VARCHAR, reason_for_change VARCHAR) [/INST]
### Response:
SELECT vacator FROM table_225205_3 WHERE reason_for_change = "Failure to elect" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 state class for iowa admitted to the union december 28, 1846
### Context:
CREATE TABLE table_225205_3 (state__class_ VARCHAR, reason_for_change VARCHAR) [/INST]
### Response:
SELECT state__class_ FROM table_225205_3 WHERE reason_for_change = "Iowa admitted to the Union December 28, 1846" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vacator when the reason for change was failure to elect?
### Context:
CREATE TABLE table_225206_3 (vacator VARCHAR, reason_for_change VARCHAR) [/INST]
### Response:
SELECT vacator FROM table_225206_3 WHERE reason_for_change = "Failure to elect" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nat for total g of 6
### Context:
CREATE TABLE table_22542179_3 (nat VARCHAR, total_g VARCHAR) [/INST]
### Response:
SELECT COUNT(nat) FROM table_22542179_3 WHERE total_g = 6 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the l g for rubio
### Context:
CREATE TABLE table_22542179_3 (l_g VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT l_g FROM table_22542179_3 WHERE player = "Rubio" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total apaps for txema
### Context:
CREATE TABLE table_22542179_3 (total_apps INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MIN(total_apps) FROM table_22542179_3 WHERE player = "Txema" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 administrative centre is egilsstaðir, what is the pop./ km²?
### Context:
CREATE TABLE table_2252745_1 (pop__km² VARCHAR, administrative_centre VARCHAR) [/INST]
### Response:
SELECT COUNT(pop__km²) FROM table_2252745_1 WHERE administrative_centre = "Egilsstaðir" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the area (km²) is 22721, what is the pop./ km²?
### Context:
CREATE TABLE table_2252745_1 (pop__km² VARCHAR, area__km²_ VARCHAR) [/INST]
### Response:
SELECT pop__km² FROM table_2252745_1 WHERE area__km²_ = 22721 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 max pop of 2008 for selfoss?
### Context:
CREATE TABLE table_2252745_1 (population_2008_07_01 INTEGER, administrative_centre VARCHAR) [/INST]
### Response:
SELECT MAX(population_2008_07_01) FROM table_2252745_1 WHERE administrative_centre = "Selfoss" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the # is 4, what is the pop./ km²?
### Context:
CREATE TABLE table_2252745_1 (pop__km² VARCHAR, _number VARCHAR) [/INST]
### Response:
SELECT pop__km² FROM table_2252745_1 WHERE _number = 4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the player for l apps for 17
### Context:
CREATE TABLE table_22538587_3 (player VARCHAR, l_apps VARCHAR) [/INST]
### Response:
SELECT player FROM table_22538587_3 WHERE l_apps = 17 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the least total apps for jaime
### Context:
CREATE TABLE table_22538587_3 (total_apps INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MIN(total_apps) FROM table_22538587_3 WHERE player = "Jaime" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lg for cg is larger than 1.0 for c apps is 3
### Context:
CREATE TABLE table_22538587_3 (l_g VARCHAR, c_g VARCHAR, c_apps VARCHAR) [/INST]
### Response:
SELECT COUNT(l_g) FROM table_22538587_3 WHERE c_g > 1.0 AND c_apps = 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:
If the runner-up is [[|]] 151/8 (50.0 overs), what were the results?
### Context:
CREATE TABLE table_22577693_1 (result VARCHAR, runner_up VARCHAR) [/INST]
### Response:
SELECT result FROM table_22577693_1 WHERE runner_up = "[[|]] 151/8 (50.0 overs)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 host nations if the winner was Hong Kong 207/6 (47.1 overs)?
### Context:
CREATE TABLE table_22577693_1 (host_nation_s_ VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT host_nation_s_ FROM table_22577693_1 WHERE winner = "Hong Kong 207/6 (47.1 overs)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the results are Kuwait won by 72 runs scorecard, what are the details?
### Context:
CREATE TABLE table_22577693_1 (details VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT details FROM table_22577693_1 WHERE result = "Kuwait won by 72 runs Scorecard" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winner if the final venue is Kowloon Cricket Club?
### Context:
CREATE TABLE table_22577693_1 (winner VARCHAR, final_venue VARCHAR) [/INST]
### Response:
SELECT winner FROM table_22577693_1 WHERE final_venue = "Kowloon Cricket 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:
How many u.s. viewers (million) have a series # 83?
### Context:
CREATE TABLE table_22570439_1 (us_viewers__millions_ VARCHAR, series__number VARCHAR) [/INST]
### Response:
SELECT us_viewers__millions_ FROM table_22570439_1 WHERE series__number = 83 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 u.s. viewers (millions) have 5 as the season #?
### Context:
CREATE TABLE table_22570439_1 (us_viewers__millions_ VARCHAR, season__number VARCHAR) [/INST]
### Response:
SELECT us_viewers__millions_ FROM table_22570439_1 WHERE season__number = 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:
How many written by have wendey stanzler as the director?
### Context:
CREATE TABLE table_22570439_1 (written_by VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT COUNT(written_by) FROM table_22570439_1 WHERE directed_by = "Wendey Stanzler" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 where tracy poust & jon kinnally was written by?
### Context:
CREATE TABLE table_22570439_1 (original_air_date VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_22570439_1 WHERE written_by = "Tracy Poust & Jon Kinnally" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 written by when mark worthington is the director?
### Context:
CREATE TABLE table_22570439_1 (written_by VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_22570439_1 WHERE directed_by = "Mark Worthington" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1976, who was the reporter for the Belmont Stakes?
### Context:
CREATE TABLE table_22583466_5 (reporters VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT reporters FROM table_22583466_5 WHERE year = 1976 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 called the race in 1978?
### Context:
CREATE TABLE table_22583466_5 (race_caller VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT race_caller FROM table_22583466_5 WHERE year = 1978 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 race called by Marshall Cassidy, who was the host?
### Context:
CREATE TABLE table_22583466_5 (s_host VARCHAR, race_caller VARCHAR) [/INST]
### Response:
SELECT s_host FROM table_22583466_5 WHERE race_caller = "Marshall Cassidy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who were the reporters for the 1977 Belmont Stakes?
### Context:
CREATE TABLE table_22583466_5 (reporters VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT reporters FROM table_22583466_5 WHERE year = 1977 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 called the race in 1998?
### Context:
CREATE TABLE table_22583466_3 (race_caller VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT race_caller FROM table_22583466_3 WHERE year = 1998 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position 3 in 2007-2008?
### Context:
CREATE TABLE table_22591910_4 (position VARCHAR) [/INST]
### Response:
SELECT 2007 AS _2008 FROM table_22591910_4 WHERE position = 3 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the standing when goal against were 279?
### Context:
CREATE TABLE table_2259285_1 (standing VARCHAR, goals_against VARCHAR) [/INST]
### Response:
SELECT standing FROM table_2259285_1 WHERE goals_against = 279 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winning pct % if the goal for are 229?
### Context:
CREATE TABLE table_2259285_1 (winning_pct__percentage VARCHAR, goals_for VARCHAR) [/INST]
### Response:
SELECT winning_pct__percentage FROM table_2259285_1 WHERE goals_for = 229 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 % when there were 322 goals?
### Context:
CREATE TABLE table_2259285_1 (winning_pct__percentage VARCHAR, goals_for VARCHAR) [/INST]
### Response:
SELECT winning_pct__percentage FROM table_2259285_1 WHERE goals_for = 322 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 willie goggin
### Context:
CREATE TABLE table_225880_1 (year VARCHAR, runner_s__up VARCHAR) [/INST]
### Response:
SELECT year FROM table_225880_1 WHERE runner_s__up = "Willie Goggin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the winning score for pga championship
### Context:
CREATE TABLE table_225880_1 (winning_score VARCHAR, championship VARCHAR) [/INST]
### Response:
SELECT winning_score FROM table_225880_1 WHERE championship = "PGA 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:
Name the least year for walter hagen
### Context:
CREATE TABLE table_225880_1 (year INTEGER, runner_s__up VARCHAR) [/INST]
### Response:
SELECT MIN(year) FROM table_225880_1 WHERE runner_s__up = "Walter Hagen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score in the final where one of the opponents in the final was fitzgerald vilas?
### Context:
CREATE TABLE table_22597626_17 (score_in_the_final VARCHAR, opponents_in_the_final VARCHAR) [/INST]
### Response:
SELECT score_in_the_final FROM table_22597626_17 WHERE opponents_in_the_final = "Fitzgerald Vilas" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 surface for the opponents in the final with fitzgerald vilas?
### Context:
CREATE TABLE table_22597626_17 (surface VARCHAR, opponents_in_the_final VARCHAR) [/INST]
### Response:
SELECT surface FROM table_22597626_17 WHERE opponents_in_the_final = "Fitzgerald Vilas" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who were the opponents in the final where the score in the final is 6–4, 7–6 2?
### Context:
CREATE TABLE table_22597626_17 (opponents_in_the_final VARCHAR, score_in_the_final VARCHAR) [/INST]
### Response:
SELECT opponents_in_the_final FROM table_22597626_17 WHERE score_in_the_final = "6–4, 7–6 2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the partner count when the opponents in the final was forget leconte?
### Context:
CREATE TABLE table_22597626_17 (partner VARCHAR, opponents_in_the_final VARCHAR) [/INST]
### Response:
SELECT COUNT(partner) FROM table_22597626_17 WHERE opponents_in_the_final = "Forget Leconte" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date when one of the opponents in the final was bahrami leconte and score in the final is 7–6 2 , 6–1?
### Context:
CREATE TABLE table_22597626_17 (year INTEGER, opponents_in_the_final VARCHAR, score_in_the_final VARCHAR) [/INST]
### Response:
SELECT MIN(year) FROM table_22597626_17 WHERE opponents_in_the_final = "Bahrami Leconte" AND score_in_the_final = "7–6 2 , 6–1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number of year for score being 6–3, 6–2, 6–4
### Context:
CREATE TABLE table_22597626_6 (year VARCHAR, score_in_the_final VARCHAR) [/INST]
### Response:
SELECT COUNT(year) FROM table_22597626_6 WHERE score_in_the_final = "6–3, 6–2, 6–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 surface for 6–0, 6–3
### Context:
CREATE TABLE table_22597626_6 (surface VARCHAR, score_in_the_final VARCHAR) [/INST]
### Response:
SELECT surface FROM table_22597626_6 WHERE score_in_the_final = "6–0, 6–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:
Name the championship for peter mcnamara
### Context:
CREATE TABLE table_22597626_6 (championship VARCHAR, opponent_in_the_final VARCHAR) [/INST]
### Response:
SELECT championship FROM table_22597626_6 WHERE opponent_in_the_final = "Peter McNamara" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the championship for 1980 hard surface
### Context:
CREATE TABLE table_22597626_6 (championship VARCHAR, year VARCHAR, surface VARCHAR) [/INST]
### Response:
SELECT championship FROM table_22597626_6 WHERE year = 1980 AND surface = "Hard" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the team is Billy Ballew Motorsports, what is the race time?
### Context:
CREATE TABLE table_2260452_1 (race_time VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT race_time FROM table_2260452_1 WHERE team = "Billy Ballew Motorsports" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the date if the driver was Robert Pressley?
### Context:
CREATE TABLE table_2260452_1 (date VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT date FROM table_2260452_1 WHERE driver = "Robert Pressley" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the race time is 2:00:33, what is the average speed?
### Context:
CREATE TABLE table_2260452_1 (average_speed__mph_ VARCHAR, race_time VARCHAR) [/INST]
### Response:
SELECT average_speed__mph_ FROM table_2260452_1 WHERE race_time = "2:00:33" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every entry for 1982-83 for rank 1?
### Context:
CREATE TABLE table_22606461_10 (rank VARCHAR) [/INST]
### Response:
SELECT 1982 AS _83 FROM table_22606461_10 WHERE rank = 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 heights are listed for Jesse Holley in the WR position?
### Context:
CREATE TABLE table_22603701_1 (height VARCHAR, position VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT COUNT(height) FROM table_22603701_1 WHERE position = "WR" AND name = "Jesse Holley" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the result for Wisconsin?
### Context:
CREATE TABLE table_22603701_1 (result VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT result FROM table_22603701_1 WHERE college = "Wisconsin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the result for Steve Gonzalez?
### Context:
CREATE TABLE table_22603701_1 (result VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT result FROM table_22603701_1 WHERE name = "Steve Gonzalez" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 positions for Menlo College?
### Context:
CREATE TABLE table_22603701_1 (position VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT position FROM table_22603701_1 WHERE college = "Menlo college" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the distribution mechanism is the Microsoft website and the security issues id 98-004, what are all of the features?
### Context:
CREATE TABLE table_2263152_1 (features VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR) [/INST]
### Response:
SELECT features FROM table_2263152_1 WHERE security_issues = "98-004" AND distribution_mechanism = "Microsoft website" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
With the distribution mechanism of Microsoft website and the security issues of 98-004, what is the version?
### Context:
CREATE TABLE table_2263152_1 (version VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR) [/INST]
### Response:
SELECT version FROM table_2263152_1 WHERE security_issues = "98-004" AND distribution_mechanism = "Microsoft website" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the security issues is 99-025 and the distribution mechanism is the Microsoft website, what is the release date total number?
### Context:
CREATE TABLE table_2263152_1 (release_date VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR) [/INST]
### Response:
SELECT COUNT(release_date) FROM table_2263152_1 WHERE security_issues = "99-025" AND distribution_mechanism = "Microsoft website" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
With the version of 1.5a, what is the release date?
### Context:
CREATE TABLE table_2263152_1 (release_date VARCHAR, version VARCHAR) [/INST]
### Response:
SELECT release_date FROM table_2263152_1 WHERE version = "1.5a" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the distribution mechanism is windows nt 4.0 option pack Microsoft office 97 and the features is service release, what is the version?
### Context:
CREATE TABLE table_2263152_1 (version VARCHAR, features VARCHAR, distribution_mechanism VARCHAR) [/INST]
### Response:
SELECT version FROM table_2263152_1 WHERE features = "Service release" AND distribution_mechanism = "Windows NT 4.0 Option Pack Microsoft Office 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:
If the version is 1.5b, what is the distribution mechanism?
### Context:
CREATE TABLE table_2263152_1 (distribution_mechanism VARCHAR, version VARCHAR) [/INST]
### Response:
SELECT distribution_mechanism FROM table_2263152_1 WHERE version = "1.5b" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 locations are listed for the winner Temple?
### Context:
CREATE TABLE table_22645714_5 (tournament_venue__city_ VARCHAR, tournament_winner VARCHAR) [/INST]
### Response:
SELECT COUNT(tournament_venue__city_) FROM table_22645714_5 WHERE tournament_winner = "Temple" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 locations are listed for the Big 12 Conference?
### Context:
CREATE TABLE table_22645714_5 (tournament_venue__city_ VARCHAR, conference VARCHAR) [/INST]
### Response:
SELECT COUNT(tournament_venue__city_) FROM table_22645714_5 WHERE conference = "Big 12 conference" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 best regular season in the contest won by Arkansas-Pine Bluff?
### Context:
CREATE TABLE table_22645714_5 (regular_season_winner VARCHAR, tournament_winner VARCHAR) [/INST]
### Response:
SELECT regular_season_winner FROM table_22645714_5 WHERE tournament_winner = "Arkansas-Pine Bluff" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 old was the official with Chinese name 孫明揚?
### Context:
CREATE TABLE table_2263674_1 (age_at_appointment VARCHAR, chinese_name VARCHAR) [/INST]
### Response:
SELECT age_at_appointment FROM table_2263674_1 WHERE chinese_name = "孫明揚" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 梁愛詩's romanised name?
### Context:
CREATE TABLE table_2263674_1 (romanised_name VARCHAR, chinese_name VARCHAR) [/INST]
### Response:
SELECT romanised_name FROM table_2263674_1 WHERE chinese_name = "梁愛詩" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 romanised name of the official who was Secretary for health, welfare and food?
### Context:
CREATE TABLE table_2263674_1 (romanised_name VARCHAR, portfolio VARCHAR) [/INST]
### Response:
SELECT romanised_name FROM table_2263674_1 WHERE portfolio = "Secretary for Health, Welfare and Food" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Anthony Leung Kam-Chung previous position?
### Context:
CREATE TABLE table_2263674_1 (portfolio VARCHAR, romanised_name VARCHAR) [/INST]
### Response:
SELECT portfolio FROM table_2263674_1 WHERE romanised_name = "Anthony Leung Kam-chung" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
List all high rebound entries from May 11.
### Context:
CREATE TABLE table_22654073_13 (high_rebounds VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_22654073_13 WHERE date = "May 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 games were there on May 1?
### Context:
CREATE TABLE table_22654073_13 (game VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(game) FROM table_22654073_13 WHERE date = "May 1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
List all high assists in series 2-3.
### Context:
CREATE TABLE table_22654073_13 (high_assists VARCHAR, series VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_22654073_13 WHERE series = "2-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:
How many games were played on May 11?
### Context:
CREATE TABLE table_22654073_13 (game VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(game) FROM table_22654073_13 WHERE date = "May 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:
Name the score for chicago bulls
### Context:
CREATE TABLE table_22654073_7 (score VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT score FROM table_22654073_7 WHERE team = "Chicago Bulls" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 location attendance for 22-8
### Context:
CREATE TABLE table_22654073_7 (location_attendance VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_22654073_7 WHERE record = "22-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 high points for mo williams , lebron james , j.j. hickson (6)
### Context:
CREATE TABLE table_22654073_7 (high_points VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT COUNT(high_points) FROM table_22654073_7 WHERE high_rebounds = "Mo Williams , LeBron James , J.J. Hickson (6)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the high assists for december 13
### Context:
CREATE TABLE table_22654073_7 (high_assists VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_22654073_7 WHERE date = "December 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:
What value can you find under the column "august 21-22" and the row of June 11, 1983?
### Context:
CREATE TABLE table_22651355_3 (august_21_22 VARCHAR, june_10_11 VARCHAR) [/INST]
### Response:
SELECT august_21_22 FROM table_22651355_3 WHERE june_10_11 = "June 11, 1983" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the location and attendance for the game against the team with a 51-15 record with the Cavaliers?
### Context:
CREATE TABLE table_22654073_10 (location_attendance VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_22654073_10 WHERE record = "51-15" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many scores are associated with a record of 27-9?
### Context:
CREATE TABLE table_22654073_8 (score VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT COUNT(score) FROM table_22654073_8 WHERE record = "27-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 games are associated with a record of 29-10?
### Context:
CREATE TABLE table_22654073_8 (game VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT COUNT(game) FROM table_22654073_8 WHERE record = "29-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 team for record 3-2
### Context:
CREATE TABLE table_22654073_6 (team VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT team FROM table_22654073_6 WHERE record = "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:
Name the date for lebron james , mo williams (21)
### Context:
CREATE TABLE table_22654073_6 (date VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT date FROM table_22654073_6 WHERE high_points = "LeBron James , Mo Williams (21)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 high points for record 9-4
### Context:
CREATE TABLE table_22654073_6 (high_points VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_22654073_6 WHERE record = "9-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 total number of date for l 85–86 (ot)
### Context:
CREATE TABLE table_22654073_6 (date VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT COUNT(date) FROM table_22654073_6 WHERE score = "L 85–86 (OT)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the network for 2007 total
### Context:
CREATE TABLE table_22654139_2 (network VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT COUNT(network) FROM table_22654139_2 WHERE year = 2007 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the analysts
### Context:
CREATE TABLE table_22654139_2 (s_analyst VARCHAR) [/INST]
### Response:
SELECT s_analyst FROM table_22654139_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 was the result for a partnering of Frederica Piedade?
### Context:
CREATE TABLE table_22656187_9 (result VARCHAR, partnering VARCHAR) [/INST]
### Response:
SELECT result FROM table_22656187_9 WHERE partnering = "Frederica Piedade" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round has a win-loss result of loss and an edition of 2012 Fed Cup Europe/Africa Group I?
### Context:
CREATE TABLE table_22656187_9 (round VARCHAR, w_l VARCHAR, edition VARCHAR) [/INST]
### Response:
SELECT round FROM table_22656187_9 WHERE w_l = "Loss" AND edition = "2012 Fed Cup Europe/Africa Group I" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 manufacturer for cale yarborough for 1984
### Context:
CREATE TABLE table_2266230_1 (manufacturer VARCHAR, driver VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT manufacturer FROM table_2266230_1 WHERE driver = "Cale Yarborough" AND year = "1984" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.