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:
What is the location of the mill with a reference number of 44?
### Context:
CREATE TABLE table_name_99 (location VARCHAR, ref_number VARCHAR)
### Response:
### Response:
SELECT location FROM table_name_99 WHERE ref_number = 44</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 earpads for the headphones that are Reference class and have MSRP of $695?
### Context:
CREATE TABLE table_name_88 (earpads VARCHAR, headphone_class VARCHAR, us_msrp VARCHAR)
### Response:
### Response:
SELECT earpads FROM table_name_88 WHERE headphone_class = "reference" AND us_msrp = "$695"</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 broadcast date of episodes that were watched by 23.2 million viewers?
### Context:
CREATE TABLE table_27714985_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
### Response:
### Response:
SELECT original_air_date FROM table_27714985_1 WHERE us_viewers__millions_ = "23.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 was the score of the game on November 22?
### Context:
CREATE TABLE table_name_8 (result VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_8 WHERE date = "november 22"</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 of Games with a Lost that's larger than 2, and has Points that's smaller than 0?
### Context:
CREATE TABLE table_name_75 (games INTEGER, lost VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT SUM(games) FROM table_name_75 WHERE lost > 2 AND points < 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:
How many players 89 points?
### Context:
CREATE TABLE table_25342713_5 (blocks VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT COUNT(blocks) FROM table_25342713_5 WHERE points = 89</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 CHris Amon's highest lap when his grid was 4?
### Context:
CREATE TABLE table_name_31 (laps INTEGER, driver VARCHAR, grid VARCHAR)
### Response:
### Response:
SELECT MAX(laps) FROM table_name_31 WHERE driver = "chris amon" AND grid < 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:
Irish name of dún na ngall (contae dhún na ngall) has the most populous city/town?
### Context:
CREATE TABLE table_name_46 (most_populous_city_town VARCHAR, irish_name VARCHAR)
### Response:
### Response:
SELECT most_populous_city_town FROM table_name_46 WHERE irish_name = "dún na ngall (contae dhún na ngall)"</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 of Set 2 of 24:22?
### Context:
CREATE TABLE table_name_86 (total VARCHAR, set_2 VARCHAR)
### Response:
### Response:
SELECT total FROM table_name_86 WHERE set_2 = "24:22"</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 Attendance of the game with a Score of 0 – 0?
### Context:
CREATE TABLE table_name_94 (attendance VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT attendance FROM table_name_94 WHERE score = "0 – 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 Date, when Series is ATCC Round 5?
### Context:
CREATE TABLE table_name_1 (date VARCHAR, series VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_1 WHERE series = "atcc round 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 Tejano webcast has a callsign of KBDR?
### Context:
CREATE TABLE table_name_2 (webcast VARCHAR, format VARCHAR, callsign VARCHAR)
### Response:
### Response:
SELECT webcast FROM table_name_2 WHERE format = "tejano" AND callsign = "kbdr"</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:
Where is the Eastern Creek Raceway located?
### Context:
CREATE TABLE table_name_19 (location___state VARCHAR, circuit VARCHAR)
### Response:
### Response:
SELECT location___state FROM table_name_19 WHERE circuit = "eastern creek raceway"</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 lowest number of Total Foreign-born (millions) people, when the number of people Born in a non EU state (millions) was 6.415?
### Context:
CREATE TABLE table_name_38 (total_foreign_born__millions_ INTEGER, born_in_a_non_eu_state__millions_ VARCHAR)
### Response:
### Response:
SELECT MIN(total_foreign_born__millions_) FROM table_name_38 WHERE born_in_a_non_eu_state__millions_ = 6.415</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 high points for opponent Mid-Michigan destroyers on January 3?
### Context:
CREATE TABLE table_name_22 (high_points VARCHAR, opponent VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT high_points FROM table_name_22 WHERE opponent = "mid-michigan destroyers" AND date = "january 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:
Who directed the film that had phyllis welch as the leading lady?
### Context:
CREATE TABLE table_name_74 (director_s_ VARCHAR, leading_lady VARCHAR)
### Response:
### Response:
SELECT director_s_ FROM table_name_74 WHERE leading_lady = "phyllis welch"</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 all majors.
### Context:
CREATE TABLE Student (Major VARCHAR)
### Response:
### Response:
SELECT DISTINCT Major FROM Student</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:
Born in 1982, this guard has what listed as a height?
### Context:
CREATE TABLE table_name_44 (height VARCHAR, position VARCHAR, year_born VARCHAR)
### Response:
### Response:
SELECT height FROM table_name_44 WHERE position = "guard" AND year_born = 1982</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 score for the game with 213 attending?
### Context:
CREATE TABLE table_name_3 (score VARCHAR, attendance VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_3 WHERE attendance = "213"</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 third year course in science?
### Context:
CREATE TABLE table_12148147_2 (third_year VARCHAR, subjects VARCHAR)
### Response:
### Response:
SELECT third_year FROM table_12148147_2 WHERE subjects = "Science"</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 silver that has 9 as the rank, germany as the nation, with a gold less than 0?
### Context:
CREATE TABLE table_name_55 (silver INTEGER, gold VARCHAR, rank VARCHAR, nation VARCHAR)
### Response:
### Response:
SELECT MAX(silver) FROM table_name_55 WHERE rank = 9 AND nation = "germany" AND gold < 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 margin of victory for Nick Price as a runner-up?
### Context:
CREATE TABLE table_name_52 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
### Response:
### Response:
SELECT margin_of_victory FROM table_name_52 WHERE runner_s__up = "nick price"</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 result when the record was 62–12?
### Context:
CREATE TABLE table_name_75 (result VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_75 WHERE record = "62–12"</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 sport was played between the years of 2008-2010?
### Context:
CREATE TABLE table_name_26 (sport VARCHAR, played VARCHAR)
### Response:
### Response:
SELECT sport FROM table_name_26 WHERE played = "2008-2010"</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 name listed for the country that has a status of loaned and a moving to listed as leyton orient?
### Context:
CREATE TABLE table_name_57 (name VARCHAR, status VARCHAR, moving_to VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_57 WHERE status = "loaned" AND moving_to = "leyton orient"</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 elevation for the peak daurmål, and an Isolation (km) larger than 4?
### Context:
CREATE TABLE table_name_83 (elevation__m_ INTEGER, peak VARCHAR, isolation__km_ VARCHAR)
### Response:
### Response:
SELECT MAX(elevation__m_) FROM table_name_83 WHERE peak = "daurmål" AND isolation__km_ > 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's the election date where member is william richmond category:articles with hcards
### Context:
CREATE TABLE table_1193568_1 (election_date VARCHAR, member VARCHAR)
### Response:
### Response:
SELECT election_date FROM table_1193568_1 WHERE member = "William Richmond 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:
Which Tournament has an Outcome of winner on 19 october 2008?
### Context:
CREATE TABLE table_name_25 (tournament VARCHAR, outcome VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT tournament FROM table_name_25 WHERE outcome = "winner" AND date = "19 october 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:
How many Weeks have a Result of w 17–13?
### Context:
CREATE TABLE table_name_82 (week INTEGER, result VARCHAR)
### Response:
### Response:
SELECT AVG(week) FROM table_name_82 WHERE result = "w 17–13"</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 all silver medals with less than 23 medals in total and more than 3 bronze medals for the United States?
### Context:
CREATE TABLE table_name_21 (silver INTEGER, bronze VARCHAR, total VARCHAR, nation VARCHAR)
### Response:
### Response:
SELECT SUM(silver) FROM table_name_21 WHERE total < 23 AND nation = "united states" AND bronze > 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:
Who had the highest points of the game on March 24?
### Context:
CREATE TABLE table_name_39 (high_points VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT high_points FROM table_name_39 WHERE date = "march 24"</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:
Shawn Michaels entered the elimination chamber in what position?
### Context:
CREATE TABLE table_name_86 (entered INTEGER, wrestler VARCHAR)
### Response:
### Response:
SELECT SUM(entered) FROM table_name_86 WHERE wrestler = "shawn michaels"</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 opponent on the game with a 65,569 attendance before week 12?
### Context:
CREATE TABLE table_name_62 (opponent VARCHAR, week VARCHAR, attendance VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_62 WHERE week < 12 AND attendance = "65,569"</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 result for the friendly match competition?
### Context:
CREATE TABLE table_name_49 (res VARCHAR, competition VARCHAR)
### Response:
### Response:
SELECT res FROM table_name_49 WHERE competition = "friendly match"</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 gap from Thailand as of 2012 for the country whose 1980 gap was 0.29?
### Context:
CREATE TABLE table_30133_3 (gap_from_thailand_as_of_2012__times_ VARCHAR, gap_from_thailand_as_of_1980__times_ VARCHAR)
### Response:
### Response:
SELECT gap_from_thailand_as_of_2012__times_ FROM table_30133_3 WHERE gap_from_thailand_as_of_1980__times_ = "0.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 1.79 is the height what is the geographical region?
### Context:
CREATE TABLE table_18618707_1 (geographical_regions VARCHAR, height VARCHAR)
### Response:
### Response:
SELECT geographical_regions FROM table_18618707_1 WHERE height = "1.79"</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:
Daily Empress Indy Silverstone took place on which round?
### Context:
CREATE TABLE table_22673956_1 (rnd INTEGER, race_name VARCHAR)
### Response:
### Response:
SELECT MAX(rnd) FROM table_22673956_1 WHERE race_name = "Daily Empress Indy Silverstone"</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 type has a date of 1 june?
### Context:
CREATE TABLE table_name_70 (type VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT type FROM table_name_70 WHERE date = "1 june"</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 date was a match played at Lake Oval?
### Context:
CREATE TABLE table_name_4 (date VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_4 WHERE venue = "lake oval"</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 games have a November of 10?
### Context:
CREATE TABLE table_name_10 (game VARCHAR, november VARCHAR)
### Response:
### Response:
SELECT COUNT(game) FROM table_name_10 WHERE november = 10</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 college did Francis Bellefroid go to?
### Context:
CREATE TABLE table_28059992_6 (college VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT college FROM table_28059992_6 WHERE player = "Francis Bellefroid"</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 is located in Angola and entered service in 1988?
### Context:
CREATE TABLE table_name_98 (name VARCHAR, location VARCHAR, entered_service VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_98 WHERE location = "angola" AND entered_service = "1988"</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 team played at home for the second leg and has aggregate score of 2-0?
### Context:
CREATE TABLE table_name_19 (home__2nd_leg_ VARCHAR, aggregate VARCHAR)
### Response:
### Response:
SELECT home__2nd_leg_ FROM table_name_19 WHERE aggregate = "2-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 results has a week smaller than 2?
### Context:
CREATE TABLE table_name_79 (result VARCHAR, week INTEGER)
### Response:
### Response:
SELECT result FROM table_name_79 WHERE week < 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 channel has an operator of ivptc?
### Context:
CREATE TABLE table_name_1 (programming VARCHAR, operator VARCHAR)
### Response:
### Response:
SELECT programming FROM table_name_1 WHERE operator = "ivptc"</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 year was yellow jersey of Jacques Anquetil?
### Context:
CREATE TABLE table_name_66 (year INTEGER, yellow_jersey VARCHAR)
### Response:
### Response:
SELECT MIN(year) FROM table_name_66 WHERE yellow_jersey = "jacques anquetil"</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 Team had a 1:24.152 Best?
### Context:
CREATE TABLE table_name_51 (team VARCHAR, best VARCHAR)
### Response:
### Response:
SELECT team FROM table_name_51 WHERE best = "1:24.152"</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 years has Sasol Jordan Yamaha as an Entrant?
### Context:
CREATE TABLE table_name_79 (year INTEGER, entrant VARCHAR)
### Response:
### Response:
SELECT AVG(year) FROM table_name_79 WHERE entrant = "sasol jordan yamaha"</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 Venue has a Goal larger than 3, and a Competition of 2011 afc asian cup?
### Context:
CREATE TABLE table_name_3 (venue VARCHAR, goal VARCHAR, competition VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_3 WHERE goal > 3 AND competition = "2011 afc asian cup"</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 placing value for a total less than 96.07 in the United States?
### Context:
CREATE TABLE table_name_15 (placings VARCHAR, total VARCHAR, nation VARCHAR)
### Response:
### Response:
SELECT placings FROM table_name_15 WHERE total < 96.07 AND nation = "united states"</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 entrant of a chassis maserati 250f, also has 6 points and older than year 1957?
### Context:
CREATE TABLE table_name_42 (entrant VARCHAR, year VARCHAR, chassis VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT entrant FROM table_name_42 WHERE chassis = "maserati 250f" AND points = "6" AND year < 1957</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 Winner of the Event on September 26-30, 2012?
### Context:
CREATE TABLE table_name_82 (winner VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT winner FROM table_name_82 WHERE date = "september 26-30, 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:
What record has magomedkhan gamzatkhanov as the opponent, and submission as the method?
### Context:
CREATE TABLE table_name_59 (record VARCHAR, opponent VARCHAR, method VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_59 WHERE opponent = "magomedkhan gamzatkhanov" AND method = "submission"</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 urban population of the city with the pinyin translation chángchūn?
### Context:
CREATE TABLE table_16489766_2 (urban_population__2010_ VARCHAR, pinyin VARCHAR)
### Response:
### Response:
SELECT COUNT(urban_population__2010_) FROM table_16489766_2 WHERE pinyin = "Chángchūn"</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 reign and days held of wrestlers.
### Context:
CREATE TABLE wrestler (Reign VARCHAR, Days_held VARCHAR)
### Response:
### Response:
SELECT Reign, Days_held FROM wrestler</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 first names and degree of all professors who are teaching some class in Computer Info. Systems department.
### Context:
CREATE TABLE professor (prof_high_degree VARCHAR, emp_num VARCHAR, dept_code VARCHAR); CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR)
### Response:
### Response:
SELECT DISTINCT T2.emp_fname, T3.prof_high_degree FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num JOIN professor AS T3 ON T2.emp_num = T3.emp_num JOIN department AS T4 ON T4.dept_code = T3.dept_code WHERE T4.dept_name = 'Computer Info. Systems'</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 arena capacity of the arena in the town whose head coach is Yuriy Korotkevich?
### Context:
CREATE TABLE table_19526911_1 (arena__capacity_ VARCHAR, head_coach VARCHAR)
### Response:
### Response:
SELECT COUNT(arena__capacity_) FROM table_19526911_1 WHERE head_coach = "Yuriy Korotkevich"</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 name of the episode directed by Miguel Arteta?
### Context:
CREATE TABLE table_2182654_3 (title VARCHAR, directed_by VARCHAR)
### Response:
### Response:
SELECT title FROM table_2182654_3 WHERE directed_by = "Miguel Arteta"</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 оџаци is the cyrillic name other names what is the type?
### Context:
CREATE TABLE table_2562572_25 (type VARCHAR, cyrillic_name_other_names VARCHAR)
### Response:
### Response:
SELECT type FROM table_2562572_25 WHERE cyrillic_name_other_names = "Оџаци"</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(s)-up has a Tournament of cameron park open?
### Context:
CREATE TABLE table_name_62 (runner_s__up VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT runner_s__up FROM table_name_62 WHERE tournament = "cameron park 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:
Who was the womens singles winnerwhen the mens doubles were stefan karlsson claes nordin , bk aura gbk?
### Context:
CREATE TABLE table_12266757_1 (womens_singles VARCHAR, mens_doubles VARCHAR)
### Response:
### Response:
SELECT womens_singles FROM table_12266757_1 WHERE mens_doubles = "Stefan Karlsson Claes Nordin , BK Aura GBK"</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 2010 when 2003 is 5.6?
### Context:
CREATE TABLE table_27146868_1 (Id VARCHAR)
### Response:
### Response:
SELECT 2010 FROM table_27146868_1 WHERE 2003 = "5.6"</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 Quantity of type 2-4-2t?
### Context:
CREATE TABLE table_name_59 (quantity VARCHAR, type VARCHAR)
### Response:
### Response:
SELECT COUNT(quantity) FROM table_name_59 WHERE type = "2-4-2t"</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 average attendance of the 2011 season that had games smaller than 519 with several teams bigger than 14 that were also part of the sport of association football?
### Context:
CREATE TABLE table_name_46 (average_attendance VARCHAR, sport VARCHAR, _number_of_teams VARCHAR, season VARCHAR, games VARCHAR)
### Response:
### Response:
SELECT average_attendance FROM table_name_46 WHERE season = "2011" AND games < 519 AND _number_of_teams > 14 AND sport = "association football"</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:
I want the D 47 for D 41 being r 21
### Context:
CREATE TABLE table_name_78 (d_47 VARCHAR, d_41 VARCHAR)
### Response:
### Response:
SELECT d_47 FROM table_name_78 WHERE d_41 = "r 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:
How many goals for Kenton have a transfer window of Summer?
### Context:
CREATE TABLE table_name_36 (goals VARCHAR, transfer_window VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT COUNT(goals) FROM table_name_36 WHERE transfer_window = "summer" AND name = "kenton"</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 termination of mission for woodrow wilson appointed by and representative of benton mcmillin
### Context:
CREATE TABLE table_name_18 (termination_of_mission VARCHAR, appointed_by VARCHAR, representative VARCHAR)
### Response:
### Response:
SELECT termination_of_mission FROM table_name_18 WHERE appointed_by = "woodrow wilson" AND representative = "benton mcmillin"</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 MHz Frequency of radio rezonans?
### Context:
CREATE TABLE table_name_9 (frequency_mhz INTEGER, program VARCHAR)
### Response:
### Response:
SELECT AVG(frequency_mhz) FROM table_name_9 WHERE program = "radio rezonans"</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 2008 club has the name Francesca Piccinini Category:Articles with hCards?
### Context:
CREATE TABLE table_name_71 (name VARCHAR)
### Response:
### Response:
SELECT 2008 AS _club FROM table_name_71 WHERE name = "francesca piccinini 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:
Which Year has a Score of 5–7, 4–6, 6–3, 1–6?
### Context:
CREATE TABLE table_name_88 (year VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT year FROM table_name_88 WHERE score = "5–7, 4–6, 6–3, 1–6"</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 defense a champion with 345 days held has?
### Context:
CREATE TABLE table_name_46 (defenses INTEGER, days_held VARCHAR)
### Response:
### Response:
SELECT MIN(defenses) FROM table_name_46 WHERE days_held = "345"</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 least revenue for chelsea of england with rank less than 7
### Context:
CREATE TABLE table_name_73 (revenue__ INTEGER, rank VARCHAR, country VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT MIN(revenue__) AS $m_ FROM table_name_73 WHERE country = "england" AND team = "chelsea" AND rank < 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:
How many rounds have an Opponent of sakae kasuya?
### Context:
CREATE TABLE table_name_90 (round VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT COUNT(round) FROM table_name_90 WHERE opponent = "sakae kasuya"</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 total ranking points for each player and their first name.
### Context:
CREATE TABLE players (first_name VARCHAR, player_id VARCHAR); CREATE TABLE rankings (player_id VARCHAR)
### Response:
### Response:
SELECT SUM(ranking_points), T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1.first_name</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:
List Aerosmith's albums.
### Context:
CREATE TABLE artists (id VARCHAR, name VARCHAR); CREATE TABLE albums (title VARCHAR, artist_id VARCHAR)
### Response:
### Response:
SELECT T1.title FROM albums AS T1 JOIN artists AS T2 ON T1.artist_id = T2.id WHERE T2.name = "Aerosmith"</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 were the candidates in the election where the incumbent is George M. Grant?
### Context:
CREATE TABLE table_1341973_3 (candidates VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT candidates FROM table_1341973_3 WHERE incumbent = "George M. 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 President with a Year larger than 2011, and a Date with 23 may?
### Context:
CREATE TABLE table_name_31 (president VARCHAR, year VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT president FROM table_name_31 WHERE year > 2011 AND date = "23 may"</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 Decision has a Series of 3 – 3?
### Context:
CREATE TABLE table_name_42 (decision VARCHAR, series VARCHAR)
### Response:
### Response:
SELECT decision FROM table_name_42 WHERE series = "3 – 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:
Which class has fewer than 10 and number(s) names?
### Context:
CREATE TABLE table_name_84 (class VARCHAR, quantity VARCHAR, number_s_ VARCHAR)
### Response:
### Response:
SELECT class FROM table_name_84 WHERE quantity < 10 AND number_s_ = "names"</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 original team of the celebrity who had the result 08 fired in week 10 (2008-03-06)
### Context:
CREATE TABLE table_12286195_1 (original_team VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT original_team FROM table_12286195_1 WHERE result = "08 Fired in week 10 (2008-03-06)"</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:
Chassis model Scania K360ua has what minimum number in fleet?
### Context:
CREATE TABLE table_1425948_1 (number_in_fleet INTEGER, chassis_model VARCHAR)
### Response:
### Response:
SELECT MIN(number_in_fleet) FROM table_1425948_1 WHERE chassis_model = "Scania K360UA"</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 Player in T5 Place?
### Context:
CREATE TABLE table_name_71 (player VARCHAR, place VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_71 WHERE place = "t5"</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:
Where did Brendon Labatte get picked?
### Context:
CREATE TABLE table_16575609_1 (pick__number INTEGER, player VARCHAR)
### Response:
### Response:
SELECT MIN(pick__number) FROM table_16575609_1 WHERE player = "Brendon LaBatte"</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:
Opponent of @mil, and a Record of 45-16 happened on what date?
### Context:
CREATE TABLE table_name_95 (date VARCHAR, opponent VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_95 WHERE opponent = "@mil" AND record = "45-16"</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 record of the match that had a time of 1:44?
### Context:
CREATE TABLE table_name_35 (record VARCHAR, time VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_35 WHERE time = "1:44"</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 is week 2 if week 3 is Sara Stokes?
### Context:
CREATE TABLE table_name_65 (week_2 VARCHAR, week_3 VARCHAR)
### Response:
### Response:
SELECT week_2 FROM table_name_65 WHERE week_3 = "sara stokes"</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 wrote the episode with 18.07 million viewers?
### Context:
CREATE TABLE table_26198709_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
### Response:
### Response:
SELECT written_by FROM table_26198709_1 WHERE us_viewers__million_ = "18.07"</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 player has a to par greater than 11, with a total less than 155?
### Context:
CREATE TABLE table_name_74 (player VARCHAR, to_par VARCHAR, total VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_74 WHERE to_par > 11 AND total < 155</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 version when the compatible reposityory is xubuntu 10.04
### Context:
CREATE TABLE table_27329061_2 (version VARCHAR, compatible_repository VARCHAR)
### Response:
### Response:
SELECT version FROM table_27329061_2 WHERE compatible_repository = "Xubuntu 10.04"</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 Club, when Points is "82"?
### Context:
CREATE TABLE table_name_15 (club VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT club FROM table_name_15 WHERE points = "82"</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 numbers of steals associated with players having exactly 3 blocks?
### Context:
CREATE TABLE table_24913533_4 (steals VARCHAR, blocks VARCHAR)
### Response:
### Response:
SELECT steals FROM table_24913533_4 WHERE blocks = 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:
What is every entry for Proto-Italo-Western 1 when door is English?
### Context:
CREATE TABLE table_25401_15 (proto_italo_western_1 VARCHAR, english VARCHAR)
### Response:
### Response:
SELECT proto_italo_western_1 FROM table_25401_15 WHERE english = "door"</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 Thumb stick has a Basic shape of curved, a Backlit of yes, and a Supplier of genius?
### Context:
CREATE TABLE table_name_37 (thumb_stick VARCHAR, supplier VARCHAR, basic_shape VARCHAR, backlit VARCHAR)
### Response:
### Response:
SELECT thumb_stick FROM table_name_37 WHERE basic_shape = "curved" AND backlit = "yes" AND supplier = "genius"</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 average number of attendance for the game on November 29, 1981 played after week 13?
### Context:
CREATE TABLE table_name_40 (attendance INTEGER, date VARCHAR, week VARCHAR)
### Response:
### Response:
SELECT AVG(attendance) FROM table_name_40 WHERE date = "november 29, 1981" AND week > 13</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 office with department being department of justice kagawaran ng katarungan
### Context:
CREATE TABLE table_1331313_1 (office VARCHAR, department VARCHAR)
### Response:
### Response:
SELECT COUNT(office) FROM table_1331313_1 WHERE department = "department of Justice Kagawaran ng Katarungan"</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 Year with a Type of informal, and a Location with justus lipsius building, brussels, and a Date with 23 may?
### Context:
CREATE TABLE table_name_77 (year INTEGER, date VARCHAR, type VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT SUM(year) FROM table_name_77 WHERE type = "informal" AND location = "justus lipsius building, brussels" AND date = "23 may"</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 undisclosed when Adam Hinshelwood is Ricky Newman?
### Context:
CREATE TABLE table_23835213_2 (undisclosed VARCHAR, adam_hinshelwood VARCHAR)
### Response:
### Response:
SELECT undisclosed FROM table_23835213_2 WHERE adam_hinshelwood = "Ricky Newman"</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 away team when the home team was Sunderland?
### Context:
CREATE TABLE table_name_48 (away_team VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT away_team FROM table_name_48 WHERE home_team = "sunderland"</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 draws does 12 de Octubre have?
### Context:
CREATE TABLE table_18594107_1 (draws VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT draws FROM table_18594107_1 WHERE team = "12 de Octubre"</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 model had a Specification of dl-718?
### Context:
CREATE TABLE table_name_98 (model VARCHAR, specification VARCHAR)
### Response:
### Response:
SELECT model FROM table_name_98 WHERE specification = "dl-718"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.