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:
Which label is dated February 14, 2002?
### Context:
CREATE TABLE table_name_32 (label VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT label FROM table_name_32 WHERE date = "february 14, 2002" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 catalog is in cd format?
### Context:
CREATE TABLE table_name_54 (catalog VARCHAR, format VARCHAR) [/INST]
### Response:
SELECT catalog FROM table_name_54 WHERE format = "cd" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 event did Mark Teltscher win?
### Context:
CREATE TABLE table_name_9 (event VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT event FROM table_name_9 WHERE winner = "mark teltscher" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 event in the City of Baden?
### Context:
CREATE TABLE table_name_35 (date VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_35 WHERE city = "baden" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 event had a prize of €900,000?
### Context:
CREATE TABLE table_name_80 (event VARCHAR, prize VARCHAR) [/INST]
### Response:
SELECT event FROM table_name_80 WHERE prize = "€900,000" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When was the event in Dublin?
### Context:
CREATE TABLE table_name_50 (date VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_50 WHERE city = "dublin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 city did an event have a prize of €288,180?
### Context:
CREATE TABLE table_name_96 (city VARCHAR, prize VARCHAR) [/INST]
### Response:
SELECT city FROM table_name_96 WHERE prize = "€288,180" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 city was the event in when Patrik Antonius won?
### Context:
CREATE TABLE table_name_93 (city VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT city FROM table_name_93 WHERE winner = "patrik antonius" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the winning constructor at the circuit of parioli?
### Context:
CREATE TABLE table_name_71 (winning_constructor VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT winning_constructor FROM table_name_71 WHERE circuit = "parioli" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Gaspare Bona win the Pozzo Circuit?
### Context:
CREATE TABLE table_name_98 (date VARCHAR, winning_driver VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_98 WHERE winning_driver = "gaspare bona" AND name = "pozzo circuit" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the winning constructor of the Grand Prix Du Salon ?
### Context:
CREATE TABLE table_name_24 (winning_constructor VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT winning_constructor FROM table_name_24 WHERE name = "grand prix du salon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 circuit did françois eysermann win ?
### Context:
CREATE TABLE table_name_54 (circuit VARCHAR, winning_driver VARCHAR) [/INST]
### Response:
SELECT circuit FROM table_name_54 WHERE winning_driver = "françois eysermann" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the largest silver with Gold larger than 4, a Nation of united states, and a Total larger than 26?
### Context:
CREATE TABLE table_name_19 (silver INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR) [/INST]
### Response:
SELECT MAX(silver) FROM table_name_19 WHERE gold > 4 AND nation = "united states" AND total > 26 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many silvers have a Nation of hungary, and a Rank larger than 10?
### Context:
CREATE TABLE table_name_30 (silver VARCHAR, nation VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT COUNT(silver) FROM table_name_30 WHERE nation = "hungary" AND rank > 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:
Which silver has a Gold smaller than 12, a Rank smaller than 5, and a Bronze of 5?
### Context:
CREATE TABLE table_name_24 (silver VARCHAR, bronze VARCHAR, gold VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT silver FROM table_name_24 WHERE gold < 12 AND rank < 5 AND bronze = 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:
Who did they play on August 12?
### Context:
CREATE TABLE table_name_48 (opponent VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_48 WHERE date = "august 12" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which model has 175 seats?
### Context:
CREATE TABLE table_name_92 (model VARCHAR, seats VARCHAR) [/INST]
### Response:
SELECT model FROM table_name_92 WHERE seats = 175 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In what year was the ctc-3 model built?
### Context:
CREATE TABLE table_name_41 (year_built VARCHAR, model VARCHAR) [/INST]
### Response:
SELECT year_built FROM table_name_41 WHERE model = "ctc-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 seats does the BTC-5 model have?
### Context:
CREATE TABLE table_name_57 (seats INTEGER, model VARCHAR) [/INST]
### Response:
SELECT SUM(seats) FROM table_name_57 WHERE model = "btc-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:
For the train built in 2012 with less than 179 seats, what is the Fleet ID?
### Context:
CREATE TABLE table_name_37 (fleet_id VARCHAR, year_built VARCHAR, seats VARCHAR) [/INST]
### Response:
SELECT fleet_id FROM table_name_37 WHERE year_built = "2012" AND seats < 179 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the record at the game attended by 10,389?
### Context:
CREATE TABLE table_name_48 (record VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_48 WHERE attendance = "10,389" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the game that had a loss of Drese (2-2)?
### Context:
CREATE TABLE table_name_99 (score VARCHAR, loss VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_99 WHERE loss = "drese (2-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 is the score of the game attended by 25,034?
### Context:
CREATE TABLE table_name_85 (score VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_85 WHERE attendance = "25,034" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 often are the Olympic games hosted?
### Context:
CREATE TABLE table_name_74 (year INTEGER, tournament VARCHAR) [/INST]
### Response:
SELECT AVG(year) FROM table_name_74 WHERE tournament = "olympic games" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where was the 1984 Olympics hosted?
### Context:
CREATE TABLE table_name_29 (tournament VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_29 WHERE year = 1984 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the issue price $19.95?
### Context:
CREATE TABLE table_name_52 (year_of_issue VARCHAR, issue_price VARCHAR) [/INST]
### Response:
SELECT COUNT(year_of_issue) FROM table_name_52 WHERE issue_price = "$19.95" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 composition has an issue price of $99.00?
### Context:
CREATE TABLE table_name_79 (composition VARCHAR, issue_price VARCHAR) [/INST]
### Response:
SELECT composition FROM table_name_79 WHERE issue_price = "$99.00" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tier of 2, and a Season of 2000–01 is what European competitions?
### Context:
CREATE TABLE table_name_35 (european_competitions VARCHAR, tier VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT european_competitions FROM table_name_35 WHERE tier = 2 AND season = "2000–01" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Season of 2012–13 is what league?
### Context:
CREATE TABLE table_name_68 (league VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT league FROM table_name_68 WHERE season = "2012–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:
Tier of 2, and a Season of 2004–05 is what European competitions?
### Context:
CREATE TABLE table_name_49 (european_competitions VARCHAR, tier VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT european_competitions FROM table_name_49 WHERE tier = 2 AND season = "2004–05" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 operator has a rank of 7?
### Context:
CREATE TABLE table_name_20 (operator VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT operator FROM table_name_20 WHERE rank = 7 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the lowest ranking source of copper, copper ore, concentrated and leached?
### Context:
CREATE TABLE table_name_60 (rank INTEGER, source_of_copper VARCHAR) [/INST]
### Response:
SELECT MIN(rank) FROM table_name_60 WHERE source_of_copper = "copper ore, concentrated and leached" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Stéphan Perrot rank average?
### Context:
CREATE TABLE table_name_61 (rank INTEGER, name VARCHAR) [/INST]
### Response:
SELECT AVG(rank) FROM table_name_61 WHERE name = "stéphan perrot" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Maxim Podoprigora's lowest rank?
### Context:
CREATE TABLE table_name_91 (rank INTEGER, name VARCHAR) [/INST]
### Response:
SELECT MIN(rank) FROM table_name_91 WHERE name = "maxim podoprigora" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 away captain for Kingsmead?
### Context:
CREATE TABLE table_name_81 (away_captain VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT away_captain FROM table_name_81 WHERE venue = "kingsmead" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 that had a prize of 50,000?
### Context:
CREATE TABLE table_name_28 (first_year_aired VARCHAR, prize VARCHAR) [/INST]
### Response:
SELECT first_year_aired FROM table_name_28 WHERE prize = "50,000" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What year did Zone Rouge first air?
### Context:
CREATE TABLE table_name_79 (first_year_aired VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT first_year_aired FROM table_name_79 WHERE name = "zone rouge" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 host of Horrid Henry?
### Context:
CREATE TABLE table_name_74 (host VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT host FROM table_name_74 WHERE country = "horrid henry" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the average launch date of the vmv-1 vessel in Germany?
### Context:
CREATE TABLE table_name_37 (launched INTEGER, location VARCHAR, ship VARCHAR) [/INST]
### Response:
SELECT AVG(launched) FROM table_name_37 WHERE location = "germany" AND ship = "vmv-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:
Which location has a date of may 21?
### Context:
CREATE TABLE table_name_95 (location VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_95 WHERE date = "may 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:
What is the total Decile that has a state authority, fairlie area and roll smarter than 206?
### Context:
CREATE TABLE table_name_49 (decile VARCHAR, roll VARCHAR, authority VARCHAR, area VARCHAR) [/INST]
### Response:
SELECT COUNT(decile) FROM table_name_49 WHERE authority = "state" AND area = "fairlie" AND roll < 206 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 area is named Mackenzie college?
### Context:
CREATE TABLE table_name_50 (area VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT area FROM table_name_50 WHERE name = "mackenzie 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:
What is the highest percent of Bruce Arena when he loses more than 11 games?
### Context:
CREATE TABLE table_name_9 (pts INTEGER, coach VARCHAR, loss VARCHAR) [/INST]
### Response:
SELECT MAX(pts) FROM table_name_9 WHERE coach = "bruce arena" AND loss > 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:
What is the sum of points when Bruce Arena has 21 wins?
### Context:
CREATE TABLE table_name_96 (pts INTEGER, wins VARCHAR, coach VARCHAR) [/INST]
### Response:
SELECT SUM(pts) FROM table_name_96 WHERE wins = 21 AND coach = "bruce arena" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 outcome of the game played on 19-Sep-2006?
### Context:
CREATE TABLE table_name_68 (outcome VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT outcome FROM table_name_68 WHERE date = "19-sep-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:
Where was the tournament played on Oct. 8, 2006?
### Context:
CREATE TABLE table_name_56 (tournament VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_56 WHERE date = "oct. 8, 2006" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the final score of the tournament played in Clearwater, Florida?
### Context:
CREATE TABLE table_name_47 (score VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_47 WHERE tournament = "clearwater, florida" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the score of the game that was played against Maria Kondratieva?
### Context:
CREATE TABLE table_name_35 (score VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_35 WHERE opponent = "maria kondratieva" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the game that resulted in a final score of 6-1 7-5?
### Context:
CREATE TABLE table_name_90 (surface VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT surface FROM table_name_90 WHERE score = "6-1 7-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:
What was the Attendance when the Time was 2:13?
### Context:
CREATE TABLE table_name_34 (attendance INTEGER, time VARCHAR) [/INST]
### Response:
SELECT MIN(attendance) FROM table_name_34 WHERE time = "2: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 was the attendance when the record was 77-54?
### Context:
CREATE TABLE table_name_90 (attendance INTEGER, record VARCHAR) [/INST]
### Response:
SELECT MIN(attendance) FROM table_name_90 WHERE record = "77-54" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What did Xavier Doherty (Tasmania) set as his highest Overs?
### Context:
CREATE TABLE table_name_25 (overs INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MAX(overs) FROM table_name_25 WHERE player = "xavier doherty (tasmania)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 does Tiger Woods play for?
### Context:
CREATE TABLE table_name_17 (country VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_17 WHERE player = "tiger woods" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What place did the player from England come in?
### Context:
CREATE TABLE table_name_50 (place VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT place FROM table_name_50 WHERE country = "england" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 English Title of Fanny Och Alexander?
### Context:
CREATE TABLE table_name_20 (english_title VARCHAR, original_title VARCHAR) [/INST]
### Response:
SELECT english_title FROM table_name_20 WHERE original_title = "fanny och alexander" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the original title that was directed by Alain Resnais in France before 1986?
### Context:
CREATE TABLE table_name_22 (original_title VARCHAR, director_s_ VARCHAR, year VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT original_title FROM table_name_22 WHERE year < 1986 AND country = "france" AND director_s_ = "alain resnais" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of Megáll az Idö?
### Context:
CREATE TABLE table_name_60 (year VARCHAR, original_title VARCHAR) [/INST]
### Response:
SELECT year FROM table_name_60 WHERE original_title = "megáll az idö" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Avg/G smaller than 225.5, and a GP-GS of 8–0 has what name?
### Context:
CREATE TABLE table_name_2 (name VARCHAR, avg_g VARCHAR, gp_gs VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_2 WHERE avg_g < 225.5 AND gp_gs = "8–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:
Avg/G that has a GP-GS of 13–13, and a Effic smaller than 114.23 has what total of numbers?
### Context:
CREATE TABLE table_name_82 (avg_g VARCHAR, gp_gs VARCHAR, effic VARCHAR) [/INST]
### Response:
SELECT COUNT(avg_g) FROM table_name_82 WHERE gp_gs = "13–13" AND effic < 114.23 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Avg/G of 2.7 is what effic?
### Context:
CREATE TABLE table_name_54 (effic VARCHAR, avg_g VARCHAR) [/INST]
### Response:
SELECT effic FROM table_name_54 WHERE avg_g = 2.7 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Avg/G that has a Att-Cmp-Int of 1–1–0, and an Effic larger than 394 is what total?
### Context:
CREATE TABLE table_name_62 (avg_g VARCHAR, att_cmp_int VARCHAR, effic VARCHAR) [/INST]
### Response:
SELECT COUNT(avg_g) FROM table_name_62 WHERE att_cmp_int = "1–1–0" AND effic > 394 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 area has a Decile of 9, and a Roll of 31?
### Context:
CREATE TABLE table_name_98 (area VARCHAR, decile VARCHAR, roll VARCHAR) [/INST]
### Response:
SELECT area FROM table_name_98 WHERE decile = 9 AND roll = 31 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 deciles have Years of 9–13?
### Context:
CREATE TABLE table_name_68 (decile VARCHAR, years VARCHAR) [/INST]
### Response:
SELECT COUNT(decile) FROM table_name_68 WHERE years = "9–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 is the name with a Decile less than 10, and a Roll of 297?
### Context:
CREATE TABLE table_name_55 (name VARCHAR, decile VARCHAR, roll VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_55 WHERE decile < 10 AND roll = 297 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 name has a Roll larger than 297, and Years of 7–13?
### Context:
CREATE TABLE table_name_1 (name VARCHAR, roll VARCHAR, years VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_1 WHERE roll > 297 AND years = "7–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:
Which years have a Name of ladbrooks school?
### Context:
CREATE TABLE table_name_97 (years VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT years FROM table_name_97 WHERE name = "ladbrooks school" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the roll with a Decile of 8, and an Area of hororata?
### Context:
CREATE TABLE table_name_73 (roll INTEGER, decile VARCHAR, area VARCHAR) [/INST]
### Response:
SELECT SUM(roll) FROM table_name_73 WHERE decile = 8 AND area = "hororata" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of laps that also has a finish total of 8?
### Context:
CREATE TABLE table_name_98 (laps INTEGER, finish VARCHAR) [/INST]
### Response:
SELECT MAX(laps) FROM table_name_98 WHERE finish = "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:
Which qual also has a finish total of 9?
### Context:
CREATE TABLE table_name_75 (qual VARCHAR, finish VARCHAR) [/INST]
### Response:
SELECT qual FROM table_name_75 WHERE finish = "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:
Which qual has both 200 total laps and took place in 1957?
### Context:
CREATE TABLE table_name_80 (qual VARCHAR, laps VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT qual FROM table_name_80 WHERE laps = 200 AND year = "1957" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 code name when the Southbridge shows as amd-766, via-vt82c686b?
### Context:
CREATE TABLE table_name_26 (code_name VARCHAR, southbridge VARCHAR) [/INST]
### Response:
SELECT code_name FROM table_name_26 WHERE southbridge = "amd-766, via-vt82c686b" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Southbridge when the CPU support was athlon, athlonxp, duron( socketa ), alpha21264?
### Context:
CREATE TABLE table_name_56 (southbridge VARCHAR, cpu_support VARCHAR) [/INST]
### Response:
SELECT southbridge FROM table_name_56 WHERE cpu_support = "athlon, athlonxp, duron( socketa ), alpha21264" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 code name when the FSB / HT (MHz) is 100 (fsb)?
### Context:
CREATE TABLE table_name_12 (code_name VARCHAR, fsb___ht__mhz_ VARCHAR) [/INST]
### Response:
SELECT code_name FROM table_name_12 WHERE fsb___ht__mhz_ = "100 (fsb)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 FSB / HT (MHz) when the Southbridge is amd-8131 amd-8132?
### Context:
CREATE TABLE table_name_50 (fsb___ht__mhz_ VARCHAR, southbridge VARCHAR) [/INST]
### Response:
SELECT fsb___ht__mhz_ FROM table_name_50 WHERE southbridge = "amd-8131 amd-8132" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 shows for Southbridge when the Model number is amd-640 chipset?
### Context:
CREATE TABLE table_name_7 (southbridge VARCHAR, model VARCHAR) [/INST]
### Response:
SELECT southbridge FROM table_name_7 WHERE model = "amd-640 chipset" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stadium is for football with the China League One?
### Context:
CREATE TABLE table_name_34 (stadium VARCHAR, sport VARCHAR, league VARCHAR) [/INST]
### Response:
SELECT stadium FROM table_name_34 WHERE sport = "football" AND league = "china league one" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tier is for football at Tianhe Stadium?
### Context:
CREATE TABLE table_name_62 (tier VARCHAR, sport VARCHAR, stadium VARCHAR) [/INST]
### Response:
SELECT tier FROM table_name_62 WHERE sport = "football" AND stadium = "tianhe stadium" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Little League World Series took place in Parsippany?
### Context:
CREATE TABLE table_name_70 (llws VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT llws FROM table_name_70 WHERE city = "parsippany" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Tennessee that Georgia of kevin butler is in?
### Context:
CREATE TABLE table_name_27 (tennessee VARCHAR, georgia VARCHAR) [/INST]
### Response:
SELECT tennessee FROM table_name_27 WHERE georgia = "kevin butler" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Tennessee with a Kentucky of Larry Seiple
### Context:
CREATE TABLE table_name_11 (tennessee VARCHAR, kentucky VARCHAR) [/INST]
### Response:
SELECT tennessee FROM table_name_11 WHERE kentucky = "larry seiple" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Year of jeff van note ( Kentucky)
### Context:
CREATE TABLE table_name_10 (year INTEGER, kentucky VARCHAR) [/INST]
### Response:
SELECT SUM(year) FROM table_name_10 WHERE kentucky = "jeff van note" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cabins were built in the time between 1967-1987?
### Context:
CREATE TABLE table_name_51 (built VARCHAR, period VARCHAR) [/INST]
### Response:
SELECT built FROM table_name_51 WHERE period = "1967-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:
Between which years were there 241 fokker 70 model cabins built?
### Context:
CREATE TABLE table_name_43 (period VARCHAR, built VARCHAR, model VARCHAR) [/INST]
### Response:
SELECT period FROM table_name_43 WHERE built < 241 AND model = "fokker 70" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sum of year for engine of brm p202 3.0 v12 brm p200 3.0 v12
### Context:
CREATE TABLE table_name_43 (year INTEGER, engine_s_ VARCHAR) [/INST]
### Response:
SELECT SUM(year) FROM table_name_43 WHERE engine_s_ = "brm p202 3.0 v12 brm p200 3.0 v12" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 chassis for 1970 and tyres of d
### Context:
CREATE TABLE table_name_12 (chassis VARCHAR, tyres VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT chassis FROM table_name_12 WHERE tyres = "d" AND year = 1970 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 point for 1974
### Context:
CREATE TABLE table_name_24 (points VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT points FROM table_name_24 WHERE year = 1974 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 chassis of 1961
### Context:
CREATE TABLE table_name_33 (chassis VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT chassis FROM table_name_33 WHERE year = 1961 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year opened for Chicagoland Speedway with a seating smaller than 75,000?
### Context:
CREATE TABLE table_name_17 (year_opened INTEGER, track_name VARCHAR, seating VARCHAR) [/INST]
### Response:
SELECT AVG(year_opened) FROM table_name_17 WHERE track_name = "chicagoland speedway" AND seating < 75 OFFSET 000 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What type of photos of Angelina Jolie cost $500,000?
### Context:
CREATE TABLE table_name_21 (type VARCHAR, reported_price VARCHAR, person_s_ VARCHAR) [/INST]
### Response:
SELECT type FROM table_name_21 WHERE reported_price = "$500,000" AND person_s_ = "angelina jolie" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 publication date of the photos of Sean Preston Federline that cost $500,000 and were published by People?
### Context:
CREATE TABLE table_name_90 (publication_date VARCHAR, person_s_ VARCHAR, reported_price VARCHAR, publisher_s_ VARCHAR) [/INST]
### Response:
SELECT publication_date FROM table_name_90 WHERE reported_price = "$500,000" AND publisher_s_ = "people" AND person_s_ = "sean preston federline" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won on 28 May?
### Context:
CREATE TABLE table_name_38 (winner VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT winner FROM table_name_38 WHERE date = "28 may" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which country is the film Tent of Miracles from?
### Context:
CREATE TABLE table_name_9 (country VARCHAR, film_title_used_in_nomination VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_9 WHERE film_title_used_in_nomination = "tent of miracles" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which country is the director Roland Verhavert from?
### Context:
CREATE TABLE table_name_30 (country VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_30 WHERE director = "roland verhavert" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the title of the German film that is originally called Mama, Ich Lebe?
### Context:
CREATE TABLE table_name_14 (film_title_used_in_nomination VARCHAR, language VARCHAR, original_name VARCHAR) [/INST]
### Response:
SELECT film_title_used_in_nomination FROM table_name_14 WHERE language = "german" AND original_name = "mama, ich lebe" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 director is from Italy?
### Context:
CREATE TABLE table_name_41 (director VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT director FROM table_name_41 WHERE country = "italy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where is the director Dariush Mehrjui from?
### Context:
CREATE TABLE table_name_99 (country VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_99 WHERE director = "dariush mehrjui" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Investing Dragons in the episode that first aired on 18 January 2005 with the entrepreneur Tracey Herrtage?
### Context:
CREATE TABLE table_name_65 (investing_dragon_s_ VARCHAR, first_aired VARCHAR, entrepreneur_s_ VARCHAR) [/INST]
### Response:
SELECT investing_dragon_s_ FROM table_name_65 WHERE first_aired = "18 january 2005" AND entrepreneur_s_ = "tracey herrtage" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the average money requested in the episode first aired on 18 January 2005 by the company/product name IV Cam
### Context:
CREATE TABLE table_name_96 (money_requested__ INTEGER, first_aired VARCHAR, company_or_product_name VARCHAR) [/INST]
### Response:
SELECT AVG(money_requested__) AS £_ FROM table_name_96 WHERE first_aired = "18 january 2005" AND company_or_product_name = "iv cam" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 population for Rank 11?
### Context:
CREATE TABLE table_name_95 (population VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT population FROM table_name_95 WHERE rank = 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 trailers for formed from pan/pul/res cars
### Context:
CREATE TABLE table_name_47 (trailers VARCHAR, formed_from VARCHAR) [/INST]
### Response:
SELECT trailers FROM table_name_47 WHERE formed_from = "pan/pul/res cars" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.