inputs stringlengths 400 1.34k |
|---|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Attendance has a Date of september 29, 1968, and a Week smaller than 3?
### Context:
CREATE TABLE table_name_17 (attendance INTEGER, date VARCHAR, week VARCHAR)
### Response:
### Response:
SELECT MIN(attendance) FROM table_name_17 WHERE date = "september 29, 1968" AND week < 3</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the date with resultof w 35-7
### Context:
CREATE TABLE table_name_22 (date VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_22 WHERE result = "w 35-7"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the sum of laps that has a time/retired that is +19.475?
### Context:
CREATE TABLE table_name_6 (laps INTEGER, time_retired VARCHAR)
### Response:
### Response:
SELECT SUM(laps) FROM table_name_6 WHERE time_retired = "+19.475"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many times was the high assists andre miller (7)?
### Context:
CREATE TABLE table_27734769_8 (date VARCHAR, high_assists VARCHAR)
### Response:
### Response:
SELECT COUNT(date) FROM table_27734769_8 WHERE high_assists = "Andre Miller (7)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the sum of attendance for games with a time of 3:23?
### Context:
CREATE TABLE table_name_53 (attendance INTEGER, time VARCHAR)
### Response:
### Response:
SELECT SUM(attendance) FROM table_name_53 WHERE time = "3:23"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the total rating on week 3?
### Context:
CREATE TABLE table_24291077_8 (total VARCHAR, week VARCHAR)
### Response:
### Response:
SELECT total FROM table_24291077_8 WHERE week = 3</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the most decile for roll of 428
### Context:
CREATE TABLE table_name_94 (decile INTEGER, roll VARCHAR)
### Response:
### Response:
SELECT MAX(decile) FROM table_name_94 WHERE roll = 428</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the enrollment number for Rockville?
### Context:
CREATE TABLE table_name_27 (enrollment VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT COUNT(enrollment) FROM table_name_27 WHERE location = "rockville"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the IDOE Profile in North Manchester?
### Context:
CREATE TABLE table_1984697_85 (idoe_profile VARCHAR, city___town VARCHAR)
### Response:
### Response:
SELECT idoe_profile FROM table_1984697_85 WHERE city___town = "North Manchester"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who lost on June 29?
### Context:
CREATE TABLE table_name_84 (loss VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT loss FROM table_name_84 WHERE date = "june 29"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
When saif saaeed shaheen (qat) is the saif saaeed shaheen ( qat ) what is the world record?
### Context:
CREATE TABLE table_23988726_2 (world_record VARCHAR)
### Response:
### Response:
SELECT world_record FROM table_23988726_2 WHERE "saif_saaeed_shaheen___qat__" = "saif_saaeed_shaheen___qat__"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Compute the average price of all products with manufacturer code equal to 2.
### Context:
CREATE TABLE products (price INTEGER, Manufacturer VARCHAR)
### Response:
### Response:
SELECT AVG(price) FROM products WHERE Manufacturer = 2</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What medal was awarded in the men's freestyle 52 kg?
### Context:
CREATE TABLE table_name_69 (medal VARCHAR, event VARCHAR)
### Response:
### Response:
SELECT medal FROM table_name_69 WHERE event = "men's freestyle 52 kg"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Runner-Up has a Total of £31,200?
### Context:
CREATE TABLE table_name_44 (runner_up VARCHAR, total VARCHAR)
### Response:
### Response:
SELECT runner_up FROM table_name_44 WHERE total = "£31,200"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What region is the host university of southern california located?
### Context:
CREATE TABLE table_name_1 (region VARCHAR, host VARCHAR)
### Response:
### Response:
SELECT region FROM table_name_1 WHERE host = "university of southern california"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which opponent has a Score of 2–5?
### Context:
CREATE TABLE table_name_23 (opponent VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_23 WHERE score = "2–5"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the median household income in Valley County?
### Context:
CREATE TABLE table_name_8 (median_household_income VARCHAR, county VARCHAR)
### Response:
### Response:
SELECT median_household_income FROM table_name_8 WHERE county = "valley"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the original title of the film directed by Lene Grønlykke and Sven Grønlykke?
### Context:
CREATE TABLE table_name_72 (original_title VARCHAR, director VARCHAR)
### Response:
### Response:
SELECT original_title FROM table_name_72 WHERE director = "lene grønlykke and sven grønlykke"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which School has a Size larger than 408, and a Mascot of pacers?
### Context:
CREATE TABLE table_name_59 (school VARCHAR, size VARCHAR, mascot VARCHAR)
### Response:
### Response:
SELECT school FROM table_name_59 WHERE size > 408 AND mascot = "pacers"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the score when there was a visitor of Magic and at home with the Clippers?
### Context:
CREATE TABLE table_name_54 (score VARCHAR, visitor VARCHAR, home VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_54 WHERE visitor = "magic" AND home = "clippers"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What's the total number of League Cup with a Play-off larger than 2, and a Name of Mitch Cook Category:Articles with hCards?
### Context:
CREATE TABLE table_name_8 (league VARCHAR, play_offs VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT COUNT(league) AS Cup FROM table_name_8 WHERE play_offs > 2 AND name = "mitch cook category:articles with hcards"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Show the average transaction amount for different transaction types.
### Context:
CREATE TABLE TRANSACTIONS (transaction_type_code VARCHAR, amount_of_transaction INTEGER)
### Response:
### Response:
SELECT transaction_type_code, AVG(amount_of_transaction) FROM TRANSACTIONS GROUP BY transaction_type_code</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
In the Phoenix Open, what was the winning score?
### Context:
CREATE TABLE table_name_28 (winning_score VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT winning_score FROM table_name_28 WHERE tournament = "phoenix open"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
On what surface was the tournament with opponents kathleen horvath marcella mesker in the finals?
### Context:
CREATE TABLE table_name_1 (surface VARCHAR, opponents_in_the_final VARCHAR)
### Response:
### Response:
SELECT surface FROM table_name_1 WHERE opponents_in_the_final = "kathleen horvath marcella mesker"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Find the ids of all the order items whose product id is 11.
### Context:
CREATE TABLE order_items (order_item_id VARCHAR, product_id VARCHAR)
### Response:
### Response:
SELECT order_item_id FROM order_items WHERE product_id = 11</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is the lowest points scored by a player who blocked 21 times
### Context:
CREATE TABLE table_19722233_5 (points INTEGER, blocks VARCHAR)
### Response:
### Response:
SELECT MIN(points) FROM table_19722233_5 WHERE blocks = 21</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What are goals scored when postition is 17 and tied is 5?
### Context:
CREATE TABLE table_28848697_4 (goals_scored VARCHAR, position VARCHAR, tied VARCHAR)
### Response:
### Response:
SELECT goals_scored FROM table_28848697_4 WHERE position = 17 AND tied = 5</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Japanese title for Fantasy?
### Context:
CREATE TABLE table_11839306_2 (japanese_title VARCHAR, english_title VARCHAR)
### Response:
### Response:
SELECT japanese_title FROM table_11839306_2 WHERE english_title = "Fantasy"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the time in part 3 when Nick Heidfeld was the driver?
### Context:
CREATE TABLE table_20159025_1 (part_3 VARCHAR, driver VARCHAR)
### Response:
### Response:
SELECT part_3 FROM table_20159025_1 WHERE driver = "Nick Heidfeld"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
The ship named Bacchus with a tonnage of t had what disposition of ship?
### Context:
CREATE TABLE table_name_37 (disposition_of_ship VARCHAR, tonnage VARCHAR, ship_name VARCHAR)
### Response:
### Response:
SELECT disposition_of_ship FROM table_name_37 WHERE tonnage = "t" AND ship_name = "bacchus"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what's the cancelable with bubbles being yes
### Context:
CREATE TABLE table_1507852_5 (cancelable VARCHAR, bubbles VARCHAR)
### Response:
### Response:
SELECT cancelable FROM table_1507852_5 WHERE bubbles = "Yes"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
For a team having goals for more than 95, what is the lowest position?
### Context:
CREATE TABLE table_name_95 (position INTEGER, goals_for INTEGER)
### Response:
### Response:
SELECT MIN(position) FROM table_name_95 WHERE goals_for > 95</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which EC Comics title ran from 1950 to 1953?
### Context:
CREATE TABLE table_name_61 (title VARCHAR, last_year VARCHAR, first_year VARCHAR, publisher VARCHAR)
### Response:
### Response:
SELECT title FROM table_name_61 WHERE first_year = "1950" AND publisher = "ec comics" AND last_year = "1953"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the rank of the petroleum company who has a revenue of $481.7 billion?
### Context:
CREATE TABLE table_name_7 (rank INTEGER, industry VARCHAR, revenue_in_usd VARCHAR)
### Response:
### Response:
SELECT MIN(rank) FROM table_name_7 WHERE industry = "petroleum" AND revenue_in_usd = "$481.7 billion"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the lowest avg/g that has 2-9-0 for the att-cmp-int?
### Context:
CREATE TABLE table_name_16 (avg_g INTEGER, att_cmp_int VARCHAR)
### Response:
### Response:
SELECT MIN(avg_g) FROM table_name_16 WHERE att_cmp_int = "2-9-0"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the mean pick number for the cornerback position when the overall is less than 134?
### Context:
CREATE TABLE table_name_60 (pick__number INTEGER, position VARCHAR, overall VARCHAR)
### Response:
### Response:
SELECT AVG(pick__number) FROM table_name_60 WHERE position = "cornerback" AND overall < 134</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many drivers are there?
### Context:
CREATE TABLE driver (Id VARCHAR)
### Response:
### Response:
SELECT COUNT(*) FROM driver</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What country is the contestant from San Francisco de Yojoa from?
### Context:
CREATE TABLE table_20669355_2 (country VARCHAR, hometown VARCHAR)
### Response:
### Response:
SELECT country FROM table_20669355_2 WHERE hometown = "San Francisco de Yojoa"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
The player moving to Villa Rio has what transfer fee?
### Context:
CREATE TABLE table_name_11 (transfer_fee VARCHAR, moving_to VARCHAR)
### Response:
### Response:
SELECT transfer_fee FROM table_name_11 WHERE moving_to = "villa rio"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which masthead ends on oct–69?
### Context:
CREATE TABLE table_name_15 (masthead VARCHAR, end_month VARCHAR)
### Response:
### Response:
SELECT masthead FROM table_name_15 WHERE end_month = "oct–69"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the away team score at Hawthorn's home game?
### Context:
CREATE TABLE table_name_28 (away_team VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT away_team AS score FROM table_name_28 WHERE home_team = "hawthorn"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the rate change % when the rate limit is 82.86?
### Context:
CREATE TABLE table_25316812_1 (rate_change___percentage_ VARCHAR, rate_limit__p_ VARCHAR)
### Response:
### Response:
SELECT rate_change___percentage_ FROM table_25316812_1 WHERE rate_limit__p_ = "82.86"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the first and last name of the student participating in the most activities?
### Context:
CREATE TABLE Student (fname VARCHAR, lname VARCHAR, StuID VARCHAR); CREATE TABLE Participates_in (StuID VARCHAR)
### Response:
### Response:
SELECT T1.fname, T1.lname FROM Student AS T1 JOIN Participates_in AS T2 ON T1.StuID = T2.StuID GROUP BY T1.StuID ORDER BY COUNT(*) DESC LIMIT 1</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the series episode number that is larger than 262 and has a Segment A entry of Aluminium s canoe?
### Context:
CREATE TABLE table_name_60 (series_ep VARCHAR, episode VARCHAR, segment_a VARCHAR)
### Response:
### Response:
SELECT series_ep FROM table_name_60 WHERE episode > 262 AND segment_a = "aluminium s canoe"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many episodes with the production code CA106 are there?
### Context:
CREATE TABLE table_25740548_2 (written_by VARCHAR, production_code VARCHAR)
### Response:
### Response:
SELECT COUNT(written_by) FROM table_25740548_2 WHERE production_code = "CA106"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the total number of positions with less than 10 points, more than 7 qualifying, ret value in Race 1, and Jonathan Grant driving?
### Context:
CREATE TABLE table_name_51 (pos VARCHAR, driver VARCHAR, race_1 VARCHAR, points VARCHAR, qualifying VARCHAR)
### Response:
### Response:
SELECT COUNT(pos) FROM table_name_51 WHERE points < 10 AND qualifying > 7 AND race_1 = "ret" AND driver = "jonathan grant"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the highest year team tyrrell earned more than 14 points?
### Context:
CREATE TABLE table_name_20 (year INTEGER, entrant VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT MAX(year) FROM table_name_20 WHERE entrant = "team tyrrell" AND points > 14</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Against has a Position larger than 8, and Points larger than 9?
### Context:
CREATE TABLE table_name_67 (against VARCHAR, position VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT against FROM table_name_67 WHERE position > 8 AND points > 9</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Find the average weight for each pet type.
### Context:
CREATE TABLE pets (pettype VARCHAR, weight INTEGER)
### Response:
### Response:
SELECT AVG(weight), pettype FROM pets GROUP BY pettype</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What nation has the most bronze medals with over 11 total medals?
### Context:
CREATE TABLE table_name_75 (bronze INTEGER, total INTEGER)
### Response:
### Response:
SELECT MAX(bronze) FROM table_name_75 WHERE total > 11</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the total number of gold medals of slovakia, which has less than 1 silver medal?
### Context:
CREATE TABLE table_name_61 (gold VARCHAR, silver VARCHAR, nation VARCHAR)
### Response:
### Response:
SELECT COUNT(gold) FROM table_name_61 WHERE silver < 1 AND nation = "slovakia"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the format for Cherry Creek Radio with frequency of 0 92.1 fm?
### Context:
CREATE TABLE table_name_11 (format VARCHAR, owner VARCHAR, frequency VARCHAR)
### Response:
### Response:
SELECT format FROM table_name_11 WHERE owner = "cherry creek radio" AND frequency = "0 92.1 fm"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Name had the Source, World Bank, and a Rank smaller than 110, Out of a number smaller than 199?
### Context:
CREATE TABLE table_name_48 (name VARCHAR, out_of VARCHAR, source VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_48 WHERE source = "world bank" AND rank < 110 AND out_of < 199</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is minimum age for different job title?
### Context:
CREATE TABLE Person (job VARCHAR, age INTEGER)
### Response:
### Response:
SELECT MIN(age), job FROM Person GROUP BY job</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the latest day in November of the game with a 15-5-2 record?
### Context:
CREATE TABLE table_name_60 (november INTEGER, record VARCHAR)
### Response:
### Response:
SELECT MAX(november) FROM table_name_60 WHERE record = "15-5-2"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the sum for December that has 0.36 in July, and lager than 0.35000000000000003 in February?
### Context:
CREATE TABLE table_name_95 (december INTEGER, july VARCHAR, february VARCHAR)
### Response:
### Response:
SELECT SUM(december) FROM table_name_95 WHERE july = 0.36 AND february > 0.35000000000000003</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which first edition has 264 pages and the ISBN of 978-0785111832?
### Context:
CREATE TABLE table_name_60 (first_edition VARCHAR, pages VARCHAR, isbn VARCHAR)
### Response:
### Response:
SELECT first_edition FROM table_name_60 WHERE pages = "264" AND isbn = "978-0785111832"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was the lead with John Shuster as skip, Chris Plys in second, and Jeff Isaacson in third?
### Context:
CREATE TABLE table_name_50 (lead VARCHAR, second VARCHAR, skip VARCHAR, third VARCHAR)
### Response:
### Response:
SELECT lead FROM table_name_50 WHERE skip = "john shuster" AND third = "jeff isaacson" AND second = "chris plys"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How may women doubles winner were there when Philippe Aulner was mens singles winner?
### Context:
CREATE TABLE table_15001957_1 (womens_doubles VARCHAR, mens_singles VARCHAR)
### Response:
### Response:
SELECT COUNT(womens_doubles) FROM table_15001957_1 WHERE mens_singles = "Philippe Aulner"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the lowest draw with rank 4?
### Context:
CREATE TABLE table_name_94 (draw INTEGER, rank VARCHAR)
### Response:
### Response:
SELECT MIN(draw) FROM table_name_94 WHERE rank = 4</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Interregnum ended for Count Palatine of Saxony of frederick augustus i, elector of saxony?
### Context:
CREATE TABLE table_name_37 (interregnum_ended VARCHAR, count_palatine_of_saxony VARCHAR)
### Response:
### Response:
SELECT interregnum_ended FROM table_name_37 WHERE count_palatine_of_saxony = "frederick augustus i, elector of saxony"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the result for New York 11
### Context:
CREATE TABLE table_1341472_34 (result VARCHAR, district VARCHAR)
### Response:
### Response:
SELECT result FROM table_1341472_34 WHERE district = "New York 11"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Caps of 93 had how many goals?
### Context:
CREATE TABLE table_name_94 (goals VARCHAR, caps VARCHAR)
### Response:
### Response:
SELECT goals FROM table_name_94 WHERE caps = 93</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Matches have a Rank smaller than 5, a Years of 1995–2003, and a Goals smaller than 104?
### Context:
CREATE TABLE table_name_67 (matches INTEGER, goals VARCHAR, rank VARCHAR, years VARCHAR)
### Response:
### Response:
SELECT AVG(matches) FROM table_name_67 WHERE rank < 5 AND years = "1995–2003" AND goals < 104</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who had a Run 1 smaller than 51.96, a Run 2 larger than 51.13, and a Run 3 of 52.53?
### Context:
CREATE TABLE table_name_23 (athlete VARCHAR, run_3 VARCHAR, run_1 VARCHAR, run_2 VARCHAR)
### Response:
### Response:
SELECT athlete FROM table_name_23 WHERE run_1 < 51.96 AND run_2 > 51.13 AND run_3 = 52.53</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what's the game with record being 29–3
### Context:
CREATE TABLE table_13480122_5 (game VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT game FROM table_13480122_5 WHERE record = "29–3"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Show the name, average attendance, total attendance for stadiums where no accidents happened.
### Context:
CREATE TABLE stadium (name VARCHAR, average_attendance VARCHAR, total_attendance VARCHAR, id VARCHAR); CREATE TABLE stadium (name VARCHAR, average_attendance VARCHAR, total_attendance VARCHAR); CREATE TABLE game (stadium_id VARCHAR, id VARCHAR); CREATE TABLE injury_accident (game_id VARCHAR)
### Response:
### Response:
SELECT name, average_attendance, total_attendance FROM stadium EXCEPT SELECT T2.name, T2.average_attendance, T2.total_attendance FROM game AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.id JOIN injury_accident AS T3 ON T1.id = T3.game_id</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What are the highest number of points with an Entrant of warsteiner brewery?
### Context:
CREATE TABLE table_name_8 (points INTEGER, entrant VARCHAR)
### Response:
### Response:
SELECT MAX(points) FROM table_name_8 WHERE entrant = "warsteiner brewery"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which home team had a score of 100-86?
### Context:
CREATE TABLE table_name_29 (home_team VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT home_team FROM table_name_29 WHERE score = "100-86"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the regular season for 2012?
### Context:
CREATE TABLE table_name_38 (regular_season VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT regular_season FROM table_name_38 WHERE year = "2012"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many matches were played when there was 1 draw and 1 win?
### Context:
CREATE TABLE table_name_92 (matches VARCHAR, draws VARCHAR, wins VARCHAR)
### Response:
### Response:
SELECT matches FROM table_name_92 WHERE draws = "1" AND wins = "1"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What's the value for race 4 for driver kevin heffernan?
### Context:
CREATE TABLE table_name_61 (race_4 VARCHAR, driver VARCHAR)
### Response:
### Response:
SELECT race_4 FROM table_name_61 WHERE driver = "kevin heffernan"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which wood has stabilizing earth?
### Context:
CREATE TABLE table_name_50 (wood VARCHAR, earth VARCHAR)
### Response:
### Response:
SELECT wood FROM table_name_50 WHERE earth = "stabilizing"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What's the sum of the games that had paul (9) for high assists?
### Context:
CREATE TABLE table_name_61 (game INTEGER, high_assists VARCHAR)
### Response:
### Response:
SELECT SUM(game) FROM table_name_61 WHERE high_assists = "paul (9)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was Carlton's away team opponent?
### Context:
CREATE TABLE table_name_79 (away_team VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT away_team FROM table_name_79 WHERE home_team = "carlton"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Tell me the chief judge which has reason for termination of retirement
### Context:
CREATE TABLE table_name_35 (chief_judge VARCHAR, reason_for_termination VARCHAR)
### Response:
### Response:
SELECT chief_judge FROM table_name_35 WHERE reason_for_termination = "retirement"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
If the episode title is Pressures, what are the names of the cast?
### Context:
CREATE TABLE table_2570269_2 (cast VARCHAR, episode_title VARCHAR)
### Response:
### Response:
SELECT cast FROM table_2570269_2 WHERE episode_title = "Pressures"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many entries for highest when the low team was baltimore rays?
### Context:
CREATE TABLE table_237757_10 (highest VARCHAR, low_team VARCHAR)
### Response:
### Response:
SELECT COUNT(highest) FROM table_237757_10 WHERE low_team = "Baltimore Rays"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
English title of amélie had what year?
### Context:
CREATE TABLE table_name_87 (year VARCHAR, english_title VARCHAR)
### Response:
### Response:
SELECT year FROM table_name_87 WHERE english_title = "amélie"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Nominee from the Category that is best costume design?
### Context:
CREATE TABLE table_name_64 (nominee VARCHAR, category VARCHAR)
### Response:
### Response:
SELECT nominee FROM table_name_64 WHERE category = "best costume design"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many gold have a silver of 1 and a bronze of 0?
### Context:
CREATE TABLE table_name_12 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
### Response:
### Response:
SELECT SUM(gold) FROM table_name_12 WHERE silver = 1 AND bronze < 1</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Show ids for all transactions whose amounts are greater than the average.
### Context:
CREATE TABLE Financial_transactions (transaction_id VARCHAR, transaction_amount INTEGER)
### Response:
### Response:
SELECT transaction_id FROM Financial_transactions WHERE transaction_amount > (SELECT AVG(transaction_amount) FROM Financial_transactions)</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who directed the episode watched by 2.01 million US viewers?
### Context:
CREATE TABLE table_28466323_2 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
### Response:
### Response:
SELECT directed_by FROM table_28466323_2 WHERE us_viewers__million_ = "2.01"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What location has more than 2 games with 2:56?
### Context:
CREATE TABLE table_name_67 (location VARCHAR, game VARCHAR, time VARCHAR)
### Response:
### Response:
SELECT location FROM table_name_67 WHERE game > 2 AND time = "2:56"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the median household income for Cape Girardeau?
### Context:
CREATE TABLE table_name_68 (median_household_income VARCHAR, county VARCHAR)
### Response:
### Response:
SELECT median_household_income FROM table_name_68 WHERE county = "cape girardeau"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the average Goals/Games for Rummenigge, Karl-Heinz, with Goals less than 162?
### Context:
CREATE TABLE table_name_66 (games VARCHAR, goals INTEGER, name VARCHAR)
### Response:
### Response:
SELECT AVG(goals) / games FROM table_name_66 WHERE name = "rummenigge, karl-heinz" AND goals < 162</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Show the employee ids for all employees with role name "Human Resource" or "Manager".
### Context:
CREATE TABLE Employees (employee_id VARCHAR, role_code VARCHAR); CREATE TABLE ROLES (role_code VARCHAR, role_name VARCHAR)
### Response:
### Response:
SELECT T1.employee_id FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = "Human Resource" OR T2.role_name = "Manager"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what's the land area with seat of rcm being granby
### Context:
CREATE TABLE table_1011906_1 (land_area VARCHAR, seat_of_rcm VARCHAR)
### Response:
### Response:
SELECT land_area FROM table_1011906_1 WHERE seat_of_rcm = "Granby"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Select all the data from the products and each product's manufacturer.
### Context:
CREATE TABLE products (manufacturer VARCHAR); CREATE TABLE Manufacturers (code VARCHAR)
### Response:
### Response:
SELECT * FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer = T2.code</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the 1st leg where Team 1 is C.D. Plaza Amador?
### Context:
CREATE TABLE table_name_48 (team_1 VARCHAR)
### Response:
### Response:
SELECT 1 AS st_leg FROM table_name_48 WHERE team_1 = "c.d. plaza amador"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
If the till aligarh is 150, what the mac till mathura?
### Context:
CREATE TABLE table_19787093_1 (till_mathura INTEGER, till_aligarh VARCHAR)
### Response:
### Response:
SELECT MAX(till_mathura) FROM table_19787093_1 WHERE till_aligarh = 150</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who used Gordini Straight-6 in 1956?
### Context:
CREATE TABLE table_name_93 (entrant VARCHAR, engine VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT entrant FROM table_name_93 WHERE engine = "gordini straight-6" AND year = 1956</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the lowest game number on 20 July 2008?
### Context:
CREATE TABLE table_name_33 (game INTEGER, date VARCHAR)
### Response:
### Response:
SELECT MIN(game) FROM table_name_33 WHERE date = "20 july 2008"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the status of vessel number K-223?
### Context:
CREATE TABLE table_1634376_1 (status VARCHAR, _number VARCHAR)
### Response:
### Response:
SELECT status FROM table_1634376_1 WHERE _number = "K-223"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What were the requirements for the role played by Robert Austin in the original production?
### Context:
CREATE TABLE table_17827271_1 (actor_required VARCHAR, actor_in_original_production VARCHAR)
### Response:
### Response:
SELECT actor_required FROM table_17827271_1 WHERE actor_in_original_production = "Robert Austin"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What album was recorded by the rca label?
### Context:
CREATE TABLE table_name_83 (album VARCHAR, record_label VARCHAR)
### Response:
### Response:
SELECT album FROM table_name_83 WHERE record_label = "rca"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the model number for the GPU and 320 mhz?
### Context:
CREATE TABLE table_name_98 (model_number VARCHAR, gpu_frequency VARCHAR)
### Response:
### Response:
SELECT model_number FROM table_name_98 WHERE gpu_frequency = "320 mhz"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What role was played in 2007?
### Context:
CREATE TABLE table_name_37 (role VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT role FROM table_name_37 WHERE year = 2007</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
When was the ship originally named sachem finally decommissioned?
### Context:
CREATE TABLE table_name_94 (final_decommission VARCHAR, original_name VARCHAR)
### Response:
### Response:
SELECT final_decommission FROM table_name_94 WHERE original_name = "sachem"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the title of the episode written by denis leary, peter tolan and evan reilly?
### Context:
CREATE TABLE table_10610087_3 (title VARCHAR, written_by VARCHAR)
### Response:
### Response:
SELECT title FROM table_10610087_3 WHERE written_by = "Denis Leary, Peter Tolan and Evan Reilly"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.